(()=>{function r(r,n){var t=this;_.assign(t,{host:r.host(),cloneInProgress:!1,clone:function(){return t.cloneInProgress=!0,n.clone(t.wizardCtrl.data.appClone.srcApp,t.wizardCtrl.data.appClone.destApp).then(function(r){t.wizardCtrl.data.createdApp=r,t.wizardCtrl.goTo("success")}).finally(function(){t.cloneInProgress=!1})}})}r.$inject=["$location","c8yApplication"],angular.module("c8y.parts.applications").component("appWizardClone2Step",{require:{wizardCtrl:"^c8yWizardStep"},templateUrl:":::PLUGIN_PATH:::/appWizard/appWizardClone2Step.html",controller:r,controllerAs:"vm"})})();