<commit_before>'use strict';

angular.module('arachne',[
	'ui.bootstrap',
    'ui.utils',
	'ngRoute',
	'ngSanitize',
	'ngResource',
	'ngCookies',
	'angulartics', 
	'angulartics.google.analytics',
	'relativePathsInPartial',
	'ui.tree',
	'arachne.filters',
	'arachne.services',
	'arachne.directives',
	'arachne.controllers',
    'arachne.widgets.directives'
])
.config(['$routeProvider', '$locationProvider', '$compileProvider', function($routeProvider, $locationProvider, $compileProvider) {
	$locationProvider.html5Mode(true);

	$compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|blob):/)

	$routeProvider
		.when('/', {templateUrl: 'partials/startSite.html'})
		.when('/catalog', {templateUrl: 'partials/catalog.html'})
		.when('/entity/:id?', {templateUrl: 'partials/entity.html'})
		.when('/entity/:entityId/images', {templateUrl: 'partials/entity_images.html'})
		.when('/entity/:entityId/image/:imageId', {templateUrl: 'partials/entity_image.html'})
		.when('/search/:params?', {templateUrl: 'partials/search.html'})
		.when('/category/:params?', {templateUrl: 'partials/category.html'})	
		.when('/map', {templateUrl: 'partials/map.html'})
		.when('/3d', {templateUrl: 'partials/3d.html'})
		.when('/imprint', {templateUrl: 'partials/imprint.html'})
		.when('/privacy', {templateUrl: 'partials/privacy.html'})
		.when('/allCategories', {templateUrl: 'partials/allCategories.html'})
		.when('/projects', {templateUrl: 'partials/projects.html'})
		.when('/register', {templateUrl: 'partials/register.html'})
		.when('/faq', {templateUrl: 'partials/faq.html'})
		.when('/order', {templateUrl: 'partials/order.html'})
		.when('/about', {templateUrl: 'partials/about.html'})
		.when('/apis', {templateUrl: 'partials/apis.html'})
		.when('/contact', {templateUrl: 'partials/contact.html'})
		.when('/admin/dataimport', {templateUrl: 'partials/dataimport.html'})
		.when('/pwdreset', {templateUrl: 'partials/pwdreset.html'})
		.when('/user/activation/:token', {templateUrl: 'partials/activation.html'})
		.when('/project/:name', {templateUrl: 'partials/project.html'});
}]).constant('arachneSettings', {
		dataserviceUri: "http://localhost:1236/data",
		openFacets : ["facet_image", "facet_kategorie", "facet_bestandsname", "facet_subkategoriebestand"],
		sortableFields : ["entityId", "title", "subtitle"]
}).run(['$rootScope', function($rootScope) {
    $rootScope.$on('$routeChangeSuccess', function (event, current, previous) {
    	// resetting the default page title for controller changes
    	document.title = "Arachne"
    });
}]);
<commit_msg>Update app.js<commit_after>'use strict';

angular.module('arachne',[
	'ui.bootstrap',
    'ui.utils',
	'ngRoute',
	'ngSanitize',
	'ngResource',
	'ngCookies',
	'angulartics', 
	'angulartics.google.analytics',
	'relativePathsInPartial',
	'ui.tree',
	'arachne.filters',
	'arachne.services',
	'arachne.directives',
	'arachne.controllers',
    'arachne.widgets.directives'
])
.config(['$routeProvider', '$locationProvider', '$compileProvider', function($routeProvider, $locationProvider, $compileProvider) {
	$locationProvider.html5Mode(true);

	$compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|blob):/)

	$routeProvider
		.when('/', {templateUrl: 'partials/startSite.html'})
		.when('/catalog', {templateUrl: 'partials/catalog.html'})
		.when('/entity/:id?', {templateUrl: 'partials/entity.html'})
		.when('/entity/:entityId/images', {templateUrl: 'partials/entity_images.html'})
		.when('/entity/:entityId/image/:imageId', {templateUrl: 'partials/entity_image.html'})
		.when('/search/:params?', {templateUrl: 'partials/search.html'})
		.when('/category/:params?', {templateUrl: 'partials/category.html'})	
		.when('/map', {templateUrl: 'partials/map.html'})
		.when('/3d', {templateUrl: 'partials/3d.html'})
		.when('/imprint', {templateUrl: 'partials/imprint.html'})
		.when('/privacy', {templateUrl: 'partials/privacy.html'})
		.when('/allCategories', {templateUrl: 'partials/allCategories.html'})
		.when('/projects', {templateUrl: 'partials/projects.html'})
		.when('/register', {templateUrl: 'partials/register.html'})
		.when('/faq', {templateUrl: 'partials/faq.html'})
		.when('/order', {templateUrl: 'partials/order.html'})
		.when('/about', {templateUrl: 'partials/about.html'})
		.when('/apis', {templateUrl: 'partials/apis.html'})
		.when('/contact', {templateUrl: 'partials/contact.html'})
		.when('/admin/dataimport', {templateUrl: 'partials/dataimport.html'})
		.when('/pwdreset', {templateUrl: 'partials/pwdreset.html'})
		.when('/user/activation/:token', {templateUrl: 'partials/activation.html'})
		.when('/project/:name', {templateUrl: 'partials/project.html'});
}]).constant('arachneSettings', {
		dataserviceUri: "http://" + document.location.host + "/data",
		openFacets : ["facet_image", "facet_kategorie", "facet_bestandsname", "facet_subkategoriebestand"],
		sortableFields : ["entityId", "title", "subtitle"]
}).run(['$rootScope', function($rootScope) {
    $rootScope.$on('$routeChangeSuccess', function (event, current, previous) {
    	// resetting the default page title for controller changes
    	document.title = "Arachne"
    });
}]);

{'fraction_non_alphanumeric': 0.2119205298013245, 'fraction_numerical': 0.0019477989871445266, 'mean_word_length': 5.9298245614035086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6105505', 'n_tokens_mistral': 1848, 'n_tokens_neox': 1791, 'n_words': 253}