1!function(t,e){"function"==typeof define&&define.amd?define([],function(){return t.Swipe=e(),t.Swipe}):"object"==typeof module&&module.exports?module.exports=e():t.Swipe=e()}(this,function(){function t(t,e){"use strict";function o(){S.addEventListener?(P.removeEventListener("touchstart",Y,!!S.passiveEvents&&{passive:!0}),P.removeEventListener("mousedown",Y,!1),P.removeEventListener("webkitTransitionEnd",Y,!1),P.removeEventListener("msTransitionEnd",Y,!1),P.removeEventListener("oTransitionEnd",Y,!1),P.removeEventListener("otransitionend",Y,!1),P.removeEventListener("transitionend",Y,!1),n.removeEventListener("resize",Y,!1)):n.onresize=null}function s(t){var e=t.cloneNode(!0);P.appendChild(e),e.setAttribute("data-cloned",!0),e.removeAttribute("id")}function r(i){if(null!=i)for(var r in i)e[r]=i[r];z=P.children,O=z.length;for(var a=0;a<z.length;a++)z[a].getAttribute("data-cloned")&&O--;if(z.length<2&&(e.continuous=!1),S.transitions&&e.continuous&&z.length<3&&(s(z[0]),s(z[1]),z=P.children),"right"===Q)for(var u=0;u<z.length;u++)z[u].style["float"]="right";A=new Array(z.length),j=t.getBoundingClientRect().width||t.offsetWidth,P.style.width=z.length*j*2+"px";for(var l=z.length;l--;){var v=z[l];v.style.width=j+"px",v.setAttribute("data-index",l),S.transitions&&(v.style[Q]=l*-j+"px",f(l,l<R?-j:R<l?j:0,0))}e.continuous&&S.transitions&&(f(c(R-1),-j,0),f(c(R+1),j,0)),S.transitions||(P.style[Q]=R*-j+"px"),t.style.visibility="visible",o(),S.addEventListener?(S.touch&&P.addEventListener("touchstart",Y,!!S.passiveEvents&&{passive:!0}),e.draggable&&P.addEventListener("mousedown",Y,!1),S.transitions&&(P.addEventListener("webkitTransitionEnd",Y,!1),P.addEventListener("msTransitionEnd",Y,!1),P.addEventListener("oTransitionEnd",Y,!1),P.addEventListener("otransitionend",Y,!1),P.addEventListener("transitionend",Y,!1)),n.addEventListener("resize",Y,!1)):n.onresize=W}function a(){w||(e.continuous?d(R+1):R<z.length-1&&d(R+1))}function u(t,n,i){e.callback&&e.callback(t,n,i)}function l(t,n){e.transitionEnd&&e.transitionEnd(t,n)}function c(t){return(z.length+t%z.length)%z.length}function v(){var t=R;return O<=t&&(t-=O),t}function d(t,n){if(t="number"!=typeof t?parseInt(t,10):t,R!==t){if(S.transitions){var i=Math.abs(R-t)/(R-t);if(e.continuous){var o=i;(i=-A[c(t)]/j)!==o&&(t=-i*z.length+t)}for(var s=Math.abs(R-t)-1;s--;)f(c((R<t?t:R)-s-1),j*i,0);t=c(t),f(R,j*i,n||C),f(t,0,n||C),e.continuous&&f(c(t-i),-j*i,0)}else t=c(t),function(t,n,i){if(!i)return P.style[Q]=n+"px";var o=+new Date,s=setInterval(function(){var r=+new Date-o;return i<r?(P.style[Q]=n+"px",(L||e.autoRestart)&&E(),l(v(),z[R]),void clearInterval(s)):void(P.style[Q]=(n-t)*(Math.floor(r/i*100)/100)+t+"px")},4)}(R*-j,t*-j,n||C);R=t,k(function(){u(v(),z[R],i)})}}function f(t,e,n){h(t,e,n),A[t]=e}function h(t,e,n){var i=z[t],o=i&&i.style;o&&(o.webkitTransitionDuration=o.MozTransitionDuration=o.msTransitionDuration=o.OTransitionDuration=o.transitionDuration=n+"ms",o.webkitTransform=o.msTransform=o.MozTransform=o.OTransform=o.transform="translateX("+e+"px)")}function m(){(L=e.auto||0)&&(g=setTimeout(a,L))}function p(){L=0,clearTimeout(g)}function E(){p(),m()}function y(t){return/^mouse/.test(t.type)}var b,g,T={},x={},L=(e=e||{}).auto||0,w=!1,D=function(){},k=function(t){setTimeout(t||D,0)},M=function(t){return!!t&&("boolean"!=typeof t.cancelable||t.cancelable)},S={addEventListener:!!n.addEventListener,passiveEvents:function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.addEventListener("testEvent",null,e),n.removeEventListener("testEvent",null,e)}catch(e){t=!1}return t}(),touch:"ontouchstart"in n||n.DocumentTouch&&i instanceof DocumentTouch,transitions:function(t){var e=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var n in e)if(void 0!==t.style[e[n]])return!0;return!1}(i.createElement("swipe"))};if(t){var z,A,j,O,P=t.children[0],R=parseInt(e.startSlide,10)||0,C=e.speed||300;e.continuous=void 0===e.continuous||e.continuous;var I,N,X,Q=(N="direction",(I=t).currentStyle?X=I.currentStyle[N]:n.getComputedStyle&&(X=n.getComputedStyle(I,null).getPropertyValue(N)),"rtl"===X?"right":"left");e.autoRestart=void 0!==e.autoRestart&&e.autoRestart;var W=function(t,e){function n(){o&&clearTimeout(o)}function i(){var i=this,s=arguments;n(),o=setTimeout(function(){o=null,t.apply(i,s)},e)}e=e||100;var o=null;return i.cancel=n,i}(r),Y={handleEvent:function(t){if(!w){switch(t.type){case"mousedown":case"touchstart":this.start(t);break;case"mousemove":case"touchmove":this.move(t);break;case"mouseup":case"mouseleave":case"touchend":this.end(t);break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":this.transitionEnd(t);break;case"resize":W()}e.stopPropagation&&t.stopPropagation()}},start:function(t){var n,i,o;y(t)?(n=t).preventDefault():n=t.touches[0],T={x:n.pageX,y:n.pageY,time:+new Date},b=void 0,x={},y(t)?(P.addEventListener("mousemove",this,!1),P.addEventListener("mouseup",this,
1!1),P.addEventListener("mouseleave",this,!1)):(P.addEventListener("touchmove",this,!!S.passiveEvents&&{passive:!1}),P.addEventListener("touchend",this,!1)),i=v(),o=z[R],e.dragStart&&e.dragStart(i,o)},move:function(t){var n;if(y(t))n=t;else{if(1<t.touches.length||t.scale&&1!==t.scale)return;e.disableScroll&&M(t)&&t.preventDefault(),n=t.touches[0]}x={x:n.pageX-T.x,y:n.pageY-T.y},void 0===b&&(b=!!(b||Math.abs(x.x)<Math.abs(x.y))),b||(M(t)&&t.preventDefault(),p(),e.continuous?(h(c(R-1),x.x+A[c(R-1)],0),h(R,x.x+A[R],0),h(c(R+1),x.x+A[c(R+1)],0)):(x.x=x.x/(!R&&0<x.x||R===z.length-1&&x.x<0?Math.abs(x.x)/j+1:1),h(R-1,x.x+A[R-1],0),h(R,x.x+A[R],0),h(R+1,x.x+A[R+1],0)))},end:function(t){var n=+new Date-T.time,i=Number(n)<250&&20<Math.abs(x.x)||Math.abs(x.x)>j/2,o=!R&&0<x.x||R===z.length-1&&x.x<0;e.continuous&&(o=!1);var s,r,a=Math.abs(x.x)/x.x;b||(i&&!o?(R=a<0?(e.continuous?(f(c(R-1),-j,0),f(c(R+2),j,0)):f(R-1,-j,0),f(R,A[R]-j,C),f(c(R+1),A[c(R+1)]-j,C),c(R+1)):(e.continuous?(f(c(R+1),j,0),f(c(R-2),-j,0)):f(R+1,j,0),f(R,A[R]+j,C),f(c(R-1),A[c(R-1)]+j,C),c(R-1)),u(v(),z[R],a)):e.continuous?(f(c(R-1),-j,C),f(R,0,C),f(c(R+1),j,C)):(f(R-1,-j,C),f(R,0,C),f(R+1,j,C))),y(t)?(P.removeEventListener("mousemove",Y,!1),P.removeEventListener("mouseup",Y,!1),P.removeEventListener("mouseleave",Y,!1)):(P.removeEventListener("touchmove",Y,!!S.passiveEvents&&{passive:!1}),P.removeEventListener("touchend",Y,!1)),s=v(),r=z[R],e.dragEnd&&e.dragEnd(s,r)},transitionEnd:function(t){parseInt(t.target.getAttribute("data-index"),10)===R&&((L||e.autoRestart)&&E(),l(v(),z[R]))}};return r(),m(),{setup:r,slide:function(t,e){p(),d(t,e)},prev:function(){p(),function(){w||(e.continuous?d(R-1):R&&d(R-1))}()},next:function(){p(),a()},restart:E,stop:p,getPos:v,disable:function(){p(),w=!0},enable:function(){w=!1,E()},getNumSlides:function(){return O},kill:function(){p(),t.style.visibility="",P.style.width="",P.style[Q]="";for(var e=z.length;e--;){S.transitions&&h(e,0,0);var n=z[e];if(n.getAttribute("data-cloned")){var i=n.parentElement;i.removeChild(n)}n.style.width="",n.style[Q]="",n.style.webkitTransitionDuration=n.style.MozTransitionDuration=n.style.msTransitionDuration=n.style.OTransitionDuration=n.style.transitionDuration="",n.style.webkitTransform=n.style.msTransform=n.style.MozTransform=n.style.OTransform=""}o(),W.cancel()}}}}var e,n="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this,i=n.document;return(n.jQuery||n.Zepto)&&((e=n.jQuery||n.Zepto).fn.Swipe=function(n){return this.each(function(){e(this).data("Swipe",new t(e(this)[0],n))})}),t});
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.