/* jquery.gcal_flow_121_homepage20190609.txt */
// Version: 1.2.1
// Generated by CoffeeScript 1.3.1
// Function gCalFlow.prototype.parse_date
//	Added "offset=0;" because when in Summer time and looking at times in non-Summer time, the hour was out by an hour. Ignoring the offset corrects this as times are not stored according to BST or not.
// Function gCalFlow.prototype.gcal_url
//	Changed function to handle Google's V3 API
//	Added new option 'apikey'
// Function gCalFlow.prototype.render_data
//	Removed call to gcf-item-update-date as don't use it so unnecessary call.
//	Added code to restrict description to 70 characters max.
//	Added code to delete Map coordinates and Postcode in Location.
//	Added code to restrict weddings displayed to a particular church or to all churches - can't do this in the query string!
//	Added code to hide the header if no weddings found
//	Added IF to amend page header to include the name of the church if specified
//	Changed function to handle Google's V3 API
//	Added code to handle if these fields are blank: ent.summary, ent.description, ent.location
(function() {
  var $, gCalFlow, log, methods, pad_zero;
  $ = jQuery;
  if ((typeof window !== "undefined" && window !== null) && (window._gCalFlow_debug != null) && (typeof console !== "undefined" && console !== null)) {
    log = console;
    if (log.debug == null) {
      log.debug = log.log;
    }
  } else {
    log = {};
    log.error = log.warn = log.log = log.info = log.debug = function() {};
  }
  pad_zero = function(num, size) {
    var i, ret, _i, _ref;
    if (size == null) {
      size = 2;
    }
    if (10 * (size - 1) <= num) {
      return num;
    }
    ret = "";
    for (i = _i = 1, _ref = size - ("" + num).length; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) {
      ret = ret.concat("0");
    }
    return ret.concat(num);
  };
  gCalFlow = (function() {
    gCalFlow.name = 'gCalFlow';
    gCalFlow.prototype.target = null;
    gCalFlow.prototype.template = $("
\n  \n  
\n  
\n    LastUpdate: \n  
\n