/* Sequence.js (www.sequencejs.com) Version: 0.7.4.1 Beta Author: Ian Lunn @IanLunn Author URL: http://www.ianlunn.co.uk/ Github: https://github.com/IanLunn/Sequence This is a FREE script and is dual licensed under the following: http://www.opensource.org/licenses/mit-license.php | http://www.gnu.org/licenses/gpl.html Sequence.js and its dependencies are (c) Ian Lunn Design 2012 unless otherwise stated. Aside from these comments, you may modify and distribute this file as you please. Have fun! */(function(e){function t(t,n,r,i){function f(){s.afterLoaded();s.settings.hideFramesUntilPreloaded&&s.settings.preloader&&s.sequence.children("li").show();if(s.settings.preloader)if(s.settings.hidePreloaderUsingCSS&&s.transitionsSupported){s.prependPreloadingCompleteTo=s.settings.prependPreloadingComplete==1?s.settings.preloader:e(s.settings.prependPreloadingComplete);s.prependPreloadingCompleteTo.addClass("preloading-complete");setTimeout(g,s.settings.hidePreloaderDelay)}else s.settings.preloader.fadeOut(s.settings.hidePreloaderDelay,function(){clearInterval(s.defaultPreloader);g()});else g()}function g(){e(s.settings.preloader).remove();s.settings.nextButton=s.init.uiElements(s.settings.nextButton,".next");s.settings.prevButton=s.init.uiElements(s.settings.prevButton,".prev");s.settings.pauseButton=s.init.uiElements(s.settings.pauseButton,".pause");s.settings.nextButton!==undefined&&s.settings.nextButton!==!1&&s.settings.showNextButtonOnInit&&s.settings.nextButton.show();s.settings.prevButton!==undefined&&s.settings.prevButton!==!1&&s.settings.showPrevButtonOnInit&&s.settings.prevButton.show();s.settings.pauseButton!==undefined&&s.settings.pauseButton!==!1&&s.settings.pauseButton.show();if(s.settings.pauseIcon!==!1){s.settings.pauseIcon=s.init.uiElements(s.settings.pauseIcon,".pause-icon");s.settings.pauseIcon!==undefined&&s.settings.pauseIcon.hide()}else s.settings.pauseIcon=undefined;s.hasTouch&&(s.settings.calculatedSwipeThreshold=s.container.width()*(s.settings.swipeThreshold/100));s.nextFrameID=s.settings.startingFrameID;s.nextFrame=s.sequence.children("li:nth-child("+s.nextFrameID+")");if(s.settings.hashTags){s.sequence.children("li").each(function(){s.frameHashID.push(e(this).attr(s.getHashTagFrom))});s.currentHashTag=location.hash.replace("#","");if(s.currentHashTag===undefined||s.currentHashTag==="")s.nextFrameID=s.settings.startingFrameID;else{s.frameHashIndex=e.inArray(s.currentHashTag,s.frameHashID);s.frameHashIndex!==-1?s.nextFrameID=s.frameHashIndex+1:s.nextFrameID=s.settings.startingFrameID}}s.nextFrame=s.sequence.children("li:nth-child("+s.nextFrameID+")");s.nextFrameChildren=s.nextFrame.children();s.direction;s.sequence.css({width:"100%",height:"100%",position:"relative"});s.sequence.children("li").css({width:"100%",height:"100%",position:"absolute"});if(s.transitionsSupported)if(!s.settings.animateStartingFrameIn){s.currentFrame=s.nextFrame.addClass("current-frame");s.settings.moveActiveFrameToTop&&s.currentFrame.css("z-index",s.numberOfFrames);s.currentFrameChildren=s.currentFrame.children();s.currentFrameID=s.nextFrameID;s.modifyElements(s.currentFrameChildren,"0s");s.currentFrameChildren.addClass("animate-in");if(s.settings.hashChangesOnFirstFrame){s.currentHashTag=s.currentFrame.attr(s.getHashTagFrom);document.location.hash="#"+s.currentHashTag}setTimeout(function(){s.modifyElements(s.currentFrameChildren,"")},100);s.startAutoPlay(s.settings.autoPlayDelay)}else if(s.settings.reverseAnimationsWhenNavigatingBackwards&&s.settings.autoPlayDirection-1&&s.settings.animateStartingFrameIn){s.modifyElements(s.nextFrameChildren,"0s");s.nextFrameChildren.addClass("animate-out");s.goTo(s.nextFrameID,-1)}else s.goTo(s.nextFrameID,1);else{s.container.addClass("sequence-fallback");s.currentFrame=s.nextFrame;s.currentFrame.addClass("current-frame");s.beforeNextFrameAnimatesIn();s.afterNextFrameAnimatesIn();if(s.settings.hashChangesOnFirstFrame){s.currentHashTag=s.currentFrame.attr(s.getHashTagFrom);document.location.hash="#"+s.currentHashTag}s.currentFrameChildren=s.currentFrame.children();s.currentFrameID=s.nextFrameID;s.sequence.children("li").children().addClass("animate-in");s.sequence.children(":not(li:nth-child("+s.nextFrameID+"))").css({display:"none",opacity:0});s.startAutoPlay(s.settings.autoPlayDelay)}s.settings.nextButton!==undefined&&s.settings.nextButton.click(function(){s.next()});s.settings.prevButton!==undefined&&s.settings.prevButton.click(function(){s.prev()});s.settings.pauseButton!==undefined&&s.settings.pauseButton.click(function(){s.pause(!0)});if(s.settings.keyNavigation){var t={left:37,right:39};function n(e,n){var r;for(keyCodes in n){keyCodes==="left"||keyCodes==="right"?r=t[keyCodes]:r=keyCodes;e===parseFloat(r)&&s.initCustomKeyEvent(n[keyCodes])}}e(document).keydown(function(e){var t=String.fromCharCode(e.keyCode);if(t>0&&t<=s.numberOfFrames&&s.settings.numericKeysGoToFrames){s.nextFrameID=t;s.goTo(s.nextFrameID)}n(e.keyCode,s.settings.keyEvents);n(e.keyCode,s.settings.customKeyEvents)})}s.settings.pauseOnHover&&s.settings.autoPlay&&s.sequence.on({mouseenter:function(){s.isHardPaused||s.pause()},mouseleave:function(){s.isHardPaused||s.unpause()}});s.settings.hashTags&&e(window).hashchange(function(){newTag=location.hash.replace("#","");if(s.currentHashTag!==newTag){s.currentHashTag=newTag;s.frameHashIndex=e.inArray(s.currentHashTag,s.frameHashID);if(s.frameHashIndex!==-1){s.nextFrameID=s.frameHashIndex+1;s.goTo(s.nextFrameID)}}});if(s.settings.swipeNavigation&&s.hasTouch){var r={touchstartX:-1,touchstartY:-1,touchmoveX:-1,touchmoveY:-1};s.sequence.on("touchstart touchmove touchend",function(e){s.settings.swipePreventsDefault&&e.preventDefault();switch(e.originalEvent.type){case"touchmove":case"touchstart":r[e.originalEvent.type+"X"]=e.originalEvent.touches[0].pageX;r[e.originalEvent.type+"Y"]=e.originalEvent.touches[0].pageY;break;case"touchend":if(r.touchmoveX!==-1){var t=r.touchmoveX-r.touchstartX,n=r.touchmoveY-r.touchstartY;Math.abs(t)>Math.abs(n)&&t>s.settings.calculatedSwipeThreshold?s.initCustomKeyEvent(s.settings.swipeEvents.right):Math.abs(t)>Math.abs(n)&&Math.abs(t)>s.settings.calculatedSwipeThreshold?s.initCustomKeyEvent(s.settings.swipeEvents.left):Math.abs(n)>Math.abs(t)&&n>s.settings.calculatedSwipeThreshold?s.initCustomKeyEvent(s.settings.swipeEvents.down):Math.abs(n)>Math.abs(t)&&Math.abs(n)>s.settings.calculatedSwipeThreshold&&s.initCustomKeyEvent(s.settings.swipeEvents.up);r={touchstartX:-1,touchstartY:-1,touchmoveX:-1,touchmoveY:-1}}break;default:}})}e(window).resize(function(){s.settings.calculatedSwipeThreshold=s.container.width()*(s.settings.swipeThreshold/100)})}var s=this;s.container=e(t),s.sequence=s.container.children("ul");try{Modernizr.prefixed;if(Modernizr.prefixed===undefined)throw"undefined"}catch(o){i.modernizr()}var u={WebkitTransition:"-webkit-",MozTransition:"-moz-",OTransition:"-o-",msTransition:"-ms-",transition:""},a={WebkitTransition:"webkitTransitionEnd webkitAnimationEnd",MozTransition:"transitionend animationend",OTransition:"otransitionend oanimationend",msTransition:"MSTransitionEnd MSAnimationEnd",transition:"transitionend animationend"};s.prefix=u[Modernizr.prefixed("transition")],s.transitionEnd=a[Modernizr.prefixed("transition")],s.transitionProperties={},s.numberOfFrames=s.sequence.children("li").length,s.transitionsSupported=s.prefix!==undefined?!0:!1,s.hasTouch="ontouchstart"in window?!0:!1,s.autoPlayTimer,s.isPaused=!1,s.isHardPaused=!1,s.defaultPreloader,s.init={preloader:function(t){s.prependTo=s.settings.prependPreloader==1?s.container:s.settings.prependPreloader;switch(t){case!0:case undefined:i.defaultPreloader(s.prependTo,s.transitionsSupported,s.prefix);s.transitionsSupported||s.preloaderFallback();return e(".sequence-preloader");case!1:break;default:this.CSSSelectorToHTML(t);return e(t)}},uiElements:function(t,n){switch(t){case!1:return undefined;case!0:n===".sequence-preloader"&&i.defaultPreloader(s.container,s.transitionsSupported,s.prefix);return e(n);default:return e(t)}}};s.paused=function(){},s.unpaused=function(){},s.beforeNextFrameAnimatesIn=function(){},s.afterNextFrameAnimatesIn=function(){},s.beforeCurrentFrameAnimatesOut=function(){},s.afterCurrentFrameAnimatesOut=function(){},s.beforeFirstFrameAnimatesIn=function(){},s.afterFirstFrameAnimatesIn=function(){},s.beforeLastFrameAnimatesIn=function(){},s.afterLastFrameAnimatesIn=function(){},s.afterLoaded=function(){};s.settings=e.extend({},r,n),s.settings.preloader=s.init.uiElements(s.settings.preloader,".sequence-preloader");s.firstFrame=s.settings.animateStartingFrameIn?!0:!1;s.settings.unpauseDelay=s.settings.unpauseDelay===null?s.settings.autoPlayDelay:s.settings.unpauseDelay;s.currentHashTag;s.getHashTagFrom=s.settings.hashDataAttribute?"data-sequence-hashtag":"id";s.frameHashID=[];s.settings.hideFramesUntilPreloaded&&s.settings.preloader&&s.sequence.children("li").hide();s.prefix==="-o-"&&(s.transitionsSupported=i.operaTest());s.modifyElements(s.sequence.children("li").children(),"0s");s.sequence.children("li").children().removeClass("animate-in");var l=s.settings.preloadTheseFrames.length,c=s.settings.preloadTheseImages.length;if(!s.settings.preloader||l===0&&c===0)e(window).bind("load",function(){f();e(this).unbind("load")});else{function h(t,n){var r=[];if(!n)for(var i=t;i>0;i--)s.sequence.children("li:nth-child("+s.settings.preloadTheseFrames[i-1]+")").find("img").each(function(){r.push(e(this)[0])});else for(var i=t;i>0;i--)r.push(e("body").find('img[src="'+s.settings.preloadTheseImages[i-1]+'"]')[0]);return r}var p=h(l),d=h(c,!0),v=e(p.concat(d)),m=v.length;v.length?v.bind("load",function(){--m<=0&&f()}).each(function(){if(this.complete||this.complete===undefined){var e=this.src;this.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";this.src=e}}):f()}}t.prototype={preloaderFallback:function(){function r(){n=n===1?0:1;e(".sequence-preloader img:nth-child(1)").animate({opacity:n},100);e(".sequence-preloader img:nth-child(2)").animate({opacity:n},350);e(".sequence-preloader img:nth-child(3)").animate({opacity:n},600)}var t=this,n=0;r();t.defaultPreloader=setInterval(function(){r()},600)},initCustomKeyEvent:function(e){var t=this;switch(e){case"next":t.next();break;case"prev":t.prev();break;case"pause":t.pause(!0)}},modifyElements:function(e,t){var n=this;e.css(n.prefixCSS(n.prefix,{"transition-duration":t,"transition-delay":t}))},prefixCSS:function(e,t){var n={};for(property in t)n[e+property]=t[property];return n},setTransitionProperties:function(t){var n=this;n.modifyElements(n.frameChildren,"");n.frameChildren.each(function(){n.transitionProperties["transition-duration"]=e(this).css(n.prefix+"transition-duration");n.transitionProperties["transition-delay"]=e(this).css(n.prefix+"transition-delay");e(this).css(n.prefixCSS(n.prefix,n.transitionProperties))})},startAutoPlay:function(e){var t=this;if(t.settings.autoPlay&&!t.isPaused){t.stopAutoPlay();t.autoPlayTimer=setTimeout(function(){t.settings.autoPlayDirection===1?t.next():t.prev()},e)}},stopAutoPlay:function(){var e=this;clearTimeout(e.autoPlayTimer)},pause:function(e){var t=this;if(!t.isPaused){if(t.settings.pauseButton!==undefined){t.settings.pauseButton.addClass("paused");t.settings.pauseIcon!==undefined&&t.settings.pauseIcon.show()}t.paused();t.isPaused=!0;t.isHardPaused=e?!0:!1;t.stopAutoPlay()}else t.unpause()},unpause:function(e){var t=this;if(t.settings.pauseButton!==undefined){t.settings.pauseButton.removeClass("paused");t.settings.pauseIcon!==undefined&&t.settings.pauseIcon.hide()}t.unpaused();t.isPaused=!1;t.isHardPaused=!1;t.startAutoPlay(t.settings.unpauseDelay)},next:function(){var e=this;if(!e.active&&(e.settings.cycle||!e.settings.cycle&&e.currentFrameID!==e.numberOfFrames)){e.nextFrameID=e.currentFrameID!==e.numberOfFrames?e.currentFrameID+1:1;e.goTo(e.nextFrameID,1)}},prev:function(){var e=this;if(!e.active&&(e.settings.cycle||!e.settings.cycle&&e.currentFrameID!==1)){e.nextFrameID=e.currentFrameID===1?e.numberOfFrames:e.currentFrameID-1;e.goTo(e.nextFrameID,-1)}},goTo:function(e,t){var n=this;e=parseFloat(e);e===n.numberOfFrames?n.beforeLastFrameAnimatesIn():e===1&&n.beforeFirstFrameAnimatesIn();if(e===n.currentFrameID)return!1;if(!n.active){n.active=!0;n.currentFrame=n.sequence.children(".current-frame");n.nextFrame=n.sequence.children("li:nth-child("+e+")");t===undefined?n.direction=e>n.currentFrameID?1:-1:n.direction=t;n.frameChildren=n.currentFrame.children();n.nextFrameChildren=n.nextFrame.children();if(n.transitionsSupported){if(n.currentFrame.length!==0){n.beforeCurrentFrameAnimatesOut();n.animateOut(n.direction)}if(!n.firstFrame)switch(n.settings.transitionThreshold){case!0:n.waitForAnimationsToComplete(n.currentFrame,n.frameChildren,"out");break;case!1:n.animateIn(n.direction);break;default:setTimeout(function(){n.animateIn(n.direction)},n.settings.transitionThreshold)}else{n.animateIn(n.direction);n.firstFrame=!1}}else{function r(){n.currentFrame=n.nextFrame;n.setHashTag();n.currentFrameID=n.currentFrame.index()+1;n.active=!1;n.startAutoPlay(n.settings.autoPlayDelay)}n.beforeCurrentFrameAnimatesOut();switch(n.settings.fallback.theme){case"fade":n.sequence.children("li").css({position:"relative"});n.currentFrame.animate({opacity:0},n.settings.fallback.speed,function(){n.currentFrame.css({display:"none","z-index":"1"});n.currentFrame.removeClass("current-frame");n.beforeNextFrameAnimatesIn();n.nextFrame.addClass("current-frame").css({display:"block","z-index":n.numberOfFrames}).animate({opacity:1},500,function(){n.afterNextFrameAnimatesIn()});r()});n.sequence.children("li").css({position:"relative"});break;case"slide":default:var i={},s={},o={};if(n.direction===1){i.left="-100%";s.left="100%"}else{i.left="100%";s.left="-100%"}o.left="0%";o.opacity=1;n.currentFrame.removeClass("current-frame").animate(i,n.settings.fallback.speed);n.beforeNextFrameAnimatesIn();n.nextFrame.addClass("current-frame").show().css(s).animate(o,n.settings.fallback.speed,function(){r();n.afterNextFrameAnimatesIn()})}}}},animateOut:function(e){var t=this;t.settings.moveActiveFrameToTop&&t.currentFrame.css("z-index",1);t.currentFrame.removeClass("current-frame");t.nextFrame.addClass("next-frame");if(!t.settings.reverseAnimationsWhenNavigatingBackwards||e===1){t.modifyElements(t.nextFrameChildren,"0s");t.nextFrameChildren.removeClass("animate-out");t.modifyElements(t.frameChildren,"");t.frameChildren.addClass("animate-out").removeClass("animate-in")}if(t.settings.reverseAnimationsWhenNavigatingBackwards&&e===-1){t.modifyElements(t.nextFrameChildren,"0s");t.nextFrameChildren.addClass("animate-out");t.setTransitionProperties(t.frameChildren);t.frameChildren.removeClass("animate-in")}t.settings.transitionThreshold===!0&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out",!0)},animateIn:function(e){var t=this;t.active=!0;t.currentFrame.unbind(t.transitionEnd);t.currentFrame=t.nextFrame;e===1?t.currentFrameID=t.currentFrameID!==t.numberOfFrames?t.currentFrameID+1:1:t.currentFrameID=t.currentFrameID!==1?t.currentFrameID-1:t.numberOfFrames;t.nextFrameChildren=t.nextFrame.children();t.frameChildren=t.currentFrame.children();t.beforeNextFrameAnimatesIn();t.settings.moveActiveFrameToTop&&t.nextFrame.css({"z-index":t.numberOfFrames});!t.settings.reverseAnimationsWhenNavigatingBackwards||e===1?setTimeout(function(){t.modifyElements(t.frameChildren,"");t.frameChildren.addClass("animate-in");t.waitForAnimationsToComplete(t.nextFrame,t.nextFrameChildren,"in");t.settings.transitionThreshold!==!0&&t.afterCurrentFrameAnimatesOut!=="function () {}"&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out")},50):t.settings.reverseAnimationsWhenNavigatingBackwards&&e===-1&&setTimeout(function(){t.setTransitionProperties(t.frameChildren);t.frameChildren.addClass("animate-in").removeClass("animate-out");t.waitForAnimationsToComplete(t.nextFrame,t.nextFrameChildren,"in");t.settings.transitionThreshold!==!0&&t.afterCurrentFrameAnimatesOut!="function () {}"&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out")},50)},waitForAnimationsToComplete:function(t,n,r,i){var s=this;if(r==="out")var o=function(){s.active=!1;t.unbind(s.transitionEnd);s.afterCurrentFrameAnimatesOut();i===!0&&s.animateIn(s.direction)};else if(r==="in")var o=function(){t.unbind(s.transitionEnd);s.afterNextFrameAnimatesIn();s.setHashTag();s.currentFrameID=s.currentFrame.index()+1;s.currentFrameID===s.numberOfFrames?s.afterLastFrameAnimatesIn():s.currentFrameID===1&&s.afterFirstFrameAnimatesIn();s.nextFrame.removeClass("next-frame").addClass("current-frame");s.active=!1;s.isHardPaused||s.startAutoPlay(s.settings.autoPlayDelay)};n.each(function(){e(this).data("animationEnded",!1)});s.currentFrame.bind(s.transitionEnd,function(t){e(t.target).data("animationEnded",!0);var r=!0;n.each(function(){e(this).data("animationEnded")===!1&&(r=!1)});r&&o()})},setHashTag:function(){var t=this;if(t.settings.hashTags){t.currentHashTag=t.currentFrame.attr(t.getHashTagFrom);t.frameHashIndex=e.inArray(t.currentHashTag,t.frameHashID);if(t.frameHashIndex!==-1&&(t.settings.hashChangesOnFirstFrame||!t.firstFrame)){t.nextFrameID=t.frameHashIndex+1;document.location.hash="#"+t.currentHashTag}else{t.nextFrameID=t.settings.startingFrameID;t.firstFrame=!1}}}};e.fn.sequence=function(i){var s=this;return s.each(function(){var s=new t(e(this),i,r,n);e(this).data("sequence",s)})};var n={modernizr:function(){window.Modernizr=function(e,t,n){function r(e){v.cssText=e}function i(e,t){return r(prefixes.join(e+";")+(t||""))}function s(e,t){return typeof e===t}function o(e,t){return!!~(""+e).indexOf(t)}function u(e,t){for(var r in e){var i=e[r];if(!o(i,"-")&&v[i]!==n)return t=="pfx"?i:!0}return!1}function a(e,t,r){for(var i in e){var o=t[e[i]];if(o!==n)return r===!1?e[i]:s(o,"function")?o.bind(r||t):o}return!1}function f(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+b.join(r+" ")+r).split(" ");return s(t,"string")||s(t,"undefined")?u(i,t):(i=(e+" "+w.join(r+" ")+r).split(" "),a(i,t,n))}var l="2.6.1",c={},h=t.documentElement,p="modernizr",d=t.createElement(p),v=d.style,m,g={}.toString,y="Webkit Moz O ms",b=y.split(" "),w=y.toLowerCase().split(" "),E={svg:"http://www.w3.org/2000/svg"},S={},x={},T={},N=[],C=N.slice,k,L={}.hasOwnProperty,A;!s(L,"undefined")&&!s(L.call,"undefined")?A=function(e,t){return L.call(e,t)}:A=function(e,t){return t in e&&s(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(e){var t=self;if(typeof t!="function")throw new TypeError;var n=C.call(arguments,1),r=function(){if(self instanceof r){var i=function(){};i.prototype=t.prototype;var s=new i,o=t.apply(s,n.concat(C.call(arguments)));return Object(o)===o?o:s}return t.apply(e,n.concat(C.call(arguments)))};return r}),S.svg=function(){return!!t.createElementNS&&!!t.createElementNS(E.svg,"svg").createSVGRect};for(var O in S)A(S,O)&&(k=O.toLowerCase(),c[k]=S[O](),N.push((c[k]?"":"no-")+k));return c.addTest=function(e,t){if(typeof e=="object")for(var r in e)A(e,r)&&c.addTest(r,e[r]);else{e=e.toLowerCase();if(c[e]!==n)return c;t=typeof t=="function"?t():t,enableClasses&&(h.className+=" "+(t?"":"no-")+e),c[e]=t}return c},r(""),d=m=null,c._version=l,c._domPrefixes=w,c._cssomPrefixes=b,c.testProp=function(e){return u([e])},c.testAllProps=f,c.prefixed=function(e,t,n){return t?f(e,t,n):f(e,"pfx")},c}(self,self.document)},defaultPreloader:function(t,n,r){var i='
';e("head").append("");t.prepend(i);if(!Modernizr.svg&&!n){e(".sequence-preloader").prepend('
');setInterval(function(){e(".sequence-preloader .circle").fadeToggle(500)},500)}else n||setInterval(function(){e(".sequence-preloader").fadeToggle(500)},500)},operaTest:function(){e("body").append('');var t=e("#sequence-opera-test");t.css("-o-transition","1s");return t.css("-o-transition")!="1s"?!1:!0}},r={startingFrameID:1,cycle:!0,animateStartingFrameIn:!1,transitionThreshold:1e3,reverseAnimationsWhenNavigatingBackwards:!0,moveActiveFrameToTop:!0,autoPlay:!0,autoPlayDirection:1,autoPlayDelay:5e3,nextButton:!1,showNextButtonOnInit:!0,prevButton:!1,showPrevButtonOnInit:!0,pauseButton:!1,unpauseDelay:null,pauseOnHover:!0,pauseIcon:!1,preloader:!1,preloadTheseFrames:[1],preloadTheseImages:[],hideFramesUntilPreloaded:!0,prependPreloadingComplete:!0,hidePreloaderUsingCSS:!0,hidePreloaderDelay:0,keyNavigation:!0,numericKeysGoToFrames:!0,keyEvents:{left:"prev",right:"next"},customKeyEvents:{},swipeNavigation:!0,swipeThreshold:15,swipePreventsDefault:!1,swipeEvents:{left:"prev",right:"next",up:!1,down:!1},hashTags:!1,hashDataAttribute:!1,hashChangesOnFirstFrame:!1,fallback:{theme:"slide",speed:500}}})(jQuery);