define(["exports","./../approuter.js","./../emby-apiclient/events.js","./../layoutmanager.js","./../common/usersettings/usersettings.js"],function(_exports,_approuter,_events,_layoutmanager,_usersettings){function ThemeController(){}function onInitRouteRequest(e,routeRequest){"/home"===routeRequest.path&&(_layoutmanager.default.tv&&"horizontal"===_usersettings.default.tvHome()?(routeRequest.controller="home_horiz/home.js",routeRequest.contentPath="/home_horiz/home.html",routeRequest.adjustHeaderForEmbeddedScroll=!1):(routeRequest.controller="home/home.js",routeRequest.contentPath="/home/home.html",routeRequest.adjustHeaderForEmbeddedScroll=!0))}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,ThemeController.prototype.load=function(){return _events.default.on(_approuter.default,"initrouterequest",onInitRouteRequest),Promise.resolve()},ThemeController.prototype.hasSettings=function(){return!1},ThemeController.prototype.showSettings=function(){return Promise.resolve()},ThemeController.prototype.destroy=function(){_events.default.off(_approuter.default,"initrouterequest",onInitRouteRequest)};_exports.default=ThemeController});