!function(){var a=!1;window.JQClass=function(){},JQClass.classes={},JQClass.extend=function t(e){var n=this.prototype;a=!0;var i=new this;for(var s in a=!1,e)i[s]="function"==typeof e[s]&&"function"==typeof n[s]?function(i,s){return function(){var t=this._super;this._super=function(t){return n[i].apply(this,t)};var e=s.apply(this,arguments);return this._super=t,e}}(s,e[s]):e[s];function o(){!a&&this._init&&this._init.apply(this,arguments)}return((o.prototype=i).constructor=o).extend=t,o}}(),function($){function camelCase(t){return t.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var i=camelCase(this.name);$[i]=this,$.fn[i]=function(t){var e=Array.prototype.slice.call(arguments,1);return $[i]._isNotChained(t,e)?$[i][t].apply($[i],[this[0]].concat(e)):this.each(function(){if("string"==typeof t){if("_"===t[0]||!$[i][t])throw"Unknown method: "+t;$[i][t].apply($[i],[this].concat(e))}else $[i]._attach(this,t)})}},setDefaults:function(t){$.extend(this.defaultOptions,t||{})},_isNotChained:function(t,e){return"option"===t&&(0===e.length||1===e.length&&"string"==typeof e[0])||-1<$.inArray(t,this._getters)},_attach:function(t,e){if(!(t=$(t)).hasClass(this._getMarker())){t.addClass(this._getMarker()),e=$.extend({},this.defaultOptions,this._getMetadata(t),e||{});var i=$.extend({name:this.name,elem:t,options:e},this._instSettings(t,e));t.data(this.name,i),this._postAttach(t,i),this.option(t,e)}},_instSettings:function(t,e){return{}},_postAttach:function(t,e){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"";for(var g in f=f.replace(/'/g,'"'),f=f.replace(/([a-zA-Z0-9]+):/g,function(t,e,i){var s=f.substring(0,i).match(/"/g);return s&&s.length%2!=0?e+":":'"'+e+'":'}),f=$.parseJSON("{"+f+"}"),f){var h=f[g];"string"==typeof h&&h.match(/^new Date\((.*)\)$/)&&(f[g]=eval(h))}return f}catch(t){return{}}},_getInst:function(t){return $(t).data(this.name)||{}},option:function(t,e,i){var s=(t=$(t)).data(this.name);if(!e||"string"==typeof e&&null==i)return(n=(s||{}).options)&&e?n[e]:n;if(t.hasClass(this._getMarker())){var n=e||{};"string"==typeof e&&((n={})[e]=i),this._optionsChanged(t,s,n),$.extend(s.options,n)}},_optionsChanged:function(t,e,i){},destroy:function(t){(t=$(t)).hasClass(this._getMarker())&&(this._preDestroy(t,this._getInst(t)),t.removeData(this.name).removeClass(this._getMarker()))},_preDestroy:function(t,e){}}),$.JQPlugin={createPlugin:function(t,e){"object"==typeof t&&(e=t,t="JQPlugin"),t=camelCase(t);var i=camelCase(e.name);JQClass.classes[i]=JQClass.classes[t].extend(e),new JQClass.classes[i]}}}(jQuery),function(m){var t="pre_countdown";m.JQPlugin.createPlugin({name:t,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:!1,padZeroes:!1,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:!1,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:!1}},_getters:["getTimes"],_rtlClass:t+"-rtl",_sectionClass:t+"-section",_amountClass:t+"-amount",_periodClass:t+"-period",_rowClass:t+"-row",_holdingClass:t+"-holding",_showClass:t+"-show",_descrClass:t+"-descr",_timerElems:[],_init:function(){var s=this;this._super(),this._serverSyncs=[];var n="function"==typeof Date.now?Date.now:function(){return(new Date).getTime()},o=window.performance&&"function"==typeof window.performance.now;var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null,r=0;!a||m.noRequestAnimationFrame?(m.noRequestAnimationFrame=null,setInterval(function(){s._updateElems()},980)):(r=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n(),a(function t(e){var i=e<1e12?o?performance.now()+performance.timing.navigationStart:n():e||n();1e3<=i-r&&(s._updateElems(),r=i),a(t)}))},UTCDate:function(t,e,i,s,n,o,a,r){"object"==typeof e&&e.constructor==Date&&(r=e.getMilliseconds(),a=e.getSeconds(),o=e.getMinutes(),n=e.getHours(),s=e.getDate(),i=e.getMonth(),e=e.getFullYear());var l=new Date;return l.setUTCFullYear(e),l.setUTCDate(1),l.setUTCMonth(i||0),l.setUTCDate(s||1),l.setUTCHours(n||0),l.setUTCMinutes((o||0)-(Math.abs(t)<30?60*t:t)),l.setUTCSeconds(a||0),l.setUTCMilliseconds(r||0),l},periodsToSeconds:function(t){return 31557600*t[0]+2629800*t[1]+604800*t[2]+86400*t[3]+3600*t[4]+60*t[5]+t[6]},_instSettings:function(t,e){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(t){this._hasElem(t)||this._timerElems.push(t)},_hasElem:function(t){return-1")),this._resetExtraLabels(e.options,i);var s=e.options.timezone!=i.timezone;m.extend(e.options,i),this._adjustSettings(t,e,null!=i.until||null!=i.since||s);var n=new Date;(e._since&&e._sincen)&&this._addElem(t[0]),this._updateCountdown(t,e)},_updateCountdown:function(t,e){if(t=t.jquery?t:m(t),e=e||t.data(this.name)){if(t.html(this._generateHTML(e)).toggleClass(this._rtlClass,e.options.isRTL),m.isFunction(e.options.onTick)){var i="lap"!=e._hold?e._periods:this._calculatePeriods(e,e._show,e.options.significant,new Date);1!=e.options.tickInterval&&this.periodsToSeconds(i)%e.options.tickInterval!=0||e.options.onTick.apply(t[0],[i])}if("pause"!=e._hold&&(e._since?e._now.getTime()=e._until.getTime())&&!e._expiring){if(e._expiring=!0,this._hasElem(t[0])||e.options.alwaysExpire){if(this._removeElem(t[0]),m.isFunction(e.options.onExpiry)&&e.options.onExpiry.apply(t[0],[]),e.options.expiryText){var s=e.options.layout;e.options.layout=e.options.expiryText,this._updateCountdown(t[0],e),e.options.layout=s}e.options.expiryUrl&&(window.location=e.options.expiryUrl)}e._expiring=!1}else"pause"==e._hold&&this._removeElem(t[0])}},_resetExtraLabels:function(t,e){var i=!1;for(var s in e)if("whichLabels"!=s&&s.match(/[Ll]abels/)){i=!0;break}if(i)for(var s in t)s.match(/[Ll]abels[02-9]|compactLabels1/)&&(t[s]=null)},_adjustSettings:function(t,e,i){for(var s,n=0,o=null,a=0;a'+s._minDigits(i,i._periods[t],h)+''+(e?e[t]:l[t])+"":""};return i.options.layout?this._buildLayout(i,o,i.options.layout,i.options.compact,i.options.significant,r):(i.options.compact?''+_(0)+_(1)+_(2)+_(3)+(o[4]?this._minDigits(i,i._periods[4],2):"")+(o[5]?(o[4]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[5],2):"")+(o[6]?(o[4]||o[5]?i.options.timeSeparator:"")+this._minDigits(i,i._periods[6],2):""):''+u(0)+u(1)+u(2)+u(3)+u(4)+u(5)+u(6))+""+(i.options.description?''+i.options.description+"":"")},_buildLayout:function(i,t,e,s,n,o){for(var a=i.options[s?"compactLabels":"labels"],r=i.options.whichLabels||this._normalLabels,l=function(t){return(i.options[(s?"compactLabels":"labels")+r(i._periods[t])]||a)[t]},p=function(t,e){return i.options.digits[Math.floor(t/e)%10]},_={desc:i.options.description,sep:i.options.timeSeparator,yl:l(0),yn:this._minDigits(i,i._periods[0],1),ynn:this._minDigits(i,i._periods[0],2),ynnn:this._minDigits(i,i._periods[0],3),y1:p(i._periods[0],1),y10:p(i._periods[0],10),y100:p(i._periods[0],100),y1000:p(i._periods[0],1e3),ol:l(1),on:this._minDigits(i,i._periods[1],1),onn:this._minDigits(i,i._periods[1],2),onnn:this._minDigits(i,i._periods[1],3),o1:p(i._periods[1],1),o10:p(i._periods[1],10),o100:p(i._periods[1],100),o1000:p(i._periods[1],1e3),wl:l(2),wn:this._minDigits(i,i._periods[2],1),wnn:this._minDigits(i,i._periods[2],2),wnnn:this._minDigits(i,i._periods[2],3),w1:p(i._periods[2],1),w10:p(i._periods[2],10),w100:p(i._periods[2],100),w1000:p(i._periods[2],1e3),dl:l(3),dn:this._minDigits(i,i._periods[3],1),dnn:this._minDigits(i,i._periods[3],2),dnnn:this._minDigits(i,i._periods[3],3),d1:p(i._periods[3],1),d10:p(i._periods[3],10),d100:p(i._periods[3],100),d1000:p(i._periods[3],1e3),hl:l(4),hn:this._minDigits(i,i._periods[4],1),hnn:this._minDigits(i,i._periods[4],2),hnnn:this._minDigits(i,i._periods[4],3),h1:p(i._periods[4],1),h10:p(i._periods[4],10),h100:p(i._periods[4],100),h1000:p(i._periods[4],1e3),ml:l(5),mn:this._minDigits(i,i._periods[5],1),mnn:this._minDigits(i,i._periods[5],2),mnnn:this._minDigits(i,i._periods[5],3),m1:p(i._periods[5],1),m10:p(i._periods[5],10),m100:p(i._periods[5],100),m1000:p(i._periods[5],1e3),sl:l(6),sn:this._minDigits(i,i._periods[6],1),snn:this._minDigits(i,i._periods[6],2),snnn:this._minDigits(i,i._periods[6],3),s1:p(i._periods[6],1),s10:p(i._periods[6],10),s100:p(i._periods[6],100),s1000:p(i._periods[6],1e3)},h=e,u=0;u<=6;u++){var c="yowdhms".charAt(u),d=new RegExp("\\{"+c+"<\\}([\\s\\S]*)\\{"+c+">\\}","g");h=h.replace(d,!n&&t[u]||n&&o[u]?"$1":"")}return m.each(_,function(t,e){var i=new RegExp("\\{"+t+"\\}","g");h=h.replace(i,e)}),h},_minDigits:function(t,e,i){return(e=""+e).length>=i?this._translateDigits(t,e):(e="0000000000"+e,this._translateDigits(t,e.substr(e.length-i)))},_translateDigits:function(e,t){return(""+t).replace(/[0-9]/g,function(t){return e.options.digits[t]})},_determineShow:function(t){var e=t.options.format,i=[];return i[0]=e.match("y")?"?":e.match("Y")?"!":null,i[1]=e.match("o")?"?":e.match("O")?"!":null,i[2]=e.match("w")?"?":e.match("W")?"!":null,i[3]=e.match("d")?"?":e.match("D")?"!":null,i[4]=e.match("h")?"?":e.match("H")?"!":null,i[5]=e.match("m")?"?":e.match("M")?"!":null,i[6]=e.match("s")?"?":e.match("S")?"!":null,i},_calculatePeriods:function(t,i,e,s){t._now=s,t._now.setMilliseconds(0);var n=new Date(t._now.getTime());t._since?s.getTime()t._until.getTime()&&(t._now=s=n));var o=[0,0,0,0,0,0,0];if(i[0]||i[1]){var a=this._getDaysInMonth(s.getFullYear(),s.getMonth()),r=this._getDaysInMonth(n.getFullYear(),n.getMonth()),l=n.getDate()==s.getDate()||n.getDate()>=Math.min(a,r)&&s.getDate()>=Math.min(a,r),p=function(t){return 60*(60*t.getHours()+t.getMinutes())+t.getSeconds()},_=Math.max(0,12*(n.getFullYear()-s.getFullYear())+n.getMonth()-s.getMonth()+(n.getDate()u&&s.setDate(u),s.setFullYear(s.getFullYear()+o[0]),s.setMonth(s.getMonth()+o[1]),h&&s.setDate(u)}var c=Math.floor((n.getTime()-s.getTime())/1e3),d=function(t,e){o[t]=i[t]?Math.floor(c/e):0,c-=o[t]*e};if(d(2,604800),d(3,86400),d(4,3600),d(5,60),d(6,1),0=f&&(o[g]=0,c=1),0