-
Notifications
You must be signed in to change notification settings - Fork 0
/
5-es5.ff87599ba658248a1767.js
1 lines (1 loc) · 875 Bytes
/
5-es5.ff87599ba658248a1767.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{M8fa:function(n,t,r){"use strict";r.r(t),r.d(t,"startHardwareBackButton",(function(){return u}));var e=r("mrSG"),u=function(){var n=document,t=!1;n.addEventListener("backbutton",(function(){if(!t){var r=[],e=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register:function(n,t){r.push({priority:n,handler:t})}}});if(n.dispatchEvent(e),r.length>0){var u,o=Number.MIN_SAFE_INTEGER;r.forEach((function(n){var t=n.priority;t>=o&&(o=t,u=n.handler)})),t=!0,i(u).then((function(){return t=!1}))}}}))},i=function(n){return Object(e.b)(void 0,void 0,void 0,(function(){var t,r;return Object(e.e)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),n?null==(t=n())?[3,2]:[4,t]:[3,2];case 1:e.sent(),e.label=2;case 2:return[3,4];case 3:return r=e.sent(),console.error(r),[3,4];case 4:return[2]}}))}))}}}]);