<commit_before>﻿///<reference path="references.ts" />

module SupportCenter {
    "use strict";

    var app = angular.module("supportCenterApp", ["ngMaterial", "ngMdIcons", "ngLetterAvatar", "ui.router", "nvd3", "ngSanitize", "btford.markdown", "jlareau.bowser", "md.data.table"])

        .service("DetectorsService", DetectorsService)
        .service("SiaService", SiaService)
        .service("SiteService", SiteService)
        .service("TimeParamsService", TimeParamsService)
        .service("FeedbackService", FeedbackService)
        .service("ErrorHandlerService", ErrorHandlerService)
        .service("AseService", AseService)
        .service("ThemeService", ThemeService)
        .controller("HomeCtrl",HomeCtrl)
        .controller("MainCtrl", MainCtrl)
        .controller("AppServiceEnvironmentCtrl", AppServiceEnvrionmentCtrl)
        .controller("SiteCtrl", SiteCtrl)
        .controller("DetectorCtrl", DetectorCtrl)
        .controller("SiaCtrl", SiaCtrl)
        .controller("AppProfileCtrl", AppProfileCtrl)
        .controller("AseProfileCtrl", AseProfileCtrl)
        .controller("CaseFeedbackCtrl", CaseFeedbackCtrl)
        .directive("detectorView", [() => new DetectorViewDir()])
        .directive("detailedDetectorView", [() => new DetailedDetectorViewDir()])
        .directive("downtimeTimeline", [() => new DowntimeTimelineDir()])
        .config(($mdThemingProvider: angular.material.IThemingProvider,
            $mdIconProvider: angular.material.IIconProvider,
            $locationProvider: angular.ILocationProvider,
            $stateProvider: angular.ui.IStateProvider) => {

            // App Analysis Theme
            $mdThemingProvider.theme('default')
                .primaryPalette('teal')
                .accentPalette('red');

            // Perf Analysis Theme
            $mdThemingProvider.theme('default2')
                .primaryPalette('blue')
                .accentPalette('red');

            // ASE Theme
            $mdThemingProvider.theme('default3')
                .primaryPalette('brown')
                .accentPalette('red');

            $mdThemingProvider.alwaysWatchTheme(true);

            $mdIconProvider
                .icon('menu', './app/assets/svg/menu.svg', 24);

            $mdIconProvider
                .icon('evidence', './app/assets/svg/search.svg', 30);

            $mdIconProvider
                .icon('success', './app/assets/svg/success.svg', 30);

            $mdIconProvider
                .icon('warning', './app/assets/svg/warning.svg', 30);

            $stateProvider
                .state('homePage', {
                    url: '/',
                    templateUrl: 'app/Home/home.html',
                    controller: 'HomeCtrl',
                    controllerAs: 'home',
                })
                .state('sites', {
                    url: '/sites/{siteName}?{startTime}&{endTime}&{timeGrain}&{isInternal}&{vNext}',
                    templateUrl: 'app/Main/main.html',
                    controller: 'MainCtrl',
                    controllerAs: 'main'
                })
                .state('stampsites', {
                    url: '/stamps/{stamp}/sites/{siteName}?{startTime}&{endTime}&{timeGrain}&{isInternal}',
                    templateUrl: 'app/Main/main.html',
                    controller: 'MainCtrl',
                    controllerAs: 'main'
                })
                .state('home3', {
                    url: '/hostingEnvironments/{hostingEnvironmentName}?{startTime}&{endTime}&{timeGrain}&{isInternal}',
                    templateUrl: 'app/AppServiceEnvironment/appServiceEnvironment.html',
                    controller: 'AppServiceEnvironmentCtrl',
                    controllerAs: 'ase'
                })
                .state('sites.appanalysis', {
                    url: '/appanalysis',
                    views: {
                        'mainContent': {
                            templateUrl: 'app/Site/site.html',<commit_msg>adding vnext flag to all the home states<commit_after>﻿///<reference path="references.ts" />

module SupportCenter {
    "use strict";

    var app = angular.module("supportCenterApp", ["ngMaterial", "ngMdIcons", "ngLetterAvatar", "ui.router", "nvd3", "ngSanitize", "btford.markdown", "jlareau.bowser", "md.data.table"])

        .service("DetectorsService", DetectorsService)
        .service("SiaService", SiaService)
        .service("SiteService", SiteService)
        .service("TimeParamsService", TimeParamsService)
        .service("FeedbackService", FeedbackService)
        .service("ErrorHandlerService", ErrorHandlerService)
        .service("AseService", AseService)
        .service("ThemeService", ThemeService)
        .controller("HomeCtrl",HomeCtrl)
        .controller("MainCtrl", MainCtrl)
        .controller("AppServiceEnvironmentCtrl", AppServiceEnvrionmentCtrl)
        .controller("SiteCtrl", SiteCtrl)
        .controller("DetectorCtrl", DetectorCtrl)
        .controller("SiaCtrl", SiaCtrl)
        .controller("AppProfileCtrl", AppProfileCtrl)
        .controller("AseProfileCtrl", AseProfileCtrl)
        .controller("CaseFeedbackCtrl", CaseFeedbackCtrl)
        .directive("detectorView", [() => new DetectorViewDir()])
        .directive("detailedDetectorView", [() => new DetailedDetectorViewDir()])
        .directive("downtimeTimeline", [() => new DowntimeTimelineDir()])
        .config(($mdThemingProvider: angular.material.IThemingProvider,
            $mdIconProvider: angular.material.IIconProvider,
            $locationProvider: angular.ILocationProvider,
            $stateProvider: angular.ui.IStateProvider) => {

            // App Analysis Theme
            $mdThemingProvider.theme('default')
                .primaryPalette('teal')
                .accentPalette('red');

            // Perf Analysis Theme
            $mdThemingProvider.theme('default2')
                .primaryPalette('blue')
                .accentPalette('red');

            // ASE Theme
            $mdThemingProvider.theme('default3')
                .primaryPalette('brown')
                .accentPalette('red');

            $mdThemingProvider.alwaysWatchTheme(true);

            $mdIconProvider
                .icon('menu', './app/assets/svg/menu.svg', 24);

            $mdIconProvider
                .icon('evidence', './app/assets/svg/search.svg', 30);

            $mdIconProvider
                .icon('success', './app/assets/svg/success.svg', 30);

            $mdIconProvider
                .icon('warning', './app/assets/svg/warning.svg', 30);

            $stateProvider
                .state('homePage', {
                    url: '/',
                    templateUrl: 'app/Home/home.html',
                    controller: 'HomeCtrl',
                    controllerAs: 'home',
                })
                .state('sites', {
                    url: '/sites/{siteName}?{startTime}&{endTime}&{timeGrain}&{isInternal}&{vNext}',
                    templateUrl: 'app/Main/main.html',
                    controller: 'MainCtrl',
                    controllerAs: 'main'
                })
                .state('stampsites', {
                    url: '/stamps/{stamp}/sites/{siteName}?{startTime}&{endTime}&{timeGrain}&{isInternal}&{vNext}',
                    templateUrl: 'app/Main/main.html',
                    controller: 'MainCtrl',
                    controllerAs: 'main'
                })
                .state('home3', {
                    url: '/hostingEnvironments/{hostingEnvironmentName}?{startTime}&{endTime}&{timeGrain}&{isInternal}&{vNext}',
                    templateUrl: 'app/AppServiceEnvironment/appServiceEnvironment.html',
                    controller: 'AppServiceEnvironmentCtrl',
                    controllerAs: 'ase'
                })
                .state('sites.appanalysis', {
                    url: '/appanalysis',
                    views: {
                        'mainContent': {
                            templateUrl: 'app/Site/site.html',
{'fraction_non_alphanumeric': 0.1362221392105591, 'fraction_numerical': 0.0029884198729921555, 'mean_word_length': 1.9271137026239067, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6497438', 'n_tokens_mistral': 2181, 'n_tokens_neox': 2036, 'n_words': 296}