<commit_before><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>EVIE</title>
    <base href="/">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">

    <style id="pre-bootstrap-container-style">
        /* Styles for the pre-bootstrap sequence */

        @font-face {
            font-family: eve-font;
            src: url(./assets/fonts/evesansneue-bold.otf);
        }

        #pre-bootstrap-container {
            font-family: "open-sans", sans-serif;
            font-weight: bold;
            font-size: 16px;
            line-height: 1.42857143;
            background-color: #101010;
            bottom: 0;
            left: 0;
            opacity: 1.0;
            position: fixed;
            right: 0;
            top: 0;
            z-index: 999999;
        }

        /*noinspection CssUnusedSymbol*/
        #pre-bootstrap-container.loaded {
            opacity: 0.0;
        }

        #pre-bootstrap div.loading-message {
            z-index: 2;
            left: 0;
            position: absolute;
            right: 0;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
        }

        .startup-error-container {
            margin-top: 15px;
            font-size: initial;
            line-height: initial;
            color: grey;
        }

        #pre-bootstrap h1 {
            font-size: 26px;
            line-height: 35px;
            margin: 0 0 20px 0;
        }

        #pre-bootstrap p {
            font-size: 18px;
            line-height: 14px;
            margin: 0 0 0 0;
        }
    </style>
</head>
<body>
<script>window.__theme = 'bs4';</script>
<app-root></app-root>
<div id="pre-bootstrap-container">

    <script type="text/javascript">
        document.addEventListener('StartupSuccess', function () {

            var preBootstrapContainer = document.getElementById('pre-bootstrap-container');
            var preBootstrapContainerStyle = document.getElementById('pre-bootstrap-container-style');

            // Add the class-name to initiate the transitions.
            preBootstrapContainer.className = 'loaded';

            // Delete the bootstrap container after the transition has completed (based on the known transition time).
            var transitionTime = 300;
            window.setTimeout(
                function () {
                    var body = document.getElementsByTagName('body')[0];
                    var head = document.getElementsByTagName('head')[0];
                    body.removeChild(preBootstrapContainer);
                    head.removeChild(preBootstrapContainerStyle);
                }, transitionTime);
        });

        document.addEventListener('StartupFailed', function () {
            var info = document.getElementById('info');
            info.classList.remove('m-progress');
            info.innerHTML = 'Something went wrong while loading, please try again later.' +
                '<br><br>' +
                '<button class="btn btn-primary" onclick="window.location.reload()">Click to retry</button>' +
                '<br><br><div class="startup-error-container">' +
                '<i class="fa fa-exclamation-triangle"></i> ' +
                'ERROR INFORMATION' +
                ' <i class="fa fa-exclamation-triangle"></i>' +
                '<pre id="error-info"></pre>' +
                '<pre id="error-info-detail"></pre>' +
                '</div>' +
                '<br>' +
                '<a class="underline" href="https://github.com/Ionaru/EVIE" target="_blank">Report on GitHub</a>';
        });
    </script>

    <div id="pre-bootstrap">
        <div class="loading-message">
            <h1><strong>EVIE</strong></h1>
            <span class="m-progress"></span>
        </div><commit_msg>Fix startup error screen not working<commit_after><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>EVIE</title>
    <base href="/">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">

    <style id="pre-bootstrap-container-style">
        /* Styles for the pre-bootstrap sequence */

        @font-face {
            font-family: eve-font;
            src: url(./assets/fonts/evesansneue-bold.otf);
        }

        #pre-bootstrap-container {
            font-family: "open-sans", sans-serif;
            font-weight: bold;
            font-size: 16px;
            line-height: 1.42857143;
            background-color: #101010;
            bottom: 0;
            left: 0;
            opacity: 1.0;
            position: fixed;
            right: 0;
            top: 0;
            z-index: 999999;
        }

        /*noinspection CssUnusedSymbol*/
        #pre-bootstrap-container.loaded {
            opacity: 0.0;
        }

        #pre-bootstrap div.loading-message {
            z-index: 2;
            left: 0;
            position: absolute;
            right: 0;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
        }

        .startup-error-container {
            margin-top: 15px;
            font-size: initial;
            line-height: initial;
            color: grey;
        }

        #pre-bootstrap h1 {
            font-size: 26px;
            line-height: 35px;
            margin: 0 0 20px 0;
        }

        #pre-bootstrap p {
            font-size: 18px;
            line-height: 14px;
            margin: 0 0 0 0;
        }
    </style>
</head>
<body>
<script>window.__theme = 'bs4';</script>
<app-root></app-root>
<div id="pre-bootstrap-container">

    <script type="text/javascript">
        document.addEventListener('StartupSuccess', function () {

            var preBootstrapContainer = document.getElementById('pre-bootstrap-container');
            var preBootstrapContainerStyle = document.getElementById('pre-bootstrap-container-style');

            // Add the class-name to initiate the transitions.
            preBootstrapContainer.className = 'loaded';

            // Delete the bootstrap container after the transition has completed (based on the known transition time).
            var transitionTime = 300;
            window.setTimeout(
                function () {
                    var body = document.getElementsByTagName('body')[0];
                    var head = document.getElementsByTagName('head')[0];
                    body.removeChild(preBootstrapContainer);
                    head.removeChild(preBootstrapContainerStyle);
                }, transitionTime);
        });

        document.addEventListener('StartupFailed', function () {
            var info = document.getElementById('info');
            info.classList.remove('m-progress');
            info.innerHTML = 'Something went wrong while loading, please try again later.' +
                '<br><br>' +
                '<button class="btn btn-primary" onclick="window.location.reload()">Click to retry</button>' +
                '<br><br><div class="startup-error-container">' +
                '<i class="fa fa-exclamation-triangle"></i> ' +
                'ERROR INFORMATION' +
                ' <i class="fa fa-exclamation-triangle"></i>' +
                '<pre id="error-info"></pre>' +
                '<pre id="error-info-detail"></pre>' +
                '</div>' +
                '<br>' +
                '<a class="underline" href="https://github.com/Ionaru/EVIE" target="_blank">Report on GitHub</a>';
        });
    </script>

    <div id="pre-bootstrap">
        <div class="loading-message">
            <h1><strong>EVIE</strong></h1>
            <span class="m-progress" id="info"></span>
        </div>
{'fraction_non_alphanumeric': 0.13561275451402227, 'fraction_numerical': 0.01741580227942118, 'mean_word_length': 1.697754749568221, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '4187421', 'n_tokens_mistral': 2269, 'n_tokens_neox': 2092, 'n_words': 439}