(self["webpackChunkLearningchain"] = self["webpackChunkLearningchain"] || []).push([["node_modules_ionic_core_dist_esm_status-tap-4d4674a1_js"],{

/***/ 9901:
/*!******************************************************************!*\
  !*** ./node_modules/@ionic/core/dist/esm/status-tap-4d4674a1.js ***!
  \******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "startStatusTap": () => (/* binding */ startStatusTap)
/* harmony export */ });
/* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-8e692445.js */ 5268);
/* harmony import */ var _index_e6d1a8be_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-e6d1a8be.js */ 8470);
/* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 2472);
/* harmony import */ var _index_c4b11676_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index-c4b11676.js */ 970);
/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */





const startStatusTap = () => {
  const win = window;
  win.addEventListener('statusTap', () => {
    (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.f)(() => {
      const width = win.innerWidth;
      const height = win.innerHeight;
      const el = document.elementFromPoint(width / 2, height / 2);
      if (!el) {
        return;
      }
      const contentEl = (0,_index_e6d1a8be_js__WEBPACK_IMPORTED_MODULE_1__.f)(el);
      if (contentEl) {
        new Promise((resolve) => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.c)(contentEl, resolve)).then(() => {
          (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.c)(async () => {
            /**
             * If scrolling and user taps status bar,
             * only calling scrollToTop is not enough
             * as engines like WebKit will jump the
             * scroll position back down and complete
             * any in-progress momentum scrolling.
             */
            contentEl.style.setProperty('--overflow', 'hidden');
            await (0,_index_e6d1a8be_js__WEBPACK_IMPORTED_MODULE_1__.s)(contentEl, 300);
            contentEl.style.removeProperty('--overflow');
          });
        });
      }
    });
  });
};




/***/ })

}]);
//# sourceMappingURL=node_modules_ionic_core_dist_esm_status-tap-4d4674a1_js.js.map