define(["exports","./itemstab.js"],function(_exports,_itemstab){function VideosTab(view,params,options){_itemstab.default.apply(this,arguments)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(VideosTab.prototype,_itemstab.default.prototype),VideosTab.prototype.supportsAlphaPicker=function(){return!0},VideosTab.prototype.getListViewOptions=function(items,settings){var _this$options,options=_itemstab.default.prototype.getListViewOptions.apply(this,arguments);return"MusicVideo"===(null==(_this$options=this.options)?void 0:_this$options.itemType)?settings.fields.includes("Name")&&options.fields.push("ParentName"):"Episode"===(null==(_this$options=this.options)?void 0:_this$options.itemType)&&settings.fields.includes("Name")&&options.fields.unshift("ParentName"),options},VideosTab.prototype.getCardOptions=function(items,settings){var _this$options3,options=_itemstab.default.prototype.getCardOptions.apply(this,arguments);return"MusicVideo"===(null==(_this$options3=this.options)?void 0:_this$options3.itemType)?settings.fields.includes("Name")&&options.fields.push("ParentName"):"Episode"===(null==(_this$options3=this.options)?void 0:_this$options3.itemType)&&settings.fields.includes("Name")&&options.fields.unshift("ParentName"),options},VideosTab.prototype.getBaseQuery=function(){var _this$options5,query=_itemstab.default.prototype.getBaseQuery.call(this);return"Episode"===(null==(_this$options5=this.options)?void 0:_this$options5.itemType)&&(query.ExcludeLocationTypes="Virtual"),query},VideosTab.prototype.getSettingsKey=function(){return _itemstab.default.prototype.getSettingsKey.call(this)+"-videos"},VideosTab.prototype.getItemTypes=function(){var _this$options6;return null!=(_this$options6=this.options)&&_this$options6.itemType?[null==(_this$options6=this.options)?void 0:_this$options6.itemType]:[]},VideosTab.prototype.loadTemplate=function(){return this.loadItemsTemplate()};_exports.default=VideosTab});