define(["require", "exports", "./core/main.controller", "./core/environment", "./search/search.module", "./picture/picture.module", "./widgets/widgets.module", "./button/button.module", "./tile/tile.module", "./carousel/carousel.module", "./icon/icon.module", "./toolbar/toolbar.module", "./news/news.module", "./spareparts/spareparts.module", "./downloads/downloads.module", "./pagination/pagination.module", "./dealer/dealer.module", "./config/Lazysizes", "/node_modules/angular-animate/angular-animate.min.js", "/node_modules/angular-youtube-embed/dist/angular-youtube-embed.min.js", "https://www.youtube.com/iframe_api", "/node_modules/angular-spinkit/build/angular-spinkit.min.js", "/node_modules/angular-material/angular-material.min.js", "/node_modules/angular-material/modules/js/core/core.js", "/node_modules/angular-material/modules/js/backdrop/backdrop.js", "/node_modules/angular-material/modules/js/sidenav/sidenav.js", "/node_modules/angular-material/modules/js/tabs/tabs.js", "/node_modules/angular-utils-pagination/dirPagination.js"], function (require, exports, main_controller_1, environment_1, search_module_1, picture_module_1, widgets_module_1, button_module_1, tile_module_1, carousel_module_1, icon_module_1, toolbar_module_1, news_module_1, spareparts_module_1, downloads_module_1, pagination_module_1, dealer_module_1, Lazysizes_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    Lazysizes_1.Lazysizes.configure();
    window['APPLICATION_ENV'] = environment_1.APPLICATION_ENV;
    //
    // DEFINE ANGULAR MODULE
    // =============================================================================
    //
    exports.MODULE_COMPONENTS = angular
        .module('beyer-components', [
        'ngAnimate',
        // 'ngRoute',
        'material.components.sidenav',
        'material.components.tabs',
        'angular-spinkit',
        'youtube-embed',
        'angularUtils.directives.dirPagination',
        search_module_1.SearchModule.name,
        picture_module_1.PictureModule.name,
        widgets_module_1.WidgetsModule.name,
        button_module_1.ButtonModule.name,
        tile_module_1.TileModule.name,
        carousel_module_1.CarouselModule.name,
        icon_module_1.IconModule.name,
        toolbar_module_1.ToolbarModule.name,
        news_module_1.NewsModule.name,
        spareparts_module_1.SparepartsModule.name,
        downloads_module_1.DownloadsModule.name,
        pagination_module_1.PaginationModule.name,
        dealer_module_1.DealerModule.name
    ])
        .controller('MainController', main_controller_1.MainController)
        .filter('trustedUrl', ['$sce', function ($sce) {
            return function (url) {
                return $sce.trustAsResourceUrl(url);
            };
        }])
        .filter('trustedHtml', ['$sce', function ($sce) {
            return function (html) {
                return $sce.trustAsHtml(html);
            };
        }])
        .value('API_URL', (window['APPLICATION_ENV'] === 'development') ? 'https://stage.beyer-testsystem.de' : "//" + location.hostname + "/")
        .value('API_PRODUCTS_ENDPOINT', (window['APPLICATION_ENV'] === 'development') ? 'rest/V1/productList' : 'rest/V1/productList');
});
//# sourceMappingURL=module.js.map