/*
* jquery mmenu v4.7.4
* @requires jquery 1.7.0 or later
*
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
* www.frebsite.nl
*
* licensed under the mit license:
* http://en.wikipedia.org/wiki/mit_license
*/
!function(e){function n(){l=!0,d.$wndw=e(window),d.$html=e("html"),d.$body=e("body"),e.each([i,a,o],function(e,n){n.add=function(e){e=e.split(" ");for(var t in e)n[e[t]]=n.mm(e[t])}}),i.mm=function(e){return"mm-"+e},i.add("wrapper menu inline panel nopanel list nolist subtitle selected label spacer current highest hidden opened subopened subopen fullsubopen subclose"),i.umm=function(e){return"mm-"==e.slice(0,3)&&(e=e.slice(3)),e},a.mm=function(e){return"mm-"+e},a.add("parent"),o.mm=function(e){return e+".mm"},o.add("toggle open close setselected transitionend webkittransitionend mousedown mouseup touchstart touchmove touchend scroll resize click keydown keyup"),e[t]._c=i,e[t]._d=a,e[t]._e=o,e[t].glbl=d}var t="mmenu",s="4.7.4";if(!e[t]){var i={},a={},o={},l=!1,d={$wndw:null,$html:null,$body:null};e[t]=function(n,s,i){this.$menu=n,this.opts=s,this.conf=i,this.vars={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initmenu(),this._initanchors(),this._initevents();var a=this.$menu.children(this.conf.panelnodetype);for(var o in e[t].addons)e[t].addons[o]._add.call(this),e[t].addons[o]._add=function(){},e[t].addons[o]._setup.call(this);return this._init(a),"function"==typeof this.___debug&&this.___debug(),this},e[t].version=s,e[t].addons={},e[t].uniqueid=0,e[t].defaults={classes:"",slidingsubmenus:!0,onclick:{setselected:!0}},e[t].configuration={panelnodetype:"ul, ol, div",transitionduration:400,openinginterval:25,classnames:{panel:"panel",selected:"selected",label:"label",spacer:"spacer"}},e[t].prototype={_init:function(n){n=n.not("."+i.nopanel),n=this._initpanels(n);for(var s in e[t].addons)e[t].addons[s]._init.call(this,n);this._update()},_initmenu:function(){this.opts.offcanvas&&this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("*")).filter("[id]").each(function(){e(this).attr("id",i.mm(e(this).attr("id")))})),this.$menu.contents().each(function(){3==e(this)[0].nodetype&&e(this).remove()}),this.$menu.parent().addclass(i.wrapper);var n=[i.menu];n.push(i.mm(this.opts.slidingsubmenus?"horizontal":"vertical")),this.opts.classes&&n.push(this.opts.classes),this.$menu.addclass(n.join(" "))},_initpanels:function(n){var t=this;this.__findaddback(n,"ul, ol").not("."+i.nolist).addclass(i.list);var s=this.__findaddback(n,"."+i.list).find("> li");this.__refactorclass(s,this.conf.classnames.selected,"selected"),this.__refactorclass(s,this.conf.classnames.label,"label"),this.__refactorclass(s,this.conf.classnames.spacer,"spacer"),s.off(o.setselected).on(o.setselected,function(n,t){n.stoppropagation(),s.removeclass(i.selected),"boolean"!=typeof t&&(t=!0),t&&e(this).addclass(i.selected)}),this.__refactorclass(this.__findaddback(n,"."+this.conf.classnames.panel),this.conf.classnames.panel,"panel"),n.add(this.__findaddback(n,"."+i.list).children().children().filter(this.conf.panelnodetype).not("."+i.nopanel)).addclass(i.panel);var l=this.__findaddback(n,"."+i.panel),d=e("."+i.panel,this.$menu);if(l.each(function(){var n=e(this),s=n.attr("id")||t.__getuniqueid();n.attr("id",s)}),l.each(function(){var n=e(this),s=n.is("ul, ol")?n:n.find("ul ,ol").first(),o=n.parent(),l=o.children("a, span"),d=o.closest("."+i.panel);if(o.parent().is("."+i.list)&&!n.data(a.parent)){n.data(a.parent,o);var r=e('').insertbefore(l);l.is("a")||r.addclass(i.fullsubopen),t.opts.slidingsubmenus&&s.prepend('
'+l.text()+"")}}),this.opts.slidingsubmenus){var r=this.__findaddback(n,"."+i.list).find("> li."+i.selected);r.parents("li").removeclass(i.selected).end().add(r.parents("li")).each(function(){var n=e(this),t=n.find("> ."+i.panel);t.length&&(n.parents("."+i.panel).addclass(i.subopened),t.addclass(i.opened))}).closest("."+i.panel).addclass(i.opened).parents("."+i.panel).addclass(i.subopened)}else{var r=e("li."+i.selected,d);r.parents("li").removeclass(i.selected).end().add(r.parents("li")).addclass(i.opened)}var u=d.filter("."+i.opened);return u.length||(u=l.first()),u.addclass(i.opened).last().addclass(i.current),this.opts.slidingsubmenus&&l.not(u.last()).addclass(i.hidden).end().appendto(this.$menu),l},_initanchors:function(){var n=this;d.$body.on(o.click,"a",function(s){var a=e(this),l=!1,r=n.$menu.find(a).length;for(var u in e[t].addons)if(e[t].addons[u]._clickanchor&&(l=e[t].addons[u]._clickanchor.call(n,a,r)))break;if(!l&&r){var c=a.attr("href")||"";if("#"==c.slice(0,1))try{e(c,n.$menu).is("."+i.panel)&&(l=!0,e(c).trigger(n.opts.slidingsubmenus?o.open:o.toggle))}catch(p){}}if(l&&s.preventdefault(),!l&&r&&a.is("."+i.list+" > li > a")&&!a.is('[rel="external"]')&&!a.is('[target="_blank"]')){n.__valueorfn(n.opts.onclick.setselected,a)&&a.parent().trigger(o.setselected);var h=n.__valueorfn(n.opts.onclick.preventdefault,a,"#"==c.slice(0,1));h&&s.preventdefault(),n.__valueorfn(n.opts.onclick.blockui,a,!h)&&d.$html.addclass(i.blocking),n.__valueorfn(n.opts.onclick.close,a,h)&&n.$menu.trigger(o.close)}})},_initevents:function(){var n=this;this.$menu.on(o.toggle+" "+o.open+" "+o.close,"."+i.panel,function(e){e.stoppropagation()}),this.opts.slidingsubmenus?this.$menu.on(o.open,"."+i.panel,function(){return n._opensubmenuhorizontal(e(this))}):this.$menu.on(o.toggle,"."+i.panel,function(){var n=e(this);n.trigger(n.parent().hasclass(i.opened)?o.close:o.open)}).on(o.open,"."+i.panel,function(){e(this).parent().addclass(i.opened)}).on(o.close,"."+i.panel,function(){e(this).parent().removeclass(i.opened)})},_opensubmenuhorizontal:function(n){if(n.hasclass(i.current))return!1;var t=e("."+i.panel,this.$menu),s=t.filter("."+i.current);return t.removeclass(i.highest).removeclass(i.current).not(n).not(s).addclass(i.hidden),n.hasclass(i.opened)?s.addclass(i.highest).removeclass(i.opened).removeclass(i.subopened):(n.addclass(i.highest),s.addclass(i.subopened)),n.removeclass(i.hidden).addclass(i.current),settimeout(function(){n.removeclass(i.subopened).addclass(i.opened)},this.conf.openinginterval),"open"},_update:function(e){if(this.updates||(this.updates=[]),"function"==typeof e)this.updates.push(e);else for(var n=0,t=this.updates.length;t>n;n++)this.updates[n].call(this,e)},__valueorfn:function(e,n,t){return"function"==typeof e?e.call(n[0]):"undefined"==typeof e&&"undefined"!=typeof t?t:e},__refactorclass:function(e,n,t){return e.filter("."+n).removeclass(n).addclass(i[t])},__findaddback:function(e,n){return e.find(n).add(e.filter(n))},__transitionend:function(e,n,t){var s=!1,i=function(){s||n.call(e[0]),s=!0};e.one(o.transitionend,i),e.one(o.webkittransitionend,i),settimeout(i,1.1*t)},__getuniqueid:function(){return i.mm(e[t].uniqueid++)}},e.fn[t]=function(s,i){return l||n(),s=e.extend(!0,{},e[t].defaults,s),i=e.extend(!0,{},e[t].configuration,i),this.each(function(){var n=e(this);n.data(t)||n.data(t,new e[t](n,s,i))})},e[t].support={touch:"ontouchstart"in window.document}}}(jquery);
/*
* jquery mmenu offcanvas addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(e){var t="mmenu",o="offcanvas";e[t].addons[o]={_init:function(){},_setup:function(){if(this.opts[o]){var t=this,s=this.opts[o],p=this.conf[o];"string"!=typeof p.pageselector&&(p.pageselector="> "+p.pagenodetype),a.$allmenus=(a.$allmenus||e()).add(this.$menu),this.vars.opened=!1;var r=[n.offcanvas];"left"!=s.position&&r.push(n.mm(s.position)),"back"!=s.zposition&&r.push(n.mm(s.zposition)),this.$menu.addclass(r.join(" ")).parent().removeclass(n.wrapper),this.setpage(a.$page),this[o+"_initblocker"](),this[o+"_initwindow"](),this.$menu.on(i.open+" "+i.opening+" "+i.opened+" "+i.close+" "+i.closing+" "+i.closed+" "+i.setpage,function(e){e.stoppropagation()}).on(i.open+" "+i.close+" "+i.setpage,function(e){t[e.type]()}),this.$menu[p.menuinjectmethod+"to"](p.menuwrapperselector)}},_add:function(){n=e[t]._c,s=e[t]._d,i=e[t]._e,n.add("offcanvas slideout modal background opening blocker page"),s.add("style"),i.add("opening opened closing closed setpage"),a=e[t].glbl},_clickanchor:function(e){if(!this.opts[o])return!1;var t=this.$menu.attr("id");if(t&&t.length&&(this.conf.clone&&(t=n.umm(t)),e.is('[href="#'+t+'"]')))return this.open(),!0;if(a.$page){var t=a.$page.attr("id");return t&&t.length&&e.is('[href="#'+t+'"]')?(this.close(),!0):!1}}},e[t].defaults[o]={position:"left",zposition:"back",modal:!1,movebackground:!0},e[t].configuration[o]={pagenodetype:"div",pageselector:null,menuwrapperselector:"body",menuinjectmethod:"prepend"},e[t].prototype.open=function(){if(this.vars.opened)return!1;var e=this;return this._opensetup(),settimeout(function(){e._openfinish()},this.conf.openinginterval),"open"},e[t].prototype._opensetup=function(){var e=this;a.$allmenus.not(this.$menu).trigger(i.close),a.$page.data(s.style,a.$page.attr("style")||""),a.$wndw.trigger(i.resize,[!0]);var t=[n.opened];this.opts[o].modal&&t.push(n.modal),this.opts[o].movebackground&&t.push(n.background),"left"!=this.opts[o].position&&t.push(n.mm(this.opts[o].position)),"back"!=this.opts[o].zposition&&t.push(n.mm(this.opts[o].zposition)),this.opts.classes&&t.push(this.opts.classes),a.$html.addclass(t.join(" ")),settimeout(function(){e.vars.opened=!0},this.conf.openinginterval),this.$menu.addclass(n.current+" "+n.opened)},e[t].prototype._openfinish=function(){var e=this;this.__transitionend(a.$page,function(){e.$menu.trigger(i.opened)},this.conf.transitionduration),a.$html.addclass(n.opening),this.$menu.trigger(i.opening)},e[t].prototype.close=function(){if(!this.vars.opened)return!1;var e=this;return this.__transitionend(a.$page,function(){e.$menu.removeclass(n.current).removeclass(n.opened),a.$html.removeclass(n.opened).removeclass(n.modal).removeclass(n.background).removeclass(n.mm(e.opts[o].position)).removeclass(n.mm(e.opts[o].zposition)),e.opts.classes&&a.$html.removeclass(e.opts.classes),a.$page.attr("style",a.$page.data(s.style)),e.vars.opened=!1,e.$menu.trigger(i.closed)},this.conf.transitionduration),a.$html.removeclass(n.opening),this.$menu.trigger(i.closing),"close"},e[t].prototype.setpage=function(t){t||(t=e(this.conf[o].pageselector,a.$body),t.length>1&&(t=t.wrapall("<"+this.conf[o].pagenodetype+" />").parent())),t.addclass(n.page+" "+n.slideout),a.$page=t},e[t].prototype[o+"_initwindow"]=function(){a.$wndw.on(i.keydown,function(e){return a.$html.hasclass(n.opened)&&9==e.keycode?(e.preventdefault(),!1):void 0});var s=0;a.$wndw.on(i.resize,function(e,t){if(t||a.$html.hasclass(n.opened)){var o=a.$wndw.height();(t||o!=s)&&(s=o,a.$page.css("minheight",o))}}),e[t].prototype[o+"_initwindow"]=function(){}},e[t].prototype[o+"_initblocker"]=function(){var s=e('').appendto(a.$body);s.on(i.touchstart,function(e){e.preventdefault(),e.stoppropagation(),s.trigger(i.mousedown)}).on(i.mousedown,function(e){e.preventdefault(),a.$html.hasclass(n.modal)||a.$allmenus.trigger(i.close)}),e[t].prototype[o+"_initblocker"]=function(){}};var n,s,i,a}(jquery);
/*
* jquery mmenu buttonbars addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(t){var n="mmenu",a="buttonbars";t[n].addons[a]={_init:function(n){this.opts[a],this.conf[a],this.__refactorclass(t("div",n),this.conf.classnames[a].buttonbar,"buttonbar"),t("."+i.buttonbar,n).each(function(){var n=t(this),a=n.children().not("input"),o=n.children().filter("input");n.addclass(i.buttonbar+"-"+a.length),o.each(function(){var n=t(this),i=a.filter('label[for="'+n.attr("id")+'"]');i.length&&n.insertbefore(i)})})},_setup:function(){},_add:function(){i=t[n]._c,o=t[n]._d,r=t[n]._e,i.add("buttonbar"),s=t[n].glbl}},t[n].defaults[a]={},t[n].configuration.classnames[a]={buttonbar:"buttonbar"};var i,o,r,s}(jquery);
/*
* jquery mmenu counters addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(t){var e="mmenu",n="counters";t[e].addons[n]={_init:function(e){var s=this,d=this.opts[n];this.conf[n],this.__refactorclass(t("em",e),this.conf.classnames[n].counter,"counter"),d.add&&e.each(function(){var e=t(this).data(o.parent);e&&(e.find("> em."+a.counter).length||e.prepend(t('')))}),d.update&&e.each(function(){var e=t(this),n=e.data(o.parent);if(n){var d=n.find("> em."+a.counter);d.length&&(e.is("."+a.list)||(e=e.find("> ."+a.list)),e.length&&!e.data(o.updatecounter)&&(e.data(o.updatecounter,!0),s._update(function(){var t=e.children().not("."+a.label).not("."+a.subtitle).not("."+a.hidden).not("."+a.search).not("."+a.noresultsmsg);d.html(t.length)})))}})},_setup:function(){var a=this.opts[n];"boolean"==typeof a&&(a={add:a,update:a}),"object"!=typeof a&&(a={}),a=t.extend(!0,{},t[e].defaults[n],a),this.opts[n]=a},_add:function(){a=t[e]._c,o=t[e]._d,s=t[e]._e,a.add("counter search noresultsmsg"),o.add("updatecounter"),d=t[e].glbl}},t[e].defaults[n]={add:!1,update:!1},t[e].configuration.classnames[n]={counter:"counter"};var a,o,s,d}(jquery);
/*
* jquery mmenu dragopen addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(e){function t(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}var n="mmenu",o="dragopen";e[n].addons[o]={_init:function(){},_setup:function(){if(this.opts.offcanvas){var s=this,p=this.opts[o],d=this.conf[o];if("boolean"==typeof p&&(p={open:p}),"object"!=typeof p&&(p={}),p=e.extend(!0,{},e[n].defaults[o],p),p.open){if(hammer.version<2)return;var f,c,h,m,u={},g=0,l=!1,v=!1,_=0,w=0;switch(this.opts.offcanvas.position){case"left":case"right":u.events="panleft panright",u.typelower="x",u.typeupper="x",v="width";break;case"top":case"bottom":u.events="panup pandown",u.typelower="y",u.typeupper="y",v="height"}switch(this.opts.offcanvas.position){case"left":case"top":u.negative=!1;break;case"right":case"bottom":u.negative=!0}switch(this.opts.offcanvas.position){case"left":u.open_dir="right",u.close_dir="left";break;case"right":u.open_dir="left",u.close_dir="right";break;case"top":u.open_dir="down",u.close_dir="up";break;case"bottom":u.open_dir="up",u.close_dir="down"}var b=this.__valueorfn(p.pagenode,this.$menu,r.$page);"string"==typeof b&&(b=e(b));var y=r.$page;switch(this.opts.offcanvas.zposition){case"front":y=this.$menu;break;case"next":y=y.add(this.$menu)}var $=new hammer(b[0],p.vendors.hammer);$.on("panstart",function(e){switch(m=e.center[u.typelower],s.opts.offcanvas.position){case"right":case"bottom":m>=r.$wndw[v]()-p.maxstartpos&&(g=1);break;default:m<=p.maxstartpos&&(g=1)}l=u.open_dir}).on(u.events+" panend",function(e){g>0&&e.preventdefault()}).on(u.events,function(e){if(f=e["delta"+u.typeupper],u.negative&&(f=-f),f!=_&&(l=f>=_?u.open_dir:u.close_dir),_=f,_>p.threshold&&1==g){if(r.$html.hasclass(a.opened))return;g=2,s._opensetup(),s.$menu.trigger(i.opening),r.$html.addclass(a.dragging),w=t(r.$wndw[v]()*d[v].perc,d[v].min,d[v].max)}2==g&&(c=t(_,10,w)-("front"==s.opts.offcanvas.zposition?w:0),u.negative&&(c=-c),h="translate"+u.typeupper+"("+c+"px )",y.css({"-webkit-transform":"-webkit-"+h,transform:h}))}).on("panend",function(){2==g&&(r.$html.removeclass(a.dragging),y.css("transform",""),s[l==u.open_dir?"_openfinish":"close"]()),g=0})}}},_add:function(){return"function"!=typeof hammer?(e[n].addons[o]._init=function(){},e[n].addons[o]._setup=function(){},void 0):(a=e[n]._c,s=e[n]._d,i=e[n]._e,a.add("dragging"),r=e[n].glbl,void 0)}},e[n].defaults[o]={open:!1,maxstartpos:100,threshold:50,vendors:{hammer:{}}},e[n].configuration[o]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}};var a,s,i,r}(jquery);
/*
* jquery mmenu fixedelements addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(o){var t="mmenu",s="fixedelements";o[t].addons[s]={_init:function(){if(this.opts.offcanvas){var t=o("div, span, a",e.$page),d=this.__refactorclass(t,this.conf.classnames[s].fixedtop,"fixed-top"),i=this.__refactorclass(t,this.conf.classnames[s].fixedbottom,"fixed-bottom");d.add(i).appendto(e.$body).addclass(a.slideout)}},_setup:function(){},_add:function(){a=o[t]._c,d=o[t]._d,i=o[t]._e,a.add("fixed-top fixed-bottom"),e=o[t].glbl}},o[t].defaults[s]={},o[t].configuration.classnames[s]={fixedtop:"fixedtop",fixedbottom:"fixedbottom"};var a,d,i,e}(jquery);
/*
* jquery mmenu footer addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(t){var o="mmenu",e="footer";t[o].addons[e]={_init:function(a){var d=this,i=this.opts[e],r=t("div."+n.footer,this.$menu);r.length&&(i.update&&a.each(function(){var o=t(this),a=t("."+d.conf.classnames[e].panelfooter,o),u=a.html();u||(u=i.title);var l=function(){r[u?"show":"hide"](),r.html(u)};o.on(s.open,l),o.hasclass(n.current)&&l()}),t[o].addons.buttonbars&&t[o].addons.buttonbars._init.call(this,r))},_setup:function(){var a=this.opts[e];if("boolean"==typeof a&&(a={add:a,update:a}),"object"!=typeof a&&(a={}),a=t.extend(!0,{},t[o].defaults[e],a),this.opts[e]=a,a.add){var s=a.content?a.content:a.title;t('').appendto(this.$menu).append(s),this.$menu.addclass(n.hasfooter)}},_add:function(){n=t[o]._c,a=t[o]._d,s=t[o]._e,n.add("footer hasfooter"),d=t[o].glbl}},t[o].defaults[e]={add:!1,content:!1,title:"",update:!1},t[o].configuration.classnames[e]={panelfooter:"footer"};var n,a,s,d}(jquery);
/*
* jquery mmenu header addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(e){var t="mmenu",a="header";e[t].addons[a]={_init:function(s){var i=this,o=this.opts[a],l=(this.conf[a],e("."+n.header,this.$menu));if(l.length){if(o.update){var h=l.find("."+n.title),c=l.find("."+n.prev),f=l.find("."+n.next),p=l.find("."+n.close),u=!1;r.$page&&(u="#"+r.$page.attr("id"),p.attr("href",u)),s.each(function(){var t=e(this),s=t.find("."+i.conf.classnames[a].panelheader),r=t.find("."+i.conf.classnames[a].panelprev),l=t.find("."+i.conf.classnames[a].panelnext),p=s.html(),u=r.attr("href"),v=l.attr("href"),m=r.html(),b=l.html();p||(p=t.find("."+n.subclose).html()),p||(p=o.title),u||(u=t.find("."+n.subclose).attr("href"));var x=function(){h[p?"show":"hide"](),h.html(p),c[u?"attr":"removeattr"]("href",u),c[u||m?"show":"hide"](),c.html(m),f[v?"attr":"removeattr"]("href",v),f[v||b?"show":"hide"](),f.html(b)};t.on(d.open,x),t.hasclass(n.current)&&x()})}e[t].addons.buttonbars&&e[t].addons.buttonbars._init.call(this,l)}},_setup:function(){var s=this.opts[a];if(this.conf[a],"boolean"==typeof s&&(s={add:s,update:s}),"object"!=typeof s&&(s={}),"undefined"==typeof s.content&&(s.content=["prev","title","next"]),s=e.extend(!0,{},e[t].defaults[a],s),this.opts[a]=s,s.add){if(s.content instanceof array){for(var d=e(""),r=0,i=s.content.length;i>r;r++)switch(s.content[r]){case"prev":case"next":case"close":d.append('');break;case"title":d.append('');break;default:d.append(s.content[r])}d=d.html()}else var d=s.content;e('').prependto(this.$menu).append(d),this.$menu.addclass(n.hasheader)}},_add:function(){n=e[t]._c,s=e[t]._d,d=e[t]._e,n.add("header hasheader prev next close title"),r=e[t].glbl}},e[t].defaults[a]={add:!1,title:"menu",update:!1},e[t].configuration.classnames[a]={panelheader:"header",panelnext:"next",panelprev:"prev"};var n,s,d,r}(jquery);
/*
* jquery mmenu labels addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(l){var e="mmenu",s="labels";l[e].addons[s]={_init:function(e){var n=this.opts[s];this.__refactorclass(l("li",this.$menu),this.conf.classnames[s].collapsed,"collapsed"),n.collapse&&l("."+a.label,e).each(function(){var e=l(this),s=e.nextuntil("."+a.label,"."+a.collapsed);s.length&&(e.children("."+a.subopen).length||(e.wrapinner(""),e.prepend('')))})},_setup:function(){var a=this.opts[s];"boolean"==typeof a&&(a={collapse:a}),"object"!=typeof a&&(a={}),a=l.extend(!0,{},l[e].defaults[s],a),this.opts[s]=a},_add:function(){a=l[e]._c,n=l[e]._d,o=l[e]._e,a.add("collapsed uncollapsed"),t=l[e].glbl},_clickanchor:function(l,e){if(e){var s=l.parent();if(s.is("."+a.label)){var n=s.nextuntil("."+a.label,"."+a.collapsed);return s.toggleclass(a.opened),n[s.hasclass(a.opened)?"addclass":"removeclass"](a.uncollapsed),!0}}return!1}},l[e].defaults[s]={collapse:!1},l[e].configuration.classnames[s]={collapsed:"collapsed"};var a,n,o,t}(jquery);
/*
* jquery mmenu searchfield addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!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].addons[t]={_init:function(n){var i=this,l=this.opts[t],d=this.conf[t];if(l.add){switch(l.addto){case"menu":var c=this.$menu;break;case"panels":var c=n;break;default:var c=e(l.addto,this.$menu).filter("."+a.panel)}c.length&&c.each(function(){var s=e(this),n=s.is("."+a.menu)?d.form?"form":"div":"li";if(!s.children(n+"."+a.search).length){if(s.is("."+a.menu))var t=i.$menu,r="prependto";else var t=s.children().first(),r=t.is("."+a.subtitle)?"insertafter":"insertbefore";var o=e("<"+n+' class="'+a.search+'" />');if("form"==n&&"object"==typeof d.form)for(var c in d.form)o.attr(c,d.form[c]);o.append(''),o[r](t)}l.noresults&&(s.is("."+a.menu)&&(s=s.children("."+a.panel).first()),n=s.is("."+a.list)?"li":"div",s.children(n+"."+a.noresultsmsg).length||e("<"+n+' class="'+a.noresultsmsg+'" />').html(l.noresults).appendto(s))})}if(this.$menu.children("."+a.search).length&&this.$menu.addclass(a.hassearch),l.search){var h=e("."+a.search,this.$menu);h.length&&h.each(function(){var n=e(this);if("menu"==l.addto)var t=e("."+a.panel,i.$menu),d=i.$menu;else var t=n.closest("."+a.panel),d=t;var c=n.children("input"),h=i.__findaddback(t,"."+a.list).children("li"),u=h.filter("."+a.label),f=h.not("."+a.subtitle).not("."+a.label).not("."+a.search).not("."+a.noresultsmsg),p="> a";l.showlinksonly||(p+=", > span"),c.off(o.keyup+" "+o.change).on(o.keyup,function(e){s(e.keycode)||n.trigger(o.search)}).on(o.change,function(){n.trigger(o.search)}),n.off(o.reset+" "+o.search).on(o.reset+" "+o.search,function(e){e.stoppropagation()}).on(o.reset,function(){n.trigger(o.search,[""])}).on(o.search,function(s,n){"string"==typeof n?c.val(n):n=c.val(),n=n.tolowercase(),t.scrolltop(0),f.add(u).addclass(a.hidden),f.each(function(){var s=e(this);e(p,s).text().tolowercase().indexof(n)>-1&&s.add(s.prevall("."+a.label).first()).removeclass(a.hidden)}),e(t.get().reverse()).each(function(s){var n=e(this),t=n.data(r.parent);if(t){var d=n.add(n.find("> ."+a.list)).find("> li").not("."+a.subtitle).not("."+a.search).not("."+a.noresultsmsg).not("."+a.label).not("."+a.hidden);d.length?t.removeclass(a.hidden).removeclass(a.nosubresults).prevall("."+a.label).first().removeclass(a.hidden):"menu"==l.addto&&(n.hasclass(a.opened)&&settimeout(function(){t.trigger(o.open)},1.5*(s+1)*i.conf.openinginterval),t.addclass(a.nosubresults))}}),d[f.not("."+a.hidden).length?"removeclass":"addclass"](a.noresults),i._update()})})}},_setup:function(){var s=this.opts[t];this.conf[t],"boolean"==typeof s&&(s={add:s,search:s}),"object"!=typeof s&&(s={}),s=e.extend(!0,{},e[n].defaults[t],s),"boolean"!=typeof s.showlinksonly&&(s.showlinksonly="menu"==s.addto),this.opts[t]=s},_add:function(){a=e[n]._c,r=e[n]._d,o=e[n]._e,a.add("search hassearch noresultsmsg noresults nosubresults"),o.add("search reset change"),i=e[n].glbl}},e[n].defaults[t]={add:!1,addto:"menu",search:!1,placeholder:"search",noresults:"no results found."},e[n].configuration[t]={form:!1};var a,r,o,i}(jquery);
/*
* jquery mmenu toggles addon
* mmenu.frebsite.nl
*
* copyright (c) fred heusschen
*/
!function(e){var t="mmenu",s="toggles";e[t].addons[s]={_init:function(t){var a=this;this.opts[s],this.conf[s],this.__refactorclass(e("input",t),this.conf.classnames[s].toggle,"toggle"),this.__refactorclass(e("input",t),this.conf.classnames[s].check,"check"),e("input."+c.toggle+", input."+c.check,t).each(function(){var t=e(this),s=t.closest("li"),l=t.hasclass(c.toggle)?"toggle":"check",n=t.attr("id")||a.__getuniqueid();s.children('label[for="'+n+'"]').length||(t.attr("id",n),s.prepend(t),e('').insertbefore(s.children("a, span").last()))})},_setup:function(){},_add:function(){c=e[t]._c,a=e[t]._d,l=e[t]._e,c.add("toggle check"),n=e[t].glbl}},e[t].defaults[s]={},e[t].configuration.classnames[s]={toggle:"toggle",check:"check"};var c,a,l,n}(jquery);