"use strict";(self["webpackChunksgc_mobile"]=self["webpackChunksgc_mobile"]||[]).push([[521],{8990:function(e,t,n){n.r(t),n.d(t,{createSwipeBackGesture:function(){return o}});var r=n(6587),c=n(545),i=n(6515);
/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
const o=(e,t,n,o,s)=>{const a=e.ownerDocument.defaultView;let u=(0,c.i)(e);const l=e=>{const t=50,{startX:n}=e;return u?n>=a.innerWidth-t:n<=t},h=e=>u?-e.deltaX:e.deltaX,d=e=>u?-e.velocityX:e.velocityX,b=n=>(u=(0,c.i)(e),l(n)&&t()),f=e=>{const t=h(e),n=t/a.innerWidth;o(n)},k=e=>{const t=h(e),n=a.innerWidth,c=t/n,i=d(e),o=n/2,u=i>=0&&(i>.2||t>o),l=u?1-c:c,b=l*n;let f=0;if(b>5){const e=b/Math.abs(i);f=Math.min(e,540)}s(u,c<=0?.01:(0,r.h)(0,c,.9999),f)};return(0,i.createGesture)({el:e,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:b,onStart:n,onMove:f,onEnd:k})}}}]);
//# sourceMappingURL=521.7810494f.js.map