define(["itemsTab","cardBuilder","layoutManager","emby-itemscontainer"],function(ItemsTab,cardBuilder,layoutManager){"use strict";function GenresTab(view,params){ItemsTab.call(this,view,params)}function getItemsHtml(items){var parentId=this.params.parentId;return cardBuilder.getCardsHtml(items,{items:items,shape:"auto",centerText:!0,showTitle:!0,parentId:parentId})}return Object.assign(GenresTab.prototype,ItemsTab.prototype),GenresTab.prototype.getItemsHtml=getItemsHtml,GenresTab.prototype.getQueryIncludeItemTypes=function(){return[]},GenresTab.prototype.fetchData=function(){var queryInfo=this.getQueryInfo();this.setFilterStatus(queryInfo.hasFilters);var apiClient=this.apiClient;return apiClient.getGenres(apiClient.getCurrentUserId(),queryInfo.query)},GenresTab});