!function(e){function t(t,n,o){if("object"!=typeof t&&(t={}),o){if("boolean"!=typeof t.ismenu){var s=o.children();t.ismenu=1==s.length&&s.is(n.panelnodetype)}return t}if("object"!=typeof t.onclick&&(t.onclick={}),"undefined"!=typeof t.onclick.setlocationhref&&(e[r].deprecated("onclick.setlocationhref option","!onclick.preventdefault"),"boolean"==typeof t.onclick.setlocationhref&&(t.onclick.preventdefault=!t.onclick.setlocationhref)),t=e.extend(!0,{},e[r].defaults,t),e[r].useoverflowscrollingfallback()){switch(t.position){case"top":case"right":case"bottom":e[r].debug('position: "'+t.position+'" not supported when using the overflowscrolling-fallback.'),t.position="left"}switch(t.zposition){case"front":case"next":e[r].debug('z-position: "'+t.zposition+'" not supported when using the overflowscrolling-fallback.'),t.zposition="back"}}return t}function n(t){return"object"!=typeof t&&(t={}),"undefined"!=typeof t.panelnodetype&&(e[r].deprecated("panelnodetype configuration option","panelnodetype"),t.panelnodetype=t.panelnodetype),t=e.extend(!0,{},e[r].configuration,t),"string"!=typeof t.pageselector&&(t.pageselector="> "+t.pagenodetype),t}function o(){c.$wndw=e(window),c.$html=e("html"),c.$body=e("body"),c.$allmenus=e(),e.each([p,f,u],function(e,t){t.add=function(e){e=e.split(" ");for(var n in e)t[e[n]]=t.mm(e[n])}}),p.mm=function(e){return"mm-"+e},p.add("menu ismenu panel list subtitle selected label spacer current highest hidden page blocker modal background opened opening subopened subopen fullsubopen subclose nooverflowscrolling"),p.umm=function(e){return"mm-"==e.slice(0,3)&&(e=e.slice(3)),e},f.mm=function(e){return"mm-"+e},f.add("parent style scrolltop offetleft"),u.mm=function(e){return e+".mm"},u.add("toggle open opening opened close closing closed update setpage setselected transitionend touchstart touchend click keydown keyup resize"),e[r].support.touch||(u.touchstart=u.mm("mousedown"),u.touchend=u.mm("mouseup")),e[r]._c=p,e[r]._d=f,e[r]._e=u,e[r].glbl=c,e[r].useoverflowscrollingfallback(m)}function s(t,n){if(t.hasclass(p.current))return!1;var o=e("."+p.panel,n),s=o.filter("."+p.current);return o.removeclass(p.highest).removeclass(p.current).not(t).not(s).addclass(p.hidden),t.hasclass(p.opened)?s.addclass(p.highest).removeclass(p.opened).removeclass(p.subopened):(t.addclass(p.highest),s.addclass(p.subopened)),t.removeclass(p.hidden).removeclass(p.subopened).addclass(p.current).addclass(p.opened),"open"}function i(){return c.$scrolltopnode||(0!=c.$html.scrolltop()?c.$scrolltopnode=c.$html:0!=c.$body.scrolltop()&&(c.$scrolltopnode=c.$body)),c.$scrolltopnode?c.$scrolltopnode.scrolltop():0}function l(t,n,o){var s=e[r].support.transition;"webkittransition"==s?t.one("webkittransitionend",n):s?t.one(u.transitionend,n):settimeout(n,o)}function a(t,n,o,s){"string"==typeof t&&(t=e(t));var i=o?u.touchstart:u.click;s||t.off(i),t.on(i,function(e){e.preventdefault(),e.stoppropagation(),n.call(this,e)})}var r="mmenu",d="4.1.1";if(!e[r]){var c={$wndw:null,$html:null,$body:null,$page:null,$blck:null,$allmenus:null,$scrolltopnode:null},p={},u={},f={},h=0;e[r]=function(e,t,n){return c.$allmenus=c.$allmenus.add(e),this.$menu=e,this.opts=t,this.conf=n,this.serialnr=h++,this._init(),this},e[r].prototype={open:function(){return this._opensetup(),this._openfinish(),"open"},_opensetup:function(){var e=i();this.$menu.addclass(p.current),c.$allmenus.not(this.$menu).trigger(u.close),c.$page.data(f.style,c.$page.attr("style")||"").data(f.scrolltop,e).data(f.offetleft,c.$page.offset().left);var t=0;c.$wndw.off(u.resize).on(u.resize,function(e,n){if(c.$html.hasclass(p.opened)||n){var o=c.$wndw.width();o!=t&&(t=o,c.$page.width(o-c.$page.data(f.offetleft)))}}).trigger(u.resize,[!0]),this.conf.preventtabbing&&c.$wndw.off(u.keydown).on(u.keydown,function(e){return 9==e.keycode?(e.preventdefault(),!1):void 0}),this.opts.modal&&c.$html.addclass(p.modal),this.opts.movebackground&&c.$html.addclass(p.background),"left"!=this.opts.position&&c.$html.addclass(p.mm(this.opts.position)),"back"!=this.opts.zposition&&c.$html.addclass(p.mm(this.opts.zposition)),this.opts.classes&&c.$html.addclass(this.opts.classes),c.$html.addclass(p.opened),this.$menu.addclass(p.opened),c.$page.scrolltop(e),this.$menu.scrolltop(0)},_openfinish:function(){var e=this;l(c.$page,function(){e.$menu.trigger(u.opened)},this.conf.transitionduration),c.$html.addclass(p.opening),this.$menu.trigger(u.opening),window.scrollto(0,1)},close:function(){var e=this;return l(c.$page,function(){e.$menu.removeclass(p.current).removeclass(p.opened),c.$html.removeclass(p.opened).removeclass(p.modal).removeclass(p.background).removeclass(p.mm(e.opts.position)).removeclass(p.mm(e.opts.zposition)),e.opts.classes&&c.$html.removeclass(e.opts.classes),c.$wndw.off(u.resize).off(u.keydown),c.$page.attr("style",c.$page.data(f.style)),c.$scrolltopnode&&c.$scrolltopnode.scrolltop(c.$page.data(f.scrolltop)),e.$menu.trigger(u.closed)},this.conf.transitionduration),c.$html.removeclass(p.opening),this.$menu.trigger(u.closing),"close"},_init:function(){if(this.opts=t(this.opts,this.conf,this.$menu),this.direction=this.opts.slidingsubmenus?"horizontal":"vertical",this._initpage(c.$page),this._initmenu(),this._initblocker(),this._initpanles(),this._initlinks(),this._initopenclose(),this._bindcustomevents(),e[r].addons)for(var n=0;n').appendto(c.$body)),a(c.$blck,function(){c.$html.hasclass(p.modal)||t.$menu.trigger(u.close)},!0,!0)},_initpage:function(t){t||(t=e(this.conf.pageselector,c.$body),t.length>1&&(e[r].debug("multiple nodes found for the page-node, all nodes are wrapped in one <"+this.conf.pagenodetype+">."),t=t.wrapall("<"+this.conf.pagenodetype+" />").parent())),t.addclass(p.page),c.$page=t},_initmenu:function(){this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("*")).filter("[id]").each(function(){e(this).attr("id",p.mm(e(this).attr("id")))})),this.$menu.contents().each(function(){3==e(this)[0].nodetype&&e(this).remove()}),this.$menu.prependto("body").addclass(p.menu),this.$menu.addclass(p.mm(this.direction)),this.opts.classes&&this.$menu.addclass(this.opts.classes),this.opts.ismenu&&this.$menu.addclass(p.ismenu),"left"!=this.opts.position&&this.$menu.addclass(p.mm(this.opts.position)),"back"!=this.opts.zposition&&this.$menu.addclass(p.mm(this.opts.zposition))},_initpanles:function(){var t=this;this.__refactorclass(e("."+this.conf.listclass,this.$menu),"list"),this.opts.ismenu&&e("ul, ol",this.$menu).not(".mm-nolist").addclass(p.list);var n=e("."+p.list+" > li",this.$menu);this.__refactorclass(n.filter("."+this.conf.selectedclass),"selected"),this.__refactorclass(n.filter("."+this.conf.labelclass),"label"),this.__refactorclass(n.filter("."+this.conf.spacerclass),"spacer"),n.off(u.setselected).on(u.setselected,function(t,o){t.stoppropagation(),n.removeclass(p.selected),"boolean"!=typeof o&&(o=!0),o&&e(this).addclass(p.selected)}),this.__refactorclass(e("."+this.conf.panelclass,this.$menu),"panel"),this.$menu.children().filter(this.conf.panelnodetype).add(this.$menu.find("."+p.list).children().children().filter(this.conf.panelnodetype)).addclass(p.panel);var o=e("."+p.panel,this.$menu);o.each(function(n){var o=e(this),s=o.attr("id")||p.mm("m"+t.serialnr+"-p"+n);o.attr("id",s)}),o.find("."+p.panel).each(function(){var n=e(this),o=n.is("ul, ol")?n:n.find("ul ,ol").first(),s=n.parent(),i=s.find("> a, > span"),l=s.closest("."+p.panel);if(n.data(f.parent,s),s.parent().is("."+p.list)){var a=e('').insertbefore(i);i.is("a")||a.addclass(p.fullsubopen),"horizontal"==t.direction&&o.prepend('
'+i.text()+"")}});var s="horizontal"==this.direction?u.open:u.toggle;if(o.each(function(){var n=e(this),o=n.attr("id");a(e('a[href="#'+o+'"]',t.$menu),function(){n.trigger(s)})}),"horizontal"==this.direction){var i=e("."+p.list+" > li."+p.selected,this.$menu);i.add(i.parents("li")).parents("li").removeclass(p.selected).end().each(function(){var t=e(this),n=t.find("> ."+p.panel);n.length&&(t.parents("."+p.panel).addclass(p.subopened),n.addclass(p.opened))}).closest("."+p.panel).addclass(p.opened).parents("."+p.panel).addclass(p.subopened)}else e("li."+p.selected,this.$menu).addclass(p.opened).parents("."+p.selected).removeclass(p.selected);var l=o.filter("."+p.opened);l.length||(l=o.first()),l.addclass(p.opened).last().addclass(p.current),"horizontal"==this.direction&&o.find("."+p.panel).appendto(this.$menu)},_initlinks:function(){var t=this,n=e("."+p.list+" > li > a",this.$menu).not("."+p.subopen).not("."+p.subclose).not('[rel="external"]').not('[target="_blank"]');n.off(u.click).on(u.click,function(n){var o=e(this),s=o.attr("href");t.__valueorfn(t.opts.onclick.setselected,o)&&o.parent().trigger(u.setselected);var i=t.__valueorfn(t.opts.onclick.preventdefault,o,"#"==s.slice(0,1));i&&(n.preventdefault(),n.stoppropagation()),t.__valueorfn(t.opts.onclick.blockui,o,!i)&&c.$html.addclass(p.blocking),t.__valueorfn(t.opts.onclick.close,o,i)&&t.$menu.triggerhandler(u.close)})},_initopenclose:function(){var t=this,n=this.$menu.attr("id");n&&n.length&&(this.conf.clone&&(n=p.umm(n)),a(e('a[href="#'+n+'"]'),function(){t.$menu.trigger(u.open)}));var n=c.$page.attr("id");n&&n.length&&a(e('a[href="#'+n+'"]'),function(){t.$menu.trigger(u.close)},!1,!0)},__valueorfn:function(e,t,n){return"function"==typeof e?e.call(t[0]):"undefined"==typeof e&&"undefined"!=typeof n?n:e},__refactorclass:function(e,t){e.removeclass(this.conf[t+"class"]).addclass(p[t])}},e.fn[r]=function(s,i){return c.$wndw||o(),s=t(s,i),i=n(i),this.each(function(){var t=e(this);t.data(r)||t.data(r,new e[r](t,s,i))})},e[r].version=d,e[r].defaults={position:"left",zposition:"back",movebackground:!0,slidingsubmenus:!0,modal:!1,classes:"",onclick:{setselected:!0}},e[r].configuration={preventtabbing:!0,panelclass:"panel",listclass:"list",selectedclass:"selected",labelclass:"label",spacerclass:"spacer",pagenodetype:"div",panelnodetype:"ul, ol, div",transitionduration:400},function(){var t=window.document,n=window.navigator.useragent,o="ontouchstart"in t,s="webkitoverflowscrolling"in t.documentelement.style,i=function(){var e=document.createelement("div").style;return"webkittransition"in e?"webkittransition":"transition"in e}(),l=function(){return n.indexof("android")>=0?2.4>parsefloat(n.slice(n.indexof("android")+8)):!1}();e[r].support={touch:o,transition:i,oldandroidbrowser:l,overflowscrolling:function(){return o?s?!0:l?!1:!0:!0}()}}(),e[r].useoverflowscrollingfallback=function(e){return c.$html?("boolean"==typeof e&&c.$html[e?"addclass":"removeclass"](p.nooverflowscrolling),c.$html.hasclass(p.nooverflowscrolling)):(m=e,e)},e[r].debug=function(){},e[r].deprecated=function(e,t){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn("mmenu: "+e+" is deprecated, use "+t+" instead.")};var m=!e[r].support.overflowscrolling}}(jquery);
!function(t){var e="mmenu",n="counters";t[e].prototype["_addon_"+n]=function(){var o=this,u=this.opts[n],a=t[e]._c,r=t[e]._d,d=t[e]._e;a.add("counter noresults"),d.add("updatecounters"),"boolean"==typeof u&&(u={add:u,update:u}),"object"!=typeof u&&(u={}),u=t.extend(!0,{},t[e].defaults[n],u),u.count&&(t[e].deprecated('the option "count" for counters, the option "update"'),u.update=u.count),this.__refactorclass(t("em."+this.conf.counterclass,this.$menu),"counter");var s=t("."+a.panel,this.$menu);if(u.add&&s.each(function(){var e=t(this),n=e.data(r.parent);if(n){var o=t(''),u=n.find("> a."+a.subopen);u.parent().find("em."+a.counter).length||u.before(o)}}),u.update){var c=t("em."+a.counter,this.$menu);c.off(d.updatecounters).on(d.updatecounters,function(t){t.stoppropagation()}).each(function(){var e=t(this),n=t(e.next().attr("href"),o.$menu);n.is("."+a.list)||(n=n.find("> ."+a.list)),n.length&&e.on(d.updatecounters,function(){var t=n.children().not("."+a.label).not("."+a.subtitle).not("."+a.hidden).not("."+a.noresults);e.html(t.length)})}).trigger(d.updatecounters),this.$menu.on(d.update,function(){c.trigger(d.updatecounters)})}},t[e].defaults[n]={add:!1,update:!1},t[e].configuration.counterclass="counter",t[e].addons=t[e].addons||[],t[e].addons.push(n)}(jquery);
!function(e){function t(e,t,a){return t>e&&(e=t),e>a&&(e=a),e}var a="mmenu",o="dragopen";e[a].prototype["_addon_"+o]=function(){var n=this,r=this.opts[o];if(e.fn.hammer){var d=e[a]._c,i=(e[a]._d,e[a]._e);d.add("dragging"),i.add("dragleft dragright dragup dragdown dragend");var s=e[a].glbl;if("boolean"==typeof r&&(r={open:r}),"object"!=typeof r&&(r={}),"number"!=typeof r.maxstartpos&&(r.maxstartpos="left"==this.opts.position||"right"==this.opts.position?150:50),r=e.extend(!0,{},e[a].defaults[o],r),r.open){var g=0,p=!1,c=0,h=0,l="width";switch(this.opts.position){case"left":case"right":l="width";break;default:l="height"}switch(this.opts.position){case"left":var f={events:i.dragleft+" "+i.dragright,open_dir:"right",close_dir:"left",delta:"deltax",page:"pagex",negative:!1};break;case"right":var f={events:i.dragleft+" "+i.dragright,open_dir:"left",close_dir:"right",delta:"deltax",page:"pagex",negative:!0};break;case"top":var f={events:i.dragup+" "+i.dragdown,open_dir:"down",close_dir:"up",delta:"deltay",page:"pagey",negative:!1};break;case"bottom":var f={events:i.dragup+" "+i.dragdown,open_dir:"up",close_dir:"down",delta:"deltay",page:"pagey",negative:!0}}$dragnode=this.__valueorfn(r.pagenode,this.$menu,s.$page),"string"==typeof $dragnode&&($dragnode=e($dragnode)),$dragnode.hammer().on(i.touchstart,function(e){switch(n.opts.position){case"right":case"bottom":e[f.page]>=s.$wndw[l]()-r.maxstartpos&&(g=1);break;default:e[f.page]<=r.maxstartpos&&(g=1)}}).on(f.events+" "+i.dragend,function(e){g>0&&(e.gesture.preventdefault(),e.stoppropagation())}).on(f.events,function(e){var a=f.negative?-e.gesture[f.delta]:e.gesture[f.delta];if(p=a>c?f.open_dir:f.close_dir,c=a,c>r.threshold&&1==g){if(s.$html.hasclass(d.opened))return;g=2,n._opensetup(),s.$html.addclass(d.dragging),h=t(s.$wndw[l]()*n.conf[o][l].perc,n.conf[o][l].min,n.conf[o][l].max)}if(2==g){var i=s.$page;switch(n.opts.zposition){case"front":i=n.$menu;break;case"next":i=i.add(n.$menu)}i.css(n.opts.position,t(c,10,h))}}).on(i.dragend,function(){if(2==g){var e=s.$page;switch(n.opts.zposition){case"front":e=n.$menu;break;case"next":e=e.add(n.$menu)}s.$html.removeclass(d.dragging),e.css(n.opts.position,""),p==f.open_dir?n._openfinish():n.close()}g=0})}}},e[a].defaults[o]={open:!1,threshold:50},e[a].configuration[o]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}},e[a].addons=e[a].addons||[],e[a].addons.push(o)}(jquery);
!function(e){var t="mmenu",a="header";e[t].prototype["_addon_"+a]=function(){var n=this,r=this.opts[a],d=this.conf[a],s=e[t]._c,i=(e[t]._d,e[t]._e);s.add("header hasheader prev next title titletext"),i.add("updateheader");var o=e[t].glbl;if("boolean"==typeof r&&(r={add:r,update:r}),"object"!=typeof r&&(r={}),r=e.extend(!0,{},e[t].defaults[a],r),r.add){var h=r.content?r.content:'';e('').prependto(this.$menu).append(h)}var p=e("div."+s.header,this.$menu);if(p.length&&this.$menu.addclass(s.hasheader),r.update&&p.length){var l=p.find("."+s.title),u=p.find("."+s.prev),f=p.find("."+s.next),c="#"+o.$page.attr("id");u.add(f).on(i.click,function(t){t.preventdefault(),t.stoppropagation();var a=e(this).attr("href");"#"!==a&&(a==c?n.$menu.trigger(i.close):e(a,n.$menu).trigger(i.open))}),e("."+s.panel,this.$menu).each(function(){var t=e(this),a=e("."+d.panelheaderclass,t).text(),n=e("."+d.panelprevclass,t).attr("href"),o=e("."+d.panelnextclass,t).attr("href");a||(a=e("."+s.subclose,t).text()),a||(a=r.title),n||(n=e("."+s.subclose,t).attr("href")),t.off(i.updateheader).on(i.updateheader,function(e){e.stoppropagation(),l[a?"show":"hide"]().text(a),u[n?"show":"hide"]().attr("href",n),f[o?"show":"hide"]().attr("href",o)}),t.on(i.open,function(){e(this).trigger(i.updateheader)})}).filter("."+s.current).trigger(i.updateheader)}},e[t].defaults[a]={add:!1,content:!1,update:!1,title:"menu"},e[t].configuration[a]={panelheaderclass:"header",panelnextclass:"next",panelprevclass:"prev"},e[t].addons=e[t].addons||[],e[t].addons.push(a)}(jquery);
!function(e){var l="mmenu",s="labels";e[l].prototype["_addon_"+s]=function(){var a=this,o=this.opts[s],n=e[l]._c,t=(e[l]._d,e[l]._e);if(n.add("collapsed"),n.add("fixed fixedlabels original clone"),t.add("updatelabels position scroll"),e[l].support.touch&&(t.scroll+=" "+t.mm("touchmove")),"boolean"==typeof o&&(o={collapse:o}),"object"!=typeof o&&(o={}),o=e.extend(!0,{},e[l].defaults[s],o),o.collapse){this.__refactorclass(e("li."+this.conf.collapsedclass,this.$menu),"collapsed");var i=e("."+n.label,this.$menu);i.each(function(){var l=e(this),s=l.nextuntil("."+n.label,"all"==o.collapse?null:"."+n.collapsed);"all"==o.collapse&&(l.addclass(n.opened),s.removeclass(n.collapsed)),s.length&&(l.wrapinner(""),e('').prependto(l).on(t.click,function(e){e.preventdefault(),l.toggleclass(n.opened),s[l.hasclass(n.opened)?"removeclass":"addclass"](n.collapsed)}))})}else if(o.fixed){if("horizontal"!=this.direction)return;this.$menu.addclass(n.fixedlabels);var d=e("."+n.panel,this.$menu),i=e("."+n.label,this.$menu);d.add(i).off(t.updatelabels+" "+t.position+" "+t.scroll).on(t.updatelabels+" "+t.position+" "+t.scroll,function(e){e.stoppropagation()}),d.each(function(){var l=e(this),s=l.find("."+n.label);if(s.length){var o=l.scrolltop(),i=n.hassearch&&a.$menu.hasclass(n.hassearch),d=n.hasheader&&a.$menu.hasclass(n.hasheader),r=i?d?100:50:d?60:0;s.each(function(){var s=e(this);s.wrapinner("").wrapinner("");var a,i,d,p=s.find("> div"),c=e();s.on(t.updatelabels,function(){o=l.scrolltop(),s.hasclass(n.hidden)||(c=s.nextall("."+n.label).not("."+n.hidden).first(),a=s.offset().top+o,i=c.length?c.offset().top+o:!1,d=p.height(),s.trigger(t.position))}),s.on(t.position,function(){var e=0;i&&o+r>i-d?e=i-a-d:o+r>a&&(e=o-a+r),p.css("top",e)})}),l.on(t.updatelabels,function(){o=l.scrolltop(),s.trigger(t.position)}).on(t.scroll,function(){s.trigger(t.updatelabels)})}}),this.$menu.on(t.update,function(){d.trigger(t.updatelabels)}).on(t.opening,function(){d.trigger(t.updatelabels).trigger(t.scroll)})}},e[l].defaults[s]={fixed:!1,collapse:!1},e[l].configuration.collapsedclass="collapsed",e[l].addons=e[l].addons||[],e[l].addons.push(s)}(jquery);
!function(e){function s(e){switch(e){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1}var n="mmenu",t="searchfield";e[n].prototype["_addon_"+t]=function(){var a=this,r=this.opts[t],o=e[n]._c,l=e[n]._d,d=e[n]._e;if(o.add("search hassearch noresults nosubresults counter"),d.add("search reset change"),"boolean"==typeof r&&(r={add:r,search:r}),"object"!=typeof r&&(r={}),r=e.extend(!0,{},e[n].defaults[t],r),r.add&&(e('').prependto(this.$menu).append(''),r.noresults&&e("ul, ol",this.$menu).first().append(''+r.noresults+"")),e("div."+o.search,this.$menu).length&&this.$menu.addclass(o.hassearch),r.search){var i=e("div."+o.search,this.$menu).find("input");if(i.length){var u=e("."+o.panel,this.$menu),h=e("."+o.list+"> li."+o.label,this.$menu),c=e("."+o.list+"> li",this.$menu).not("."+o.subtitle).not("."+o.label).not("."+o.noresults),f="> a";r.showlinksonly||(f+=", > span"),i.off(d.keyup+" "+d.change).on(d.keyup,function(e){s(e.keycode)||a.$menu.trigger(d.search)}).on(d.change,function(){a.$menu.trigger(d.search)}),this.$menu.off(d.reset+" "+d.search).on(d.reset+" "+d.search,function(e){e.stoppropagation()}).on(d.reset,function(){a.$menu.trigger(d.search,[""])}).on(d.search,function(s,n){"string"==typeof n?i.val(n):n=i.val(),n=n.tolowercase(),u.scrolltop(0),c.add(h).addclass(o.hidden),c.each(function(){var s=e(this);e(f,s).text().tolowercase().indexof(n)>-1&&s.add(s.prevall("."+o.label).first()).removeclass(o.hidden)}),e(u.get().reverse()).each(function(){var s=e(this),n=s.data(l.parent);if(n){var t=s.add(s.find("> ."+o.list)).find("> li").not("."+o.subtitle).not("."+o.label).not("."+o.hidden);t.length?n.removeclass(o.hidden).removeclass(o.nosubresults).prevall("."+o.label).first().removeclass(o.hidden):(s.hasclass(o.current)&&n.trigger(d.open),n.addclass(o.nosubresults))}}),a.$menu[c.not("."+o.hidden).length?"removeclass":"addclass"](o.noresults),a.$menu.trigger(d.update)})}}},e[n].defaults[t]={add:!1,search:!1,showlinksonly:!0,placeholder:"search",noresults:"no results found."},e[n].addons=e[n].addons||[],e[n].addons.push(t)}(jquery);