<commit_before>#function to remove nonbootstrap container class
$(document).ready ->
  if $('.js-remove-their-container').length > 0
    $('.their-container').removeClass 'their-container'
  return

$(document).ready ->
  map = $('.oz-map-container')
  map_width = map.width()
  sidebar_height = $('.walking-guide__sidebar').height()
  if $(document).width() < 992
    map.css 'height', "#{map_width}px"
  else
    map.css 'height', "#{sidebar_height}px"

jQuery.initializer '.js-remove-if-not-carousel', ->
  class_list = $('.js-remove-if-not-carousel')
  caro = $('.modal-body')
  if caro
    class_list.each ->
    cont = $(this).contents()
    $(this).replaceWith cont

jQuery.initializer '.modal-body', ->
  div = $('.js-remove-if-modal')
  div.removeClass 'container'
  div.focus()

change_map_size = ->
  map = $('#map-poland')
  if window.innerWidth < 356
    map.removeClass 'm340'
    map.addClass 'm240'
  else
    map.removeClass 'm240'
    map.addClass 'm340'

$(document).ready ->
  change_map_size()

$(window).resize ->
  change_map_size()<commit_msg>[fix] resize map on main site<commit_after>#function to remove nonbootstrap container class
$(document).ready ->
  if $('.js-remove-their-container').length > 0
    $('.their-container').removeClass 'their-container'
  return

$(document).ready ->
  map = $('.oz-map-container')
  map_width = map.width()
  sidebar_height = $('.walking-guide__sidebar').height()
  if $(document).width() < 992
    map.css 'height', "#{map_width}px"
  else
    map.css 'height', "#{sidebar_height}px"

jQuery.initializer '.js-remove-if-not-carousel', ->
  class_list = $('.js-remove-if-not-carousel')
  caro = $('.modal-body')
  if caro
    class_list.each ->
    cont = $(this).contents()
    $(this).replaceWith cont

jQuery.initializer '.modal-body', ->
  div = $('.js-remove-if-modal')
  div.removeClass 'container'
  div.focus()

change_map_size = ->
  map = $('#map-poland')
  if window.outerWidth < 356
    map.removeClass 'm340'
    map.addClass 'm240'
  else
    map.removeClass 'm240'
    map.addClass 'm340'

$(document).ready ->
  change_map_size()

$(window).resize ->
  change_map_size()
{'fraction_non_alphanumeric': 0.18325581395348836, 'fraction_numerical': 0.017674418604651163, 'mean_word_length': 3.576595744680851, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, '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': '6953665', 'n_tokens_mistral': 773, 'n_tokens_neox': 728, 'n_words': 142}