Mini Shell

Direktori : /home/funerariamayer/www/app/
Upload File :
Current File : /home/funerariamayer/www/app/node_modules_ionic_core_dist_esm_swipe-back-edc455e2_js.js.map

{"version":3,"file":"node_modules_ionic_core_dist_esm_swipe-back-edc455e2_js.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACmD;AACC;AACV;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2DAA2D,uDAAK;AAChE;AACA,SAAS,iEAAa;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEkC","sources":["./node_modules/@ionic/core/dist/esm/swipe-back-edc455e2.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { d as clamp } from './helpers-eed79a2b.js';\nimport { createGesture } from './index-41bf41f2.js';\nimport './gesture-controller-68c023a4.js';\n\nconst createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {\n  const win = el.ownerDocument.defaultView;\n  const canStart = (detail) => {\n    return detail.startX <= 50 && canStartHandler();\n  };\n  const onMove = (detail) => {\n    // set the transition animation's progress\n    const delta = detail.deltaX;\n    const stepValue = delta / win.innerWidth;\n    onMoveHandler(stepValue);\n  };\n  const onEnd = (detail) => {\n    // the swipe back gesture has ended\n    const delta = detail.deltaX;\n    const width = win.innerWidth;\n    const stepValue = delta / width;\n    const velocity = detail.velocityX;\n    const z = width / 2.0;\n    const shouldComplete = velocity >= 0 && (velocity > 0.2 || detail.deltaX > z);\n    const missing = shouldComplete ? 1 - stepValue : stepValue;\n    const missingDistance = missing * width;\n    let realDur = 0;\n    if (missingDistance > 5) {\n      const dur = missingDistance / Math.abs(velocity);\n      realDur = Math.min(dur, 540);\n    }\n    /**\n     * TODO: stepValue can sometimes return negative values\n     * or values greater than 1 which should not be possible.\n     * Need to investigate more to find where the issue is.\n     */\n    onEndHandler(shouldComplete, (stepValue <= 0) ? 0.01 : clamp(0, stepValue, 0.9999), realDur);\n  };\n  return createGesture({\n    el,\n    gestureName: 'goback-swipe',\n    gesturePriority: 40,\n    threshold: 10,\n    canStart,\n    onStart: onStartHandler,\n    onMove,\n    onEnd\n  });\n};\n\nexport { createSwipeBackGesture };\n"],"names":[],"sourceRoot":"webpack:///"}

Zerion Mini Shell 1.0