<commit_before>var idrinth = {
        /**
         * @type String
         */
        version: '###VERSION###',
        /**
         * @type Boolean
         */
        windowactive: true,
        /**
         *
         * @type String
         */
        platform: '',
        /**
         *
         * @returns {undefined}
         */
        reload: function ( ) {
            window.clearTimeout ( idrinth.core.timeouts.next );
            idrinth.ui.removeElement ( 'idotd-base' );
            for (var event in idrinth.core.multibind.events) {
                idrinth.ui.base.removeEventListener ( event, idrinth.core.multibind.triggered );
            }
            window.setTimeout ( function () {
                idrinth = { };
                document.getElementById ( 'idotd-loader' ).errorFunction ();
            }, 1 );
        },
        /**
         * initializes the whole script
         * @returns {undefined}
         */
        start: function ( ) {
            /**
             *
             * @returns {undefined}
             */
            var startInternal = function ( ) {
                /**
                 * initializes all modules
                 * @returns {undefined}
                 */
                var init = function () {
                    if ( !idrinth.text.initialized ) {
                        return;
                    }
                    if ( idrinth.platform === 'newgrounds' ) {
                        try {
                            var frame = document.getElementById ( 'iframe_embed' ).getElementsByTagName ( 'iframe' )[0];
                            idrinth.newgrounds.originalUrl = frame.getAttribute ( 'src' );
                            if ( window.location.search ) {
                                frame.setAttribute ( 'src', ( frame.getAttribute ( 'src' ) ).replace ( /&ir=.*/, '' ) + '&' + ( window.location.search ).replace ( /^\?/, '' ) );
                            }
                        } catch ( e ) {
                            idrinth.core.log ( e.message ? e.message : e.getMessage () );
                            return;
                        }
                        idrinth.core.timeouts.add ( 'newgrounds', idrinth.newgrounds.alarmCheck, 3333 );
                    }
                    idrinth.core.timeouts.remove ( 'start' );
                    idrinth.ui.start ( );
                    idrinth.user.start ( );
                    idrinth.names.start ( );
                    idrinth.raids.start ( );
                    idrinth.tier.start ( );
                    idrinth.chat.start ( );
                    idrinth.war.start ( );
                    idrinth.core.timeouts.add ( 'core.multibind', function () {
                        idrinth.core.multibind.add ( 'click', '.clipboard-copy', function ( element, event ) {
                            idrinth.core.copyToClipboard.element ( element );
                            element.parentNode.parentNode.removeChild ( element.parentNode );
                        } );
                    }, 1000 );
                    delete idrinth['start'];
                };
                idrinth.settings.start ( );
                idrinth.text.start ( );
                idrinth.core.timeouts.add ( 'start', init, 123, -1 );
            };
            idrinth.core.log ( 'Starting Idrinth\'s DotD Script' );
            window.onblur = function () {
                idrinth.windowactive = !idrinth.windowactive;
            };
            idrinth.platform = location.hostname.split ( '.' )[location.hostname.split ( '.' ).length - 2];
            if ( idrinth.platform === 'dawnofthedragons' ) {
                idrinth.platform = 'facebook';
            }
            if ( idrinth.platform === 'armorgames' ) {
                return idrinth.core.timeouts.add ( 'start', startInternal, 2222 );
            }
            startInternal ();
        }
    };
    window.setTimeout ( idrinth.start, 6666 );<commit_msg>reverting change - hopefully fixes loading<commit_after>var idrinth = ( function () {
    'use strict';
    var idrinth = {
        /**
         * @type String
         */
        version: '###VERSION###',
        /**
         * @type Boolean
         */
        windowactive: true,
        /**
         *
         * @type String
         */
        platform: '',
        /**
         *
         * @returns {undefined}
         */
        reload: function ( ) {
            window.clearTimeout ( idrinth.core.timeouts.next );
            idrinth.ui.removeElement ( 'idotd-base' );
            for (var event in idrinth.core.multibind.events) {
                idrinth.ui.base.removeEventListener ( event, idrinth.core.multibind.triggered );
            }
            window.setTimeout ( function () {
                idrinth = { };
                document.getElementById ( 'idotd-loader' ).errorFunction ();
            }, 1 );
        },
        /**
         * initializes the whole script
         * @returns {undefined}
         */
        start: function ( ) {
            /**
             *
             * @returns {undefined}
             */
            var startInternal = function ( ) {
                /**
                 * initializes all modules
                 * @returns {undefined}
                 */
                var init = function () {
                    if ( !idrinth.text.initialized ) {
                        return;
                    }
                    if ( idrinth.platform === 'newgrounds' ) {
                        try {
                            var frame = document.getElementById ( 'iframe_embed' ).getElementsByTagName ( 'iframe' )[0];
                            idrinth.newgrounds.originalUrl = frame.getAttribute ( 'src' );
                            if ( window.location.search ) {
                                frame.setAttribute ( 'src', ( frame.getAttribute ( 'src' ) ).replace ( /&ir=.*/, '' ) + '&' + ( window.location.search ).replace ( /^\?/, '' ) );
                            }
                        } catch ( e ) {
                            idrinth.core.log ( e.message ? e.message : e.getMessage () );
                            return;
                        }
                        idrinth.core.timeouts.add ( 'newgrounds', idrinth.newgrounds.alarmCheck, 3333 );
                    }
                    idrinth.core.timeouts.remove ( 'start' );
                    idrinth.ui.start ( );
                    idrinth.user.start ( );
                    idrinth.names.start ( );
                    idrinth.raids.start ( );
                    idrinth.tier.start ( );
                    idrinth.chat.start ( );
                    idrinth.war.start ( );
                    idrinth.core.timeouts.add ( 'core.multibind', function () {
                        idrinth.core.multibind.add ( 'click', '.clipboard-copy', function ( element, event ) {
                            idrinth.core.copyToClipboard.element ( element );
                            element.parentNode.parentNode.removeChild ( element.parentNode );
                        } );
                    }, 1000 );
                    delete idrinth['start'];
                };
                idrinth.settings.start ( );
                idrinth.text.start ( );
                idrinth.core.timeouts.add ( 'start', init, 123, -1 );
            };
            idrinth.core.log ( 'Starting Idrinth\'s DotD Script' );
            window.onblur = function () {
                idrinth.windowactive = !idrinth.windowactive;
            };
            idrinth.platform = location.hostname.split ( '.' )[location.hostname.split ( '.' ).length - 2];
            if ( idrinth.platform === 'dawnofthedragons' ) {
                idrinth.platform = 'facebook';
            }
            if ( idrinth.platform === 'armorgames' ) {
                return idrinth.core.timeouts.add ( 'start', startInternal, 2222 );
            }
            startInternal ();
        }
    };
    window.setTimeout ( idrinth.start, 6666 );
    return idrinth;
} () );
{'fraction_non_alphanumeric': 0.123710058435907, 'fraction_numerical': 0.005719258982966555, 'mean_word_length': 1.0888081017917424, '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': '452028', 'n_tokens_mistral': 2139, 'n_tokens_neox': 2026, 'n_words': 327}