<commit_before>/* ConfigManager.js

KC3改 Configuration Manager

Stores KC3改 Settings on localStorage for persistence
Retreives when needed to apply on components
*/
(function(){
	"use strict";
	
	window.ConfigManager = {
		
		// Default values. As a function to not include on JSON string
		defaults : function(){
			return {
				version				: 8,
				language			: "en",
				elosFormula 		: 4,
				hqExpDetail 		: 1,
				timerDisplayType	: 1,
				marryLevelFormat	: 0,
				checkLiveQuests		: true,
				devOnlyPages		: false,
				forceDMMLogin       : false,
				apiRecorder         : false,

				DBSubmission_enabled: 0,
				DBSubmission_key : '',

				PoiDBSubmission_enabled: false,
				
				KC3DBSubmission_enabled: true,
				
				info_face 			: true,
				info_drop 			: true,
				info_craft 			: true,
				info_compass 		: true,
				info_battle 		: true,
				info_btrank			: true,
				info_btstamp 		: false,
				info_fleetstat 		: true,
				info_blink_gauge	: true,
				info_boss 			: false,
				info_delta 			: false,
				info_auto_exped_tab : true,
				info_auto_fleet_view: true,
				info_eng_stype		: false,
				info_force_ship_lang: "",
				info_salt 			: false,
				info_troll 			: false,

				// AIR PROFICIENCY BONUSES (Configurable by user)
				air_formula			: 3, // 1=no veteran 2=veteran average 3=veteran bounds
				air_average			: {
					"6":  [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"7":  [0,    1,	  1,   1,    2,	   2,  2,  3],
					"8":  [0,    1,	  1,   1,    2,	   2,  2,  3],
					"11": [0,    1,	  1,   3,    3,	   7,  7,  9],
					"45": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"47": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"48": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25]
				},
				air_bounds			: {
					"6": [
						[0.026, 0.845], // 0
						[1, 1.715], [3.212, 3.984], [6.845, 7.504], // 3
						[11.205, 11.786], [16.639, 17], [16.999, 17.205], [24.679, 25.411] // 7
					],<commit_msg>Added air average info for jet aircrafts<commit_after>/* ConfigManager.js

KC3改 Configuration Manager

Stores KC3改 Settings on localStorage for persistence
Retreives when needed to apply on components
*/
(function(){
	"use strict";
	
	window.ConfigManager = {
		
		// Default values. As a function to not include on JSON string
		defaults : function(){
			return {
				version				: 8,
				language			: "en",
				elosFormula 		: 4,
				hqExpDetail 		: 1,
				timerDisplayType	: 1,
				marryLevelFormat	: 0,
				checkLiveQuests		: true,
				devOnlyPages		: false,
				forceDMMLogin       : false,
				apiRecorder         : false,

				DBSubmission_enabled: 0,
				DBSubmission_key : '',

				PoiDBSubmission_enabled: false,
				
				KC3DBSubmission_enabled: true,
				
				info_face 			: true,
				info_drop 			: true,
				info_craft 			: true,
				info_compass 		: true,
				info_battle 		: true,
				info_btrank			: true,
				info_btstamp 		: false,
				info_fleetstat 		: true,
				info_blink_gauge	: true,
				info_boss 			: false,
				info_delta 			: false,
				info_auto_exped_tab : true,
				info_auto_fleet_view: true,
				info_eng_stype		: false,
				info_force_ship_lang: "",
				info_salt 			: false,
				info_troll 			: false,

				// AIR PROFICIENCY BONUSES (Configurable by user)
				air_formula			: 3, // 1=no veteran 2=veteran average 3=veteran bounds
				air_average			: {
					"6":  [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"7":  [0,    1,	  1,   1,    2,	   2,  2,  3],
					"8":  [0,    1,	  1,   1,    2,	   2,  2,  3],
					"11": [0,    1,	  1,   3,    3,	   7,  7,  9],
					"45": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"47": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"48": [0, 1.35, 3.5, 7.1, 11.4, 16.8, 17, 25],
					"57": [0,    1,	  1,   3,    3,	   7,  7,  9]
				},
				air_bounds			: {
					"6": [
						[0.026, 0.845], // 0
						[1, 1.715], [3.212, 3.984], [6.845, 7.504], // 3
						[11.205, 11.786], [16.639, 17], [16.999, 17.205], [24.679, 25.411] // 7
					],
{'fraction_non_alphanumeric': 0.14437959908652626, 'fraction_numerical': 0.09895965490992134, 'mean_word_length': 1.9954407294832828, 'pattern_counts': {'":': 17, '<': 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': '1066460', 'n_tokens_mistral': 2304, 'n_tokens_neox': 1674, 'n_words': 407}