vendor: 4,440 bytes, lines 1-13
1/*************************** 2File list: 3* matchheight.min.js 4* onepage.min.js 5* prettyphoto.min.js 6* isotope.min.js 7* superfish.min.js 8* fitvids.min.js 9* flexslider.min.js 10* slimmenu.min.js 11* scrolltofixed.min.js 12*****************************/ 13!function(w){var i=!0;w.flexslider=function(u,t){var f=w(u);f.vars=w.extend({},w.flexslider.defaults,t);var e,c=f.vars.namespace,m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,p=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&f.vars.touch,r="click touchend MSPointerUp keyup",l="",g="vertical"===f.vars.direction,v=f.vars.reverse,y=0<f.vars.itemWidth,_="fade"===f.vars.animation,h=""!==f.vars.asNavFor,b={};w.data(u,"flexslider",f),b={init:function(){f.animating=!1,f.currentSlide=parseInt(f.vars.startAt?f.vars.startAt:0,10),isNaN(f.currentSlide)&&(f.currentSlide=0),f.animatingTo=f.currentSlide,f.atEnd=0===f.currentSlide||f.currentSlide===f.last,f.containerSelector=f.vars.selector.substr(0,f.vars.selector.search(" ")),f.slides=w(f.vars.selector,f),f.container=w(f.containerSelector,f),f.count=f.slides.length,f.syncExists=0<w(f.vars.sync).length,"slide"===f.vars.animation&&(f.vars.animation="swing"),f.prop=g?"top":"marginLeft",f.args={},f.manualPause=!1,f.stopped=!1,f.started=!1,f.startTimeout=null,f.transitions=!f.vars.video&&!_&&f.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return f.pfx=e[i].replace("Perspective","").toLowerCase(),f.prop="-"+f.pfx+"-transform",!0;return!1}(),(f.ensureAnimationEnd="")!==f.vars.controlsContainer&&(f.controlsContainer=0<w(f.vars.controlsContainer).length&&w(f.vars.controlsContainer)),""!==f.vars.manualControls&&(f.manualControls=0<w(f.vars.manualControls).length&&w(f.vars.manualControls)),""!==f.vars.customDirectionNav&&(f.customDirectionNav=2===w(f.vars.customDirectionNav).length&&w(f.vars.customDirectionNav)),f.vars.randomize&&(f.slides.sort(function(){return Math.round(Math.random())-.5}),f.container.empty().append(f.slides)),f.doMath(),f.setup("init"),f.vars.controlNav&&b.controlNav.setup(),f.vars.directionNav&&b.directionNav.setup(),f.vars.keyboard&&(1===w(f.containerSelector).length||f.vars.multipleKeyboard)&&w(document).bind("keyup",function(t){var e,i=t.keyCode;f.animating||39!==i&&37!==i||(e=39===i?f.getTarget("next"):37===i&&f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction))}),f.vars.mousewheel&&f.bind("mousewheel",function(t,e,i,n){t.preventDefault();var o=e<0?f.getTarget("next"):f.getTarget("prev");f.flexAnimate(o,f.vars.pauseOnAction)}),f.vars.pausePlay&&b.pausePlay.setup(),f.vars.slideshow&&f.vars.pauseInvisible&&b.pauseInvisible.init(),f.vars.slideshow&&(f.vars.pauseOnHover&&f.hover(function(){f.manualPlay||f.manualPause||f.pause()},function(){f.manualPause||f.manualPlay||f.stopped||f.play()}),f.vars.pauseInvisible&&b.pauseInvisible.isHidden()||(0<f.vars.initDelay?f.startTimeout=setTimeout(f.play,f.vars.initDelay):f.play())),h&&b.asNav.setup(),p&&f.vars.touch&&b.touch(),(!_||_&&f.vars.smoothHeight)&&w(window).bind("resize orientationchange focus",b.resize),f.find("img").attr("draggable","false"),setTimeout(function(){f.vars.start(f)},200)},asNav:{setup:function(){f.asNav=!0,f.animatingTo=Math.floor(f.currentSlide/f.move),f.currentItem=f.currentSlide,f.slides.removeClass(c+"active-slide").eq(f.currentItem).addClass(c+"active-slide"),m?(u._slider=f).slides.each(function(){var t=this;t._gesture=new MSGesture,(t._gesture.target=t).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var e=w(this),i=e.index();w(f.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}):f.slides.on(r,function(t){t.preventDefault();var e=w(this),i=e.index();e.offset().left-w(f).scrollLeft()<=0&&e.hasClass(c+"active-slide")?f.flexAnimate(f.getTarget("prev"),!0):w(f.vars.asNavFor).data("flexslider").animating||e.hasClass(c+"active-slide")||(f.direction=f.currentItem<i?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){f.manualControls?b.controlNav.setupManual():b.controlNav.setupPaging(
13)},setupPaging:function(){var t,e="thumbnails"===f.vars.controlNav?"control-thumbs":"control-paging",i=1;if(f.controlNavScaffold=w('<ol class="'+c+"control-nav "+c+e+'"></ol>'),1<f.pagingCount)for(var n=0;n<f.pagingCount;n++){void 0===(t=f.slides.eq(n)).attr("data-thumb-alt")&&t.attr("data-thumb-alt","");var o,s=""!==t.attr("data-thumb-alt")?s=' alt="'+t.attr("data-thumb-alt")+'"':"",a="thumbnails"===f.vars.controlNav?'<img src="'+t.attr("data-thumb")+'"'+s+"/>":'<a href="#">'+i+"</a>";"thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(o=t.attr("data-thumbcaption"))&&void 0!==o&&(a+='<span class="'+c+'caption">'+o+"</span>"),f.controlNavScaffold.append("<li>"+a+"</li>"),i++}f.controlsContainer?w(f.controlsContainer).append(f.controlNavScaffold):f.append(f.controlNavScaffold),b.controlNav.set(),b.controlNav.active(),f.controlNavScaffold.delegate("a, img",r,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=w(this),i=f.controlNav.index(e),e.hasClass(c+"active")||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction))),""===l&&(l=t.type),b.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,b.controlNav.active(),f.controlNav.bind(r,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=w(this),i=f.controlNav.index(e),e.hasClass(c+"active")||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction))),""===l&&(l=t.type),b.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=w("."+c+"control-nav li "+t,f.controlsContainer?f.controlsContainer:f)},active:function(){f.controlNav.removeClass(c+"active").eq(f.animatingTo).addClass(c+"active")},update:function(t,e){1<f.pagingCount&&"add"===t?f.controlNavScaffold.append(w('<li><a href="#">'+f.count+"</a></li>")):1===f.pagingCount?f.controlNavScaffold.find("li").remove():f.controlNav.eq(e).closest("li").remove(),b.controlNav.set(),1<f.pagingCount&&f.pagingCount!==f.controlNav.length?f.update(e,t):b.controlNav.active()}},directionNav:{setup:function(){var t=w('<ul class="'+c+'direction-nav"><li class="'+c+'nav-prev"><a class="'+c+'prev" href="#">'+f.vars.prevText+'</a></li><li class="'+c+'nav-next"><a class="'+c+'next" href="#">'+f.vars.nextText+"</a></li></ul>");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(w(f.controlsContainer).append(t),f.directionNav=w("."+c+"direction-nav li a",f.controlsContainer)):(f.append(t),f.directionNav=w("."+c+"direction-nav li a",f)),b.directionNav.update(),f.directionNav.bind(r,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=w(this).hasClass(c+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)),""===l&&(l=t.type),b.setToClearWatchedEvent()})},update:function(){var t=c+"disabled";1===f.pagingCount?f.directionNav.addClass(t).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(t).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(t).filter("."+c+"prev").addClass(t).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(t).filter("."+c+"next").addClass(t).attr("tabindex","-1"):f.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=w('<div class="'+c+'pauseplay"><a href="#"></a></div>');f.controlsContainer?(f.controlsContainer.append(t),f.pausePlay=w("."+c+"pauseplay a",f.controlsContainer)):(f.append(t),f.pausePlay=w("."+c+"pauseplay a",f)),b.pausePlay.update(f.vars.slideshow?c+"pause":c+"play"),f.pausePlay.bind(r,function(t){t.preventDefault(),""!==l&&l!==t.type||(w(this).hasClass(c+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=t.type),b.setToClearWatchedEvent()})},update:function(t){"play"===t?f.pausePlay.removeClass(c+"pause").addClass(c+"play").html(f.vars.playText):f.pausePlay.removeClass(c+"play").addClass(c+"pause").html(f.vars.pauseText)}},touch:function(){var o,s,a,r,l,d,t,n,c,p=!1,e=0,i=0,h=0;m?(u.style.msTouchAction="none",u._gesture=new MSGesture,(u._gesture.target=u).addEventListener("MSPointerDown",function(t){t.stopPropagation(),f.animating?t.preventDefault():(f.pause(),u._gesture.addPointer(t.pointerId),h=0,r=g?f.h:f.w,d=Number(new Date),a=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r)},!1),u._slider=f,u.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e=t.target._slider;if(e){var i=-t.translationX,n=-t.translationY;return l=h+=g?n:i,p=g?Math.abs(h)<Math.abs(-i):Math.abs(h)<Math.abs(-n),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){u._gesture.stop()}):void((!p||500<Number(new Date)-d)&&(t.preventDefault(),!_&&e.transitions&&(e.vars.animationLoop||(l=h/(0===e.currentSlide&&h<0||e.currentSlide===e.last&&0<h?Math.abs(h)/r+2:1)),e.setProps(a+l,"setTouch"))))}},!1),u.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e,i,n=t.target._slider;n&&(n.animatingTo!==n.currentSlide||p||null===l||(i=0<(e=v?-l:l)?n.getTarget("next"):n.getTarget("prev"),n.canAdvance(i)&&(Number(new Date)-d<550&&50<Math.abs(e)||Math.abs(e)>r/2)?n.flexAnimate(i,n.vars.pauseOnAction):_||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)),a=l=s=o=null,h=0)},!1)):(t=function(t){f.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(f.pause(),r=g?f.h:f.w,d=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,a=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*r:(f.currentSlide+f.cloneOffset)*r,o=g?i:e,s=g?e:i,u.addEventListener("touchmove",n,!1),u.addEventListener("touchend",c,!1))},n=function(t){e=t.touches[0].pageX,i=t.touches[0].pageY,l=g?o-i:o-e;(!(p=g?Math.abs(l)<Math.abs(e-s):Math.abs(l)<Math.abs(i-s))||500<Number(new Date)-d)&&(t.preventDefault(),!_&&f.transitions&&(f.vars.animationLoop||(l/=0===f.currentSlide&&l<0||f.currentSlide===f.last&&0<l?Math.abs(l)/r+2:1),f.setProps(a+l,"setTouch")))},c=function(t){var e,i;u.removeEventListener("touchmove",n,!1),f.animatingTo!==f.currentSlide||p||null===l||(i=0<(e=v?-l:l)?f.getTarget("next"):f.getTarget("prev"),f.canAdvance(i)&&(Number(new Date)-d<550&&50<Math.abs(e)||Math.abs(e)>r/2)?f.flexAnimate(i,f.vars.pauseOnAction):_||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),u.removeEventListener("touchend",c,!1),a=l=s=o=null},u.addEventListener("touchstart",t,!1))},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),_?b.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):g?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&b.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(t){var e;g&&!_||(e=_?f:f.viewport,t?e.animate({height:f.slides.eq(f.animatingTo).innerHeight()}
vendor: 7,400 bytes, line 13
13,t):e.innerHeight(f.slides.eq(f.animatingTo).innerHeight()))},sync:function(t){var e=w(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(t){case"animate":e.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=w(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t,e=b.pauseInvisible.getHiddenProp();e&&(t=e.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){b.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0<f.vars.initDelay?setTimeout(f.play,f.vars.initDelay):f.play()}))},isHidden:function(){var t=b.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},f.flexAnimate=function(t,e,i,n,o){if(f.vars.animationLoop||t===f.currentSlide||(f.direction=t>f.currentSlide?"next":"prev"),h&&1===f.pagingCount&&(f.direction=f.currentItem<t?"next":"prev"),!f.animating&&(f.canAdvance(t,o)||i)&&f.is(":visible")){if(h&&n){var s=w(f.vars.asNavFor).data("flexslider");if(f.atEnd=0===t||t===f.count-1,s.flexAnimate(t,!0,!1,!0,o),f.direction=f.currentItem<t?"next":"prev",s.direction=f.direction,Math.ceil((t+1)/f.visible)-1===f.currentSlide||0===t)return f.currentItem=t,f.slides.removeClass(c+"active-slide").eq(t).addClass(c+"active-slide"),!1;f.currentItem=t,f.slides.removeClass(c+"active-slide").eq(t).addClass(c+"active-slide"),t=Math.floor(t/f.visible)}var a,r,l,d;f.animating=!0,f.animatingTo=t,e&&f.pause(),f.vars.before(f),f.syncExists&&!o&&b.sync("animate"),f.vars.controlNav&&b.controlNav.active(),y||f.slides.removeClass(c+"active-slide").eq(t).addClass(c+"active-slide"),f.atEnd=0===t||t===f.last,f.vars.directionNav&&b.directionNav.update(),t===f.last&&(f.vars.end(f),f.vars.animationLoop||f.pause()),_?p?(f.slides.eq(f.currentSlide).css({opacity:0,zIndex:1}),f.slides.eq(t).css({opacity:1,zIndex:2}),f.wrapup(a)):(f.slides.eq(f.currentSlide).css({zIndex:1}).animate({opacity:0},f.vars.animationSpeed,f.vars.easing),f.slides.eq(t).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing,f.wrapup)):(a=g?f.slides.filter(":first").height():f.computedW,d=y?(r=f.vars.itemMargin,(l=(f.itemW+r)*f.move*f.animatingTo)>f.limit&&1!==f.visible?f.limit:l):0===f.currentSlide&&t===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*a:0:f.currentSlide===f.last&&0===t&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*a:v?(f.count-1-t+f.cloneOffset)*a:(t+f.cloneOffset)*a,f.setProps(d,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(a)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(a)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(a)})),f.vars.smoothHeight&&b.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(t){_||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(t,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(t,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&b.pausePlay.update("play"),f.syncExists&&b.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&b.pausePlay.update("pause"),f.syncExists&&b.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(t,e){var i=h?f.pagingCount-1:f.last;return!!e||(h&&f.currentItem===f.count-1&&0===t&&"prev"===f.direction||(!h||0!==f.currentItem||t!==f.pagingCount-1||"next"===f.direction)&&((t!==f.currentSlide||h)&&(!!f.vars.animationLoop||(!f.atEnd||0!==f.currentSlide||t!==i||"next"===f.direction)&&(!f.atEnd||f.currentSlide!==i||0!==t||"next"!==f.direction))))},f.getTarget=function(t){return"next"===(f.direction=t)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(t,e,i){var n,o=(n=t||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo,-1*function(){if(y)return"setTouch"===e?t:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(e){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*t:(f.currentSlide+f.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:f.count*t;case"jumpStart":return v?f.count*t:t;default:return t}}()+"px");f.transitions&&(o=g?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",f.container.css("-"+f.pfx+"-transition-duration",i),f.container.css("transition-duration",i)),f.args[f.prop]=o,!f.transitions&&void 0!==i||f.container.css(f.args),f.container.css("transform",o)},f.setup=function(t){var e,i;_?(f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(p?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&b.smoothHeight()):("init"===t&&(f.viewport=w('<div class="'+c+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v&&(i=w.makeArray(f.slides).reverse(),f.slides=w(i),f.container.empty().append(f.slides))),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==t&&f.container.find(".clone").remove(),f.container.append(b.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(b.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=w(f.vars.selector,f),e=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,g&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(e*f.h,"init")},"init"===t?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(e*f.computedW,"init"),setTimeout(function(){f.doMath(),f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&b.smoothHeight()},"init"===t?100:0))),y||f.slides.removeClass(c+"active-slide").eq(f.currentSlide).addClass(c+"active-slide"),f.vars.init(f)}
13,f.doMath=function(){var t=f.slides.first(),e=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=void 0===f.viewport?f.width():f.viewport.width(),f.h=t.height(),f.boxPadding=t.outerWidth()-t.width(),y?(f.itemT=f.vars.itemWidth+e,f.itemM=e,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-e:f.w,f.itemW=f.minW>f.w?(f.w-e*(i-1))/i:f.maxW<f.w?(f.w-e*(n-1))/n:f.vars.itemWidth>f.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0<f.vars.move&&f.vars.move<f.visible?f.vars.move:f.visible,f.pagingCount=Math.ceil((f.count-f.visible)/f.move+1),f.last=f.pagingCount-1,f.limit=1===f.pagingCount?0:f.vars.itemWidth>f.w?f.itemW*(f.count-1)+e*(f.count-1):(f.itemW+e)*f.count-f.w-e):(f.itemW=f.w,f.itemM=e,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(t,e){f.doMath(),y||(t<f.currentSlide?f.currentSlide+=1:t<=f.currentSlide&&0!==t&&--f.currentSlide,f.animatingTo=f.currentSlide),f.vars.controlNav&&!f.manualControls&&("add"===e&&!y||f.pagingCount>f.controlNav.length?b.controlNav.update("add"):("remove"===e&&!y||f.pagingCount<f.controlNav.length)&&(y&&f.currentSlide>f.last&&(--f.currentSlide,--f.animatingTo),b.controlNav.update("remove",f.last))),f.vars.directionNav&&b.directionNav.update()},f.addSlide=function(t,e){var i=w(t);f.count+=1,f.last=f.count-1,g&&v?void 0!==e?f.slides.eq(f.count-e).after(i):f.container.prepend(i):void 0!==e?f.slides.eq(e).before(i):f.container.append(i),f.update(e,"add"),f.slides=w(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(t){var e=isNaN(t)?f.slides.index(w(t)):t;--f.count,f.last=f.count-1,isNaN(t)?w(t,f.slides).remove():g&&v?f.slides.eq(f.last).remove():f.slides.eq(t).remove(),f.doMath(),f.update(e,"remove"),f.slides=w(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},b.init()},w(window).blur(function(t){i=!1}).focus(function(t){i=!0}),w.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(){}},w.fn.flexslider=function(n){if(void 0===n&&(n={}),"object"==typeof n)return this.each(function(){var t=w(this),e=n.selector?n.selector:".slides > li",i=t.find(e);1===i.length&&!1===n.allowOneSlide||0===i.length?(i.fadeIn(400),n.start&&n.start(t)):void 0===t.data("flexslider")&&new w.flexslider(this,n)});var t=w(this).data("flexslider");switch(n){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof n&&t.flexAnimate(n,!0)}}}(jQuery),function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,p=void 0===n?function(){}:function(t){n.error(t)};function o(d,o,c){(c=c||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){c.isPlainObject(t)&&(this.options=c.extend(!0,this.options,t))}),c.fn[d]=function(t){var n,e,s,a,r,l;return"string"==typeof t?(e=this,s=t,a=i.call(arguments,1),l="$()."+d+'("'+s+'")',e.each(function(t,e){var i,n,o=c.data(e,d);o?(i=o[s])&&"_"!=s.charAt(0)?(n=i.apply(o,a),r=void 0===r?n:r):p(l+" is not a valid method"):p(d+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==r?r:e):(n=t,this.each(function(t,e){var i=c.data(e,d);i?(i.option(n),i._init()):(i=new o(e,n),c.data(e,d,i))}),this)},s(c))}function s(t){!t||t&&t.bridget||(t.bridget=o)}return s(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function b(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},w=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],x=w.length;function I(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var C,A=!1;function S(t){if(A||(A=!0,(v=document.createElement("div")).style.width="200px",v.style.padding="1px 2px 3px 4px",v.style.borderStyle="solid",v.style.borderWidth="1px 2px 3px 4px",v.style.boxSizing="border-box",(y=document.body||document.documentElement).appendChild(v),_=I(v),C=200==Math.round(b(_.width)),S.isBoxSizeOuter=C,y.removeChild(v)),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=I(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<x;e++)t[w[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox="border-box"==e.boxSizing,o=0;o<x;o++){var s=w[o],a=e[s],r=parseFloat(a);i[s]=isNaN(r)?0:r}var l=i.paddingLeft+i.paddingRight,d=i.paddingTop+i.paddingBottom,c=i.marginLeft+i.marginRight,p=i.marginTop+i.marginBottom,h=i.borderLeftWidth+i.borderRightWidth,u=i.borderTopWidth+i.borderBottomWidth,f=n&&C,m=b(e.width);!1!==m&&(i.width=m+(f?0:l+h));var g=b(e.height);return!1!==g&&(i.height=g+(f?0:d+u)),i.innerWidth=i.width-(l+h),i.innerHeight=i.height-(d+u),i.outerWidth=i.width+c,i.outerHeight=i.height+p,i}var v,y,_}return S}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
13sandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(d,s){var c={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;c.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},c.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},c.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},c.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.filterFindElements=function(t,n){t=c.makeArray(t);var o=[];return t.forEach(function(t){if("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)if(n){s(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)o.push(e[i])}else o.push(t)}),o},c.debounceMethod=function(t,e,n){n=n||100;var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,i=this;this[s]=setTimeout(function(){o.apply(i,e),delete i[s]},n)}},c.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},c.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var p=d.console;return c.htmlInit=function(r,l){c.docReady(function(){var t=c.toDashed(l),o="data-"+t,e=document.querySelectorAll("["+o+"]"),i=document.querySelectorAll(".js-"+t),n=c.makeArray(e).concat(c.makeArray(i)),s=o+"-options",a=d.jQuery;n.forEach(function(e){var t,i=e.getAttribute(o)||e.getAttribute(s);try{t=i&&JSON.parse(i)}catch(t){return void(p&&p.error("Error parsing "+o+" on "+e.className+": "+t))}var n=new r(e,t);a&&a.data(e,l,n)})})},c}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",o="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function r(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=r.prototype=Object.create(t.prototype);l.constructor=r,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var i in t)e[a[i]||i]=t[i]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],s=parseFloat(n),a=parseFloat(o),r=this.layout.size;-1!=n.indexOf("%")&&(s=s/100*r.width),-1!=o.indexOf("%")&&(a=a/100*r.height),s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},l.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",s=i?"left":"right",a=i?"right":"left",r=this.position.x+t[o];e[s]=this.getXValue(r),e[a]="";var l=n?"paddingTop":"paddingBottom",d=n?"top":"bottom",c=n?"bottom":"top",p=this.position.y+t[l];e[d]=this.getYValue(p),e[c]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var i,n,o,s=this.position.x,a=this.position.y,r=t==this.position.x&&e==this.position.y;this.setPosition(t,e),!r||this.isTransitioning?(i=t-s,n=e-a,(o={}).transform=this.getTranslate(i,n),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var d="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){var t;this.isTransitioning||(t="number"==typeof(t=this.layout.options.transitionDuration)?t+"ms":t,this.css({transitionProperty:d,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1))},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};l.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=c[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var p={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(p)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r}),function(o,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,
13i,n){return s(o,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=s(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=s(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,s,n){"use strict";function i(){}var a=t.console,r=t.jQuery,l=0,d={};function c(t,e){var i,n=s.getQueryElement(t);n?(this.element=n,r&&(this.$element=r(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e),i=++l,this.element.outlayerGUID=i,(d[i]=this)._create(),this._getOption("initLayout")&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||t))}c.namespace="outlayer",c.Item=n,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var p=c.prototype;function h(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}s.extend(p,e.prototype),p.option=function(t){s.extend(this.options,t)},p._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var s=new i(e[o],this);n.push(s)}return n},p._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(t){return t.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=o(this.element)},p._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?o(i)[e]:n):this[t]=0},p.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},p._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},p._layoutItems=function(t,i){var n;this._emitCompleteOnItems("layout",t),t&&t.length&&(n=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n))},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},p.updateStagger=function(){var n=this.options.stagger;if(null!=n)return this.stagger=function(){if("number"==typeof n)return n;var t=n.match(/(^\d*\.?\d*)(\w*)/),e=t&&t[1],i=t&&t[2];return e.length?(e=parseFloat(e))*(u[i]||1):0}(),this.stagger;this.stagger=0},p._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){var t;!this._getOption("resizeContainer")||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},p._getContainerSize=i,p._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},p._emitCompleteOnItems=function(e,t){var i=this;function n(){i.dispatchEvent(e+"Complete",null,[t])}var o,s=t.length;function a(){++o==s&&n()}t&&s?(o=0,t.forEach(function(t){t.once(e,a)})):n()}
vendor: 11,580 bytes, line 13
13,p.dispatchEvent=function(t,e,i){var n,o=e?[e].concat(i):i;this.emitEvent(t,o),r&&(this.$element=this.$element||r(this.element),e?((n=r.Event(e)).type=t,this.$element.trigger(n,i)):this.$element.trigger(t,i))},p.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},p.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},p.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},p.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){s.removeFrom(this.stamps,t),this.unignore(t)},this)},p._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),s.makeArray(t)},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},p._manageStamp=i,p._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=o(t);return{left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom}},p.handleEvent=s.handleEvent,p.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},s.debounceMethod(c,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},p.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},p.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},p.prepended=function(t){var e,i=this._itemize(t);i.length&&(e=this.items.slice(0),this.items=i.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(i,!0),this.reveal(i),this.layoutItems(e))},p.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},p.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},p.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},p.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},p.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},p.getItems=function(t){t=s.makeArray(t);var i=[];return t.forEach(function(t){var e=this.getItem(t);e&&i.push(e)},this),i},p.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),s.removeFrom(this.items,t)},this)},p.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},c.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},c.create=function(t,e){var i=h(c);return i.defaults=s.extend({},c.defaults),s.extend(i.defaults,e),i.compatOptions=s.extend({},c.compatOptions),i.namespace=t,i.data=c.data,i.Item=h(n),s.htmlInit(i,t),r&&r.bridget&&r.bridget(t,i),i};var u={ms:1,s:1e3};return c.Item=n,c}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var o=i.destroy;return i.destroy=function(){o.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function n(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i,n=t+e,o="outer"+e;this._getMeasurement(n,o),this[n]||(i=this.getFirstItemSize(),this[n]=i&&i[o]||this.isotope.size["inner"+e])},o.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(o)).constructor=i,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,d){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var i=e.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){var t,e;this.getContainerWidth(),this.columnWidth||(e=(t=this.items[0])&&t.element,this.columnWidth=e&&d(e).outerWidth||this.containerWidth);var i=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,o=n/i,s=i-n%i,o=Math[s&&s<1?"round":"floor"](o);this.cols=Math.max(o,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=d(t);this.containerWidth=e&&e.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),i=Math.min(i,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),o={x:this.columnWidth*n.col,y:n.y},s=n.y+t.size.outerHeight,a=i+n.col,r=n.col;r<a;r++)this.colYs[r]=s;return o},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,i=1<t&&i+t>this.cols?0:i,n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},i._manageStamp=function(t){var e=d(t),i=this._getElementOffset(t),n=this._getOption("originLeft")?i.left:i.right,o=n+e.outerWidth,s=Math.floor(n/this.columnWidth),s=Math.max(0,s),a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var r=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,l=s;l<=a;l++)this.colYs[l]=Math.max(r,this.colYs[l])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var a=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var r=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:r.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(a,r){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,
13i,n,o,s){return r(a,t,0,i,n,o,s)}):"object"==typeof module&&module.exports?module.exports=r(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):a.Isotope=r(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(t,i,e,n,s,o,a){var r=t.jQuery,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=o,d.LayoutMode=a;var c=d.prototype;c._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(t)},c.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},c._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},c._initLayoutMode=function(t){var e=a.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},c.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},c._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},c._init=c.arrange,c._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},c._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},c._bindArrangeComplete=function(){var t,e,i,n=this;function o(){t&&e&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}this.once("layoutComplete",function(){t=!0,o()}),this.once("hideComplete",function(){e=!0,o()}),this.once("revealComplete",function(){i=!0,o()})},c._filter=function(t){for(var e=(e=this.options.filter)||"*",i=[],n=[],o=[],s=this._getFilterTest(e),a=0;a<t.length;a++){var r,l=t[a];l.isIgnored||((r=s(l))&&i.push(l),r&&l.isHidden?n.push(l):r||l.isHidden||o.push(l))}return{matches:i,needReveal:n,needHide:o}},c._getFilterTest=function(e){return r&&this.options.isJQueryFiltering?function(t){return r(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},c.updateSortData=function(t){var e=t?(t=s.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(e)},c._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=p(i)}},c._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var p=function(t){if("string"!=typeof t)return t;var e,i,n=l(t).split(" "),o=n[0],s=o.match(/^\[(.+)\]$/),a=(e=s&&s[1],i=o,e?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(i);return e&&e.textContent}),r=d.sortDataParsers[n[1]];return r?function(t){return t&&r(a(t))}:function(t){return t&&a(t)}};d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c._sort=function(){var t,e,a,r;this.options.sortBy&&(t=s.makeArray(this.options.sortBy),this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory)),a=this.sortHistory,r=this.options.sortAscending,e=function(t,e){for(var i=0;i<a.length;i++){var n=a[i],o=t.sortData[n],s=e.sortData[n];if(s<o||o<s)return(s<o?1:-1)*((void 0!==r[n]?r[n]:r)?1:-1)}return 0},this.filteredItems.sort(e))},c._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},c._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},c._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},c._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c._manageStamp=function(t){this._mode()._manageStamp(t)},c._getContainerSize=function(){return this._mode()._getContainerSize()},c.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.appended=function(t){var e,i=this.addItems(t);i.length&&(e=this._filterRevealAdded(i),this.filteredItems=this.filteredItems.concat(e))},c.prepended=function(t){var e,i=this._itemize(t);i.length&&(this._resetLayout(),this._manageStamps(),e=this._filterRevealAdded(i),this.layoutItems(this.filteredItems),this.filteredItems=e.concat(this.filteredItems),this.items=i.concat(this.items))},c._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},c.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,n=e.length,o=0;o<n;o++)i=e[o],this.element.appendChild(i.element);var s=this._filter(e).matches;for(o=0;o<n;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;o<n;o++)delete e[o].isLayoutInstant;this.reveal(s)}};var h=c.remove;return c.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);h.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var o=e[n];s.removeFrom(this.filteredItems,o)}},c.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},c._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},c.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];o;){var a=s&&s[o];a&&(this.off(t,o),delete s[o]),o.apply(this,e),o=i[n+=a?0:1]}return this}},t}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("ev-emitter")):e.imagesLoaded=i(e,e.EvEmitter)}(window,function(e,t){function n(t,e){for(var i in e)t[i]=e[i];return t}function o(t,e,i){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=function(t){var e=[];
13if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}(t),this.options=n({},this.options),"function"==typeof e?i=e:n(this.options,e),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(t,e,i)}function i(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var a=e.jQuery,r=e.console;(o.prototype=Object.create(t.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=t.querySelectorAll(this.options.background),n=0;n<s.length;n++){var a=s[n];this.addElementBackgroundImages(a)}}};var l={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new i(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var i=new s(t,e);this.images.push(i)},o.prototype.check=function(){function e(t,e,i){setTimeout(function(){n.progress(t,e,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},o.prototype.complete=function(){var t,e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(s.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((a=t).fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(a(this))})})(),o}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(d,c){"use strict";d.infinitescroll=function(t,e,i){this.element=d(i),this._create(t,e)||(this.failed=!0)},d.infinitescroll.defaults={loading:{finished:c,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;
13base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz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aBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:c},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:c,binder:d(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:c,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:c,path:c,prefill:!1,maxPage:c},d.infinitescroll.prototype={_binding:function(t){var e=this,i=e.options;if(i.v="2.0b2.120520",i.behavior&&this["_binding_"+i.behavior]!==c)this["_binding_"+i.behavior].call(this);else{if("bind"!==t&&"unbind"!==t)return this._debug("Binding value "+t+" not valid"),!1;"unbind"===t?this.options.binder.unbind("smartscroll.infscr."+e.options.infid):this.options.binder[t]("smartscroll.infscr."+e.options.infid,function(){e.scroll()}),this._debug("Binding",t)}},_create:function(t,n){var o=d.extend(!0,{},d.infinitescroll.defaults,t);this.options=o;var s=d(window);
13if(!this._validate(t))return!1;var e=d(o.nextSelector).attr("href");if(!e)return this._debug("Navigation selector not found"),!1;o.path=o.path||this._determinepath(e),o.contentSelector=o.contentSelector||this.element,o.loading.selector=o.loading.selector||o.contentSelector,o.loading.msg=o.loading.msg||d('<div id="infscr-loading"><img alt="Loading..." src="'+o.loading.img+'" /><div>'+o.loading.msgText+"</div></div>"),(new Image).src=o.loading.img,o.pixelsFromNavToBottom===c&&(o.pixelsFromNavToBottom=d(document).height()-d(o.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+o.pixelsFromNavToBottom));var i=this;return o.loading.start=o.loading.start||function(){d(o.navSelector).hide(),o.loading.msg.appendTo(o.loading.selector).show(o.loading.speed,d.proxy(function(){this.beginAjax(o)},i))},o.loading.finished=o.loading.finished||function(){o.state.isBeyondMaxPage||o.loading.msg.fadeOut(o.loading.speed)},o.callback=function(t,e,i){o.behavior&&t["_callback_"+o.behavior]!==c&&t["_callback_"+o.behavior].call(d(o.contentSelector)[0],e,i),n&&n.call(d(o.contentSelector)[0],e,o,i),o.prefill&&s.bind("resize.infinite-scroll",t._prefill)},t.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(t){console[t]=this.call(console[t],console)},Function.prototype.bind)),this._setup(),o.prefill&&this._prefill(),!0},_prefill:function(){function t(){return d(e.options.contentSelector).height()<=i.height()}var e=this,i=d(window);this._prefill=function(){t()&&e.scroll(),i.bind("resize.infinite-scroll",function(){t()&&(i.unbind("resize.infinite-scroll"),e.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?console.log(Array.prototype.slice.call(arguments).toString()):console.log(Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(t){var e=this.options;if(e.behavior&&this["_determinepath_"+e.behavior]!==c)return this["_determinepath_"+e.behavior].call(this,t);if(e.pathParse)return this._debug("pathParse manual"),e.pathParse(t,this.options.state.currPage+1);if(t.match(/^(.*?)\b2\b(.*?$)/))t=t.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(t.match(/^(.*?)2(.*?$)/)){if(t.match(/^(.*?page=)2(\/.*|$)/))return t=t.match(/^(.*?page=)2(\/.*|$)/).slice(1);t=t.match(/^(.*?)2(.*?$)/).slice(1)}else{if(t.match(/^(.*?page=)1(\/.*|$)/))return t=t.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),e.state.isInvalidPage=!0}return this._debug("determinePath",t),t},_error:function(t){var e=this.options;e.behavior&&this["_error_"+e.behavior]!==c?this["_error_"+e.behavior].call(this,t):("destroy"!==t&&"end"!==t&&(t="unknown"),this._debug("Error",t),"end"!==t&&!e.state.isBeyondMaxPage||this._showdonemsg(),e.state.isDone=!0,e.state.currPage=1,e.state.isPau
13sed=!1,e.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(t,e,i){var n,o,s=this.options,a=this.options.callback,r=s.state.isDone?"done":s.appendCallback?"append":"no-append";if(s.behavior&&this["_loadcallback_"+s.behavior]!==c)this["_loadcallback_"+s.behavior].call(this,t,e);else{switch(r){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===s.dataType&&(e=d(e="<div>"+e+"</div>").find(s.itemSelector)),0===e.length)return this._error("end");break;case"append":var l=t.children();if(0===l.length)return this._error("end");for(n=document.createDocumentFragment();t[0].firstChild;)n.appendChild(t[0].firstChild);this._debug("contentSelector",d(s.contentSelector)[0]),d(s.contentSelector)[0].appendChild(n),e=l.get()}s.loading.finished.call(d(s.contentSelector)[0],s),s.animate&&(o=d(window).scrollTop()+d(s.loading.msg).height()+s.extraScrollPx+"px",d("html,body").animate({scrollTop:o},800,function(){s.state.isDuringAjax=!1})),s.animate||(s.state.isDuringAjax=!1),a(this,e,i),s.prefill&&this._prefill()}},_nearbottom:function(){var t=this.options,e=0+d(document).height()-t.binder.scrollTop()-d(window).height();return t.behavior&&this["_nearbottom_"+t.behavior]!==c?this["_nearbottom_"+t.behavior].call(this):(this._debug("math:",e,t.pixelsFromNavToBottom),e-t.bufferPx<t.pixelsFromNavToBottom)},_pausing:function(t){var e=this.options;if(!e.behavior||this["_pausing_"+e.behavior]===c){switch("pause"!==t&&"resume"!==t&&null!==t&&this._debug("Invalid argument. Toggling pause value instead"),t=!t||"pause"!==t&&"resume"!==t?"toggle":t){case"pause":e.state.isPau
13sed=!0;break;case"resume":e.state.isPaused=!1;break;case"toggle":e.state.isPaused=!e.state.isPaused}return this._debug("Paused",e.state.isPaused),!1}this["_pausing_"+e.behavior].call(this,t)},_setup:function(){var t=this.options;if(!t.behavior||this["_setup_"+t.behavior]===c)return this._binding("bind"),!1;this["_setup_"+t.behavior].call(this)},_showdonemsg:function(){var t=this.options;t.behavior&&this["_showdonemsg_"+t.behavior]!==c?this["_showdonemsg_"+t.behavior].call(this):(t.loading.msg.find("img").hide().parent().find("div").html(t.loading.finishedMsg).animate({opacity:1},2e3,function(){d(this).parent().fadeOut(t.loading.speed)}),t.errorCallback.call(d(t.contentSelector)[0],"done"))},_validate:function(t){for(var e in t)if(e.indexOf&&-1<e.indexOf("Selector")&&0===d(t[e]).length)return this._debug("Your "+e+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(o){var s,a,t,r,l=this,e=o.path;if(o.state.currPage++,o.maxPage!==c&&o.state.currPage>o.maxPage)return o.state.isBeyondMaxPage=!0,void this.destroy();switch(s=d(o.contentSelector).is("table, tbody")?d("<tbody/>"):d("<div/>"),a="function"==typeof e?e(o.state.currPage):e.join(o.state.currPage),l._debug("heading into ajax",a),t="html"===o.dataType||"json"===o.dataType?o.dataType:"html+callback",o.appendCallback&&"html"===o.dataType&&(t+="+callback"),t){case"html+callback":l._debug("Using HTML via .load() method"),s.load(a+" "+o.itemSelector,c,function(t){l._loadcallback(s,t,a)});break;case"html":l._debug("Using "+t.toUpperCase()+" via $.ajax() method"),d.ajax({url:a,dataType:o.dataType,complete:function(t,e){(r=void 0!==t.isResolved?t.isResolved():"success"===e||"notmodified"===e)?l._loadcallback(s,t.responseText,a):l._error("end")}});break;case"json":l._debug("Using "+t.toUpperCase()+" via $.ajax() method"),d.ajax({dataType:"json",type:"GET",url:a,success:function(t,e,i){var n;r=void 0!==i.isResolved?i.isResolved():"success"===e||"notmodified"===e,o.appendCallback?o.template!==c?(n=o.template(t),s.append(n),r?l._loadcallback(s,n):l._error("end")):(l._debug("template must be defined."),l._error("end")):r?l._loadcallback(s,t,a):l._error("end")},error:function(){l._debug("JSON ajax request failed."),l._error("end")}})}},retrieve:function(t){t=t||null;var e=this.options;if(e.behavior&&this["retrieve_"+e.behavior]!==c)this["retrieve_"+e.behavior].call(this,t);else{if(e.state.isDestroyed)return this._debug("Instance is destroyed"),!1;e.state.isDuringAjax=!0,e.loading.start.call(d(e.contentSelector)[0],e)}},scroll:function(){var t=this.options,e=t.state;t.behavior&&this["scroll_"+t.behavior]!==c?this["scroll_"+t.behavior].call(this):e.isDuringAjax||e.isInvalidPage||e.isDone||e.isDestroyed||e.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}},d.fn.infinitescroll=function(e,i){switch(typeof e){case"string":var n=Array.prototype.slice.call(arguments,1);this.each(function(){var t=d.data(this,"infinitescroll");return!!t&&(!(!d.isFunction(t[e])||"_"===e.charAt(0))&&void t[e].apply(t,n))});break;case"object":this.each(function(){var t=d.data(this,"infinitescroll");t?t.update(e):(t=new d.infinitescroll(e,i,this)).failed||d.data(this,"infinitescroll",t)})}return this};var o,t=d.event;t.special.smartscroll={setup:function(){d(this).bind("scroll",t.special.smartscroll.handler)},teardown:function(){d(this).unbind("scroll",t.special.smartscroll.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartscroll",o&&clearTimeout(o),o=setTimeout(function(){d(i).trigger("smartscroll",n)},"execAsap"===e?0:100)}},d.fn.smartscroll=function(t){return t?this.bind("smartscroll",t):this.trigger("smartscroll",["execAsap"])}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(l){function d(t){return parseFloat(t)||0}function c(t){var e=l(t),n=null,o=[];return e.each(function(){var t=l(this),e=t.offset().top-d(t.css("margin-top")),i=0<o.length?o[o.length-1]:null;null!==i&&Math.floor(Math.abs(n-e))<=1?o[o.length-1]=i.add(t):o.push(t),n=e}),o}function p(t){var e={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?l.extend(e,t):("boolean"==typeof t?e.byRow=t:"remove"===t&&(e.remove=!0),e)}var n=-1,o=-1,h=l.fn.matchHeight=function(t){var e=p(t);if(e.remove){var i=this;return this.css(e.property,""),l.each(h._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!e.target||(h._groups.push({elements:this,options:e}),h._apply(this,e)),this};h.version="0.7.2",h._groups=[],h._throttle=80,h._maintainScroll=!1,h._beforeUpdate=null,h._afterUpdate=null,h._rows=c,h._parse=d,h._parseOptions=p,h._apply=function(t,e){var s=p(e),i=l(t),n=[i],o=l(window).scrollTop(),a=l("html").outerHeight(!0),r=i.parents().filter(":hidden");return r.each(function(){var t=l(this);t.data("style-cache",t.attr("style"))}),r.css("display","block"),s.byRow&&!s.target&&(i.each(function(){var t=l(this),e=t.css("display");"inline-block"!==e&&"flex"!==e&&"inline-flex"!==e&&(e="block"),t.data("style-cache",t.attr("style")),t.css({display:e,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),n=c(i),i.each(function(){var t=l(this);t.attr("style",t.data("style-cache")||"")})),l.each(n,function(t,e){var i=l(e),o=0;if(s.target)o=s.target.outerHeight(!1);else{if(s.byRow&&i.length<=1)return void i.css(s.property,"");i.each(function(){var t=l(this),e=t.attr("style"),i=t.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var n={display:i};n[s.property]="",t.css(n),t.outerHeight(!1)>o&&(o=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}i.each(function(){var t=l(this),e=0;s.target&&t.is(s.target)||("border-box"!==t.css("box-sizing")&&(e+=d(t.css("border-top-width"))+d(t.css("border-bottom-width")),e+=d(t.css("padding-top"))+d(t.css("padding-bottom"))),t.css(s.property,o-e+"px"))})}),r.each(function(){var t=l(this);t.attr("style",t.data("style-cache")||null)}),h._maintainScroll&&l(window).scrollTop(o/a*l("html").outerHeight(!0)),this},h._applyDataApi=function(){var i={};l("[data-match-height], [data-mh]").each(function(){var t=l(this),e=t.attr("data-mh")||t.attr("data-match-height");i[e]=e in i?i[e].add(t):t}),l.each(i,function(){this.matchHeight(!0)})};function s(t){h._beforeUpdate&&h._beforeUpdate(t,h._groups),l.each(h._groups,function(){h._apply(this.elements,this.options)}),h._afterUpdate&&h._afterUpdate(t,h._groups)}h._update=function(t,e){if(e&&"resize"===e.type){var i=l(window).width();if(i===n)return;n=i}t?-1===o&&(o=setTimeout(function(){s(e),o=-1},h._throttle)):s(e)},l(h._applyDataApi);var t=l.fn.on?"on":"bind";l(window)[t]("load",function(t){h._update(!1,t)}),l(window)[t]("resize orientationchange",function(t){h._update(!0,t)})}),function(s,a,i){function e(t,e){this.elem=t,this.$elem=s(t),this.options=e,this.metadata=this.$elem.data("plugin-options"),this.$win=s(a),this.sections={},this.didScroll=!1,this.$doc=s(i),this.docHeight=this.$doc.height()}e.defaults=(e.prototype={defaults:{navItems:"a",currentClass:"current",changeHash:!1,easing:"swing",f
13ilter:"",scrollSpeed:750,scrollThreshold:.5,begin:!1,end:!1,scrollChange:!1},init:function(){return this.config=s.extend({},this.defaults,this.options,this.metadata),this.$nav=this.$elem.find(this.config.navItems),""!==this.config.filter&&(this.$nav=this.$nav.filter(this.config.filter)),this.$nav.on("click.onePageNav",s.proxy(this.handleClick,this)),this.getPositions(),this.bindInterval(),this.$win.on("resize.onePageNav",s.proxy(this.getPositions,this)),this},adjustNav:function(t,e){t.$elem.find("."+t.config.currentClass).removeClass(t.config.currentClass),e.addClass(t.config.currentClass)},bindInterval:function(){var t,e=this;e.$win.on("scroll.onePageNav",function(){e.didScroll=!0}),e.t=setInterval(function(){t=e.$doc.height(),e.didScroll&&(e.didScroll=!1,e.scrollChange()),t!==e.docHeight&&(e.docHeight=t,e.getPositions())},250)},getHash:function(t){return t.attr("href").split("#")[1]},getPositions:function(){var t,e,i,n=this;n.$nav.each(function(){t=n.getHash(s(this)),(i=s("#"+t)).length&&(e=i.offset().top,n.sections[t]=Math.round(e))})},getSection:function(t){var e=null,i=Math.round(this.$win.height()*this.config.scrollThreshold);for(var n in this.sections)this.sections[n]-i<t&&(e=n);return e},handleClick:function(t){var e=this,i=s(t.currentTarget),n=i.parent(),o="#"+e.getHash(i);n.hasClass(e.config.currentClass)||(e.config.begin&&e.config.begin(),e.adjustNav(e,n),e.unbindInterval(),e.scrollTo(o,function(){e.config.changeHash&&(a.location.hash=o),e.bindInterval(),e.config.end&&e.config.end()})),t.preventDefault()},scrollChange:function(){var t,e=this.$win.scrollTop(),i=this.getSection(e);null!==i&&((t=this.$elem.find('a[href$="#'+i+'"]').parent()).hasClass(this.config.currentClass)||(this.adjustNav(this,t),this.config.scrollChange&&this.config.scrollChange(t)))},scrollTo:function(t,e){var i=s(t).offset().top;s("html, body").animate({scrollTop:i-this.config.scrollOffset},this.config.scrollSpeed,this.config.easing,e)},unbindInterval:function(){clearInterval(this.t),this.$win.unbind("scroll.onePageNav")}}).defaults,s.fn.onePageNav=function(t){return this.each(function(){new e(this,t).init()})}}(jQuery,window,document),function(b){function w(){var t=location.href;return hashtag=-1!==t.indexOf("#prettyPhoto")&&decodeURI(t.substring(t.indexOf("#prettyPhoto")+1,t.length)),hashtag=hashtag&&hashtag.replace(/<|>/g,""),hashtag}function x(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null==i?"":i[1]}b.prettyPhoto={version:"3.1.6"},b.fn.prettyPhoto=function(e){function i(){b(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(y/2-d.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:d.contentHeight,width:d.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:_/2-d.containerWidth/2<0?0:_/2-d.containerWidth/2,width:d.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(d.height).width(d.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==a(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(d.resized?b("a.pp_expand,a.pp_contract").show():b("a.pp_expand").hide()),!settings.autoplay_slideshow||m||c||b.prettyPhoto.startSlideshow(),settings.changepicturecallback(),c=!0}),isSet&&settings.overlay_gallery&&"image"==a(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((d.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,b.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$p
13p_pic_holder.find(".pp_content").unbind("mouseenter mouseleave"),e.ajaxcallback()}function n(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){b(".pp_loaderIcon").show(),t()})}function o(t,e){if(resized=!1,s(t,e),imageWidth=t,imageHeight=e,(_<f||y<u)&&doresize&&settings.allow_resize&&!v){for(resized=!0,fitting=!1;!fitting;)_<f?(imageWidth=_-200,imageHeight=e/t*imageWidth):y<u?(imageHeight=y-200,imageWidth=t/e*imageHeight):fitting=!0,u=imageHeight,f=imageWidth;(_<f||y<u)&&o(f,u),s(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(u),containerWidth:Math.floor(f)+2*settings.horizontal_padding,contentHeight:Math.floor(p),contentWidth:Math.floor(h),resized:resized}}function s(t,e){t=parseFloat(t),e=parseFloat(e),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(b("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(b("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),p=e+detailsHeight,h=t,u=p+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),f=t}function a(t){return t.match(/youtube\.com\/watch/i)||t.match(/youtu\.be/i)?"youtube":t.match(/vimeo\.com/i)?"vimeo":t.match(/\b.mov\b/i)?"quicktime":t.match(/\b.mp4\b/i)?"localvideo":t.match(/\b.swf\b/i)?"flash":t.match(/\biframe=true\b/i)?"
13iframe":t.match(/\bajax=true\b/i)?"ajax":t.match(/\bcustom=true\b/i)?"custom":"#"==t.substr(0,1)?"inline":"image"}function r(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=t(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=y/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>y)return;$pp_pic_holder.css({top:projectedTop,left:_/2+scroll_pos.scrollLeft-contentwidth/2})}}function t(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function l(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),b("body").append(settings.markup),$pp_pic_holder=b(".pp_pic_holder"),$ppt=b(".ppt"),$pp_overlay=b("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var t=0;t<pp_images.length;t++)img_src=pp_images[t].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",pp_images[t]):(classname="default",""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=b(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return b.prettyPhoto.changeGalleryPage("next"),b.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return b.prettyPhoto.changeGalleryPage("previous"),b.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){b(this).find("a").click(function(){return b.prettyPhoto.changePage(t),b.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return b.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:b(document).height(),width:b(window).width()}).bind("click",function(){settings.modal||b.prettyPhoto.close()}),b("a.pp_close").bind("click",function(){return b.prettyPhoto.close(),!1}),settings.allow_expand&&b("a.pp_expand").bind("click",function(t){return doresize=b(this).hasClass("pp_expand")?(b(this).removeClass("pp_expand").addClass("pp_contract"),!1):(b(this).removeClass("pp_contract").addClass("pp_expand"),!0),n(function(){b.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return b.prettyPhoto.changePage("previous"),b.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return b.prettyPhoto.changePage("next"),b.prettyPhoto.stopSlideshow(),!1}),r()}e=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt"> </div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">Expand</a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details"> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_social">{pp_social}</div> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',localvideo_markup:'<video width="{width}" height="{height}" autoplay controls><source src="{path}" type="video/mp4"></video>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},e);var d,c,p,h,u,f,m,g=this,v=!1,y=b(window).height(),_=b(window).width();return doresize=!0,scroll_pos=t(),b(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){r(),y=b(window).height(),_=b(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(b(document).height()).width(_)}
13),e.keyboard_shortcuts&&b(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:b.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:b.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||b.prettyPhoto.close(),t.preventDefault()}}),b.prettyPhoto.initialize=function(){return settings=e,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=b(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=!!galleryRegExp.exec(theRel),pp_images=isSet?jQuery.map(g,function(t,e){if(-1!=b(t).attr(settings.hook).indexOf(theRel))return b(t).attr("href")}):b.makeArray(b(this).attr("href")),pp_titles=isSet?jQuery.map(g,function(t,e){if(-1!=b(t).attr(settings.hook).indexOf(theRel))return b(t).find("img").attr("alt")?b(t).find("img").attr("alt"):""}):b.makeArray(b(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(g,function(t,e){if(-1!=b(t).attr(settings.hook).indexOf(theRel))return b(t).attr("title")?b(t).attr("title"):""}):b.makeArray(b(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(b(this).attr("href"),pp_images),rel_index=isSet?set_position:b("a["+settings.hook+"^='"+theRel+"']").index(b(this)),l(),settings.allow_resize&&b(window).bind("scroll.prettyphoto",function(){r()}),b.prettyPhoto.open(),!1},b.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=e,pp_images=b.makeArray(t),pp_titles=arguments[1]?b.makeArray(arguments[1]):b.makeArray(""),pp_descriptions=arguments[2]?b.makeArray(arguments[2]):b.makeArray(""),isSet=1<pp_images.length,set_position=arguments[3]?arguments[3]:0,l(t.target)),settings.hideflash&&b("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),1<b(pp_images).size()?b(".pp_nav").show():b(".pp_nav").hide(),b(".pp_loaderIcon").show(),!settings.deeplinking||"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/"),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+b(pp_images).size()),void 0!==pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(x("width",pp_images[set_position]))?x("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(x("height",pp_images[set_position]))?x("height",pp_images[set_position]):settings.default_height.toString(),v=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(b(window).height()*parseFloat(movie_height)/100-150),v=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(b(window).width()*parseFloat(movie_width)/100-150),v=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!=pp_titles[set_position]&&void 0!==pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html(" "),imgPreloader="",skipInjection=!1,a(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<b(pp_images).size()-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){d=o(imgPreloader.width,imgPreloader.height),i()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),b.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":d=o(movie_width,movie_height),movie_id=x("v",pp_images[set_position]),""==movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],0<movie_id.indexOf("?")&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),0<movie_id.indexOf("&")&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="//www.youtube.com/embed/"+movie_id,x("rel",pp_images[set_position])?movie+="?rel="+x("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,d.width).replace(/{height}/g,d.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":d=o(movie_width,movie_height),movie_id=pp_images[set_position];var t=movie_id.match(/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/);movie="//player.vimeo.com/video/"+t[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=d.width+"/embed/?moog_width="+d.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,d.height).replace(/{path}/g,movie);break;case"quicktime":(d=o(movie_width,movie_height)).height+=15,d.contentHeight+=15,d.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,d.width).replace(/{height}/g,d.height).replace(/{wmode}/g,settings.wmode).replace(/{path}
13/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"localvideo":(d=o(movie_width,movie_height)).height+=15,d.contentHeight+=15,d.containerHeight+=15,toInject=settings.localvideo_markup.replace(/{width}/g,d.width).replace(/{height}/g,d.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":d=o(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,d.width).replace(/{height}/g,d.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":d=o(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,d.width).replace(/{height}/g,d.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,d=o(movie_width,movie_height),doresize=!0,skipInjection=!0,b.get(pp_images[set_position],function(t){toInject=settings.inline_markup.replace(/{content}/g,t),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,i()});break;case"custom":d=o(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=b(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(b("body")).show(),doresize=!1,d=o(b(myClone).width(),b(myClone).height()),doresize=!0,b(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,b(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,i())}),!1},b.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?(set_position--,set_position<0&&(set_position=b(pp_images).size()-1)):"next"==t?(set_position++,set_position>b(pp_images).size()-1&&(set_position=0)):set_position=t,rel_index=set_position,doresize=doresize||!0,settings.allow_expand&&b(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),n(function(){b.prettyPhoto.open()})},b.prettyPhoto.changeGalleryPage=function(t){"next"==t?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==t?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=t,slide_speed="next"==t||"previous"==t?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},b.prettyPhoto.startSlideshow=function(){void 0===m?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return b.prettyPhoto.stopSlideshow(),!1}),m=setInterval(b.prettyPhoto.startSlideshow,settings.slideshow)):b.prettyPhoto.changePage("next")},b.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return b.prettyPhoto.startSlideshow(),!1}),clearInterval(m),m=void 0},b.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(b.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),b("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){b(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&b("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),b(this).remove(),b(window).unbind("scroll.prettyphoto"),-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto"),settings.callback(),doresize=!0,c=!1,delete settings}))},!pp_alreadyInitialized&&w()&&(pp_alreadyInitialized=!0,hashIndex=w(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){b("a["+e.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",b.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;!function(T){T.isScrollToFixed=function(t){return!!T(t).data("ScrollToFixed")},T.ScrollToFixed=function(t,e){var s=this;s.$el=T(t),s.el=t,s.$el.data("ScrollToFixed",s);var a,r,i,n,l=!1,d=s.$el,c=0,p=0,h=-1,u=-1,o=null;function f(){var t=s.options.limit;return t?"function"==typeof t?t.apply(d):t:0}function m(){return"fixed"===a}function g(){return"absolute"===a}function v(){return!(m()||g())}function y(){var t;m()||(t=d[0].getBoundingClientRect(),o.css({display:d.css("display"),width:t.width,height:t.height,float:d.css("float")}),cssOptions={"z-index":s.options.zIndex,position:"fixed",top:-1==s.options.bottom?x():"",bottom:-1==s.options.bottom?"":s.options.bottom,"margin-left":"0px"},s.options.dontSetWidth||(cssOptions.width=d.css("width")),d.css(cssOptions),d.addClass(s.options.baseClassName),s.options.className&&d.addClass(s.options.className),a="fixed")}function _(){var t=f(),e=p;s.options.removeOffsets&&(e="",t-=c),cssOptions={position:"absolute",top:t,left:e,"margin-left":"0px",bottom:""},s.options.dontSetWidth||(cssOptions.width=d.css("width")),d.css(cssOptions),a="absolute"}function b(){v()||(u=-1,o.css("display","none"),d.css({"z-index":n,width:"",position:r,left:"",top:i,"margin-left":""}),d.removeClass("scroll-to-fixed-fixed"),s.options.className&&d.removeClass(s.options.className),a=null)}function w(t){t!=u&&(d.css("left",p-t),u=t)}function x(){var t=s.options.marginTop;return t?"function"==typeof t?t.apply(d):t:0}function I(){var t,e,i,n,o;
13T.isScrollToFixed(d)&&!d.is(":hidden")&&(e=v(),(t=l)?v()&&(c=d.offset().top,p=d.offset().left):(d.trigger("preUnfixed.ScrollToFixed"),b(),d.trigger("unfixed.ScrollToFixed"),u=-1,c=d.offset().top,p=d.offset().left,s.options.offsets&&(p+=d.offset().left-d.position().left),-1==h&&(h=p),a=d.css("position"),l=!0,-1!=s.options.bottom&&(d.trigger("preFixed.ScrollToFixed"),y(),d.trigger("fixed.ScrollToFixed"))),i=T(window).scrollLeft(),n=T(window).scrollTop(),o=f(),s.options.minWidth&&T(window).width()<s.options.minWidth||s.options.maxWidth&&T(window).width()>s.options.maxWidth?v()&&t||(C(),d.trigger("preUnfixed.ScrollToFixed"),b(),d.trigger("unfixed.ScrollToFixed")):-1==s.options.bottom?0<o&&n>=o-x()?e||g()&&t||(C(),d.trigger("preAbsolute.ScrollToFixed"),_(),d.trigger("unfixed.ScrollToFixed")):n>=c-x()?(m()&&t||(C(),d.trigger("preFixed.ScrollToFixed"),y(),u=-1,d.trigger("fixed.ScrollToFixed")),w(i)):v()&&t||(C(),d.trigger("preUnfixed.ScrollToFixed"),b(),d.trigger("unfixed.ScrollToFixed")):0<o?n+T(window).height()-d.outerHeight(!0)>=o-(x()||-(s.options.bottom?s.options.bottom:0))?m()&&(C(),d.trigger("preUnfixed.ScrollToFixed"),("absolute"===r?_:b)(),d.trigger("unfixed.ScrollToFixed")):(m()||(C(),d.trigger("preFixed.ScrollToFixed"),y()),w(i),d.trigger("fixed.ScrollToFixed")):w(i))}function C(){var t=d.css("position");"absolute"==t?d.trigger("postAbsolute.ScrollToFixed"):"fixed"==t?d.trigger("postFixed.ScrollToFixed"):d.trigger("postUnfixed.ScrollToFixed")}function A(t){d.is(":visible")?(l=!1,I()):b()}function S(t){window.requestAnimationFrame?requestAnimationFrame(I):I()}s.init=function(){s.options=T.extend({},T.ScrollToFixed.defaultOptions,e),n=d.css("z-index"),s.$el.css("z-index",s.options.zIndex),o=T("<div />"),a=d.css("position"),r=d.css("position"),d.css("float"),i=d.css("top"),v()&&s.$el.after(o),T(window).bind("resize.ScrollToFixed",A),T(window).bind("scroll.ScrollToFixed",S),"ontouchmove"in window&&T(window).bind("touchmove.ScrollToFixed",I),s.options.preFixed&&d.bind("preFixed.ScrollToFixed",s.options.preFixed),s.options.postFixed&&d.bind("postFixed.ScrollToFixed",s.options.postFixed),s.options.preUnfixed&&d.bind("preUnfixed.ScrollToFixed",s.options.preUnfixed),s.options.postUnfixed&&d.bind("postUnfixed.ScrollToFixed",s.options.postUnfixed),s.options.preAbsolute&&d.bind("preAbsolute.ScrollToFixed",s.options.preAbsolute),s.options.postAbsolute&&d.bind("postAbsolute.ScrollToFixed",s.options.postAbsolute),s.options.fixed&&d.bind("fixed.ScrollToFixed",s.options.fixed),s.options.unfixed&&d.bind("unfixed.ScrollToFixed",s.options.unfixed),s.options.spacerClass&&o.addClass(s.options.spacerClass),d.bind("resize.ScrollToFixed",function(){o.height(d.height())}),d.bind("scroll.ScrollToFixed",function(){d.trigger("preUnfixed.ScrollToFixed"),b(),d.trigger("unfixed.ScrollToFixed"),I()}),d.bind("detach.ScrollToFixed",function(t){var e;(e=(e=t)||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1,d.trigger("preUnfixed.ScrollToFixed"),b(),d.trigger("unfixed.ScrollToFixed"),T(window).unbind("resize.ScrollToFixed",A),T(window).unbind("scroll.ScrollToFixed",S),d.unbind(".ScrollToFixed"),o.remove(),s.$el.removeData("ScrollToFixed")}),A()},s.init()},T.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1e3,baseClassName:"scroll-to-fixed-fixed"},T.fn.scrollToFixed=function(t){return this.each(function(){new T.ScrollToFixed(this,t)})}}(jQuery),function(){var k=this.jQuery||window.jQuery,P=k(window);k.fn.stick_in_parent=function(t){var w,x,e,i,I,n,C,A,S,T,E;for(null==t&&(t={}),E=t.fixed_class,I=t.inner_scrolling,T=t.recalc_every,S=t.parent,A=t.offset_top,C=t.spacer,x=t.bottoming,null==A&&(A=0),null==S&&(S=void 0),null==I&&(I=!0),null==E&&(E="is_stuck"),w=k(document),null==x&&(x=!0),e=function(o,s,a,r,l,d,c,p){var h,t,u,f,m,g,v,y,e,_,b,n;if(!o.data("fixed_kit")){if(o.data("fixed_kit",!0),m=w.height(),v=o.parent(),null!=S&&(v=v.closest(S)),!v.length)throw"failed to find stick parent";if(h=u=!1,(b=null!=C?C&&o.closest(C):k("<div />"))&&b.css("position",o.css("position")),(y=function(){var t,e,i;if(!p&&(m=w.height(),t=parseInt(v.css("border-top-width"),10),e=parseInt(v.css("padding-top"),10),s=parseInt(v.css("padding-bottom"),10),a=v.offset().top+t+e,r=v.height(),u&&(h=u=!1,null==C&&(o.insertAfter(b),b.detach()),o.css({position:"",top:"",width:"",bottom:""}).removeClass(E),i=!0),l=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-A,d=o.outerHeight(!0),c=o.css("float"),b&&b.css({width:o.outerWidth(!0),height:d,display:o.css("display"),"vertical-align":o.css("vertical-align"),float:c}),i))return n()})(),d!==r)return f=void 0,g=A,_=T,n=function(){var t,e,i,n;if(!p&&(i=!1,null!=_&&(--_<=0&&(_=T,y(),i=!0)),i||w.height()===m||y(),i=P.scrollTop(),null!=f&&(e=i-f),f=i,u?(x&&(n=r+a<i+d+g,h&&!n&&(h=!1,o.css({position:"fixed",bottom:"",top:g}).trigger("fixed_kit:unbottom"))),i<l&&(u=!1,g=A,null==C&&("left"!==c&&"right"!==c||o.insertAfter(b),b.detach()),t={position:"",width:"",top:""},o.css(t).removeClass(E).trigger("fixed_kit:unstick")),I&&((t=P.height())<d+A&&!h&&(g-=e,g=Math.max(t-d,g),g=Math.min(A,g),u&&o.css({top:g+"px"})))):l<i&&(u=!0,(t={position:"fixed",top:g}).width="border-box"===o.css("box-sizing")?o.outerWidth()+"px":o.width()+"px",o.css(t).addClass(E),null==C&&(o.after(b),"left"!==c&&"right"!==c||b.append(o)),o.trigger("fixed_kit:stick")),u&&x&&(null==n&&(n=r+a<i+d+g),!h&&n)))return h=!0,"static"===v.css("position")&&v.css({position:"relative"}),o.css({position:"absolute",bottom:s,top:"auto"}).trigger("fixed_kit:bottom")},e=function(){return y(),n()},t=function(){if(p=!0,P.off("touchmove",n),P.off("scroll",n),P.off("resize",e),k(document.body).off("fixed_kit:recalc",e),o.off("fixed_kit:detach",t),o.removeData("fixed_kit"),o.css({position:"",bottom:"",top:"",width:""}),v.position("position",""),u)return null==C&&("left"!==c&&"right"!==c||o.insertAfter(b),b.remove()),o.removeClass(E)},P.on("touchmove",n),P.on("scroll",n),P.on("resize",e),k(document.body).on("fixed_kit:recalc",e),o.on("fixed_kit:detach",t),setTimeout(n,0)}},i=0,n=this.length;i<n;i++)t=this[i],e(k(t));return this}}.call(this),function(s,a){function r(t,e){this.element=t,this.$elem=s(this.element),this.options=s.extend({},i,e),this.init()}var e="slimmenu",i={resizeWidth:"768",collapserTitle:"Main Menu",animSpeed:"medium",easingEffe
13ct:null,indentChildren:!1,childrenIndenter:" "},l=0;r.prototype={init:function(){var t,i=this.options,e=this.$elem,n='<div class="menu-collapser">'+i.collapserTitle+'<div class="collapse-button"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></div></div>';e.before(n),t=e.prev(".menu-collapser"),e.on("click",".sub-collapser",function(t){t.preventDefault(),t.stopPropagation();var e=s(this).closest("li");s(this).hasClass("expanded")?(s(this).removeClass("expanded"),s(this).find("i").html("▼"),e.find(">ul").slideUp(i.animSpeed,i.easingEffect)):(s(this).addClass("expanded"),s(this).find("i").html("▲"),e.find(">ul").slideDown(i.animSpeed,i.easingEffect))}),t.on("click",".collapse-button",function(t){t.preventDefault(),e.slideToggle(i.animSpeed,i.easingEffect)}),this.resizeMenu({data:{el:this.element,options:this.options}}),s(a).on("resize",{el:this.element,options:this.options},this.resizeMenu)},resizeMenu:function(t){var e=s(a),i=t.data.options,n=s(t.data.el),o=s("body").find(".menu-collapser");l!=e.width()&&(l=e.width(),n.find("li").each(function(){s(this).has("ul").length&&(s(this).has(".sub-collapser").length?s(this).children(".sub-collapser i").html("▼"):s(this).append('<span class="sub-collapser"><i>▼</i></span>')),s(this).children("ul").hide(),s(this).find(".sub-collapser").removeClass("expanded").children("i").html("▼")}),i.resizeWidth>=e.width()?(i.indentChildren&&n.find("ul").each(function(){var t=s(this).parents("ul").length;s(this).children("li").children("a").has("i").length||s(this).children("li").children("a").prepend(r.prototype.indent(t,i))}),n.find("li").has("ul").off("mouseenter mouseleave"),n.addClass("collapsed").hide(),o.show()):(n.find("li").has("ul").on("mouseenter",function(){s(this).find(">ul").stop().slideDown(i.animSpeed,i.easingEffect)}).on("mouseleave",function(){s(this).find(">ul").stop().slideUp(i.animSpeed,i.easingEffect)}),n.find("li > a > i").remove(),n.removeClass("collapsed").show(),o.hide()))},indent:function(t,e){for(var i="",n=0;n<t;n++)i+=e.childrenIndenter;return"<i>"+i+"</i>"}},s.fn[e]=function(t){return this.each(function(){s.data(this,"plugin_"+e)||s.data(this,"plugin_"+e,new r(this,t))})}}(jQuery,window,document),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,o){return jQuery.easing[jQuery.easing.def](t,e,i,n,o)},easeInQuad:function(t,e,i,n,o){return n*(e/=o)*e+i},easeOutQuad:function(t,e,i,n,o){return-n*(e/=o)*(e-2)+i},easeInOutQuad:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,o){return n*(e/=o)*e*e+i},easeOutCubic:function(t,e,i,n,o){return n*((e=e/o-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,o){return n*(e/=o)*e*e*e+i},easeOutQuart:function(t,e,i,n,o){return-n*((e=e/o-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,o){return n*(e/=o)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,o){return n*((e=e/o-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,o){return(e/=o/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,o){return-n*Math.cos(e/o*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,o){return n*Math.sin(e/o*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,o){return-n/2*(Math.cos(Math.PI*e/o)-1)+i},easeInExpo:function(t,e,i,n,o){return 0==e?i:n*Math.pow(2,10*(e/o-1))+i},easeOutExpo:function(t,e,i,n,o){return e==o?i+n:n*(1-Math.pow(2,-10*e/o))+i},easeInOutExpo:function(t,e,i,n,o){return 0==e?i:e==o?i+n:(e/=o/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,o){return-n*(Math.sqrt(1-(e/=o)*e)-1)+i},easeOutCirc:function(t,e,i,n,o){return n*Math.sqrt(1-(e=e/o-1)*e)+i},easeInOutCirc:function(t,e,i,n,o){return(e/=o/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,o){var s=1.70158,a=0,r=n;return 0==e?i:1==(e/=o)?i+n:(a=a||.3*o,s=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),-(r*Math.pow(2,10*--e)*Math.sin((e*o-s)*(2*Math.PI)/a))+i)}
13,easeOutElastic:function(t,e,i,n,o){var s=1.70158,a=0,r=n;return 0==e?i:1==(e/=o)?i+n:(a=a||.3*o,s=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),r*Math.pow(2,-10*e)*Math.sin((e*o-s)*(2*Math.PI)/a)+n+i)},easeInOutElastic:function(t,e,i,n,o){var s=1.70158,a=0,r=n;return 0==e?i:2==(e/=o/2)?i+n:(a=a||o*(.3*1.5),s=r<Math.abs(n)?(r=n,a/4):a/(2*Math.PI)*Math.asin(n/r),e<1?r*Math.pow(2,10*--e)*Math.sin((e*o-s)*(2*Math.PI)/a)*-.5+i:r*Math.pow(2,-10*--e)*Math.sin((e*o-s)*(2*Math.PI)/a)*.5+n+i)},easeInBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),n*(e/=o)*e*((s+1)*e-s)+i},easeOutBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),n*((e=e/o-1)*e*((s+1)*e+s)+1)+i},easeInOutBack:function(t,e,i,n,o,s){return null==s&&(s=1.70158),(e/=o/2)<1?n/2*(e*e*((1+(s*=1.525))*e-s))+i:n/2*((e-=2)*e*((1+(s*=1.525))*e+s)+2)+i},easeInBounce:function(t,e,i,n,o){return n-jQuery.easing.easeOutBounce(t,o-e,0,n,o)+i},easeOutBounce:function(t,e,i,n,o){return(e/=o)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,o){return e<o/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,o)+i:.5*jQuery.easing.easeOutBounce(t,2*e-o,0,n,o)+.5*n+i}}),function(s,t){"use strict";var e,i,a,o,n,r,l,d,c,p=(a="sf-breadcrumb",o="sf-js-enabled",n="sf-with-ul",r="sf-arrows",(i=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent))&&s("html").css("cursor","pointer").on("click",s.noop),l=i,d="behavior"in(e=document.documentElement.style)&&"fill"in e&&/iemobile/i.test(navigator.userAgent),c=!!t.PointerEvent,{hide:function(t){if(this.length){var e=g(this);if(!e)return this;var i=!0===e.retainPath?e.$path:"",n=this.find("li."+e.hoverClass).add(this).not(i).removeClass(e.hoverClass).children(e.popUpSelector),o=e.speedOut;if(t&&(n.show(),o=0),(e.retainPath=!1)===e.onBeforeHide.call(n))return this;n.stop(!0,!0).animate(e.animationOut,o,function(){var t=s(this);e.onHide.call(t)})}return this},show:function(){var t=g(this);if(!t)return this;var e=this.addClass(t.hoverClass).children(t.popUpSelector);return!1===t.onBeforeShow.call(e)||e.stop(!0,!0).animate(t.animation,t.speed,function(){t.onShow.call(e)}),this},destroy:function(){return this.each(function(){var t,e=s(this),i=e.data("sfOptions");return!!i&&(t=e.find(i.popUpSelector).parent("li"),clearTimeout(i.sfTimer),h(e,i),u(t),f(e),e.off(".superfish").off(".hoverIntent"),t.children(i.popUpSelector).attr("style",function(t,e){return e.replace(/display[^;]+;?/g,"")}),i.$path.removeClass(i.hoverClass+" "+a).addClass(i.pathClass),e.find("."+i.hoverClass).removeClass(i.hoverClass),i.onDestroy.call(e),void e.removeData("sfOptions"))})},init:function(o){return this.each(function(){var t=s(this);if(t.data("sfOptions"))return!1;var e,i=s.extend({},s.fn.superfish.defaults,o),n=t.find(i.popUpSelector).parent("li");i.$path=(e=i,t.find("li."+e.pathClass).slice(0,e.pathLevels).addClass(e.hoverClass+" "+a).filter(function(){return s(this).children(e.popUpSelector).hide().show().length}).removeClass(e.pathClass)),t.data("sfOptions",i),h(t,i,!0),u(n,!0),f(t),function(t,e){var i="li:has("+e.popUpSelector+")";s.fn.hoverIntent&&!e.disableHI?t.hoverIntent(v,_,i):t.on("mouseenter.superfish",i,v).on("mouseleave.superfish",i,_);var n=c?"pointerdown.superfish":"MSPointerDown.superfish";l||(n+=" touchend.superfish"),d&&(n+=" mousedown.superfish"),t.on("focusin.superfish","li",v).on("focusout.superfish","li",_).on(n,"a",e,b)}(t,i),n.not("."+a).superfish("hide",!0),i.onInit.call(this)})}});function h(t,e,i){var n=o;e.cssArrows&&(n+=" "+r),t[i?"addClass":"removeClass"](n)}function u(t,e){var i=e?"addClass":"removeClass";t.children("a")[i](n)}function f(t){var e=t.css("ms-touch-action"),i=t.css("touch-action");i="pan-y"===(i=i||e)?"auto":"pan-y",t.css({"ms-touch-action":i,"touch-action":i})}function m(t){return t.closest("."+o)}function g(t){return m(t).data("sfOptions")}function v(){var t=s(this),e=g(t);clearTimeout(e.sfTimer),t.siblings().superfish("hide").end().superfish("show")}function y(t){t.retainPath=-1<s.inArray(this[0],t.$path),this.superfish("hide"),this.parents("."+t.hoverClass).length||(t.onIdle.call(m(this)),t.$path.length&&s.proxy(v,t.$path)())}function _(){var t=s(this),e=g(t);l?s.proxy(y,t,e)():(clearTimeout(e.sfTimer),e.sfTimer=setTimeout(s.proxy(y,t,e),e.delay))}function b(t){var e=s(this),i=g(e),n=e.siblings(t.data.popUpSelector);return!1===i.onHandleTouch.call(n)?this:void(0<n.length&&n.is(":hidden")&&(e.one("click.superfish",!1),"MSPointerDown"===t.type||"pointerdown"===t.type?e.trigger("focus"):s.proxy(v,e.parent("li"))()))}s.fn.superfish=function(t,e){return p[t]?p[t].apply(this,Array.prototype.slice.call(arguments,1
13)):"object"!=typeof t&&t?s.error("Method "+t+" does not exist on jQuery.fn.superfish"):p.init.apply(this,arguments)},s.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:s.noop,onBeforeShow:s.noop,onShow:s.noop,onBeforeHide:s.noop,onHide:s.noop,onIdle:s.noop,onDestroy:s.noop,onHandleTouch:s.noop}}(jQuery,window),function(p){p.fn.hoverIntent=function(t,e,i){function o(t){s=t.pageX,a=t.pageY}function n(t){var i=jQuery.extend({},t),n=this;n.hoverIntent_t&&(n.hoverIntent_t=clearTimeout(n.hoverIntent_t)),"mouseenter"==t.type?(r=i.pageX,l=i.pageY,p(n).on("mousemove.hoverIntent",o),1!=n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){c(i,n)},d.interval))):(p(n).off("mousemove.hoverIntent",o),1==n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){var t,e;t=i,(e=n).hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,d.out.apply(e,[t])},d.timeout)))}var s,a,r,l,d={interval:100,sensitivity:7,timeout:0},d="object"==typeof t?p.extend(d,t):p.isFunction(e)?p.extend(d,{over:t,out:e,selector:i}):p.extend(d,{over:t,out:t,selector:e}),c=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),Math.abs(r-s)+Math.abs(l-a)<d.sensitivity?(p(e).off("mousemove.hoverIntent",o),e.hoverIntent_s=1,d.over.apply(e,[t])):(r=s,l=a,void(e.hoverIntent_t=setTimeout(function(){c(t,e)},d.interval)))};return this.on({"mouseenter.hoverIntent":n,"mouseleave.hoverIntent":n},d.selector)}}(jQuery),function(s){"use strict";s.fn.fitVids=function(t){var e,i,o={customSelector:null,ignore:null};return document.getElementById("fit-vids-style")||(e=document.head||document.getElementsByTagName("head")[0],(i=document.createElement("div")).innerHTML='<p>x</p><style id="fit-vids-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.appendChild(i.childNodes[1])),t&&s.extend(o,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];o.customSelector&&t.push(o.customSelector);var n=".fitvidsignore";o.ignore&&(n=n+", "+o.ignore);var e=s(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var t,e,i=s(this);0<i.parents(n).length||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length||(i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16)),t=("object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height())/(isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10)),i.attr("name")||(e="fitvid"+s.fn.fitVids._count,i.attr("name",e),s.fn.fitVids._count++),i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),i.removeAttr("height").removeAttr("width"))})})},s.fn.fitVids._count=0}(window.jQuery||window.Zepto);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.