
try{(function(){
    i$.merge({
	"ICON_STOP":"msgError",
	"ICON_SUCCESS":"msgSuccess",
	"BUTTON_RETRY":"Wiederholen",
	"BUTTON_YES":"Ja",
	"BUTTON_NO":"Nein",
	"BUTTON_IGNORE":"Ignorieren",
	"LINK_LEARN_MORE":"Weitere Informationen",
	"ICON_WARNING":"msgWarning",
	"ICON_INFORMATION":"msgInfo",
	"LOADING_IMAGE_0":"Bild wird geladen",
	"BUTTON_ABORT":"Abbrechen",
	"ICON_EXCLAMATION":"msgWarning",
	"BUTTON_CANCEL":"Abbrechen",
	"BUTTON_CONTINUE":"Weiter",
	"BUTTON_OK":"OK",
	"BUTTON_TRY":"Erneut versuchen",
	"LOADING_0":"Wird geladen...",
	"ICON_ASTERISK":"msgInfo",
	"ICON_ERROR":"msgError",
	"CLOSE_IMAGE_0":"Bild schließen",
	"CLOSE_0":"Schließen"
},i$.fromPath("wpModules.dialog.nls",true));
})();
}catch(e){console.log("Module 'wp_dialog_main': ",e);}
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{(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{/** 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{/** 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":"Keine Elemente zum Anzeigen.",
	"ERROR_LOADING_0":"Beim Laden des Menüs ist ein Fehler aufgetreten.",
	"LOADING_0":"Wird geladen..."
},i$.fromPath("wptheme.contextMenu.nls",true));
})();
}catch(e){console.log("Module 'wp_simple_contextmenu_js': ",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;
}
top.document.getElementById("wpToolbarActionBarBackground").style.pointerEvents="none";
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;
}
window.open(_67,"_blank");
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);
args={"node":_87.parentNode,"menuId":_88,"jsonQuery":_89,"params":{"templateId":"simpleMenuTemplate","alignment":"right","autoScroll":false},"onClose":function(){
_2b(_87.parentNode,_8);
}};
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{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":"Seite \"{0}\" verschieben nach...",
	"edit_wiring_dialog_title":"Kommunikationsendpunkte für \"{0}\" verwalten",
	"confirm_delete_page_anonymous":"Soll diese Seite mit allen untergeordneten Elementen gelöscht werden?",
	"delete_control_dialog_title":"Portlet löschen",
	"confirm_delete_page":"Soll die Seite \"{0}\" mit allen untergeordneten Elementen gelöscht werden?",
	"confirm_delete_control_anonymous":"Soll dieses Portlet wirklich aus der Seite gelöscht werden?",
	"page_properties_dialog_title":"Seiteneigenschaften verwalten",
	"delete_page_dialog_title":"Seite löschen",
	"edit_wiring_dialog_title_anonymous":"Kommunikationsendpunkte verwalten",
	"preview_as_user_dialog_title":"Vorschau als Benutzer",
	"confirm_delete_control":"Soll das Portlet \"{0}\" wirklich aus der Seite gelöscht werden?"
},i$.fromPath("wpModules.toolbar.menuActions.nls",true));
})();
}catch(e){console.log("Module 'wp_toolbar_menuactions': ",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(){
var _1=new XMLHttpRequest();
_1.open("GET",ibmCfg.themeConfig.themeRootURI+"/css/images/sprite.svg",true);
_1.send();
_1.onload=function(e){
var _2=document.createElement("div");
_2.className="stDisplayNone";
_2.innerHTML=_1.responseText;
document.getElementById("wpthemeComplementaryContent").appendChild(_2);
};
})();


}catch(e){console.log("Module 'st_svg': ",e);}
try{/**
 * This module contains the javascript to retrieve the svg sprite and place it on the page. This
 * is necessary because not all browsers support extraction of specific svg images from an external
 * sprite. It simply gets the file contents and appends it in a div in the complementary content
 * section of the page.
 */
(function(){
	// IE does not support the use tag for external sprites
	var xhr = new XMLHttpRequest();
	xhr.open("GET", ibmCfg.themeConfig.themeRootURI+"/css/images/sprite.svg", true);
	xhr.send();
	xhr.onload = function(e) {
		var div = document.createElement("div");
		div.className = "stDisplayNone";
		div.innerHTML = xhr.responseText;
		document.getElementById("wpthemeComplementaryContent").appendChild(div);
	}
	
})();


}catch(e){console.log("Module 'st_svg': ",e);}
try{if (typeof define !== 'undefined' && typeof define.amd !== 'undefined') {

  var amdOriginal = define.amd;

  define.amd = null;

}
}catch(e){console.log("Module 'preload_config': ",e);}
try{!function(t,e,i){function s(t,e){return typeof t===e}function o(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,i){return e+i.toUpperCase()}).replace(/^-/,"")}function n(t,e){return!!~(""+t).indexOf(e)}function r(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):k?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function a(t,e){return function(){return t.apply(e,arguments)}}function l(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function d(e,i,s){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,e,i);var n=t.console;if(null!==o)s&&(o=o.getPropertyValue(s));else if(n){n[n.error?"error":"log"].call(n,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!i&&e.currentStyle&&e.currentStyle[s];return o}function c(t,i,s,o){var n,a,l,d,c="modernizr",h=r("div"),u=function(){var t=e.body;return t||((t=r(k?"svg":"body")).fake=!0),t}();if(parseInt(s,10))for(;s--;)(l=r("div")).id=o?o[s]:c+(s+1),h.appendChild(l);return(n=r("style")).type="text/css",n.id="s"+c,(u.fake?u:h).appendChild(n),u.appendChild(h),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(e.createTextNode(t)),h.id=c,u.fake&&(u.style.background="",u.style.overflow="hidden",d=S.style.overflow,S.style.overflow="hidden",S.appendChild(u)),a=i(h,t),u.fake?(u.parentNode.removeChild(u),S.style.overflow=d,S.offsetHeight):h.parentNode.removeChild(h),!!a}function h(e,s){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(l(e[o]),s))return!0;return!1}if("CSSSupportsRule"in t){for(var n=[];o--;)n.push("("+l(e[o])+":"+s+")");return c("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(t){return"absolute"==d(t,null,"position")})}return i}function u(t,e,a,l){function d(){u&&(delete C.style,delete C.modElem)}if(l=!s(l,"undefined")&&l,!s(a,"undefined")){var c=h(t,a);if(!s(c,"undefined"))return c}for(var u,p,f,m,g,v=["modernizr","tspan","samp"];!C.style&&v.length;)u=!0,C.modElem=r(v.shift()),C.style=C.modElem.style;for(f=t.length,p=0;f>p;p++)if(m=t[p],g=C.style[m],n(m,"-")&&(m=o(m)),C.style[m]!==i){if(l||s(a,"undefined"))return d(),"pfx"!=e||m;try{C.style[m]=a}catch(t){}if(C.style[m]!=g)return d(),"pfx"!=e||m}return d(),!1}function p(t,e,i,o,n){var r=t.charAt(0).toUpperCase()+t.slice(1),l=(t+" "+x.join(r+" ")+r).split(" ");return s(e,"string")||s(e,"undefined")?u(l,e,o,n):function(t,e,i){var o;for(var n in t)if(t[n]in e)return!1===i?t[n]:s(o=e[t[n]],"function")?a(o,i||e):o;return!1}(l=(t+" "+y.join(r+" ")+r).split(" "),e,i)}function f(t,e,s){return p(t,i,i,e,s)}var m=[],g=[],v={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout(function(){e(i[t])},0)},addTest:function(t,e,i){g.push({name:t,fn:e,options:i})},addAsyncTest:function(t){g.push({name:null,fn:t})}},b=function(){};b.prototype=v,b=new b;var w="Moz O ms Webkit",y=v._config.usePrefixes?w.toLowerCase().split(" "):[];v._domPrefixes=y;var S=e.documentElement,k="svg"===S.nodeName.toLowerCase();k||function(t,e){function i(){var t=m.elements;return"string"==typeof t?t.split(" "):t}function s(t){var e=f[t[u]];return e||(e={},p++,t[u]=p,f[p]=e),e}function o(t,i,o){return i||(i=e),l?i.createElement(t):(o||(o=s(i)),!(n=o.cache[t]?o.cache[t].cloneNode():h.test(t)?(o.cache[t]=o.createElem(t)).cloneNode():o.createElem(t)).canHaveChildren||c.test(t)||n.tagUrn?n:o.frag.appendChild(n));var n}function n(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(i){return m.shivMethods?o(i,t,e):e.createElem(i)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/[\w\-:]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'})+");return n}")(m,e.frag)}function r(t){t||(t=e);var i=s(t);return!m.shivCSS||a||i.hasCSS||(i.hasCSS=!!function(t,e){var i=t.createElement("p"),s=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x<style>"+e+"</style>",s.insertBefore(i.lastChild,s.firstChild)}(t,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||n(t,i),t}var a,l,d=t.html5||{},c=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?: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,u="_html5shiv",p=0,f={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",a="hidden"in t,l=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){a=!0,l=!0}}();var m={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==d.shivCSS,supportsUnknownElements:l,shivMethods:!1!==d.shivMethods,type:"default",shivDocument:r,createElement:o,createDocumentFragment:function(t,o){if(t||(t=e),l)return t.createDocumentFragment();for(var n=(o=o||s(t)).frag.cloneNode(),r=0,a=i(),d=a.length;d>r;r++)n.createElement(a[r]);return n},addElements:function(t,e){var i=m.elements;"string"!=typeof i&&(i=i.join(" ")),"string"!=typeof t&&(t=t.join(" ")),m.elements=i+" "+t,r(e)}};t.html5=m,r(e),"object"==typeof module&&module.exports&&(module.exports=m)}(void 0!==t?t:this,e);var x=v._config.usePrefixes?w.split(" "):[];v._cssomPrefixes=x;var A=function(e){var s,o=prefixes.length,n=t.CSSRule;if(void 0===n)return i;if(!e)return!1;if((s=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in n)return"@"+e;for(var r=0;o>r;r++){var a=prefixes[r];if(a.toUpperCase()+"_"+s in n)return"@-"+a.toLowerCase()+"-"+e}return!1};v.atRule=A;var T={elem:r("modernizr")};b._q.push(function(){delete T.elem});var C={style:T.elem.style};b._q.unshift(function(){delete C.style}),v.testProp=function(t,e,s){return u([t],i,e,s)},v.testAllProps=p;var _=v.prefixed=function(t,e,i){return 0===t.indexOf("@")?A(t):(-1!=t.indexOf("-")&&(t=o(t)),e?p(t,e,i):p(t,"pfx"))};b.addTest("objectfit",!!_("objectFit"),{aliases:["object-fit"]}),v.testAllProps=f,b.addTest("csstransitions",f("transition","all",!0)),function(){var t,e,i,o,n,r;for(var a in g)if(g.hasOwnProperty(a)){if(t=[],(e=g[a]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)t.push(e.options.aliases[i].toLowerCase());for(o=s(e.fn,"function")?e.fn():e.fn,n=0;n<t.length;n++)1===(r=t[n].split(".")).length?b[r[0]]=o:(!b[r[0]]||b[r[0]]instanceof Boolean||(b[r[0]]=new Boolean(b[r[0]])),b[r[0]][r[1]]=o),m.push((o?"":"no-")+r.join("-"))}}(),function(t){var e=S.className,i=b._config.classPrefix||"";if(k&&(e=e.baseVal),b._config.enableJSClass){var s=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");e=e.replace(s,"$1"+i+"js$2")}b._config.enableClasses&&(e+=" "+i+t.join(" "+i),k?S.className.baseVal=e:S.className=e)}(m),delete v.addTest,delete v.addAsyncTest;for(var I=0;I<b._q.length;I++)b._q[I]();t.Modernizr=b}(window,document),function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}t.prototype=window.Event.prototype,window.CustomEvent=t}(),Array.prototype.includes||(Array.prototype.includes=function(t,e){return-1!=this.indexOf(t,e)});var objectFitVideos=function(t){"use strict";function e(t){for(var e=getComputedStyle(t).fontFamily,i=null,s={};null!==(i=a.exec(e));)s[i[1]]=i[2];return s["object-position"]?function(t){return~t["object-position"].indexOf("left")?t["object-position-x"]="left":~t["object-position"].indexOf("right")?t["object-position-x"]="right":t["object-position-x"]="center",~t["object-position"].indexOf("top")?t["object-position-y"]="top":~t["object-position"].indexOf("bottom")?t["object-position-y"]="bottom":t["object-position-y"]="center",t}(s):s}function i(t,e){function i(){var i=t.videoWidth/t.videoHeight,o=n.clientWidth,r=n.clientHeight,a=o/r,l=0,d=0;s.marginLeft=s.marginTop=0,(i<a?"contain"===e["object-fit"]:"cover"===e["object-fit"])?(l=r*i,d=o/i,s.width=Math.round(l)+"px",s.height=r+"px","left"===e["object-position-x"]?s.marginLeft=0:"right"===e["object-position-x"]?s.marginLeft=Math.round(o-l)+"px":s.marginLeft=Math.round((o-l)/2)+"px"):(d=o/i,s.width=o+"px",s.height=Math.round(d)+"px","top"===e["object-position-y"]?s.marginTop=0:"bottom"===e["object-position-y"]?s.marginTop=Math.round(r-d)+"px":s.marginTop=Math.round((r-d)/2)+"px"),t.autoplay&&t.play()}if("fill"!==e["object-fit"]){var s=t.style,o=window.getComputedStyle(t),n=document.createElement("object-fit");n.appendChild(t.parentNode.replaceChild(n,t));var r={height:"100%",width:"100%",boxSizing:"content-box",display:"inline-block",overflow:"hidden"};for(var a in"backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight left opacity margin position right top visibility".replace(/\w+/g,function(t){r[t]=o[t]}),r)n.style[a]=r[a];s.border=s.margin=s.padding=0,s.display="block",s.opacity=1,t.addEventListener("loadedmetadata",i),window.addEventListener("optimizedResize",i),t.readyState>=1&&(t.removeEventListener("loadedmetadata",i),i())}}var s=navigator.userAgent.indexOf("Edge/")>=0,o=new Image,n="object-fit"in o.style&&!s,r="object-position"in o.style&&!s,a=/(object-fit|object-position)\s*:\s*([-\w\s%]+)/g;n&&r||(function(t){var s=-1;t?"length"in t||(t=[t]):t=document.querySelectorAll("video");for(;t[++s];){var o=e(t[s]);(o["object-fit"]||o["object-position"])&&(o["object-fit"]=o["object-fit"]||"fill",i(t[s],o))}}(t),function(t,e,i){i=i||window;var s=!1,o=null;try{o=new CustomEvent(e)}catch(t){(o=document.createEvent("Event")).initEvent(e,!0,!0)}i.addEventListener(t,function(){s||(s=!0,requestAnimationFrame(function(){i.dispatchEvent(o),s=!1}))})}("resize","optimizedResize"))};"undefined"!=typeof module&&void 0!==module.exports&&(module.exports=objectFitVideos),function(t){"use strict";var e,i=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,s=i&&"a=1"===new i({a:1}).toString(),o=i&&"+"===new i("s=%2B").get("s"),n="__URLSearchParams__",r=!i||((e=new i).append("s"," &"),"s=+%26"===e.toString()),a=h.prototype,l=!(!t.Symbol||!t.Symbol.iterator);if(!(i&&s&&o&&r)){a.append=function(t,e){g(this[n],t,e)},a.delete=function(t){delete this[n][t]},a.get=function(t){var e=this[n];return t in e?e[t][0]:null},a.getAll=function(t){var e=this[n];return t in e?e[t].slice(0):[]},a.has=function(t){return t in this[n]},a.set=function(t,e){this[n][t]=[""+e]},a.toString=function(){var t,e,i,s,o=this[n],r=[];for(e in o)for(i=u(e),t=0,s=o[e];t<s.length;t++)r.push(i+"="+u(s[t]));return r.join("&")};var d=!!o&&i&&!s&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:d?new Proxy(i,{construct:function(t,e){return new t(new h(e[0]).toString())}}):h});var c=t.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(t,e){var i=m(this.toString());Object.getOwnPropertyNames(i).forEach(function(s){i[s].forEach(function(i){t.call(e,i,s,this)},this)},this)},c.sort=c.sort||function(){var t,e,i,s=m(this.toString()),o=[];for(t in s)o.push(t);for(o.sort(),e=0;e<o.length;e++)this.delete(o[e]);for(e=0;e<o.length;e++){var n=o[e],r=s[n];for(i=0;i<r.length;i++)this.append(n,r[i])}},c.keys=c.keys||function(){var t=[];return this.forEach(function(e,i){t.push(i)}),f(t)},c.values=c.values||function(){var t=[];return this.forEach(function(e){t.push(e)}),f(t)},c.entries=c.entries||function(){var t=[];return this.forEach(function(e,i){t.push([i,e])}),f(t)},l&&(c[t.Symbol.iterator]=c[t.Symbol.iterator]||c.entries)}function h(t){((t=t||"")instanceof URLSearchParams||t instanceof h)&&(t=t.toString()),this[n]=m(t)}function u(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,function(t){return e[t]})}function p(t){return t.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,function(t){return decodeURIComponent(t)})}function f(e){var i={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return l&&(i[t.Symbol.iterator]=function(){return i}),i}function m(t){var e={};if("object"==typeof t)if(v(t))for(var i=0;i<t.length;i++){var s=t[i];if(!v(s)||2!==s.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");g(e,s[0],s[1])}else for(var o in t)t.hasOwnProperty(o)&&g(e,o,t[o]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var n=t.split("&"),r=0;r<n.length;r++){var a=n[r],l=a.indexOf("=");-1<l?g(e,p(a.slice(0,l)),p(a.slice(l+1))):a&&g(e,p(a),"")}}return e}function g(t,e,i){var s="string"==typeof i?i:null!=i&&"function"==typeof i.toString?i.toString():JSON.stringify(i);e in t?t[e].push(s):t[e]=[s]}function v(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}}("undefined"!=typeof global?global:"undefined"!=typeof window?window:this),function(t){var e,i,s,o,n,r,a,l=navigator.userAgent;t.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(i=document.createElement("source"),s=function(t){var e,s,o=t.parentNode;"PICTURE"===o.nodeName.toUpperCase()?(e=i.cloneNode(),o.insertBefore(e,o.firstElementChild),setTimeout(function(){o.removeChild(e)})):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,s=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=s}))},o=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)s(e[t])},n=function(){clearTimeout(e),e=setTimeout(o,99)},r=t.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){n(),r&&r.addListener&&r.addListener(n)},i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),n))}(window),function(t,e,i){"use strict";var s,o,n;e.createElement("picture");var r={},a=!1,l=function(){},d=e.createElement("img"),c=d.getAttribute,h=d.setAttribute,u=d.removeAttribute,p=e.documentElement,f={},m={algorithm:""},g=navigator.userAgent,v=/rident/.test(g)||/ecko/.test(g)&&g.match(/rv\:(\d+)/)&&RegExp.$1>35,b="currentSrc",w=/\s+\+?\d+(e\d+)?w/,y=/(\([^)]+\))?\s*(.+)/,S=t.picturefillCFG,k="font-size:100%!important;",x=!0,A={},T={},C=t.devicePixelRatio,_={px:1,in:96},I=e.createElement("a"),E=!1,z=/^[ \t\n\r\u000c]+/,$=/^[, \t\n\r\u000c]+/,L=/^[^ \t\n\r\u000c]+/,P=/[,]+$/,F=/^\d+$/,O=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,H=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s||!1):t.attachEvent&&t.attachEvent("on"+e,i)},V=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}};function N(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}var D,M,R,W,B,U,j,Z,G,q,K,Y,Q,X,J,tt,et=(D=/^([\d\.]+)(em|vw|px)$/,M=V(function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(t,e){var i;if(!(t in A))if(A[t]=!1,e&&(i=t.match(D)))A[t]=i[1]*_[i[2]];else try{A[t]=new Function("e",M(t))(_)}catch(t){}return A[t]}),it=function(t,e){return t.w?(t.cWidth=r.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},st=function(t){if(a){var i,s,o,n=t||{};if(n.elements&&1===n.elements.nodeType&&("IMG"===n.elements.nodeName.toUpperCase()?n.elements=[n.elements]:(n.context=n.elements,n.elements=null)),o=(i=n.elements||r.qsa(n.context||e,n.reevaluate||n.reselect?r.sel:r.selShort)).length){for(r.setupRun(n),E=!0,s=0;s<o;s++)r.fillImg(i[s],n);r.teardownRun(n)}}};function ot(t,e){return t.res-e.res}function nt(t,e){var i,s,o;if(t&&e)for(o=r.parseSet(e),t=r.makeUrl(t),i=0;i<o.length;i++)if(t===r.makeUrl(o[i].url)){s=o[i];break}return s}t.console&&console.warn,b in d||(b="src"),f["image/jpeg"]=!0,f["image/gif"]=!0,f["image/png"]=!0,f["image/svg+xml"]=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),r.ns=("pf"+(new Date).getTime()).substr(0,9),r.supSrcset="srcset"in d,r.supSizes="sizes"in d,r.supPicture=!!t.HTMLPictureElement,r.supSrcset&&r.supPicture&&!r.supSizes&&(R=e.createElement("img"),d.srcset="data:,a",R.src="data:,a",r.supSrcset=d.complete===R.complete,r.supPicture=r.supSrcset&&r.supPicture),r.supSrcset&&!r.supSizes?(W="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",B=e.createElement("img"),U=function(){2===B.width&&(r.supSizes=!0),o=r.supSrcset&&!r.supSizes,a=!0,setTimeout(st)},B.onload=U,B.onerror=U,B.setAttribute("sizes","9px"),B.srcset=W+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",B.src=W):a=!0,r.selShort="picture>img,img[srcset]",r.sel=r.selShort,r.cfg=m,r.DPR=C||1,r.u=_,r.types=f,r.setSize=l,r.makeUrl=V(function(t){return I.href=t,I.href}),r.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},r.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?r.matchesMedia=function(t){return!t||matchMedia(t).matches}:r.matchesMedia=r.mMQ,r.matchesMedia.apply(this,arguments)},r.mMQ=function(t){return!t||et(t)},r.calcLength=function(t){var e=et(t,!0)||!1;return e<0&&(e=!1),e},r.supportsType=function(t){return!t||f[t]},r.parseSize=V(function(t){var e=(t||"").match(y);return{media:e&&e[1],length:e&&e[2]}}),r.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,s=e.exec(t.substring(d));if(s)return i=s[0],d+=i.length,i}var s,o,n,r,a,l=t.length,d=0,c=[];function h(){var t,i,n,r,a,l,d,h,u,p=!1,f={};for(r=0;r<o.length;r++)l=(a=o[r])[a.length-1],d=a.substring(0,a.length-1),h=parseInt(d,10),u=parseFloat(d),F.test(d)&&"w"===l?((t||i)&&(p=!0),0===h?p=!0:t=h):O.test(d)&&"x"===l?((t||i||n)&&(p=!0),u<0?p=!0:i=u):F.test(d)&&"h"===l?((n||i)&&(p=!0),0===h?p=!0:n=h):p=!0;p||(f.url=s,t&&(f.w=t),i&&(f.d=i),n&&(f.h=n),n||i||t||(f.d=1),1===f.d&&(e.has1x=!0),f.set=e,c.push(f))}function u(){for(i(z),n="",r="in descriptor";;){if(a=t.charAt(d),"in descriptor"===r)if(N(a))n&&(o.push(n),n="",r="after descriptor");else{if(","===a)return d+=1,n&&o.push(n),void h();if("("===a)n+=a,r="in parens";else{if(""===a)return n&&o.push(n),void h();n+=a}}else if("in parens"===r)if(")"===a)n+=a,r="in descriptor";else{if(""===a)return o.push(n),void h();n+=a}else if("after descriptor"===r)if(N(a));else{if(""===a)return void h();r="in descriptor",d-=1}d+=1}}for(;;){if(i($),d>=l)return c;s=i(L),o=[],","===s.slice(-1)?(s=s.replace(P,""),h()):u()}}(t.srcset,t)),t.cands},r.getEmValue=function(){var t;if(!s&&(t=e.body)){var i=e.createElement("div"),o=p.style.cssText,n=t.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",p.style.cssText=k,t.style.cssText=k,t.appendChild(i),s=i.offsetWidth,t.removeChild(i),s=parseFloat(s,10),p.style.cssText=o,t.style.cssText=n}return s||16},r.calcListLength=function(t){if(!(t in T)||m.uT){var e=r.calcLength(function(t){var e,i,s,o,n,a,l,d=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(s=(i=function(t){var e,i="",s=[],o=[],n=0,r=0,a=!1;function l(){i&&(s.push(i),i="")}function d(){s[0]&&(o.push(s),s=[])}for(;;){if(""===(e=t.charAt(r)))return l(),d(),o;if(a){if("*"===e&&"/"===t[r+1]){a=!1,r+=2,l();continue}r+=1}else{if(N(e)){if(t.charAt(r-1)&&N(t.charAt(r-1))||!i){r+=1;continue}if(0===n){l(),r+=1;continue}e=" "}else if("("===e)n+=1;else if(")"===e)n-=1;else{if(","===e){l(),d(),r+=1;continue}if("/"===e&&"*"===t.charAt(r+1)){a=!0,r+=2;continue}}i+=e,r+=1}}}(t)).length,e=0;e<s;e++)if(n=(o=i[e])[o.length-1],l=n,d.test(l)&&parseFloat(l)>=0||c.test(l)||"0"===l||"-0"===l||"+0"===l){if(a=n,o.pop(),0===o.length)return a;if(o=o.join(" "),r.matchesMedia(o))return a}return"100vw"}(t));T[t]=e||_.width}return T[t]},r.setRes=function(t){var e;if(t)for(var i=0,s=(e=r.parseSet(t)).length;i<s;i++)it(e[i],t.sizes);return e},r.setRes.res=it,r.applySetCandidate=function(t,e){if(t.length){var i,s,o,n,a,l,d,c,h,u,p,f,g,w,y,S,k=e[r.ns],x=r.DPR;if(l=k.curSrc||e[b],(d=k.curCan||function(t,e,i){var s;return!i&&e&&(i=(i=t[r.ns].sets)&&i[i.length-1]),(s=nt(e,i))&&(e=r.makeUrl(e),t[r.ns].curSrc=e,t[r.ns].curCan=s,s.res||it(s,s.set.sizes)),s}(e,l,t[0].set))&&d.set===t[0].set&&((h=v&&!e.complete&&d.res-.1>x)||(d.cached=!0,d.res>=x&&(a=d))),!a)for(t.sort(ot),a=t[(n=t.length)-1],s=0;s<n;s++)if((i=t[s]).res>=x){a=t[o=s-1]&&(h||l!==r.makeUrl(i.url))&&(u=t[o].res,p=i.res,f=x,g=t[o].cached,w=void 0,y=void 0,S=void 0,"saveData"===m.algorithm?u>2.7?S=f+1:(y=(p-f)*(w=Math.pow(u-.6,1.5)),g&&(y+=.1*w),S=u+y):S=f>1?Math.sqrt(u*p):u,S>f)?t[o]:i;break}a&&(c=r.makeUrl(a.url),k.curSrc=c,k.curCan=a,c!==l&&r.setSrc(e,a),r.setSize(e))}},r.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},r.getSet=function(t){var e,i,s,o=!1,n=t[r.ns].sets;for(e=0;e<n.length&&!o;e++)if((i=n[e]).srcset&&r.matchesMedia(i.media)&&(s=r.supportsType(i.type))){"pending"===s&&(i=s),o=i;break}return o},r.parseSets=function(t,e,i){var s,n,a,l,d=e&&"PICTURE"===e.nodeName.toUpperCase(),p=t[r.ns];(void 0===p.src||i.src)&&(p.src=c.call(t,"src"),p.src?h.call(t,"data-pfsrc",p.src):u.call(t,"data-pfsrc")),(void 0===p.srcset||i.srcset||!r.supSrcset||t.srcset)&&(s=c.call(t,"srcset"),p.srcset=s,l=!0),p.sets=[],d&&(p.pic=!0,function(t,e){var i,s,o,n,a=t.getElementsByTagName("source");for(i=0,s=a.length;i<s;i++)(o=a[i])[r.ns]=!0,(n=o.getAttribute("srcset"))&&e.push({srcset:n,media:o.getAttribute("media"),type:o.getAttribute("type"),sizes:o.getAttribute("sizes")})}(e,p.sets)),p.srcset?(n={srcset:p.srcset,sizes:c.call(t,"sizes")},p.sets.push(n),(a=(o||p.src)&&w.test(p.srcset||""))||!p.src||nt(p.src,n)||n.has1x||(n.srcset+=", "+p.src,n.cands.push({url:p.src,d:1,set:n}))):p.src&&p.sets.push({srcset:p.src,sizes:null}),p.curCan=null,p.curSrc=void 0,p.supported=!(d||n&&!r.supSrcset||a&&!r.supSizes),l&&r.supSrcset&&!p.supported&&(s?(h.call(t,"data-pfsrcset",s),t.srcset=""):u.call(t,"data-pfsrcset")),p.supported&&!p.srcset&&(!p.src&&t.src||t.src!==r.makeUrl(p.src))&&(null===p.src?t.removeAttribute("src"):t.src=p.src),p.parsed=!0},r.fillImg=function(t,e){var i,s,o,a,l,d=e.reselect||e.reevaluate;(t[r.ns]||(t[r.ns]={}),i=t[r.ns],d||i.evaled!==n)&&(i.parsed&&!e.reevaluate||r.parseSets(t,t.parentNode,e),i.supported?i.evaled=n:(s=t,a=r.getSet(s),l=!1,"pending"!==a&&(l=n,a&&(o=r.setRes(a),r.applySetCandidate(o,s))),s[r.ns].evaled=l))},r.setupRun=function(){E&&!x&&C===t.devicePixelRatio||(x=!1,C=t.devicePixelRatio,A={},T={},r.DPR=C||1,_.width=Math.max(t.innerWidth||0,p.clientWidth),_.height=Math.max(t.innerHeight||0,p.clientHeight),_.vw=_.width/100,_.vh=_.height/100,n=[_.height,_.width,C].join("-"),_.em=r.getEmValue(),_.rem=_.em)},r.supPicture?(st=l,r.fillImg=l):(Q=t.attachEvent?/d$|^c/:/d$|^c|^i/,X=function(){var t=e.readyState||"";J=setTimeout(X,"loading"===t?200:999),e.body&&(r.fillImgs(),(j=j||Q.test(t))&&clearTimeout(J))},J=setTimeout(X,e.body?9:99),tt=p.clientHeight,H(t,"resize",(Z=function(){x=Math.max(t.innerWidth||0,p.clientWidth)!==_.width||p.clientHeight!==tt,tt=p.clientHeight,x&&r.fillImgs()},G=99,Y=function(){var t=new Date-K;t<G?q=setTimeout(Y,G-t):(q=null,Z())},function(){K=new Date,q||(q=setTimeout(Y,G))})),H(e,"readystatechange",X)),r.picturefill=st,r.fillImgs=st,r.teardownRun=l,st._=r,t.picturefillCFG={pf:r,push:function(t){var e=t.shift();"function"==typeof r[e]?r[e].apply(r,t):(m[e]=t[0],E&&r.fillImgs({reselect:!0}))}};for(;S&&S.length;)t.picturefillCFG.push(S.shift());t.picturefill=st,"object"==typeof module&&"object"==typeof module.exports?module.exports=st:"function"==typeof define&&define.amd&&define("picturefill",function(){return st}),r.supPicture||(f["image/webp"]=function(e,i){var s=new t.Image;return s.onerror=function(){f[e]=!1,st()},s.onload=function(){f[e]=1===s.width,st()},s.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(t,e,i,s){var o={init:function(e,i){var s=this;s.elem=i,s.$elem=t(i),s.imageSrc=s.$elem.data("zoom-image")?s.$elem.data("zoom-image"):s.$elem.attr("src"),s.options=t.extend({},t.fn.elevateZoom.options,e),s.options.tint&&(s.options.lensColour="none",s.options.lensOpacity="1"),"inner"==s.options.zoomType&&(s.options.showLens=!1),s.$elem.parent().removeAttr("title").removeAttr("alt"),s.zoomImage=s.imageSrc,s.refresh(1),t("#"+s.options.gallery+" a").click(function(e){return s.options.galleryActiveClass&&(t("#"+s.options.gallery+" a").removeClass(s.options.galleryActiveClass),t(this).addClass(s.options.galleryActiveClass)),e.preventDefault(),t(this).data("zoom-image")?s.zoomImagePre=t(this).data("zoom-image"):s.zoomImagePre=t(this).data("image"),s.swaptheimage(t(this).data("image"),s.zoomImagePre),!1})},refresh:function(t){var e=this;setTimeout(function(){e.fetch(e.imageSrc)},t||e.options.refresh)},fetch:function(t){var e=this,i=new Image;i.onload=function(){e.largeWidth=i.width,e.largeHeight=i.height,e.startZoom(),e.currentImage=e.imageSrc,e.options.onZoomedImageLoaded(e.$elem)},i.src=t},startZoom:function(){var e=this;if(e.nzWidth=e.$elem.width(),e.nzHeight=e.$elem.height(),e.isWindowActive=!1,e.isLensActive=!1,e.isTintActive=!1,e.overWindow=!1,e.options.imageCrossfade&&(e.zoomWrap=e.$elem.wrap('<div style="height:'+e.nzHeight+"px;width:"+e.nzWidth+'px;" class="image-gallery__zoom" />'),e.$elem.css("position","absolute")),e.zoomLock=1,e.scrollingLock=!1,e.changeBgSize=!1,e.currentZoomLevel=e.options.zoomLevel,e.nzOffset=e.$elem.offset(),e.widthRatio=e.largeWidth/e.currentZoomLevel/e.nzWidth,e.heightRatio=e.largeHeight/e.currentZoomLevel/e.nzHeight,"window"==e.options.zoomType&&(e.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(e.options.zoomWindowBgColour)+";width: "+String(e.options.zoomWindowWidth)+"px;height: "+String(e.options.zoomWindowHeight)+"px;float: left;background-size: "+e.largeWidth/e.currentZoomLevel+"px "+e.largeHeight/e.currentZoomLevel+"px;display: none;z-index:100;border: "+String(e.options.borderSize)+"px solid "+e.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"inner"==e.options.zoomType){var i=e.$elem.css("border-left-width");e.zoomWindowStyle="overflow: hidden;margin-left: "+String(i)+";margin-top: "+String(i)+";background-position: 0px 0px;width: "+String(e.nzWidth)+"px;height: "+String(e.nzHeight)+"px;px;float: left;display: none;cursor:"+e.options.cursor+";px solid "+e.options.borderColour+";background-repeat: no-repeat;position: absolute;"}"window"==e.options.zoomType&&(e.nzHeight<e.options.zoomWindowWidth/e.widthRatio?lensHeight=e.nzHeight:lensHeight=String(e.options.zoomWindowHeight/e.heightRatio),e.largeWidth<e.options.zoomWindowWidth?lensWidth=e.nzWidth:lensWidth=e.options.zoomWindowWidth/e.widthRatio,e.lensStyle="background-position: 0px 0px;width: "+String(e.options.zoomWindowWidth/e.widthRatio)+"px;height: "+String(e.options.zoomWindowHeight/e.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+e.options.lensOpacity+";filter: alpha(opacity = "+100*e.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+e.options.lensColour+";cursor:"+e.options.cursor+";border: "+e.options.lensBorderSize+"px solid "+e.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;"),e.tintStyle="display: block;position: absolute;background-color: "+e.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+e.nzWidth+"px;height: "+e.nzHeight+"px;",e.lensRound="","lens"==e.options.zoomType&&(e.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(e.options.borderSize)+"px solid "+e.options.borderColour+";width:"+String(e.options.lensSize)+"px;height:"+String(e.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;"),"round"==e.options.lensShape&&(e.lensRound="border-top-left-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-top-right-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-bottom-left-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;border-bottom-right-radius: "+String(e.options.lensSize/2+e.options.borderSize)+"px;"),e.zoomContainer=t('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+e.nzOffset.left+"px;top:"+e.nzOffset.top+"px;height:"+e.nzHeight+"px;width:"+e.nzWidth+'px;"></div>'),t("body").append(e.zoomContainer),e.options.containLensZoom&&"lens"==e.options.zoomType&&e.zoomContainer.css("overflow","hidden"),"inner"!=e.options.zoomType&&(e.zoomLens=t("<div class='zoomLens' style='"+e.lensStyle+e.lensRound+"'>&nbsp;</div>").appendTo(e.zoomContainer).click(function(){e.$elem.trigger("click")}),e.options.tint&&(e.tintContainer=t("<div/>").addClass("tintContainer"),e.zoomTint=t("<div class='zoomTint' style='"+e.tintStyle+"'></div>"),e.zoomLens.wrap(e.tintContainer),e.zoomTintcss=e.zoomLens.after(e.zoomTint),e.zoomTintImage=t('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+e.nzWidth+"px; height: "+e.nzHeight+'px;" src="'+e.imageSrc+'">').appendTo(e.zoomLens).click(function(){e.$elem.trigger("click")}))),isNaN(e.options.zoomWindowPosition)?e.zoomWindow=t("<div style='z-index:999;left:"+e.windowOffsetLeft+"px;top:"+e.windowOffsetTop+"px;"+e.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").click(function(){e.$elem.trigger("click")}):e.zoomWindow=t("<div style='z-index:999;left:"+e.windowOffsetLeft+"px;top:"+e.windowOffsetTop+"px;"+e.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(e.zoomContainer).click(function(){e.$elem.trigger("click")}),e.zoomWindowContainer=t("<div/>").addClass("zoomWindowContainer").css("width",e.options.zoomWindowWidth),e.zoomWindow.wrap(e.zoomWindowContainer),"lens"==e.options.zoomType&&e.zoomLens.css({backgroundImage:"url('"+e.imageSrc+"')"}),"window"==e.options.zoomType&&e.zoomWindow.css({backgroundImage:"url('"+e.imageSrc+"')"}),"inner"==e.options.zoomType&&e.zoomWindow.css({backgroundImage:"url('"+e.imageSrc+"')"}),e.$elem.bind("touchmove",function(t){t.preventDefault();var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];e.setPosition(i)}),e.zoomContainer.bind("touchmove",function(t){"inner"==e.options.zoomType&&e.showHideWindow("show"),t.preventDefault();var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];e.setPosition(i)}),e.zoomContainer.bind("touchend",function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")}),e.$elem.bind("touchend",function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")}),e.options.showLens&&(e.zoomLens.bind("touchmove",function(t){t.preventDefault();var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];e.setPosition(i)}),e.zoomLens.bind("touchend",function(t){e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("hide")})),e.$elem.bind("mousemove",function(t){0==e.overWindow&&e.setElements("show"),e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY}),e.zoomContainer.bind("mousemove",function(t){0==e.overWindow&&e.setElements("show"),e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY}),"inner"!=e.options.zoomType&&e.zoomLens.bind("mousemove",function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY}),e.options.tint&&"inner"!=e.options.zoomType&&e.zoomTint.bind("mousemove",function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY}),"inner"==e.options.zoomType&&e.zoomWindow.bind("mousemove",function(t){e.lastX===t.clientX&&e.lastY===t.clientY||(e.setPosition(t),e.currentLoc=t),e.lastX=t.clientX,e.lastY=t.clientY}),e.zoomContainer.add(e.$elem).mouseenter(function(){0==e.overWindow&&e.setElements("show")}).mouseleave(function(){e.scrollLock||(e.setElements("hide"),e.options.onDestroy(e.$elem))}),"inner"!=e.options.zoomType&&e.zoomWindow.mouseenter(function(){e.overWindow=!0,e.setElements("hide")}).mouseleave(function(){e.overWindow=!1}),e.options.zoomLevel,e.options.minZoomLevel?e.minZoomLevel=e.options.minZoomLevel:e.minZoomLevel=2*e.options.scrollZoomIncrement,e.options.scrollZoom&&e.zoomContainer.add(e.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(i){e.scrollLock=!0,clearTimeout(t.data(this,"timer")),t.data(this,"timer",setTimeout(function(){e.scrollLock=!1},250));var s=i.originalEvent.wheelDelta||-1*i.originalEvent.detail;return i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault(),s/120>0?e.currentZoomLevel>=e.minZoomLevel&&e.changeZoomLevel(e.currentZoomLevel-e.options.scrollZoomIncrement):e.options.maxZoomLevel?e.currentZoomLevel<=e.options.maxZoomLevel&&e.changeZoomLevel(parseFloat(e.currentZoomLevel)+e.options.scrollZoomIncrement):e.changeZoomLevel(parseFloat(e.currentZoomLevel)+e.options.scrollZoomIncrement),!1})},setElements:function(t){if(!this.options.zoomEnabled)return!1;"show"==t&&this.isWindowSet&&("inner"==this.options.zoomType&&this.showHideWindow("show"),"window"==this.options.zoomType&&this.showHideWindow("show"),this.options.showLens&&this.showHideLens("show"),this.options.tint&&"inner"!=this.options.zoomType&&this.showHideTint("show")),"hide"==t&&("window"==this.options.zoomType&&this.showHideWindow("hide"),this.options.tint||this.showHideWindow("hide"),this.options.showLens&&this.showHideLens("hide"),this.options.tint&&this.showHideTint("hide"))},setPosition:function(t){if(!this.options.zoomEnabled)return!1;this.nzHeight=this.$elem.height(),this.nzWidth=this.$elem.width(),this.nzOffset=this.$elem.offset(),this.options.tint&&"inner"!=this.options.zoomType&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0})),this.options.responsive&&!this.options.scrollZoom&&this.options.showLens&&(this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?lensHeight=this.nzHeight:lensHeight=String(this.options.zoomWindowHeight/this.heightRatio),this.largeWidth<this.options.zoomWindowWidth?lensWidth=this.nzWidth:lensWidth=this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"lens"!=this.options.zoomType&&(this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?lensHeight=this.nzHeight:lensHeight=String(this.options.zoomWindowHeight/this.heightRatio),this.nzWidth<this.options.zoomWindowHeight/this.heightRatio?lensWidth=this.nzWidth:lensWidth=String(this.options.zoomWindowWidth/this.widthRatio),this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight),this.options.tint&&(this.zoomTintImage.css("width",this.nzWidth),this.zoomTintImage.css("height",this.nzHeight))),"lens"==this.options.zoomType&&this.zoomLens.css({width:String(this.options.lensSize)+"px",height:String(this.options.lensSize)+"px"})),this.zoomContainer.css({top:this.nzOffset.top}),this.zoomContainer.css({left:this.nzOffset.left}),this.mouseLeft=parseInt(t.pageX-this.nzOffset.left),this.mouseTop=parseInt(t.pageY-this.nzOffset.top),"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize),"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize),this.mouseLeft<0||this.mouseTop<0||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?this.setElements("hide"):(this.options.showLens&&(this.lensLeftPos=String(Math.floor(this.mouseLeft-this.zoomLens.width()/2)),this.lensTopPos=String(Math.floor(this.mouseTop-this.zoomLens.height()/2))),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.windowLeftPos=0,this.lensLeftPos=0,this.tintpos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((t.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((t.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.changeBgSize&&(this.nzHeight>this.nzWidth?("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvalueheight+"px "+this.largeHeight/this.newvalueheight+"px"})):("lens"==this.options.zoomType&&this.zoomLens.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"}),this.zoomWindow.css({"background-size":this.largeWidth/this.newvaluewidth+"px "+this.largeHeight/this.newvaluewidth+"px"})),this.changeBgSize=!1),this.setWindowPostition(t)),this.options.tint&&"inner"!=this.options.zoomType&&this.setTintPosition(t),"window"==this.options.zoomType&&this.setWindowPostition(t),"inner"==this.options.zoomType&&this.setWindowPostition(t),this.options.showLens&&(this.fullwidth&&"lens"!=this.options.zoomType&&(this.lensLeftPos=0),this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"})))},showHideWindow:function(t){var e=this;"show"==t&&(e.isWindowActive||(e.options.zoomWindowFadeIn?e.zoomWindow.stop(!0,!0,!1).fadeIn(e.options.zoomWindowFadeIn):e.zoomWindow.show(),e.isWindowActive=!0)),"hide"==t&&e.isWindowActive&&(e.options.zoomWindowFadeOut?e.zoomWindow.stop(!0,!0).fadeOut(e.options.zoomWindowFadeOut,function(){e.loop&&(clearInterval(e.loop),e.loop=!1)}):e.zoomWindow.hide(),e.isWindowActive=!1)},showHideLens:function(t){"show"==t&&(this.isLensActive||(this.options.lensFadeIn?this.zoomLens.stop(!0,!0,!1).fadeIn(this.options.lensFadeIn):this.zoomLens.show(),this.isLensActive=!0)),"hide"==t&&this.isLensActive&&(this.options.lensFadeOut?this.zoomLens.stop(!0,!0).fadeOut(this.options.lensFadeOut):this.zoomLens.hide(),this.isLensActive=!1)},showHideTint:function(t){"show"==t&&(this.isTintActive||(this.options.zoomTintFadeIn?this.zoomTint.css({opacity:this.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(this.zoomTint.css({opacity:this.options.tintOpacity}).animate(),this.zoomTint.show()),this.isTintActive=!0)),"hide"==t&&this.isTintActive&&(this.options.zoomTintFadeOut?this.zoomTint.stop(!0,!0).fadeOut(this.options.zoomTintFadeOut):this.zoomTint.hide(),this.isTintActive=!1)},setLensPostition:function(t){},setWindowPostition:function(e){var i=this;if(isNaN(i.options.zoomWindowPosition))i.externalContainer=t("#"+i.options.zoomWindowPosition),i.externalContainerWidth=i.externalContainer.width(),i.externalContainerHeight=i.externalContainer.height(),i.externalContainerOffset=i.externalContainer.offset(),i.windowOffsetTop=i.externalContainerOffset.top,i.windowOffsetLeft=i.externalContainerOffset.left;else switch(i.options.zoomWindowPosition){case 1:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=+i.nzWidth;break;case 2:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=i.nzWidth);break;case 3:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize,i.windowOffsetLeft=i.nzWidth;break;case 4:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=i.nzWidth;break;case 5:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 7:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=0;break;case 8:i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 9:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 10:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize));break;case 11:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 12:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 13:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=0;break;case 14:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 15:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 16:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=i.nzWidth;break;default:i.windowOffsetTop=i.options.zoomWindowOffety,i.windowOffsetLeft=i.nzWidth}i.isWindowSet=!0,i.windowOffsetTop=i.windowOffsetTop+i.options.zoomWindowOffety,i.windowOffsetLeft=i.windowOffsetLeft+i.options.zoomWindowOffetx,i.zoomWindow.css({top:i.windowOffsetTop}),i.zoomWindow.css({left:i.windowOffsetLeft}),"inner"==i.options.zoomType&&(i.zoomWindow.css({top:0}),i.zoomWindow.css({left:0})),i.windowLeftPos=String(-1*((e.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2)),i.windowTopPos=String(-1*((e.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2)),i.Etoppos&&(i.windowTopPos=0),i.Eloppos&&(i.windowLeftPos=0),i.Eboppos&&(i.windowTopPos=-1*(i.largeHeight/i.currentZoomLevel-i.zoomWindow.height())),i.Eroppos&&(i.windowLeftPos=-1*(i.largeWidth/i.currentZoomLevel-i.zoomWindow.width())),i.fullheight&&(i.windowTopPos=0),i.fullwidth&&(i.windowLeftPos=0),"window"!=i.options.zoomType&&"inner"!=i.options.zoomType||(1==i.zoomLock&&(i.widthRatio<=1&&(i.windowLeftPos=0),i.heightRatio<=1&&(i.windowTopPos=0)),"window"==i.options.zoomType&&(i.largeHeight<i.options.zoomWindowHeight&&(i.windowTopPos=0),i.largeWidth<i.options.zoomWindowWidth&&(i.windowLeftPos=0)),i.options.easing?(i.xp||(i.xp=0),i.yp||(i.yp=0),i.loop||(i.loop=setInterval(function(){i.xp+=(i.windowLeftPos-i.xp)/i.options.easingAmount,i.yp+=(i.windowTopPos-i.yp)/i.options.easingAmount,i.scrollingLock?(clearInterval(i.loop),i.xp=i.windowLeftPos,i.yp=i.windowTopPos,i.xp=-1*((e.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2),i.yp=-1*((e.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2),i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.scrollingLock=!1,i.loop=!1):Math.round(Math.abs(i.xp-i.windowLeftPos)+Math.abs(i.yp-i.windowTopPos))<1?(clearInterval(i.loop),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.loop=!1):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"!=i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.xp+"px "+i.yp+"px"}))},16))):(i.changeBgSize&&(i.nzHeight>i.nzWidth?("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"}),i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})):("lens"==i.options.zoomType&&i.zoomLens.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}),i.largeHeight/i.newvaluewidth<i.options.zoomWindowHeight?i.zoomWindow.css({"background-size":i.largeWidth/i.newvaluewidth+"px "+i.largeHeight/i.newvaluewidth+"px"}):i.zoomWindow.css({"background-size":i.largeWidth/i.newvalueheight+"px "+i.largeHeight/i.newvalueheight+"px"})),i.changeBgSize=!1),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"})))},setTintPosition:function(t){this.nzOffset=this.$elem.offset(),this.tintpos=String(-1*(t.pageX-this.nzOffset.left-this.zoomLens.width()/2)),this.tintposy=String(-1*(t.pageY-this.nzOffset.top-this.zoomLens.height()/2)),this.Etoppos&&(this.tintposy=0),this.Eloppos&&(this.tintpos=0),this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize)),this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),this.options.tint&&(this.fullheight&&(this.tintposy=0),this.fullwidth&&(this.tintpos=0),this.zoomTintImage.css({left:this.tintpos+"px"}),this.zoomTintImage.css({top:this.tintposy+"px"}))},swaptheimage:function(e,i){var s=this,o=new Image;s.options.loadingIcon&&(s.spinner=t("<div style=\"background: url('"+s.options.loadingIcon+"') no-repeat center;height:"+s.nzHeight+"px;width:"+s.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>'),s.$elem.after(s.spinner)),s.options.onImageSwap(s.$elem),o.onload=function(){s.largeWidth=o.width,s.largeHeight=o.height,s.zoomImage=i,s.zoomWindow.css({"background-size":s.largeWidth+"px "+s.largeHeight+"px"}),s.swapAction(e,i)},o.src=i},swapAction:function(e,i){var s=this,o=new Image;if(o.onload=function(){s.nzHeight=o.height,s.nzWidth=o.width,s.options.onImageSwapComplete(s.$elem),s.doneCallback()},o.src=e,s.currentZoomLevel=s.options.zoomLevel,s.options.maxZoomLevel=!1,"lens"==s.options.zoomType&&s.zoomLens.css({backgroundImage:"url('"+i+"')"}),"window"==s.options.zoomType&&s.zoomWindow.css({backgroundImage:"url('"+i+"')"}),"inner"==s.options.zoomType&&s.zoomWindow.css({backgroundImage:"url('"+i+"')"}),s.currentImage=i,s.options.imageCrossfade){var n=s.$elem,r=n.clone();if(s.$elem.attr("src",e),s.$elem.after(r),r.stop(!0).fadeOut(s.options.imageCrossfade,function(){t(this).remove()}),s.$elem.width("auto").removeAttr("width"),s.$elem.height("auto").removeAttr("height"),n.fadeIn(s.options.imageCrossfade),s.options.tint&&"inner"!=s.options.zoomType){var a=s.zoomTintImage,l=a.clone();s.zoomTintImage.attr("src",i),s.zoomTintImage.after(l),l.stop(!0).fadeOut(s.options.imageCrossfade,function(){t(this).remove()}),a.fadeIn(s.options.imageCrossfade),s.zoomTint.css({height:s.$elem.height()}),s.zoomTint.css({width:s.$elem.width()})}s.zoomContainer.css("height",s.$elem.height()),s.zoomContainer.css("width",s.$elem.width()),"inner"==s.options.zoomType&&(s.options.constrainType||(s.zoomWrap.parent().css("height",s.$elem.height()),s.zoomWrap.parent().css("width",s.$elem.width()),s.zoomWindow.css("height",s.$elem.height()),s.zoomWindow.css("width",s.$elem.width()))),s.options.imageCrossfade&&(s.zoomWrap.css("height",s.$elem.height()),s.zoomWrap.css("width",s.$elem.width()))}else s.$elem.attr("src",e),s.options.tint&&(s.zoomTintImage.attr("src",i),s.zoomTintImage.attr("height",s.$elem.height()),s.zoomTintImage.css({height:s.$elem.height()}),s.zoomTint.css({height:s.$elem.height()})),s.zoomContainer.css("height",s.$elem.height()),s.zoomContainer.css("width",s.$elem.width()),s.options.imageCrossfade&&(s.zoomWrap.css("height",s.$elem.height()),s.zoomWrap.css("width",s.$elem.width()));s.options.constrainType&&("height"==s.options.constrainType&&(s.zoomContainer.css("height",s.options.constrainSize),s.zoomContainer.css("width","auto"),s.options.imageCrossfade?(s.zoomWrap.css("height",s.options.constrainSize),s.zoomWrap.css("width","auto"),s.constwidth=s.zoomWrap.width()):(s.$elem.css("height",s.options.constrainSize),s.$elem.css("width","auto"),s.constwidth=s.$elem.width()),"inner"==s.options.zoomType&&(s.zoomWrap.parent().css("height",s.options.constrainSize),s.zoomWrap.parent().css("width",s.constwidth),s.zoomWindow.css("height",s.options.constrainSize),s.zoomWindow.css("width",s.constwidth)),s.options.tint&&(s.tintContainer.css("height",s.options.constrainSize),s.tintContainer.css("width",s.constwidth),s.zoomTint.css("height",s.options.constrainSize),s.zoomTint.css("width",s.constwidth),s.zoomTintImage.css("height",s.options.constrainSize),s.zoomTintImage.css("width",s.constwidth))),"width"==s.options.constrainType&&(s.zoomContainer.css("height","auto"),s.zoomContainer.css("width",s.options.constrainSize),s.options.imageCrossfade?(s.zoomWrap.css("height","auto"),s.zoomWrap.css("width",s.options.constrainSize),s.constheight=s.zoomWrap.height()):(s.$elem.css("height","auto"),s.$elem.css("width",s.options.constrainSize),s.constheight=s.$elem.height()),"inner"==s.options.zoomType&&(s.zoomWrap.parent().css("height",s.constheight),s.zoomWrap.parent().css("width",s.options.constrainSize),s.zoomWindow.css("height",s.constheight),s.zoomWindow.css("width",s.options.constrainSize)),s.options.tint&&(s.tintContainer.css("height",s.constheight),s.tintContainer.css("width",s.options.constrainSize),s.zoomTint.css("height",s.constheight),s.zoomTint.css("width",s.options.constrainSize),s.zoomTintImage.css("height",s.constheight),s.zoomTintImage.css("width",s.options.constrainSize))))},doneCallback:function(){this.options.loadingIcon&&this.spinner.hide(),this.nzOffset=this.$elem.offset(),this.nzWidth=this.$elem.width(),this.nzHeight=this.$elem.height(),this.currentZoomLevel=this.options.zoomLevel,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,"window"==this.options.zoomType&&(this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?lensHeight=this.nzHeight:lensHeight=String(this.options.zoomWindowHeight/this.heightRatio),this.options.zoomWindowWidth<this.options.zoomWindowWidth?lensWidth=this.nzWidth:lensWidth=this.options.zoomWindowWidth/this.widthRatio,this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var e=this;return e.gallerylist=[],e.options.gallery?t("#"+e.options.gallery+" a").each(function(){var i="";t(this).data("zoom-image")?i=t(this).data("zoom-image"):t(this).data("image")&&(i=t(this).data("image")),i==e.zoomImage?e.gallerylist.unshift({href:""+i,title:t(this).find("img").attr("title")}):e.gallerylist.push({href:""+i,title:t(this).find("img").attr("title")})}):e.gallerylist.push({href:""+e.zoomImage,title:t(this).find("img").attr("title")}),e.gallerylist},changeZoomLevel:function(t){this.scrollingLock=!0,this.newvalue=parseFloat(t).toFixed(2),newvalue=parseFloat(t).toFixed(2),maxheightnewvalue=this.largeHeight/(this.options.zoomWindowHeight/this.nzHeight*this.nzHeight),maxwidthtnewvalue=this.largeWidth/(this.options.zoomWindowWidth/this.nzWidth*this.nzWidth),"inner"!=this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/maxheightnewvalue/this.nzHeight,this.newvalueheight=maxheightnewvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/maxwidthtnewvalue/this.nzWidth,this.newvaluewidth=maxwidthtnewvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1),"lens"==this.options.zoomType&&(maxheightnewvalue<=newvalue?(this.fullwidth=!0,this.newvaluewidth=maxheightnewvalue):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1))),"inner"==this.options.zoomType&&(maxheightnewvalue=parseFloat(this.largeHeight/this.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(this.largeWidth/this.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,newvalue>maxheightnewvalue?this.newvalueheight=maxheightnewvalue:this.newvalueheight=newvalue,this.fullheight=!0):(this.heightRatio=this.largeHeight/newvalue/this.nzHeight,newvalue>maxheightnewvalue?this.newvalueheight=maxheightnewvalue:this.newvalueheight=newvalue,this.fullheight=!1),maxwidthtnewvalue<=newvalue?(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,newvalue>maxwidthtnewvalue?this.newvaluewidth=maxwidthtnewvalue:this.newvaluewidth=newvalue,this.fullwidth=!0):(this.widthRatio=this.largeWidth/newvalue/this.nzWidth,this.newvaluewidth=newvalue,this.fullwidth=!1)),scrcontinue=!1,"inner"==this.options.zoomType&&(this.nzWidth>=this.nzHeight&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullheight=!0,this.fullwidth=!0)),this.nzHeight>this.nzWidth&&(this.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,this.fullheight=!0,this.fullwidth=!0))),"inner"!=this.options.zoomType&&(scrcontinue=!0),scrcontinue&&(this.zoomLock=0,this.changeZoom=!0,this.options.zoomWindowHeight/this.heightRatio<=this.nzHeight&&(this.currentZoomLevel=this.newvalueheight,"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"})),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType||(this.changeBgSize=!0)),this.options.zoomWindowWidth/this.widthRatio<=this.nzWidth&&("inner"!=this.options.zoomType&&this.newvaluewidth>this.newvalueheight&&(this.currentZoomLevel=this.newvaluewidth),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"!=this.options.zoomType&&"inner"!=this.options.zoomType||(this.changeBgSize=!0)),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth))),this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide(),self.zoomLens&&self.zoomLens.hide(),self.zoomTint&&self.zoomTint.hide()},changeState:function(t){"enable"==t&&(this.options.zoomEnabled=!0),"disable"==t&&(this.options.zoomEnabled=!1)}};t.fn.elevateZoom=function(e){return this.each(function(){var i=Object.create(o);i.init(e,this),t.data(this,"elevateZoom",i)})},t.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:t.noop,onDestroy:function(){},onZoomedImageLoaded:function(){},onImageSwap:t.noop,onImageSwapComplete:t.noop}}(jQuery,window,document),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(i,s){var o,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=t(i),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,o=t(i).data("slick")||{},n.options=t.extend({},n.defaults,s,o),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=t.proxy(n.autoPlay,n),n.autoPlayClear=t.proxy(n.autoPlayClear,n),n.autoPlayIterator=t.proxy(n.autoPlayIterator,n),n.changeSlide=t.proxy(n.changeSlide,n),n.clickHandler=t.proxy(n.clickHandler,n),n.selectHandler=t.proxy(n.selectHandler,n),n.setPosition=t.proxy(n.setPosition,n),n.swipeHandler=t.proxy(n.swipeHandler,n),n.dragHandler=t.proxy(n.dragHandler,n),n.keyHandler=t.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,i,s){var o=this;if("boolean"==typeof i)s=i,i=null;else if(i<0||i>=o.slideCount)return!1;o.unload(),"number"==typeof i?0===i&&0===o.$slides.length?t(e).appendTo(o.$slideTrack):s?t(e).insertBefore(o.$slides.eq(i)):t(e).insertAfter(o.$slides.eq(i)):!0===s?t(e).prependTo(o.$slideTrack):t(e).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),o.$slidesCache=o.$slides,o.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var s={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(e=-e),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:e},o.options.speed,o.options.easing,i):o.$slideTrack.animate({top:e},o.options.speed,o.options.easing,i):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),t({animStart:o.currentLeft}).animate({animStart:e},{duration:o.options.speed,easing:o.options.easing,step:function(t){t=Math.ceil(t),!1===o.options.vertical?(s[o.animType]="translate("+t+"px, 0px)",o.$slideTrack.css(s)):(s[o.animType]="translate(0px,"+t+"px)",o.$slideTrack.css(s))},complete:function(){i&&i.call()}})):(o.applyTransition(),e=Math.ceil(e),!1===o.options.vertical?s[o.animType]="translate3d("+e+"px, 0px, 0px)":s[o.animType]="translate3d(0px,"+e+"px, 0px)",o.$slideTrack.css(s),i&&setTimeout(function(){o.disableTransition(),i.call()},o.options.speed))},e.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},e.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,i,s=this;if(!0===s.options.dots&&s.slideCount>s.options.slidesToShow){for(s.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(s.options.dotsClass),e=0;e<=s.getDotCount();++e)i.append(t("<li />").append(s.options.customPaging.call(this,s,e)));s.$dots=i.appendTo(s.options.appendDots),s.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,s,o,n,r,a=this;if(s=document.createDocumentFragment(),n=a.$slider.children(),a.options.rows>0){for(r=a.options.slidesPerRow*a.options.rows,o=Math.ceil(n.length/r),t=0;t<o;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var d=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=t*r+(e*a.options.slidesPerRow+i);n.get(c)&&d.appendChild(n.get(c))}l.appendChild(d)}s.appendChild(l)}a.$slider.empty().append(s),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var s,o,n,r=this,a=!1,l=r.$slider.width(),d=window.innerWidth||t(window).width();if("window"===r.respondTo?n=d:"slider"===r.respondTo?n=l:"min"===r.respondTo&&(n=Math.min(d,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(s in o=null,r.breakpoints)r.breakpoints.hasOwnProperty(s)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[s]&&(o=r.breakpoints[s]):n>r.breakpoints[s]&&(o=r.breakpoints[s]));null!==o?null!==r.activeBreakpoint?(o!==r.activeBreakpoint||i)&&(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):(r.activeBreakpoint=o,"unslick"===r.breakpointSettings[o]?r.unslick(o):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[o]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=o):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=o),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var s,o,n=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),s=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,e.data.message){case"previous":o=0===s?n.options.slidesToScroll:n.options.slidesToShow-s,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-o,!1,i);break;case"next":o=0===s?n.options.slidesToScroll:s,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+o,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var s in e){if(t<e[s]){t=i;break}i=e[s]}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){t(this).attr("style",t(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(i){var s=t(this);setTimeout(function(){e.options.pauseOnFocus&&s.is(":focus")&&(e.focussed=!0,e.autoPlay())},0)}).on("blur.slick","*",function(i){t(this);e.options.pauseOnFocus&&(e.focussed=!1,e.autoPlay())})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,s=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++s;else for(;e<t.slideCount;)++s,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)s=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++s,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else s=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return s-1},e.prototype.getLeft=function(t){var e,i,s,o,n=this,r=0;return n.slideOffset=0,i=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,o=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?o=-1.5:1===n.options.slidesToShow&&(o=-2)),r=i*n.options.slidesToShow*o),n.slideCount%n.options.slidesToScroll!=0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(t-n.slideCount))*i*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*i*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(t+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*i*-1+r,!0===n.options.variableWidth&&(s=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=!0===n.options.rtl?s[0]?-1*(n.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,!0===n.options.centerMode&&(s=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=!0===n.options.rtl?s[0]?-1*(n.$slideTrack.width()-s[0].offsetLeft-s.width()):0:s[0]?-1*s[0].offsetLeft:0,e+=(n.$list.width()-s.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,s=0,o=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,s=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)o.push(i),i=s+e.options.slidesToScroll,s+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return o},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,s,o=this;return s=!0===o.options.centerMode?Math.floor(o.$list.width()/2):0,i=-1*o.swipeLeft+s,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){var r,a;if(r=t(n).outerWidth(),a=n.offsetLeft,!0!==o.options.centerMode&&(a+=r/2),i<a+r)return e=n,!1}),Math.abs(t(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},e.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),s=e.getNavigableIndexes().filter(function(t){return t>=0&&t<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){var o=s.indexOf(i);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==o){var n="slick-slide-control"+e.instanceUid+o;t("#"+n).length&&t(this).attr({"aria-describedby":n})}}),e.$dots.attr("role","tablist").find("li").each(function(o){var n=s[o];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+o,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":o+1+" of "+i,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=e.currentSlide,n=o+e.options.slidesToShow;o<n;o++)e.options.focusOnChange?e.$slides.eq(o).attr({tabindex:"0"}):e.$slides.eq(o).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},e.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){var e,i,s,o=this;function n(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),s=t(this).attr("data-srcset"),n=t(this).attr("data-sizes")||o.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){s&&(e.attr("srcset",s),n&&e.attr("sizes",n)),e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),o.$slider.trigger("lazyLoaded",[o,e,i])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,i])},r.src=i})}if(!0===o.options.centerMode?!0===o.options.infinite?s=(i=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(i=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),s=o.options.slidesToShow/2+1+2+o.currentSlide):(i=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,s=Math.ceil(i+o.options.slidesToShow),!0===o.options.fade&&(i>0&&i--,s<=o.slideCount&&s++)),e=o.$slider.find(".slick-slide").slice(i,s),"anticipated"===o.options.lazyLoad)for(var r=i-1,a=s,l=o.$slider.find(".slick-slide"),d=0;d<o.options.slidesToScroll;d++)r<0&&(r=o.slideCount-1),e=(e=e.add(l.eq(r))).add(l.eq(a)),r--,a++;n(e),o.slideCount<=o.options.slidesToShow?n(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?n(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&n(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},e.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,s,o,n,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),s=i.attr("data-lazy"),o=i.attr("data-srcset"),n=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){o&&(i.attr("srcset",o),n&&i.attr("sizes",n)),i.attr("src",s).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,s]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){a.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,s]),a.progressiveLazyLoad())},r.src=s):a.$slider.trigger("allImagesLoaded",[a])},e.prototype.refresh=function(e){var i,s,o=this;s=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>s&&(o.currentSlide=s),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),i=o.currentSlide,o.destroy(!0),t.extend(o,o.initials,{currentSlide:i}),o.init(),e||o.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,s,o=this,n=o.options.responsive||null;if("array"===t.type(n)&&n.length){for(e in o.respondTo=o.options.respondTo||"window",n)if(s=o.breakpoints.length-1,n.hasOwnProperty(e)){for(i=n[e].breakpoint;s>=0;)o.breakpoints[s]&&o.breakpoints[s]===i&&o.breakpoints.splice(s,1),s--;o.breakpoints.push(i),o.breakpointSettings[i]=n[e].settings}o.breakpoints.sort(function(t,e){return o.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var s=this;if(t="boolean"==typeof t?!0===(e=t)?0:s.slideCount-1:!0===e?--t:t,s.slideCount<1||t<0||t>s.slideCount-1)return!1;s.unload(),!0===i?s.$slideTrack.children().remove():s.$slideTrack.children(this.options.slide).eq(t).remove(),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slidesCache=s.$slides,s.reinit()},e.prototype.setCSS=function(t){var e,i,s=this,o={};!0===s.options.rtl&&(t=-t),e="left"==s.positionProp?Math.ceil(t)+"px":"0px",i="top"==s.positionProp?Math.ceil(t)+"px":"0px",o[s.positionProp]=t,!1===s.transformsEnabled?s.$slideTrack.css(o):(o={},!1===s.cssTransitions?(o[s.animType]="translate("+e+", "+i+")",s.$slideTrack.css(o)):(o[s.animType]="translate3d("+e+", "+i+", 0px)",s.$slideTrack.css(o)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(s,o){e=i.slideWidth*s*-1,!0===i.options.rtl?t(o).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(o).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,i,s,o,n,r=this,a=!1;if("object"===t.type(arguments[0])?(s=arguments[0],a=arguments[1],n="multiple"):"string"===t.type(arguments[0])&&(s=arguments[0],o=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[s]=o;else if("multiple"===n)t.each(s,function(t,e){r.options[t]=e});else if("responsive"===n)for(i in o)if("array"!==t.type(r.options.responsive))r.options.responsive=[o[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===o[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(o[i])}a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,s,o,n=this;if(i=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(t).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(t>=e&&t<=n.slideCount-1-e?n.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(s=n.options.slidesToShow+t,i.slice(s-e+1+r,s+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-n.options.slidesToShow).addClass("slick-center"):t===n.slideCount-1&&i.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=n.slideCount-n.options.slidesToShow?n.$slides.slice(t,t+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=n.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(o=n.slideCount%n.options.slidesToShow,s=!0===n.options.infinite?n.options.slidesToShow+t:t,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-t<n.options.slidesToShow?i.slice(s-(n.options.slidesToShow-o),s+o).addClass("slick-active").attr("aria-hidden","false"):i.slice(s,s+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,s,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(i=null,o.slideCount>o.options.slidesToShow)){for(s=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,e=o.slideCount;e>o.slideCount-s;e-=1)i=e-1,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(e=0;e<s+o.slideCount;++e)i=e,t(o.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},e.prototype.selectHandler=function(e){var i=this,s=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),o=parseInt(s.attr("data-slick-index"));o||(o=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(o,!1,!0):i.slideHandler(o)},e.prototype.slideHandler=function(t,e,i){var s,o,n,r,a,l,d=this;if(e=e||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===t))if(!1===e&&d.asNavFor(t),s=t,a=d.getLeft(s),r=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?r:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(t<0||t>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(s=d.currentSlide,!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,function(){d.postSlide(s)}):d.postSlide(s));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(t<0||t>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(s=d.currentSlide,!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,function(){d.postSlide(s)}):d.postSlide(s));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),o=s<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+s:s>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:s-d.slideCount:s,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,o]),n=d.currentSlide,d.currentSlide=o,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(l=(l=d.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==i?(d.fadeSlideOut(n),d.fadeSlide(o,function(){d.postSlide(o)})):d.postSlide(o),void d.animateHeight();!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(a,function(){d.postSlide(o)}):d.postSlide(o)}},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,s,o=this;return t=o.touchObject.startX-o.touchObject.curX,e=o.touchObject.startY-o.touchObject.curY,i=Math.atan2(e,t),(s=Math.round(180*i/Math.PI))<0&&(s=360-Math.abs(s)),s<=45&&s>=0?!1===o.options.rtl?"left":"right":s<=360&&s>=315?!1===o.options.rtl?"left":"right":s>=135&&s<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?s>=35&&s<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(t){var e,i,s=this;if(s.dragging=!1,s.swiping=!1,s.scrolling)return s.scrolling=!1,!1;if(s.interrupted=!1,s.shouldClick=!(s.touchObject.swipeLength>10),void 0===s.touchObject.curX)return!1;if(!0===s.touchObject.edgeHit&&s.$slider.trigger("edge",[s,s.swipeDirection()]),s.touchObject.swipeLength>=s.touchObject.minSwipe){switch(i=s.swipeDirection()){case"left":case"down":e=s.options.swipeToSlide?s.checkNavigable(s.currentSlide+s.getSlideCount()):s.currentSlide+s.getSlideCount(),s.currentDirection=0;break;case"right":case"up":e=s.options.swipeToSlide?s.checkNavigable(s.currentSlide-s.getSlideCount()):s.currentSlide-s.getSlideCount(),s.currentDirection=1}"vertical"!=i&&(s.slideHandler(e),s.touchObject={},s.$slider.trigger("swipe",[s,i]))}else s.touchObject.startX!==s.touchObject.curX&&(s.slideHandler(s.currentSlide),s.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,i,s,o,n,r,a=this;return n=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||n&&1!==n.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==n?n[0].pageX:t.clientX,a.touchObject.curY=void 0!==n?n[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),o=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(o=a.touchObject.curY>a.touchObject.startY?1:-1),s=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(s=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+s*o:a.swipeLeft=e+s*(a.$list.height()/a.listWidth)*o,!0===a.options.verticalSwiping&&(a.swipeLeft=e+s*o),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},e.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,i,s=this,o=arguments[0],n=Array.prototype.slice.call(arguments,1),r=s.length;for(t=0;t<r;t++)if("object"==typeof o||void 0===o?s[t].slick=new e(s[t],o):i=s[t].slick[o].apply(s[t].slick,n),void 0!==i)return i;return s}}),function(){"use strict";function t(s){if(!s)throw new Error("No options passed to Waypoint constructor");if(!s.element)throw new Error("No element option passed to Waypoint constructor");if(!s.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,s),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=s.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var s in i)e.push(i[s]);for(var o=0,n=e.length;n>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,s[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,s={},o=window.Waypoint,n=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete s[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var s=e[i],o=s.newScroll>s.oldScroll?s.forward:s.backward;for(var n in this.waypoints[i]){var r=this.waypoints[i][n],a=s.oldScroll<r.triggerPoint,l=s.newScroll>=r.triggerPoint;(a&&l||!a&&!l)&&(r.queueTrigger(o),t[r.group.id]=r.group)}}for(var d in t)t[d].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var s=0,o=t.length;o>s;s++)t[s].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),s={};for(var n in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[n];for(var a in this.waypoints[n]){var l,d,c,h,u=this.waypoints[n][a],p=u.options.offset,f=u.triggerPoint,m=0,g=null==f;u.element!==u.element.window&&(m=u.adapter.offset()[r.offsetProp]),"function"==typeof p?p=p.apply(u):"string"==typeof p&&(p=parseFloat(p),u.options.offset.indexOf("%")>-1&&(p=Math.ceil(r.contextDimension*p/100))),l=r.contextScroll-r.contextOffset,u.triggerPoint=m+l-p,d=f<r.oldScroll,c=u.triggerPoint>=r.oldScroll,h=!d&&!c,!g&&(d&&c)?(u.queueTrigger(r.backward),s[u.group.id]=u.group):!g&&h?(u.queueTrigger(r.forward),s[u.group.id]=u.group):g&&r.oldScroll>=u.triggerPoint&&(u.queueTrigger(r.forward),s[u.group.id]=u.group)}}return o.requestAnimationFrame(function(){for(var t in s)s[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in s)s[t].refresh()},e.findByElement=function(t){return s[t.waypointContextKey]},window.onload=function(){n&&n(),e.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),s[this.axis][this.name]=this}var s={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var s=this.triggerQueues[i],o="up"===i||"left"===i;s.sort(o?e:t);for(var n=0,r=s.length;r>n;++n){var a=s[n];(a.options.continuous||n===s.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return s[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,s){t[s]=e[s]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],s=arguments[0];return t.isFunction(arguments[0])&&((s=t.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var o=t.extend({},s,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),i.push(new e(o))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),function(){"use strict";function t(s){this.options=e.extend({},i.defaults,t.defaults,s),this.element=this.options.element,this.$element=e(this.element),this.createWrapper(),this.createWaypoint()}var e=window.jQuery,i=window.Waypoint;t.prototype.createWaypoint=function(){var t=this.options.handler;this.waypoint=new i(e.extend({},this.options,{element:this.wrapper,handler:e.proxy(function(e){var i=this.options.direction.indexOf(e)>-1;i&&this.$element.outerHeight(!0);this.$element.toggleClass(this.options.stuckClass,i),t&&t.call(this,e)},this)}))},t.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},t.defaults={wrapper:"",stuckClass:"stuck",direction:"down right"},i.Sticky=t}();var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},windowIsDefined="object"===("undefined"==typeof window?"undefined":_typeof(window));if(function(t){if("function"==typeof define&&define.amd)define(["jquery"],t);else if("object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports){var e;try{e=require("jquery")}catch(t){e=null}module.exports=t(e)}else window&&(window.Slider=t(window.jQuery))}(function(t){var e;return windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){}),function(t){"use strict";var e=Array.prototype.slice;function i(){}!function(t){if(t){var s="undefined"==typeof console?i:function(t){console.error(t)};t.bridget=function(i,o){!function(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}(o),function(i,o){t.fn[i]=function(n){if("string"==typeof n){for(var r=e.call(arguments,1),a=0,l=this.length;a<l;a++){var d=this[a],c=t.data(d,i);if(c)if(t.isFunction(c[n])&&"_"!==n.charAt(0)){var h=c[n].apply(c,r);if(void 0!==h&&h!==c)return h}else s("no such method '"+n+"' for "+i+" instance");else s("cannot call methods on "+i+" prior to initialization; attempted to call '"+n+"'")}return this}var u=this.map(function(){var e=t.data(this,i);return e?(e.option(n),e._init()):(e=new o(this,n),t.data(this,i,e)),t(this)});return 1===u.length?u[0]:u}}(i,o)},t.bridget}}(t)}(t),function(t){var i=void 0,s=function(t){return"Invalid input value '"+t+"' passed in"},o={linear:{getValue:function(t,e){return t<e.min?e.min:t>e.max?e.max:t},toValue:function(t){var e=t/100*(this.options.max-this.options.min),i=!0;if(this.options.ticks_positions.length>0){for(var s,n,r,a=0,l=1;l<this.options.ticks_positions.length;l++)if(t<=this.options.ticks_positions[l]){s=this.options.ticks[l-1],r=this.options.ticks_positions[l-1],n=this.options.ticks[l],a=this.options.ticks_positions[l];break}e=s+(t-r)/(a-r)*(n-s),i=!1}var d=(i?this.options.min:0)+Math.round(e/this.options.step)*this.options.step;return o.linear.getValue(d,this.options)},toPercentage:function(t){if(this.options.max===this.options.min)return 0;if(this.options.ticks_positions.length>0){for(var e,i,s,o=0,n=0;n<this.options.ticks.length;n++)if(t<=this.options.ticks[n]){e=n>0?this.options.ticks[n-1]:0,s=n>0?this.options.ticks_positions[n-1]:0,i=this.options.ticks[n],o=this.options.ticks_positions[n];break}if(n>0)return s+(t-e)/(i-e)*(o-s)}return 100*(t-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(t){var e=1-this.options.min,i=Math.log(this.options.min+e),s=Math.log(this.options.max+e),n=Math.exp(i+(s-i)*t/100)-e;return Math.round(n)===s?s:(n=this.options.min+Math.round((n-this.options.min)/this.options.step)*this.options.step,o.linear.getValue(n,this.options))},toPercentage:function(t){if(this.options.max===this.options.min)return 0;var e=1-this.options.min,i=Math.log(this.options.max+e),s=Math.log(this.options.min+e);return 100*(Math.log(t+e)-s)/(i-s)}}};function n(e,i){this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},"string"==typeof e?this.element=document.querySelector(e):e instanceof HTMLElement&&(this.element=e),i=i||{};for(var s=Object.keys(this.defaultOptions),n=i.hasOwnProperty("min"),r=i.hasOwnProperty("max"),a=0;a<s.length;a++){var l=s[a],d=i[l];d=null!==(d=void 0!==d?d:h(this.element,l))?d:this.defaultOptions[l],this.options||(this.options={}),this.options[l]=d}if(this.ticksAreValid=Array.isArray(this.options.ticks)&&this.options.ticks.length>0,this.ticksAreValid||(this.options.lock_to_ticks=!1),"auto"===this.options.rtl){var c=window.getComputedStyle(this.element);this.options.rtl=null!=c?"rtl"===c.direction:"rtl"===this.element.style.direction}function h(t,e){var i="data-slider-"+e.replace(/_/g,"-"),s=t.getAttribute(i);try{return JSON.parse(s)}catch(t){return s}}"vertical"!==this.options.orientation||"top"!==this.options.tooltip_position&&"bottom"!==this.options.tooltip_position?"horizontal"!==this.options.orientation||"left"!==this.options.tooltip_position&&"right"!==this.options.tooltip_position||(this.options.tooltip_position="top"):this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right";var u,p,f,m,g,v=this.element.style.width,b=!1,w=this.element.parentNode;if(this.sliderElem)b=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var y=document.createElement("div");y.className="slider-track",(p=document.createElement("div")).className="slider-track-low",(u=document.createElement("div")).className="slider-selection",(f=document.createElement("div")).className="slider-track-high",(m=document.createElement("div")).className="slider-handle min-slider-handle",m.setAttribute("role","slider"),m.setAttribute("aria-valuemin",this.options.min),m.setAttribute("aria-valuemax",this.options.max),(g=document.createElement("div")).className="slider-handle max-slider-handle",g.setAttribute("role","slider"),g.setAttribute("aria-valuemin",this.options.min),g.setAttribute("aria-valuemax",this.options.max),y.appendChild(p),y.appendChild(u),y.appendChild(f),this.rangeHighlightElements=[];var S=this.options.rangeHighlights;if(Array.isArray(S)&&S.length>0)for(var k=0;k<S.length;k++){var x=document.createElement("div"),A=S[k].class||"";x.className="slider-rangeHighlight slider-selection "+A,this.rangeHighlightElements.push(x),y.appendChild(x)}var T=Array.isArray(this.options.labelledby);if(T&&this.options.labelledby[0]&&m.setAttribute("aria-labelledby",this.options.labelledby[0]),T&&this.options.labelledby[1]&&g.setAttribute("aria-labelledby",this.options.labelledby[1]),!T&&this.options.labelledby&&(m.setAttribute("aria-labelledby",this.options.labelledby),g.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",a=0;a<this.options.ticks.length;a++){var C=document.createElement("div");if(C.className="slider-tick",this.options.ticks_tooltip){var _=this._addTickListener(),I=_.addMouseEnter(this,C,a),E=_.addMouseLeave(this,C);this.ticksCallbackMap[a]={mouseEnter:I,mouseLeave:E}}this.ticks.push(C),this.ticksContainer.appendChild(C)}u.className+=" tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",a=0;a<this.options.ticks_labels.length;a++){var z=document.createElement("div"),$=0===this.options.ticks_positions.length,L=this.options.reversed&&$?this.options.ticks_labels.length-(a+1):a;z.className="slider-tick-label",z.innerHTML=this.options.ticks_labels[L],this.tickLabels.push(z),this.tickLabelContainer.appendChild(z)}var P=function(t){var e=document.createElement("div");e.className="tooltip-arrow";var i=document.createElement("div");i.className="tooltip-inner",t.appendChild(e),t.appendChild(i)},F=document.createElement("div");F.className="tooltip tooltip-main",F.setAttribute("role","presentation"),P(F);var O=document.createElement("div");O.className="tooltip tooltip-min",O.setAttribute("role","presentation"),P(O);var H=document.createElement("div");H.className="tooltip tooltip-max",H.setAttribute("role","presentation"),P(H),this.sliderElem.appendChild(y),this.sliderElem.appendChild(F),this.sliderElem.appendChild(O),this.sliderElem.appendChild(H),this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer),this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer),this.sliderElem.appendChild(m),this.sliderElem.appendChild(g),w.insertBefore(this.sliderElem,this.element),this.element.style.display="none"}if(t&&(this.$element=t(this.element),this.$sliderElem=t(this.sliderElem)),this.eventToCallbackMap={},this.sliderElem.id=this.options.id,this.touchCapable="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,this.touchX=0,this.touchY=0,this.tooltip=this.sliderElem.querySelector(".tooltip-main"),this.tooltipInner=this.tooltip.querySelector(".tooltip-inner"),this.tooltip_min=this.sliderElem.querySelector(".tooltip-min"),this.tooltipInner_min=this.tooltip_min.querySelector(".tooltip-inner"),this.tooltip_max=this.sliderElem.querySelector(".tooltip-max"),this.tooltipInner_max=this.tooltip_max.querySelector(".tooltip-inner"),o[this.options.scale]&&(this.options.scale=o[this.options.scale]),!0===b&&(this._removeClass(this.sliderElem,"slider-horizontal"),this._removeClass(this.sliderElem,"slider-vertical"),this._removeClass(this.sliderElem,"slider-rtl"),this._removeClass(this.tooltip,"hide"),this._removeClass(this.tooltip_min,"hide"),this._removeClass(this.tooltip_max,"hide"),["left","right","top","width","height"].forEach(function(t){this._removeProperty(this.trackLow,t),this._removeProperty(this.trackSelection,t),this._removeProperty(this.trackHigh,t)},this),[this.handle1,this.handle2].forEach(function(t){this._removeProperty(t,"left"),this._removeProperty(t,"right"),this._removeProperty(t,"top")},this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(t){this._removeProperty(t,"left"),this._removeProperty(t,"right"),this._removeProperty(t,"top"),this._removeClass(t,"right"),this._removeClass(t,"left"),this._removeClass(t,"top")},this)),"vertical"===this.options.orientation?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=v,this.options.orientation="horizontal",this.options.rtl?this.stylePos="right":this.stylePos="left",this.mousePos="clientX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(r||(this.options.max=Math.max.apply(Math,this.options.ticks)),n||(this.options.min=Math.min.apply(Math,this.options.ticks))),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this.options.range?this._state.value=[this.options.value,this.options.max]:this._state.value=this.options.value,this.trackLow=p||this.trackLow,this.trackSelection=u||this.trackSelection,this.trackHigh=f||this.trackHigh,"none"===this.options.selection?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):"after"!==this.options.selection&&"before"!==this.options.selection||(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=m||this.handle1,this.handle2=g||this.handle2,!0===b)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),a=0;a<this.ticks.length;a++)this._removeClass(this.ticks[a],"round triangle hide");if(-1!==["round","triangle","custom"].indexOf(this.options.handle))for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),a=0;a<this.ticks.length;a++)this._addClass(this.ticks[a],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.touchstart,!1),this.sliderElem.addEventListener("touchmove",this.touchmove,!1)),this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),"hide"===this.options.tooltip)this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else if("always"===this.options.tooltip)this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var V=this._addTickListener(),N=V.addMouseEnter(this,this.handle1),D=V.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:N,mouseLeave:D},N=V.addMouseEnter(this,this.handle2),D=V.addMouseLeave(this,this.handle2),this.handleCallbackMap.handle2={mouseEnter:N,mouseLeave:D}}else this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1),this.touchCapable&&(this.sliderElem.addEventListener("touchstart",this.showTooltip,!1),this.sliderElem.addEventListener("touchmove",this.showTooltip,!1),this.sliderElem.addEventListener("touchend",this.hideTooltip,!1));this.handle1.addEventListener("focus",this.showTooltip,!1),this.handle1.addEventListener("blur",this.hideTooltip,!1),this.handle2.addEventListener("focus",this.showTooltip,!1),this.handle2.addEventListener("blur",this.hideTooltip,!1),this.touchCapable&&(this.handle1.addEventListener("touchstart",this.showTooltip,!1),this.handle1.addEventListener("touchmove",this.showTooltip,!1),this.handle1.addEventListener("touchend",this.hideTooltip,!1),this.handle2.addEventListener("touchstart",this.showTooltip,!1),this.handle2.addEventListener("touchmove",this.showTooltip,!1),this.handle2.addEventListener("touchend",this.hideTooltip,!1))}this.options.enabled?this.enable():this.disable()}(e=function(t,e){return n.call(this,t,e),this}).prototype={_init:function(){},constructor:e,defaultOptions:{id:"",min:0,max:10,step:1,precision:0,orientation:"horizontal",value:5,range:!1,selection:"before",tooltip:"show",tooltip_split:!1,lock_to_ticks:!1,handle:"round",reversed:!1,rtl:"auto",enabled:!0,formatter:function(t){return Array.isArray(t)?t[0]+" : "+t[1]:t},natural_arrow_keys:!1,ticks:[],ticks_positions:[],ticks_labels:[],ticks_snap_bounds:0,ticks_tooltip:!1,scale:"linear",focus:!1,tooltip_position:null,labelledby:null,rangeHighlights:[]},getElement:function(){return this.sliderElem},getValue:function(){return this.options.range?this._state.value:this._state.value[0]},setValue:function(t,e,i){t||(t=0);var s=this.getValue();this._state.value=this._validateInputValue(t);var o=this._applyPrecision.bind(this);this.options.range?(this._state.value[0]=o(this._state.value[0]),this._state.value[1]=o(this._state.value[1]),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value[0]=this.options.ticks[this._getClosestTickIndex(this._state.value[0])],this._state.value[1]=this.options.ticks[this._getClosestTickIndex(this._state.value[1])]),this._state.value[0]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[0])),this._state.value[1]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[1]))):(this._state.value=o(this._state.value),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value=this.options.ticks[this._getClosestTickIndex(this._state.value)]),this._state.value=[Math.max(this.options.min,Math.min(this.options.max,this._state.value))],this._addClass(this.handle2,"hide"),"after"===this.options.selection?this._state.value[1]=this.options.max:this._state.value[1]=this.options.min),this._setTickIndex(),this.options.max>this.options.min?this._state.percentage=[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),100*this.options.step/(this.options.max-this.options.min)]:this._state.percentage=[0,0,100],this._layout();var n=this.options.range?this._state.value:this._state.value[0];this._setDataVal(n),!0===e&&this._trigger("slide",n);return(Array.isArray(n)?s[0]!==n[0]||s[1]!==n[1]:s!==n)&&!0===i&&this._trigger("change",{oldValue:s,newValue:n}),this},destroy:function(){this._removeSliderEventHandlers(),this.sliderElem.parentNode.removeChild(this.sliderElem),this.element.style.display="",this._cleanUpEventCallbacksMap(),this.element.removeAttribute("data"),t&&(this._unbindJQueryEventHandlers(),"slider"===i&&this.$element.removeData(i),this.$element.removeData("bootstrapSlider"))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(t,e){return this._bindNonQueryEventHandler(t,e),this},off:function(e,i){t?(this.$element.off(e,i),this.$sliderElem.off(e,i)):this._unbindNonQueryEventHandler(e,i)},getAttribute:function(t){return t?this.options[t]:this.options},setAttribute:function(t,e){return this.options[t]=e,this},refresh:function(e){var s=this.getValue();return this._removeSliderEventHandlers(),n.call(this,this.element,this.options),e&&!0===e.useCurrentValue&&this.setValue(s),t&&("slider"===i?(t.data(this.element,"slider",this),t.data(this.element,"bootstrapSlider",this)):t.data(this.element,"bootstrapSlider",this)),this},relayout:function(){return this._resize(),this},_removeTooltipListener:function(t,e){this.handle1.removeEventListener(t,e,!1),this.handle2.removeEventListener(t,e,!1)},_removeSliderEventHandlers:function(){if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(var t=this.ticksContainer.getElementsByClassName("slider-tick"),e=0;e<t.length;e++)t[e].removeEventListener("mouseenter",this.ticksCallbackMap[e].mouseEnter,!1),t[e].removeEventListener("mouseleave",this.ticksCallbackMap[e].mouseLeave,!1);this.handleCallbackMap.handle1&&this.handleCallbackMap.handle2&&(this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1))}this.handleCallbackMap=null,this.ticksCallbackMap=null,this.showTooltip&&this._removeTooltipListener("focus",this.showTooltip),this.hideTooltip&&this._removeTooltipListener("blur",this.hideTooltip),this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1),this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1),this.sliderElem.removeEventListener("mousedown",this.mousedown,!1),this.touchCapable&&(this.showTooltip&&(this.handle1.removeEventListener("touchstart",this.showTooltip,!1),this.handle1.removeEventListener("touchmove",this.showTooltip,!1),this.handle2.removeEventListener("touchstart",this.showTooltip,!1),this.handle2.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("touchend",this.hideTooltip,!1),this.handle2.removeEventListener("touchend",this.hideTooltip,!1)),this.showTooltip&&(this.sliderElem.removeEventListener("touchstart",this.showTooltip,!1),this.sliderElem.removeEventListener("touchmove",this.showTooltip,!1)),this.hideTooltip&&this.sliderElem.removeEventListener("touchend",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1)),window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(t,e){void 0===this.eventToCallbackMap[t]&&(this.eventToCallbackMap[t]=[]),this.eventToCallbackMap[t].push(e)},_unbindNonQueryEventHandler:function(t,e){var i=this.eventToCallbackMap[t];if(void 0!==i)for(var s=0;s<i.length;s++)if(i[s]===e){i.splice(s,1);break}},_cleanUpEventCallbacksMap:function(){for(var t=Object.keys(this.eventToCallbackMap),e=0;e<t.length;e++){var i=t[e];delete this.eventToCallbackMap[i]}},_showTooltip:function(){!1===this.options.tooltip_split?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none"),this._state.over=!0},_hideTooltip:function(){!1===this._state.inDrag&&!0!==this._alwaysShowTooltip&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in")),this._state.over=!1},_setToolTipOnMouseOver:function(t){var e=this,i=this.options.formatter(t?t.value[0]:this._state.value[0]),s=o(t||this._state,this.options.reversed);function o(t,i){return i?[100-t.percentage[0],e.options.range?100-t.percentage[1]:t.percentage[1]]:[t.percentage[0],t.percentage[1]]}this._setText(this.tooltipInner,i),this.tooltip.style[this.stylePos]=s[0]+"%"},_copyState:function(){return{value:[this._state.value[0],this._state.value[1]],enabled:this._state.enabled,offset:this._state.offset,size:this._state.size,percentage:[this._state.percentage[0],this._state.percentage[1],this._state.percentage[2]],inDrag:this._state.inDrag,over:this._state.over,dragged:this._state.dragged,keyCtrl:this._state.keyCtrl}},_addTickListener:function(){return{addMouseEnter:function(t,e,i){var s=function(){var s=t._copyState(),o=e===t.handle1?s.value[0]:s.value[1],n=void 0;void 0!==i?(o=t.options.ticks[i],n=t.options.ticks_positions.length>0&&t.options.ticks_positions[i]||t._toPercentage(t.options.ticks[i])):n=t._toPercentage(o),s.value[0]=o,s.percentage[0]=n,t._setToolTipOnMouseOver(s),t._showTooltip()};return e.addEventListener("mouseenter",s,!1),s},addMouseLeave:function(t,e){var i=function(){t._hideTooltip()};return e.addEventListener("mouseleave",i,!1),i}}},_layout:function(){var t,e,i;if(t=this.options.reversed?[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=t[0]+"%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),e=this.options.formatter(this._state.value[0]),isNaN(e)?this.handle1.setAttribute("aria-valuetext",e):this.handle1.removeAttribute("aria-valuetext"),this.handle2.style[this.stylePos]=t[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),e=this.options.formatter(this._state.value[1]),isNaN(e)?this.handle2.setAttribute("aria-valuetext",e):this.handle2.removeAttribute("aria-valuetext"),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var s=0;s<this.options.rangeHighlights.length;s++){var o=this._toPercentage(this.options.rangeHighlights[s].start),n=this._toPercentage(this.options.rangeHighlights[s].end);if(this.options.reversed){var r=100-n;n=100-o,o=r}var a=this._createHighlightRange(o,n);a?"vertical"===this.options.orientation?(this.rangeHighlightElements[s].style.top=a.start+"%",this.rangeHighlightElements[s].style.height=a.size+"%"):(this.options.rtl?this.rangeHighlightElements[s].style.right=a.start+"%":this.rangeHighlightElements[s].style.left=a.start+"%",this.rangeHighlightElements[s].style.width=a.size+"%"):this.rangeHighlightElements[s].style.display="none"}if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){var l,d="vertical"===this.options.orientation?"height":"width";l="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var c=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var h=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[l]=-c/2+"px"),h=this.tickLabelContainer.offsetHeight;else for(u=0;u<this.tickLabelContainer.childNodes.length;u++)this.tickLabelContainer.childNodes[u].offsetHeight>h&&(h=this.tickLabelContainer.childNodes[u].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=h+"px")}for(var u=0;u<this.options.ticks.length;u++){var p=this.options.ticks_positions[u]||this._toPercentage(this.options.ticks[u]);this.options.reversed&&(p=100-p),this.ticks[u].style[this.stylePos]=p+"%",this._removeClass(this.ticks[u],"in-selection"),this.options.range?p>=t[0]&&p<=t[1]&&this._addClass(this.ticks[u],"in-selection"):"after"===this.options.selection&&p>=t[0]?this._addClass(this.ticks[u],"in-selection"):"before"===this.options.selection&&p<=t[0]&&this._addClass(this.ticks[u],"in-selection"),this.tickLabels[u]&&(this.tickLabels[u].style[d]=c+"px","vertical"!==this.options.orientation&&void 0!==this.options.ticks_positions[u]?(this.tickLabels[u].style.position="absolute",this.tickLabels[u].style[this.stylePos]=p+"%",this.tickLabels[u].style[l]=-c/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[u].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[u].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[l]=this.sliderElem.offsetWidth/2*-1+"px"),this._removeClass(this.tickLabels[u],"label-in-selection label-is-selection"),this.options.range?p>=t[0]&&p<=t[1]&&(this._addClass(this.tickLabels[u],"label-in-selection"),(p===t[0]||t[1])&&this._addClass(this.tickLabels[u],"label-is-selection")):("after"===this.options.selection&&p>=t[0]?this._addClass(this.tickLabels[u],"label-in-selection"):"before"===this.options.selection&&p<=t[0]&&this._addClass(this.tickLabels[u],"label-in-selection"),p===t[0]&&this._addClass(this.tickLabels[u],"label-is-selection")))}}if(this.options.range){i=this.options.formatter(this._state.value),this._setText(this.tooltipInner,i),this.tooltip.style[this.stylePos]=(t[1]+t[0])/2+"%";var f=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,f);var m=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,m),this.tooltip_min.style[this.stylePos]=t[0]+"%",this.tooltip_max.style[this.stylePos]=t[1]+"%"}else i=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,i),this.tooltip.style[this.stylePos]=t[0]+"%";if("vertical"===this.options.orientation)this.trackLow.style.top="0",this.trackLow.style.height=Math.min(t[0],t[1])+"%",this.trackSelection.style.top=Math.min(t[0],t[1])+"%",this.trackSelection.style.height=Math.abs(t[0]-t[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(t[0],t[1])-Math.abs(t[0]-t[1])+"%";else{"right"===this.stylePos?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(t[0],t[1])+"%","right"===this.stylePos?this.trackSelection.style.right=Math.min(t[0],t[1])+"%":this.trackSelection.style.left=Math.min(t[0],t[1])+"%",this.trackSelection.style.width=Math.abs(t[0]-t[1])+"%","right"===this.stylePos?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(t[0],t[1])-Math.abs(t[0]-t[1])+"%";var g=this.tooltip_min.getBoundingClientRect(),v=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?g.right>v.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):g.right>v.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top=this.tooltip_min.style.top)}},_createHighlightRange:function(t,e){return this._isHighlightRange(t,e)?t>e?{start:e,size:t-e}:{start:t,size:e-t}:null},_isHighlightRange:function(t,e){return 0<=t&&t<=100&&0<=e&&e<=100},_resize:function(t){this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this._layout()},_removeProperty:function(t,e){t.style.removeProperty?t.style.removeProperty(e):t.style.removeAttribute(e)},_mousedown:function(t){if(!this._state.enabled)return!1;t.preventDefault&&t.preventDefault(),this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos];var e=this._getPercentage(t);if(this.options.range){var i=Math.abs(this._state.percentage[0]-e),s=Math.abs(this._state.percentage[1]-e);this._state.dragged=i<s?0:1,this._adjustPercentageForRangeSliders(e)}else this._state.dragged=0;this._state.percentage[this._state.dragged]=e,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),this.mousemove&&document.removeEventListener("mousemove",this.mousemove,!1),this.mouseup&&document.removeEventListener("mouseup",this.mouseup,!1),this.mousemove=this._mousemove.bind(this),this.mouseup=this._mouseup.bind(this),this.touchCapable&&(document.addEventListener("touchmove",this.mousemove,!1),document.addEventListener("touchend",this.mouseup,!1)),document.addEventListener("mousemove",this.mousemove,!1),document.addEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!0;var o=this._calculateValue();return this._trigger("slideStart",o),this.setValue(o,!1,!0),t.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(t){this._mousedown(t)},_triggerFocusOnHandle:function(t){0===t&&this.handle1.focus(),1===t&&this.handle2.focus()},_keydown:function(t,e){if(!this._state.enabled)return!1;var i;switch(e.keyCode){case 37:case 40:i=-1;break;case 39:case 38:i=1}if(i){if(this.options.natural_arrow_keys){var s="horizontal"===this.options.orientation,o="vertical"===this.options.orientation,n=this.options.rtl,r=this.options.reversed;s?n?r||(i=-i):r&&(i=-i):o&&(r||(i=-i))}var a;if(this.ticksAreValid&&this.options.lock_to_ticks){var l=void 0;-1===(l=this.options.ticks.indexOf(this._state.value[t]))&&(l=0,window.console.warn("(lock_to_ticks) _keydown: index should not be -1")),l+=i,l=Math.max(0,Math.min(this.options.ticks.length-1,l)),a=this.options.ticks[l]}else a=this._state.value[t]+i*this.options.step;var d=this._toPercentage(a);if(this._state.keyCtrl=t,this.options.range){this._adjustPercentageForRangeSliders(d);var c=this._state.keyCtrl?this._state.value[0]:a,h=this._state.keyCtrl?a:this._state.value[1];a=[Math.max(this.options.min,Math.min(this.options.max,c)),Math.max(this.options.min,Math.min(this.options.max,h))]}else a=Math.max(this.options.min,Math.min(this.options.max,a));return this._trigger("slideStart",a),this.setValue(a,!0,!0),this._trigger("slideStop",a),this._pauseEvent(e),delete this._state.keyCtrl,!1}},_pauseEvent:function(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.cancelBubble=!0,t.returnValue=!1},_mousemove:function(t){if(!this._state.enabled)return!1;var e=this._getPercentage(t);this._adjustPercentageForRangeSliders(e),this._state.percentage[this._state.dragged]=e;var i=this._calculateValue(!0);return this.setValue(i,!0,!0),!1},_touchmove:function(t){void 0!==t.changedTouches&&t.preventDefault&&t.preventDefault()},_adjustPercentageForRangeSliders:function(t){if(this.options.range){var e=this._getNumDigitsAfterDecimalPlace(t);e=e?e-1:0;var i=this._applyToFixedAndParseFloat(t,e);0===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[1],e)<i?(this._state.percentage[0]=this._state.percentage[1],this._state.dragged=1):1===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[0],e)>i?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):0===this._state.keyCtrl&&this._toPercentage(this._state.value[1])<t?(this._state.percentage[0]=this._state.percentage[1],this._state.keyCtrl=1,this.handle2.focus()):1===this._state.keyCtrl&&this._toPercentage(this._state.value[0])>t&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(t){if(!this._state.enabled)return!1;var e=this._getPercentage(t);this._adjustPercentageForRangeSliders(e),this._state.percentage[this._state.dragged]=e,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,!1===this._state.over&&this._hideTooltip();var i=this._calculateValue(!0);return this.setValue(i,!1,!0),this._trigger("slideStop",i),this._state.dragged=null,!1},_setValues:function(t,e){var i=0===t?0:100;this._state.percentage[t]!==i&&(e.data[t]=this._toValue(this._state.percentage[t]),e.data[t]=this._applyPrecision(e.data[t]))},_calculateValue:function(t){var e={};return this.options.range?(e.data=[this.options.min,this.options.max],this._setValues(0,e),this._setValues(1,e),t&&(e.data[0]=this._snapToClosestTick(e.data[0]),e.data[1]=this._snapToClosestTick(e.data[1]))):(e.data=this._toValue(this._state.percentage[0]),e.data=parseFloat(e.data),e.data=this._applyPrecision(e.data),t&&(e.data=this._snapToClosestTick(e.data))),e.data},_snapToClosestTick:function(t){for(var e=[t,1/0],i=0;i<this.options.ticks.length;i++){var s=Math.abs(this.options.ticks[i]-t);s<=e[1]&&(e=[this.options.ticks[i],s])}return e[1]<=this.options.ticks_snap_bounds?e[0]:t},_applyPrecision:function(t){var e=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return this._applyToFixedAndParseFloat(t,e)},_getNumDigitsAfterDecimalPlace:function(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0},_applyToFixedAndParseFloat:function(t,e){var i=t.toFixed(e);return parseFloat(i)},_getPercentage:function(t){!this.touchCapable||"touchstart"!==t.type&&"touchmove"!==t.type&&"touchend"!==t.type||(t=t.changedTouches[0]);var e=t[this.mousePos]-this._state.offset[this.stylePos];"right"===this.stylePos&&(e=-e);var i=e/this._state.size*100;return i=Math.round(i/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(i=100-i),Math.max(0,Math.min(100,i))},_validateInputValue:function(t){if(isNaN(+t)){if(Array.isArray(t))return this._validateArray(t),t;throw new Error(s(t))}return+t},_validateArray:function(t){for(var e=0;e<t.length;e++){var i=t[e];if("number"!=typeof i)throw new Error(s(i))}},_setDataVal:function(t){this.element.setAttribute("data-value",t),this.element.setAttribute("value",t),this.element.value=t},_trigger:function(e,i){i=i||0===i?i:void 0;var s=this.eventToCallbackMap[e];if(s&&s.length)for(var o=0;o<s.length;o++){(0,s[o])(i)}t&&this._triggerJQueryEvent(e,i)},_triggerJQueryEvent:function(t,e){var i={type:t,value:e};this.$element.trigger(i),this.$sliderElem.trigger(i)},_unbindJQueryEventHandlers:function(){this.$element.off(),this.$sliderElem.off()},_setText:function(t,e){void 0!==t.textContent?t.textContent=e:void 0!==t.innerText&&(t.innerText=e)},_removeClass:function(t,e){for(var i=e.split(" "),s=t.className,o=0;o<i.length;o++){var n=i[o],r=new RegExp("(?:\\s|^)"+n+"(?:\\s|$)");s=s.replace(r," ")}t.className=s.trim()},_addClass:function(t,e){for(var i=e.split(" "),s=t.className,o=0;o<i.length;o++){var n=i[o];new RegExp("(?:\\s|^)"+n+"(?:\\s|$)").test(s)||(s+=" "+n)}t.className=s.trim()},_offsetLeft:function(t){return t.getBoundingClientRect().left},_offsetRight:function(t){return t.getBoundingClientRect().right},_offsetTop:function(t){for(var e=t.offsetTop;(t=t.offsetParent)&&!isNaN(t.offsetTop);)e+=t.offsetTop,"BODY"!==t.tagName&&(e-=t.scrollTop);return e},_offset:function(t){return{left:this._offsetLeft(t),right:this._offsetRight(t),top:this._offsetTop(t)}},_css:function(e,i,s){if(t)t.style(e,i,s);else{var o=i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()});e.style[o]=s}},_toValue:function(t){return this.options.scale.toValue.apply(this,[t])},_toPercentage:function(t){return this.options.scale.toPercentage.apply(this,[t])},_setTooltipPosition:function(){var t=[this.tooltip,this.tooltip_min,this.tooltip_max];if("vertical"===this.options.orientation){var e,i="left"===(e=this.options.tooltip_position?this.options.tooltip_position:this.options.rtl?"left":"right")?"right":"left";t.forEach(function(t){this._addClass(t,e),t.style[i]="100%"}.bind(this))}else"bottom"===this.options.tooltip_position?t.forEach(function(t){this._addClass(t,"bottom"),t.style.top="22px"}.bind(this)):t.forEach(function(t){this._addClass(t,"top"),t.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))},_getClosestTickIndex:function(t){for(var e=Math.abs(t-this.options.ticks[0]),i=0,s=0;s<this.options.ticks.length;++s){var o=Math.abs(t-this.options.ticks[s]);o<e&&(e=o,i=s)}return i},_setTickIndex:function(){this.ticksAreValid&&(this._state.tickIndex=[this.options.ticks.indexOf(this._state.value[0]),this.options.ticks.indexOf(this._state.value[1])])}},t&&t.fn&&(t.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead."),i="bootstrapSlider"):(t.bridget("slider",e),i="slider"),t.bridget("bootstrapSlider",e),t(function(){t("input[data-provide=slider]")[i]()}))}(t),e}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){function e(s){if(i[s])return i[s].exports;var o=i[s]={exports:{},id:s,loaded:!1};return t[s].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";function s(){var t=u();return t.compile=function(e,i){return l.compile(e,i,t)},t.precompile=function(e,i){return l.precompile(e,i,t)},t.AST=r.default,t.Compiler=l.Compiler,t.JavaScriptCompiler=d.default,t.Parser=a.parser,t.parse=a.parse,t.parseWithoutProcessing=a.parseWithoutProcessing,t}var o=i(1).default;e.__esModule=!0;var n=o(i(2)),r=o(i(84)),a=i(85),l=i(90),d=o(i(91)),c=o(i(88)),h=o(i(83)),u=n.default.create,p=s();p.create=s,h.default(p),p.Visitor=c.default,p.default=p,e.default=p,t.exports=e.default},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,i){"use strict";function s(){var t=new r.HandlebarsEnvironment;return d.extend(t,r),t.SafeString=a.default,t.Exception=l.default,t.Utils=d,t.escapeExpression=d.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}var o=i(3).default,n=i(1).default;e.__esModule=!0;var r=o(i(4)),a=n(i(77)),l=n(i(6)),d=o(i(5)),c=o(i(78)),h=n(i(83)),u=s();u.create=s,h.default(u),u.default=u,e.default=u,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e},e.__esModule=!0},function(t,e,i){"use strict";function s(t,e,i){this.helpers=t||{},this.partials=e||{},this.decorators=i||{},a.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}var o=i(1).default;e.__esModule=!0,e.HandlebarsEnvironment=s;var n=i(5),r=o(i(6)),a=i(10),l=i(70),d=o(i(72)),c=i(73);e.VERSION="4.7.8";e.COMPILER_REVISION=8;e.LAST_COMPATIBLE_COMPILER_REVISION=7;e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var h="[object Object]";s.prototype={constructor:s,logger:d.default,log:d.default.log,registerHelper:function(t,e){if(n.toString.call(t)===h){if(e)throw new r.default("Arg not supported with multiple helpers");n.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(n.toString.call(t)===h)n.extend(this.partials,t);else{if(void 0===e)throw new r.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(n.toString.call(t)===h){if(e)throw new r.default("Arg not supported with multiple decorators");n.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var u=d.default.log;e.log=u,e.createFrame=n.createFrame,e.logger=d.default},function(t,e){"use strict";function i(t){return o[t]}function s(t){for(var e=1;e<arguments.length;e++)for(var i in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],i)&&(t[i]=arguments[e][i]);return t}e.__esModule=!0,e.extend=s,e.indexOf=function(t,e){for(var i=0,s=t.length;i<s;i++)if(t[i]===e)return i;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return r.test(t)?t.replace(n,i):t},e.isEmpty=function(t){return!t&&0!==t||!(!d(t)||0!==t.length)},e.createFrame=function(t){var e=s({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=/[&<>"'`=]/g,r=/[&<>"'`=]/,a=Object.prototype.toString;e.toString=a;var l=function(t){return"function"==typeof t};l(/x/)&&(e.isFunction=l=function(t){return"function"==typeof t&&"[object Function]"===a.call(t)}),e.isFunction=l;var d=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===a.call(t)};e.isArray=d},function(t,e,i){"use strict";function s(t,e){var i=e&&e.loc,r=void 0,a=void 0,l=void 0,d=void 0;i&&(r=i.start.line,a=i.end.line,l=i.start.column,d=i.end.column,t+=" - "+r+":"+l);for(var c=Error.prototype.constructor.call(this,t),h=0;h<n.length;h++)this[n[h]]=c[n[h]];Error.captureStackTrace&&Error.captureStackTrace(this,s);try{i&&(this.lineNumber=r,this.endLineNumber=a,o?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:d,enumerable:!0})):(this.column=l,this.endColumn=d))}catch(t){}}var o=i(7).default;e.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];s.prototype=new Error,e.default=s,t.exports=e.default},function(t,e,i){t.exports={default:i(8),__esModule:!0}},function(t,e,i){var s=i(9);t.exports=function(t,e,i){return s.setDesc(t,e,i)}},function(t,e){var i=Object;t.exports={create:i.create,getProto:i.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:i.getOwnPropertyDescriptor,setDesc:i.defineProperty,setDescs:i.defineProperties,getKeys:i.keys,getNames:i.getOwnPropertyNames,getSymbols:i.getOwnPropertySymbols,each:[].forEach}},function(t,e,i){"use strict";var s=i(1).default;e.__esModule=!0,e.registerDefaultHelpers=function(t){o.default(t),n.default(t),r.default(t),a.default(t),l.default(t),d.default(t),c.default(t)},e.moveHelperToHooks=function(t,e,i){t.helpers[e]&&(t.hooks[e]=t.helpers[e],i||delete t.helpers[e])};var o=s(i(11)),n=s(i(12)),r=s(i(65)),a=s(i(66)),l=s(i(67)),d=s(i(68)),c=s(i(69))},function(t,e,i){"use strict";e.__esModule=!0;var s=i(5);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,i){var o=i.inverse,n=i.fn;if(!0===e)return n(this);if(!1===e||null==e)return o(this);if(s.isArray(e))return e.length>0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):o(this);if(i.data&&i.ids){var r=s.createFrame(i.data);r.contextPath=s.appendContextPath(i.data.contextPath,i.name),i={data:r}}return n(e,i)})},t.exports=e.default},function(t,e,i){"use strict";var s=i(13).default,o=i(43).default,n=i(55).default,r=i(60).default,a=i(1).default;e.__esModule=!0;var l=i(5),d=a(i(6));e.default=function(t){t.registerHelper("each",function(t,e){function i(e,i,s){p&&(p.key=e,p.index=i,p.first=0===i,p.last=!!s,f&&(p.contextPath=f+e)),u+=a(t[e],{data:p,blockParams:l.blockParams([t[e],e],[f+e,null])})}if(!e)throw new d.default("Must pass iterator to #each");var a=e.fn,c=e.inverse,h=0,u="",p=void 0,f=void 0;if(e.data&&e.ids&&(f=l.appendContextPath(e.data.contextPath,e.ids[0])+"."),l.isFunction(t)&&(t=t.call(this)),e.data&&(p=l.createFrame(e.data)),t&&"object"==typeof t)if(l.isArray(t))for(var m=t.length;h<m;h++)h in t&&i(h,h,h===t.length-1);else if("function"==typeof s&&t[o]){for(var g=[],v=n(t),b=v.next();!b.done;b=v.next())g.push(b.value);for(m=(t=g).length;h<m;h++)i(h,h,h===t.length-1)}else!function(){var e=void 0;r(t).forEach(function(t){void 0!==e&&i(e,h-1),e=t,h++}),void 0!==e&&i(e,h-1,!0)}();return 0===h&&(u=c(this)),u})},t.exports=e.default},function(t,e,i){t.exports={default:i(14),__esModule:!0}},function(t,e,i){i(15),i(42),t.exports=i(21).Symbol},function(t,e,i){"use strict";var s=i(9),o=i(16),n=i(17),r=i(18),a=i(20),l=i(24),d=i(19),c=i(27),h=i(28),u=i(30),p=i(29),f=i(31),m=i(36),g=i(37),v=i(38),b=i(39),w=i(32),y=i(26),S=s.getDesc,k=s.setDesc,x=s.create,A=m.get,T=o.Symbol,C=o.JSON,_=C&&C.stringify,I=!1,E=p("_hidden"),z=s.isEnum,$=c("symbol-registry"),L=c("symbols"),P="function"==typeof T,F=Object.prototype,O=r&&d(function(){return 7!=x(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,i){var s=S(F,e);s&&delete F[e],k(t,e,i),s&&t!==F&&k(F,e,s)}:k,H=function(t){var e=L[t]=x(T.prototype);return e._k=t,r&&I&&O(F,t,{configurable:!0,set:function(e){n(this,E)&&n(this[E],t)&&(this[E][t]=!1),O(this,t,y(1,e))}}),e},V=function(t){return"symbol"==typeof t},N=function(t,e,i){return i&&n(L,e)?(i.enumerable?(n(t,E)&&t[E][e]&&(t[E][e]=!1),i=x(i,{enumerable:y(0,!1)})):(n(t,E)||k(t,E,y(1,{})),t[E][e]=!0),O(t,e,i)):k(t,e,i)},D=function(t,e){b(t);for(var i,s=g(e=w(e)),o=0,n=s.length;n>o;)N(t,i=s[o++],e[i]);return t},M=function(t,e){return void 0===e?x(t):D(x(t),e)},R=function(t){var e=z.call(this,t);return!(e||!n(this,t)||!n(L,t)||n(this,E)&&this[E][t])||e},W=function(t,e){var i=S(t=w(t),e);return!i||!n(L,e)||n(t,E)&&t[E][e]||(i.enumerable=!0),i},B=function(t){for(var e,i=A(w(t)),s=[],o=0;i.length>o;)n(L,e=i[o++])||e==E||s.push(e);return s},U=function(t){for(var e,i=A(w(t)),s=[],o=0;i.length>o;)n(L,e=i[o++])&&s.push(L[e]);return s},j=d(function(){var t=T();return"[null]"!=_([t])||"{}"!=_({a:t})||"{}"!=_(Object(t))});P||(l((T=function(){if(V(this))throw TypeError("Symbol is not a constructor");return H(u(arguments.length>0?arguments[0]:void 0))}).prototype,"toString",function(){return this._k}),V=function(t){return t instanceof T},s.create=M,s.isEnum=R,s.getDesc=W,s.setDesc=N,s.setDescs=D,s.getNames=m.get=B,s.getSymbols=U,r&&!i(41)&&l(F,"propertyIsEnumerable",R,!0));var Z={for:function(t){return n($,t+="")?$[t]:$[t]=T(t)},keyFor:function(t){return f($,t)},useSetter:function(){I=!0},useSimple:function(){I=!1}};s.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);Z[t]=P?e:H(e)}),I=!0,a(a.G+a.W,{Symbol:T}),a(a.S,"Symbol",Z),a(a.S+a.F*!P,"Object",{create:M,defineProperty:N,defineProperties:D,getOwnPropertyDescriptor:W,getOwnPropertyNames:B,getOwnPropertySymbols:U}),C&&a(a.S+a.F*(!P||j),"JSON",{stringify:function(t){if(void 0!==t&&!V(t)){for(var e,i,s=[t],o=1,n=arguments;n.length>o;)s.push(n[o++]);return"function"==typeof(e=s[1])&&(i=e),!i&&v(e)||(e=function(t,e){if(i&&(e=i.call(this,t,e)),!V(e))return e}),s[1]=e,_.apply(C,s)}}}),h(T,"Symbol"),h(Math,"Math",!0),h(o.JSON,"JSON",!0)},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){t.exports=!i(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var s=i(16),o=i(21),n=i(22),r="prototype",a=function(t,e,i){var l,d,c,h=t&a.F,u=t&a.G,p=t&a.S,f=t&a.P,m=t&a.B,g=t&a.W,v=u?o:o[e]||(o[e]={}),b=u?s:p?s[e]:(s[e]||{})[r];for(l in u&&(i=e),i)(d=!h&&b&&l in b)&&l in v||(c=d?b[l]:i[l],v[l]=u&&"function"!=typeof b[l]?i[l]:m&&d?n(c,s):g&&b[l]==c?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e[r]=t[r],e}(c):f&&"function"==typeof c?n(Function.call,c):c,f&&((v[r]||(v[r]={}))[l]=c))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,t.exports=a},function(t,e){var i=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=i)},function(t,e,i){var s=i(23);t.exports=function(t,e,i){if(s(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,s){return t.call(e,i,s)};case 3:return function(i,s,o){return t.call(e,i,s,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){t.exports=i(25)},function(t,e,i){var s=i(9),o=i(26);t.exports=i(18)?function(t,e,i){return s.setDesc(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var s=i(16),o="__core-js_shared__",n=s[o]||(s[o]={});t.exports=function(t){return n[t]||(n[t]={})}},function(t,e,i){var s=i(9).setDesc,o=i(17),n=i(29)("toStringTag");t.exports=function(t,e,i){t&&!o(t=i?t:t.prototype,n)&&s(t,n,{configurable:!0,value:e})}},function(t,e,i){var s=i(27)("wks"),o=i(30),n=i(16).Symbol;t.exports=function(t){return s[t]||(s[t]=n&&n[t]||(n||o)("Symbol."+t))}},function(t,e){var i=0,s=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+s).toString(36))}},function(t,e,i){var s=i(9),o=i(32);t.exports=function(t,e){for(var i,n=o(t),r=s.getKeys(n),a=r.length,l=0;a>l;)if(n[i=r[l++]]===e)return i}},function(t,e,i){var s=i(33),o=i(35);t.exports=function(t){return s(o(t))}},function(t,e,i){var s=i(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,i){var s=i(32),o=i(9).getNames,n={}.toString,r="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.get=function(t){return r&&"[object Window]"==n.call(t)?function(t){try{return o(t)}catch(t){return r.slice()}}(t):o(s(t))}},function(t,e,i){var s=i(9);t.exports=function(t){var e=s.getKeys(t),i=s.getSymbols;if(i)for(var o,n=i(t),r=s.isEnum,a=0;n.length>a;)r.call(t,o=n[a++])&&e.push(o);return e}},function(t,e,i){var s=i(34);t.exports=Array.isArray||function(t){return"Array"==s(t)}},function(t,e,i){var s=i(40);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=!0},function(t,e){},function(t,e,i){t.exports={default:i(44),__esModule:!0}},function(t,e,i){i(45),i(51),t.exports=i(29)("iterator")},function(t,e,i){"use strict";var s=i(46)(!0);i(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=s(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){var s=i(47),o=i(35);t.exports=function(t){return function(e,i){var n,r,a=String(o(e)),l=s(i),d=a.length;return l<0||l>=d?t?"":void 0:(n=a.charCodeAt(l))<55296||n>56319||l+1===d||(r=a.charCodeAt(l+1))<56320||r>57343?t?a.charAt(l):n:t?a.slice(l,l+2):r-56320+(n-55296<<10)+65536}}},function(t,e){var i=Math.ceil,s=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?s:i)(t)}},function(t,e,i){"use strict";var s=i(41),o=i(20),n=i(24),r=i(25),a=i(17),l=i(49),d=i(50),c=i(28),h=i(9).getProto,u=i(29)("iterator"),p=!([].keys&&"next"in[].keys()),f="@@iterator",m="keys",g="values",v=function(){return this};t.exports=function(t,e,i,b,w,y,S){d(i,e,b);var k,x,A=function(t){if(!p&&t in I)return I[t];switch(t){case m:case g:return function(){return new i(this,t)}}return function(){return new i(this,t)}},T=e+" Iterator",C=w==g,_=!1,I=t.prototype,E=I[u]||I[f]||w&&I[w],z=E||A(w);if(E){var $=h(z.call(new t));c($,T,!0),!s&&a(I,f)&&r($,u,v),C&&E.name!==g&&(_=!0,z=function(){return E.call(this)})}if(s&&!S||!p&&!_&&I[u]||r(I,u,z),l[e]=z,l[T]=v,w)if(k={values:C?z:A(g),keys:y?z:A(m),entries:C?A("entries"):z},S)for(x in k)x in I||n(I,x,k[x]);else o(o.P+o.F*(p||_),e,k);return k}},function(t,e){t.exports={}},function(t,e,i){"use strict";var s=i(9),o=i(26),n=i(28),r={};i(25)(r,i(29)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=s.create(r,{next:o(1,i)}),n(t,e+" Iterator")}},function(t,e,i){i(52);var s=i(49);s.NodeList=s.HTMLCollection=s.Array},function(t,e,i){"use strict";var s=i(53),o=i(54),n=i(49),r=i(32);t.exports=i(48)(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),n.Arguments=n.Array,s("keys"),s("values"),s("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){t.exports={default:i(56),__esModule:!0}},function(t,e,i){i(51),i(45),t.exports=i(57)},function(t,e,i){var s=i(39),o=i(58);t.exports=i(21).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return s(e.call(t))}},function(t,e,i){var s=i(59),o=i(29)("iterator"),n=i(49);t.exports=i(21).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||n[s(t)]}},function(t,e,i){var s=i(34),o=i(29)("toStringTag"),n="Arguments"==s(function(){return arguments}());t.exports=function(t){var e,i,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=(e=Object(t))[o])?i:n?s(e):"Object"==(r=s(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,i){t.exports={default:i(61),__esModule:!0}},function(t,e,i){i(62),t.exports=i(21).Object.keys},function(t,e,i){var s=i(63);i(64)("keys",function(t){return function(e){return t(s(e))}})},function(t,e,i){var s=i(35);t.exports=function(t){return Object(s(t))}},function(t,e,i){var s=i(20),o=i(21),n=i(19);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),s(s.S+s.F*n(function(){i(1)}),"Object",r)}},function(t,e,i){"use strict";var s=i(1).default;e.__esModule=!0;var o=s(i(6));e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,i){"use strict";var s=i(1).default;e.__esModule=!0;var o=i(5),n=s(i(6));e.default=function(t){t.registerHelper("if",function(t,e){if(2!=arguments.length)throw new n.default("#if requires exactly one argument");return o.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||o.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,i){if(2!=arguments.length)throw new n.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:i.inverse,inverse:i.fn,hash:i.hash})})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],i=arguments[arguments.length-1],s=0;s<arguments.length-1;s++)e.push(arguments[s]);var o=1;null!=i.hash.level?o=i.hash.level:i.data&&null!=i.data.level&&(o=i.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("lookup",function(t,e,i){return t?i.lookupProperty(t,e):t})},t.exports=e.default},function(t,e,i){"use strict";var s=i(1).default;e.__esModule=!0;var o=i(5),n=s(i(6));e.default=function(t){t.registerHelper("with",function(t,e){if(2!=arguments.length)throw new n.default("#with requires exactly one argument");o.isFunction(t)&&(t=t.call(this));var i=e.fn;if(o.isEmpty(t))return e.inverse(this);var s=e.data;return e.data&&e.ids&&((s=o.createFrame(e.data)).contextPath=o.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:s,blockParams:o.blockParams([t],[s&&s.contextPath])})})},t.exports=e.default},function(t,e,i){"use strict";var s=i(1).default;e.__esModule=!0,e.registerDefaultDecorators=function(t){o.default(t)};var o=s(i(71))},function(t,e,i){"use strict";e.__esModule=!0;var s=i(5);e.default=function(t){t.registerDecorator("inline",function(t,e,i,o){var n=t;return e.partials||(e.partials={},n=function(o,n){var r=i.partials;i.partials=s.extend({},r,e.partials);var a=t(o,n);return i.partials=r,a}),e.partials[o.args[0]]=o.fn,n})},t.exports=e.default},function(t,e,i){"use strict";e.__esModule=!0;var s=i(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=s.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var i=arguments.length,s=Array(i>1?i-1:0),n=1;n<i;n++)s[n-1]=arguments[n];console[e].apply(console,s)}}};e.default=o,t.exports=e.default},function(t,e,i){"use strict";function s(t,e){return void 0!==t.whitelist[e]?!0===t.whitelist[e]:void 0!==t.defaultValue?t.defaultValue:(function(t){!0!==d[t]&&(d[t]=!0,l.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(e),!1)}var o=i(74).default,n=i(60).default,r=i(1).default;e.__esModule=!0,e.createProtoAccessControl=function(t){var e=o(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var i=o(null);return i.__proto__=!1,{properties:{whitelist:a.createNewLookupObject(i,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:a.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}},e.resultIsAllowed=function(t,e,i){return s("function"==typeof t?e.methods:e.properties,i)},e.resetLoggedProperties=function(){n(d).forEach(function(t){delete d[t]})};var a=i(76),l=r(i(72)),d=o(null)},function(t,e,i){t.exports={default:i(75),__esModule:!0}},function(t,e,i){var s=i(9);t.exports=function(t,e){return s.create(t,e)}},function(t,e,i){"use strict";var s=i(74).default;e.__esModule=!0,e.createNewLookupObject=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return o.extend.apply(void 0,[s(null)].concat(e))};var o=i(5)},function(t,e){"use strict";function i(t){this.string=t}e.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},e.default=i,t.exports=e.default},function(t,e,i){"use strict";function s(t,e,i,s,o,r,a){function l(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=a;return!a||e==a[0]||e===t.nullContext&&null===a[0]||(n=[e].concat(a)),i(t,e,t.helpers,t.partials,o.data||s,r&&[o.blockParams].concat(r),n)}return(l=n(i,l,t,a,s,r)).program=e,l.depth=a?a.length:0,l.blockParams=o||0,l}function o(){return""}function n(t,e,i,s,o,n){if(t.decorator){var r={};e=t.decorator(e,r,i,s&&s[0],o,n,s),c.extend(e,r)}return e}var r=i(79).default,a=i(60).default,l=i(3).default,d=i(1).default;e.__esModule=!0,e.checkRevision=function(t){var e=t&&t[0]||1,i=u.COMPILER_REVISION;if(!(e>=u.LAST_COMPATIBLE_COMPILER_REVISION&&e<=u.COMPILER_REVISION)){if(e<u.LAST_COMPATIBLE_COMPILER_REVISION){var s=u.REVISION_CHANGES[i],o=u.REVISION_CHANGES[e];throw new h.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+o+").")}throw new h.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}},e.template=function(t,e){function i(e){function s(e){return""+t.main(l,e,l.helpers,l.partials,r,d,a)}var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=o.data;i._setup(o),!o.partial&&t.useData&&(r=function(t,e){return e&&"root"in e||((e=e?u.createFrame(e):{}).root=t),e}(e,r));var a=void 0,d=t.useBlockParams?[]:void 0;return t.useDepths&&(a=o.depths?e!=o.depths[0]?[e].concat(o.depths):o.depths:[e]),(s=n(t.main,s,l,o.depths||[],r,d))(e,o)}if(!e)throw new h.default("No environment passed to template");if(!t||!t.main)throw new h.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o=t.compiler&&7===t.compiler[0],l={strict:function(t,e,i){if(!(t&&e in t))throw new h.default('"'+e+'" not defined in '+t,{loc:i});return l.lookupProperty(t,e)},lookupProperty:function(t,e){var i=t[e];return null==i?i:Object.prototype.hasOwnProperty.call(t,e)?i:m.resultIsAllowed(i,l.protoAccessControl,e)?i:void 0},lookup:function(t,e){for(var i=t.length,s=0;s<i;s++)if(null!=(t[s]&&l.lookupProperty(t[s],e)))return t[s][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:c.escapeExpression,invokePartial:function(i,s,o){o.hash&&(s=c.extend({},s,o.hash),o.ids&&(o.ids[0]=!0)),i=e.VM.resolvePartial.call(this,i,s,o);var n=c.extend({},o,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),r=e.VM.invokePartial.call(this,i,s,n);if(null==r&&e.compile&&(o.partials[o.name]=e.compile(i,t.compilerOptions,e),r=o.partials[o.name](s,n)),null!=r){if(o.indent){for(var a=r.split("\n"),l=0,d=a.length;l<d&&(a[l]||l+1!==d);l++)a[l]=o.indent+a[l];r=a.join("\n")}return r}throw new h.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(e){var i=t[e];return i.decorator=t[e+"_d"],i},programs:[],program:function(t,e,i,o,n){var r=this.programs[t],a=this.fn(t);return e||n||o||i?r=s(this,t,a,e,i,o,n):r||(r=this.programs[t]=s(this,t,a)),r},data:function(t,e){for(;t&&e--;)t=t._parent;return t},mergeIfNeeded:function(t,e){var i=t||e;return t&&e&&t!==e&&(i=c.extend({},e,t)),i},nullContext:r({}),noop:e.VM.noop,compilerInfo:t.compiler};return i.isTop=!0,i._setup=function(i){if(i.partial)l.protoAccessControl=i.protoAccessControl,l.helpers=i.helpers,l.partials=i.partials,l.decorators=i.decorators,l.hooks=i.hooks;else{var s=c.extend({},e.helpers,i.helpers);(function(t,e){a(t).forEach(function(i){var s=t[i];t[i]=function(t,e){var i=e.lookupProperty;return f.wrapHelper(t,function(t){return c.extend({lookupProperty:i},t)})}(s,e)})})(s,l),l.helpers=s,t.usePartial&&(l.partials=l.mergeIfNeeded(i.partials,e.partials)),(t.usePartial||t.useDecorators)&&(l.decorators=c.extend({},e.decorators,i.decorators)),l.hooks={},l.protoAccessControl=m.createProtoAccessControl(i);var n=i.allowCallsToHelperMissing||o;p.moveHelperToHooks(l,"helperMissing",n),p.moveHelperToHooks(l,"blockHelperMissing",n)}},i._child=function(e,i,o,n){if(t.useBlockParams&&!o)throw new h.default("must pass block params");if(t.useDepths&&!n)throw new h.default("must pass parent depths");return s(l,e,t[e],i,0,o,n)},i},e.wrapProgram=s,e.resolvePartial=function(t,e,i){return t?t.call||i.name||(i.name=t,t=i.partials[t]):t="@partial-block"===i.name?i.data["partial-block"]:i.partials[i.name],t},e.invokePartial=function(t,e,i){var s=i.data&&i.data["partial-block"];i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var n=void 0;if(i.fn&&i.fn!==o&&function(){i.data=u.createFrame(i.data);var t=i.fn;n=i.data["partial-block"]=function(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return i.data=u.createFrame(i.data),i.data["partial-block"]=s,t(e,i)},t.partials&&(i.partials=c.extend({},i.partials,t.partials))}(),void 0===t&&n&&(t=n),void 0===t)throw new h.default("The partial "+i.name+" could not be found");if(t instanceof Function)return t(e,i)},e.noop=o;var c=l(i(5)),h=d(i(6)),u=i(4),p=i(10),f=i(82),m=i(73)},function(t,e,i){t.exports={default:i(80),__esModule:!0}},function(t,e,i){i(81),t.exports=i(21).Object.seal},function(t,e,i){var s=i(40);i(64)("seal",function(t){return function(e){return t&&s(e)?t(e):e}})},function(t,e){"use strict";e.__esModule=!0,e.wrapHelper=function(t,e){return"function"!=typeof t?t:function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)}}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var i={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!i.helpers.scopedId(t)&&!t.depth}}};e.default=i,t.exports=e.default},function(t,e,i){"use strict";function s(t,e){return"Program"===t.type?t:(r.default.yy=c,c.locInfo=function(t){return new c.SourceLocation(e&&e.srcName,t)},r.default.parse(t))}var o=i(1).default,n=i(3).default;e.__esModule=!0,e.parseWithoutProcessing=s,e.parse=function(t,e){var i=s(t,e);return new a.default(e).accept(i)};var r=o(i(86)),a=o(i(87)),l=n(i(89)),d=i(5);e.parser=r.default;var c={};d.extend(c,l)},function(t,e){"use strict";e.__esModule=!0;var i=function(){function t(){this.yy={}}var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,i,s,o,n,r){var a=n.length-1;switch(o){case 1:return n[a-1];case 2:this.$=s.prepareProgram(n[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=n[a];break;case 9:this.$={type:"CommentStatement",value:s.stripComment(n[a]),strip:s.stripFlags(n[a],n[a]),loc:s.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:n[a],value:n[a],loc:s.locInfo(this._$)};break;case 11:this.$=s.prepareRawBlock(n[a-2],n[a-1],n[a],this._$);break;case 12:this.$={path:n[a-3],params:n[a-2],hash:n[a-1]};break;case 13:this.$=s.prepareBlock(n[a-3],n[a-2],n[a-1],n[a],!1,this._$);break;case 14:this.$=s.prepareBlock(n[a-3],n[a-2],n[a-1],n[a],!0,this._$);break;case 15:this.$={open:n[a-5],path:n[a-4],params:n[a-3],hash:n[a-2],blockParams:n[a-1],strip:s.stripFlags(n[a-5],n[a])};break;case 16:case 17:this.$={path:n[a-4],params:n[a-3],hash:n[a-2],blockParams:n[a-1],strip:s.stripFlags(n[a-5],n[a])};break;case 18:this.$={strip:s.stripFlags(n[a-1],n[a-1]),program:n[a]};break;case 19:var l=s.prepareBlock(n[a-2],n[a-1],n[a],n[a],!1,this._$),d=s.prepareProgram([l],n[a-1].loc);d.chained=!0,this.$={strip:n[a-2].strip,program:d,chain:!0};break;case 20:this.$=n[a];break;case 21:this.$={path:n[a-1],strip:s.stripFlags(n[a-2],n[a])};break;case 22:case 23:this.$=s.prepareMustache(n[a-3],n[a-2],n[a-1],n[a-4],s.stripFlags(n[a-4],n[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:n[a-3],params:n[a-2],hash:n[a-1],indent:"",strip:s.stripFlags(n[a-4],n[a]),loc:s.locInfo(this._$)};break;case 25:this.$=s.preparePartialBlock(n[a-2],n[a-1],n[a],this._$);break;case 26:this.$={path:n[a-3],params:n[a-2],hash:n[a-1],strip:s.stripFlags(n[a-4],n[a])};break;case 27:case 28:this.$=n[a];break;case 29:this.$={type:"SubExpression",path:n[a-3],params:n[a-2],hash:n[a-1],loc:s.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:n[a],loc:s.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:s.id(n[a-2]),value:n[a],loc:s.locInfo(this._$)};break;case 32:this.$=s.id(n[a-1]);break;case 33:case 34:this.$=n[a];break;case 35:this.$={type:"StringLiteral",value:n[a],original:n[a],loc:s.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(n[a]),original:Number(n[a]),loc:s.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===n[a],original:"true"===n[a],loc:s.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:s.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:s.locInfo(this._$)};break;case 40:case 41:this.$=n[a];break;case 42:this.$=s.preparePath(!0,n[a],this._$);break;case 43:this.$=s.preparePath(!1,n[a],this._$);break;case 44:n[a-2].push({part:s.id(n[a]),original:n[a],separator:n[a-1]}),this.$=n[a-2];break;case 45:this.$=[{part:s.id(n[a]),original:n[a]}];break;case 46:this.$=[];break;case 47:n[a-1].push(n[a]);break;case 48:this.$=[];break;case 49:n[a-1].push(n[a]);break;case 50:this.$=[];break;case 51:n[a-1].push(n[a]);break;case 58:this.$=[];break;case 59:n[a-1].push(n[a]);break;case 64:this.$=[];break;case 65:n[a-1].push(n[a]);break;case 70:this.$=[];break;case 71:n[a-1].push(n[a]);break;case 78:this.$=[];break;case 79:n[a-1].push(n[a]);break;case 82:this.$=[];break;case 83:n[a-1].push(n[a]);break;case 86:this.$=[];break;case 87:n[a-1].push(n[a]);break;case 90:this.$=[];break;case 91:n[a-1].push(n[a]);break;case 94:this.$=[];break;case 95:n[a-1].push(n[a]);break;case 98:this.$=[n[a]];break;case 99:n[a-1].push(n[a]);break;case 100:this.$=[n[a]];break;case 101:n[a-1].push(n[a])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){function e(){var t;return"number"!=typeof(t=i.lexer.lex()||1)&&(t=i.symbols_[t]||t),t}var i=this,s=[0],o=[null],n=[],r=this.table,a="",l=0,d=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var h=this.lexer.yylloc;n.push(h);var u=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,f,m,g,v,b,w,y,S,k={};;){if(m=s[s.length-1],this.defaultActions[m]?g=this.defaultActions[m]:(null!=p||(p=e()),g=r[m]&&r[m][p]),void 0===g||!g.length||!g[0]){var x="";if(!c){for(b in S=[],r[m])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");x=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(x,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:h,expected:S})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+p);switch(g[0]){case 1:s.push(p),o.push(this.lexer.yytext),n.push(this.lexer.yylloc),s.push(g[1]),p=null,f?(p=f,f=null):(d=this.lexer.yyleng,a=this.lexer.yytext,l=this.lexer.yylineno,h=this.lexer.yylloc,c>0&&c--);break;case 2:if(w=this.productions_[g[1]][1],k.$=o[o.length-w],k._$={first_line:n[n.length-(w||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(w||1)].first_column,last_column:n[n.length-1].last_column},u&&(k._$.range=[n[n.length-(w||1)].range[0],n[n.length-1].range[1]]),void 0!==(v=this.performAction.call(k,a,d,l,this.yy,g[1],o,n)))return v;w&&(s=s.slice(0,-1*w*2),o=o.slice(0,-1*w),n=n.slice(0,-1*w)),s.push(this.productions_[g[1]][0]),o.push(k.$),n.push(k._$),y=r[s[s.length-2]][s[s.length-1]],s.push(y);break;case 3:return!0}}return!0}},i=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,i,s,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length&&(!(i=this._input.match(this.rules[n[r]]))||e&&!(i[0].length>e[0].length)||(e=i,s=r,this.options.flex));r++);return e?((o=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,n[s],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,i,s){function o(t,i){return e.yytext=e.yytext.substring(t,e.yyleng-i+t)}switch(i){case 0:if("\\\\"===e.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();return e.lexer=i,t.prototype=e,e.Parser=t,new t}();e.default=i,t.exports=e.default},function(t,e,i){"use strict";function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function o(t,e,i){void 0===e&&(e=t.length);var s=t[e-1],o=t[e-2];return s?"ContentStatement"===s.type?(o||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(s.original):void 0:i}function n(t,e,i){void 0===e&&(e=-1);var s=t[e+1],o=t[e+2];return s?"ContentStatement"===s.type?(o||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(s.original):void 0:i}function r(t,e,i){var s=t[null==e?0:e+1];if(s&&"ContentStatement"===s.type&&(i||!s.rightStripped)){var o=s.value;s.value=s.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),s.rightStripped=s.value!==o}}function a(t,e,i){var s=t[null==e?t.length-1:e-1];if(s&&"ContentStatement"===s.type&&(i||!s.leftStripped)){var o=s.value;return s.value=s.value.replace(i?/\s+$/:/[ \t]+$/,""),s.leftStripped=s.value!==o,s.leftStripped}}var l=i(1).default;e.__esModule=!0;var d=l(i(88));s.prototype=new d.default,s.prototype.Program=function(t){var e=!this.options.ignoreStandalone,i=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,l=0,d=s.length;l<d;l++){var c=s[l],h=this.accept(c);if(h){var u=o(s,l,i),p=n(s,l,i),f=h.openStandalone&&u,m=h.closeStandalone&&p,g=h.inlineStandalone&&u&&p;h.close&&r(s,l,!0),h.open&&a(s,l,!0),e&&g&&(r(s,l),a(s,l)&&"PartialStatement"===c.type&&(c.indent=/([ \t]+$)/.exec(s[l-1].original)[1])),e&&f&&(r((c.program||c.inverse).body),a(s,l)),e&&m&&(r(s,l),a((c.inverse||c.program).body))}}return t},s.prototype.BlockStatement=s.prototype.DecoratorBlock=s.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,i=t.program&&t.inverse,s=i,l=i;if(i&&i.chained)for(s=i.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var d={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:n(e.body),closeStandalone:o((s||e).body)};if(t.openStrip.close&&r(e.body,null,!0),i){var c=t.inverseStrip;c.open&&a(e.body,null,!0),c.close&&r(s.body,null,!0),t.closeStrip.open&&a(l.body,null,!0),!this.options.ignoreStandalone&&o(e.body)&&n(s.body)&&(a(e.body),r(s.body))}else t.closeStrip.open&&a(e.body,null,!0);return d},s.prototype.Decorator=s.prototype.MustacheStatement=function(t){return t.strip},s.prototype.PartialStatement=s.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.default=s,t.exports=e.default},function(t,e,i){"use strict";function s(){this.parents=[]}function o(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function n(t){o.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function r(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}var a=i(1).default;e.__esModule=!0;var l=a(i(6));s.prototype={constructor:s,mutating:!1,acceptKey:function(t,e){var i=this.accept(t[e]);if(this.mutating){if(i&&!s.prototype[i.type])throw new l.default('Unexpected node type "'+i.type+'" found when accepting '+e+" on "+t.type);t[e]=i}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new l.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,i=t.length;e<i;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,i--)},accept:function(t){if(t){if(!this[t.type])throw new l.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:o,Decorator:o,BlockStatement:n,DecoratorBlock:n,PartialStatement:r,PartialBlockStatement:function(t){r.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:o,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.default=s,t.exports=e.default},function(t,e,i){"use strict";function s(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var i={loc:t.path.loc};throw new n.default(t.path.original+" doesn't match "+e,i)}}var o=i(1).default;e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,i){i=this.locInfo(i);for(var s=t?"@":"",o=[],r=0,a=0,l=e.length;a<l;a++){var d=e[a].part,c=e[a].original!==d;if(s+=(e[a].separator||"")+d,c||".."!==d&&"."!==d&&"this"!==d)o.push(d);else{if(o.length>0)throw new n.default("Invalid path: "+s,{loc:i});".."===d&&r++}}return{type:"PathExpression",data:t,depth:r,parts:o,original:s,loc:i}},e.prepareMustache=function(t,e,i,s,o,n){var r=s.charAt(3)||s.charAt(2),a="{"!==r&&"&"!==r;return{type:/\*/.test(s)?"Decorator":"MustacheStatement",path:t,params:e,hash:i,escaped:a,strip:o,loc:this.locInfo(n)}},e.prepareRawBlock=function(t,e,i,o){s(t,i);var n={type:"Program",body:e,strip:{},loc:o=this.locInfo(o)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}},e.prepareBlock=function(t,e,i,o,r,a){o&&o.path&&s(t,o);var l=/\*/.test(t.open);e.blockParams=t.blockParams;var d=void 0,c=void 0;if(i){if(l)throw new n.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=o.strip),c=i.strip,d=i.program}return r&&(r=d,d=e,e=r),{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:d,openStrip:t.strip,inverseStrip:c,closeStrip:o&&o.strip,loc:this.locInfo(a)}},e.prepareProgram=function(t,e){if(!e&&t.length){var i=t[0].loc,s=t[t.length-1].loc;i&&s&&(e={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,i,o){return s(t,i),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(o)}};var n=o(i(6))},function(t,e,i){"use strict";function s(){}function o(t,e){if(t===e)return!0;if(d.isArray(t)&&d.isArray(e)&&t.length===e.length){for(var i=0;i<t.length;i++)if(!o(t[i],e[i]))return!1;return!0}}function n(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}var r=i(74).default,a=i(1).default;e.__esModule=!0,e.Compiler=s,e.precompile=function(t,e,i){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new l.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0),e.compat&&(e.useDepths=!0);var s=i.parse(t,e),o=(new i.Compiler).compile(s,e);return(new i.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,i){function s(){var s=i.parse(t,e),o=(new i.Compiler).compile(s,e),n=(new i.JavaScriptCompiler).compile(o,e,void 0,!0);return i.template(n)}function o(t,e){return n||(n=s()),n.call(this,t,e)}if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new l.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=d.extend({},e))||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;return o._setup=function(t){return n||(n=s()),n._setup(t)},o._child=function(t,e,i,o){return n||(n=s()),n._child(t,e,i,o)},o};var l=a(i(6)),d=i(5),c=a(i(84)),h=[].slice;s.prototype={compiler:s,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var i=0;i<e;i++){var s=this.opcodes[i],n=t.opcodes[i];if(s.opcode!==n.opcode||!o(s.args,n.args))return!1}e=this.children.length;for(i=0;i<e;i++)if(!this.children[i].equals(t.children[i]))return!1;return!0},guid:0,compile:function(t,e){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[],e.knownHelpers=d.extend(r(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},e.knownHelpers),this.accept(t)},compileProgram:function(t){var e=(new this.compiler).compile(t,this.options),i=this.guid++;return this.usePartial=this.usePartial||e.usePartial,this.children[i]=e,this.useDepths=this.useDepths||e.useDepths,i},accept:function(t){if(!this[t.type])throw new l.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,i=e.length,s=0;s<i;s++)this.accept(e[s]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){n(t);var e=t.program,i=t.inverse;e=e&&this.compileProgram(e),i=i&&this.compileProgram(i);var s=this.classifySexpr(t);"helper"===s?this.helperSexpr(t,e,i):"simple"===s?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,i),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),i=this.setupFullMustacheParams(t,e,void 0),s=t.path;this.useDecorators=!0,this.opcode("registerDecorator",i.length,s.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var i=t.params;if(i.length>1)throw new l.default("Unsupported number of partial arguments: "+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var s=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var n=t.indent||"";this.options.preventIndent&&n&&(this.opcode("appendContent",n),n=""),this.opcode("invokePartial",o,s,n),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){n(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var s=t.path,o=s.parts[0],n=null!=e||null!=i;this.opcode("getContext",s.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",i),s.strict=!0,this.accept(s),this.opcode("invokeAmbiguous",o,n)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,i){var s=this.setupFullMustacheParams(t,e,i),o=t.path,n=o.parts[0];if(this.options.knownHelpers[n])this.opcode("invokeKnownHelper",s.length,n);else{if(this.options.knownHelpersOnly)throw new l.default("You specified knownHelpersOnly, but used the unknown helper "+n,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",s.length,o.original,c.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],i=c.default.helpers.scopedId(t),s=!t.depth&&!i&&this.blockParamIndex(e);s?this.opcode("lookupBlockParam",s,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,i):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,i=0,s=e.length;for(this.opcode("pushHash");i<s;i++)this.pushParam(e[i].value);for(;i--;)this.opcode("assignToHash",e[i].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:h.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=c.default.helpers.simpleId(t.path),i=e&&!!this.blockParamIndex(t.path.parts[0]),s=!i&&c.default.helpers.helperExpression(t),o=!i&&(s||e);if(o&&!s){var n=t.path.parts[0],r=this.options;r.knownHelpers[n]?s=!0:r.knownHelpersOnly&&(o=!1)}return s?"helper":o?"ambiguous":"simple"},pushParams:function(t){for(var e=0,i=t.length;e<i;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var i=void 0;if(!t.parts||c.default.helpers.scopedId(t)||t.depth||(i=this.blockParamIndex(t.parts[0])),i){var s=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",i,s)}else(e=t.original||e).replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,i,s){var o=t.params;return this.pushParams(o),this.opcode("pushProgram",e),this.opcode("pushProgram",i),t.hash?this.accept(t.hash):this.opcode("emptyHash",s),o},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var s=this.options.blockParams[e],o=s&&d.indexOf(s,t);if(s&&o>=0)return[e,o]}}}},function(t,e,i){"use strict";function s(t){this.value=t}function o(){}var n=i(60).default,r=i(1).default;e.__esModule=!0;var a=i(4),l=r(i(6)),d=i(5),c=r(i(92));o.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=a.COMPILER_REVISION;return[t,a.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,i){return d.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:i?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,i,s){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var o=t.opcodes,n=void 0,r=void 0,a=void 0,d=void 0;for(a=0,d=o.length;a<d;a++)n=o[a],this.source.currentLocation=n.loc,r=r||n.loc,this[n.opcode].apply(this,n.args);if(this.source.currentLocation=r,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new l.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),s?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var c=this.createFunctionContext(s);if(this.isChild)return c;var h={compiler:this.compilerInfo(),main:c};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var u=this.context,p=u.programs,f=u.decorators;for(a=0,d=p.length;a<d;a++)p[a]&&(h[a]=p[a],f[a]&&(h[a+"_d"]=f[a],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),s?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),e.srcName?(h=h.toStringWithSourceMap({file:e.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new c.default(this.options.srcName),this.decorators=new c.default(this.options.srcName)},createFunctionContext:function(t){var e=this,i="",s=this.stackVars.concat(this.registers.list);s.length>0&&(i+=", "+s.join(", "));var o=0;n(this.aliases).forEach(function(t){var s=e.aliases[t];s.children&&s.referenceCount>1&&(i+=", alias"+ ++o+"="+t,s.children[0]="alias"+o)}),this.lookupPropertyFunctionIsUsed&&(i+=", "+this.lookupPropertyFunctionVarDeclaration());var r=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths");var a=this.mergeSource(i);return t?(r.push(a),Function.apply(this,r)):this.source.wrap(["function(",r.join(","),") {\n  ",a,"}"])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,s=void 0,o=void 0,n=void 0,r=void 0;return this.source.each(function(t){t.appendToBuffer?(n?t.prepend("  + "):n=t,r=t):(n&&(o?n.prepend("buffer += "):s=!0,r.add(";"),n=r=void 0),o=!0,e||(i=!1))}),i?n?(n.prepend("return "),r.add(";")):o||this.source.push('return "";'):(t+=", buffer = "+(s?"":this.initializeBuffer()),n?(n.prepend("return buffer + "),r.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(s?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n          return parent[propertyName];\n        }\n        return undefined\n    }\n    ".trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var s=this.popStack();i.splice(1,0,s),this.push(this.source.functionCall(e,"call",i))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,s){var o=0;s||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[o++])),this.resolvePath("context",t,o,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,i)},resolvePath:function(t,e,i,s,o){var n=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,i,s,o){var n=e.popStack(),r=i.length;for(t&&r--;s<r;s++)n=e.nameLookup(n,i[s],o);return t?[e.aliasable("container.strict"),"(",n,", ",e.quotedString(i[s]),", ",JSON.stringify(e.source.currentLocation)," )"]:n}(this.options.strict&&o,this,e,i,t));else for(var r=e.length;i<r;i++)this.replaceStack(function(o){var r=n.nameLookup(o,e[i],t);return s?[" && ",r]:[" != null ? ",r," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var i=this.nameLookup("decorators",e,"decorator"),s=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(i,"",["fn","props","container",s])," || fn;"])},invokeHelper:function(t,e,i){var s=this.popStack(),o=this.setupHelper(t,e),n=[];i&&n.push(o.name),n.push(s),this.options.strict||n.push(this.aliasable("container.hooks.helperMissing"));var r=["(",this.itemsSeparatedBy(n,"||"),")"],a=this.source.functionCall(r,"call",o.callParams);this.push(a)},itemsSeparatedBy:function(t,e){var i=[];i.push(t[0]);for(var s=1;s<t.length;s++)i.push(e,t[s]);return i},invokeKnownHelper:function(t,e){var i=this.setupHelper(t,e);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var i=this.popStack();this.emptyHash();var s=this.setupHelper(0,t,e),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",t,"helper")," || ",i,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,s.paramsInit?["),(",s.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",s.callParams)," : helper))"])},invokePartial:function(t,e,i){var s=[],o=this.setupParams(e,1,s);t&&(e=this.popStack(),delete o.name),i&&(o.indent=JSON.stringify(i)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",t?s.unshift(e):s.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),s.push(o),this.push(this.source.functionCall("container.invokePartial","",s))},assignToHash:function(t){var e=this.popStack(),i=void 0,s=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(s=this.popStack(),i=this.popStack());var n=this.hash;i&&(n.contexts[t]=i),s&&(n.types[t]=s),o&&(n.ids[t]=o),n.values[t]=e},pushId:function(t,e,i){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:o,compileChildren:function(t,e){for(var i=t.children,s=void 0,o=void 0,n=0,r=i.length;n<r;n++){s=i[n],o=new this.compiler;var a=this.matchExistingProgram(s);if(null==a){this.context.programs.push("");var l=this.context.programs.length;s.index=l,s.name="program"+l,this.context.programs[l]=o.compile(s,e,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=s,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,s.useDepths=this.useDepths,s.useBlockParams=this.useBlockParams}else s.index=a.index,s.name="program"+a.index,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams}},matchExistingProgram:function(t){for(var e=0,i=this.context.environments.length;e<i;e++){var s=this.context.environments[e];if(s&&s.equals(t))return s}},programExpression:function(t){var e=this.environment.children[t],i=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),"container.program("+i.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof s||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new s(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],i=void 0,o=void 0,n=void 0;if(!this.isInline())throw new l.default("replaceStack on non-inline");var r=this.popStack(!0);if(r instanceof s)e=["(",i=[r.value]],n=!0;else{o=!0;var a=this.incrStack();e=["((",this.push(a)," = ",r,")"],i=this.topStack()}var d=t.call(this,i);n||this.popStack(),o&&this.stackSlot--,this.push(e.concat(d,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;e<i;e++){var o=t[e];if(o instanceof s)this.compileStack.push(o);else{var n=this.incrStack();this.pushSource([n," = ",o,";"]),this.compileStack.push(n)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),i=(e?this.inlineStack:this.compileStack).pop();if(!t&&i instanceof s)return i.value;if(!e){if(!this.stackSlot)throw new l.default("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof s?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):((e=this.aliases[t]=this.source.wrap(t)).aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,i){var s=[];return{params:s,paramsInit:this.setupHelperArgs(e,t,s,i),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(s)}},setupParams:function(t,e,i){var s={},o=[],n=[],r=[],a=!i,l=void 0;a&&(i=[]),s.name=this.quotedString(t),s.hash=this.popStack(),this.trackIds&&(s.hashIds=this.popStack()),this.stringParams&&(s.hashTypes=this.popStack(),s.hashContexts=this.popStack());var d=this.popStack(),c=this.popStack();(c||d)&&(s.fn=c||"container.noop",s.inverse=d||"container.noop");for(var h=e;h--;)l=this.popStack(),i[h]=l,this.trackIds&&(r[h]=this.popStack()),this.stringParams&&(n[h]=this.popStack(),o[h]=this.popStack());return a&&(s.args=this.source.generateArray(i)),this.trackIds&&(s.ids=this.source.generateArray(r)),this.stringParams&&(s.types=this.source.generateArray(n),s.contexts=this.source.generateArray(o)),this.options.data&&(s.data="data"),this.useBlockParams&&(s.blockParams="blockParams"),s},setupHelperArgs:function(t,e,i,s){var o=this.setupParams(t,e,i);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),s?(this.useRegister("options"),i.push("options"),["options=",o]):i?(i.push(o),""):o}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=o.RESERVED_WORDS={},i=0,s=t.length;i<s;i++)e[t[i]]=!0}(),o.isValidJavaScriptVariableName=function(t){return!o.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=o,t.exports=e.default},function(t,e,i){"use strict";function s(t,e,i){if(r.isArray(t)){for(var s=[],o=0,n=t.length;o<n;o++)s.push(e.wrap(t[o],i));return s}return"boolean"==typeof t||"number"==typeof t?t+"":t}function o(t){this.srcFile=t,this.source=[]}var n=i(60).default;e.__esModule=!0;var r=i(5),a=void 0;a||((a=function(t,e,i,s){this.src="",s&&this.add(s)}).prototype={add:function(t){r.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){r.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),o.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add(["  ",e,"\n"])}),t},each:function(t){for(var e=0,i=this.source.length;e<i;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new a(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof a?t:(t=s(t,this,e),new a(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,i){return i=this.generateList(i),this.wrap([t,e?"."+e+"(":"(",i,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e=this,i=[];n(t).forEach(function(o){var n=s(t[o],e);"undefined"!==n&&i.push([e.quotedString(o),":",n])});var o=this.generateList(i);return o.prepend("{"),o.add("}"),o},generateList:function(t){for(var e=this.empty(),i=0,o=t.length;i<o;i++)i&&e.add(","),e.add(s(t[i],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend("["),e.add("]"),e}},e.default=o,t.exports=e.default}])}),function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],s={"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},o=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,n=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function r(e,s){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,s))return-1===t.inArray(r,i)||Boolean(e.nodeValue.match(o)||e.nodeValue.match(n));for(var a=t(s).filter(function(t,e){return e instanceof RegExp}),l=0,d=a.length;l<d;l++)if(r.match(a[l]))return!0;return!1}function a(t,e,i){if(i&&"function"==typeof i)return i(t);for(var s=Object.keys(e),o=0,n=t.length;o<n;o++)for(var a=t[o].querySelectorAll("*"),l=0,d=a.length;l<d;l++){var c=a[l],h=c.nodeName.toLowerCase();if(-1!==s.indexOf(h))for(var u=[].slice.call(c.attributes),p=[].concat(e["*"]||[],e[h]||[]),f=0,m=u.length;f<m;f++){var g=u[f];r(g,p)||c.removeAttribute(g.nodeName)}else c.parentNode.removeChild(c)}}"classList"in document.createElement("_")||function(e){if("Element"in e){var i=e.Element.prototype,s=Object,o=function(){var e=t(this);return{add:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.addClass(t)},remove:function(t){return t=Array.prototype.slice.call(arguments).join(" "),e.removeClass(t)},toggle:function(t,i){return e.toggleClass(t,i)},contains:function(t){return e.hasClass(t)}}};if(s.defineProperty){var n={get:o,enumerable:!0,configurable:!0};try{s.defineProperty(i,"classList",n)}catch(t){void 0!==t.number&&-2146823252!==t.number||(n.enumerable=!1,s.defineProperty(i,"classList",n))}}else s.prototype.__defineGetter__&&i.__defineGetter__("classList",o)}}(window);var l,d,c,h=document.createElement("_");if(h.classList.add("c1","c2"),!h.classList.contains("c2")){var u=DOMTokenList.prototype.add,p=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,u.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,p.bind(this))}}if(h.classList.toggle("c3",!1),h.classList.contains("c3")){var f=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:f.call(this,t)}}function m(t,e){var i,s=t.selectedOptions,o=[];if(e){for(var n=0,r=s.length;n<r;n++)(i=s[n]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||o.push(i);return o}return s}function g(t,e){for(var i,s=[],o=e||t.selectedOptions,n=0,r=o.length;n<r;n++)(i=o[n]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||s.push(i.value);return t.multiple?s:s.length?s[0]:null}h=null,String.prototype.startsWith||(l=function(){try{var t={},e=Object.defineProperty,i=e(t,t,t)&&e}catch(t){}return i}(),d={}.toString,c=function(t){if(null==this)throw new TypeError;var e=String(this);if(t&&"[object RegExp]"==d.call(t))throw new TypeError;var i=e.length,s=String(t),o=s.length,n=arguments.length>1?arguments[1]:void 0,r=n?Number(n):0;r!=r&&(r=0);var a=Math.min(Math.max(r,0),i);if(o+a>i)return!1;for(var l=-1;++l<o;)if(e.charCodeAt(a+l)!=s.charCodeAt(l))return!1;return!0},l?l(String.prototype,"startsWith",{value:c,configurable:!0,writable:!0}):String.prototype.startsWith=c),Object.keys||(Object.keys=function(t,e,i){for(e in i=[],t)i.hasOwnProperty.call(t,e)&&i.push(e);return i}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var v={useDefault:!1,_set:t.valHooks.select.set};t.valHooks.select.set=function(e,i){return i&&!v.useDefault&&t(e).data("selected",!0),v._set.apply(this,arguments)};var b=null,w=function(){try{return new Event("change"),!0}catch(t){return!1}}();function y(t,e,i,s){for(var o=["display","subtext","tokens"],n=!1,r=0;r<o.length;r++){var a=o[r],l=t[a];if(l&&(l=l.toString(),"display"===a&&(l=l.replace(/<[^>]+>/g,"")),s&&(l=C(l)),l=l.toUpperCase(),n="contains"===i?l.indexOf(e)>=0:l.startsWith(e)))break}return n}function S(t){return parseInt(t,10)||0}t.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(w?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var k={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},x=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,A=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function T(t){return k[t]}function C(t){return(t=t.toString())&&t.replace(x,T).replace(A,"")}var _,I,E,z,$,L=(_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},I=function(t){return _[t]},E="(?:"+Object.keys(_).join("|")+")",z=RegExp(E),$=RegExp(E,"g"),function(t){return t=null==t?"":""+t,z.test(t)?t.replace($,I):t}),P={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},F=27,O=13,H=32,V=9,N=38,D=40,M={success:!1,major:"3"};try{M.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),M.major=M.full[0],M.success=!0}catch(t){}var R=0,W=".bs.select",B={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},U={MENU:"."+B.MENU},j={span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};j.a.setAttribute("role","option"),"4"===M.major&&(j.a.className="dropdown-item"),j.subtext.className="text-muted",j.text=j.span.cloneNode(!1),j.text.className="text",j.checkMark=j.span.cloneNode(!1);var Z=new RegExp(N+"|"+D),G=new RegExp("^"+V+"$|"+F),q={li:function(t,e,i){var s=j.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?s.appendChild(t):s.innerHTML=t),void 0!==e&&""!==e&&(s.className=e),null!=i&&s.classList.add("optgroup-"+i),s},a:function(t,e,i){var s=j.a.cloneNode(!0);return t&&(11===t.nodeType?s.appendChild(t):s.insertAdjacentHTML("beforeend",t)),void 0!==e&&""!==e&&s.classList.add.apply(s.classList,e.split(" ")),i&&s.setAttribute("style",i),s},text:function(t,e){var i,s,o=j.text.cloneNode(!1);if(t.content)o.innerHTML=t.content;else{if(o.textContent=t.text,t.icon){var n=j.whitespace.cloneNode(!1);(s=(!0===e?j.i:j.span).cloneNode(!1)).className=this.options.iconBase+" "+t.icon,j.fragment.appendChild(s),j.fragment.appendChild(n)}t.subtext&&((i=j.subtext.cloneNode(!1)).textContent=t.subtext,o.appendChild(i))}if(!0===e)for(;o.childNodes.length>0;)j.fragment.appendChild(o.childNodes[0]);else j.fragment.appendChild(o);return j.fragment},label:function(t){var e,i,s=j.text.cloneNode(!1);if(s.innerHTML=t.display,t.icon){var o=j.whitespace.cloneNode(!1);(i=j.span.cloneNode(!1)).className=this.options.iconBase+" "+t.icon,j.fragment.appendChild(i),j.fragment.appendChild(o)}return t.subtext&&((e=j.subtext.cloneNode(!1)).textContent=t.subtext,s.appendChild(e)),j.fragment.appendChild(s),j.fragment}},K=function(e,i){var s=this;v.useDefault||(t.valHooks.select.set=v._set,v.useDefault=!0),this.$element=t(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){s.selectpicker.keydown.keyHistory=""},800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title"));var o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),this.val=K.prototype.val,this.render=K.prototype.render,this.refresh=K.prototype.refresh,this.setStyle=K.prototype.setStyle,this.selectAll=K.prototype.selectAll,this.deselectAll=K.prototype.deselectAll,this.destroy=K.prototype.destroy,this.remove=K.prototype.remove,this.show=K.prototype.show,this.hide=K.prototype.hide,this.init()};function Y(i){var s,o=arguments,n=i;if([].shift.apply(o),!M.success){try{M.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(t){K.BootstrapVersion?M.full=K.BootstrapVersion.split(" ")[0].split("."):(M.full=[M.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",t))}M.major=M.full[0],M.success=!0}if("4"===M.major){var r=[];K.DEFAULTS.style===B.BUTTONCLASS&&r.push({name:"style",className:"BUTTONCLASS"}),K.DEFAULTS.iconBase===B.ICONBASE&&r.push({name:"iconBase",className:"ICONBASE"}),K.DEFAULTS.tickIcon===B.TICKICON&&r.push({name:"tickIcon",className:"TICKICON"}),B.DIVIDER="dropdown-divider",B.SHOW="show",B.BUTTONCLASS="btn-light",B.POPOVERHEADER="popover-header",B.ICONBASE="",B.TICKICON="bs-ok-default";for(var a=0;a<r.length;a++){i=r[a];K.DEFAULTS[i.name]=B[i.className]}}var l=this.each(function(){var i=t(this);if(i.is("select")){var r=i.data("selectpicker"),a="object"==typeof n&&n;if(r){if(a)for(var l in a)a.hasOwnProperty(l)&&(r.options[l]=a[l])}else{var d=i.data();for(var c in d)d.hasOwnProperty(c)&&-1!==t.inArray(c,e)&&delete d[c];var h=t.extend({},K.DEFAULTS,t.fn.selectpicker.defaults||{},d,a);h.template=t.extend({},K.DEFAULTS.template,t.fn.selectpicker.defaults?t.fn.selectpicker.defaults.template:{},d.template,a.template),i.data("selectpicker",r=new K(this,h))}"string"==typeof n&&(s=r[n]instanceof Function?r[n].apply(r,o):r.options[n])}});return void 0!==s?s:l}K.VERSION="1.13.14",K.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:B.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:B.ICONBASE,tickIcon:B.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:s},K.prototype={constructor:K,init:function(){var t=this,e=this.$element.attr("id");R++,this.selectId="bs-select-"+R,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(U.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(B.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide.bs.select",function(){if(t.isVirtual()){var e=t.$menuInner[0],i=e.firstChild.cloneNode(!1);e.replaceChild(i,e.firstChild),e.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$element.trigger("hide.bs.select",e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden.bs.select",e)},"show.bs.dropdown":function(e){t.$element.trigger("show.bs.select",e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown.bs.select",e)}}),t.$element[0].hasAttribute("required")&&this.$element.on("invalid.bs.select",function(){t.$button[0].classList.add("bs-invalid"),t.$element.on("shown.bs.select.invalid",function(){t.$element.val(t.$element.val()).off("shown.bs.select.invalid")}).on("rendered.bs.select",function(){this.validity.valid&&t.$button[0].classList.remove("bs-invalid"),t.$element.off("rendered.bs.select")}),t.$button.on("blur.bs.select",function(){t.$element.trigger("focus").trigger("blur"),t.$button.off("blur.bs.select")})}),setTimeout(function(){t.buildList(),t.$element.trigger("loaded.bs.select")})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",i=this.multiple?' aria-multiselectable="true"':"",s="",o=this.autofocus?" autofocus":"";M.major<4&&this.$element.parent().hasClass("input-group")&&(s=" input-group-btn");var n,r="",a="",l="",d="";return this.options.header&&(r='<div class="'+B.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(a='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+L(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(l='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+B.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+B.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(d='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+B.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),n='<div class="dropdown bootstrap-select'+e+s+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+o+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===M.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+B.MENU+" "+("4"===M.major?"":B.SHOW)+'">'+r+a+l+'<div class="inner '+B.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+i+'><ul class="'+B.MENU+" inner "+("4"===M.major?B.SHOW:"")+'" role="presentation"></ul></div>'+d+"</div></div>",t(n)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0;for(var t=0;t<this.selectpicker.current.data.length;t++){var e=this.selectpicker.current.data[t],i=!0;"divider"===e.type?(i=!1,e.height=this.sizeInfo.dividerHeight):"optgroup-label"===e.type?(i=!1,e.height=this.sizeInfo.dropdownHeaderHeight):e.height=this.sizeInfo.liHeight,e.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,e.posinset=this.selectpicker.view.size),e.position=(0===t?0:this.selectpicker.current.data[t-1].position)+e.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(e,i,s){var o,n,r=this,l=0,d=[];if(this.selectpicker.isSearching=e,this.selectpicker.current=e?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),i)if(s)l=this.$menuInner[0].scrollTop;else if(!r.multiple){var c=r.$element[0],h=(c.options[c.selectedIndex]||{}).liIndex;if("number"==typeof h&&!1!==r.options.size){var u=r.selectpicker.main.data[h],p=u&&u.position;p&&(l=p-(r.sizeInfo.menuInnerHeight+r.sizeInfo.liHeight)/2)}}function f(t,i){var s,l,c,h,u,p,f,m,g,v,b=r.selectpicker.current.elements.length,w=[],y=!0,S=r.isVirtual();r.selectpicker.view.scrollTop=t,s=Math.ceil(r.sizeInfo.menuInnerHeight/r.sizeInfo.liHeight*1.5),l=Math.round(b/s)||1;for(var k=0;k<l;k++){var x=(k+1)*s;if(k===l-1&&(x=b),w[k]=[k*s+(k?1:0),x],!b)break;void 0===u&&t-1<=r.selectpicker.current.data[x-1].position-r.sizeInfo.menuInnerHeight&&(u=k)}if(void 0===u&&(u=0),p=[r.selectpicker.view.position0,r.selectpicker.view.position1],c=Math.max(0,u-1),h=Math.min(l-1,u+1),r.selectpicker.view.position0=!1===S?0:Math.max(0,w[c][0])||0,r.selectpicker.view.position1=!1===S?b:Math.min(b,w[h][1])||0,f=p[0]!==r.selectpicker.view.position0||p[1]!==r.selectpicker.view.position1,void 0!==r.activeIndex&&(n=r.selectpicker.main.elements[r.prevActiveIndex],d=r.selectpicker.main.elements[r.activeIndex],o=r.selectpicker.main.elements[r.selectedIndex],i&&(r.activeIndex!==r.selectedIndex&&r.defocusItem(d),r.activeIndex=void 0),r.activeIndex&&r.activeIndex!==r.selectedIndex&&r.defocusItem(o)),void 0!==r.prevActiveIndex&&r.prevActiveIndex!==r.activeIndex&&r.prevActiveIndex!==r.selectedIndex&&r.defocusItem(n),(i||f)&&(m=r.selectpicker.view.visibleElements?r.selectpicker.view.visibleElements.slice():[],r.selectpicker.view.visibleElements=!1===S?r.selectpicker.current.elements:r.selectpicker.current.elements.slice(r.selectpicker.view.position0,r.selectpicker.view.position1),r.setOptionStatus(),(e||!1===S&&i)&&(g=m,v=r.selectpicker.view.visibleElements,y=!(g.length===v.length&&g.every(function(t,e){return t===v[e]}))),(i||!0===S)&&y)){var A,T,C=r.$menuInner[0],_=document.createDocumentFragment(),I=C.firstChild.cloneNode(!1),E=r.selectpicker.view.visibleElements,z=[];C.replaceChild(I,C.firstChild);k=0;for(var $=E.length;k<$;k++){var L,P,F=E[k];r.options.sanitize&&(L=F.lastChild)&&(P=r.selectpicker.current.data[k+r.selectpicker.view.position0])&&P.content&&!P.sanitized&&(z.push(L),P.sanitized=!0),_.appendChild(F)}if(r.options.sanitize&&z.length&&a(z,r.options.whiteList,r.options.sanitizeFn),!0===S?(A=0===r.selectpicker.view.position0?0:r.selectpicker.current.data[r.selectpicker.view.position0-1].position,T=r.selectpicker.view.position1>b-1?0:r.selectpicker.current.data[b-1].position-r.selectpicker.current.data[r.selectpicker.view.position1-1].position,C.firstChild.style.marginTop=A+"px",C.firstChild.style.marginBottom=T+"px"):(C.firstChild.style.marginTop=0,C.firstChild.style.marginBottom=0),C.firstChild.appendChild(_),!0===S&&r.sizeInfo.hasScrollBar){var O=C.firstChild.offsetWidth;if(i&&O<r.sizeInfo.menuInnerInnerWidth&&r.sizeInfo.totalMenuWidth>r.sizeInfo.selectWidth)C.firstChild.style.minWidth=r.sizeInfo.menuInnerInnerWidth+"px";else if(O>r.sizeInfo.menuInnerInnerWidth){r.$menu[0].style.minWidth=0;var H=C.firstChild.offsetWidth;H>r.sizeInfo.menuInnerInnerWidth&&(r.sizeInfo.menuInnerInnerWidth=H,C.firstChild.style.minWidth=r.sizeInfo.menuInnerInnerWidth+"px"),r.$menu[0].style.minWidth=""}}}if(r.prevActiveIndex=r.activeIndex,r.options.liveSearch){if(e&&i){var V,N=0;r.selectpicker.view.canHighlight[N]||(N=1+r.selectpicker.view.canHighlight.slice(1).indexOf(!0)),V=r.selectpicker.view.visibleElements[N],r.defocusItem(r.selectpicker.view.currentActive),r.activeIndex=(r.selectpicker.current.data[N]||{}).index,r.focusItem(V)}}else r.$menuInner.trigger("focus")}f(l,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){r.noScroll||f(this.scrollTop,e),r.noScroll=!1}),t(window).off("resize.bs.select."+this.selectId+".createView").on("resize.bs.select."+this.selectId+".createView",function(){r.$newElement.hasClass(B.SHOW)&&f(r.$menuInner[0].scrollTop)})},focusItem:function(t,e,i){if(t){e=e||this.selectpicker.main.data[this.activeIndex];var s=t.firstChild;s&&(s.setAttribute("aria-setsize",this.selectpicker.view.size),s.setAttribute("aria-posinset",e.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",s.id),t.classList.add("active"),s.classList.add("active")))}},defocusItem:function(t){t&&(t.classList.remove("active"),t.firstChild&&t.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=!0;var i=this.$element[0],s=!1,o=!this.selectpicker.view.titleOption.parentNode;if(o)this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",s=void 0===t(i.options[i.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected");(o||0!==this.selectpicker.view.titleOption.index)&&i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),s&&(i.selectedIndex=0)}return e},buildData:function(){var t=':not([hidden]):not([data-hidden="true"])',e=[],i=0,s=this.setPlaceholder()?1:0;this.options.hideDisabled&&(t+=":not(:disabled)");var o=this.$element[0].querySelectorAll("select > *"+t);function n(t){var i=e[e.length-1];i&&"divider"===i.type&&(i.optID||t.optID)||((t=t||{}).type="divider",e.push(t))}function r(t,i){if((i=i||{}).divider="true"===t.getAttribute("data-divider"),i.divider)n({optID:i.optID});else{var s=e.length,o=t.style.cssText,r=o?L(o):"",a=(t.className||"")+(i.optgroupClass||"");i.optID&&(a="opt "+a),i.optionClass=a.trim(),i.inlineStyle=r,i.text=t.textContent,i.content=t.getAttribute("data-content"),i.tokens=t.getAttribute("data-tokens"),i.subtext=t.getAttribute("data-subtext"),i.icon=t.getAttribute("data-icon"),t.liIndex=s,i.display=i.content||i.text,i.type="option",i.index=s,i.option=t,i.selected=!!t.selected,i.disabled=i.disabled||!!t.disabled,e.push(i)}}function a(s,o){var a=o[s],l=o[s-1],d=o[s+1],c=a.querySelectorAll("option"+t);if(c.length){var h,u,p={display:L(a.label),subtext:a.getAttribute("data-subtext"),icon:a.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(a.className||"")};i++,l&&n({optID:i}),p.optID=i,e.push(p);for(var f=0,m=c.length;f<m;f++){var g=c[f];0===f&&(u=(h=e.length-1)+m),r(g,{headerIndex:h,lastIndex:u,optID:p.optID,optgroupClass:p.optgroupClass,disabled:a.disabled})}d&&n({optID:i})}}for(var l=o.length;s<l;s++){var d=o[s];"OPTGROUP"!==d.tagName?r(d,{}):a(s,o)}this.selectpicker.main.data=this.selectpicker.current.data=e},buildList:function(){var t=this,e=this.selectpicker.main.data,i=[],s=0;function o(e){var o,n=0;switch(e.type){case"divider":o=q.li(!1,B.DIVIDER,e.optID?e.optID+"div":void 0);break;case"option":(o=q.li(q.a(q.text.call(t,e),e.optionClass,e.inlineStyle),"",e.optID)).firstChild&&(o.firstChild.id=t.selectId+"-"+e.index);break;case"optgroup-label":o=q.li(q.label.call(t,e),"dropdown-header"+e.optgroupClass,e.optID)}i.push(o),e.display&&(n+=e.display.length),e.subtext&&(n+=e.subtext.length),e.icon&&(n+=1),n>s&&(s=n,t.selectpicker.view.widestOption=i[i.length-1])}!t.options.showTick&&!t.multiple||j.checkMark.parentNode||(j.checkMark.className=this.options.iconBase+" "+t.options.tickIcon+" check-mark",j.a.appendChild(j.checkMark));for(var n=e.length,r=0;r<n;r++){o(e[r])}this.selectpicker.main.elements=this.selectpicker.current.elements=i},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var t,e,i=this.$element[0],s=this.setPlaceholder()&&0===i.selectedIndex,o=m(i,this.options.hideDisabled),n=o.length,r=this.$button[0],l=r.querySelector(".filter-option-inner-inner"),d=document.createTextNode(this.options.multipleSeparator),c=j.fragment.cloneNode(!1),h=!1;if(r.classList.toggle("bs-placeholder",this.multiple?!n:!g(i,o)),this.tabIndex(),"static"===this.options.selectedTextFormat)c=q.text.call(this,{text:this.options.title},!0);else if((t=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&n>1)&&(t=(e=this.options.selectedTextFormat.split(">")).length>1&&n>e[1]||1===e.length&&n>=2),!1===t){if(!s){for(var u=0;u<n&&u<50;u++){var p=o[u],f=this.selectpicker.main.data[p.liIndex],v={};this.multiple&&u>0&&c.appendChild(d.cloneNode(!1)),p.title?v.text=p.title:f&&(f.content&&this.options.showContent?(v.content=f.content.toString(),h=!0):(this.options.showIcon&&(v.icon=f.icon),this.options.showSubtext&&!this.multiple&&f.subtext&&(v.subtext=" "+f.subtext),v.text=p.textContent.trim())),c.appendChild(q.text.call(this,v,!0))}n>49&&c.appendChild(document.createTextNode("..."))}}else{var b=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(b+=":not(:disabled)");var w=this.$element[0].querySelectorAll("select > option"+b+", optgroup"+b+" option"+b).length,y="function"==typeof this.options.countSelectedText?this.options.countSelectedText(n,w):this.options.countSelectedText;c=q.text.call(this,{text:y.replace("{0}",n.toString()).replace("{1}",w.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),c.childNodes.length||(c=q.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),r.title=c.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&h&&a([c],this.options.whiteList,this.options.sanitizeFn),l.innerHTML="",l.appendChild(c),M.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var S=r.querySelector(".filter-expand"),k=l.cloneNode(!0);k.className="filter-expand",S?r.replaceChild(k,S):r.appendChild(k)}this.$element.trigger("rendered.bs.select")},setStyle:function(t,e){var i,s=this.$button[0],o=this.$newElement[0],n=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),M.major<4&&(o.classList.add("bs3"),o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),i=t?t.trim():n,"add"==e?i&&s.classList.add.apply(s.classList,i.split(" ")):"remove"==e?i&&s.classList.remove.apply(s.classList,i.split(" ")):(n&&s.classList.remove.apply(s.classList,n.split(" ")),i&&s.classList.add.apply(s.classList,i.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var i=document.createElement("div"),s=document.createElement("div"),o=document.createElement("div"),n=document.createElement("ul"),r=document.createElement("li"),a=document.createElement("li"),l=document.createElement("li"),d=document.createElement("a"),c=document.createElement("span"),h=this.options.header&&this.$menu.find("."+B.POPOVERHEADER).length>0?this.$menu.find("."+B.POPOVERHEADER)[0].cloneNode(!0):null,u=this.options.liveSearch?document.createElement("div"):null,p=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,f=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,c.className="text",d.className="dropdown-item "+(m?m.className:""),i.className=this.$menu[0].parentNode.className+" "+B.SHOW,i.style.width=0,"auto"===this.options.width&&(s.style.minWidth=0),s.className=B.MENU+" "+B.SHOW,o.className="inner "+B.SHOW,n.className=B.MENU+" inner "+("4"===M.major?B.SHOW:""),r.className=B.DIVIDER,a.className="dropdown-header",c.appendChild(document.createTextNode("​")),d.appendChild(c),l.appendChild(d),a.appendChild(c.cloneNode(!0)),this.selectpicker.view.widestOption&&n.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),n.appendChild(l),n.appendChild(r),n.appendChild(a),h&&s.appendChild(h),u){var g=document.createElement("input");u.className="bs-searchbox",g.className="form-control",u.appendChild(g),s.appendChild(u)}p&&s.appendChild(p),o.appendChild(n),s.appendChild(o),f&&s.appendChild(f),i.appendChild(s),document.body.appendChild(i);var v,b=l.offsetHeight,w=a?a.offsetHeight:0,y=h?h.offsetHeight:0,k=u?u.offsetHeight:0,x=p?p.offsetHeight:0,A=f?f.offsetHeight:0,T=t(r).outerHeight(!0),C=!!window.getComputedStyle&&window.getComputedStyle(s),_=s.offsetWidth,I=C?null:t(s),E={vert:S(C?C.paddingTop:I.css("paddingTop"))+S(C?C.paddingBottom:I.css("paddingBottom"))+S(C?C.borderTopWidth:I.css("borderTopWidth"))+S(C?C.borderBottomWidth:I.css("borderBottomWidth")),horiz:S(C?C.paddingLeft:I.css("paddingLeft"))+S(C?C.paddingRight:I.css("paddingRight"))+S(C?C.borderLeftWidth:I.css("borderLeftWidth"))+S(C?C.borderRightWidth:I.css("borderRightWidth"))},z={vert:E.vert+S(C?C.marginTop:I.css("marginTop"))+S(C?C.marginBottom:I.css("marginBottom"))+2,horiz:E.horiz+S(C?C.marginLeft:I.css("marginLeft"))+S(C?C.marginRight:I.css("marginRight"))+2};o.style.overflowY="scroll",v=s.offsetWidth-_,document.body.removeChild(i),this.sizeInfo.liHeight=b,this.sizeInfo.dropdownHeaderHeight=w,this.sizeInfo.headerHeight=y,this.sizeInfo.searchHeight=k,this.sizeInfo.actionsHeight=x,this.sizeInfo.doneButtonHeight=A,this.sizeInfo.dividerHeight=T,this.sizeInfo.menuPadding=E,this.sizeInfo.menuExtras=z,this.sizeInfo.menuWidth=_,this.sizeInfo.menuInnerInnerWidth=_-E.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=v,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,i=t(window),s=this.$newElement.offset(),o=t(this.options.container);this.options.container&&o.length&&!o.is("body")?((e=o.offset()).top+=parseInt(o.css("borderTopWidth")),e.left+=parseInt(o.css("borderLeftWidth"))):e={top:0,left:0};var n=this.options.windowPadding;this.sizeInfo.selectOffsetTop=s.top-e.top-i.scrollTop(),this.sizeInfo.selectOffsetBot=i.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-n[2],this.sizeInfo.selectOffsetLeft=s.left-e.left-i.scrollLeft(),this.sizeInfo.selectOffsetRight=i.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-n[1],this.sizeInfo.selectOffsetTop-=n[0],this.sizeInfo.selectOffsetLeft-=n[3]},setMenuSize:function(t){this.getSelectPosition();var e,i,s,o,n,r,a,l,d=this.sizeInfo.selectWidth,c=this.sizeInfo.liHeight,h=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,p=this.sizeInfo.actionsHeight,f=this.sizeInfo.doneButtonHeight,m=this.sizeInfo.dividerHeight,g=this.sizeInfo.menuPadding,v=0;if(this.options.dropupAuto&&(a=c*this.selectpicker.current.elements.length+g.vert,l=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(l=this.selectpicker.dropup),this.$newElement.toggleClass(B.DROPUP,l),this.selectpicker.dropup=l),"auto"===this.options.size)o=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,s=o+h+u+p+f,r=Math.max(o-g.vert,0),this.$newElement.hasClass(B.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),n=i,e=i-h-u-p-f-g.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var b=0;b<this.options.size;b++)"divider"===this.selectpicker.current.data[b].type&&v++;e=(i=c*this.options.size+v*m+g.vert)-g.vert,n=i+h+u+p+f,s=r=""}this.$menu.css({"max-height":n+"px",overflow:"hidden","min-height":s+"px"}),this.$menuInner.css({"max-height":e+"px","overflow-y":"auto","min-height":r+"px"}),this.sizeInfo.menuInnerHeight=Math.max(e,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(B.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-d),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var i=this,s=t(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()}),"auto"===this.options.size?s.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize").on("resize.bs.select."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&s.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,e)},setWidth:function(){var t=this;"auto"===this.options.width?requestAnimationFrame(function(){t.$menu.css("min-width","0"),t.$element.on("loaded.bs.select",function(){t.liHeight(),t.setMenuSize();var e=t.$newElement.clone().appendTo("body"),i=e.css("width","auto").children("button").outerWidth();e.remove(),t.sizeInfo.selectWidth=Math.max(t.sizeInfo.totalMenuWidth,i),t.$newElement.css("width",t.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=t('<div class="bs-container" />');var e,i,s,o=this,n=t(this.options.container),r=function(r){var a={},l=o.options.display||!!t.fn.dropdown.Constructor.Default&&t.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(r.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(B.DROPUP,r.hasClass(B.DROPUP)),e=r.offset(),n.is("body")?i={top:0,left:0}:((i=n.offset()).top+=parseInt(n.css("borderTopWidth"))-n.scrollTop(),i.left+=parseInt(n.css("borderLeftWidth"))-n.scrollLeft()),s=r.hasClass(B.DROPUP)?0:r[0].offsetHeight,(M.major<4||"static"===l)&&(a.top=e.top-i.top+s,a.left=e.left-i.left),a.width=r[0].offsetWidth,o.$bsContainer.css(a)};this.$button.on("click.bs.dropdown.data-api",function(){o.isDisabled()||(r(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(B.SHOW,!o.$button.hasClass(B.SHOW)).append(o.$menu))}),t(window).off("resize.bs.select."+this.selectId+" scroll"+W+"."+this.selectId).on("resize.bs.select."+this.selectId+" scroll"+W+"."+this.selectId,function(){o.$newElement.hasClass(B.SHOW)&&r(o.$newElement)}),this.$element.on("hide.bs.select",function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setOptionStatus:function(t){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e<this.selectpicker.view.visibleElements.length;e++){var i=this.selectpicker.current.data[e+this.selectpicker.view.position0],s=i.option;s&&(!0!==t&&this.setDisabled(i.index,i.disabled),this.setSelected(i.index,s.selected))}},setSelected:function(t,e){var i,s,o=this.selectpicker.main.elements[t],n=this.selectpicker.main.data[t],r=void 0!==this.activeIndex,a=this.activeIndex===t||e&&!this.multiple&&!r;n.selected=e,s=o.firstChild,e&&(this.selectedIndex=t),o.classList.toggle("selected",e),a?(this.focusItem(o,n),this.selectpicker.view.currentActive=o,this.activeIndex=t):this.defocusItem(o),s&&(s.classList.toggle("selected",e),e?s.setAttribute("aria-selected",!0):this.multiple?s.setAttribute("aria-selected",!1):s.removeAttribute("aria-selected")),a||r||!e||void 0===this.prevActiveIndex||(i=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(i))},setDisabled:function(t,e){var i,s=this.selectpicker.main.elements[t];this.selectpicker.main.data[t].disabled=e,i=s.firstChild,s.classList.toggle(B.DISABLED,e),i&&("4"===M.major&&i.classList.toggle(B.DISABLED,e),e?(i.setAttribute("aria-disabled",e),i.setAttribute("tabindex",-1)):(i.removeAttribute("aria-disabled"),i.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(B.DISABLED),this.$button.addClass(B.DISABLED).attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button[0].classList.contains(B.DISABLED)&&(this.$newElement[0].classList.remove(B.DISABLED),this.$button.removeClass(B.DISABLED).attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex"))},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var e=this,i=t(document);function s(){e.options.liveSearch?e.$searchbox.trigger("focus"):e.$menuInner.trigger("focus")}function o(){e.dropdown&&e.dropdown._popper&&e.dropdown._popper.state.isCreated?s():requestAnimationFrame(o)}i.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&i.data("spaceSelect")&&(t.preventDefault(),i.data("spaceSelect",!1))}),this.$newElement.on("show.bs.dropdown",function(){M.major>3&&!e.dropdown&&(e.dropdown=e.$button.data("bs.dropdown"),e.dropdown._menu=e.$menu[0])}),this.$button.on("click.bs.dropdown.data-api",function(){e.$newElement.hasClass(B.SHOW)||e.setSize()}),this.$element.on("shown.bs.select",function(){e.$menuInner[0].scrollTop!==e.selectpicker.view.scrollTop&&(e.$menuInner[0].scrollTop=e.selectpicker.view.scrollTop),M.major>3?requestAnimationFrame(o):s()}),this.$menuInner.on("mouseenter","li a",function(t){var i=this.parentElement,s=e.isVirtual()?e.selectpicker.view.position0:0,o=Array.prototype.indexOf.call(i.parentElement.children,i),n=e.selectpicker.current.data[o+s];e.focusItem(i,n,!0)}),this.$menuInner.on("click","li a",function(i,s){var o=t(this),n=e.$element[0],r=e.isVirtual()?e.selectpicker.view.position0:0,a=e.selectpicker.current.data[o.parent().index()+r],l=a.index,d=g(n),c=n.selectedIndex,h=n.options[c],u=!0;if(e.multiple&&1!==e.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!e.isDisabled()&&!o.parent().hasClass(B.DISABLED)){var p=a.option,f=t(p),v=p.selected,w=f.parent("optgroup"),y=w.find("option"),S=e.options.maxOptions,k=w.data("maxOptions")||!1;if(l===e.activeIndex&&(s=!0),s||(e.prevActiveIndex=e.activeIndex,e.activeIndex=void 0),e.multiple){if(p.selected=!v,e.setSelected(l,!v),o.trigger("blur"),!1!==S||!1!==k){var x=S<m(n).length,A=k<w.find("option:selected").length;if(S&&x||k&&A)if(S&&1==S)n.selectedIndex=-1,p.selected=!0,e.setOptionStatus(!0);else if(k&&1==k){for(var T=0;T<y.length;T++){var C=y[T];C.selected=!1,e.setSelected(C.liIndex,!1)}p.selected=!0,e.setSelected(l,!0)}else{var _="string"==typeof e.options.maxOptionsText?[e.options.maxOptionsText,e.options.maxOptionsText]:e.options.maxOptionsText,I="function"==typeof _?_(S,k):_,E=I[0].replace("{n}",S),z=I[1].replace("{n}",k),$=t('<div class="notify"></div>');I[2]&&(E=E.replace("{var}",I[2][S>1?0:1]),z=z.replace("{var}",I[2][k>1?0:1])),p.selected=!1,e.$menu.append($),S&&x&&($.append(t("<div>"+E+"</div>")),u=!1,e.$element.trigger("maxReached.bs.select")),k&&A&&($.append(t("<div>"+z+"</div>")),u=!1,e.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){e.setSelected(l,!1)},10),$[0].classList.add("fadeOut"),setTimeout(function(){$.remove()},1050)}}}else h&&(h.selected=!1),p.selected=!0,e.setSelected(l,!0);!e.multiple||e.multiple&&1===e.options.maxOptions?e.$button.trigger("focus"):e.options.liveSearch&&e.$searchbox.trigger("focus"),u&&(e.multiple||c!==n.selectedIndex)&&(b=[p.index,f.prop("selected"),d],e.$element.triggerNative("change"))}}),this.$menu.on("click","li."+B.DISABLED+" a, ."+B.POPOVERHEADER+", ."+B.POPOVERHEADER+" :not(.close)",function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),e.options.liveSearch&&!t(i.target).hasClass("close")?e.$searchbox.trigger("focus"):e.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),e.options.liveSearch?e.$searchbox.trigger("focus"):e.$button.trigger("focus")}),this.$menu.on("click","."+B.POPOVERHEADER+" .close",function(){e.$button.trigger("click")}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(i){e.options.liveSearch?e.$searchbox.trigger("focus"):e.$button.trigger("focus"),i.preventDefault(),i.stopPropagation(),t(this).hasClass("bs-select-all")?e.selectAll():e.deselectAll()}),this.$element.on("change.bs.select",function(){e.render(),e.$element.trigger("changed.bs.select",b),b=null}).on("focus.bs.select",function(){e.options.mobile||e.$button.trigger("focus")})},liveSearchListener:function(){var t=this,e=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){t.$searchbox.val()&&t.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var i=t.$searchbox.val();if(t.selectpicker.search.elements=[],t.selectpicker.search.data=[],i){var s=[],o=i.toUpperCase(),n={},r=[],a=t._searchStyle(),l=t.options.liveSearchNormalize;l&&(o=C(o));for(var d=0;d<t.selectpicker.main.data.length;d++){var c=t.selectpicker.main.data[d];n[d]||(n[d]=y(c,o,a,l)),n[d]&&void 0!==c.headerIndex&&-1===r.indexOf(c.headerIndex)&&(c.headerIndex>0&&(n[c.headerIndex-1]=!0,r.push(c.headerIndex-1)),n[c.headerIndex]=!0,r.push(c.headerIndex),n[c.lastIndex+1]=!0),n[d]&&"optgroup-label"!==c.type&&r.push(d)}d=0;for(var h=r.length;d<h;d++){var u=r[d],p=r[d-1],f=(c=t.selectpicker.main.data[u],t.selectpicker.main.data[p]);("divider"!==c.type||"divider"===c.type&&f&&"divider"!==f.type&&h-1!==d)&&(t.selectpicker.search.data.push(c),s.push(t.selectpicker.main.elements[u]))}t.activeIndex=void 0,t.noScroll=!0,t.$menuInner.scrollTop(0),t.selectpicker.search.elements=s,t.createView(!0),s.length||(e.className="no-results",e.innerHTML=t.options.noneResultsText.replace("{0}",'"'+L(i)+'"'),t.$menuInner[0].firstChild.appendChild(e))}else t.$menuInner.scrollTop(0),t.createView(!1)})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(t){var e=this.$element[0];if(void 0!==t){var i=g(e);if(b=[null,null,i],this.$element.val(t).trigger("changed.bs.select",b),this.$newElement.hasClass(B.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var s=(e.options[e.selectedIndex]||{}).liIndex;"number"==typeof s&&(this.setSelected(this.selectedIndex,!1),this.setSelected(s,!0))}return this.render(),b=null,this.$element}return this.$element.val()},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0);var e=this.$element[0],i=0,s=0,o=g(e);e.classList.add("bs-select-hidden");for(var n=0,r=this.selectpicker.current.data,a=r.length;n<a;n++){var l=r[n],d=l.option;d&&!l.disabled&&"divider"!==l.type&&(l.selected&&i++,d.selected=t,!0===t&&s++)}e.classList.remove("bs-select-hidden"),i!==s&&(this.setOptionStatus(),b=[null,null,o],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){(t=t||window.event)&&t.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(e){var i,s,o,n,r,a=t(this),l=a.hasClass("dropdown-toggle"),d=(l?a.closest(".dropdown"):a.closest(U.MENU)).data("this"),c=d.findLis(),h=!1,u=e.which===V&&!l&&!d.options.selectOnTab,p=Z.test(e.which)||u,f=d.$menuInner[0].scrollTop,m=!0===d.isVirtual()?d.selectpicker.view.position0:0;if(!(e.which>=112&&e.which<=123))if(!(s=d.$newElement.hasClass(B.SHOW))&&(p||e.which>=48&&e.which<=57||e.which>=96&&e.which<=105||e.which>=65&&e.which<=90)&&(d.$button.trigger("click.bs.dropdown.data-api"),d.options.liveSearch))d.$searchbox.trigger("focus");else{if(e.which===F&&s&&(e.preventDefault(),d.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),p){if(!c.length)return;-1!==(i=(o=d.selectpicker.main.elements[d.activeIndex])?Array.prototype.indexOf.call(o.parentElement.children,o):-1)&&d.defocusItem(o),e.which===N?(-1!==i&&i--,i+m<0&&(i+=c.length),d.selectpicker.view.canHighlight[i+m]||-1===(i=d.selectpicker.view.canHighlight.slice(0,i+m).lastIndexOf(!0)-m)&&(i=c.length-1)):(e.which===D||u)&&(++i+m>=d.selectpicker.view.canHighlight.length&&(i=0),d.selectpicker.view.canHighlight[i+m]||(i=i+1+d.selectpicker.view.canHighlight.slice(i+m+1).indexOf(!0))),e.preventDefault();var g=m+i;e.which===N?0===m&&i===c.length-1?(d.$menuInner[0].scrollTop=d.$menuInner[0].scrollHeight,g=d.selectpicker.current.elements.length-1):h=(r=(n=d.selectpicker.current.data[g]).position-n.height)<f:(e.which===D||u)&&(0===i?(d.$menuInner[0].scrollTop=0,g=0):h=(r=(n=d.selectpicker.current.data[g]).position-d.sizeInfo.menuInnerHeight)>f),o=d.selectpicker.current.elements[g],d.activeIndex=d.selectpicker.current.data[g].index,d.focusItem(o),d.selectpicker.view.currentActive=o,h&&(d.$menuInner[0].scrollTop=r),d.options.liveSearch?d.$searchbox.trigger("focus"):a.trigger("focus")}else if(!a.is("input")&&!G.test(e.which)||e.which===H&&d.selectpicker.keydown.keyHistory){var v,b,w=[];e.preventDefault(),d.selectpicker.keydown.keyHistory+=P[e.which],d.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(d.selectpicker.keydown.resetKeyHistory.cancel),d.selectpicker.keydown.resetKeyHistory.cancel=d.selectpicker.keydown.resetKeyHistory.start(),b=d.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(b)&&(b=b.charAt(0));for(var S=0;S<d.selectpicker.current.data.length;S++){var k=d.selectpicker.current.data[S];y(k,b,"startsWith",!0)&&d.selectpicker.view.canHighlight[S]&&w.push(k.index)}if(w.length){var x=0;c.removeClass("active").find("a").removeClass("active"),1===b.length&&(-1===(x=w.indexOf(d.activeIndex))||x===w.length-1?x=0:x++),v=w[x],f-(n=d.selectpicker.main.data[v]).position>0?(r=n.position-n.height,h=!0):(r=n.position-d.sizeInfo.menuInnerHeight,h=n.position>f+d.sizeInfo.menuInnerHeight),o=d.selectpicker.main.elements[v],d.activeIndex=w[x],d.focusItem(o),o&&o.firstChild.focus(),h&&(d.$menuInner[0].scrollTop=r),a.trigger("focus")}}s&&(e.which===H&&!d.selectpicker.keydown.keyHistory||e.which===O||e.which===V&&d.options.selectOnTab)&&(e.which!==H&&e.preventDefault(),d.options.liveSearch&&e.which===H||(d.$menuInner.find(".active a").trigger("click",!0),a.trigger("focus"),d.options.liveSearch||(e.preventDefault(),t(document).data("spaceSelect",!0))))}},mobile:function(){this.$element[0].classList.add("mobile-device")},refresh:function(){var e=t.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.setStyle(),this.render(),this.buildData(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(W).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),t(window).off(".bs.select."+this.selectId)}};var Q=t.fn.selectpicker;t.fn.selectpicker=Y,t.fn.selectpicker.Constructor=K,t.fn.selectpicker.noConflict=function(){return t.fn.selectpicker=Q,this};var X=t.fn.dropdown.Constructor._dataApiKeydownHandler||t.fn.dropdown.Constructor.prototype.keydown;t(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',X).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",X).on("keydown.bs.select",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',K.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),t(window).on("load.bs.select.data-api",function(){t(".selectpicker").each(function(){var e=t(this);Y.call(e,e.data())})})}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){"use strict";var e,i,s,o,n,r,a,l,d,c="undefined"!=typeof window?window:this,h={i18n:{modes:["Stack","Swipe","Toggle"],columns:'Col<span class="a11y-sm">umn</span>s',columnBtnText:"Columns",columnsDialogError:"No eligible columns.",sort:"Sort"},mustard:"head"in document&&(!window.blackberry||window.WebKitPoint)&&!window.operamini};h.mustard&&t(document.documentElement).addClass("tablesaw-enhanced"),function(){var e="tablesaw-bar",i={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},s={};h.events=i;var o=function(e){if(!e)throw new Error("Tablesaw requires an element.");this.table=e,this.$table=t(e),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.init()};o.prototype.init=function(){this.$table.attr("id")||this.$table.attr("id","tablesaw-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data("tablesaw",this),this.$table.trigger(i.create,[this])},o.prototype.getConfig=function(e){var i=t.extend(s,e||{});return t.extend(i,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},o.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},o.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!t(this).is("[data-tablesaw-ignorerow]")})},o.prototype._getRowIndex=function(t){return t.prevAll().length},o.prototype._getHeaderRowIndeces=function(){var e=this,i=[];return this._getHeaderRows().each(function(){i.push(e._getRowIndex(t(this)))}),i},o.prototype._getPrimaryHeaderCells=function(t){return(t||this._getPrimaryHeaderRow()).find("th")},o.prototype._findPrimaryHeadersForCell=function(t){for(var e=this._getPrimaryHeaderRow(),i=this._getPrimaryHeaderCells(e),s=this._getRowIndex(e),o=[],n=0;n<this.headerMapping.length;n++)if(n!==s)for(var r=0;r<this.headerMapping[n].length;r++)this.headerMapping[n][r]===t&&o.push(i[r]);return o},o.prototype.getRows=function(){var e=this;return this.$table.find("tr").filter(function(){return t(this).closest("table").is(e.$table)})},o.prototype.getBodyRows=function(e){return(e?t(e):this.$tbody).children().filter("tr")},o.prototype.getHeaderCellIndex=function(t){for(var e=this.headerMapping[0],i=0;i<e.length;i++)if(e[i]===t)return i;return-1},o.prototype._initCells=function(){var e=this.getRows(),i=[];e.each(function(t){i[t]=[]}),e.each(function(e){var s=0;t(this).children().each(function(){for(var t=parseInt(this.getAttribute("colspan"),10),o=parseInt(this.getAttribute("rowspan"),10);i[e][s];)s++;if(i[e][s]=this,t)for(var n=0;n<t-1;n++)s++,i[e][s]=this;if(o)for(var r=1;r<o;r++)i[e+r][s]=this;s++})});for(var s=this._getHeaderRowIndeces(),o=0;o<i[0].length;o++)for(var n=0,r=s.length;n<r;n++){var a,l=i[s[n]][o],d=s[n];for(l.cells||(l.cells=[]);d<i.length;)l!==(a=i[d][o])&&l.cells.push(a),d++}this.headerMapping=i},o.prototype.refresh=function(){this._initCells(),this.$table.trigger(i.refresh,[this])},o.prototype._getToolbarAnchor=function(){var t=this.$table.parent();return t.is(".tablesaw-overflow")?t:this.$table},o.prototype._getToolbar=function(t){return t||(t=this._getToolbarAnchor()),t.prev().filter("."+e)},o.prototype.createToolbar=function(){var i=this._getToolbarAnchor(),s=this._getToolbar(i);s.length||(s=t("<div>").addClass(e).insertBefore(i)),this.$toolbar=s,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},o.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var e=this.$table.attr("id");t(document).off("."+e),t(window).off("."+e),this.$table.trigger(i.destroy,[this]),this.$table.removeData("tablesaw")},t.fn.tablesaw=function(){return this.each(function(){t(this).data("tablesaw")||new o(this)})};var n=t(c.document);n.on("enhance.tablesaw",function(e){h.mustard&&t(e.target).find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]").tablesaw()});var r,a,l=!1;n.on("scroll.tablesaw",function(){l=!0,c.clearTimeout(r),r=c.setTimeout(function(){l=!1},300)}),t(c).on("resize",function(){l||(c.clearTimeout(a),a=c.setTimeout(function(){n.trigger(i.resize)},150))})}(),e="tablesaw-stack",i="tablesaw-cell-label",s="tablesaw-cell-content",o="tablesaw-stack",n="data-tablesaw-no-labels",r="data-tablesaw-hide-empty",(a=function(e,i){this.tablesaw=i,this.$table=t(e),this.labelless=this.$table.is("["+n+"]"),this.hideempty=this.$table.is("["+r+"]"),this.$table.data(o,this)}).prototype.init=function(){if(this.$table.addClass(e),!this.labelless){var o=this;this.$table.find("th, td").filter(function(){return!t(this).closest("thead").length}).filter(function(){return!(t(this).closest("tr").is("["+n+"]")||o.hideempty&&!t(this).html())}).each(function(){var e=t(document.createElement("b")).addClass(i),n=t(this);t(o.tablesaw._findPrimaryHeadersForCell(this)).each(function(i){var s=t(this.cloneNode(!0)),o=s.find(".tablesaw-sortable-btn");s.find(".tablesaw-sortable-arrow").remove();var n=s.find("[data-tablesaw-checkall]");n.closest("label").remove(),n.length?e=t([]):(i>0&&e.append(document.createTextNode(", ")),e.append(o.length?o[0].childNodes:s[0].childNodes))}),e.length&&!n.find("."+s).length&&n.wrapInner("<span class='"+s+"'></span>");var r=n.find("."+i);r.length?r.replaceWith(e):n.prepend(e)})}},a.prototype.destroy=function(){this.$table.removeClass(e),this.$table.find("."+i).remove(),this.$table.find("."+s).each(function(){t(this).replaceWith(this.childNodes)})},t(document).on(h.events.create,function(t,e){"stack"===e.mode&&new a(e.table,e).init()}).on(h.events.refresh,function(e,i){"stack"===i.mode&&t(i.table).data(o).init()}).on(h.events.destroy,function(e,i){"stack"===i.mode&&t(i.table).data(o).destroy()}),l={_create:function(){return t(this).each(function(){t(this).trigger("beforecreate.tablesawbtn").tablesawbtn("_init").trigger("create.tablesawbtn")})},_init:function(){var e=t(this),i=this.getElementsByTagName("select")[0];return i&&t(this).addClass("btn-select tablesaw-btn-select").tablesawbtn("_select",i),e},_select:function(e){var i=function(e,i){var s,o,n=t(i).find("option"),r=document.createElement("span"),a=!1;if(r.setAttribute("aria-hidden","true"),r.innerHTML="&#160;",n.each(function(){this.selected&&(r.innerHTML=this.text)}),o=e.childNodes,n.length>0){for(var l=0,d=o.length;l<d;l++)(s=o[l])&&"SPAN"===s.nodeName.toUpperCase()&&(e.replaceChild(r,s),a=!0);a||e.insertBefore(r,e.firstChild)}};i(this,e),t(this).on("change refresh",function(){i(this,e)})}},t.fn.tablesawbtn=function(e,i,s,o){return this.each(function(){return e&&"string"==typeof e?t.fn.tablesawbtn.prototype[e].call(this,i,s,o):t(this).data("tablesawbtnactive")?t(this):(t(this).data("tablesawbtnactive",!0),void t.fn.tablesawbtn.prototype._create.call(this))})},t.extend(t.fn.tablesawbtn.prototype,l),function(){var e="tablesaw-coltoggle",i=function(i){this.$table=t(i),this.$table.length&&(this.tablesaw=this.$table.data("tablesaw"),this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow",btnTarget:"data-tablesaw-columntoggle-btn-target",set:"data-tablesaw-columntoggle-set"},this.classes={columnToggleTable:"tablesaw-columntoggle",columnBtnContain:"tablesaw-columntoggle-btnwrap tablesaw-advance",columnBtn:"tablesaw-columntoggle-btn tablesaw-nav-btn down",popup:"tablesaw-columntoggle-popup",priorityPrefix:"tablesaw-priority-"},this.set=[],this.$headers=this.tablesaw._getPrimaryHeaderCells(),this.$table.data(e,this))};i.prototype.initSet=function(){var e=this.$table.attr(this.attributes.set);if(e){var i=this.$table[0];this.set=t("table["+this.attributes.set+"='"+e+"']").filter(function(){return this!==i}).get()}},i.prototype.init=function(){if(this.$table.length){var i,s,o,n,r,a,l=this,d=this.tablesaw.getConfig({getColumnToggleLabelTemplate:function(t){return"<label><input type='checkbox' checked>"+t+"</label>"}});this.$table.addClass(this.classes.columnToggleTable),s=(i=this.$table.attr("id"))+"-popup",a=t("<div class='"+this.classes.columnBtnContain+"'></div>"),o=t("<a href='#"+s+"' class='btn tablesaw-btn btn-micro "+this.classes.columnBtn+"' data-popup-link><span>"+h.i18n.columnBtnText+"</span></a>"),n=t("<div class='"+this.classes.popup+"' id='"+s+"'></div>"),r=t("<div class='btn-group'></div>"),this.$popup=n;var c=!1;this.$headers.each(function(){var e=t(this),i=e.attr("data-tablesaw-priority"),s=l.$getCells(this);i&&"persist"!==i&&(s.addClass(l.classes.priorityPrefix+i),t(d.getColumnToggleLabelTemplate(e.text())).appendTo(r).find('input[type="checkbox"]').data("tablesaw-header",this),c=!0)}),c||r.append("<label>"+h.i18n.columnsDialogError+"</label>"),r.appendTo(n),r.find('input[type="checkbox"]').on("change",function(i){var s;(g(i.target),l.set.length)&&(t(l.$popup).find("input[type='checkbox']").each(function(t){if(this===i.target)return s=t,!1}),t(l.set).each(function(){var o=t(this).data(e).$popup.find("input[type='checkbox']").get(s);o&&(o.checked=i.target.checked,g(o))}))}),o.appendTo(a);var u,p=t(this.$table.attr(this.attributes.btnTarget));a.appendTo(p.length?p:this.tablesaw.$toolbar),o.on("click.tablesaw",function(e){e.preventDefault(),a.is(".visible")?v():(a.addClass("visible"),o.removeClass("down").addClass("up"),t(document).off("click."+i,v),window.clearTimeout(u),u=window.setTimeout(function(){t(document).on("click."+i,v)},15))}),n.appendTo(a),this.$menu=r;var f,m=this.$table.closest(".tablesaw-overflow");if(m.css("-webkit-overflow-scrolling"))m.on("scroll",function(){var e=t(this);window.clearTimeout(f),f=window.setTimeout(function(){e.css("-webkit-overflow-scrolling","auto"),window.setTimeout(function(){e.css("-webkit-overflow-scrolling","touch")},0)},100)});t(window).on(h.events.resize+"."+i,function(){l.refreshToggle()}),this.initSet(),this.refreshToggle()}function g(e){var i=e.checked,s=l.getHeaderFromCheckbox(e),o=l.$getCells(s);o[i?"removeClass":"addClass"]("tablesaw-cell-hidden"),o[i?"addClass":"removeClass"]("tablesaw-cell-visible"),l.updateColspanIgnoredRows(i,t(s).add(s.cells)),l.$table.trigger("tablesawcolumns")}function v(e){e&&t(e.target).closest("."+l.classes.popup).length||(t(document).off("click."+i),o.removeClass("up").addClass("down"),a.removeClass("visible"))}},i.prototype.updateColspanIgnoredRows=function(e,i){this.$table.find("["+this.attributes.subrow+"],["+this.attributes.ignorerow+"]").each(function(){var s,o,n,r,a=t(this),l=a.find("td[colspan]").eq(0);!0===e||!1===e?(r=i.filter(function(){return this===l[0]}).length?e?1:-1:0,o=parseInt(l.attr("colspan"),10)+r):((n=l.data("original-colspan"))?o=n:(o=parseInt(l.attr("colspan"),10),l.data("original-colspan",o)),s=a.find("td").filter(function(){return this!==l[0]&&"none"===t(this).css("display")}).length,o-=e-s),l.attr("colspan",o)})},i.prototype.$getCells=function(e){var i=this;return t(e).add(e.cells).filter(function(){var e=t(this),s=e.parent(),o=e.is("[colspan]");return!(s.is("["+i.attributes.subrow+"]")||s.is("["+i.attributes.ignorerow+"]")&&o)})},i.prototype.getHeaderFromCheckbox=function(e){return t(e).data("tablesaw-header")},i.prototype.refreshToggle=function(){var t=this,e=0;this.$menu.find("input").each(function(){var i=t.getHeaderFromCheckbox(this),s="table-cell"===t.$getCells(i).eq(0).css("display");this.checked=s,s||e++}),this.updateColspanIgnoredRows(e)},i.prototype.destroy=function(){this.$table.removeClass(this.classes.columnToggleTable),this.$table.find("th, td").each(function(){t(this).removeClass("tablesaw-cell-hidden").removeClass("tablesaw-cell-visible"),this.className=this.className.replace(/\bui\-table\-priority\-\d\b/g,"")})},t(document).on(h.events.create,function(t,e){"columntoggle"===e.mode&&new i(e.table).init()}),t(document).on(h.events.destroy,function(i,s){"columntoggle"===s.mode&&t(s.table).data(e).destroy()})}(),function(){function e(e){var i=[];return t(e.childNodes).each(function(){var e=t(this);e.is("input, select")?i.push(e.val()):e.is(".tablesaw-cell-label")||i.push((e.text()||"").replace(/^\s+|\s+$/g,""))}),i.join("")}var i="tablesaw-sortable",s="table[data-"+i+"]",o="[data-"+i+"-switch]",n={sortCol:"data-tablesaw-sortable-col",defaultCol:"data-tablesaw-sortable-default-col",numericCol:"data-tablesaw-sortable-numeric",subRow:"data-tablesaw-subrow",ignoreRow:"data-tablesaw-ignorerow"},r={head:i+"-head",ascend:i+"-ascending",descend:i+"-descending",switcher:i+"-switch",tableToolbar:"tablesaw-bar-section",sortButton:i+"-btn"},a={_create:function(e){return t(this).each(function(){if(t(this).data(i+"-init"))return!1;t(this).data(i+"-init",!0).trigger("beforecreate."+i)[i]("_init",e).trigger("create."+i)})},_init:function(){var s,a,l,d=t(this),c=d.data("tablesaw");function u(e){t.each(e,function(e,i){var s=t(i);s.removeAttr(n.defaultCol),s.removeClass(r.ascend),s.removeClass(r.descend)})}d.addClass(i),s=d.children().filter("thead").find("th["+n.sortCol+"]"),l=s,t.each(l,function(e,i){t(i).addClass(r.head)}),function(e,i){t.each(e,function(e,s){var o=t("<button class='"+r.sortButton+"'/>");o.on("click",{col:s},i),t(s).wrapInner(o).find("button").append("<span class='tablesaw-sortable-arrow'>")})}(s,function(e){if(!t(e.target).is("a[href]")){e.stopPropagation();var o=t(e.target).closest("["+n.sortCol+"]"),l=e.data.col,c=s.index(o[0]);u(o.closest("thead").find("th").filter(function(){return this!==o[0]})),o.is("."+r.descend)||!o.is("."+r.ascend)?(d[i]("sortBy",l,!0),c+="_asc"):(d[i]("sortBy",l),c+="_desc"),a&&a.find("select").val(c).trigger("refresh"),e.preventDefault()}}),function(e){t.each(e,function(e,i){var s=t(i);s.is("["+n.defaultCol+"]")&&(s.is("."+r.descend)||s.addClass(r.ascend))})}(s),d.is(o)&&function(s){a=t("<div>").addClass(r.switcher).addClass(r.tableToolbar);var o=["<label>"+h.i18n.sort+":"];o.push('<span class="btn tablesaw-btn"><select>'),s.each(function(i){var s=t(this),a=s.is("["+n.defaultCol+"]"),l=s.is("."+r.descend),d=s.is("["+n.numericCol+"]"),c=0;t(this.cells.slice(0,5)).each(function(){isNaN(parseInt(e(this),10))||c++});var h=5===c;d||s.attr(n.numericCol,h?"":"false"),o.push("<option"+(a&&!l?" selected":"")+' value="'+i+'_asc">'+s.text()+" "+(h?"&#x2191;":"(A-Z)")+"</option>"),o.push("<option"+(a&&l?" selected":"")+' value="'+i+'_desc">'+s.text()+" "+(h?"&#x2193;":"(Z-A)")+"</option>")}),o.push("</select></span></label>"),a.html(o.join(""));var l=c.$toolbar.children().eq(0);l.length?a.insertBefore(l):a.appendTo(c.$toolbar),a.find(".tablesaw-btn").tablesawbtn(),a.find("select").on("change",function(){var e=t(this).val().split("_"),o=s.eq(e[0]);u(o.siblings()),d[i]("sortBy",o.get(0),"asc"===e[1])})}(s)},sortRows:function(i,s,o,r,a){var l,d=function(i,s){var o=[];return t.each(i,function(i,r){for(var a=r.parentNode,l=t(a),d=[],c=l.next();c.is("["+n.subRow+"]");)d.push(c[0]),c=c.next();var h=a.parentNode;l.is("["+n.subRow+"]")||h===s&&o.push({element:r,cell:e(r),row:a,subrows:d.length?d:null,ignored:l.is("["+n.ignoreRow+"]")})}),o}(r.cells,a),c=t(r).data("tablesaw-sort");return l=!(!c||"function"!=typeof c)&&c(o)||function(t,e){var i=/[^\-\+\d\.]/g;return t?function(t,s){return t.ignored||s.ignored?0:e?parseFloat(t.cell.replace(i,""))-parseFloat(s.cell.replace(i,"")):t.cell.toLowerCase()>s.cell.toLowerCase()?1:-1}:function(t,s){return t.ignored||s.ignored?0:e?parseFloat(s.cell.replace(i,""))-parseFloat(t.cell.replace(i,"")):t.cell.toLowerCase()<s.cell.toLowerCase()?1:-1}}(o,t(r).is("["+n.numericCol+"]")&&!t(r).is("["+n.numericCol+'="false"]')),function(t){var e,i,s=[];for(e=0,i=t.length;e<i;e++)s.push(t[e].row),t[e].subrows&&s.push(t[e].subrows);return s}(d.sort(l))},makeColDefault:function(e,i){var s=t(e);s.attr(n.defaultCol,"true"),i?(s.removeClass(r.descend),s.addClass(r.ascend)):(s.removeClass(r.ascend),s.addClass(r.descend))},sortBy:function(e,s){var o,n=t(this),r=n.data("tablesaw");r.$tbody.each(function(){var a,l,d,c=t(this),h=r.getBodyRows(this),u=r.headerMapping[0];for(l=0,d=u.length;l<d;l++)if(u[l]===e){o=l;break}for(l=0,d=(a=n[i]("sortRows",h,o,s,e,this)).length;l<d;l++)c.append(a[l])}),n[i]("makeColDefault",e,s),n.trigger("tablesaw-sorted")}};t.fn[i]=function(e){var s,o=Array.prototype.slice.call(arguments,1);return e&&"string"==typeof e?void 0!==(s=t.fn[i].prototype[e].apply(this[0],o))?s:t(this):(t(this).data(i+"-active")||(t(this).data(i+"-active",!0),t.fn[i].prototype._create.call(this,e)),t(this))},t.extend(t.fn[i].prototype,a),t(document).on(h.events.create,function(t,e){e.$table.is(s)&&e.$table[i]()})}(),function(){var e={hideBtn:"disabled",persistWidths:"tablesaw-fix-persist",allColumnsVisible:"tablesaw-all-cols-visible"},i={disableTouchEvents:"data-tablesaw-no-touch"};function s(s,o){var n=o.data("tablesaw"),r=t("<div class='tablesaw-advance'></div>"),a=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro left' title='Previous Column'></a>").appendTo(r),l=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro right' title='Next Column'></a>").appendTo(r),d=s._getPrimaryHeaderCells(),u=d.not('[data-tablesaw-priority="persist"]'),p=[],f=t(document.head||"head"),m=o.attr("id");if(!d.length)throw new Error("tablesaw swipe: no header cells found. Are you using <th> inside of <thead>?");function g(e){return t(e.cells).add(e)}function v(t){g(t).removeClass("tablesaw-cell-hidden")}function b(t){g(t).addClass("tablesaw-cell-hidden")}function w(){var i,s="#"+m+".tablesaw-swipe ",n=[],r=o.width(),a=[];if(d.each(function(e){var i;t(this).is('[data-tablesaw-priority="persist"]')&&(i=this.offsetWidth)<.75*r&&(a.push(e+"-"+i),n.push(s+" .tablesaw-cell-persist:nth-child("+(e+1)+") { width: "+i+"px; }"))}),i=a.join("_"),n.length){o.addClass(e.persistWidths);var l=t("#"+m+"-persist");l.length&&l.data("tablesaw-hash")===i||(l.remove(),t("<style>"+n.join("\n")+"</style>").attr("id",m+"-persist").data("tablesaw-hash",i).appendTo(f))}}function y(){var e,i=[];return u.each(function(s){var o=t(this),n="none"===o.css("display")||o.is(".tablesaw-cell-hidden");if(n||e){if(n&&e)return i[1]=s,!1}else e=!0,i[0]=s}),i}function S(){var t=y();return[t[1]-1,t[0]-1]}function k(t){return t[1]>-1&&t[1]<u.length}function x(){if(!(i=o.attr("data-tablesaw-swipe-media"))||"matchMedia"in c&&c.matchMedia(i).matches){var i,s=o.parent().width(),n=[],r=0,a=[],l=d.length;d.each(function(e){var i=t(this).is('[data-tablesaw-priority="persist"]');n.push(i),r+=p[e],a.push(r),(i||r>s)&&l--});var h=0===l;d.each(function(t){n[t]?g(this).addClass("tablesaw-cell-persist"):a[t]<=s||h?(h=!1,v(this)):b(this)}),o.removeClass(e.persistWidths),t("#"+m+"-persist").remove(),o.trigger("tablesawcolumns")}}function A(t){var e=function(t){return t?y():S()}(t);k(e)&&(isNaN(e[0])&&(e[0]=t?0:u.length-1),w(),b(u.get(e[0])),v(u.get(e[1])),o.trigger("tablesawcolumns"))}function T(t,e){return(t.touches||t.originalEvent.touches)[0][e]}o.addClass("tablesaw-swipe"),d.each(function(){var t=this.offsetWidth;p.push(t)}),r.appendTo(n.$toolbar),m||(m="tableswipe-"+Math.round(1e4*Math.random()),o.attr("id",m)),a.add(l).on("click",function(e){A(!!t(e.target).closest(l).length),e.preventDefault()}),o.is("["+i.disableTouchEvents+"]")||o.on("touchstart.swipetoggle",function(e){var i,o,n=T(e,"pageX"),r=T(e,"pageY"),a=window.pageYOffset;t(c).off(h.events.resize,x),t(this).on("touchmove.swipetoggle",function(t){i=T(t,"pageX"),o=T(t,"pageY")}).on("touchend.swipetoggle",function(){var e=s.getConfig({swipeHorizontalThreshold:30,swipeVerticalThreshold:30}),l=e.swipe?e.swipe.verticalThreshold:e.swipeVerticalThreshold,d=e.swipe?e.swipe.horizontalThreshold:e.swipeHorizontalThreshold,u=Math.abs(window.pageYOffset-a)>=l;Math.abs(o-r)>=l||u||(i-n<-1*d&&A(!0),i-n>d&&A(!1)),window.setTimeout(function(){t(c).on(h.events.resize,x)},300),t(this).off("touchmove.swipetoggle touchend.swipetoggle")})}),o.on("tablesawcolumns.swipetoggle",function(){var t=k(S()),i=k(y());a[t?"removeClass":"addClass"](e.hideBtn),l[i?"removeClass":"addClass"](e.hideBtn),n.$toolbar[t||i?"removeClass":"addClass"](e.allColumnsVisible)}).on("tablesawnext.swipetoggle",function(){A(!0)}).on("tablesawprev.swipetoggle",function(){A(!1)}).on(h.events.destroy+".swipetoggle",function(){var e=t(this);e.removeClass("tablesaw-swipe"),n.$toolbar.find(".tablesaw-advance").remove(),t(c).off(h.events.resize,x),e.off(".swipetoggle")}).on(h.events.refresh,function(){p=[],d.each(function(){var t=this.offsetWidth;p.push(t)}),x()}),x(),t(c).on(h.events.resize,x)}t(document).on(h.events.create,function(t,e){"swipe"===e.mode&&s(e,e.$table)})}(),function(){var e={attr:{init:"data-tablesaw-minimap"}};function i(i){var s=i.data("tablesaw"),o=t('<div class="tablesaw-advance minimap">'),n=t('<ul class="tablesaw-advance-dots">').appendTo(o),r="tablesaw-advance-dots-hide";function a(){if(function(t){var i=t.attr(e.attr.init);return!i||c.matchMedia&&c.matchMedia(i).matches}(i)){o.css("display","block");var s=n.find("li").removeClass(r);i.find("thead th").each(function(e){"none"===t(this).css("display")&&s.eq(e).addClass(r)})}else o.css("display","none")}i.find("thead th").each(function(){n.append("<li><i></i></li>")}),o.appendTo(s.$toolbar),a(),t(c).on(h.events.resize,a),i.on("tablesawcolumns.minimap",function(){a()}).on(h.events.destroy+".minimap",function(){var e=t(this);s.$toolbar.find(".tablesaw-advance").remove(),t(c).off(h.events.resize,a),e.off(".minimap")})}t(document).on(h.events.create,function(t,s){"swipe"!==s.mode&&"columntoggle"!==s.mode||!s.$table.is("[ "+e.attr.init+"]")||i(s.$table)})}(),d={selectors:{init:"table[data-tablesaw-mode-switch]"},attributes:{excludeMode:"data-tablesaw-mode-exclude"},classes:{main:"tablesaw-modeswitch",toolbar:"tablesaw-bar-section"},modes:["stack","swipe","columntoggle"],init:function(e){var i,s=t(e),o=s.data("tablesaw"),n=s.attr(d.attributes.excludeMode),r=o.$toolbar,a=t("<div>").addClass(d.classes.main+" "+d.classes.toolbar),l=["<label>"+h.i18n.columns+":"],c=s.attr("data-tablesaw-mode");l.push('<span class="btn tablesaw-btn"><select>');for(var u=0,p=d.modes.length;u<p;u++)n&&n.toLowerCase()===d.modes[u]||(i=c===d.modes[u],l.push("<option"+(i?" selected":"")+' value="'+d.modes[u]+'">'+h.i18n.modes[u]+"</option>"));l.push("</select></span></label>"),a.html(l.join(""));var f=r.find(".tablesaw-advance").eq(0);f.length?a.insertBefore(f):a.appendTo(r),a.find(".tablesaw-btn").tablesawbtn(),a.find("select").on("change",function(i){return d.onModeChange.call(e,i,t(this).val())})},onModeChange:function(e,i){var s=t(this),o=s.data("tablesaw");o.$toolbar.find("."+d.classes.main).remove(),o.destroy(),s.attr("data-tablesaw-mode",i),s.tablesaw()}},t(c.document).on(h.events.create,function(t,e){e.$table.is(d.selectors.init)&&d.init(e.table)}),function(){var e="tablesawCheckAll";function i(t){this.tablesaw=t,this.$table=t.$table,this.attr="data-tablesaw-checkall",this.checkAllSelector="["+this.attr+"]",this.forceCheckedSelector="["+this.attr+"-checked]",this.forceUncheckedSelector="["+this.attr+"-unchecked]",this.checkboxSelector='input[type="checkbox"]',this.$triggers=null,this.$checkboxes=null,this.$table.data(e)||(this.$table.data(e,this),this.init())}i.prototype._filterCells=function(e){return e.filter(function(){return!t(this).closest("tr").is("[data-tablesaw-subrow],[data-tablesaw-ignorerow]")}).find(this.checkboxSelector).not(this.checkAllSelector)},i.prototype.getCheckboxesForButton=function(e){return this._filterCells(t(t(e).attr(this.attr)))},i.prototype.getCheckboxesForCheckbox=function(e){return this._filterCells(t(t(e).closest("th")[0].cells))},i.prototype.init=function(){var e=this;this.$table.find(this.checkAllSelector).each(function(){t(this).is(e.checkboxSelector)?e.addCheckboxEvents(this):e.addButtonEvents(this)})},i.prototype.addButtonEvents=function(i){var s=this;t(i).on("click",function(i){i.preventDefault();var o,n=s.getCheckboxesForButton(this),r=!0;n.each(function(){this.checked||(r=!1)}),o=!!t(this).is(s.forceCheckedSelector)||!t(this).is(s.forceUncheckedSelector)&&!r,n.each(function(){this.checked=o,t(this).trigger("change."+e)})})},i.prototype.addCheckboxEvents=function(i){var s=this;t(i).on("change",function(){var t=this.checked;s.getCheckboxesForCheckbox(this).each(function(){this.checked=t})});var o=s.getCheckboxesForCheckbox(i);o.on("change."+e,function(){var t=0;o.each(function(){this.checked&&t++});var e=t===o.length;i.checked=e,i.indeterminate=0!==t&&!e})},t(document).on(h.events.create,function(t,e){new i(e)})}()}),function(t){"use strict";var e;if("shoestring"in t)e=t.shoestring;else{if(!("jQuery"in t))throw new Error("tablesaw: DOM library not found.");e=t.jQuery}"addEventListener"in document&&document.addEventListener("DOMContentLoaded",function(){e(document).trigger("enhance.tablesaw")})}("undefined"!=typeof window?window:this),window.FormValidation={AddOn:{},Framework:{},I18n:{},Validator:{}},"undefined"==typeof jQuery)throw new Error("FormValidation requires jQuery");!function(t){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(+e[0]<2&&+e[1]<9||1==+e[0]&&9==+e[1]&&+e[2]<1)throw new Error("FormValidation requires jQuery version 1.9.1 or higher")}(),function(t){FormValidation.Base=function(e,i,s){this.$form=t(e),this.options=t.extend({},t.fn.formValidation.DEFAULT_OPTIONS,i),this._namespace=s||"fv",this.$invalidFields=t([]),this.$submitButton=null,this.$hiddenButton=null,this.STATUS_NOT_VALIDATED="NOT_VALIDATED",this.STATUS_VALIDATING="VALIDATING",this.STATUS_INVALID="INVALID",this.STATUS_VALID="VALID",this.STATUS_IGNORED="IGNORED";var o=function(){for(var t=3,e=document.createElement("div"),i=e.all||[];e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><br><![endif]--\x3e",i[0];);return t>4?t:!t}(),n=document.createElement("div");this._changeEvent=9!==o&&"oninput"in n?"input":"keyup",this._submitIfValid=null,this._cacheFields={},this._init()},FormValidation.Base.prototype={constructor:FormValidation.Base,_exceedThreshold:function(e){var i=this._namespace,s=e.attr("data-"+i+"-field"),o=this.options.fields[s].threshold||this.options.threshold;return!o||(-1!==t.inArray(e.attr("type"),["button","checkbox","file","hidden","image","radio","reset","submit"])||e.val().length>=o)},_init:function(){var e=this,i=this._namespace,s={addOns:{},autoFocus:this.$form.attr("data-"+i+"-autofocus"),button:{selector:this.$form.attr("data-"+i+"-button-selector")||this.$form.attr("data-"+i+"-submitbuttons"),disabled:this.$form.attr("data-"+i+"-button-disabled")},control:{valid:this.$form.attr("data-"+i+"-control-valid"),invalid:this.$form.attr("data-"+i+"-control-invalid")},err:{clazz:this.$form.attr("data-"+i+"-err-clazz"),container:this.$form.attr("data-"+i+"-err-container")||this.$form.attr("data-"+i+"-container"),parent:this.$form.attr("data-"+i+"-err-parent")},events:{formInit:this.$form.attr("data-"+i+"-events-form-init"),formError:this.$form.attr("data-"+i+"-events-form-error"),formSuccess:this.$form.attr("data-"+i+"-events-form-success"),fieldAdded:this.$form.attr("data-"+i+"-events-field-added"),fieldRemoved:this.$form.attr("data-"+i+"-events-field-removed"),fieldInit:this.$form.attr("data-"+i+"-events-field-init"),fieldError:this.$form.attr("data-"+i+"-events-field-error"),fieldSuccess:this.$form.attr("data-"+i+"-events-field-success"),fieldStatus:this.$form.attr("data-"+i+"-events-field-status"),localeChanged:this.$form.attr("data-"+i+"-events-locale-changed"),validatorError:this.$form.attr("data-"+i+"-events-validator-error"),validatorSuccess:this.$form.attr("data-"+i+"-events-validator-success"),validatorIgnored:this.$form.attr("data-"+i+"-events-validator-ignored")},excluded:this.$form.attr("data-"+i+"-excluded"),icon:{valid:this.$form.attr("data-"+i+"-icon-valid")||this.$form.attr("data-"+i+"-feedbackicons-valid"),invalid:this.$form.attr("data-"+i+"-icon-invalid")||this.$form.attr("data-"+i+"-feedbackicons-invalid"),validating:this.$form.attr("data-"+i+"-icon-validating")||this.$form.attr("data-"+i+"-feedbackicons-validating"),feedback:this.$form.attr("data-"+i+"-icon-feedback")},live:this.$form.attr("data-"+i+"-live"),locale:this.$form.attr("data-"+i+"-locale"),message:this.$form.attr("data-"+i+"-message"),onError:this.$form.attr("data-"+i+"-onerror"),onSuccess:this.$form.attr("data-"+i+"-onsuccess"),row:{selector:this.$form.attr("data-"+i+"-row-selector")||this.$form.attr("data-"+i+"-group"),valid:this.$form.attr("data-"+i+"-row-valid"),invalid:this.$form.attr("data-"+i+"-row-invalid"),feedback:this.$form.attr("data-"+i+"-row-feedback")},threshold:this.$form.attr("data-"+i+"-threshold"),trigger:this.$form.attr("data-"+i+"-trigger"),verbose:this.$form.attr("data-"+i+"-verbose"),fields:{}};for(var o in this.$form.attr("novalidate","novalidate").addClass(this.options.elementClass).on("submit."+i,function(t){t.preventDefault(),e.validate()}).on("click."+i,this.options.button.selector,function(){e.$submitButton=t(this),e._submitIfValid=!0}),(!0===this.options.declarative||"true"===this.options.declarative)&&this.$form.find("[name], [data-"+i+"-field]").each(function(){var o=t(this),n=o.attr("name")||o.attr("data-"+i+"-field"),r=e._parseOptions(o);r&&(o.attr("data-"+i+"-field",n),s.fields[n]=t.extend({},r,s.fields[n]))}),this.options=t.extend(!0,this.options,s),"string"==typeof this.options.err.parent&&(this.options.err.parent=new RegExp(this.options.err.parent)),this.options.container&&(this.options.err.container=this.options.container,delete this.options.container),this.options.feedbackIcons&&(this.options.icon=t.extend(!0,this.options.icon,this.options.feedbackIcons),delete this.options.feedbackIcons),this.options.group&&(this.options.row.selector=this.options.group,delete this.options.group),this.options.submitButtons&&(this.options.button.selector=this.options.submitButtons,delete this.options.submitButtons),FormValidation.I18n[this.options.locale]||(this.options.locale=t.fn.formValidation.DEFAULT_OPTIONS.locale),(!0===this.options.declarative||"true"===this.options.declarative)&&(this.options=t.extend(!0,this.options,{addOns:this._parseAddOnOptions()})),this.$hiddenButton=t("<button/>").attr("type","submit").prependTo(this.$form).addClass("fv-hidden-submit").css({display:"none",width:0,height:0}),this.$form.on("click."+this._namespace,'[type="submit"]',function(i){if(!i.isDefaultPrevented()){var s=t(i.target),o=s.is('[type="submit"]')?s.eq(0):s.parent('[type="submit"]').eq(0);!e.options.button.selector||o.is(e.options.button.selector)||o.is(e.$hiddenButton)||e.$form.off("submit."+e._namespace).submit()}}),this.options.fields)this._initField(o);for(var n in this.options.addOns)"function"==typeof FormValidation.AddOn[n].init&&FormValidation.AddOn[n].init(this,this.options.addOns[n]);this.$form.trigger(t.Event(this.options.events.formInit),{bv:this,fv:this,options:this.options}),this.options.onSuccess&&this.$form.on(this.options.events.formSuccess,function(t){FormValidation.Helper.call(e.options.onSuccess,[t])}),this.options.onError&&this.$form.on(this.options.events.formError,function(t){FormValidation.Helper.call(e.options.onError,[t])})},_initField:function(e){var i=this._namespace,s=t([]);switch(typeof e){case"object":s=e,e=e.attr("data-"+i+"-field");break;case"string":(s=this.getFieldElements(e)).attr("data-"+i+"-field",e)}if(0!==s.length&&null!==this.options.fields[e]&&null!==this.options.fields[e].validators){var o;for(o in this.options.fields[e].validators)FormValidation.Validator[o]||delete this.options.fields[e].validators[o];null===this.options.fields[e].enabled&&(this.options.fields[e].enabled=!0);for(var n=this,r=s.length,a=s.attr("type"),l=1===r||"radio"===a||"checkbox"===a,d=this._getFieldTrigger(s.eq(0)),c=t.map(d,function(t){return t+".update."+i}).join(" "),h=0;r>h;h++){var u=s.eq(h),p=this.options.fields[e].row||this.options.row.selector,f=u.closest(p),m="function"==typeof(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container)?(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container).call(this,u,this):this.options.fields[e].container||this.options.fields[e].err||this.options.err.container,g=m&&"tooltip"!==m&&"popover"!==m?t(m):this._getMessageContainer(u,p);for(o in m&&"tooltip"!==m&&"popover"!==m&&g.addClass(this.options.err.clazz),g.find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+i+"-validator][data-"+i+'-for="'+e+'"]').remove(),f.find("i[data-"+i+'-icon-for="'+e+'"]').remove(),u.off(c).on(c,function(){n.updateStatus(t(this),n.STATUS_NOT_VALIDATED)}),u.data(i+".messages",g),this.options.fields[e].validators)u.data(i+".result."+o,this.STATUS_NOT_VALIDATED),l&&h!==r-1||t("<small/>").css("display","none").addClass(this.options.err.clazz).attr("data-"+i+"-validator",o).attr("data-"+i+"-for",e).attr("data-"+i+"-result",this.STATUS_NOT_VALIDATED).html(this._getMessage(e,o)).appendTo(g),"function"==typeof FormValidation.Validator[o].init&&FormValidation.Validator[o].init(this,u,this.options.fields[e].validators[o]);if(!1!==this.options.fields[e].icon&&"false"!==this.options.fields[e].icon&&this.options.icon&&this.options.icon.valid&&this.options.icon.invalid&&this.options.icon.validating&&(!l||h===r-1)){f.addClass(this.options.row.feedback);var v=t("<i/>").css("display","none").addClass(this.options.icon.feedback).attr("data-"+i+"-icon-for",e).insertAfter(u);(l?s:u).data(i+".icon",v),("tooltip"===m||"popover"===m)&&((l?s:u).on(this.options.events.fieldError,function(){f.addClass("fv-has-tooltip")}).on(this.options.events.fieldSuccess,function(){f.removeClass("fv-has-tooltip")}),u.off("focus.container."+i).on("focus.container."+i,function(){n._showTooltip(u,m)}).off("blur.container."+i).on("blur.container."+i,function(){n._hideTooltip(u,m)})),"string"==typeof this.options.fields[e].icon&&"true"!==this.options.fields[e].icon?v.appendTo(t(this.options.fields[e].icon)):this._fixIcon(u,v)}}s.on(this.options.events.fieldSuccess,function(t,e){var i=n.getOptions(e.field,null,"onSuccess");i&&FormValidation.Helper.call(i,[t,e])}).on(this.options.events.fieldError,function(t,e){var i=n.getOptions(e.field,null,"onError");i&&FormValidation.Helper.call(i,[t,e])}).on(this.options.events.fieldStatus,function(t,e){var i=n.getOptions(e.field,null,"onStatus");i&&FormValidation.Helper.call(i,[t,e])}).on(this.options.events.validatorError,function(t,e){var i=n.getOptions(e.field,e.validator,"onError");i&&FormValidation.Helper.call(i,[t,e])}).on(this.options.events.validatorSuccess,function(t,e){var i=n.getOptions(e.field,e.validator,"onSuccess");i&&FormValidation.Helper.call(i,[t,e])}),this.onLiveChange(s,"live",function(){n._exceedThreshold(t(this))&&n.validateField(t(this))}),s.trigger(t.Event(this.options.events.fieldInit),{bv:this,fv:this,field:e,element:s})}},_isExcluded:function(e){var i=this._namespace,s=e.attr("data-"+i+"-excluded"),o=e.attr("data-"+i+"-field")||e.attr("name");switch(!0){case!!o&&this.options.fields&&this.options.fields[o]&&("true"===this.options.fields[o].excluded||!0===this.options.fields[o].excluded):case"true"===s:case""===s:return!0;case!!o&&this.options.fields&&this.options.fields[o]&&("false"===this.options.fields[o].excluded||!1===this.options.fields[o].excluded):case"false"===s:return!1;case!!o&&this.options.fields&&this.options.fields[o]&&"function"==typeof this.options.fields[o].excluded:return this.options.fields[o].excluded.call(this,e,this);case!!o&&this.options.fields&&this.options.fields[o]&&"string"==typeof this.options.fields[o].excluded:case s:return FormValidation.Helper.call(this.options.fields[o].excluded,[e,this]);default:if(this.options.excluded){"string"==typeof this.options.excluded&&(this.options.excluded=t.map(this.options.excluded.split(","),function(e){return t.trim(e)}));for(var n=this.options.excluded.length,r=0;n>r;r++)if("string"==typeof this.options.excluded[r]&&e.is(this.options.excluded[r])||"function"==typeof this.options.excluded[r]&&!0===this.options.excluded[r].call(this,e,this))return!0}return!1}},_getFieldTrigger:function(t){var e=this._namespace,i=t.data(e+".trigger");if(i)return i;var s=t.attr("type"),o=t.attr("data-"+e+"-field"),n="radio"===s||"checkbox"===s||"file"===s||"SELECT"===t.get(0).tagName?"change":this._changeEvent;return i=((this.options.fields[o]?this.options.fields[o].trigger:null)||this.options.trigger||n).split(" "),t.data(e+".trigger",i),i},_getMessage:function(t,e){if(!(this.options.fields[t]&&FormValidation.Validator[e]&&this.options.fields[t].validators&&this.options.fields[t].validators[e]))return"";switch(!0){case!!this.options.fields[t].validators[e].message:return this.options.fields[t].validators[e].message;case!!this.options.fields[t].message:return this.options.fields[t].message;case!!FormValidation.I18n[this.options.locale]&&!!FormValidation.I18n[this.options.locale][e]&&!!FormValidation.I18n[this.options.locale][e].default:return FormValidation.I18n[this.options.locale][e].default;default:return this.options.message}},_getMessageContainer:function(t,e){if(!this.options.err.parent)throw new Error("The err.parent option is not defined");var i=t.parent();if(i.is(e))return i;var s=i.attr("class");return s&&this.options.err.parent.test(s)?i:this._getMessageContainer(i,e)},_parseAddOnOptions:function(){var t,e,i,s,o=this._namespace,n=this.$form.attr("data-"+o+"-addons"),r=this.options.addOns||{};if(n){n=n.replace(/\s/g,"").split(",");for(var a=0;a<n.length;a++)r[n[a]]||(r[n[a]]={})}for(t in r)if(FormValidation.AddOn[t]){if(e=FormValidation.AddOn[t].html5Attributes)for(i in e)(s=this.$form.attr("data-"+o+"-addons-"+t.toLowerCase()+"-"+i.toLowerCase()))&&(r[t][e[i]]=s)}else delete r[t];return r},_parseOptions:function(e){var i,s,o,n,r,a,l,d,c,h=this._namespace,u=e.attr("name")||e.attr("data-"+h+"-field"),p={};for(s in FormValidation.Validator)if(i=FormValidation.Validator[s],o="data-"+h+"-"+s.toLowerCase(),n=e.attr(o)+"",(c="function"==typeof i.enableByHtml5?i.enableByHtml5(e):null)&&"false"!==n||!0!==c&&(""===n||"true"===n||o===n.toLowerCase()))for(d in i.html5Attributes=t.extend({},{message:"message",onerror:"onError",onsuccess:"onSuccess",transformer:"transformer"},i.html5Attributes),p[s]=t.extend({},!0===c?{}:c,p[s]),i.html5Attributes)r=i.html5Attributes[d],a="data-"+h+"-"+s.toLowerCase()+"-"+d,(l=e.attr(a))&&("true"===l||a===l.toLowerCase()?l=!0:"false"===l&&(l=!1),p[s][r]=l);var f={autoFocus:e.attr("data-"+h+"-autofocus"),err:e.attr("data-"+h+"-err-container")||e.attr("data-"+h+"-container"),excluded:e.attr("data-"+h+"-excluded"),icon:e.attr("data-"+h+"-icon")||e.attr("data-"+h+"-feedbackicons")||(this.options.fields&&this.options.fields[u]?this.options.fields[u].feedbackIcons:null),message:e.attr("data-"+h+"-message"),onError:e.attr("data-"+h+"-onerror"),onStatus:e.attr("data-"+h+"-onstatus"),onSuccess:e.attr("data-"+h+"-onsuccess"),row:e.attr("data-"+h+"-row")||e.attr("data-"+h+"-group")||(this.options.fields&&this.options.fields[u]?this.options.fields[u].group:null),selector:e.attr("data-"+h+"-selector"),threshold:e.attr("data-"+h+"-threshold"),transformer:e.attr("data-"+h+"-transformer"),trigger:e.attr("data-"+h+"-trigger"),verbose:e.attr("data-"+h+"-verbose"),validators:p},m=t.isEmptyObject(f);return!t.isEmptyObject(p)||!m&&this.options.fields&&this.options.fields[u]?(f.validators=p,f):null},_submit:function(){var e=this.isValid();if(null!==e){var i=e?this.options.events.formSuccess:this.options.events.formError,s=t.Event(i);this.$form.trigger(s),this.$submitButton&&(e?this._onSuccess(s):this._onError(s))}},_onError:function(e){if(!e.isDefaultPrevented()){if("submitted"===this.options.live){this.options.live="enabled";var i=this;for(var s in this.options.fields)!function(e){var s=i.getFieldElements(e);s.length&&i.onLiveChange(s,"live",function(){i._exceedThreshold(t(this))&&i.validateField(t(this))})}(s)}for(var o=this._namespace,n=0;n<this.$invalidFields.length;n++){var r=this.$invalidFields.eq(n);if(this.isOptionEnabled(r.attr("data-"+o+"-field"),"autoFocus")){r.focus();break}}}},_onFieldValidated:function(e,i){var s=this._namespace,o=e.attr("data-"+s+"-field"),n=this.options.fields[o].validators,r={},a=0,l={bv:this,fv:this,field:o,element:e,validator:i,result:e.data(s+".response."+i)};if(i)switch(e.data(s+".result."+i)){case this.STATUS_INVALID:e.trigger(t.Event(this.options.events.validatorError),l);break;case this.STATUS_VALID:e.trigger(t.Event(this.options.events.validatorSuccess),l);break;case this.STATUS_IGNORED:e.trigger(t.Event(this.options.events.validatorIgnored),l)}for(var d in r[this.STATUS_NOT_VALIDATED]=0,r[this.STATUS_VALIDATING]=0,r[this.STATUS_INVALID]=0,r[this.STATUS_VALID]=0,r[this.STATUS_IGNORED]=0,n)if(!1!==n[d].enabled){a++;var c=e.data(s+".result."+d);c&&r[c]++}r[this.STATUS_VALID]+r[this.STATUS_IGNORED]===a?(this.$invalidFields=this.$invalidFields.not(e),e.trigger(t.Event(this.options.events.fieldSuccess),l)):(0===r[this.STATUS_NOT_VALIDATED]||!this.isOptionEnabled(o,"verbose"))&&0===r[this.STATUS_VALIDATING]&&r[this.STATUS_INVALID]>0&&(this.$invalidFields=this.$invalidFields.add(e),e.trigger(t.Event(this.options.events.fieldError),l))},_onSuccess:function(t){t.isDefaultPrevented()||this.disableSubmitButtons(!0).defaultSubmit()},_fixIcon:function(){},_createTooltip:function(){},_destroyTooltip:function(){},_hideTooltip:function(){},_showTooltip:function(){},defaultSubmit:function(){var e=this._namespace;this.$submitButton&&t("<input/>").attr({type:"hidden",name:this.$submitButton.attr("name")}).attr("data-"+e+"-submit-hidden","").val(this.$submitButton.val()).appendTo(this.$form),this.$form.off("submit."+e).submit()},disableSubmitButtons:function(t){return t?"disabled"!==this.options.live&&this.$form.find(this.options.button.selector).attr("disabled","disabled").addClass(this.options.button.disabled):this.$form.find(this.options.button.selector).removeAttr("disabled").removeClass(this.options.button.disabled),this},getFieldElements:function(e){if(!this._cacheFields[e])if(this.options.fields[e]&&this.options.fields[e].selector){var i=this.$form.find(this.options.fields[e].selector);this._cacheFields[e]=i.length?i:t(this.options.fields[e].selector)}else this._cacheFields[e]=this.$form.find('[name="'+e+'"]');return this._cacheFields[e]},getFieldValue:function(t,e){var i,s=this._namespace;if("string"==typeof t){if(0===(i=this.getFieldElements(t)).length)return null}else t=(i=t).attr("data-"+s+"-field");if(!t||!this.options.fields[t])return i.val();var o=(this.options.fields[t].validators&&this.options.fields[t].validators[e]?this.options.fields[t].validators[e].transformer:null)||this.options.fields[t].transformer;return o?FormValidation.Helper.call(o,[i,e,this]):i.val()},getNamespace:function(){return this._namespace},getOptions:function(t,e,i){var s=this._namespace;if(!t)return i?this.options[i]:this.options;if("object"==typeof t&&(t=t.attr("data-"+s+"-field")),!this.options.fields[t])return null;var o=this.options.fields[t];return e?o.validators&&o.validators[e]?i?o.validators[e][i]:o.validators[e]:null:i?o[i]:o},getStatus:function(t,e){var i=this._namespace;switch(typeof t){case"object":return t.data(i+".result."+e);case"string":default:return this.getFieldElements(t).eq(0).data(i+".result."+e)}},isOptionEnabled:function(t,e){return!(!this.options.fields[t]||"true"!==this.options.fields[t][e]&&!0!==this.options.fields[t][e])||(!this.options.fields[t]||"false"!==this.options.fields[t][e]&&!1!==this.options.fields[t][e])&&("true"===this.options[e]||!0===this.options[e])},isValid:function(){for(var t in this.options.fields){var e=this.isValidField(t);if(null===e)return null;if(!1===e)return!1}return!0},isValidContainer:function(e){var i=this,s=this._namespace,o=[],n="string"==typeof e?t(e):e;if(0===n.length)return!0;n.find("[data-"+s+"-field]").each(function(){var e=t(this);i._isExcluded(e)||o.push(e)});for(var r=o.length,a=0;r>a;a++){var l=o[a],d=l.attr("data-"+s+"-field"),c=l.data(s+".messages").find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+s+"-validator][data-"+s+'-for="'+d+'"]');if(c.filter("[data-"+s+'-result="'+this.STATUS_INVALID+'"]').length>0)return!1;if(c.filter("[data-"+s+'-result="'+this.STATUS_NOT_VALIDATED+'"]').length>0||c.filter("[data-"+s+'-result="'+this.STATUS_VALIDATING+'"]').length>0)return null}return!0},isValidField:function(e){var i=this._namespace,s=t([]);switch(typeof e){case"object":s=e,e=e.attr("data-"+i+"-field");break;case"string":s=this.getFieldElements(e)}if(0===s.length||!this.options.fields[e]||!1===this.options.fields[e].enabled)return!0;for(var o,n,r,a=s.attr("type"),l="radio"===a||"checkbox"===a?1:s.length,d=0;l>d;d++)if(o=s.eq(d),!this._isExcluded(o))for(n in this.options.fields[e].validators)if(!1!==this.options.fields[e].validators[n].enabled){if((r=o.data(i+".result."+n))===this.STATUS_VALIDATING||r===this.STATUS_NOT_VALIDATED)return null;if(r===this.STATUS_INVALID)return!1}return!0},offLiveChange:function(e,i){if(null===e||0===e.length)return this;var s=this._namespace,o=this._getFieldTrigger(e.eq(0)),n=t.map(o,function(t){return t+"."+i+"."+s}).join(" ");return e.off(n),this},onLiveChange:function(e,i,s){if(null===e||0===e.length)return this;var o=this._namespace,n=this._getFieldTrigger(e.eq(0)),r=t.map(n,function(t){return t+"."+i+"."+o}).join(" ");switch(this.options.live){case"submitted":break;case"disabled":e.off(r);break;case"enabled":default:e.off(r).on(r,function(){s.apply(this,arguments)})}return this},updateMessage:function(e,i,s){var o=this,n=this._namespace,r=t([]);switch(typeof e){case"object":r=e,e=e.attr("data-"+n+"-field");break;case"string":r=this.getFieldElements(e)}return r.each(function(){t(this).data(n+".messages").find("."+o.options.err.clazz+"[data-"+n+'-validator="'+i+'"][data-'+n+'-for="'+e+'"]').html(s)}),this},updateStatus:function(e,i,s){var o=this._namespace,n=t([]);switch(typeof e){case"object":n=e,e=e.attr("data-"+o+"-field");break;case"string":n=this.getFieldElements(e)}if(!e||!this.options.fields[e])return this;i===this.STATUS_NOT_VALIDATED&&(this._submitIfValid=!1);for(var r=n.attr("type"),a=this.options.fields[e].row||this.options.row.selector,l="radio"===r||"checkbox"===r?1:n.length,d=0;l>d;d++){var c=n.eq(d);if(!this._isExcluded(c)){var h,u,p=c.closest(a),f=c.data(o+".messages").find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+o+"-validator][data-"+o+'-for="'+e+'"]'),m=s?f.filter("[data-"+o+'-validator="'+s+'"]'):f,g=c.data(o+".icon"),v="function"==typeof(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container)?(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container).call(this,c,this):this.options.fields[e].container||this.options.fields[e].err||this.options.err.container,b=null;if(s)c.data(o+".result."+s,i);else for(var w in this.options.fields[e].validators)c.data(o+".result."+w,i);switch(m.attr("data-"+o+"-result",i),i){case this.STATUS_VALIDATING:b=null,this.disableSubmitButtons(!0),c.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),p.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),g&&g.removeClass(this.options.icon.valid).removeClass(this.options.icon.invalid).addClass(this.options.icon.validating).show();break;case this.STATUS_INVALID:b=!1,this.disableSubmitButtons(!0),c.removeClass(this.options.control.valid).addClass(this.options.control.invalid),p.removeClass(this.options.row.valid).addClass(this.options.row.invalid),g&&g.removeClass(this.options.icon.valid).removeClass(this.options.icon.validating).addClass(this.options.icon.invalid).show();break;case this.STATUS_VALID:case this.STATUS_IGNORED:h=f.filter("[data-"+o+'-result="'+this.STATUS_VALIDATING+'"]').length>0,u=f.filter("[data-"+o+'-result="'+this.STATUS_NOT_VALIDATED+'"]').length>0,b=h||u?null:f.filter("[data-"+o+'-result="'+this.STATUS_VALID+'"]').length+f.filter("[data-"+o+'-result="'+this.STATUS_IGNORED+'"]').length===f.length,c.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),!0===b?(this.disableSubmitButtons(!1===this.isValid()),i===this.STATUS_VALID&&c.addClass(this.options.control.valid)):!1===b&&(this.disableSubmitButtons(!0),i===this.STATUS_VALID&&c.addClass(this.options.control.invalid)),g&&(g.removeClass(this.options.icon.invalid).removeClass(this.options.icon.validating).removeClass(this.options.icon.valid),i===this.STATUS_VALID&&g.addClass(null===b?"":b?this.options.icon.valid:h?this.options.icon.validating:this.options.icon.invalid).show());var y=this.isValidContainer(p);null!==y&&(p.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),(i===this.STATUS_VALID||f.length>1)&&p.addClass(y?this.options.row.valid:this.options.row.invalid));break;case this.STATUS_NOT_VALIDATED:default:b=null,this.disableSubmitButtons(!1),c.removeClass(this.options.control.valid).removeClass(this.options.control.invalid),p.removeClass(this.options.row.valid).removeClass(this.options.row.invalid),g&&g.removeClass(this.options.icon.valid).removeClass(this.options.icon.invalid).removeClass(this.options.icon.validating).hide()}!g||"tooltip"!==v&&"popover"!==v?i===this.STATUS_INVALID?m.show():m.hide():!1===b?this._createTooltip(c,f.filter("[data-"+o+'-result="'+this.STATUS_INVALID+'"]').eq(0).html(),v):this._destroyTooltip(c,v),c.trigger(t.Event(this.options.events.fieldStatus),{bv:this,fv:this,field:e,element:c,status:i}),this._onFieldValidated(c,s)}}return this},validate:function(){if(t.isEmptyObject(this.options.fields))return this._submit(),this;for(var e in this.disableSubmitButtons(!0),this._submitIfValid=!1,this.options.fields)this.validateField(e);return this._submit(),this._submitIfValid=!0,this},validateField:function(e){var i=this._namespace,s=t([]);switch(typeof e){case"object":s=e,e=e.attr("data-"+i+"-field");break;case"string":s=this.getFieldElements(e)}if(0===s.length||!this.options.fields[e]||!1===this.options.fields[e].enabled)return this;for(var o,n,r=this,a=s.attr("type"),l="radio"===a||"checkbox"===a?1:s.length,d="radio"===a||"checkbox"===a,c=this.options.fields[e].validators,h=this.isOptionEnabled(e,"verbose"),u=0;l>u;u++){var p=s.eq(u);if(!this._isExcluded(p)){var f=!1;for(o in c){if(p.data(i+".dfs."+o)&&p.data(i+".dfs."+o).reject(),f)break;var m=p.data(i+".result."+o);if(m!==this.STATUS_VALID&&m!==this.STATUS_INVALID)if(!1!==c[o].enabled)if(p.data(i+".result."+o,this.STATUS_VALIDATING),"object"==typeof(n=FormValidation.Validator[o].validate(this,p,c[o]))&&n.resolve)this.updateStatus(d?e:p,this.STATUS_VALIDATING,o),p.data(i+".dfs."+o,n),n.done(function(t,e,s){t.removeData(i+".dfs."+e).data(i+".response."+e,s),s.message&&r.updateMessage(t,e,s.message),r.updateStatus(d?t.attr("data-"+i+"-field"):t,!0===s.valid?r.STATUS_VALID:!1===s.valid?r.STATUS_INVALID:r.STATUS_IGNORED,e),s.valid&&!0===r._submitIfValid?r._submit():!1!==s.valid||h||(f=!0)});else if("object"==typeof n&&void 0!==n.valid){if(p.data(i+".response."+o,n),n.message&&this.updateMessage(d?e:p,o,n.message),this.updateStatus(d?e:p,!0===n.valid?this.STATUS_VALID:!1===n.valid?this.STATUS_INVALID:this.STATUS_IGNORED,o),!1===n.valid&&!h)break}else if("boolean"==typeof n){if(p.data(i+".response."+o,n),this.updateStatus(d?e:p,n?this.STATUS_VALID:this.STATUS_INVALID,o),!n&&!h)break}else null==n&&(p.data(i+".response."+o,n),this.updateStatus(d?e:p,this.STATUS_IGNORED,o));else this.updateStatus(d?e:p,this.STATUS_VALID,o);else this._onFieldValidated(p,o)}}}return this},addField:function(e,i){var s=this._namespace,o=t([]);switch(typeof e){case"object":o=e,e=e.attr("data-"+s+"-field")||e.attr("name");break;case"string":delete this._cacheFields[e],o=this.getFieldElements(e)}o.attr("data-"+s+"-field",e);for(var n=o.attr("type"),r="radio"===n||"checkbox"===n?1:o.length,a=0;r>a;a++){var l=o.eq(a),d=this._parseOptions(l);d=null===d?i:t.extend(!0,d,i),this.options.fields[e]=t.extend(!0,this.options.fields[e],d),this._cacheFields[e]=this._cacheFields[e]?this._cacheFields[e].add(l):l,this._initField("checkbox"===n||"radio"===n?e:l)}return this.disableSubmitButtons(!1),this.$form.trigger(t.Event(this.options.events.fieldAdded),{field:e,element:o,options:this.options.fields[e]}),this},destroy:function(){var t,e,i,s,o,n,r,a=this._namespace;for(e in this.options.fields)for(i=this.getFieldElements(e),t=0;t<i.length;t++)for(o in s=i.eq(t),this.options.fields[e].validators)s.data(a+".dfs."+o)&&s.data(a+".dfs."+o).reject(),s.removeData(a+".result."+o).removeData(a+".response."+o).removeData(a+".dfs."+o),"function"==typeof FormValidation.Validator[o].destroy&&FormValidation.Validator[o].destroy(this,s,this.options.fields[e].validators[o]);for(e in this.options.fields)for(i=this.getFieldElements(e),r=this.options.fields[e].row||this.options.row.selector,t=0;t<i.length;t++){(s=i.eq(t)).data(a+".messages").find("."+this.options.err.clazz.split(" ").join(".")+"[data-"+a+"-validator][data-"+a+'-for="'+e+'"]').remove().end().end().removeData(a+".messages").closest(r).removeClass(this.options.row.valid).removeClass(this.options.row.invalid).removeClass(this.options.row.feedback).end().off("."+a).removeAttr("data-"+a+"-field");var l="function"==typeof(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container)?(this.options.fields[e].container||this.options.fields[e].err||this.options.err.container).call(this,s,this):this.options.fields[e].container||this.options.fields[e].err||this.options.err.container;("tooltip"===l||"popover"===l)&&this._destroyTooltip(s,l),(n=s.data(a+".icon"))&&n.remove(),s.removeData(a+".icon").removeData(a+".trigger")}for(var d in this.options.addOns)"function"==typeof FormValidation.AddOn[d].destroy&&FormValidation.AddOn[d].destroy(this,this.options.addOns[d]);this.disableSubmitButtons(!1),this.$hiddenButton.remove(),this.$form.removeClass(this.options.elementClass).off("."+a).removeData("bootstrapValidator").removeData("formValidation").find("[data-"+a+"-submit-hidden]").remove().end().find('[type="submit"]').off("click."+a)},enableFieldValidators:function(t,e,i){var s=this.options.fields[t].validators;if(i&&s&&s[i]&&s[i].enabled!==e)this.options.fields[t].validators[i].enabled=e,this.updateStatus(t,this.STATUS_NOT_VALIDATED,i);else if(!i&&this.options.fields[t].enabled!==e)for(var o in this.options.fields[t].enabled=e,s)this.enableFieldValidators(t,e,o);return this},getDynamicOption:function(t,e){var i="string"==typeof t?this.getFieldElements(t):t,s=i.val();if("function"==typeof e)return FormValidation.Helper.call(e,[s,this,i]);if("string"==typeof e){var o=this.getFieldElements(e);return o.length?o.val():FormValidation.Helper.call(e,[s,this,i])||e}return null},getForm:function(){return this.$form},getInvalidFields:function(){return this.$invalidFields},getLocale:function(){return this.options.locale},getMessages:function(e,i){var s=this,o=this._namespace,n=[],r=t([]);switch(!0){case e&&"object"==typeof e:r=e;break;case e&&"string"==typeof e:var a=this.getFieldElements(e);if(a.length>0){var l=a.attr("type");r="radio"===l||"checkbox"===l?a.eq(0):a}break;default:r=this.$invalidFields}var d=i?"[data-"+o+'-validator="'+i+'"]':"";return r.each(function(){n=n.concat(t(this).data(o+".messages").find("."+s.options.err.clazz+"[data-"+o+'-for="'+t(this).attr("data-"+o+"-field")+'"][data-'+o+'-result="'+s.STATUS_INVALID+'"]'+d).map(function(){var e=t(this).attr("data-"+o+"-validator"),i=t(this).attr("data-"+o+"-for");return!1===s.options.fields[i].validators[e].enabled?"":t(this).html()}).get())}),n},getSubmitButton:function(){return this.$submitButton},removeField:function(e){var i=this._namespace,s=t([]);switch(typeof e){case"object":s=e,e=e.attr("data-"+i+"-field")||e.attr("name"),s.attr("data-"+i+"-field",e);break;case"string":s=this.getFieldElements(e)}if(0===s.length)return this;for(var o=s.attr("type"),n="radio"===o||"checkbox"===o?1:s.length,r=0;n>r;r++){var a=s.eq(r);this.$invalidFields=this.$invalidFields.not(a),this._cacheFields[e]=this._cacheFields[e].not(a)}return this._cacheFields[e]&&0!==this._cacheFields[e].length||delete this.options.fields[e],("checkbox"===o||"radio"===o)&&this._initField(e),this.disableSubmitButtons(!1),this.$form.trigger(t.Event(this.options.events.fieldRemoved),{field:e,element:s}),this},resetField:function(e,i){var s=this._namespace,o=t([]);switch(typeof e){case"object":o=e,e=e.attr("data-"+s+"-field");break;case"string":o=this.getFieldElements(e)}var n=o.length;if(this.options.fields[e])for(var r=0;n>r;r++)for(var a in this.options.fields[e].validators)o.eq(r).removeData(s+".dfs."+a);if(i){var l=o.attr("type");"radio"===l||"checkbox"===l?o.prop("checked",!1).removeAttr("selected"):o.val("")}return this.updateStatus(e,this.STATUS_NOT_VALIDATED),this},resetForm:function(e){for(var i in this.options.fields)this.resetField(i,e);return this.$invalidFields=t([]),this.$submitButton=null,this.disableSubmitButtons(!1),this},revalidateField:function(t){return this.updateStatus(t,this.STATUS_NOT_VALIDATED).validateField(t),this},setLocale:function(e){return this.options.locale=e,this.$form.trigger(t.Event(this.options.events.localeChanged),{locale:e,bv:this,fv:this}),this},updateOption:function(t,e,i,s){var o=this._namespace;return"object"==typeof t&&(t=t.attr("data-"+o+"-field")),this.options.fields[t]&&this.options.fields[t].validators[e]&&(this.options.fields[t].validators[e][i]=s,this.updateStatus(t,this.STATUS_NOT_VALIDATED,e)),this},validateContainer:function(e){var i=this,s=this._namespace,o=[],n="string"==typeof e?t(e):e;if(0===n.length)return this;n.find("[data-"+s+"-field]").each(function(){var e=t(this);i._isExcluded(e)||o.push(e)});for(var r=o.length,a=0;r>a;a++)this.validateField(o[a]);return this}},t.fn.formValidation=function(e){var i=arguments;return this.each(function(){var s=t(this),o=s.data("formValidation"),n="object"==typeof e&&e;if(!o){var r=(n.framework||s.attr("data-fv-framework")||"bootstrap").toLowerCase(),a=r.substr(0,1).toUpperCase()+r.substr(1);if(void 0===FormValidation.Framework[a])throw new Error("The class FormValidation.Framework."+a+" is not implemented");o=new FormValidation.Framework[a](this,n),s.addClass("fv-form-"+r).data("formValidation",o)}"string"==typeof e&&o[e].apply(o,Array.prototype.slice.call(i,1))})},t.fn.formValidation.Constructor=FormValidation.Base,t.fn.formValidation.DEFAULT_OPTIONS={autoFocus:!0,declarative:!0,elementClass:"fv-form",events:{formInit:"init.form.fv",formError:"err.form.fv",formSuccess:"success.form.fv",fieldAdded:"added.field.fv",fieldRemoved:"removed.field.fv",fieldInit:"init.field.fv",fieldError:"err.field.fv",fieldSuccess:"success.field.fv",fieldStatus:"status.field.fv",localeChanged:"changed.locale.fv",validatorError:"err.validator.fv",validatorSuccess:"success.validator.fv",validatorIgnored:"ignored.validator.fv"},excluded:[":disabled",":hidden",":not(:visible)"],fields:null,live:"enabled",locale:"en_US",message:"This value is not valid",threshold:null,verbose:!0,button:{selector:'[type="submit"]',disabled:""},control:{valid:"",invalid:""},err:{clazz:"",container:null,parent:null},icon:{valid:null,invalid:null,validating:null,feedback:""},row:{selector:null,valid:"",invalid:"",feedback:""}}}(jQuery),function(t){FormValidation.Helper={call:function(t,e){if("function"==typeof t)return t.apply(this,e);if("string"==typeof t){"()"===t.substring(t.length-2)&&(t=t.substring(0,t.length-2));for(var i=t.split("."),s=i.pop(),o=window,n=0;n<i.length;n++)o=o[i[n]];return void 0===o[s]?null:o[s].apply(this,e)}},date:function(t,e,i,s){if(isNaN(t)||isNaN(e)||isNaN(i))return!1;if(i.length>2||e.length>2||t.length>4)return!1;if(i=parseInt(i,10),e=parseInt(e,10),1e3>(t=parseInt(t,10))||t>9999||0>=e||e>12)return!1;var o=[31,28,31,30,31,30,31,31,30,31,30,31];if((t%400==0||t%100!=0&&t%4==0)&&(o[1]=29),0>=i||i>o[e-1])return!1;if(!0===s){var n=new Date,r=n.getFullYear(),a=n.getMonth(),l=n.getDate();return r>t||t===r&&a>e-1||t===r&&e-1===a&&l>i}return!0},format:function(e,i){for(var s in t.isArray(i)||(i=[i]),i)e=e.replace("%s",i[s]);return e},luhn:function(t){for(var e=t.length,i=0,s=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],o=0;e--;)o+=s[i][parseInt(t.charAt(e),10)],i^=1;return o%10==0&&o>0},mod11And10:function(t){for(var e=5,i=t.length,s=0;i>s;s++)e=(2*(e||10)%11+parseInt(t.charAt(s),10))%10;return 1===e},mod37And36:function(t,e){for(var i=(e=e||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ").length,s=t.length,o=Math.floor(i/2),n=0;s>n;n++)o=(2*(o||i)%(i+1)+e.indexOf(t.charAt(n)))%i;return 1===o}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{base64:{default:"Please enter a valid base 64 encoded"}}}),FormValidation.Validator.base64={validate:function(t,e){var i=t.getFieldValue(e,"base64");return""===i||/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{between:{default:"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"}}}),FormValidation.Validator.between={html5Attributes:{message:"message",min:"min",max:"max",inclusive:"inclusive"},enableByHtml5:function(t){return"range"===t.attr("type")&&{min:t.attr("min"),max:t.attr("max")}},validate:function(e,i,s){var o=e.getFieldValue(i,"between");if(""===o)return!0;if(o=this._format(o),!t.isNumeric(o))return!1;var n=e.getLocale(),r=t.isNumeric(s.min)?s.min:e.getDynamicOption(i,s.min),a=t.isNumeric(s.max)?s.max:e.getDynamicOption(i,s.max),l=this._format(r),d=this._format(a);return o=parseFloat(o),!0===s.inclusive||void 0===s.inclusive?{valid:o>=l&&d>=o,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].between.default,[r,a])}:{valid:o>l&&d>o,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].between.notInclusive,[r,a])}},_format:function(t){return(t+"").replace(",",".")}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{bic:{default:"Please enter a valid BIC number"}}}),FormValidation.Validator.bic={validate:function(t,e){var i=t.getFieldValue(e,"bic");return""===i||/^[a-zA-Z]{6}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?$/.test(i)}}}(jQuery),jQuery,FormValidation.Validator.blank={validate:function(){return!0}},function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{callback:{default:"Please enter a valid value"}}}),FormValidation.Validator.callback={html5Attributes:{message:"message",callback:"callback"},validate:function(e,i,s){var o=e.getFieldValue(i,"callback"),n=new t.Deferred,r={valid:!0};if(s.callback){var a=FormValidation.Helper.call(s.callback,[o,e,i]);r="boolean"==typeof a||null===a?{valid:a}:a}return n.resolve(i,"callback",r),n}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{choice:{default:"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum",between:"Please choose %s - %s options"}}}),FormValidation.Validator.choice={html5Attributes:{message:"message",min:"min",max:"max"},validate:function(e,i,s){var o=e.getLocale(),n=e.getNamespace(),r=i.is("select")?e.getFieldElements(i.attr("data-"+n+"-field")).find("option").filter(":selected").length:e.getFieldElements(i.attr("data-"+n+"-field")).filter(":checked").length,a=s.min?t.isNumeric(s.min)?s.min:e.getDynamicOption(i,s.min):null,l=s.max?t.isNumeric(s.max)?s.max:e.getDynamicOption(i,s.max):null,d=!0,c=s.message||FormValidation.I18n[o].choice.default;switch((a&&r<parseInt(a,10)||l&&r>parseInt(l,10))&&(d=!1),!0){case!!a&&!!l:c=FormValidation.Helper.format(s.message||FormValidation.I18n[o].choice.between,[parseInt(a,10),parseInt(l,10)]);break;case!!a:c=FormValidation.Helper.format(s.message||FormValidation.I18n[o].choice.less,parseInt(a,10));break;case!!l:c=FormValidation.Helper.format(s.message||FormValidation.I18n[o].choice.more,parseInt(l,10))}return{valid:d,message:c}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{color:{default:"Please enter a valid color"}}}),FormValidation.Validator.color={html5Attributes:{message:"message",type:"type"},enableByHtml5:function(t){return"color"===t.attr("type")},SUPPORTED_TYPES:["hex","rgb","rgba","hsl","hsla","keyword"],KEYWORD_COLORS:["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","transparent","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],validate:function(e,i,s){var o=e.getFieldValue(i,"color");if(""===o)return!0;if(this.enableByHtml5(i))return/^#[0-9A-F]{6}$/i.test(o);var n=s.type||this.SUPPORTED_TYPES;t.isArray(n)||(n=n.replace(/s/g,"").split(","));for(var r,a=!1,l=0;l<n.length;l++)if(r="_"+n[l].toLowerCase(),a=a||this[r](o))return!0;return!1},_hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},_hsl:function(t){return/^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(t)},_hsla:function(t){return/^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(t)},_keyword:function(e){return t.inArray(e,this.KEYWORD_COLORS)>=0},_rgb:function(t){return/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/.test(t)||/^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(t)},_rgba:function(t){return/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(t)||/^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(t)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{creditCard:{default:"Please enter a valid credit card number"}}}),FormValidation.Validator.creditCard={validate:function(e,i){var s=e.getFieldValue(i,"creditCard");if(""===s)return!0;if(/[^0-9-\s]+/.test(s))return!1;if(s=s.replace(/\D/g,""),!FormValidation.Helper.luhn(s))return!1;var o,n,r={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}};for(o in r)for(n in r[o].prefix)if(s.substr(0,r[o].prefix[n].length)===r[o].prefix[n]&&-1!==t.inArray(s.length,r[o].length))return{valid:!0,type:o};return!1}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{cusip:{default:"Please enter a valid CUSIP number"}}}),FormValidation.Validator.cusip={validate:function(e,i){var s=e.getFieldValue(i,"cusip");if(""===s)return!0;if(s=s.toUpperCase(),!/^[0-9A-Z]{9}$/.test(s))return!1;for(var o=t.map(s.split(""),function(t){var e=t.charCodeAt(0);return e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?e-"A".charCodeAt(0)+10:t}),n=o.length,r=0,a=0;n-1>a;a++){var l=parseInt(o[a],10);a%2!=0&&(l*=2),l>9&&(l-=9),r+=l}return(r=(10-r%10)%10)===parseInt(o[n-1],10)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{cvv:{default:"Please enter a valid CVV number"}}}),FormValidation.Validator.cvv={html5Attributes:{message:"message",ccfield:"creditCardField"},init:function(t,e,i){if(i.creditCardField){var s=t.getFieldElements(i.creditCardField);t.onLiveChange(s,"live_cvv",function(){t.getStatus(e,"cvv")!==t.STATUS_NOT_VALIDATED&&t.revalidateField(e)})}},destroy:function(t,e,i){if(i.creditCardField){var s=t.getFieldElements(i.creditCardField);t.offLiveChange(s,"live_cvv")}},validate:function(e,i,s){var o=e.getFieldValue(i,"cvv");if(""===o)return!0;if(!/^[0-9]{3,4}$/.test(o))return!1;if(!s.creditCardField)return!0;var n=e.getFieldElements(s.creditCardField).val();if(""===n)return!0;n=n.replace(/\D/g,"");var r,a,l={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}},d=null;for(r in l)for(a in l[r].prefix)if(n.substr(0,l[r].prefix[a].length)===l[r].prefix[a]&&-1!==t.inArray(n.length,l[r].length)){d=r;break}return null!==d&&("AMERICAN_EXPRESS"===d?4===o.length:3===o.length)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{date:{default:"Please enter a valid date",min:"Please enter a date after %s",max:"Please enter a date before %s",range:"Please enter a date in the range %s - %s"}}}),FormValidation.Validator.date={html5Attributes:{message:"message",format:"format",min:"min",max:"max",separator:"separator"},validate:function(e,i,s){var o=e.getFieldValue(i,"date");if(""===o)return!0;s.format=s.format||"MM/DD/YYYY","date"===i.attr("type")&&(s.format="YYYY-MM-DD");var n=e.getLocale(),r=s.message||FormValidation.I18n[n].date.default,a=s.format.split(" "),l=a[0],d=a.length>1?a[1]:null,c=a.length>2?a[2]:null,h=o.split(" "),u=h[0],p=h.length>1?h[1]:null;if(a.length!==h.length)return{valid:!1,message:r};var f=s.separator;if(f||(f=-1!==u.indexOf("/")?"/":-1!==u.indexOf("-")?"-":-1!==u.indexOf(".")?".":null),null===f||-1===u.indexOf(f))return{valid:!1,message:r};if(u=u.split(f),l=l.split(f),u.length!==l.length)return{valid:!1,message:r};var m=u[t.inArray("YYYY",l)],g=u[t.inArray("MM",l)],v=u[t.inArray("DD",l)];if(!m||!g||!v||4!==m.length)return{valid:!1,message:r};var b=null,w=null,y=null;if(d){if(d=d.split(":"),p=p.split(":"),d.length!==p.length)return{valid:!1,message:r};if(w=p.length>0?p[0]:null,b=p.length>1?p[1]:null,y=p.length>2?p[2]:null,""===w||""===b||""===y)return{valid:!1,message:r};if(y){if(isNaN(y)||y.length>2)return{valid:!1,message:r};if(0>(y=parseInt(y,10))||y>60)return{valid:!1,message:r}}if(w){if(isNaN(w)||w.length>2)return{valid:!1,message:r};if(0>(w=parseInt(w,10))||w>=24||c&&w>12)return{valid:!1,message:r}}if(b){if(isNaN(b)||b.length>2)return{valid:!1,message:r};if(0>(b=parseInt(b,10))||b>59)return{valid:!1,message:r}}}var S=FormValidation.Helper.date(m,g,v),k=null,x=null,A=s.min,T=s.max;switch(A&&(isNaN(Date.parse(A))&&(A=e.getDynamicOption(i,A)),k=A instanceof Date?A:this._parseDate(A,l,f),A=A instanceof Date?this._formatDate(A,s.format):A),T&&(isNaN(Date.parse(T))&&(T=e.getDynamicOption(i,T)),x=T instanceof Date?T:this._parseDate(T,l,f),T=T instanceof Date?this._formatDate(T,s.format):T),u=new Date(m,g-1,v,w,b,y),!0){case A&&!T&&S:S=u.getTime()>=k.getTime(),r=s.message||FormValidation.Helper.format(FormValidation.I18n[n].date.min,A);break;case T&&!A&&S:S=u.getTime()<=x.getTime(),r=s.message||FormValidation.Helper.format(FormValidation.I18n[n].date.max,T);break;case T&&A&&S:S=u.getTime()<=x.getTime()&&u.getTime()>=k.getTime(),r=s.message||FormValidation.Helper.format(FormValidation.I18n[n].date.range,[A,T])}return{valid:S,message:r}},_parseDate:function(e,i,s){var o=0,n=0,r=0,a=e.split(" "),l=a[0],d=a.length>1?a[1]:null,c=(l=l.split(s))[t.inArray("YYYY",i)],h=l[t.inArray("MM",i)],u=l[t.inArray("DD",i)];return d&&(n=(d=d.split(":")).length>0?d[0]:null,o=d.length>1?d[1]:null,r=d.length>2?d[2]:null),new Date(c,h-1,u,n,o,r)},_formatDate:function(t,e){e=e.replace(/Y/g,"y").replace(/M/g,"m").replace(/D/g,"d").replace(/:m/g,":M").replace(/:mm/g,":MM").replace(/:S/,":s").replace(/:SS/,":ss");var i={d:function(t){return t.getDate()},dd:function(t){var e=t.getDate();return 10>e?"0"+e:e},m:function(t){return t.getMonth()+1},mm:function(t){var e=t.getMonth()+1;return 10>e?"0"+e:e},yy:function(t){return(""+t.getFullYear()).substr(2)},yyyy:function(t){return t.getFullYear()},h:function(t){return t.getHours()%12||12},hh:function(t){var e=t.getHours()%12||12;return 10>e?"0"+e:e},H:function(t){return t.getHours()},HH:function(t){var e=t.getHours();return 10>e?"0"+e:e},M:function(t){return t.getMinutes()},MM:function(t){var e=t.getMinutes();return 10>e?"0"+e:e},s:function(t){return t.getSeconds()},ss:function(t){var e=t.getSeconds();return 10>e?"0"+e:e}};return e.replace(/d{1,4}|m{1,4}|yy(?:yy)?|([HhMs])\1?|"[^"]*"|'[^']*'/g,function(e){return i[e]?i[e](t):e.slice(1,e.length-1)})}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{different:{default:"Please enter a different value"}}}),FormValidation.Validator.different={html5Attributes:{message:"message",field:"field"},init:function(t,e,i){for(var s=i.field.split(","),o=0;o<s.length;o++){var n=t.getFieldElements(s[o]);t.onLiveChange(n,"live_different",function(){t.getStatus(e,"different")!==t.STATUS_NOT_VALIDATED&&t.revalidateField(e)})}},destroy:function(t,e,i){for(var s=i.field.split(","),o=0;o<s.length;o++){var n=t.getFieldElements(s[o]);t.offLiveChange(n,"live_different")}},validate:function(t,e,i){var s=t.getFieldValue(e,"different");if(""===s)return!0;for(var o=i.field.split(","),n=!0,r=0;r<o.length;r++){var a=t.getFieldElements(o[r]);if(null!=a&&0!==a.length){var l=t.getFieldValue(a,"different");s===l?n=!1:""!==l&&t.updateStatus(a,t.STATUS_VALID,"different")}}return n}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{digits:{default:"Please enter only digits"}}}),FormValidation.Validator.digits={validate:function(t,e){var i=t.getFieldValue(e,"digits");return""===i||/^\d+$/.test(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{ean:{default:"Please enter a valid EAN number"}}}),FormValidation.Validator.ean={validate:function(t,e){var i=t.getFieldValue(e,"ean");if(""===i)return!0;if(!/^(\d{8}|\d{12}|\d{13})$/.test(i))return!1;for(var s=i.length,o=0,n=8===s?[3,1]:[1,3],r=0;s-1>r;r++)o+=parseInt(i.charAt(r),10)*n[r%2];return(o=(10-o%10)%10)+""===i.charAt(s-1)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{ein:{default:"Please enter a valid EIN number"}}}),FormValidation.Validator.ein={CAMPUS:{ANDOVER:["10","12"],ATLANTA:["60","67"],AUSTIN:["50","53"],BROOKHAVEN:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],CINCINNATI:["30","32","35","36","37","38","61"],FRESNO:["15","24"],KANSAS_CITY:["40","44"],MEMPHIS:["94","95"],OGDEN:["80","90"],PHILADELPHIA:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],INTERNET:["20","26","27","45","46"],SMALL_BUSINESS_ADMINISTRATION:["31"]},validate:function(e,i){var s=e.getFieldValue(i,"ein");if(""===s)return!0;if(!/^[0-9]{2}-?[0-9]{7}$/.test(s))return!1;var o=s.substr(0,2)+"";for(var n in this.CAMPUS)if(-1!==t.inArray(o,this.CAMPUS[n]))return{valid:!0,campus:n};return!1}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{emailAddress:{default:"Please enter a valid email address"}}}),FormValidation.Validator.emailAddress={html5Attributes:{message:"message",multiple:"multiple",separator:"separator"},enableByHtml5:function(t){return"email"===t.attr("type")},validate:function(t,e,i){var s=t.getFieldValue(e,"emailAddress");if(""===s)return!0;var o=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;if(!0===i.multiple||"true"===i.multiple){for(var n=i.separator||/[,;]/,r=this._splitEmailAddresses(s,n),a=0;a<r.length;a++)if(!o.test(r[a]))return!1;return!0}return o.test(s)},_splitEmailAddresses:function(t,e){for(var i=t.split(/"/),s=i.length,o=[],n="",r=0;s>r;r++)if(r%2==0){var a=i[r].split(e),l=a.length;if(1===l)n+=a[0];else{o.push(n+a[0]);for(var d=1;l-1>d;d++)o.push(a[d]);n=a[l-1]}}else n+='"'+i[r],s-1>r&&(n+='"');return o.push(n),o}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{file:{default:"Please choose a valid file"}}}),FormValidation.Validator.file={html5Attributes:{extension:"extension",maxfiles:"maxFiles",minfiles:"minFiles",maxsize:"maxSize",minsize:"minSize",maxtotalsize:"maxTotalSize",mintotalsize:"minTotalSize",message:"message",type:"type"},validate:function(e,i,s){var o=e.getFieldValue(i,"file");if(""===o)return!0;var n,r=s.extension?s.extension.toLowerCase().split(","):null,a=s.type?s.type.toLowerCase().split(","):null;if(window.File&&window.FileList&&window.FileReader){var l=i.get(0).files,d=l.length,c=0;if(s.maxFiles&&d>parseInt(s.maxFiles,10)||s.minFiles&&d<parseInt(s.minFiles,10))return!1;for(var h=0;d>h;h++)if(c+=l[h].size,n=l[h].name.substr(l[h].name.lastIndexOf(".")+1),s.minSize&&l[h].size<parseInt(s.minSize,10)||s.maxSize&&l[h].size>parseInt(s.maxSize,10)||r&&-1===t.inArray(n.toLowerCase(),r)||l[h].type&&a&&-1===t.inArray(l[h].type.toLowerCase(),a))return!1;if(s.maxTotalSize&&c>parseInt(s.maxTotalSize,10)||s.minTotalSize&&c<parseInt(s.minTotalSize,10))return!1}else if(n=o.substr(o.lastIndexOf(".")+1),r&&-1===t.inArray(n.toLowerCase(),r))return!1;return!0}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{greaterThan:{default:"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"}}}),FormValidation.Validator.greaterThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(t){var e=t.attr("type"),i=t.attr("min");return!(!i||"date"===e)&&{value:i}},validate:function(e,i,s){var o=e.getFieldValue(i,"greaterThan");if(""===o)return!0;if(o=this._format(o),!t.isNumeric(o))return!1;var n=e.getLocale(),r=t.isNumeric(s.value)?s.value:e.getDynamicOption(i,s.value),a=this._format(r);return o=parseFloat(o),!0===s.inclusive||void 0===s.inclusive?{valid:o>=a,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].greaterThan.default,r)}:{valid:o>a,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].greaterThan.notInclusive,r)}},_format:function(t){return(t+"").replace(",",".")}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{grid:{default:"Please enter a valid GRId number"}}}),FormValidation.Validator.grid={validate:function(t,e){var i=t.getFieldValue(e,"grid");return""===i||(i=i.toUpperCase(),!!/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(i)&&("GRID:"===(i=i.replace(/\s/g,"").replace(/-/g,"")).substr(0,5)&&(i=i.substr(5)),FormValidation.Helper.mod37And36(i)))}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{hex:{default:"Please enter a valid hexadecimal number"}}}),FormValidation.Validator.hex={validate:function(t,e){var i=t.getFieldValue(e,"hex");return""===i||/^[0-9a-fA-F]+$/.test(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{iban:{default:"Please enter a valid IBAN number",country:"Please enter a valid IBAN number in %s",countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British"}}}}),FormValidation.Validator.iban={html5Attributes:{message:"message",country:"country"},REGEX:{AD:"AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}",AE:"AE[0-9]{2}[0-9]{3}[0-9]{16}",AL:"AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}",AO:"AO[0-9]{2}[0-9]{21}",AT:"AT[0-9]{2}[0-9]{5}[0-9]{11}",AZ:"AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}",BA:"BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}",BE:"BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}",BF:"BF[0-9]{2}[0-9]{23}",BG:"BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}",BH:"BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}",BI:"BI[0-9]{2}[0-9]{12}",BJ:"BJ[0-9]{2}[A-Z]{1}[0-9]{23}",BR:"BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]",CH:"CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}",CI:"CI[0-9]{2}[A-Z]{1}[0-9]{23}",CM:"CM[0-9]{2}[0-9]{23}",CR:"CR[0-9]{2}[0-9]{3}[0-9]{14}",CV:"CV[0-9]{2}[0-9]{21}",CY:"CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}",CZ:"CZ[0-9]{2}[0-9]{20}",DE:"DE[0-9]{2}[0-9]{8}[0-9]{10}",DK:"DK[0-9]{2}[0-9]{14}",DO:"DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}",DZ:"DZ[0-9]{2}[0-9]{20}",EE:"EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}",ES:"ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}",FI:"FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}",FO:"FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",FR:"FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",GB:"GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",GE:"GE[0-9]{2}[A-Z]{2}[0-9]{16}",GI:"GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}",GL:"GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",GR:"GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}",GT:"GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}",HR:"HR[0-9]{2}[0-9]{7}[0-9]{10}",HU:"HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}",IE:"IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",IL:"IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}",IR:"IR[0-9]{2}[0-9]{22}",IS:"IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}",IT:"IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",JO:"JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}",KW:"KW[0-9]{2}[A-Z]{4}[0-9]{22}",KZ:"KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LB:"LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}",LI:"LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}",LT:"LT[0-9]{2}[0-9]{5}[0-9]{11}",LU:"LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LV:"LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}",MC:"MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",MD:"MD[0-9]{2}[A-Z0-9]{20}",ME:"ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",MG:"MG[0-9]{2}[0-9]{23}",MK:"MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}",ML:"ML[0-9]{2}[A-Z]{1}[0-9]{23}",MR:"MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}",MT:"MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}",MU:"MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}",MZ:"MZ[0-9]{2}[0-9]{21}",NL:"NL[0-9]{2}[A-Z]{4}[0-9]{10}",NO:"NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}",PK:"PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",PL:"PL[0-9]{2}[0-9]{8}[0-9]{16}",PS:"PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",PT:"PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}",QA:"QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",RO:"RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",RS:"RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",SA:"SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}",SE:"SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}",SI:"SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}",SK:"SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}",SM:"SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",SN:"SN[0-9]{2}[A-Z]{1}[0-9]{23}",TN:"TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",TR:"TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}",VG:"VG[0-9]{2}[A-Z]{4}[0-9]{16}"},validate:function(e,i,s){var o=e.getFieldValue(i,"iban");if(""===o)return!0;o=o.replace(/[^a-zA-Z0-9]/g,"").toUpperCase();var n=s.country;n?"string"==typeof n&&this.REGEX[n]||(n=e.getDynamicOption(i,n)):n=o.substr(0,2);var r=e.getLocale();if(!this.REGEX[n])return!0;if(!new RegExp("^"+this.REGEX[n]+"$").test(o))return{valid:!1,message:FormValidation.Helper.format(s.message||FormValidation.I18n[r].iban.country,FormValidation.I18n[r].iban.countries[n])};o=o.substr(4)+o.substr(0,4),o=(o=t.map(o.split(""),function(t){var e=t.charCodeAt(0);return e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?e-"A".charCodeAt(0)+10:t})).join("");for(var a=parseInt(o.substr(0,1),10),l=o.length,d=1;l>d;++d)a=(10*a+parseInt(o.substr(d,1),10))%97;return{valid:1===a,message:FormValidation.Helper.format(s.message||FormValidation.I18n[r].iban.country,FormValidation.I18n[r].iban.countries[n])}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{id:{default:"Please enter a valid identification number",country:"Please enter a valid identification number in %s",countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",PL:"Poland",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",ZA:"South Africa"}}}}),FormValidation.Validator.id={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BA","BG","BR","CH","CL","CN","CZ","DK","EE","ES","FI","HR","IE","IS","LT","LV","ME","MK","NL","PL","RO","RS","SE","SI","SK","SM","TH","ZA"],validate:function(e,i,s){var o=e.getFieldValue(i,"id");if(""===o)return!0;var n=e.getLocale(),r=s.country;return r?("string"!=typeof r||-1===t.inArray(r.toUpperCase(),this.COUNTRY_CODES))&&(r=e.getDynamicOption(i,r)):r=o.substr(0,2),-1===t.inArray(r,this.COUNTRY_CODES)||(!!this[["_",r.toLowerCase()].join("")](o)||{valid:!1,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].id.country,FormValidation.I18n[n].id.countries[r.toUpperCase()])})},_validateJMBG:function(t,e){if(!/^\d{13}$/.test(t))return!1;var i=parseInt(t.substr(0,2),10),s=parseInt(t.substr(2,2),10),o=(parseInt(t.substr(4,3),10),parseInt(t.substr(7,2),10)),n=parseInt(t.substr(12,1),10);if(i>31||s>12)return!1;for(var r=0,a=0;6>a;a++)r+=(7-a)*(parseInt(t.charAt(a),10)+parseInt(t.charAt(a+6),10));if((10===(r=11-r%11)||11===r)&&(r=0),r!==n)return!1;switch(e.toUpperCase()){case"BA":return o>=10&&19>=o;case"MK":return o>=41&&49>=o;case"ME":return o>=20&&29>=o;case"RS":return o>=70&&99>=o;case"SI":return o>=50&&59>=o;default:return!0}},_ba:function(t){return this._validateJMBG(t,"BA")},_mk:function(t){return this._validateJMBG(t,"MK")},_me:function(t){return this._validateJMBG(t,"ME")},_rs:function(t){return this._validateJMBG(t,"RS")},_si:function(t){return this._validateJMBG(t,"SI")},_bg:function(t){if(!/^\d{10}$/.test(t)&&!/^\d{6}\s\d{3}\s\d{1}$/.test(t))return!1;t=t.replace(/\s/g,"");var e=parseInt(t.substr(0,2),10)+1900,i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);if(i>40?(e+=100,i-=40):i>20&&(e-=100,i-=20),!FormValidation.Helper.date(e,i,s))return!1;for(var o=0,n=[2,4,8,5,10,9,7,3,6],r=0;9>r;r++)o+=parseInt(t.charAt(r),10)*n[r];return(o=o%11%10)+""===t.substr(9,1)},_br:function(t){if(t=t.replace(/\D/g,""),!/^\d{11}$/.test(t)||/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(t))return!1;for(var e=0,i=0;9>i;i++)e+=(10-i)*parseInt(t.charAt(i),10);if((10===(e=11-e%11)||11===e)&&(e=0),e+""!==t.charAt(9))return!1;var s=0;for(i=0;10>i;i++)s+=(11-i)*parseInt(t.charAt(i),10);return(10===(s=11-s%11)||11===s)&&(s=0),s+""===t.charAt(10)},_ch:function(t){if(!/^756[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{2}$/.test(t))return!1;for(var e=(t=t.replace(/\D/g,"").substr(3)).length,i=0,s=8===e?[3,1]:[1,3],o=0;e-1>o;o++)i+=parseInt(t.charAt(o),10)*s[o%2];return(i=10-i%10)+""===t.charAt(e-1)},_cl:function(t){if(!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(t))return!1;for(t=t.replace(/\-/g,"");t.length<9;)t="0"+t;for(var e=0,i=[3,2,7,6,5,4,3,2],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return 11===(e=11-e%11)?e=0:10===e&&(e="K"),e+""===t.charAt(8).toUpperCase()},_cn:function(e){if(e=e.trim(),!/^\d{15}$/.test(e)&&!/^\d{17}[\dXx]{1}$/.test(e))return!1;var i,s={11:{0:[0],1:[[0,9],[11,17]],2:[0,28,29]},12:{0:[0],1:[[0,16]],2:[0,21,23,25]},13:{0:[0],1:[[0,5],7,8,21,[23,33],[81,85]],2:[[0,5],[7,9],[23,25],27,29,30,81,83],3:[[0,4],[21,24]],4:[[0,4],6,21,[23,35],81],5:[[0,3],[21,35],81,82],6:[[0,4],[21,38],[81,84]],7:[[0,3],5,6,[21,33]],8:[[0,4],[21,28]],9:[[0,3],[21,30],[81,84]],10:[[0,3],[22,26],28,81,82],11:[[0,2],[21,28],81,82]},14:{0:[0],1:[0,1,[5,10],[21,23],81],2:[[0,3],11,12,[21,27]],3:[[0,3],11,21,22],4:[[0,2],11,21,[23,31],81],5:[[0,2],21,22,24,25,81],6:[[0,3],[21,24]],7:[[0,2],[21,29],81],8:[[0,2],[21,30],81,82],9:[[0,2],[21,32],81],10:[[0,2],[21,34],81,82],11:[[0,2],[21,30],81,82],23:[[0,3],22,23,[25,30],32,33]},15:{0:[0],1:[[0,5],[21,25]],2:[[0,7],[21,23]],3:[[0,4]],4:[[0,4],[21,26],[28,30]],5:[[0,2],[21,26],81],6:[[0,2],[21,27]],7:[[0,3],[21,27],[81,85]],8:[[0,2],[21,26]],9:[[0,2],[21,29],81],22:[[0,2],[21,24]],25:[[0,2],[22,31]],26:[[0,2],[24,27],[29,32],34],28:[0,1,[22,27]],29:[0,[21,23]]},21:{0:[0],1:[[0,6],[11,14],[22,24],81],2:[[0,4],[11,13],24,[81,83]],3:[[0,4],11,21,23,81],4:[[0,4],11,[21,23]],5:[[0,5],21,22],6:[[0,4],24,81,82],7:[[0,3],11,26,27,81,82],8:[[0,4],11,81,82],9:[[0,5],11,21,22],10:[[0,5],11,21,81],11:[[0,3],21,22],12:[[0,2],4,21,23,24,81,82],13:[[0,3],21,22,24,81,82],14:[[0,4],21,22,81]},22:{0:[0],1:[[0,6],12,22,[81,83]],2:[[0,4],11,21,[81,84]],3:[[0,3],22,23,81,82],4:[[0,3],21,22],5:[[0,3],21,23,24,81,82],6:[[0,2],4,5,[21,23],25,81],7:[[0,2],[21,24],81],8:[[0,2],21,22,81,82],24:[[0,6],24,26]},23:{0:[0],1:[[0,12],21,[23,29],[81,84]],2:[[0,8],21,[23,25],27,[29,31],81],3:[[0,7],21,81,82],4:[[0,7],21,22],5:[[0,3],5,6,[21,24]],6:[[0,6],[21,24]],7:[[0,16],22,81],8:[[0,5],11,22,26,28,33,81,82],9:[[0,4],21],10:[[0,5],24,25,81,[83,85]],11:[[0,2],21,23,24,81,82],12:[[0,2],[21,26],[81,83]],27:[[0,4],[21,23]]},31:{0:[0],1:[0,1,[3,10],[12,20]],2:[0,30]},32:{0:[0],1:[[0,7],11,[13,18],24,25],2:[[0,6],11,81,82],3:[[0,5],11,12,[21,24],81,82],4:[[0,2],4,5,11,12,81,82],5:[[0,9],[81,85]],6:[[0,2],11,12,21,23,[81,84]],7:[0,1,3,5,6,[21,24]],8:[[0,4],11,26,[29,31]],9:[[0,3],[21,25],28,81,82],10:[[0,3],11,12,23,81,84,88],11:[[0,2],11,12,[81,83]],12:[[0,4],[81,84]],13:[[0,2],11,[21,24]]},33:{0:[0],1:[[0,6],[8,10],22,27,82,83,85],2:[0,1,[3,6],11,12,25,26,[81,83]],3:[[0,4],22,24,[26,29],81,82],4:[[0,2],11,21,24,[81,83]],5:[[0,3],[21,23]],6:[[0,2],21,24,[81,83]],7:[[0,3],23,26,27,[81,84]],8:[[0,3],22,24,25,81],9:[[0,3],21,22],10:[[0,4],[21,24],81,82],11:[[0,2],[21,27],81]},34:{0:[0],1:[[0,4],11,[21,24],81],2:[[0,4],7,8,[21,23],25],3:[[0,4],11,[21,23]],4:[[0,6],21],5:[[0,4],6,[21,23]],6:[[0,4],21],7:[[0,3],11,21],8:[[0,3],11,[22,28],81],10:[[0,4],[21,24]],11:[[0,3],22,[24,26],81,82],12:[[0,4],21,22,25,26,82],13:[[0,2],[21,24]],14:[[0,2],[21,24]],15:[[0,3],[21,25]],16:[[0,2],[21,23]],17:[[0,2],[21,23]],18:[[0,2],[21,25],81]},35:{0:[0],1:[[0,5],11,[21,25],28,81,82],2:[[0,6],[11,13]],3:[[0,5],22],4:[[0,3],21,[23,30],81],5:[[0,5],21,[24,27],[81,83]],6:[[0,3],[22,29],81],7:[[0,2],[21,25],[81,84]],8:[[0,2],[21,25],81],9:[[0,2],[21,26],81,82]},36:{0:[0],1:[[0,5],11,[21,24]],2:[[0,3],22,81],3:[[0,2],13,[21,23]],4:[[0,3],21,[23,30],81,82],5:[[0,2],21],6:[[0,2],22,81],7:[[0,2],[21,35],81,82],8:[[0,3],[21,30],81],9:[[0,2],[21,26],[81,83]],10:[[0,2],[21,30]],11:[[0,2],[21,30],81]},37:{0:[0],1:[[0,5],12,13,[24,26],81],2:[[0,3],5,[11,14],[81,85]],3:[[0,6],[21,23]],4:[[0,6],81],5:[[0,3],[21,23]],6:[[0,2],[11,13],34,[81,87]],7:[[0,5],24,25,[81,86]],8:[[0,2],11,[26,32],[81,83]],9:[[0,3],11,21,23,82,83],10:[[0,2],[81,83]],11:[[0,3],21,22],12:[[0,3]],13:[[0,2],11,12,[21,29]],14:[[0,2],[21,28],81,82],15:[[0,2],[21,26],81],16:[[0,2],[21,26]],17:[[0,2],[21,28]]},41:{0:[0],1:[[0,6],8,22,[81,85]],2:[[0,5],11,[21,25]],3:[[0,7],11,[22,29],81],4:[[0,4],11,[21,23],25,81,82],5:[[0,3],5,6,22,23,26,27,81],6:[[0,3],11,21,22],7:[[0,4],11,21,[24,28],81,82],8:[[0,4],11,[21,23],25,[81,83]],9:[[0,2],22,23,[26,28]],10:[[0,2],[23,25],81,82],11:[[0,4],[21,23]],12:[[0,2],21,22,24,81,82],13:[[0,3],[21,30],81],14:[[0,3],[21,26],81],15:[[0,3],[21,28]],16:[[0,2],[21,28],81],17:[[0,2],[21,29]],90:[0,1]},42:{0:[0],1:[[0,7],[11,17]],2:[[0,5],22,81],3:[[0,3],[21,25],81],5:[[0,6],[25,29],[81,83]],6:[[0,2],6,7,[24,26],[82,84]],7:[[0,4]],8:[[0,2],4,21,22,81],9:[[0,2],[21,23],81,82,84],10:[[0,3],[22,24],81,83,87],11:[[0,2],[21,27],81,82],12:[[0,2],[21,24],81],13:[[0,3],21,81],28:[[0,2],22,23,[25,28]],90:[0,[4,6],21]},43:{0:[0],1:[[0,5],11,12,21,22,24,81],2:[[0,4],11,21,[23,25],81],3:[[0,2],4,21,81,82],4:[0,1,[5,8],12,[21,24],26,81,82],5:[[0,3],11,[21,25],[27,29],81],6:[[0,3],11,21,23,24,26,81,82],7:[[0,3],[21,26],81],8:[[0,2],11,21,22],9:[[0,3],[21,23],81],10:[[0,3],[21,28],81],11:[[0,3],[21,29]],12:[[0,2],[21,30],81],13:[[0,2],21,22,81,82],31:[0,1,[22,27],30]},44:{0:[0],1:[[0,7],[11,16],83,84],2:[[0,5],21,22,24,29,32,33,81,82],3:[0,1,[3,8]],4:[[0,4]],5:[0,1,[6,15],23,82,83],6:[0,1,[4,8]],7:[0,1,[3,5],81,[83,85]],8:[[0,4],11,23,25,[81,83]],9:[[0,3],23,[81,83]],12:[[0,3],[23,26],83,84],13:[[0,3],[22,24],81],14:[[0,2],[21,24],26,27,81],15:[[0,2],21,23,81],16:[[0,2],[21,25]],17:[[0,2],21,23,81],18:[[0,3],21,23,[25,27],81,82],19:[0],20:[0],51:[[0,3],21,22],52:[[0,3],21,22,24,81],53:[[0,2],[21,23],81]},45:{0:[0],1:[[0,9],[21,27]],2:[[0,5],[21,26]],3:[[0,5],11,12,[21,32]],4:[0,1,[3,6],11,[21,23],81],5:[[0,3],12,21],6:[[0,3],21,81],7:[[0,3],21,22],8:[[0,4],21,81],9:[[0,3],[21,24],81],10:[[0,2],[21,31]],11:[[0,2],[21,23]],12:[[0,2],[21,29],81],13:[[0,2],[21,24],81],14:[[0,2],[21,25],81]},46:{0:[0],1:[0,1,[5,8]],2:[0,1],3:[0,[21,23]],90:[[0,3],[5,7],[21,39]]},50:{0:[0],1:[[0,19]],2:[0,[22,38],[40,43]],3:[0,[81,84]]},51:{0:[0],1:[0,1,[4,8],[12,15],[21,24],29,31,32,[81,84]],3:[[0,4],11,21,22],4:[[0,3],11,21,22],5:[[0,4],21,22,24,25],6:[0,1,3,23,26,[81,83]],7:[0,1,3,4,[22,27],81],8:[[0,2],11,12,[21,24]],9:[[0,4],[21,23]],10:[[0,2],11,24,25,28],11:[[0,2],[11,13],23,24,26,29,32,33,81],13:[[0,4],[21,25],81],14:[[0,2],[21,25]],15:[[0,3],[21,29]],16:[[0,3],[21,23],81],17:[[0,3],[21,25],81],18:[[0,3],[21,27]],19:[[0,3],[21,23]],20:[[0,2],21,22,81],32:[0,[21,33]],33:[0,[21,38]],34:[0,1,[22,37]]},52:{0:[0],1:[[0,3],[11,15],[21,23],81],2:[0,1,3,21,22],3:[[0,3],[21,30],81,82],4:[[0,2],[21,25]],5:[[0,2],[21,27]],6:[[0,3],[21,28]],22:[0,1,[22,30]],23:[0,1,[22,28]],24:[0,1,[22,28]],26:[0,1,[22,36]],27:[[0,2],22,23,[25,32]]},53:{0:[0],1:[[0,3],[11,14],21,22,[24,29],81],3:[[0,2],[21,26],28,81],4:[[0,2],[21,28]],5:[[0,2],[21,24]],6:[[0,2],[21,30]],7:[[0,2],[21,24]],8:[[0,2],[21,29]],9:[[0,2],[21,27]],23:[0,1,[22,29],31],25:[[0,4],[22,32]],26:[0,1,[21,28]],27:[0,1,[22,30]],28:[0,1,22,23],29:[0,1,[22,32]],31:[0,2,3,[22,24]],34:[0,[21,23]],33:[0,21,[23,25]],35:[0,[21,28]]},54:{0:[0],1:[[0,2],[21,27]],21:[0,[21,29],32,33],22:[0,[21,29],[31,33]],23:[0,1,[22,38]],24:[0,[21,31]],25:[0,[21,27]],26:[0,[21,27]]},61:{0:[0],1:[[0,4],[11,16],22,[24,26]],2:[[0,4],22],3:[[0,4],[21,24],[26,31]],4:[[0,4],[22,31],81],5:[[0,2],[21,28],81,82],6:[[0,2],[21,32]],7:[[0,2],[21,30]],8:[[0,2],[21,31]],9:[[0,2],[21,29]],10:[[0,2],[21,26]]},62:{0:[0],1:[[0,5],11,[21,23]],2:[0,1],3:[[0,2],21],4:[[0,3],[21,23]],5:[[0,3],[21,25]],6:[[0,2],[21,23]],7:[[0,2],[21,25]],8:[[0,2],[21,26]],9:[[0,2],[21,24],81,82],10:[[0,2],[21,27]],11:[[0,2],[21,26]],12:[[0,2],[21,28]],24:[0,21,[24,29]],26:[0,21,[23,30]],29:[0,1,[21,27]],30:[0,1,[21,27]]},63:{0:[0],1:[[0,5],[21,23]],2:[0,2,[21,25]],21:[0,[21,23],[26,28]],22:[0,[21,24]],23:[0,[21,24]],25:[0,[21,25]],26:[0,[21,26]],27:[0,1,[21,26]],28:[[0,2],[21,23]]},64:{0:[0],1:[0,1,[4,6],21,22,81],2:[[0,3],5,[21,23]],3:[[0,3],[21,24],81],4:[[0,2],[21,25]],5:[[0,2],21,22]},65:{0:[0],1:[[0,9],21],2:[[0,5]],21:[0,1,22,23],22:[0,1,22,23],23:[[0,3],[23,25],27,28],28:[0,1,[22,29]],29:[0,1,[22,29]],30:[0,1,[22,24]],31:[0,1,[21,31]],32:[0,1,[21,27]],40:[0,2,3,[21,28]],42:[[0,2],21,[23,26]],43:[0,1,[21,26]],90:[[0,4]],27:[[0,2],22,23]},71:{0:[0]},81:{0:[0]},82:{0:[0]}},o=parseInt(e.substr(0,2),10),n=parseInt(e.substr(2,2),10),r=parseInt(e.substr(4,2),10);if(!s[o]||!s[o][n])return!1;for(var a=!1,l=s[o][n],d=0;d<l.length;d++)if(t.isArray(l[d])&&l[d][0]<=r&&r<=l[d][1]||!t.isArray(l[d])&&r===l[d]){a=!0;break}if(!a)return!1;i=18===e.length?e.substr(6,8):"19"+e.substr(6,6);var c=parseInt(i.substr(0,4),10),h=parseInt(i.substr(4,2),10),u=parseInt(i.substr(6,2),10);if(!FormValidation.Helper.date(c,h,u))return!1;if(18===e.length){var p=0,f=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];for(d=0;17>d;d++)p+=parseInt(e.charAt(d),10)*f[d];return p=(12-p%11)%11,("X"!==e.charAt(17).toUpperCase()?parseInt(e.charAt(17),10):10)===p}return!0},_cz:function(t){if(!/^\d{9,10}$/.test(t))return!1;var e=1900+parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10)%50%20,s=parseInt(t.substr(4,2),10);if(9===t.length){if(e>=1980&&(e-=100),e>1953)return!1}else 1954>e&&(e+=100);if(!FormValidation.Helper.date(e,i,s))return!1;if(10===t.length){var o=parseInt(t.substr(0,9),10)%11;return 1985>e&&(o%=10),o+""===t.substr(9,1)}return!0},_dk:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(t))return!1;t=t.replace(/-/g,"");var e=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);switch(!0){case-1!=="5678".indexOf(t.charAt(6))&&s>=58:s+=1800;break;case-1!=="0123".indexOf(t.charAt(6)):case-1!=="49".indexOf(t.charAt(6))&&s>=37:s+=1900;break;default:s+=2e3}return FormValidation.Helper.date(s,i,e)},_ee:function(t){return this._lt(t)},_es:function(t){var e,i=/^[0-9]{8}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t),s=/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[A-HJ-NP-TV-Z]$/.test(t),o=/^[A-HNPQS][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-J]$/.test(t);if(!i&&!s&&!o)return!1;if(t=t.replace(/-/g,""),i||s){var n="XYZ".indexOf(t.charAt(0));return-1!==n&&(t=n+t.substr(1)+""),(e="TRWAGMYFPDXBNJZSQVHLCKE"[(e=parseInt(t.substr(0,8),10))%23])===t.substr(8,1)}e=t.substr(1,7);for(var r=t[0],a=t.substr(-1),l=0,d=0;d<e.length;d++)if(d%2!=0)l+=parseInt(e[d],10);else{var c=""+2*parseInt(e[d],10);l+=parseInt(c[0],10),2===c.length&&(l+=parseInt(c[1],10))}var h=l-10*Math.floor(l/10);return 0!==h&&(h=10-h),-1!=="KQS".indexOf(r)?a==="JABCDEFGHI"[h]:-1!=="ABEH".indexOf(r)?a===""+h:a===""+h||a==="JABCDEFGHI"[h]},_fi:function(t){if(!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(t))return!1;var e=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);if(s={"+":1800,"-":1900,A:2e3}[t.charAt(6)]+s,!FormValidation.Helper.date(s,i,e))return!1;if(2>parseInt(t.substr(7,3),10))return!1;var o=t.substr(0,6)+t.substr(7,3)+"";return o=parseInt(o,10),"0123456789ABCDEFHJKLMNPRSTUVWXY".charAt(o%31)===t.charAt(10)},_hr:function(t){return!!/^[0-9]{11}$/.test(t)&&FormValidation.Helper.mod11And10(t)},_ie:function(t){if(!/^\d{7}[A-W][AHWTX]?$/.test(t))return!1;var e=function(t){for(;t.length<7;)t="0"+t;for(var e="WABCDEFGHIJKLMNOPQRSTUV",i=0,s=0;7>s;s++)i+=parseInt(t.charAt(s),10)*(8-s);return i+=9*e.indexOf(t.substr(7)),e[i%23]};return 9!==t.length||"A"!==t.charAt(8)&&"H"!==t.charAt(8)?t.charAt(7)===e(t.substr(0,7)):t.charAt(7)===e(t.substr(0,7)+t.substr(8)+"")},_is:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(t))return!1;t=t.replace(/-/g,"");var e=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10),o=parseInt(t.charAt(9),10);if(s=9===o?1900+s:100*(20+o)+s,!FormValidation.Helper.date(s,i,e,!0))return!1;for(var n=0,r=[3,2,7,6,5,4,3,2],a=0;8>a;a++)n+=parseInt(t.charAt(a),10)*r[a];return(n=11-n%11)+""===t.charAt(8)},_lt:function(t){if(!/^[0-9]{11}$/.test(t))return!1;var e=parseInt(t.charAt(0),10),i=parseInt(t.substr(1,2),10),s=parseInt(t.substr(3,2),10),o=parseInt(t.substr(5,2),10);if(i=100*(e%2==0?17+e/2:17+(e+1)/2)+i,!FormValidation.Helper.date(i,s,o,!0))return!1;for(var n=0,r=[1,2,3,4,5,6,7,8,9,1],a=0;10>a;a++)n+=parseInt(t.charAt(a),10)*r[a];if(10!==(n%=11))return n+""===t.charAt(10);for(n=0,r=[3,4,5,6,7,8,9,1,2,3],a=0;10>a;a++)n+=parseInt(t.charAt(a),10)*r[a];return 10===(n%=11)&&(n=0),n+""===t.charAt(10)},_lv:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(t))return!1;t=t.replace(/\D/g,"");var e=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);if(s=s+1800+100*parseInt(t.charAt(6),10),!FormValidation.Helper.date(s,i,e,!0))return!1;for(var o=0,n=[10,5,8,4,2,1,6,3,7,9],r=0;10>r;r++)o+=parseInt(t.charAt(r),10)*n[r];return(o=(o+1)%11%10)+""===t.charAt(10)},_nl:function(t){for(;t.length<9;)t="0"+t;if(!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(t))return!1;if(t=t.replace(/\./g,""),0===parseInt(t,10))return!1;for(var e=0,i=t.length,s=0;i-1>s;s++)e+=(9-s)*parseInt(t.charAt(s),10);return 10===(e%=11)&&(e=0),e+""===t.charAt(i-1)},_pl:function(t){if(!/^[0-9]{11}$/.test(t))return!1;for(var e=0,i=t.length,s=[1,3,7,9,1,3,7,9,1,3,7],o=0;i-1>o;o++)e+=s[o]*parseInt(t.charAt(o),10);return 0===(e%=10)&&(e=10),(e=10-e)+""===t.charAt(i-1)},_ro:function(t){if(!/^[0-9]{13}$/.test(t))return!1;var e=parseInt(t.charAt(0),10);if(0===e||7===e||8===e)return!1;var i=parseInt(t.substr(1,2),10),s=parseInt(t.substr(3,2),10),o=parseInt(t.substr(5,2),10);if(o>31&&s>12)return!1;if(9!==e&&(i={1:1900,2:1900,3:1800,4:1800,5:2e3,6:2e3}[e+""]+i,!FormValidation.Helper.date(i,s,o)))return!1;for(var n=0,r=[2,7,9,1,4,6,3,5,8,2,7,9],a=t.length,l=0;a-1>l;l++)n+=parseInt(t.charAt(l),10)*r[l];return 10===(n%=11)&&(n=1),n+""===t.charAt(a-1)},_se:function(t){if(!/^[0-9]{10}$/.test(t)&&!/^[0-9]{6}[-|+][0-9]{4}$/.test(t))return!1;t=t.replace(/[^0-9]/g,"");var e=parseInt(t.substr(0,2),10)+1900,i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);return!!FormValidation.Helper.date(e,i,s)&&FormValidation.Helper.luhn(t)},_sk:function(t){return this._cz(t)},_sm:function(t){return/^\d{5}$/.test(t)},_th:function(t){if(13!==t.length)return!1;for(var e=0,i=0;12>i;i++)e+=parseInt(t.charAt(i),10)*(13-i);return(11-e%11)%10===parseInt(t.charAt(12),10)},_za:function(t){if(!/^[0-9]{10}[0|1][8|9][0-9]$/.test(t))return!1;var e=parseInt(t.substr(0,2),10),i=(new Date).getFullYear()%100,s=parseInt(t.substr(2,2),10),o=parseInt(t.substr(4,2),10);return e=e>=i?e+1900:e+2e3,!!FormValidation.Helper.date(e,s,o)&&FormValidation.Helper.luhn(t)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{identical:{default:"Please enter the same value"}}}),FormValidation.Validator.identical={html5Attributes:{message:"message",field:"field"},init:function(t,e,i){var s=t.getFieldElements(i.field);t.onLiveChange(s,"live_identical",function(){t.getStatus(e,"identical")!==t.STATUS_NOT_VALIDATED&&t.revalidateField(e)})},destroy:function(t,e,i){var s=t.getFieldElements(i.field);t.offLiveChange(s,"live_identical")},validate:function(t,e,i){var s=t.getFieldValue(e,"identical"),o=t.getFieldElements(i.field);return null===o||0===o.length||s===t.getFieldValue(o,"identical")&&(t.updateStatus(o,t.STATUS_VALID,"identical"),!0)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{imei:{default:"Please enter a valid IMEI number"}}}),FormValidation.Validator.imei={validate:function(t,e){var i=t.getFieldValue(e,"imei");if(""===i)return!0;switch(!0){case/^\d{15}$/.test(i):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(i):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(i):return i=i.replace(/[^0-9]/g,""),FormValidation.Helper.luhn(i);case/^\d{14}$/.test(i):case/^\d{16}$/.test(i):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(i):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(i):return!0;default:return!1}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{imo:{default:"Please enter a valid IMO number"}}}),FormValidation.Validator.imo={validate:function(t,e){var i=t.getFieldValue(e,"imo");if(""===i)return!0;if(!/^IMO \d{7}$/i.test(i))return!1;for(var s=0,o=i.replace(/^.*(\d{7})$/,"$1"),n=6;n>=1;n--)s+=o.slice(6-n,-n)*(n+1);return s%10===parseInt(o.charAt(6),10)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{integer:{default:"Please enter a valid number"}}}),FormValidation.Validator.integer={enableByHtml5:function(t){return"number"===t.attr("type")&&(void 0===t.attr("step")||t.attr("step")%1==0)},validate:function(t,e){if(this.enableByHtml5(e)&&e.get(0).validity&&!0===e.get(0).validity.badInput)return!1;var i=t.getFieldValue(e,"integer");return""===i||/^(?:-?(?:0|[1-9][0-9]*))$/.test(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{ip:{default:"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"}}}),FormValidation.Validator.ip={html5Attributes:{message:"message",ipv4:"ipv4",ipv6:"ipv6"},validate:function(e,i,s){var o=e.getFieldValue(i,"ip");if(""===o)return!0;s=t.extend({},{ipv4:!0,ipv6:!0},s);var n,r=e.getLocale(),a=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,l=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,d=!1;switch(!0){case s.ipv4&&!s.ipv6:d=a.test(o),n=s.message||FormValidation.I18n[r].ip.ipv4;break;case!s.ipv4&&s.ipv6:d=l.test(o),n=s.message||FormValidation.I18n[r].ip.ipv6;break;case s.ipv4&&s.ipv6:default:d=a.test(o)||l.test(o),n=s.message||FormValidation.I18n[r].ip.default}return{valid:d,message:n}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{isbn:{default:"Please enter a valid ISBN number"}}}),FormValidation.Validator.isbn={validate:function(t,e){var i,s=t.getFieldValue(e,"isbn");if(""===s)return!0;switch(!0){case/^\d{9}[\dX]$/.test(s):case 13===s.length&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(s):case 13===s.length&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(s):i="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(s):case 17===s.length&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(s):case 17===s.length&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(s):i="ISBN13";break;default:return!1}var o,n,r=(s=s.replace(/[^0-9X]/gi,"")).split(""),a=r.length,l=0;switch(i){case"ISBN10":for(l=0,o=0;a-1>o;o++)l+=parseInt(r[o],10)*(10-o);return 11===(n=11-l%11)?n=0:10===n&&(n="X"),n+""===r[a-1];case"ISBN13":for(l=0,o=0;a-1>o;o++)l+=o%2==0?parseInt(r[o],10):3*parseInt(r[o],10);return 10===(n=10-l%10)&&(n="0"),n+""===r[a-1];default:return!1}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{isin:{default:"Please enter a valid ISIN number"}}}),FormValidation.Validator.isin={COUNTRY_CODES:"AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|YE|ZM|ZW",validate:function(t,e){var i=t.getFieldValue(e,"isin");if(""===i)return!0;if(i=i.toUpperCase(),!new RegExp("^("+this.COUNTRY_CODES+")[0-9A-Z]{10}$").test(i))return!1;for(var s="",o=i.length,n=0;o-1>n;n++){var r=i.charCodeAt(n);s+=r>57?(r-55).toString():i.charAt(n)}var a="",l=s.length,d=l%2!=0?0:1;for(n=0;l>n;n++)a+=parseInt(s[n],10)*(n%2===d?2:1)+"";var c=0;for(n=0;n<a.length;n++)c+=parseInt(a.charAt(n),10);return(c=(10-c%10)%10)+""===i.charAt(o-1)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{ismn:{default:"Please enter a valid ISMN number"}}}),FormValidation.Validator.ismn={validate:function(t,e){var i,s=t.getFieldValue(e,"ismn");if(""===s)return!0;switch(!0){case/^M\d{9}$/.test(s):case/^M-\d{4}-\d{4}-\d{1}$/.test(s):case/^M\s\d{4}\s\d{4}\s\d{1}$/.test(s):i="ISMN10";break;case/^9790\d{9}$/.test(s):case/^979-0-\d{4}-\d{4}-\d{1}$/.test(s):case/^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(s):i="ISMN13";break;default:return!1}"ISMN10"===i&&(s="9790"+s.substr(1));for(var o=(s=s.replace(/[^0-9]/gi,"")).length,n=0,r=[1,3],a=0;o-1>a;a++)n+=parseInt(s.charAt(a),10)*r[a%2];return(n=10-n%10)+""===s.charAt(o-1)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{issn:{default:"Please enter a valid ISSN number"}}}),FormValidation.Validator.issn={validate:function(t,e){var i=t.getFieldValue(e,"issn");if(""===i)return!0;if(!/^\d{4}\-\d{3}[\dX]$/.test(i))return!1;var s=(i=i.replace(/[^0-9X]/gi,"")).split(""),o=s.length,n=0;"X"===s[7]&&(s[7]=10);for(var r=0;o>r;r++)n+=parseInt(s[r],10)*(8-r);return n%11==0}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{lessThan:{default:"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"}}}),FormValidation.Validator.lessThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(t){var e=t.attr("type"),i=t.attr("max");return!(!i||"date"===e)&&{value:i}},validate:function(e,i,s){var o=e.getFieldValue(i,"lessThan");if(""===o)return!0;if(o=this._format(o),!t.isNumeric(o))return!1;var n=e.getLocale(),r=t.isNumeric(s.value)?s.value:e.getDynamicOption(i,s.value),a=this._format(r);return o=parseFloat(o),!0===s.inclusive||void 0===s.inclusive?{valid:a>=o,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].lessThan.default,r)}:{valid:a>o,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].lessThan.notInclusive,r)}},_format:function(t){return(t+"").replace(",",".")}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{mac:{default:"Please enter a valid MAC address"}}}),FormValidation.Validator.mac={validate:function(t,e){var i=t.getFieldValue(e,"mac");return""===i||/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/.test(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{meid:{default:"Please enter a valid MEID number"}}}),FormValidation.Validator.meid={validate:function(t,e){var i=t.getFieldValue(e,"meid");if(""===i)return!0;switch(!0){case/^[0-9A-F]{15}$/i.test(i):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test(i):case/^\d{19}$/.test(i):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(i):var s=i.charAt(i.length-1);if((i=i.replace(/[- ]/g,"")).match(/^\d*$/i))return FormValidation.Helper.luhn(i);i=i.slice(0,-1);for(var o="",n=1;13>=n;n+=2)o+=(2*parseInt(i.charAt(n),16)).toString(16);var r=0;for(n=0;n<o.length;n++)r+=parseInt(o.charAt(n),16);return r%10==0?"0"===s:s===(2*(10*Math.floor((r+10)/10)-r)).toString(16);case/^[0-9A-F]{14}$/i.test(i):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(i):case/^\d{18}$/.test(i):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(i):return!0;default:return!1}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{notEmpty:{default:"Please enter a value"}}}),FormValidation.Validator.notEmpty={enableByHtml5:function(t){var e=t.attr("required")+"";return"required"===e||"true"===e},validate:function(e,i){var s=i.attr("type");if("radio"===s||"checkbox"===s){var o=e.getNamespace();return e.getFieldElements(i.attr("data-"+o+"-field")).filter(":checked").length>0}if("number"===s&&i.get(0).validity&&!0===i.get(0).validity.badInput)return!0;var n=e.getFieldValue(i,"notEmpty");return""!==t.trim(n)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{numeric:{default:"Please enter a valid float number"}}}),FormValidation.Validator.numeric={html5Attributes:{message:"message",separator:"separator"},enableByHtml5:function(t){return"number"===t.attr("type")&&void 0!==t.attr("step")&&t.attr("step")%1!=0},validate:function(t,e,i){if(this.enableByHtml5(e)&&e.get(0).validity&&!0===e.get(0).validity.badInput)return!1;var s=t.getFieldValue(e,"numeric");if(""===s)return!0;var o=i.separator||".";return"."!==o&&(s=s.replace(o,".")),!isNaN(parseFloat(s))&&isFinite(s)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{phone:{default:"Please enter a valid phone number",country:"Please enter a valid phone number in %s",countries:{AE:"United Arab Emirates",BG:"Bulgaria",BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IN:"India",MA:"Morocco",NL:"Netherlands",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"}}}}),FormValidation.Validator.phone={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AE","BG","BR","CN","CZ","DE","DK","ES","FR","GB","IN","MA","NL","PK","RO","RU","SK","TH","US","VE"],validate:function(e,i,s){var o=e.getFieldValue(i,"phone");if(""===o)return!0;var n=e.getLocale(),r=s.country;if(("string"!=typeof r||-1===t.inArray(r,this.COUNTRY_CODES))&&(r=e.getDynamicOption(i,r)),!r||-1===t.inArray(r.toUpperCase(),this.COUNTRY_CODES))return!0;var a=!0;switch(r.toUpperCase()){case"AE":o=t.trim(o),a=/^(((\+|00)?971[\s\.-]?(\(0\)[\s\.-]?)?|0)(\(5(0|2|5|6)\)|5(0|2|5|6)|2|3|4|6|7|9)|60)([\s\.-]?[0-9]){7}$/.test(o);break;case"BG":o=o.replace(/\+|\s|-|\/|\(|\)/gi,""),a=/^(0|359|00)(((700|900)[0-9]{5}|((800)[0-9]{5}|(800)[0-9]{4}))|(87|88|89)([0-9]{7})|((2[0-9]{7})|(([3-9][0-9])(([0-9]{6})|([0-9]{5})))))$/.test(o);break;case"BR":o=t.trim(o),a=/^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(o);break;case"CN":o=t.trim(o),a=/^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(o);break;case"CZ":a=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(o);break;case"DE":o=t.trim(o),a=/^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test(o);break;case"DK":o=t.trim(o),a=/^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(o);break;case"ES":o=t.trim(o),a=/^(?:(?:(?:\+|00)34\D?))?(?:5|6|7|8|9)(?:\d\D?){8}$/.test(o);break;case"FR":o=t.trim(o),a=/^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(o);break;case"GB":o=t.trim(o),a=/^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|\#)\d+)?)$/.test(o);break;case"IN":o=t.trim(o),a=/((\+?)((0[ -]+)*|(91 )*)(\d{12}|\d{10}))|\d{5}([- ]*)\d{6}/.test(o);break;case"MA":o=t.trim(o),a=/^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(o);break;case"NL":o=t.trim(o),a=/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9])((\s|\s?-\s?)?[0-9])((\s|\s?-\s?)?[0-9])\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]\s?[0-9]$/gm.test(o);break;case"PK":o=t.trim(o),a=/^0?3[0-9]{2}[0-9]{7}$/.test(o);break;case"RO":a=/^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|\-)?([0-9]{3}(\s|\.|\-|)){2}$/g.test(o);break;case"RU":a=/^((8|\+7|007)[\-\.\/ ]?)?([\(\/\.]?\d{3}[\)\/\.]?[\-\.\/ ]?)?[\d\-\.\/ ]{7,10}$/g.test(o);break;case"SK":a=/^(((00)([- ]?)|\+)(421)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(o);break;case"TH":a=/^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(o);break;case"VE":o=t.trim(o),a=/^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(o);break;case"US":default:a=/^(?:(1\-?)|(\+1 ?))?\(?(\d{3})[\)\-\.]?(\d{3})[\-\.]?(\d{4})$/.test(o)}return{valid:a,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].phone.country,FormValidation.I18n[n].phone.countries[r])}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{regexp:{default:"Please enter a value matching the pattern"}}}),FormValidation.Validator.regexp={html5Attributes:{message:"message",regexp:"regexp"},enableByHtml5:function(t){var e=t.attr("pattern");return!!e&&{regexp:e}},validate:function(t,e,i){var s=t.getFieldValue(e,"regexp");return""===s||("string"==typeof i.regexp?new RegExp(i.regexp):i.regexp).test(s)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{remote:{default:"Please enter a valid value"}}}),FormValidation.Validator.remote={html5Attributes:{crossdomain:"crossDomain",data:"data",datatype:"dataType",delay:"delay",message:"message",name:"name",type:"type",url:"url",validkey:"validKey"},destroy:function(t,e){var i=t.getNamespace(),s=e.data(i+".remote.timer");s&&(clearTimeout(s),e.removeData(i+".remote.timer"))},validate:function(e,i,s){function o(){var e=t.ajax(u);return e.success(function(t){t.valid=!0===t[h]||"true"===t[h]||!1!==t[h]&&"false"!==t[h]&&null,a.resolve(i,"remote",t)}).error(function(){a.resolve(i,"remote",{valid:!1})}),a.fail(function(){e.abort()}),a}var n=e.getNamespace(),r=e.getFieldValue(i,"remote"),a=new t.Deferred;if(""===r)return a.resolve(i,"remote",{valid:!0}),a;var l=i.attr("data-"+n+"-field"),d=s.data||{},c=s.url,h=s.validKey||"valid";"function"==typeof d&&(d=d.call(this,e)),"string"==typeof d&&(d=JSON.parse(d)),"function"==typeof c&&(c=c.call(this,e)),d[s.name||l]=r;var u={data:d,dataType:s.dataType||"json",headers:s.headers||{},type:s.type||"GET",url:c};return null!==s.crossDomain&&(u.crossDomain=!0===s.crossDomain||"true"===s.crossDomain),s.delay?(i.data(n+".remote.timer")&&clearTimeout(i.data(n+".remote.timer")),i.data(n+".remote.timer",setTimeout(o,s.delay)),a):o()}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{rtn:{default:"Please enter a valid RTN number"}}}),FormValidation.Validator.rtn={validate:function(t,e){var i=t.getFieldValue(e,"rtn");if(""===i)return!0;if(!/^\d{9}$/.test(i))return!1;for(var s=0,o=0;o<i.length;o+=3)s+=3*parseInt(i.charAt(o),10)+7*parseInt(i.charAt(o+1),10)+parseInt(i.charAt(o+2),10);return 0!==s&&s%10==0}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{sedol:{default:"Please enter a valid SEDOL number"}}}),FormValidation.Validator.sedol={validate:function(t,e){var i=t.getFieldValue(e,"sedol");if(""===i)return!0;if(i=i.toUpperCase(),!/^[0-9A-Z]{7}$/.test(i))return!1;for(var s=0,o=[1,3,1,7,3,9,1],n=i.length,r=0;n-1>r;r++)s+=o[r]*parseInt(i.charAt(r),36);return(s=(10-s%10)%10)+""===i.charAt(n-1)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{siren:{default:"Please enter a valid SIREN number"}}}),FormValidation.Validator.siren={validate:function(t,e){var i=t.getFieldValue(e,"siren");return""===i||!!/^\d{9}$/.test(i)&&FormValidation.Helper.luhn(i)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{siret:{default:"Please enter a valid SIRET number"}}}),FormValidation.Validator.siret={validate:function(t,e){var i=t.getFieldValue(e,"siret");if(""===i)return!0;for(var s,o=0,n=i.length,r=0;n>r;r++)s=parseInt(i.charAt(r),10),r%2==0&&((s*=2)>9&&(s-=9)),o+=s;return o%10==0}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{step:{default:"Please enter a valid step of %s"}}}),FormValidation.Validator.step={html5Attributes:{message:"message",base:"baseValue",step:"step"},validate:function(e,i,s){var o=e.getFieldValue(i,"step");if(""===o)return!0;if(s=t.extend({},{baseValue:0,step:1},s),o=parseFloat(o),!t.isNumeric(o))return!1;var n=e.getLocale(),r=function(t,e){if(0===e)return 1;var i=(t+"").split("."),s=(e+"").split("."),o=(1===i.length?0:i[1].length)+(1===s.length?0:s[1].length);return function(t,e){var i=Math.pow(10,e),s=(t*=i)>0|-(0>t);return t%1==.5*s?(Math.floor(t)+(s>0))/i:Math.round(t)/i}(t-e*Math.floor(t/e),o)}(o-s.baseValue,s.step);return{valid:0===r||r===s.step,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].step.default,[s.step])}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{stringCase:{default:"Please enter only lowercase characters",upper:"Please enter only uppercase characters"}}}),FormValidation.Validator.stringCase={html5Attributes:{message:"message",case:"case"},validate:function(t,e,i){var s=t.getFieldValue(e,"stringCase");if(""===s)return!0;var o=t.getLocale(),n=(i.case||"lower").toLowerCase();return{valid:"upper"===n?s===s.toUpperCase():s===s.toLowerCase(),message:i.message||("upper"===n?FormValidation.I18n[o].stringCase.upper:FormValidation.I18n[o].stringCase.default)}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{stringLength:{default:"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters",between:"Please enter value between %s and %s characters long"}}}),FormValidation.Validator.stringLength={html5Attributes:{message:"message",min:"min",max:"max",trim:"trim",utf8bytes:"utf8Bytes"},enableByHtml5:function(e){var i={},s=e.attr("maxlength"),o=e.attr("minlength");return s&&(i.max=parseInt(s,10)),o&&(i.min=parseInt(o,10)),!t.isEmptyObject(i)&&i},validate:function(e,i,s){var o=e.getFieldValue(i,"stringLength");if((!0===s.trim||"true"===s.trim)&&(o=t.trim(o)),""===o)return!0;var n=e.getLocale(),r=t.isNumeric(s.min)?s.min:e.getDynamicOption(i,s.min),a=t.isNumeric(s.max)?s.max:e.getDynamicOption(i,s.max),l=s.utf8Bytes?function(t){for(var e=t.length,i=t.length-1;i>=0;i--){var s=t.charCodeAt(i);s>127&&2047>=s?e++:s>2047&&65535>=s&&(e+=2),s>=56320&&57343>=s&&i--}return e}(o):o.length,d=!0,c=s.message||FormValidation.I18n[n].stringLength.default;switch((r&&l<parseInt(r,10)||a&&l>parseInt(a,10))&&(d=!1),!0){case!!r&&!!a:c=FormValidation.Helper.format(s.message||FormValidation.I18n[n].stringLength.between,[parseInt(r,10),parseInt(a,10)]);break;case!!r:c=FormValidation.Helper.format(s.message||FormValidation.I18n[n].stringLength.more,parseInt(r,10));break;case!!a:c=FormValidation.Helper.format(s.message||FormValidation.I18n[n].stringLength.less,parseInt(a,10))}return{valid:d,message:c}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{uri:{default:"Please enter a valid URI"}}}),FormValidation.Validator.uri={html5Attributes:{message:"message",allowlocal:"allowLocal",allowemptyprotocol:"allowEmptyProtocol",protocol:"protocol"},enableByHtml5:function(t){return"url"===t.attr("type")},validate:function(t,e,i){var s=t.getFieldValue(e,"uri");if(""===s)return!0;var o=!0===i.allowLocal||"true"===i.allowLocal,n=!0===i.allowEmptyProtocol||"true"===i.allowEmptyProtocol,r=(i.protocol||"http, https, ftp").split(",").join("|").replace(/\s/g,"");return new RegExp("^(?:(?:"+r+")://)"+(n?"?":"")+"(?:\\S+(?::\\S*)?@)?(?:"+(o?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-?)*[a-z\\u00a1-\\uffff0-9])*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(o?"?":"")+")(?::\\d{2,5})?(?:/[^\\s]*)?$","i").test(s)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{uuid:{default:"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"}}}),FormValidation.Validator.uuid={html5Attributes:{message:"message",version:"version"},validate:function(t,e,i){var s=t.getFieldValue(e,"uuid");if(""===s)return!0;var o=t.getLocale(),n={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},r=i.version?i.version+"":"all";return{valid:null===n[r]||n[r].test(s),message:i.version?FormValidation.Helper.format(i.message||FormValidation.I18n[o].uuid.version,i.version):i.message||FormValidation.I18n[o].uuid.default}}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{vat:{default:"Please enter a valid VAT number",country:"Please enter a valid VAT number in %s",countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greek",EL:"Greek",HU:"Hungary",HR:"Croatia",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"}}}}),FormValidation.Validator.vat={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"],validate:function(e,i,s){var o=e.getFieldValue(i,"vat");if(""===o)return!0;var n=e.getLocale(),r=s.country;return r?("string"!=typeof r||-1===t.inArray(r.toUpperCase(),this.COUNTRY_CODES))&&(r=e.getDynamicOption(i,r)):r=o.substr(0,2),-1===t.inArray(r,this.COUNTRY_CODES)||(!!this[["_",r.toLowerCase()].join("")](o)||{valid:!1,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].vat.country,FormValidation.I18n[n].vat.countries[r.toUpperCase()])})},_at:function(t){if(/^ATU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^U[0-9]{8}$/.test(t))return!1;t=t.substr(1);for(var e=0,i=[1,2,1,2,1,2,1],s=0,o=0;7>o;o++)(s=parseInt(t.charAt(o),10)*i[o])>9&&(s=Math.floor(s/10)+s%10),e+=s;return 10===(e=10-(e+4)%10)&&(e=0),e+""===t.substr(7,1)},_be:function(t){return/^BE[0]{0,1}[0-9]{9}$/.test(t)&&(t=t.substr(2)),!!/^[0]{0,1}[0-9]{9}$/.test(t)&&(9===t.length&&(t="0"+t),"0"!==t.substr(1,1)&&(parseInt(t.substr(0,8),10)+parseInt(t.substr(8,2),10))%97==0)},_bg:function(t){if(/^BG[0-9]{9,10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9,10}$/.test(t))return!1;var e=0,i=0;if(9===t.length){for(i=0;8>i;i++)e+=parseInt(t.charAt(i),10)*(i+1);if(10===(e%=11))for(e=0,i=0;8>i;i++)e+=parseInt(t.charAt(i),10)*(i+3);return(e%=10)+""===t.substr(8)}if(10===t.length){return function(t){var e=parseInt(t.substr(0,2),10)+1900,i=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10);if(i>40?(e+=100,i-=40):i>20&&(e-=100,i-=20),!FormValidation.Helper.date(e,i,s))return!1;for(var o=0,n=[2,4,8,5,10,9,7,3,6],r=0;9>r;r++)o+=parseInt(t.charAt(r),10)*n[r];return(o=o%11%10)+""===t.substr(9,1)}(t)||function(t){for(var e=0,i=[21,19,17,13,11,9,7,3,1],s=0;9>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return(e%=10)+""===t.substr(9,1)}(t)||function(t){for(var e=0,i=[4,3,2,7,6,5,4,3,2],s=0;9>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return 10!=(e=11-e%11)&&(11===e&&(e=0),e+""===t.substr(9,1))}(t)}return!1},_br:function(t){if(""===t)return!0;var e=t.replace(/[^\d]+/g,"");if(""===e||14!==e.length)return!1;if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var i=e.length-2,s=e.substring(0,i),o=e.substring(i),n=0,r=i-7,a=i;a>=1;a--)n+=parseInt(s.charAt(i-a),10)*r--,2>r&&(r=9);var l=2>n%11?0:11-n%11;if(l!==parseInt(o.charAt(0),10))return!1;for(i+=1,s=e.substring(0,i),n=0,r=i-7,a=i;a>=1;a--)n+=parseInt(s.charAt(i-a),10)*r--,2>r&&(r=9);return(l=2>n%11?0:11-n%11)===parseInt(o.charAt(1),10)},_ch:function(t){if(/^CHE[0-9]{9}(MWST)?$/.test(t)&&(t=t.substr(2)),!/^E[0-9]{9}(MWST)?$/.test(t))return!1;t=t.substr(1);for(var e=0,i=[5,4,3,2,7,6,5,4],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return 10!==(e=11-e%11)&&(11===e&&(e=0),e+""===t.substr(8,1))},_cy:function(t){if(/^CY[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(t)&&(t=t.substr(2)),!/^[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(t))return!1;if("12"===t.substr(0,2))return!1;for(var e=0,i={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21},s=0;8>s;s++){var o=parseInt(t.charAt(s),10);s%2==0&&(o=i[o+""]),e+=o}return(e="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[e%26])+""===t.substr(8,1)},_cz:function(t){if(/^CZ[0-9]{8,10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8,10}$/.test(t))return!1;var e=0,i=0;if(8===t.length){if(t.charAt(0)+""=="9")return!1;for(e=0,i=0;7>i;i++)e+=parseInt(t.charAt(i),10)*(8-i);return 10===(e=11-e%11)&&(e=0),11===e&&(e=1),e+""===t.substr(7,1)}if(9===t.length&&t.charAt(0)+""=="6"){for(e=0,i=0;7>i;i++)e+=parseInt(t.charAt(i+1),10)*(8-i);return 10===(e=11-e%11)&&(e=0),11===e&&(e=1),(e=[8,7,6,5,4,3,2,1,0,9,10][e-1])+""===t.substr(8,1)}if(9===t.length||10===t.length){var s=1900+parseInt(t.substr(0,2),10),o=parseInt(t.substr(2,2),10)%50%20,n=parseInt(t.substr(4,2),10);if(9===t.length){if(s>=1980&&(s-=100),s>1953)return!1}else 1954>s&&(s+=100);if(!FormValidation.Helper.date(s,o,n))return!1;if(10===t.length){var r=parseInt(t.substr(0,9),10)%11;return 1985>s&&(r%=10),r+""===t.substr(9,1)}return!0}return!1},_de:function(t){return/^DE[0-9]{9}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{9}$/.test(t)&&FormValidation.Helper.mod11And10(t)},_dk:function(t){if(/^DK[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,i=[2,7,6,5,4,3,2,1],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%11==0},_ee:function(t){if(/^EE[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,i=[3,7,1,3,7,1,3,7,1],s=0;9>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%10==0},_es:function(t){if(/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(t)&&(t=t.substr(2)),!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(t))return!1;var e=t.charAt(0);return/^[0-9]$/.test(e)?function(t){var e=parseInt(t.substr(0,8),10);return(e="TRWAGMYFPDXBNJZSQVHLCKE"[e%23])+""===t.substr(8,1)}(t):/^[XYZ]$/.test(e)?function(t){var e=["XYZ".indexOf(t.charAt(0)),t.substr(1)].join("");return(e="TRWAGMYFPDXBNJZSQVHLCKE"[(e=parseInt(e,10))%23])+""===t.substr(8,1)}(t):function(t){var e=t.charAt(0);if(-1!=="KLM".indexOf(e))return"TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(t.substr(1,8),10)%23]+""===t.substr(8,1);if(-1!=="ABCDEFGHJNPQRSUVW".indexOf(e)){for(var i=0,s=[2,1,2,1,2,1,2],o=0,n=0;7>n;n++)(o=parseInt(t.charAt(n+1),10)*s[n])>9&&(o=Math.floor(o/10)+o%10),i+=o;return 10==(i=10-i%10)&&(i=0),i+""===t.substr(8,1)||"JABCDEFGHI"[i]===t.substr(8,1)}return!1}(t)},_fi:function(t){if(/^FI[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,i=[7,9,10,5,8,4,2,1],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%11==0},_fr:function(t){if(/^FR[0-9A-Z]{2}[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9A-Z]{2}[0-9]{9}$/.test(t))return!1;if(!FormValidation.Helper.luhn(t.substr(2)))return!1;if(/^[0-9]{2}$/.test(t.substr(0,2)))return t.substr(0,2)===parseInt(t.substr(2)+"12",10)%97+"";var e,i="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";return e=/^[0-9]{1}$/.test(t.charAt(0))?24*i.indexOf(t.charAt(0))+i.indexOf(t.charAt(1))-10:34*i.indexOf(t.charAt(0))+i.indexOf(t.charAt(1))-100,(parseInt(t.substr(2),10)+1+Math.floor(e/11))%11==e%11},_gb:function(t){if((/^GB[0-9]{9}$/.test(t)||/^GB[0-9]{12}$/.test(t)||/^GBGD[0-9]{3}$/.test(t)||/^GBHA[0-9]{3}$/.test(t)||/^GB(GD|HA)8888[0-9]{5}$/.test(t))&&(t=t.substr(2)),!(/^[0-9]{9}$/.test(t)||/^[0-9]{12}$/.test(t)||/^GD[0-9]{3}$/.test(t)||/^HA[0-9]{3}$/.test(t)||/^(GD|HA)8888[0-9]{5}$/.test(t)))return!1;var e=t.length;if(5===e){var i=t.substr(0,2),s=parseInt(t.substr(2),10);return"GD"===i&&500>s||"HA"===i&&s>=500}if(11===e&&("GD8888"===t.substr(0,6)||"HA8888"===t.substr(0,6)))return!("GD"===t.substr(0,2)&&parseInt(t.substr(6,3),10)>=500||"HA"===t.substr(0,2)&&parseInt(t.substr(6,3),10)<500)&&parseInt(t.substr(6,3),10)%97===parseInt(t.substr(9,2),10);if(9===e||12===e){for(var o=0,n=[8,7,6,5,4,3,2,10,1],r=0;9>r;r++)o+=parseInt(t.charAt(r),10)*n[r];return o%=97,parseInt(t.substr(0,3),10)>=100?0===o||42===o||55===o:0===o}return!0},_gr:function(t){if(/^(GR|EL)[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;8===t.length&&(t="0"+t);for(var e=0,i=[256,128,64,32,16,8,4,2],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return(e=e%11%10)+""===t.substr(8,1)},_el:function(t){return this._gr(t)},_hu:function(t){if(/^HU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,i=[9,7,3,1,9,7,3,1],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%10==0},_hr:function(t){return/^HR[0-9]{11}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{11}$/.test(t)&&FormValidation.Helper.mod11And10(t)},_ie:function(t){if(/^IE[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(t))return!1;var e=function(t){for(;t.length<7;)t="0"+t;for(var e="WABCDEFGHIJKLMNOPQRSTUV",i=0,s=0;7>s;s++)i+=parseInt(t.charAt(s),10)*(8-s);return i+=9*e.indexOf(t.substr(7)),e[i%23]};return/^[0-9]+$/.test(t.substr(0,7))?t.charAt(7)===e(t.substr(0,7)+t.substr(8)+""):-1==="ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(t.charAt(1))||t.charAt(7)===e(t.substr(2,5)+t.substr(0,1)+"")},_is:function(t){return/^IS[0-9]{5,6}$/.test(t)&&(t=t.substr(2)),/^[0-9]{5,6}$/.test(t)},_it:function(t){if(/^IT[0-9]{11}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{11}$/.test(t))return!1;if(0===parseInt(t.substr(0,7),10))return!1;var e=parseInt(t.substr(7,3),10);return!(1>e||e>201&&999!==e&&888!==e)&&FormValidation.Helper.luhn(t)},_lt:function(t){if(/^LT([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(t)&&(t=t.substr(2)),!/^([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(t))return!1;var e,i=t.length,s=0;for(e=0;i-1>e;e++)s+=parseInt(t.charAt(e),10)*(1+e%9);var o=s%11;if(10===o)for(s=0,e=0;i-1>e;e++)s+=parseInt(t.charAt(e),10)*(1+(e+2)%9);return(o=o%11%10)+""===t.charAt(i-1)},_lu:function(t){return/^LU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{8}$/.test(t)&&parseInt(t.substr(0,6),10)%89+""===t.substr(6,2)},_lv:function(t){if(/^LV[0-9]{11}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{11}$/.test(t))return!1;var e,i=parseInt(t.charAt(0),10),s=0,o=[],n=t.length;if(i>3){for(s=0,o=[9,1,4,8,3,10,2,5,7,6,1],e=0;n>e;e++)s+=parseInt(t.charAt(e),10)*o[e];return 3===(s%=11)}var r=parseInt(t.substr(0,2),10),a=parseInt(t.substr(2,2),10),l=parseInt(t.substr(4,2),10);if(l=l+1800+100*parseInt(t.charAt(6),10),!FormValidation.Helper.date(l,a,r))return!1;for(s=0,o=[10,5,8,4,2,1,6,3,7,9],e=0;n-1>e;e++)s+=parseInt(t.charAt(e),10)*o[e];return(s=(s+1)%11%10)+""===t.charAt(n-1)},_mt:function(t){if(/^MT[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,i=[3,4,6,7,8,9,10,1],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%37==0},_nl:function(t){if(/^NL[0-9]{9}B[0-9]{2}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}B[0-9]{2}$/.test(t))return!1;for(var e=0,i=[9,8,7,6,5,4,3,2],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return(e%=11)>9&&(e=0),e+""===t.substr(8,1)},_no:function(t){if(/^NO[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,i=[3,2,7,6,5,4,3,2],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return 11===(e=11-e%11)&&(e=0),e+""===t.substr(8,1)},_pl:function(t){if(/^PL[0-9]{10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{10}$/.test(t))return!1;for(var e=0,i=[6,5,7,2,3,4,5,6,7,-1],s=0;10>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return e%11==0},_pt:function(t){if(/^PT[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,i=[9,8,7,6,5,4,3,2],s=0;8>s;s++)e+=parseInt(t.charAt(s),10)*i[s];return(e=11-e%11)>9&&(e=0),e+""===t.substr(8,1)},_ro:function(t){if(/^RO[1-9][0-9]{1,9}$/.test(t)&&(t=t.substr(2)),!/^[1-9][0-9]{1,9}$/.test(t))return!1;for(var e=t.length,i=[7,5,3,2,1,7,5,3,2].slice(10-e),s=0,o=0;e-1>o;o++)s+=parseInt(t.charAt(o),10)*i[o];return(s=10*s%11%10)+""===t.substr(e-1,1)},_ru:function(t){if(/^RU([0-9]{10}|[0-9]{12})$/.test(t)&&(t=t.substr(2)),!/^([0-9]{10}|[0-9]{12})$/.test(t))return!1;var e=0;if(10===t.length){var i=0,s=[2,4,10,3,5,9,4,6,8,0];for(e=0;10>e;e++)i+=parseInt(t.charAt(e),10)*s[e];return(i%=11)>9&&(i%=10),i+""===t.substr(9,1)}if(12===t.length){var o=0,n=[7,2,4,10,3,5,9,4,6,8,0],r=0,a=[3,7,2,4,10,3,5,9,4,6,8,0];for(e=0;11>e;e++)o+=parseInt(t.charAt(e),10)*n[e],r+=parseInt(t.charAt(e),10)*a[e];return(o%=11)>9&&(o%=10),(r%=11)>9&&(r%=10),o+""===t.substr(10,1)&&r+""===t.substr(11,1)}return!1},_rs:function(t){if(/^RS[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=10,i=0,s=0;8>s;s++)0===(i=(parseInt(t.charAt(s),10)+e)%10)&&(i=10),e=2*i%11;return(e+parseInt(t.substr(8,1),10))%10==1},_se:function(t){return/^SE[0-9]{10}01$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{10}01$/.test(t)&&(t=t.substr(0,10),FormValidation.Helper.luhn(t))},_si:function(t){var e=t.match(/^(SI)?([1-9][0-9]{7})$/);if(!e)return!1;e[1]&&(t=t.substr(2));for(var i=0,s=[8,7,6,5,4,3,2],o=0;7>o;o++)i+=parseInt(t.charAt(o),10)*s[o];return 10===(i=11-i%11)&&(i=0),i+""===t.substr(7,1)},_sk:function(t){return/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(t)&&(t=t.substr(2)),!!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(t)&&parseInt(t,10)%11==0},_ve:function(t){if(/^VE[VEJPG][0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[VEJPG][0-9]{9}$/.test(t))return!1;for(var e={V:4,E:8,J:12,P:16,G:20}[t.charAt(0)],i=[3,2,7,6,5,4,3,2],s=0;8>s;s++)e+=parseInt(t.charAt(s+1),10)*i[s];return(11===(e=11-e%11)||10===e)&&(e=0),e+""===t.substr(9,1)},_za:function(t){return/^ZA4[0-9]{9}$/.test(t)&&(t=t.substr(2)),/^4[0-9]{9}$/.test(t)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{vin:{default:"Please enter a valid VIN number"}}}),FormValidation.Validator.vin={validate:function(t,e){var i=t.getFieldValue(e,"vin");if(""===i)return!0;if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(i))return!1;for(var s={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,0:0},o=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],n=0,r=(i=i.toUpperCase()).length,a=0;r>a;a++)n+=s[i.charAt(a)+""]*o[a];var l=n%11;return 10===l&&(l="X"),l+""===i.charAt(8)}}}(jQuery),function(t){FormValidation.I18n=t.extend(!0,FormValidation.I18n||{},{en_US:{zipCode:{default:"Please enter a valid postal code",country:"Please enter a valid postal code in %s",countries:{AT:"Austria",BG:"Bulgaria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",IE:"Ireland",IN:"India",IT:"Italy",MA:"Morocco",NL:"Netherlands",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"}}}}),FormValidation.Validator.zipCode={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BG","BR","CA","CH","CZ","DE","DK","ES","FR","GB","IE","IN","IT","MA","NL","PL","PT","RO","RU","SE","SG","SK","US"],validate:function(e,i,s){var o=e.getFieldValue(i,"zipCode");if(""===o||!s.country)return!0;var n=e.getLocale(),r=s.country;if(("string"!=typeof r||-1===t.inArray(r,this.COUNTRY_CODES))&&(r=e.getDynamicOption(i,r)),!r||-1===t.inArray(r.toUpperCase(),this.COUNTRY_CODES))return!0;var a=!1;switch(r=r.toUpperCase()){case"AT":a=/^([1-9]{1})(\d{3})$/.test(o);break;case"BG":a=/^([1-9]{1}[0-9]{3})$/.test(t.trim(o));break;case"BR":a=/^(\d{2})([\.]?)(\d{3})([\-]?)(\d{3})$/.test(o);break;case"CA":a=/^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(o);break;case"CH":a=/^([1-9]{1})(\d{3})$/.test(o);break;case"CZ":a=/^(\d{3})([ ]?)(\d{2})$/.test(o);break;case"DE":a=/^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(o);break;case"DK":a=/^(DK(-|\s)?)?\d{4}$/i.test(o);break;case"ES":a=/^(?:0[1-9]|[1-4][0-9]|5[0-2])\d{3}$/.test(o);break;case"FR":a=/^[0-9]{5}$/i.test(o);break;case"GB":a=this._gb(o);break;case"IN":a=/^\d{3}\s?\d{3}$/.test(o);break;case"IE":a=/^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(o);break;case"IT":a=/^(I-|IT-)?\d{5}$/i.test(o);break;case"MA":a=/^[1-9][0-9]{4}$/i.test(o);break;case"NL":a=/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(o);break;case"PL":a=/^[0-9]{2}\-[0-9]{3}$/.test(o);break;case"PT":a=/^[1-9]\d{3}-\d{3}$/.test(o);break;case"RO":a=/^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(o);break;case"RU":a=/^[0-9]{6}$/i.test(o);break;case"SE":a=/^(S-)?\d{3}\s?\d{2}$/i.test(o);break;case"SG":a=/^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(o);break;case"SK":a=/^(\d{3})([ ]?)(\d{2})$/.test(o);break;case"US":default:a=/^\d{4,5}([\-]?\d{4})?$/.test(o)}return{valid:a,message:FormValidation.Helper.format(s.message||FormValidation.I18n[n].zipCode.country,FormValidation.I18n[n].zipCode.countries[r])}},_gb:function(t){for(var e="[ABCDEFGHIJKLMNOPRSTUWYZ]",i="[ABCDEFGHKLMNOPQRSTUVWXY]",s="[ABDEFGHJLNPQRSTUWXYZ]",o=[new RegExp("^("+e+"{1}"+i+"?[0-9]{1,2})(\\s*)([0-9]{1}"+s+"{2})$","i"),new RegExp("^("+e+"{1}[0-9]{1}[ABCDEFGHJKPMNRSTUVWXY]{1})(\\s*)([0-9]{1}"+s+"{2})$","i"),new RegExp("^("+e+"{1}"+i+"{1}?[0-9]{1}[ABEHMNPRVWXY]{1})(\\s*)([0-9]{1}"+s+"{2})$","i"),new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$","i"),/^(GIR)(\s*)(0AA)$/i,/^(BFPO)(\s*)([0-9]{1,4})$/i,/^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i,/^([A-Z]{4})(\s*)(1ZZ)$/i,/^(AI-2640)$/i],n=0;n<o.length;n++)if(o[n].test(t))return!0;return!1}}}(jQuery),function(t){FormValidation.Framework.Bootstrap=function(e,i,s){i=t.extend(!0,{button:{selector:'[type="submit"]',disabled:"disabled"},err:{clazz:"help-block",parent:"^(.*)col-(xs|sm|md|lg)-(offset-){0,1}[0-9]+(.*)$"},icon:{valid:null,invalid:null,validating:null,feedback:"form-control-feedback"},row:{selector:".form-group",valid:"has-success",invalid:"has-error",feedback:"has-feedback"}},i),FormValidation.Base.apply(this,[e,i,s])},FormValidation.Framework.Bootstrap.prototype=t.extend({},FormValidation.Base.prototype,{_fixIcon:function(t,e){var i=this._namespace,s=t.attr("type"),o=t.attr("data-"+i+"-field"),n=this.options.fields[o].row||this.options.row.selector,r=t.closest(n);if("checkbox"===s||"radio"===s){var a=t.parent();a.hasClass(s)?e.insertAfter(a):a.parent().hasClass(s)&&e.insertAfter(a.parent())}0===r.find("label").length&&e.addClass("fv-icon-no-label"),0!==r.find(".input-group").length&&e.addClass("fv-bootstrap-icon-input-group").insertAfter(r.find(".input-group").eq(0))},_createTooltip:function(t,e,i){var s=this._namespace,o=t.data(s+".icon");if(o)switch(i){case"popover":o.css({cursor:"pointer","pointer-events":"auto"}).popover("destroy").popover({container:"body",content:e,html:!0,placement:"auto top",trigger:"hover click"});break;case"tooltip":default:o.css({cursor:"pointer","pointer-events":"auto"}).tooltip("destroy").tooltip({container:"body",html:!0,placement:"auto top",title:e})}},_destroyTooltip:function(t,e){var i=this._namespace,s=t.data(i+".icon");if(s)switch(e){case"popover":s.css({cursor:"","pointer-events":"none"}).popover("destroy");break;case"tooltip":default:s.css({cursor:"","pointer-events":"none"}).tooltip("destroy")}},_hideTooltip:function(t,e){var i=this._namespace,s=t.data(i+".icon");if(s)switch(e){case"popover":s.popover("hide");break;case"tooltip":default:s.tooltip("hide")}},_showTooltip:function(t,e){var i=this._namespace,s=t.data(i+".icon");if(s)switch(e){case"popover":s.popover("show");break;case"tooltip":default:s.tooltip("show")}}}),t.fn.bootstrapValidator=function(e){var i=arguments;return this.each(function(){var s=t(this),o=s.data("formValidation")||s.data("bootstrapValidator"),n="object"==typeof e&&e;o||(o=new FormValidation.Framework.Bootstrap(this,t.extend({},{events:{formInit:"init.form.bv",formError:"error.form.bv",formSuccess:"success.form.bv",fieldAdded:"added.field.bv",fieldRemoved:"removed.field.bv",fieldInit:"init.field.bv",fieldError:"error.field.bv",fieldSuccess:"success.field.bv",fieldStatus:"status.field.bv",localeChanged:"changed.locale.bv",validatorError:"error.validator.bv",validatorSuccess:"success.validator.bv"}},n),"bv"),s.addClass("fv-form-bootstrap").data("formValidation",o).data("bootstrapValidator",o)),"string"==typeof e&&o[e].apply(o,Array.prototype.slice.call(i,1))})},t.fn.bootstrapValidator.Constructor=FormValidation.Framework.Bootstrap}(jQuery),function(t){"use strict";var e=function(){},i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function s(){this.reads=[],this.writes=[],this.raf=i.bind(t),e("initialized",this)}function o(t){t.scheduled||(t.scheduled=!0,t.raf(function(t){e("flush");var i,s=t.writes,n=t.reads;try{e("flushing reads",n.length),t.runTasks(n),e("flushing writes",s.length),t.runTasks(s)}catch(t){i=t}t.scheduled=!1,(n.length||s.length)&&o(t);if(i){if(e("task errored",i.message),!t.catch)throw i;t.catch(i)}}.bind(null,t)),e("flush scheduled"))}function n(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}s.prototype={constructor:s,runTasks:function(t){var i;for(e("run tasks");i=t.shift();)i()},measure:function(t,i){e("measure");var s=i?t.bind(i):t;return this.reads.push(s),o(this),s},mutate:function(t,i){e("mutate");var s=i?t.bind(i):t;return this.writes.push(s),o(this),s},clear:function(t){return e("clear",t),n(this.reads,t)||n(this.writes,t)},extend:function(t){if(e("extend",t),"object"!=typeof t)throw new Error("expected object");var i=Object.create(this);return function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])}(i,t),i.fastdom=this,i.initialize&&i.initialize(),i},catch:null};var r=t.fastdom=t.fastdom||new s;"function"==typeof define?define(function(){return r}):"object"==typeof module&&(module.exports=r)}("undefined"!=typeof window?window:this),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.mediumZoom=e()}(this,function(){"use strict";var t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t},e=function(t){return"IMG"===t.tagName},i=function(t){return t&&1===t.nodeType},s=function(t){return".svg"===(t.currentSrc||t.src).substr(-4).toLowerCase()},o=function(t){try{return Array.isArray(t)?t.filter(e):function(t){return NodeList.prototype.isPrototypeOf(t)}(t)?[].slice.call(t).filter(e):i(t)?[t].filter(e):"string"==typeof t?[].slice.call(document.querySelectorAll(t)).filter(e):[]}catch(t){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},n=function(e,i){var s=t({bubbles:!1,cancelable:!1,detail:void 0},i);if("function"==typeof window.CustomEvent)return new CustomEvent(e,s);var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,s.bubbles,s.cancelable,s.detail),o},r=window.Promise||function(t){function e(){}t(e,e)};return function(t,e){void 0===e&&(e={});var i=e.insertAt;if(t&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&s.firstChild?s.insertBefore(o,s.firstChild):s.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}(".medium-zoom-overlay{bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{cursor:pointer;cursor:zoom-out;position:relative;will-change:transform}"),function e(a){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var s=e.reduce(function(t,e){return[].concat(t,o(e))},[]);return s.filter(function(t){return-1===p.indexOf(t)}).forEach(function(t){p.push(t),t.classList.add("medium-zoom-image")}),f.forEach(function(t){var e=t.type,i=t.listener,o=t.options;s.forEach(function(t){t.addEventListener(e,i,o)})}),y},c=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target,o=function(){var e={width:window.innerWidth,height:window.innerHeight,left:0,top:0,right:0,bottom:0},o=void 0,n=void 0;if(v.container)if(v.container instanceof Object)o=(e=t({},e,v.container)).width-e.left-e.right-2*v.margin,n=e.height-e.top-e.bottom-2*v.margin;else{var r=(i(v.container)?v.container:document.querySelector(v.container)).getBoundingClientRect(),a=r.width,l=r.height,d=r.left,c=r.top;e=t({},e,{width:a,height:l,left:d,top:c})}o=o||e.width-2*v.margin,n=n||e.height-2*v.margin;var h=b.zoomedHd||b.original,u=s(h)?o:h.naturalWidth||o,p=s(h)?n:h.naturalHeight||n,f=h.getBoundingClientRect(),m=f.top,g=f.left,w=f.width,y=f.height,S=Math.min(u,o)/w,k=Math.min(p,n)/y,x=Math.min(S,k),A="scale("+x+") translate3d("+((o-w)/2-g+v.margin+e.left)/x+"px, "+((n-y)/2-m+v.margin+e.top)/x+"px, 0)";b.zoomed.style.transform=A,b.zoomedHd&&(b.zoomedHd.style.transform=A)};return new r(function(t){if(e&&-1===p.indexOf(e))t(y);else if(b.zoomed)t(y);else{if(e)b.original=e;else{if(!(p.length>0))return void t(y);var s=p;b.original=s[0]}if(b.original.dispatchEvent(n("medium-zoom:open",{detail:{zoom:y}})),g=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,m=!0,b.zoomed=function(t){var e=t.getBoundingClientRect(),i=e.top,s=e.left,o=e.width,n=e.height,r=t.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return r.removeAttribute("id"),r.style.position="absolute",r.style.top=i+a+"px",r.style.left=s+l+"px",r.style.width=o+"px",r.style.height=n+"px",r.style.transform="",r}(b.original),document.body.appendChild(w),v.template){var r=i(v.template)?v.template:document.querySelector(v.template);b.template=document.createElement("div"),b.template.appendChild(r.content.cloneNode(!0)),document.body.appendChild(b.template)}if(document.body.appendChild(b.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),b.original.classList.add("medium-zoom-image--hidden"),b.zoomed.classList.add("medium-zoom-image--opened"),b.zoomed.addEventListener("click",h),b.zoomed.addEventListener("transitionend",function e(){m=!1,b.zoomed.removeEventListener("transitionend",e),b.original.dispatchEvent(n("medium-zoom:opened",{detail:{zoom:y}})),t(y)}),b.original.getAttribute("data-zoom-src")){b.zoomedHd=b.zoomed.cloneNode(),b.zoomedHd.removeAttribute("srcset"),b.zoomedHd.removeAttribute("sizes"),b.zoomedHd.src=b.zoomed.getAttribute("data-zoom-src"),b.zoomedHd.onerror=function(){clearInterval(a),console.warn("Unable to reach the zoom image target "+b.zoomedHd.src),b.zoomedHd=null,o()};var a=setInterval(function(){b.zoomedHd.complete&&(clearInterval(a),b.zoomedHd.classList.add("medium-zoom-image--opened"),b.zoomedHd.addEventListener("click",h),document.body.appendChild(b.zoomedHd),o())},10)}else if(b.original.hasAttribute("srcset")){b.zoomedHd=b.zoomed.cloneNode(),b.zoomedHd.removeAttribute("sizes");var l=b.zoomedHd.addEventListener("load",function(){b.zoomedHd.removeEventListener("load",l),b.zoomedHd.classList.add("medium-zoom-image--opened"),b.zoomedHd.addEventListener("click",h),document.body.appendChild(b.zoomedHd),o()})}else o()}})},h=function(){return new r(function(t){!m&&b.original?(m=!0,document.body.classList.remove("medium-zoom--opened"),b.zoomed.style.transform="",b.zoomedHd&&(b.zoomedHd.style.transform=""),b.template&&(b.template.style.transition="opacity 150ms",b.template.style.opacity=0),b.original.dispatchEvent(n("medium-zoom:close",{detail:{zoom:y}})),b.zoomed.addEventListener("transitionend",function e(){b.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(b.zoomed),b.zoomedHd&&document.body.removeChild(b.zoomedHd),document.body.removeChild(w),b.zoomed.classList.remove("medium-zoom-image--opened"),b.template&&document.body.removeChild(b.template),m=!1,b.zoomed.removeEventListener("transitionend",e),b.original.dispatchEvent(n("medium-zoom:closed",{detail:{zoom:y}})),b.original=null,b.zoomed=null,b.zoomedHd=null,b.template=null,t(y)})):t(y)})},u=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target;return b.original?h():c({target:t})},p=[],f=[],m=!1,g=0,v=l,b={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(a)?v=a:(a||"string"==typeof a)&&d(a);var w=function(t){var e=document.createElement("div");return e.classList.add("medium-zoom-overlay"),e.style.background=t,e}((v=t({margin:32,background:"#fff",scrollOffset:40,container:null,template:null},v)).background);document.addEventListener("click",function(t){var e=t.target;e!==w?-1!==p.indexOf(e)&&u({target:e}):h()}),document.addEventListener("keyup",function(t){27===(t.keyCode||t.which)&&h()}),document.addEventListener("scroll",function(){if(!m&&b.original){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(g-t)>v.scrollOffset&&setTimeout(h,150)}}),window.addEventListener("resize",h);var y={open:c,close:h,toggle:u,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=e;if(e.background&&(w.style.background=e.background),e.container&&e.container instanceof Object&&(s.container=t({},v.container,e.container)),e.template){var o=i(e.template)?e.template:document.querySelector(e.template);s.template=o}return v=t({},v,s),p.forEach(function(t){t.dispatchEvent(n("medium-zoom:update",{detail:{zoom:y}}))}),y},clone:function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(t({},v,i))},attach:d,detach:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];b.zoomed&&h();var s=e.length>0?e.reduce(function(t,e){return[].concat(t,o(e))},[]):p;return s.forEach(function(t){t.classList.remove("medium-zoom-image"),t.dispatchEvent(n("medium-zoom:detach",{detail:{zoom:y}}))}),p=p.filter(function(t){return-1===s.indexOf(t)}),y},on:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p.forEach(function(s){s.addEventListener("medium-zoom:"+t,e,i)}),f.push({type:"medium-zoom:"+t,listener:e,options:i}),y},off:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p.forEach(function(s){s.removeEventListener("medium-zoom:"+t,e,i)}),f=f.filter(function(i){return!(i.type==="medium-zoom:"+t&&i.listener.toString()===e.toString())}),y},getOptions:function(){return v},getImages:function(){return p},getZoomedImage:function(){return b.original}};return y}});
}catch(e){console.log("Module 'custom_config': ",e);}
try{!function(e){var t,a,i=window.JUMO=window.JUMO||{};i.$win=e(window),i.$doc=e(document),i.$body=e("body"),i.$html=e("html").addClass("js"),i.$main=e("main"),i.mobile=!1,i.hasTouch=!1,i.lang=i.$html.attr("lang")||"de",i.startTime=(new Date).getTime(),i.isLocal="localhost"===window.location.hostname,i.debug="live"!==e('meta[name="environment"]').attr("content"),i.isDev=-1!==window.location.href.indexOf("//www-dev."),i.isIE=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var a=e.indexOf("rv:");return parseInt(e.substring(a+3,e.indexOf(".",a)),10)}var i=e.indexOf("Edge/");return i>0&&parseInt(e.substring(i+5,e.indexOf(".",i)),10)}(),i.hasWebP=(t=document.createElement("canvas"),a=t.getContext("2d"),!t.getContext("2d")||!a.msImageSmoothingEnabled||(d,!1)),i.locale=e('meta[name="language"]').attr("content")||"de-DE",i.workplaceLocale=i.locale.replace("-","_"),i.getTimeStamp=function(){return(new Date).getTime()-i.startTime},i.log=console&&i.debug?function(){var e=Array.prototype.slice.call(arguments);e.unshift("JUMO "),console.log.apply(console,e),e.shift()}:function(){}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.initExternal={init:function(){a.initInternal(),a.initExternal(),a.initMautic(),a.registerEvents()},initInternal:function(){e("p:has(+ p)").addClass("parNextPar"),e("a:has(img)").addClass("aImg")},initMautic:function(){var t=e(".cc-teaser-xl-aside").find('[data-slot="dwc"]'),a=e("main").find('[src*="//ma.jumo.marketing/form/generate.js"]');if(!t.length&&!a.length)return;n();var i=document.querySelectorAll('[data-slot="dwc"]');function n(){document.querySelectorAll(".mauticform-input").forEach(function(e){e.addEventListener("input",function(){this.classList.remove("isdone"),this.parentElement.classList.remove("mauticform-has-error"),this.parentElement.querySelector(".mauticform-errormsg").style.display="none",this.parentElement.classList.contains("mauticform-required")&&(this.style.borderColor=null,this.value||(this.parentElement.classList.add("mauticform-has-error"),this.parentElement.querySelector(".mauticform-errormsg").style.display="block")),this.value&&(this.checkValidity()?this.classList.add("isvalid"):this.classList.remove("isvalid"))}),e.addEventListener("focus",function(){this.value&&(this.checkValidity()?this.classList.add("isdone"):this.classList.remove("isdone")),this.parentElement.classList.contains("mauticform-required")&&(this.value||(this.parentElement.classList.add("mauticform-has-error"),this.parentElement.querySelector(".mauticform-errormsg").style.display="block"))}),e.addEventListener("change",function(){this.value&&(this.checkValidity()?this.classList.add("isdone"):this.classList.remove("isdone"))})}),document.querySelectorAll(".mauticform-textarea").forEach(function(e){e.addEventListener("input",function(){this.value||(this.style.border=null,this.style.color=null,this.style.backgroundColor=null)}),e.addEventListener("change",function(){this.value&&this.checkValidity()&&(this.style.border=".062rem solid #233048",this.style.color="#233048",this.style.backgroundColor="#fff")})}),document.querySelectorAll(".mauticform-row.mauticform-radiogrp").forEach(function(e){e.classList.contains("mauticform-required")&&e.querySelector(".mauticform-radiogrp-radio").addEventListener("change",function(){this.parentElement.parentElement.classList.contains("mauticform-has-error")&&(this.parentElement.parentElement.querySelector(".mauticform-errormsg").style.display="none",this.parentElement.parentElement.classList.remove("mauticform-has-error"))})}),document.querySelectorAll(".mauticform-row.mauticform-checkboxgrp").forEach(function(e){if(e.classList.contains("mauticform-required")){var t=0,a=e.querySelectorAll(".mauticform-checkboxgrp-checkbox");a.forEach(function(e){e.addEventListener("change",function(){this.checked?t+=1:t-=1,this.parentElement.parentElement.classList.contains("mauticform-has-error")?t>=a.length&&(this.parentElement.parentElement.querySelector(".mauticform-errormsg").style.display="none",this.parentElement.parentElement.classList.remove("mauticform-has-error")):t<a.length&&(this.parentElement.parentElement.querySelector(".mauticform-errormsg").style.display="block",this.parentElement.parentElement.classList.add("mauticform-has-error"))})})}})}new MutationObserver(e=>{e.forEach(e=>{n()})}).observe(i[0],{attributes:!0,childList:!0,characterData:!0})},initAccessoriesSlick:function(){e(".accessories .accessory").length>=3?(e(".accessories").on("init",function(t,a){e(".count").text(parseInt(a.currentSlide+1)+" / "+Math.ceil(a.slideCount/a.options.slidesToShow))}),e(".accessories").slick({infinite:!0,speed:500,autoplay:!1,autoplaySpeed:5e3,slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})):2===e(".accessories .accessory").length?(e(".accessories__wrap .count").remove(),e(".accessories .acl").first().addClass("offset-md-2"),e(".accessories .acl").addClass("col-sm-12 col-md-4")):1===e(".accessories .accessory").length&&(e(".accessories__wrap .count").remove(),e(".accessories .acl").first().addClass("offset-md-4 col-sm-12 col-md-4"))},initExternal:function(){e('.toggle-handle[aria-disabled="true"]').click(function(e){e.stopPropagation()}),objectFitVideos(),t.log("objectFitVideos();"),e(".teaser-slick").each(function(){var t=e(this);e(".teaser-slick .teaser-bg__relative").each(function(t){var a=e(".teaser-slick").data("ref-lc-cc"),i=e(this).data("lc-cc");i.includes(",")?-1===i.split(",").indexOf(a)&&e(this).remove():a!=i&&e(this).remove()}).promise().done(function(){t.slick({dots:!0,centerMode:!1,centerPadding:"60px",slidesToShow:1,autoplay:!0,autoplaySpeed:5e3,slidesToScroll:1,responsive:[{breakpoint:880,settings:{centerMode:!1,centerPadding:"40px",slidesToShow:1}},{breakpoint:480,settings:{centerMode:!1,centerPadding:"40px",slidesToShow:1}}]})})}),e(".auto-slick").each(function(){e(this).slick({centerMode:!1,centerPadding:"60px",slidesToShow:3,autoplay:!0,autoplaySpeed:2e3,slidesToScroll:1,responsive:[{breakpoint:880,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:1}}]})}),e("#image-gallery__img").elevateZoom({gallery:"image-gallery__thumbnails",cursor:"pointer",galleryActiveClass:"active",imageCrossfade:!0,zoomType:"lens",lensShape:"round",lensSize:250,containLensZoom:!1}),e("#formval, .formValidation").formValidation({fields:{pwd_confirm:{validators:{callback:{callback:function(e,a,i){var n=i.data("fv-identical-field")||"pwd",o=i.parents("form").eq(0).find('input[name="'+n+'"]');t.log("callback",e,a,i,o.val(),"  ",this);var r={valid:""!=o.val()&&o.val()==i.val()};return r.valid||(r.message=i.data("fv-identical-message")),r}}}}}}),e(".simform").length>0&&a.initMinimalForm(),e("select").selectpicker({mobile:t.mobile,dropupAuto:!1}),a.initAccessoriesSlick(),e(".imageCarouselWrap").each(function(){var t=e(this),a=t.find(".imageCarousel"),i=t.find(".imageCarousel-count");function n(e,t,a){i.text(parseInt(t.currentSlide/t.options.slidesToShow)+1+" / "+Math.ceil(t.slideCount/t.options.slidesToShow))}a.find(".imageCarousel-slide").length<2||a.on("afterChange",n).on("init",n).slick({infinite:!0,speed:500,autoplay:!0,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1})}),e(".accessories").on("afterChange",function(t,a,i){e(".count").text(parseInt(a.currentSlide/a.options.slidesToShow)+1+" / "+Math.ceil(a.slideCount/a.options.slidesToShow))}),e(".imageCarouselWrapProfileModal").each(function(){var a=e(this),i="",n=a.find(".imageCarousel"),o=a.find(".imageCarousel-count");e(".img-wrap .modalprofile").on("click",function(){var a=window.matchMedia("(max-width: 420px)");function r(e,t,a){o.text(parseInt(t.currentSlide/t.options.slidesToShow)+1+" / "+Math.ceil(t.slideCount/t.options.slidesToShow))}function c(a,i,n){t.log("dragTest"),e(".notification").fadeOut().remove()}i=a.matches&&e(this).parents().is(".profile-modal__carouselwrap")?e(".profile-modal__carouselwrap .image__item .inner .img-wrap .modalprofile").index(this):e(".img-wrap .modalprofile").index(this),n.hasClass("slick-initialized")&&n.slick("unslick"),n.find(".imageCarousel-slide").length<1||n.on("beforeChange",c).on("afterChange",r).on("init",c,r).slick({infinite:!0,speed:500,autoplay:!1,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1,initialSlide:i})}),e("button.modalprofile").on("click",function(){var a=window.matchMedia("(max-width: 420px)");function r(e,t,a){o.text(parseInt(t.currentSlide/t.options.slidesToShow)+1+" / "+Math.ceil(t.slideCount/t.options.slidesToShow))}function c(a,i,n){t.log("dragTest"),e(".notification").fadeOut().remove()}i=a.matches&&e(this).parents().is(".profile-modal__carouselwrap")?e(".profile-modal__carouselwrap .image__item .inner button.modalprofile").index(this):e("button.modalprofile").index(this),n.hasClass("slick-initialized")&&n.slick("unslick"),n.find(".imageCarousel-slide").length<1||n.on("beforeChange",c).on("afterChange",r).on("init",c,r).slick({infinite:!0,speed:500,autoplay:!1,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1,initialSlide:i})})}),e("#imageCarouselWrapVideoModal").each(function(){var t=e(this),a="",i=t.find(".videoCarousel"),n=t.find(".videoCarousel-count");e(".video-item.video-3-row").on("click",function(){function t(e,t,a){n.text(parseInt(t.currentSlide/t.options.slidesToShow)+1+" / "+Math.ceil(t.slideCount/t.options.slidesToShow))}a=e(".video-item.video-3-row").index(this),i.hasClass("slick-initialized")&&i.slick("unslick"),i.find(".videoCarousel-slide").length<1||i.on("afterChange",t).on("init",t).slick({infinite:!0,speed:500,autoplay:!1,autoplaySpeed:5e3,slidesToShow:1,slidesToScroll:1,initialSlide:a})})}),e(".video-item.video-3-row").on("click",function(){e(".slick-current.slick-active").each(function(){var t=e(this).find("video").get(0);0==t.paused?(t.pause(),e(this).find(".video-controls").show()):(t.play(),e(this).find(".video-controls").hide()),e(".video-modal__close-x").on("click",function(){t.pause(),t.currentTime=0,e(".slick-current.slick-active").find(".video-controls").show()}),e(".video-modal__carouselitem .slick-arrow").on("click",function(){t.pause(),t.currentTime=0,e(".slick-current.slick-active").find(".video-controls").show()})})}),e(".video-item.videoBtn .wrapper").on("click",function(){var t=e(this).closest(".video-item").find("video").get(0);0==t.paused?(t.pause(),e(this).closest(".video-item").find(".video-controls").show(),e(".video-item.videoBtn .wrapper").removeClass("minheight")):(t.play(),e(this).closest(".video-item").find(".video-controls").hide(),e(this).closest(".video-item.videoBtn .wrapper").addClass("minheight"))}),e(".video-item.video-3-row").on("click",function(){var t=e(".video-item.videoBtn"+videoClass).find("video").get(0);0==t.paused?(t.pause(),e(this).closest(".video-item").find(".video-controls").show(),e(".video-item.videoBtn .wrapper").removeClass("minheight")):(t.play(),e(this).closest(".video-item").find(".video-controls").hide(),e(this).closest(".video-item.videoBtn .wrapper").addClass("minheight"))}),e(".video-item.videoBtn video").on("ended",function(){e(this).get(0).load(),e(this).closest(".video-item").find(".video-controls").show(),e(".video-item.videoBtn .wrapper").removeClass("minheight")}),e(".video-container .wrapper").on("click",function(){var t=e(this).closest(".video-container").find("video").get(0);0==t.paused?(t.pause(),e(this).closest(".video-container").find(".video-controls").show(),e(".video-container .wrapper").removeClass("minheight")):(t.play(),e(this).closest(".video-container").find(".video-controls").hide(),e(this).closest(".video-container .wrapper").addClass("minheight"),e(".video-fullscreen").addClass("light"))}),e(".video-container video").on("ended",function(){e(this).get(0).load(),e(this).closest(".video-container").find(".video-controls").show(),e(".video-container .wrapper").removeClass("minheight"),e(".video-fullscreen").removeClass("light")}),e("video").each(function(t){var a,i=e("video")[t].duration;e(this).closest(".teaser-video").find(".teaser-video__timetable label").html((a=i,m=Math.floor(a/60),m=m>=10?m:"0"+m,a=(a=Math.floor(a%60))>=10?a:"0"+a,m+":"+a))}),e(".video-fullscreen").on("click",function(){var t=e(this).closest(".video-container").find("video").get(0);e(this).closest(".video-container").find(".video-controls").hide(),t.play(),t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()});var i=mediumZoom();i.attach(document.querySelectorAll(".img-wrap .zoom"));var n=document.querySelectorAll(".btn.icon-zoom-in.zoom");[].forEach.call(n,function(e){e.addEventListener("click",function(){i.detach(document.querySelectorAll(".img-wrap .zoom")),i.attach(this.parentNode.querySelector(".img-wrap .zoom"),document.querySelectorAll(".img-wrap .zoom")).open()})})},registerEvents:function(){e("#image-gallery__img").on("click",function(t){var a=e("#image-gallery__img").data("elevateZoom");return e.fancybox(a.getGalleryList()),!1})},initMinimalForm:function(){var a=e(".simform");t.minimalForm.stepsForm(a,{})}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};function a(a){if(window.location.hostname.indexOf("jumo.ch")>=0){a=e(a||"body");var i,n=[],o=/ß/g;a.add(a.find(":not(script):not(iframe)")).contents().filter(function(){return 3==this.nodeType}).each(function(){(i=this.textContent.replace(o,"ss"))!=this.textContent&&(this.textContent=i,n.push(i))}),t.log("replaced ß > ss ",n)}}var i,n,o,r,c,s=t.util={init:function(){s.registerEvents(),s.startHeroVideo(),s.checkObjectFit(),s.prepareExtendTable(),s.tocfinder(),s.topscrollbuttonfinder(),s.buttonmobilefinder(),s.animateToHash(),s.characterSet(),s.svgmap(),s.getSection(),s.countDown(),s.productComparison(),s.ccTeaser=e(".cc-pdp-teaser-xl-aside"),s.btnPDP=s.ccTeaser.find(".list .btn.btn--general"),s.inputNumPDP=s.ccTeaser.find(".list .base-type-amount input"),s.inputNumPDP.length&&s.inputPDPTeaser(),s.processDynamic.add(s.secureWebP)},secureWebP:function(a){var i;(t.log("secureWebP(",a,")"),t.hasWebP)||(a=a||e("main")).find("img").each(function(t,a){(i=e(a).attr("src"))&&e(a).attr("src",i.split("-FWEBP").join("-FPNG")),(i=e(a).attr("data-zoom-src"))&&e(a).attr("data-zoom-src",i.split("-FWEBP").join("-FPNG"))})},pushStateHistory:function(){e(window).on("popstate",function(){location.reload()})},characterSet:a,inputPDPTeaser:function(){s.inputNumPDP.on("input",function(){var e=s.inputNumPDP.val(),t=s.btnPDP.attr("data-shop-action").split(",");t.splice(2,1,e),s.btnPDP.attr("data-shop-action",t.toString())})},countDown:function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var i=function(){function e(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flipdown",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"number"!=typeof a)throw new Error("FlipDown: Constructor expected unix timestamp, got ".concat(t(a)," instead."));"object"===t(i)&&(n=i,i="flipdown"),this.version="0.2.2",this.initialised=!1,this.now=this._getTime(),this.epoch=a,this.countdownEnded=!1,this.hasEndedCallback=null,this.element=document.getElementById(i),this.rotors=[],this.rotorLeafFront=[],this.rotorLeafRear=[],this.rotorTops=[],this.rotorBottoms=[],this.countdown=null,this.daysRemaining=0,this.clockValues={},this.clockStrings={},this.clockValuesAsString=[],this.prevClockValuesAsString=[],this.opts=this._parseOptions(n),this._setOptions(),console.log("FlipDown ".concat(this.version," (Theme: ").concat(this.opts.theme,")"))}var i,r,c;return i=e,(r=[{key:"start",value:function(){return this.initialised||this._init(),this.countdown=setInterval(this._tick.bind(this),1e3),this}},{key:"ifEnded",value:function(e){return this.hasEndedCallback=function(){e(),this.hasEndedCallback=null},this}},{key:"_getTime",value:function(){return(new Date).getTime()/1e3}},{key:"_hasCountdownEnded",value:function(){return this.epoch-this.now<0?(this.countdownEnded=!0,null!=this.hasEndedCallback&&(this.hasEndedCallback(),this.hasEndedCallback=null),!0):(this.countdownEnded=!1,!1)}},{key:"_parseOptions",value:function(e){return{theme:e.hasOwnProperty("theme")?e.theme:"dark"}}},{key:"_setOptions",value:function(){this.element.classList.add("flipdown__theme-".concat(this.opts.theme))}},{key:"_init",value:function(){this.initialised=!0,this._hasCountdownEnded()?this.daysremaining=0:this.daysremaining=Math.floor((this.epoch-this.now)/86400).toString().length;for(var e=this.daysremaining<=2?2:this.daysremaining,t=0;t<e+6;t++)this.rotors.push(this._createRotor(0));var a=[];for(t=0;t<e;t++)a.push(this.rotors[t]);this.element.appendChild(this._createRotorGroup(a));var i=e;for(t=0;t<3;t++){for(var n=[],o=0;o<2;o++)n.push(this.rotors[i]),i++;this.element.appendChild(this._createRotorGroup(n))}return this.rotorLeafFront=Array.prototype.slice.call(this.element.getElementsByClassName("rotor-leaf-front")),this.rotorLeafRear=Array.prototype.slice.call(this.element.getElementsByClassName("rotor-leaf-rear")),this.rotorTop=Array.prototype.slice.call(this.element.getElementsByClassName("rotor-top")),this.rotorBottom=Array.prototype.slice.call(this.element.getElementsByClassName("rotor-bottom")),this._tick(),this._updateClockValues(!0),this}},{key:"_createRotorGroup",value:function(e){var t=document.createElement("div");t.className="rotor-group";var a=document.createElement("div");return a.className="rotor-group-heading",t.appendChild(a),o(t,e),t}},{key:"_createRotor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=document.createElement("div"),a=document.createElement("div"),i=document.createElement("figure"),n=document.createElement("figure"),r=document.createElement("div"),c=document.createElement("div");return t.className="rotor",a.className="rotor-leaf",i.className="rotor-leaf-rear",n.className="rotor-leaf-front",r.className="rotor-top",c.className="rotor-bottom",i.textContent=e,r.textContent=e,c.textContent=e,o(t,[a,r,c]),o(a,[i,n]),t}},{key:"_tick",value:function(){this.now=this._getTime();var e=this.epoch-this.now<=0?0:this.epoch-this.now;this.clockValues.d=Math.floor(e/86400),e-=86400*this.clockValues.d,this.clockValues.h=Math.floor(e/3600),e-=3600*this.clockValues.h,this.clockValues.m=Math.floor(e/60),e-=60*this.clockValues.m,this.clockValues.s=Math.floor(e),this._updateClockValues(),this._hasCountdownEnded()}},{key:"_updateClockValues",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];function a(){var e=this;this.rotorTop.forEach(function(t,a){t.textContent!=e.clockValuesAsString[a]&&(t.textContent=e.clockValuesAsString[a])})}function i(){var e=this;this.rotorLeafRear.forEach(function(t,a){if(t.textContent!=e.clockValuesAsString[a]){t.textContent=e.clockValuesAsString[a],t.parentElement.classList.add("flipped");var i=setInterval(function(){t.parentElement.classList.remove("flipped"),clearInterval(i)}.bind(e),500)}})}this.clockStrings.d=n(this.clockValues.d,2),this.clockStrings.h=n(this.clockValues.h,2),this.clockStrings.m=n(this.clockValues.m,2),this.clockStrings.s=n(this.clockValues.s,2),this.clockValuesAsString=(this.clockStrings.d+this.clockStrings.h+this.clockStrings.m+this.clockStrings.s).split(""),this.rotorLeafFront.forEach(function(t,a){t.textContent=e.prevClockValuesAsString[a]}),this.rotorBottom.forEach(function(t,a){t.textContent=e.prevClockValuesAsString[a]}),t?(a.call(this),i.call(this)):(setTimeout(a.bind(this),500),setTimeout(i.bind(this),500)),this.prevClockValuesAsString=this.clockValuesAsString}}])&&a(i.prototype,r),c&&a(i,c),e}();function n(e,t){return(e=e.toString()).length<t?n("0"+e,t):e}function o(e,t){t.forEach(function(t){e.appendChild(t)})}(setTimeout(function(){e(".rotor-group:nth-child(1) .rotor-group-heading").html(e(".countdown").data("day")),e(".rotor-group:nth-child(2) .rotor-group-heading").html(e(".countdown").data("hour")),e(".rotor-group:nth-child(3) .rotor-group-heading").html(e(".countdown").data("minute")),e(".rotor-group:nth-child(4) .rotor-group-heading").html(e(".countdown").data("second"))},500),e(".countdown").length)&&new i(Math.floor(new Date(e("#flipdown").data("countdown")).getTime()/1e3),{theme:e("#flipdown").data("theme")}).start()},getSection:function(){s.container=e(".component-container"),s.moresections=s.container.find('[class*=" cc-getsection-"]'),s.moresections.length&&(s.moresections.each(function(t,a){e(a).hasClass("component-control")&&e(a).hide(),e(a).hasClass("cc-getsection-start")&&e(a).show(),e(a).hasClass("cc-getsection-end")&&e(a).show()}),s.moresections.find(".alink").click(function(t){if(t.preventDefault(),t.stopImmediatePropagation(),e(this).hasClass("alink--read-more")){e(this).text(e(this).data("less"));var a=e(this).parents(".component-control").prev();function i(){a.hasClass("cc-getsection-middle")&&(a.show(),a=a.prev(),i())}i()}else{e(this).text(e(this).data("more"));a=e(this).parents(".component-control").prev();function i(){a.hasClass("cc-getsection-middle")&&(a.hide(),a=a.prev(),i())}i()}e(this).toggleClass("alink--read-more alink--read-less")}))},productComparison:function(){if(s.body=e("body"),s.productcomparison=s.body.find(".product-comparison-selector"),s.productcomparison.length){var a=t.util.templates.get("product-comparison-selector.thead"),i=t.util.templates.get("product-comparison-selector.tbody"),n=0;e(".product-comparison-button-container").addClass("hide"),e(".product-tiles").on("change",'.product-comparison-checkbox input[type="checkbox"]',function(t){if(e(this).is(":checked")){var o=e(this).parent().data("productgroupno"),r=e(this).parent().data("locale");c="/proxy/http/workplace/web-api/rest/v1/productgroups/"+o+"/view/pdp?workplaceLocale="+r,s=n,e(".product-comparison-checkbox").find('input[type="checkbox"]').attr("disabled",!0),e(".product-comparison-button-container").find('[type="button"]').attr("disabled",!0),e(".product-comparison-spinner").show(),async function(e){var t=await fetch(e);if(!t.ok)throw new Error(`HTTP error: ${t.status}`);return await t.json()}(c).then(t=>{dataset=t[0],dataset.productgroupData.number=s.toString(),a.append(dataset),function(t,a){var n={};n.productgroupNo=t.productgroupData.productgroupNo,n.technicalData=t.productgroupData.technicalData,n.technicalData.sort(function(e,t){return e.name<t.name?-1:t.name<e.name?1:0}),0==a?i.append(n):e(".product-comparison-selector").find(".product-feature__title").each(function(t,a){var i;e(n.technicalData).each(function(t,o){e(a).text()==o.name&&(i=o.value,e(a).parents("tr").append('<td class="features '+n.productgroupNo+'">'+o.value+"</td>"))}),i||e(a).parents("tr").append('<td class="features '+n.productgroupNo+'"></td>')})}(dataset,s),e(".product-comparison-spinner").hide(),e(".product-comparison-checkbox").find('input[type="checkbox"]').attr("disabled",!1),e(".product-comparison-button-container").removeClass("hide"),e(".product-comparison-button-container").find(".item").show(),e(".product-comparison-button-container").find(".items-max").hide(),e(".product-comparison-button-container").find(".number").text(s+1),s>0?(e(".product-comparison-button-container").find(".item").hide(),e(".product-comparison-button-container").find(".items").show(),e(".product-comparison-button-container").find('[type="button"]').attr("disabled",!1)):e(".product-comparison-button-container").find('[type="button"]').attr("disabled",!0),s>3&&(e(".product-comparison-button-container").find(".items-max").show(),e(".product-comparison-checkbox").find('input[type="checkbox"]').each(function(t,a){e(a).is(":checked")||e(a).attr("disabled",!0)}))}).catch(e=>{console.log(`Could not get products: ${e}`)}),n++}else{o=e(this).parent().data("productgroupno");0!=--n?(e(".product-comparison-selector .product-info."+o).remove(),e(".product-comparison-selector .features."+o).remove()):0==n&&(a.reset(),i.reset(),e(".product-comparison-button-container").addClass("hide"),e(".product-comparison-button-container").find(".item").hide()),n<=1?(e(".product-comparison-button-container").find('[type="button"]').attr("disabled",!0),e(".product-comparison-button-container").find(".item").show(),e(".product-comparison-button-container").find(".items").hide()):n<5&&(e(".product-comparison-button-container").find(".items-max").hide(),e(".product-comparison-checkbox").find('input[type="checkbox"]').each(function(t,a){e(a).is(":checked")||e(a).attr("disabled",!1)})),e(".product-comparison-button-container").find(".number").text(n)}var c,s}),e(".product-comparison-button-container").find(".close-x-product-comparison").click(function(t){n=0,a.reset(),i.reset(),e(".product-comparison-button-container").addClass("hide"),e(".product-comparison-button-container").find(".item").hide(),e(".product-comparison-button-container").find(".items").hide(),e(".product-comparison-button-container").find(".items-max").hide(),e(".product-comparison-checkbox").find('input[type="checkbox"]').prop("checked",!1),e(".product-comparison-checkbox").find('input[type="checkbox"]').attr("disabled",!1)}),e('.product-comparison-button-container [type="button"],.product-comparison-modal .close-x-product-comparison-modal,.product-comparison-modal .comparison-wrap__header').click(function(t){e(".product-comparison-modal").toggleClass("open")})}},toggleSets:function(){var a={},i="data-toggle-set";function n(i,n){var o=e(i);return i.params=o.attr(n).split(","),i.setId=i.params[0],i.id=i.params[1],i.inverted="true"==i.params[2],i.set=a[i.setId]||(a[i.setId]={id:i.setId,$elements:e(),$byId:{},toggle:function(a,i){i=1==i||"true"==i,t.log("set[",this,"].toggle(",a,i,")"),this.$elements.each(function(){var n=this;t.log(n.id,n.inverted," -> ",n.id==a!=(n.inverted==i)),e(n).toggleClass("hidden",n.id==a!=(n.inverted==i))})}}),i}function o(){if(window.location.hash){var t=e(window.location.hash)[0];if(t&&t.set)return t.set.toggle(t.id,!t.inverted),!0}return!1}if(e("["+i+"]").each(function(){var t=n(this,i),a=e(t),o=t.set.$byId[t.id]||(t.set.$byId[t.id]=e());t.set.$elements=t.set.$elements.add(a),o=o.add(a)}),e("[data-toggle-set-trigger]").click(function(e){e.preventDefault();var t=n(this,"data-toggle-set-trigger");t.set.toggle(t.id)}),!o())for(var r in a)a.hasOwnProperty(r)&&a[r].toggle();return window.addEventListener("hashchange",function(e){o()},!1),a}(),path:function(){if(window.hasOwnProperty("URLSearchParams")){function e(e){var t=e.indexOf("#"),a=e.indexOf("?");if(-1!==t&&t>a){var i=e.substr(t+1);e=e.substr(0,t)}return{url:e,hash:i,path:-1==a?e:e.substr(0,a),params:new URLSearchParams(-1==a?"":e.substr(a+1))}}function a(t,a,i){var n=e(t);for(var o in a)a.hasOwnProperty(o)&&n.params[i?"append":"set"](o,a[o]);return t=n.path+"?"+n.params.toString(),n.hash&&(t+="#"+n.hash),t}function i(e,t){var i=a(window.location.href,e,t);return window.history.pushState({},document.title,i),i}return{getPathAndParams:e,setParams:a,appendParams:function(e,t){return a(e,t,!0)},setLocationParams:i,appendLocationParams:function(e,t){return i(t,!0)}}}{function n(){t.log("URLSearchParams is not defined")}return n(),{getPathAndParams:function(){return n(),{}},setParams:function(e){return n(),e},appendParams:function(e){return n(),e},setLocationParams:function(){return n(),window.location.href},appendLocationParams:function(){return n(),window.location.href}}}}(),processDynamic:(r=[a],c=function(e){for(var t=0;t<r.length;t++)r[t](e)},c.add=function(e,a){"function"==typeof e?(r.push(e),a||e(t.$doc)):t.log(e," ist keine Funktion")},c.remove=function(e){for(var t=r.length;t--;)r[t]===e&&r.splice(t,1)},c),startHeroVideo:function(){!t.mobile&&e(".cc-hero video").length>0&&e(".cc-hero video")[0].play()},isEmpty:function(e){if(null==e)return!0;if("string"==typeof e){if(""===(e=e.trim()))return!0}else if(Array.isArray(e)&&0===e.length)return!0;return!1},templates:function(){Handlebars.registerHelper({splitStart:function(e,t){return e.split(t)[0]},splitEnd:function(e,t){return e.split(t)[1]},isFilled:function(e){return!s.isEmpty(e)},contains:function(e,t){return e.includes(t)},isEmpty:function(e){return s.isEmpty(e)},oneset:function(){for(var e=Array.prototype.slice.call(arguments),t=0;t<e.length;t++)if(e[t]&&null!=e[t])return!0;return!1},allset:function(){for(var e=Array.prototype.slice.call(arguments),t=0;t<e.length;t++)if(!e[t])return!1;return!0},not:function(e){return!e},and:function(){return Array.prototype.slice.call(arguments).every(Boolean)},or:function(){return Array.prototype.slice.call(arguments,0,-1).some(Boolean)},of:function(){var e=Array.prototype.slice.call(arguments),t=e.shift();return-1!=e.indexOf(t)},eq:function(e,t){return e===t},ne:function(e,t){return e!==t},lt:function(e,t){return e<t},gt:function(e,t){return e>t},lte:function(e,t){return e<=t},gte:function(e,t){return e>=t},unitFileSize:function(e,t){return s.unitFileSize(e,t)},local:function(e){return s.localNumber(e)},localDate:function(e){return e.toLocaleDateString(t.locale)},toUrl:function(e){return(e=e.replaceAll("_","-")).toLowerCase()},resizeImg:function(e,t,a){return e&&(e.indexOf("-FPNG")?e+="-B"+t:e+="?downsize=*:297px"),e},add:function(){for(var e=0,t=0;t<arguments.length;t++)e+=arguments[t];return e},subtract:function(e,t){return e-t},multiply:function(e,t){for(var a=1,i=0;i<arguments.length;i++)a*=arguments[i];return a},divide:function(e,t){return t?e/t:void 0}});var a,i=a=[],n={},o={},r={};return t.log("Processing ",e("[data-handlebars-id]").length," templates"),a.init=function(a,o,r){if(a&&"string"==typeof a){a=a.replace(/\{\{\+/g,"{{>");var c=Handlebars.compile(a);return c.id=o,c.src=a,c.instances=[],c.$lastInstance=r||void 0,r&&(c.$src=r,c.$parent=r.parent(),r.innerRemove=r.remove,r.remove=function(){t.log("You are not allowed to remove the template")}),c.id&&(i.push(c),n[c.id]=c),c.create=function(a){(a=a||{})._texts=s.texts,a._objects=s.objects,t.log("Template.create(",c,a,");");var i=c(a),n=c.$lastInstance=e(i);return t.util.processDynamic(n),c.instances.push(n),n.innerRemove=n.remove,n.remove=function(){for(var e;-1!==(e=c.instances.indexOf(n));)c.instances.splice(e,1);c.$lastInstance=c.instances[c.instances.length-1]||r,n.innerRemove()},n},c.append=function(e){var t=c.create(e);return c.$parent.length&&c.$parent.append(t),t},c.prepend=function(e){var t=c.create(e);return c.$parent.length&&c.$parent.prepend(t),t},c.afterLast=function(e){var t=c.$lastInstance,a=c.create(e);return t&&t.length&&t.after(a),a},c.beforeLast=function(e){var t=c.$lastInstance,a=c.create(e);return t&&t.length&&t.before(a),a},c.replace=c.replaceLast=function(e){t.log("Template.replace(",c,e,");");var a=c.$lastInstance,i=c.create(e);return a&&a.length?(a!=r&&a.remove(),r.after(i)):c.$parent.length&&c.$parent.prepend(i),i},c.reset=function(){var e;for(t.log("reset templates ",c);e=c.instances.shift();)e.remove()},c}t.log("Could not generate template from ",arguments)},e("[data-handlebars-id]").each(function(){var i=e(this),n=i.html(),c=(i.attr("data-handlebars-id")||"").trim();if(!i[0].templateInited){i[0].templateInited=!0;var s=a.init(n,c,i);s.group=s.id.split(".")[0],s.tags=(i.attr("data-handlebars-tags")||"").split(","),s.group&&(o[s.group]=o[s.group]||[],o[s.group].push(s)),s.tags.forEach(function(e,t){e=e.trim(),s.tags[t]=e,r[e]=r[e]||[],r[e].push(s)}),t.log("Handlebar template [id:",c,"] = ",s)}}),a.byId=n,a.byTag=r,a.byGroup=o,a.get=function(e){if("string"==typeof e&&(e={id:e}),e.id)return a.byId[e.id];if(e.group){var t,i=a.byGroup[e.group];if(!i||!e.tag)return i;if(i.forEach(function(a,i){-1!==a.tags.indexOf(e.tag)&&(t=a)}),t)return t}return e.tag?a.byTag[e.tag]:void 0},a}(),texts:(o={},e("[data-text-id]").each(function(){var a=e(this),i=a.attr("data-text-id"),n=a.html().trim();try{var r=JSON.parse(n);if(o.hasOwnProperty(i))return void t.log("Duplicate text id ",i);a.remove(),t.log("texts.",i," = ",r),o[i]=r}catch(e){t.log("JUMO.util.texts Error reading ",i," => ",a[0])}}),o.get=function(e,t,a){var i=o[e];return(i?t?i[t]:i:void 0)||a},t.log("JUMO.util.texts:",o),o),objects:(n={},e("[data-object-id]").each(function(){var a=e(this),i=a.attr("data-object-id"),o=a.html().trim().replace(/\},\s*\n*\s*\]/g,"}]");try{var r=JSON.parse(o);if(n.hasOwnProperty(i))return void t.log("Duplicate object id ",i);a.remove(),t.log("objects.",i," = ",r),n[i]=r}catch(e){t.log("JUMO.util.objects Error reading ",i," => ",a[0])}}),n.get=function(e,t){return n[e]||t},t.log("JUMO.util.objects:",n),n),prefixIf:function(e,t){return e?t+e:e},suffixIf:function(e,t){return e?e+t:e},surroundIf:function(e,t,a){return a=a||"",t=t||"",e?t+e+a:e},round:function(e,t){if(!t)return Math.round(e);var a=Math.pow(10,t||0);return Math.round(e*a)/a},floor:function(e,t){if(!t)return Math.floor(e);var a=Math.pow(10,t||0);return Math.floor(e*a)/a},localNumber:function(e){return Number(e).toLocaleString()},toUrlLowerCase:function(e){return"string"==typeof e?e.toLowerCase().replace(/_/g,"-"):e},prepareProduct:function(e,t){if(e)return(Array.isArray(e)?e:[e]).forEach(function(e,a){e.somenumber=e.partnumber||e.productgroupNo,s.copyToOb(e,t)}),e},copyToOb:function(e,t){if(t)for(var a in t)t.hasOwnProperty(a)&&(e.key=t[a]);return e},unitFileSize:(i=["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"],function(e,t){if(e=parseInt(e),t=parseInt(t),isNaN(e))return e;if(0===e)return"0 Bytes";t&&!isNaN(t)||(t=2);var a=Math.floor(Math.log(e)/Math.log(1024));return s.suffixIf(s.round(e/Math.pow(1024,a),t).toLocaleString(),"&nbsp;"+i[a])}),convertToEventDispatcher:function(e){var t=document.createTextNode(null);return e.addEventListener=t.addEventListener.bind(t),e.removeEventListener=t.removeEventListener.bind(t),e.dispatchEvent=t.dispatchEvent.bind(t),log("instance.dispatchEvent: ",e.dispatchEvent),e},registerEvents:function(){e(".toggle-handle").parent().hasClass("selectbox")?e(".selectbox").on("click",".toggle-handle",function(t){e(this).find(".toggle-chevron").toggleClass("back"),e(this).find(".accordion__label").toggleClass("open"),window.setTimeout(function(){Waypoint.refreshAll()},800)}):e(".toggle-handle").on("click",function(t){e(this).parent().find(".toggle-chevron").toggleClass("back"),e(this).find(".accordion__label").toggleClass("open"),window.setTimeout(function(){Waypoint.refreshAll()},800)}),e(".load-more").on("click",function(t){e(".btn--ghost").css("display","none"),e(".spinner").fadeIn("slow")}),t.$win.on("resize load",function(e){s.refreshProgressBar()}),e(".data-table .extend").on("click",function(){s.extendTable(this)}),e(".trade-fair-events__item .extend").on("click",function(){s.extendEventsDetails(this)}),e(".contact-support--compact img").on("click",function(){e(".contact-support--compact").toggleClass("active")}),e(".contact-support--compact .close-x").on("click",function(){e(".contact-support--compact").toggleClass("active")}),e(".pdp-v3").length&&s.initPDPnav(),e(".has-second-navbar").length&&s.initPSnav()},initPDPnav:function(){var a=e(".main-header").parent(),i=a.find(".sticky-stacky"),n=i.find(".nav-sub__link"),o=a.find(".content-tab");if(e(".second.navbar .mobile-nav-container .dropdown.bootstrap-select select").on("change",function(){var t=e(this).find('[value="'+e(this).val()+'"]').data("url");e(this).val();history.pushState(null,null,t),window.location=t}),i.length){var r,c,l,d,u,f,p,m,h=!1,C=0;function g(e){var t=e.getBoundingClientRect();return Math.ceil(t.top)}function v(i){(d=a.find(i)).length&&(o.each(function(){t.log(this,"contains",d[0]," not ",!e.contains(this,d[0])),e(this).toggleClass("hidden",!e.contains(this,d[0]))}),0==o.filter(":not(hidden)").length&&(t.log("filter: ",o.filter("hidden").length),o.eq(0).removeClass("hidden")),e(".content-tab:not(.hidden)").find('[id^="genericForm_"]').length?e(".grecaptcha-badge").css("visibility","visible"):e(".grecaptcha-badge").css("visibility","hidden"),"#cc-product-mini-configurator"==location.hash||"#cc-frontpage-offer"==location.hash?e('.second.navbar a[href*="#"]').parent().removeClass("active"):e('.second.navbar a[href*="'+location.hash+'"]').parent().addClass("active"))}function b(){var t=2;n.filter('a[href*="#"]').each(function(){if(l=e(this),u="#"+l.attr("href").trim().split("#").pop(),(d=a.find(u)).length&&d.is(":visible")){d.hasClass("jumpmark")&&(d=d.parent());var i=(d.offset().top-window.pageYOffset)/window.innerHeight;i>.8||(i=Math.abs(i))<t&&c!=this&&(t=i,r&&r.parent().removeClass("active"),c=this,(r=l).parent().addClass("active"))}}),a.find(".jumpmark").each(function(){g(this)<150&&0!=g(this)&&(m=e(this).attr("id"))})}e('a[href*="#"]').click(function(){v(u="#"+e(this).attr("href").trim().split("#").pop())}),e(".second.navbar select").on("change",function(){v(u="#"+e(this).find('[value="'+e(this).val()+'"]').data("url").trim().split("#").pop()),s.smoothScroll(u,0),h=!0,setTimeout(function(){h=!1},2e3)}),window.addEventListener("hashchange",function(e){v(u=location.hash),"#cc-product-mini-configurator"!=u&&"#cc-frontpage-offer"!=u||s.smoothScroll(u,0)},!1),window.addEventListener("load",function(e){v(u=location.hash),"#cc-product-mini-configurator"!=u&&"#cc-frontpage-offer"!=u||s.smoothScroll(u,0)},!1),b(),i.find(".nav-sub").click(function(a){$sn=e(this),!$sn.is(".open")&&t.$win.width()<768&&a.preventDefault(),$sn.toggleClass("open")}),t.$win.on("scroll",function(t){f=window.pageYOffset,p=f>C&&f>0,a.toggleClass("scroll-up",!p),a.toggleClass("scroll-down",p),b(),0==h&&e(".second.navbar select").val(m).selectpicker("render"),C=f})}var y=a.find(".pdp-downloads");y.find('.btn[data-action="show-more"]').click(function(){y.toggleClass("pdp-downloads-slim"),e('.btn[data-action="show-more"]').addClass("hidden")})},initPSnav:function(){var a=e(".main-header").parent(),i=a.find(".sticky-stacky"),n=i.find(".nav-sub__link");if(i.length){var o,r,c,l,d,u,f,p=0;function m(t){e(".second.navbar select").val(t).selectpicker("render")}function h(t,a){e(".jumpmark#"+a).offset()&&(window.pageYOffset<e(".jumpmark#"+a).offset().top&&"ps-1"==a?s.smoothScroll(t,40):window.pageYOffset>e(".jumpmark#"+a).offset().top&&"ps-1"==a?s.smoothScroll(t,0):window.pageYOffset<e(".jumpmark#"+a).offset().top?s.smoothScroll(t,0):window.pageYOffset>e(".jumpmark#"+a).offset().top&&s.smoothScroll(t,-40))}window.addEventListener("load",function(e){location.hash&&(d=location.hash,o=location.hash.split("#")[1],h(d,o))},!1),window.addEventListener("hashchange",function(e){d=location.hash,o=location.hash.split("#")[1],h(d,o)},!1),t.$win.on("scroll",function(t){u=window.pageYOffset,f=u>p&&u>0,a.toggleClass("scroll-up",!f),a.toggleClass("scroll-down",f),n.each(function(){d="#"+e(this).attr("href").trim().split("#").pop(),(l=a.find(d)).offset()&&($scrollYpos=l.offset().top-80,u>$scrollYpos&&f&&(r=l.attr("id")),u>$scrollYpos&&!f&&(r=l.attr("id")))}),r!=c&&(m(r),e(".nav-sub__link").parent().removeClass("active"),e('.nav-sub__link[href*="#'+r+'"]').parent().addClass("active"),c=r),p=u}),n.click(function(t){event.preventDefault(),d="#"+e(this).attr("href").trim().split("#").pop(),o=e(this).data("toggleclass"),history.pushState({},"",window.location.pathname+"#"+o),h(d,o)}),e(".second.navbar select").on("change",function(){event.preventDefault(),d="#"+e(this).find('[value="'+e(this).val()+'"]').data("url").trim().split("#").pop(),o=e(this).val(),history.pushState({},"",window.location.pathname+"#"+o),h(d,o),m(o)})}},smoothScroll:function(t,a){var i=e(t).offset().top+a;return e("html, body").stop().animate({scrollTop:i},50),!1},svgmap:function(){e("main.main").find("#svgmap").length&&e("#svgmap").load(e("#svgmap").data("svg"),function(){e('[data-toggle="tooltip"]').tooltip({container:"body",placement:"top"}),e('#svgmap [id*="-"]').hover(function(){e(this).addClass("active")},function(){e(this).removeClass("active")}),e('#svgmap [id*="-"]').on("click",function(){window.location.href=e("#svgmap svg").data("link")+e(this).data("zip")})})},tocfinder:function(){if(s.toc=e(".toc"),s.toc.length){var a={"@context":"https://schema.org","@type":"BlogPosting",headline:"",datePublished:"",dateModified:"",author:{"@type":"Organization",name:""},description:"","@id":"",publisher:{"@id":""},image:[],inLanguage:"",subjectOf:[{"@type":"FAQPage",mainEntity:[]}]};a.headline=e("head").find('meta[name="jumo.meta.title"]').attr("content"),a.datePublished=e("head").find('meta[name="jumo.meta.pdate"]').attr("content"),a.dateModified=e("head").find('meta[name="jumo.meta.pdate"]').attr("content"),a.author.name=e("head").find('meta[property="og:site_name"]').attr("content"),a.description=e("main").find("p.intro").text().trim(),a["@id"]=location.href,a.publisher["@id"]=location.origin+"/web/about-us/profile-and-focus";var i=e("head").find('meta[name="jumo.meta.thumbnailurl"]').attr("content"),n=i.slice(0,i.lastIndexOf("/")+1),o=Math.floor(i.split("/").pop().split(",").shift().split("x").pop()),r=o*(16/9),c=o*(4/3);a.image[0]=n+"-FJPG-C"+r+"x"+o,a.image[1]=n+"-FJPG-C"+c+"x"+o,a.image[2]=n+"-FJPG-C"+o+"x"+o,a.inLanguage=e("head").find('meta[name="language"]').attr("content"),e("main").find("section.cc-textblock .col-standard").each(function(){if(e(this).find("h2").length>0){var t=e(this).find("h2"),i=t.text().replace(/\s/g,"").replace(/\-/g,"").replace(/\./g,"").replace(/\,/g,"").replace(/[^a-z0-9\s]/gi,"").toLowerCase();t.attr("id",i);var n='<div class="toc__item"><a class="h3" href="'+location.pathname+"#"+i+'">'+t.text()+"</a></div>";s.toc.find(".toc__container").append(n);var o=e(this).clone();e(o).find("h2").remove();var r={"@type":"Question",url:"",name:"",acceptedAnswer:{"@type":"Answer",text:""}};r.url=location.href+"#"+i,r.name=t.text().trim(),r.acceptedAnswer.text=o.html().trim().replace(/\s\s+/g,""),a.subjectOf[0].mainEntity.push(r)}}).promise().done(function(){const e=document.createElement("script");e.setAttribute("type","application/ld+json"),e.textContent=JSON.stringify(a),document.head.appendChild(e)}),e(".toc__item a.h3").click(function(t){t.preventDefault(),history.pushState({},"",e(this).attr("href")),href=location.hash,s.smoothScroll(href,-100)}),e(".toc__button").click(function(e){e.preventDefault(),s.smoothScroll("#toc",-100)}),window.addEventListener("load",function(e){location.hash&&(href=location.hash,s.smoothScroll(href,-100))},!1),t.$win.on("scroll",function(t){var a=e(".footer-main").position().top-e(window).height();e(window).scrollTop()>a?e(".toc__button").addClass("hidden"):e(".toc__button").removeClass("hidden")})}},topscrollbuttonfinder:function(){s.topscroll=e(".topscroll__button"),s.topscroll.length&&(e(".topscroll__button").click(function(e){e.preventDefault(),s.smoothScroll("body",-100)}),t.$win.on("scroll",function(t){var a=e(".footer-main").position().top-e(window).height();e(window).scrollTop()>a?e(".topscroll__button").addClass("hidden"):e(".topscroll__button").removeClass("hidden")}))},buttonmobilefinder:function(){s.buttonmobile=e(".button-meta.button-mobile"),s.buttonmobile.length&&t.$win.on("scroll",function(t){var a=e(".footer-main").position().top-e(window).height();e(window).scrollTop()>a?e(".button-meta.button-mobile").addClass("hidden"):e(".button-meta.button-mobile").removeClass("hidden")})},prepareExtendTable:function(){var t=0;e(".product-technical-facts .data-table .jumo-table .container tr").each(function(){t>5?(e(this).addClass("hidden"),e(".product-technical-facts .table__btns .btn--ghost.extend").css("visibility","visible")):e(".product-technical-facts .table__btns .btn--ghost.extend").css("visibility","hidden"),t++})},extendTable:function(t){e(t).hasClass("active")?(e(".data-table table tr.memorized").toggleClass("hidden").toggleClass("memorized"),e(".data-table .extend").html(e(".data-table .extend").data("extend"))):(e(".data-table table tr.hidden").toggleClass("hidden").toggleClass("memorized"),e(".data-table .extend").html(e(".data-table .extend").data("reduce"))),e(t).toggleClass("active")},animateToHash:function(){-1!==window.location.hash.indexOf("search")&&setTimeout(function(){return e("html, body").stop().animate({scrollTop:parseInt(e("#searchLocation").offset().top-100)},900),!1},1e3)},extendEventsDetails:function(t){e(t).closest(".trade-fair-events__item").find(".details").toggleClass("visible"),e(t).toggleClass("active")},refreshProgressBar:function(){e(".machine-line .loader span").remove(),!t.mobile&&e(document).innerWidth()>740&&s.checkMultipleProgressBar()},initProgressBar:function(){e(".loader > span").each(function(){var t=e(this);t.data("origWidth",t.width()).width(0).animate({width:t.data("origWidth")},1200)})},checkMultipleProgressBar:function(){var a=Math.round(e(".machine-line").height()/e(".machine__img").height()),i=parseFloat(e(".machine-line").css("padding-top"))+parseFloat(e(".machine__img").height()/2),n=e(".machine__img img").height(),o=t.$win.innerWidth(),r=parseInt(o-parseInt(e(".machine-line").innerWidth())),c=e(".machine-line").width(),l=parseInt(e(".machine__img").innerWidth()),d=Math.floor(c/l),u=e(".machine__img").length,f="";f=r>0?"left: -"+r+"px; ":"left: 0; ";for(var p=0;p<a;p++)barWidth=0,transform="",barWidth=1==a?parseInt(u-1)*l:u<=d?parseFloat(parseFloat(u*l)-parseFloat(l/2)+Math.abs(r)):p>0?parseFloat(o+Math.abs(r)):o,p>0?(i=parseFloat(parseFloat(i)+parseFloat(n)),transform=f):transform=parseFloat(l/2)+"px",e(".machine-line .loader").css("left",transform),e(".machine-line .loader").css("top",i+"px"),e(".machine-line .loader").append('<span style="width:'+barWidth+'px;"></span>'),u=parseInt(u-d);s.initProgressBar()},checkObjectFit:function(){Modernizr.objectfit||e(".product-stage-img").each(function(){var t=e(this),a=t.find("img").prop("src");a&&t.css("backgroundImage","url("+a+")").addClass("object-fit-contain")})},uniqueID:function(){return Math.round((new Date).getTime()+100*Math.random())},findHighestZIndex:function(){for(var e=document.getElementsByTagName("*"),t=0,a=0;a<e.length;a++){var i=document.defaultView.getComputedStyle(e[a],null).getPropertyValue("z-index");i>t&&"auto"!=i&&(t=i)}return t},getUrlParameterByName:function(e,t){t=t||window.location.href,e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null},showGrids:function(){var t='<div class="debug-grid row">'+function(){for(var e=12,t="";e--;)t+='<div class="col-1"></div>';return t}()+"</div>";e(".row:not(.debug-grid), .main-grid:not(.debug-grid), .content-grid:not(.debug-grid), .portlet-grid:not(.debug-grid), .inner-grid:not(.debug-grid), .container-grid:not(.debug-grid)").each(function(){e(this).css({}).append(t)})},convertToEventDispatcher:function(e){var a=document.createTextNode(null);return e.addEventListener=a.addEventListener.bind(a),e.removeEventListener=a.removeEventListener.bind(a),e.dispatchEvent=a.dispatchEvent.bind(a),e.triggerEvent=function(a){t.log("triggerEvent",a),e.dispatchEvent(new CustomEvent(a))},e},jsUcfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.log("viewport####################"),t.viewport=new function(){var e=this;t.util.convertToEventDispatcher(e);var a,i,n,o,r,c=["xs","ss","sm","md","lg","xl","xxl"];function s(){a=t.$win.width(),i=t.$win.height();var s=window.getComputedStyle(document.body,"::after").getPropertyValue("content")||"";s=s.replace(/[^\w\s]/g,"");var l=c.indexOf(s);s!=n&&(r=n||s,void 0===o?l:o,n=s,breakPointNo=l,t.log("new breakpoint: ",n),e.triggerEvent(e.CHANGE_EVENT))}s(),t.$win.resize(s),Object.defineProperties(e,{width:{get:function(){return a}},height:{get:function(){return i}},breakpoint:{get:function(){return n}},lastBreakpoint:{get:function(){return r}}}),e.CHANGE_EVENT="break_point_change",e.breakpointUp=function(e){var a=c.indexOf(e);return t.log(breakPointNo+" >= "+a),-1===a?void 0:breakPointNo>=a},e.breakpointDown=function(e){var a=c.indexOf(e);return t.log(breakPointNo+" <= "+a),-1===a?void 0:breakPointNo<=a},e.breakpointOnly=function(e){return e==n}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.waypoints={stickyAsideWP:null,noStickyAsideWP:null,stickySuccesStoryWP:null,enterTutorialWP:null,enterDocumentationWP:null,enterHighlightsWP:null,tooltipFormWP:null,init:function(){a.registerEvents()},registerEvents:function(){a.enterDocumentationWP=e(".documentation-waypoints").waypoint(function(t){"down"==t?e(".documentation-waypoints + h1").html("You have reached the liberty bell scrolling DOWN!"):e(".documentation-waypoints +  h1").html("You have reached the liberty bell scrolling UP!")}),a.stickySuccesStoryWP=e(".success-story__left").waypoint(function(t){e(this.element).toggleClass("sticky")}),a.tooltipFormWP=e(".form-group.cooltip .cooltip__text").waypoint(function(t){e(this.element).toggleClass("top")},{offset:"10%"}),a.stickyAsideWP=e(".basic-model").waypoint(function(t){e(".basic-model").find("aside")},{}),a.noStickyAsideWP=e(".accessories-waypoints").waypoint(function(t){e(".basic-model").find("aside")},{}),a.enterTutorialWP=e("section.tutorial__category.first").waypoint(function(t){"down"==t?e("section.tutorial__category.first").addClass("init"):e("section.tutorial__category.first").removeClass("init")},{offset:"30%"}),a.enterTutorialWP=e("section.tutorial__category.second").waypoint(function(t){"down"==t?e("section.tutorial__category.second").addClass("init"):e("section.tutorial__category.second").removeClass("init")},{offset:"30%"}),a.enterWrapTeaserWP=e("section.teaser-service").waypoint(function(t){"down"==t?e("section.teaser-service").addClass("init"):e("section.teaser-service").removeClass("init")},{offset:"40%"}),a.comparisonTableHead=e(".product-comparison-table").waypoint(function(t){e("th .product-info__header").length>0&&"down"==t?e(".comparison-wrap").addClass("sticky"):e(".comparison-wrap").removeClass("sticky")},{offset:"120px"}),a.stickyAsideWP=e(".product-list__item:last").waypoint(function(t){var a=e(".align-tiles");"down"==t?e(a).css("right","-100px"):e(a).css("right","0")}),a.enterHighlightsWP=e("[id^=scrollCounter]").waypoint(function(){e(".counter-value").each(function(){var a=e(this),i=a.attr("data-count").trim();if(isNaN(i)&&(i=parseFloat(String(i).replace(",","."))),!isNaN(i)){var n=String(String(i).split(".")[1]||"").length,o={minimumFractionDigits:n,maximumFractionDigits:n};e({countNum:a.text()}).animate({countNum:i},{duration:2500,easing:"swing",step:function(){r(this.countNum)},complete:function(){r(this.countNum)}})}function r(e){a.text(Number(e).toLocaleString(t.lang,o))}})},{offset:"75%"})}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a={},i=t.form={init:function(){i.formRecaptcha(),i.semiroRecaptcha(),t.util.processDynamic.add(i.makePasswordSwitch),t.util.processDynamic.add(i.registerEvents),i.initComponents(),i.checkSelectState(),i.setRequiredGroup()},initComponents:function(){e(".range-slider").each(function(t,a){var i=parseInt(e(a).parent().find(".range-min").val()),n=parseInt(e(a).parent().find(".range-max").val()),o=parseInt(e(a).attr("min")),r=parseInt(e(a).attr("max")),c=e(a).data("range"),s=parseInt(e(a).data("steps"));c?e(a).slider({tooltip:"hide",range:c,min:o,max:r,step:s,value:[i,n]}).on("slide",function(t){e(a).parent().find(".range-min").val(t.value[0]),e(a).parent().find(".range-max").val(t.value[1])}):e(a).slider({tooltip:"hide",range:c,min:o,max:r,step:s,value:i}).on("slide",function(t){e(a).parent().find(".range-min").val(t.value)})})},formRecaptcha:function(){function a(){e("#form-success").length&&setTimeout(function(){e("html, body").animate({scrollTop:e("#form-success").offset().top-150},500)},500)}e("main").find('[id^="genericForm_ns_"]').length&&(e.getScript("https://www.google.com/recaptcha/api.js?render=6LfSwYkaAAAAABAiZjKJuK2t2O7YMcHRwYQtnB6v").done(function(e,t){}),e(window).on("load",function(){e(".formgrecaptchatext").each(function(a,i){if(i){var n=e(i).closest(".content-container");e(n).append('<div class="custom-grecaptcha-badge"><div class="logo"></div><div class="text">This site is protected by reCAPTCHA and the Google <a target="_blank" href="https://policies.google.com/privacy">Privacy Policy</a> and <a target="_blank" href="https://policies.google.com/terms">Terms of Service</a> apply.</div></div>').ready(function(){var a=n.find(".custom-grecaptcha-badge"),o=n.find(".custom-grecaptcha-badge .text");o.html(e(i).data("grecaptchatext"));var r=parseInt(o.width())/2+48;o.css("width",r);var c=r+68;a.mouseenter(function(){e(this).css("left","calc(100% - "+c+"px)")}),a.mouseleave(function(){e(this).css("left","calc(100% - 68px)")}),a.click(function(){e(this).toggleClass("badgeopened")}),t.$win.on("scroll",function(t){var i;i=e(".cc-microsite-footer").length?e(".cc-microsite-footer").position().top-e(window).height():e(".footer-main").position().top-e(window).height(),e(window).scrollTop()>i?a.addClass("hidden"):a.removeClass("hidden")})})}})}),e("#loadspinner").hide(),e("form input:not([type='checkbox']), form select, form textarea").on("invalid",function(e){e.preventDefault()}),e('[id^="genericForm_ns_"]').submit(function(t){t.preventDefault(),t.stopImmediatePropagation();var i=e(this);i.find(".btn--general").attr("disabled",!0),e(this).find("#loadspinner").show(),grecaptcha.ready(function(){grecaptcha.execute("6LfSwYkaAAAAABAiZjKJuK2t2O7YMcHRwYQtnB6v",{action:"contactForm"}).then(function(t){var n=i.attr("id"),o=i.closest(".component-control").find(".formservlet").data("formservlet"),r=!1;try{"boolean"==typeof i.isValid()&&(r=!0)}catch(e){r=!1}if(r&&i.isValid()||!r){var c=new FormData(i[0]),s=!1;try{c.set("g-recaptcha-response",t)}catch(e){c.append("g-recaptcha-response",t)}}i.find("input[type='text'], textarea").each(function(){if(void 0!==this.name&&""!==this.name&&""!=this.value)try{c.set(this.name,encodeURIComponent(this.value.replace(/\n|\r\n|\r/g,"<br>")))}catch(e){document.getElementById(n).style.display="none",this.value=encodeURIComponent(this.value.replace(/\n|\r\n|\r/g,"<br>")),s=!0}}),s&&(c=new FormData(i[0])),i.find("select[multiple], checkbox[data-multiple]").each(function(){var t="";e(this).find("option").each(function(){this.selected&&(t=t?t.concat(",",this.value):t.concat(this.value))}),c.set(this.name,encodeURIComponent(t))}),e.ajax({url:o,type:"POST",data:c,contentType:!1,cache:!1,processData:!1,success:function(t){s&&(document.getElementById(n).style.display="",i.find(".btn--general").attr("disabled",!1)),0!==e(t).find(".teaser-bg.teaser-xl-form").length?(document.getElementById(n).closest(".cc-teaser-xl-aside").innerHTML=t,a()):(document.getElementById(n).innerHTML=t,a())},error:function(e){s&&(document.getElementById(n).style.display="",i.find(".btn--general").attr("disabled",!1)),document.getElementById(n).innerHTML="Error while submitting form!"}})})})}))},semiroRecaptcha:function(){function a(){e("html, body").animate({scrollTop:e('[id^="semiroForm_ns_"]').offset().top-150},500)}e("main").find('[id^="semiroForm_ns_"]').length&&(e.getScript("https://www.google.com/recaptcha/api.js?render=6LfSwYkaAAAAABAiZjKJuK2t2O7YMcHRwYQtnB6v").done(function(e,t){}),e(window).on("load",function(){e(".formgrecaptchatext").each(function(a,i){if(i){var n=e(i).closest(".content-container");e(n).append('<div class="custom-grecaptcha-badge"><div class="logo"></div><div class="text">This site is protected by reCAPTCHA and the Google <a target="_blank" href="https://policies.google.com/privacy">Privacy Policy</a> and <a target="_blank" href="https://policies.google.com/terms">Terms of Service</a> apply.</div></div>').ready(function(){var a=n.find(".custom-grecaptcha-badge"),o=n.find(".custom-grecaptcha-badge .text");o.html(e(i).data("grecaptchatext"));var r=parseInt(o.width())/2+48;o.css("width",r);var c=r+68;a.mouseenter(function(){e(this).css("left","calc(100% - "+c+"px)")}),a.mouseleave(function(){e(this).css("left","calc(100% - 68px)")}),t.$win.on("scroll",function(t){var i;i=e(".cc-microsite-footer").length?e(".cc-microsite-footer").position().top-e(window).height():e(".footer-main").position().top-e(window).height(),e(window).scrollTop()>i?a.addClass("hidden"):a.removeClass("hidden")})})}})}),e("#loadspinner").hide(),e("form input:not([type='checkbox']), form select, form textarea").on("invalid",function(e){e.preventDefault()}),e('[id^="semiroForm_ns_"]').submit(function(t){t.preventDefault(),t.stopImmediatePropagation();var i=e(this),n=(i.attr("id"),new FormData(i[0])),o={},r={};i.find(".btn--general").attr("disabled",!0),i.find("#loadspinner").show(),o.bookingdata=[];for(const e of n.entries())r[e[0]]=e[1];o.bookingdata.push(r),grecaptcha.ready(function(){grecaptcha.execute("6LfSwYkaAAAAABAiZjKJuK2t2O7YMcHRwYQtnB6v",{action:"contactForm"}).then(function(t){o.grecaptcharesponse=t,e.ajax({url:"/jumo-portal-servlets/Semiro/Book",method:"POST",contentType:"application/json",data:JSON.stringify(o)}).done(function(e){i.find(".btn--general").attr("disabled",!1),i.find("#loadspinner").hide(),i.find(".form-semiro").hide(),i.find(".form-success").show(),a()}).fail(function(e,t,n){i.find(".btn--general").attr("disabled",!1),i.find("#loadspinner").hide(),i.find(".form-semiro h2").hide(),i.find(".form-error").show(),a()})})})}))},makePasswordSwitch:function(a){a||(a=t.$doc),a.find('input[type="password"]').each(function(){if(this&&!this.hasPasswordSwitch){this.hasPasswordSwitch=!0;var t=e(this);t.addClass("pwHidden").on("mouseenter mousemove",function(e){t.toggleClass("clickable",a(e.clientX,e.clientY))}).on("mouseout",function(e){t.removeClass("clickable")}).click(function(e){a(e.clientX,e.clientY)&&(e.preventDefault(),e.stopImmediatePropagation(),t.toggleClass("pwHidden").toggleClass("pwVisible").attr("type",t.is(".pwVisible")?"text":"password"))})}function a(e,a){var i=t[0].getBoundingClientRect(),n=i.right-i.height;return e<i.right&&e>n&&a<i.bottom&&a>i.top}})},initSelect:function(n){var o="select_"+t.util.uniqueID();e(n).attr("id",o),fastdom.mutate(function(){e("#"+o).selectpicker({mobile:t.mobile}).on("change",function(t){i.changeSelectState(n,parseInt(e(n).prop("selectedIndex"))),e(n).closest("form").formValidation(a)}).end().formValidation(a)})},registerEvents:function(a){function n(t){t.addClass("consigned").find("input,textarea,select").addClass("to-validate");var a=t.find('[type="radio"]');a&&a.each(function(t,a){1==a.checked&&e(a).closest(".form-group").removeClass("changechecked").addClass("onecheckedtrue")})}function o(a){var i=e(a),n=(i.val()||"").trim(),o=a.checkValidity();return t.log(a,' with val "'+n+'" is valid ',o),i.toggleClass("hasVal",""!==n).toggleClass("is-valid",o).toggleClass("is-invalid",!o),o}(a=a||t.$doc).find("form").submit(function(){n(e(this))}).find('[type="submit"]').click(function(){n(e(this).parents("form").eq(0))}),a.find("input,textarea,select").focus(function(){var t=e(this),a=t.val();t.focusout(function e(){t.off("focusout",e),t.val()!=a&&t.addClass("changed").addClass("to-validate")})}),a.find('input[type="checkbox"]').change(function(t){e(this).hasClass("other")&&e(this).is(":checked")?e(this).parents(".form-group").find("input.other.textfield").removeClass("hidden"):e(this).hasClass("other")&&e(this).is(":not(:checked)")&&e(this).parents(".form-group").find("input.other.textfield").addClass("hidden")}),a.find("input:radio").change(function(t){1==e(this).hasClass("other")?e(this).parents(".form-group").find("input.other.textfield").removeClass("hidden"):0==e(this).hasClass("other")&&e(this).parents(".form-group").find("input.other.textfield").addClass("hidden")}),a.find(".download-tags__item").on("click",function(){i.filterDownloads(this)}),a.find("a.not-active").on("click",function(e){e.preventDefault(),e.stopPropagation()}),a.find(".related-products__item form>a, .related-products__item .addToCart").on("click",function(){e(this).hasClass("not-active")||i.handleRelatedProducts(this)}),a.find('input[type="checkbox"]').on("change",function(t){var a=e(this).parent().parent();a.find("> label").html(a.find("> label").data(a.hasClass("remind")&&e(this).prop("checked")?"checked-text":"unchecked-text"))}),a.find('input[name="view-mode"]').change(function(){"tile-view"==e(this).attr("id")?(e(".product-list").fadeOut(),e(".product-tiles").fadeIn()):(e(".product-tiles").fadeOut(),e(".product-list").fadeIn())}),a.find(".input-range").change(function(){var t=e(this).attr("value").split(","),a=t[0],i=t[1];0==e(".min").length?(e(".min-slider-handle").append('<span class="min">'+a+"</span>"),e(".max-slider-handle").append('<span class="max">'+i+"</span>")):(e(".min").text(a),e(".max").text(i))}),a.find("input").each(function(){o(this)}).change(function(t){var a=e(this);if(o(this),"file"==a.attr("type")){var i=a.data("accept"),n=a.val().split(".").pop();i.includes(n)||(a.siblings(".form-error-info").html(a.data("typeError")),this.setCustomValidity("FileType not accepted"),a.blur())}}),a.find("select").on("changed.bs.select",function(e,a,n,o){t.log("select!"),i.changeSelectState(this,a)}),a.find(".pathfinder__item select").on("changed.bs.select",function(a,i,n,o){var r=e(this).val();t.log("change url to ",r),window.location.href=r}),a.find(".pathfinder__item .dropdown-menu").on("click","a.selected",function(){var a=e(this).closest(".bootstrap-select").find("select").val();t.log("change url to ",a),window.location.href=a}),a.find(".certificate-downloads__item select").on("changed.bs.select",function(t,a,i,n){var o=e(this);o.closest("form").attr("action",o.val())})},setRequiredGroup:function(){e(".form-group.required").each(function(t,a){var i=e(a).find(":checkbox");i.each(function(t,a){e(a).attr("required","required"),e(a).change(function(){i.each(function(t,i){e(a).is(":checked")?e(i).removeAttr("required"):e(i).attr("required","required")})})})})},checkSelectState:function(){e("select").each(function(){var t=e(this).prop("selectedIndex");e(this).toggleClass("active",t>0).closest(".bootstrap-select").toggleClass("active",t>0)})},changeSelectState:function(t,a){e(t).toggleClass("active",a>0).closest(".bootstrap-select").toggleClass("active",a>0)},filterDownloads:function(t){var a=e(".download-tags__item.selected").length;0==a?e('.configurable-download__item:not([data-doctype="'+e(t).data("doctype")+'"])').fadeOut():e(t).hasClass("selected")&&1==a?e(".configurable-download__item").fadeIn():e(t).hasClass("selected")&&a>1?e('.configurable-download__item[data-doctype="'+e(t).data("doctype")+'"]').fadeOut():e('.configurable-download__item[data-doctype="'+e(t).data("doctype")+'"]').fadeIn(),e(t).toggleClass("selected")},handleRelatedProducts:function(a){var n=e(a),o=n.closest(".related-products__item"),r=o.data("id"),c=o.find(".description > label").html(),s=o.find('input[type="number"]').val();if(t.shop.cart.add(r,s),t.log("handleRelatedProducts",o),n.hasClass("added"))e("#base-config aside .order-list li[data-id="+r+"]").remove();else{var l=e('<li data-id="'+r+'"><input class="size-s" name="'+r+'" type="number" min="0" max="100" value="'+s+'"/><label>'+c+"</label></li>");e("#base-config aside .order-list ul").append(l),t.util.processDynamic(l),i.checkProductAddable()}n.toggleClass("added")}}}(jQuery),function(e){var t=(window.JUMO=window.JUMO||{}).tablesaw={element:"",init:function(){e("#tablesaw-compare").length>0&&(t.registerEvents(),t.resizeColumns(),t.checkDifferences())},registerEvents:function(){t.element=document.getElementById("tablesaw-compare"),new ResizeSensor(t.element,function(){e("th .product-info__header").length>0&&t.resizeColumns()}),e("#tablesaw-compare").on("tablesawcolumns.swipetoggle",function(a){t.resizeColumns(),t.checkPrevNext(),e("th.product-info:not(.tablesaw-cell-hidden)").each(function(){var t=e(this).css("width");e('col[data-compare-id="'+e(this).data("compare-id")+'"]').css("width",t),e('col[data-compare-id="'+e(this).data("compare-id")+'"]').show()}),e("th.product-info.tablesaw-cell-hidden").each(function(){e('col[data-compare-id="'+e(this).data("compare-id")+'"]').css("width","0px"),e('col[data-compare-id="'+e(this).data("compare-id")+'"]').hide()})}),e(".product-info__header .close-x").on("click",function(a){a.preventDefault(),a.stopPropagation();var i=e(this).closest(".product-info").data("compare-id");if(e('*[data-compare-id="'+i+'"]').closest("tr").find(".product-info").length>1){e('th[data-compare-id="'+i+'"]').outerWidth();var n=e('th[data-compare-id="'+i+'"]').next().data("compare-id"),o=e('th[data-compare-id="'+i+'"]').prev().data("compare-id");null!=n?e('*[data-compare-id="'+n+'"]').removeClass("tablesaw-cell-hidden"):null!=o&&e('*[data-compare-id="'+o+'"]').removeClass("tablesaw-cell-hidden"),e('*[data-compare-id="'+i+'"]').fadeOut("slow",function(){e('*[data-compare-id="'+i+'"]').remove(),1==e("th.product-info").length&&e(".tablesaw-advance").fadeOut(),e("#tablesaw-compare").trigger("tablesawcolumns.swipetoggle"),t.checkDifferences(),e('.differences input[type="checkbox"]').prop("checked")?e(".ignore-compare").addClass("comparison-active"):e(".ignore-compare").removeClass("comparison-active")})}else e('th[data-compare-id="'+i+'"]').html(e(".no-products-template").html()),e('td[data-compare-id="'+i+'"]').html("..."),1==e("th.product-info:not(.tablesaw-cell-hidden)").length&&e(".tablesaw-advance").fadeOut(),e(".differences").fadeOut(),e(".comparison-wrap").removeClass("sticky")}),e('.differences input[type="checkbox"]').on("change",function(){e(this).prop("checked")?e(".ignore-compare").addClass("comparison-active"):e(".ignore-compare").removeClass("comparison-active")})},checkPrevNext:function(){e("th.product-info:first").hasClass("tablesaw-cell-hidden")?e(".tablesaw-btn.left").removeClass("disabled"):e(".tablesaw-btn.left").addClass("disabled"),e("th.product-info:last").hasClass("tablesaw-cell-hidden")?e(".tablesaw-btn.right").removeClass("disabled"):e(".tablesaw-btn.right").addClass("disabled")},checkDifferences:function(){e(".product-comparison-table tbody tr").each(function(){var t=!0,a="";e(this).find("td.features").each(function(){var i=e(this).html();""!=a&&a!=i&&(t=!1),a=i}),t&&e(this).addClass("ignore-compare")})},resizeColumns:function(){var t=e("th.product-info:not(.tablesaw-cell-hidden)").length,a=e("th.title.first").outerWidth(),i=e("#tablesaw-compare").outerWidth(),n=parseInt(i-a)/t,o=e("th.product-info:not(.tablesaw-cell-hidden) .product-info__header").filter(":first").position().left,r=e("#tablesaw-compare").position().left+e("#tablesaw-compare").outerWidth();e(".tablesaw-advance").css("width",parseInt(r-15)+"px"),e(".tablesaw-advance .btn-micro.left").css("left",o+"px"),e(".tablesaw-advance .btn-micro.right").css("right","0px"),e("th.product-info:not(.tablesaw-cell-hidden)").css("width",n+"px")}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=[],i=t.modals={container:t.$main,overlay:e(".modal"),profileOverlay:e(".profile-modal"),videoOverlay:e(".video-modal"),closeBtn:e("button.overlay-close"),productselection:e(".compare .checkbox input[type=checkbox]"),transEndEventNames:"",transEndEventName:"",support:{transitions:Modernizr.csstransitions},init:function(){i.transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},i.transEndEventName=i.transEndEventNames[Modernizr.prefixed("transition")],i.registerEvents(),e(".component-container .overlay-contentpush").length>0&&i.moveContentGridOverlays()},registerEvents:function(){e(".comparison-tile__compare button").on("click",function(t){e(".comparison-tile__compare").hasClass("selected")&&i.toggleOverlay()}),i.productselection&&i.productselection.change(function(t){if(e(this).is("input:checked")){var a=e(this).attr("id");e(".flex-container-modal__item."+a).css("display","block"),e(".flex-container-modal__item."+a).css("opacity","1"),e(".flex-container-modal__item."+a).css("margin-left","0")}else{a=e(this).attr("id");e(".flex-container-modal__item."+a).css("display","none")}}),e(".close-x-modal").on("click",function(e){e.preventDefault(),e.stopPropagation(),i.toggleOverlay()}),e(".close-x-modal-item").on("click",function(t){var a=e(this).parents().eq(2).attr("class").split(" ")[1];e(".flex-container-modal__item."+a).css("opacity","0"),e(".flex-container-modal__item."+a).css("margin-left","-280px"),e(".flex-container-modal__item."+a).css("transition","all .2s ease-out"),e(".compare .checkbox #"+a).prop("checked",!1),e(".compare .checkbox input:checked").length<=0&&(t.preventDefault(),t.stopPropagation(),i.toggleOverlay()),i.comparisonCounter()}),t.$doc.keyup(function(t){27===t.keyCode&&e(i.overlay).hasClass("open")&&(t.preventDefault(),t.stopPropagation(),i.toggleOverlay())}),e(".checkbox input[type=checkbox]").on("click",i.comparisonCounter),e(".image__item .inner .img-wrap img.modalprofile").on("click",function(t){e(".profile-modal__container").animate({scrollTop:0},"slow"),e(i.profileOverlay).hasClass("open")?(e(".profile-modal__carouselwrap .image__item").css("display","block"),e(this).closest(".profile-modal__carouselwrap .image__item").css("display","none"),e(".profile-modal__carouselwrap .image__item .inner .img-wrap img.modalprofile").addClass("open")):(i.toggleProfileOverlay(),i.notifyProfileOverlay(),e(".profile-modal__carouselwrap .image__item").css("display","block"),e(this).closest(".profile-modal__carouselwrap .image__item").css("display","none"),e(".profile-modal__carouselwrap .image__item .inner .img-wrap img.modalprofile").removeClass("open"))}),e(".image__item .inner button.modalprofile").on("click",function(t){e(".profile-modal__container").animate({scrollTop:0},"slow"),e(i.profileOverlay).hasClass("open")?(e(".profile-modal__carouselwrap .image__item").css("display","block"),e(this).closest(".profile-modal__carouselwrap .image__item").css("display","none"),e(".profile-modal__carouselwrap .image__item .inner .img-wrap img.modalprofile").addClass("open")):(i.toggleProfileOverlay(),i.notifyProfileOverlay(),e(".profile-modal__carouselwrap .image__item").css("display","block"),e(this).closest(".profile-modal__carouselwrap .image__item").css("display","none"),e(".profile-modal__carouselwrap .image__item .inner .img-wrap img.modalprofile").removeClass("open"))}),e(".profile-modal__close-x").on("click",function(e){e.preventDefault(),e.stopPropagation(),i.toggleProfileOverlay()}),t.$doc.keyup(function(t){27===t.keyCode&&e(i.profileOverlay).hasClass("open")&&(t.preventDefault(),t.stopPropagation(),i.toggleProfileOverlay())}),e(".video-item.video-3-row .wrapper .video-controls button.btn-play").on("click",function(t){e(".video-modal__container").animate({scrollTop:0},"slow"),e(i.videoOverlay).hasClass("open")||i.toggleVideoOverlay()}),e(".video-modal__close-x").on("click",function(e){e.preventDefault(),e.stopPropagation(),i.toggleVideoOverlay()}),t.$doc.keyup(function(t){27===t.keyCode&&e(i.videoOverlay).hasClass("open")&&(t.preventDefault(),t.stopPropagation(),i.toggleVideoOverlay())})},moveContentGridOverlays:function(){e(".component-container .overlay-contentpush").each(function(){var t=e(this).detach();e("main").append(t)})},comparisonCounter:function(){var t=e(".compare .checkbox input:checked").length;e(".comparison-tile__compare").removeClass(t<1?"selected":"").addClass(t>=1?"selected":"");var a=e(".comparison-tile__compare").addClass(t>=1?"tick":"");newone=a.clone(!0),a.before(newone),e(".comparison-tile__compare.tick:last").remove(),e(".comparison-tile__compare .comparison-tile__counter").html(t>=1?t:""),t<2?e(".modal-content .btn--l").css("display","none"):e(".modal-content .btn--l").css("display","block")},onEndTransitionFn:function(e){if(i.support.transitions){if("visibility"!==e.propertyName)return;this.removeEventListener(i.transEndEventName,i.onEndTransitionFn)}},toggleOverlay:function(){e(i.overlay).hasClass("open")?(e(i.overlay).removeClass("open"),e(i.container).removeClass("overlay-open"),i.support.transitions?document.getElementById("compareModal").addEventListener(i.transEndEventName,i.onEndTransitionFn):i.onEndTransitionFn()):e(i.overlay).hasClass("close")||(e(i.overlay).addClass("open"),e(i.container).addClass("overlay-open"))},toggleProfileOverlay:function(){e(i.profileOverlay).hasClass("open")?(e(i.profileOverlay).removeClass("open"),e(t.$html).removeClass("inner-overlay-open")):e(i.profileOverlay).hasClass("close")||(e(i.profileOverlay).addClass("open"),e(t.$html).addClass("inner-overlay-open"))},notifyProfileOverlay:function(){"set"===a[1]?e(".imageCarousel-slide.slick-slide .notification").css("display","none"):e(".slick-current.slick-active").each(function(){var i=e(this).find(".notification");i.css("right","-420px"),i.animate({right:"+=420px",opacity:"1"},"slow").delay(3e3),i.animate({right:"-=420px",opacity:"0"},"slow").delay(800),i.css("right","0"),t.$doc.cookie="notificationcookie=set",a=t.$doc.cookie.split("=")})},toggleVideoOverlay:function(){e(i.videoOverlay).hasClass("open")?(e(i.videoOverlay).removeClass("open"),e(t.$html).removeClass("inner-overlay-open")):e(i.videoOverlay).hasClass("close")||(e(i.videoOverlay).addClass("open"),e(t.$html).addClass("inner-overlay-open"))}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.log("SEARCH"),t.search=new function(){e(".searchfield").each(function(){var a=e(this),i=a.find("input");a.find(".searchfield__close-x").click(function(){i.val(void 0),a[0].reset(),i.removeClass("to-validate").removeClass("hasVal"),i.focus()}),i.on("change input",function(){t.log("checkInput",i.val(),i);var e=i.val(),a=e&&e.trim().length>0;t.log(i[0]," has Val ",e),i.toggleClass("hasVal",a).toggleClass("to-validate",a)})}),e(".search-results-list").each(function(){var a=180,i="",n="RELEVANCE",o=0,r=0,c=!0,s=!1,l=t.util.templates.get("searchFilter"),d=t.util.templates.get("searchSort"),u=t.util.templates.get("searchResult.non"),f=t.util.templates.get("searchResult.loadMore"),p=t.util.templates.get("searchResult.end"),m=e(this),h=e(".search-header").eq(0),C=h.find("form.searchfield"),g=C.find('[type="search"]'),v=h.find(".search-results-filter"),b=v.attr("data-filter-prop"),y=v.attr("data-filter-prop-sort"),w=v.attr("data-filter-prop-sort-dir")||"asc",k=v.attr("data-filter-prop-text"),_=new RegExp(b+":\\((.*)\\)"),E=h.find(".search-results-sort"),x=m.attr("data-search-sort"),T=m.attr("data-search-extends"),S=parseInt(m.attr("data-search-rows"))||50,O=m.attr("data-search-url"),P=m.attr("data-search-filter"),A=m.attr("data-search-bf"),N=m.attr("data-search-bq"),R=m.attr("data-search-cat"),D=m.find(".search-result.search-result-none"),M=[],L=[],I=[],B=[],U=[],j=[],q=[],F=[];if(b&&b.includes(",")?(I=b.split(","),y&&y.includes(",")&&(B=y.split(",")),k&&k.includes(",")&&(U=k.split(","))):b&&b.includes(";")?(j=b.split(";"),I.push(j[0]),j.shift(),y&&y.includes(";")&&(q=y.split(";")),y&&B.push(q[0]),B.shift(),k&&k.includes(";")&&(F=k.split(";")),k&&U.push(F[0]),U.shift()):b&&(I.push(b),y&&B.push(y),k&&U.push(k)),"true"==R){var $="";e(".product-slider-select select option:selected")&&($="{!parent which=docType:PRODUCTGROUP} (docType:CATEGORY AND category1:"+e(".product-slider-select select option:selected").val()+")",H()),e(".product-slider-select select").on("change",function(){e(".cc-product-slider .slick-list .slick-track .slick-slide div .spinner").removeClass("hidden"),$="{!parent which=docType:PRODUCTGROUP} (docType:CATEGORY AND category1:"+e(this).val()+")",H()})}function G(){var e=E.find(".search-results-rows select").val();return t.log("rows: ",e),e||S}function V(){if(t.log("getFilters:",v),!v||0==v.length||!v.is(":visible"))return"";var a=[];return v.find("a.active").each(function(){var i=e(this).attr("data-filter-value");t.log("v:",i),"_all_"!=i&&"_toggle_"!=i&&(a.push(i),P=i)}),a||[]}function W(e){var a=new Date(e);return a.day=a.getDate(),a.weekday=a.toLocaleDateString(t.lang,{weekday:"long"}),a.year=a.getFullYear(),a.month=a.getMonth()+1,a.monthLong=a.toLocaleDateString(t.lang,{month:"long"}),a}function J(a){l&&(l.$parent.empty(),I.forEach(function(i){if(t.log("Filter ",a," by ",i),a){var n=a.facets,o=n[i],r=(a.responseHeader.params.q,a.responseHeader.params.fq.length>1&&a.responseHeader.params.fq[a.responseHeader.params.fq.length-1]||""),c=function(){for(var e=(r.replace(_,"$1")||"").split('"'),t=e.length;t--;)e[t]&&""!=e[t]&&" OR "!=e[t]||e.splice(t,1);return e}();if(o){var s=o.buckets.concat();if("metatag-jumo-meta-jobad-locations"==i||"metatag-jumo-meta-jobad-positions"==i||"metatag-jumo-meta-category"==i||"metatag-jumo-meta-position"==i){s.forEach(function(e,t){var a;e.val.includes(",")&&(e.val.split(",").forEach(function(t,a){if(M.includes(e.val)||M.push(e.val),s.find(e=>e.val===t))s.find(e=>e.val===t).count=s.find(e=>e.val===t).count+e.count;else{var i={};i.val=t,i.count=e.count,s.push(i)}}),a=e.val,s=s.filter(function(e){return e.val!=a}))})}if(j.length&&(fpabuckets=[],j.forEach(function(e){n[e].buckets.forEach(function(t,a){t[e]=e,fpabuckets.push(t)}),s=o.buckets.concat(fpabuckets)})),!s||s.length<=0)v.addClass("hidden");else{v.removeClass("hidden");var d=0;s.forEach(function(e,a){"docType"==i&&(e.name=t.util.texts.get("docType",e.val)),e.name&&""!=e.name.trim()||(e.name=(e.val||"").trim().replace(/_/g," ")),d+=e.count,e.name=e.name.replace(/ \/ /g,"/").replace(/ +/g," "),j.length||("metatag-jumo-meta-industry"==i&&(e.name=t.util.texts.get("sucstolabels",e.val)),("docType:(FAQ)"==m.attr("data-search-fq")&&"metatag-jumo-meta-position"==i||"docType:(BLOG)"==m.attr("data-search-fq")&&"metatag-jumo-meta-position"==i)&&(e.name=t.util.texts.get("positionlabels",e.val)),("docType:(FAQ)"==m.attr("data-search-fq")&&"metatag-jumo-meta-category"==i||"docType:(BLOG)"==m.attr("data-search-fq")&&"metatag-jumo-meta-category"==i)&&(e.name=t.util.texts.get("categorylabels",e.val)),"docType:PRODUCTGROUP"==m.attr("data-search-fq")&&"state"==i&&(e.name=t.util.texts.get("productLabel",e.val))),j.length&&(("docType:(FAQ)"==m.attr("data-search-fq")&&"metatag-jumo-meta-position"==i||"docType:(BLOG)"==m.attr("data-search-fq")&&"metatag-jumo-meta-position"==i)&&(e.name=t.util.texts.get("positionlabels",e.val)),("docType:(FAQ)"==m.attr("data-search-fq")&&"metatag-jumo-meta-category"==i||"docType:(BLOG)"==m.attr("data-search-fq")&&"metatag-jumo-meta-category"==i)&&(e.name=t.util.texts.get("categorylabels",e.val))),e.key=e.val,e.filter=i,"FAQOV"==e.val&&(s=s.filter(e=>"FAQOV"!==e.val)),"MICROAPPLICATION"==e.val&&(s=s.filter(e=>"MICROAPPLICATION"!==e.val)),c.indexOf(e.key)>=0&&(e.active="active")}),s.unshift({isAll:!0,count:Math.max(d,n.count),active:c.length?"":"active",key:"_all_",classes:"filter-static"}),s.push({isAddFilter:!0,key:"_toggle_",classes:"filter-static"}),v.find("a").off("click"),l.append(s),"true"==R&&l.afterLast(function(){e(".search-results-filter").find("small").addClass("hidden")}),c.length>0&&"-docType:(WCM CRITERIA CATEGORY)"!=c&&"-WCM CRITERIA CATEGORY"!=c&&")"!=c&&e(".search-results-list").attr("data-search-filter")!=c.toString()&&e(".search-results-filter ul").addClass("filter-open"),v.find("a").click(function(a){a.preventDefault(),a.stopImmediatePropagation();var i=e(this),n=v.find("a"),o=v.find('a[data-filter-value="_all_"]');if(i.add(i.parents("li").eq(0)),t.log("toggle",i),"true"==R&&e(".cc-product-slider .slick-list .slick-track .slick-slide div .spinner").removeClass("hidden"),"_toggle_"==i.attr("data-filter-value")){i.closest(".non-standard").toggleClass("filter-open");var r=v.parent().offset().top;return t.$win.scrollTop()>r&&t.$win.scrollTop(r),void v.blur()}"_all_"==i.attr("data-filter-value")?(n.removeClass("active"),i.addClass("active"),i.closest(".non-standard").removeClass("filter-open")):i.hasClass("active")?(i.removeClass("active"),0==n.filter(".active").length&&(o.addClass("active"),o.parent().addClass("active"))):(e(".search-results-list").hasClass("product-slick")&&n.removeClass("active"),i.addClass("active"),o.removeClass("active")),H()})}}}else v.addClass("hidden")}))}function z(o){if("true"==R&&e(".cc-product-slider .slick-list .slick-track .slick-slide div .spinner").addClass("hidden"),c?(e(".search-result.search-result-none .spinner").hide(),e(".search-result.search-result-none .inner").show(),null!=o&&(0==r&&m.empty(),e(".search-result.search-result-none").remove()),m.find(".search-result-info").remove(),c=!1):m.empty(),o){var l=o.response.start;if(o.response.docs.forEach(function(e,i){function n(){t.log(e)}function o(){var a=s.find(":selected"),i=s.find("option").index(a);c.find(".dropdown + .btn");e.currentFile&&(e.currentFile.selected=!1),e.currentFile=e.filesArray[i],e.currentFile&&(e.currentFile.selected=!0),e.updateCount++,t.log("set currentFile ",i," -> ",e.currentFile),r(d.create(e))}function r(e){t.log("setItem"),c&&c.length&&c.replaceWith(e),t.log("setItem -> ",c&&c[0]," -> ",e[0]),(c=e)[0],c.click(n),c.find("select").selectpicker({mobile:t.mobile}),(s=c.find("select")).change(o)}e.updateCount=0;var c,s,d=t.util.templates.get({group:"searchResult",tag:"DEFAULT"});!function(e){if(e.files){for(var i in e.files=JSON.parse(e.files),e.filesArray=[],e.languages&&(e.languageNames=[],e.languages.forEach(function(a,i){var n=t.util.texts.get("language",a);n&&e.languageNames.push(n)}),e.languageNames=e.languageNames.join(", ")),e.files)if(e.files.hasOwnProperty(i)){var n=e.files[i];if(!n)return;n.language=t.util.texts.get("language",i),n.identifier=n.language||n.filename,n.sizeText=t.util.unitFileSize(n.filesize),n.text='<span class="file-text">'+n.sizeText+", "+(n.language||e.languageNames||n.identifier)+"</span>",n.date&&(n.date=W(n.date)),e.filesArray.push(n)}e.filesArray=e.filesArray.sort(function(e,t){return e.identifier>t.identifier?1:e.identifier<t.identifier?-1:0}),0==e.filesArray.length?(e.filesSrc=e.files,delete e.files,delete e.filesArray):(1==e.filesArray.length&&(e.file=e.filesArray[0]),e.primeFile=e.files[t.lang]||e.files.en||e.filesArray[0])}switch(e.thumbnailUrl&&(""==e.thumbnailUrl.trim()&&delete e.thumbnailUrl,e.thumbnailUrl.indexOf("FPNG")>-1&&(e.thumbnailUrl+="-B297")),e["is"+e.docType]=!0,e.primeProductgroup=e.productgroups?e.productgroups[0]:void 0,e.releaseDate&&(e.date=W(e.releaseDate)),e.docType&&(e.docTypeName=t.util.texts.get("docType",e.docType)),e.shortDescription=e.description,e.shortDescription&&e.shortDescription.length>=a+3&&(e.shortDescription=e.shortDescription.substr(0,Math.max(a-60,e.shortDescription.lastIndexOf(" ",a)))+" ..."),e["metatag-jumo-meta-breadcrumb"]&&(e.breadcrumb=e["metatag-jumo-meta-breadcrumb"].split(";").slice(0,-1).join(" - ")),e.supline=e.subTitle||e.breadcrumb||e.typeName||e.docTypeName,e.iconClass="icon-stacks",e.docType){case"PRODUCTGROUP":e.supline=e.subTitle+" - "+e.primeProductgroup,e.iconClass="icon-productgroup";break;case"JOBAD":e.iconClass="icon-jobs";break;case"FAQ":e.supline=t.util.texts.get("docType","FAQ","FAQ"),e.iconClass="icon-note";break;case"SOFTWARE":e.iconClass="icon-mouse";break;case"FAIR":e.iconClass="icon-calendar";break;case"NEWS":e.iconClass="icon-news";break;case"CONTENT":e.iconClass="icon-computer";break;case"SUCSTO":e.iconClass="icon-casestudy";break;case"APPLICATION":e.iconClass="icon-sectors";break;case"DOCUMENT":switch(e.supline=e.typeName,e.iconClass="icon-book-alt",e.typeName){case"Zertifikat":case"Baumusterpruefbescheinigung":case"Pruefbescheinigung":case"DakkS-Akkreditierung":case"Unbedenklichkeitsbescheinigung":case"Certificate_Russia":e.iconClass="icon-certificate";break;case"CAD Daten":e.iconClass="icon-three-d";break;case"Typenblatt":e.iconClass="icon-datasheet";break;case"Systemhandbuch":case"Sicherheitshandbuch":e.iconClass="icon-book-open";break;case"Betriebsanleitung":case"Bedienungsanleitung":case"Installationsanleitung":case"Montageanleitung":case"Online-Dokumentation":case"Kurzanleitung":e.iconClass="icon-files";break;case"Fachartikel":case"Fachaufsatz":e.iconClass="icon-file";break;case"Katalog":case"Produktkatalog":e.iconClass="icon-catalog";break;case"checkliste":e.iconClass="icon-checklist";break;case"Kalendereintrag":e.iconClass="icon-calendar";break;case"FAQ":e.iconClass="icon-help"}e.description=""}}(e),e.currentFile=e.primeFile||(e.filesArray?e.filesArray[0]:e.file),e.currentFile&&(e.currentFile.selected=!0),r(d.append(e)),l++}),r=l,0!=e('.pdp-downloads-slim .btn[data-action="show-more"]').length&&r<3&&e('.pdp-downloads-slim .btn[data-action="show-more"]').addClass("hidden"),0==l){var h={q:i,qCleaned:X?i.replace(X,""):i};te&&""!=te&&(h.strNoResult=te),u.append(h),t.log("tempData:",h)}else{var C=G(),g=o.response.numFound-l;g>0?f.append({count:o.response.numFound,rowsLeft:g,rowsLoad:Math.min(C,g)}).click(function(e){e.preventDefault(),function(){if(c)return;t.log("Load more"),c=!0,H()}()}):p.append()}}else;J(o),function(a){if(d&&(d.$parent.empty(),a)){var i=d.append({count:a.facets.count,rows:parseInt(a.responseHeader.params.rows),sort:a.responseHeader.params.sort||n});e(".result-count").text(a.facets.count),a.facets.count>3&&e('.pdp-downloads-slim .btn[data-action="show-more"]').removeClass("hidden"),i.find("select").selectpicker({mobile:t.mobile}).change(function(e){Y(e.currentTarget[0].value)})}}(o),e(".search-results-list").hasClass("product-slick")&&(0==s?(e(".product-slick").slick({centerMode:!1,centerPadding:"60px",slidesToShow:3,autoplay:!1,autoplaySpeed:2e3,slidesToScroll:1,responsive:[{breakpoint:880,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:1}}]}),s=!0):(e(".product-slick").removeClass("slick-initialized slick-slider"),e(".product-slick").not(".slick-initialized").slick({centerMode:!1,centerPadding:"60px",slidesToShow:3,autoplay:!1,autoplaySpeed:2e3,slidesToScroll:1,responsive:[{breakpoint:880,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:1}}]})))}function H(a,s){var l=g.val();if(l&&""!=l?X&&(l=X+l):l=void 0,(a=a||l||Z||"")&&""!==a){a==Z||""===a?(g.val(null),ie()):g.val(a.replace(X,"")),i=a,s||Z||history.pushState({q:i},document.title,"?q="+encodeURIComponent(i));var d=V(),u=["-docType:(WCM CRITERIA CATEGORY)"],f={},p=[];if(ee&&""!=ee){var h="";h=""==P?ee+" OR docType:(FAQOV)":ee,"docType:(FAQ)"==ee?u.unshift(h):u.unshift(ee)}a&&""!=a&&p.push(a),u.forEach(function(e){e&&""!=e&&p.push(e)}),p.forEach(function(e,t){e.includes("FAQ")&&(p[t]=ee)});var C={},v="";I.forEach(function(e,t){C=f[e]={type:"terms",field:e,limit:-1,domain:{query:p.join(" AND ")},facet:{}};var a=Q();if(a[e]&&!v)if(L=V(),"metatag-jumo-meta-jobad-locations"==e||"metatag-jumo-meta-jobad-positions"==e||"metatag-jumo-meta-category"==e||"metatag-jumo-meta-position"==e){if(M){var i=[];L.forEach(function(e,t){var a=M.filter(t=>t.includes(e));i=i.concat(a)}),0==t&&(v=" AND "+e+':("'+d.join('" OR "')+'" OR "'+i.join('" OR "')+'") ')}}else 0==t&&(v=" AND "+e+':("'+a[e].value.join('" OR "')+'") ');0!=t&&(f[e].domain.query=f[e].domain.query+v),B.length&&B[t]&&(C.sort="nameSort "+w,C.facet.nameSort="min("+B[t]+")"),U.length&&U[t]&&(C.facet.name="min("+U[t]+")"),j.length&&j.forEach(function(e,t){f[e]={type:"terms",field:e,limit:-1,domain:{query:"* AND "+m.attr("data-search-fq")+" AND -docType:(WCM CRITERIA CATEGORY)"},facet:{}},q.length&&q[t]&&(f[e].sort="nameSort "+w,f[e].facet.nameSort="min("+q[t]+")"),F.length&&F[t]&&(f[e].facet.name="min("+F[t]+")")})}),c||(r=0);var b=[];N?N.includes(",")?b=N.split(","):b.push(N):b=["docType:PRODUCTGROUP^=1000","docType:FAQOV^=850","docType:FAQ^=750","(docType:DOCUMENT AND type:Typenblatt)^=550","(docType:DOCUMENT AND type:Betriebsanleitung)^=500","docType:APPLICATION^=250","docType:SOFTWARE^=100","(docType:PRODUCTGROUP AND state:ARCHIVE)^=-250"];var y,k={defType:"edismax",q:a,tie:1,"q.op":"AND",start:r,rows:G(),qf:"_text_ title^10 productgroups^5 keyWords^5",fq:u,bf:A,bq:b,"json.facet":JSON.stringify(f)},_=(!(y=E.find(".search-results-sorts select").val())&&x?y=x:!y&&A&&A.includes("NOW,releaseDate")&&(y="releaseDate asc"),y==n?void 0:y);a.includes(":")||k.bq.push("(docType:PRODUCTCATEGORY AND title:"+a+")^=1100"),I.forEach(function(e,t){0==t&&(a.includes(":")||a.includes("*")||!T||(k.q="*",k.fq.push("_query_:"+a+" OR ("+T+":*"+a+") OR ("+T+":"+a+"*)"))),_&&(k.sort=_),"true"==R&&$&&k.fq.push($),null!=P&&(P.length>=1&&d.length<1&&k.fq.push(e+':("'+P+'")'),P="")}),I.forEach(function(e){if(I.length&&!j.length){var t=Q();if(d.length>=1)if(t[e])if("metatag-jumo-meta-jobad-locations"==e||"metatag-jumo-meta-jobad-positions"==e||"metatag-jumo-meta-category"==e||"metatag-jumo-meta-position"==e){if(M){var a=[];L.forEach(function(e,t){var i=M.filter(t=>t.includes(e));a=a.concat(i)}),k.fq.push(e+':("'+d.join('" OR "')+'" OR "'+a.join('" OR "')+'")')}}else k.fq.push(e+':("'+d.join('" OR "')+'")');else 1==I.length&&d.length>=1&&k.fq.push(e+':("'+d.join('" OR "')+'")')}else if(j.length){var i="";j.forEach(function(e,t){i=0?e+':("'+d.join('" OR "')+'")':i.concat(e+':("'+d.join('" OR "')+'") OR ')}),d.length>=1&&k.fq.push(i+e+':("'+d.join('" OR "')+'")')}else d.length>=1&&k.fq.push(e+':("'+d.join('" OR "')+'")')});var S=++o;t.log("search data: ",k),e.ajax({url:O,method:"POST",dataType:"json",data:k,traditional:!0,error:function(e,a,i){t.log("error ",e,a,i)},success:function(e,a,i){t.log("received search response ",e,a,i),S==o&&z(e)}})}else t.log("Leere Suche")}function Q(){var t={},a=0;return v.find("a.active").each(function(i,n){t[e(n).data("filter-key")]?t[e(n).data("filter-key")].key==e(n).data("filter-key")&&t[e(n).data("filter-key")].value.push(e(n).data("filter-value")):(t[e(n).data("filter-key")]={},t[e(n).data("filter-key")].key=e(n).data("filter-key"),t[e(n).data("filter-key")].value=[e(n).data("filter-value")],t[e(n).data("filter-key")].index=a,a+=1)}),t}function Y(t){m.empty(),e(".search-results-list").append(D),e(".search-results-list").append("<div></div>"),""!=t&&(e(".search-result.search-result-none .spinner").show(),e(".search-result.search-result-none .inner").hide()),H()}function K(){t.log("reset"),g.val(null).removeClass("to-validate").removeClass("hasVal"),z()}t.log("filterProp:",b),C.submit(function(e){e.preventDefault(),Y(e.currentTarget[0].value)}),C.find(".searchfield__close-x").click(function(){g.val("").removeClass("hasVal").removeClass("to-validate").focus(),t.log("search: ",X),Z?H(Z):(K(),e(".search-results-list").append(D),e(".search-results-list").append("<div></div>"),e(".search-result.search-result-none .spinner").hide(),e(".search-result.search-result-none .inner").show())});var Z=m.attr("data-search-q"),X=m.attr("data-search-pre-q"),ee=m.attr("data-search-fq"),te=m.attr("data-search-str-noresult")||void 0;if(X&&""!=X?X+=" AND ":X=void 0,t.log("paramQ:",Z," / paramPreQ:",X),Z)H(Z);else{var ae=t.util.getUrlParameterByName("q");ae&&""!=ae?H(ae,!0):K()}function ie(){t.log("checkInput",g.val(),g);var e=g.val(),a=e&&e.trim().length>0;t.log(g[0]," has Val ",e),g.toggleClass("hasVal",a).toggleClass("to-validate",a)}window.onpopstate=function(e){var a=t.util.getUrlParameterByName("q");a&&""!=a&&(t.log("history search ",a),H(a,!0))},g.on("change input",ie),ie()})}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.shop=new function(){t.log("SHOP");var a="/proxy/http/workplace/web-api/rest/v1/cart",i="/proxy/http/workplace/web-api/rest/v1/articles/{{partnumber}}/features",n="/proxy/http/workplace/web-api/rest/v1/productgroups/{{productgroupNo}}/accessories",o=t.util.templates.get("product-accessories");function r(a,i,n,o,r,c){(n=n||{}).workplaceLocale=t.workplaceLocale,e.ajax({url:a,method:o?"GET":"POST",dataType:"json",data:n,traditional:!0,error:function(e,i,n){t.log("load error on",a," = ",e,i,n),t.notifications.cartUpdateError()},success:function(e,n,o){t.log("received response from ",a," = ",e,n,o),r||(c||t.notifications.cartUpdateSuccessful(),s.data=e),"function"==typeof i&&i(e)}})}function c(){t.log("update cart ",s),e(".cart-text").text(s.length).toggleClass("cart-empty",s.isEmpty)}this.cartVisible=!1,t.util.processDynamic.add(function(a){t.debug&&a.find("[data-shop-partnumber]").click(function(){var a=e(this).attr("data-shop-partnumber");s.data.allItems.forEach(function(e){e.partnumber==a&&t.log("CartItem: ",e)})}),a.find("[data-shop-action]").each(function(){var a=this,c=e(this);if(!a.shopListenerAdded){a.shopListenerAdded=!0;var d=c.attr("data-shop-action").split(","),u=d.shift().split("."),f=u[0],p=c.is("form"),m=c.is("a,button"),h="request"!==u[1],C=c.find("input[data-shop-amount]"),g=c.parents(".part__item__accessories").eq(0),v=g.length>0,b=v,y=g.attr("data-shop-productgroup-no"),w=v?g.prev("tr"):c.parents(".part__item");t.log(c[0],"shopaction: ",f,h,d," -> ",y),({"change-amount":k,add:k,remove:function(e){c.click(function(a){t.log("remove"),s.remove(e,h)})},clear:function(){c.click(function(e){t.log("click clear"),e.preventDefault(),t.log("clear"),s.clear()})},"show-accessories":function(e){c.click(function(a){if(a.preventDefault(),t.log("show-accessories"),v||g.length||w.next().is(".part__item__accessories")&&(g=w.next(),b=!0),b)return v&&(w=g.prev(".part__item")),void w.toggleClass("accessories-visible");o?(b=!0,r(n.replace("{{productgroupNo}}",e),function(a){a.inCart=!0,a.productgroupNo=e,a.cartColspan=w.find("td").length,t.log("loaded",a),t.util.prepareProduct(a.accessoryList),t.util.prepareProduct(a.softwareList),g=o.create(a),w.after(g),w.toggleClass("accessories-visible",!0)},void 0,!0,!0)):t.log("Error TemplateAccessories missing.")})},"show-configuration":function(e){c.mouseenter(function(n){n.preventDefault(),t.log("show-configuration ",e),a.tooltipLoaded||(a.tooltipLoaded=!0,c.find(".icon-information .cooltip__text .articletext").remove(),r(i.replace("{{partnumber}}",e),function(e){c.find(".icon-information .cooltip__text").append(l.create(e))},void 0,!0,!0))})},"change-configuration":function(e){}}[f]||function(){t.log("No definded shop action for ",f)}).apply(this,d)}function k(a,i){function n(n){return t.log("handle change"),n&&n.preventDefault(),s["add"==f?"add":"update"](a,p?C.val():i||1,h,function(){if(e('.part__item[data-shop-partnumber="'+a+'"] input[data-shop-amount]').focus(),t.log("$accessoriesSection: ",g," / ",y," / ",e('.part__item[data-shop-partnumber="'+y+'"]')),y){var i=e(g[0].outerHTML),n=e('.part__item[data-shop-productgroup-no="'+y+'"]');t.log("$accessoriesItem",n[0],'| .part__item[data-shop-productgroupNo="'+y+'"]'),n.addClass("accessories-visible").after(i),t.util.processDynamic(i)}}),!1}p?(c.submit(n),c.find('[type="submit"]').length||C.change(n)):m&&c.click(n)}})});var s=this.cart=new function(){var e,i=this;function n(e,t){return(t=t||{}).partnumber=e,t}function o(e){return!1===e?"request":""}Object.defineProperties(i,{data:{get:function(){return e},set:function(a){e=a,t.log("Update cart.data",e),e&&(e.totalAmount=0,e.allItems=[],[e.basket,e.requestBasket].forEach(function(a){a&&(e.totalAmount+=a.totalAmount,a.items&&(t.util.prepareProduct(a.items,{buyable:a!==e.requestbasket}),e.allItems=e.allItems.concat(a.items)))}),t.log("cart.data =  ",e),c(),i.dispatchEvent(new CustomEvent("update")))}},isEmpty:{get:function(){return!(e&&e.totalAmount>0)}},length:{get:function(){return e&&e.totalAmount||0}}}),t.util.convertToEventDispatcher(i),i.load=function(e){r(a,e,void 0,!0,void 0,!0)},i.clear=function(e){t.log("clear cart"),r(a+"/clear",e)},i.add=function(e,i,c,s){t.log("add to cart",e,i),r(a+"/add"+o(c),function(e){t.log("data: ",e),s&&s()},n(e,{amount:i}))},i.update=function(e,i,c,s){t.log("update to cart",e,i),r(a+"/update"+o(c),function(e){t.log("data: ",e),s&&s()},n(e,{amount:i}))},i.replace=function(e,i,c,s,l){t.log("replace to cart",e,i,c),r(a+"/replace"+o(s),function(e){t.log("data: ",e),l&&l()},n(void 0,{oldPartnumber:e,newPartnumber:i,amount:c}))},i.remove=function(e,i){t.log("remove from cart",e,i),r(a+"/remove"+o(i),function(e){t.log("data: ",e)},n(e))}},l=t.util.templates.get("article.tooltip"),d=t.util.templates.get({group:"shop-cart"});d&&d.forEach(function(e,a){s.addEventListener("update",function(a){t.log("render data ",s.data);e.replace(s.data)})}),s.data=t.util.objects.get("current-cart"),s.data&&(this.cartVisible=!0,s.dispatchEvent(new CustomEvent("update"))),s.load()}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.share={header:e("header"),container:t.$main,footer:e("footer"),overlay:e(".share"),closeBtn:e("button.overlay-close"),transEndEventNames:"",transEndEventName:"",support:{transitions:Modernizr.csstransitions},init:function(){a.transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},a.transEndEventName=a.transEndEventNames[Modernizr.prefixed("transition")],a.registerEvents()},registerEvents:function(){var i=window.location.href;e(".btn.colorFacebook").attr("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(i)),e(".btn.colorLinkedin").attr("href","https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(i)),e(".btn.colorTwitter").attr("href","http://www.twitter.com/share?url="+encodeURIComponent(i)),e(".btn.colorXing").attr("href","https://www.xing.com/spi/shares/new?sc_p=xing-share&url="+encodeURIComponent(i)),e(".btn.colorEmail").on("click",function(e){t.mailmodal.toggleOverlay()}),e(".share-body .wrap .row .btnwrap a").on("click",function(e){a.toggleOverlay()}),e(".share-tile__share button").on("click",function(e){a.toggleOverlay()}),e(".close-x-share").on("click",function(e){e.preventDefault(),e.stopPropagation(),a.toggleOverlay()}),t.$doc.keyup(function(t){27===t.keyCode&&e(a.overlay).hasClass("open")&&(t.preventDefault(),t.stopPropagation(),a.toggleOverlay())})},onEndTransitionFn:function(e){if(a.support.transitions){if("visibility"!==e.propertyName)return;this.removeEventListener(a.transEndEventName,a.onEndTransitionFn)}},toggleOverlay:function(){e(a.overlay).hasClass("open")?(e(a.overlay).removeClass("open"),e(a.header).removeClass("overlay-open"),e(a.container).removeClass("overlay-open"),e(a.footer).removeClass("overlay-open"),a.support.transitions?document.getElementById("containerShare").addEventListener(a.transEndEventName,a.onEndTransitionFn):a.onEndTransitionFn()):e(a.overlay).hasClass("close")||(e(a.overlay).addClass("open"),e(a.header).addClass("overlay-open"),e(a.container).addClass("overlay-open"),e(a.footer).addClass("overlay-open"))}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.mailmodal={header:e("header"),container:t.$main,footer:e("footer"),overlay:e(".mailmodal"),closeBtn:e("button.overlay-close"),transEndEventNames:"",transEndEventName:"",support:{transitions:Modernizr.csstransitions},init:function(){a.transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},a.transEndEventName=a.transEndEventNames[Modernizr.prefixed("transition")],a.registerEvents()},registerEvents:function(){e(".share-tile__mail button").on("click",function(e){a.toggleOverlay()}),e(".close-x-mail").on("click",function(e){e.preventDefault(),e.stopPropagation(),a.toggleOverlay()}),t.$doc.keyup(function(t){27===t.keyCode&&e(a.overlay).hasClass("open")&&(t.preventDefault(),t.stopPropagation(),a.toggleOverlay())})},onEndTransitionFn:function(e){if(a.support.transitions){if("visibility"!==e.propertyName)return;this.removeEventListener(a.transEndEventName,a.onEndTransitionFn)}},toggleOverlay:function(){e(a.overlay).hasClass("open")?(e(a.overlay).removeClass("open"),e(a.header).removeClass("overlay-open"),e(a.container).removeClass("overlay-open"),e(a.footer).removeClass("overlay-open"),a.support.transitions?document.getElementById("containerMail").addEventListener(a.transEndEventName,a.onEndTransitionFn):a.onEndTransitionFn()):e(a.overlay).hasClass("close")||(e(a.overlay).addClass("open"),e(a.header).addClass("overlay-open"),e(a.container).addClass("overlay-open"),e(a.footer).addClass("overlay-open"))}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};if(e(".product-selector-v2").length)var a=t.util.templates.get("selector.filter"),i=t.util.templates.get("selector.filter.br"),n=t.util.templates.get("selector.filter.nav"),o=t.util.templates.get("selector.result"),r=t.util.templates.get("selector.no-result"),c=t.selector={proxyURL:e(".filter-section").data("url"),solrObject:{q:"docType:PRODUCTGROUP AND -state:ARCHIVE",sort:"state DESC",rows:0,fq:[],"json.facet":['{"facets":{"type":"query","q":"","limit":-1,"domain":{"blockChildren":"docType:PRODUCTGROUP"},"facet":{"categories":{"type":"query","q":"docType:CATEGORY AND -category1:BR_*","limit":-1,"facet":{"category1":{"type":"terms","field":"category1","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category1Name)","nameSort":"min(category1NameSort)","category2":{"type":"terms","field":"category2","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category2Name)","nameSort":"min(category2NameSort)","criterias":{"type":"query","q":"docType:CRITERIA AND +{!child of=docType:CATEGORY v=\'docType:CATEGORY AND -category3:[* TO *]\'}","domain":{"blockChildren":"docType:CATEGORY"},"limit":-1,"facet":{"NUMBER_RANGE":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:NUMBER_RANGE"},"facet":{"valueMin":{"type":"terms","field":"valueMin","sort":"index asc","limit":-1},"valueMax":{"type":"terms","field":"valueMax","sort":"index asc","limit":-1},"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)"}},"SELECT":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:SELECT"},"facet":{"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)","valueList":{"type":"terms","field":"valueList","sort":"index asc","limit":-1}}}}},"category3":{"type":"terms","field":"category3","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category3Name)","nameSort":"min(category3NameSort)","criterias":{"type":"query","q":"docType:CRITERIA","domain":{"blockChildren":"docType:CATEGORY"},"limit":-1,"facet":{"NUMBER_RANGE":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:NUMBER_RANGE"},"facet":{"valueMin":{"type":"terms","field":"valueMin","sort":"index asc","limit":-1},"valueMax":{"type":"terms","field":"valueMax","sort":"index asc","limit":-1},"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)"}},"SELECT":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:SELECT"},"facet":{"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)","valueList":{"type":"terms","field":"valueList","sort":"index asc","limit":-1}}}}}}}}}}}}}}}}','{"facets":{"type":"query","q":"","limit":-1,"domain":{"blockChildren":"docType:PRODUCTGROUP"},"facet":{"industries":{"type":"query","q":"docType:CATEGORY AND category1:BR_*","limit":-1,"facet":{"category1":{"type":"terms","field":"category1","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category1Name)","nameSort":"min(category1NameSort)","category2":{"type":"terms","field":"category2","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category2Name)","nameSort":"min(category2NameSort)","criterias":{"type":"query","q":"docType:CRITERIA AND +{!child of=docType:CATEGORY v=\'docType:CATEGORY AND -category3:[* TO *]\'}","domain":{"blockChildren":"docType:CATEGORY"},"limit":-1,"facet":{"NUMBER_RANGE":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:NUMBER_RANGE"},"facet":{"valueMin":{"type":"terms","field":"valueMin","sort":"index asc","limit":-1},"valueMax":{"type":"terms","field":"valueMax","sort":"index asc","limit":-1},"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)"}},"SELECT":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:SELECT"},"facet":{"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)","valueList":{"type":"terms","field":"valueList","sort":"index asc","limit":-1}}}}},"category3":{"type":"terms","field":"category3","sort":"nameSort asc","limit":-1,"facet":{"name":"min(category3Name)","nameSort":"min(category3NameSort)","criterias":{"type":"query","q":"docType:CRITERIA","domain":{"blockChildren":"docType:CATEGORY"},"limit":-1,"facet":{"NUMBER_RANGE":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:NUMBER_RANGE"},"facet":{"valueMin":{"type":"terms","field":"valueMin","sort":"index asc","limit":-1},"valueMax":{"type":"terms","field":"valueMax","sort":"index asc","limit":-1},"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)"}},"SELECT":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:SELECT"},"facet":{"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)","valueList":{"type":"terms","field":"valueList","sort":"index asc","limit":-1}}}}}}}}}}}}}}}}','{"facets":{"type":"query","q":"","limit":-1,"domain":{"blockChildren":"docType:PRODUCTGROUP"},"facet":{"approvals":{"type":"query","q":"docType:CRITERIA AND criteriaType:SELECT AND criteriaKey:APPROVALS","domain":{"blockChildren":"docType:CATEGORY"},"limit":-1,"facet":{"category1":{"type":"terms","field":"criteriaKey","sort":"nameSort asc","limit":-1,"domain":{"filter":"criteriaType:SELECT"},"facet":{"name":"min(criteriaName)","nameSort":"min(criteriaNameSort)","valueList":{"type":"terms","field":"valueList","sort":"index asc","limit":-1}}}}}}}}']},category1:e(".filter-section").data("category1"),category2:e(".filter-section").data("category2"),category3:e(".filter-section").data("category3"),setCriteria:e(".filter-section").data("criteria"),criteria:{},approvalselection:!1,display:e(".filter-section").data("amount"),sortby:e(".filter-section").data("sortby"),data:{},amountclicks:0,topProductnumbers:e(".filter-section").data("top-productnumbers"),bottomProductnumbers:e(".filter-section").data("bottom-productnumbers"),amount:parseInt(e(".selector-controls .result-count").text().split(": ")[1]),start:0,rows:50,currentDisplay:0,reloadBool:!1,resetText:"",path:"/web/products/",getfail:!1,selectionValues:{category1:"",category2:"",category3:"",criteria:""},comparisonBool:e(".filter-section").data("comparison"),init:function(){e(".selectbox").length>0&&(c.loadJSON(),c.registerEvents())},loadJSON:function(){e.ajax({url:c.proxyURL,data:c.solrObject,method:"POST",traditional:!0}).done(function(e,t,a){c.buildSelects(e),c.buildDisplay(),c.URLcheck(!0)}).fail(function(e,a,i){t.log("loadJSON fail",arguments)}).always(function(e,t,a){})},buildSelects:function(t){a.afterLast(t),i.afterLast(t),n.afterLast(t),c.renderSelects(),e(".product-selector-navigation .nav1").hasClass("static")&&e(".product-selector-navigation .nav1.static").remove(),c.category1&&(t.facets.facets.categories.category1.buckets.forEach(function(e){c.selectionValues.category1=c.category1.split("_").join("-").toLowerCase()}),e(".category2."+c.category1+",.criteriacat1."+c.category1).show(),e(".product-selector-navigation .nav1."+c.category1).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span").hide()),c.category2&&(t.facets.facets.categories.category1.buckets.forEach(function(t){c.category1==t.val&&t.category2.buckets.forEach(function(t){c.selectionValues.category2=c.category2.split("_").join("-").toLowerCase(),c.category2==t.val&&0!=t.criterias.count&&e(".criteriacat1."+c.category1).parent().show(),c.category2==t.val&&0!=t.category3.buckets.length&&e(".category3."+c.category2).show(),c.category2==t.val&&0==t.category3.buckets.length&&e(".criteria.approvals.select-selector").hide()})}),e(".criteriacat2."+c.category2).show(),e(".product-selector-navigation .nav2."+c.category2).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span").show(),e(".product-selector-navigation .nav2."+c.category2+" > span").hide()),c.category3&&(t.facets.facets.categories.category1.buckets.forEach(function(t){c.category1==t.val&&t.category2.buckets.forEach(function(t){c.category2==t.val&&t.category3.buckets.forEach(function(t){c.selectionValues.category3=c.category3.split("_").join("-").toLowerCase(),c.category3==t.val&&0!=t.criterias.count&&e(".criteriacat1."+c.category1).parent().show()})})}),e(".criteriacat3."+c.category3).show(),e(".product-selector-navigation .nav3."+c.category3).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span, .product-selector-navigation .nav2."+c.category2+" > span").show(),e(".product-selector-navigation .nav3."+c.category3+" > span").hide(),e(".criteria.approvals.select-selector").hide()),c.setCriteria&&t.facets.facets.categories.category1.buckets.forEach(function(e){c.category1==e.val&&e.category2.buckets.forEach(function(e){c.category2==e.val&&(e.criterias.count>0&&e.criterias.SELECT.buckets.forEach(function(e){e.valueList.buckets.forEach(function(e){var t=e.val.split("####")[1];c.setCriteria==t&&(c.selectionValues.criteria=t.split("_").join("-").toLowerCase())})}),e.category3.buckets.forEach(function(e){c.category3==e.val&&e.criterias.count>0&&e.criterias.SELECT.buckets.forEach(function(e){e.valueList.buckets.forEach(function(e){var t=e.val.split("####")[1];c.setCriteria==t&&(c.selectionValues.criteria=t.split("_").join("-").toLowerCase())})})}))})}),e(".selectbox .category1 select").on("change",function(){c.comparisonBool=!1,e(".product-selector-navigation li:not(.first)").addClass("hidden"),c.renderSelects(),e(".category1 select option:selected").removeAttr("selected"),e(".criteria.approvals.select-selector").show(),"selectbox-1"==e(this).parents('[id*="selectbox"]').attr("id")?e("#selectbox-2 .selector_category").val("default"):e("#selectbox-1 .selector_category").val("default"),e(".category2 select, .category3 select, .facet-separator select:not(.first)").val("default"),e(".category2,.category3,.criteriacat1,.facet-separator").hide(),e(".category2").hasClass(e(this).val())&&e(".category2."+e(this).val()+",.criteriacat1."+e(this).val()).show(),c.resetText||(c.resetText=e(".selector-headline .title .reset-link").text()),""==e(this).val()?(c.start=0,c.category1="",c.category2="",c.category3="",c.setCriteria="",c.selectionValues.criteria="",c.criteria={}):(c.approvalselection?(c.start=0,c.category1=e(this).val(),c.category2="",c.category3="",c.setCriteria=e(".criteria.approvals.select-selector select option:selected").val()):(c.start=0,c.category1=e(this).val(),c.category2="",c.category3="",c.setCriteria="",c.selectionValues.criteria="",c.criteria={}),e(".product-selector-navigation .nav1."+c.category1).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span").hide()),c.reloadJSON(c.reloadBool)}),e(".selectbox .category2 select").on("change",function(){c.comparisonBool=!1,e(".product-selector-navigation li:not(.first)").addClass("hidden"),c.renderSelects(),e(".category2 select option:selected").removeAttr("selected"),e(".criteria.approvals.select-selector").hide(),e(".criteria.approvals.select-selector select").val("default"),e(".category3 select, .facet-separator select:not(.first)").val("default"),e(".category3,.criteriacat2,.criteriacat3,.facet-separator").hide(),e(".criteriacat1."+c.category1+" .criteriacat2").hasClass(e(this).val())&&(e(".criteriacat1."+c.category1).parent().show(),e(".criteriacat2."+e(this).val()).show()),e(".category3").hasClass(e(this).val())&&(e(".facet-separator").hide(),e(".category3."+e(this).val()).show()),""==e(this).val()?(c.start=0,c.category2="",c.category3="",c.setCriteria="",c.selectionValues.criteria="",c.criteria={},e(".criteria.approvals.select-selector").show()):(c.start=0,c.category2=e(this).val(),c.category3="",c.setCriteria="",c.selectionValues.criteria="",c.criteria={},e(".product-selector-navigation .nav1."+c.category1+",.product-selector-navigation .nav2."+c.category2).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span").show(),e(".product-selector-navigation .nav2."+c.category2+" > span").hide()),c.reloadJSON(c.reloadBool)}),e(".selectbox .category3 select").on("change",function(){c.comparisonBool=!1,e(".product-selector-navigation li:not(.first)").addClass("hidden"),c.renderSelects(),e(".category3 select option:selected").removeAttr("selected"),e(".criteria.approvals.select-selector").hide(),e(".criteria.approvals.select-selector select").val("default"),e(".facet-separator select:not(.first)").val("default"),e(".criteriacat3,.facet-separator").hide(),e(".criteriacat2."+c.category2+" .criteriacat3").hasClass(e(this).val())&&(e(".criteriacat1."+c.category1).parent().show(),e(".criteriacat3."+e(this).val()).show()),""==e(this).val()?(c.start=0,c.category3="",c.setCriteria="",c.selectionValues.criteria="",c.criteria={}):(c.start=0,c.category3=e(this).val(),c.setCriteria="",c.selectionValues.criteria="",c.criteria={},e(".product-selector-navigation .nav1."+c.category1+",.product-selector-navigation .nav2."+c.category2+",.product-selector-navigation .nav3."+c.category3).toggleClass("hidden"),e(".product-selector-navigation .nav1."+c.category1+" > span,.product-selector-navigation .nav2."+c.category2+" > span").show(),e(".product-selector-navigation .nav3."+c.category3+" > span").hide()),c.reloadJSON(c.reloadBool)}),e(".selectbox .criteria select").on("change",function(){c.renderSelects(),e(".criteria select:not(.first) option:selected").removeAttr("selected"),e(this).parents(".criteria").hasClass("approvals")?(c.comparisonBool=!1,c.approvalselection=!0):(e(".criteria.approvals.select-selector").hide(),e(".criteria.approvals.select-selector select").val("default"),c.approvalselection=!1);var t=e(this).attr("class").replace("facet-select ","").replace(" active",""),a=e(this).val();if(t.includes("NUMBER_RANGE")){var i=t.split(" ");c.criteria[i[1]]||(c.criteria[i[1]]={},c.criteria[i[1]][i[0]]={},c.criteria[i[1]][i[0]].first="withinrange"),c.criteria[i[1]][i[0]][i[2]]=a}else c.start=0,c.criteria[t]=a,0===c.criteria[t].length&&delete c.criteria[t],a[0]?(c.setCriteria=a[0],c.selectionValues.criteria=a[0].split("_").join("-").toLowerCase()):(c.setCriteria="",c.selectionValues.criteria="");c.reloadJSON(c.reloadBool)}),e(".range-slider").each(function(t,a){var i=e(a).parents(".range-container").data("first"),n=parseInt(e(a).parent().find(".range-min").val()),o=parseInt(e(a).parent().find(".range-max").val()),r=parseInt(e(a).attr("min")),s=parseInt(e(a).attr("max")),l=e(a).data("range"),d=parseInt(e(a).data("steps"));l?(e(a).slider({tooltip:"hide",range:l,min:r,max:s,step:d,value:[n,o]}).on("slide",function(t){e(a).parent().find(".range-min").val(t.value[0]),e(a).parent().find(".range-max").val(t.value[1])}).on("slideStart",function(e){}).on("slideStop",function(t){i=e(a).parent().find('.toggle-switch input[type="checkbox"]').is(":checked")?"outofrange":"withinrange";var n=[e(a).parents(".range-container").data("val"),e(a).parents(".range-container").data("range"),i,t.value[0],t.value[1]];c.criteria[n[0]]||(c.criteria[n[0]]={},c.criteria[n[0]][n[1]]={}),c.criteria[n[0]][n[1]].first=n[2],c.criteria[n[0]][n[1]].min=n[3],c.criteria[n[0]][n[1]].max=n[4],c.reloadJSON(c.reloadBool)}),e(a).parent().find('.toggle-switch input[type="checkbox"]').on("input",function(){e(a).parent().find('.toggle-switch input[type="checkbox"]').is(":checked")?(e(a).parents(".range-container").addClass("withinrange"),e(a).parents(".range-container").removeClass("outofrange"),e(a).parents(".range-container").parent().find(".range").addClass("hidden"),e(a).parents(".range-container").parent().find(".product").removeClass("hidden")):(e(a).parents(".range-container").addClass("outofrange"),e(a).parents(".range-container").removeClass("withinrange"),e(a).parents(".range-container").parent().find(".product").addClass("hidden"),e(a).parents(".range-container").parent().find(".range").removeClass("hidden"))})):e(a).slider({tooltip:"hide",range:l,min:r,max:s,step:d,value:n}).on("slide",function(t){e(a).parent().find(".range-min").val(t.value)}).on("slideStart",function(e){}).on("slideStop",function(t){var i=[e(a).parents(".range-container").data("val"),e(a).parents(".range-container").data("range"),e(a).parents(".range-container").data("first"),r,t.value];c.criteria[i[0]]||(c.criteria[i[0]]={},c.criteria[i[0]][i[1]]={},c.criteria[i[0]][i[1]].first=i[2]),c.criteria[i[0]][i[1]].min=i[3],c.criteria[i[0]][i[1]].max=i[4],c.reloadJSON(c.reloadBool)})})},renderSelects:function(){fastdom.measure(function(){fastdom.mutate(function(){e(".selectbox select").selectpicker("render"),e(".selector-controls select").selectpicker("render")})})},reloadJSON:function(t){var a=[],i=[],n="",o=[],r="",s=[],l=[],d=[];if(c.category1&&(r="{!parent which=docType:PRODUCTGROUP} (docType:CATEGORY AND category1:"+c.category1,c.category2&&(r=r.concat(" AND category2:"+c.category2)),c.category3&&(r=r.concat(" AND category3:"+c.category3)),r=r.concat(")"),a.push(r),o=a),0!==Object.keys(c.criteria).length){i=[];Object.keys(c.criteria).forEach(function(t,a){"NUMBER_RANGE"in c.criteria[t]?"first"in c.criteria[t].NUMBER_RANGE&&"min"in c.criteria[t].NUMBER_RANGE&&"max"in c.criteria[t].NUMBER_RANGE&&(n="{!parent which=docType:PRODUCTGROUP} (docType:CRITERIA AND criteriaType:NUMBER_RANGE AND criteriaKey:"+t+" AND ","withinrange"==c.criteria[t].NUMBER_RANGE.first&&(n+="valueMin:["+c.criteria[t].NUMBER_RANGE.min+" TO 0] AND valueMax:[0 TO "+c.criteria[t].NUMBER_RANGE.max+"]"),"outofrange"==c.criteria[t].NUMBER_RANGE.first&&(n+="valueMin:[* TO "+c.criteria[t].NUMBER_RANGE.min+"] AND valueMax:["+c.criteria[t].NUMBER_RANGE.max+" TO *]"),"exactrange"==c.criteria[t].NUMBER_RANGE.first&&(n+="valueMin:["+c.criteria[t].NUMBER_RANGE.min+" TO "+c.criteria[t].NUMBER_RANGE.min+"] AND valueMax:["+c.criteria[t].NUMBER_RANGE.max+" TO "+c.criteria[t].NUMBER_RANGE.max+"]"),n+=")",i.push(n)):(n="{!parent which=docType:PRODUCTGROUP} (docType:CRITERIA AND criteriaType:SELECT AND criteriaKey:"+t+" AND valueList:(",c.criteria[t].forEach(function(t,a){0===a?n+="*"+t:e(".criteria.approvals.select-selector")?n+=" OR *"+t:n+=" AND *"+t}),n+="))",i.push(n))}),i.length>0&&(o=e.merge(e.merge([],i),a))}else c.setCriteria&&(r="{!parent which=docType:PRODUCTGROUP} (docType:CRITERIA AND criteriaType:SELECT AND valueList:(*"+c.setCriteria+"))",i.length>0&&(o=e.merge(e.merge([],i),a)),o.push(r));function u(){if((c.topProductnumbers||c.bottomProductnumbers)&&(c.topProductnumbers&&(c.topProductnumbers.toString().includes(",")?d=c.topProductnumbers.split(","):d[0]=c.topProductnumbers.toString(),d.forEach(function(e,t){var a=50-t;s.push("(docType:PRODUCTGROUP AND productgroups:"+e+")^="+a.toString())})),c.bottomProductnumbers&&(c.bottomProductnumbers.toString().includes(",")?d=c.bottomProductnumbers.split(","):d[0]=c.bottomProductnumbers.toString(),d.forEach(function(e,t){var a=50-t;l.push("(docType:PRODUCTGROUP AND productgroups:"+e+")^=-"+a.toString())})),d=e.merge(e.merge([],s),l)),d.push("(state:TOP_SELLER)^=4"),d.push("(state:NEW)^=3"),d.push("(state:LIVE)^=2"),d.push("(state:DISCONTINUED)^=1"),1==t)var a={q:"docType:PRODUCTGROUP AND -state:ARCHIVE",start:c.start,sort:c.sortby,fq:o,rows:c.rows};else a={defType:"edismax",q:"docType:PRODUCTGROUP AND -state:ARCHIVE",rows:c.rows,start:c.start,fq:o,bq:d};c.refreshSOLR(a)}c.amountclicks=0,c.category1&&(c.path=c.path+c.category1.split("_").join("-").toLowerCase()),c.category2&&(c.path=c.path+"/"+c.category2.split("_").join("-").toLowerCase()),c.category3&&(c.path=c.path+"/"+c.category3.split("_").join("-").toLowerCase()),c.setCriteria&&(c.approvalselection?c.category1||(c.path="/web/products/"):c.path=c.path+"/"+c.setCriteria.split("_").join("-").toLowerCase()),e.get(c.path).done(function(t,a,i){200==i.status&&(c.data=e(t),c.topProductnumbers=c.data.find("aside.filter-section").data("top-productnumbers"),c.bottomProductnumbers=c.data.find("aside.filter-section").data("bottom-productnumbers"),u())}).fail(function(){c.path="/web/products/",c.data={},c.getfail=!0,u(),c.renderHeadline("",c.path)})},refreshSOLR:function(a){e.ajax({url:c.proxyURL,data:a,method:"POST",traditional:!0}).done(function(e,t,a){c.buildProductTiles(e)}).fail(function(e,a,i){t.log("refreshSOLR fail",arguments)}).always(function(e,t,a){})},buildProductTiles:function(t){c.resetAmount(t.response.numFound),c.renderBreadcrumb(),0==c.start?(c.currentDisplay=0,e(".product-tiles .product-tiles__item").remove(),e(".product-tiles").prepend(o.append(t)),0===t.response.numFound&&e(".product-tiles").prepend(r.append(t))):(c.currentDisplay=c.start,e(".product-tiles").append(o.append(t))),c.buildDisplay()},resetAmount:function(a){c.amount=a;var i=e(".selector-controls .result-count").text().split(":");e(".selector-controls .result-count").text(i[0]+": "+c.amount),e(".show-mobile-filter-results").html(t.util.texts.get("labels","SHOW")+" "+c.amount+" "+t.util.texts.get("labels","RESULTS"))},buildDisplay:function(){1==c.comparisonBool?e(".product-comparison-checkbox").show():e(".product-comparison-checkbox").hide();var t=c.display;0==c.start?c.display?e(".result-amount .select-amount select.select-amount").val(c.display):c.display=e(".result-amount .select-amount select.select-amount").val():t=c.currentDisplay,e(".product-tiles .product-tiles__item").each(function(a,i){var n=a+1;n>t?(e(".product-tiles-button .selector-more").removeClass("hidden"),c.setLoadMoreBtn(!0),e(i).hide()):(e(".product-tiles-button .selector-more").addClass("hidden"),c.currentDisplay=n)})},refreshDisplay:function(t){var a=t+c.display;e(".product-tiles .product-tiles__item").each(function(t,i){var n=t+1;a>=c.rows+c.start&&n==c.rows&&c.rows<c.amount?(c.start=c.start+c.rows,c.reloadJSON(c.reloadBool)):n>a?(c.setLoadMoreBtn(!0),e(i).hide()):(c.currentDisplay=n,c.setLoadMoreBtn(!1),e(i).show())})},setLoadMoreBtn:function(t){setTimeout(function(){e(".product-tiles-button .selector-more .spinner").hide(),1==t&&e(".product-tiles-button .selector-more .btn").show()},1e3)},renderBreadcrumb:function(){var t=e(".category1 select option:not(.bs-title-option):selected"),a=e(".category2 select option:not(.bs-title-option):selected"),i=e(".category3 select option:not(.bs-title-option):selected"),n=e(".facet-separator select:not(.NUMBER_RANGE) option:not(.bs-title-option):selected");n.length>0?c.selectionValues.criteria=n.val().split("_").join("-").toLowerCase():c.selectionValues.criteria="",i.length>0?c.selectionValues.category3=i.val().split("_").join("-").toLowerCase():a.length>0?(c.selectionValues.category2=a.val().split("_").join("-").toLowerCase(),c.selectionValues.category3=""):t.length>0&&0==a.length?(c.selectionValues.category1=t.val().split("_").join("-").toLowerCase(),c.selectionValues.category2="",c.selectionValues.category3=""):0==t.length&&0==a.length&&(c.selectionValues.category1="",c.selectionValues.category2="",c.selectionValues.category3=""),c.URLcheck(!1)},renderHeadline:function(t,a){if(0!==t.length)e(".inner .top .h1").html(t.text().trim()),e(".selector-headline h3").html(t.text().trim());else{var i=e(".category1 select option:not(.bs-title-option):selected"),n=e(".category2 select option:not(.bs-title-option):selected"),o=e(".category3 select option:not(.bs-title-option):selected"),r=e(".facet-separator select:not(.NUMBER_RANGE) option:not(.bs-title-option):selected");r.length>0?(e(".inner .top .h1").html(r.last().text()),e(".selector-headline h3").html(r.last().text())):o.length>0?c.category3?(e(".inner .top .h1").html(o.last().text()),e(".selector-headline h3").html(o.last().text())):(e(".inner .top .h1").html(n.last().text()),e(".selector-headline h3").html(n.last().text())):n.length>0?(e(".inner .top .h1").html(n.last().text()),e(".selector-headline h3").html(n.last().text()),c.category2||(e(".inner .top .h1").html(i.last().text()),e(".selector-headline h3").html(i.last().text()))):i.length>0&&0==n.length?(e(".inner .top .h1").html(i.last().text()),e(".selector-headline h3").html(i.last().text())):0==i.length&&0==n.length&&(e(".inner .top .h1").html(c.resetText),e(".selector-headline h3").html(c.resetText),c.path=c.path+"product-selector")}},URLcheck:function(t){function a(){e(".main-header").parent().find(".cc-product-selector").nextAll().remove(),c.data.find(".cc-product-selector").parents(".component-control").nextAll().each(function(t,a){var i=e(a).find(".content-container").attr("class").replace("content-container","cc-is-fixed");e(a).appendTo(".component-container").addClass(i),e("a:has(img)").addClass("aImg"),i.includes("cc-accordion")&&e(a).find(".content-container").addClass("cc-inner")})}function i(){e(".teaser-slick").eq(0).slick({dots:!0,centerMode:!1,centerPadding:"60px",slidesToShow:1,autoplay:!0,autoplaySpeed:5e3,slidesToScroll:1,responsive:[{breakpoint:880,settings:{centerMode:!1,centerPadding:"40px",slidesToShow:1}},{breakpoint:480,settings:{centerMode:!1,centerPadding:"40px",slidesToShow:1}}]})}0==jQuery.isEmptyObject(c.data)?(1!=c.data.find(".filter-section").data("comparison")?c.comparisonBool=!1:c.comparisonBool=!0,c.renderHeadline(c.data.find(".selector-headline h3"),c.path),1!=t&&(history.pushState({},"",c.path),0!=e(".main-header").parent().find(".teaser-slick").length?0!=c.data.find(".teaser-slick").length?(e(".main-header").parent().find(".teaser-slick").eq(0).replaceWith(c.data.find(".teaser-slick").eq(0)),i()):0!=c.data.find(".teaser-bg__relative.productarea").length&&e(".main-header").parent().find(".teaser-slick").eq(0).replaceWith(c.data.find(".teaser-bg__relative.productarea").eq(0)):0!=c.data.find(".teaser-slick").length?(e(".main-header").parent().find(".teaser-bg__relative.productarea").eq(0).replaceWith(c.data.find(".teaser-slick").eq(0)),i()):0!=c.data.find(".teaser-bg__relative.productarea").length&&e(".main-header").parent().find(".teaser-bg__relative.productarea").eq(0).replaceWith(c.data.find(".teaser-bg__relative.productarea").eq(0)),c.data.find(".cc-technical-features").length>0?(e(".second.navbar").find('.nav-sub__link[data-toggleclass="ps-3"]').parent().removeClass("hidden"),e(".second.navbar").find("select.mobile-nav-select").find('[value="ps-3"]').removeClass("hidden"),a()):(e(".second.navbar").find('.nav-sub__link[data-toggleclass="ps-3"]').parent().addClass("hidden"),e(".second.navbar").find("select.mobile-nav-select").find('[value="ps-3"]').addClass("hidden"),a())),e(".nav-sub__link").each(function(t,a){var i=window.location.href;e(a).attr("href",i+"#"+e(a).data("toggleclass"))}),e(".second.navbar select option").each(function(t,a){var i=window.location.href;e(a).data("url",i+"#"+e(a).val())}),c.path="/web/products/"):(e("main").find(".cc-technical-features").length>0&&(e(".second.navbar").find('.nav-sub__link[data-toggleclass="ps-3"]').parent().removeClass("hidden"),e(".second.navbar").find("select.mobile-nav-select").find('[value="ps-3"]').removeClass("hidden")),1!=c.getfail||c.selectionValues.criteria||e.get("/web/products/product-selector").done(function(t,n,o){200==o.status&&(c.data=e(t),0!=e(".main-header").parent().find(".teaser-slick").length?0!=c.data.find(".teaser-slick").length?(e(".main-header").parent().find(".teaser-slick").eq(0).replaceWith(c.data.find(".teaser-slick").eq(0)),i()):0!=c.data.find(".teaser-bg__relative.productarea").length&&e(".main-header").parent().find(".teaser-slick").eq(0).replaceWith(c.data.find(".teaser-bg__relative.productarea").eq(0)):0!=c.data.find(".teaser-slick").length?(e(".main-header").parent().find(".teaser-bg__relative.productarea").eq(0).replaceWith(c.data.find(".teaser-slick").eq(0)),i()):0!=c.data.find(".teaser-bg__relative.productarea").length&&e(".main-header").parent().find(".teaser-bg__relative.productarea").eq(0).replaceWith(c.data.find(".teaser-bg__relative.productarea").eq(0)),e(".second.navbar").find('.nav-sub__link[data-toggleclass="ps-3"]').parent().addClass("hidden"),e(".second.navbar").find("select.mobile-nav-select").find('[value="ps-3"]').addClass("hidden"),a(),c.getfail=!1)}),c.path="/web/products/")},openMobileSelector:function(){e(".main-header").addClass("psmobV2"),e(".reset-controls").addClass("psmobreset"),e(".reset-controls").fadeIn(),e(".filter-section").fadeIn()},closeMobileSelector:function(){e(".main-header").removeClass("psmobV2"),e(".reset-controls").removeClass("psmobreset"),e(".reset-controls").fadeOut(),e(".filter-section").fadeOut()},registerEvents:function(){e(".reset-controls").on("click","button",function(){e(".product-selector-navigation li:not(.first)").addClass("hidden"),e(".selector-headline h3").html(c.resetText),e(".category1 select,.category2 select,.category3 select,.facet-separator select:not(.first)").val("default"),e(".criteria.approvals.select-selector select").val("default"),e(".criteria.approvals.select-selector").show(),e(".category2,.category3,.criteriacat1,.facet-separator").hide(),c.renderSelects(),c.start=0,c.category1="",c.category2="",c.category3="",c.criteria={},c.setCriteria="",c.reloadJSON(c.reloadBool)}),e(".product-tiles-button .selector-more .btn").on("click",function(){c.refreshDisplay(c.currentDisplay)}),e(".result-amount select.select-amount").on("change",function(){c.display=parseInt(e(this).val()),c.amountclicks>0&&(c.currentDisplay=0),c.refreshDisplay(c.currentDisplay),c.amountclicks=c.amountclicks+1}),e(".result-order select.select-order").on("change",function(){c.start=0,c.currentDisplay=0,c.sortby=e(this).val(),"state DESC"!==c.sortby?c.reloadBool=!0:c.reloadBool=!1,c.reloadJSON(c.reloadBool)}),e(".selector-controls button.view-row-tiles").on("click",function(){e(this).hasClass("active")?(e(this).removeClass("active"),e(".product-tiles").removeClass("product-tiles-cols-mode"),e(".product-tiles").addClass("product-tiles-rows-mode")):(e(this).addClass("active"),e(".product-tiles").addClass("product-tiles-cols-mode"),e(".product-tiles").removeClass("product-tiles-rows-mode"))}),e(".filter-toggle-mobile").on("click",function(){c.openMobileSelector()}),e(".reset-controls .close-x, .show-mobile-filter-results").on("click",function(){c.closeMobileSelector(),window.scrollTo(0,0)})}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.archive=new function(){var a=t.util.templates.get("successor-products"),i=t.util.objects.get("successor-products");if(a&&i){(i=i||[]).forEach(function(e){e.docType=e.docType||"PRODUCTGROUP"});var n={products:i};e(".cc-archived-products").prepend(a.prepend(n))}else t.log("no Jumo archive product data")}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.log("## Init main-nav ##");var a=e(".main-header").eq(0),i=e(".main-header").eq(1);$main=a.find(".nav-main"),$meta=a.find(".nav-meta"),$stickyMeta=e(".sticky-meta").eq(0),t.mainNav=new function(){var i=this,n=(t.util.texts.get("base","OVERVIEW")||"Übersicht")+" ";t.util.convertToEventDispatcher(this);a.find(".main-header__toggle > button").click(function(){t.$html.toggleClass("main-header-open")}),e(".main-header.microsite").find(".main-header__toggle > button").click(function(){t.$html.toggleClass("main-header-open")}),e(".main-header.microsite").find(".main-header__nav a.non-standard").click(function(){t.$html.toggleClass("main-header-open")}),a.find(".nav-main__flyout .close-x").click(function(){e(this).parents("li").eq(0).removeClass("desktop-open")}),a.find(".nav-main__flyout-container.content-container").click(function(t){t.target===this&&e(this).parents("li").eq(0).removeClass("desktop-open")}),a.find(".nav-main__flyout-container .content-grid").click(function(t){t.target===this&&e(this).parents("li").eq(0).removeClass("desktop-open")}),a.find(".nav-main__flyout-container .content-grid .nav-main__level2").click(function(t){t.target===this&&e(this).parents("li").eq(0).removeClass("desktop-open")}),$main.find("li > a").each(function(){var t=e(this);this.label=t.text(),this.$li=t.parent("li").eq(0),this.$ul=this.$li.find("ul").eq(0),this.$subMenu=t.next("*").eq(0),this.$parentUl=this.$li.parent("ul").eq(0),this.$parentLink=this.$parentUl.find("a").eq(0)});var o=$main.find(".nav-main__level1 > li");$main.find(".nav-main__level1 > li > a").each(function(){var a=this;e(this).click(function(e){e.preventDefault(),t.log("nav clicked",i.isMobile),i.isMobile?a.$li.toggleClass("open"):a.$li.hasClass("desktop-open")?a.$li.removeClass("desktop-open"):(o.removeClass("desktop-open"),a.$li.addClass("desktop-open"))})}),$main.find(".nav-main__level2 > li > a").each(function(){var t=this,a=e(this);0!=t.$ul.find("li").length?(t.$ul.prepend('<li class="nav-main-overview-link"><a href="'+t.href+'"><span>'+n+t.label+"</span></a></li>"),a.click(function(e){i.isMobile&&(e.preventDefault(),t.$li.toggleClass("open"))})):t.$ul.remove()}),$main.find(".nav-main__level3 > li > a").each(function(){e(this)});$main.find("li.active").eq(-1).addClass("open").parents("li").addClass("active").addClass("open"),$main.find("ul").each(function(t){var a=e(this);0==a.find("li:not(.hidden)").length&&a.addClass("hidden")}),Object.defineProperties(this,{navOpen:{get:function(){t.$body.hasClass("main-nav-open")}},activeItem:{get:function(){}},isMobile:{get:function(){return t.viewport.breakpointDown("ss")}}})},t.navModal=new function(){var a=this;function n(e){e.find(":not(.inputs)>.close-x").click(function(a){a.preventDefault(),a.stopImmediatePropagation(),t.log("modal"),e.removeClass("open"),e.find('[type="search"]').blur()}),a.$modals=a.$modals.add(e);var i=e.parents("li").find(">a"),n=i.attr("data-action");n&&(a.$modalsByAction[n]=a.$modalsByAction[n]||e),i.click(function(t){t.preventDefault(),t.stopImmediatePropagation(),e.addClass("open"),e.find('[type="search"]').focus()})}a.$modals=e(),a.$modalsByAction={},$meta.add($stickyMeta).find(".nav-modal").each(function(){n(e(this))}),i.find(".nav-modal").each(function(){n(e(this))}),$stickyMeta.find("nav>ul>li>a").each(function(){var t=e(this),i=t.attr("data-action");if(i&&a.$modalsByAction[i]){var n=a.$modalsByAction[i];t.click(function(e){e.preventDefault(),e.stopImmediatePropagation(),n.addClass("open"),n.find('[type="search"]').focus()})}})},t.widgets=new function(){$meta.find(".nav-widget").each(function(){var a=e(this).parents("li"),i=(a.find(">a"),!1),n=!1;function o(e){n?n=!1:i&&(i=!1,a.removeClass("hover"),t.$body.off("mousemove",o))}a.on("mousemove",function(){n=!0,i||(i=!0,a.addClass("hover"),t.$body.on("mousemove",o))})})},t.widgetLang=new function(){var n=t.util.templates.byId["language-selector"],o=t.util.objects.get("language-selector"),r=n&&o?n(o):void 0;t.log("langTemplate:",n,"\n langData:",o),a.find(".widget-lang").each(function(){var t=e(this),a='<ul class="widget-lang-countries"></ul>';a=e(a).append(e(r).children("li").sort(function(t,a){return e(t).data("name")<e(a).data("name")?-1:e(t).data("name")>e(a).data("name")?1:0})),r&&t.append(a),function(t){var a=t.find(".widget-lang-countries>li").addClass("widget-lang-country"),i=a.find(">ul>li"),n=t.find("li");if(i.filter(".active").parents("li").eq(0).addClass("active"),a.length<=3)return;t.addClass("filterable"),n.each(function(){var t=e(this);this.synonyms=[];for(var a,i=(t.attr("data-synonyms")||"").trim().split(",");void 0!==(a=i.pop());)""!==(a=a.trim())&&this.synonyms.push(a.toLowerCase())});var o=t.find("form"),r=o.find('[type="text"]'),c=o.find('[type="reset"]');o.find('[type="submit"]');function s(){var a,i,o=(r.val()||"").trim().toLowerCase();n.removeClass("filtered"),o.length<=0?t.removeClass("filtered"):(t.addClass("filtered"),n.each(function(){i=e(a=this);for(var t=0;t<a.synonyms.length;t++)if(a.synonyms[t].indexOf(o)>=0){i.addClass("filtered"),i.is(".widget-lang-country")?i.find("ul>li").addClass("filtered"):i.parents(".widget-lang-country").addClass("filtered");break}}))}o.on("submit",function(e){e.preventDefault(),s()}),c.on("click",function(){r.val("")}),r.on("input",s),s()}(t)}),i.find(".addWidgetLangSwitch").each(function(){var t=a.find(".widgetLangSwitch");t.find("ul").each(function(){e(this).addClass("non-standard")}),e(this).html(t.contents())})}}(jQuery),function(e){var t,a,i,n,o=window.JUMO=window.JUMO||{};o.notifications=(t=1,a={},i=o.util.templates.init('<div class="notification notification-{{type}}">                <div class="notification__container">                    <div class="notification__text {{classes}}">{{{text}}}</div>                    {{#if (and action (or actionClasses actionLabel))}}<a href="{{action}}" class="btn {{actionClasses}}">{{{actionLabel}}}</a>{{/if}}                    <span class="close-x close-x-notification" role="button" data-toggle="collapse" aria-expanded="true" aria-controls=""><span class="circle-bg"></span></span>                </div>            </div>'),(n={registerEvents:function(t){t=t||o.$doc,e(window).on("load",function(){e(".notification.load").addClass("notification-info")})},checkNotification:function(){e('.notification:not(".multiline")').length>0&&e(".notification").each(function(){o.log(e(this).height())})},makeNotification:function(r,c,s,l,d,u,f,p,m){if("object"!=typeof r&&(r={selector:r,type:c,text:l,classes:s,action:d,actionLabel:u,actionClass:f,duration:p,id:m}),r.id=r.id||"internal-"+t++,r.type=r.type||"info",r.selector=r.selector||".main-header",r.text=r.text||"",r.classes=r.classes,r.action=r.action||"",r.actionLabel=r.actionLabel||"",r.actionClass=r.actionClass||"btn--ghost",r.duration=r.duration||0,a[r.id])o.log("Notification ",m," is already there ",r);else{var h=r.$notification=i.create(r);a[r.id]=r,h.find(".close-x").click(function(e){e.preventDefault(),e.stopPropagation(),h.slideUp().addClass("fadeOut"),delete a[r.id],window.setTimeout(function(){h.remove()},7500)}),e(r.selector).append(h),n.registerEvents(h),window.setTimeout(function(){h.slideDown().addClass("fadeIn")},200),parseInt(r.duration)>0&&window.setTimeout(function(){h.find(".close-x").trigger("click")},parseInt(1e3*r.duration))}},cartUpdateSuccessful:function(){var e={type:"success",text:o.util.texts.get("labels","CARTUPDATESUCCESS"),classes:"icon-success",duration:5,id:"cart-update"};o.shop.cartVisible||(e.action="/web/div/basket?wkplLocale="+o.workplaceLocale,e.actionLabel=o.util.texts.get("labels","TOCART")),o.notifications.makeNotification(e)},cartUpdateError:function(){o.notifications.makeNotification({type:"error",text:o.util.texts.get("labels","CARTUPDATEERROR")||o.util.texts.get("base","API_ERROR")||"Unfortunately, a problem has occurred, please try again later.",classes:"icon-danger",duration:5})}}).registerEvents(),n.checkNotification(),n)}(jQuery),function(e,t,a){var n=t.JUMO=t.JUMO||{},o=n.configurator={init:function(){o.cc=e(".cc-product-mini-configurator"),o.configurator=o.cc.find(".pdp-configurator"),o.configurator.length&&(o.productGroupNo=o.configurator.attr("data-productgroup-no"),o.productGroupState=o.configurator.attr("data-configstate"),o.webAPILinkBase=o.configurator.attr("data-pdp-features-link"),o.localeAvailabilityFalse=o.configurator.attr("data-availability-false"),o.localeAvailabilityTrue=o.configurator.attr("data-availability-true"),o.localePlaceholderDeselect=o.configurator.attr("data-placeholderDeselect"),o.localeNotificationDisabled=o.configurator.attr("data-notificationDisabled"),o.localePriceCardBtnOpen=o.configurator.attr("data-pricecardbtnopen"),o.localePriceCardBtnClose=o.configurator.attr("data-pricecardbtnclose"),o.templateMiniConf=n.util.templates.get("pdp.mini-conf"),o.resetButton=o.configurator.find('button[type="reset"]'),o.pricecardWrapperFixed=o.cc.find(".pdp-configurator__aside-wrapper-fixed"),o.pricecardMobileBtn=o.pricecardWrapperFixed.find(".mini-configurator-pricecard__mobile-wrapper .btn.txtbtn"),o.orderBtn=o.pricecardWrapperFixed.find(".btn-order"),o.replaceBtn=o.pricecardWrapperFixed.find(".btn-replace"),o.pricecardWrapper=o.pricecardWrapperFixed.find(".mini-configurator-pricecard__wrapper"),o.inputPC=o.pricecardWrapper.find(".order-list .base-type-amount.order input"),o.inputReplacePC=o.pricecardWrapper.find(".order-list .base-type-amount.replace input"),o.articlePC=o.pricecardWrapper.find(".article"),o.partnumberPC=o.pricecardWrapper.find(".article .article-nr"),o.pricePC=o.pricecardWrapper.find(".pricing .details .list-price span"),o.availabilityPC=o.pricecardWrapper.find(".availability"),o.availabilityIconPC=o.availabilityPC.find(".delivery-icon"),o.priceHtmlPC=e(".pdp-configurator__aside-wrapper").attr("data-base-price"),o.quantityPC=0,o.selects,o.waypoints=[],o.partnumber=o.configurator.attr("data-partnumber"),o.inBasket=o.configurator.attr("data-partnumberinBasket"),o.currentArticle,o.registerEvents(),o.loadInitalFeatures())},registerEvents:function(){n.viewport.addEventListener(n.viewport.CHANGE_EVENT,function(){o.setWaypoints()}),e(".second.navbar .inner,.second.navbar .mobile-nav-container,.button-mobile,.config-btn").find("[data-toggleclass]").on("click",function(){o.setWaypoints(),e(".sticky").removeClass("sticky-pointIn"),e(".sticky").removeClass("sticky-pointOut")}),e(".mobile-nav-select.mobile-device").on("change",function(){o.setWaypoints(),e(".sticky").removeClass("sticky-pointIn"),e(".sticky").removeClass("sticky-pointOut")}),o.cc.on("changed.bs.select",".selectpicker",function(t){var a=e(this);if(!a.val()||"RESET"===a.val()){a.val(void 0),a.selectpicker("refresh");var i=o.selects.filter(".tmp");i.val(void 0),i.selectpicker("refresh")}var n=o.getSelection();o.evalSelection(n)}).on("click",".mini-configurator-pricecard__wrapper .close-x, .mini-configurator-pricecard__mobile-wrapper .btn.txtbtn",function(e){n.log("changed.bs.select > click"),o.pricecardWrapper.toggleClass("show"),o.pricecardWrapper.hasClass("show")?o.pricecardMobileBtn.html(o.localePriceCardBtnClose):o.pricecardMobileBtn.html(o.localePriceCardBtnOpen)}),o.resetButton.on("click",function(e){o.reset()}),o.inputPC.on("input",function(){o.getInputPC()}),o.orderBtn.on("click",function(e){o.currentArticle?n.shop.cart.add(o.currentArticle.partnumber,parseInt(o.inputPC.val()),o.currentArticle.buyable):n.notifications.makeNotification({selector:".product-header",type:"info",text:o.localeNotificationDisabled,duration:3,id:"pdp-not-configured"})}),o.replaceBtn.on("click",function(e){o.currentArticle&&o.partnumber?n.shop.cart.replace(o.partnumber,o.currentArticle.partnumber,parseInt(o.inputReplacePC.val()),o.currentArticle.buyable):n.notifications.makeNotification({selector:".product-header",type:"info",text:o.localeNotificationDisabled,duration:3,id:"pdp-not-configured"})});var a="";e(t).on("scroll",function(t){o.body=e("body"),o.stickyheader=o.body.find(".sticky-stacky"),o.stickyconfig=o.body.find(".sticky"),o.stickyheader.length&&o.stickyconfig.length&&(e(".sticky").removeClass(a),a=(a=e(".sticky-stacky").attr("class")).substr(14,32),e(".sticky").addClass(a))})},loadInitalFeatures:function(){e.ajax({type:"GET",url:o.webAPILinkBase,dataType:"json",success:function(t){if(e.isEmptyObject(t))return e("#planning section").remove(),void e("#planning").css("padding","0");var a=o.templateMiniConf(t);o.configurator.append(a),o.selects=o.configurator.find(".selectpicker"),o.selects.selectpicker({mobile:n.mobile,dropupAuto:!1}),o.setWaypoints(),o.partnumber?o.evalSelection(void 0,o.partnumber):t.article&&(o.currentArticle=t.article,o.getInputPC())}})},setWaypoints:function(){o.waypoints.forEach(function(e){e.destroy()}),o.waypoints=[],o.waypoints.push(new Waypoint.Sticky({element:e(".sticky")[0]})),n.viewport.breakpointDown("md")?(o.waypoints.push(e("#miniConfigHeader").waypoint(function(t){e(".sticky").removeClass("stuck"),"up"===t?e(".sticky").removeClass("sticky-pointIn"):"down"===t&&e(".sticky").addClass("sticky-pointIn")},{offset:"bottom-in-view"})[0]),o.waypoints.push(e("#miniConfigFooter").waypoint(function(t){e(".sticky").removeClass("stuck"),"up"===t?e(".sticky").removeClass("sticky-pointOut"):"down"===t&&e(".sticky").addClass("sticky-pointOut")},{offset:"bottom-in-view"})[0])):(o.waypoints.push(e("#miniConfigHeader").waypoint(function(t){"up"===t?e(".sticky").removeClass("sticky-pointIn"):"down"===t&&e(".sticky").addClass("sticky-pointIn")},{offset:"0"})[0]),o.waypoints.push(e("#miniConfigFooter").waypoint(function(t){"up"===t?e(".sticky").removeClass("sticky-pointOut"):"down"===t&&e(".sticky").addClass("sticky-pointOut")},{offset:"250px"})[0]))},getSelection:function(){var e=[];return o.selects.find('option[value!=""][value!="RESET"]:checked').each(function(t,a){a.value&&e.push(a.value)}),e},evalSelection:function(t,a){t&&t.length>0||a?e.ajax({type:a?"GET":"POST",url:o.webAPILinkBase+"&loadText=false"+(a?"&partnumber="+a:""),data:a?void 0:JSON.stringify(t),dataType:"json",contentType:!a&&0!==t.length&&"application/json; charset=utf-8",success:function(e){e.article?o.currentArticle&&o.currentArticle.partnumber===e.article.partnumber||(o.currentArticle=e.article,n.util.path.setLocationParams({partnumber:e.article.partnumber}),o.getInputPC()):o.currentArticle&&(o.currentArticle=void 0,o.updateArticleInfo()),o.selects.removeClass("tmp"),o.selects.find('option[value="RESET"]').remove(),o.selects.find('option[value!="RESET"][value!=""]:not(:checked)').attr("disabled",!0);var t="",a=!1;e.features.forEach(function(e){if(e.selectable)if(1===e.featureValues.length){"true"!=new URLSearchParams(document.location.search).get("disabled")&&(a=!0);var i=e.featureValues[0].identifier,n=o.selects.find('option[value="'+i+'"]');n.parent().prepend('<option value="RESET">'+o.localePlaceholderDeselect+"</option>"),n.is(":checked")||(n.removeAttr("disabled"),n.closest("select").addClass("tmp").val(i))}else e.featureValues.forEach(function(e){""!==t&&(t+=", "),t+='option[value="'+e.identifier+'"]'})}),a?o.resetButton.removeAttr("disabled"):o.resetButton.attr("disabled",!0),o.selects.find(t).removeAttr("disabled"),o.selects.selectpicker("refresh")}}):o.reset()},reset:function(){o.inputReplacePC&&o.inputReplacePC.val(1),o.inputPC&&o.inputPC.val(1),o.currentArticle=void 0,o.updateArticleInfo(),o.selects.val(void 0),o.selects.removeClass("tmp"),o.selects.find('option[value="RESET"]').remove(),o.selects.find("option").removeAttr("disabled"),o.selects.selectpicker("refresh"),o.resetButton.attr("disabled",!0)},getInputPC:function(){if(o.currentArticle){n.log("getInputPC(",o.currentArticle,");"),inputNumPC=o.inputPC.val();var e=Number.MAX_VALUE;for(i=0;i<o.currentArticle.prices.length;i++){var t=o.currentArticle.prices[i];e=Math.min(t.minQuantity,e),void 0!==t&&(void 0!==t.maxQuantity?inputNumPC>=t.minQuantity&&inputNumPC<=t.maxQuantity&&(o.quantityPC=i):inputNumPC>=t.minQuantity&&(o.quantityPC=i))}o.currentArticle.minQuantity=e==Number.MAX_VALUE?1:e,o.updateArticleInfo(o.currentArticle)}},updateArticleInfo:function(e){if(e){n.log("updateArticleInfo(",e,");"),o.pricePC.html("<strong>"+e.prices[o.quantityPC].priceDisplay+"</strong>"),o.partnumberPC.html(e.partnumber),o.articlePC.show(),e.deliveryInfo&&"AVAILABLE"===e.deliveryInfo.state?o.availabilityIconPC.text(o.localeAvailabilityTrue):o.availabilityIconPC.text(o.localeAvailabilityFalse),o.availabilityPC.show(),o.orderBtn.removeClass("btn--disabled"),o.replaceBtn.removeClass("btn--disabled");var t=o.currentArticle&&o.currentArticle.minQuantity||1;o.inputPC&&o.inputPC.val(Math.max(t,parseInt(o.inputPC.val()))),o.inputReplacePC&&o.inputReplacePC.val(Math.max(t,parseInt(o.inputReplacePC.val())))}else o.pricePC.html("<strong>"+o.priceHtmlPC+"</strong>"),o.articlePC.hide(),o.partnumberPC.html(""),o.quantityPC=0,o.availabilityPC.hide(),o.availabilityIconPC.html(""),o.orderBtn.addClass("btn--disabled"),o.replaceBtn.addClass("btn--disabled")}}}(jQuery,window),function(e){var t=window.JUMO=window.JUMO||{};t.lazyloadmediumzoom={init:function(){e(".zoom.medium-zoom-image").length&&e(".zoom.medium-zoom-image").on("click",function(){t.viewport.breakpointDown("sm")||setTimeout(function(){e(".medium-zoom-overlay").parent().append('<div class="spinner mediumZoom"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>');var t=new Image;t.onload=function(){setTimeout(function(){e(".spinner.mediumZoom").remove()},200)},t.src=e(".zoom.medium-zoom-image").attr("data-zoom-src")},200)})}}}(jQuery),function(e){(window.JUMO=window.JUMO||{}).autocomplete={init:function(){e(".cc-product-articlenumber-searchfield").each(function(){if(e(this).find(".articlenumber-searchfield").length){!function(e,t){var a;function i(e){if(!e)return!1;!function(e){for(var t=0;t<e.length;t++)e[t].classList.remove("autocomplete-active")}(e),a>=e.length&&(a=0),a<0&&(a=e.length-1),e[a].classList.add("autocomplete-active")}function n(t){for(var a=document.getElementsByClassName("autocomplete-items"),i=0;i<a.length;i++)t!=a[i]&&t!=e&&a[i].parentNode.removeChild(a[i])}e.addEventListener("input",function(i){var o,r,c,s=this.value;if(n(),!s)return!1;a=-1,(o=document.createElement("DIV")).setAttribute("id","autocomplete-list"),o.setAttribute("class","autocomplete-items"),this.parentNode.appendChild(o);var l=s.toUpperCase();for(c=0;c<t.length;c++)1==t[c].toUpperCase().includes(l)&&((r=document.createElement("DIV")).setAttribute("class","autocomplete-items__item"),r.innerHTML=t[c].substr(0,s.length),r.innerHTML+=t[c].substr(s.length),r.innerHTML+="<input type='hidden' value='"+t[c]+"'>",r.addEventListener("click",function(t){e.value=this.getElementsByTagName("input")[0].value,n()}),o.appendChild(r))}),e.addEventListener("keydown",function(e){var t=document.querySelector(this.id+"#autocomplete-list");t&&(t=t.getElementsByTagName("div")),40==e.keyCode?(a++,i(t)):38==e.keyCode?(a--,i(t)):13==e.keyCode&&(e.preventDefault(),a>-1&&t&&t[a].click())}),document.addEventListener("click",function(e){n(e.target)})}(document.querySelector("#form-autocomplete"),["00055562","00055563","00055564","00055565","00055566","00055567","00054616","00087522","00087527","00335111"])}})}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{};t.articlenosearch={init:function(){e(".articlenumber-searchfield").each(function(){var a=e(this);$articleNoSearchField=a.find(".articlenumber-searchfield__searchfield");var i,n=a.attr("data-ans-api-link"),o="/?workplaceLocale="+t.workplaceLocale,r=t.util.templates.get("OrderArticleNo");$articleNoSearchField.submit(function(c){c&&c.preventDefault();var s=a.find(".article-no-input").val()||void 0;s&&(i=n+s+o,e.getJSON(i).done(function(a){t.log("Teilenummer ",s," wurde gefunden: ",a);var i=r.replace({partnumber:s,part:a});i.find("form").submit(function(e){i.slideUp()}),e(".related-article-no__item").addClass("show")}).fail(function(a){t.log("error"),e(".related-article-no__item").removeClass("show"),r.replace({partnumber:s,error:a})}).always(function(){t.log("finished")}))})})}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.foilconfig={init:function(){if(a.cc=e(".cc-list-foil-configurator"),a.foilconfig=a.cc.find(".list-foil-configurator"),a.foilconfig.length){var i=t.$doc.find(".pickr");if(i.length){if(e("#svg-object").on("load",function(){svgObject=e("#svg-object")[0].contentDocument}),!i.length)return;i.find(".pcr-btn").on("click",function(){e(this).parent().toggleClass("visible")}),t.$doc.mouseup(function(a){var i=e(".pcr-app"),n=t.$doc.find(".visible > .pcr-app").length,o=e(a.target).find(".visible > .pcr-app"),r=e(this).find(".pickrwrap.visible .pcr-btn");i.is(a.target)||0!==i.has(a.target).length||(n>=1?r.parent().toggleClass("visible"):o.parent().toggleClass("visible"))});[{swatches:["#ffffff","#fedd00","#ffd700","#fe5000","#f9423a","#ef3340","#ce0058","#e10098","#bb29bb","#440099","#10069f","#001489","#0085ca","#00ab84","#2d2926","#f2f0a1","#fcaebb","#f1b2dc","#bf9bde","#74d1ea","#9de7d7","#9e978e","#009ace","#44d62c","#ffe900","#ffaa4d","#ff7276","#ff3eb5","#ea27c2","#84754e","#85714d","#866d4b","#8b6f4e","#87674f","#8b634b","#8a8d8f","#ffd900","#ff5e00","#f93822","#ce0056","#d62598","#4e008e","#00239c","#0084ca","#00b08b","#222223","#f6eb61","#f7ea48","#fce300","#c5a900","#af9800","#897a27","#f5e1a4","#ecd898","#eed484","#f4da40","#f2cd00","#f1c400","#cba052","#f9e547","#fbe122","#fedb00","#ffd100","#daaa00","#aa8a00","#9c8412","#fae053","#fbdd40","#fdda24","#ffcd00","#c99700","#ac8400","#897322","#f3dd6d","#f3d54e","#f3d03e","#f2a900","#cc8a00","#a07400","#6c571b","#f8e08e","#fbd872","#ffc845","#ffb81c","#c69214","#ad841f","#886b25","#fbdb65","#fdd757","#fed141","#ffc72c","#eaaa00","#b58500","#9a7611","#ffc600","#ffb500","#d19000","#b47e00","#73531d","#5a4522","#4b3d2a","#d29f13","#b78b20","#9f7d23","#967126","#8f6a2a","#7d622e","#6c5d34","#fdd26e","#ffc658","#ffbf3f","#ffa300","#de7c00","#af6d04","#74531c","#fdd086","#ffc56e","#ffb549","#ff9e1b","#d57800","#996017","#6e4c1e","#f2c75c","#f1be48","#f1b434","#ed8b00","#cf7f00","#a76d11","#715c2a","#f6be00","#f0b323","#fead77","#e6a65d","#d38235","#dc8633","#c16c18","#bd9b60","#d69a2d","#db8a06","#cd7925","#ad6433","#89532f","#775135","#d78825","#d3832b","#c67d30","#b67233","#a7662b","#9e6a38","#835d32","#fcc89b","#fdbe87","#fdaa63","#f68d2e","#ea7600","#d45d00","#be4d00","#fecb8b","#ffc27b","#ffb25b","#ff8200","#e57200","#be6a14","#9b5a1a","#efd19f","#efbe7d","#eca154","#e87722","#cb6015","#a1561c","#603d20","#ffae62","#ff8f1c","#ff6900","#b94700","#94450b","#653819","#ffb990","#ffa06a","#ff7f32","#ff6a13","#d86018","#a65523","#8b4720","#ffbe9f","#ff9d6e","#ff7f41","#ff671f","#e35205","#be531c","#73381d","#db864e","#e07e3c","#dc6b2f","#dc582a","#c05131","#864a33","#674736","#ffa38b","#ff8d6d","#ff6a39","#fc4c02","#dc4405","#a9431e","#833921","#ffb3ab","#ff8674","#ff5c39","#fa4616","#cf4520","#963821","#6b3529","#c4622d","#ba5826","#af5c37","#9e5330","#924c2e","#7b4d35","#5c4738","#d4b59e","#c07d59","#b15533","#9d432c","#7c3a2d","#6b3d2e","#5c3d31","#d14124","#bd472a","#b33d26","#8d3f2b","#83412c","#7b4931","#674230","#e4d5d3","#e1bbb4","#d6938a","#c26e60","#a4493d","#823b34","#683431","#ddbcb0","#ca9a8e","#bc8a7e","#a37f74","#866761","#6b4c4c","#583d3e","#eabeb0","#c09c83","#b46a55","#ab5c57","#a45248","#9a6a4f","#8a391b","#ecc3b2","#ecbaa8","#eaa794","#e8927c","#da291c","#9a3324","#653024","#ffb1bb","#ff808b","#ff585d","#e03c31","#be3a34","#81312f","#ffa3b5","#ff8da1","#f8485e","#ee2737","#d22630","#af272f","#7c2529","#fcafc0","#fb637e","#f4364c","#cb333b","#a4343a","#643335","#c66e4e","#c04c36","#b7312c","#ab2328","#93272c","#8a2a2b","#802f2d","#e1523d","#c63527","#a72b2a","#9e2a2b","#6d3332","#633231","#572d2d","#e6baa8","#e56a54","#e04e39","#cd545b","#b04a5a","#9b2242","#651d32","#fabbcb","#fc9bb3","#f65275","#e4002b","#c8102e","#a6192e","#76232f","#ecc7cd","#e89cae","#df4661","#d50032","#ba0c2f","#9d2235","#862633","#f8a3bc","#f67599","#ef426f","#e40046","#bf0d3e","#9b2743","#782f40","#f5b6cd","#f59bbb","#ef4a81","#e0004d","#c5003e","#a6093d","#8a1538","#f5dadf","#f7ced7","#f9b5c4","#f890a5","#ef6079","#e03e52","#cb2c30","#f2d4d7","#f4c3cc","#f2acb9","#e68699","#d25b73","#b83a4b","#9e2a2f","#ecb3cb","#e782a9","#e0457b","#ce0037","#a50034","#861f41","#6f263d","#f99fc9","#f57eb6","#f04e98","#e31c79","#ce0f69","#ac145a","#7d2248","#f4cdd4","#e06287","#e24585","#b52555","#a4123f","#971b2f","#6a2c3e","#d6c9ca","#c4a4a7","#c16784","#c63663","#bc204b","#912f46","#7e2d40","#eabedb","#e56db1","#da1884","#a50050","#910048","#6c1d45","#936d73","#934054","#8e2c48","#732e4a","#672e45","#582d40","#502b3a","#ef95cf","#eb6fbd","#df1995","#d0006f","#aa0061","#890c58","#672146","#f4a6d7","#f277c6","#e93cac","#c6007e","#a20067","#840b55","#ead3e2","#e6bcd8","#dfa0c9","#d986ba","#c6579a","#ae2573","#960051","#e5cedb","#e3c8d8","#debed2","#c996b6","#b06c96","#994878","#7c2855","#e4c6d4","#dcb6c9","#d0a1ba","#be84a3","#a76389","#893b67","#612141","#ebbecb","#e8b3c3","#e4a9bb","#d592aa","#84344e","#6f2c3f","#572932","#e2bccb","#dca9bf","#c9809e","#b55c80","#a73a64","#9b3259","#872651","#e9cdd0","#e4bec3","#d7a3ab","#c48490","#b46b7a","#984856","#893c47","#f2c6cf","#f1bdc8","#e9a2b2","#dc8699","#8f3237","#7f3035","#5d2a2c","#e9c4c7","#e5bac1","#daa5ad","#c6858f","#7a3e3a","#6a3735","#512f2e","#dfc2c3","#dbb7bb","#cca1a6","#b07c83","#9c6169","#874b52","#3f2021","#f1a7dc","#ec86d0","#e45dbf","#db3eb1","#c5299b","#af1685","#80225f","#efbae1","#e277cd","#d539b5","#c800a1","#b0008e","#9e007e","#830065","#eab8e4","#e59bdc","#dd7fd3","#c724b1","#bb16a3","#a51890","#80276c","#a56e87","#a83d72","#991e66","#8a1b61","#722257","#6a2a5b","#5e2751","#e7bae4","#dd9cdf","#c964cf","#ad1aac","#981d97","#72246c","#ebc6df","#e6bedd","#e2acd7","#d48bc8","#93328e","#833177","#612c51","#eedaea","#ccaed0","#d59ed7","#b288b9","#a277a6","#9f5cc0","#963cbd","#d7a9e3","#c98bdb","#ac4fc6","#9b26b6","#87189d","#772583","#653165","#948794","#a2789c","#a15a95","#8e3a80","#6e2b62","#6a3460","#5d3754","#d5c2d8","#c9b1d0","#ba9cc5","#a57fb2","#642f6c","#59315f","#4b3048","#dbcdd3","#d0bec7","#c6b0bc","#af95a6","#86647a","#66435a","#4a3041","#d8c8d1","#d3c0cd","#bfa5b8","#9b7793","#7e5475","#693c5e","#512a44","#dfc8e7","#d7b9e4","#caa2dd","#b580d1","#8031a7","#702f8a","#572c5f","#d6bfdd","#c6a1cf","#8c4799","#6d2077","#642667","#5d285f","#51284f","#cba3d8","#b884cb","#a05eb5","#84329b","#702082","#671e75","#5f2167","#9991a4","#8d6e97","#7a4183","#6b3077","#653279","#5e366e","#5c4e63","#c1a0da","#a77bca","#8246af","#5c068c","#500778","#470a68","#3c1053","#d7c6e6","#c1a7e2","#9063cd","#753bbd","#5f259f","#582c83","#512d6d","#c5b4e3","#ad96dc","#9678d3","#7d55c7","#330072","#2e1a47","#b4b5df","#9595d2","#7474c1","#24135f","#211551","#201747","#221c35","#a7a4e0","#8b84d7","#685bc7","#2e008b","#280071","#250e62","#201547","#6e7ca0","#686e9f","#615e9b","#565294","#514689","#4c4184","#535486","#dddae8","#b6b8dc","#a7a2c3","#8986ca","#5d4777","#4b384c","#41273b","#878cb4","#7c7fab","#7566a0","#6f5091","#68478d","#563d82","#523178","#e5e1e6","#e0dbe3","#c6bcd0","#a192b2","#7c6992","#614b79","#3f2a56","#d8d7df","#c6c4d2","#b3b0c4","#8d89a5","#595478","#403a60","#1e1a34","#c5cfda","#bbc7d6","#a2b2c8","#8e9fbc","#1b365d","#1f2a44","#1c1f2a","#d9e1e2","#a4bcc2","#98a4ae","#768692","#425563","#253746","#131e29","#b9d3dc","#a3c7d2","#8db9ca","#6ba4b8","#003d4c","#00313c","#072b31","#bfced6","#b7c9d3","#a6bbc8","#7a99ac","#5b7f95","#4f758b","#081f2c","#d1dde6","#c6d6e3","#9bb8d3","#7da1c4","#5e8ab4","#236192","#002e5d","#dbe2e9","#ced9e5","#a7bcd6","#7d9bc1","#326295","#003a70","#002554","#dde5ed","#c8d8eb","#b1c9e8","#7ba4db","#407ec9","#003594","#001a70","#bdc5db","#89abe3","#8094dd","#7ba6de","#5f8fb4","#3a5dae","#606eb2","#cbd3eb","#9faee5","#485cc7","#1e22aa","#171c8f","#151f6d","#141b4d","#b8ccea","#5c88da","#0047bb","#06038d","#001871","#001e62","#071d49","#c3d7ee","#a7c6ed","#307fe2","#001a72","#001e60","#13294b","#abcae9","#8bb8e8","#418fde","#012169","#00205b","#041e42","#92c1e9","#6cace4","#0072ce","#0033a0","#003087","#002d72","#0c2340","#94a9cb","#6787b7","#426da9","#385e9d","#2c5697","#1d4f91","#1d428a","#c6dae7","#bdd6e6","#a4c8e1","#7bafd4","#003c71","#003057","#00263a","#b9d9eb","#9bcbeb","#69b3e7","#003da5","#002f6c","#002855","#041c2c","#8dc8e8","#62b5e5","#009cde","#0057b8","#004c97","#003865","#00263e","#71c5e8","#41b6e6","#00a3e0","#005eb8","#004b87","#003b5c","#002a3a","#4698cb","#298fc2","#0076a8","#006298","#005587","#004976","#01426a","#99d6ea","#5bc2e7","#00a9e0","#0077c8","#00629b","#004f71","#003e51","#7ba7bc","#6399ae","#4e87a0","#41748d","#34657f","#165c7d","#005776","#bbdde6","#71b2c9","#4298b5","#0086bf","#007dba","#00558c","#002b49","#9adbe8","#59cbe8","#00b5e2","#006ba6","#00587c","#003b49","#a4dbe8","#8bd3e6","#4ec3e0","#00afd7","#0095c8","#0082ba","#0067a0","#48a9c5","#009cbd","#0085ad","#007096","#006a8e","#00617f","#005670","#b8dde1","#9bd3dd","#77c5d5","#3eb1c8","#0093b2","#007396","#005f83","#6ad1e3","#05c3de","#00a9ce","#0092bc","#007fa3","#00677f","#004851","#68d2df","#00c1d5","#00aec7","#008eaa","#00778b","#006272","#004f59","#63b1bc","#00a7b5","#0097a9","#00859b","#007d8a","#007680","#006269","#b1e4e3","#88dbdf","#2dccd3","#009ca6","#008c95","#007377","#005f61","#a0d1ca","#40c1ac","#00b0b9","#00a3ad","#007398","#005f86","#005a70","#7eddd3","#5cb8b2","#279989","#007681","#487a7b","#0d5257","#244c5a","#b6cfd0","#abc7ca","#94b7bb","#7fa9ae","#4f868e","#115e67","#07272d","#00968f","#00857d","#007672","#006d68","#00635b","#005e5d","#005151","#9cdbd9","#64ccc9","#00b2a9","#008675","#007367","#00685e","#00534c","#71dbd4","#2ad2c9","#00bfb3","#00a499","#008578","#00594f","#004c45","#7ce0d3","#2cd5c4","#00c7b1","#00b398","#009681","#007864","#004e42","#6dcdb8","#49c5b1","#00ab8e","#009b77","#008264","#006a52","#034638","#b9dcd2","#a1d6ca","#86c8bc","#6bbbae","#006f62","#00594c","#1d3c34","#b5e3d8","#a5dfd3","#98dbce","#6bcaba","#00816d","#006c5b","#173f35","#adcab8","#9abeaa","#85b09a","#6fa287","#28724f","#205c40","#284734","#bfcec2","#a7bdb1","#92aca0","#7f9c90","#5c7f71","#43695b","#183028","#bac5b9","#b0bdb0","#a3b2a4","#94a596","#708573","#5e7461","#22372b","#bcc9c5","#b1c0bc","#9db0ac","#829995","#5d7975","#3e5d58","#18332f","#d1e0d7","#b7cdc2","#9ab9ad","#789f90","#507f70","#285c4d","#13322b","#a7e6d7","#8ce2d0","#3cdbc0","#009775","#007b5f","#00664f","#8fd6bd","#6eceb2","#00b388","#00965e","#007a53","#006747","#115740","#50a684","#00966c","#008755","#007b4b","#006f44","#006845","#005844","#7ae1bf","#47d7ac","#00c389","#00af66","#007749","#006341","#154734","#a0dab3","#91d6ac","#71cc98","#009a44","#00843d","#046a38","#2c5234","#a2e4b8","#8fe2b0","#80e0a7","#00b140","#009639","#007a33","#215732","#9be3bf","#26d07c","#00bf6f","#00b74f","#009f4d","#275d38","#00573f","#4b9560","#228848","#007a3e","#007041","#286140","#36573b","#395542","#6ba539","#48a23f","#319b42","#3a913f","#44883e","#4a773c","#44693d","#addc91","#a1d884","#6cc24a","#43b02a","#509e2f","#4c8c2b","#4a7729","#d0debb","#bce194","#8edd65","#78d64b","#74aa50","#719949","#79863c","#c2e189","#b7dd79","#a4d65e","#78be20","#64a70b","#658d1b","#546223","#d4eb8e","#cdea80","#c5e86c","#97d700","#84bd00","#7a9a01","#59621d","#c4d6a4","#bcd19b","#b7ce95","#a9c47f","#789d4a","#67823a","#4e5b31","#d0d1ab","#c6c89b","#babd8b","#a2a569","#8a8d4a","#6d712e","#3d441e","#d2ce9e","#cbc793","#c0bb87","#afa96e","#a09958","#89813d","#555025","#c3c6a8","#b3b995","#a3aa83","#899064","#737b4c","#5e6738","#3e4827","#bfcc80","#bbc592","#9caf88","#8f993e","#76881d","#7a7256","#5b6236","#babc16","#abad23","#999b30","#888d30","#7c8034","#727337","#656635","#e2e868","#dbe442","#cedc00","#c4d600","#a8ad00","#949300","#787121","#e9ec6b","#e3e935","#e0e721","#d0df00","#b5bd00","#9a9500","#827a04","#e3e48d","#e0e27c","#dbde70","#d2d755","#b7bf10","#8e8c13","#625d20","#f0ec74","#ede939","#ece81a","#e1e000","#bfb800","#ada400","#a09200","#f3ea5d","#f3e500","#efdf00","#eedc00","#bba600","#9a8700","#685c20","#f1eb9c","#f0e991","#f0e87b","#ede04b","#eada24","#e1cd00","#cfb500","#ebe49a","#e9e186","#e6de77","#e1d555","#d7c826","#c4b000","#b39b00","#e9df97","#e4d77e","#decd63","#d9c756","#b89d18","#a28e2a","#695b24","#dcd59a","#d6cf8d","#d0c883","#c0b561","#ac9f3c","#9f912a","#8a7b19","#cab64b","#cfb023","#c1a01e","#a08629","#897630","#736635","#675e33","#d4c304","#c4b200","#91852c","#747136","#5d6439","#585c3b","#535435","#bbb323","#b4a91f","#aa9d2e","#8f7e35","#716135","#635939","#4e4934","#d5cb9f","#cfc493","#c5b783","#b3a369","#998542","#8c7732","#614f25","#cac7a7","#bfbb98","#b0aa7e","#9b945f","#594a25","#524727","#4a412a","#f1e6b2","#dfd1a7","#d9c89e","#ceb888","#a89968","#94795d","#816040","#ddcba4","#d3bc8d","#c6aa76","#b9975b","#8b5b29","#744f28","#5c462b","#efdbb2","#fcd299","#e1b87f","#d6a461","#c6893f","#b77729","#a6631b","#edc8a3","#e7b78a","#dda46f","#c88242","#b36924","#934d11","#7d3f16","#f3cfb3","#f1c6a7","#f0bf9b","#e59e6d","#b86125","#a45a2a","#693f23","#e0c09f","#d9b48f","#cda077","#b58150","#9e652e","#774212","#623412","#e0c6ad","#dcbfa6","#cda788","#bf9474","#ad7c59","#946037","#4f2c1d","#e1b7a7","#d5a286","#c58b68","#99552b","#85431e","#6d4f47","#5e4b3c","#d7c4b7","#cdb5a7","#c0a392","#ae8a79","#956c58","#7c4d3a","#5b3427","#dbc8b6","#d3bba8","#c6a992","#aa8066","#703f2a","#623b2a","#4e3629","#d6d2c4","#c5b9ac","#b7a99a","#a39382","#7a6855","#63513d","#473729","#d1ccbd","#b7b09c","#a69f88","#a7aca2","#949a90","#8e9089","#4b4f54","#d0d3d4","#c1c6c8","#a2aaad","#7c878e","#5b6770","#333f48","#1d252d","#c7c9c7","#b2b4b2","#9ea2a2","#898d8d","#707372","#54585a","#25282a","#bec6c4","#a2acab","#919d9d","#717c7d","#505759","#3f4444","#373a36","#babbb1","#a8a99e","#919388","#7e7f74","#65665c","#51534a","#212322","#c4bfb6","#afa9a0","#9d968d","#8c857b","#776e64","#696158","#c4bcb7","#b2a8a2","#978c87","#857874","#746661","#5e514d","#382f2d","#d0c4c5","#c1b2b6","#ab989d","#7b6469","#584446","#453536","#382e2c","#d7d2cb","#cbc4bc","#bfb8af","#b6ada5","#aca39a","#a59c94","#968c83","#8c8279","#83786f","#796e65","#6e6259","#d9d9d6","#d0d0ce","#c8c9c7","#bbbcbc","#b1b3b3","#a7a8aa","#97999b","#888b8d","#75787b","#63666a","#53565a","#332f21","#212721","#31261d","#3e2b2e","#101820","#3d3935"],displaytext:["White","Yellow C","Yellow 012 C","Orange 021 C","Warm Red C","Red 032 C","Rubine Red C","Rhodamine Red C","Purple C","Violet C","Blue 072 C","Reflex Blue C","Process Blue C","Green C","Black C","Yellow 0131 C","Red 0331 C","Magenta 0521 C","Violet 0631 C","Blue 0821 C","Green 0921 C","Black 0961 C","801 C","802 C","803 C","804 C","805 C","806 C","807 C","871 C","872 C","873 C","874 C","875 C","876 C","877 C","Medium Yellow C","Bright Orange C","Bright Red C","Strong Red C","Pink C","Medium Purple C","Dark Blue C","Medium Blue C","Bright Green C","Neutral Black C","100 C","101 C","102 C","103 C","104 C","105 C","7401 C","7402 C","7403 C","7404 C","7405 C","7406 C","7407 C","106 C","107 C","108 C","109 C","110 C","111 C","112 C","113 C","114 C","115 C","116 C","117 C","118 C","119 C","127 C","128 C","129 C","130 C","131 C","132 C","133 C","1205 C","1215 C","1225 C","1235 C","1245 C","1255 C","1265 C","120 C","121 C","122 C","123 C","124 C","125 C","126 C","7548 C","7549 C","7550 C","7551 C","7552 C","7553 C","7554 C","7555 C","7556 C","7557 C","7558 C","7559 C","7560 C","7561 C","134 C","135 C","136 C","137 C","138 C","139 C","140 C","1345 C","1355 C","1365 C","1375 C","1385 C","1395 C","1405 C","141 C","142 C","143 C","144 C","145 C","146 C","147 C","7408 C","7409 C","7410 C","7411 C","7412 C","7413 C","7414 C","7562 C","7563 C","7564 C","7565 C","7566 C","7567 C","7568 C","7569 C","7570 C","7571 C","7572 C","7573 C","7574 C","7575 C","712 C","713 C","714 C","715 C","716 C","717 C","718 C","148 C","149 C","150 C","151 C","152 C","153 C","154 C","155 C","156 C","157 C","158 C","159 C","160 C","161 C","1485 C","1495 C","1505 C","1525 C","1535 C","1545 C","1555 C","1565 C","1575 C","1585 C","1595 C","1605 C","1615 C","162 C","163 C","164 C","165 C","166 C","167 C","168 C","7576 C","7577 C","7578 C","7579 C","7580 C","7581 C","7582 C","1625 C","1635 C","1645 C","1655 C","1665 C","1675 C","1685 C","169 C","170 C","171 C","172 C","173 C","174 C","175 C","7583 C","7584 C","7585 C","7586 C","7587 C","7588 C","7589 C","7590 C","7591 C","7592 C","7593 C","7594 C","7595 C","7596 C","7597 C","7598 C","7599 C","7600 C","7601 C","7602 C","7603 C","7604 C","7605 C","7606 C","7607 C","7608 C","7609 C","7610 C","7611 C","7612 C","7613 C","7614 C","7615 C","7616 C","7617 C","7520 C","7521 C","7522 C","7523 C","7524 C","7525 C","7526 C","489 C","488 C","487 C","486 C","485 C","484 C","483 C","176 C","177 C","178 C","179 C","180 C","181 C","1765 C","1775 C","1785 C","1788 C","1795 C","1805 C","1815 C","1767 C","1777 C","1787 C","1797 C","1807 C","1817 C","7618 C","7619 C","7620 C","7621 C","7622 C","7623 C","7624 C","7625 C","7626 C","7627 C","7628 C","7629 C","7630 C","7631 C","7415 C","7416 C","7417 C","7418 C","7419 C","7420 C","7421 C","182 C","183 C","184 C","185 C","186 C","187 C","188 C","196 C","197 C","198 C","199 C","200 C","201 C","202 C","189 C","190 C","191 C","192 C","193 C","194 C","195 C","1895 C","1905 C","1915 C","1925 C","1935 C","1945 C","1955 C","705 C","706 C","707 C","708 C","709 C","710 C","711 C","698 C","699 C","700 C","701 C","702 C","703 C","704 C","203 C","204 C","205 C","206 C","207 C","208 C","209 C","210 C","211 C","212 C","213 C","214 C","215 C","216 C","7422 C","7423 C","7424 C","7425 C","7426 C","7427 C","7428 C","7632 C","7633 C","7634 C","7635 C","7636 C","7637 C","7638 C","217 C","218 C","219 C","220 C","221 C","222 C","7639 C","7640 C","7641 C","7642 C","7643 C","7644 C","7645 C","223 C","224 C","225 C","226 C","227 C","228 C","229 C","230 C","231 C","232 C","233 C","234 C","235 C","670 C","671 C","672 C","673 C","674 C","675 C","676 C","677 C","678 C","679 C","680 C","681 C","682 C","683 C","684 C","685 C","686 C","687 C","688 C","689 C","690 C","510 C","509 C","508 C","507 C","506 C","505 C","504 C","7429 C","7430 C","7431 C","7432 C","7433 C","7434 C","7435 C","691 C","692 C","693 C","694 C","695 C","696 C","697 C","496 C","495 C","494 C","493 C","492 C","491 C","490 C","503 C","502 C","501 C","500 C","499 C","498 C","497 C","5035 C","5025 C","5015 C","5005 C","4995 C","4985 C","4975 C","236 C","237 C","238 C","239 C","240 C","241 C","242 C","2365 C","2375 C","2385 C","2395 C","2405 C","2415 C","2425 C","243 C","244 C","245 C","246 C","247 C","248 C","249 C","7646 C","7647 C","7648 C","7649 C","7650 C","7651 C","7652 C","250 C","251 C","252 C","253 C","254 C","255 C","517 C","516 C","515 C","514 C","513 C","512 C","511 C","7436 C","7437 C","7438 C","7439 C","7440 C","7441 C","7442 C","2562 C","2572 C","2582 C","2592 C","2602 C","2612 C","2622 C","7653 C","7654 C","7655 C","7656 C","7657 C","7658 C","7659 C","524 C","523 C","522 C","521 C","520 C","519 C","518 C","5245 C","5235 C","5225 C","5215 C","5205 C","5195 C","5185 C","5175 C","5165 C","5155 C","5145 C","5135 C","5125 C","5115 C","531 C","530 C","529 C","528 C","527 C","526 C","525 C","256 C","257 C","258 C","259 C","260 C","261 C","262 C","2563 C","2573 C","2583 C","2593 C","2603 C","2613 C","2623 C","7660 C","7661 C","7662 C","7663 C","7664 C","7665 C","7666 C","2567 C","2577 C","2587 C","2597 C","2607 C","2617 C","2627 C","263 C","264 C","265 C","266 C","267 C","268 C","269 C","2635 C","2645 C","2655 C","2665 C","2685 C","2695 C","270 C","271 C","272 C","273 C","274 C","275 C","276 C","2705 C","2715 C","2725 C","2735 C","2745 C","2755 C","2765 C","7667 C","7668 C","7669 C","7670 C","7671 C","7672 C","7673 C","7443 C","7444 C","7445 C","7446 C","7447 C","7448 C","7449 C","7674 C","7675 C","7676 C","7677 C","7678 C","7679 C","7680 C","663 C","664 C","665 C","666 C","667 C","668 C","669 C","5315 C","5305 C","5295 C","5285 C","5275 C","5265 C","5255 C","538 C","537 C","536 C","535 C","534 C","533 C","532 C","7541 C","7542 C","7543 C","7544 C","7545 C","7546 C","7547 C","552 C","551 C","550 C","549 C","548 C","547 C","546 C","5455 C","5445 C","5435 C","5425 C","5415 C","5405 C","5395 C","642 C","643 C","644 C","645 C","646 C","647 C","648 C","649 C","650 C","651 C","652 C","653 C","654 C","655 C","656 C","657 C","658 C","659 C","660 C","661 C","662 C","7450 C","7451 C","7452 C","7453 C","7454 C","7455 C","7456 C","2706 C","2716 C","2726 C","2736 C","2746 C","2756 C","2766 C","2708 C","2718 C","2728 C","2738 C","2748 C","2758 C","2768 C","2707 C","2717 C","2727 C","2747 C","2757 C","2767 C","277 C","278 C","279 C","280 C","281 C","282 C","283 C","284 C","285 C","286 C","287 C","288 C","289 C","7681 C","7682 C","7683 C","7684 C","7685 C","7686 C","7687 C","545 C","544 C","543 C","542 C","541 C","540 C","539 C","290 C","291 C","292 C","293 C","294 C","295 C","296 C","2905 C","2915 C","2925 C","2935 C","2945 C","2955 C","2965 C","297 C","298 C","299 C","300 C","301 C","302 C","303 C","7688 C","7689 C","7690 C","7691 C","7692 C","7693 C","7694 C","2975 C","2985 C","2995 C","3005 C","3015 C","3025 C","3035 C","7695 C","7696 C","7697 C","7698 C","7699 C","7700 C","7701 C","7457 C","7458 C","7459 C","7460 C","7461 C","7462 C","7463 C","304 C","305 C","306 C","307 C","308 C","309 C","635 C","636 C","637 C","638 C","639 C","640 C","641 C","7702 C","7703 C","7704 C","7705 C","7706 C","7707 C","7708 C","628 C","629 C","630 C","631 C","632 C","633 C","634 C","310 C","311 C","312 C","313 C","314 C","315 C","316 C","3105 C","3115 C","3125 C","3135 C","3145 C","3155 C","3165 C","7709 C","7710 C","7711 C","7712 C","7713 C","7714 C","7715 C","317 C","318 C","319 C","320 C","321 C","322 C","323 C","7464 C","7465 C","7466 C","7467 C","7468 C","7469 C","7470 C","7471 C","7472 C","7473 C","7474 C","7475 C","7476 C","7477 C","5523 C","5513 C","5503 C","5493 C","5483 C","5473 C","5463 C","7716 C","7717 C","7718 C","7719 C","7720 C","7721 C","7722 C","324 C","325 C","326 C","327 C","328 C","329 C","330 C","3242 C","3252 C","3262 C","3272 C","3282 C","3292 C","3302 C","3245 C","3255 C","3265 C","3275 C","3285 C","3295 C","3305 C","3248 C","3258 C","3268 C","3278 C","3288 C","3298 C","3308 C","566 C","565 C","564 C","563 C","562 C","561 C","560 C","573 C","572 C","571 C","570 C","569 C","568 C","567 C","559 C","558 C","557 C","556 C","555 C","554 C","553 C","5595 C","5585 C","5575 C","5565 C","5555 C","5545 C","5535 C","5665 C","5655 C","5645 C","5635 C","5625 C","5615 C","5605 C","5527 C","5517 C","5507 C","5497 C","5487 C","5477 C","5467 C","621 C","622 C","623 C","624 C","625 C","626 C","627 C","331 C","332 C","333 C","334 C","335 C","336 C","337 C","338 C","339 C","340 C","341 C","342 C","343 C","7723 C","7724 C","7725 C","7726 C","7727 C","7728 C","7729 C","3375 C","3385 C","3395 C","3405 C","3415 C","3425 C","3435 C","344 C","345 C","346 C","347 C","348 C","349 C","350 C","351 C","352 C","353 C","354 C","355 C","356 C","357 C","7478 C","7479 C","7480 C","7481 C","7482 C","7483 C","7484 C","7730 C","7731 C","7732 C","7733 C","7734 C","7735 C","7736 C","7737 C","7738 C","7739 C","7740 C","7741 C","7742 C","7743 C","358 C","359 C","360 C","361 C","362 C","363 C","364 C","7485 C","7486 C","7487 C","7488 C","7489 C","7490 C","7491 C","365 C","366 C","367 C","368 C","369 C","370 C","371 C","372 C","373 C","374 C","375 C","376 C","377 C","378 C","580 C","579 C","578 C","577 C","576 C","575 C","574 C","5807 C","5797 C","5787 C","5777 C","5767 C","5757 C","5747 C","5875 C","5865 C","5855 C","5845 C","5835 C","5825 C","5815 C","5803 C","5793 C","5783 C","5773 C","5763 C","5753 C","5743 C","7492 C","7493 C","7494 C","7495 C","7496 C","7497 C","7498 C","7744 C","7745 C","7746 C","7747 C","7748 C","7749 C","7750 C","379 C","380 C","381 C","382 C","383 C","384 C","385 C","386 C","387 C","388 C","389 C","390 C","391 C","392 C","587 C","586 C","585 C","584 C","583 C","582 C","581 C","393 C","394 C","395 C","396 C","397 C","398 C","399 C","3935 C","3945 C","3955 C","3965 C","3975 C","3985 C","3995 C","600 C","601 C","602 C","603 C","604 C","605 C","606 C","607 C","608 C","609 C","610 C","611 C","612 C","613 C","461 C","460 C","459 C","458 C","457 C","456 C","455 C","614 C","615 C","616 C","617 C","618 C","619 C","620 C","7751 C","7752 C","7753 C","7754 C","7755 C","7756 C","7757 C","7758 C","7759 C","7760 C","7761 C","7762 C","7763 C","7764 C","7765 C","7766 C","7767 C","7768 C","7769 C","7770 C","7771 C","4545 C","4535 C","4525 C","4515 C","4505 C","4495 C","4485 C","454 C","453 C","452 C","451 C","450 C","449 C","448 C","7499 C","7500 C","7501 C","7502 C","7503 C","7504 C","7505 C","468 C","467 C","466 C","465 C","464 C","463 C","462 C","7506 C","7507 C","7508 C","7509 C","7510 C","7511 C","7512 C","719 C","720 C","721 C","722 C","723 C","724 C","725 C","475 C","474 C","473 C","472 C","471 C","470 C","469 C","726 C","727 C","728 C","729 C","730 C","731 C","732 C","4685 C","4675 C","4665 C","4655 C","4645 C","4635 C","4625 C","7513 C","7514 C","7515 C","7516 C","7517 C","7518 C","7519 C","4755 C","4745 C","4735 C","4725 C","4715 C","4705 C","4695 C","482 C","481 C","480 C","479 C","478 C","477 C","476 C","7527 C","7528 C","7529 C","7530 C","7531 C","7532 C","7533 C","7534 C","7535 C","7536 C","7537 C","7538 C","7539 C","7540 C","427 C","428 C","429 C","430 C","431 C","432 C","433 C","420 C","421 C","422 C","423 C","424 C","425 C","426 C","441 C","442 C","443 C","444 C","445 C","446 C","447 C","413 C","414 C","415 C","416 C","417 C","418 C","419 C","400 C","401 C","402 C","403 C","404 C","405 C","406 C","407 C","408 C","409 C","410 C","411 C","412 C","434 C","435 C","436 C","437 C","438 C","439 C","440 C","Warm Gray 1 C","Warm Gray 2 C","Warm Gray 3 C","Warm Gray 4 C","Warm Gray 5 C","Warm Gray 6 C","Warm Gray 7 C","Warm Gray 8 C","Warm Gray 9 C","Warm Gray 10 C","Warm Gray 11 C","Cool Gray 1 C","Cool Gray 2 C","Cool Gray 3 C","Cool Gray 4 C","Cool Gray 5 C","Cool Gray 6 C","Cool Gray 7 C","Cool Gray 8 C","Cool Gray 9 C","Cool Gray 10 C","Cool Gray 11 C","Black 2 C","Black 3 C","Black 4 C","Black 5 C","Black 6 C","Black 7 C"]}].forEach(function(t){i.each(function(a,i){var n=e(i),o=n.find(".pcr-btn").val(),r=t.swatches.indexOf(o);n.find(".pcr-app .pcr-selection .pcr-color-preview .pcr-current-color").css("color",t.swatches[r]),n.find(".pcr-app .pcr-selection p").html(t.displaytext[r]),n.find(".pickrwrap").addClass("fil"+a),t.swatches.forEach(function(e,a){n.find(".pcr-swatches").append('<button type="button" value="'+e+'" style="color: white; background-color: '+e+';">'+t.displaytext[a]+"</button>")}),n.find(".pcr-swatches button").on("click",function(){n.find(".pcr-app .pcr-selection .pcr-color-preview .pcr-current-color").css("color",e(this).val()),n.find(".pcr-app .pcr-selection p").html(e(this).html()),n.find(".pcr-btn").val(e(this).val()),n.find(".pcr-btn").css("background-color",e(this).val())}),n.find(".fil"+a+" .pcr-swatches button").on("click",function(t){e(svgObject).find(".fil"+a).css("fill",t.currentTarget.value),e(svgObject).find(".str"+a).css("stroke",t.currentTarget.value)})})})}if(a.ccFC=e(".cc-list-foil-configurator"),a.foilConfig=a.ccFC.find(".list-foil-configurator"),a.foilConfig.length){var n=new URL(document.location).searchParams,o=n.get("pdpId"),r=n.get("pdpSubId");if(r&&o)if(c=e("select.fcSelect #"+r).val())e("select.fSelect #"+o).attr("selected","selected").change(),e("select.fcSelect").val(c).change(),e(".list-foil-configurator__breadcrumb-item.select .form-group.type.702030").parent().css("display","block"),e(".list-foil-configurator__breadcrumb-item.select  .form-group.type").css("display","none"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type.702030").css("display","block"),e("#svg-object").attr("data",c);else e(".list-foil-configurator__breadcrumb-item.select + .list-foil-configurator__breadcrumb-item.select").css("display","block"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type").css("display","none"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type."+o).css("display","block"),(s=e("select.fcSelect option:selected").val())&&e("#svg-object").attr("data",s);else if(o){var c;if(c=e("select.fSelect #"+o).val())e("select.fSelect").val(c).change(),e(".list-foil-configurator__breadcrumb-item.select + .list-foil-configurator__breadcrumb-item.select").css("display","none"),e("#svg-object").attr("data",c);else e(".list-foil-configurator__breadcrumb-item.select + .list-foil-configurator__breadcrumb-item.select").css("display","block"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type").css("display","none"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type."+o).css("display","block"),(s=e("select.fcSelect option:selected").val())&&e("#svg-object").attr("data",s)}else{var s=e(".form-control.fSelect").find(":selected").val();e("#svg-object").attr("data",s)}e("select.fSelect").change(function(){o=e(this).find(":selected").attr("id");var t=e(this).find(":selected").val();if(t)e(".list-foil-configurator__breadcrumb-item.select + .list-foil-configurator__breadcrumb-item.select").css("display","none"),e("#svg-object").attr("data",t);else{e(".list-foil-configurator__breadcrumb-item.select + .list-foil-configurator__breadcrumb-item.select").css("display","block"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type").css("display","none"),e(".list-foil-configurator__breadcrumb-item.select .form-group.type."+o).css("display","block");var a=e("select.fcSelect option:selected").val();a&&e("#svg-object").attr("data",a)}}),e(".list-foil-configurator__breadcrumb-item select.fcSelect").change(function(){var t=e(this).find(":selected").val();e("#svg-object").attr("data",t)}),e("#svg-object")[0].addEventListener("load",function(){var a=e("#svg-object")[0].contentDocument,i=null,n=null;t.$doc.on("change",".fg-wrap input.file",function(t){var i=t.target,n=new FileReader;n.onload=function(){var t=n.result;e(a).find(".foilConfSvg .draggable.logo").attr("xlink:href",t);var i=new Image;i.onload=function(){var t,n;t=i.width,n=i.height,t*=4,n*=4,e(a).find(".foilConfSvg .draggable.logo").width(t),e(a).find(".foilConfSvg .draggable.logo").height(n),e(a).find(".foilConfSvg .draggable.logo").attr("width",t),e(a).find(".foilConfSvg .draggable.logo").attr("height",n)},i.src=t},n.readAsDataURL(i.files[0])}),e(a).find(".foilConfSvg")[0].addEventListener("dragover",function(e){e.preventDefault()},!0),e(a).find(".foilConfSvg")[0].addEventListener("dragstart",function(e){e.preventDefault()},!0),e(a).find(".foilConfSvg .draggable.logo")[0].addEventListener("load",function(e){!function(e){var t,a,i=e.target;function n(e){var t=i.getScreenCTM();return{x:(e.clientX-t.e)/t.a,y:(e.clientY-t.f)/t.d}}function o(e){t=null}i.addEventListener("mousedown",function(e){e.target.classList.contains("draggable")&&(t=e.target,(a=n(e)).x-=parseFloat(t.getAttributeNS(null,"x")),a.y-=parseFloat(t.getAttributeNS(null,"y")))}),i.addEventListener("mousemove",function(e){if(t){e.preventDefault();var i=n(e);t.setAttributeNS(null,"x",i.x-a.x),t.setAttributeNS(null,"y",i.y-a.y)}}),i.addEventListener("mouseup",o),i.addEventListener("mouseleave",o)}(e)},!0),e(".svgZoomIn").on("mousedown",function(){i=setInterval(function(){var t=e(a).find(".foilConfSvg .draggable.logo").width(),i=e(a).find(".foilConfSvg .draggable.logo").height();e(a).find(".foilConfSvg .draggable.logo").width(t+4),e(a).find(".foilConfSvg .draggable.logo").height(i+4),e(a).find(".foilConfSvg .draggable.logo").attr("width",t+4),e(a).find(".foilConfSvg .draggable.logo").attr("height",i+4)},50)}),e(".svgZoomIn").on("mouseup",function(){clearInterval(i)}),e(".svgZoomOut").on("mousedown",function(){n=setInterval(function(){var t=e(a).find(".foilConfSvg .draggable.logo").width(),i=e(a).find(".foilConfSvg .draggable.logo").height();e(a).find(".foilConfSvg .draggable.logo").width(t-4),e(a).find(".foilConfSvg .draggable.logo").height(i-4),e(a).find(".foilConfSvg .draggable.logo").attr("width",t-4),e(a).find(".foilConfSvg .draggable.logo").attr("height",i-4)},50)}),e(".svgZoomOut").on("mouseup",function(){clearInterval(n)}),e(".list-foil-configurator").find('button[type="reset"]').on("click",function(t){t.preventDefault(),e(".list-foil-configurator").find("form")[0].reset(),e("#svg-object")[0].contentDocument.location.reload(!0),e(".pcr-btn").each(function(t,a){e(a).css("background-color",e(a).val()),e(a).parent().find(".pcr-selection p").html(""),e(a).parent().find(".pcr-current-color").css("color",e(a).val())})}),e(".list-foil-configurator").find('button[type="submit"]').on("click",function(t){t.preventDefault(),function(e,t,a){var i=document.createElement("a"),n=new XMLSerializer,o=new Blob([n.serializeToString(e)],{type:a});i.href=URL.createObjectURL(o),i.download=t,i.click()}(e(a).find(".foilConfSvg")[0],"myfilename.svg","image/svg+xml")})})}}}}}(jQuery),function(e){var t=window.JUMO=window.JUMO||{},a=t.main={init:function(){a.detectMobile(),a.registerEvents(),["initExternal","form","util","waypoints","selector","tablesaw","modals","share","archive","mailmodal","notifications","configurator","articlenosearch","foilconfig","lazyloadmediumzoom"].forEach(function(e){t.hasOwnProperty(e)&&"function"==typeof t[e].init?t[e].init():t.log("ERROR: Could not init ",e)}),t.util.processDynamic.add(function(a){a.find(".btn, button").click(function(e){var a=(new Date).getTime();if(this.clickDelay&&this.clickDelay>a)return t.log("Click forbidden",a),e.preventDefault(),void e.stopImmediatePropagation();t.log("Click allowed",a),this.clickDelay=a+600}),a.find("[data-click-action]").click(function(a){var i,n=e(this),o=n.attr("data-click-action").split(",");switch(o[0]){case"state-toggle":i=o[2]?e(o[2]):n.parents(".state-toggle").eq(0),t.log("conatiner",i),i.children().attr("hidden",""),i.find(o[1]).removeAttr("hidden"),a.preventDefault(),a.stopImmediatePropagation();break;default:t.log("No data-click-action for ",o,a)}});var i=Handlebars.compile('\n<aside id="FeedbackModal" class="modal feedback-modal">\n    <div id="feedBackForm" class="feedback">\n        <button class="close-x" role="button" data-toggle="collapse" data-dismiss="modal" aria-label="Close"><span class="circle-bg"></span></button>\n            <div class="search-body search-body--flex">\n                <h3>{{{title}}}</h3>\n                <p>{{info}}</p>\n\n                <form action="#">\n                    <div class="form-group my-3">\n                      <textarea name="field5" placeholder="Ihre Rückmeldung"></textarea>\n                      <div class="form-error-info">Error-info</div>\n                    </div>\n                    <div class="form-group my-3">\n                      <input name="email" type="email" placeholder="E-Mail für Rückfragen (optional)">\n                      <div class="form-error-info">Error-info</div>\n                    </div>\n                    <div class="form-group">\n                      <button class="btn btn--general btn--ghost--dark" type="reset" data-dismiss="modal">Verwerfen</button>\n                      <button class="btn btn--general btn--hero" type="submit" data-dismiss="modal">Absenden</button>\n                    </div>\n                </form>\n          </div>\n    </div>\n</aside>');e(".feedback-enabled .accordion__inner").each(function(){var a=e(this),n=a.prev(".toggle-handle"),o=(a.attr("id"),n.text().trim());if($container=a,!$container.find(".feedback-buttons").length){var r=e('<div class="feedback-buttons">Hilfreich?\n                            <button class="icon-thumbs-up" data-toggle="modal" data-target="#FeedbackModal"></button>\n                            <button class="icon-thumbs-down" data-target="#FeedbackModal"></button>\n                        </div>'),c=r.find("button");a.append(r),r.find(".icon-thumbs-up").click(function(){l(e(this))&&s(!0,void 0)}),r.find(".icon-thumbs-down").click(function(){if(l(e(this))){var a=e(i({title:'<span class="light">Ihre Rückmeldung zu</span> „'+o+"“",info:"Bitte helfen Sie unsere Seite besser zu machen: Welche Information fehlen Ihnen im genannten Abschnitt? Ist irgendetwas falsch dargestellt?"}));a.find('[data-dismiss="modal"]').click(function(){a.removeClass("open"),setTimeout(function(){a.remove()},1e3)}),t.$body.append(a),t.util.processDynamic(a),a.find("form").submit(function(e){e.preventDefault(),e.stopImmediatePropagation(),s(!1,void 0)}),setTimeout(function(){a.addClass("open"),a.find("textarea").focus()},300)}})}function s(e,a){t.log("sendFeedback(",e,a,");")}function l(e){return e.toggleClass("active"),!!e.is(".active")&&(c.removeClass("active"),e.addClass("active"),!0)}})})},registerEvents:function(){},detectMobile:function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(t.mobile=!0,e("body, html").addClass("mobile")),t.hasTouch=!1,e("body").on("touchstart touchmove touchend",function a(){e("body").off("touchstart touchmove touchend",a),t.hasTouch=!0,e("body, html").addClass("touch")})}};t.main.init(),window.hasOwnProperty("Delayer")&&Delayer.trigger()}(jQuery);
}catch(e){console.log("Module 'custom_config': ",e);}
try{var themewcmModule = {};

if (jQuery.isEmptyObject(themewcmModule)) {
	
	//console.log("init themewcmModule...");
	
    var initializeThemeWcmModul = function() {
    	console.log("[Initialize Theme WCM JS Module");
    }
    
    var certificate_download = function(value, objID) {
    	document.getElementById(objID).href=value;
    }
    
    var getRequestParameters = function(k) {
		 	var parameters={};
		 	location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(s,k,v){parameters[k]=v})
		 	return k?parameters[k]:parameters;
	}
	    
	var modifiedPdpLangSwitchUrls = function() {
		
		var pdpId = getRequestParameters("pdpId");
		
		if (pdpId && pdpId.length>0) {
			var pdpIdQueryString = "pdpId="+pdpId;
 			
 			//var allUrlPdpLangs = $( "ul.widget-lang-languages" ).find( "a.widgetMenuUrlLangSwitch" );
 			
 			$( "ul.widget-lang-languages" ).find( "a.widgetMenuUrlLangSwitch" ).each(function() {
 			    var href = $(this).attr('href');
 			    href += (href.match(/\?/) ? '&' : '?') + pdpIdQueryString;
 			    $(this).attr('href', href);
 			});
		}
		
	}
	
	
	var modifiedLangSwitchUrls = function(paraName) {
		
		var paraValue = getRequestParameters(paraName);
		
		if (paraValue && paraValue.length>0) {
			var paraQueryString = paraName+"="+paraValue;
 			
 			$( "ul.widget-lang-languages" ).find( "a.widgetMenuUrlLangSwitch" ).each(function() {
 			    var href = $(this).attr('href');
 			    href += (href.match(/\?/) ? '&' : '?') + paraQueryString;
 			    $(this).attr('href', href);
 			});
		}
		
	}
	
	
	var formatStrToDate = function(dateString, localeString) {
		var releaseDate = new Date(dateString);
    	var releaseDateFormated = releaseDate.toLocaleDateString(JUMO.locale);
    	return releaseDateFormated;
    }
	
   	themewcmModule.initializeThemeWcmModul = initializeThemeWcmModul;
   	themewcmModule.certificate_download = certificate_download;
   	themewcmModule.getRequestParameters = getRequestParameters;
   	themewcmModule.modifiedLangSwitchUrls = modifiedLangSwitchUrls;
	themewcmModule.modifiedPdpLangSwitchUrls = modifiedPdpLangSwitchUrls;
	themewcmModule.formatStrToDate = formatStrToDate;
	
} else {
	//console.log("Exist themewcmModule already");
}

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


}catch(e){console.log("Module 'wp_status_bar': ",e);}
try{(function(){
if(!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;
}
if(_2){
var _3=_2.backgroundImage;
if((_2.borderTopColor==_2.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"))){
document.getElementsByTagName("body")[0].className+=" a11yHighContrast";
}
document.body.removeChild(_1);
}
});
}
})();


}catch(e){console.log("Module 'wp_high_contrast': ",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{if (typeof amdOriginal !== 'undefined') {

  define.amd = amdOriginal;

}
}catch(e){console.log("Module 'postload_config': ",e);}
try{(function(_1,_2){
var _3="selected",_4=_1.document,_5=i$.addClass,_6=i$.removeClass,_7=wpModules.theme.WindowUtils,_8=_2,_9=function(_a,_b,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 _c=_d(),_e=[];
for(var i=0,l=_c.length;i<l;i++){
_e.push("nm:oid:"+_c[i]);
}
var _f={resURI:"nm:oid:"+_10(_11()),contribURI:_e},_12={"node":_a.parentNode,"menuId":_b,"jsonQuery":_f,"params":{"templateId":"simpleMenuTemplate","alignment":"right","autoScroll":false},"onClose":function(){
_13(_a);
}};
_14(_a);
wptheme.contextMenu.init(_12);
return true;
}else{
return false;
}
},_14=function(_15){
_5(_15.parentNode,_3);
},_13=function(_16){
_6(_16.parentNode,_3);
},_17=function(_18,_19,_1a){
_18.setAttribute(_19,_1a);
},_11=function(){
var r=_7.getWindow(_7.VIEW_AREA);
return r;
},_10=function(win){
var r=win.ibmCfg.portalConfig.currentPageOID;
return r;
},_d=function(){
var r=_7.getPageIDs();
return r;
};
_8.open=_9;
})(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);}