1/** 2 * __ ___ ____ ______ __ __ ________ __ _____ __ ____ ____ ______ ____ 3 * / |/ // _// ____// / / //_ __/\ \/ // ___/ / / / _// __ \ / ____// __ \ 4 * / /|_/ / / / / / __ / /_/ / / / \ / \__ \ / / / / / / / // __/ / /_/ / 5 * / / / /_/ / / /_/ // __ / / / / / ___/ // /___ _/ / / /_/ // /___ / _, _/ 6 * /_/ /_//___/ \____//_/ /_/ /_/ /_/ /____//_____//___//_____//_____//_/ |_| 7 * 8 * mightySlider - Mighty Responsive Slider 9 * http://mightyslider.com 10 * 11 * @version: 2.1.3 12 * @released: June 24, 2015 13 * 14 * @author: Hemn Chawroka 15 * http://iprodev.com/ 16 * 17 */ 18(function(h,n,x){function t(h,n,t){h=(h+"").match(/^(-?[0-9]+)(%)?$/);if(!h)return!1;var q=parseInt(h[1],10);h[2]&&(q*=n/100);return 0>q?n+q+(t||0):q}function q(n,q){function t(){function h(){Z=+new Date;q.apply(H,L);x&&(x=clearTimeout(x))}var H=this,da=+new Date-Z,L=arguments;x&&(x=clearTimeout(x));da>n?h():x=setTimeout(h,n-da)}var x,Z=0;h.guid&&(t.guid=q.guid=q.guid||h.guid++);return t}h.elementSpy=function(n,na,H){function Da(r){if(r=ha(r)){var n=r.$el.offset()[r.horizontal?"left":"top"]-ia.offset[r.horizontal? 19"left":"top"],B=r.$el[r.horizontal?"outerWidth":"outerHeight"]();h.extend(r,{start:n,elSize:B,end:n+B});Z(r)}}function Z(r){if(r===x)h.each(B,Z);else if(r=ha(r)){var n=ia[r.horizontal?"width":"height"],q=t(r.size,n),n=ia[r.horizontal?"left":"top"]+t(r.offset,n,-q),H=n+q,q=r.contain?n<=r.start&&H>=r.end?"inside":n+q/2>r.start+r.elSize/2?r.horizontal?"left":"up":r.horizontal?"right":"down":n>r.start&&n<r.end||H>r.start&&H<r.end||n<=r.start&&H>=r.start||n<=r.end&&H>=r.end?"inside":n>r.end?r.horizontal? 20"left":"up":r.horizontal?"right":"down";r.state!==q&&(r.state=q,"function"===typeof na&&na.call(r.el,"inside"===q,q),"function"===typeof r.callback&&r.callback.call(r.el,"inside"===q,q))}}function Y(n){if(B.hasOwnProperty(n))return n;if(h.isPlainObject(n)&&B.hasOwnProperty(n.id))return n.id;n=h(n)[0];var q=!1;h.each(B,function(h,B){B.el===n&&(q=h)});return q}function ha(h){return(h=Y(h))?B[h]:!1}"function"!==typeof na&&(H=na,na=0);var da=this,L=h(n),T=h.extend({},h.fn.elementspy.defaults,H),B={}, 21W=0,ia={top:L.scrollTop(),left:L.scrollLeft(),width:L.innerWidth(),height:L.innerHeight(),offset:L.offset()||{top:0,left:0}};da.add=function(n,q,t){h.isPlainObject(q)&&(t=q,q=0);h(n).each(function(n,r){var H=Y(r)||"s"+W++;B[H]=h.extend({id:H,el:r,$el:h(r),callback:q},T,t);Da(H)})};da.reload=function(n){h(n).each(function(h,n){var q=Y(n);q&&Da(q)})};da.remove=function(n){h(n).each(function(h,n){var q=Y(n);q&&delete B[q]})};da.destroy=function(){L.off(".elementspy");B={};da=x};L.on("scroll.elementspy", 22q(T.delay,function(){ia.top=L.scrollTop();ia.left=L.scrollLeft();Z()}));L.on("resize.elementspy",q(T.delay,function(){ia.width=L.innerWidth();ia.height=L.innerHeight();Z()}))};h.fn.elementspy=function(q,t){var H,x,Z=t&&t.context||n,Y=h.data(Z,"elementspy")||h.data(Z,"elementspy",new h.elementSpy(Z));"string"===typeof q&&(H=!1===t||"destroy"===t?"remove":t,x=Array.prototype.slice.call(arguments,1),t={});return this.each(function(h,n){H?"function"===typeof Y[H]&&Y[H].apply(Y,x):Y.add(n,q,t)})};h.fn.elementspy.defaults= 23{delay:100,context:window,horizontal:0,offset:0,size:"100%",contain:0}})(jQuery,window); 24(function(h,n,x){function t(a){switch(Hb.call(a)){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"}if(null===a)return"null";if(a===x)return"undefined";if(a!==a)return"nan";if(a&&1===a.nodeType)return"element";a=a.valueOf?a.valueOf():Object.prototype.valueOf.apply(a);return typeof a}function q(a){return"object"===t(a)}function wa(a,e,f){var g,c,l,y,I,aa,Ga,w,Za; 25function Oa(b){var A=N.length,a=0,c=0;d.autoScale&&Ic();p.old=h.extend({},p);J=K[d.navigation.horizontal?"width":"height"]();Pa=pa[d.navigation.horizontal?"width":"height"]();M=O[d.navigation.horizontal?"outerWidth":"outerHeight"]();N.length=0;p.start=0;p.end=Math.max(M-J,0);if(P){ba=O.children(d.navigation.slideSelector);u.length=0;var l=B(O,d.navigation.horizontal?"paddingLeft":"paddingTop"),g=B(O,d.navigation.horizontal?"paddingRight":"paddingBottom"),c="border-box"===h(ba).css("boxSizing"),e= 26"none"!==ba.css("float"),f=0,y=ba.length-1,m;M=0;var n,I,aa,q,w,r,t,x,Ga,E;Q(ba,function(b,A){n=h(b);I=H(n);aa=na(I);q=I.size||d.navigation.slideSize;w=B(n,d.navigation.horizontal?"marginLeft":"marginTop");r=B(n,d.navigation.horizontal?"marginRight":"marginBottom");x=cc(b,q);t=x+w+r;Ga=!w||!r;E={};E.element=b;E.options=I;E.type=aa;E.captions=[];d.deeplinking.linkID&&(E.ID=I.ID&&fb(I.ID)||A);E.size=Ga?x:t;E.half=E.size/2;E.start=M+(Ga?w:0);E.center=E.start-Math.round(J/2-E.size/2);E.end=E.start-J+ 27E.size;Q(b.getElementsByClassName("mSCaption"),function(b,A){var a=h(b),oa=H(a),c=na(oa),l=Da(a),g=a.data("mSstyles");l.length&&(l=tb.call(l,function(b){return b&&(b.style||b.delay)}));c={element:b,type:c,options:oa,animation:l};g&&X&&d.autoScale&&a.css(Y(h.extend({},g,l[l.length-1]&&l[l.length-1].style||{}),gb,ub));!E.isParallax&&oa.parallaxLevel&&(E.isParallax=1);!E.hasCaptionMediaEnabled&&(oa.cover||oa.video||oa.source)&&(E.hasCaptionMediaEnabled=1);G.call(E.captions,c)});q&&(n[0].style[d.navigation.horizontal? 28"width":"height"]=x+"px");A||(M+=l);M+=t;d.navigation.horizontal||e||r&&w&&0<A&&(M-=Math.min(w,r));
28A===y&&(E.end+=g,M+=g,f=Ga?r:0);h.isArray(I.cover)&&(a=1);d.deeplinking.linkID&&d.deeplinking.scrollTo&&(b.id=d.deeplinking.linkID+d.deeplinking.separator+E.ID);G.call(u,E);m=E});O[0].style[d.navigation.horizontal?"width":"height"]=(c?M:M-l-g)+"px";M-=f;(c=u.length)?(p.start=u[0][Ha?"center":"start"],p.end=Ha?m.center:J<M?m.end:p.start):p.start=p.end=0}p.center=Math.round(p.end/2+p.start/2);h.extend(v, 29Xa(void 0));ea[0]&&0<Pa&&(d.scrollBar.dynamicHandle?(Ia=p.start===p.end?Pa:Math.round(Pa*J/M),Ia=W(Ia,d.scrollBar.minHandleSize,Pa),ea[0].style[d.navigation.horizontal?"width":"height"]=Ia+"px"):Ia=ea[d.navigation.horizontal?"outerWidth":"outerHeight"](),U.end=Pa-Ia,Qa||ma());if(0<J){var z=p.start,F="";if(P)for(var D=0;D<c;D++)E=u[D],Ha?G.call(N,E.center):E.start+E.size>z&&z<=p.end&&(z=E.start,G.call(N,z),z+=J,z>p.end&&z<p.end+J&&G.call(N,p.end));else for(;z-J<p.end;)G.call(N,z),z+=J;z=N.length;if(ca[0]&& 30A!==z){for(D=0;D<z;D++)F+=d.pages.pageBuilder.call(k,D);hb=ca.html(F).children();hb.eq(v.activePage).addClass(d.classes.activeClass)}}0<c&&(!k.initialized||k.initialized&&vb)&&Ca();v.slideElementSize=M;v.frameSize=J;v.scrollbarSize=Pa;v.handleSize=Ia;P?(b&&null!=d.startAt&&(Wa(d.startAt),k[Ea?"toCenter":"toStart"](d.startAt,1)),b=u[v.activeSlide],xa(Ea&&b?b.center:W(p.destination,p.start,p.end),1)):b?null!=d.startAt&&xa(d.startAt,1):xa(W(p.destination,p.start,p.end),1);if(!k.initialized||X&&a||k.initialized&& 31vb)ec(),X||Jc();d.autoResize&&fc(W(v.activeSlide,v.firstSlide,v.lastSlide),1);k.initialized&&gc();C("load");return k}function xa(b,A,a){if(P&&m.released&&!a){a=Xa(b);var k=b>p.start&&b<p.end;Ea?(k&&(b=u[a.centerSlide].center),Ha&&d.navigation.activateMiddle&&Wa(a.centerSlide)):k&&(b=u[a.firstSlide].start)}m.init&&m.slideElement&&d.dragging.elasticBounds?b>p.end?b=p.end+(b-p.end)/6:b<p.start&&(b=p.start+(b-p.start)/6):b=W(b,p.start,p.end);g=qa();c=0;l=p.current;y=b;I=b-p.current;aa=m.tweese||m.init&& 32!m.slideElement;Ga=!aa&&(A||m.init&&m.slideElement||!d.speed);m.tweese=0;b!==p.destination&&(p.destination=b,C("change"),Qa||Ib());wb();h.extend(v,Xa(void 0));eb();hb[0]&&R.page!==v.activePage&&(R.page=v.activePage,hb.removeClass(d.classes.activeClass).eq(v.activePage).addClass(d.classes.activeClass),C("activePage",R.page))}function Ib(){Qa?(Ga?p.current=y:aa?(w=y-p.current,.1>Math.abs(w)?p.current=y:p.current+=w*(m.released?d.dragging.swingSpeed:d.dragging.syncSpeed)):(c=Math.min(qa()-g,d.speed), 33p.current=l+I*Kc(c/d.speed,c,0,1,d.speed)),y===p.current?(p.current=y,m.tweese=Qa=0):Qa=$a(Ib),C("move"),ya?O[0].style[ya]=Ra+(d.navigation.horizontal?"translateX":"translateY")+"("+-p.current+"px)":O[0].style[d.navigation.horizontal?"left":"top"]=-Math.round(p.current)+"px",!Qa&&m.released&&(ec(),C("moveEnd")),ma()):(Qa=$a(Ib),m.released&&C("moveStart"))}function ma(){ea.length&&(U.current=p.start===p.end?0:((m.init&&!m.slideElement?p.destination:p.current)-p.start)/(p.end-p.start)*U.end,U.current= 34W(Math.round(U.current),U.start,U.end),R.hPos!==U.current&&(R.hPos=U.current,ya?ea[0].style[ya]=Ra+(d.navigation.horizontal?"translateX":"translateY")+"("+U.current+"px)":ea[0].style[d.navigation.horizontal?"left":"top"]=U.current+"px"))}function Ca(){for(var b="",A=0,a=u.length,c;A<a;A++)c=u[A],c=c.options.thumbnail||c.options.cover||1,G.call(Jb,c),ja[0]&&c&&(b+=d.thumbnails.thumbnailBuilder.call(k,A,c));ja[0]&&(ja.html(b).children(),d.thumbnails.thumbnailNav&&(ka?ka.destroy():(h.extend(!0,xb,{moveBy:d.moveBy, 35speed:"undefined"!==t(d.thumbnails.speed)?d.thumbnails.speed:d.speed,easing:d.easing,startAt:d.startAt,navigation:{horizontal:d.thumbnails.horizontal,navigationType:d.thumbnails.thumbnailNav,slideSize:d.thumbnails.thumbnailSize,activateOn:d.thumbnails.activateOn},scrolling:{scrollBy:d.thumbnails.scrollBy},dragging:{mouseDragging:d.thumbnails.mouseDragging,touchDragging:d.thumbnails.touchDragging,swingSpeed:d.dragging.swingSpeed,elasticBounds:d.dragging.elasticBounds}}),ka=new wa(ja.parent(),xb,{active:function(b, 36A){A!=v.activeSlide&&k.activate(A)}})),d.thumbnails.preloadThumbnails?Kb(Jb).done(function(){ka.init();ka.reload()}):(ka.init(),ka.reload())))}function Ic(){var b=D.width()/hc.width;ub=b;K.height(hc.height*b)}function Na(){S.speed&&p.current!==(0<S.speed?p.end:p.start)||k.stop();ic=m.init?$a(Na):0;S.now=qa();S.pos=p.current+(S.now-S.lastTime)/1E3*S.speed;xa(m.init?S.pos:Math.round(S.pos));m.init||p.current!==p.destination||C("moveEnd");S.lastTime=S.now}function Ua(b,A,a){"boolean"===t(A)&&(a=A,A= 37x);A===x?xa(p[b],a):Ea&&"center"!==b||(A=k.getPosition(A))&&xa(A[b],a,!Ea)}function ra(b){return"undefined"!==t(b)?T(b)?0<=b&&b<u.length?b:-1:ba.index(b):-1}function Va(b){return ra(T(b)&&0>b?b+u.length:b)}function Wa(b){var a=ra(b),oa=v.activeSlide;if(!P||0>a)return!1;if(R.active!==a){b=u[a];var c=b.captions;yb=[];Lb=null;X||(k.progressElapsed=0);!d.cycling.loop&&a>=u.length-1&&k.pause();ba.eq(v.activeSlide).removeClass(d.classes.activeClass);ba.eq(a).addClass(d.classes.activeClass);u[oa]&&u[oa].isParallax&& 38(D.off("."+fa),sa.off(jc));b.options.scrollParallax&&(yb=d.parallax.scroll&&c||tb.call(c,function(b){return b.options.parallaxAxises&&b.options.parallaxAxises.scroll}),Lb=b.element,kc());if(b.isParallax)if(Za=tb.call(c,function(b,a,A){return!!b.options.parallaxLevel}),!ab)D.on(lc,function(b){var a=D[0],A=mc(b.originalEvent,a);b=a.getBoundingClientRect();var oa=b.width/2,c=b.height/2;D.off(nc).on(oc,function(b){A=mc(b.originalEvent,a);F.X=A.x-oa;F.Y=A.y-c;pc()}).one(nc,function(){D.off(oc);if(d.parallax.revert){F.X= 390;F.Y=0;var b=d.parallax.revertDuration;qc.to(F,b&&b/1E3||0,{X:F.X,Y:F.Y,useFrames:!1,ease:d.parallax.revertEasing,onUpdate:rc})}})}).trigger(lc);else{if(Lc)sa.on(jc,function(b){b=b.originalEvent;if("undefined"!==t(b)&&null!==b.beta&&null!==b.gamma){switch(sc){case 0:F.X=b.gamma;F.Y=b.beta;break;case 180:F.X=-b.gamma;F.Y=-b.beta;break;case -90:F.X=-b.beta;F.Y=b.gamma;break;case 90:F.X=b.beta,F.Y=-b.gamma}F.X*=8;F.Y*=8;pc()}})}else Za=void 0;X||tc(R.active);R.active=v.activeSlide=a;eb();!X&&Sa&&Mb(); 40ib&&clearTimeout(ib);if(c.length&&!X)k.one("slideLoaded",function(b,c){c===a&&(ib=setTimeout(function(){clearTimeout(ib);uc(a)},0>oa?0:d.speed+20))});else zb=-1;d.deeplinking.linkID&&!X&&!bb&&k.initialized&&Mc(a);X||Nc(a);d.autoResize&&fc(a);Nb=ba.get(a).getElementsByClassName("mSScaler");vc(K,Nb);C("active",a)}return a}function Xa(b){b=W(T(b)?b:p.destination,p.start,p.end);for(var a={},d=Ha?0:J/2,c=0,l=N.length;c<l;c++){if(b>=p.end||c===N.length-1){a.activePage=N.length-1;break}if(b<=N[c]+d){a.activePage= 41c;break}}if(P){for(var l=c=d=!1,g=0,k=u.length;g<k;g++)if(!1===d&&b<=u[g].start+u[g].half&&(d=g),!1===l&&b<=u[g].center+u[g].half&&(l=g),g===k-1||b<=u[g].end+u[g].half){c=g;break}a.firstSlide=T(d)?d:0;a.centerSlide=T(l)?l:a.firstSlide;a.lastSlide=T(c)?c:a.centerSlide}return a}function eb(){var b=p.destination<=p.start,a=p.destination>=p.end,c=b?1:a?2:3;R.slideElementPosState!==c&&(R.slideElementPosState=c,za.prop("disabled",b).add(Aa)[b?"addClass":"removeClass"](d.classes.disabledClass),Ba.prop("disabled", 42a).add(ta)[a?"addClass":"removeClass"](d.classes.disabledClass));R.fwdbwdState!==c&&m.released&&(R.fwdbwdState=c,Aa.prop("disabled",b),ta.prop("disabled",a));P&&(b=0===v.activeSlide,a=v.activeSlide>=u.length-1,c=b?1:a?2:3,R.slidesButtonState!==c&&(R.slidesButtonState=c,Ja[b?"addClass":"removeClass"](d.classes.disabledClass).prop("disabled",b),Ka[a?"addClass":"removeClass"](d.classes.disabledClass).prop("disabled",a)))}function S(b,a,d){b=Va(b);a=Va(a);if(-1<b&&-1<a&&b!==a&&(!d||a!==b-1)&&(d||a!== 43b+1)){ba.eq(b)[d?"insertAfter":"insertBefore"](u[a].element);var c=b<a?b:d?a:a-1,l=b>a?b:d?a+1:a,g=b>a;b===v.activeSlide?R.active=v.activeSlide=d?g?a+1:a:g?a:a-1:v.activeSlide>c&&v.activeSlide<l&&(R.active=v.activeSlide+=g?1:-1);Oa()}}function lb(b,a){for(var d=0,c=ua[b].length;d<c;d++)if(ua[b][d]===a)return d;return-1}function wb(){m.released&&!k.isPaused&&k.resume()}function mb(b){return Math.round(W(b,U.start,U.end)/U.end*(p.end-p.start))+p.start}function Fb(){m.history[0]=m.history[1];m.history[1]= 44m.history[2];m.history[2]=m.history[3];m.history[3]=m.delta}function nb(b){m.released=0;m.source=b;m.slideElement="slideElement"===b}function ob(b){var a="touchstart"===b.type;if(!(m.init||Sa||!a&&rb(b.target))){var c=b.data.source,g="slideElement"===c;if("handle"!==c||d.scrollBar.dragHandle&&U.start!==U.end)if(!g||(
44a?d.dragging.touchDragging:d.dragging.mouseDragging&&2>b.which))nb(c),m.init=0,m.$source=h(b.target),m.touch=a,m.pointer=a?b.originalEvent.touches[0]:b,m.initX=m.pointer.pageX,m.initY= 45m.pointer.pageY,m.initPos=g?p.current:U.current,m.initPage=v.activePage,m.start=qa(),m.time=0,m.path=0,m.delta=0,m.locked=0,m.history=[0,0,0,0],m.pathToLock=g?a?sa.width()/n.outerWidth*10:10:0,La.on(a?"touchmove.mightySlider touchend.mightySlider":"mousemove.mightySlider mouseup.mightySlider",pb),k.pause(1),(g?O:ea).addClass(d.classes.draggedClass),C("moveStart"),g&&(wc=setInterval(Fb,10))}}function pb(b){m.released="mouseup"===b.type||"touchend"===b.type;m.pointer=m.touch?b.originalEvent[m.released? 46"changedTouches":"touches"][0]:b;m.pathX=m.pointer.pageX-m.initX;m.pathY=m.pointer.pageY-m.initY;m.path=Math.sqrt(Math.pow(m.pathX,2)+Math.pow(m.pathY,2));m.delta=d.navigation.horizontal?m.pathX:m.pathY;if(m.released||!(1>m.path)){if(!m.init)if(d.navigation.horizontal?Math.abs(m.pathX)>Math.abs(m.pathY):Math.abs(m.pathX)<Math.abs(m.pathY))m.init=1;else return qb();ha(b);!m.locked&&m.path>m.pathToLock&&m.slideElement&&(m.locked=1,m.$source.on("click.mightySlider",da));m.released&&(qb(),d.dragging.releaseSwing&& 47m.slideElement&&(m.swing=(m.delta-m.history[0])*d.dragging.swingSync,m.delta+=m.swing,m.tweese=10<Math.abs(m.swing)));xa(m.slideElement?m.tweese&&d.dragging.onePage?N[W(0>m.delta?m.initPage+1:m.initPage-1,0,N.length-1)]:Math.round(m.initPos-m.delta):mb(m.initPos+m.delta))}}function qb(){clearInterval(wc);m.released=!0;La.off(m.touch?"touchmove.mightySlider touchend.mightySlider":"mousemove.mightySlider mouseup.mightySlider",pb);(m.slideElement?O:ea).removeClass(d.classes.draggedClass);setTimeout(function(){m.$source.off("click.mightySlider", 48da)});p.current===p.destination&&m.init&&C("moveEnd");k.resume(1);m.init=0}function rb(b){return~z.inArray(b.nodeName,Oc)||h(b).is(d.dragging.interactive)}function xc(){k.stop();La.off("mouseup.mightySlider",xc)}function Ta(b){ha(b);switch(this){case ta[0]:case Aa[0]:k.moveBy(ta.is(this)?d.moveBy:-d.moveBy);La.on("mouseup.mightySlider",xc);break;case Ja[0]:k.prev();break;case Ka[0]:k.next();break;case za[0]:k.prevPage();break;case Ba[0]:k.nextPage();break;case cb[0]:k.toggleFullScreen()}}function Hb(b){V.curDelta= 49(d.navigation.horizontal?b.deltaY||b.deltaX:b.deltaY)||-b.wheelDelta;V.curDelta/=1===b.deltaMode?3:100;if(!P)return V.curDelta;Ob=qa();V.last<Ob-V.resetTime&&(V.delta=0);V.last=Ob;V.delta+=V.curDelta;1>Math.abs(V.delta)?V.finalDelta=0:(V.finalDelta=Math.round(V.delta/1),V.delta%=1);return V.finalDelta}function Ub(b){b.originalEvent.mightySlider=k;var a=qa();Ab+d.scrolling.hijack>a?Ab=a:d.scrolling.scrollBy&&p.start!==p.end&&(ha(b,1),k.slideBy(d.scrolling.scrollBy*Hb(b.originalEvent)))}function Vb(b){d.scrollBar.clickBar&& 50b.target===pa[0]&&(ha(b),xa(mb((d.navigation.horizontal?b.pageX-pa.offset().left:b.pageY-pa.offset().top)-Ia/2)))}function Wb(b){if(d.navigation.keyboardNavBy)switch(b.which){case d.navigation.horizontal?37:38:ha(b);k["pages"===d.navigation.keyboardNavBy?"prevPage":"prev"]();break;case d.navigation.horizontal?39:40:ha(b),k["pages"===d.navigation.keyboardNavBy?"nextPage":"next"]()}}function Pb(b){b=h(this);if(b.hasClass("mSClose"))Mb();else{var a=b.parent()[0];b=ra(a);Sa&&Mb();a=h(a);if(-1!==b)var d= 51u[b];else{var c=a.parent(),d=H(c),d={type:na(d),options:d};c.addClass("mSMedia")}a.children().hide();c=Pc({type:d.type,options:d.options});d=h('<a class="mSIcon mSClose"></a>');a.prepend(c).prepend(d);d.on("click.mightySlider",Pb);-1!==b&&(D.addClass("mSMedia"),tc(v.activeSlide));k.pause(3);Sa=c}return!1}function Xb(){X&&(X=clearTimeout(X));C("beforeResize");X=setTimeout(function(){k.reload();vc(K,Nb);ka&&ka.reload();sc="undefined"!==t(n.orientation)?n.orientation:sa.height()>sa.width()?0:90;C("resize"); 52X=clearTimeout(X)},100)}function Yb(){yc()?k.freeze():k.unFreeze()}function kc(){if(yb.length){var b=Qc(k.frame,n).top,d={force3D:!0},c=.8*a.clientHeight;0<b&&(b=0);-b>=a.clientHeight||(Q(yb,function(a){d.y=.1*-b;d.opacity=1-Math.min(1,-b/c);TweenMax.set(a.element,d)}),TweenMax.set(Lb,{force3D:!0,y:.4*-b}))}}function Zb(){screenfull.isFullscreen||k.exitFullScreen()}function $b(b){rb(this)?b.stopPropagation():this.parentNode===O[0]&&k.activate(this)}function ac(){this.parentNode===ca[0]&&k.activatePage(hb.index(this))}
53function bc(b){if(d.cycling.pauseOnHover)k["mouseenter"===b.type?"pause":"resume"](2)}function C(b,a){if(ua[b]){Qb=ua[b].length;for(Ma=Rb.length=0;Ma<Qb;Ma++)G.call(Rb,ua[b][Ma]);for(Ma=0;Ma<Qb;Ma++)Rb[Ma].call(k,b,a)}}function cc(b,a){var c;a?T(a)||-1===Fa.call(a,"%")?c=a:(c=a.replace("%",""),c=parseInt(J/100*c)):(c=b.getBoundingClientRect(),c=d.navigation.horizontal?c.width||c.right-c.left:c.height||c.bottom-c.top);return parseInt(c)}function Nc(b){var a=ra(b);b=u[a];var d=b.element,c=d.hasAttribute("mSslideloaded"); 54C("beforeSlideLoad",a);if(c)return C("slideLoaded",a),!1;var g=h(d),l=function(){var b=Rc(d);if(0>=b.length)return d.setAttribute("mSslideloaded","1"),C("slideLoaded",a),!1;var c=ia(g);Kb(b).done(function(){r(c);d.setAttribute("mSslideloaded","1");C("slideLoaded",a)})};if(b.hasCaptionMediaEnabled){b=tb.call(b.captions,function(b,a,c){return b.options.cover||b.options.video||b.options.source});for(var k=b.length,c=0,e=b.length,f,y,m,n,p,I,aa;c<e;c++){f=b[c];y=f.element;m=h('<div class="mSLayerContainer"></div>'); 55n=f.options.cover;p=f.type;I=n||sb(f.options.video)&&f.options.video;n=q(I)||"video"==Sb(I);aa=sb(I);m.prependTo(y);if(aa){var w=ia(g);zc(aa.oembed,function(b){r(w);b&&(I=b[aa.inJSON],aa.replace&&(I=I.replace(aa.replace.from,aa.replace.to)),Bb({caption:f,cover:I,slideEl:g,insertEl:m,callback:function(){k--;k<=e&&l()}}))})}else Bb({caption:f,cover:I,isVideo:n,slideEl:g,insertEl:m,callback:function(){k--;k<=e&&l()}});if("image"!==p&&(y=Ac(m,p),"link"!==p))y.on("click.mightySlider",Pb)}}else l()}function Sc(b, 56a){for(var c=[],d=0,g=u.length,l,k,e;d<g;d++)l=u[d],k=l.start,e=k+l.size,(k>=b&&e<=a||e>=b&&k<=b||k<=a&&e>=a)&&G.call(c,l);return c}function Bb(b){h("> .mSCover, > .mSLayerCover",b.insertEl).remove();if(!b.cover)return!1;q(b.cover)&&b.cover.poster&&ab&&(b.isVideo=0,b.cover=b.cover.poster);if(b.isVideo&&!ab){var a=ia(b.slideEl);b.slide&&C("beforeCoverLoad",b.index);var c=[];if(q(b.cover))b.cover.poster&&(b.cover.poster=null),Q(b.cover,function(b,a){G.call(c,{name:"source",type:la[b],src:a})});else var g= 57b.cover,l=z.getExtension(g),l=q(l)?null:l.toLowerCase(),c=[{name:"source",type:la[l],src:g}];var k=h(Ya("video",{autoplay:"autoplay",muted:"muted",loop:"loop",controls:!1},c)).addClass("mSCoverImage").hide(),g=h('<div class="mSCover"></div>').append(k);b.insertEl.prepend(g);C("coverInserted",g[0]);k.one("loadedmetadata",function(){var c=k[0];k.show().data({naturalWidth:c.videoWidth,naturalHeight:c.videoHeight});gc(b.slide);r(a);C("coverLoaded",b.index)})}else{var a=ia(b.slideEl),e;switch((b[b.slide? 58"slide":"caption"].options.viewport||d.viewport).toLowerCase()){default:case "fill":e="cover";break;case "fit":e="contain";break;case "stretch":e="100% 100%";break;case "center":e="auto"}b.slide&&C("beforeCoverLoad",b.index);Kb(b.cover).done(function(c){b.slide&&C("coverLoaded",b.index);var d=h('<div class="mS'+(b.slide?"Cover":"LayerCover")+'" style="background-image: url(\''+b.cover+"'); background-size: "+e+';"></div>'),g=h("img",d);r(a);g.data({naturalWidth:c[0].width,naturalHeight:c[0].height}); 59b.insertEl.prepend(d);b.callback&&b.callback.call(this,g);b.slide&&C("coverInserted",d[0])})}}function ec(){var b,a;switch(d.preloadMode){case "all":b=0;a=M;break;case "nearby":b=W(p.current-J,p.start,p.end);a=W(p.current+2*J-5,p.start,p.end+2*J);break;case "instant":b=W(p.current+5,p.start,p.end),a=W(p.current+J-5,p.start,p.end+J)}b=Sc(b,a);Q(b,function(b,a){if("content"===b.type)return!0;var c=b.element,d=h(c),g=c.hasAttribute("mSprocessed"),l=c.getAttribute("mSlastcover");if(g&&!X)return!0;g=b.options.cover; 60if(h.isArray(g)){a=0;for(var k=g.length,e;a<k;a++)if(e=g[a],e[1]&&n.matchMedia(e[1]).matches){g=e[0];break}h.isArray(g)&&(g=g[0][0])}var f=g||sb(b.options.video)&&b.options.video,g=q(f)||"video"==Sb(f),A=sb(f),k=q(f)?fb(JSON.stringify(f)):f;if(l===k)return!0;if(A){var m=ia(d);zc(A.oembed,function(a){r(m);a&&(f=a[A.inJSON],A.replace&&(f=f.replace(A.replace.from,A.replace.to)),Bb({cover:f,slide:b,slideEl:d,insertEl:d,index:ra(c)}))})}else Bb({cover:f,isVideo:g,slide:b,slideEl:d,insertEl:d,index:ra(c)}); 61c.setAttribute("mSprocessed","1");c.setAttribute("mSlastcover",k)})}
61function Jc(){for(var b=0,a=u.length,c,d;b<a;b++)if(c=u[b],"content"!==c.type&&(d=h(c.element),c=c.options.icon||c.type,!h(".mS"+Cb(c),d)[0]&&"content"!==c&&"image"!==c&&(d=Ac(d,c),"link"!==c)))d.on("click.mightySlider",Pb)}function Ac(b,a){var c="mS"+Cb(a);if(!h("."+c,b).length){c=h('<a class="mSIcon '+c+'" ondragstart="return false;"></a>');if("link"===a){var d=ra(b),d=u[d],g=d.options.link.url&&z.absolutizeURI(d.options.link.url)|| 62n.location.href,d=h.extend(!0,{href:g,target:d.options.link.target||null},d.options.link);d.url&&(d.url=null);c[h.fn.attr?"attr":"prop"](d)}b.append(c);return c}}function Mb(){var b=Sa.parent();Sa.remove();Sa=null;h(".mSClose",b).off("click.mightySlider").remove();b.hasClass("mSLayerContainer")?b.parent().removeClass("mSMedia"):D.removeClass("mSMedia");b.children().show();if(d.cycling.loop||!d.cycling.loop&&index!==u.length-1)k.isPaused=0,wb();ib||uc(v.activeSlide)}function Pc(b){var a=b.type;b=b.options; 63var c=b.mp4||b.video||b.source,g;C("beforeGenerateMedia");switch(a){case "video":var l=z.getExtension(c),k=b.videoFrame,a=b.mp4;g=b.webm;var e=b.ogv,f=a||g||e||0,m=dc(c),l=l?l.toLowerCase():null;if(/^(avi|mov|mpg|mpeg|mp4|webm|ogv|3gp|m4v)$/i.test(l)||k||a||g||e)if(k||f&&d.videoFrame)c=k||d.videoFrame,l=[],a&&G.call(l,{type:la.mp4,src:z.absolutizeURI(a)}),g&&G.call(l,{type:la.webm,src:z.absolutizeURI(g)}),e&&G.call(l,{type:la.ogv,src:z.absolutizeURI(e)}),0<l.length&&(c+=(z.parseURL(c,"QUERY")?"&": 64"?")+"msvideos="+fb(JSON.stringify(l)),b.cover&&(c+="&mscover="+fb(z.absolutizeURI(b.cover)))),g=h(Ya("iframe",{src:c,scrolling:"no"}));else if(Db(la[l])||a&&Db(la.mp4)||g&&Db(la.webm)||e&&Db(la.ogv)){var y=[{name:"source",type:a&&la.mp4||la[l],src:c}];g&&G.call(y,{name:"source",type:la.webm,src:g});e&&G.call(y,{name:"source",type:la.ogv,src:e});b.HTML5Video&&Q(b.HTML5Video,function(b,a){G.call(y,h.extend({},{name:b},a))});g=h(Ya("video",{},y))}else throw"Video not supported!";else if(m)g=h(Ya(m.type, 65{src:m.source,scrolling:"no"}));else throw"Video not supported!";break;case "iframe":g=h(Ya("iframe",{src:c}));break;case "flash":g=h(Ya("embed",{src:c,flashvars:b.flashvars||null}))}C("mediaGenerated",g[0]);return g}function gc(b){for(var a=b?[b]:u,c=0,g=a.length,l,k,e,f,m,y;c<g;c++)b=a[c],b.options.cover&&"content"!==b.type&&(q(b.options.cover)||"string"==t(b.options.cover)&&"video"==Sb(b.options.cover))&&(l=h(b.element),k=l.find(".mSCoverImage"),k[0]&&(e=(b.options.viewport||d.viewport).toLowerCase(), 66f=k.data(),b=l.width(),m=l.height(),l=b,y=m,"fit"===e?(y=Gb(l,y,f.naturalWidth,f.naturalHeight),l=y.width,y=y.height):"fill"===e?(y=l/f.naturalWidth*f.naturalHeight,y<m&&(l=m/f.naturalHeight*f.naturalWidth,y=m)):"center"===e&&(Gb(l,y,f.naturalWidth,f.naturalHeight,1),l=f.naturalWidth,y=f.naturalHeight),e=(m>y?m-y:-(y-m))/2,b=(b>l?b-l:-(l-b))/2,k.css({width:l,height:y,marginTop:e,marginLeft:b})))}function fc(b,a){var c=ra(b),c=h(u[c].element)[d.navigation.horizontal?"outerHeight":"outerWidth"](),g= 67{};g[d.navigation.horizontal?"height":"width"]=c;K.msStop().msAnimate(g,d.speed,d.easing)}function uc(b){if("undefined"===typeof TimelineMax)console&&console.warn('Animated layers needs TimelineMax function. Please include the "tweenlite.js" into your page.');else{var a=ra(b);b=u[a];b=b.captions;if(a!==zb){if(ga[a])for(var c=0,g=ga[a].length;c<g;c++)b=ga[a][c],!k.isFreezed&&b&&b.play(0);else ga[a]=[],Q(b,function(b,c){var g=h(b.element),l=g.data("mSstyles"),e=b.options,f={position:"absolute"};l|| 68(l=Z(g),g.data("mSstyles",l));d.autoScale&&(f=h.extend({},f,Y(l,gb,ub)));g.show().css(f);if(b.animation.length){var y,m;ga[a][c]?y=ga[a]:(y=new TimelineMax({paused:!0,onComplete:function(){e.loop&&this.seek(Tc(b))}}),Q(b.animation,function(a){var c=a.speed?a.speed/1E3:0,d=a.delay?a.delay/1E3:0,g=n.GreenSockGlobals.com.greensock.easing.Ease.map[a.easing||"swing"],l=a.mode||"to",k=a.position,e=a.style||{},f=e.scrambleText;a=a.staggerText&&h.extend({type:"chars",delay:.01},a.staggerText)||null;d=f?{delay:d, 69ease:g}:{delay:d,ease:g,force3D:!0};h.extend(d,e,Y(e,gb,ub));if(a)if(m||(m=new SplitText(b.element,{type:"chars, words, lines",charsClass:"mSChars",wordsClass:"mSWords",linesClass:"mSLines"}
69)),k)y["stagger"+Cb(l)](m[a.type],c,d,a.delay,k);else y["stagger"+Cb(l)](m[a.type],c,d,a.delay);else y[l](b.element,c,d)}),ga[a][c]=y);k.isFreezed||y.play()}});zb=a}}}function tc(b){var a=ra(b);if(a===zb&&u[a]&&u[a].captions.length)k.one("moveEnd",function(){v.activeSlide!==a&&Q(ga[a],function(b){b&&b.pause(0, 70!0)})})}function Tc(b){var a=b.options,c=a.startAtOnRepeat||0;if(T(c))for(var d,g,l=0,k=0,e=b.animation.length;k<e;k++){d=b.animation[k];g=d.speed?d.speed/1E3:0;d=d.delay?d.delay/1E3:0;if(k===c)return a.dontDelayOnRepeat&&(l+=d),l;l+=g+d}else{b=c.split(":");a=0;for(c=1;0<b.length;)a+=c*parseFloat(b.pop(),10),c*=60;return a}}function rc(){if(Za)for(var b=d.parallax,a=Za.length,c=F.X,g=F.Y,l,k,e,f,h=0;h<a;h++)k=Ra,l=Za[h],e=l.options.parallaxLevel,f=l.options.parallaxAxises||b,f.x&&(k+="translateX("+ 71(b.invertX?-c:c)/100*e+"px) "),f.y&&(k+="translateY("+(b.invertY?-g:g)/100*e+"px) "),f.z&&Ra&&(k+="rotateX("+-((b.invertZ?-g:g)/100*e)/1.5+"deg) rotateY("+(b.invertZ?-c:c)/100*e/3+"deg)"),l.element.style[ya]=k;else this.kill()}function pc(){var b=d.parallax,a={X:F.X,Y:F.Y,useFrames:!1,ease:b.frictionEasing,onUpdate:rc};F.X=0;F.Y=0;qc.to(F,b.frictionDuration&&b.frictionDuration/1E3||0,a)}function Mc(b){b=u[b];bb=1;n.location.hash=d.deeplinking.linkID+d.deeplinking.separator+b.ID;bb=0}function Bc(b){var a= 72n.location.hash.replace("#",""),c=a.split(d.deeplinking.separator);if(!bb&&d.deeplinking.linkID){b&&(bb=1);if(c[0]===d.deeplinking.linkID){for(var g=a=0,l=u.length;g<l;g++)c[1]==u[g].ID&&(a=g);c=a;k.initialized?k.activate(c):(d.startRandom=0,d.startAt=c)}else b&&0===a.length&&k.activate(d.startAt);b&&(bb=0)}}var k=this,d=h.extend(!0,{},wa.defaults,e),K=h(a),D=h(a).parent(),O=K.children().eq(0),Tb=H(K),hc=d.autoScale&&(Tb.height&&{width:Tb.width,height:Tb.height}||{width:D.width(),height:D.height()})|| 73null,J=0,ub=1,M=0,p={current:0,start:0,center:0,end:0,destination:0},ba=0,u=[],v={activeSlide:-1,firstSlide:0,centerSlide:0,lastSlide:0,activePage:0},Ha="forceCentered"===d.navigation.navigationType,Ea="centered"===d.navigation.navigationType||Ha,P="basic"===d.navigation.navigationType||Ea||Ha,pa=h(d.scrollBar.scrollBarSource).eq(0),ea=pa.children().eq(0),Pa=0,Ia=0,U={start:0,end:0,current:0},ca=d.pages.pagesBar&&h(d.pages.pagesBar)||{},hb=0,N=[],ja=d.thumbnails.thumbnailsBar&&h(d.thumbnails.thumbnailsBar)|| 74{},Jb=[],ka=null,xb={},Cc=d.scrolling.scrollSource&&h(d.scrolling.scrollSource)||K,Uc=d.dragging.dragSource&&h(d.dragging.dragSource)||K,m={released:1},ta=h(d.buttons.forward),Aa=h(d.buttons.backward),Ja=h(d.buttons.prev),Ka=h(d.buttons.next),za=h(d.buttons.prevPage),Ba=h(d.buttons.nextPage),cb=h(d.buttons.fullScreen);Za=void 0;var F={},ib=0,ga=[],zb=-1,yb=[],Lb=null,Nb=[],vb=0,bb=0,ua={},R={};w=Ga=aa=I=y=l=c=g=void 0;var S={},V={last:0,delta:0,resetTime:200},Qa=0,wc=0,va=0,Eb=0,ic=0,X=0,db=0,Sa= 75null,fa=z.uniqID("mightySlider"),Kc=h.easing[d.easing]||h.easing.swing,Ma,Qb,Vc="resize."+fa+" orientationchange."+fa,Wc="hashchange."+fa,Xc="keydown."+fa,lc="mouseenter."+fa,nc="mouseleave."+fa,oc="mousemove."+fa,jc="deviceorientation."+fa,Yc=Dc+"."+fa;k.initialized=0;k.options=d;k.frame=K[0];k.slideElement=O[0];k.slides=u;k.position=p;k.relative=v;k.pages=N;k.thumbnails=Jb;k.handlePosition=U;k.isFullScreen=0;k.isPaused=0;k.isFreezed=0;k.progressElapsed=0;k.uniqId=fa;k.reload=Oa;k.getPosition=function(b){if(P)return b= 76ra(b),-1!==b?u[b]:!1;var a=O.find(b).eq(0);return a[0]?(b=d.navigation.horizontal?a.offset().left-O.offset().left:a.offset().top-O.offset().top,a=a[d.navigation.horizontal?"outerWidth":"outerHeight"](),{start:b,center:b-J/2+a/2,end:b-J+a,size:a}):!1};k.moveBy=function(b){S.speed=b;!m.init&&S.speed&&p.current!==(0<S.speed?p.end:p.start)&&(S.lastTime=qa(),S.startPos=p.current,nb("button"),m.init=1,C("moveStart"),jb(ic),Na())};k.stop=function(){"button"===m.source&&(m.init=0,m.released=1);return k}; 77k.prev=function(b){k.activate(v.activeSlide-1,b);return k};k.next=function(b){k.activate(v.activeSlide+1,b);return k};k.prevPage=function(b){k.activatePage(v.activePage-1,b);return k};k.nextPage=function(b){k.activatePage(v.activePage+1,b);return k};k.slideBy=function(b,a){if(b)if(P)k[Ea?"toCenter":"toStart"](W((Ea?v.centerSlide:v.firstSlide)+d.scrolling.scrollBy*b,0,u.length));else xa(p.destination+b,a)};k.slideTo=function(b,a){xa(b,a);return k};
77k.toStart=function(b,a){Ua("start",b,a);return k}; 78k.toEnd=function(b,a){Ua("end",b,a);return k};k.toCenter=function(b,a){Ua("center",b,a);return k};k.getIndex=ra;k.activate=function(b,a){var c=Wa(b);d.navigation.smart&&!1!==c&&(Ea?k.toCenter(c,a):c>=v.lastSlide?k.toStart(c,a):c<=v.firstSlide?k.toEnd(c,a):wb());return k};k.activatePage=function(b,a){T(b)&&(X||(k.progressElapsed=0),!d.cycling.loop&&b>=N.length-1&&k.pause(),xa(N[W(b,0,N.length-1)],a));return k};k.resume=function(b){if(!d.cycling.cycleBy||!d.cycling.pauseTime||"slides"===d.cycling.cycleBy&& 79!u[0]||b<k.isPaused)return k;k.isPaused=0;va?va=jb(va):C("resume");var a=u[v.activeSlide]&&u[v.activeSlide].options.pauseTime||d.cycling.pauseTime,c,g=function(){c=qa();k.progressElapsed+=c-(Eb||qa());Eb=c;C("progress",k.progressElapsed/a);if(k.progressElapsed>=a){switch(d.cycling.cycleBy){case "slides":k.activate(v.activeSlide>=u.length-1?0:v.activeSlide+1);break;case "pages":k.activatePage(v.activePage>=N.length-1?0:v.activePage+1)}g=null}else va=$a(g)};va=$a(g);return k};k.pause=function(b){if(b< 80k.isPaused)return k;k.isPaused=b||100;va&&(va=jb(va),Eb=0,C("pause"));return k};k.toggleCycling=function(){k[va?"pause":"resume"]();return k};k.enterFullScreen=function(){k.isFullScreen||(D.addClass(d.classes.isInFullScreen),screenfull.enabled?screenfull.request(D[0]):sa.triggerHandler("resize"),k.isFullScreen=1,C("enterFullScreen"));return k};k.exitFullScreen=function(){k.isFullScreen&&(D.removeClass(d.classes.isInFullScreen),screenfull.enabled?screenfull.exit(D[0]):sa.triggerHandler("resize"),k.isFullScreen= 810,C("exitFullScreen"));return k};k.toggleFullScreen=function(){k[k.isFullScreen?"exitFullScreen":"enterFullScreen"]();return k};k.set=function(b,a){q(b)?h.extend(!0,d,b):Ec.call(d,b)&&(d[b]=a);ka&&(h.extend(!0,xb,{moveBy:d.moveBy,speed:"undefined"!==t(d.thumbnails.speed)?d.thumbnails.speed:d.speed,easing:d.easing,startAt:d.startAt,navigation:{horizontal:d.thumbnails.horizontal,navigationType:d.thumbnails.thumbnailNav,slideSize:d.thumbnails.thumbnailSize,activateOn:d.thumbnails.activateOn},scrolling:{scrollBy:d.thumbnails.scrollBy}, 82dragging:{mouseDragging:d.thumbnails.mouseDragging,touchDragging:d.thumbnails.touchDragging,swingSpeed:d.dragging.swingSpeed,elasticBounds:d.dragging.elasticBounds}}),ka.set(xb));Oa();return k};k.add=function(b,a){var c=h(b);P?("undefined"===t(a)||!u[0]||a>=u.length?c.appendTo(O):u.length&&c.insertBefore(u[a].element),c.addClass("mSSlide"),a<=v.activeSlide&&(R.active=v.activeSlide+=c.length)):O.append(c);vb=1;Oa();vb=0;return k};k.remove=function(b){if(P){if(b=Va(b),-1<b){ba.eq(b).remove();var a= 83b===v.activeSlide&&!(Ha&&d.navigation.activateMiddle);if(b<v.activeSlide||v.activeSlide>=u.length-1)R.active=--v.activeSlide;Oa();a&&k.activate(v.activeSlide)}}else h(b).remove(),Oa();return k};k.moveAfter=function(b,a){S(b,a,1);return k};k.moveBefore=function(b,a){S(b,a);return k};k.one=function(a,c){function d(){c.apply(k,arguments);k.off(a,d)}k.on(a,d);return k};k.on=function(a,c){if("object"===t(a))for(var d in a){if(Ec.call(a,d))k.on(d,a[d])}else if("function"===t(c)){d=a.split(" ");for(var g= 840,l=d.length;g<l;g++)ua[d[g]]=ua[d[g]]||[],-1===lb(d[g],c)&&G.call(ua[d[g]],c)}else if("array"===t(c))for(d=0,g=c.length;d<g;d++)k.on(a,c[d]);return k};k.off=function(a,c){if(c instanceof Array)for(var d=0,g=c.length;d<g;d++)k.off(a,c[d]);else for(var d=a.split(" "),g=0,l=d.length;g<l;g++)if(ua[d[g]]=ua[d[g]]||[],"undefined"===t(c))ua[d[g]].length=0;else{var e=lb(d[g],c);-1!==e&&Fc.call(ua[d[g]],e,1)}return k};k.freeze=function(){if(0===db){var a=v.activeSlide;D.addClass(d.classes.isInFreeze);va&& 85(va=jb(va),Eb=0);P&&ga[a]&&ga[a].length&&Q(ga[a],function(a){a&&a.pause()});k.isFreezed=1}0<=db&&db++};k.unFreeze=function(){0<db&&db--;if(0>=db){var a=v.activeSlide;D.removeClass(d.classes.isInFreeze);(d.cycling.loop||!d.cycling.loop&&a!==u.length-1)&&wb();P&&ga[a]&&ga[a].length&&Q(ga[a],function(a){a&&a.resume()});k.isFreezed=0}};k.destroy=function(){Cc.add(ea).add(pa).add(ca).add(ta).add(Aa).add(Ja).add(Ka).add(za).add(Ba).add(cb).add(h(".mSIcon",K)).off(".mightySlider");La.add(sa).off("."+fa); 86Ja.add(Ka).add(za).add(Ba).removeClass(d.classes.disabledClass);ba[0]&&(ba.removeAttr("style").removeClass("mSSlide").eq(v.activeSlide).removeClass(d.classes.activeClass),h(".mSCover, .mSIcon",ba).remove());ca[0]&&ca.empty();ja[0]&&ja.empty();var b=[];!d.buttons.forward&&ta[0]&&G.call(b,ta[0]);!d.buttons.backward&&Aa[0]&&G.call(b,Aa[0]);!d.buttons.prev&&Ja[0]&&G.call(b,Ja[0]);!d.buttons.next&&Ka[0]&&G.call(b,Ka[0]);!d.buttons.prevPage&&za[0]&&G.call(b,za[0]);!d.buttons.nextPage&&Ba[0]&&G.call(b,Ba[0]); 87!d.buttons.fullScreen&&cb[0]&&G.call(b,cb[0]);!d.pages.pagesBar&&ca[0]?G.call(b,ca[0]):ca[0]&&ca.empty();!d.thumbnails.thumbnailsBar&&ja[0]?G.call(b,ja[0]):ja[0]&&ja.empty();h(b).remove();K.off(".mightySlider");D.removeClass(d.navigation.horizontal?d.classes.horizontalClass:d.classes.verticalClass).removeClass("mightySlider");
87O.add(ea).css(ya||(d.navigation.horizontal?"left":"top"),ya?"none":0).removeClass("mSSlideElement mSScrollbarHandle");h.removeData(a,"mightySlider");K.add(pa).removeClass("mSFrame mSMouseDraggable mSTouchDraggable mSScrollbar"); 88u.length=N.length=0;R={};k.initialized=0;C("destroy");Gc.remove(a);Q(kb,function(a,b){a.uniqId===k.uniqId&&Fc.call(kb,b,1)});return k};k.init=function(){if(!k.initialized){Ca();k.on(f);var b=O.add(ea);K.css("overflow","hidden").addClass("mSFrame");ya||"static"!==K.css("position")||K.css("position","relative");ya?Ra&&b.css(ya,Ra):("static"===pa.css("position")&&pa.css("position","relative"),b.css({position:"absolute"}));d.dragging.mouseDragging&&!ab&&K.addClass("mSMouseDraggable");d.dragging.touchDragging&& 89ab&&K.addClass("mSTouchDraggable");O.addClass("mSSlideElement");pa.addClass("mSScrollbar");ea.addClass("mSScrollbarHandle");d.commands.thumbnails&&!ja[0]&&(ja=h("<ul></ul>"),D.append(h('<div class="mSThumbnails"></div>').html(ja)));d.commands.pages&&!ca[0]&&(ca=h('<ul class="mSPages"></ul>'),D.append(ca));d.commands.buttons&&P&&!Ba[0]&&(Ba=h('<a class="mSButtons mSNext"></a>'),D.prepend(Ba));d.commands.buttons&&P&&!za[0]&&(za=h('<a class="mSButtons mSPrev"></a>'),D.prepend(za));!d.commands.buttons|| 90P||ta[0]||(ta=h('<a class="mSButtons mSNext"></a>'),D.prepend(ta));!d.commands.buttons||P||Aa[0]||(Aa=h('<a class="mSButtons mSPrev"></a>'),D.prepend(Aa));Oa(!0);if(ka)k.on("active",function(a,b){ka.activate(b)});d.deeplinking.linkID&&Bc();ba.addClass("mSSlide");d.startAt=d.startRandom?Math.floor(Math.random()*u.length):d.startAt;k.activate(d.startAt,1);if(ta[0])ta.on("touchstart.mightySlider mousedown.mightySlider",Ta);if(Aa[0])Aa.on("touchstart.mightySlider mousedown.mightySlider",Ta);if(Ja[0])Ja.on("click.mightySlider", 91Ta);if(Ka[0])Ka.on("click.mightySlider",Ta);if(za[0])za.on("click.mightySlider",Ta);if(Ba[0])Ba.on("click.mightySlider",Ta);if(cb[0])cb.on("click.mightySlider",Ta);Cc.on(Hc,Ub);if(pa[0])pa.on("click.mightySlider",Vb);if(P&&d.navigation.activateOn)K.on(d.navigation.activateOn+".mightySlider","*",$b);if(ca[0]&&d.pages.activateOn)ca.on(d.pages.activateOn+".mightySlider","*",ac);Uc.on("touchstart.mightySlider mousedown.mightySlider",{source:"slideElement"},ob);if(ea[0])ea.on("touchstart.mightySlider mousedown.mightySlider", 92{source:"handle"},ob);La.on(Xc,Wb).on(Yc,Yb);if(d.parallax.scroll&&!isMobile.any)La.on("scroll."+fa,kc);sa.on(Vc,Xb).on(Wc,Bc);if(screenfull.enabled)sa.on(screenfull.raw.fullscreenchange+"."+fa,Zb);K.on("mouseenter.mightySlider mouseleave.mightySlider",bc);K.on("scroll.mightySlider",L);D.addClass(d.navigation.horizontal?d.classes.horizontalClass:d.classes.verticalClass).addClass(ab?d.classes.isTouchClass:"").addClass("mightySlider");if(d.cycling.cycleBy)k[d.cycling.startPaused?"pause":"resume"](); 93k.initialized=1;C("initialize");G.call(kb,k);Gc.add(a);return k}}}function na(a){var e="content",f=a.cover,g=a.source,c=a.mp4||a.webm||a.ogv||a.video;if(a.type)return a.type;if(dc(g))return"video";f&&(e="image");g&&(e="iframe");c&&(e="video");a.link&&(e="link");return e}function H(a){return(a=a.data("mightyslider"))&&eval("({"+a+"})")||{}}function Da(a){return(a=a.data("msanimation"))?q(a)?[a]:eval("(["+a+"])"):{}}function Z(a){for(var e={},f=0,g=gb.length,c,l;f<g;f++)c=gb[f],(l=B(a,c))&&(e[c]=l); 94return e}function Y(a,e,f){var g={};Q(a,function(a,l){if(-1===Fa.call(e,a))return!0;g[a]=l*f});return g}function ha(a,e){a.preventDefault();e&&a.stopPropagation()}function da(a){ha(a,1);h(this).off(a.type,da)}function L(){this.scrollTop=this.scrollLeft=0}function T(a){return("number"===t(a)||"string"===t(a))&&""!==a&&!isNaN(a)}function B(a,e){return parseInt(a.css(e),10)||0}function W(a,e,f){return a<e?e:a>f?f:a}function ia(a){var e=h('<div class="mSIcon mSLoader"></div>'),f=h(".mSLoader",a);f[0]? 95e=f:a.prepend(e);a=(a=e[0].getAttribute("mSinstances"))&&parseInt(a)||0;a++;e[0].setAttribute("mSinstances",a);return e}function r(a){var e=a[0].getAttribute("mSinstances"),e=e&&parseInt(e)||1;e--;a[0].setAttribute("mSinstances",e);if(0>=e)return a.remove()}function Gb(a,e,f,g,c){c||(c=a?e?Math.min(a/f,e/g):a/f:e/g);return{width:Math.round(f*c),height:Math.round(g*c),ratio:c}}function dc(a){for(var e=null,f=0,g=lb.length,c;f<g;f++)if(c=lb[f],c.reg.test(a)){a=a.split(c.split);e={source:c.url.replace(/\{id\}/g, 96a[c.index]),type:c.iframe&&"iframe"||"flash"};break}return e}
96function sb(a){for(var e=null,f=0,g=mb.length,c;f<g;f++)if(c=mb[f],c.reg.test(a)){e=h.extend(!0,{},c,{});e.oembed=z.absolutizeURI(c.oembed.replace(/\{URL\}/g,a),a);break}return e}function Ya(a,e,f){var g;e=e||{};f=f||{};switch(a){case "video":g=document.createElement("video");e=h.extend(!0,Ub,e);break;case "iframe":g=document.createElement("iframe");e=h.extend(!0,Vb,e);break;case "flash":g=document.createElement("embed");e=h.extend(!0,Wb, 97e);break;default:g=document.createElement(a)}eb(g,e);Q(f,function(a,l){if(!a.name)return!0;var e=document.createElement(a.name);a.name=null;eb(e,a);g.appendChild(e)});return g}function eb(a,e){Q(e,function(e,g){if(!T(g)&&!g)return!0;Xb(a,e,g)})}function Xb(a,e,f){var g=q(f)?function(){var a="",g=0;Q(f,function(e,f){0!==g&&(a+="&");a+=e+"="+fb(f);g++});return a}():f;a.setAttribute(e,g)}function Kb(a){function e(){g++;g===a.length&&c(f)}var f=[],g=0,c=function(){};a=Fb(a)?a:[a];for(var l=0;l<a.length;l++)f[l]= 98new Image,f[l].onload=e,f[l].onerror=e,f[l].src=a[l];return{done:function(a){c=a||c}}}function Rc(a){var e="";a=h("*:not(script, style, .mSCover, .mSCoverImage, .mSLayerCover, .mSLayerCoverImage, .mSLoader)",a);var f=[],g,c;Q(a,function(a){g=h(a);"img"===a.nodeName.toLowerCase()&&a.hasAttribute("src")?e=g.prop("src"):"none"!==g.css("background-image")&&(e=g.css("background-image"));if(-1===Fa.call(e,"gradient")){a=e;a=a.replace(/url\(\"/g,"");a=a.replace(/url\(/g,"");a=a.replace(/\"\)/g,"");e=a=a.replace(/\)/g, 99"");c=e.split(", ");a=0;for(var y=c.length;a<y;a++)0<c[a].length&&!c[a].match(/^(data:)/i)&&-1===Fa.call(f,c[a])&&G.call(f,c[a])}});return f}function Db(a){var e=document.createElement("video");return!(!e.canPlayType||!e.canPlayType(a).replace(/no/,""))}function zc(a,e){var f=document.documentMode||z.browser.version,f=z.browser.msie&&10>f;h.ajax({url:"//api.mightyslider.com/getjson.php",data:{url:a},dataType:f?"jsonp":"json",cache:!f}).success(function(a){200===a.status?e(a.data):e(!1)}).error(function(){e(!1)}); 100f&&(mightySliderCallback=function(a){200===a.status?e(a.data):e(!1)})}function fb(a){a=(a+"").toString();return encodeURIComponent(a).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function Cb(a){a+="";return a.charAt(0).toUpperCase()+a.substr(1)}function Sb(a){a=z.getExtension(a);if(!a)return!1;a=a.toLowerCase();return-1!==Fa.call(Ua.image,a)?"image":-1!==Fa.call(Ua.flash,a)?"flash":-1!==Fa.call(Ua.video,a)?"video":"iframe"}function mc(a,e){var f= 101a||n.event||{clientX:0,clientY:0},g=e||f.target||f.srcElement,c=parseInt(e.style.borderLeftWidth,10)||0,l=parseInt(e.style.borderLeftWidth,10)||0,g=g.getBoundingClientRect();return{x:f.clientX-c-g.left,y:f.clientY-l-g.top}}function vc(a,e){if("undefined"===typeof TweenMax||1>e.length)0<e.length&&console&&console.warn('Scalers needs TweenMax function. Please include the "tweenlite.js" into your page.');else{var f=B(a,"width"),g=B(a,"height");Q(e,function(a){var l=h(a),e=a.getAttribute("width")||B(l, 102"width"),l=a.getAttribute("height")||B(l,"height"),e=Gb(f,g,e,l);TweenMax.set(a,{scale:e.ratio})})}}function Yb(a,e,f){var g=0,c=0,l=0,h={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},g=function(a){a=(""+a).replace(/[_\-+]/g,".");a=a.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".");return a.length?a.split("."):[-8]},n=function(a){return a?isNaN(a)?h[a]||-7:parseInt(a,10):0};a=g(a);e=g(e);c=Math.max(a.length,e.length);for(g=0;g<c;g++)if(a[g]!==e[g])if(a[g]=n(a[g]),e[g]=n(e[g]), 103a[g]<e[g]){l=-1;break}else if(a[g]>e[g]){l=1;break}if(!f)return l;switch(f){case ">":return 0<l;case ">=":return 0<=l;case "<=":return 0>=l;case "==":return 0===l;case "!=":return 0!==l;case "<":return 0>l;default:return null}}var Na=Array.prototype,nb=Object.prototype,Zb=String.prototype,z={},Fb=Array.isArray||function(a){return"array"===t(a)},$b=function(a,e){var f;if(null==this)throw new TypeError('"this" is null or not defined');var g=Object(this),c=g.length>>>0;if(0===c)return-1;f=+e||0;Infinity=== 104Math.abs(f)&&(f=0);if(f>=c)return-1;for(f=Math.max(0<=f?f:c-Math.abs(f),0);f<c;){if(f in g&&g[f]===a)return f;f++}return-1},G=Na.push,Fa=function(a,e){if(null==this)throw new TypeError('"this" is null or not defined');return Fb(this)?(Na.indexOf||$b).call(this,a,e):Zb.indexOf.call(this,a,e)},ob=Na.slice,Fc=Na.splice,tb=Na.filter,Hb=nb.toString,Ec=nb.hasOwnProperty;(function(){function a(a){var c,l;return!!(a&&"object"===typeof a&&"object"===typeof a.window&&a.window==a&&a.setTimeout&&a.alert&&(c= 105a.document)&&"object"===typeof c&&(l=c.defaultView||c.parentWindow)&&"object"===typeof l&&l==a)}function e(a,c){var l=a.replace(/^.*[\/\\]/g,"");
105"string"===t(c)&&l.substr(l.length-c.length)===c&&(l=l.substr(0,l.length-c.length));return l}function f(a,c){for(var l="source scheme authority userInfo user pass host port relative path directory file query fragment".split(" "),e=/^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(a), 106f={},h=14;h--;)e[h]&&(f[l[h]]=e[h]);if(c)return f[c.replace("URL_","").toLowerCase()];f.source=null;return f}z.isWindow=a;z.inArray=function(a,c,l){return null==c?-1:Fa.call(c,a,l)};(function(){z.position=function(g,c){var l=a(g),e=l?g.document:g.ownerDocument||g,f=e.documentElement,h=a(c)?c:e.defaultView||n;g===e&&(g=f);c=c&&c!==e?c:f;var e=(h.pageYOffset||f.scrollTop)-f.clientTop,q=(h.pageXOffset||f.scrollLeft)-f.clientLeft,w={top:0,left:0};if(l)w.width=w.right=h.innerWidth||f.clientWidth,w.height= 107w.bottom=h.innerHeight||f.clientHeight;else if(g===f)w.top=-e,w.left=-q,w.width=Math.max(f.clientWidth,f.scrollWidth),w.height=Math.max(f.clientHeight,f.scrollHeight),w.right=w.width-q,w.bottom=w.height-e;else if(f.contains(g)&&g.getBoundingClientRect){var l={},w=g.getBoundingClientRect(),r;for(r in w)l[r]=w[r];w=l;w.width=w.right-w.left;w.height=w.bottom-w.top}else return null;if(c===h)return w;w.top+=e;w.left+=q;w.right+=q;w.bottom+=e;if(c===f)return w;f=position(c);w.left-=f.left;w.right-=f.left; 108w.top-=f.top;w.bottom-=f.top;return w}})();(function(){function a(c,g,e){for(var f=0,h=c.length;f<h;++f)g.call(e,c[f],f)}z.each=function(c,e,f){f=f||this;switch(t(c)){case "array":return a(c,e,f);case "object":if("number"==t(c.length))return a(c,e,f);for(var h=Object.keys(c),n=0,q=h.length;n<q;++n)e.call(f,h[n],c[h[n]]);break;case "string":for(h=f,f=0,n=c.length;f<n;++f)e.call(h,c.charAt(f),f)}}})();(function(){function a(){this.returnValue=!1}function c(){this.cancelBubble=!0}z.bind=n.addEventListener? 109function(a,c,g,e){a.addEventListener(c,g,e||!1);return g}:function(e,f,h){var q=f+h;e[q]=e[q]||function(){var f=n.event;f.target=f.srcElement;f.preventDefault=a;f.stopPropagation=c;h.call(e,f)};e.attachEvent("on"+f,e[q]);return h};z.unbind=n.removeEventListener?function(a,c,g,e){a.removeEventListener(c,g,e||!1);return g}:function(a,c,g){var e=c+g;a.detachEvent("on"+c,a[e]);try{delete a[e]}catch(f){a[e]=x}return g}})();(function(){var a,c;a=navigator.userAgent;a=a.toLowerCase();c=/(chrome)[ \/]([\w.]+)/.exec(a)|| 110/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||0>Fa.call(a,"compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];a=c[1]||"";c=c[2]||"0";var e={};a&&(e[a]=!0,e.version=c);e.chrome?e.webkit=!0:e.webkit&&(e.safari=!0);z.browser=e})();z.baseName=e;z.parseURL=f;z.getExtension=function(a){var c=f(a);a=e(a);c.query&&(a=a.replace("?"+c.query,""));return a.substr((~-a.lastIndexOf(".")>>>0)+2)};(function(){var a=function(a){var c=[];a.replace(/^(\.\.?(\/|$))+/, 111"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(a){"/.."===a?c.pop():G.call(c,a)});return c.join("").replace(/^\//,"/"===a.charAt(0)?"/":"")},c=function(a){return(a=String(a).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/))?{href:a[0]||"",protocol:a[1]||"",authority:a[2]||"",host:a[3]||"",hostname:a[4]||"",port:a[5]||"",pathname:a[6]||"",search:a[7]||"",hash:a[8]||""}:null}; 112z.absolutizeURI=function(e,f){e=c(e||"");f=c(f||n.location.href);return e&&f?(e.protocol||f.protocol)+(e.protocol||e.authority?e.authority:f.authority)+a(e.protocol||e.authority||"/"===e.pathname.charAt(0)?e.pathname:e.pathname?(f.authority&&!f.pathname?"/":"")+f.pathname.slice(0,f.pathname.lastIndexOf("/")+1)+e.pathname:f.pathname)+(e.protocol||e.authority||e.pathname?e.search:e.search||f.search)+e.hash:null}})();(function(){var a=function(a,e){a=parseInt(a,10).toString(16);return e<a.length?ob.call(a, 113a.length-e):e>
113a.length?Array(1+(e-a.length)).join("0")+a:a};z.uniqID=function(c,e){"undefined"===t(c)&&(c="");var f,h={};h.uniqidSeed||(h.uniqidSeed=Math.floor(123456789*Math.random()));h.uniqidSeed++;f=c+a(parseInt((new Date).getTime()/1E3,10),8);f+=a(h.uniqidSeed,5);e&&(f+=(10*Math.random()).toFixed(8).toString());return f}})()})();var kb=[],lb=[{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, 114split:"=",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}?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"}, 115{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"}, 116{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"}], 117mb=[{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, 118oembed:"{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"}],la={avi:"video/msvideo",mov:"video/quicktime",mpg:"video/mpeg",mpeg:"video/mpeg",mp4:"video/mp4", 119webm:"video/webm",ogv:"video/ogg","3gp":"video/3gpp",m4v:"video/x-m4v"},Ua={flash:"swf",image:"bmp gif jpeg jpg png tiff tif jfif jpe",video:"avi mov mpg mpeg mp4 webm ogv 3gp m4v"},Rb=[],Oc=["INPUT","SELECT","BUTTON","TEXTAREA"],Ob,Ub={width:"100%",height:"100%",preload:"preload",autoplay:"autoplay",controls:"controls"},Vb={width:"100%",height:"100%",frameborder:0,webkitAllowFullScreen:!0,mozallowfullscreen:!0,allowFullScreen:!0},Wb={width:"100%",height:"100%",bgcolor:"#000000",quality:"high",play:!0, 120loop:!0,menu:!0,wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:!0,fullscreen:"yes"},gb="width height fontSize fontSize top left paddingTop paddingLeft paddingBottom paddingRight".split(" "),sa=h(n),La=h(document),Hc=(document.implementation.hasFeature("Event.wheel","3.0")?"wheel.":"mousewheel.")+"mightySlider",$a=n.requestAnimationFrame,jb=n.cancelAnimationFrame||n.cancelRequestAnimationFrame,ya,Ra,Dc,yc,ab=!!("ontouchstart"in n)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), 121sc="undefined"!==typeof n.orientation?n.orientation:sa.height()>sa.width()?0:90,Lc=!!n.DeviceOrientationEvent,qa=Date.now||function(){return(new Date).getTime()},Q=z.each,Qc=z.position,qc=n.GreenSockGlobals&&n.GreenSockGlobals.TweenLite,Ab=0;La.on(Hc,function(a){a=a.originalEvent.mightySlider;var e=qa();if(!a||a.options.scrolling.hijack<e-Ab)Ab=e});
121var Gc=new jQuery.elementSpy(n,function(a){if(kb.length){var e=this,f;Q(kb,function(a){a.frame===e&&(f=a)});f&&(a?f.unFreeze():f.freeze())}});(function(a){function e(a){var e= 122qa(),g=Math.max(0,16-(e-f));a=setTimeout(a,g);f=e;return a}var f=qa(),g=a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.clearTimeout;$a=a.requestAnimationFrame||a.webkitRequestAnimationFrame||e;jb=function(c){g.call(a,c)}})(n);(function(){function a(a){for(var c=0,h=e.length;c<h;c++){var n=e[c]?e[c]+a.charAt(0).toUpperCase()+a.slice(1):a;if(null!=f.style[n])return n}}var e=["","webkit","moz","ms","o"],f=document.createElement("div");ya=a("transform");Ra=a("perspective")?"translateZ(0) ":""})(); 123(function(){for(var a=["","webkit","moz","ms","o"],e,f;(f=a.pop())!=x;)if(e=(f?f+"H":"h")+"idden","boolean"===t(document[e])){Dc=f+"visibilitychange";break}yc=function(){return document[e]}})();n.matchMedia||(n.matchMedia=function(){var a=n.styleMedia||n.media;if(!a){var e=document.createElement("style"),f=document.getElementsByTagName("script")[0],g=null;e.type="text/css";e.id="matchmediajs-test";f.parentNode.insertBefore(e,f);g="getComputedStyle"in n&&n.getComputedStyle(e,null)||e.currentStyle; 124a={matchMedium:function(a){a="@media "+a+"{ #matchmediajs-test { width: 1px; } }";e.styleSheet?e.styleSheet.cssText=a:e.textContent=a;return"1px"===g.width}}}return function(c){return{matches:a.matchMedium(c||"all"),media:c||"all"}}}());var Va=h.fn.animate,ac=h.fn.stop,ma,Wa,pb,qb=function(a){var e={},f;for(f in a)e[f]=a[f];return e},rb={overwrite:1,delay:1,useFrames:1,runBackwards:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,autoCSS:1},bc=function(a,e){for(var f in rb)rb[f]&&a[f]!== 125x&&(e[f]=a[f])},cc=function(a){return function(e){return a.getRatio(e)}},Ca={},Xa=function(){var a=n.GreenSockGlobals||n,e,f,g;if(ma=a.TweenMax||a.TweenLite)e=(ma.version+".0.0").split("."),f=!(0<Number(e[0])&&7<Number(e[1])),a=a.com.greensock,Wa=a.plugins.CSSPlugin,Ca=a.easing.Ease.map||{};if(!ma||!Wa||f)ma=null,!pb&&n.console&&(n.console.log("The jquery.gsap.js plugin requires the TweenMax (or at least TweenLite and CSSPlugin) JavaScript file(s)."+(f?" Version "+e.join(".")+" is too old.":"")), 126pb=!0);else if(h.easing){for(g in Ca)h.easing[g]=cc(Ca[g]);Xa=!1}};h.fn.msAnimate=function(a,e,f,g){a=a||{};if(Xa&&(Xa(),!ma||!Wa)||!0===a.skipGSAP||"object"===typeof e&&"function"===typeof e.step)return Va.call(this,a,e,f,g);var c=h.speed(e,f,g),l={ease:Ca[c.easing]||(!1===c.easing?Ca.linear:Ca.swing)},n="object"===typeof e?e.specialEasing:null,q,r,B;for(r in a){q=a[r];q instanceof Array&&Ca[q[1]]&&(n=n||{},n[r]=q[1],q=q[0]);if("show"===q||"hide"===q||"toggle"===q||-1!==",scrollTop,scrollLeft,show,hide,toggle,".indexOf(r)&& 127-1!==",scrollTop,scrollLeft,show,hide,toggle,".indexOf(","+r+","))return Va.call(this,a,e,f,g);
127l[-1===r.indexOf("-")?r:h.camelCase(r)]=q}if(n){l=qb(l);B=[];for(r in n)q=B[B.length]={},bc(l,q),q.ease=Ca[n[r]]||l.ease,-1!==r.indexOf("-")&&(r=h.camelCase(r)),q[r]=l[r],delete l[r];0===B.length&&(B=null)}a=function(a){var e=qb(l),f;if(B)for(f=B.length;-1<--f;)ma.to(this,h.fx.off?0:c.duration/1E3,B[f]);e.onComplete=function(){a?a():c.old&&h(this).each(c.old)};e.force3D=!0;ma.to(this,h.fx.off?0:c.duration/ 1281E3,e)};!1!==c.queue?(this.queue(c.queue,a),"function"===typeof c.old&&this.queue(c.queue,function(a){c.old.call(this);a()})):a.call(this);return this};h.fn.msStop=function(a,e){ac.call(this,a,e);if(ma){if(e)for(var f=ma.getTweensOf(this),g=f.length,c;-1<--g;)c=f[g].totalTime()/f[g].totalDuration(),0<c&&1>c&&f[g].seek(f[g].totalDuration());ma.killTweensOf(this)}return this};(function(){function a(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}var e=document,f,g=h.event.special,c= 129e.documentMode,l="onhashchange"in n&&(c===x||7<c);h.fn.hashchange=function(a){return a?this.bind("hashchange",a):this.trigger("hashchange")};h.fn.hashchange.delay=50;g.hashchange=h.extend(g.hashchange,{setup:function(){if(l)return!1;h(f.start)},teardown:function(){if(l)return!1;h(f.stop)}});f=function(){function c(){var e=a(),f=t(q);e!==q?(B(q=e,f),h(n).trigger("hashchange")):f!==q&&(location.href=location.href.replace(/#.*/,"")+f);g=setTimeout(c,h.fn.hashchange.delay)}var f={},g,q=a(),r=function(a){return a}, 130B=r,t=r;f.start=function(){g||c()};f.stop=function(){g&&clearTimeout(g);g=x};z.browser.msie&&!l&&function(){var g,l;f.start=function(){g||(l=(l=h.fn.hashchange.src)&&l+a(),g=h('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){l||B(a());c()}).attr("src",l||"javascript:0").insertAfter("body")[0].contentWindow,e.onpropertychange=function(){try{"title"===event.propertyName&&(g.document.title=e.title)}catch(a){}})};f.stop=r;t=function(){return a(g.location.href)};B=function(a,c){var f= 131g.document,l=h.fn.hashchange.domain;a!==c&&(f.title=e.title,f.open(),l&&f.write('<script>document.domain="'+l+'"\x3c/script>'),f.close(),g.location.hash=a)}}();return f}()})();n.mightySlider=wa;wa.author="iProDev (Hemn Chawroka). (www.iprodev.com)";wa.version="2.0.0";wa.releaseDate="April 22, 2015";h.fn.mightySlider=function(a,e){if(Yb(h.fn.jquery,"1.7",">=")){var f,g;if(!q(a)){if("string"===t(a)||!1===a)f=!1===a?"destroy":a,g=ob.call(arguments,1);a={}}return this.each(function(c,l){var n=h.data(l, 132"mightySlider");n||f?n&&f&&n[f]&&n[f].apply(n,g):h.data(l,"mightySlider",(new wa(l,a,e)).init())})}throw"The jQuery version that was loaded is too old. mightySlider requires jQuery 1.7+";};wa.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, 133scrollTo:!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(a){return"<li>"+(a+1)+"</li>"}},thumbnails:{thumbnailsBar:null,horizontal:!0,preloadThumbnails:!0,thumbnailNav:"basic", 134activateOn:"click",scrollBy:1,mouseDragging:!0,touchDragging:!0,thumbnailSize:0,thumbnailBuilder:function(a,e){return'<li><img src="'+e+'" /></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, 135frictionEasing:"easeOutExpo"},classes:{isTouchClass:"isTouch",draggedClass:"dragged",activeClass:"active",disabledClass:"disabled",verticalClass:"vertical",horizontalClass:"horizontal",showedLayersClass:"showed",isInFullScreen:"isInFullScreen",isInFreeze:"isInFreeze"}};jQuery.easing.easeOutExpo=function(a,e,f,g,c){return e==c?f+g:g*(-Math.pow(2,-10*e/c)+1)+f}})(jQuery,this); 136(function(h){var n=/iPhone/i,x=/iPod/i,t=/iPad/i,q=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,wa=/Android/i,na=/IEMobile/i,H=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,Da=/BlackBerry/i,Z=/BB10/i,Y=/Opera Mini/i,ha=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,da=/(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)/i,L=function(h){h=h||navigator.userAgent;this.apple={phone:n.test(h),ipod:x.test(h),tablet:t.test(h),device:n.test(h)||x.test(h)||t.test(h)};this.android={phone:q.test(h),tablet:!q.test(h)&&wa.test(h),device:q.test(h)|| 137wa.test(h)};
137this.windows={phone:na.test(h),tablet:H.test(h),device:na.test(h)||H.test(h)};this.other={blackberry:Da.test(h),blackberry10:Z.test(h),opera:Y.test(h),firefox:ha.test(h),device:Da.test(h)||Z.test(h)||Y.test(h)||ha.test(h)};this.seven_inch=da.test(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; 138if("undefined"===typeof window)return this},T=function(){var h=new L;h.Class=L;return h};"undefined"!=typeof module&&module.exports&&"undefined"===typeof window?module.exports=L:"undefined"!=typeof module&&module.exports&&"undefined"!==typeof window?module.exports=T():"function"===typeof define&&define.amd?define("isMobile",[],h.isMobile=T()):h.isMobile=T()})(this); 139(function(){var h="undefined"!==typeof module&&module.exports,n="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,x=function(){var h,n,t=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "), 140"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")],x=0;n=t.length;for(var Da={};x<n;x++)if((h=t[x])&&h[1]in document){x=0;for(n=h.length;x<n;x++)Da[t[0][x]]=h[x];return Da}return!1}(),t={request:function(h){var t=x.requestFullscreen;h=h||document.documentElement;if(/5\.1[\.\d]* Safari/.test(navigator.userAgent))h[t](); 141else h[t](n&&Element.ALLOW_KEYBOARD_INPUT)},exit:function(){document[x.exitFullscreen]()},toggle:function(h){this.isFullscreen?this.exit():this.request(h)},raw:x};x?(Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[x.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[x.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return!!document[x.fullscreenEnabled]}}}),h?module.exports=t:window.screenfull=t):h?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.