(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"0yHn":function(t,e,n){"use strict";n.r(e),n.d(e,"createSwipeBackGesture",(function(){return o}));var r=n("mUkt");const o=(t,e,n,o,a)=>{const c=t.ownerDocument.defaultView;return Object(r.createGesture)({el:t,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:t=>t.startX<=50&&e(),onStart:n,onMove:t=>{const e=t.deltaX/c.innerWidth;o(e)},onEnd:t=>{const e=t.deltaX,n=c.innerWidth,r=e/n,o=t.velocityX,s=n/2,i=o>=0&&(o>.2||t.deltaX>s),u=(i?1-r:r)*n;let d=0;if(u>5){const t=u/Math.abs(o);d=Math.min(t,540)}a(i,r<=0?.01:r,d)}})}}}]);