{"size": 595, "ext": "js", "max_stars_repo_path": "app/static/js/sidebar.js", "max_stars_repo_name": "pedroferronato/gerenciamento-rural", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/static/js/sidebar.js", "max_issues_repo_name": "pedroferronato/gerenciamento-rural", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/static/js/sidebar.js", "max_forks_repo_name": "pedroferronato/gerenciamento-rural", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 35.0, "max_line_length": 107, "alphanum_fraction": 0.6890756303}
var menu = document.getElementById("menu")

var side_box = document.getElementById("sidebar-box")
var span_back = document.getElementById("menu-back")

menu.addEventListener('click', () => {
    if (side_box.style.display == '' || side_box.style.display == 'none') side_box.style.display = 'block';
    else side_box.style.display = 'none';
})

side_box.addEventListener('click', (event) => {
    if (event.target.id == side_box.id) side_box.style.display = 'none';
})

span_back.addEventListener('click', (event) => {
    if (event.target.id == span_back.id) side_box.style.display = 'none';
})