ii||g&&g[0]===!1)&&h.push("xdsoft_disabled"),e.disabledDates.indexOf(t.formatDate(o,e.formatDate))!==-1&&h.push("xdsoft_disabled"),e.disabledWeekDays.indexOf(bt)!==-1&&h.push("xdsoft_disabled"),i.is("[disabled]")&&h.push("xdsoft_disabled"),g&&g[1]!==""&&h.push(g[1]),l.currentTime.getMonth()!==w&&h.push("xdsoft_other_month"),(e.defaultSelect||f.data("changed"))&&t.formatDate(l.currentTime,e.formatDate)===t.formatDate(o,e.formatDate)&&h.push("xdsoft_current"),t.formatDate(ot,e.formatDate)===t.formatDate(o,e.formatDate)&&h.push("xdsoft_today"),(o.getDay()===0||o.getDay()===6||e.weekends.indexOf(t.formatDate(o,e.formatDate))!==-1)&&h.push("xdsoft_weekend"),e.highlightedDates[t.formatDate(o,e.formatDate)]!==undefined&&(it=e.highlightedDates[t.formatDate(o,e.formatDate)],h.push(it.style===undefined?"xdsoft_highlighted_default":it.style),lt=it.desc===undefined?"":it.desc),e.beforeShowDay&&n.isFunction(e.beforeShowDay)&&h.push(e.beforeShowDay(o)),st&&(v+="
",st=!1,e.weeks&&(v+="| "+ti+"<\/th>")),v+=' | '+ut+"<\/div><\/td>",o.getDay()===e.dayOfWeekStartPrev&&(v+="<\/tr>",st=!0),o.setDate(ut+1);if(v+="<\/tbody><\/table>",kt.html(v),d.find(".xdsoft_label span").eq(0).text(e.i18n[r].months[l.currentTime.getMonth()]),d.find(".xdsoft_label span").eq(1).text(l.currentTime.getFullYear()+e.yearOffset),ht="",rt="",w="",nt=0,e.minTime!==!1&&(at=l.strtotime(e.minTime),nt=60*at.getHours()+at.getMinutes()),tt=1440,e.maxTime!==!1&&(vt=l.strtotime(e.maxTime),tt=60*vt.getHours()+vt.getMinutes()),e.minDateTime!==!1&&(ft=l.strToDateTime(e.minDateTime),ui=t.formatDate(l.currentTime,e.formatDate)===t.formatDate(ft,e.formatDate),ui&&(yt=60*ft.getHours()+ft.getMinutes(),yt>nt&&(nt=yt))),e.maxDateTime!==!1&&(et=l.strToDateTime(e.maxDateTime),fi=t.formatDate(l.currentTime,e.formatDate)===t.formatDate(et,e.formatDate),fi&&(pt=60*et.getHours()+et.getMinutes(),pt =tt||c59||s.getMinutes()===parseInt(u,10))&&(e.defaultSelect||f.data("changed")?h.push("xdsoft_current"):e.initTime&&h.push("xdsoft_init_time"));parseInt(ot.getHours(),10)===parseInt(r,10)&&parseInt(ot.getMinutes(),10)===parseInt(u,10)&&h.push("xdsoft_today");ht+=''+t.formatDate(o,e.formatTime)+"<\/div>"},e.allowTimes&&n.isArray(e.allowTimes)&&e.allowTimes.length)for(s=0;s =tt||(rt=(s<10?"0":"")+s,w=(y<10?"0":"")+y,ct(rt,w));for(a.html(ht),u="",s=parseInt(e.yearStart,10);s<=parseInt(e.yearEnd,10);s+=1)u+=''+(s+e.yearOffset)+"<\/div>";for(ni.children().eq(0).html(u),s=parseInt(e.monthStart,10),u="";s<=parseInt(e.monthEnd,10);s+=1)u+=' '+e.i18n[r].months[s]+"<\/div>";gt.children().eq(0).html(u);n(f).trigger("generate.xdsoft")},10);o.stopPropagation()}).on("afterOpen.xdsoft",function(){if(e.timepicker){var n,t,i,r;a.find(".xdsoft_current").length?n=".xdsoft_current":a.find(".xdsoft_init_time").length&&(n=".xdsoft_init_time");n?(t=g[0].clientHeight,i=a[0].offsetHeight,r=a.find(n).index()*e.timeHeightInTimePicker+1,i-t 1||e.closeOnDateSelect===!0||e.closeOnDateSelect===!1&&!e.timepicker)&&!e.inline&&f.trigger("close.xdsoft");setTimeout(function(){wt=0},200)});a.on("touchstart","div",function(){this.touchMoved=!1}).on("touchmove","div",ui).on("touchend click.xdsoft","div",function(t){if(!this.touchMoved){t.stopPropagation();var r=n(this),i=l.currentTime;if((i===undefined||i===null)&&(l.currentTime=l.now(),i=l.currentTime),r.hasClass("xdsoft_disabled"))return!1;i.setHours(r.data("hour"));i.setMinutes(r.data("minute"));f.trigger("select.xdsoft",[i]);f.data("input").val(l.str());e.onSelectTime&&n.isFunction(e.onSelectTime)&&e.onSelectTime.call(f,l.currentTime,f.data("input"),t);f.data("changed",!0);f.trigger("xchange.xdsoft");f.trigger("changedatetime.xdsoft");e.inline!==!0&&e.closeOnTimeSelect===!0&&f.trigger("close.xdsoft")}});at.on("mousewheel.xdsoft",function(n){return e.scrollMonth?(n.deltaY<0?l.nextMonth():l.prevMonth(),!1):!0});i.on("mousewheel.xdsoft",function(n){return e.scrollInput?!e.datepicker&&e.timepicker?(vt=a.find(".xdsoft_current").length?a.find(".xdsoft_current").eq(0).index():0,vt+n.deltaY>=0&&vt+n.deltaYl+o?(v="bottom",t=l+o-r.top):t-=o):t+f[0].offsetHeight>l+o&&(t=r.top-f[0].offsetHeight+1),t<0&&(t=0),i+u.offsetWidth>h&&(i=h-u.offsetWidth));p=f[0];ri(p,function(n){var t;return t=e.contentWindow.getComputedStyle(n).getPropertyValue("position"),t==="relative"&&h>=n.offsetWidth?(i=i-(h-n.offsetWidth)/2,!1):void 0});y={position:c,left:i,top:"",bottom:""};y[v]=t;f.css(y)};f.on("open.xdsoft",function(t){var i=!0;if(e.onShow&&n.isFunction(e.onShow)&&(i=e.onShow.call(f,l.currentTime,f.data("input"),t)),i!==!1){f.show();bt();n(e.contentWindow).off("resize.xdsoft",bt).on("resize.xdsoft",bt);if(e.closeOnWithoutClick)n([e.ownerDocument.body,e.contentWindow]).on("touchstart mousedown.xdsoft",function r(){f.trigger("close.xdsoft");n([e.ownerDocument.body,e.contentWindow]).off("touchstart mousedown.xdsoft",r)})}}).on("close.xdsoft",function(t){var i=!0;d.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide();e.onClose&&n.isFunction(e.onClose)&&(i=e.onClose.call(f,l.currentTime,f.data("input"),t));i===!1||e.opened||e.inline||f.hide();t.stopPropagation()}).on("toggle.xdsoft",function(){f.is(":visible")?f.trigger("close.xdsoft"):f.trigger("open.xdsoft")}).data("input",i);ii=0;f.data("xdsoft_datetime",l);f.setOptions(e);l.setCurrentTime(fi());i.data("xdsoft_datetimepicker",f).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){i.is(":disabled")||i.data("xdsoft_datetimepicker").is(":visible")&&e.closeOnInputClick||e.openOnFocus&&(clearTimeout(ii),ii=setTimeout(function(){i.is(":disabled")||(pt=!0,l.setCurrentTime(fi(),!0),e.mask&&oi(e),f.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(t){var i,r=t.which;return[b].indexOf(r)!==-1&&e.enterLikeTab?(i=n("input:visible,textarea:visible,button:visible,a:visible"),f.trigger("close.xdsoft"),i.eq(i.index(this)+1).focus(),!1):[k].indexOf(r)!==-1?(f.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){f.trigger("close.xdsoft")})};g=function(t){var i=t.data("xdsoft_datetimepicker");i&&(i.data("xdsoft_datetime",null),i.remove(),t.data("xdsoft_datetimepicker",null).off(".xdsoft"),n(e.contentWindow).off("resize.xdsoft"),n([e.contentWindow,e.ownerDocument.body]).off("mousedown.xdsoft touchstart"),t.unmousewheel&&t.unmousewheel())};n(e.ownerDocument).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(n){n.keyCode===s&&(c=!0)}).on("keyup.xdsoftctrl",function(n){n.keyCode===s&&(c=!1)});return this.each(function(){var i=n(this).data("xdsoft_datetimepicker"),r;if(i){if(n.type(u)==="string")switch(u){case"show":n(this).select().focus();i.trigger("open.xdsoft");break;case"hide":i.trigger("close.xdsoft");break;case"toggle":i.trigger("toggle.xdsoft");break;case"destroy":g(n(this));break;case"reset":this.value=this.defaultValue;this.value&&i.data("xdsoft_datetime").isValidDate(t.parseDate(this.value,e.format))||i.data("changed",!1);i.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":r=i.data("input");r.trigger("blur.xdsoft");break;default:i[u]&&n.isFunction(i[u])&&(a=i[u](f))}else i.setOptions(u);return 0}n.type(u)!=="string"&&(!e.lazyInit||e.open||e.inline?l(n(this)):at(n(this)))}),a};n.fn.datetimepicker.defaults=i},function(n){typeof define=="function"&&define.amd?define(["jquery","jquery-mousewheel"],n):typeof exports=="object"?module.exports=n(require("jquery")):n(jQuery)}(datetimepickerFactory),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?module.exports=n:n(jQuery)}(function(n){function e(r){var f=r||window.event,w=h.call(arguments,1),l=0,o=0,e=0,a=0,b=0,k=0,v,y,p;if(r=n.event.fix(f),r.type="mousewheel","detail"in f&&(e=f.detail*-1),"wheelDelta"in f&&(e=f.wheelDelta),"wheelDeltaY"in f&&(e=f.wheelDeltaY),"wheelDeltaX"in f&&(o=f.wheelDeltaX*-1),"axis"in f&&f.axis===f.HORIZONTAL_AXIS&&(o=e*-1,e=0),l=e===0?o:e,"deltaY"in f&&(e=f.deltaY*-1,l=e),"deltaX"in f&&(o=f.deltaX,e===0&&(l=o*-1)),e!==0||o!==0)return f.deltaMode===1?(v=n.data(this,"mousewheel-line-height"),l*=v,e*=v,o*=v):f.deltaMode===2&&(y=n.data(this,"mousewheel-page-height"),l*=y,e*=y,o*=y),a=Math.max(Math.abs(e),Math.abs(o)),(!t||a=1?"floor":"ceil"](l/t),o=Math[o>=1?"floor":"ceil"](o/t),e=Math[e>=1?"floor":"ceil"](e/t),i.settings.normalizeOffset&&this.getBoundingClientRect&&(p=this.getBoundingClientRect(),b=r.clientX-p.left,k=r.clientY-p.top),r.deltaX=o,r.deltaY=e,r.deltaFactor=t,r.offsetX=b,r.offsetY=k,r.deltaMode=0,w.unshift(r,l,o,e),u&&clearTimeout(u),u=setTimeout(c,200),(n.event.dispatch||n.event.handle).apply(this,w)}function c(){t=null}function s(n,t){return i.settings.adjustOldDeltas&&n.type==="mousewheel"&&t%120==0}var o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],h=Array.prototype.slice,u,t,f,i;if(n.event.fixHooks)for(f=o.length;f;)n.event.fixHooks[o[--f]]=n.event.mouseHooks;i=n.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=r.length;t;)this.addEventListener(r[--t],e,!1);else this.onmousewheel=e;n.data(this,"mousewheel-line-height",i.getLineHeight(this));n.data(this,"mousewheel-page-height",i.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=r.length;t;)this.removeEventListener(r[--t],e,!1);else this.onmousewheel=null;n.removeData(this,"mousewheel-line-height");n.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var r=n(t),i=r["offsetParent"in n.fn?"offsetParent":"parent"]();return i.length||(i=n("body")),parseInt(i.css("fontSize"),10)||parseInt(r.css("fontSize"),10)||16},getPageHeight:function(t){return n(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};n.fn.extend({mousewheel:function(n){return n?this.bind("mousewheel",n):this.trigger("mousewheel")},unmousewheel:function(n){return this.unbind("mousewheel",n)}})}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return df.apply(null,arguments)}function rh(n){df=n}function nt(n){return n instanceof Array||Object.prototype.toString.call(n)==="[object Array]"}function gt(n){return n!=null&&Object.prototype.toString.call(n)==="[object Object]"}function s(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function fu(n){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(n).length===0;for(var t in n)if(s(n,t))return!1;return!0}function w(n){return n===void 0}function ct(n){return typeof n=="number"||Object.prototype.toString.call(n)==="[object Number]"}function vi(n){return n instanceof Date||Object.prototype.toString.call(n)==="[object Date]"}function gf(n,t){for(var r=[],u=n.length,i=0;i0)for(i=0;i=0;return(f?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function r(n,t,i,r){var u=r;typeof r=="string"&&(u=function(){return this[r]()});n&&(ui[n]=u);t&&(ui[t[0]]=function(){return et(u.apply(this,arguments),t[1],t[2])});i&&(ui[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function oh(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function sh(n){for(var t=n.match(au),i=0,r=t.length;i=0&&ur.test(n);)n=n.replace(ur,r),ur.lastIndex=0,i-=1;return n}function hh(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.match(au).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[n])}function ch(){return this._invalidDate}function lh(n){return this._ordinal.replace("%d",n)}function ah(n,t,i,r){var u=this._relativeTime[i];return ft(u)?u(n,t,i,r):u.replace(/%d/i,n)}function vh(n,t){var i=this._relativeTime[n>0?"future":"past"];return ft(i)?i(t):i.replace(/%s/i,t)}function d(n){return typeof n=="string"?yu[n]||yu[n.toLowerCase()]:undefined}function pu(n){var r={},t;for(var i in n)s(n,i)&&(t=d(i),t&&(r[t]=n[i]));return r}function yh(n){var t=[];for(var i in n)s(n,i)&&t.push({unit:i,priority:le[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}function i(n,t,i){lr[n]=ft(t)?t:function(n){return n&&i?i:t}}function wh(n,t){return s(lr,n)?lr[n](t._strict,t._locale):new RegExp(bh(n))}function bh(n){return lt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u}))}function lt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function g(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function f(n){var t=+n,i=0;return t!==0&&isFinite(t)&&(i=g(t)),i}function h(n,t){var i,r=t,u;for(typeof n=="string"&&(n=[n]),ct(t)&&(r=function(n,i){i[t]=f(n)}),u=n.length,i=0;i=0?(o=new Date(n+400,t,i,r,u,f,e),isFinite(o.getFullYear())&&o.setFullYear(n)):o=new Date(n,t,i,r,u,f,e),o}function di(n){var t,i;return n<100&&n>=0?(i=Array.prototype.slice.call(arguments),i[0]=n+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n)):t=new Date(Date.UTC.apply(null,arguments)),t}function yr(n,t,i){var r=7+t-i,u=(7+di(n,0,r).getUTCDay()-t)%7;return-u+r-1}function to(n,t,i,r,u){var s=(7+i-r)%7,h=yr(n,r,u),f=1+7*(t-1)+s+h,e,o;return f<=0?(e=n-1,o=bi(e)+f):f>bi(n)?(e=n+1,o=f-bi(n)):(e=n,o=f),{year:e,dayOfYear:o}}function gi(n,t,i){var e=yr(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1,f,u;return r<1?(u=n.year()-1,f=r+yt(u,t,i)):r>yt(n.year(),t,i)?(f=r-yt(n.year(),t,i),u=n.year()+1):(u=n.year(),f=r),{week:f,year:u}}function yt(n,t,i){var r=yr(n,t,i),u=yr(n+1,t,i);return(bi(n)-r+u)/7}function pc(n){return gi(n,this._week.dow,this._week.doy).week}function wc(){return this._week.dow}function bc(){return this._week.doy}function kc(n){var t=this.localeData().week(this);return n==null?t:this.add((n-t)*7,"d")}function dc(n){var t=gi(this,1,4).week;return n==null?t:this.add((n-t)*7,"d")}function gc(n,t){return typeof n!="string"?n:isNaN(n)?(n=t.weekdaysParse(n),typeof n=="number")?n:null:parseInt(n,10)}function nl(n,t){return typeof n=="string"?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}function nf(n,t){return n.slice(t,7).concat(n.slice(0,t))}function el(n,t){var i=nt(this._weekdays)?this._weekdays:this._weekdays[n&&n!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return n===!0?nf(i,this._week.dow):n?i[n.day()]:i}function ol(n){return n===!0?nf(this._weekdaysShort,this._week.dow):n?this._weekdaysShort[n.day()]:this._weekdaysShort}function sl(n){return n===!0?nf(this._weekdaysMin,this._week.dow):n?this._weekdaysMin[n.day()]:this._weekdaysMin}function hl(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=ut([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?t==="dddd"?(r=v.call(this._weekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null):(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="dddd"?(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):t==="ddd"?(r=v.call(this._shortWeekdaysParse,u),r!==-1)?r:(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._minWeekdaysParse,u),r!==-1?r:null):(r=v.call(this._minWeekdaysParse,u),r!==-1)?r:(r=v.call(this._weekdaysParse,u),r!==-1)?r:(r=v.call(this._shortWeekdaysParse,u),r!==-1?r:null)}function cl(n,t,i){var r,u,f;if(this._weekdaysParseExact)return hl.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=ut([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(n))||i&&t==="ddd"&&this._shortWeekdaysParse[r].test(n)||i&&t==="dd"&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r}function ll(n){if(!this.isValid())return n!=null?this:NaN;var t=ki(this,"Day");return n!=null?(n=gc(n,this.localeData()),this.add(n-t,"d")):t}function al(n){if(!this.isValid())return n!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return n==null?t:this.add(n-t,"d")}function vl(n){if(!this.isValid())return n!=null?this:NaN;if(n!=null){var t=nl(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function yl(n){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||tf.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=rl),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)}function pl(n){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||tf.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ul),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function wl(n){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||tf.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fl),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function tf(){function t(n,t){return t.length-n.length}for(var u=[],f=[],e=[],n=[],r,o,s,h,i=0;i<7;i++)r=ut([2e3,1]).day(i),o=lt(this.weekdaysMin(r,"")),s=lt(this.weekdaysShort(r,"")),h=lt(this.weekdays(r,"")),u.push(o),f.push(s),e.push(h),n.push(o),n.push(s),n.push(h);u.sort(t);f.sort(t);e.sort(t);n.sort(t);this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+e.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+f.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function rf(){return this.hours()%12||12}function bl(){return this.hours()||24}function uo(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function fo(n,t){return t._meridiemParse}function kl(n){return(n+"").toLowerCase().charAt(0)==="p"}function dl(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"}function gl(n,t){for(var r=Math.min(n.length,t.length),i=0;i0;){if(f=pr(u.slice(0,i).join("-")),f)return f;if(t&&t.length>=i&&gl(u,t)>=i-1)break;i--}r++}return tr}function ta(n){return!!(n&&n.match("^[^/\\\\]*$"))}function pr(n){var t=null,i;if(a[n]===undefined&&typeof module!="undefined"&&module&&module.exports&&ta(n))try{t=tr._abbr;i=require;i("./locale/"+n);kt(t)}catch(r){a[n]=null}return a[n]}function kt(n,t){var i;return n&&(i=w(t)?pt(n):uf(n,t),i?tr=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+n+" not found. Did you forget to load it?")),tr._abbr}function uf(n,t){if(t!==null){var r,i=so;if(t.abbr=n,a[n]!=null)ie("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=a[n]._config;else if(t.parentLocale!=null)if(a[t.parentLocale]!=null)i=a[t.parentLocale]._config;else if(r=pr(t.parentLocale),r!=null)i=r._config;else return nr[t.parentLocale]||(nr[t.parentLocale]=[]),nr[t.parentLocale].push({name:n,config:t}),null;return a[n]=new lu(cu(i,t)),nr[n]&&nr[n].forEach(function(n){uf(n.name,n.config)}),kt(n),a[n]}return delete a[n],null}function ia(n,t){if(t!=null){var r,i,u=so;a[n]!=null&&a[n].parentLocale!=null?a[n].set(cu(a[n]._config,t)):(i=pr(n),i!=null&&(u=i._config),t=cu(u,t),i==null&&(t.abbr=n),r=new lu(t),r.parentLocale=a[n],a[n]=r);kt(n)}else a[n]!=null&&(a[n].parentLocale!=null?(a[n]=a[n].parentLocale,n===kt()&&kt(n)):a[n]!=null&&delete a[n]);return a[n]}function pt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return tr;if(!nt(n)){if(t=pr(n),t)return t;n=[n]}return na(n)}function ra(){return re(a)}function ff(n){var i,t=n._a;return t&&u(n).overflow===-2&&(i=t[at]<0||t[at]>11?at:t[ot]<1||t[ot]>gu(t[p],t[at])?ot:t[y]<0||t[y]>24||t[y]===24&&(t[it]!==0||t[vt]!==0||t[ni]!==0)?y:t[it]<0||t[it]>59?it:t[vt]<0||t[vt]>59?vt:t[ni]<0||t[ni]>999?ni:-1,u(n)._overflowDayOfYear&&(iot)&&(i=ot),u(n)._overflowWeeks&&i===-1&&(i=dh),u(n)._overflowWeekday&&i===-1&&(i=gh),u(n).overflow=i),n}function co(n){var t,r,o=n._i,i=ua.exec(o)||fa.exec(o),s,e,f,h,c=wr.length,l=ef.length;if(i){for(u(n).iso=!0,t=0,r=c;tbi(e)||n._dayOfYear===0)&&(u(n)._overflowDayOfYear=!0),i=di(e,0,n._dayOfYear),n._a[at]=i.getUTCMonth(),n._a[ot]=i.getUTCDate()),t=0;t<3&&n._a[t]==null;++t)n._a[t]=r[t]=f[t];for(;t<7;t++)n._a[t]=r[t]=n._a[t]==null?t===2?1:0:n._a[t];n._a[y]===24&&n._a[it]===0&&n._a[vt]===0&&n._a[ni]===0&&(n._nextDay=!0,n._a[y]=0);n._d=(n._useUTC?di:yc).apply(null,r);o=n._useUTC?n._d.getUTCDay():n._d.getDay();n._tzm!=null&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[y]=24);n._w&&typeof n._w.d!="undefined"&&n._w.d!==o&&(u(n).weekdayMismatch=!0)}}function ba(n){var t,o,f,i,r,e,h,s,c;t=n._w;t.GG!=null||t.W!=null||t.E!=null?(r=1,e=4,o=si(t.GG,n._a[p],gi(l(),1,4).year),f=si(t.W,1),i=si(t.E,1),(i<1||i>7)&&(s=!0)):(r=n._locale._week.dow,e=n._locale._week.doy,c=gi(l(),r,e),o=si(t.gg,n._a[p],c.year),f=si(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(s=!0)):t.e!=null?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);f<1||f>yt(o,r,e)?u(n)._overflowWeeks=!0:s!=null?u(n)._overflowWeekday=!0:(h=to(o,f,i,r,e),n._a[p]=h.year,n._dayOfYear=h.dayOfYear)}function sf(n){if(n._f===t.ISO_8601){co(n);return}if(n._f===t.RFC_2822){lo(n);return}n._a=[];u(n).empty=!0;var i=""+n._i,e,r,o,f,s,a=i.length,c=0,h,l;for(o=fe(n._f,n._locale).match(au)||[],l=o.length,e=0;e0&&u(n).unusedInput.push(s),i=i.slice(i.indexOf(r)+r.length),c+=r.length),ui[f]?(r?u(n).empty=!1:u(n).unusedTokens.push(f),kh(f,r,n)):n._strict&&!r&&u(n).unusedTokens.push(f);u(n).charsLeftOver=a-c;i.length>0&&u(n).unusedInput.push(i);n._a[y]<=12&&u(n).bigHour===!0&&n._a[y]>0&&(u(n).bigHour=undefined);u(n).parsedDateParts=n._a.slice(0);u(n).meridiem=n._meridiem;n._a[y]=ka(n._locale,n._a[y],n._meridiem);h=u(n).era;h!==null&&(n._a[p]=n._locale.erasConvertYear(h,n._a[p]));of(n);ff(n)}function ka(n,t,i){var r;return i==null?t:n.meridiemHour!=null?n.meridiemHour(t,i):n.isPM!=null?(r=n.isPM(i),r&&t<12&&(t+=12),r||t!==12||(t=0),t):t}function da(n){var t,o,r,f,i,e,s=!1,h=n._f.length;if(h===0){u(n).invalidFormat=!0;n._d=new Date(NaN);return}for(f=0;fthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pv(){if(!w(this._isDSTShifted))return this._isDSTShifted;var n={},t;return su(n,this),n=ao(n),n._a?(t=n._isUTC?ut(n._a):l(n._a),this._isDSTShifted=this.isValid()&&ov(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wv(){return this.isValid()?!this._isUTC:!1}function bv(){return this.isValid()?this._isUTC:!1}function ns(){return this.isValid()?this._isUTC&&this._offset===0:!1}function rt(n,t){var i=n,r=null,u,e,o;return kr(n)?i={ms:n._milliseconds,d:n._days,M:n._months}:ct(n)||!isNaN(+n)?(i={},t?i[t]=+n:i.milliseconds=+n):(r=ts.exec(n))?(u=r[1]==="-"?-1:1,i={y:0,d:f(r[ot])*u,h:f(r[y])*u,m:f(r[it])*u,s:f(r[vt])*u,ms:f(hf(r[ni]*1e3))*u}):(r=is.exec(n))?(u=r[1]==="-"?-1:1,i={y:ti(r[2],u),M:ti(r[3],u),w:ti(r[4],u),d:ti(r[5],u),h:ti(r[6],u),m:ti(r[7],u),s:ti(r[8],u)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(o=kv(l(i.from),l(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),e=new br(i),kr(n)&&s(n,"_locale")&&(e._locale=n._locale),kr(n)&&s(n,"_isValid")&&(e._isValid=n._isValid),e}function ti(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function rs(n,t){var i={};return i.months=t.month()-n.month()+(t.year()-n.year())*12,n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function kv(n,t){var i;return(n.isValid()&&t.isValid())?(t=lf(t,n),n.isBefore(t)?i=rs(n,t):(i=rs(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function us(n,t){return function(i,r){var u,f;return r===null||isNaN(+r)||(ie(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=i,i=r,r=f),u=rt(i,r),fs(this,u,n),this}}function fs(n,i,r,u){var o=i._milliseconds,f=hf(i._days),e=hf(i._months);n.isValid()&&(u=u==null?!0:u,e&&de(n,ki(n,"Month")+e*r),f&&we(n,"Date",ki(n,"Date")+f*r),o&&n._d.setTime(n._d.valueOf()+o*r),u&&t.updateOffset(n,f||e))}function ss(n){return typeof n=="string"||n instanceof String}function dv(n){return tt(n)||vi(n)||ss(n)||ct(n)||ny(n)||gv(n)||n===null||n===undefined}function gv(n){for(var f=gt(n)&&!fu(n),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms",],u,e=r.length,t=0;ti.valueOf():i.valueOf()9999?fr(t,i?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ft(Date.prototype.toISOString)?i?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*6e4).toISOString().replace("Z",fr(t,"Z")):fr(t,i?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function yy(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var n="moment",t="",i,r,u,f;return this.isLocal()||(n=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),i="["+n+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",u="-MM-DD[T]HH:mm:ss.SSS",f=t+'[")]',this.format(i+r+u+f)}function py(n){n||(n=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var i=fr(this,n);return this.localeData().postformat(i)}function wy(n,t){return this.isValid()&&(tt(n)&&n.isValid()||l(n).isValid())?rt({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function by(n){return this.from(l(),n)}function ky(n,t){return this.isValid()&&(tt(n)&&n.isValid()||l(n).isValid())?rt({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dy(n){return this.to(l(),n)}function hs(n){var t;return n===undefined?this._locale._abbr:(t=pt(n),t!=null&&(this._locale=t),this)}function cs(){return this._locale}function li(n,t){return(n%t+t)%t}function as(n,t,i){return n<100&&n>=0?new Date(n+400,t,i)-ls:new Date(n,t,i).valueOf()}function vs(n,t,i){return n<100&&n>=0?Date.UTC(n+400,t,i)-ls:Date.UTC(n,t,i)}function gy(n){var i,r;if(n=d(n),n===undefined||n==="millisecond"||!this.isValid())return this;r=this._isUTC?vs:as;switch(n){case"year":i=r(this.year(),0,1);break;case"quarter":i=r(this.year(),this.month()-this.month()%3,1);break;case"month":i=r(this.year(),this.month(),1);break;case"week":i=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":i=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":i=r(this.year(),this.month(),this.date());break;case"hour":i=this._d.valueOf()-li(i+(this._isUTC?0:this.utcOffset()*ci),nu);break;case"minute":i=this._d.valueOf()-li(i,ci);break;case"second":i=this._d.valueOf()-li(i,gr)}return this._d.setTime(i),t.updateOffset(this,!0),this}function np(n){var i,r;if(n=d(n),n===undefined||n==="millisecond"||!this.isValid())return this;r=this._isUTC?vs:as;switch(n){case"year":i=r(this.year()+1,0,1)-1;break;case"quarter":i=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":i=r(this.year(),this.month()+1,1)-1;break;case"week":i=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":i=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":i=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":i=this._d.valueOf()+(nu-li(i+(this._isUTC?0:this.utcOffset()*ci),nu)-1);break;case"minute":i=this._d.valueOf()+(ci-li(i,ci)-1);break;case"second":i=this._d.valueOf()+(gr-li(i,gr)-1)}return this._d.setTime(i),t.updateOffset(this,!0),this}function tp(){return this._d.valueOf()-(this._offset||0)*6e4}function ip(){return Math.floor(this.valueOf()/1e3)}function rp(){return new Date(this.valueOf())}function up(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond(),]}function fp(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}}function ep(){return this.isValid()?this.toISOString():null}function op(){return eu(this)}function sp(){return bt({},u(this))}function hp(){return u(this).overflow}function cp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function lp(){for(var r,i=this._eras||pt("en")._eras,n=0,u=i.length;n=0)return u[r]}function vp(n,i){var r=n.since<=n.until?1:-1;return i===undefined?t(n.since).year():t(n.since).year()+(i-n.offset)*r}function yp(){for(var i,t=this.localeData().eras(),n=0,r=t.length;nf&&(t=f),hw.call(this,n,t,i,r,u))}function hw(n,t,i,r,u){var e=to(n,t,i,r,u),f=di(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}function cw(n){return n==null?Math.ceil((this.month()+1)/3):this.month((n-1)*3+this.month()%3)}function lw(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return n==null?t:this.add(n-t,"d")}function aw(n,t){t[ni]=f(("0."+n)*1e3)}function vw(){return this._isUTC?"UTC":""}function yw(){return this._isUTC?"Coordinated Universal Time":""}function pw(n){return l(n*1e3)}function ww(){return l.apply(null,arguments).parseZone()}function ks(n){return n}function iu(n,t,i,r){var u=pt(),f=ut().set(r,t);return u[i](f,n)}function ds(n,t,i){if(ct(n)&&(t=n,n=undefined),n=n||"",t!=null)return iu(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=iu(n,r,i,"month");return u}function bf(n,t,i,r){typeof n=="boolean"?(ct(t)&&(i=t,t=undefined),t=t||""):(t=n,i=t,n=!1,ct(t)&&(i=t,t=undefined),t=t||"");var o=pt(),f=n?o._week.dow:0,u,e=[];if(i!=null)return iu(t,(i+f)%7,r,"day");for(u=0;u<7;u++)e[u]=iu(t,(u+f)%7,r,"day");return e}function bw(n,t){return ds(n,t,"months")}function kw(n,t){return ds(n,t,"monthsShort")}function dw(n,t,i){return bf(n,t,i,"weekdays")}function gw(n,t,i){return bf(n,t,i,"weekdaysShort")}function nb(n,t,i){return bf(n,t,i,"weekdaysMin")}function tb(){var n=this._data;return this._milliseconds=st(this._milliseconds),this._days=st(this._days),this._months=st(this._months),n.milliseconds=st(n.milliseconds),n.seconds=st(n.seconds),n.minutes=st(n.minutes),n.hours=st(n.hours),n.months=st(n.months),n.years=st(n.years),this}function gs(n,t,i,r){var u=rt(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function ib(n,t){return gs(this,n,t,1)}function rb(n,t){return gs(this,n,t,-1)}function nh(n){return n<0?Math.floor(n):Math.ceil(n)}function ub(){var r=this._milliseconds,n=this._days,t=this._months,i=this._data,u,f,e,s,o;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=nh(kf(t)+n)*864e5,n=0,t=0),i.milliseconds=r%1e3,u=g(r/1e3),i.seconds=u%60,f=g(u/60),i.minutes=f%60,e=g(f/60),i.hours=e%24,n+=g(e/24),o=g(th(n)),t+=o,n-=nh(kf(o)),s=g(t/12),t%=12,i.days=n,i.months=t,i.years=s,this}function th(n){return n*4800/146097}function kf(n){return n*146097/4800}function fb(n){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if(n=d(n),n==="month"||n==="quarter"||n==="year"){t=this._days+i/864e5;r=this._months+th(t);switch(n){case"month":return r;case"quarter":return r/3;case"year":return r/12}}else{t=this._days+Math.round(kf(this._months));switch(n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return t*24+i/36e5;case"minute":return t*1440+i/6e4;case"second":return t*86400+i/1e3;case"millisecond":return Math.floor(t*864e5)+i;default:throw new Error("Unknown unit "+n);}}}function wt(n){return function(){return this.as(n)}}function pb(){return rt(this)}function wb(n){return n=d(n),this.isValid()?this[n+"s"]():NaN}function ii(n){return function(){return this.isValid()?this._data[n]:NaN}}function rk(){return g(this.days()/7)}function uk(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function fk(n,t,i,r){var f=rt(n).abs(),e=ht(f.as("s")),o=ht(f.as("m")),s=ht(f.as("h")),h=ht(f.as("d")),c=ht(f.as("M")),l=ht(f.as("w")),a=ht(f.as("y")),u=e<=i.ss&&["s",e]||e0,u[4]=r,uk.apply(null,u)}function ek(n){return n===undefined?ht:typeof n=="function"?(ht=n,!0):!1}function ok(n,t){return ri[n]===undefined?!1:t===undefined?ri[n]:(ri[n]=t,n==="s"&&(ri.ss=t-1),!0)}function sk(n,t){if(!this.isValid())return this.localeData().invalidDate();var u=!1,f=ri,i,r;return typeof n=="object"&&(t=n,n=!1),typeof n=="boolean"&&(u=n),typeof t=="object"&&(f=Object.assign({},ri,t),t.s!=null&&t.ss==null&&(f.ss=t.s-1)),i=this.localeData(),r=fk(this,!u,f,i),u&&(r=i.pastFuture(+this,r)),i.postformat(r)}function ai(n){return(n>0)-(n<0)||+n}function uu(){if(!this.isValid())return this.localeData().invalidDate();var n=ru(this._milliseconds)/1e3,s=ru(this._days),r=ru(this._months),t,u,e,h,i=this.asSeconds(),c,o,l,f;return i?(t=g(n/60),u=g(t/60),n%=60,t%=60,e=g(r/12),r%=12,h=n?n.toFixed(3).replace(/\.?0+$/,""):"",c=i<0?"-":"",o=ai(this._months)!==ai(i)?"-":"",l=ai(this._days)!==ai(i)?"-":"",f=ai(this._milliseconds)!==ai(i)?"-":"",c+"P"+(e?o+e+"Y":"")+(r?o+r+"M":"")+(s?l+s+"D":"")+(u||t||n?"T":"")+(u?f+u+"H":"")+(t?f+t+"M":"")+(n?f+h+"S":"")):"P0D"}var df,ne,ou,rr,hu,re,ue,ee,oe,se,he,ce,yu,le,ar,du,v,io,eo,oo,yo,po,bo,hi,go,ts,is,es,os,vf,wf,ps,ws,dt,bs,n,o,st,ht,ri,ru,e;ne=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t68?1900:2e3)};du=oi("FullYear",!0);v=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;tthis?this:n:ir()});bo=function(){return Date.now?Date.now():+new Date};hi=["year","quarter","month","week","day","hour","minute","second","millisecond",];ko("Z",":");ko("ZZ","");i("Z",cr);i("ZZ",cr);h(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=cf(cr,n)});go=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};ts=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/;is=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;rt.fn=br.prototype;rt.invalid=ev;es=us(1,"add");os=us(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";vf=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return n===undefined?this.localeData():this.locale(n)});var gr=1e3,ci=60*gr,nu=60*ci,ls=3506328*nu;for(r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),i("N",yf),i("NN",yf),i("NNN",yf),i("NNNN",nw),i("NNNNN",tw),h(["N","NN","NNN","NNNN","NNNNN"],function(n,t,i,r){var f=i._locale.erasParse(n,r,i._strict);f?u(i).era=f:u(i).invalidEra=n}),i("y",fi),i("yy",fi),i("yyy",fi),i("yyyy",fi),i("yo",iw),h(["y","yy","yyy","yyyy"],p),h(["yo"],function(n,t,i){var r;i._locale._eraYearOrdinalRegex&&(r=n.match(i._locale._eraYearOrdinalRegex));t[p]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(n,r):parseInt(n,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tu("gggg","weekYear"),tu("ggggg","weekYear"),tu("GGGG","isoWeekYear"),tu("GGGGG","isoWeekYear"),i("G",hr),i("g",hr),i("GG",c,b),i("gg",c,b),i("GGGG",bu,wu),i("gggg",bu,wu),i("GGGGG",sr,er),i("ggggg",sr,er),wi(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=f(n)}),wi(["gg","GG"],function(n,i,r,u){i[u]=t.parseTwoDigitYear(n)}),r("Q",0,"Qo","quarter"),i("Q",ae),h("Q",function(n,t){t[at]=(f(n)-1)*3}),r("D",["DD",2],"Do","date"),i("D",c,ei),i("DD",c,b),i("Do",function(n,t){return n?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),h(["D","DD"],ot),h("Do",function(n,t){t[ot]=f(n.match(c)[0])}),wf=oi("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),i("DDD",or),i("DDDD",ve),h(["DDD","DDDD"],function(n,t,i){i._dayOfYear=f(n)}),r("m",["mm",2],0,"minute"),i("m",c,ku),i("mm",c,b),h(["m","mm"],it),ps=oi("Minutes",!1),r("s",["ss",2],0,"second"),i("s",c,ku),i("ss",c,b),h(["s","ss"],vt),ws=oi("Seconds",!1),r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return this.millisecond()*10}),r(0,["SSSSS",5],0,function(){return this.millisecond()*100}),r(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),r(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),r(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),r(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),i("S",or,ae),i("SS",or,b),i("SSS",or,ve),dt="SSSS";dt.length<=9;dt+="S")i(dt,fi);for(dt="S";dt.length<=9;dt+="S")h(dt,aw);bs=oi("Milliseconds",!1);r("z",0,0,"zoneAbbr");r("zz",0,0,"zoneName");n=yi.prototype;n.add=es;n.calendar=ry;n.clone=uy;n.diff=ly;n.endOf=np;n.format=py;n.from=wy;n.fromNow=by;n.to=ky;n.toNow=dy;n.get=tc;n.invalidAt=hp;n.isAfter=fy;n.isBefore=ey;n.isBetween=oy;n.isSame=sy;n.isSameOrAfter=hy;n.isSameOrBefore=cy;n.isValid=op;n.lang=vf;n.locale=hs;n.localeData=cs;n.max=po;n.min=yo;n.parsingFlags=sp;n.set=ic;n.startOf=gy;n.subtract=os;n.toArray=up;n.toObject=fp;n.toDate=rp;n.toISOString=vy;n.inspect=yy;typeof Symbol!="undefined"&&Symbol.for!=null&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});n.toJSON=ep;n.toString=ay;n.unix=ip;n.valueOf=tp;n.creationData=cp;n.eraName=yp;n.eraNarrow=pp;n.eraAbbr=wp;n.eraYear=bp;n.year=du;n.isLeapYear=nc;n.weekYear=rw;n.isoWeekYear=uw;n.quarter=n.quarters=cw;n.month=ge;n.daysInMonth=lc;n.week=n.weeks=kc;n.isoWeek=n.isoWeeks=dc;n.weeksInYear=ow;n.weeksInWeekYear=sw;n.isoWeeksInYear=fw;n.isoWeeksInISOWeekYear=ew;n.date=wf;n.day=n.days=ll;n.weekday=al;n.isoWeekday=vl;n.dayOfYear=lw;n.hour=n.hours=oo;n.minute=n.minutes=ps;n.second=n.seconds=ws;n.millisecond=n.milliseconds=bs;n.utcOffset=sv;n.utc=cv;n.local=lv;n.parseZone=av;n.hasAlignedHourOffset=vv;n.isDST=yv;n.isLocal=wv;n.isUtcOffset=bv;n.isUtc=ns;n.isUTC=ns;n.zoneAbbr=vw;n.zoneName=yw;n.dates=k("dates accessor is deprecated. Use date instead.",wf);n.months=k("months accessor is deprecated. Use month instead",ge);n.years=k("years accessor is deprecated. Use year instead",du);n.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hv);n.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pv);o=lu.prototype;o.calendar=eh;o.longDateFormat=hh;o.invalidDate=ch;o.ordinal=lh;o.preparse=ks;o.postformat=ks;o.relativeTime=ah;o.pastFuture=vh;o.set=fh;o.eras=lp;o.erasParse=ap;o.erasConvertYear=vp;o.erasAbbrRegex=dp;o.erasNameRegex=kp;o.erasNarrowRegex=gp;o.months=oc;o.monthsShort=sc;o.monthsParse=cc;o.monthsRegex=vc;o.monthsShortRegex=ac;o.week=pc;o.firstDayOfYear=bc;o.firstDayOfWeek=wc;o.weekdays=el;o.weekdaysMin=sl;o.weekdaysShort=ol;o.weekdaysParse=cl;o.weekdaysRegex=yl;o.weekdaysShortRegex=pl;o.weekdaysMinRegex=wl;o.isPM=kl;o.meridiem=dl;kt("en",{eras:[{since:"0001-01-01",until:+Infinity,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-Infinity,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"},],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,i=f(n%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return n+i}});t.lang=k("moment.lang is deprecated. Use moment.locale instead.",kt);t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",pt);st=Math.abs;var ih=wt("ms"),eb=wt("s"),ob=wt("m"),sb=wt("h"),hb=wt("d"),cb=wt("w"),lb=wt("M"),ab=wt("Q"),vb=wt("y"),yb=ih;var bb=ii("milliseconds"),kb=ii("seconds"),db=ii("minutes"),gb=ii("hours"),nk=ii("days"),tk=ii("months"),ik=ii("years");return ht=Math.round,ri={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},ru=Math.abs,e=br.prototype,e.isValid=fv,e.abs=tb,e.add=ib,e.subtract=rb,e.as=fb,e.asMilliseconds=ih,e.asSeconds=eb,e.asMinutes=ob,e.asHours=sb,e.asDays=hb,e.asWeeks=cb,e.asMonths=lb,e.asQuarters=ab,e.asYears=vb,e.valueOf=yb,e._bubble=ub,e.clone=pb,e.get=wb,e.milliseconds=bb,e.seconds=kb,e.minutes=db,e.hours=gb,e.days=nk,e.weeks=rk,e.months=tk,e.years=ik,e.humanize=sk,e.toISOString=uu,e.toString=uu,e.toJSON=uu,e.locale=hs,e.localeData=cs,e.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uu),e.lang=vf,r("X",0,0,"unix"),r("x",0,0,"valueOf"),i("x",hr),i("X",/[+-]?\d+(\.\d{1,3})?/),h("X",function(n,t,i){i._d=new Date(parseFloat(n)*1e3)}),h("x",function(n,t,i){i._d=new Date(f(n))}),t.version="2.30.1",rh(l),t.fn=n,t.min=iv,t.max=rv,t.now=bo,t.utc=ut,t.unix=pw,t.months=bw,t.isDate=vi,t.locale=kt,t.invalid=ir,t.duration=rt,t.isMoment=tt,t.weekdays=dw,t.parseZone=ww,t.localeData=pt,t.isDuration=kr,t.monthsShort=kw,t.weekdaysMin=nb,t.defineLocale=uf,t.updateLocale=ia,t.locales=ra,t.weekdaysShort=gw,t.normalizeUnits=d,t.relativeTimeRounding=ek,t.relativeTimeThreshold=ok,t.calendarFormat=iy,t.prototype=n,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}),function(){function s(){s=function(){};o.Symbol||(o.Symbol=st)}function e(){s();var n=o.Symbol.iterator;n||(n=o.Symbol.iterator=o.Symbol("iterator"));"function"!=typeof Array.prototype[n]&&ot(Array.prototype,n,{configurable:!0,writable:!0,value:function(){return it(this)}});e=function(){}}function it(n){var t=0;return ht(function(){return targuments.length)throw new TypeError("2 arguments required, but only "+arguments.length+" present.");return t instanceof Blob?[n+"",t,void 0!==i?i+"":"string"==typeof t.name?t.name:"blob"]:[n+"",t+""]},l=function(n){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");return[n+""]},nt=function(t){var i=n(t);return t=i.next().value,i=i.next().value,t instanceof Blob&&(t=new File([t],i,{type:t.type,lastModified:t.lastModified})),t},r="object"==typeof window?window:"object"==typeof self?self:this,vt=r.FormData,tt=r.XMLHttpRequest&&r.XMLHttpRequest.prototype.send,yt=r.Request&&r.fetch;s();var u=r.Symbol&&Symbol.toStringTag,f=new WeakMap,a=Array.from||function(n){return[].slice.call(n)};u&&(Blob.prototype[u]||(Blob.prototype[u]="Blob"),"File"in r&&!File.prototype[u]&&(File.prototype[u]="File"));try{new File([],"")}catch(kt){r.File=function(n,t,i){return n=new Blob(n,i),i=i&&void 0!==i.lastModified?new Date(i.lastModified):new Date,Object.defineProperties(n,{name:{value:t},lastModifiedDate:{value:i},lastModified:{value:+i},toString:{value:function(){return"[object File]"}}}),u&&Object.defineProperty(n,u,{value:"File"}),n}}t=function(t){var i,u,r;if(f.set(this,Object.create(null)),!t)return this;for(t=n(a(t.elements)),i=t.next();!i.done;i=t.next())if(i=i.value,i.name&&!i.disabled)if("file"===i.type)for(u=n(a(i.files||[])),r=u.next();!r.done;r=u.next())this.append(i.name,r.value);else if("select-multiple"===i.type||"select-one"===i.type)for(u=n(a(i.options)),r=u.next();!r.done;r=u.next())r=r.value,!r.disabled&&r.selected&&this.append(i.name,r.value);else"checkbox"===i.type||"radio"===i.type?i.checked&&this.append(i.name,i.value):this.append(i.name,i.value)};i=t.prototype;i.append=function(n,t,i){var r=f.get(this);r[n]||(r[n]=[]);r[n].push([t,i])};i["delete"]=function(n){delete f.get(this)[n]};i.entries=function pt(){var s=this,i,r,e,u,t,o;return g(pt,function(h){var c,l;switch(h.b){case 1:i=f.get(s);e=new ct(i);case 2:n:{for(c=e;00&&ºÚÁϹÙÍø.vidControl.init(".js-media-video")}(jQuery);ºÚÁϹÙÍø=ºÚÁϹÙÍø||{};ºÚÁϹÙÍø.HowCanWeHelp={init:function(n){var t=ºÚÁϹÙÍø.HowCanWeHelp,i=$(n),u=i.find(".js-how-can-we-help__switch"),r=i.find(".js-how-can-we-help__select");t.setupSwitch(u,r);t.bindSelects(r)},setupSwitch:function(n,t){var i=ºÚÁϹÙÍø.HowCanWeHelp,r=n.find(".js-how-can-we-help__switch-item"),u=$(r[0]),f=$(r[1]),e=n.find(".js-how-can-we-help__switch-indicator");u.on("click",function(){i.switchFlip(u,e,1,t)});f.on("click",function(){i.switchFlip(f,e,2,t)})},switchFlip:function(n,t,i,r){var o=$(n.siblings()[0]),f,e;if(o.hasClass("-initial")&&t.width(n.siblings(".js-how-can-we-help__switch-item").outerWidth()),!n.hasClass("-active")){var s=n.outerWidth(),u={},h=n.siblings(".js-how-can-we-help__switch-item").outerWidth();t.width(s);n.siblings(".js-how-can-we-help__switch-item").removeClass("-active").removeClass("-initial");n.addClass("-active");i===1?(n.parent().addClass("-left").removeClass("-right"),u.left="0px",TweenLite.to(t,.5,u),$(r[0]).removeClass("-hidden"),$(r[1]).addClass("-hidden")):(n.parent().addClass("-right").removeClass("-left"),u.left=h+"px",TweenLite.to(t,.5,u),$(r[1]).removeClass("-hidden"),$(r[0]).addClass("-hidden"),f=$(r[1]).find(".js-how-can-we-help__list-item-link"),e=$(f[0]).outerHeight(),$(r[1]).css("height",e+"px"))}},bindSelects:function(n){n.each(function(){var n=$(this),i=n.find(".js-how-can-we-help__list-item-link"),r=n.find(".js-how-can-we-help__select-content"),t=n.find(".js-how-can-we-help__btn"),u=n.find(".js-how-can-we-help__list-item"),f=$(u[0]).find(".js-how-can-we-help__list-item-link"),e=$(i[0]).outerHeight();$("body").on("click",function(){t.hasClass("-active")&&t.trigger("click")});n.css("height",e+"px");t.on("click",function(u){u.preventDefault();u.stopPropagation();var e=r.outerHeight(),o=$(i[0]).outerHeight()+2,f={};t.hasClass("-active")?(t.removeClass("-active"),f.height=o+"px",TweenLite.to(n,.35,f)):(t.addClass("-active"),f.height=e+"px",TweenLite.to(n,.35,f))});f.on("click",function(n){n.preventDefault();n.stopPropagation();t.trigger("click")})})}};ºÚÁϹÙÍø.HowCanWeHelp.init(".js-how-can-we-help");ºÚÁϹÙÍø=ºÚÁϹÙÍø||{},function(n){ºÚÁϹÙÍø.ccHomepageHero={init:function(t){var c=ºÚÁϹÙÍø.vidControl,f=n(t),e=f.find(".js-cc-homepage-hero__inline-vid"),r=e.attr("data-vid_id"),u=f.find(".wistia_embed"),o="wistia_async_"+r,s=u.attr("data-img_url"),i,h;(window.matchMedia("(min-width: 768px)").matches?(u.addClass(o),window._wq=window._wq||[],_wq.push({id:r,onReady:function(t){e=Wistia.api(r);var i=n(".js-cc-homepage-hero__ctrls"),u=n(".wistia_placebo_close_button");i.on("click",function(){t.pause()});u.on("click",function(){t.play()})}})):u.css({"background-image":"url("+s+")","background-size":"cover"}),i=n(".js-cc-homepage-hero__video"),i&&i[0])&&(h=i[0].id)}};n(".js-cc-homepage-hero").length>0&&ºÚÁϹÙÍø.ccHomepageHero.init(".js-cc-homepage-hero");ºÚÁϹÙÍø.homepageHeroRefresh={init:function(t){var l=ºÚÁϹÙÍø.vidControl,u=n(t),o=u.find(".js-homepage-refresh-hero__inline-vid"),f=o.attr("data-vid_id"),e=u.find(".wistia_embed"),s="wistia_async_"+f,h=e.attr("data-img_url"),i=u.find(".js-homepage-fresh-hero__pause"),r,c;(window.matchMedia("(min-width: 768px)").matches?(e.addClass(s),window._wq=window._wq||[],_wq.push({id:f,onReady:function(t){o=Wistia.api(f);var r=n(".js-homepage-refresh-hero__ctrls"),u=n(".wistia_placebo_close_button");if(r.length>0){r.on("click",function(){t.pause()});u.on("click",function(){t.play()})}i.on("click",function(){i.hasClass("-play")?(t.play(),i.removeClass("-play")):(t.pause(),i.addClass("-play"))})}})):(e.css({"background-image":"url("+h+")","background-size":"cover"}),i.remove()),r=n(".js-homepage-refresh-hero__video"),r&&r[0])&&(c=r[0].id)}};n(".js-homepage-refresh-hero").length>0&&ºÚÁϹÙÍø.homepageHeroRefresh.init(".js-homepage-refresh-hero")}(jQuery);ºÚÁϹÙÍø=ºÚÁϹÙÍø||{},function(n){ºÚÁϹÙÍø.SideScrollingCardComponent={init:function(t){n(t).slick({dots:!1,infinite:!n(t).hasClass("js-is-editing"),speed:300,slidesToShow:1,slidesToScroll:1,centerMode:!1,variableWidth:!0})}};ºÚÁϹÙÍø.SideScrollingCardComponent.init(".js-side-scrolling-card-component__carousel")}(jQuery);ºÚÁϹÙÍø=ºÚÁϹÙÍø||{},function(){ºÚÁϹÙÍø.TableInit={init:function(){let t=Array.prototype.slice.apply(document.querySelectorAll("table")),n=document.createElement("div");n.classList.add("swipe");t.map(function(t){let i=Array.prototype.slice.apply(t.querySelectorAll("th")),r=Array.prototype.slice.apply(t.querySelectorAll("tr")),u=r.length,f=t.querySelectorAll("tr:nth-child(2) td").length;if(console.log({table:t,trCount:u,tdCount:f}),(u>=15||f>=7)&&(t.parentNode.insertBefore(n,t),n.appendChild(t),console.log({swipeWrapperElem:n})),!i)return!1;r.map(function(n){Array.prototype.slice.apply(n.querySelectorAll("td")).map(function(n,t){n.setAttribute("data-header",i[t].innerText)})})})}};ºÚÁϹÙÍø.TableInit.init()}() |