define(["itemsTab"],function(ItemsTab){"use strict";function GamesTab(view,params){this.enableAlphaPicker=!0,ItemsTab.call(this,view,params)}return Object.assign(GamesTab.prototype,ItemsTab.prototype),GamesTab.prototype.getCardOptions=function(items,settings){var options=ItemsTab.prototype.getCardOptions.apply(this,arguments);return options.showParentTitle=settings.fields.includes("Name"),options},GamesTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-games"},GamesTab.prototype.getVisibleViewSettings=function(){var settings={settings:["imageType"],fields:["Name","ProductionYear"]};this.apiClient;return settings.settings.push("groupItemsIntoCollections"),settings},GamesTab.prototype.getItemTypes=function(){return["Game"]},GamesTab.prototype.getVisibleFilters=function(){return["Genres","Studios","Tags","OfficialRatings","Containers","Years","IsUnplayed","IsPlayed","IsFavorite","HasTrailer","HasSpecialFeature","HasThemeSong","HasThemeVideo","HasOverview","IsLocked"]},GamesTab});