<commit_before>// Copyright 2013 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package themefiles

const PresentationJs = `
$(function() {
	var presentationSelector = 'body > article.presentation > .content';

	if ($(presentationSelector).length == 0) {
		// this document is not a presentation
		return;
	}

	/**
	 * Toggle the page header elements
	 */
	var togglePresentationMode = function() {
		$("body>nav.toplevel").toggle();
		$("body>nav.breadcrumb").toggle();
		$(".presentation>header").toggle();
		$(".presentation>.description").toggle();
	};

	// render the presentation
	$.deck('.slide', {
		selectors: {
			container: presentationSelector
		},
		
		keys: {<commit_msg>Default Theme Presentations Bug Fix: Toggle the footer when in presentation mode<commit_after>// Copyright 2013 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package themefiles

const PresentationJs = `
$(function() {
	var presentationSelector = 'body > article.presentation > .content';

	if ($(presentationSelector).length == 0) {
		// this document is not a presentation
		return;
	}

	/**
	 * Toggle the page header elements
	 */
	var togglePresentationMode = function() {
		$("body>nav.toplevel").toggle();
		$("body>nav.breadcrumb").toggle();
		$(".presentation>header").toggle();
		$(".presentation>.description").toggle();
		$("body>footer").toggle();
	};

	// render the presentation
	$.deck('.slide', {
		selectors: {
			container: presentationSelector
		},
		
		keys: {
{'fraction_non_alphanumeric': 0.14939024390243902, 'fraction_numerical': 0.006097560975609756, 'mean_word_length': 3.913173652694611, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '2630742', 'n_tokens_mistral': 517, 'n_tokens_neox': 456, 'n_words': 144}