define(["itemsTab","globalize"],function(ItemsTab,globalize){"use strict";function SongsTab(view,params){this.enableAlphaPicker=!0,ItemsTab.call(this,view,params)}return Object.assign(SongsTab.prototype,ItemsTab.prototype),SongsTab.prototype.getCardOptions=function(items,settings){var options=ItemsTab.prototype.getCardOptions.apply(this,arguments);return options.showParentTitle=!0,options.hoverPlayButton=!1,options.sideFooter=!0,options.action="playallfromhere",options},SongsTab.prototype.getContext=function(){return"music"},SongsTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-songs"},SongsTab.prototype.getPlayAction=function(){return"playallfromhere"},SongsTab.prototype.getVisibleViewSettings=function(){return{settings:["imageType","groupItemsIntoCollections"],fields:[]}},SongsTab.prototype.getVisibleFilters=function(){return["Genres","Studios","Tags","OfficialRatings","Containers","AudioCodecs","Years","IsUnplayed","IsPlayed","IsFavorite","HasOverview","IsLocked"]},SongsTab.prototype.getItemTypes=function(){return["Audio"]},SongsTab.prototype.getCriticRatingSortOption=function(){return null},SongsTab.prototype.getSortMenuOptions=function(){var sortBy=ItemsTab.prototype.getSortMenuOptions.call(this);return sortBy.push({name:globalize.translate("Album"),value:"Album,ParentIndexNumber,IndexNumber"}),sortBy.push({name:globalize.translate("AlbumArtist"),value:"AlbumArtist,Album,ParentIndexNumber,IndexNumber"}),this.sortOptionsByName(sortBy),sortBy},SongsTab});