text: !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";function d(a,b){var c;c=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),c.open("GET",a,!0),c.onreadystatechange=function(){if(200===c.status&&4===c.readyState)try{b(null,JSON.parse(c.responseText))}catch(a){b(a,null)}},c.send()}b.exports={load:d}},{}],2:[function(a,b,c){"use strict";b.exports=function d(a){function b(a){return a?void 0!==a.required&&a.required instanceof Array:!1}if(!b(a))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof d))return new d(a);var c=a.required;this.getRequiredOptions=function(){return c},this.validate=function(a){var b=[];return c.forEach(function(c){void 0===a[c]&&b.push(c)}),b}}},{}],3:[function(a,b,c){"use strict";function d(a){return g(a)?i(a):h(a)?j(a):void 0}function e(){return r.length=0,r}function f(){return r}function g(a){return!!a&&"[object Object]"===Object.prototype.toString.call(a)}function h(a){return!!a&&"[object Array]"===Object.prototype.toString.call(a)}function i(a){return r.push(a),r}function j(a){for(var b=[],c=0;c<a.length;c++)g(a[c])&&b.push(i(a[c]));return b}function k(a){return a?m(r,a,s.searchStrategy,s):[]}function l(a){s=a||{},s.fuzzy=a.fuzzy||!1,s.limit=a.limit||10,s.searchStrategy=a.fuzzy?p:q}function m(a,b,c,d){for(var e=[],f=0;f<a.length&&e.length<d.limit;f++){var g=n(a[f],b,c,d);g&&e.push(g)}return e}function n(a,b,c,d){for(var e in a)if(!o(a[e],d.exclude)&&c.matches(a[e],b))return a}function o(a,b){var c=!1;b=b||[];for(var d=0;d<b.length;d++){var e=b[d];!c&&new RegExp(a).test(e)&&(c=!0)}return c}b.exports={put:d,clear:e,get:f,search:k,setOptions:l};var p=a("./SearchStrategies/FuzzySearchStrategy"),q=a("./SearchStrategies/LiteralSearchStrategy"),r=[],s={};s.fuzzy=!1,s.limit=10,s.searchStrategy=s.fuzzy?p:q},{"./SearchStrategies/FuzzySearchStrategy":4,"./SearchStrategies/LiteralSearchStrategy":5}],4:[function(a,b,c){"use strict";function d(){function a(a){return new RegExp(a.split("").join(".*?"),"gi")}this.matches=function(b,c){return"string"!=typeof b?!1:(b=b.trim(),!!a(c).test(b))}}b.exports=new d},{}],5:[function(a,b,c){"use strict";function d(){function a(a,b){return a.toLowerCase().indexOf(b.toLowerCase())>=0}this.matches=function(b,c){return"string"!=typeof b?!1:(b=b.trim(),a(b,c))}}b.exports=new d},{}],6:[function(a,b,c){"use strict";function d(a){f.pattern=a.pattern||f.pattern,f.template=a.template||f.template,"function"==typeof a.middleware&&(f.middleware=a.middleware)}function e(a){return f.template.replace(f.pattern,function(b,c){var d=f.middleware(c,a[c],f.template);return void 0!==d?d:a[c]||b})}b.exports={compile:e,setOptions:d};var f={};f.pattern=/\{(.*?)\}/g,f.template="",f.middleware=function(){}},{}],7:[function(a,b,c){!function(b,c,d){"use strict";function e(a){o.put(a),i()}function f(a){p.load(a,function(b,c){b&&k("failed to get JSON ("+a+")"),e(c)})}function g(){l.resultsContainer.innerHTML=""}function h(a){l.resultsContainer.innerHTML+=a}function i(){l.searchInput.addEventListener("keyup",function(a){g(),a.target.value.length>0&&j(o.search(a.target.value))})}function j(a){if(0===a.length)return h(l.noResultsText);for(var b=0;b<a.length;b++)h(n.compile(a[b]))}function k(a){throw new Error("SimpleJekyllSearch --- "+a)}var l={searchInput:null,resultsContainer:null,json:[],searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:function(){},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},m=["searchInput","resultsContainer","json"],n=a("./Templater"),o=a("./Repository"),p=a("./JSONLoader"),q=a("./OptionsValidator")({required:m}),r=a("./utils");b.SimpleJekyllSearch=function(a){var b=q.validate(a);b.length>0&&k("You must specify the following required options: "+m),l=r.merge(l,a),n.setOptions({template:l.searchResultTemplate,middleware:l.templateMiddleware}),o.setOptions({fuzzy:l.fuzzy,limit:l.limit}),r.isJSON(l.json)?e(l.json):f(l.json)},b.SimpleJekyllSearch.init=b.SimpleJekyllSearch}(window,document)},{"./JSONLoader":1,"./OptionsValidator":2,"./Repository":3,"./Templater":6,"./utils":8}],8:[function(a,b,c){"use strict";function d(a,b){var c={};for(var d in a)c[d]=a[d],void 0!==b[d]&&(c[d]=b[d]);return c}function e(a){try{return a instanceof Object&&JSON.parse(JSON.stringify(a))?!0:!1}catch(b){return!1}}b.exports={merge:d,isJSON:e}},{}]},{},[7]),function(a,b,c){"use strict";var d=b.Modernizr,e=a("body");a.DLMenu=function(b,c){this.$el=a(c),this._init(b)},a.DLMenu.defaults={animationClasses:{classin:"dl-animate-in-1",classout:"dl-animate-out-1"},onLevelClick:function(a,b){return!1},onLinkClick:function(a,b){return!1}},a.DLMenu.prototype={_init:function(b){this.options=a.extend(!0,{},a.DLMenu.defaults,b),this._config();var c={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"},e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"};this.animEndEventName=c[d.prefixed("animation")]+".dlmenu",this.transEndEventName=e[d.prefixed("transition")]+".dlmenu",this.supportAnimations=d.cssanimations,this.supportTransitions=d.csstransitions,this._initEvents()},_config:function(){this.open=!1,this.$trigger=this.$el.children(".dl-trigger"),this.$menu=this.$el.children("ul.dl-menu"),this.$menuitems=this.$menu.find("li:not(.dl-back)"),this.$el.find("ul.dl-submenu").prepend('<li class="dl-back"><a href="#">back</a></li>'),this.$back=this.$menu.find("li.dl-back")},_initEvents:function(){var b=this;this.$trigger.on("click.dlmenu",function(){return b.open?b._closeMenu():b._openMenu(),!1}),this.$menuitems.on("click.dlmenu",function(c){c.stopPropagation();var d=a(this),e=d.children("ul.dl-submenu");if(e.length>0){var f=e.clone().css({opacity:0,margin:0}).insertAfter(b.$menu),g=function(){b.$menu.off(b.animEndEventName).removeClass(b.options.animationClasses.classout).addClass("dl-subview"),d.addClass("dl-subviewopen").parents(".dl-subviewopen:first").removeClass("dl-subviewopen").addClass("dl-subview"),f.remove()};return setTimeout(function(){f.addClass(b.options.animationClasses.classin),b.$menu.addClass(b.options.animationClasses.classout),b.supportAnimations?b.$menu.on(b.animEndEventName,g):g.call(),b.options.onLevelClick(d,d.children("a:first").text())}),!1}b.options.onLinkClick(d,c)}),this.$back.on("click.dlmenu",function(c){var d=a(this),e=d.parents("ul.dl-submenu:first"),f=e.parent(),g=e.clone().insertAfter(b.$menu),h=function(){b.$menu.off(b.animEndEventName).removeClass(b.options.animationClasses.classin),g.remove()};return setTimeout(function(){g.addClass(b.options.animationClasses.classout),b.$menu.addClass(b.options.animationClasses.classin),b.supportAnimations?b.$menu.on(b.animEndEventName,h):h.call(),f.removeClass("dl-subviewopen");var a=d.parents(".dl-subview:first");a.is("li")&&a.addClass("dl-subviewopen"),a.removeClass("dl-subview")}),!1})},closeMenu:function(){this.open&&this._closeMenu()},_closeMenu:function(){var a=this,b=function(){a.$menu.off(a.transEndEventName),a._resetMenu()};this.$menu.removeClass("dl-menuopen"),this.$menu.addClass("dl-menu-toggle"),this.$trigger.removeClass("dl-active"),this.supportTransitions?this.$menu.on(this.transEndEventName,b):b.call(),this.open=!1},openMenu:function(){this.open||this._openMenu()},_openMenu:function(){var b=this;e.off("click").on("click.dlmenu",function(){b._closeMenu()}),this.$menu.addClass("dl-menuopen dl-menu-toggle").on(this.transEndEventName,function(){a(this).removeClass("dl-menu-toggle")}),this.$trigger.addClass("dl-active"),this.open=!0},_resetMenu:function(){this.$menu.removeClass("dl-subview"),this.$menuitems.removeClass("dl-subview dl-subviewopen")}};var f=function(a){b.console&&b.console.error(a)};a.fn.dlmenu=function(b){if("string"==typeof b){var c=Array.prototype.slice.call(arguments,1);this.each(function(){var d=a.data(this,"dlmenu");return d?a.isFunction(d[b])&&"_"!==b.charAt(0)?void d[b].apply(d,c):void f("no such method '"+b+"' for dlmenu instance"):void f("cannot call methods on dlmenu prior to initialization; attempted to call method '"+b+"'")})}else this.each(function(){var c=a.data(this,"dlmenu");c?c._init():c=a.data(this,"dlmenu",new a.DLMenu(b,this))});return this}}(jQuery,window),function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null},d=document.createElement("div"),e=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return d.className="fit-vids-style",d.innerHTML="&shy;<style>               .fluid-width-video-wrapper {                 width: 100%;                              position: relative;                       padding: 0;                            }                                                                                   .fluid-width-video-wrapper iframe,        .fluid-width-video-wrapper object,        .fluid-width-video-wrapper embed {           position: absolute;                       top: 0;                                   left: 0;                                  width: 100%;                              height: 100%;                          }                                       </style>",e.parentNode.insertBefore(d,e),b&&a.extend(c,b),this.each(function(){var b=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.youtube-nocookie.com']","iframe[src*='www.kickstarter.com']","object","embed"];c.customSelector&&b.push(c.customSelector);var d=a(this).find(b.join(","));d.each(function(){var b=a(this);if(!("embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),d=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),e=c/d;if(!b.attr("id")){var f="fitvid"+Math.floor(999999*Math.random());b.attr("id",f)}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),b.removeAttr("height").removeAttr("width")}})})}}(jQuery),!function(a,b,c){function d(b,c){this.element=b,this.settings=a.extend({},j,c),this._defaults=j,this._name=i,this.init()}function e(a,d,e,f){var g=b.innerWidth?b.innerWidth:c.documentElement.clientWidth?c.documentElement.clientWidth:screen.width,h=b.innerHeight?b.innerHeight:c.documentElement.clientHeight?c.documentElement.clientHeight:screen.height,i=g/2-e/2+10,j=h/2-f/2+50,k=b.open(a,d,"scrollbars=yes, width="+e+", height="+f+", top="+j+", left="+i);k.focus()}function f(a){return a>=1e9?(a/1e9).toFixed(1).replace(/\.0$/,"")+"G":a>=1e6?(a/1e6).toFixed(1).replace(/\.0$/,"")+"M":a>=1e3?(a/1e3).toFixed(1).replace(/\.0$/,"")+"K":a}function g(d){var e=b.innerWidth?b.innerWidth:c.documentElement.clientWidth?c.documentElement.clientWidth:screen.width;961>e?a.each(d,function(){a(this).css("width",100/d.length+"%")}):a.each(d,function(){a(this).removeAttr("style")})}function h(c,d,e){switch(d=encodeURI(d),c){case"facebook":a.get("https://graph.facebook.com/"+d,function(b){if(b.shares&&b.shares>0){var c=a("<span>",{"class":"shareCount"});c.append(f(b.shares)),e.append(c),e.find("i").removeClass("m-top5")}},"jsonp");break;case"linkedin":a.get("https://www.linkedin.com/countserv/count/share?url="+d+"&callback=?",function(b){if(b.count&&b.count>0){var c=a("<span>",{"class":"shareCount"});c.append(f(b.count)),e.append(c),e.find("i").removeClass("m-top5")}},"jsonp");break;case"pinterest":a.get("https://api.pinterest.com/v1/urls/count.json?url="+d+"&callback=?",function(b){if(b.count&&b.count>0){var c=a("<span>",{"class":"shareCount"});c.append(f(b.count)),e.append(c),e.find("i").removeClass("m-top5")}},"jsonp");break;case"google-plus":b.services||(b.services={},b.services.gplus={}),b.services.gplus.cb=function(a){b.gplusShares=a},a.getScript("http://share.yandex.ru/gpp.xml?url="+d+"&callback=?",function(){if(b.gplusShares>0){var c=a("<span>",{"class":"shareCount"});c.append(f(b.gplusShares)),e.append(c),e.find("i").removeClass("m-top5")}});break;default:return-1}}var i="floatingSocialShare",j={place:"top-left",counter:!0,buttons:["facebook","google-plus","linkedin"],title:c.title,url:b.location.href,text:"share with ",description:a("meta[name='description']").attr("content"),popup_width:400,popup_height:300};a.extend(d.prototype,{init:function(){var c=this;-1==a.inArray(this.settings.place,l)&&(this.settings.place=this._defaults.place);var d=a("<div>",{id:"floatingSocialShare"}),f=a("<div>",{"class":this.settings.place});f.appendTo(d),a.each(this.settings.buttons,function(b,d){a.each(k,function(b,e){if(d==b){var g=a("<a>",{title:c.settings.title,"class":""+e.className+" pop-upper"}),i=a("<i>",{"class":"m-top5 fa fa-"+d}),j=e.url;return j=j.replace("{url}",c.settings.url).replace("{title}",c.settings.title).replace("{description}",c.settings.description),g.attr("href",j).attr("title",c.settings.text+d).append(i),c.settings.counter===!0&&h(d,c.settings.url,g),f.append(g),!1}})}),d.appendTo(this.element);var i=a(this.element).find(".pop-upper");i.on("click",function(b){b.preventDefault(),e(a(this).attr("href"),a(this).attr("title"),c.settings.popup_width,c.settings.popup_height)}),g(i),a(b).resize(function(){g(i)})}});var k={facebook:{className:"facebook",url:"https://www.facebook.com/sharer/sharer.php?u={url}&t={title}"},"google-plus":{className:"google-plus",url:"https://plus.google.com/share?url={url}"},linkedin:{className:"linkedin",url:"https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={description}&source="},envelope:{className:"envelope",url:"mailto:asd@asd.com?subject={url}"},pinterest:{className:"pinterest",url:"https://pinterest.com/pin/create%2Fbutton/?url={url}"},stumbleupon:{className:"stumbleupon",url:"https://www.stumbleupon.com/submit?url={url}&title={title}"}},l=["top-left","top-right"];a.fn[i]=function(b){return this.each(function(){a.data(this,"plugin_"+i)||a.data(this,"plugin_"+i,new d(this,b))}),this}}(jQuery,window,document),function(a){var b,c,d,e,f,g,h,i="Close",j="BeforeClose",k="AfterClose",l="BeforeAppend",m="MarkupParse",n="Open",o="Change",p="mfp",q="."+p,r="mfp-ready",s="mfp-removing",t="mfp-prevent-close",u=function(){},v=!!window.jQuery,w=a(window),x=function(a,c){b.ev.on(p+a+q,c)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(c,d){b.ev.triggerHandler(p+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},A=function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).trigger("focus")},B=function(c){return c===h&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),h=c),b.currTemplate.closeBtn},C=function(){a.magnificPopup.instance||(b=new u,b.init(),a.magnificPopup.instance=b)},D=function(c){if(!a(c).hasClass(t)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},E=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};u.prototype={constructor:u,init:function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf("MSIE 7."),b.isIE8=-1!==c.indexOf("MSIE 8."),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=E(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document.body),e=a(document),b.popupsCache={}},open:function(c){var d;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var f,h=c.items;for(d=0;d<h.length;d++)if(f=h[d],f.parsed&&(f=f.el[0]),f===c.el[0]){b.index=d;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],g="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=e,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=y("bg").on("click"+q,function(){b.close()}),b.wrap=y("wrap").attr("tabindex",-1).on("click"+q,function(a){D(a.target)&&b.close()}),b.container=y("container",b.wrap)),b.contentContainer=y("content"),b.st.preloader&&(b.preloader=y("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(d=0;d<i.length;d++){var j=i[d];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}z("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(x(m,function(a,b,c,d){c.close_replaceWith=B(d.type)}),g+=" mfp-close-btn-in"):b.wrap.append(B())),b.st.alignTop&&(g+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:w.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:e.height(),position:"absolute"}),b.st.enableEscapeKey&&e.on("keyup"+q,function(a){27===a.keyCode&&b.close()}),w.on("resize"+q,function(){b.updateSize()}),b.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&b.wrap.addClass(g);var k=b.wH=w.height(),l={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(l.paddingRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):l.overflow="hidden");var p=b.st.mainClass;b.isIE7&&(p+=" mfp-ie7"),p&&b._addClassToMFP(p),b.updateItemHTML(),z("BuildControls"),a("html").css(l),b.bgOverlay.add(b.wrap).prependTo(document.body),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(r),A()):b.bgOverlay.addClass(r),e.on("focusin"+q,function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(A(),!1)})},16),b.isOpen=!0,b.updateSize(k),z(n)},close:function(){b.isOpen&&(z(j),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(s),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){z(i);var c=s+" "+r+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var d={paddingRight:""};b.isIE7?a("body, html").css("overflow",""):d.overflow="",a("html").css(d)}e.off("keyup"+q+" focusin"+q),b.ev.off(q),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).trigger("focus"),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,z(k)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||w.height();b.fixedContentPos||b.wrap.css("height",b.wH),z("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(z("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var e=b.st[d]?b.st[d].markup:!1;z("FirstMarkupParse",e),e?b.currTemplate[d]=a(e):b.currTemplate[d]=!0}f&&f!==c.type&&b.container.removeClass("mfp-"+f+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,z(o,c),f=c.type,b.container.prepend(b.contentContainer),z("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(B()):b.content=a:b.content="",z(l),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d=b.items[c],e=d.type;if(d=d.tagName?{el:a(d)}:{data:d,src:d.src},d.el){for(var f=b.types,g=0;g<f.length;g++)if(d.el.hasClass("mfp-"+f[g])){e=f[g];break}d.src=d.el.attr("data-mfp-src"),d.src||(d.src=d.el.attr("href"))}return d.type=e||b.st.type||"inline",d.index=c,d.parsed=!0,b.items[c]=d,z("ElementParse",d),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(w.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};z("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?e.height():document.body.scrollHeight)>(a||w.height())},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(m,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(q+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(q+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:u.prototype,modules:[],open:function(a,b){return C(),a||(a={}),a.isObj=!0,a.index=b||0,this.instance.open(a)},close:function(){return a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){C();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=v?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else v?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var F,G,H,I="inline",J=function(){H&&(G.after(H.addClass(F)).detach(),H=null)};a.magnificPopup.registerModule(I,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(I),x(i+"."+I,function(){J()})},getInline:function(c,d){if(J(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(G||(F=e.hiddenClass,G=y(F),F="mfp-"+F),H=f.after(G).detach().removeClass(F)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var K,L="ajax",M=function(){K&&d.removeClass(K)};a.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(L),K=b.st.ajax.cursor,x(i+"."+L,function(){M(),b.req&&b.req.abort()})},getAjax:function(c){K&&d.addClass(K),b.updateStatus("loading");var e=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};z("ParseAjax",g),b.appendContent(a(g.data),L),c.finished=!0,M(),A(),setTimeout(function(){b.wrap.addClass(r)},16),b.updateStatus("ready"),z("AjaxContentAdded")},error:function(){M(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(e),""}}});var N,O=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><div class="mfp-img"></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var a=b.st.image,c=".image";b.types.push("image"),x(n+c,function(){"image"===b.currItem.type&&a.cursor&&d.addClass(a.cursor)}),x(i+c,function(){a.cursor&&d.removeClass(a.cursor),w.off("resize"+q)}),x("Resize"+c,b.resizeImage),b.isLowIE&&x("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,N&&clearInterval(N),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){N&&clearInterval(N),N=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(N),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,z("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=new Image;j.className="mfp-img",c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),c.img[0].naturalWidth>0&&(c.hasSize=!0)}return b._parseMarkup(d,{title:O(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(N&&clearInterval(N),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var P,Q=function(){return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=b.st.zoom,c=".zoom";if(a.enabled&&b.supportsTransition){var d,e,f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){b.content.css("visibility","visible")};x("BuildControls"+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.content.css("visibility","hidden"),image=b._getItemToZoom(),!image)return void h();e=g(image),e.css(b._getOffset()),b.wrap.append(e),d=setTimeout(function(){e.css(b._getOffset(!0)),d=setTimeout(function(){h(),setTimeout(function(){e.remove(),image=e=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(j+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.st.removalDelay=f,!image){if(image=b._getItemToZoom(),!image)return;e=g(image)}e.css(b._getOffset(!0)),b.wrap.append(e),b.content.css("visibility","hidden"),setTimeout(function(){e.css(b._getOffset())},16)}}),x(i+c,function(){b._allowZoom()&&(h(),e&&e.remove())})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(v?d.innerHeight():d[0].offsetHeight)-g-f};return Q()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var R="iframe",S="//about:blank",T=function(a){if(b.currTemplate[R]){var c=b.currTemplate[R].find("iframe");c.length&&(a||(c[0].src=S),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(R),x("BeforeChange",function(a,b,c){b!==c&&(b===R?T():c===R&&T(!0))}),x(i+"."+R,function(){T()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var U=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},V=function(a,b,c){return a.replace("%curr%",b+1).replace("%total%",c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"
  },proto:{initGallery:function(){var c=b.st.gallery,d=".mfp-gallery",f=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(g+=" mfp-gallery",x(n+d,function(){c.navigateByImgClick&&b.wrap.on("click"+d,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),e.on("keydown"+d,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),x("UpdateStatus"+d,function(a,c){c.text&&(c.text=V(c.text,b.currItem.index,b.items.length))}),x(m+d,function(a,d,e,f){var g=b.items.length;e.counter=g>1?V(c.tCounter,f.index,g):""}),x("BuildControls"+d,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace("%title%",c.tPrev).replace("%dir%","left")).addClass(t),g=b.arrowRight=a(d.replace("%title%",c.tNext).replace("%dir%","right")).addClass(t),h=f?"mfpFastClick":"click";e[h](function(){b.prev()}),g[h](function(){b.next()}),b.isIE7&&(y("b",e[0],!1,!0),y("a",e[0],!1,!0),y("b",g[0],!1,!0),y("a",g[0],!1,!0)),b.container.append(e.add(g))}}),x(o+d,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void x(i+d,function(){e.off(d),b.wrap.off("click"+d),b.arrowLeft&&f&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=U(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=U(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=U(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),z("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,z("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var W="retina";a.magnificPopup.registerModule(W,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(x("ImageHasSize."+W,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),x("ElementParse."+W,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){w.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,w.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&w.off("touchmove"+f+" touchend"+f)}}()}(window.jQuery||window.Zepto),!function(a){function b(){a[c].glbl||(h={$wndw:a(window),$html:a("html"),$body:a("body")},e={},f={},g={},a.each([e,f,g],function(a,b){b.add=function(a){a=a.split(" ");for(var c=0,d=a.length;d>c;c++)b[a[c]]=b.mm(a[c])}}),e.mm=function(a){return"mm-"+a},e.add("wrapper menu panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),e.umm=function(a){return"mm-"==a.slice(0,3)&&(a=a.slice(3)),a},f.mm=function(a){return"mm-"+a},f.add("parent sub"),g.mm=function(a){return a+".mm"},g.add("transitionend webkitTransitionEnd mousedown mouseup touchstart touchmove touchend click keydown"),a[c]._c=e,a[c]._d=f,a[c]._e=g,a[c].glbl=h)}var c="mmenu",d="5.4.0";if(!a[c]){a[c]=function(a,b,c){this.$menu=a,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=b,this.conf=c,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var d=this.$menu.children(this.conf.panelNodetype);return this._initAddons(),this.init(d),"function"==typeof this.___debug&&this.___debug(),this},a[c].version=d,a[c].addons={},a[c].uniqueId=0,a[c].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},a[c].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},a[c].prototype={init:function(a){a=a.not("."+e.nopanel),a=this._initPanels(a),this.trigger("init",a),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(a){this.$menu.find("."+e.listview).children().removeClass(e.selected),a.addClass(e.selected),this.trigger("setSelected",a)},openPanel:function(b){var d=b.parent();if(d.hasClass(e.vertical)){var f=d.parents("."+e.subopened);if(f.length)return this.openPanel(f.first());d.addClass(e.opened)}else{if(b.hasClass(e.current))return;var g=this.$menu.children("."+e.panel),h=g.filter("."+e.current);g.removeClass(e.highest).removeClass(e.current).not(b).not(h).not("."+e.vertical).addClass(e.hidden),a[c].support.csstransitions||h.addClass(e.hidden),b.hasClass(e.opened)?b.nextAll("."+e.opened).addClass(e.highest).removeClass(e.opened).removeClass(e.subopened):(b.addClass(e.highest),h.addClass(e.subopened)),b.removeClass(e.hidden).addClass(e.current),setTimeout(function(){b.removeClass(e.subopened).addClass(e.opened)},this.conf.openingInterval)}this.trigger("openPanel",b)},closePanel:function(a){var b=a.parent();b.hasClass(e.vertical)&&(b.removeClass(e.opened),this.trigger("closePanel",a))},closeAllPanels:function(){this.$menu.find("."+e.listview).children().removeClass(e.selected).filter("."+e.vertical).removeClass(e.opened);var a=this.$menu.children("."+e.panel),b=a.first();this.$menu.children("."+e.panel).not(b).removeClass(e.subopened).removeClass(e.opened).removeClass(e.current).removeClass(e.highest).addClass(e.hidden),this.openPanel(b)},togglePanel:function(a){var b=a.parent();b.hasClass(e.vertical)&&this[b.hasClass(e.opened)?"closePanel":"openPanel"](a)},getInstance:function(){return this},bind:function(a,b){this.cbck[a]=this.cbck[a]||[],this.cbck[a].push(b)},trigger:function(){var a=this,b=Array.prototype.slice.call(arguments),c=b.shift();if(this.cbck[c])for(var d=0,e=this.cbck[c].length;e>d;d++)this.cbck[c][d].apply(a,b)},_initMenu:function(){this.opts.offCanvas&&this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){a(this).attr("id",e.mm(a(this).attr("id")))})),this.$menu.contents().each(function(){3==a(this)[0].nodeType&&a(this).remove()}),this.$menu.parent().addClass(e.wrapper);var b=[e.menu];this.opts.slidingSubmenus||b.push(e.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&b.push(this.opts.extensions),this.$menu.addClass(b.join(" "))},_initPanels:function(b){var c=this,d=this.__findAddBack(b,"ul, ol");this.__refactorClass(d,this.conf.classNames.inset,"inset").addClass(e.nolistview+" "+e.nopanel),d.not("."+e.nolistview).addClass(e.listview);var g=this.__findAddBack(b,"."+e.listview).children();this.__refactorClass(g,this.conf.classNames.selected,"selected"),this.__refactorClass(g,this.conf.classNames.divider,"divider"),this.__refactorClass(g,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(b,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var h=a(),i=b.add(b.find("."+e.panel)).add(this.__findAddBack(b,"."+e.listview).children().children(this.conf.panelNodetype)).not("."+e.nopanel);this.__refactorClass(i,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||i.addClass(e.vertical),i.each(function(){var b=a(this),d=b;b.is("ul, ol")?(b.wrap('<div class="'+e.panel+'" />'),d=b.parent()):d.addClass(e.panel);var f=b.attr("id");b.removeAttr("id"),d.attr("id",f||c.__getUniqueId()),b.hasClass(e.vertical)&&(b.removeClass(c.conf.classNames.vertical),d.add(d.parent()).addClass(e.vertical)),h=h.add(d)});var j=a("."+e.panel,this.$menu);h.each(function(){var b=a(this),d=b.parent(),g=d.children("a, span").first();if(d.is("."+e.menu)||(d.data(f.sub,b),b.data(f.parent,d)),!d.children("."+e.next).length&&d.parent().is("."+e.listview)){var h=b.attr("id"),i=a('<a class="'+e.next+'" href="#'+h+'" data-target="#'+h+'" />').insertBefore(g);g.is("span")&&i.addClass(e.fullsubopen)}if(!b.children("."+e.navbar).length&&!d.hasClass(e.vertical)){if(d.parent().is("."+e.listview))var d=d.closest("."+e.panel);else var g=d.closest("."+e.panel).find('a[href="#'+b.attr("id")+'"]').first(),d=g.closest("."+e.panel);var j=a('<div class="'+e.navbar+'" />');if(d.length){var h=d.attr("id");switch(c.opts.navbar.titleLink){case"anchor":_url=g.attr("href");break;case"panel":case"parent":_url="#"+h;break;case"none":default:_url=!1}j.append('<a class="'+e.btn+" "+e.prev+'" href="#'+h+'" data-target="#'+h+'" />').append(a('<a class="'+e.title+'"'+(_url?' href="'+_url+'"':"")+" />").text(g.text())).prependTo(b),c.opts.navbar.add&&b.addClass(e.hasnavbar)}else c.opts.navbar.title&&(j.append('<a class="'+e.title+'">'+c.opts.navbar.title+"</a>").prependTo(b),c.opts.navbar.add&&b.addClass(e.hasnavbar))}});var k=this.__findAddBack(b,"."+e.listview).children("."+e.selected).removeClass(e.selected).last().addClass(e.selected);k.add(k.parentsUntil("."+e.menu,"li")).filter("."+e.vertical).addClass(e.opened).end().not("."+e.vertical).each(function(){a(this).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened)}),k.children("."+e.panel).not("."+e.vertical).addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened);var l=j.filter("."+e.opened);return l.length||(l=h.first()),l.addClass(e.opened).last().addClass(e.current),h.not("."+e.vertical).not(l.last()).addClass(e.hidden).end().appendTo(this.$menu),h},_initAnchors:function(){var b=this;h.$body.on(g.click+"-oncanvas","a[href]",function(d){var f=a(this),g=!1,i=b.$menu.find(f).length;for(var j in a[c].addons)if(g=a[c].addons[j].clickAnchor.call(b,f,i))break;if(!g&&i){var k=f.attr("href");if(k.length>1&&"#"==k.slice(0,1))try{var l=a(k,b.$menu);l.is("."+e.panel)&&(g=!0,b[f.parent().hasClass(e.vertical)?"togglePanel":"openPanel"](l))}catch(m){}}if(g&&d.preventDefault(),!g&&i&&f.is("."+e.listview+" > li > a")&&!f.is('[rel="external"]')&&!f.is('[target="_blank"]')){b.__valueOrFn(b.opts.onClick.setSelected,f)&&b.setSelected(a(d.target).parent());var n=b.__valueOrFn(b.opts.onClick.preventDefault,f,"#"==k.slice(0,1));n&&d.preventDefault(),b.__valueOrFn(b.opts.onClick.blockUI,f,!n)&&h.$html.addClass(e.blocking),b.__valueOrFn(b.opts.onClick.close,f,n)&&b.close()}})},_initAddons:function(){for(var b in a[c].addons)a[c].addons[b].add.call(this),a[c].addons[b].add=function(){};for(var b in a[c].addons)a[c].addons[b].setup.call(this)},__api:function(){var b=this,c={};return a.each(this._api,function(){var a=this;c[a]=function(){var d=b[a].apply(b,arguments);return"undefined"==typeof d?c:d}}),c},__valueOrFn:function(a,b,c){return"function"==typeof a?a.call(b[0]):"undefined"==typeof a&&"undefined"!=typeof c?c:a},__refactorClass:function(a,b,c){return a.filter("."+b).removeClass(b).addClass(e[c])},__findAddBack:function(a,b){return a.find(b).add(a.filter(b))},__filterListItems:function(a){return a.not("."+e.divider).not("."+e.hidden)},__transitionend:function(a,b,c){var d=!1,e=function(){d||b.call(a[0]),d=!0};a.one(g.transitionend,e),a.one(g.webkitTransitionEnd,e),setTimeout(e,1.1*c)},__getUniqueId:function(){return e.mm(a[c].uniqueId++)}},a.fn[c]=function(d,e){return b(),d=a.extend(!0,{},a[c].defaults,d),e=a.extend(!0,{},a[c].configuration,e),this.each(function(){var b=a(this);if(!b.data(c)){var f=new a[c](b,d,e);b.data(c,f.__api())}})},a[c].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints,csstransitions:function(){if("undefined"!=typeof Modernizr)return Modernizr.csstransitions;var a=document.body||document.documentElement,b=a.style,c="transition";if("string"==typeof b[c])return!0;var d=["Moz","webkit","Webkit","Khtml","O","ms"];c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}()};var e,f,g,h}}(jQuery),!function(a){var b="mmenu",c="offCanvas";a[b].addons[c]={setup:function(){if(this.opts[c]){var e=this.opts[c],f=this.conf[c];g=a[b].glbl,this._api=a.merge(this._api,["open","close","setPage"]),("top"==e.position||"bottom"==e.position)&&(e.zposition="front"),"string"!=typeof f.pageSelector&&(f.pageSelector="> "+f.pageNodetype),g.$allMenus=(g.$allMenus||a()).add(this.$menu),this.vars.opened=!1;var h=[d.offcanvas];"left"!=e.position&&h.push(d.mm(e.position)),"back"!=e.zposition&&h.push(d.mm(e.zposition)),this.$menu.addClass(h.join(" ")).parent().removeClass(d.wrapper),this.setPage(g.$page),this._initBlocker(),this["_initWindow_"+c](),this.$menu[f.menuInjectMethod+"To"](f.menuWrapperSelector)}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("offcanvas slideout modal background opening blocker page"),e.add("style"),f.add("resize")},clickAnchor:function(a){if(!this.opts[c])return!1;var b=this.$menu.attr("id");if(b&&b.length&&(this.conf.clone&&(b=d.umm(b)),a.is('[href="#'+b+'"]')))return this.open(),!0;if(g.$page){var b=g.$page.first().attr("id");return b&&b.length&&a.is('[href="#'+b+'"]')?(this.close(),!0):!1}}},a[b].defaults[c]={position:"left",zposition:"back",modal:!1,moveBackground:!0},a[b].configuration[c]={pageNodetype:"div",pageSelector:null,wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},a[b].prototype.open=function(){if(!this.vars.opened){var a=this;this._openSetup(),setTimeout(function(){a._openFinish()},this.conf.openingInterval),this.trigger("open")}},a[b].prototype._openSetup=function(){var b=this;this.closeAllOthers(),g.$page.each(function(){a(this).data(e.style,a(this).attr("style")||"")}),g.$wndw.trigger(f.resize+"-offcanvas",[!0]);var h=[d.opened];this.opts[c].modal&&h.push(d.modal),this.opts[c].moveBackground&&h.push(d.background),"left"!=this.opts[c].position&&h.push(d.mm(this.opts[c].position)),"back"!=this.opts[c].zposition&&h.push(d.mm(this.opts[c].zposition)),this.opts.extensions&&h.push(this.opts.extensions),g.$html.addClass(h.join(" ")),setTimeout(function(){b.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(d.current+" "+d.opened)},a[b].prototype._openFinish=function(){var a=this;this.__transitionend(g.$page.first(),function(){a.trigger("opened")},this.conf.transitionDuration),g.$html.addClass(d.opening),this.trigger("opening")},a[b].prototype.close=function(){if(this.vars.opened){var b=this;this.__transitionend(g.$page.first(),function(){b.$menu.removeClass(d.current).removeClass(d.opened),g.$html.removeClass(d.opened).removeClass(d.modal).removeClass(d.background).removeClass(d.mm(b.opts[c].position)).removeClass(d.mm(b.opts[c].zposition)),b.opts.extensions&&g.$html.removeClass(b.opts.extensions),g.$page.each(function(){a(this).attr("style",a(this).data(e.style))}),b.vars.opened=!1,b.trigger("closed")},this.conf.transitionDuration),g.$html.removeClass(d.opening),this.trigger("close"),this.trigger("closing")}},a[b].prototype.closeAllOthers=function(){g.$allMenus.not(this.$menu).each(function(){var c=a(this).data(b);c&&c.close&&c.close()})},a[b].prototype.setPage=function(b){var e=this,f=this.conf[c];b&&b.length||(b=g.$body.find(f.pageSelector),b.length>1&&f.wrapPageIfNeeded&&(b=b.wrapAll("<"+this.conf[c].pageNodetype+" />").parent())),b.each(function(){a(this).attr("id",a(this).attr("id")||e.__getUniqueId())}),b.addClass(d.page+" "+d.slideout),g.$page=b,this.trigger("setPage",b)},a[b].prototype["_initWindow_"+c]=function(){g.$wndw.off(f.keydown+"-offcanvas").on(f.keydown+"-offcanvas",function(a){return g.$html.hasClass(d.opened)&&9==a.keyCode?(a.preventDefault(),!1):void 0});var a=0;g.$wndw.off(f.resize+"-offcanvas").on(f.resize+"-offcanvas",function(b,c){if(1==g.$page.length&&(c||g.$html.hasClass(d.opened))){var e=g.$wndw.height();(c||e!=a)&&(a=e,g.$page.css("minHeight",e))}})},a[b].prototype._initBlocker=function(){var b=this;g.$blck||(g.$blck=a('<div id="'+d.blocker+'" class="'+d.slideout+'" />')),g.$blck.appendTo(g.$body).off(f.touchstart+"-offcanvas "+f.touchmove+"-offcanvas").on(f.touchstart+"-offcanvas "+f.touchmove+"-offcanvas",function(a){a.preventDefault(),a.stopPropagation(),g.$blck.trigger(f.mousedown+"-offcanvas")}).off(f.mousedown+"-offcanvas").on(f.mousedown+"-offcanvas",function(a){a.preventDefault(),g.$html.hasClass(d.modal)||(b.closeAllOthers(),b.close())})};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="autoHeight";a[b].addons[c]={setup:function(){if(this.opts.offCanvas){switch(this.opts.offCanvas.position){case"left":case"right":return}var e=this,h=this.opts[c];if(this.conf[c],g=a[b].glbl,"boolean"==typeof h&&h&&(h={height:"auto"}),"object"!=typeof h&&(h={}),h=this.opts[c]=a.extend(!0,{},a[b].defaults[c],h),"auto"==h.height){this.$menu.addClass(d.autoheight);var i=function(a){var b=this.$menu.children("."+d.current);_top=parseInt(b.css("top"),10)||0,_bot=parseInt(b.css("bottom"),10)||0,this.$menu.addClass(d.measureheight),a=a||this.$menu.children("."+d.current),a.is("."+d.vertical)&&(a=a.parents("."+d.panel).not("."+d.vertical).first()),this.$menu.height(a.outerHeight()+_top+_bot).removeClass(d.measureheight)};this.bind("update",i),this.bind("openPanel",i),this.bind("closePanel",i),this.bind("open",i),g.$wndw.off(f.resize+"-autoheight").on(f.resize+"-autoheight",function(){i.call(e)})}}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("autoheight measureheight"),f.add("resize")},clickAnchor:function(){}},a[b].defaults[c]={height:"default"};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="backButton";a[b].addons[c]={setup:function(){if(this.opts.offCanvas){var e=this,f=this.opts[c];if(this.conf[c],g=a[b].glbl,"boolean"==typeof f&&(f={close:f}),"object"!=typeof f&&(f={}),f=a.extend(!0,{},a[b].defaults[c],f),f.close){var h="#"+e.$menu.attr("id");this.bind("opened",function(){location.hash!=h&&history.pushState(null,document.title,h)}),a(window).on("popstate",function(a){g.$html.hasClass(d.opened)?(a.stopPropagation(),e.close()):location.hash==h&&(a.stopPropagation(),e.open())})}}},add:function(){return window.history&&window.history.pushState?(d=a[b]._c,e=a[b]._d,void(f=a[b]._e)):void(a[b].addons[c].setup=function(){})},clickAnchor:function(){}},a[b].defaults[c]={close:!1};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="counters";a[b].addons[c]={setup:function(){var f=this,h=this.opts[c];this.conf[c],g=a[b].glbl,"boolean"==typeof h&&(h={add:h,update:h}),"object"!=typeof h&&(h={}),h=this.opts[c]=a.extend(!0,{},a[b].defaults[c],h),this.bind("init",function(b){this.__refactorClass(a("em",b),this.conf.classNames[c].counter,"counter")}),h.add&&this.bind("init",function(b){b.each(function(){var b=a(this).data(e.parent);b&&(b.children("em."+d.counter).length||b.prepend(a('<em class="'+d.counter+'" />')))})}),h.update&&this.bind("update",function(){this.$menu.find("."+d.panel).each(function(){var b=a(this),c=b.data(e.parent);if(c){var g=c.children("em."+d.counter);g.length&&(b=b.children("."+d.listview),b.length&&g.html(f.__filterListItems(b.children()).length))}})})},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("counter search noresultsmsg")},clickAnchor:function(){}},a[b].defaults[c]={add:!1,update:!1},a[b].configuration.classNames[c]={counter:"Counter"};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="dividers";a[b].addons[c]={setup:function(){var e=this,h=this.opts[c];if(this.conf[c],g=a[b].glbl,"boolean"==typeof h&&(h={add:h,fixed:h}),"object"!=typeof h&&(h={}),h=this.opts[c]=a.extend(!0,{},a[b].defaults[c],h),this.bind("init",function(){this.__refactorClass(a("li",this.$menu),this.conf.classNames[c].collapsed,"collapsed")}),h.add&&this.bind("init",function(b){switch(h.addTo){case"panels":var c=b;break;default:var c=a(h.addTo,this.$menu).filter("."+d.panel)}a("."+d.divider,c).remove(),c.find("."+d.listview).not("."+d.vertical).each(function(){var b="";e.__filterListItems(a(this).children()).each(function(){var c=a.trim(a(this).children("a, span").text()).slice(0,1).toLowerCase();c!=b&&c.length&&(b=c,a('<li class="'+d.divider+'">'+c+"</li>").insertBefore(this))})})}),h.collapse&&this.bind("init",function(b){a("."+d.divider,b).each(function(){var b=a(this),c=b.nextUntil("."+d.divider,"."+d.collapsed);c.length&&(b.children("."+d.subopen).length||(b.wrapInner("<span />"),b.prepend('<a href="#" class="'+d.subopen+" "+d.fullsubopen+'" />')))})}),h.fixed){var i=function(b){b=b||this.$menu.children("."+d.current);var c=b.find("."+d.divider).not("."+d.hidden);if(c.length){this.$menu.addClass(d.hasdividers);var e=b.scrollTop()||0,f="";b.is(":visible")&&b.find("."+d.divider).not("."+d.hidden).each(function(){a(this).position().top+e<e+1&&(f=a(this).text())}),this.$fixeddivider.text(f)}else this.$menu.removeClass(d.hasdividers)};this.$fixeddivider=a('<ul class="'+d.listview+" "+d.fixeddivider+'"><li class="'+d.divider+'"></li></ul>').prependTo(this.$menu).children(),this.bind("openPanel",i),this.bind("init",function(b){b.off(f.scroll+"-dividers "+f.touchmove+"-dividers").on(f.scroll+"-dividers "+f.touchmove+"-dividers",function(){i.call(e,a(this))})})}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("collapsed uncollapsed fixeddivider hasdividers"),f.add("scroll")},clickAnchor:function(a,b){if(this.opts[c].collapse&&b){var e=a.parent();if(e.is("."+d.divider)){var f=e.nextUntil("."+d.divider,"."+d.collapsed);return e.toggleClass(d.opened),f[e.hasClass(d.opened)?"addClass":"removeClass"](d.uncollapsed),!0}}return!1}},a[b].defaults[c]={add:!1,addTo:"panels",fixed:!1,collapse:!1},a[b].configuration.classNames[c]={collapsed:"Collapsed"};var d,e,f,g}(jQuery),!function(a){function b(a,b,c){return b>a&&(a=b),a>c&&(a=c),a}var c="mmenu",d="dragOpen";a[c].addons[d]={setup:function(){if(this.opts.offCanvas){var f=this,g=this.opts[d],i=this.conf[d];if(h=a[c].glbl,"boolean"==typeof g&&(g={open:g}),"object"!=typeof g&&(g={}),g=this.opts[d]=a.extend(!0,{},a[c].defaults[d],g),g.open){var j,k,l,m,n,o={},p=0,q=!1,r=!1,s=0,t=0;switch(this.opts.offCanvas.position){case"left":case"right":o.events="panleft panright",o.typeLower="x",o.typeUpper="X",r="width";break;case"top":case"bottom":o.events="panup pandown",o.typeLower="y",o.typeUpper="Y",r="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":o.negative=!0,m=function(a){a>=h.$wndw[r]()-g.maxStartPos&&(p=1)};break;default:o.negative=!1,m=function(a){a<=g.maxStartPos&&(p=1)}}switch(this.opts.offCanvas.position){case"left":o.open_dir="right",o.close_dir="left";break;case"right":o.open_dir="left",o.close_dir="right";break;case"top":o.open_dir="down",o.close_dir="up";break;case"bottom":o.open_dir="up",o.close_dir="down"}switch(this.opts.offCanvas.zposition){case"front":n=function(){return this.$menu};break;default:n=function(){return a("."+e.slideout)}}var u=this.__valueOrFn(g.pageNode,this.$menu,h.$page);"string"==typeof u&&(u=a(u));var v=new Hammer(u[0],g.vendors.hammer);v.on("panstart",function(a){m(a.center[o.typeLower]),h.$slideOutNodes=n(),q=o.open_dir}).on(o.events+" panend",function(a){p>0&&a.preventDefault()}).on(o.events,function(a){if(j=a["delta"+o.typeUpper],o.negative&&(j=-j),j!=s&&(q=j>=s?o.open_dir:o.close_dir),s=j,s>g.threshold&&1==p){if(h.$html.hasClass(e.opened))return;p=2,f._openSetup(),f.trigger("opening"),h.$html.addClass(e.dragging),t=b(h.$wndw[r]()*i[r].perc,i[r].min,i[r].max)}2==p&&(k=b(s,10,t)-("front"==f.opts.offCanvas.zposition?t:0),o.negative&&(k=-k),l="translate"+o.typeUpper+"("+k+"px )",h.$slideOutNodes.css({"-webkit-transform":"-webkit-"+l,transform:l}))}).on("panend",function(){2==p&&(h.$html.removeClass(e.dragging),h.$slideOutNodes.css("transform",""),f[q==o.open_dir?"_openFinish":"close"]()),p=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(a[c].addons[d].setup=function(){}):(e=a[c]._c,f=a[c]._d,g=a[c]._e,void e.add("dragging"))},clickAnchor:function(){}},a[c].defaults[d]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},a[c].configuration[d]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}};var e,f,g,h}(jQuery),!function(a){var b="mmenu",c="fixedElements";a[b].addons[c]={setup:function(){if(this.opts.offCanvas){this.opts[c],this.conf[c],g=a[b].glbl;var d=function(a){var b=this.conf.classNames[c].fixed;this.__refactorClass(a.find("."+b),b,"slideout").appendTo(g.$body)};d.call(this,g.$page),this.bind("setPage",d)}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("fixed")},clickAnchor:function(){}},a[b].configuration.classNames[c]={fixed:"Fixed"};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="iconPanels";a[b].addons[c]={setup:function(){var e=this,f=this.opts[c];if(this.conf[c],g=a[b].glbl,"boolean"==typeof f&&(f={add:f}),"number"==typeof f&&(f={add:!0,visible:f}),"object"!=typeof f&&(f={}),f=this.opts[c]=a.extend(!0,{},a[b].defaults[c],f),f.visible++,f.add){this.$menu.addClass(d.iconpanel);for(var h=[],i=0;i<=f.visible;i++)h.push(d.iconpanel+"-"+i);h=h.join(" ");var j=function(b){var c=e.$menu.children("."+d.panel).removeClass(h),g=c.filter("."+d.subopened);g.removeClass(d.hidden).add(b).slice(-f.visible).each(function(b){a(this).addClass(d.iconpanel+"-"+b)})};this.bind("openPanel",j),this.bind("init",function(b){j.call(e,e.$menu.children("."+d.current)),f.hideNavbars&&b.removeClass(d.hasnavbar),b.each(function(){a(this).children("."+d.subblocker).length||a(this).prepend('<a href="#'+a(this).closest("."+d.panel).attr("id")+'" class="'+d.subblocker+'" />')})})}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("iconpanel subblocker")},clickAnchor:function(){}},a[b].defaults[c]={add:!1,visible:3,hideNavbars:!1};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="navbars";a[b].addons[c]={setup:function(){var e=this,f=this.opts[c],h=this.conf[c];if(g=a[b].glbl,"undefined"!=typeof f){f instanceof Array||(f=[f]);var i={};a.each(f,function(g){var j=f[g];"boolean"==typeof j&&j&&(j={}),"object"!=typeof j&&(j={}),"undefined"==typeof j.content&&(j.content=["prev","title"]),j.content instanceof Array||(j.content=[j.content]),j=a.extend(!0,{},e.opts.navbar,j);var k=j.position,l=j.height;"number"!=typeof l&&(l=1),l=Math.min(4,Math.max(1,l)),"bottom"!=k&&(k="top"),i[k]||(i[k]=0),i[k]++;var m=a("<div />").addClass(d.navbar+" "+d.navbar+"-"+k+" "+d.navbar+"-"+k+"-"+i[k]+" "+d.navbar+"-size-"+l);i[k]+=l-1;for(var n=0,o=j.content.length;o>n;n++){var p=a[b].addons[c][j.content[n]]||!1;p?p.call(e,m,j,h):(p=j.content[n],p instanceof a||(p=a(j.content[n])),p.each(function(){m.append(a(this))}))}var q=Math.ceil(m.children().not("."+d.btn).length/l);q>1&&m.addClass(d.navbar+"-content-"+q),m.children("."+d.btn).length&&m.addClass(d.hasbtns),m.prependTo(e.$menu)});for(var j in i)e.$menu.addClass(d.hasnavbar+"-"+j+"-"+i[j])}},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("close hasbtns")},clickAnchor:function(){}},a[b].configuration[c]={breadcrumbSeparator:"/"},a[b].configuration.classNames[c]={panelTitle:"Title",panelNext:"Next",panelPrev:"Prev"};var d,e,f,g}(jQuery),function(a){var b="mmenu",c="navbars",d="breadcrumbs";a[b].addons[c][d]=function(c,d,e){var f=a[b]._c,g=a[b]._d;f.add("breadcrumbs separator"),c.append('<span class="'+f.breadcrumbs+'"></span>'),this.bind("init",function(b){b.removeClass(f.hasnavbar).each(function(){for(var b=[],c=a(this),d=a('<span class="'+f.breadcrumbs+'"></span>'),h=a(this).children().first(),i=!0;h&&h.length;){h.is("."+f.panel)||(h=h.closest("."+f.panel));var j=h.children("."+f.navbar).children("."+f.title).text();b.unshift(i?"<span>"+j+"</span>":'<a href="#'+h.attr("id")+'">'+j+"</a>"),i=!1,h=h.data(g.parent)}d.append(b.join('<span class="'+f.separator+'">'+e.breadcrumbSeparator+"</span>")).appendTo(c.children("."+f.navbar))})});var h=function(){var a=this.$menu.children("."+f.current),b=c.find("."+f.breadcrumbs),d=a.children("."+f.navbar).children("."+f.breadcrumbs);b.html(d.html())};this.bind("openPanel",h),this.bind("init",h)}}(jQuery),function(a){var b="mmenu",c="navbars",d="close";a[b].addons[c][d]=function(c){var d=a[b]._c,e=a[b].glbl;c.append('<a class="'+d.close+" "+d.btn+'" href="#"></a>');var f=function(a){c.find("."+d.close).attr("href","#"+a.attr("id"))};f.call(this,e.$page),this.bind("setPage",f)}}(jQuery),function(a){var b="mmenu",c="navbars",d="next";a[b].addons[c][d]=function(d){var e=a[b]._c;d.append('<a class="'+e.next+" "+e.btn+'" href="#"></a>');var f=function(a){a=a||this.$menu.children("."+e.current);var b=d.find("."+e.next),f=a.find("."+this.conf.classNames[c].panelNext),g=f.attr("href"),h=f.html();b[g?"attr":"removeAttr"]("href",g),b[g||h?"removeClass":"addClass"](e.hidden),b.html(h)};this.bind("openPanel",f),this.bind("init",function(){f.call(this)})}}(jQuery),function(a){var b="mmenu",c="navbars",d="prev";a[b].addons[c][d]=function(d){var e=a[b]._c;d.append('<a class="'+e.prev+" "+e.btn+'" href="#"></a>'),this.bind("init",function(a){a.removeClass(e.hasnavbar)});var f=function(){var a=this.$menu.children("."+e.current),b=d.find("."+e.prev),f=a.find("."+this.conf.classNames[c].panelPrev);f.length||(f=a.children("."+e.navbar).children("."+e.prev));var g=f.attr("href"),h=f.html();b[g?"attr":"removeAttr"]("href",g),b[g||h?"removeClass":"addClass"](e.hidden),b.html(h)};this.bind("openPanel",f),this.bind("init",f)}}(jQuery),function(a){var b="mmenu",c="navbars",d="searchfield";a[b].addons[c][d]=function(c){var d=a[b]._c,e=a('<div class="'+d.search+'" />').appendTo(c);"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=e}}(jQuery),function(a){var b="mmenu",c="navbars",d="title";a[b].addons[c][d]=function(d,e){var f=a[b]._c;d.append('<a class="'+f.title+'"></a>');var g=function(a){a=a||this.$menu.children("."+f.current);var b=d.find("."+f.title),g=a.find("."+this.conf.classNames[c].panelTitle);g.length||(g=a.children("."+f.navbar).children("."+f.title));var h=g.attr("href"),i=g.html()||e.title;b[h?"attr":"removeAttr"]("href",h),b[h||i?"removeClass":"addClass"](f.hidden),b.html(i)};this.bind("openPanel",g),this.bind("init",function(){g.call(this)})}}(jQuery),!function(a){function b(a){switch(a){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1}var c="mmenu",d="searchfield";a[c].addons[d]={setup:function(){var i=this,j=this.opts[d],k=this.conf[d];h=a[c].glbl,"boolean"==typeof j&&(j={add:j}),"object"!=typeof j&&(j={}),j=this.opts[d]=a.extend(!0,{},a[c].defaults[d],j),this.bind("close",function(){this.$menu.find("."+e.search).find("input").blur()}),this.bind("init",function(c){if(j.add){switch(j.addTo){case"panels":var d=c;break;default:var d=a(j.addTo,this.$menu)}d.each(function(){var b=a(this);if(!b.is("."+e.panel)||!b.is("."+e.vertical)){if(!b.children("."+e.search).length){var c=k.form?"form":"div",d=a("<"+c+' class="'+e.search+'" />');if(k.form&&"object"==typeof k.form)for(var f in k.form)d.attr(f,k.form[f]);d.append('<input placeholder="'+j.placeholder+'" type="text" autocomplete="off" />'),b.hasClass(e.search)?b.replaceWith(d):b.prepend(d).addClass(e.hassearch)}if(j.noResults){var g=b.closest("."+e.panel).length;if(g||(b=i.$menu.children("."+e.panel).first()),!b.children("."+e.noresultsmsg).length){var h=b.children("."+e.listview).first();
  a('<div class="'+e.noresultsmsg+'" />').append(j.noResults)[h.length?"insertAfter":"prependTo"](h.length?h:b)}}}}),j.search&&a("."+e.search,this.$menu).each(function(){var c=a(this),d=c.closest("."+e.panel).length;if(d)var h=c.closest("."+e.panel),k=h;else var h=a("."+e.panel,i.$menu),k=i.$menu;var l=c.children("input"),m=i.__findAddBack(h,"."+e.listview).children("li"),n=m.filter("."+e.divider),o=i.__filterListItems(m),p="> a",q=p+", > span",r=function(){var b=l.val().toLowerCase();h.scrollTop(0),o.add(n).addClass(e.hidden).find("."+e.fullsubopensearch).removeClass(e.fullsubopen).removeClass(e.fullsubopensearch),o.each(function(){var c=a(this),d=p;(j.showTextItems||j.showSubPanels&&c.find("."+e.next))&&(d=q),a(d,c).text().toLowerCase().indexOf(b)>-1&&c.add(c.prevAll("."+e.divider).first()).removeClass(e.hidden)}),j.showSubPanels&&h.each(function(){var b=a(this);i.__filterListItems(b.find("."+e.listview).children()).each(function(){var b=a(this),c=b.data(f.sub);b.removeClass(e.nosubresults),c&&c.find("."+e.listview).children().removeClass(e.hidden)})}),a(h.get().reverse()).each(function(b){var c=a(this),g=c.data(f.parent);g&&(i.__filterListItems(c.find("."+e.listview).children()).length?(g.hasClass(e.hidden)&&g.children("."+e.next).not("."+e.fullsubopen).addClass(e.fullsubopen).addClass(e.fullsubopensearch),g.removeClass(e.hidden).removeClass(e.nosubresults).prevAll("."+e.divider).first().removeClass(e.hidden)):d||(c.hasClass(e.opened)&&setTimeout(function(){i.openPanel(g.closest("."+e.panel))},1.5*(b+1)*i.conf.openingInterval),g.addClass(e.nosubresults)))}),k[o.not("."+e.hidden).length?"removeClass":"addClass"](e.noresults),this.update()};l.off(g.keyup+"-searchfield "+g.change+"-searchfield").on(g.keyup+"-searchfield",function(a){b(a.keyCode)||r.call(i)}).on(g.change+"-searchfield",function(){r.call(i)})})}})},add:function(){e=a[c]._c,f=a[c]._d,g=a[c]._e,e.add("search hassearch noresultsmsg noresults nosubresults fullsubopensearch"),g.add("change keyup")},clickAnchor:function(){}},a[c].defaults[d]={add:!1,addTo:"panels",search:!0,placeholder:"Search",noResults:"No results found.",showTextItems:!1,showSubPanels:!0},a[c].configuration[d]={form:!1};var e,f,g,h}(jQuery),!function(a){var b="mmenu",c="sectionIndexer";a[b].addons[c]={setup:function(){var e=this,h=this.opts[c];this.conf[c],g=a[b].glbl,"boolean"==typeof h&&(h={add:h}),"object"!=typeof h&&(h={}),h=this.opts[c]=a.extend(!0,{},a[b].defaults[c],h),this.bind("init",function(b){if(h.add){switch(h.addTo){case"panels":var c=b;break;default:var c=a(h.addTo,this.$menu).filter("."+d.panel)}c.find("."+d.divider).closest("."+d.panel).addClass(d.hasindexer)}if(!this.$indexer&&this.$menu.children("."+d.hasindexer).length){this.$indexer=a('<div class="'+d.indexer+'" />').prependTo(this.$menu).append('<a href="#a">a</a><a href="#b">b</a><a href="#c">c</a><a href="#d">d</a><a href="#e">e</a><a href="#f">f</a><a href="#g">g</a><a href="#h">h</a><a href="#i">i</a><a href="#j">j</a><a href="#k">k</a><a href="#l">l</a><a href="#m">m</a><a href="#n">n</a><a href="#o">o</a><a href="#p">p</a><a href="#q">q</a><a href="#r">r</a><a href="#s">s</a><a href="#t">t</a><a href="#u">u</a><a href="#v">v</a><a href="#w">w</a><a href="#x">x</a><a href="#y">y</a><a href="#z">z</a>'),this.$indexer.children().on(f.mouseover+"-sectionindexer "+d.touchstart+"-sectionindexer",function(){var b=a(this).attr("href").slice(1),c=e.$menu.children("."+d.current),f=c.find("."+d.listview),g=!1,h=c.scrollTop(),i=f.position().top+parseInt(f.css("margin-top"),10)+parseInt(f.css("padding-top"),10)+h;c.scrollTop(0),f.children("."+d.divider).not("."+d.hidden).each(function(){g===!1&&b==a(this).text().slice(0,1).toLowerCase()&&(g=a(this).position().top+i)}),c.scrollTop(g!==!1?g:h)});var g=function(a){e.$menu[(a.hasClass(d.hasindexer)?"add":"remove")+"Class"](d.hasindexer)};this.bind("openPanel",g),g.call(this,this.$menu.children("."+d.current))}})},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("indexer hasindexer"),f.add("mouseover touchstart")},clickAnchor:function(a){return a.parent().is("."+d.indexer)?!0:void 0}},a[b].defaults[c]={add:!1,addTo:"panels"};var d,e,f,g}(jQuery),!function(a){var b="mmenu",c="toggles";a[b].addons[c]={setup:function(){var e=this;this.opts[c],this.conf[c],g=a[b].glbl,this.bind("init",function(b){this.__refactorClass(a("input",b),this.conf.classNames[c].toggle,"toggle"),this.__refactorClass(a("input",b),this.conf.classNames[c].check,"check"),a("input."+d.toggle+", input."+d.check,b).each(function(){var b=a(this),c=b.closest("li"),f=b.hasClass(d.toggle)?"toggle":"check",g=b.attr("id")||e.__getUniqueId();c.children('label[for="'+g+'"]').length||(b.attr("id",g),c.prepend(b),a('<label for="'+g+'" class="'+d[f]+'"></label>').insertBefore(c.children("a, span").last()))})})},add:function(){d=a[b]._c,e=a[b]._d,f=a[b]._e,d.add("toggle check")},clickAnchor:function(){}},a[b].configuration.classNames[c]={toggle:"Toggle",check:"Check"};var d,e,f,g}(jQuery),window.matchMedia=window.matchMedia||function(a,b){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document),function(a){"use strict";function b(){v(!0)}var c={};if(a.respond=c,c.update=function(){},c.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var d,e,f,g=a.document,h=g.documentElement,i=[],j=[],k=[],l={},m=30,n=g.getElementsByTagName("head")[0]||h,o=g.getElementsByTagName("base")[0],p=n.getElementsByTagName("link"),q=[],r=function(){for(var b=0;b<p.length;b++){var c=p[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!l[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(t(c.styleSheet.rawCssText,d,e),l[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!o||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&q.push({href:d,media:e}))}s()},s=function(){if(q.length){var b=q.shift();w(b.href,function(c){t(c,b.href,b.media),l[b.href]=!0,a.setTimeout(function(){s()},0)})}},t=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),e=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var f=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},g=!e&&c;b.length&&(b+="/"),g&&(e=1);for(var h=0;e>h;h++){var k,l,m,n;g?(k=c,j.push(f(a))):(k=d[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,j.push(RegExp.$2&&f(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],i.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:j.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},u=function(){var a,b=g.createElement("div"),c=g.body,d=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=d=g.createElement("body"),c.style.background="none"),c.appendChild(b),h.insertBefore(c,h.firstChild),a=b.offsetWidth,d?h.removeChild(c):c.removeChild(b),a=f=parseFloat(a)},v=function(b){var c="clientWidth",l=h[c],o="CSS1Compat"===g.compatMode&&l||g.body[c]||l,q={},r=p[p.length-1],s=(new Date).getTime();if(b&&d&&m>s-d)return a.clearTimeout(e),void(e=a.setTimeout(v,m));d=s;for(var t in i)if(i.hasOwnProperty(t)){var w=i[t],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?f||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?f||u():1)),w.hasquery&&(z&&A||!(z||o>=x)||!(A||y>=o))||(q[w.media]||(q[w.media]=[]),q[w.media].push(j[w.rules]))}for(var C in k)k.hasOwnProperty(C)&&k[C]&&k[C].parentNode===n&&n.removeChild(k[C]);for(var D in q)if(q.hasOwnProperty(D)){var E=g.createElement("style"),F=q[D].join("\n");E.type="text/css",E.media=D,n.insertBefore(E,r.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(g.createTextNode(F)),k.push(E)}},w=function(a,b){var c=x();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},x=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();r(),c.update=r,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this),$(function(){$("#dl-menu").dlmenu({animationClasses:{classin:"dl-animate-in",classout:"dl-animate-out"}})}),$(function(){$("article").fitVids()}),$(".close-menu").click(function(){$(".menu").toggleClass("disabled"),$(".links").toggleClass("enabled")}),$(".about").click(function(){$("#about").css("display","block")}),$(".close-about").click(function(){$("#about").css("display","")}),$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(document).ready(function(){$(".image-popup").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">Image #%curr%</a> could not be loaded.'},removalDelay:300,mainClass:"mfp-fade"})}),$(document).ready(function(a){$(window).scroll(function(){var a=$(".header-menu"),b=$(window).scrollTop();b>300?a.attr("class","header-menu header-menu-overflow"):a.attr("class","header-menu header-menu-top")})}),$(document).ready(function(){$("#menu").attr("style",""),$("#menu").mmenu({extensions:["border-full","effect-zoom-menu","effect-zoom-panels","pageshadow","theme-dark"],counters:!0,navbars:[{position:"bottom",content:["<a class='fa fa-search' href='/search'></a>","<a class='fa fa-envelope' href='#/'></a>","<a class='fa fa-facebook' href='#/'></a>"]}]})});var sharing=function(){$(document).ready(function(){$("body").floatingSocialShare({buttons:["facebook","google-plus","linkedin","pinterest"],text:"Share with "})})};