<commit_before>(function($) {

  if (!$.cookie('first_time_visitor')) {
    $.cookie('first_time_visitor', true, { expires: 1000, path: '/' });

    var $overlayWrapper = $('.overlay-wrapper');

    $overlayWrapper.show();

    setTimeout(function() {
      $overlayWrapper.addClass('in');
    }, 0);

    $overlayWrapper.find('.close-btn, .go').click(function () {
      if ($.support.transition.end) {
        $overlayWrapper.one($.support.transition.end, function() {
          $overlayWrapper.hide();
        });
      }
      $overlayWrapper.removeClass('in');
    });
  }

})(jQuery);<commit_msg>Fix missing transition variable in map overlay.<commit_after>(function($) {

  if (!$.cookie('first_time_visitor')) {
    $.cookie('first_time_visitor', true, { expires: 1000, path: '/' });

    var $overlayWrapper = $('.overlay-wrapper');

    $overlayWrapper.show();

    setTimeout(function() {
      $overlayWrapper.addClass('in');
    }, 0);

    $overlayWrapper.find('.close-btn, .go').click(function () {
      if ($.support.transition && $.support.transition.end) {
        $overlayWrapper.one($.support.transition.end, function() {
          $overlayWrapper.hide();
        });
      }
      $overlayWrapper.removeClass('in');
    });
  }

})(jQuery);
{'fraction_non_alphanumeric': 0.19968304278922344, 'fraction_numerical': 0.00792393026941363, 'mean_word_length': 3.1006493506493507, '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': '5091727', 'n_tokens_mistral': 395, 'n_tokens_neox': 371, 'n_words': 54}