define(["exports","./../../modules/common/globalize.js","./../../modules/tabbedview/tabbedview.js"],function(_exports,_globalize,_tabbedview){function SyncView(view,params){_tabbedview.default.apply(this,arguments)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(SyncView.prototype,_tabbedview.default.prototype),SyncView.prototype.getTabs=function(){return[{name:"convert"===this.params.mode?_globalize.default.translate("Conversions"):_globalize.default.translate("Downloads"),id:"activity"},{name:_globalize.default.translate("Settings"),id:"settings"}]},SyncView.prototype.loadTabController=function(id){return Emby.importModule("./server/sync/"+id+"tab.js")},SyncView.prototype.getTabControllerOptions=function(id){var options=_tabbedview.default.prototype.getTabControllerOptions.apply(this,arguments);return options.mode=this.params.mode,options},SyncView.prototype.destroy=function(){_tabbedview.default.prototype.destroy.apply(this,arguments),this.apiClient=null};_exports.default=SyncView});