sap.ui.define(["sap/ui/core/service/Service","sap/ui/core/service/ServiceFactory","sap/base/Log","sap/fe/navigation/NavigationHandler"],function(S,a,L,N){"use strict";var b=S.extend("sap.fe.core.services.NavigationService",{initPromise:null,init:function(){var c=this.getContext(),C=c&&c.scopeObject;this.oNavHandler=new N(C);this.initPromise=Promise.resolve(this);},navigate:function(s,A,n,i,o,e,c){this.oNavHandler.navigate(s,A,n,i,o,e,c);}});return a.extend("sap.fe.core.services.NavigationServiceFactory",{createInstance:function(s){var n=new b(s);return n.initPromise.then(function(o){return o;});}});},true);
