<commit_before>(
 function (window) {
    var self = this;
    
    
    // private variables

    var _landingPage = "https://software-development-of-better-tomorrow.org/";
    
	var disallowdResolutionsArray = ["1024", "600"];
	
    var _interval;
    
    // ~ private variables
    

    // private functions

    function getIntervalOrDefault_Internal() {
        var hash_value_of_interval = 60;
        
        var hash = location.hash.substring(1).trim();
        if(hash.length > 0) {
            hash_value_of_interval = parseInt(hash);
        }

        return hash_value_of_interval * 1000;        
    }

    function tryAccessLandingPage_Internal() {
        window.location.href = _landingPage;
    }

    function checkWebsiteAvailability_Internal() {
        _interval = getIntervalOrDefault_Internal();

        setInterval(function() {
            tryAccessLandingPage_Internal();
        }, _interval);
    }

    // ~ private functions


    // Public API
	
     self.checkWebsiteAvailability = function () {
        return checkWebsiteAvailability_Internal();
     };
    
    // ~ Public API


    window.maintenance = window.maintenance || self;
 }
)(window)<commit_msg>Update maintenance-utils.js<commit_after>(
 function (window) {
    var self = this;
    
    
    // private variables

    var _landingPage = "https://software-development-of-better-tomorrow.org/";
    
	var disallowdResolutionsArray = ["1024", "600"];
	
    var _interval;
    
    // ~ private variables
    

    // private functions

    function getIntervalOrDefault_Internal() {
        var hash_value_of_interval = 1000;
        
        var hash = location.hash.substring(1).trim();
        if(hash.length > 0) {
            hash_value_of_interval = parseInt(hash);
        }

        return hash_value_of_interval * 1000;        
    }

    function tryAccessLandingPage_Internal() {
        window.location.href = _landingPage;
    }

    function checkWebsiteAvailability_Internal() {
        _interval = getIntervalOrDefault_Internal();

        setInterval(function() {
            tryAccessLandingPage_Internal();
        }, _interval);
    }

    // ~ private functions


    // Public API
	
     self.checkWebsiteAvailability = function () {
        return checkWebsiteAvailability_Internal();
     };
    
    // ~ Public API


    window.maintenance = window.maintenance || self;
 }
)(window)

{'fraction_non_alphanumeric': 0.1012868410128684, 'fraction_numerical': 0.013283520132835201, 'mean_word_length': 2.2348993288590604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2847367', 'n_tokens_mistral': 721, 'n_tokens_neox': 645, 'n_words': 122}