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GC","sources":["webpack://www.bowling.com/./node_modules/kbw-countdown/dist/js/jquery.countdown.js","webpack://www.bowling.com/./node_modules/kbw-countdown/dist/js/jquery.plugin.js"],"sourcesContent":["/*! http://keith-wood.name/countdown.html\n\tCountdown for jQuery v2.1.0.\n\tWritten by Keith Wood (wood.keith{at}optusnet.com.au) January 2008.\n\tAvailable under the MIT (http://keith-wood.name/licence.html) license. \n\tPlease attribute the author if you use it. */\n\n(function($) { // Hide scope, no $ conflict\n\t'use strict';\n\n\tvar pluginName = 'countdown';\n\n\tvar Y = 0; // Years\n\tvar O = 1; // Months\n\tvar W = 2; // Weeks\n\tvar D = 3; // Days\n\tvar H = 4; // Hours\n\tvar M = 5; // Minutes\n\tvar S = 6; // Seconds\n\n\t/** Create the countdown plugin.\n\t\t<p>Sets an element to show the time remaining until a given instant.</p>\n\t\t<p>Expects HTML like:</p>\n\t\t<pre><div></div></pre>\n\t\t<p>Provide inline configuration like:</p>\n\t\t<pre><div data-countdown=\"name: 'value', ...\"></div></pre>\n\t\t@module Countdown\n\t\t@augments JQPlugin\n\t\t@example $(selector).countdown({until: +300}) */\n\t$.JQPlugin.createPlugin({\n\t\n\t\t/** The name of the plugin.\n\t\t\t@default 'countdown' */\n\t\tname: pluginName,\n\n\t\t/** Countdown expiry callback.\n\t\t\tUsed with the {@linkcode module:Countdown~defaultOptions|onExpiry} option and\n\t\t\ttriggered when the countdown expires.\n\t\t\t@global\n\t\t\t@callback CountdownExpiryCallback\n\t\t\t@this <code>Element</code>\n\t\t\t@example onExpiry: function() {\n alert('Done');\n} */\n\n\t\t/** Countdown server synchronisation callback.\n\t\t\tUsed with the {@linkcode module:Countdown~defaultOptions|serverSync} option and\n\t\t\ttriggered when the countdown is initialised.\n\t\t\t@global\n\t\t\t@callback CountdownServerSyncCallback\n\t\t\t@return {Date} The current date/time on the server as expressed in the local timezone.\n\t\t\t@this <code>$.countdown</code>\n\t\t\t@example serverSync: function() {\n var time = null;\n $.ajax({url: 'http://myserver.com/serverTime.php',\n async: false, dataType: 'text',\n success: function(text) {\n time = new Date(text);\n }, error: function(http, message, exc) {\n time = new Date();\n });\n return time;\n} */\n\t\t\t\n\t\t/** Countdown tick callback.\n\t\t\tUsed with the {@linkcode module:Countdown~defaultOptions|onTick} option and\n\t\t\ttriggered on every {@linkcode module:Countdown~defaultOptions|tickInterval} ticks of the countdown.\n\t\t\t@global\n\t\t\t@callback CountdownTickCallback\n\t\t\t@this <code>Element</code>\n\t\t\t@param {number[]} periods The breakdown by period (years, months, weeks, days,\n\t\t\t\t\thours, minutes, seconds) of the time remaining/passed.\n\t\t\t@example onTick: function(periods) {\n $('#altTime').text(periods[4] + ':' + twoDigits(periods[5]) +\n ':' + twoDigits(periods[6]));\n} */\n\n\t\t/** Countdown which labels callback.\n\t\t\tUsed with the {@linkcode module:Countdown~regionalOptions|whichLabels} option and\n\t\t\ttriggered when the countdown is being display to determine which set of labels\n\t\t\t(<code>labels</code>, <code>labels1</code>, ...) are to be used for the current period value.\n\t\t\t@global\n\t\t\t@callback CountdownWhichLabelsCallback\n\t\t\t@param {number} num The current period value.\n\t\t\t@return {number} The suffix for the label set to use, or zero for the default labels.\n\t\t\t@example whichLabels: function(num) {\n return (num === 1 ? 1 : (num >= 2 && num <= 4 ? 2 : 0));\n} */\n\t\t\t\n\t\t/** Default settings for the plugin.\n\t\t\t@property {Date|number|string} [until] The date/time to count down to, or number of seconds\n\t\t\t\t\t\toffset from now, or string of amounts and units for offset(s) from now:\n\t\t\t\t\t\t'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds.\n\t\t\t\t\t\tOne of <code>until</code> or <code>since</code> must be specified.\n\t\t\t\t\t\tIf both are given <code>since</code> takes precedence.\n\t\t\t@example until: new Date(2013, 12-1, 25, 13, 30)\nuntil: +300\nuntil: '+1O -2D'\n\t\t\t@property {Date|number|string} [since] The date/time to count up from, or number of seconds\n\t\t\t\t\t\toffset from now, or string of amounts and units for offset(s) from now:\n\t\t\t\t\t\t'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds.\n\t\t\t\t\t\tOne of <code>until</code> or <code>since</code> must be specified.\n\t\t\t\t\t\tIf both are given <code>since</code> takes precedence.\n\t\t\t@example since: new Date(2013, 1-1, 1)\nsince: -300\nsince: '-1O +2D'\n\t\t\t@property {number} [timezone=null] The timezone (hours or minutes from GMT) for the target times,\n\t\t\t\t\t\tor <code>null</code> for client local timezone.\n\t\t\t@example timezone: +10\ntimezone: -60\n\t\t\t@property {CountdownServerSyncCallback} [serverSync=null] A function to retrieve the current server time\n\t\t\t\t\t\tfor synchronisation.\n\t\t\t@property {string} [format='dHMS'] The format for display - upper case to always show,\n\t\t\t\t\t\tlower case to show only if non-zero,\n\t\t\t\t\t\t'Y' years, 'O' months, 'W' weeks, 'D' days, 'H' hours, 'M' minutes, 'S' seconds.\n\t\t\t@property {string} [layout=''] <p>Build your own layout for the countdown.</p>\n\t\t\t\t\t\t<p>Indicate substitution points with '{desc}' for the description, '{sep}' for the time separator,\n\t\t\t\t\t\t'{pv}' where p is 'y' for years, 'o' for months, 'w' for weeks, 'd' for days,\n\t\t\t\t\t\t'h' for hours, 'm' for minutes, or 's' for seconds and v is 'n' for the period value,\n\t\t\t\t\t\t'nn' for the period value with a minimum of two digits,\n\t\t\t\t\t\t'nnn' for the period value with a minimum of three digits, or\n\t\t\t\t\t\t'l' for the period label (long or short form depending on the compact setting), or\n\t\t\t\t\t\t'{pd}' where p is as above and d is '1' for the units digit, '10' for the tens digit,\n\t\t\t\t\t\t'100' for the hundreds digit, or '1000' for the thousands digit.</p>\n\t\t\t\t\t\t<p>If you need to exclude entire sections when the period value is zero and\n\t\t\t\t\t\tyou have specified the period as optional, surround these sections with\n\t\t\t\t\t\t'{p<}' and '{p>}', where p is the same as above.</p>\n\t\t\t\t\t\t<p>Your layout can just be simple text, or can contain HTML markup as well.</p>\n\t\t\t@example layout: '{d<}{dn} {dl}{d>} {hnn}:{mnn}:{snn}'\n\t\t\t@property {boolean} [compact=false] <code>true</code> to display in a compact format,\n\t\t\t\t\t\t<code>false</code> for an expanded one.\n\t\t\t@property {boolean} [padZeroes=false] <code>true</code> to add leading zeroes.\n\t\t\t@property {number} [significant=0] The maximum number of periods with non-zero values to show, zero for all.\n\t\t\t@property {string} [description=''] The description displayed for the countdown.\n\t\t\t@property {string} [expiryUrl=''] A URL to load upon expiry, replacing the current page.\n\t\t\t@property {string} [expiryText=''] Text to display upon expiry, replacing the countdown. This may be HTML.\n\t\t\t@property {boolean} [alwaysExpire=false] <code>true</code> to trigger <code>onExpiry</code>\n\t\t\t\t\t\teven if the target time has passed.\n\t\t\t@property {CountdownExpiryCallback} [onExpiry=null] Callback when the countdown expires -\n\t\t\t\t\t\treceives no parameters and <code>this</code> is the containing element.\n\t\t\t@example onExpiry: function() {\n ...\n}\n\t\t\t@property {CountdownTickCallback} [onTick=null] Callback when the countdown is updated -\n\t\t\t\t\t\treceives <code>number[7]</code> being the breakdown by period\n\t\t\t\t\t\t(years, months, weeks, days, hours, minutes, seconds - based on\n\t\t\t\t\t\t<code>format</code>) and <code>this</code> is the containing element.\n\t\t\t@example onTick: function(periods) {\n var secs = $.countdown.periodsToSeconds(periods);\n if (secs < 300) { // Last five minutes\n ...\n }\n}\n\t\t\t@property {number} [tickInterval=1] The interval (seconds) between <code>onTick</code> callbacks. */\n\t\tdefaultOptions: {\n\t\t\tuntil: null,\n\t\t\tsince: null,\n\t\t\ttimezone: null,\n\t\t\tserverSync: null,\n\t\t\tformat: 'dHMS',\n\t\t\tlayout: '',\n\t\t\tcompact: false,\n\t\t\tpadZeroes: false,\n\t\t\tsignificant: 0,\n\t\t\tdescription: '',\n\t\t\texpiryUrl: '',\n\t\t\texpiryText: '',\n\t\t\talwaysExpire: false,\n\t\t\tonExpiry: null,\n\t\t\tonTick: null,\n\t\t\ttickInterval: 1\n\t\t},\n\n\t\t/** Localisations for the plugin.\n\t\t\tEntries are objects indexed by the language code ('' being the default US/English).\n\t\t\tEach object has the following attributes.\n\t\t\t@property {string[]} [labels=['Years','Months','Weeks','Days','Hours','Minutes','Seconds']]\n\t\t\t\t\t\tThe display texts for the counter periods.\n\t\t\t@property {string[]} [labels1=['Year','Month','Week','Day','Hour','Minute','Second']]\n\t\t\t\t\t\tThe display texts for the counter periods if they have a value of 1.\n\t\t\t\t\t\tAdd other <code>labels<em>n</em></code> attributes as necessary to\n\t\t\t\t\t\tcater for other numeric idiosyncrasies of the localisation.\n\t\t\t@property {string[]}[compactLabels=['y','m','w','d']] The compact texts for the counter periods.\n\t\t\t@property {CountdownWhichLabelsCallback} [whichLabels=null] A function to determine which\n\t\t\t\t\t\t<code>labels<em>n</em></code> to use.\n\t\t\t@example whichLabels: function(num) {\n return (num > 1 ? 0 : 1);\n}\n\t\t\t@property {string[]} [digits=['0','1',...,'9']] The digits to display (0-9).\n\t\t\t@property {string} [timeSeparator=':'] Separator for time periods in the compact layout.\n\t\t\t@property {boolean} [isRTL=false] <code>true</code> for right-to-left languages,\n\t\t\t\t\t\t<code>false</code> for left-to-right. */\n\t\tregionalOptions: { // Available regional settings, indexed by language/country code\n\t\t\t'': { // Default regional settings - English/US\n\t\t\t\tlabels: ['Years', 'Months', 'Weeks', 'Days', 'Hours', 'Minutes', 'Seconds'],\n\t\t\t\tlabels1: ['Year', 'Month', 'Week', 'Day', 'Hour', 'Minute', 'Second'],\n\t\t\t\tcompactLabels: ['y', 'm', 'w', 'd'],\n\t\t\t\twhichLabels: null,\n\t\t\t\tdigits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],\n\t\t\t\ttimeSeparator: ':',\n\t\t\t\tisRTL: false\n\t\t\t}\n\t\t},\n\n\t\t/* Class name for the right-to-left marker. */\n\t\t_rtlClass: pluginName + '-rtl',\n\t\t/* Class name for the countdown section marker. */\n\t\t_sectionClass: pluginName + '-section',\n\t\t/* Class name for the period amount marker. */\n\t\t_amountClass: pluginName + '-amount',\n\t\t/* Class name for the period name marker. */\n\t\t_periodClass: pluginName + '-period',\n\t\t/* Class name for the countdown row marker. */\n\t\t_rowClass: pluginName + '-row',\n\t\t/* Class name for the holding countdown marker. */\n\t\t_holdingClass: pluginName + '-holding',\n\t\t/* Class name for the showing countdown marker. */\n\t\t_showClass: pluginName + '-show',\n\t\t/* Class name for the description marker. */\n\t\t_descrClass: pluginName + '-descr',\n\n\t\t/* List of currently active countdown elements. */\n\t\t_timerElems: [],\n\n\t\t/** Additional setup for the countdown.\n\t\t\tApply default localisations.\n\t\t\tCreate the timer.\n\t\t\t@private */\n\t\t_init: function() {\n\t\t\tvar self = this;\n\t\t\tthis._super();\n\t\t\tthis._serverSyncs = [];\n\t\t\tvar now = (typeof Date.now === 'function' ? Date.now : function() { return new Date().getTime(); });\n\t\t\tvar perfAvail = (window.performance && typeof window.performance.now === 'function');\n\t\t\t// Shared timer for all countdowns\n\t\t\tfunction timerCallBack(timestamp) {\n\t\t\t\tvar drawStart = (timestamp < 1e12 ? // New HTML5 high resolution timer\n\t\t\t\t\t(perfAvail ? (window.performance.now() + window.performance.timing.navigationStart) : now()) :\n\t\t\t\t\t// Integer milliseconds since unix epoch\n\t\t\t\t\ttimestamp || now());\n\t\t\t\tif (drawStart - animationStartTime >= 1000) {\n\t\t\t\t\tself._updateElems();\n\t\t\t\t\tanimationStartTime = drawStart;\n\t\t\t\t}\n\t\t\t\trequestAnimationFrame(timerCallBack);\n\t\t\t}\n\t\t\tvar requestAnimationFrame = window.requestAnimationFrame ||\n\t\t\t\twindow.webkitRequestAnimationFrame || window.mozRequestAnimationFrame ||\n\t\t\t\twindow.oRequestAnimationFrame || window.msRequestAnimationFrame || null;\n\t\t\t\t// This is when we expect a fall-back to setInterval as it's much more fluid\n\t\t\tvar animationStartTime = 0;\n\t\t\tif (!requestAnimationFrame || $.noRequestAnimationFrame) {\n\t\t\t\t$.noRequestAnimationFrame = null;\n\t\t\t\t// Fall back to good old setInterval\n\t\t\t\t$.countdown._timer = setInterval(function() { self._updateElems(); }, 1000);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tanimationStartTime = window.animationStartTime ||\n\t\t\t\t\twindow.webkitAnimationStartTime || window.mozAnimationStartTime ||\n\t\t\t\t\twindow.oAnimationStartTime || window.msAnimationStartTime || now();\n\t\t\t\trequestAnimationFrame(timerCallBack);\n\t\t\t}\n\t\t},\n\n\t\t/** Convert a date/time to UTC.\n\t\t\t@param {number} tz The hour or minute offset from GMT, e.g. +9, -360.\n\t\t\t@param {Date|number} year the date/time in that timezone or the year in that timezone.\n\t\t\t@param {number} [month] The month (0 - 11) (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@param {number} [day] The day (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@param {number} [hours] The hour (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@param {number} [mins] The minute (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@param {number} [secs] The second (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@param {number} [ms] The millisecond (omit if <code>year</code> is a <code>Date</code>).\n\t\t\t@return {Date} The equivalent UTC date/time.\n\t\t\t@example $.countdown.UTCDate(+10, 2013, 12-1, 25, 12, 0)\n$.countdown.UTCDate(-7, new Date(2013, 12-1, 25, 12, 0)) */\n\t\tUTCDate: function(tz, year, month, day, hours, mins, secs, ms) {\n\t\t\tif (typeof year === 'object' && year instanceof Date) {\n\t\t\t\tms = year.getMilliseconds();\n\t\t\t\tsecs = year.getSeconds();\n\t\t\t\tmins = year.getMinutes();\n\t\t\t\thours = year.getHours();\n\t\t\t\tday = year.getDate();\n\t\t\t\tmonth = year.getMonth();\n\t\t\t\tyear = year.getFullYear();\n\t\t\t}\n\t\t\tvar d = new Date();\n\t\t\td.setUTCFullYear(year);\n\t\t\td.setUTCDate(1);\n\t\t\td.setUTCMonth(month || 0);\n\t\t\td.setUTCDate(day || 1);\n\t\t\td.setUTCHours(hours || 0);\n\t\t\td.setUTCMinutes((mins || 0) - (Math.abs(tz) < 30 ? tz * 60 : tz));\n\t\t\td.setUTCSeconds(secs || 0);\n\t\t\td.setUTCMilliseconds(ms || 0);\n\t\t\treturn d;\n\t\t},\n\n\t\t/** Convert a set of periods into seconds.\n\t\t\tAveraged for months and years.\n\t\t\t@param {number[]} periods The periods per year/month/week/day/hour/minute/second.\n\t\t\t@return {number} The corresponding number of seconds.\n\t\t\t@example var secs = $.countdown.periodsToSeconds(periods) */\n\t\tperiodsToSeconds: function(periods) {\n\t\t\treturn periods[0] * 31557600 + periods[1] * 2629800 + periods[2] * 604800 +\n\t\t\t\tperiods[3] * 86400 + periods[4] * 3600 + periods[5] * 60 + periods[6];\n\t\t},\n\n\t\t/** Resynchronise the countdowns with the server.\n\t\t\t@example $.countdown.resync() */\n\t\tresync: function() {\n\t\t\tvar self = this;\n\t\t\t$('.' + this._getMarker()).each(function() { // Each countdown\n\t\t\t\tvar inst = $.data(this, self.name);\n\t\t\t\tif (inst.options.serverSync) { // If synced\n\t\t\t\t\tvar serverSync = null;\n\t\t\t\t\tfor (var i = 0; i < self._serverSyncs.length; i++) {\n\t\t\t\t\t\tif (self._serverSyncs[i][0] === inst.options.serverSync) { // Find sync details\n\t\t\t\t\t\t\tserverSync = self._serverSyncs[i];\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (self._eqNull(serverSync[2])) { // Recalculate if missing\n\t\t\t\t\t\tvar serverResult = ($.isFunction(inst.options.serverSync) ?\n\t\t\t\t\t\t\tinst.options.serverSync.apply(this, []) : null);\n\t\t\t\t\t\tserverSync[2] =\n\t\t\t\t\t\t\t(serverResult ? new Date().getTime() - serverResult.getTime() : 0) - serverSync[1];\n\t\t\t\t\t}\n\t\t\t\t\tif (inst._since) { // Apply difference\n\t\t\t\t\t\tinst._since.setMilliseconds(inst._since.getMilliseconds() + serverSync[2]);\n\t\t\t\t\t}\n\t\t\t\t\tinst._until.setMilliseconds(inst._until.getMilliseconds() + serverSync[2]);\n\t\t\t\t}\n\t\t\t});\n\t\t\tfor (var i = 0; i < self._serverSyncs.length; i++) { // Update sync details\n\t\t\t\tif (!self._eqNull(self._serverSyncs[i][2])) {\n\t\t\t\t\tself._serverSyncs[i][1] += self._serverSyncs[i][2];\n\t\t\t\t\tdelete self._serverSyncs[i][2];\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t_instSettings: function(elem, options) { // jshint unused:false\n\t\t\treturn {_periods: [0, 0, 0, 0, 0, 0, 0]};\n\t\t},\n\n\t\t/** Add an element to the list of active ones.\n\t\t\t@private\n\t\t\t@param {Element} elem The countdown element. */\n\t\t_addElem: function(elem) {\n\t\t\tif (!this._hasElem(elem)) {\n\t\t\t\tthis._timerElems.push(elem);\n\t\t\t}\n\t\t},\n\n\t\t/** See if an element is in the list of active ones.\n\t\t\t@private\n\t\t\t@param {Element} elem The countdown element.\n\t\t\t@return {boolean} <code>true</code> if present, <code>false</code> if not. */\n\t\t_hasElem: function(elem) {\n\t\t\treturn ($.inArray(elem, this._timerElems) > -1);\n\t\t},\n\n\t\t/** Remove an element from the list of active ones.\n\t\t\t@private\n\t\t\t@param {Element} elem The countdown element. */\n\t\t_removeElem: function(elem) {\n\t\t\tthis._timerElems = $.map(this._timerElems,\n\t\t\t\tfunction(value) { return (value === elem ? null : value); }); // delete entry\n\t\t},\n\n\t\t/** Update each active timer element.\n\t\t\t@private */\n\t\t_updateElems: function() {\n\t\t\tfor (var i = this._timerElems.length - 1; i >= 0; i--) {\n\t\t\t\tthis._updateCountdown(this._timerElems[i]);\n\t\t\t}\n\t\t},\n\n\t\t_optionsChanged: function(elem, inst, options) {\n\t\t\tif (options.layout) {\n\t\t\t\toptions.layout = options.layout.replace(/</g, '<').replace(/>/g, '>');\n\t\t\t}\n\t\t\tthis._resetExtraLabels(inst.options, options);\n\t\t\tvar timezoneChanged = (inst.options.timezone !== options.timezone);\n\t\t\t$.extend(inst.options, options);\n\t\t\tthis._adjustSettings(elem, inst,\n\t\t\t\t!this._eqNull(options.until) || !this._eqNull(options.since) || timezoneChanged);\n\t\t\tvar now = new Date();\n\t\t\tif ((inst._since && inst._since < now) || (inst._until && inst._until > now)) {\n\t\t\t\tthis._addElem(elem[0]);\n\t\t\t}\n\t\t\tthis._updateCountdown(elem, inst);\n\t\t},\n\n\t\t/** Redisplay the countdown with an updated display.\n\t\t\t@private\n\t\t\t@param {Element|jQuery} elem The containing element.\n\t\t\t@param {object} inst The current settings for this instance. */\n\t\t_updateCountdown: function(elem, inst) {\n\t\t\telem = elem.jquery ? elem : $(elem);\n\t\t\tinst = inst || this._getInst(elem);\n\t\t\tif (!inst) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telem.html(this._generateHTML(inst)).toggleClass(this._rtlClass, inst.options.isRTL);\n\t\t\tif (inst._hold !== 'pause' && $.isFunction(inst.options.onTick)) {\n\t\t\t\tvar periods = inst._hold !== 'lap' ? inst._periods :\n\t\t\t\t\tthis._calculatePeriods(inst, inst._show, inst.options.significant, new Date());\n\t\t\t\tif (inst.options.tickInterval === 1 ||\n\t\t\t\t\t\tthis.periodsToSeconds(periods) % inst.options.tickInterval === 0) {\n\t\t\t\t\tinst.options.onTick.apply(elem[0], [periods]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar expired = inst._hold !== 'pause' &&\n\t\t\t\t(inst._since ? inst._now.getTime() < inst._since.getTime() :\n\t\t\t\tinst._now.getTime() >= inst._until.getTime());\n\t\t\tif (expired && !inst._expiring) {\n\t\t\t\tinst._expiring = true;\n\t\t\t\tif (this._hasElem(elem[0]) || inst.options.alwaysExpire) {\n\t\t\t\t\tthis._removeElem(elem[0]);\n\t\t\t\t\tif ($.isFunction(inst.options.onExpiry)) {\n\t\t\t\t\t\tinst.options.onExpiry.apply(elem[0], []);\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.expiryText) {\n\t\t\t\t\t\tvar layout = inst.options.layout;\n\t\t\t\t\t\tinst.options.layout = inst.options.expiryText;\n\t\t\t\t\t\tthis._updateCountdown(elem[0], inst);\n\t\t\t\t\t\tinst.options.layout = layout;\n\t\t\t\t\t}\n\t\t\t\t\tif (inst.options.expiryUrl) {\n\t\t\t\t\t\twindow.location = inst.options.expiryUrl;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tinst._expiring = false;\n\t\t\t}\n\t\t\telse if (inst._hold === 'pause') {\n\t\t\t\tthis._removeElem(elem[0]);\n\t\t\t}\n\t\t},\n\n\t\t/** Reset any extra labelsn and compactLabelsn entries if changing labels.\n\t\t\t@private\n\t\t\t@param {object} base The options to be updated.\n\t\t\t@param {object} options The new option values. */\n\t\t_resetExtraLabels: function(base, options) {\n\t\t\tvar n = null;\n\t\t\tfor (n in options) {\n\t\t\t\tif (n.match(/[Ll]abels[02-9]|compactLabels1/)) {\n\t\t\t\t\tbase[n] = options[n];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (n in base) { // Remove custom numbered labels\n\t\t\t\tif (n.match(/[Ll]abels[02-9]|compactLabels1/) && typeof options[n] === 'undefined') {\n\t\t\t\t\tbase[n] = null;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\n\t\t/** Determine whether or not a value is equivalent to <code>null</code>.\n\t\t\t@private\n\t\t\t@param {object} value The value to test.\n\t\t\t@return {boolean} <code>true</code> if equivalent to <code>null</code>, <code>false</code> if not. */\n\t\t_eqNull: function(value) {\n\t\t\treturn typeof value === 'undefined' || value === null;\n\t\t},\n\n\n\t\t/** Calculate internal settings for an instance.\n\t\t\t@private\n\t\t\t@param {jQuery} elem The containing element.\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@param {boolean} recalc <code>true</code> if until or since are set. */\n\t\t_adjustSettings: function(elem, inst, recalc) {\n\t\t\tvar serverEntry = null;\n\t\t\tfor (var i = 0; i < this._serverSyncs.length; i++) {\n\t\t\t\tif (this._serverSyncs[i][0] === inst.options.serverSync) {\n\t\t\t\t\tserverEntry = this._serverSyncs[i][1];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar now = null;\n\t\t\tvar serverOffset = null;\n\t\t\tif (!this._eqNull(serverEntry)) {\n\t\t\t\tnow = new Date();\n\t\t\t\tserverOffset = (inst.options.serverSync ? serverEntry : 0);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tvar serverResult = ($.isFunction(inst.options.serverSync) ?\n\t\t\t\t\tinst.options.serverSync.apply(elem[0], []) : null);\n\t\t\t\tnow = new Date();\n\t\t\t\tserverOffset = (serverResult ? now.getTime() - serverResult.getTime() : 0);\n\t\t\t\tthis._serverSyncs.push([inst.options.serverSync, serverOffset]);\n\t\t\t}\n\t\t\tvar timezone = inst.options.timezone;\n\t\t\ttimezone = (this._eqNull(timezone) ? -now.getTimezoneOffset() : timezone);\n\t\t\tif (recalc || (!recalc && this._eqNull(inst._until) && this._eqNull(inst._since))) {\n\t\t\t\tinst._since = inst.options.since;\n\t\t\t\tif (!this._eqNull(inst._since)) {\n\t\t\t\t\tinst._since = this.UTCDate(timezone, this._determineTime(inst._since, null));\n\t\t\t\t\tif (inst._since && serverOffset) {\n\t\t\t\t\t\tinst._since.setMilliseconds(inst._since.getMilliseconds() + serverOffset);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tinst._until = this.UTCDate(timezone, this._determineTime(inst.options.until, now));\n\t\t\t\tif (serverOffset) {\n\t\t\t\t\tinst._until.setMilliseconds(inst._until.getMilliseconds() + serverOffset);\n\t\t\t\t}\n\t\t\t}\n\t\t\tinst._show = this._determineShow(inst);\n\t\t},\n\n\t\t/** Remove the countdown widget from an element.\n\t\t\t@private\n\t\t\t@param {jQuery} elem The containing element.\n\t\t\t@param {object} inst The current instance object. */\n\t\t_preDestroy: function(elem, inst) { // jshint unused:false\n\t\t\tthis._removeElem(elem[0]);\n\t\t\telem.empty();\n\t\t},\n\n\t\t/** Pause a countdown widget at the current time.\n\t\t\tStop it running but remember and display the current time.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@example $(selector).countdown('pause') */\n\t\tpause: function(elem) {\n\t\t\tthis._hold(elem, 'pause');\n\t\t},\n\n\t\t/** Pause a countdown widget at the current time.\n\t\t\tStop the display but keep the countdown running.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@example $(selector).countdown('lap') */\n\t\tlap: function(elem) {\n\t\t\tthis._hold(elem, 'lap');\n\t\t},\n\n\t\t/** Resume a paused countdown widget.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@example $(selector).countdown('resume') */\n\t\tresume: function(elem) {\n\t\t\tthis._hold(elem, null);\n\t\t},\n\n\t\t/** Toggle a paused countdown widget.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@example $(selector).countdown('toggle') */\n\t\ttoggle: function(elem) {\n\t\t\tvar inst = $.data(elem, this.name) || {};\n\t\t\tthis[!inst._hold ? 'pause' : 'resume'](elem);\n\t\t},\n\n\t\t/** Toggle a lapped countdown widget.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@example $(selector).countdown('toggleLap') */\n\t\ttoggleLap: function(elem) {\n\t\t\tvar inst = $.data(elem, this.name) || {};\n\t\t\tthis[!inst._hold ? 'lap' : 'resume'](elem);\n\t\t},\n\n\t\t/** Pause or resume a countdown widget.\n\t\t\t@private\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@param {string} hold The new hold setting. */\n\t\t_hold: function(elem, hold) {\n\t\t\tvar inst = $.data(elem, this.name);\n\t\t\tif (inst) {\n\t\t\t\tif (inst._hold === 'pause' && !hold) {\n\t\t\t\t\tinst._periods = inst._savePeriods;\n\t\t\t\t\tvar sign = (inst._since ? '-' : '+');\n\t\t\t\t\tinst[inst._since ? '_since' : '_until'] =\n\t\t\t\t\t\tthis._determineTime(sign + inst._periods[0] + 'y' +\n\t\t\t\t\t\t\tsign + inst._periods[1] + 'o' + sign + inst._periods[2] + 'w' +\n\t\t\t\t\t\t\tsign + inst._periods[3] + 'd' + sign + inst._periods[4] + 'h' + \n\t\t\t\t\t\t\tsign + inst._periods[5] + 'm' + sign + inst._periods[6] + 's');\n\t\t\t\t\tthis._addElem(elem);\n\t\t\t\t}\n\t\t\t\tinst._hold = hold;\n\t\t\t\tinst._savePeriods = (hold === 'pause' ? inst._periods : null);\n\t\t\t\t$.data(elem, this.name, inst);\n\t\t\t\tthis._updateCountdown(elem, inst);\n\t\t\t}\n\t\t},\n\n\t\t/** Return the current time periods, broken down by years, months, weeks, days, hours, minutes, and seconds.\n\t\t\t@param {Element} elem The containing element.\n\t\t\t@return {number[]} The current periods for the countdown.\n\t\t\t@example var periods = $(selector).countdown('getTimes') */\n\t\tgetTimes: function(elem) {\n\t\t\tvar inst = $.data(elem, this.name);\n\t\t\treturn (!inst ? null : (inst._hold === 'pause' ? inst._savePeriods : (!inst._hold ? inst._periods :\n\t\t\t\tthis._calculatePeriods(inst, inst._show, inst.options.significant, new Date()))));\n\t\t},\n\n\t\t/** A time may be specified as an exact value or a relative one.\n\t\t\t@private\n\t\t\t@param {string|number|Date} setting The date/time value as a relative or absolute value.\n\t\t\t@param {Date} defaultTime The date/time to use if no other is supplied.\n\t\t\t@return {Date} The corresponding date/time. */\n\t\t_determineTime: function(setting, defaultTime) {\n\t\t\tvar self = this;\n\t\t\tvar offsetNumeric = function(offset) { // e.g. +300, -2\n\t\t\t\tvar time = new Date();\n\t\t\t\ttime.setTime(time.getTime() + offset * 1000);\n\t\t\t\treturn time;\n\t\t\t};\n\t\t\tvar offsetString = function(offset) { // e.g. '+2d', '-4w', '+3h +30m'\n\t\t\t\toffset = offset.toLowerCase();\n\t\t\t\tvar time = new Date();\n\t\t\t\tvar year = time.getFullYear();\n\t\t\t\tvar month = time.getMonth();\n\t\t\t\tvar day = time.getDate();\n\t\t\t\tvar hour = time.getHours();\n\t\t\t\tvar minute = time.getMinutes();\n\t\t\t\tvar second = time.getSeconds();\n\t\t\t\tvar pattern = /([+-]?[0-9]+)\\s*(s|m|h|d|w|o|y)?/g;\n\t\t\t\tvar matches = pattern.exec(offset);\n\t\t\t\twhile (matches) {\n\t\t\t\t\tswitch (matches[2] || 's') {\n\t\t\t\t\t\tcase 's':\n\t\t\t\t\t\t\tsecond += parseInt(matches[1], 10);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'm':\n\t\t\t\t\t\t\tminute += parseInt(matches[1], 10);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'h':\n\t\t\t\t\t\t\thour += parseInt(matches[1], 10);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'd':\n\t\t\t\t\t\t\tday += parseInt(matches[1], 10);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'w':\n\t\t\t\t\t\t\tday += parseInt(matches[1], 10) * 7;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'o':\n\t\t\t\t\t\t\tmonth += parseInt(matches[1], 10); \n\t\t\t\t\t\t\tday = Math.min(day, self._getDaysInMonth(year, month));\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 'y':\n\t\t\t\t\t\t\tyear += parseInt(matches[1], 10);\n\t\t\t\t\t\t\tday = Math.min(day, self._getDaysInMonth(year, month));\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tmatches = pattern.exec(offset);\n\t\t\t\t}\n\t\t\t\treturn new Date(year, month, day, hour, minute, second, 0);\n\t\t\t};\n\t\t\tvar time = (this._eqNull(setting) ? defaultTime :\n\t\t\t\t(typeof setting === 'string' ? offsetString(setting) :\n\t\t\t\t(typeof setting === 'number' ? offsetNumeric(setting) : setting)));\n\t\t\tif (time) {\n\t\t\t\ttime.setMilliseconds(0);\n\t\t\t}\n\t\t\treturn time;\n\t\t},\n\n\t\t/** Determine the number of days in a month.\n\t\t\t@private\n\t\t\t@param {number} year The year.\n\t\t\t@param {number} month The month.\n\t\t\t@return {number} The days in that month. */\n\t\t_getDaysInMonth: function(year, month) {\n\t\t\treturn 32 - new Date(year, month, 32).getDate();\n\t\t},\n\n\t\t/** Default implementation to determine which set of labels should be used for an amount.\n\t\t\tUse the <code>labels</code> attribute with the same numeric suffix (if it exists).\n\t\t\t@private\n\t\t\t@param {number} num The amount to be displayed.\n\t\t\t@return {number} The set of labels to be used for this amount. */\n\t\t_normalLabels: function(num) {\n\t\t\treturn num;\n\t\t},\n\n\t\t/** Generate the HTML to display the countdown widget.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@return {string} The new HTML for the countdown display. */\n\t\t_generateHTML: function(inst) {\n\t\t\tvar self = this;\n\t\t\t// Determine what to show\n\t\t\tinst._periods = (inst._hold ? inst._periods :\n\t\t\t\tthis._calculatePeriods(inst, inst._show, inst.options.significant, new Date()));\n\t\t\t// Show all 'asNeeded' after first non-zero value\n\t\t\tvar shownNonZero = false;\n\t\t\tvar showCount = 0;\n\t\t\tvar sigCount = inst.options.significant;\n\t\t\tvar show = $.extend({}, inst._show);\n\t\t\tvar period = null;\n\t\t\tfor (period = Y; period <= S; period++) {\n\t\t\t\tshownNonZero = shownNonZero || (inst._show[period] === '?' && inst._periods[period] > 0);\n\t\t\t\tshow[period] = (inst._show[period] === '?' && !shownNonZero ? null : inst._show[period]);\n\t\t\t\tshowCount += (show[period] ? 1 : 0);\n\t\t\t\tsigCount -= (inst._periods[period] > 0 ? 1 : 0);\n\t\t\t}\n\t\t\tvar showSignificant = [false, false, false, false, false, false, false];\n\t\t\tfor (period = S; period >= Y; period--) { // Determine significant periods\n\t\t\t\tif (inst._show[period]) {\n\t\t\t\t\tif (inst._periods[period]) {\n\t\t\t\t\t\tshowSignificant[period] = true;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tshowSignificant[period] = sigCount > 0;\n\t\t\t\t\t\tsigCount--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar labels = (inst.options.compact ? inst.options.compactLabels : inst.options.labels);\n\t\t\tvar whichLabels = inst.options.whichLabels || this._normalLabels;\n\t\t\tvar showCompact = function(period) {\n\t\t\t\tvar labelsNum = inst.options['compactLabels' + whichLabels(inst._periods[period])];\n\t\t\t\treturn (show[period] ? self._translateDigits(inst, inst._periods[period]) +\n\t\t\t\t\t(labelsNum ? labelsNum[period] : labels[period]) + ' ' : '');\n\t\t\t};\n\t\t\tvar minDigits = (inst.options.padZeroes ? 2 : 1);\n\t\t\tvar showFull = function(period) {\n\t\t\t\tvar labelsNum = inst.options['labels' + whichLabels(inst._periods[period])];\n\t\t\t\treturn ((!inst.options.significant && show[period]) ||\n\t\t\t\t\t(inst.options.significant && showSignificant[period]) ?\n\t\t\t\t\t\t'<span class=\"' + self._sectionClass + '\">' +\n\t\t\t\t\t\t'<span class=\"' + self._amountClass + '\">' +\n\t\t\t\t\tself._minDigits(inst, inst._periods[period], minDigits) + '</span>' +\n\t\t\t\t\t'<span class=\"' + self._periodClass + '\">' +\n\t\t\t\t\t(labelsNum ? labelsNum[period] : labels[period]) + '</span></span>' : '');\n\t\t\t};\n\t\t\treturn (inst.options.layout ? this._buildLayout(inst, show, inst.options.layout,\n\t\t\t\tinst.options.compact, inst.options.significant, showSignificant) :\n\t\t\t\t((inst.options.compact ? // Compact version\n\t\t\t\t'<span class=\"' + this._rowClass + ' ' + this._amountClass +\n\t\t\t\t(inst._hold ? ' ' + this._holdingClass : '') + '\">' + \n\t\t\t\tshowCompact(Y) + showCompact(O) + showCompact(W) + showCompact(D) + \n\t\t\t\t(show[H] ? this._minDigits(inst, inst._periods[H], 2) : '') +\n\t\t\t\t(show[M] ? (show[H] ? inst.options.timeSeparator : '') +\n\t\t\t\tthis._minDigits(inst, inst._periods[M], 2) : '') +\n\t\t\t\t(show[S] ? (show[H] || show[M] ? inst.options.timeSeparator : '') +\n\t\t\t\tthis._minDigits(inst, inst._periods[S], 2) : '') :\n\t\t\t\t// Full version\n\t\t\t\t'<span class=\"' + this._rowClass + ' ' + this._showClass + (inst.options.significant || showCount) +\n\t\t\t\t(inst._hold ? ' ' + this._holdingClass : '') + '\">' +\n\t\t\t\tshowFull(Y) + showFull(O) + showFull(W) + showFull(D) +\n\t\t\t\tshowFull(H) + showFull(M) + showFull(S)) + '</span>' +\n\t\t\t\t(inst.options.description ? '<span class=\"' + this._rowClass + ' ' + this._descrClass + '\">' +\n\t\t\t\tinst.options.description + '</span>' : '')));\n\t\t},\n\n\t\t/** Construct a custom layout.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@param {boolean[]} show Flags indicating which periods are requested.\n\t\t\t@param {string} layout The customised layout.\n\t\t\t@param {boolean} compact <code>true</code> if using compact labels.\n\t\t\t@param {number} significant The number of periods with values to show, zero for all.\n\t\t\t@param {boolean[]} showSignificant Other periods to show for significance.\n\t\t\t@return {string} The custom HTML. */\n\t\t_buildLayout: function(inst, show, layout, compact, significant, showSignificant) {\n\t\t\tvar labels = inst.options[compact ? 'compactLabels' : 'labels'];\n\t\t\tvar whichLabels = inst.options.whichLabels || this._normalLabels;\n\t\t\tvar labelFor = function(index) {\n\t\t\t\treturn (inst.options[(compact ? 'compactLabels' : 'labels') +\n\t\t\t\t\twhichLabels(inst._periods[index])] || labels)[index];\n\t\t\t};\n\t\t\tvar digit = function(value, position) {\n\t\t\t\treturn inst.options.digits[Math.floor(value / position) % 10];\n\t\t\t};\n\t\t\tvar subs = {desc: inst.options.description, sep: inst.options.timeSeparator,\n\t\t\t\tyl: labelFor(Y), yn: this._minDigits(inst, inst._periods[Y], 1),\n\t\t\t\tynn: this._minDigits(inst, inst._periods[Y], 2),\n\t\t\t\tynnn: this._minDigits(inst, inst._periods[Y], 3), y1: digit(inst._periods[Y], 1),\n\t\t\t\ty10: digit(inst._periods[Y], 10), y100: digit(inst._periods[Y], 100),\n\t\t\t\ty1000: digit(inst._periods[Y], 1000),\n\t\t\t\tol: labelFor(O), on: this._minDigits(inst, inst._periods[O], 1),\n\t\t\t\tonn: this._minDigits(inst, inst._periods[O], 2),\n\t\t\t\tonnn: this._minDigits(inst, inst._periods[O], 3), o1: digit(inst._periods[O], 1),\n\t\t\t\to10: digit(inst._periods[O], 10), o100: digit(inst._periods[O], 100),\n\t\t\t\to1000: digit(inst._periods[O], 1000),\n\t\t\t\twl: labelFor(W), wn: this._minDigits(inst, inst._periods[W], 1),\n\t\t\t\twnn: this._minDigits(inst, inst._periods[W], 2),\n\t\t\t\twnnn: this._minDigits(inst, inst._periods[W], 3), w1: digit(inst._periods[W], 1),\n\t\t\t\tw10: digit(inst._periods[W], 10), w100: digit(inst._periods[W], 100),\n\t\t\t\tw1000: digit(inst._periods[W], 1000),\n\t\t\t\tdl: labelFor(D), dn: this._minDigits(inst, inst._periods[D], 1),\n\t\t\t\tdnn: this._minDigits(inst, inst._periods[D], 2),\n\t\t\t\tdnnn: this._minDigits(inst, inst._periods[D], 3), d1: digit(inst._periods[D], 1),\n\t\t\t\td10: digit(inst._periods[D], 10), d100: digit(inst._periods[D], 100),\n\t\t\t\td1000: digit(inst._periods[D], 1000),\n\t\t\t\thl: labelFor(H), hn: this._minDigits(inst, inst._periods[H], 1),\n\t\t\t\thnn: this._minDigits(inst, inst._periods[H], 2),\n\t\t\t\thnnn: this._minDigits(inst, inst._periods[H], 3), h1: digit(inst._periods[H], 1),\n\t\t\t\th10: digit(inst._periods[H], 10), h100: digit(inst._periods[H], 100),\n\t\t\t\th1000: digit(inst._periods[H], 1000),\n\t\t\t\tml: labelFor(M), mn: this._minDigits(inst, inst._periods[M], 1),\n\t\t\t\tmnn: this._minDigits(inst, inst._periods[M], 2),\n\t\t\t\tmnnn: this._minDigits(inst, inst._periods[M], 3), m1: digit(inst._periods[M], 1),\n\t\t\t\tm10: digit(inst._periods[M], 10), m100: digit(inst._periods[M], 100),\n\t\t\t\tm1000: digit(inst._periods[M], 1000),\n\t\t\t\tsl: labelFor(S), sn: this._minDigits(inst, inst._periods[S], 1),\n\t\t\t\tsnn: this._minDigits(inst, inst._periods[S], 2),\n\t\t\t\tsnnn: this._minDigits(inst, inst._periods[S], 3), s1: digit(inst._periods[S], 1),\n\t\t\t\ts10: digit(inst._periods[S], 10), s100: digit(inst._periods[S], 100),\n\t\t\t\ts1000: digit(inst._periods[S], 1000)};\n\t\t\tvar html = layout;\n\t\t\t// Replace period containers: {p<}...{p>}\n\t\t\tfor (var i = Y; i <= S; i++) {\n\t\t\t\tvar period = 'yowdhms'.charAt(i);\n\t\t\t\tvar re = new RegExp('\\\\{' + period + '<\\\\}([\\\\s\\\\S]*)\\\\{' + period + '>\\\\}', 'g');\n\t\t\t\thtml = html.replace(re, ((!significant && show[i]) ||\n\t\t\t\t\t(significant && showSignificant[i]) ? '$1' : ''));\n\t\t\t}\n\t\t\t// Replace period values: {pn}\n\t\t\t$.each(subs, function(n, v) {\n\t\t\t\tvar re = new RegExp('\\\\{' + n + '\\\\}', 'g');\n\t\t\t\thtml = html.replace(re, v);\n\t\t\t});\n\t\t\treturn html;\n\t\t},\n\n\t\t/** Ensure a numeric value has at least n digits for display.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@param {number} value The value to display.\n\t\t\t@param {number} len The minimum length.\n\t\t\t@return {string} The display text. */\n\t\t_minDigits: function(inst, value, len) {\n\t\t\tvalue = '' + value;\n\t\t\tif (value.length >= len) {\n\t\t\t\treturn this._translateDigits(inst, value);\n\t\t\t}\n\t\t\tvalue = '0000000000' + value;\n\t\t\treturn this._translateDigits(inst, value.substr(value.length - len));\n\t\t},\n\n\t\t/** Translate digits into other representations.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@param {string} value The text to translate.\n\t\t\t@return {string} The translated text. */\n\t\t_translateDigits: function(inst, value) {\n\t\t\treturn ('' + value).replace(/[0-9]/g, function(digit) {\n\t\t\t\t\treturn inst.options.digits[digit];\n\t\t\t\t});\n\t\t},\n\n\t\t/** Translate the format into flags for each period.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@return {string[]} Flags indicating which periods are requested (?) or\n\t\t\t\t\trequired (!) by year, month, week, day, hour, minute, second. */\n\t\t_determineShow: function(inst) {\n\t\t\tvar format = inst.options.format;\n\t\t\tvar show = [];\n\t\t\tshow[Y] = (format.match('y') ? '?' : (format.match('Y') ? '!' : null));\n\t\t\tshow[O] = (format.match('o') ? '?' : (format.match('O') ? '!' : null));\n\t\t\tshow[W] = (format.match('w') ? '?' : (format.match('W') ? '!' : null));\n\t\t\tshow[D] = (format.match('d') ? '?' : (format.match('D') ? '!' : null));\n\t\t\tshow[H] = (format.match('h') ? '?' : (format.match('H') ? '!' : null));\n\t\t\tshow[M] = (format.match('m') ? '?' : (format.match('M') ? '!' : null));\n\t\t\tshow[S] = (format.match('s') ? '?' : (format.match('S') ? '!' : null));\n\t\t\treturn show;\n\t\t},\n\n\t\t/** Calculate the requested periods between now and the target time.\n\t\t\t@private\n\t\t\t@param {object} inst The current settings for this instance.\n\t\t\t@param {string[]} show Flags indicating which periods are requested/required.\n\t\t\t@param {number} significant The number of periods with values to show, zero for all.\n\t\t\t@param {Date} now The current date and time.\n\t\t\t@return {number[]} The current time periods (always positive)\n\t\t\t\t\tby year, month, week, day, hour, minute, second. */\n\t\t_calculatePeriods: function(inst, show, significant, now) {\n\t\t\t// Find endpoints\n\t\t\tinst._now = now;\n\t\t\tinst._now.setMilliseconds(0);\n\t\t\tvar until = new Date(inst._now.getTime());\n\t\t\tif (inst._since) {\n\t\t\t\tif (now.getTime() < inst._since.getTime()) {\n\t\t\t\t\tinst._now = now = until;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tnow = inst._since;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tuntil.setTime(inst._until.getTime());\n\t\t\t\tif (now.getTime() > inst._until.getTime()) {\n\t\t\t\t\tinst._now = now = until;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Calculate differences by period\n\t\t\tvar periods = [0, 0, 0, 0, 0, 0, 0];\n\t\t\tif (show[Y] || show[O]) {\n\t\t\t\t// Treat end of months as the same\n\t\t\t\tvar lastNow = this._getDaysInMonth(now.getFullYear(), now.getMonth());\n\t\t\t\tvar lastUntil = this._getDaysInMonth(until.getFullYear(), until.getMonth());\n\t\t\t\tvar sameDay = (until.getDate() === now.getDate() ||\n\t\t\t\t\t(until.getDate() >= Math.min(lastNow, lastUntil) &&\n\t\t\t\t\tnow.getDate() >= Math.min(lastNow, lastUntil)));\n\t\t\t\tvar getSecs = function(date) {\n\t\t\t\t\treturn (date.getHours() * 60 + date.getMinutes()) * 60 + date.getSeconds();\n\t\t\t\t};\n\t\t\t\tvar months = Math.max(0,\n\t\t\t\t\t(until.getFullYear() - now.getFullYear()) * 12 + until.getMonth() - now.getMonth() +\n\t\t\t\t\t((until.getDate() < now.getDate() && !sameDay) ||\n\t\t\t\t\t(sameDay && getSecs(until) < getSecs(now)) ? -1 : 0));\n\t\t\t\tperiods[Y] = (show[Y] ? Math.floor(months / 12) : 0);\n\t\t\t\tperiods[O] = (show[O] ? months - periods[Y] * 12 : 0);\n\t\t\t\t// Adjust for months difference and end of month if necessary\n\t\t\t\tnow = new Date(now.getTime());\n\t\t\t\tvar wasLastDay = (now.getDate() === lastNow);\n\t\t\t\tvar lastDay = this._getDaysInMonth(now.getFullYear() + periods[Y],\n\t\t\t\t\tnow.getMonth() + periods[O]);\n\t\t\t\tif (now.getDate() > lastDay) {\n\t\t\t\t\tnow.setDate(lastDay);\n\t\t\t\t}\n\t\t\t\tnow.setFullYear(now.getFullYear() + periods[Y]);\n\t\t\t\tnow.setMonth(now.getMonth() + periods[O]);\n\t\t\t\tif (wasLastDay) {\n\t\t\t\t\tnow.setDate(lastDay);\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar diff = Math.floor((until.getTime() - now.getTime()) / 1000);\n\t\t\tvar period = null;\n\t\t\tvar extractPeriod = function(period, numSecs) {\n\t\t\t\tperiods[period] = (show[period] ? Math.floor(diff / numSecs) : 0);\n\t\t\t\tdiff -= periods[period] * numSecs;\n\t\t\t};\n\t\t\textractPeriod(W, 604800);\n\t\t\textractPeriod(D, 86400);\n\t\t\textractPeriod(H, 3600);\n\t\t\textractPeriod(M, 60);\n\t\t\textractPeriod(S, 1);\n\t\t\tif (diff > 0 && !inst._since) { // Round up if left overs\n\t\t\t\tvar multiplier = [1, 12, 4.3482, 7, 24, 60, 60];\n\t\t\t\tvar lastShown = S;\n\t\t\t\tvar max = 1;\n\t\t\t\tfor (period = S; period >= Y; period--) {\n\t\t\t\t\tif (show[period]) {\n\t\t\t\t\t\tif (periods[lastShown] >= max) {\n\t\t\t\t\t\t\tperiods[lastShown] = 0;\n\t\t\t\t\t\t\tdiff = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (diff > 0) {\n\t\t\t\t\t\t\tperiods[period]++;\n\t\t\t\t\t\t\tdiff = 0;\n\t\t\t\t\t\t\tlastShown = period;\n\t\t\t\t\t\t\tmax = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tmax *= multiplier[period];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (significant) { // Zero out insignificant periods\n\t\t\t\tfor (period = Y; period <= S; period++) {\n\t\t\t\t\tif (significant && periods[period]) {\n\t\t\t\t\t\tsignificant--;\n\t\t\t\t\t}\n\t\t\t\t\telse if (!significant) {\n\t\t\t\t\t\tperiods[period] = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn periods;\n\t\t}\n\t});\n\n})(jQuery);\n","/* globals JQClass */\n/*! Simple JavaScript Inheritance\n * By John Resig http://ejohn.org/\n * MIT Licensed.\n */\n// Inspired by base2 and Prototype\n(function(){\n\t'use strict';\n\tvar initializing = false;\n\n\t// The base JQClass implementation (does nothing)\n\twindow.JQClass = function(){};\n\n\t// Collection of derived classes\n\tJQClass.classes = {};\n \n\t// Create a new JQClass that inherits from this class\n\tJQClass.extend = function extender(prop) {\n\t\tvar base = this.prototype;\n\n\t\t// Instantiate a base class (but only create the instance, don't run the init constructor)\n\t\tinitializing = true;\n\t\tvar prototype = new this();\n\t\tinitializing = false;\n\n\t\t// Copy the properties over onto the new prototype\n\t\tfor (var name in prop) { // jshint loopfunc:true\n\t\t\t// Check if we're overwriting an existing function\n\t\t\tif (typeof prop[name] === 'function' && typeof base[name] === 'function') {\n\t\t\t\tprototype[name] = (function (name, fn) {\n\t\t\t\t\treturn function () {\n\t\t\t\t\t\tvar __super = this._super;\n\t\t\t\t\t\t// Add a new ._super() method that is the same method but on the super-class\n\t\t\t\t\t\tthis._super = function (args) {\n\t\t\t\t\t\t\treturn base[name].apply(this, args || []);\n\t\t\t\t\t\t};\n\t\t\t\t\t\tvar ret = fn.apply(this, arguments);\n\t\t\t\t\t\t// The method only needs to be bound temporarily, so we remove it when we're done executing\n\t\t\t\t\t\tthis._super = __super;\n\t\t\t\t\t\treturn ret;\n\t\t\t\t\t};\n\t\t\t\t})(name, prop[name]);\n\t\t\t// Check if we're overwriting existing default options.\n\t\t\t} else if (typeof prop[name] === 'object' && typeof base[name] === 'object' && name === 'defaultOptions') {\n\t\t\t\tvar obj1 = base[name];\n\t\t\t\tvar obj2 = prop[name];\n\t\t\t\tvar obj3 = {};\n\t\t\t\tvar key;\n\t\t\t\tfor (key in obj1) { // jshint forin:false\n\t\t\t\t\tobj3[key] = obj1[key];\n\t\t\t\t}\n\t\t\t\tfor (key in obj2) { // jshint forin:false\n\t\t\t\t\tobj3[key] = obj2[key];\n\t\t\t\t}\n\t\t\t\tprototype[name] = obj3;\n\t\t\t} else {\n\t\t\t\tprototype[name] = prop[name];\n\t\t\t}\n\t\t}\n\n\t\t// The dummy class constructor\n\t\tfunction JQClass() {\n\t\t\t// All construction is actually done in the init method\n\t\t\tif (!initializing && this._init) {\n\t\t\t\tthis._init.apply(this, arguments);\n\t\t\t}\n\t\t}\n\n\t\t// Populate our constructed prototype object\n\t\tJQClass.prototype = prototype;\n\n\t\t// Enforce the constructor to be what we expect\n\t\tJQClass.prototype.constructor = JQClass;\n\n\t\t// And make this class extendable\n\t\tJQClass.extend = extender;\n\n\t\treturn JQClass;\n\t};\n})();\n/*! Abstract base class for collection plugins v1.0.2.\n\tWritten by Keith Wood (wood.keith{at}optusnet.com.au) December 2013.\n\tLicensed under the MIT license (http://keith-wood.name/licence.html). */\n(function($) { // Ensure $, encapsulate\n\t'use strict';\n\n\t/** <p>Abstract base class for collection plugins v1.0.2.</p>\n\t\t<p>Written by Keith Wood (wood.keith{at}optusnet.com.au) December 2013.</p>\n\t\t<p>Licensed under the MIT license (http://keith-wood.name/licence.html).</p>\n\t\t<p>Use {@link $.JQPlugin.createPlugin} to create new plugins using this framework.</p>\n\t\t<p>This base class provides common functionality such as:</p>\n\t\t<ul>\n\t\t\t<li>Creates jQuery bridge - allowing you to invoke your plugin on a collection of elements.</li>\n\t\t\t<li>Handles initialisation including reading settings from metadata -\n\t\t\t\tan instance object is attached to the affected element(s) containing all the necessary data.</li>\n\t\t\t<li>Handles option retrieval and update - options can be set through default values,\n\t\t\t\tthrough inline metadata, or through instantiation settings.<br>\n\t\t\t\tMetadata is specified as an attribute on the element:\n\t\t\t\t<code>data-<pluginName>=\"<option name>: '<value>', ...\"</code>.\n\t\t\t\tDates should be specified as strings in this format: <code>'new Date(y, m-1, d)'</code>.</li>\n\t\t\t<li>Handles method calling - inner functions starting with '_'are inaccessible,\n\t\t\t\twhereas others can be called via <code>$(selector).pluginName('functionName')</code>.</li>\n\t\t\t<li>Handles plugin destruction - removing all trace of the plugin.</li>\n\t\t</ul>\n\t\t@module JQPlugin\n\t\t@abstract */\n\tJQClass.classes.JQPlugin = JQClass.extend({\n\n\t\t/** Name to identify this plugin.\n\t\t\t@example name: 'tabs' */\n\t\tname: 'plugin',\n\n\t\t/** Default options for instances of this plugin (default: {}).\n\t\t\t@example defaultOptions: {\n selectedClass: 'selected',\n triggers: 'click'\n} */\n\t\tdefaultOptions: {},\n\n\t\t/** Options dependent on the locale.\n\t\t\tIndexed by language and (optional) country code, with '' denoting the default language (English/US).\n\t\t\tNormally additional languages would be provided as separate files to all them to be included as needed.\n\t\t\t@example regionalOptions: {\n '': {\n greeting: 'Hi'\n }\n} */\n\t\tregionalOptions: {},\n\n\t\t/** Whether or not a deep merge should be performed when accumulating options.\n\t\t\tThe default is <code>true</code> but can be overridden in a sub-class. */\n\t\tdeepMerge: true,\n\n\t\t/** Retrieve a marker class for affected elements.\n\t\t\tIn the format: <code>is-<pluginName></code>.\n\t\t\t@protected\n\t\t\t@return {string} The marker class. */\n\t\t_getMarker: function() {\n\t\t\treturn 'is-' + this.name;\n\t\t},\n\n\t\t/** Initialise the plugin.\n\t\t\tCreate the jQuery bridge - plugin name <code>xyz</code>\n\t\t\tproduces singleton <code>$.xyz</code> and collection function <code>$.fn.xyz</code>.\n\t\t\t@protected */\n\t\t_init: function() {\n\t\t\t// Apply default localisations\n\t\t\t$.extend(this.defaultOptions, (this.regionalOptions && this.regionalOptions['']) || {});\n\t\t\t// Camel-case the name\n\t\t\tvar jqName = camelCase(this.name);\n\t\t\t// Expose jQuery singleton manager\n\t\t\t$[jqName] = this;\n\t\t\t// Expose jQuery collection plugin\n\t\t\t$.fn[jqName] = function(options) {\n\t\t\t\tvar otherArgs = Array.prototype.slice.call(arguments, 1);\n\t\t\t\tvar inst = this;\n\t\t\t\tvar returnValue = this;\n\t\t\t\tthis.each(function () {\n\t\t\t\t\tif (typeof options === 'string') {\n\t\t\t\t\t\tif (options[0] === '_' || !$[jqName][options]) {\n\t\t\t\t\t\t\tthrow 'Unknown method: ' + options;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar methodValue = $[jqName][options].apply($[jqName], [this].concat(otherArgs));\n\t\t\t\t\t\tif (methodValue !== inst && methodValue !== undefined) {\n\t\t\t\t\t\t\treturnValue = methodValue;\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$[jqName]._attach(this, options);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn returnValue;\n\t\t\t};\n\t\t},\n\n\t\t/** Set default options for all subsequent instances.\n\t\t\t@param {object} options The new default options.\n\t\t\t@example $.pluginName.setDefaults({name: value, ...}) */\n\t\tsetDefaults: function(options) {\n\t\t\t$.extend(this.defaultOptions, options || {});\n\t\t},\n\n\t\t/** Initialise an element. Called internally only.\n\t\t\tAdds an instance object as data named for the plugin.\n\t\t\tOverride {@linkcode module:JQPlugin~_postAttach|_postAttach} for plugin-specific processing.\n\t\t\t@private\n\t\t\t@param {Element} elem The element to enhance.\n\t\t\t@param {object} options Overriding settings. */\n\t\t_attach: function(elem, options) {\n\t\t\telem = $(elem);\n\t\t\tif (elem.hasClass(this._getMarker())) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telem.addClass(this._getMarker());\n\t\t\toptions = $.extend(this.deepMerge, {}, this.defaultOptions, this._getMetadata(elem), options || {});\n\t\t\tvar inst = $.extend({name: this.name, elem: elem, options: options}, this._instSettings(elem, options));\n\t\t\telem.data(this.name, inst); // Save instance against element\n\t\t\tthis._postAttach(elem, inst);\n\t\t\tthis.option(elem, options);\n\t\t},\n\n\t\t/** Retrieve additional instance settings.\n\t\t\tOverride this in a sub-class to provide extra settings.\n\t\t\tThese are added directly to the instance object.\n\t\t\tDefault attributes of an instance object are shown as properties below:\n\t\t\t@protected\n\t\t\t@param {jQuery} elem The current jQuery element.\n\t\t\t@param {object} options The instance options.\n\t\t\t@return {object} Any extra instance values.\n\t\t\t@property {Element} elem The element to which this instance applies.\n\t\t\t@property {string} name The name of this plugin.\n\t\t\t@property {object} options The accumulated options for this instance.\n\t\t\t@example _instSettings: function(elem, options) {\n return {nav: elem.find(options.navSelector)};\n} */\n\t\t_instSettings: function(elem, options) { // jshint unused:false\n\t\t\treturn {};\n\t\t},\n\n\t\t/** Plugin specific post initialisation.\n\t\t\tOverride this in a sub-class to perform extra activities.\n\t\t\tThis is where you would implement your plugin's main functionality.\n\t\t\t@protected\n\t\t\t@param {jQuery} elem The current jQuery element.\n\t\t\t@param {object} inst The instance settings.\n\t\t\t@example _postAttach: function(elem, inst) {\n elem.on('click.' + this.name, function() {\n ...\n });\n} */\n\t\t_postAttach: function(elem, inst) { // jshint unused:false\n\t\t},\n\t\t\n\t\t/** Retrieve metadata configuration from the element.\n\t\t\tMetadata is specified as an attribute:\n\t\t\t<code>data-<pluginName>=\"<option name>: '<value>', ...\"</code>.\n\t\t\tDates should be specified as strings in this format: <code>'new Date(y, m-1, d)'</code>.\n\t\t\t@private\n\t\t\t@param {jQuery} elem The source element.\n\t\t\t@return {object} The inline configuration or {}. */\n\t\t_getMetadata: function(elem) {\n\t\t\ttry {\n\t\t\t\tvar data = elem.data(this.name.toLowerCase()) || '';\n\t\t\t\tdata = data.replace(/(\\\\?)'/g, function(e, t) {\n\t\t\t\t\treturn t ? '\\'' : '\"';\n\t\t\t\t}).replace(/([a-zA-Z0-9]+):/g, function(match, group, i) {\n\t\t\t\t\tvar count = data.substring(0, i).match(/\"/g); // Handle embedded ':'\n\t\t\t\t\treturn (!count || count.length % 2 === 0 ? '\"' + group + '\":' : group + ':');\n\t\t\t\t}).replace(/\\\\:/g, ':');\n\t\t\t\tdata = $.parseJSON('{' + data + '}');\n\t\t\t\tfor (var key in data) {\n\t\t\t\t\tif (data.hasOwnProperty(key)) {\n\t\t\t\t\t\tvar value = data[key];\n\t\t\t\t\t\tif (typeof value === 'string' && value.match(/^new Date\\(([-0-9,\\s]*)\\)$/)) { // Convert dates\n\t\t\t\t\t\t\tdata[key] = eval(value); // jshint ignore:line\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn data;\n\t\t\t}\n\t\t\tcatch (e) {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\n\t\t/** Retrieve the instance data for element.\n\t\t\t@protected\n\t\t\t@param {Element} elem The source element.\n\t\t\t@return {object} The instance data or <code>{}</code> if none. */\n\t\t_getInst: function(elem) {\n\t\t\treturn $(elem).data(this.name) || {};\n\t\t},\n\n\t\t/** Retrieve or reconfigure the settings for a plugin.\n\t\t\tIf new settings are provided they are applied to the instance options.\n\t\t\tIf an option name only is provided the value of that option is returned.\n\t\t\tIf no name or value is provided, all options are returned.\n\t\t\tOverride {@linkcode module:JQPlugin~_optionsChanged|_optionsChanged}\n\t\t\tfor plugin-specific processing when option values change.\n\t\t\t@param {Element} elem The source element.\n\t\t\t@param {object|string} [name] The collection of new option values or the name of a single option.\n\t\t\t@param {any} [value] The value for a single named option.\n\t\t\t@return {any|object} If retrieving a single value or all options.\n\t\t\t@example $(selector).plugin('option', 'name', value) // Set one option\n$(selector).plugin('option', {name: value, ...}) // Set multiple options\nvar value = $(selector).plugin('option', 'name') // Get one option\nvar options = $(selector).plugin('option') // Get all options */\n\t\toption: function(elem, name, value) {\n\t\t\telem = $(elem);\n\t\t\tvar inst = elem.data(this.name);\n\t\t\tvar options = name || {};\n\t\t\tif (!name || (typeof name === 'string' && typeof value === 'undefined')) {\n\t\t\t\toptions = (inst || {}).options;\n\t\t\t\treturn (options && name ? options[name] : options);\n\t\t\t}\n\t\t\tif (!elem.hasClass(this._getMarker())) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (typeof name === 'string') {\n\t\t\t\toptions = {};\n\t\t\t\toptions[name] = value;\n\t\t\t}\n\t\t\tthis._optionsChanged(elem, inst, options);\n\t\t\t$.extend(inst.options, options);\n\t\t},\n\n\t\t/** Plugin specific options processing.\n\t\t\tOld value available in <code>inst.options[name]</code>, new value in <code>options[name]</code>.\n\t\t\tOverride this in a sub-class to perform extra activities.\n\t\t\t@protected\n\t\t\t@param {jQuery} elem The current jQuery element.\n\t\t\t@param {object} inst The instance settings.\n\t\t\t@param {object} options The new options.\n\t\t\t@example _optionsChanged: function(elem, inst, options) {\n if (options.name != inst.options.name) {\n elem.removeClass(inst.options.name).addClass(options.name);\n }\n} */\n\t\t_optionsChanged: function(elem, inst, options) { // jshint unused:false\n\t\t},\n\n\t\t/** Remove all trace of the plugin.\n\t\t\tOverride {@linkcode module:JQPlugin~_preDestroy|_preDestroy} for plugin-specific processing.\n\t\t\t@param {Element} elem The source element.\n\t\t\t@example $(selector).plugin('destroy') */\n\t\tdestroy: function(elem) {\n\t\t\telem = $(elem);\n\t\t\tif (!elem.hasClass(this._getMarker())) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis._preDestroy(elem, this._getInst(elem));\n\t\t\telem.removeData(this.name).removeClass(this._getMarker());\n\t\t},\n\n\t\t/** Plugin specific pre destruction.\n\t\t\tIt is invoked as part of the {@linkcode module:JQPlugin~destroy|destroy} processing.\n\t\t\tOverride this in a sub-class to perform extra activities and undo everything that was\n\t\t\tdone in the {@linkcode module:JQPlugin~_postAttach|_postAttach} or\n\t\t\t{@linkcode module:JQPlugin~_optionsChanged|_optionsChanged} functions.\n\t\t\t@protected\n\t\t\t@param {jQuery} elem The current jQuery element.\n\t\t\t@param {object} inst The instance settings.\n\t\t\t@example _preDestroy: function(elem, inst) {\n elem.off('.' + this.name);\n} */\n\t\t_preDestroy: function(elem, inst) { // jshint unused:false\n\t\t}\n\t});\n\n\t/** Convert names from hyphenated to camel-case.\n\t\t@private\n\t\t@param {string} value The original hyphenated name.\n\t\t@return {string} The camel-case version. */\n\tfunction camelCase(name) {\n\t\treturn name.replace(/-([a-z])/g, function(match, group) {\n\t\t\treturn group.toUpperCase();\n\t\t});\n\t}\n\n\t/** Expose the plugin base.\n\t\t@namespace $.JQPlugin */\n\t$.JQPlugin = {\n\n\t\t/** Create a new collection plugin.\n\t\t\t@memberof $.JQPlugin\n\t\t\t@param {string} [superClass='JQPlugin'] The name of the parent class to inherit from.\n\t\t\t@param {object} overrides The property/function overrides for the new class.\n\t\t\t\tSee {@link module:JQPlugin|JQPlugin} for the base functionality.\n\t\t\t@example $.JQPlugin.createPlugin({ // Define the plugin\n name: 'tabs',\n defaultOptions: {selectedClass: 'selected'},\n _initSettings: function(elem, options) { return {...}; },\n _postAttach: function(elem, inst) { ... }\n});\n$('selector').tabs(); // And instantiate it */\n\t\tcreatePlugin: function(superClass, overrides) {\n\t\t\tif (typeof superClass === 'object') {\n\t\t\t\toverrides = superClass;\n\t\t\t\tsuperClass = 'JQPlugin';\n\t\t\t}\n\t\t\tsuperClass = camelCase(superClass);\n\t\t\tvar className = camelCase(overrides.name);\n\t\t\tJQClass.classes[className] = JQClass.classes[superClass].extend(overrides);\n\t\t\tnew JQClass.classes[className](); // jshint ignore:line\n\t\t}\n\t};\n\n})(jQuery);"],"names":["$","pluginName","JQPlugin","createPlugin","name","defaultOptions","until","since","timezone","serverSync","format","layout","compact","padZeroes","significant","description","expiryUrl","expiryText","alwaysExpire","onExpiry","onTick","tickInterval","regionalOptions","labels","labels1","compactLabels","whichLabels","digits","timeSeparator","isRTL","_rtlClass","_sectionClass","_amountClass","_periodClass","_rowClass","_holdingClass","_showClass","_descrClass","_timerElems","_init","self","this","_super","_serverSyncs","now","Date","getTime","perfAvail","window","performance","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","animationStartTime","noRequestAnimationFrame","countdown","_timer","setInterval","_updateElems","webkitAnimationStartTime","mozAnimationStartTime","oAnimationStartTime","msAnimationStartTime","timerCallBack","timestamp","drawStart","timing","navigationStart","UTCDate","tz","year","month","day","hours","mins","secs","ms","getMilliseconds","getSeconds","getMinutes","getHours","getDate","getMonth","getFullYear","d","setUTCFullYear","setUTCDate","setUTCMonth","setUTCHours","setUTCMinutes","Math","abs","setUTCSeconds","setUTCMilliseconds","periodsToSeconds","periods","resync","_getMarker","each","inst","data","options","i","length","_eqNull","serverResult","isFunction","apply","_since","setMilliseconds","_until","_instSettings","elem","_periods","_addElem","_hasElem","push","inArray","_removeElem","map","value","_updateCountdown","_optionsChanged","replace","_resetExtraLabels","timezoneChanged","extend","_adjustSettings","jquery","_getInst","html","_generateHTML","toggleClass","_hold","_calculatePeriods","_show","_now","_expiring","location","base","n","match","recalc","serverEntry","serverOffset","getTimezoneOffset","_determineTime","_determineShow","_preDestroy","empty","pause","lap","resume","toggle","toggleLap","hold","_savePeriods","sign","getTimes","setting","defaultTime","time","offset","toLowerCase","hour","minute","second","pattern","matches","exec","parseInt","min","_getDaysInMonth","offsetString","setTime","offsetNumeric","_normalLabels","num","shownNonZero","showCount","sigCount","show","period","showSignificant","showCompact","labelsNum","_translateDigits","minDigits","showFull","_minDigits","_buildLayout","labelFor","index","digit","position","floor","subs","desc","sep","yl","yn","ynn","ynnn","y1","y10","y100","y1000","ol","on","onn","onnn","o1","o10","o100","o1000","wl","wn","wnn","wnnn","w1","w10","w100","w1000","dl","dn","dnn","dnnn","d1","d10","d100","d1000","hl","hn","hnn","hnnn","h1","h10","h100","h1000","ml","mn","mnn","mnnn","m1","m10","m100","m1000","sl","sn","snn","snnn","s1","s10","s100","s1000","charAt","re","RegExp","v","len","substr","lastNow","lastUntil","sameDay","getSecs","date","months","max","wasLastDay","lastDay","setDate","setFullYear","setMonth","diff","extractPeriod","numSecs","multiplier","lastShown","initializing","JQClass","classes","extender","prop","prototype","fn","__super","args","ret","arguments","key","obj1","obj2","obj3","constructor","camelCase","group","toUpperCase","deepMerge","jqName","otherArgs","Array","slice","call","returnValue","methodValue","concat","undefined","_attach","setDefaults","hasClass","addClass","_getMetadata","_postAttach","option","e","t","count","substring","parseJSON","hasOwnProperty","eval","destroy","removeData","removeClass","superClass","overrides","className","jQuery"],"sourceRoot":""}