define(["exports","./../modules/viewmanager/baseview.js","./../modules/loading/loading.js","./../modules/emby-elements/emby-button/emby-button.js","./../modules/emby-elements/emby-scroller/emby-scroller.js"],function(_exports,_baseview,_loading,_embyButton,_embyScroller){function View(view,params){_baseview.default.apply(this,arguments),view.querySelector(".btnWizardNext").addEventListener("click",function(){_loading.default.show();var apiClient=this.getApiClient();apiClient.ajax({url:apiClient.getUrl("Startup/Complete"),type:"POST"}).then(function(){_loading.default.hide(),window.location="index.html?#!/startup/login.html?serverId="+apiClient.serverId()})}.bind(this))}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!wizard/wizard.css"]),Object.assign(View.prototype,_baseview.default.prototype);_exports.default=View});