This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).
wget 'https://lists2.roe3.org/guppy/inc/liquidslider/js/jquery.liquid-slider.min.js'
/*
* Liquid Slider 2.3.12
* Copyright 2012 Kevin Batdorf
* http://liquidslider.com
* MIT license
*/
"function"!=typeof Object.create&&(Object.create=function(e){"use strict";function i(){}return i.prototype=e,new i}),function(n,i,e,t){"use strict";n.fn.liquidSlider=function(i){return this.each(function(){var e=Object.create(LiquidSlider);e.init(i,this),n.data(this,"liquidSlider",e)})},n.fn.liquidSlider.options={autoHeight:!0,minHeight:0,heightEaseDuration:1500,heightEaseFunction:"easeInOutExpo",slideEaseDuration:1500,slideEaseFunction:"easeInOutExpo",slideEaseFunctionFallback:"swing",animateIn:"bounceInRight",animateOut:"bounceOutRight",continuous:!0,fadeInDuration:500,fadeOutDuration:500,autoSlide:!1,autoSlideDirection:"right",autoSlideInterval:6e3,forceAutoSlide:!1,pauseOnHover:!1,dynamicArrows:!0,dynamicArrowsGraphical:!0,dynamicArrowLeftText:"« left",dynamicArrowRightText:"right »",hideSideArrows:!1,hideSideArrowsDuration:750,hoverArrows:!0,hoverArrowDuration:250,dynamicTabs:!0,dynamicTabsHtml:!0,includeTitle:!0,panelTitleSelector:".title",dynamicTabsAlign:"left",dynamicTabsPosition:"top",navElementTag:"div",firstPanelToLoad:1,hashLinking:!1,hashTitleSelector:".title",keyboardNavigation:!1,leftKey:39,rightKey:37,panelKeys:{1:49,2:50,3:51,4:52},responsive:!0,mobileNavigation:!0,mobileNavDefaultText:"Menu",mobileUIThreshold:0,hideArrowsWhenMobile:!0,hideArrowsThreshold:0,useCSSMaxWidth:3e3,preload:function(){var e=this;jQuery(i).bind("load",function(){e.finalize()})},onload:function(){},pretransition:function(){this.transition()},callback:function(){},preloader:!1,swipe:!0,swipeArgs:void 0}}(jQuery,window,document);var LiquidSlider={init:function(e,i){var n=this;n.elem=i,n.$elem=jQuery(i),jQuery(".no-js").removeClass("no-js"),n.sliderId="#"+n.$elem.attr("id"),n.$sliderId=jQuery(n.sliderId),n.options=jQuery.extend({},jQuery.fn.liquidSlider.options,e),n.pSign=n.options.responsive?"%":"px",n.determineAnimationType(),n.options.responsive||(n.options.mobileNavigation=!1,n.options.hideArrowsWhenMobile=!1),"animate.css"===n.options.slideEaseFunction&&(n.useCSS?(n.options.continuous=!1,n.animateCSS=!0):n.options.slideEaseFunction=n.options.slideEaseFunctionFallback),n.build(),n.events(),!n.options.responsive&&n.options.dynamicArrows&&n.$sliderWrap.width(n.$sliderId.outerWidth(!0)+n.leftArrow.outerWidth(!0)+n.rightArrow.outerWidth(!0)),n.loaded=!0,n.options.preload.call(n)},build:function(){var e,i=this;"ls-wrapper"!==i.$sliderId.parent().attr("class")&&i.$sliderId.wrap('<div id="'+i.$elem.attr("id")+'-wrapper" class="ls-wrapper"></div>'),i.$sliderWrap=jQuery(i.sliderId+"-wrapper"),i.options.preloader&&i.addPreloader(),jQuery(i.sliderId).children().addClass(i.$elem.attr("id")+"-panel ls-panel"),i.panelClass=i.sliderId+" ."+i.$elem.attr("id")+"-panel:not(.clone)",i.$panelClass=jQuery(i.panelClass),i.$panelClass.wrapAll('<div class="panel-container"></div>'),i.$panelClass.wrapInner('<div class="panel-wrapper"></div>'),i.panelContainer=i.$panelClass.parent(),i.$panelContainer=i.panelContainer,i.options.hashLinking&&i.buildHashTags(),"fade"===i.options.slideEaseFunction&&(i.$panelClass.addClass("fade"),i.options.continuous=!1,i.fade=!0),i.options.dynamicTabs?i.addNavigation():i.options.mobileNavigation=!1,i.options.dynamicArrows?i.addArrows():(i.options.hoverArrows=!1,i.options.hideSideArrows=!1,i.options.hideArrowsWhenMobile=!1),e=i.$leftArrow&&"absolute"===i.$leftArrow.css("position")?0:1,i.totalSliderWidth=i.$sliderId.outerWidth(!0)+jQuery(i.$leftArrow).outerWidth(!0)*e+jQuery(i.$rightArrow).outerWidth(!0)*e,jQuery(i.$sliderWrap).css("width",i.totalSliderWidth),i.options.dynamicTabs&&i.alignNavigation(),i.options.hideSideArrows&&(i.options.continuous=!1),i.options.continuous&&(i.$panelContainer.prepend(i.$panelContainer.children().last().clone().addClass("clone")),i.$panelContainer.append(i.$panelContainer.children().eq(1).clone().addClass("clone")));var n=i.options.continuous?2:0;i.panelCount=jQuery(i.panelClass).length,i.panelCountTotal=i.fade?1:i.panelCount+n,i.panelWidth=jQuery(i.panelClass).outerWidth(),i.totalWidth=i.panelCountTotal*i.panelWidth,jQuery(i.sliderId+" .panel-container").css("width",i.totalWidth),i.slideDistance=i.options.responsive?100:jQuery(i.sliderId).outerWidth(),i.useCSS&&i.options.responsive&&(i.totalWidth=100*i.panelCountTotal,i.slideDistance=100/i.panelCountTotal),i.options.responsive&&i.makeResponsive(),i.prepareTransition(i.getFirstPanel(),!0),i.updateClass()},determineAnimationType:function(){var e=this,i="Webkit Moz O ms Khtml".split(" "),n="",t=0;if(e.useCSS=!1,e.elem.style.animationName&&(e.useCSS=!0),!1===e.useCSS)for(t=0;t<i.length;t++)if(void 0!==e.elem.style[i[t]+"AnimationName"]){(n=i[t])+"Animation","-"+n.toLowerCase()+"-",e.useCSS=!0;break}document.documentElement.clientWidth>e.options.useCSSMaxWidth&&(e.useCSS=!1)},configureCSSTransitions:function(e,i){var n,t,o,a,s=this;s.easing={easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175,.885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},o=s.easing[s.options.slideEaseFunction]||s.options.slideEaseFunction,a=s.easing[s.options.heightEaseFunction]||s.options.heightEaseFunction,s.useCSS&&(n="all "+(e||s.options.slideEaseDuration)+"ms "+o,t="all "+(i||s.options.heightEaseDuration)+"ms "+a,jQuery(s.panelContainer).css({"-webkit-transition":n,"-moz-transition":n,"-ms-transition":n,"-o-transition":n,transition:n}),s.options.autoHeight&&s.$sliderId.css({"-webkit-transition":t,"-moz-transition":t,"-ms-transition":t,"-o-transition":t,transition:t}))},transitionFade:function(){var e=this;jQuery(e.panelClass).eq(e.nextPanel).fadeTo(e.options.fadeInDuration,1).css("z-index",1),jQuery(e.panelClass).eq(e.prevPanel).fadeTo(e.options.fadeOutDuration,0).css("z-index",0),e.callback(e.options.callback,!0)},hover:function(){var e=this;e.$sliderWrap.hover(function(){e.options.hoverArrows&&e.hideShowArrows(e.options.fadeInDuration,!0,!0,!1),e.options.pauseOnHover&&clearTimeout(e.autoSlideTimeout)},function(){e.options.hoverArrows&&e.hideShowArrows(e.options.fadeOutnDuration,!0,!1,!0),e.options.pauseOnHover&&e.options.autoSlide&&e.startAutoSlide(!0)})},events:function(){var e=this;e.options.dynamicArrows&&e.registerArrows(),e.options.dynamicTabs&&e.registerNav(),e.options.swipe&&e.registerTouch(),e.options.keyboardNavigation&&e.registerKeyboard(),e.$sliderWrap.find("*").on("click",function(){e.options.forceAutoSlide?e.startAutoSlide(!0):e.options.autoSlide&&e.stopAutoSlide()}),e.hover()},setNextPanel:function(e){var i=this;e!==i.nextPanel&&(i.prevPanel=i.nextPanel,i.loaded&&("number"==typeof e?i.nextPanel=e:(i.nextPanel+=~~("right"===e)||-1,i.options.continuous||(i.nextPanel=i.nextPanel<0?i.panelCount-1:i.nextPanel%i.panelCount)),i.fade||i.animateCSS?i.prepareTransition(i.nextPanel):i.verifyPanel()))},getFirstPanel:function(){var e,i=this;return i.options.hashLinking&&-1===(e=jQuery.inArray(i.convertRegex(window.location.hash),i.hashLinks))&&(e=0),e||i.options.firstPanelToLoad-1},getFromPanel:function(e,i){return this.convertRegex(this.$panelClass.find(e).eq(i).text())},convertRegex:function(e){return jQuery.trim(e).replace(/[^\w -]+/g,"").replace(/ +/g,"-").toLowerCase()},updateClass:function(e){var i=this;i.options.dynamicTabs&&jQuery(i.$sliderWrap).find("> .ls-nav .tab"+i.sanitizeNumber(i.nextPanel)).addClass("current").siblings().removeClass("current"),i.$panelClass.eq(i.sanitizeNumber(i.nextPanel)-1).addClass("currentPanel").siblings().removeClass("currentPanel"),i.$clones=jQuery(i.sliderId+" .clone"),!i.options.continuous||-1!==i.nextPanel&&i.nextPanel!==i.panelCount?i.$clones.removeClass("currentPanel"):i.$clones.addClass("currentPanel"),e&&($(".ls-current").removeClass("ls-current"),e.addClass("ls-current"))},sanitizeNumber:function(e){switch(!0){case e>=this.panelCount:return 1;case e<=-1:return this.panelCount;default:return e+1}},finalize:function(){var e=this,i=e.options.autoHeight?e.getHeight():e.getHeighestPanel(e.nextPanel);e.options.autoHeight&&e.adjustHeight(!0,i),e.options.autoSlide&&e.autoSlide(),e.options.preloader&&e.removePreloader(),e.onload()},callback:function(e,i){var n=this;e&&n.loaded&&(n.useCSS&&void 0!==i?jQuery(".panel-container").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){e.call(n)}):setTimeout(function(){e.call(n)},n.options.slideEaseDuration+50))},onload:function(){this.options.onload.call(this)},prepareTransition:function(e,i,n,t){var o=this;o.nextPanel=e||0,n||o.pretransition(o.options.pretransition),o.noAnimation=i,o.noPosttransition=t,!o.loaded||n?o.transition():o.options.pretransition.call(o)},pretransition:function(){var e=this;e.options.hashLinking&&e.updateHashTags(),e.options.mobileNavigation&&e.dropdownSelect.val("tab"+(e.nextPanel+1)),e.options.hideSideArrows&&e.hideShowArrows(),e.updateClass()},getTransitionMargin:function(){return-this.nextPanel*this.slideDistance-this.slideDistance*~~this.options.continuous},transition:function(){var e=this,i=e.getTransitionMargin();if(e.animateCSS&&e.loaded)return e.transitionOutAnimateCSS(),!1;if(i+e.pSign!==e.panelContainer.css("margin-left")||-100!==i)switch(e.options.autoHeight&&!e.animateCSS&&e.adjustHeight(!0,e.getHeight()),!0){case e.fade:e.transitionFade();break;case e.animateCSS:e.transitionInAnimateCSS(i);break;case e.useCSS:e.transitionCSS(i,e.noAnimation);break;default:e.transitionjQuery(i,e.noAnimation)}e.noPosttransition||e.callback(e.options.callback)},transitionOutAnimateCSS:function(){var e=this;jQuery(e.panelClass).removeClass(e.options.animateIn+" animated"),jQuery(e.panelClass).eq(e.prevPanel).addClass("animated "+e.options.animateOut),e.callback(e.transitionInAnimateCSS,void 0)},transitionInAnimateCSS:function(){var e=this;e.options.autoHeight&&e.adjustHeight(!1,e.getHeight()),e.transitionCSS(e.getTransitionMargin(),!e.loaded),jQuery(e.panelClass).removeClass(e.options.animateOut+" animated"),jQuery(e.panelClass).eq(e.nextPanel).addClass("animated "+e.options.animateIn),e.callback(e.options.callback,void 0)},transitionCSS:function(e,i){var n=this;i&&n.configureCSSTransitions("0","0"),n.panelContainer.css({"-webkit-transform":"translate3d("+e+n.pSign+", 0, 0)","-moz-transform":"translate3d("+e+n.pSign+", 0, 0)","-ms-transform":"translate3d("+e+n.pSign+", 0, 0)","-o-transform":"translate3d("+e+n.pSign+", 0, 0)",transform:"translate3d("+e+n.pSign+", 0, 0)"}),i?n.callback(function(){n.configureCSSTransitions()}):n.configureCSSTransitions()},transitionjQuery:function(e,i){var n=this;i?n.panelContainer.css("margin-left",e+n.pSign):n.panelContainer.animate({"margin-left":e+n.pSign},{easing:jQuery.easing.hasOwnProperty(n.options.slideEaseFunction)?n.options.slideEaseFunction:n.options.slideEaseFunctionFallback,duration:n.options.slideEaseDuration,queue:!1})},getHeight:function(e){var i=this;return e=(e=e||i.$panelClass.eq(i.sanitizeNumber(i.nextPanel)-1).outerHeight(!0))<i.options.minHeight?i.options.minHeight:e},getHeighestPanel:function(){var e,i=0;if(this.$panelClass.each(function(){e=jQuery(this).outerHeight(!0),i=i<e?e:i}),this.options.autoHeight)return i},verifyPanel:function(){var e=this,i=!1;if(e.options.continuous)switch(!0){case e.nextPanel>e.panelCount:e.nextPanel=e.panelCount,e.setNextPanel(e.panelCount);break;case e.nextPanel<-1:e.nextPanel=-1,e.setNextPanel(-1);break;case i||e.nextPanel===e.panelCount||-1===e.nextPanel:e.prepareTransition(e.nextPanel),e.updateClass(),clearTimeout(n);var n=setTimeout(function(){e.nextPanel===e.panelCount?e.prepareTransition(0,!0,!0,!0):-1===e.nextPanel&&e.prepareTransition(e.panelCount-1,!0,!0,!0)},e.options.slideEaseDuration+50);break;default:i=!0,e.prepareTransition(e.nextPanel)}else e.nextPanel===e.panelCount?e.nextPanel=0:-1===e.nextPanel&&(e.nextPanel=e.panelCount-1),e.prepareTransition(e.nextPanel)},addNavigation:function(i){var n=this,e="<"+n.options.navElementTag+' class="ls-nav"><ul id="'+n.$elem.attr("id")+'-nav-ul"></ul></'+n.options.navElementTag+">";if("bottom"===n.options.dynamicTabsPosition?n.$sliderId.after(e):n.$sliderId.before(e),n.options.mobileNavigation){var t=n.options.mobileNavDefaultText?'<option disabled="disabled" selected="selected">'+n.options.mobileNavDefaultText+"</option>":null,o='<div class="ls-select-box"><select id="'+n.$elem.attr("id")+'-nav-select" name="navigation">'+t+"</select></div>";n.navigation=jQuery(n.sliderId+"-nav-ul").before(o),n.dropdown=jQuery(n.sliderId+"-wrapper .ls-select-box"),n.dropdownSelect=jQuery(n.sliderId+"-nav-select"),jQuery.each(n.$elem.find(n.options.panelTitleSelector),function(e){jQuery(n.$sliderWrap).find(".ls-select-box select").append('<option value="tab'+(e+1)+'">'+jQuery(this).text()+"</option>")})}jQuery.each(n.$elem.find(n.options.panelTitleSelector),function(e){jQuery(n.$sliderWrap).find(".ls-nav ul").append('<li class="tab'+(e+1)+'"><a class="'+(i||"")+'" href="#'+(e+1)+'">'+n.getNavInsides(this)+"</a></li>"),n.options.includeTitle||jQuery(this).remove()})},getNavInsides:function(e){return this.options.dynamicTabsHtml?jQuery(e).html():jQuery(e).text()},alignNavigation:function(){var e=this,i=e.options.dynamicArrowsGraphical?"-arrow":"";"center"!==e.options.dynamicTabsAlign&&(e.options.responsive||jQuery(e.$sliderWrap).find(".ls-nav ul").css("margin-"+e.options.dynamicTabsAlign,jQuery(e.$sliderWrap).find(".ls-nav-"+e.options.dynamicTabsAlign+i).outerWidth(!0)+parseInt(e.$sliderId.css("margin-"+e.options.dynamicTabsAlign),10)),jQuery(e.$sliderWrap).find(".ls-nav ul").css("float",e.options.dynamicTabsAlign)),e.totalNavWidth=jQuery(e.$sliderWrap).find(".ls-nav ul").outerWidth(!0),"center"===e.options.dynamicTabsAlign&&(e.totalNavWidth=0,jQuery(e.$sliderWrap).find(".ls-nav li a").each(function(){e.totalNavWidth+=jQuery(this).outerWidth(!0)}),jQuery(e.$sliderWrap).find(".ls-nav ul").css("width",e.totalNavWidth+1))},registerNav:function(){var i=this;i.$sliderWrap.find("[class^=ls-nav] li").on("click",function(e){return e.preventDefault(),i.setNextPanel(parseInt(jQuery(this).attr("class").split("tab")[1],10)-1),!1})},addArrows:function(e){var i=this,n=i.options.dynamicArrowsGraphical?"-arrow ":" ";i.$sliderWrap.addClass("arrows"),i.options.dynamicArrowsGraphical&&(i.options.dynamicArrowLeftText="",i.options.dynamicArrowRightText=""),i.$sliderId.before('<div class="ls-nav-left'+n+(e||"")+'"><a href="#">'+i.options.dynamicArrowLeftText+"</a></div>"),i.$sliderId.after('<div class="ls-nav-right'+n+(e||"")+'"><a href="#">'+i.options.dynamicArrowRightText+"</a></div>"),i.leftArrow=jQuery(i.sliderId+"-wrapper [class^=ls-nav-left]").css("visibility","hidden").addClass("ls-hidden"),i.rightArrow=jQuery(i.sliderId+"-wrapper [class^=ls-nav-right]").css("visibility","hidden").addClass("ls-hidden"),i.options.hoverArrows||i.hideShowArrows(void 0,!0,!0,!1)},hideShowArrows:function(e,i,n,t){var o=this,a=void 0!==e?e:o.options.fadeOutDuration,s=void 0!==e?e:o.options.fadeInDuration,r=i?"visible":"hidden";n||!t&&1!==o.sanitizeNumber(o.nextPanel)?(n||o.leftArrow.hasClass("ls-hidden"))&&o.leftArrow.stop().css("visibility","visible").fadeTo(s,1).removeClass("ls-hidden"):o.leftArrow.stop().fadeTo(a,0,function(){jQuery(this).css("visibility",r).addClass("ls-hidden")}),n||!t&&o.sanitizeNumber(o.nextPanel)!==o.panelCount?(n||o.rightArrow.hasClass("ls-hidden"))&&o.rightArrow.stop().css("visibility","visible").fadeTo(s,1).removeClass("ls-hidden"):o.rightArrow.stop().fadeTo(a,0,function(){jQuery(this).css("visibility",r).addClass("ls-hidden")})},registerArrows:function(){var i=this;jQuery(i.$sliderWrap.find("[class^=ls-nav-]")).on("click",function(e){e.preventDefault(),i.setNextPanel(jQuery(this).attr("class").split(" ")[0].split("-")[2])})},adjustHeight:function(e,i,n,t){var o=this;if(e||o.useCSS)return e&&o.configureCSSTransitions("0","0"),o.$sliderId.height(i),void(e&&o.configureCSSTransitions());o.$sliderId.animate({height:i+"px"},{easing:jQuery.easing.hasOwnProperty(n||o.options.heightEaseFunction)?n||o.options.heightEaseFunction:o.options.slideEaseFunctionFallback,duration:t||o.options.heightEaseDuration,queue:!1})},autoSlide:function(){var e=this;e.options.autoSlideInterval<e.options.slideEaseDuration&&(e.options.autoSlideInterval=e.options.slideEaseDuration>e.options.heightEaseDuration?e.options.slideEaseDuration:e.options.heightEaseDuration),e.autoSlideTimeout=document.hasFocus()?setTimeout(function(){e.setNextPanel(e.options.autoSlideDirection),e.autoSlide()},e.options.autoSlideInterval):void 0,jQuery(window).on("focus",function(){e.startAutoSlide(!0)}),jQuery(window).on("blur",function(){e.stopAutoSlide()})},stopAutoSlide:function(){this.options.autoSlide=!1,clearTimeout(this.autoSlideTimeout)},startAutoSlide:function(e){var i=this;i.options.autoSlide=!0,e||i.setNextPanel(i.options.autoSlideDirection),i.autoSlide(clearTimeout(i.autoSlideTimeout))},buildHashTags:function(){var e=this;e.hashLinks=[],jQuery(e.panelClass+" "+e.options.hashTitleSelector).each(function(){e.hashLinks.push(e.convertRegex(jQuery(this).text()))})},updateHashTags:function(){window.location.hash=this.hashLinks[this.sanitizeNumber(this.nextPanel)-1]},registerKeyboard:function(){var t=this;jQuery(document).keydown(function(e){var n=e.keyCode||e.which;"textarea"!==e.target.type&&"textbox"!==e.target.type&&(t.options.forceAutoSlide||jQuery(this).trigger("click"),n===t.options.leftKey&&t.setNextPanel("right"),n===t.options.rightKey&&t.setNextPanel("left"),jQuery.each(t.options.panelKeys,function(e,i){n===i&&t.setNextPanel(e-1)}))})},addPreloader:function(){jQuery(this.sliderId+"-wrapper").append('<div class="ls-preloader"></div>')},removePreloader:function(){jQuery(this.sliderId+"-wrapper .ls-preloader").fadeTo("slow",0,function(){jQuery(this).remove()})},makeResponsive:function(){var i=this;jQuery(i.sliderId+"-wrapper").addClass("ls-responsive").css({"max-width":jQuery(i.sliderId+" .ls-panel:first-child").width(),width:"100%"}),jQuery(i.sliderId+" .panel-container").css("width",100*i.panelCountTotal+i.pSign),jQuery(i.sliderId+" .ls-panel").css("width",100/i.panelCountTotal+i.pSign),i.options.hideArrowsWhenMobile&&(i.leftWrapperPadding=jQuery(i.sliderId+"-wrapper").css("padding-left"),i.rightWrapperPadding=i.$sliderWrap.css("padding-right")),i.responsiveEvents(),jQuery(window).bind("resize orientationchange",function(){i.responsiveEvents(),clearTimeout(i.resizingTimeout),i.resizingTimeout=setTimeout(function(){var e=i.options.autoHeight?i.getHeight():i.getHeighestPanel(i.nextPanel);i.adjustHeight(!1,e)},500)})},responsiveEvents:function(){var e=this,i=e.options.hideArrowsThreshold||e.options.mobileUIThreshold||e.totalNavWidth+10;e.$sliderId.outerWidth()<i?(e.options.mobileNavigation&&(e.navigation.css("display","none"),e.dropdown.css("display","block"),e.dropdownSelect.css("display","block"),jQuery(e.sliderId+"-nav-select").val(e.options.mobileNavDefaultText)),e.options.dynamicArrows&&(e.options.hideArrowsWhenMobile?(e.leftArrow.remove().length=0,e.rightArrow.remove().length=0):e.options.dynamicArrowsGraphical||(e.leftArrow.css("margin-"+e.options.dynamicTabsPosition,"0"),e.rightArrow.css("margin-"+e.options.dynamicTabsPosition,"0")))):(e.options.mobileNavigation&&(e.navigation.css("display","block"),e.dropdown.css("display","none"),e.dropdownSelect.css("display","none")),e.options.dynamicArrows&&(!e.options.hideArrowsWhenMobile||e.leftArrow.length&&e.rightArrow.length?!e.options.dynamicArrowsGraphical&&e.options.mobileNavigation&&(e.leftArrow.css("margin-"+e.options.dynamicTabsPosition,e.navigation.css("height")),e.rightArrow.css("margin-"+e.options.dynamicTabsPosition,e.navigation.css("height"))):(e.addArrows(),e.registerArrows()))),jQuery(e.sliderId+"-wrapper").css("width","100%"),e.loaded&&jQuery(e.sliderId+" .ls-panel").width(100/e.panelCountTotal+e.pSign),e.options.mobileNavigation&&e.dropdownSelect.change(function(){e.setNextPanel(parseInt(jQuery(this).val().split("tab")[1],10)-1)})},registerTouch:function(){var n=this,e=n.options.swipeArgs||{fallbackToMouseEvents:!1,allowPageScroll:"vertical",swipe:function(e,i){if("up"===i||"down"===i)return!1;n.swipeDir="left"===i?"right":"left",n.setNextPanel(n.swipeDir)}};jQuery(n.sliderId+" .ls-panel").swipe(e)}};
wget 'https://lists2.roe3.org/guppy/inc/liquidslider/js/jquery.touchSwipe.min.js'
/*!
* @fileOverview TouchSwipe - jQuery Plugin
* @version 1.6.18
*
* @author Matt Bryson http://www.github.com/mattbryson
* @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
* @see http://labs.rampinteractive.co.uk/touchSwipe/
* @see http://plugins.jquery.com/project/touchSwipe
* @license
* Copyright (c) 2010-2015 Matt Bryson
* Dual licensed under the MIT or GPL Version 2 licenses.
*
*/
!function(factory){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],factory):factory("undefined"!=typeof module&&module.exports?require("jquery"):jQuery)}(function($){"use strict";function init(options){return!options||void 0!==options.allowPageScroll||void 0===options.swipe&&void 0===options.swipeStatus||(options.allowPageScroll=NONE),void 0!==options.click&&void 0===options.tap&&(options.tap=options.click),options||(options={}),options=$.extend({},$.fn.swipe.defaults,options),this.each(function(){var $this=$(this),plugin=$this.data(PLUGIN_NS);plugin||(plugin=new TouchSwipe(this,options),$this.data(PLUGIN_NS,plugin))})}function TouchSwipe(element,options){function touchStart(jqEvent){if(!(getTouchInProgress()||$(jqEvent.target).closest(options.excludedElements,$element).length>0)){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;if(!event.pointerType||"mouse"!=event.pointerType||0!=options.fallbackToMouseEvents){var ret,touches=event.touches,evt=touches?touches[0]:event;return phase=PHASE_START,touches?fingerCount=touches.length:options.preventDefaultEvents!==!1&&jqEvent.preventDefault(),distance=0,direction=null,currentDirection=null,pinchDirection=null,duration=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,pinchDistance=0,maximumsMap=createMaximumsData(),cancelMultiFingerRelease(),createFingerData(0,evt),!touches||fingerCount===options.fingers||options.fingers===ALL_FINGERS||hasPinches()?(startTime=getTimeStamp(),2==fingerCount&&(createFingerData(1,touches[1]),startTouchesDistance=endTouchesDistance=calculateTouchesDistance(fingerData[0].start,fingerData[1].start)),(options.swipeStatus||options.pinchStatus)&&(ret=triggerHandler(event,phase))):ret=!1,ret===!1?(phase=PHASE_CANCEL,triggerHandler(event,phase),ret):(options.hold&&(holdTimeout=setTimeout($.proxy(function(){$element.trigger("hold",[event.target]),options.hold&&(ret=options.hold.call($element,event,event.target))},this),options.longTapThreshold)),setTouchInProgress(!0),null)}}}function touchMove(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;if(phase!==PHASE_END&&phase!==PHASE_CANCEL&&!inMultiFingerRelease()){var ret,touches=event.touches,evt=touches?touches[0]:event,currentFinger=updateFingerData(evt);if(endTime=getTimeStamp(),touches&&(fingerCount=touches.length),options.hold&&clearTimeout(holdTimeout),phase=PHASE_MOVE,2==fingerCount&&(0==startTouchesDistance?(createFingerData(1,touches[1]),startTouchesDistance=endTouchesDistance=calculateTouchesDistance(fingerData[0].start,fingerData[1].start)):(updateFingerData(touches[1]),endTouchesDistance=calculateTouchesDistance(fingerData[0].end,fingerData[1].end),pinchDirection=calculatePinchDirection(fingerData[0].end,fingerData[1].end)),pinchZoom=calculatePinchZoom(startTouchesDistance,endTouchesDistance),pinchDistance=Math.abs(startTouchesDistance-endTouchesDistance)),fingerCount===options.fingers||options.fingers===ALL_FINGERS||!touches||hasPinches()){if(direction=calculateDirection(currentFinger.start,currentFinger.end),currentDirection=calculateDirection(currentFinger.last,currentFinger.end),validateDefaultEvent(jqEvent,currentDirection),distance=calculateDistance(currentFinger.start,currentFinger.end),duration=calculateDuration(),setMaxDistance(direction,distance),ret=triggerHandler(event,phase),!options.triggerOnTouchEnd||options.triggerOnTouchLeave){var inBounds=!0;if(options.triggerOnTouchLeave){var bounds=getbounds(this);inBounds=isInBounds(currentFinger.end,bounds)}!options.triggerOnTouchEnd&&inBounds?phase=getNextPhase(PHASE_MOVE):options.triggerOnTouchLeave&&!inBounds&&(phase=getNextPhase(PHASE_END)),phase!=PHASE_CANCEL&&phase!=PHASE_END||triggerHandler(event,phase)}}else phase=PHASE_CANCEL,triggerHandler(event,phase);ret===!1&&(phase=PHASE_CANCEL,triggerHandler(event,phase))}}function touchEnd(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent,touches=event.touches;if(touches){if(touches.length&&!inMultiFingerRelease())return startMultiFingerRelease(event),!0;if(touches.length&&inMultiFingerRelease())return!0}return inMultiFingerRelease()&&(fingerCount=fingerCountAtRelease),endTime=getTimeStamp(),duration=calculateDuration(),didSwipeBackToCancel()||!validateSwipeDistance()?(phase=PHASE_CANCEL,triggerHandler(event,phase)):options.triggerOnTouchEnd||options.triggerOnTouchEnd===!1&&phase===PHASE_MOVE?(options.preventDefaultEvents!==!1&&jqEvent.cancelable!==!1&&jqEvent.preventDefault(),phase=PHASE_END,triggerHandler(event,phase)):!options.triggerOnTouchEnd&&hasTap()?(phase=PHASE_END,triggerHandlerForGesture(event,phase,TAP)):phase===PHASE_MOVE&&(phase=PHASE_CANCEL,triggerHandler(event,phase)),setTouchInProgress(!1),null}function touchCancel(){fingerCount=0,endTime=0,startTime=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,cancelMultiFingerRelease(),setTouchInProgress(!1)}function touchLeave(jqEvent){var event=jqEvent.originalEvent?jqEvent.originalEvent:jqEvent;options.triggerOnTouchLeave&&(phase=getNextPhase(PHASE_END),triggerHandler(event,phase))}function removeListeners(){$element.unbind(START_EV,touchStart),$element.unbind(CANCEL_EV,touchCancel),$element.unbind(MOVE_EV,touchMove),$element.unbind(END_EV,touchEnd),LEAVE_EV&&$element.unbind(LEAVE_EV,touchLeave),setTouchInProgress(!1)}function getNextPhase(currentPhase){var nextPhase=currentPhase,validTime=validateSwipeTime(),validDistance=validateSwipeDistance(),didCancel=didSwipeBackToCancel();return!validTime||didCancel?nextPhase=PHASE_CANCEL:!validDistance||currentPhase!=PHASE_MOVE||options.triggerOnTouchEnd&&!options.triggerOnTouchLeave?!validDistance&¤tPhase==PHASE_END&&options.triggerOnTouchLeave&&(nextPhase=PHASE_CANCEL):nextPhase=PHASE_END,nextPhase}function triggerHandler(event,phase){var ret,touches=event.touches;return(didSwipe()||hasSwipes())&&(ret=triggerHandlerForGesture(event,phase,SWIPE)),(didPinch()||hasPinches())&&ret!==!1&&(ret=triggerHandlerForGesture(event,phase,PINCH)),didDoubleTap()&&ret!==!1?ret=triggerHandlerForGesture(event,phase,DOUBLE_TAP):didLongTap()&&ret!==!1?ret=triggerHandlerForGesture(event,phase,LONG_TAP):didTap()&&ret!==!1&&(ret=triggerHandlerForGesture(event,phase,TAP)),phase===PHASE_CANCEL&&touchCancel(event),phase===PHASE_END&&(touches?touches.length||touchCancel(event):touchCancel(event)),ret}function triggerHandlerForGesture(event,phase,gesture){var ret;if(gesture==SWIPE){if($element.trigger("swipeStatus",[phase,direction||null,distance||0,duration||0,fingerCount,fingerData,currentDirection]),options.swipeStatus&&(ret=options.swipeStatus.call($element,event,phase,direction||null,distance||0,duration||0,fingerCount,fingerData,currentDirection),ret===!1))return!1;if(phase==PHASE_END&&validateSwipe()){if(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),$element.trigger("swipe",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipe&&(ret=options.swipe.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection),ret===!1))return!1;switch(direction){case LEFT:$element.trigger("swipeLeft",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeLeft&&(ret=options.swipeLeft.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case RIGHT:$element.trigger("swipeRight",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeRight&&(ret=options.swipeRight.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case UP:$element.trigger("swipeUp",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeUp&&(ret=options.swipeUp.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection));break;case DOWN:$element.trigger("swipeDown",[direction,distance,duration,fingerCount,fingerData,currentDirection]),options.swipeDown&&(ret=options.swipeDown.call($element,event,direction,distance,duration,fingerCount,fingerData,currentDirection))}}}if(gesture==PINCH){if($element.trigger("pinchStatus",[phase,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchStatus&&(ret=options.pinchStatus.call($element,event,phase,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData),ret===!1))return!1;if(phase==PHASE_END&&validatePinch())switch(pinchDirection){case IN:$element.trigger("pinchIn",[pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchIn&&(ret=options.pinchIn.call($element,event,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData));break;case OUT:$element.trigger("pinchOut",[pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData]),options.pinchOut&&(ret=options.pinchOut.call($element,event,pinchDirection||null,pinchDistance||0,duration||0,fingerCount,pinchZoom,fingerData))}}return gesture==TAP?phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),hasDoubleTap()&&!inDoubleTap()?(doubleTapStartTime=getTimeStamp(),singleTapTimeout=setTimeout($.proxy(function(){doubleTapStartTime=null,$element.trigger("tap",[event.target]),options.tap&&(ret=options.tap.call($element,event,event.target))},this),options.doubleTapThreshold)):(doubleTapStartTime=null,$element.trigger("tap",[event.target]),options.tap&&(ret=options.tap.call($element,event,event.target)))):gesture==DOUBLE_TAP?phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),clearTimeout(holdTimeout),doubleTapStartTime=null,$element.trigger("doubletap",[event.target]),options.doubleTap&&(ret=options.doubleTap.call($element,event,event.target))):gesture==LONG_TAP&&(phase!==PHASE_CANCEL&&phase!==PHASE_END||(clearTimeout(singleTapTimeout),doubleTapStartTime=null,$element.trigger("longtap",[event.target]),options.longTap&&(ret=options.longTap.call($element,event,event.target)))),ret}function validateSwipeDistance(){var valid=!0;return null!==options.threshold&&(valid=distance>=options.threshold),valid}function didSwipeBackToCancel(){var cancelled=!1;return null!==options.cancelThreshold&&null!==direction&&(cancelled=getMaxDistance(direction)-distance>=options.cancelThreshold),cancelled}function validatePinchDistance(){return null===options.pinchThreshold||pinchDistance>=options.pinchThreshold}function validateSwipeTime(){var result;return result=!options.maxTimeThreshold||!(duration>=options.maxTimeThreshold)}function validateDefaultEvent(jqEvent,direction){if(options.preventDefaultEvents!==!1)if(options.allowPageScroll===NONE)jqEvent.preventDefault();else{var auto=options.allowPageScroll===AUTO;switch(direction){case LEFT:(options.swipeLeft&&auto||!auto&&options.allowPageScroll!=HORIZONTAL)&&jqEvent.preventDefault();break;case RIGHT:(options.swipeRight&&auto||!auto&&options.allowPageScroll!=HORIZONTAL)&&jqEvent.preventDefault();break;case UP:(options.swipeUp&&auto||!auto&&options.allowPageScroll!=VERTICAL)&&jqEvent.preventDefault();break;case DOWN:(options.swipeDown&&auto||!auto&&options.allowPageScroll!=VERTICAL)&&jqEvent.preventDefault();break;case NONE:}}}function validatePinch(){var hasCorrectFingerCount=validateFingers(),hasEndPoint=validateEndPoint(),hasCorrectDistance=validatePinchDistance();return hasCorrectFingerCount&&hasEndPoint&&hasCorrectDistance}function hasPinches(){return!!(options.pinchStatus||options.pinchIn||options.pinchOut)}function didPinch(){return!(!validatePinch()||!hasPinches())}function validateSwipe(){var hasValidTime=validateSwipeTime(),hasValidDistance=validateSwipeDistance(),hasCorrectFingerCount=validateFingers(),hasEndPoint=validateEndPoint(),didCancel=didSwipeBackToCancel(),valid=!didCancel&&hasEndPoint&&hasCorrectFingerCount&&hasValidDistance&&hasValidTime;return valid}function hasSwipes(){return!!(options.swipe||options.swipeStatus||options.swipeLeft||options.swipeRight||options.swipeUp||options.swipeDown)}function didSwipe(){return!(!validateSwipe()||!hasSwipes())}function validateFingers(){return fingerCount===options.fingers||options.fingers===ALL_FINGERS||!SUPPORTS_TOUCH}function validateEndPoint(){return 0!==fingerData[0].end.x}function hasTap(){return!!options.tap}function hasDoubleTap(){return!!options.doubleTap}function hasLongTap(){return!!options.longTap}function validateDoubleTap(){if(null==doubleTapStartTime)return!1;var now=getTimeStamp();return hasDoubleTap()&&now-doubleTapStartTime<=options.doubleTapThreshold}function inDoubleTap(){return validateDoubleTap()}function validateTap(){return(1===fingerCount||!SUPPORTS_TOUCH)&&(isNaN(distance)||distance<options.threshold)}function validateLongTap(){return duration>options.longTapThreshold&&distance<DOUBLE_TAP_THRESHOLD}function didTap(){return!(!validateTap()||!hasTap())}function didDoubleTap(){return!(!validateDoubleTap()||!hasDoubleTap())}function didLongTap(){return!(!validateLongTap()||!hasLongTap())}function startMultiFingerRelease(event){previousTouchEndTime=getTimeStamp(),fingerCountAtRelease=event.touches.length+1}function cancelMultiFingerRelease(){previousTouchEndTime=0,fingerCountAtRelease=0}function inMultiFingerRelease(){var withinThreshold=!1;if(previousTouchEndTime){var diff=getTimeStamp()-previousTouchEndTime;diff<=options.fingerReleaseThreshold&&(withinThreshold=!0)}return withinThreshold}function getTouchInProgress(){return!($element.data(PLUGIN_NS+"_intouch")!==!0)}function setTouchInProgress(val){$element&&(val===!0?($element.bind(MOVE_EV,touchMove),$element.bind(END_EV,touchEnd),LEAVE_EV&&$element.bind(LEAVE_EV,touchLeave)):($element.unbind(MOVE_EV,touchMove,!1),$element.unbind(END_EV,touchEnd,!1),LEAVE_EV&&$element.unbind(LEAVE_EV,touchLeave,!1)),$element.data(PLUGIN_NS+"_intouch",val===!0))}function createFingerData(id,evt){var f={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return f.start.x=f.last.x=f.end.x=evt.pageX||evt.clientX,f.start.y=f.last.y=f.end.y=evt.pageY||evt.clientY,fingerData[id]=f,f}function updateFingerData(evt){var id=void 0!==evt.identifier?evt.identifier:0,f=getFingerData(id);return null===f&&(f=createFingerData(id,evt)),f.last.x=f.end.x,f.last.y=f.end.y,f.end.x=evt.pageX||evt.clientX,f.end.y=evt.pageY||evt.clientY,f}function getFingerData(id){return fingerData[id]||null}function setMaxDistance(direction,distance){direction!=NONE&&(distance=Math.max(distance,getMaxDistance(direction)),maximumsMap[direction].distance=distance)}function getMaxDistance(direction){if(maximumsMap[direction])return maximumsMap[direction].distance}function createMaximumsData(){var maxData={};return maxData[LEFT]=createMaximumVO(LEFT),maxData[RIGHT]=createMaximumVO(RIGHT),maxData[UP]=createMaximumVO(UP),maxData[DOWN]=createMaximumVO(DOWN),maxData}function createMaximumVO(dir){return{direction:dir,distance:0}}function calculateDuration(){return endTime-startTime}function calculateTouchesDistance(startPoint,endPoint){var diffX=Math.abs(startPoint.x-endPoint.x),diffY=Math.abs(startPoint.y-endPoint.y);return Math.round(Math.sqrt(diffX*diffX+diffY*diffY))}function calculatePinchZoom(startDistance,endDistance){var percent=endDistance/startDistance*1;return percent.toFixed(2)}function calculatePinchDirection(){return pinchZoom<1?OUT:IN}function calculateDistance(startPoint,endPoint){return Math.round(Math.sqrt(Math.pow(endPoint.x-startPoint.x,2)+Math.pow(endPoint.y-startPoint.y,2)))}function calculateAngle(startPoint,endPoint){var x=startPoint.x-endPoint.x,y=endPoint.y-startPoint.y,r=Math.atan2(y,x),angle=Math.round(180*r/Math.PI);return angle<0&&(angle=360-Math.abs(angle)),angle}function calculateDirection(startPoint,endPoint){if(comparePoints(startPoint,endPoint))return NONE;var angle=calculateAngle(startPoint,endPoint);return angle<=45&&angle>=0?LEFT:angle<=360&&angle>=315?LEFT:angle>=135&&angle<=225?RIGHT:angle>45&&angle<135?DOWN:UP}function getTimeStamp(){var now=new Date;return now.getTime()}function getbounds(el){el=$(el);var offset=el.offset(),bounds={left:offset.left,right:offset.left+el.outerWidth(),top:offset.top,bottom:offset.top+el.outerHeight()};return bounds}function isInBounds(point,bounds){return point.x>bounds.left&&point.x<bounds.right&&point.y>bounds.top&&point.y<bounds.bottom}function comparePoints(pointA,pointB){return pointA.x==pointB.x&&pointA.y==pointB.y}var options=$.extend({},options),useTouchEvents=SUPPORTS_TOUCH||SUPPORTS_POINTER||!options.fallbackToMouseEvents,START_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerDown":"pointerdown":"touchstart":"mousedown",MOVE_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerMove":"pointermove":"touchmove":"mousemove",END_EV=useTouchEvents?SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerUp":"pointerup":"touchend":"mouseup",LEAVE_EV=useTouchEvents?SUPPORTS_POINTER?"mouseleave":null:"mouseleave",CANCEL_EV=SUPPORTS_POINTER?SUPPORTS_POINTER_IE10?"MSPointerCancel":"pointercancel":"touchcancel",distance=0,direction=null,currentDirection=null,duration=0,startTouchesDistance=0,endTouchesDistance=0,pinchZoom=1,pinchDistance=0,pinchDirection=0,maximumsMap=null,$element=$(element),phase="start",fingerCount=0,fingerData={},startTime=0,endTime=0,previousTouchEndTime=0,fingerCountAtRelease=0,doubleTapStartTime=0,singleTapTimeout=null,holdTimeout=null;try{$element.bind(START_EV,touchStart),$element.bind(CANCEL_EV,touchCancel)}catch(e){$.error("events not supported "+START_EV+","+CANCEL_EV+" on jQuery.swipe")}this.enable=function(){return this.disable(),$element.bind(START_EV,touchStart),$element.bind(CANCEL_EV,touchCancel),$element},this.disable=function(){return removeListeners(),$element},this.destroy=function(){removeListeners(),$element.data(PLUGIN_NS,null),$element=null},this.option=function(property,value){if("object"==typeof property)options=$.extend(options,property);else if(void 0!==options[property]){if(void 0===value)return options[property];options[property]=value}else{if(!property)return options;$.error("Option "+property+" does not exist on jQuery.swipe.options")}return null}}var VERSION="1.6.18",LEFT="left",RIGHT="right",UP="up",DOWN="down",IN="in",OUT="out",NONE="none",AUTO="auto",SWIPE="swipe",PINCH="pinch",TAP="tap",DOUBLE_TAP="doubletap",LONG_TAP="longtap",HORIZONTAL="horizontal",VERTICAL="vertical",ALL_FINGERS="all",DOUBLE_TAP_THRESHOLD=10,PHASE_START="start",PHASE_MOVE="move",PHASE_END="end",PHASE_CANCEL="cancel",SUPPORTS_TOUCH="ontouchstart"in window,SUPPORTS_POINTER_IE10=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled&&!SUPPORTS_TOUCH,SUPPORTS_POINTER=(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&!SUPPORTS_TOUCH,PLUGIN_NS="TouchSwipe",defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0};$.fn.swipe=function(method){var $this=$(this),plugin=$this.data(PLUGIN_NS);if(plugin&&"string"==typeof method){if(plugin[method])return plugin[method].apply(plugin,Array.prototype.slice.call(arguments,1));$.error("Method "+method+" does not exist on jQuery.swipe")}else if(plugin&&"object"==typeof method)plugin.option.apply(plugin,arguments);else if(!(plugin||"object"!=typeof method&&method))return init.apply(this,arguments);return $this},$.fn.swipe.version=VERSION,$.fn.swipe.defaults=defaults,$.fn.swipe.phases={PHASE_START:PHASE_START,PHASE_MOVE:PHASE_MOVE,PHASE_END:PHASE_END,PHASE_CANCEL:PHASE_CANCEL},$.fn.swipe.directions={LEFT:LEFT,RIGHT:RIGHT,UP:UP,DOWN:DOWN,IN:IN,OUT:OUT},$.fn.swipe.pageScroll={NONE:NONE,HORIZONTAL:HORIZONTAL,VERTICAL:VERTICAL,AUTO:AUTO},$.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:ALL_FINGERS}});