").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document),!function(){var a=jQuery.event.special,b="D"+ +new Date,c="D"+(+new Date+1);a.scrollstart={setup:function(){var c,d=function(b){var d=this,e=arguments;c?clearTimeout(c):(b.type="scrollstart",jQuery.event.dispatch.apply(d,e)),c=setTimeout(function(){c=null},a.scrollstop.latency)};jQuery(this).bind("scroll",d).data(b,d)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(b))}},a.scrollstop={latency:300,setup:function(){var b,d=function(c){var d=this,e=arguments;b&&clearTimeout(b),b=setTimeout(function(){b=null,c.type="scrollstop",jQuery.event.dispatch.apply(d,e)},a.scrollstop.latency)};jQuery(this).bind("scroll",d).data(c,d)},teardown:function(){jQuery(this).unbind("scroll",jQuery(this).data(c))}}}(),$(document).ready(function(){$("img.lazy").lazyload({effect:"fadeIn"})}),!function(a){var b;window.UIkit&&(b=a(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return b||a(UIkit)})}(function(a){"use strict";var b,c=0;a.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){a.ready(function(b){a.$("[data-uk-slideshow]",b).each(function(){var b=a.$(this);b.data("slideshow")||a.slideshow(b,a.Utils.options(b.attr("data-uk-slideshow")))})})},init:function(){var b,d,e=this;this.container=this.element.hasClass("uk-slideshow")?this.element:a.$(this.find(".uk-slideshow")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-uk-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(d=this.options.kenburns===!0?"15s":this.options.kenburns,String(d).match(/(ms|s)$/)||(d+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.slides.each(function(f){var g=a.$(this),h=g.children("img,video,iframe").eq(0);if(g.data("media",h),g.data("sizer",h),h.length){var i;switch(h[0].nodeName){case"IMG":var j=a.$('
').css({"background-image":"url("+h.attr("src")+")"});h.css({width:"100%",height:"auto"}),g.prepend(j).data("cover",j);break;case"IFRAME":var k=h[0].src,l="sw-"+ ++c;h.attr("src","").on("load",function(){if((f!==e.current||f==e.current&&!e.options.videoautoplay)&&e.pausemedia(h),e.options.videomute){e.mutemedia(h);var a=setInterval(function(b){return function(){e.mutemedia(h),++b>=4&&clearInterval(a)}}(0),250)}}).data("slideshow",e).attr("data-player-id",l).attr("src",[k,k.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+l].join("")).addClass("uk-position-absolute"),a.support.touch||h.css("pointer-events","none"),i=!0,a.cover&&(a.cover(h),h.attr("data-uk-cover","{}"));break;case"VIDEO":h.addClass("uk-cover-object uk-position-absolute"),i=!0,e.options.videomute&&e.mutemedia(h)}if(i){b=a.$("").attr({width:h[0].width,height:h[0].height});var m=a.$('').attr("src",b[0].toDataURL());g.prepend(m),g.data("sizer",m)}}else g.data("sizer",g);e.hasKenBurns(g)&&g.data("cover").css({"-webkit-animation-duration":d,"animation-duration":d})}),this.on("click.uikit.slideshow","[data-uk-slideshow-item]",function(b){b.preventDefault();var c=a.$(this).attr("data-uk-slideshow-item");if(e.current!=c){switch(c){case"next":case"previous":e["next"==c?"next":"previous"]();break;default:e.show(parseInt(c,10))}e.stop()}}),this.slides.attr("aria-hidden","true").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active"),a.$win.on("resize load",a.Utils.debounce(function(){e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight))},100)),setTimeout(function(){e.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){e.options.pauseOnHover&&(e.hovering=!0)},mouseleave:function(){e.hovering=!1}}),this.on("swipeRight swipeLeft",function(a){e["swipeLeft"==a.type?"next":"previous"]()}),this.on("display.uk.check",function(){e.element.is(":visible")&&(e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var b=this.options.height;"auto"===this.options.height&&(b=0,this.slides.css("height","").each(function(){b=Math.max(b,a.$(this).height())})),this.container.css("height",b),this.slides.css("height",b)}},show:function(c,d){if(!this.animating&&this.current!=c){this.animating=!0;var e=this,f=this.slides.eq(this.current),g=this.slides.eq(c),h=d?d:this.current-1&&"ready"==d.event&&d.player_id&&(c=a.$('[data-player-id="'+d.player_id+'"]'),c.length&&c.data("slideshow").mutemedia(c))},!1)}),!function(a){var b;window.UIkit&&(b=a(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return b||a(UIkit)})}(function(a){"use strict";var b,c,d,e,f={};return a.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){a.ready(function(b){setTimeout(function(){a.$("[data-uk-slider]",b).each(function(){var b=a.$(this);b.data("slider")||a.slider(b,a.Utils.options(b.attr("data-uk-slider")))})},0)})},init:function(){var g=this;this.container=this.element.find(".uk-slider"),this.focus=0,a.$win.on("resize load",a.Utils.debounce(function(){g.resize(!0)},100)),this.on("click.uikit.slider","[data-uk-slider-item]",function(b){b.preventDefault();var c=a.$(this).attr("data-uk-slider-item");if(g.focus!=c)switch(g.stop(),c){case"next":case"previous":g["next"==c?"next":"previous"]();break;default:g.updateFocus(parseInt(c,10))}}),this.container.on({"touchstart mousedown":function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!g.active||(g.stop(),d=a.$(h.target).is("a")?a.$(h.target):a.$(h.target).parents("a:first"),e=!1,d.length&&d.one("click",function(a){e&&a.preventDefault()}),c=function(a){e=!0,b=g,f={touchx:parseInt(a.pageX,10),dir:1,focus:g.focus,base:g.options.center?"center":"area"},a.originalEvent&&a.originalEvent.touches&&(a=a.originalEvent.touches[0]),b.element.data({"pointer-start":{x:parseInt(a.pageX,10),y:parseInt(a.pageY,10)},"pointer-pos-start":g.pos}),g.container.addClass("uk-drag"),c=!1},c.x=parseInt(h.pageX,10),c.threshold=g.options.threshold)},mouseenter:function(){g.options.pauseOnHover&&(g.hovering=!0)},mouseleave:function(){g.hovering=!1}}),this.resize(!0),this.on("display.uk.check",function(){g.element.is(":visible")&&g.resize(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start()},resize:function(b){var c,d,e,f,g=this,h=0,i=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(b){c=a.$(this),f=c.css({left:"",width:""})[0].getBoundingClientRect(),d=f.width,e=c.width(),i=Math.max(i,f.height),c.css({left:h,width:d}).data({idx:b,left:h,width:d,cwidth:e,area:h+d,center:h-(g.vp/2-e/2)}),h+=d}),this.container.css({"min-width":h,"min-height":i}),this.options.infinite&&h<=2*this.vp&&!this.itemsResized?(this.container.children().each(function(a){g.container.append(g.items.eq(a).clone(!0).attr("id",""))}).each(function(a){g.container.append(g.items.eq(a).clone(!0).attr("id",""))}),this.itemsResized=!0,this.resize()):(this.cw=h,this.pos=0,this.active=h>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),void(b&&this.updateFocus(this.focus)))},updatePos:function(a){this.pos=a,this.container.css({"-ms-transform":"translateX("+a+"px)","-webkit-transform":"translateX("+a+"px)",transform:"translateX("+a+"px)"})},updateFocus:function(a,b){if(this.active){b=b||(a>this.focus?1:-1);var c,d,e=this.items.eq(a);if(this.options.infinite&&this.infinite(a,b),this.options.center)this.updatePos(-1*e.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),e.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*e.data("left"));else{for(c=0,d=a;dthis.vp)this.updatePos(-1*e.data("left"));else if(1==b){for(c=0,d=this.items.length-1;d>=0;d--)if(c+=this.items.eq(d).data("width"),c>=this.vp){a=d;break}this.updatePos(-1*this.items.eq(a).data("left"))}}this.focus=a,this.trigger("focusitem.uk.slider",[a,this.items.eq(a),this])}},next:function(){var a=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(a,1)},previous:function(){var a=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(a,-1)},start:function(){this.stop();var a=this;this.interval=setInterval(function(){a.hovering||a.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},infinite:function(a,b){var c,d=this,e=this.items.eq(a),f=a,g=[],h=0;if(1==b){for(c=0;cthis.vp));c++)f=f+1==this.items.length?0:f+1;g.length&&g.forEach(function(a){var b=e.data("area");a.css({left:b}).data({left:b,area:b+a.data("width"),center:b-(d.vp/2-a.data("cwidth")/2)}),e=a})}else{for(c=this.items.length-1;c>-1&&(h+=this.items.eq(f).data("width"),f!=a&&g.push(this.items.eq(f)),!(h>this.vp));c--)f=f-1==-1?this.items.length-1:f-1;g.length&&g.forEach(function(a){var b=e.data("left")-a.data("width");a.css({left:b}).data({left:b,area:b+a.data("width"),center:b-(d.vp/2-a.data("cwidth")/2)}),e=a})}}}),a.$doc.on("mousemove.uikit.slider touchmove.uikit.slider",function(a){if(a.originalEvent&&a.originalEvent.touches&&(a=a.originalEvent.touches[0]),c&&Math.abs(a.pageX-c.x)>c.threshold&&(window.getSelection().toString()?b=c=!1:c(a)),b){var d,e,g,h,i,j,k,l,m,n;if(a.clientX||a.clientY?d=a.clientX:(a.pageX||a.pageY)&&(d=a.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),i=f.focus,e=d-b.element.data("pointer-start").x,g=b.element.data("pointer-pos-start")+e,h=d>b.element.data("pointer-start").x?-1:1,j=b.items.eq(f.focus),1==h)for(k=j.data("left")+Math.abs(e),l=0,m=f.focus;lk){i=m;break}m=m+1==b.items.length?0:m+1}else for(k=j.data("left")-Math.abs(e),l=0,m=f.focus;lf.diff){g=e;break}e=e+1==b.items.length?0:e+1}else for(d=0,e=f.focus;db)return null;for(;f>d;)c=d%b,c?g[e][c]=a[d]:g[++e]=[a[d]],d++;for(d=0,f=g.length;f>d;)g[d]=jQuery(g[d]),d++;return g}var d;a.component("slideset",{defaults:{default:1,animation:"fade",duration:200,filter:"",delay:!1,controls:!1,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},sets:[],boot:function(){a.ready(function(b){a.$("[data-uk-slideset]",b).each(function(){var b=a.$(this);b.data("slideset")||a.slideset(b,a.Utils.options(b.attr("data-uk-slideset")))})})},init:function(){var b=this;this.activeSet=!1,this.list=this.element.find(".uk-slideset"),this.nav=this.element.find(".uk-slideset-nav"),this.controls=this.options.controls?a.$(this.options.controls):this.element,a.$win.on("resize load",a.Utils.debounce(function(){b.updateSets()},100)),b.list.addClass("uk-grid-width-1-"+b.options.default),["xlarge","large","medium","small"].forEach(function(a){b.options[a]&&b.list.addClass("uk-grid-width-"+a+"-1-"+b.options[a])}),this.on("click.uikit.slideset","[data-uk-slideset-item]",function(c){if(c.preventDefault(),!b.animating){var d=a.$(this).attr("data-uk-slideset-item");if(b.activeSet!==d)switch(d){case"next":case"previous":b["next"==d?"next":"previous"]();break;default:b.show(parseInt(d,10))}}}),this.controls.on("click.uikit.slideset","[data-uk-filter]",function(c){var d=a.$(this);d.parent().hasClass("uk-slideset")||(c.preventDefault(),b.animating||b.currentFilter==d.attr("data-uk-filter")||(b.updateFilter(d.attr("data-uk-filter")),b._hide().then(function(){b.updateSets(!0,!0)})))}),this.on("swipeRight swipeLeft",function(a){b["swipeLeft"==a.type?"next":"previous"]()}),this.updateFilter(this.options.filter),this.updateSets(),this.element.on({mouseenter:function(){b.options.pauseOnHover&&(b.hovering=!0)},mouseleave:function(){b.hovering=!1}}),this.options.autoplay&&this.start()},updateSets:function(a,b){var d,e=this.visible;if(this.visible=this.getVisibleOnCurrenBreakpoint(),e!=this.visible||b){for(this.children=this.list.children().hide(),this.items=this.getItems(),this.sets=c(this.items,this.visible),d=0;d');this.nav[1==this.nav.children().length?"addClass":"removeClass"]("uk-invisible")}this.activeSet=!1,this.show(0,!a)}},updateFilter:function(b){var c,d=this;this.currentFilter=b,this.controls.find("[data-uk-filter]").each(function(){c=a.$(this),c.parent().hasClass("uk-slideset")||(c.attr("data-uk-filter")==d.currentFilter?c.addClass("uk-active"):c.removeClass("uk-active"))})},getVisibleOnCurrenBreakpoint:function(){var b=null,c=a.$('').appendTo("body"),d=c.children().eq(0),e=this.options;return["xlarge","large","medium","small"].forEach(function(a){e[a]&&!b&&(c.attr("class","uk-grid-width-"+a+"-1-2").width(),50==d.width()&&(b=a))}),c.remove(),this.options[b]||this.options.default},getItems:function(){var b,c=[];return this.currentFilter?(b=this.currentFilter||[],"string"==typeof b&&(b=b.split(/,/).map(function(a){return a.trim()})),this.children.each(function(){var d=a.$(this),e=d.attr("data-uk-filter"),f=!b.length;e&&(e=e.split(/,/).map(function(a){return a.trim()}),b.forEach(function(a){e.indexOf(a)>-1&&(f=!0)})),f&&c.push(d[0])}),c=a.$(c)):c=this.list.children(),c},show:function(b,c,e){var f=this;if(this.activeSet!==b&&!this.animating){e=e||(bm?m-j:0,o=0;of?f+i.top:i.top),i.boundary&&i.boundary.length){var p=i.boundary.offset().top;g=i.boundtoparent?k-(p+i.boundary.outerHeight())+parseInt(i.boundary.css("padding-bottom")):k-p-parseInt(i.boundary.css("margin-top")),f=j+h>k-g-(i.top<0?0:i.top)?k-g-(j+h):f}if(i.currentTop!=f){if(i.element.css({position:"fixed",top:f,width:"undefined"!=typeof i.getWidthFrom?a.$(i.getWidthFrom).width():i.element.width(),left:i.wrapper.offset().left}),!i.init&&(i.element.addClass(i.options.clsinit),location.hash&&j>0&&i.options.target)){var q=a.$(location.hash);q.length&&setTimeout(function(a,b){return function(){b.element.width();var c=a.offset(),d=c.top+a.outerHeight(),e=b.element.offset(),f=b.element.outerHeight(),g=e.top+f;e.top'),h=this.options.boundary;this.wrapper=this.element.css("margin",0).wrap(g).parent(),this.computeWrapper(),h&&(h===!0?(h=this.wrapper.parent(),b=!0):"string"==typeof h&&(h=a.$(h))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:this.options.getWidthFrom||this.wrapper,boundary:h,boundtoparent:b,top:0,calcTop:function(){var b=this.options.top;if(this.options.top&&"string"==typeof this.options.top)if(this.options.top.match(/^(-|)(\d+)vh$/))b=window.innerHeight*parseInt(this.options.top,10)/100;else{var c=a.$(this.options.top).first();c.length&&c.is(":visible")&&(b=-1*(c.offset().top+c.outerHeight()-this.wrapper.offset().top))}this.top=b},reset:function(b){this.calcTop();var c=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.element.addClass(this.options.clsinactive),this.currentTop=null,this.animate=!1}.bind(this);!b&&this.options.animation&&a.support.animation&&!a.Utils.isInView(this.wrapper)?(this.animate=!0,this.element.removeClass(this.options.animation).one(a.support.animation.end,function(){c()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):c()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidthg?g-b:0,i=this.wrapper.offset().top,j=i-this.top-h,k=b>=j;return k&&this.options.showup&&(1==f&&(k=!1),-1==f&&!this.element.hasClass(this.options.clsactive)&&a.Utils.isInView(this.wrapper)&&(k=!1)),k}},this.sticky.calcTop(),e.push(this.sticky)},update:function(){b(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(a){this.options.disabled=!0,this.sticky.reset(a)},computeWrapper:function(){this.wrapper.css({height:-1==["absolute","fixed"].indexOf(this.element.css("position"))?this.element.outerHeight():"",float:"none"!=this.element.css("float")?this.element.css("float"):"",margin:this.element.css("margin")})}}),a.sticky}),!function(a){a.flexslider=function(b,c){var d=a(b);d.vars=a.extend({},a.flexslider.defaults,c);var j,e=d.vars.namespace,f=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,g=("ontouchstart"in window||f||window.DocumentTouch&&document instanceof DocumentTouch)&&d.vars.touch,h="click touchend MSPointerUp keyup",i="",k="vertical"===d.vars.direction,l=d.vars.reverse,m=d.vars.itemWidth>0,n="fade"===d.vars.animation,o=""!==d.vars.asNavFor,p={},q=!0;a.data(b,"flexslider",d),p={init:function(){d.animating=!1,d.currentSlide=parseInt(d.vars.startAt?d.vars.startAt:0,10),isNaN(d.currentSlide)&&(d.currentSlide=0),d.animatingTo=d.currentSlide,d.atEnd=0===d.currentSlide||d.currentSlide===d.last,d.containerSelector=d.vars.selector.substr(0,d.vars.selector.search(" ")),d.slides=a(d.vars.selector,d),d.container=a(d.containerSelector,d),d.count=d.slides.length,d.syncExists=a(d.vars.sync).length>0,"slide"===d.vars.animation&&(d.vars.animation="swing"),d.prop=k?"top":"marginLeft", d.args={},d.manualPause=!1,d.stopped=!1,d.started=!1,d.startTimeout=null,d.transitions=!d.vars.video&&!n&&d.vars.useCSS&&function(){var a=document.createElement("div"),b=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var c in b)if(void 0!==a.style[b[c]])return d.pfx=b[c].replace("Perspective","").toLowerCase(),d.prop="-"+d.pfx+"-transform",!0;return!1}(),d.ensureAnimationEnd="",""!==d.vars.controlsContainer&&(d.controlsContainer=a(d.vars.controlsContainer).length>0&&a(d.vars.controlsContainer)),""!==d.vars.manualControls&&(d.manualControls=a(d.vars.manualControls).length>0&&a(d.vars.manualControls)),""!==d.vars.customDirectionNav&&(d.customDirectionNav=2===a(d.vars.customDirectionNav).length&&a(d.vars.customDirectionNav)),d.vars.randomize&&(d.slides.sort(function(){return Math.round(Math.random())-.5}),d.container.empty().append(d.slides)),d.doMath(),d.setup("init"),d.vars.controlNav&&p.controlNav.setup(),d.vars.directionNav&&p.directionNav.setup(),d.vars.keyboard&&(1===a(d.containerSelector).length||d.vars.multipleKeyboard)&&a(document).bind("keyup",function(a){var b=a.keyCode;if(!d.animating&&(39===b||37===b)){var c=39===b?d.getTarget("next"):37===b&&d.getTarget("prev");d.flexAnimate(c,d.vars.pauseOnAction)}}),d.vars.mousewheel&&d.bind("mousewheel",function(a,b,c,e){a.preventDefault();var f=d.getTarget(0>b?"next":"prev");d.flexAnimate(f,d.vars.pauseOnAction)}),d.vars.pausePlay&&p.pausePlay.setup(),d.vars.slideshow&&d.vars.pauseInvisible&&p.pauseInvisible.init(),d.vars.slideshow&&(d.vars.pauseOnHover&&d.hover(function(){d.manualPlay||d.manualPause||d.pause()},function(){d.manualPause||d.manualPlay||d.stopped||d.play()}),d.vars.pauseInvisible&&p.pauseInvisible.isHidden()||(d.vars.initDelay>0?d.startTimeout=setTimeout(d.play,d.vars.initDelay):d.play())),o&&p.asNav.setup(),g&&d.vars.touch&&p.touch(),(!n||n&&d.vars.smoothHeight)&&a(window).bind("resize orientationchange focus",p.resize),d.find("img").attr("draggable","false"),setTimeout(function(){d.vars.start(d)},200)},asNav:{setup:function(){d.asNav=!0,d.animatingTo=Math.floor(d.currentSlide/d.move),d.currentItem=d.currentSlide,d.slides.removeClass(e+"active-slide").eq(d.currentItem).addClass(e+"active-slide"),f?(b._slider=d,d.slides.each(function(){var b=this;b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",function(a){a.preventDefault(),a.currentTarget._gesture&&a.currentTarget._gesture.addPointer(a.pointerId)},!1),b.addEventListener("MSGestureTap",function(b){b.preventDefault();var c=a(this),e=c.index();a(d.vars.asNavFor).data("flexslider").animating||c.hasClass("active")||(d.direction=d.currentItem=g&&c.hasClass(e+"active-slide")?d.flexAnimate(d.getTarget("prev"),!0):a(d.vars.asNavFor).data("flexslider").animating||c.hasClass(e+"active-slide")||(d.direction=d.currentItem'),d.pagingCount>1)for(var j=0;j':""+c+"","thumbnails"===d.vars.controlNav&&!0===d.vars.thumbCaptions){var k=g.attr("data-thumbcaption");""!==k&&void 0!==k&&(f+=''+k+"")}d.controlNavScaffold.append(""+f+""),c++}d.controlsContainer?a(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),p.controlNav.set(),p.controlNav.active(),d.controlNavScaffold.delegate("a, img",h,function(b){if(b.preventDefault(),""===i||i===b.type){var c=a(this),f=d.controlNav.index(c);c.hasClass(e+"active")||(d.direction=f>d.currentSlide?"next":"prev",d.flexAnimate(f,d.vars.pauseOnAction))}""===i&&(i=b.type),p.setToClearWatchedEvent()})},setupManual:function(){d.controlNav=d.manualControls,p.controlNav.active(),d.controlNav.bind(h,function(b){if(b.preventDefault(),""===i||i===b.type){var c=a(this),f=d.controlNav.index(c);c.hasClass(e+"active")||(d.direction=f>d.currentSlide?"next":"prev",d.flexAnimate(f,d.vars.pauseOnAction))}""===i&&(i=b.type),p.setToClearWatchedEvent()})},set:function(){var b="thumbnails"===d.vars.controlNav?"img":"a";d.controlNav=a("."+e+"control-nav li "+b,d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(e+"active").eq(d.animatingTo).addClass(e+"active")},update:function(b,c){d.pagingCount>1&&"add"===b?d.controlNavScaffold.append(a(""+d.count+"")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(c).closest("li").remove(),p.controlNav.set(),d.pagingCount>1&&d.pagingCount!==d.controlNav.length?d.update(c,b):p.controlNav.active()}},directionNav:{setup:function(){var b=a('");d.customDirectionNav?d.directionNav=d.customDirectionNav:d.controlsContainer?(a(d.controlsContainer).append(b),d.directionNav=a("."+e+"direction-nav li a",d.controlsContainer)):(d.append(b),d.directionNav=a("."+e+"direction-nav li a",d)),p.directionNav.update(),d.directionNav.bind(h,function(b){b.preventDefault();var c;(""===i||i===b.type)&&(c=d.getTarget(a(this).hasClass(e+"next")?"next":"prev"),d.flexAnimate(c,d.vars.pauseOnAction)),""===i&&(i=b.type),p.setToClearWatchedEvent()})},update:function(){var a=e+"disabled";1===d.pagingCount?d.directionNav.addClass(a).attr("tabindex","-1"):d.vars.animationLoop?d.directionNav.removeClass(a).removeAttr("tabindex"):0===d.animatingTo?d.directionNav.removeClass(a).filter("."+e+"prev").addClass(a).attr("tabindex","-1"):d.animatingTo===d.last?d.directionNav.removeClass(a).filter("."+e+"next").addClass(a).attr("tabindex","-1"):d.directionNav.removeClass(a).removeAttr("tabindex")}},pausePlay:{setup:function(){var b=a('');d.controlsContainer?(d.controlsContainer.append(b),d.pausePlay=a("."+e+"pauseplay a",d.controlsContainer)):(d.append(b),d.pausePlay=a("."+e+"pauseplay a",d)),p.pausePlay.update(d.vars.slideshow?e+"pause":e+"play"),d.pausePlay.bind(h,function(b){b.preventDefault(),(""===i||i===b.type)&&(a(this).hasClass(e+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())),""===i&&(i=b.type),p.setToClearWatchedEvent()})},update:function(a){"play"===a?d.pausePlay.removeClass(e+"pause").addClass(e+"play").html(d.vars.playText):d.pausePlay.removeClass(e+"play").addClass(e+"pause").html(d.vars.pauseText)}},touch:function(){function a(a){a.stopPropagation(),d.animating?a.preventDefault():(d.pause(),b._gesture.addPointer(a.pointerId),w=0,j=k?d.h:d.w,p=Number(new Date),i=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*j:(d.currentSlide+d.cloneOffset)*j)}function c(a){a.stopPropagation();var c=a.target._slider;if(c){var d=-a.translationX,e=-a.translationY;return w+=k?e:d,o=w,t=k?Math.abs(w)500)&&(a.preventDefault(),!n&&c.transitions&&(c.vars.animationLoop||(o=w/(0===c.currentSlide&&0>w||c.currentSlide===c.last&&w>0?Math.abs(w)/j+2:1)),c.setProps(i+o,"setTouch"))))}}function e(a){a.stopPropagation();var b=a.target._slider;if(b){if(b.animatingTo===b.currentSlide&&!t&&null!==o){var c=l?-o:o,d=b.getTarget(c>0?"next":"prev");b.canAdvance(d)&&(Number(new Date)-p<550&&Math.abs(c)>50||Math.abs(c)>j/2)?b.flexAnimate(d,b.vars.pauseOnAction):n||b.flexAnimate(b.currentSlide,b.vars.pauseOnAction,!0)}g=null,h=null,o=null,i=null,w=0}}var g,h,i,j,o,p,q,r,s,t=!1,u=0,v=0,w=0;f?(b.style.msTouchAction="none",b._gesture=new MSGesture,b._gesture.target=b,b.addEventListener("MSPointerDown",a,!1),b._slider=d,b.addEventListener("MSGestureChange",c,!1),b.addEventListener("MSGestureEnd",e,!1)):(q=function(a){d.animating?a.preventDefault():(window.navigator.msPointerEnabled||1===a.touches.length)&&(d.pause(),j=k?d.h:d.w,p=Number(new Date),u=a.touches[0].pageX,v=a.touches[0].pageY,i=m&&l&&d.animatingTo===d.last?0:m&&l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:m&&d.currentSlide===d.last?d.limit:m?(d.itemW+d.vars.itemMargin)*d.move*d.currentSlide:l?(d.last-d.currentSlide+d.cloneOffset)*j:(d.currentSlide+d.cloneOffset)*j,g=k?v:u,h=k?u:v,b.addEventListener("touchmove",r,!1),b.addEventListener("touchend",s,!1))},r=function(a){u=a.touches[0].pageX,v=a.touches[0].pageY,o=k?g-v:g-u,t=k?Math.abs(o)b)&&(a.preventDefault(),!n&&d.transitions&&(d.vars.animationLoop||(o/=0===d.currentSlide&&0>o||d.currentSlide===d.last&&o>0?Math.abs(o)/j+2:1),d.setProps(i+o,"setTouch")))},s=function(a){if(b.removeEventListener("touchmove",r,!1),d.animatingTo===d.currentSlide&&!t&&null!==o){var c=l?-o:o,e=d.getTarget(c>0?"next":"prev");d.canAdvance(e)&&(Number(new Date)-p<550&&Math.abs(c)>50||Math.abs(c)>j/2)?d.flexAnimate(e,d.vars.pauseOnAction):n||d.flexAnimate(d.currentSlide,d.vars.pauseOnAction,!0)}b.removeEventListener("touchend",s,!1),g=null,h=null,o=null,i=null},b.addEventListener("touchstart",q,!1))},resize:function(){!d.animating&&d.is(":visible")&&(m||d.doMath(),n?p.smoothHeight():m?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):k?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(d.vars.smoothHeight&&p.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(a){if(!k||n){var b=n?d:d.viewport;a?b.animate({height:d.slides.eq(d.animatingTo).height()},a):b.height(d.slides.eq(d.animatingTo).height())}},sync:function(b){var c=a(d.vars.sync).data("flexslider"),e=d.animatingTo;switch(b){case"animate":c.flexAnimate(e,d.vars.pauseOnAction,!1,!0);break;case"play":c.playing||c.asNav||c.play();break;case"pause":c.pause()}},uniqueID:function(b){return b.filter("[id]").add(b.find("[id]")).each(function(){var b=a(this);b.attr("id",b.attr("id")+"_clone")}),b},pauseInvisible:{visProp:null,init:function(){var a=p.pauseInvisible.getHiddenProp();if(a){var b=a.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(b,function(){p.pauseInvisible.isHidden()?d.startTimeout?clearTimeout(d.startTimeout):d.pause():d.started?d.play():d.vars.initDelay>0?setTimeout(d.play,d.vars.initDelay):d.play()})}},isHidden:function(){var a=p.pauseInvisible.getHiddenProp();return!!a&&document[a]},getHiddenProp:function(){var a=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var b=0;bd.currentSlide?"next":"prev"),o&&1===d.pagingCount&&(d.direction=d.currentItemd.limit&&1!==d.visible?d.limit:t):s=0===d.currentSlide&&b===d.count-1&&d.vars.animationLoop&&"next"!==d.direction?l?(d.count+d.cloneOffset)*q:0:d.currentSlide===d.last&&0===b&&d.vars.animationLoop&&"prev"!==d.direction?l?0:(d.count+1)*q:l?(d.count-1-b+d.cloneOffset)*q:(b+d.cloneOffset)*q,d.setProps(s,"",d.vars.animationSpeed),d.transitions?(d.vars.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(d.ensureAnimationEnd),d.wrapup(q)}),clearTimeout(d.ensureAnimationEnd),d.ensureAnimationEnd=setTimeout(function(){d.wrapup(q)},d.vars.animationSpeed+100)):d.container.animate(d.args,d.vars.animationSpeed,d.vars.easing,function(){d.wrapup(q)})}d.vars.smoothHeight&&p.smoothHeight(d.vars.animationSpeed)}},d.wrapup=function(a){n||m||(0===d.currentSlide&&d.animatingTo===d.last&&d.vars.animationLoop?d.setProps(a,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&d.vars.animationLoop&&d.setProps(a,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,d.vars.after(d)},d.animateSlides=function(){!d.animating&&q&&d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.animatedSlides=null,d.playing=!1,d.vars.pausePlay&&p.pausePlay.update("play"),d.syncExists&&p.sync("pause")},d.play=function(){d.playing&&clearInterval(d.animatedSlides),d.animatedSlides=d.animatedSlides||setInterval(d.animateSlides,d.vars.slideshowSpeed),d.started=d.playing=!0,d.vars.pausePlay&&p.pausePlay.update("pause"),d.syncExists&&p.sync("play")},d.stop=function(){d.pause(),d.stopped=!0},d.canAdvance=function(a,b){var c=o?d.pagingCount-1:d.last;return!!b||(!(!o||d.currentItem!==d.count-1||0!==a||"prev"!==d.direction)||(!o||0!==d.currentItem||a!==d.pagingCount-1||"next"===d.direction)&&(!(a===d.currentSlide&&!o)&&(!!d.vars.animationLoop||(!d.atEnd||0!==d.currentSlide||a!==c||"next"===d.direction)&&(!d.atEnd||d.currentSlide!==c||0!==a||"next"!==d.direction))))},d.getTarget=function(a){return d.direction=a,"next"===a?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(a,b,c){var e=function(){var c=a?a:(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo,e=function(){if(m)return"setTouch"===b?a:l&&d.animatingTo===d.last?0:l?d.limit-(d.itemW+d.vars.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:c;switch(b){case"setTotal":return l?(d.count-1-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a;case"setTouch":return l?a:a;case"jumpEnd":return l?a:d.count*a;case"jumpStart":return l?d.count*a:a;default:return a}}();return-1*e+"px"}();d.transitions&&(e=k?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",c=void 0!==c?c/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",c),d.container.css("transition-duration",c)),d.args[d.prop]=e,(d.transitions||void 0===c)&&d.container.css(d.args),d.container.css("transform",e)},d.setup=function(b){if(n)d.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===b&&(g?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+d.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):0==d.vars.fadeFirstSlide?d.slides.css({opacity:0,display:"block",zIndex:1}).eq(d.currentSlide).css({zIndex:2}).css({opacity:1}):d.slides.css({opacity:0,display:"block",zIndex:1}).eq(d.currentSlide).css({zIndex:2}).animate({opacity:1},d.vars.animationSpeed,d.vars.easing)),d.vars.smoothHeight&&p.smoothHeight();else{var c,f;"init"===b&&(d.viewport=a('').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,l&&(f=a.makeArray(d.slides).reverse(),d.slides=a(f),d.container.empty().append(d.slides))),d.vars.animationLoop&&!m&&(d.cloneCount=2,d.cloneOffset=1,"init"!==b&&d.container.find(".clone").remove(),d.container.append(p.uniqueID(d.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(p.uniqueID(d.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),d.newSlides=a(d.vars.selector,d),c=l?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,k&&!m?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(c*d.h,"init")},"init"===b?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(c*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,float:"left",display:"block"}),d.vars.smoothHeight&&p.smoothHeight()},"init"===b?100:0))}m||d.slides.removeClass(e+"active-slide").eq(d.currentSlide).addClass(e+"active-slide"),d.vars.init(d)},d.doMath=function(){var a=d.slides.first(),b=d.vars.itemMargin,c=d.vars.minItems,e=d.vars.maxItems;d.w=void 0===d.viewport?d.width():d.viewport.width(),d.h=a.height(),d.boxPadding=a.outerWidth()-a.width(),m?(d.itemT=d.vars.itemWidth+b,d.minW=c?c*d.itemT:d.w,d.maxW=e?e*d.itemT-b:d.w,d.itemW=d.minW>d.w?(d.w-b*(c-1))/c:d.maxWd.w?d.w:d.vars.itemWidth,d.visible=Math.floor(d.w/d.itemW),d.move=d.vars.move>0&&d.vars.moved.w?d.itemW*(d.count-1)+b*(d.count-1):(d.itemW+b)*d.count-d.w-b):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(a,b){d.doMath(),m||(ad.controlNav.length?p.controlNav.update("add"):("remove"===b&&!m||d.pagingCountd.last&&(d.currentSlide-=1,d.animatingTo-=1),p.controlNav.update("remove",d.last))),d.vars.directionNav&&p.directionNav.update()},d.addSlide=function(b,c){var e=a(b);d.count+=1,d.last=d.count-1,k&&l?void 0!==c?d.slides.eq(d.count-c).after(e):d.container.prepend(e):void 0!==c?d.slides.eq(c).before(e):d.container.append(e),d.update(c,"add"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.added(d)},d.removeSlide=function(b){var c=isNaN(b)?d.slides.index(a(b)):b;d.count-=1,d.last=d.count-1,isNaN(b)?a(b,d.slides).remove():k&&l?d.slides.eq(d.last).remove():d.slides.eq(b).remove(),d.doMath(),d.update(c,"remove"),d.slides=a(d.vars.selector+":not(.clone)",d),d.setup(),d.vars.removed(d)},p.init()},a(window).blur(function(a){focused=!1}).focus(function(a){focused=!0}),a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},a.fn.flexslider=function(b){if(void 0===b&&(b={}),"object"==typeof b)return this.each(function(){var c=a(this),d=b.selector?b.selector:".slides > li",e=c.find(d);1===e.length&&b.allowOneSlide===!0||0===e.length?(e.fadeIn(400),b.start&&b.start(c)):void 0===c.data("flexslider")&&new a.flexslider(this,b)});var c=a(this).data("flexslider");switch(b){case"play":c.play();break;case"pause":c.pause();break;case"stop":c.stop();break;case"next":c.flexAnimate(c.getTarget("next"),!0);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),!0);break;default:"number"==typeof b&&c.flexAnimate(b,!0)}}}(jQuery),!function(a){var b;window.UIkit&&(b=a(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return b||a(UIkit)})}(function(a){"use strict";function b(b){var c=a.$(b),d="auto";if(c.is(":visible"))d=c.outerHeight();else{var e={position:c.css("position"),visibility:c.css("visibility"),display:c.css("display")};d=c.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),c.css(e)}return d}return a.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){a.ready(function(b){setTimeout(function(){a.$("[data-uk-accordion]",b).each(function(){var b=a.$(this);b.data("accordion")||a.accordion(b,a.Utils.options(b.attr("data-uk-accordion")))})},0)})},init:function(){var b=this;this.element.on("click.uikit.accordion",this.options.toggle,function(c){c.preventDefault(),b.toggleItem(a.$(this).data("wrapper"),b.options.animate,b.options.collapse)}),this.update(),this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)},toggleItem:function(c,d,e){var f=this;c.data("toggle").toggleClass(this.options.clsactive);var g=c.data("toggle").hasClass(this.options.clsactive);e&&(this.toggle.not(c.data("toggle")).removeClass(this.options.clsactive),this.content.not(c.data("content")).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:d?this.options.duration:0}).attr("aria-expanded","false")),c.stop().css("overflow","hidden"),d?c.animate({height:g?b(c.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){g&&(c.css({overflow:"",height:"auto"}),a.Utils.checkDisplay(c.data("content"))),f.trigger("display.uk.check")}}):(c.height(g?"auto":0),g&&(c.css({overflow:""}),a.Utils.checkDisplay(c.data("content"))),this.trigger("display.uk.check")),c.attr("aria-expanded",g),this.element.trigger("toggle.uk.accordion",[g,c.data("toggle"),c.data("content")])},update:function(){var b,c,d,e=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(f){b=a.$(this),b.parent().data("wrapper")?c=b.parent():(c=a.$(this).wrap('').parent(),c.attr("aria-expanded","false")),d=e.toggle.eq(f),c.data("toggle",d),c.data("content",b),d.data("wrapper",c),b.data("wrapper",c)}),this.element.trigger("update.uk.accordion",[this])}}),a.accordion}),$(document).ready(function(){$("#toTop>.link").click(function(a){a.preventDefault(),$("html, body").animate({scrollTop:0},500)})}),$(window).load(function(){$(window).scroll(function(){$(this).scrollTop()>200?$("#toTop").stop().animate({bottom:"100px"},500):$("#toTop").stop().animate({bottom:"-100px"},500)}),$("#goTop").click(function(){$("html, body").stop().animate({scrollTop:0},500,function(){$("#goTop").stop().animate({bottom:"-100px"},500)})})}),$(document).ready(function(){$("#search-box .trigger").click(function(){$("#search-box").toggleClass("active")}),$("#search-box").click(function(a){var a=window.event||a;a.stopPropagation()}),$(document).click(function(a){$("#search-box").removeClass("active")})});