403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/plugins/so-widgets-bundle/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/plugins/so-widgets-bundle/js/jquery.touchSwipe.min.js
!function(e){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery.touchSwipe.js"],e):e(jQuery)}(function(ae){"use strict";var ue="left",se="right",ce="up",pe="down",he="in",de="out",fe="none",ge="auto",we="swipe",ve="pinch",Te="tap",be="doubletap",Se="longtap",Ee="horizontal",me="vertical",ye="all",Oe=10,xe="start",Me="move",Pe="end",De="cancel",Le="ontouchstart"in window,Re=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,ke=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,Ae="TouchSwipe";function i(e,v){var t=Le||ke||!v.fallbackToMouseEvents,n=t?ke?Re?"MSPointerDown":"pointerdown":"touchstart":"mousedown",i=t?ke?Re?"MSPointerMove":"pointermove":"touchmove":"mousemove",r=t?ke?Re?"MSPointerUp":"pointerup":"touchend":"mouseup",l=t?null:"mouseleave",o=ke?Re?"MSPointerCancel":"pointercancel":"touchcancel",T=0,b=null,S=0,E=0,m=0,y=1,O=0,x=0,M=null,a=ae(e),P="start",D=0,L=null,u=0,R=0,s=0,c=0,p=0,h=null,k=null;try{a.bind(n,d),a.bind(o,w)}catch(e){ae.error("events not supported "+n+","+o+" on jQuery.swipe")}function d(e){if(!0!==a.data(Ae+"_intouch")&&!(0<ae(e.target).closest(v.excludedElements,a).length)){var t,n,i=e.originalEvent?e.originalEvent:e,r=Le?i.touches[0]:i;return P=xe,Le?D=i.touches.length:e.preventDefault(),x=b=null,y=1,O=m=E=S=T=0,L=function(){for(var e=[],t=0;t<=5;t++)e.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return e}(),(n={})[ue]=ie(ue),n[se]=ie(se),n[ce]=ie(ce),n[pe]=ie(pe),M=n,J(),!Le||D===v.fingers||v.fingers===ye||X()?(ee(0,r),u=oe(),2==D&&(ee(1,i.touches[1]),E=m=le(L[0].start,L[1].start)),(v.swipeStatus||v.pinchStatus)&&(t=U(i,P))):t=!1,!1===t?(U(i,P=De),t):(v.hold&&(k=setTimeout(ae.proxy(function(){a.trigger("hold",[i.target]),v.hold&&(t=v.hold.call(a,i,i.target))},this),v.longTapThreshold)),$(!0),null)}}function f(e){var t=e.originalEvent?e.originalEvent:e;if(P!==Pe&&P!==De&&!K()){var n,i,r,l,o,a,u,s,c,p,h,d,f=te(Le?t.touches[0]:t);if(R=oe(),Le&&(D=t.touches.length),v.hold&&clearTimeout(k),P=Me,2==D&&(0==E?(ee(1,t.touches[1]),E=m=le(L[0].start,L[1].start)):(te(t.touches[1]),m=le(L[0].end,L[1].end),L[0].end,L[1].end,x=y<1?de:he),y=(m/E*1).toFixed(2),O=Math.abs(E-m)),D===v.fingers||v.fingers===ye||!Le||X()){if(p=f.start,h=f.end,d=function(e,t){var n=e.x-t.x,i=t.y-e.y,r=Math.atan2(i,n),l=Math.round(180*r/Math.PI);l<0&&(l=360-Math.abs(l));return l}(p,h),function(e,t){if(!1===v.preventDefaultEvents)return;if(v.allowPageScroll===fe)e.preventDefault();else{var n=v.allowPageScroll===ge;switch(t){case ue:(v.swipeLeft&&n||!n&&v.allowPageScroll!=Ee)&&e.preventDefault();break;case se:(v.swipeRight&&n||!n&&v.allowPageScroll!=Ee)&&e.preventDefault();break;case ce:(v.swipeUp&&n||!n&&v.allowPageScroll!=me)&&e.preventDefault();break;case pe:(v.swipeDown&&n||!n&&v.allowPageScroll!=me)&&e.preventDefault()}}}(e,b=d<=45&&0<=d?ue:d<=360&&315<=d?ue:135<=d&&d<=225?se:45<d&&d<135?pe:ce),s=f.start,c=f.end,T=Math.round(Math.sqrt(Math.pow(c.x-s.x,2)+Math.pow(c.y-s.y,2))),S=re(),a=b,u=T,u=Math.max(u,ne(a)),M[a].distance=u,(v.swipeStatus||v.pinchStatus)&&(n=U(t,P)),!v.triggerOnTouchEnd||v.triggerOnTouchLeave){var g=!0;if(v.triggerOnTouchLeave){var w={left:(o=(l=ae(l=this)).offset()).left,right:o.left+l.outerWidth(),top:o.top,bottom:o.top+l.outerHeight()};i=f.end,r=w,g=i.x>r.left&&i.x<r.right&&i.y>r.top&&i.y<r.bottom}!v.triggerOnTouchEnd&&g?P=N(Me):v.triggerOnTouchLeave&&!g&&(P=N(Pe)),P!=De&&P!=Pe||U(t,P)}}else U(t,P=De);!1===n&&U(t,P=De)}}function g(e){var t=e.originalEvent;return Le&&0<t.touches.length?(s=oe(),c=event.touches.length+1,!0):(K()&&(D=c),R=oe(),S=re(),_()||!H()?U(t,P=De):v.triggerOnTouchEnd||0==v.triggerOnTouchEnd&&P===Me?(e.preventDefault(),U(t,P=Pe)):!v.triggerOnTouchEnd&&G()?j(t,P=Pe,Te):P===Me&&U(t,P=De),$(!1),null)}function w(){m=E=u=R=D=0,y=1,J(),$(!1)}function A(e){var t=e.originalEvent;v.triggerOnTouchLeave&&U(t,P=N(Pe))}function I(){a.unbind(n,d),a.unbind(o,w),a.unbind(i,f),a.unbind(r,g),l&&a.unbind(l,A),$(!1)}function N(e){var t=e,n=Q(),i=H(),r=_();return!n||r?t=De:!i||e!=Me||v.triggerOnTouchEnd&&!v.triggerOnTouchLeave?!i&&e==Pe&&v.triggerOnTouchLeave&&(t=De):t=Pe,t}function U(e,t){var n=void 0;return F()||W()||Y()||X()?((F()||W())&&(n=j(e,t,we)),(Y()||X())&&!1!==n&&(n=j(e,t,ve))):B()&&Z()&&!1!==n?n=j(e,t,be):S>v.longTapThreshold&&T<Oe&&v.longTap&&!1!==n?n=j(e,t,Se):1!==D&&Le||!(isNaN(T)||T<v.threshold)||!G()||!1===n||(n=j(e,t,Te)),t===De&&w(),t===Pe&&(Le?0==e.touches.length&&w():w()),n}function j(e,t,n){var i=void 0;if(n==we){if(a.trigger("swipeStatus",[t,b||null,T||0,S||0,D,L]),v.swipeStatus&&!1===(i=v.swipeStatus.call(a,e,t,b||null,T||0,S||0,D,L)))return!1;if(t==Pe&&q()){if(a.trigger("swipe",[b,T,S,D,L]),v.swipe&&!1===(i=v.swipe.call(a,e,b,T,S,D,L)))return!1;switch(b){case ue:a.trigger("swipeLeft",[b,T,S,D,L]),v.swipeLeft&&(i=v.swipeLeft.call(a,e,b,T,S,D,L));break;case se:a.trigger("swipeRight",[b,T,S,D,L]),v.swipeRight&&(i=v.swipeRight.call(a,e,b,T,S,D,L));break;case ce:a.trigger("swipeUp",[b,T,S,D,L]),v.swipeUp&&(i=v.swipeUp.call(a,e,b,T,S,D,L));break;case pe:a.trigger("swipeDown",[b,T,S,D,L]),v.swipeDown&&(i=v.swipeDown.call(a,e,b,T,S,D,L))}}}if(n==ve){if(a.trigger("pinchStatus",[t,x||null,O||0,S||0,D,y,L]),v.pinchStatus&&!1===(i=v.pinchStatus.call(a,e,t,x||null,O||0,S||0,D,y,L)))return!1;if(t==Pe&&C())switch(x){case he:a.trigger("pinchIn",[x||null,O||0,S||0,D,y,L]),v.pinchIn&&(i=v.pinchIn.call(a,e,x||null,O||0,S||0,D,y,L));break;case de:a.trigger("pinchOut",[x||null,O||0,S||0,D,y,L]),v.pinchOut&&(i=v.pinchOut.call(a,e,x||null,O||0,S||0,D,y,L))}}return n==Te?t!==De&&t!==Pe||(clearTimeout(h),clearTimeout(k),Z()&&!B()?(p=oe(),h=setTimeout(ae.proxy(function(){p=null,a.trigger("tap",[e.target]),v.tap&&(i=v.tap.call(a,e,e.target))},this),v.doubleTapThreshold)):(p=null,a.trigger("tap",[e.target]),v.tap&&(i=v.tap.call(a,e,e.target)))):n==be?t!==De&&t!==Pe||(clearTimeout(h),p=null,a.trigger("doubletap",[e.target]),v.doubleTap&&(i=v.doubleTap.call(a,e,e.target))):n==Se&&(t!==De&&t!==Pe||(clearTimeout(h),p=null,a.trigger("longtap",[e.target]),v.longTap&&(i=v.longTap.call(a,e,e.target)))),i}function H(){var e=!0;return null!==v.threshold&&(e=T>=v.threshold),e}function _(){var e=!1;return null!==v.cancelThreshold&&null!==b&&(e=ne(b)-T>=v.cancelThreshold),e}function Q(){return!v.maxTimeThreshold||!(S>=v.maxTimeThreshold)}function C(){var e=V(),t=z(),n=null===v.pinchThreshold||O>=v.pinchThreshold;return e&&t&&n}function X(){return!!(v.pinchStatus||v.pinchIn||v.pinchOut)}function Y(){return!(!C()||!X())}function q(){var e=Q(),t=H(),n=V(),i=z();return!_()&&i&&n&&t&&e}function W(){return!!(v.swipe||v.swipeStatus||v.swipeLeft||v.swipeRight||v.swipeUp||v.swipeDown)}function F(){return!(!q()||!W())}function V(){return D===v.fingers||v.fingers===ye||!Le}function z(){return 0!==L[0].end.x}function G(){return!!v.tap}function Z(){return!!v.doubleTap}function B(){if(null==p)return!1;var e=oe();return Z()&&e-p<=v.doubleTapThreshold}function J(){c=s=0}function K(){var e=!1;s&&(oe()-s<=v.fingerReleaseThreshold&&(e=!0));return e}function $(e){!0===e?(a.bind(i,f),a.bind(r,g),l&&a.bind(l,A)):(a.unbind(i,f,!1),a.unbind(r,g,!1),l&&a.unbind(l,A,!1)),a.data(Ae+"_intouch",!0===e)}function ee(e,t){var n=void 0!==t.identifier?t.identifier:0;return L[e].identifier=n,L[e].start.x=L[e].end.x=t.pageX||t.clientX,L[e].start.y=L[e].end.y=t.pageY||t.clientY,L[e]}function te(e){var t=function(e){for(var t=0;t<L.length;t++)if(L[t].identifier==e)return L[t]}(void 0!==e.identifier?e.identifier:0);return t.end.x=e.pageX||e.clientX,t.end.y=e.pageY||e.clientY,t}function ne(e){if(M[e])return M[e].distance}function ie(e){return{direction:e,distance:0}}function re(){return R-u}function le(e,t){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+i*i))}function oe(){return(new Date).getTime()}this.enable=function(){return a.bind(n,d),a.bind(o,w),a},this.disable=function(){return I(),a},this.destroy=function(){I(),a.data(Ae,null),a=null},this.option=function(e,t){if(void 0!==v[e]){if(void 0===t)return v[e];v[e]=t}else ae.error("Option "+e+" does not exist on jQuery.swipe.options");return null}}ae.fn.swipe=function(e){var t=ae(this),n=t.data(Ae);if(n&&"string"==typeof e){if(n[e])return n[e].apply(this,Array.prototype.slice.call(arguments,1));ae.error("Method "+e+" does not exist on jQuery.swipe")}else if(!(n||"object"!=typeof e&&e))return function(n){!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=fe);void 0!==n.click&&void 0===n.tap&&(n.tap=n.click);n||(n={});return n=ae.extend({},ae.fn.swipe.defaults,n),this.each(function(){var e=ae(this),t=e.data(Ae);t||(t=new i(this,n),e.data(Ae,t))})}.apply(this,arguments);return t},ae.fn.swipe.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:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0},ae.fn.swipe.phases={PHASE_START:xe,PHASE_MOVE:Me,PHASE_END:Pe,PHASE_CANCEL:De},ae.fn.swipe.directions={LEFT:ue,RIGHT:se,UP:ce,DOWN:pe,IN:he,OUT:de},ae.fn.swipe.pageScroll={NONE:fe,HORIZONTAL:Ee,VERTICAL:me,AUTO:ge},ae.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:ye}});

Youez - 2016 - github.com/yon3zu
LinuXploit