define(["itemsTab","cardBuilder","layoutManager","globalize","listView","emby-itemscontainer"],function(ItemsTab,cardBuilder,layoutManager,globalize,listView){"use strict";function VideosTab(view,params){this.enableAlphaPicker=!0,ItemsTab.call(this,view,params)}return Object.assign(VideosTab.prototype,ItemsTab.prototype),VideosTab.prototype.getItemsHtml=function(items){var settings=(this.mode,this.getViewSettings());if("list"===settings.imageType)return listView.getListViewHtml({items:items});var shape,preferThumb,preferDisc;"banner"===settings.imageType?shape="banner":"disc"===settings.imageType?(shape="square",preferDisc=!0):"thumb"===settings.imageType?(shape="backdrop",preferThumb=!0):shape="auto";return cardBuilder.getCardsHtml(items,{items:items,shape:shape,centerText:!0,preferThumb:preferThumb,preferDisc:preferDisc,overlayMoreButton:!layoutManager.tv,showTitle:settings.showTitle,showYear:settings.showYear,overlayText:!settings.showTitle,cardLayout:!1})},VideosTab.prototype.getSettingsKey=function(){return ItemsTab.prototype.getSettingsKey.call(this)+"-videos"},VideosTab.prototype.getVisibleViewSettings=function(){return["showTitle","showYear","imageType"]},VideosTab.prototype.getItemTypes=function(){return["Video"]},VideosTab.prototype.getVisibleFilters=function(){return["Genres","Studios","Tags","OfficialRatings","Containers","Years","AudioCodecs","VideoCodecs","SubtitleCodecs","IsUnplayed","IsPlayed","IsFavorite","IsResumable","HasTrailer","HasSpecialFeature","HasThemeSong","HasThemeVideo","VideoType","HasSubtitles"]},VideosTab});