"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4440],{4440:(w,c,s)=>{s.r(c),s.d(c,{createSwipeBackGesture:()=>_});var h=s(2783),E=s(4743);s(5042);const _=(a,p,D,M,m)=>{const r=a.ownerDocument.defaultView;return(0,E.createGesture)({el:a,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:t=>t.startX<=50&&p(),onStart:D,onMove:t=>{M(t.deltaX/r.innerWidth)},onEnd:t=>{const e=r.innerWidth,n=t.deltaX/e,o=t.velocityX,l=o>=0&&(o>.2||t.deltaX>e/2),u=(l?1-n:n)*e;let d=0;if(u>5){const O=u/Math.abs(o);d=Math.min(O,540)}m(l,n<=0?.01:(0,h.k)(0,n,.9999),d)}})}}}]);