<commit_before>;(function($) {

  'use strict'

  var UploadImage = function(ed, url) {

    var RESULT, ACTIVE_TAB;
    var UPLOAD_FILE_URL = '/media';
    var FORM_TMPL = (

      '<div>' +

        '<ul class="nav nav-tabs" role="tablist">' +
          '<li role="presentation" class="active">' +
            '<a href="#upload-image-2" data-tab="1" role="tab" data-toggle="tab">Две колонки</a>' +
          '</li>' +
          '<li role="presentation">' +
            '<a href="#upload-image-1" data-tab="2" role="tab" data-toggle="tab">Одна колонка</a>' +
          '</li>' +
         '</ul>' +

        '<div class="tab-content">' +

          '<div role="tabpanel" class="tab-pane active" id="upload-image-2">' +

            '<div class="row images-preview">' +

              '<div class="col-md-6">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-2-1-dropzone" style="height:385px;">' +
                    '<div class="image" style="height:375px; line-height:375px;"><span>{size_2_1}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-2-1" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

              '<div class="col-md-6">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-2-2-dropzone" style="height:385px;">' +
                    '<div class="image" style="height:375px; line-height:375px;"><span>{size_2_2}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-2-2" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

            '</div>' +

          '</div>' +

          '<div role="tabpanel" class="tab-pane" id="upload-image-1">' +

            '<div class="row images-preview">' +

              '<div class="col-md-12" style="width:750px; float:none; margin:0 auto;">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-1-dropzone" style="height:443px;">' +
                    '<div class="image" style="height:433px; line-height:433px;"><span>{size_1}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-1" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

            '</div>' +

          '</div>' +

        '</div>' +

      '</div>'

    ); // FORM_TMPL

    var TMPL_1_COLUMN = (
<commit_msg>УБрано лишнее<commit_after>;(function($) {

  'use strict'

  var UploadImage = function(ed, url) {

    var RESULT, ACTIVE_TAB;
    var UPLOAD_FILE_URL = '/media';
    var FORM_TMPL = (

      '<div>' +

        '<ul class="nav nav-tabs" role="tablist">' +
          '<li role="presentation" class="active">' +
            '<a href="#upload-image-2" data-tab="1" role="tab" data-toggle="tab">Две колонки</a>' +
          '</li>' +
          '<li role="presentation">' +
            '<a href="#upload-image-1" data-tab="2" role="tab" data-toggle="tab">Одна колонка</a>' +
          '</li>' +
         '</ul>' +

        '<div class="tab-content">' +

          '<div role="tabpanel" class="tab-pane active" id="upload-image-2">' +

            '<div class="row images-preview">' +

              '<div class="col-md-6">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-2-1-dropzone">' +
                    '<div class="image"><span>{size_2_1}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-2-1" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

              '<div class="col-md-6">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-2-2-dropzone">' +
                    '<div class="image"><span>{size_2_2}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-2-2" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

            '</div>' +

          '</div>' +

          '<div role="tabpanel" class="tab-pane" id="upload-image-1">' +

            '<div class="row images-preview">' +

              '<div class="col-md-12 fileupload-btn-1">' +

                '<form action="{url}" accept-charset="UTF-8" method="post">' +
                  '<input name="utf8" type="hidden" value="✓">' +
                  '<input type="hidden" name="authenticity_token" value="{authenticity_token}">' +

                  '<div class="thumbnail fileupload-btn-1-dropzone">' +
                    '<div class="image"><span>{size_1}</span></div>' +
                  '</div>' +

                  '<input type="file" class="btn btn-primary btn-sm fileupload-btn-1" title="{button_name}" name="file">' +
                '</form>' +

              '</div>' +

            '</div>' +

          '</div>' +

        '</div>' +

      '</div>'

    ); // FORM_TMPL

    var TMPL_1_COLUMN = (

{'fraction_non_alphanumeric': 0.20618228170809433, 'fraction_numerical': 0.015296367112810707, 'mean_word_length': 1.9236143455985095, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '6986205', 'n_tokens_mistral': 2051, 'n_tokens_neox': 1987, 'n_words': 327}