<commit_before>(function () {
'use strict';

function Sermon ($localstorage, $http, api) {

  var restApiUrl = api.llcArchives;

  function hasSavedSermons (congregation) {
    return $localstorage.get(congregation + '.sermons') != null;
  }

  function getSavedSermons (congregation) {
    return $localstorage.getObject(congregation + '.sermons');
  }

  function saveSermons (congregation, data) {
    $localstorage.setObject(congregation + '.sermons', data._embedded.sermons);
  }

  function querySermons (congregation) {
    return $http.get(restApiUrl + '/congregations/search/findByName?name=' + congregation)<commit_msg>Fix browser hang on monticello.<commit_after>(function () {
'use strict';

function Sermon ($localstorage, $http, api) {

  var restApiUrl = api.llcArchives;

  function hasSavedSermons (congregation) {
    return $localstorage.get(congregation + '.sermons') != null;
  }

  function getSavedSermons (congregation) {
    return $localstorage.getObject(congregation + '.sermons');
  }

  function saveSermons (congregation, data) {
    $localstorage.setObject(congregation + '.sermons', data._embedded != undefined ? data._embedded.sermons : {});
  }

  function querySermons (congregation) {
    return $http.get(restApiUrl + '/congregations/search/findByName?name=' + congregation)
{'fraction_non_alphanumeric': 0.12967200610221205, 'fraction_numerical': 0.0, 'mean_word_length': 4.883408071748879, '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': '4920999', 'n_tokens_mistral': 434, 'n_tokens_neox': 413, 'n_words': 81}