1function fireslider_fullwidth_resize(e,t){var n=e.frame.clientWidth,i=$(e.frame).parent().next(".tb_placeholder");t>=n?(1!=e.options.autoScale&&(e.options.autoScale=1,$(e.frame).parent().addClass("scaled"),e.reload()),i.css("height",e.frame.clientHeight)):(1==e.options.autoScale&&(e.options.autoScale=0,$(e.frame).parent().removeClass("scaled"),e.reload()),i.css("height",""))}function fireslider_fullscreen_resize(e,t,n,i,a,r){var o=n/i,s=t.width(),l=t.height(),c=s/l;if(n>=s||i>=l){if(o>c)var d=s,u=Math.ceil(s*i/n);else var u=l,d=Math.ceil(u*n/i);t.find(".ms_scene").css("width",d-2*r).css("height",u-2*a).css("marginTop",-(u/2-a)).css("marginLeft",-(d/2-r)),1!=e.options.autoScale&&(e.options.autoScale=1,e.reload())}else 1==e.options.autoScale&&(e.options.autoScale=0,e.reload())}!function(e,t,n){"use strict";function i(e,t,n){var i=(e+"").match(/^(-?[0-9]+)(%)?$/);if(!i)return!1;var a=parseInt(i[1],10);return i[2]&&(a=t/100*a),0>a?t+a+(n||0):a}function a(t,n){function i(){function e(){a&&(a=clearTimeout(a))}function i(){r=+new Date,n.apply(o,l),e()}var o=this,s=+new Date-r,l=arguments;e(),s>t?i():a=setTimeout(i,t-s)}var a,r=0;return e.guid&&(i.guid=n.guid=n.guid||e.guid++),i}var r="elementspy",o="elementSpy",s=r;e[o]=function(t,o,l){function c(t){var n=p(t);if(n){var i=n.$el.offset()[n.horizontal?"left":"top"]-w.offset[n.horizontal?"left":"top"],a=n.$el[n.horizontal?"outerWidth":"outerHeight"]();e.extend(n,{start:i,elSize:a,end:i+a}),d(n)}}function d(t){if(t===n)return void e.each(g,d);var a=p(t);if(a){var r,s=w[a.horizontal?"width":"height"],l=i(a.size,s),c=w[a.horizontal?"left":"top"]+i(a.offset,s,-l),u=c+l;r=a.contain?c<=a.start&&u>=a.end?"inside":c+l/2>a.start+a.elSize/2?a.horizontal?"left":"up":a.horizontal?"right":"down":c>a.start&&c<a.end||u>a.start&&u<a.end||c<=a.start&&u>=a.start||c<=a.end&&u>=a.end?"inside":c>a.end?a.horizontal?"left":"up":a.horizontal?"right":"down",a.state!==r&&(a.state=r,"function"==typeof o&&o.call(a.el,"inside"===r,r),"function"==typeof a.callback&&a.callback.call(a.el,"inside"===r,r))}}function u(t){if(g.hasOwnProperty(t))return t;if(e.isPlainObject(t)&&g.hasOwnProperty(t.id))return t.id;t=e(t)[0];var n=!1;return e.each(g,function(e,i){i.el===t&&(n=e)}),n}function p(e){var t=u(e);return t?g[t]:!1}"function"!=typeof o&&(l=o,o=0);var m=this,h=e(t),f=e.extend({},e.fn[r].defaults,l),g={},v=0,w={top:h.scrollTop(),left:h.scrollLeft(),width:h.innerWidth(),height:h.innerHeight(),offset:h.offset()||{top:0,left:0}};m.add=function(t,n,i){e.isPlainObject(n)&&(i=n,n=0),e(t).each(function(t,a){var r=u(a)||"s"+v++;g[r]=e.extend({id:r,el:a,$el:e(a),callback:n},f,i),c(r)})},m.reload=function(t){e(t).each(function(e,t){var n=u(t);n&&c(n)})},m.remove=function(t){e(t).each(function(e,t){var n=u(t);n&&delete g[n]})},m.destroy=function(){h.off("."+s),g={},m=n},h.on("scroll."+s,a(f.delay,function(){w.top=h.scrollTop(),w.left=h.scrollLeft(),d()})),h.on("resize."+s,a(f.delay,function(){w.width=h.innerWidth(),w.height=h.innerHeight(),d()}))},e.fn[r]=function(n,i){var a,r,l=i&&i.context||t,c=e.data(l,s)||e.data(l,s,new e[o](l));return"string"==typeof n&&(a=i===!1||"destroy"===i?"remove":i,r=Array.prototype.slice.call(arguments,1),i={}),this.each(function(e,t){a?"function"==typeof c[a]&&c[a].apply(c,r):c.add(t,n,i)})},e.fn[r].defaults={delay:100,context:window,horizontal:0,offset:0,size:"100%",contain:0}}(jQuery,window),function($,window,undefined){"use strict";function type(e){switch(toString.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":e===undefined?"undefined":e!==e?"nan":e&&1===e.nodeType?"element":(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e),typeof e)}function isObject(e){return"object"===type(e)}function mightySlider(e,t,n){function i(e){var t=0,n=qe.length,i=0,r=0;if(xe=ve.autoScale&&(Se.height&&{width:Se.width,height:Se.height}||{width:ye.width(),height:ye.height()})||null,ve.autoScale&&c(),$e.old=$.extend({},$e),Ee=we[ve.navigation.horizontal?"width":"height"](),Be=Me[ve.navigation.horizontal?"width":"height"](),Te=be[ve.navigation.horizontal?"outerWidth":"outerHeight"](),qe.length=0,$e.start=0,$e.end=Math.max(Te-Ee,0),Oe){t=ke.length,_e=be.children(ve.navigation.slideSelector),ke.length=0;var s,d=getPixel(be,ve.navigation.horizontal?"paddingLeft":"paddingTop"),u=getPixel(be,ve.navigation.horizontal?"paddingRight":"paddingBottom"),p="border-box"===$(_e).css("boxSizing"),m="none"!==_e.css("float"),f=0,v=_e.length-1;Te=0;var w,y,b,S,x,E,C,T,_,k;_each(_e,function(e,t){w=$(e),y=getInlineOptions(w),b=getSlideType(y),S=y.size||ve.navigation.slideSize,x=getPixel(w,ve.navigation.horizontal?"marginLeft":"marginTop"),E=getPixel(w,ve.navigation.horizontal?"marginRight":"marginBottom"),T=Y(e,S),C=T+x+E,_=!x||!E,k={},k.element=e,k.options=y,k.type=b,k.captions=[],ve.deeplinking.linkID&&(k.ID=y.ID&&rawurlencode(y.ID)||t),k.size=_?T:C,k.half=k.size/2,k.start=Te+(_?x:0),k.center=k.start-Math.round(Ee/2-k.size/2),k.end=k.start-Ee+k.size,_each(e.getElementsByClassName(minnamespace+"Caption"),function(e,t){var n=$(e),i=getInlineOptions(n),a=getSlideType(i),r=getCaptionKeyFrames(n),o=n.data(minnamespace+"styles");r.length&&(r=filter.call(r,function(e){return e&&(e.style||e.delay)}));var s={element:e,type:a,options:i,animation:r};o&&Et&&ve.autoScale&&n.css(normalizeStyles($.extend({},o,r[r.length-1]&&r[r.length-1].style||{}),captionResponsiveStyles,Ce)),!k.isParallax&&i.parallaxLevel&&(k.isParallax=1),!k.hasCaptionMediaEnabled&&(i.cover||i.video||i.source)&&(k.hasCaptionMediaEnabled=1),push.call(k.
1captions,s)}),S&&(w[0].style[ve.navigation.horizontal?"width":"height"]=T+"px"),t||(Te+=d),Te+=C,ve.navigation.horizontal||m||E&&x&&t>0&&(Te-=Math.min(x,E)),t===v&&(k.end+=u,Te+=u,f=_?E:0),$.isArray(y.cover)&&(i=1),ve.deeplinking.linkID&&ve.deeplinking.scrollTo&&(e.id=ve.deeplinking.linkID+ve.deeplinking.separator+k.ID),push.call(ke,k),s=k}),be[0].style[ve.navigation.horizontal?"width":"height"]=(p?Te:Te-d-u)+"px",Te-=f,r=ke.length,r?($e.start=ke[0][Ae?"center":"start"],$e.end=Ae?s.center:Te>Ee?s.end:$e.start):$e.start=$e.end=0}if($e.center=Math.round($e.end/2+$e.start/2),g(),De[0]&&Be>0&&(ve.scrollBar.dynamicHandle?(Fe=$e.start===$e.end?Be:Math.round(Be*Ee/Te),Fe=within(Fe,ve.scrollBar.minHandleSize,Be),De[0].style[ve.navigation.horizontal?"width":"height"]=Fe+"px"):Fe=De[ve.navigation.horizontal?"outerWidth":"outerHeight"](),Ie.end=Be-Fe,wt||o()),Ee>0){var z=$e.start,P="";if(Oe)for(var k,A=0;r>A;A++)k=ke[A],Ae?push.call(qe,k.center):k.start+k.size>z&&z<=$e.end&&(z=k.start,push.call(qe,z),z+=Ee,z>$e.end&&z<$e.end+Ee&&push.call(qe,$e.end));else for(;z-Ee<$e.end;)push.call(qe,z),z+=Ee;var L=qe.length;if(je[0]&&n!==L){for(var A=0;L>A;A++)P+=ve.pages.pageBuilder.call(ge,A);Re=je.html(P).children(),Re.eq(ze.activePage).addClass(ve.classes.activeClass)}}if(r>0&&(!ge.initialized||ge.initialized&&pt)&&l(),ze.slideElementSize=Te,ze.frameSize=Ee,ze.scrollbarSize=Be,ze.handleSize=Fe,Oe){e&&null!=ve.startAt&&(h(ve.startAt),ge[Le?"toCenter":"toStart"](ve.startAt,1));var O=ke[ze.activeSlide];a(Le&&O?O.center:within($e.destination,$e.start,$e.end),1)}else e?null!=ve.startAt&&a(ve.startAt,1):a(within($e.destination,$e.start,$e.end),1);return(!ge.initialized||Et&&i||ge.initialized&&pt)&&(J(),Et||G()),ve.autoResize&&ne(within(ze.activeSlide,ze.firstSlide,ze.lastSlide),1),ge.initialized&&te(),U("load"),ge}function a(e,t,n){if(Oe&&Je.released&&!n){var i=f(e),a=e>$e.start&&e<$e.end;Le?(a&&(e=ke[i.centerSlide].center),Ae&&ve.navigation.activateMiddle&&h(i.centerSlide)):a&&(e=ke[i.firstSlide].start)}Je.init&&Je.slideElement&&ve.dragging.elasticBounds?e>$e.end?e=$e.end+(e-$e.end)/6:e<$e.start&&(e=$e.start+(e-$e.start)/6):e=within(e,$e.start,$e.end),gt.start=_now(),gt.time=0,gt.from=$e.current,gt.to=e,gt.delta=e-$e.current,gt.tweesing=Je.tweese||Je.init&&!Je.slideElement,gt.immediate=!gt.tweesing&&(t||Je.init&&Je.slideElement||!ve.speed),Je.tweese=0,e!==$e.destination&&($e.destination=e,U("change"),wt||r()),b(),g(),v(),s()}function r(){return wt?(gt.immediate?$e.current=gt.to:gt.tweesing?(gt.tweeseDelta=gt.to-$e.current,Math.abs(gt.tweeseDelta)<2?$e.current=gt.to:$e.current+=gt.tweeseDelta*(Je.released?ve.dragging.swingSpeed:ve.dragging.syncSpeed)):(gt.time=Math.min(_now()-gt.start,ve.speed),$e.current=gt.from+gt.delta*_t(gt.time/ve.speed,gt.time,0,1,ve.speed)),gt.to===$e.current?($e.current=gt.to,Je.tweese=wt=0):wt=requestAnimationFrame(r),U("move"),transform?be[0].style[transform]=gpuAcceleration+(ve.navigation.horizontal?"translateX":"translateY")+"("+-$e.current+"px)":be[0].style[ve.navigation.horizontal?"left":"top"]=-Math.round($e.current)+"px",!wt&&Je.released&&(J(),U("moveEnd")),void o()):(wt=requestAnimationFrame(r),void(Je.released&&U("moveStart")))}function o(){De.length&&(Ie.current=$e.start===$e.end?0:((Je.init&&!Je.slideElement?$e.destination:$e.current)-$e.start)/($e.end-$e.start)*Ie.end,Ie.current=within(Math.round(Ie.current),Ie.start,Ie.end),ft.hPos!==Ie.current&&(ft.hPos=Ie.current,transform?De[0].style[transform]=gpuAcceleration+(ve.navigation.horizontal?"translateX":"translateY")+"("+Ie.current+"px)":De[0].style[ve.navigation.horizontal?"left":"top"]=Ie.current+"px"))}function s(){Re[0]&&ft.page!==ze.activePage&&(ft.page=ze.activePage,Re.removeClass(ve.classes.activeClass).eq(ze.activePage).addClass(ve.classes.activeClass),U("activePage",ft.page))}function l(){for(var e,t,n,i="",a=0,r=ke.length;r>a;
1a++)e=ke[a],t=e.options.thumbnail||e.options.cover||1,n="",n+=e.options.thumb_size!==undefined?" size: "+e.options.thumb_size:"",n=n?' data-mightyslider="'+n.trim()+'"':"",push.call(Ue,t),Ne[0]&&t&&(i+=ve.thumbnails.thumbnailBuilder.call(ge,a,t,n));Ne[0]&&(He=Ne.html(i).children(),ve.thumbnails.thumbnailNav&&(Ye?Ye.destroy():($.extend(!0,We,{moveBy:ve.moveBy,speed:"undefined"!==type(ve.thumbnails.speed)?ve.thumbnails.speed:ve.speed,easing:ve.easing,startAt:ve.startAt,hasThumbs:!0,navigation:{horizontal:ve.thumbnails.horizontal,navigationType:ve.thumbnails.thumbnailNav,slideSize:ve.thumbnails.thumbnailSize,activateOn:ve.thumbnails.activateOn},scrolling:{scrollBy:ve.thumbnails.scrollBy},dragging:{mouseDragging:ve.thumbnails.mouseDragging,touchDragging:ve.thumbnails.touchDragging,swingSpeed:ve.dragging.swingSpeed,elasticBounds:ve.dragging.elasticBounds},commands:{buttons:ve.thumbnails.thumbnailsButtons}}),Ye=new mightySlider(Ne.parent(),We,{active:function(e,t){t!=ze.activeSlide&&ge.activate(t)}})),ve.thumbnails.preloadThumbnails?preloadimages(Ue).done(function(){Ye.init(),Ye.reload()}):(Ye.init(),Ye.reload())))}function c(){if(ye.hasClass("fullscreen"))var e=ye.find(".ms_scene").first().width(),t=ye.find(".ms_scene").first().height(),n=(e>=t?e:t)/xe.width;else var n=ye.width()/xe.width;Ce=n,we.height(xe.height*n)}function d(){w.speed&&$e.current!==(w.speed>0?$e.end:$e.start)||ge.stop(),xt=Je.init?requestAnimationFrame(d):0,w.now=_now(),w.pos=$e.current+(w.now-w.lastTime)/1e3*w.speed,a(Je.init?w.pos:Math.round(w.pos)),Je.init||$e.current!==$e.destination||U("moveEnd"),w.lastTime=w.now}function u(e,t,n){if("boolean"===type(t)&&(n=t,t=undefined),t===undefined)a($e[e],n);else{if(Le&&"center"!==e)return;var i=ge.getPosition(t);i&&a(i[e],n,!Le)}}function p(e){return"undefined"!==type(e)?is_numeric(e)?e>=0&&e<ke.length?e:-1:_e.index(e):-1}function m(e){return p(is_numeric(e)&&0>e?e+ke.length:e)}function h(e){var t=p(e),n=ze.activeSlide;if(!Oe||0>t)return!1;if(ft.active!==t){var i=ke[t],a=i.captions;ct=[],dt=null,Et||(ge.progressElapsed=0),!ve.cycling.loop&&t>=ke.length-1&&ge.pause(),_e.eq(ze.activeSlide).removeClass(ve.classes.activeClass),_e.eq(t).addClass(ve.classes.activeClass),ke[n]&&ke[n].isParallax&&(ye.off("."+$t),$win.off(Mt)),i.options.scrollParallax&&(ct=ve.parallax.scroll&&a||filter.call(a,function(e){return e.options.parallaxAxises&&e.options.parallaxAxises.scroll}),dt=i.element,j()),i.isParallax?(it.parallaxCaptions=filter.call(a,function(e,t,n){return!!e.options.parallaxLevel}),supportTouch?orientationSupport&&$win.on(Mt,function(e){var t=e.originalEvent;if("undefined"!==type(t)&&null!==t.beta&&null!==t.gamma){switch(it.source="orientation",orientation){case 0:at.X=t.gamma,at.Y=t.beta;break;case 180:at.X=-t.gamma,at.Y=-t.beta;break;case-90:at.X=-t.beta,at.Y=t.gamma;break;case 90:at.X=t.beta,at.Y=-t.gamma}at.X=8*at.X,at.Y=8*at.Y,le()}}):ye.on(At,function(e){it.source="mouse";var t=ye[0],n=getOffset(e.originalEvent,t),i=t.getBoundingClientRect(),a=i.width/2,r=i.height/2;ye.off(Lt).on(Ot,function(e){n=getOffset(e.originalEvent,t),at.X=n.x-a,at.Y=n.y-r,le()}).one(Lt,function(){ye.off(Ot),ve.parallax.revert&&(at.X=0,at.Y=0,ce())})}).trigger(At)):it={},Et||re(ft.active),ft.active=ze.activeSlide=t,v(),!Et&&Tt&&Z(),rt&&clearTimeout(rt),a.length&&!Et?ge.one("slideLoaded",function(e,i){i===t&&(rt=setTimeout(function(){clearTimeout(rt),ae(t)},0>n?0:ve.speed+20))}):lt=-1,ve.deeplinking.linkID&&!Et&&!mt&&ge.initialized&&de(t),Et||W(t),ve.autoResize&&ne(t),ut=_e.get(t).getElementsByClassName(minnamespace+"Scaler"),scalersHandler(we,ut),U("active",t)}return t}function f(e){e=within(is_numeric(e)?e:$e.destination,$e.start,$e.end);for(var t={},n=Ae?0:Ee/2,i=0,a=qe.length;a>i;i++){if(e>=$e.end||i===qe.length-1){t.activePage=qe.length-1;break}if(e<=qe[i]+n){t.activePage=i;break}}if(Oe){for(var r=!1,o=!1,s=!1,l=0,c=ke.length;c>l;l++)if(r===!1&&e<=ke[l].start+ke[l].half&&(r=l),s===!1&&e<=ke[l].center+ke[l].half&&(s=l),l===c-1||e<=ke[l].end+ke[l].half){o=l;break}t.firstSlide=is_numeric(r)?r:0,t.centerSlide=is_numeric(s)?s:t.firstSlide,t.lastSlide=is_numeric(o)?o:t.centerSlide}return t}function g(e){$.extend(ze,f(e))}function v(){var e=$e.destination<=$e.start,t=$e.destination>=$e.end,n=e?1:t?2:3;if(ft.slideElementPosState!==n&&(ft.slideElementPosState=n,et.prop("disabled",e).add(Qe)[e?"addClass":"removeClass"](ve.classes.disabledClass),tt.prop("disabled",t).add(Ge)[t?"addClass":"removeClass"](ve.classes.disabledClass)),ft.fwdbwdState!==n&&Je.released&&(ft.fwdbwdState=n,Qe.prop("disabled",e),Ge.prop("disabled",t)),Oe){var i=0===ze.activeSlide,a=ze.activeSlide>=ke.length-1,r=i?1:a?2:3;ft.slidesButtonState!==r&&(ft.slidesButtonState=r,Ke[i?"addClass":"removeClass"](ve.classes.disabledClass).prop("disabled",i),Ze[a?"addClass":"removeClass"](ve.classes.disabledClass).prop("disabled",a))}}function w(e,t,n){if(e=m(e),t=m(t),e>-1&&t>-1&&e!==t&&(!n||t!==e-1)&&(n||t!==e+1)){_e.eq(e)[n?"insertAfter":"insertBefore"](ke[t].element);var a=t>e?e:n?t:t-1,r=e>t?e:n?t+1:t,o=e>t;e===ze.activeSlide?ft.active=ze.activeSlide=n?o?t+1:t:o?t:t-1:ze.activeSlide>a&&ze.activeSlide<r&&(ft.active=ze.activeSlide+=o?1:-1),i()}}function y(e,t){for(var n=0,i=ht[e].length;i>n;n++)if(ht[e][n]===t)return n;return-1}
1function b(){Je.released&&!ge.isPaused&&ge.resume()}function S(e){return Math.round(within(e,Ie.start,Ie.end)/Ie.end*($e.end-$e.start))+$e.start}function x(){Je.history[0]=Je.history[1],Je.history[1]=Je.history[2],Je.history[2]=Je.history[3],Je.history[3]=Je.delta}function E(e){Je.released=0,Je.source=e,Je.slideElement="slideElement"===e}function C(e){var t="touchstart"===e.type;if(!(Je.init||Tt||!t&&z(e.target))){var n=e.data.source,i="slideElement"===n;("handle"!==n||ve.scrollBar.dragHandle&&Ie.start!==Ie.end)&&(!i||(t?ve.dragging.touchDragging:ve.dragging.mouseDragging&&e.which<2))&&(E(n),Je.init=0,Je.$source=$(e.target),Je.touch=t,Je.pointer=t?e.originalEvent.touches[0]:e,Je.initX=Je.pointer.pageX,Je.initY=Je.pointer.pageY,Je.initPos=i?$e.current:Ie.current,Je.initPage=ze.activePage,Je.start=_now(),Je.time=0,Je.path=0,Je.delta=0,Je.locked=0,Je.history=[0,0,0,0],Je.pathToLock=i?t?$win.width()/window.outerWidth*10:10:0,$doc.on(t?dragTouchEvents:dragMouseEvents,T),ge.pause(1),(i?be:De).addClass(ve.classes.draggedClass),U("moveStart"),i&&(yt=setInterval(x,10)))}}function T(e){if(Je.released="mouseup"===e.type||"touchend"===e.type,Je.pointer=Je.touch?e.originalEvent[Je.released?"changedTouches":"touches"][0]:e,Je.pathX=Je.pointer.pageX-Je.initX,Je.pathY=Je.pointer.pageY-Je.initY,Je.path=Math.sqrt(Math.pow(Je.pathX,2)+Math.pow(Je.pathY,2)),Je.delta=ve.navigation.horizontal?Je.pathX:Je.pathY,Je.released||!(Je.path<1)){if(!Je.init){if(!(ve.navigation.horizontal?Math.abs(Je.pathX)>Math.abs(Je.pathY):Math.abs(Je.pathX)<Math.abs(Je.pathY)))return k();Je.init=1}stopDefault(e),!Je.locked&&Je.path>Je.pathToLock&&Je.slideElement&&(Je.locked=1,Je.$source.on(clickEvent,disableOneEvent)),Je.released&&(k(),ve.dragging.releaseSwing&&Je.slideElement&&(Je.swing=(Je.delta-Je.history[0])*ve.dragging.swingSync,Je.delta+=Je.swing,Je.tweese=Math.abs(Je.swing)>10)),a(Je.slideElement?Je.tweese&&ve.dragging.onePage?qe[within(Je.delta<0?Je.initPage+1:Je.initPage-1,0,qe.length-1)]:Math.round(Je.initPos-Je.delta):S(Je.initPos+Je.delta))}}function k(){clearInterval(yt),Je.released=!0,$doc.off(Je.touch?dragTouchEvents:dragMouseEvents,T),(Je.slideElement?be:De).removeClass(ve.classes.draggedClass),setTimeout(function(){Je.$source.off(clickEvent,disableOneEvent)}),$e.current===$e.destination&&Je.init&&U("moveEnd"),ge.resume(1),Je.init=0}function z(e){return~_.inArray(e.nodeName,interactiveElements)||$(e).is(ve.dragging.interactive)}function P(){ge.stop(),$doc.off("mouseup."+namespace,P)}function A(e){switch(stopDefault(e),this){case Ge[0]:case Qe[0]:ge.moveBy(Ge.is(this)?ve.moveBy:-ve.moveBy),$doc.on("mouseup."+namespace,P);break;case Ke[0]:ge.prev();break;case Ze[0]:ge.next();break;case et[0]:ge.prevPage();break;case tt[0]:ge.nextPage();break;case nt[0]:ge.toggleFullScreen()}}function L(e){return vt.curDelta=(ve.navigation.horizontal?e.deltaY||e.deltaX:e.deltaY)||-e.wheelDelta,vt.curDelta/=1===e.deltaMode?3:100,Oe?(time=_now(),vt.last<time-vt.resetTime&&(vt.delta=0),vt.last=time,vt.delta+=vt.curDelta,Math.abs(vt.delta)<1?vt.finalDelta=0:(vt.finalDelta=Math.round(vt.delta/1),vt.delta%=1),vt.finalDelta):vt.curDelta}function O(e){e.originalEvent[namespace]=ge;var t=_now();return lastWheel+ve.scrolling.hijack>t?void(lastWheel=t):void(ve.scrolling.scrollBy&&$e.start!==$e.end&&(stopDefault(e,1),ge.slideBy(ve.scrolling.scrollBy*L(e.originalEvent))))}function M(e){ve.scrollBar.clickBar&&e.target===Me[0]&&(stopDefault(e),a(S((ve.navigation.horizontal?e.pageX-Me.offset().left:e.pageY-Me.offset().top)-Fe/2)))}function D(e){if(ve.navigation.keyboardNavBy)switch(e.which){case ve.navigation.horizontal?37:38:stopDefault(e),ge["pages"===ve.navigation.keyboardNavBy?"prevPage":"prev"]();break;case ve.navigation.horizontal?39:40:stopDefault(e),ge["pages"===ve.navigation.keyboardNavBy?"nextPage":"next"]()}}function B(e){var t=$(this);return t.hasClass(minnamespace+"Close")?Z():K(t.parent()[0]),!1}function F(){Et&&(Et=clearTimeout(Et)),U("beforeResize"),Et=setTimeout(function(){ge.reload(),scalersHandler(we,ut),Ye&&Ye.reload(),orientation="undefined"!==type(window.orientation)?window.orientation:$win.height()>$win.width()?0:90,U("resize"),Et=clearTimeout(Et)},100)}function I(){var e=visibilityHidden();e?ge.freeze():ge.unFreeze()}function j(){if(ct.length){var t=_position(ge.frame,window),n=t.top,i={force3D:!0},a=.8*e.clientHeight;n>0&&(n=0),-n>=e.clientHeight||(_each(ct,function(e){i.y=.1*-n,i.opacity=1-Math.min(1,-n/a),TweenMax.set(e.element,i)}),TweenMax.set(dt,{force3D:!0,y:.4*-n}))}}function R(){screenfull.isFullscreen||ge.exitFullScreen()}function q(e){return z(this)?void e.stopPropagation():void(this.parentNode===be[0]&&ge.activate(this))}function N(){this.parentNode===je[0]&&ge.activatePage(Re.index(this))}
1function H(e){ve.cycling.pauseOnHover&&ge["mouseenter"===e.type?"pause":"resume"](2)}function U(e,t){if(ht[e]){for(fe=ht[e].length,tmpArray.length=0,he=0;fe>he;he++)push.call(tmpArray,ht[e][he]);for(he=0;fe>he;he++)tmpArray[he].call(ge,e,t)}}function Y(e,t){var n;if(t)n=is_numeric(t)||-1===indexOf.call(t,"%")?t:percentToValue(t.replace("%",""),Ee);else{var i=e.getBoundingClientRect();n=ve.navigation.horizontal?i.width||i.right-i.left:i.height||i.bottom-i.top}return Math.round(100*n)/100}function W(e){var t=p(e),n=ke[t],i=n.element,a=i.hasAttribute(minnamespace+"slideloaded");if(U("beforeSlideLoad",t),a)return U("slideLoaded",t),!1;var r=$(i),o=function(){var e=findAllImages(i),n=e.length;if(0>=n)return i.setAttribute(minnamespace+"slideloaded","1"),U("slideLoaded",t),!1;var a=showLoader(r,ve);preloadimages(e).done(function(){hideLoader(a),i.setAttribute(minnamespace+"slideloaded","1"),U("slideLoaded",t)})};if(n.hasCaptionMediaEnabled)for(var s,l,c,d,u,m,h,f,g=filter.call(n.captions,function(e,t,n){return e.options.cover||e.options.video||e.options.source}),v=g.length,w=0,y=g.length;y>w;w++){if(s=g[w],l=s.element,c=$('<div class="'+minnamespace+'LayerContainer"></div>'),d=s.options.cover,u=s.type,m=d||parsePhotoURL(s.options.video)&&s.options.video,h=isObject(m)||"video"==getTypeByExtension(m),f=parsePhotoURL(m),c.prependTo(l),f){var b=showLoader(r,ve);doAjax(f.oembed,function(e){hideLoader(b),e&&(m=e[f.inJSON],f.replace&&(m=m.replace(f.replace.from,f.replace.to)),V({caption:s,cover:m,slideEl:r,insertEl:c,callback:function(){v--,y>=v&&o()}}))})}else V({caption:s,cover:m,isVideo:h,slideEl:r,insertEl:c,callback:function(){v--,y>=v&&o()}});if("image"!==u){var S=Q(c,u);"link"!==u&&S.on(clickEvent,B)}}else o()}function X(e,t){for(var n,i,a,r=[],o=0,s=ke.length;s>o;o++)n=ke[o],i=n.start,a=i+n.size,(i>=e&&t>=a||a>=e&&e>=i||t>=i&&a>=t)&&push.call(r,n);return r}function V(e){if($("> ."+minnamespace+"Cover, > ."+minnamespace+"LayerCover",e.insertEl).remove(),!e.cover)return!1;if(isObject(e.cover)&&e.cover.poster&&supportTouch&&(e.isVideo=0,e.cover=e.cover.poster),e.isVideo&&!supportTouch){var t=showLoader(e.slideEl,ve);
1e.slide&&U("beforeCoverLoad",e.index);var n=[];if(isObject(e.cover))e.cover.poster&&(e.cover.poster=null),_each(e.cover,function(e,t){push.call(n,{name:"source",type:videoTypes[e],src:t})});else{var i=e.cover,a=_.getExtension(i);a=isObject(a)?null:a.toLowerCase(),n=[{name:"source",type:videoTypes[a],src:i}]}var r=$(createElement("video",{autoplay:"autoplay",muted:"muted",loop:"loop",controls:!1},n)).addClass(minnamespace+"CoverImage").hide(),o=$('<div class="'+minnamespace+'Cover"></div>').append(r);e.insertEl.prepend(o),U("coverInserted",o[0]),r.one("loadedmetadata",function(){var n=r[0];r.show().data({naturalWidth:n.videoWidth,naturalHeight:n.videoHeight}),te(e.slide),hideLoader(t),U("coverLoaded",e.index)})}else{var s,t=showLoader(e.slideEl,ve),l=e[e.slide?"slide":"caption"].options,c=(l.viewport||ve.viewport).toLowerCase();switch(c){default:case"fill":s="cover";break;case"fit":s="contain";break;case"stretch":s="100% 100%";break;case"center":s="auto"}e.slide&&U("beforeCoverLoad",e.index),preloadimages(e.cover).done(function(n){e.slide&&U("coverLoaded",e.index);var i=$('<div class="'+(minnamespace+(e.slide?"Cover":"LayerCover"))+'" style="background-image: url(\''+e.cover+"'); background-size: "+s+';"></div>'),a=$("img",i);setTimeout(function(){hideLoader(t),a.data({naturalWidth:n[0].width,naturalHeight:n[0].height}),e.insertEl.prepend(i),e.callback&&e.callback.call(this,a),e.slide&&U("coverInserted",i[0])},100)})}}function J(){var e,t;switch(ve.preloadMode){case"all":e=0,t=Te;break;case"nearby":e=within($e.current-Ee,$e.start,$e.end),t=within($e.current+2*Ee-5,$e.start,$e.end+2*Ee);break;case"instant":e=within($e.current+5,$e.start,$e.end),t=within($e.current+Ee-5,$e.start,$e.end+Ee)}var n=X(e,t),i=function(e,t){if("content"===e.type)return!0;var n=e.element,i=$(n),a=n.hasAttribute(minnamespace+"processed"),r=n.getAttribute(minnamespace+"lastcover");if(a&&!Et)return!0;var o=e.options.cover;if($.isArray(o)){for(var s,t=0,l=o.length;l>t;t++)if(s=o[t],s[1]&&window.matchMedia(s[1]).matches){o=s[0];break}$.isArray(o)&&(o=o[0][0])}var c=o||parsePhotoURL(e.options.video)&&e.options.video,d=isObject(c)||"video"==getTypeByExtension(c),u=parsePhotoURL(c),m=isObject(c)?rawurlencode(JSON.stringify(c)):c;if(r===m)return!0;if(u){var h=showLoader(i,ve);doAjax(u.oembed,function(t){hideLoader(h),t&&(c=t[u.inJSON],u.replace&&(c=c.replace(u.replace.from,u.replace.to)),V({cover:c,slide:e,slideEl:i,insertEl:i,index:p(n)}))})}else V({cover:c,isVideo:d,slide:e,slideEl:i,insertEl:i,index:p(n)});n.setAttribute(minnamespace+"processed","1"),n.setAttribute(minnamespace+"lastcover",m)};_each(n,i)}function G(){for(var e,t,n,i,a=0,r=ke.length;r>a;a++)e=ke[a],"content"!==e.type&&(t=$(e.element),n=e.options.icon||e.type,$("."+minnamespace+ucfirst(n),t)[0]||"content"!==n&&"image"!==n&&(i=Q(t,n),"link"!==n&&i.on(clickEvent,B)))}function Q(e,t){var n=minnamespace+ucfirst(t);if(!$("."+n,e).length){var i=$('<a class="'+minnamespace+"Icon "+n+'" ondragstart="return false;"></a>');if("link"===t){var a=p(e),r=ke[a],o=r.options.link.url&&_.absolutizeURI(r.options.link.url)||window.location.href,s=r.options.link.target||null,l=$.extend(!0,{href:o,target:s},r.options.link);l.url&&(l.url=null),i[$.fn.attr?"attr":"prop"](l)}return e.append(i),i}}function K(e){var t=p(e);Tt&&Z();var n=$(e);if(-1!==t)var i=ke[t];else{var a=n.parent(),r=getInlineOptions(a),i={type:getSlideType(r),options:r};a.addClass(minnamespace+"Media")}n.children().hide();var o=ee({type:i.type,options:i.options}),s=$('<a class="'+minnamespace+"Icon "+minnamespace+'Close"></a>');n.prepend(o).prepend(s),s.on(clickEvent,B),-1!==t&&(ye.addClass(minnamespace+"Media"),re(ze.activeSlide)),ge.pause(3),Tt=o}function Z(){var e=Tt.parent();Tt.remove(),Tt=null,$("."+minnamespace+"Close",e).off(clickEvent).remove(),e.hasClass(minnamespace+"LayerContainer")?e.parent().removeClass(minnamespace+"Media"):ye.removeClass(minnamespace+"Media"),e.children().show(),(ve.cycling.loop||!ve.cycling.loop&&index!==ke.length-1)&&(ge.isPaused=0,b()),rt||ae(ze.activeSlide)}function ee(e){var t,n=e.type,i=e.options,a=i.mp4||i.video||i.source;switch(U("beforeGenerateMedia"),n){case"video":var r=_.getExtension(a),o=i.videoFrame,s=i.mp4,l=i.webm,c=i.ogv,d=s||l||c||0,u=parseVideoURL(a);if(r=r?r.toLowerCase():null,/^(avi|mov|mpg|mpeg|mp4|webm|ogv|3gp|m4v)$/i.test(r)||o||s||l||c)if(o||d&&ve.videoFrame){var p=o||ve.videoFrame,m=[];s&&push.call(m,{type:videoTypes.mp4,src:_.absolutizeURI(s)}),l&&push.call(m,{type:videoTypes.webm,src:_.absolutizeURI(l)}),c&&push.call(m,{type:videoTypes.ogv,src:_.absolutizeURI(c)}),m.length>0&&(p+=(_.parseURL(p,"QUERY")?"&":"?")+minnamespace.toLowerCase()+"videos="+rawurlencode(JSON.stringify(m)),i.cover&&(p+="&"+minnamespace.toLowerCase()+"cover="+rawurlencode(_.absolutizeURI(i.cover)))),t=$(createElement("iframe",{src:p,scrolling:"no"}))}else{if(!(canPlayType(videoTypes[r])||s&&canPlayType(videoTypes.mp4)||l&&canPlayType(videoTypes.webm)||c&&canPlayType(videoTypes.ogv)))throw"Video not supported!";var h=[{name:"source",type:s&&videoTypes.mp4||videoTypes[r],src:a}];l&&push.call(h,{name:"source",type:videoTypes.webm,src:l}),c&&push.call(h,{name:"source",type:videoTypes.ogv,src:c}),i.HTML5Video&&_each(i.HTML5Video,function(e,t){push.call(h,$.extend({},{name:e},t))}),t=$(createElement("video",{},h))}else{if(!u)throw"Video not supported!";t=$(createElement(u.type,{src:u.source,scrolling:"no"}))}break;case"iframe":t=$(createElement("iframe",{src:a}));break;case"flash":t=$(createElement("embed",{src:a,flashvars:i.flashvars||null}))}return U("mediaGenerated",t[0]),t}function te(e){for(var e,t,n,i,a,r,o,s,l,c,d,u,p=e?[e]:ke,m=0,h=p.length;h>m;m++)e=p[m],e.options.cover&&"content"!==e.type&&(isObject(e.options.cover)||"string"==type(e.options.cover)&&"video"==getTypeByExtension(e.options.cover))&&(t=$(e.element),n=t.find("."+minnamespace+"CoverImage"),n[0]&&(i=(e.options.viewport||ve.viewport).toLowerCase(),a=n.data(),r=t.width(),o=t.height(),s=r,l=o,c=0,d=0,"fit"===i?(u=calculateDimensions(s,l,a.naturalWi
1dth,a.naturalHeight),s=u.width,l=u.height):"fill"===i?(l=s/a.naturalWidth*a.naturalHeight,o>l&&(s=o/a.naturalHeight*a.naturalWidth,l=o)):"center"===i&&(u=calculateDimensions(s,l,a.naturalWidth,a.naturalHeight,1),s=a.naturalWidth,l=a.naturalHeight),d=(o>l?o-l:-(l-o))/2,c=(r>s?r-s:-(s-r))/2,n.css({width:s,height:l,marginTop:d,marginLeft:c})))}function ne(e,t){var n=p(e),i=$(ke[n].element)[ve.navigation.horizontal?"outerHeight":"outerWidth"](),a={};a[ve.navigation.horizontal?"height":"width"]=i,we.msStop().msAnimate(a,ve.speed,ve.easing)}function ie(){ve.commands.thumbnails&&!Ne[0]&&(Ne=$("<ul></ul>"),ye.append($('<div class="'+minnamespace+'Thumbnails"></div>').html(Ne))),ve.commands.pages&&!je[0]&&(je=$('<ul class="'+minnamespace+'Pages"></ul>'),ye.append(je)),ve.commands.buttons&&Oe&&!tt[0]&&(tt=$('<a class="'+minnamespace+"Buttons "+minnamespace+'Next"><svg><use xlink:href="'+window.location.href+'#chevron_thin" /></svg></a>'),ye.prepend(tt)),ve.commands.buttons&&Oe&&!et[0]&&(et=$('<a class="'+minnamespace+"Buttons "+minnamespace+'Prev"><svg><use xlink:href="'+window.location.href+'#chevron_thin" /></svg></a>'),ye.prepend(et)),!ve.commands.buttons||Oe||Ge[0]||(Ge=$('<a class="'+minnamespace+"Buttons "+minnamespace+'Next"><svg><use xlink:href="'+window.location.href+'#chevron_thin" /></svg></a>'),ye.prepend(Ge)),!ve.commands.buttons||Oe||Qe[0]||(Qe=$('<a class="'+minnamespace+"Buttons "+minnamespace+'Prev"><svg><use xlink:href="'+window.location.href+'#chevron_thin" /></svg></a>'),ye.prepend(Qe))}function ae(e){if("undefined"==typeof TimelineMax)return void(console&&console.warn('Animated layers needs TimelineMax function. Please include the "tweenlite.js" into your page.'));var t=p(e),e=ke[t],n=e.captions;if(t!==lt){if(ot[t]&&st[t]==Ce)for(var i,i,a=0,r=ot[t].length;r>a;a++)i=ot[t][a],!ge.isFreezed&&i&&i.play(0);else ot[t]=[],st[t]=Ce,_each(n,function(e,n){var i=$(e.element),a=i.data(minnamespace+"styles"),r=e.options,o={position:"absolute"};if(a||(a=getCaptionStyles(i),i.data(minnamespace+"styles",a)),ve.autoScale&&(o=$.extend({},o,normalizeStyles(a,captionResponsiveStyles,Ce))),i.show().css(o),e.animation.length){var s,l;ot[t][n]?s=ot[t]:(s=new TimelineMax({paused:!0,onComplete:function(){r.loop&&this.seek(oe(e))}}),_each(e.animation,function(t){var n=t.speed?t.speed/1e3:0,i=t.delay?t.delay/1e3:0,a=window.GreenSockGlobals.com.greensock.easing.Ease.map[t.easing||"swing"],r=t.mode||"to",o=t.position,c=t.style||{},d=c.scrambleText,u=t.staggerText&&$.extend({type:"chars",delay:.01},t.staggerText)||null,p=d?{delay:i,ease:a}:{delay:i,ease:a,force3D:!0};$.extend(p,c,normalizeStyles(c,captionResponsiveStyles,Ce)),u?(l||(l=new SplitText(e.element,{type:"chars, words, lines",charsClass:"mSChars",wordsClass:"mSWords",linesClass:"mSLines"})),o?s["stagger"+ucfirst(r)](l[u.type],n,p,u.delay,o):s["stagger"+ucfirst(r)](l[u.type],n,p,u.delay)):s[r](e.element,n,p)}),ot[t][n]=s),ge.isFreezed||s.play()}});lt=t}}function re(e){var t=p(e);t===lt&&ke[t]&&ke[t].captions.length&&ge.one("moveEnd",function(){ze.activeSlide!==t&&_each(ot[t],function(e){e&&e.pause(0,!0)})})}function oe(e){var t=e.options,n=t.startAtOnRepeat||0;if(!is_numeric(n))return hmsToSeconds(n);for(var i,a,r,o=0,s=0,l=e.animation.length;l>s;s++){if(i=e.animation[s],a=i.speed?i.speed/1e3:0,r=i.delay?i.delay/1e3:0,s===n)return t.dontDelayOnRepeat&&(o+=r),o;o+=a+r}}function se(){if(!it.parallaxCaptions)return void this.kill();for(var e,t,n,i,a=ve.parallax,r=it.parallaxCaptions.length,o=at.X,s=at.Y,l=0;r>l;l++){if(t=gpuAcceleration,e=it.parallaxCaptions[l],n=e.options.parallaxLevel,i=e.options.parallaxAxises||a,i.x&&(t+="translateX("+(a.invertX?-o:o)/100*n+"px) "),i.y&&(t+="translateY("+(a.invertY?-s:s)/100*n+"px) "),i.z&&gpuAcceleration){var c=(a.invertZ?-o:o)/100*n,d=(a.invertZ?-s:s)/100*n;t+="rotateX("+-d/1.5+"deg) rotateY("+c/3+"deg)"}e.element.style[transform]=t}}function le(){var e=ve.parallax,t={X:at.X,Y:at.Y,useFrames:!1,ease:e.frictionEasing,onUpdate:se};at.X=0,at.Y=0,me=tweenLite.to(at,e.frictionDuration&&e.frictionDuration/1e3||0,t)}function ce(){var e=ve.parallax,t=ve.parallax.revertDuration,n=it.parallaxCaptions,i=(n.length,{X:at.X,Y:at.Y,useFrames:!1,ease:e.revertEasing,onUpdate:se});me=tweenLite.to(at,t&&t/1e3||0,i)}function de(e){var t=ke[e];mt=1,window.location.hash=ve.deeplinking.linkID+ve.deeplinking.separator+t.ID,mt=0}function ue(e){for(var t=0,n=0,i=ke.length;i>n;n++)e==ke[n].ID&&(t=n);return t}function pe(e){var t=window.location.hash.replace("#",""),n=t.split(ve.deeplinking.separator);if(!mt&&ve.deeplinking.linkID){if(e&&(mt=1),n[0]===ve.deeplinking.linkID){var i=ue(n[1]);ge.initialized?ge.activate(i):(ve.startRandom=0,ve.startAt=i)}else e&&0===t.length&&ge.activate(ve.startAt);e&&(mt=0)}}var me,he,fe,ge=this,ve=$.extend(!0,{},mightySlider.defaults,t),we=$(e),ye=$(e).parent(),be=we.children().eq(0),Se=getInlineOptions(we),xe=ve.autoScale&&(Se.height&&{width:Se.width,height:Se.height}||{width:ye.width(),height:ye.height()})||null,Ee=0,Ce=1,Te=0,$e={current:0,start:0,center:0,end:0,destination:0},_e=0,ke=[],ze={activeSlide:-1,firstSlide:0,centerSlide:0,lastSlide:0,activePage:0}
1,Pe="basic"===ve.navigation.navigationType,Ae="forceCentered"===ve.navigation.navigationType,Le="centered"===ve.navigation.navigationType||Ae,Oe=Pe||Le||Ae,Me=$(ve.scrollBar.scrollBarSource).eq(0),De=Me.children().eq(0),Be=0,Fe=0,Ie={start:0,end:0,current:0},je=ve.pages.pagesBar&&$(ve.pages.pagesBar)||{},Re=0,qe=[],Ne=ve.thumbnails.thumbnailsBar&&$(ve.thumbnails.thumbnailsBar)||{},He=0,Ue=[],Ye=null,We={},Xe=ve.scrolling.scrollSource&&$(ve.scrolling.scrollSource)||we,Ve=ve.dragging.dragSource&&$(ve.dragging.dragSource)||we,Je={released:1},Ge=$(ve.buttons.forward),Qe=$(ve.buttons.backward),Ke=$(ve.buttons.prev),Ze=$(ve.buttons.next),et=$(ve.buttons.prevPage),tt=$(ve.buttons.nextPage),nt=$(ve.buttons.fullScreen),it={},at={},rt=0,ot=[],st=[],lt=-1,ct=[],dt=null,ut=[],pt=0,mt=0,ht={},ft={},gt={},w={},vt={last:0,delta:0,resetTime:200},wt=0,yt=0,bt=0,St=0,xt=0,Et=0,Ct=0,Tt=null,$t=_.uniqID(namespace),_t=$.easing[ve.easing]||$.easing.swing,kt="resize."+$t+" orientationchange."+$t,zt="hashchange."+$t,Pt="keydown."+$t,At="mouseenter."+$t,Lt="mouseleave."+$t,Ot="mousemove."+$t,Mt="deviceorientation."+$t,Dt=visibilityEvent+"."+$t;ge.initialized=0,ge.options=ve,ge.frame=we[0],ge.slideElement=be[0],ge.slides=ke,ge.position=$e,ge.relative=ze,ge.pages=qe,ge.thumbnails=Ue,ge.handlePosition=Ie,ge.isFullScreen=0,ge.isPaused=0,ge.isFreezed=0,ge.progressElapsed=0,ge.uniqId=$t,ge.reload=i,ge.getPosition=function(e){if(Oe){var t=p(e);return-1!==t?ke[t]:!1}var n=be.find(e).eq(0);if(n[0]){var i=ve.navigation.horizontal?n.offset().left-be.offset().left:n.offset().top-be.offset().top,a=n[ve.navigation.horizontal?"outerWidth":"outerHeight"]();return{start:i,center:i-Ee/2+a/2,end:i-Ee+a,size:a}}return!1},ge.moveBy=function(e){w.speed=e,!Je.init&&w.speed&&$e.current!==(w.speed>0?$e.end:$e.start)&&(w.lastTime=_now(),w.startPos=$e.current,E("button"),Je.init=1,U("moveStart"),cancelAnimationFrame(xt),d())},ge.stop=function(){return"button"===Je.source&&(Je.init=0,Je.released=1),ge},ge.prev=function(e){return ge.activate(ze.activeSlide-1,e),ge},ge.next=function(e){return ge.activate(ze.activeSlide+1,e),ge},ge.prevPage=function(e){return ge.activatePage(ze.activePage-1,e),ge},ge.nextPage=function(e){return ge.activatePage(ze.activePage+1,e),ge},ge.slideBy=function(e,t){e&&(Oe?ge[Le?"toCenter":"toStart"](within((Le?ze.centerSlide:ze.firstSlide)+ve.scrolling.scrollBy*e,0,ke.length)):a($e.destination+e,t))},ge.slideTo=function(e,t){return a(e,t),ge},ge.toStart=function(e,t){return u("start",e,t),ge},ge.toEnd=function(e,t){return u("end",e,t),ge},ge.toCenter=function(e,t){return u("center",e,t),ge},ge.getIndex=p,ge.activate=function(e,t){var n=h(e);return ve.navigation.smart&&n!==!1&&(Le?ge.toCenter(n,t):n>=ze.lastSlide?ge.toStart(n,t):n<=ze.firstSlide?ge.toEnd(n,t):b()),ge},ge.activatePage=function(e,t){return is_numeric(e)&&(Et||(ge.progressElapsed=0),!ve.cycling.loop&&e>=qe.length-1&&ge.pause(),a(qe[within(e,0,qe.length-1)],t)),ge},ge.resume=function(e){if(!ve.cycling.cycleBy||!ve.cycling.pauseTime||"slides"===ve.cycling.cycleBy&&!ke[0]||e<ge.isPaused)return ge;ge.isPaused=0,bt?bt=cancelAnimationFrame(bt):U("resume");var t,n=ke[ze.activeSlide]&&ke[ze.activeSlide].options.pauseTime||ve.cycling.pauseTime,i=function(){switch(ve.cycling.cycleBy){case"slides":ge.activate(ze.activeSlide>=ke.length-1?0:ze.activeSlide+1);break;case"pages":ge.activatePage(ze.activePage>=qe.length-1?0:ze.activePage+1)}},a=function(){t=_now(),ge.progressElapsed+=t-(St||_now()),St=t,U("progress",ge.progressElapsed/n),ge.progressElapsed>=n?(i(),a=null):bt=requestAnimationFrame(a)};return bt=requestAnimationFrame(a),ge}
1,ge.pause=function(e){return e<ge.isPaused?ge:(ge.isPaused=e||100,bt&&(bt=cancelAnimationFrame(bt),St=0,U("pause")),ge)},ge.toggleCycling=function(){return ge[bt?"pause":"resume"](),ge},ge.enterFullScreen=function(){return ge.isFullScreen||(ye.addClass(ve.classes.isInFullScreen),screenfull.enabled?screenfull.request(ye[0]):$win.triggerHandler("resize"),ge.isFullScreen=1,U("enterFullScreen")),ge},ge.exitFullScreen=function(){return ge.isFullScreen&&(ye.removeClass(ve.classes.isInFullScreen),screenfull.enabled?screenfull.exit(ye[0]):$win.triggerHandler("resize"),ge.isFullScreen=0,U("exitFullScreen")),ge},ge.toggleFullScreen=function(){return ge[ge.isFullScreen?"exitFullScreen":"enterFullScreen"](),ge},ge.set=function(e,t){return isObject(e)?$.extend(!0,ve,e):hasOwnProperty.call(ve,e)&&(ve[e]=t),Ye&&($.extend(!0,We,{moveBy:ve.moveBy,speed:"undefined"!==type(ve.thumbnails.speed)?ve.thumbnails.speed:ve.speed,easing:ve.easing,startAt:ve.startAt,navigation:{horizontal:ve.thumbnails.horizontal,navigationType:ve.thumbnails.thumbnailNav,slideSize:ve.thumbnails.thumbnailSize,activateOn:ve.thumbnails.activateOn},scrolling:{scrollBy:ve.thumbnails.scrollBy},dragging:{mouseDragging:ve.thumbnails.mouseDragging,touchDragging:ve.thumbnails.touchDragging,swingSpeed:ve.dragging.swingSpeed,elasticBounds:ve.dragging.elasticBounds}}),Ye.set(We)),i(),ge},ge.add=function(e,t){var n=$(e);return Oe?("undefined"===type(t)||!ke[0]||t>=ke.length?n.appendTo(be):ke.length&&n.insertBefore(ke[t].element),n.addClass(minnamespace+"Slide"),t<=ze.activeSlide&&(ft.active=ze.activeSlide+=n.length)):be.append(n),pt=1,i(),pt=0,ge},ge.remove=function(e){if(Oe){var t=m(e);if(t>-1){_e.eq(t).remove();var n=t===ze.activeSlide&&!(Ae&&ve.navigation.activateMiddle);(t<ze.activeSlide||ze.activeSlide>=ke.length-1)&&(ft.active=--ze.activeSlide),i(),n&&ge.activate(ze.activeSlide)}}else $(e).remove(),i();return ge},ge.moveAfter=function(e,t){return w(e,t,1),ge},ge.moveBefore=function(e,t){return w(e,t),ge},ge.one=function(e,t){function n(){t.apply(ge,arguments),ge.off(e,n)}return ge.on(e,n),ge},ge.on=function(e,t){if("object"===type(e))for(var n in e)hasOwnProperty.call(e,n)&&ge.on(n,e[n]);else if("function"===type(t))for(var i=e.split(" "),a=0,r=i.length;r>a;a++)ht[i[a]]=ht[i[a]]||[],-1===y(i[a],t)&&push.call(ht[i[a]],t);else if("array"===type(t))for(var o=0,s=t.length;s>o;o++)ge.on(e,t[o]);return ge},ge.off=function(e,t){if(t instanceof Array)for(var n=0,i=t.length;i>n;n++)ge.off(e,t[n]);else for(var a=e.split(" "),r=0,o=a.length;o>r;r++)if(ht[a[r]]=ht[a[r]]||[],"undefined"===type(t))ht[a[r]].length=0;else{var s=y(a[r],t);-1!==s&&splice.call(ht[a[r]],s,1)}return ge},ge.freeze=function(){if(0===Ct){var e=ze.activeSlide;ye.addClass(ve.classes.isInFreeze),bt&&(bt=cancelAnimationFrame(bt),St=0),Oe&&ot[e]&&ot[e].length&&_each(ot[e],function(e){e&&e.pause()}),ge.isFreezed=1}Ct>=0&&Ct++},ge.unFreeze=function(){if(Ct>0&&Ct--,0>=Ct){var e=ze.activeSlide;ye.removeClass(ve.classes.isInFreeze),(ve.cycling.loop||!ve.cycling.loop&&e!==ke.length-1)&&b(),Oe&&ot[e]&&ot[e].length&&_each(ot[e],function(e){e&&e.resume()}),ge.isFreezed=0}},ge.destroy=function(){var t=Xe.add(De).add(Me).add(je).add(Ge).add(Qe).add(Ke).add(Ze).add(et).add(tt).add(nt).add($("."+minnamespace+"Icon",we));t.off("."+namespace),$doc.add($win).off("."+$t),Ke.add(Ze).add(et).add(tt).removeClass(ve.classes.disabledClass),_e[0]&&(_e.removeAttr("style").removeClass(minnamespace+"Slide").eq(ze.activeSlide).removeClass(ve.classes.activeClass),$("."+minnamespace+"Cover, ."+minnamespace+"Icon",_e).remove()),je[0]&&je.empty(),Ne[0]&&Ne.empty();var n=[];return!ve.buttons.forward&&Ge[0]&&push.call(n,Ge[0]),!ve.buttons.backward&&Qe[0]&&push.call(n,Qe[0]),!ve.buttons.prev&&Ke[0]&&push.call(n,Ke[0]),!ve.buttons.next&&Ze[0]&&push.call(n,Ze[0]),!ve.buttons.prevPage&&et[0]&&push.call(n,et[0]),!ve.buttons.nextPage&&tt[0]&&push.call(n,tt[0]),!ve.buttons.fullScreen&&nt[0]&&push.call(n,nt[0]),!ve.pages.pagesBar&&je[0]?push.call(n,je[0]):je[0]&&je.empty(),!ve.thumbnails.thumbnailsBar&&Ne[0]?push.call(n,Ne[0]):Ne[0]&&Ne.empty(),$(n).remove(),we.off("."+namespace),ye.removeClass(ve.navigation.horizontal?ve.classes.horizontalClass:ve.classes.verticalClass).removeClass(namespace),be.add(De).
1css(transform||(ve.navigation.horizontal?"left":"top"),transform?"none":0).removeClass(minnamespace+"SlideElement "+minnamespace+"ScrollbarHandle"),$.removeData(e,namespace),we.add(Me).removeClass(minnamespace+"Frame "+minnamespace+"MouseDraggable "+minnamespace+"TouchDraggable "+minnamespace+"Scrollbar"),ke.length=qe.length=0,ft={},ge.initialized=0,U("destroy"),windowSpy.remove(e),_each(mightySliderInstances,function(e,t){e.uniqId===ge.uniqId&&splice.call(mightySliderInstances,t,1)}),ge},ge.init=function(){if(!ge.initialized){l(),ge.on(n);var t=be.add(De);return we.css("overflow","hidden").addClass(minnamespace+"Frame"),transform||"static"!==we.css("position")||we.css("position","relative"),transform?gpuAcceleration&&t.css(transform,gpuAcceleration):("static"===Me.css("position")&&Me.css("position","relative"),t.css({position:"absolute"})),ve.dragging.mouseDragging&&!supportTouch&&we.addClass(minnamespace+"MouseDraggable"),ve.dragging.touchDragging&&supportTouch&&we.addClass(minnamespace+"TouchDraggable"),be.addClass(minnamespace+"SlideElement"),Me.addClass(minnamespace+"Scrollbar"),De.addClass(minnamespace+"ScrollbarHandle"),ie(),i(!0),Ye&&ge.on("active",function(e,t){Ye.activate(t)}),ve.deeplinking.linkID&&pe(),_e.addClass(minnamespace+"Slide"),ve.startAt=ve.startRandom?Math.floor(Math.random()*ke.length):ve.startAt,ge.activate(ve.startAt,1),Ge[0]&&Ge.on(mouseDownEvent,A),Qe[0]&&Qe.on(mouseDownEvent,A),Ke[0]&&Ke.on(clickEvent,A),Ze[0]&&Ze.on(clickEvent,A),et[0]&&et.on(clickEvent,A),tt[0]&&tt.on(clickEvent,A),nt[0]&&nt.on(clickEvent,A),Xe.on(wheelEvent,O),Me[0]&&Me.on(clickEvent,M),Oe&&ve.navigation.activateOn&&we.on(ve.navigation.activateOn+"."+namespace,"*",q),je[0]&&ve.pages.activateOn&&je.on(ve.pages.activateOn+"."+namespace,"*",N),Ve.on(dragInitEvents,{source:"slideElement"},C),De[0]&&De.on(dragInitEvents,{source:"handle"},C),$doc.on(Pt,D).on(Dt,I),ve.parallax.scroll&&!isMobile.any&&$doc.on("scroll."+$t,j),$win.on(kt,F).on(zt,pe),screenfull.enabled&&$win.on(screenfull.raw.fullscreenchange+"."+$t,R),we.on(hoverEvent,H),we.on("scroll."+namespace,resetScroll),ye.addClass(ve.navigation.horizontal?ve.classes.horizontalClass:ve.classes.verticalClass).addClass(supportTouch?ve.classes.isTouchClass:"").addClass(namespace),ve.hasThumbs&&ye.addClass(minnamespace+"Thumbnails"),ve.cycling.cycleBy&&ge[ve.cycling.startPaused?"pause":"resume"](),ge.initialized=1,U("initialize"),push.call(mightySliderInstances,ge),windowSpy.add(e),ge}}}function getSlideType(e){var t="content",n=e.cover,i=e.source,a=e.mp4||e.webm||e.ogv||e.video;return e.type?e.type:parseVideoURL(i)?"video":(n&&(t="image"),i&&(t="iframe"),a&&(t="video"),e.link&&(t="link"),t)}function getInlineOptions($element){var data=$element.data(namespace.toLowerCase());return data&&eval("({"+data+"})")||{}}function getCaptionKeyFrames($caption){var data=$caption.data(minnamespace.toLowerCase()+"animation");return data?isObject(data)?[data]:eval("(["+data+"])"):{}}function getCaptionStyles(e){for(var t,n,i={},a=0,r=captionResponsiveStyles.length;r>a;a++)t=captionResponsiveStyles[a],n=getPixel(e,t),n&&(i[t]=n);return i}function normalizeStyles(e,t,n){var i={};return _each(e,function(e,a){if(-1===indexOf.call(t,e))return!0;var r=a*n;"lineHeight"==e&&(r+="px"),i[e]=r}),i}function stopDefault(e,t){e.preventDefault(),t&&e.stopPropagation()}function disableOneEvent(e){stopDefault(e,1),$(this).off(e.type,disableOneEvent)}function resetScroll(){this.scrollLeft=0,this.scrollTop=0}function is_numeric(e){return("number"===type(e)||"string"===type(e))&&""!==e&&!isNaN(e)}function getPixel(e,t){return parseInt(e.css(t),10)||0}function within(e,t,n){return t>e?t:e>n?n:e}function percentToValue(e,t){return Math.round(t/100*e*100)/100}function showLoader(e,t){var n=$('<div class="'+minnamespace+"Icon "+minnamespace+"Loader "+t.classes.loaderClass+'"></div>'),i=$("."+minnamespace+"Loader",e);i[0]?n=i:e.prepend(n);var a=n[0].getAttribute(minnamespace+"instances"),r=a&&parseInt(a)||0;return r++,n[0].setAttribute(minnamespace+"instances",r),n}function hideLoader(e){var t=e[0].getAttribute(minnamespace+"instances"),n=t&&parseInt(t)||1;return n--,e[0].setAttribute(minnamespace+"instances",n),0>=n?e.remove():void 0}function calculateDimensions(e,t,n,i,a){return a||(a=e?t?Math.min(e/n,t/i):e/n:t/i),{width:Math.round(n*a),height:Math.round(i*a),ratio:a}}function parseVideoURL(e){for(var t,n,i=null,a=0,r=videoRegularExpressions.length;r>a;a++)if(t=videoRegularExpressions[a],t.reg.test(e)){n=e.split(t.split),i={source:t.url.replace(/\{id\}/g,n[t.index]),type:t.iframe&&"iframe"||"flash"};break}return i}function parsePhotoURL(e){for(var t,n=null,i=0,a=photoRegularExpressions.length;a>i;i++)if(t=photoRegularExpressions[i],t.reg.test(e)){n=$.extend(!0,{},t,{}),n.oembed=_.absolutizeURI(t.oembed.replace(/\{URL\}/g,e),e);break}return n}function createElement(e,t,n){var i;switch(t=t||{},n=n||{},e){case"video":i=document.createElement("video"),t=$.extend(!0,videoDefaultAttributes,t);break;case"iframe":i=document.createElement("iframe"),t=$.extend(!0,iframeDefaultAttributes,t);break;case"flash":i=document.createElement("embed"),t=$.extend(!0,embedDefaultAttributes,t);break;default:i=document.createElement(e)}return insertTag(i,t),_each(n,function(e,t){if(!e.name)return!0;var n=document.createElement(e.name);e.name=null,insertTag(n,e),i.appendChild(n)}),i}function insertTag(e,t){_each(t,function(t,n){return is_numeric(n)||n?void insertAttribute(e,t,n):!0})}function insertAttribute(e,t,n){var i=isObject(n)?function(){var e="",t=0;return _each(n,function(n,i){0!==t&&(e+="&"),e+=n+"="+rawurlencode(i),t++}),e}():n;e.setAttribute(t,i)}function preloadimages(e){function t(){a++,a===e.length&&r(i)}function n(){t()}var i=[],a=0,r=function(){};e=isArray(e)?e:[e];for(var o=0;o<e.length;o++)i[o]=new Image,i[o].onload=n,i[o].onerror=n,i[o].src=e[o];return{done:function(e){r=e||r}}}function stripUrl(e){return e=e.replace(/url\(\"/g,""),e=e.replace(/url\(/g,""),e=e.replace(/\"\)/g,""),e=e.replace(/\)/g,"")}function findAllImages(e){var t,n,i="",a=$("*:not(script, style, ."+minnamespace+"Cover, ."+minnamespace+"CoverImage, ."+minnamespace+"LayerCover, ."+minnamespace+"LayerCoverImage, ."+minnamespace+"Loader)",e),r=[],o=function(e){if(t=$(e),"img"===e.nodeName.toLowerCase()&&e.hasAttribute("src")?i=t.prop("src"):"none"!==t.css("background-image")&&(i=t.css("background-image")),-1===indexOf.call(i,"gradient")){i=stripUrl(i),n=i.split(", ");for(var a=0,o=n.length;o>a;a++)n[a].length>0&&!n[a].match(/^(data:)/i)&&-1===indexOf.call(r,n[a])&&push.call(r,n[a])}};return _each(a,o),r}function canPlayType(e){var t=document.createElement("video");return!(!t.canPlayType||!t.canPlayType(e).replace(/no/,""))}function doAjax(e,t){var n=document.documentMode||_.browser.version,i=_.browser.msie&&10>n,a={url:e},r=$.ajax({url:JSONReader,data:a,dataType:i?"jsonp":"json",cache:!i});r.success(function(e){t(200===e.status?e.data:!1)}).error(function(){t(!1)}),i&&(mightySliderCallback=function(e){t(200===e.status?e.data:!1)})}function rawurlencode(e){return e=(e+"").toString(),encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function ucfirst(e){e+="";var t=e.charAt(0).toUpperCase();return t+e.substr(1)}function getTypeByExtension(e){var t,n=_.getExtension(e);return n?(n=n.toLowerCase(),t=-1!==indexOf.call(extensions.image,n)?"image":-1!==indexOf.call(extensions.flash,n)?"flash":-1!==indexOf.call(extensions.video,n)?"video":"iframe"):!1}function getOffset(e,t){var n=e||window.event||{clientX:0,clientY:0},i=t||n.target||n.srcElement,a=parseInt(t.style.borderLeftWidth,10)||0,r=parseInt(t.style.borderLeftWidth,10)||0,o=i.getBoundingClientRect(),s=n.clientX-a-o.left,l=n.clientY-r-o.top;return{x:s,y:l}}function hmsToSeconds(e){for(var t=e.split(":"),n=0,i=1;t.length>0;)n+=i*parseFloat(t.pop(),10),i*=60;return n}function scalersHandler(e,t){if("undefined"==typeof TweenMax||t.length<1)return void(t.length>0&&console&&console.warn('Scalers needs TweenMax function. Please include the "tweenlite.js" into your page.'));var n={width:getPixel(e,"width"),height:getPixel(e,"height")};_each(t,function(e){var t=$(e),i={width:e.getAttribute("width")||getPixel(t,"width"),height:e.getAttribute("height")||getPixel(t,"height")},a=calculateDimensions(n.width,n.height,i.width,i.height);TweenMax.set(e,{scale:a.ratio})})}function version_compare(e,t,n){var i=0,a=0,r=0,o={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},s=function(e){return e=(""+e).replace(/[_\-+]/g,"."),e=e.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,"."),e.length?e.split("."):[-8]},l=function(e){return e?isNaN(e)?o[e]||-7:parseInt(e,10):0};for(e=s(e),t=s(t),a=Math.max(e.length,t.length),i=0;a>i;i++)if(e[i]!==t[i]){if(e[i]=l(e[i]),t[i]=l(t[i]),e[i]<t[i]){r=-1;break}if(e[i]>t[i]){r=1;break}}if(!n)return r;switch(n){case">":return r>0;case">=":return r>=0;case"<=":return 0>=r;case"==":return 0===r;case"!=":return 0!==r;case"<":return 0>r;default:return null}}var ArrayProto=Array.prototype,ObjProto=Object.prototype,StringProto=String.prototype,_={},isArray=Array.isArray||function(e){return"array"===type(e)},indexOfPolyfill=function(e,t){var n;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),a=i.length>>>0;if(0===a)return-1;var r=+t||0;if(Math.abs(r)===1/0&&(r=0),r>=a)return-1;for(n=Math.max(r>=0?r:a-Math.abs(r),0);a>n;){if(n in i&&i[n]===e)return n;n++}return-1},push=ArrayProto.push,indexOf=function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');return isArray(this)?(ArrayProto.indexOf||indexOfPolyfill).call(this,e,t):StringProto.indexOf.call(this,e,t)},slice=ArrayProto.slice,splice=ArrayProto.splice,filter=ArrayProto.filter,toString=ObjProto.toString,hasOwnProperty=ObjProto.hasOwnProperty;!function(){function e(e){var t,n;return!!(e&&"object"==typeof e&&"object"==typeof e.window&&e.window==e&&e.setTimeout&&e.alert&&(t=e.document)&&"object"==typeof t&&(n=t.defaultView||t.parentWindow)&&"object"==typeof n&&n==e)}function t(e,t,n){return null==t?-1:indexOf.call(t,e,n)}function n(e,t){var n=e.replace(/^.*[\/\\]/g,"");return"string"===type(t)&&n.substr(n.length-t.length)===t&&(n=n.substr(0,n.length-t.length)),n}function i(e,t){for(var n,i=["source","scheme","authority","userInfo","user","pass","host","port","relative","path","directory","file","query","fragment"],a="php",r={php:/^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},o=r[a].exec(e),s={},l=14;l--;)o[l]&&(s[i[l]]=o[l]);if(t)return s[t.replace("URL_","").toLowerCase()];if("php"!==a){var c="queryKey";r=/(?:^|&)([^&=]*)=?([^&]*)/g,s[c]={},n=s[i[12]]||"",n.replace(r,function(e,t,n){t&&(s[c][t]=n)})}return s.source=null,s}_.isWindow=e,_.inArray=t,function(){function t(e,t){for(var n in t)e[n]=t[n];return e}_.position=function(n,i){var a=e(n),r=a?n.document:n.ownerDocument||n,o=r.documentElement,s=e(i)?i:r.defaultView||window;n===r&&(n=o),i=i&&i!==r?i:o;var l=(s.pageYOffset||o.scrollTop)-o.clientTop,c=(s.pageXOffset||o.scrollLeft)-o.clientLeft,d={top:0,left:0};if(a)d.width=d.right=s.innerWidth||o.clientWidth,d.height=d.bottom=s.innerHeight||o.clientHeight;else if(n===o)d.top=-l,d.left=-c,d.width=Math.max(o.clientWidth,o.scrollWidth),d.height=Math.max(o.clientHeight,o.scrollHeight),d.right=d.width-c,d.bottom=d.height-l;else{if(!o.contains(n)||!n.getBoundingClientRect)return null;d=t({},n.getBoundingClientRect()),d.width=d.right-d.left,d.height=d.bottom-d.top}if(i===s)return d;if(d.top+=l,d.left+=c,d.right+=c,d.bottom+=l,i===o)return d;var u=position(i);return d.left-=u.left,d.right-=u.left,d.top-=u.top,d.bottom-=u.top,d}}(),function(){function e(e,t,n){for(var i=0,a=e.length;a>i;++i)t.call(n,e.charAt(i),i)}function t(e,t,n,i){for(var a=0,r=t.length;r>a;++a)n.call(i,t[a],e[t[a]])}function n(e,t,n){for(var i=0,a=e.length;a>i;++i)t.call(n,e[i],i)}_.each=function(i,a,r){switch(r=r||this,type(i)){case"array":return n(i,a,r);case"object":return"number"==type(i.length)?n(i,a,r):t(i,Object.keys(i),a,r);case"string":return e(i,a,r)}}}(),function(){function e(){this.returnValue=!1}function t(){this.cancelBubble=!0}_.bind=window.addEventListener?function(e,t,n,i){return e.addEventListener(t,n,i||!1),n}:function(n,i,a){var r=i+a;return n[r]=n[r]||function(){var i=window.event;i.target=i.srcElement,i.preventDefault=e,i.stopPropagation=t,a.call(n,i)},n.attachEvent("on"+i,n[r]),a},_.unbind=window.removeEventListener?function(e,t,n,i){return e.removeEventListener(t,n,i||!1),n}:function(e,t,n){var i=t+n;e.detachEvent("on"+t,e[i]);try{delete e[i]}catch(a){e[i]=undefined}return n}}(),function(){function e(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||indexOf.call(e,"compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}var t=e(navigator.userAgent),n={};t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),_.browser=n}(),_.baseName=n,_.parseURL=i,_.getExtension=function(e){var t=i(e),a=n(e);return t.query&&(a=a.replace("?"+t.query,"")),a.substr((~-a.lastIndexOf(".")>>>0)+2)},function(){var e=function(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():push.call(t,e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")},t=function(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null};_.absolutizeURI=function(n,i){return n=t(n||""),i=t(i||window.location.href),n&&i?(n.protocol||i.protocol)+(n.protocol||n.authority?n.authority:i.authority)+e(n.protocol||n.authority||"/"===n.pathname.charAt(0)?n.pathname:n.pathname?(i.authority&&!i.pathname?"/":"")+i.pathname.slice(0,i.pathname.lastIndexOf("/")+1)+n.pathname:i.pathname)+(n.protocol||n.authority||n.pathname?n.search:n.search||i.search)+n.hash:null}}(),function(){var e=function(e,t){return e=parseInt(e,10).toString(16),t<e.length?slice.call(e,e.length-t):t>e.length?Array(1+(t-e.length)).join("0")+e:e};_.uniqID=function(t,n){"undefined"===type(t)&&(t="");var i,a={};return a.uniqidSeed||(a.uniqidSeed=Math.floor(123456789*Math.random())),a.uniqidSeed++,i=t,i+=e(parseInt((new Date).getTime()/1e3,10),8),i+=e(a.uniqidSeed,5),n&&(i+=(10*Math.random()).toFixed(8).toString()),i}}()}();var namespace="mightySlider",minnamespace="mS",mightySliderInstances=[],videoRegularExpressions=[{reg:/youtu\.be\//i,split:"/",index:3,iframe:1,url:"https://www.youtube.com/embed/{id}?autoplay=1&fs=1&rel=0&enablejsapi=1&wmode=opaque"},{reg:/youtube\.com\/watch/i,split:"=",index:1,iframe:1,url:"https://www.youtube.com/embed/{id}?autoplay=1&fs=1&rel=0&enablejsapi=1&wmode=opaque"},{reg:/vimeo\.com\//i,split:"/",index:3,iframe:1,url:"https://player.vimeo.com/video/{id}
1?hd=1&autoplay=1&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1&api=1"},{reg:/metacafe\.com\/watch/i,split:"/",index:4,url:"http://www.metacafe.com/fplayer/{id}/.swf?playerVars=autoPlay=yes"},{reg:/dailymotion\.com\/video/i,split:"/",index:4,url:"http://www.dailymotion.com/swf/video/{id}?additionalInfos=0&autoStart=1"},{reg:/gametrailers\.com/i,split:"/",index:5,url:"http://www.gametrailers.com/remote_wrap.php?mid={id}"},{reg:/collegehumor\.com\/video\//i,split:"video/",index:1,url:"http://www.collegehumor.com/moogaloop/moogaloop.jukebox.swf?autostart=true&fullscreen=1&use_node_id=true&clip_id={id}"},{reg:/collegehumor\.com\/video:/i,split:"video:",index:1,url:"http://www.collegehumor.com/moogaloop/moogaloop.swf?autoplay=true&fullscreen=1&clip_id={id}"},{reg:/ustream\.tv/i,split:"/",index:4,url:"http://www.ustream.tv/flash/video/{id}?loc=%2F&autoplay=true&vid={id}&disabledComment=true&beginPercent=0.5331&endPercent=0.6292&locale=en_US"},{reg:/twitvid\.com/i,split:"/",index:3,url:"http://www.twitvid.com/player/{id}"},{reg:/vine\.co\/v\//i,split:"/",index:4,url:"https://vine.co/v/{id}/embed/simple"},{reg:/v\.wordpress\.com/i,split:"/",index:3,url:"http://s0.videopress.com/player.swf?guid={id}&v=1.01"},{reg:/google\.com\/videoplay/i,split:"=",index:1,url:"http://video.google.com/googleplayer.swf?autoplay=1&hl=en&docId={id}"},{reg:/vzaar\.com\/videos/i,split:"/",index:4,url:"http://view.vzaar.com/{id}.flashplayer?autoplay=true&border=none"}],JSONReader="//api.mightyslider.com/getjson.php",photoRegularExpressions=[{reg:/vimeo\.com\//i,oembed:"https://vimeo.com/api/oembed.json?url={URL}",inJSON:"thumbnail_url"},{reg:/youtube\.com\/watch/i,oembed:"https://www.youtube.com/oembed?url={URL}&format=json",inJSON:"thumbnail_url",replace:{from:"hqdefault.jpg",to:"maxresdefault.jpg"}},{reg:/dailymotion\.com\/video/i,oembed:"http://www.dailymotion.com/services/oembed?format=json&url={URL}",inJSON:"url"},{reg:/vine\.co\/v\//i,oembed:"https://vine.co/oembed.json?url={URL}",inJSON:"thumbnail_url"},{reg:/500px\.com\/photo\/([0-9]+)/i,oembed:"{URL}/oembed.json",inJSON:"thumbnail_url",replace:{from:"3.jpg",to:"5.jpg"}},{reg:/flickr\.com\/photos\/([^\/]+)\/([0-9]+)/i,oembed:"https://www.flickr.com/services/oembed?url={URL}&format=json",inJSON:"url"},{reg:/instagram\.com\/p\//i,oembed:"http://api.instagram.com/oembed?url={URL}",inJSON:"url"},{reg:/deviantart\.com\/p\//i,oembed:"http://backend.deviantart.com/oembed?url={URL}",inJSON:"url"}],videoTypes={avi:"video/msvideo",mov:"video/quicktime",mpg:"video/mpeg",mpeg:"video/mpeg",mp4:"video/mp4",webm:"video/webm",ogv:"video/ogg","3gp":"video/3gpp",m4v:"video/x-m4v"},extensions={flash:"swf",image:"bmp gif jpeg jpg png tiff tif jfif jpe",video:"avi mov mpg mpeg mp4 webm ogv 3gp m4v"},tmpArray=[],interactiveElements=["INPUT","SELECT","BUTTON","TEXTAREA"],time,videoDefaultAttributes={width:"100%",height:"100%",preload:"preload",autoplay:"autoplay",controls:"controls"},iframeDefaultAttributes={width:"100%",height:"100%",frameborder:0,webkitAllowFullScreen:!0,mozallowfullscreen:!0,allowFullScreen:!0},embedDefaultAttributes={width:"100%",height:"100%",bgcolor:"#000000",quality:"high",play:!0,loop:!0,menu:!0,wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:!0,fullscreen:"yes"},captionResponsiveStyles=["width","height","lineHeight","fontSize","fontSize","top","left","bottom","right","paddingTop","paddingLeft","paddingBottom","paddingRight"],$win=$(window),$doc=$(document),clickEvent="click."+namespace,mouseDownEvent="touchstart."+namespace+" mousedown."+namespace,wheelEvent=(document.implementation.hasFeature("Event.wheel","3.0")?"wheel.":"mousewheel.")+namespace,dragInitEvents="touchstart."+namespace+" mousedown."+namespace,dragMouseEvents="mousemove."+namespace+" mouseup."+namespace,dragTouchEvents="touchmove."+namespace+" touchend."+namespace,hoverEvent="mouseenter."+namespace+" mouseleave."+namespace,requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame||window.cancelRequestAnimationFrame,transform,gpuAcceleration,visibilityEvent,visibilityHidden,supportTouch=!!("ontouchstart"in window)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),orientation="undefined"!=typeof window.orientation?window.orientation:$win.height()>$win.width()?0:90,orientationSupport=!!window.DeviceOrientationEvent,_now=Date.now||function(){return(new Date).getTime()},_each=_.each,_bind=_.bind,_unbind=_.unbind,_position=_.position,tweenLite=window.GreenSockGlobals&&window.GreenSockGlobals.TweenLite,lastWheel=0;$doc.on(wheelEvent,function(e){var t=e.originalEvent[namespace],n=_now();(!t||t.options.scrolling.hijack<n-lastWheel)&&(lastWheel=n)});var windowSpy=new jQuery.elementSpy(window,function(e){if(mightySliderInstances.length){var t,n=this;
1_each(mightySliderInstances,function(e){e.frame===n&&(t=e)}),t&&(e?t.unFreeze():t.freeze())}});!function(e){function t(e){var t=_now(),i=Math.max(0,16-(t-n)),a=setTimeout(e,i);return n=t,a}var n=_now(),i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.clearTimeout;requestAnimationFrame=e.requestAnimationFrame||e.webkitRequestAnimationFrame||t,cancelAnimationFrame=function(t){i.call(e,t)}}(window),function(){function e(e){for(var i=0,a=t.length;a>i;i++){var r=t[i]?t[i]+e.charAt(0).toUpperCase()+e.slice(1):e;if(null!=n.style[r])return r}}var t=["","webkit","moz","ms","o"],n=document.createElement("div");transform=e("transform"),gpuAcceleration=e("perspective")?"translateZ(0) ":""}(),function(){for(var e,t,n=["","webkit","moz","ms","o"];(t=n.pop())!=undefined;)if(e=(t?t+"H":"h")+"idden","boolean"===type(document[e])){visibilityEvent=t+"visibilitychange";break}visibilityHidden=function(){return document[e]}}(),window.matchMedia||(window.matchMedia=function(){var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}());var _animate=$.fn.animate,_stop=$.fn.stop,_enabled=!0,TweenLite,CSSPlugin,_warned,_copy=function(e){var t,n={};for(t in e)n[t]=e[t];return n},_reserved={overwrite:1,delay:1,useFrames:1,runBackwards:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,autoCSS:1},_defaultLegacyProps=",scrollTop,scrollLeft,show,hide,toggle,",_legacyProps=_defaultLegacyProps,_copyCriticalReserved=function(e,t){for(var n in _reserved)_reserved[n]&&e[n]!==undefined&&(t[n]=e[n])},_createEase=function(e){return function(t){return e.getRatio(t)}},_easeMap={},_init=function(){var e,t,n,i=window.GreenSockGlobals||window;if(TweenLite=i.TweenMax||i.TweenLite,TweenLite&&(e=(TweenLite.version+".0.0").split("."),t=!(Number(e[0])>0&&Number(e[1])>7),i=i.com.greensock,CSSPlugin=i.plugins.CSSPlugin,_easeMap=i.easing.Ease.map||{}),!TweenLite||!CSSPlugin||t)return TweenLite=null,void(!_warned&&window.console&&(window.console.log("The jquery.gsap.js plugin requires the TweenMax (or at least TweenLite and CSSPlugin) JavaScript file(s)."+(t?" Version "+e.join(".")+" is too old.":"")),_warned=!0));if($.easing){for(n in _easeMap)$.easing[n]=_createEase(_easeMap[n]);_init=!1}};$.fn.msAnimate=function(e,t,n,i){if(e=e||{},_init&&(_init(),!TweenLite||!CSSPlugin))return _animate.call(this,e,t,n,i);if(!_enabled||e.skipGSAP===!0||"object"==typeof t&&"function"==typeof t.step)return _animate.call(this,e,t,n,i);var a,r,o,s,l=$.speed(t,n,i),c={ease:_easeMap[l.easing]||(l.easing===!1?_easeMap.linear:_easeMap.swing)},d=this,u="object"==typeof t?t.specialEasing:null;for(r in e){if(a=e[r],a instanceof Array&&_easeMap[a[1]]&&(u=u||{},u[r]=a[1],a=a[0]),"show"===a||"hide"===a||"toggle"===a||-1!==_legacyProps.indexOf(r)&&-1!==_legacyProps.indexOf(","+r+","))return _animate.call(this,e,t,n,i);c[-1===r.indexOf("-")?r:$.camelCase(r)]=a}if(u){c=_copy(c),s=[];for(r in u)a=s[s.length]={},_copyCriticalReserved(c,a),a.ease=_easeMap[u[r]]||c.ease,-1!==r.indexOf("-")&&(r=$.camelCase(r)),a[r]=c[r],delete c[r];0===s.length&&(s=null)}return o=function(e){var t,n=_copy(c);if(s)for(t=s.length;--t>-1;)TweenLite.to(this,$.fx.off?0:l.duration/1e3,s[t]);n.onComplete=function(){e?e():l.old&&$(this).each(l.old)},n.force3D=!0,TweenLite.to(this,$.fx.off?0:l.duration/1e3,n)},l.queue!==!1?(d.queue(l.queue,o),"function"==typeof l.old&&d.queue(l.queue,function(e){l.old.call(this),e()})):o.call(d),d},$.fn.msStop=function(e,t){if(_stop.call(this,e,t),TweenLite){if(t)for(var n,i=TweenLite.getTweensOf(this),a=i.length;--a>-1;)n=i[a].totalTime()/i[a].totalDuration(),n>0&&1>n&&i[a].seek(i[a].totalDuration());TweenLite.killTweensOf(this)}return this},function(){function e(e){return e=e||location.href,"#"+e.replace(/^[^#]*#?(.*)$/,"$1")}var t,n="hashchange",i=document,a=$.event.special,r=i.documentMode,o="on"+n in window&&(r===undefined||r>7);$.fn[n]=function(e){return e?this.bind(n,e):this.trigger(n)},$.fn[n].delay=50,a[n]=$.extend(a[n],{setup:function(){return o?!1:void $(t.start)},teardown:function(){return o?!1:void $(t.stop)}}),t=function(){function t(){var i=e(),r=d(s);i!==s?(c(s=i,r),$(window).trigger(n)):r!==s&&(location.href=location.href.replace(/#.*/,"")+r),a=setTimeout(t,$.fn[n].delay)}var a,r={},s=e(),l=function(e){return e},c=l,d=l;return r.start=function(){a||t()},r.stop=function(){a&&clearTimeout(a),a=undefined},_.browser.msie&&!o&&function(){var a,o;r.start=function(){a||(o=$.fn[n].src,o=o&&o+e(),a=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){o||c(e()),t()}).attr("src",o||"javascript:0").insertAfter("body")[0].contentWindow,i.onpropertychange=function(){try{"title"===event.propertyName&&(a.document.title=i.title)}catch(e){}})},r.stop=l,d=function(){return e(a.location.href)},c=function(e,t){var r=a.document,o=$.fn[n].domain;
1e!==t&&(r.title=i.title,r.open(),o&&r.write('<script>document.domain="'+o+'"</script>'),r.close(),a.location.hash=e)}}(),r}()}(),window.mightySlider=mightySlider,mightySlider.author="iProDev (Hemn Chawroka). (www.iprodev.com)",mightySlider.version="2.0.0",mightySlider.releaseDate="April 22, 2015",$.fn.mightySlider=function(e,t){if(version_compare($.fn.jquery,"1.7",">=")){var n,i;return isObject(e)||(("string"===type(e)||e===!1)&&(n=e===!1?"destroy":e,i=slice.call(arguments,1)),e={}),this.each(function(a,r){var o=$.data(r,namespace);o||n?o&&n&&o[n]&&o[n].apply(o,i):o=$.data(r,namespace,new mightySlider(r,e,t).init())})}throw"The jQuery version that was loaded is too old. mightySlider requires jQuery 1.7+"},mightySlider.defaults={moveBy:300,speed:300,easing:"swing",startAt:null,startRandom:!1,viewport:"fill",autoScale:!1,autoResize:!1,videoFrame:null,preloadMode:"nearby",navigation:{horizontal:!0,navigationType:"forceCentered",slideSelector:null,smart:!0,activateOn:null,activateMiddle:!0,slideSize:0,keyboardNavBy:null},deeplinking:{linkID:null,scrollTo:!1,separator:"/"},scrolling:{scrollSource:null,scrollBy:0,hijack:300},dragging:{dragSource:null,mouseDragging:!0,touchDragging:!0,releaseSwing:!0,swingSync:7.5,swingSpeed:.1,elasticBounds:!0,syncSpeed:.5,onePage:!1,interactive:null},scrollBar:{scrollBarSource:null,dragHandle:!0,dynamicHandle:!0,minHandleSize:50,clickBar:!0},pages:{pagesBar:null,activateOn:null,pageBuilder:function(e){return"<li>"+(e+1)+"</li>"}},thumbnails:{thumbnailsBar:null,thumbnailsButtons:!1,horizontal:!0,preloadThumbnails:!0,thumbnailNav:"basic",activateOn:"click",scrollBy:1,mouseDragging:!0,touchDragging:!0,thumbnailSize:0,thumbnailBuilder:function(e,t,n){return"<li"+n+'><img src="'+t+'" /></li>'}},commands:{thumbnails:!1,pages:!1,buttons:!1},buttons:{forward:null,backward:null,prev:null,next:null,prevPage:null,nextPage:null,fullScreen:null},cycling:{cycleBy:null,pauseTime:5e3,loop:!0,pauseOnHover:!1,startPaused:!1},parallax:{x:!0,y:!0,z:!1,scroll:!1,invertX:!0,invertY:!0,invertZ:!1,revert:!0,revertDuration:1500,revertEasing:"easeOutExpo",frictionDuration:1500,frictionEasing:"easeOutExpo"},classes:{isTouchClass:"isTouch",draggedClass:"dragged",activeClass:"active",disabledClass:"disabled",verticalClass:"vertical",horizontalClass:"horizontal",showedLayersClass:"showed",isInFullScreen:"isInFullScreen",isInFreeze:"isInFreeze",loaderClass:""},customize:{buttonNextContent:"",buttonPrevContent:"",buttonCloseContent:""}},jQuery.easing.easeOutExpo=function(e,t,n,i,a){return t==a?n+i:i*(-Math.pow(2,-10*t/a)+1)+n}}(jQuery,this),function(e){var t=/iPhone/i,n=/iPod/i,i=/iPad/i,a=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,r=/Android/i,o=/IEMobile/i,s=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,l=/BlackBerry/i,c=/BB10/i,d=/Opera Mini/i,u=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,p=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),m=function(e,t){return e.test(t)},h=function(e){var h=e||navigator.userAgent;return this.apple={phone:m(t,h),ipod:m(n,h),tablet:m(i,h),device:m(t,h)||m(n,h)||m(i,h)},this.android={phone:m(a,h),tablet:!m(a,h)&&m(r,h),device:m(a,h)||m(r,h)},this.windows={phone:m(o,h),tablet:m(s,h),device:m(o,h)||m(s,h)},this.other={blackberry:m(l,h),blackberry10:m(c,h),opera:m(d,h),firefox:m(u,h),device:m(l,h)||m(c,h)||m(d,h)||m(u,h)},this.seven_inch=m(p,h),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"==typeof window?this:void 0},f=function(){var e=new h;return e.Class=h,e};"undefined"!=typeof module&&module.exports&&"undefined"==typeof window?module.exports=h:"undefined"!=typeof module&&module.exports&&"undefined"!=typeof window?module.exports=f():"function"==typeof define&&define.amd?define("isMobile",[],e.isMobile=f()):e.isMobile=f()}(this),function(){"use strict";var e="undefined"!=typeof module&&module.exports,t="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,n=function(){for(var e,t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,a=n.length,r={};a>i;i++)if(e=n[i],e&&e[1]in document){for(i=0,t=e.length;t>i;i++)r[n[0][i]]=e[i];return r}return!1}(),i={request:function(e){var i=n.requestFullscreen;e=e||document.documentElement,/5\.1[\.\d]* Safari/.test(navigator.userAgent)?e[i]():e[i](t&&Element.ALLOW_KEYBOARD_INPUT)},exit:function(){document[n.exitFullscreen]()},toggle:function(e){this.isFullscreen?this.exit():this.request(e)},raw:n};return n?(Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),void(e?module.exports=i:window.screenfull=i)):void(e?module.exports=!1:window.screenfull=!1)}();
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.