<commit_before><!DOCTYPE html>
<!--

    Copyright © 2016-2018 Threema GmbH (https://threema.ch/).

    This file is part of Threema Web.

    Threema Web is free software: you can redistribute it and/or modify it
    under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or (at
    your option) any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
    General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with Threema Web. If not, see <http://www.gnu.org/licenses/>.

-->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="referrer" content="no-referrer">
    <meta name="robots" content="noindex">

    <title>Threema Web Diagnostics</title>

    <!-- Favicon -->
    <link rel="icon" href="../img/favicion/favicon.ico?v=[[VERSION]]" type="image/x-icon">
    <link rel="shortcut icon" href="../img/favicion/favicon.ico?v=[[VERSION]]" type="image/x-icon">

    <!-- Fonts -->
    <link rel="stylesheet" href="../fonts/roboto.css?v=[[VERSION]]" type="text/css">
    <link rel="stylesheet" href="../fonts/material.css?v=[[VERSION]]" type="text/css">

    <!-- Styling -->
    <style>
        body {
            padding: 16px;
            font-family: 'Roboto';
        }

        #background-image {
            min-height: 100%;
            min-width: 1024px;
            width: 100%;
            height: auto;
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            -moz-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }

        #wrapper {
            background-color: white;
            margin: 0 auto;
            padding: 16px 32px 32px;
            min-width: 400px;
            max-width: 500px;
            text-align: center;
        }

        #logo {
            width: 300px;
            color: white;
            margin: 0px auto 16px;
        }

        h1 { margin-top: 0; font-weight: 500; }
        h2 { font-weight: 300; }
        p { font-weight: 300; }

        .status span {
            display: inline-block;
            line-height: 36px;
            vertical-align: top;
        }

        .status-yes i { color: #4caf50; }
        .status-no i { color: #f44336; }
        .status-unknown i { color: #0277BD; }

        .hidden { display: none; }

        .small { font-size: 0.8em; font-weight: 300; }

        footer {
            color: white;
            font-weight: 300;
            text-align: center;
            padding-top: 16px;
        }
    </style>

    <!-- JS -->
    <script src="../node_modules/webrtc-adapter/out/adapter.js?v=[[VERSION]]"></script>
    <script src="../node_modules/sdp/sdp.js?v=[[VERSION]]"></script>
    <script src="troubleshoot.js?v=[[VERSION]]"></script>
</head>
<body>
    <img src="../img/bg1.jpg?v=[[VERSION]]" id="background-image" draggable="false" alt="">

    <header>
        <div id="title">
            <div id="logo">
                <img src="../img/logo.svg?v=[[VERSION]]" alt="Logo">
            </div>
        </div>
    </header>

    <div id="wrapper">

        <h1>Threema Web Diagnostics</h1>

        <p id="help-text">This test will check your browser for compatibility problems. It
        will also check whether WebRTC connection buildup using STUN/TURN works.</p><commit_msg>Fix troubleshooting background image<commit_after><!DOCTYPE html>
<!--

    Copyright © 2016-2018 Threema GmbH (https://threema.ch/).

    This file is part of Threema Web.

    Threema Web is free software: you can redistribute it and/or modify it
    under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or (at
    your option) any later version.

    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
    General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with Threema Web. If not, see <http://www.gnu.org/licenses/>.

-->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="referrer" content="no-referrer">
    <meta name="robots" content="noindex">

    <title>Threema Web Diagnostics</title>

    <!-- Favicon -->
    <link rel="icon" href="../img/favicion/favicon.ico?v=[[VERSION]]" type="image/x-icon">
    <link rel="shortcut icon" href="../img/favicion/favicon.ico?v=[[VERSION]]" type="image/x-icon">

    <!-- Fonts -->
    <link rel="stylesheet" href="../fonts/roboto.css?v=[[VERSION]]" type="text/css">
    <link rel="stylesheet" href="../fonts/material.css?v=[[VERSION]]" type="text/css">

    <!-- Styling -->
    <style>
        body {
            padding: 16px;
            font-family: 'Roboto';
        }

        #background-image {
            min-height: 100%;
            min-width: 1024px;
            width: 100%;
            height: auto;
            position: fixed;
            top: 0;
            left: 0;
            z-index: -1;
            -moz-user-select: none;
            -webkit-user-select: none;
            user-select: none;
        }

        #wrapper {
            background-color: white;
            margin: 0 auto;
            padding: 16px 32px 32px;
            min-width: 400px;
            max-width: 500px;
            text-align: center;
        }

        #logo {
            width: 300px;
            color: white;
            margin: 0px auto 16px;
        }

        h1 { margin-top: 0; font-weight: 500; }
        h2 { font-weight: 300; }
        p { font-weight: 300; }

        .status span {
            display: inline-block;
            line-height: 36px;
            vertical-align: top;
        }

        .status-yes i { color: #4caf50; }
        .status-no i { color: #f44336; }
        .status-unknown i { color: #0277BD; }

        .hidden { display: none; }

        .small { font-size: 0.8em; font-weight: 300; }

        footer {
            color: white;
            font-weight: 300;
            text-align: center;
            padding-top: 16px;
        }
    </style>

    <!-- JS -->
    <script src="../node_modules/webrtc-adapter/out/adapter.js?v=[[VERSION]]"></script>
    <script src="../node_modules/sdp/sdp.js?v=[[VERSION]]"></script>
    <script src="troubleshoot.js?v=[[VERSION]]"></script>
</head>
<body>
    <img src="../img/bg.jpg?v=[[VERSION]]" id="background-image" draggable="false" alt="">

    <header>
        <div id="title">
            <div id="logo">
                <img src="../img/logo.svg?v=[[VERSION]]" alt="Logo">
            </div>
        </div>
    </header>

    <div id="wrapper">

        <h1>Threema Web Diagnostics</h1>

        <p id="help-text">This test will check your browser for compatibility problems. It
        will also check whether WebRTC connection buildup using STUN/TURN works.</p>
{'fraction_non_alphanumeric': 0.1423160173160173, 'fraction_numerical': 0.02259199134199134, 'mean_word_length': 1.96669341894061, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1038802', 'n_tokens_mistral': 2417, 'n_tokens_neox': 2205, 'n_words': 618}