text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
  
  /***/ "./node_modules/@ionic/core/dist/esm-es5/swipe-back-ab1fb115.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/@ionic/core/dist/esm-es5/swipe-back-ab1fb115.js ***!
    \**********************************************************************/
  /*! exports provided: createSwipeBackGesture */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createSwipeBackGesture", function() { return createSwipeBackGesture; });
  /* harmony import */ var _chunk_84f6bf13_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-84f6bf13.js */ "./node_modules/@ionic/core/dist/esm-es5/chunk-84f6bf13.js");
  /* harmony import */ var _chunk_1074393c_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chunk-1074393c.js */ "./node_modules/@ionic/core/dist/esm-es5/chunk-1074393c.js");
  /* harmony import */ var _index_8421816f_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index-8421816f.js */ "./node_modules/@ionic/core/dist/esm-es5/index-8421816f.js");
  
  
  
  var createSwipeBackGesture = function (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) {
      var win = el.ownerDocument.defaultView;
      var canStart = function (detail) {
          return detail.startX <= 50 && canStartHandler();
      };
      var onMove = function (detail) {
          // set the transition animation's progress
          var delta = detail.deltaX;
          var stepValue = delta / win.innerWidth;
          onMoveHandler(stepValue);
      };
      var onEnd = function (detail) {
          // the swipe back gesture has ended
          var delta = detail.deltaX;
          var width = win.innerWidth;
          var stepValue = delta / width;
          var velocity = detail.velocityX;
          var z = width / 2.0;
          var shouldComplete = velocity >= 0 && (velocity > 0.2 || detail.deltaX > z);
          var missing = shouldComplete ? 1 - stepValue : stepValue;
          var missingDistance = missing * width;
          var realDur = 0;
          if (missingDistance > 5) {
              var dur = missingDistance / Math.abs(velocity);
              realDur = Math.min(dur, 300);
          }
          onEndHandler(shouldComplete, stepValue, realDur);
      };
      return Object(_index_8421816f_js__WEBPACK_IMPORTED_MODULE_2__["createGesture"])({
          el: el,
          gestureName: 'goback-swipe',
          gesturePriority: 40,
          threshold: 10,
          canStart: canStart,
          onStart: onStartHandler,
          onMove: onMove,
          onEnd: onEnd
      });
  };
  
  
  
  /***/ })
  
  }]);
  //# sourceMappingURL=5.c7e7c969625e0e36eba8.js.map