<commit_before><div id="feedbackError" style="display:none"></div>
<form id="feedback-form" method="post" onsubmit="feedback.post();return false;" enctype="multipart/form-data">
    <table height="100%" width="100%" cellpadding="5">
        <tr>
            <td width="60" class="feedback-label">Модуль:</td>
            <td width="240" class="feedback-control">
    	        <select class="feedBackSelect" id="supportFormModule" name="supportFormModule">
    	            <option value="" disabled="disabled" selected="selected">Выберите модуль</option>
                </select>
            </td>
        </tr>
        <tr valign="top">
            <td class="feedback-label">
                <br/>
                Сообщение:
            </td>
        <td width="240" class="feedback-control">
            <br/>
            <textarea id="supportFormMessage" class="feedBackMessage" name="supportFormMessage"></textarea>
        </td>
        <tr valign="top" id="feedback-video">
        <td style="width:75px">
            <br/>
            Запись экрана:
        </td>
        <td>
            <video controls autoplay playsinline style="max-width: 250px;display: none;"></video>
            <script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script>
            <button class="buttonSmall" style="margin-top: 7px" id="btn-start-recording">
                <img src="core2/html/default/img/monitor.png"/>
            </button>
            <button id="btn-stop-recording" style="display: none">Стоп</button>
            <script>
                var video = document.querySelector('video');

                <video controls autoplay playsinline style="max-width: 250px;"></video>
                <button class="buttonSmall" style="margin-top: 7px" id="btn-start-recording">
                    <img src="core2/html/default/img/monitor.png"/>
                </button>
                <button id="btn-stop-recording" style="display: none">Стоп</button>

                if (!navigator.getDisplayMedia && !navigator.mediaDevices) {
                    var error = 'Your browser does NOT support the getDisplayMedia API.';

                    document.querySelector('video').style.display = 'none';
                    document.getElementById('feedback-video').style.display = 'none';
                    document.getElementById('btn-start-recording').style.display = 'none';
                    document.getElementById('btn-stop-recording').style.display = 'none';
                }

                        document.querySelector('.screen-record .error').style.display = 'block';
                        document.querySelector('.screen-record .error').textContent = error;

                        document.querySelector('.screen-record video').style.display = 'none';
                        document.getElementById('btn-start-recording').style.display = 'none';
                        document.getElementById('btn-stop-recording').style.display  = 'none';
                        console.error(error);
                    }

                    var recorder; // globally accessible

                    if (recorder && ! video.src) {
                        document.querySelector('video').style.display = '';
                        document.getElementById('btn-start-recording').style.display = 'none';
                        document.getElementById('btn-stop-recording').style.display = '';
                    }

                    document.getElementById('btn-start-recording').onclick = function() {
                        this.disabled = true;

                        captureScreen(function(screen) {
                            video.srcObject = screen;

                            recorder = RecordRTC(screen, {
                                type: 'video'
                            });

                            recorder.startRecording();
                            video.style.display = 'block';
                            // release screen on stopRecording
                            recorder.screen = screen;
                            document.getElementById('btn-start-recording').style.display = 'none';
                            document.getElementById('btn-stop-recording').style.display = 'block';
                            document.getElementById('btn-stop-recording').disabled = false;
                        });

                        return false;
                    };

                    document.getElementById('btn-stop-recording').onclick = function() {
                        document.getElementById('btn-start-recording').style.display = 'block';
                        this.style.display = 'none';
                        this.disabled = true;
                        recorder.stopRecording(stopRecordingCallback);
                    };
                </script>
            </td>
        </tr>
    <tr>
        <td class="feedback-label">&nbsp;</td>
        <td class="feedback-control">
            <br/>
            <input type="submit" value="Отправить" class="button"/>
        </td>
    </tr>
    </table>
</form><commit_msg>кто-то поломал верстку<commit_after><div id="feedbackError" style="display:none"></div>
<form id="feedback-form" method="post" onsubmit="feedback.post();return false;" enctype="multipart/form-data">
    <table height="100%" width="100%" cellpadding="5">
        <tr>
            <td width="60" class="feedback-label">Модуль:</td>
            <td width="240" class="feedback-control">
    	        <select class="feedBackSelect" id="supportFormModule" name="supportFormModule">
    	            <option value="" disabled="disabled" selected="selected">Выберите модуль</option>
                </select>
            </td>
        </tr>
        <tr valign="top">
            <td class="feedback-label">
                <br/>
                Сообщение:
            </td>
            <td width="240" class="feedback-control">
                <br/>
                <textarea id="supportFormMessage" class="feedBackMessage" name="supportFormMessage"></textarea>
            </td>
        </tr>
        <tr valign="top" id="feedback-video">
            <td style="width:75px">
                <br/>
                Запись экрана:
            </td>
            <td>
                <video controls autoplay playsinline style="max-width: 250px;display: none;"></video>
                <script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script>
                <button class="buttonSmall" style="margin-top: 7px" id="btn-start-recording">
                    <img src="core2/html/default/img/monitor.png"/>
                </button>
                <button id="btn-stop-recording" style="display: none">Стоп</button>
                <script>
                    var video = document.querySelector('video');
                    if (!navigator.getDisplayMedia && !navigator.mediaDevices) {
                        var error = 'Your browser does NOT support the getDisplayMedia API.';

                        document.querySelector('video').style.display = 'none';
                        document.getElementById('feedback-video').style.display = 'none';
                        document.getElementById('btn-start-recording').style.display = 'none';
                        document.getElementById('btn-stop-recording').style.display = 'none';
                    }

                    var recorder; // globally accessible

                    if (recorder && ! video.src) {
                        document.querySelector('video').style.display = '';
                        document.getElementById('btn-start-recording').style.display = 'none';
                        document.getElementById('btn-stop-recording').style.display = '';
                    }

                    document.getElementById('btn-start-recording').onclick = function() {
                        this.disabled = true;

                        captureScreen(function(screen) {
                            video.srcObject = screen;

                            recorder = RecordRTC(screen, {
                                type: 'video'
                            });

                            recorder.startRecording();
                            video.style.display = 'block';
                            // release screen on stopRecording
                            recorder.screen = screen;
                            document.getElementById('btn-start-recording').style.display = 'none';
                            document.getElementById('btn-stop-recording').style.display = 'block';
                            document.getElementById('btn-stop-recording').disabled = false;
                        });

                        return false;
                    };

                    document.getElementById('btn-stop-recording').onclick = function() {
                        document.getElementById('btn-start-recording').style.display = 'block';
                        this.style.display = 'none';
                        this.disabled = true;
                        recorder.stopRecording(stopRecordingCallback);
                    };
                </script>
            </td>
        </tr>
        <tr>
            <td class="feedback-label">&nbsp;</td>
            <td class="feedback-control">
                <br/>
                <input type="submit" value="Отправить" class="button"/>
            </td>
        </tr>
    </table>
</form>
{'fraction_non_alphanumeric': 0.13108336859923825, 'fraction_numerical': 0.005184088023698688, 'mean_word_length': 1.4922225151595043, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '4422223', 'n_tokens_mistral': 2379, 'n_tokens_neox': 2209, 'n_words': 372}