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:_globalize.default.translate("Settings"),id:"settings"},{name:_globalize.default.translate("HeaderManageDownloads"),id:"managedownloads"}]},SyncView.prototype.loadTabController=function(id){return"managedownloads"!==id?Emby.importModule("./settings/download/"+id+"tab.js"):Emby.importModule("./server/sync/activitytab.js")},SyncView.prototype.getTabControllerOptions=function(id){var options=_tabbedview.default.prototype.getTabControllerOptions.apply(this,arguments);return options.mode="download",options.localDownload=!0,options.userId=this.getApiClient().getCurrentUserId(),options};_exports.default=SyncView});