<commit_before>var bwClockHour = null;
var bwClockMinute = null;
var bwClockRequestedType = null;
var bwClockCurrentType = null;

function bwClockLaunch(type) {
  if ((document.getElementById("clock").className == "shown") && (bwClockCurrentType == type)) {
    changeClass("clock","invisible"); // if the clock with the same type is showing, toggle it off
  } else { // otherwise, turn it on and display the correct type
    bwClockRequestedType = type;
    bwClockCurrentType = type;
    changeClass("clock","shown");
    // the following is for Internet Explorer.  IE draws "windowed" objects
    // and unwindowed objects on seperate "planes"; windowed objects are always
    // drawn obove unwindowed objects and select boxes are "windowed";
    // this is required to make IE not overwrite the clock div with
    // the select boxes that fall below it on the page.  Note: we set them
    // to display:hidden (not none) so their space is still occupied (and the
    // browser window doesn't shift around)
   changeClass("eventFormPrefLocationList","hidden");
   changeClass("eventFormLocationList","hidden");
   changeClass("eventFormSponsorList","hidden");
   changeClass("eventFormPrefSponsorList","hidden");
    bwClockIndicator = document.getElementById("bwClockDateTypeIndicator");
    if (type == 'eventStartDate') {
      bwClockIndicator.innerHTML = "Start Time"
    } else {
      bwClockIndicator.innerHTML = "End Time"
    }
  }
}

function bwClockClose() {
  changeClass("clock","invisible");
  changeClass("eventFormPrefLocationList","shown");
  changeClass("eventFormLocationList","shown");
  changeClass("eventFormSponsorList","shown");
  changeClass("eventFormPrefSponsorList","shown");
}

function bwClockUpdateDateTimeForm(type,val) {
  if (bwClockRequestedType) {<commit_msg>admin client: fix up 24 hour clock<commit_after>var bwClockHour = null;
var bwClockMinute = null;
var bwClockRequestedType = null;
var bwClockCurrentType = null;

function bwClockLaunch(type) {
  if ((document.getElementById("clock").className == "shown") && (bwClockCurrentType == type)) {
    changeClass("clock","invisible"); // if the clock with the same type is showing, toggle it off
  } else { // otherwise, turn it on and display the correct type
    bwClockRequestedType = type;
    bwClockCurrentType = type;
    changeClass("clock","shown");
    // the following is for Internet Explorer.  IE draws "windowed" objects
    // and unwindowed objects on seperate "planes"; windowed objects are always
    // drawn obove unwindowed objects and select boxes are "windowed";
    // this is required to make IE not overwrite the clock div with
    // the select boxes that fall below it on the page.  Note: we set them
    // to display:hidden (not none) so their space is still occupied (and the
    // browser window doesn't shift around)
   changeClass("eventFormPrefLocationList","hidden");
   changeClass("eventFormLocationList","hidden");
   changeClass("eventFormContactList","hidden");
   changeClass("eventFormPrefContactList","hidden");
    bwClockIndicator = document.getElementById("bwClockDateTypeIndicator");
    if (type == 'eventStartDate') {
      bwClockIndicator.innerHTML = "Start Time"
    } else {
      bwClockIndicator.innerHTML = "End Time"
    }
  }
}

function bwClockClose() {
  changeClass("clock","invisible");
  changeClass("eventFormPrefLocationList","shown");
  changeClass("eventFormLocationList","shown");
  changeClass("eventFormContactList","shown");
  changeClass("eventFormPrefContactList","shown");
}

function bwClockUpdateDateTimeForm(type,val) {
  if (bwClockRequestedType) {
{'fraction_non_alphanumeric': 0.11288987027325421, 'fraction_numerical': 0.0005520287054926856, 'mean_word_length': 4.725118483412322, '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': '7147595', 'n_tokens_mistral': 1018, 'n_tokens_neox': 991, 'n_words': 298}