hijri-datepicker-component
Version:
Forked and enhanced version of datepicker-hijri with additional features. The 'Hijri Datepicker' is a user interface component designed to facilitate the selection and display of Hijri (Islamic) dates in applications. It offers a visual calendar interface
1 lines • 117 kB
JavaScript
System.register(["./p-222a25bd.system.js"],(function(e){"use strict";var t,r;return{setters:[function(e){t=e.r;r=e.h}],execute:function(){var n=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function i(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a;function s(){return a.apply(null,arguments)}function o(e){a=e}function u(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function f(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function l(e){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(e).length===0}else{var t;for(t in e){if(e.hasOwnProperty(t)){return false}}return true}}function h(e){return e===void 0}function d(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function c(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function m(e,t){var r=[],n;for(n=0;n<e.length;++n){r.push(t(e[n],n))}return r}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function v(e,t){for(var r in t){if(p(t,r)){e[r]=t[r]}}if(p(t,"toString")){e.toString=t.toString}if(p(t,"valueOf")){e.valueOf=t.valueOf}return e}function y(e,t,r,n){return Jr(e,t,r,n,true).utc()}function g(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],meridiem:null,rfc2822:false,weekdayMismatch:false}}function _(e){if(e._pf==null){e._pf=g()}return e._pf}var D;if(Array.prototype.some){D=Array.prototype.some}else{D=function(e){var t=Object(this);var r=t.length>>>0;for(var n=0;n<r;n++){if(n in t&&e.call(this,t[n],n,t)){return true}}return false}}function w(e){if(e._isValid==null){var t=_(e);var r=D.call(t.parsedDateParts,(function(e){return e!=null}));var n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict){n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined}if(Object.isFrozen==null||!Object.isFrozen(e)){e._isValid=n}else{return n}}return e._isValid}function M(e){var t=y(NaN);if(e!=null){v(_(t),e)}else{_(t).userInvalidated=true}return t}var Y=s.momentProperties=[];function b(e,t){var r,n,i;if(!h(t._isAMomentObject)){e._isAMomentObject=t._isAMomentObject}if(!h(t._i)){e._i=t._i}if(!h(t._f)){e._f=t._f}if(!h(t._l)){e._l=t._l}if(!h(t._strict)){e._strict=t._strict}if(!h(t._tzm)){e._tzm=t._tzm}if(!h(t._isUTC)){e._isUTC=t._isUTC}if(!h(t._offset)){e._offset=t._offset}if(!h(t._pf)){e._pf=_(t)}if(!h(t._locale)){e._locale=t._locale}if(Y.length>0){for(r=0;r<Y.length;r++){n=Y[r];i=t[n];if(!h(i)){e[n]=i}}}return e}var S=false;function k(e){b(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(S===false){S=true;s.updateOffset(this);S=false}}function O(e){return e instanceof k||e!=null&&e._isAMomentObject!=null}function x(e){if(e<0){return Math.ceil(e)||0}else{return Math.floor(e)}}function T(e){var t=+e,r=0;if(t!==0&&isFinite(t)){r=x(t)}return r}function F(e,t,r){var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,s;for(s=0;s<n;s++){if(r&&e[s]!==t[s]||!r&&T(e[s])!==T(t[s])){a++}}return a+i}function C(e){if(s.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+e)}}function P(e,t){var r=true;return v((function(){if(s.deprecationHandler!=null){s.deprecationHandler(null,e)}if(r){var n=[];var i;for(var a=0;a<arguments.length;a++){i="";if(typeof arguments[a]==="object"){i+="\n["+a+"] ";for(var o in arguments[0]){i+=o+": "+arguments[0][o]+", "}i=i.slice(0,-2)}else{i=arguments[a]}n.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack);r=false}return t.apply(this,arguments)}),t)}var E={};function L(e,t){if(s.deprecationHandler!=null){s.deprecationHandler(e,t)}if(!E[e]){C(t);E[e]=true}}s.suppressDeprecationWarnings=false;s.deprecationHandler=null;function W(e){return e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function N(e){var t,r;for(r in e){t=e[r];if(W(t)){this[r]=t}else{this["_"+r]=t}}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(e,t){var r=v({},e),n;for(n in t){if(p(t,n)){if(f(e[n])&&f(t[n])){r[n]={};v(r[n],e[n]);v(r[n],t[n])}else if(t[n]!=null){r[n]=t[n]}else{delete r[n]}}}for(n in e){if(p(e,n)&&!p(t,n)&&f(e[n])){r[n]=v({},r[n])}}return r}function R(e){if(e!=null){this.set(e)}}var A;if(Object.keys){A=Object.keys}else{A=function(e){var t,r=[];for(t in e){if(p(e,t)){r.push(t)}}return r}}var I={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function U(e,t,r){var n=this._calendar[e]||this._calendar["sameElse"];return W(n)?n.call(t,r):n}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function j(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];if(t||!r){return t}this._longDateFormat[e]=r.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)}));return this._longDateFormat[e]}var G="Invalid date";function z(){return this._invalidDate}var Z="%d";var B=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var $={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,r,n){var i=this._relativeTime[r];return W(i)?i(e,t,r,n):i.replace(/%d/i,e)}function X(e,t){var r=this._relativeTime[e>0?"future":"past"];return W(r)?r(t):r.replace(/%s/i,t)}var Q={};function K(e,t){var r=e.toLowerCase();Q[r]=Q[r+"s"]=Q[t]=e}function ee(e){return typeof e==="string"?Q[e]||Q[e.toLowerCase()]:undefined}function te(e){var t={},r,n;for(n in e){if(p(e,n)){r=ee(n);if(r){t[r]=e[n]}}}return t}var re={};function ne(e,t){re[e]=t}function ie(e){var t=[];for(var r in e){t.push({unit:r,priority:re[r]})}t.sort((function(e,t){return e.priority-t.priority}));return t}function ae(e,t,r){var n=""+Math.abs(e),i=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var se=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;var oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;var ue={};var fe={};function le(e,t,r,n){var i=n;if(typeof n==="string"){i=function(){return this[n]()}}if(e){fe[e]=i}if(t){fe[t[0]]=function(){return ae(i.apply(this,arguments),t[1],t[2])}}if(r){fe[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)}}}function he(e){if(e.match(/\[[\s\S]/)){return e.replace(/^\[|\]$/g,"")}return e.replace(/\\/g,"")}function de(e){var t=e.match(se),r,n;for(r=0,n=t.length;r<n;r++){if(fe[t[r]]){t[r]=fe[t[r]]}else{t[r]=he(t[r])}}return function(r){var i="",a;for(a=0;a<n;a++){i+=W(t[a])?t[a].call(r,e):t[a]}return i}}function ce(e,t){if(!e.isValid()){return e.localeData().invalidDate()}t=me(t,e.localeData());ue[t]=ue[t]||de(t);return ue[t](e)}function me(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}oe.lastIndex=0;while(r>=0&&oe.test(e)){e=e.replace(oe,n);oe.lastIndex=0;r-=1}return e}var pe=/\d/;var ve=/\d\d/;var ye=/\d{3}/;var ge=/\d{4}/;var _e=/[+-]?\d{6}/;var De=/\d\d?/;var we=/\d\d\d\d?/;var Me=/\d\d\d\d\d\d?/;var Ye=/\d{1,3}/;var be=/\d{1,4}/;var Se=/[+-]?\d{1,6}/;var ke=/\d+/;var Oe=/[+-]?\d+/;var xe=/Z|[+-]\d\d:?\d\d/gi;var Te=/Z|[+-]\d\d(?::?\d\d)?/gi;var Fe=/[+-]?\d+(\.\d{1,3})?/;var Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;var Pe={};function Ee(e,t,r){Pe[e]=W(t)?t:function(e,n){return e&&r?r:t}}function Le(e,t){if(!p(Pe,e)){return new RegExp(We(e))}return Pe[e](t._strict,t._locale)}function We(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var He={};function Re(e,t){var r,n=t;if(typeof e==="string"){e=[e]}if(d(t)){n=function(e,r){r[t]=T(e)}}for(r=0;r<e.length;r++){He[e[r]]=n}}function Ae(e,t){Re(e,(function(e,r,n,i){n._w=n._w||{};t(e,n._w,n,i)}))}function Ie(e,t,r){if(t!=null&&p(He,e)){He[e](t,r._a,r,e)}}var Ue=0;var Ve=1;var je=2;var Ge=3;var ze=4;var Ze=5;var Be=6;var qe=7;var $e=8;le("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e}));le(0,["YY",2],0,(function(){return this.year()%100}));le(0,["YYYY",4],0,"year");le(0,["YYYYY",5],0,"year");le(0,["YYYYYY",6,true],0,"year");K("year","y");ne("year",1);Ee("Y",Oe);Ee("YY",De,ve);Ee("YYYY",be,ge);Ee("YYYYY",Se,_e);Ee("YYYYYY",Se,_e);Re(["YYYYY","YYYYYY"],Ue);Re("YYYY",(function(e,t){t[Ue]=e.length===2?s.parseTwoDigitYear(e):T(e)}));Re("YY",(function(e,t){t[Ue]=s.parseTwoDigitYear(e)}));Re("Y",(function(e,t){t[Ue]=parseInt(e,10)}));function Je(e){return Xe(e)?366:365}function Xe(e){return e%4===0&&e%100!==0||e%400===0}s.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var Qe=et("FullYear",true);function Ke(){return Xe(this.year())}function et(e,t){return function(r){if(r!=null){rt(this,e,r);s.updateOffset(this,t);return this}else{return tt(this,e)}}}function tt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function rt(e,t,r){if(e.isValid()&&!isNaN(r)){if(t==="FullYear"&&Xe(e.year())&&e.month()===1&&e.date()===29){e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),ot(r,e.month()))}else{e._d["set"+(e._isUTC?"UTC":"")+t](r)}}}function nt(e){e=ee(e);if(W(this[e])){return this[e]()}return this}function it(e,t){if(typeof e==="object"){e=te(e);var r=ie(e);for(var n=0;n<r.length;n++){this[r[n].unit](e[r[n].unit])}}else{e=ee(e);if(W(this[e])){return this[e](t)}}return this}function at(e,t){return(e%t+t)%t}var st;if(Array.prototype.indexOf){st=Array.prototype.indexOf}else{st=function(e){var t;for(t=0;t<this.length;++t){if(this[t]===e){return t}}return-1}}function ot(e,t){if(isNaN(e)||isNaN(t)){return NaN}var r=at(t,12);e+=(t-r)/12;return r===1?Xe(e)?29:28:31-r%7%2}le("M",["MM",2],"Mo",(function(){return this.month()+1}));le("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)}));le("MMMM",0,0,(function(e){return this.localeData().months(this,e)}));K("month","M");ne("month",8);Ee("M",De);Ee("MM",De,ve);Ee("MMM",(function(e,t){return t.monthsShortRegex(e)}));Ee("MMMM",(function(e,t){return t.monthsRegex(e)}));Re(["M","MM"],(function(e,t){t[Ve]=T(e)-1}));Re(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);if(i!=null){t[Ve]=i}else{_(r).invalidMonth=e}}));var ut=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;var ft="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function lt(e,t){if(!e){return u(this._months)?this._months:this._months["standalone"]}return u(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ut).test(t)?"format":"standalone"][e.month()]}var ht="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function dt(e,t){if(!e){return u(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}return u(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ut.test(t)?"format":"standalone"][e.month()]}function ct(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(n=0;n<12;++n){a=y([2e3,n]);this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase();this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase()}}if(r){if(t==="MMM"){i=st.call(this._shortMonthsParse,s);return i!==-1?i:null}else{i=st.call(this._longMonthsParse,s);return i!==-1?i:null}}else{if(t==="MMM"){i=st.call(this._shortMonthsParse,s);if(i!==-1){return i}i=st.call(this._longMonthsParse,s);return i!==-1?i:null}else{i=st.call(this._longMonthsParse,s);if(i!==-1){return i}i=st.call(this._shortMonthsParse,s);return i!==-1?i:null}}}function mt(e,t,r){var n,i,a;if(this._monthsParseExact){return ct.call(this,e,t,r)}if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(n=0;n<12;n++){i=y([2e3,n]);if(r&&!this._longMonthsParse[n]){this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i");this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")}if(!r&&!this._monthsParse[n]){a="^"+this.months(i,"")+"|^"+this.monthsShort(i,"");this._monthsParse[n]=new RegExp(a.replace(".",""),"i")}if(r&&t==="MMMM"&&this._longMonthsParse[n].test(e)){return n}else if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e)){return n}else if(!r&&this._monthsParse[n].test(e)){return n}}}function pt(e,t){var r;if(!e.isValid()){return e}if(typeof t==="string"){if(/^\d+$/.test(t)){t=T(t)}else{t=e.localeData().monthsParse(t);if(!d(t)){return e}}}r=Math.min(e.date(),ot(e.year(),t));e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r);return e}function vt(e){if(e!=null){pt(this,e);s.updateOffset(this,true);return this}else{return tt(this,"Month")}}function yt(){return ot(this.year(),this.month())}var gt=Ce;function _t(e){if(this._monthsParseExact){if(!p(this,"_monthsRegex")){Mt.call(this)}if(e){return this._monthsShortStrictRegex}else{return this._monthsShortRegex}}else{if(!p(this,"_monthsShortRegex")){this._monthsShortRegex=gt}return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}}var Dt=Ce;function wt(e){if(this._monthsParseExact){if(!p(this,"_monthsRegex")){Mt.call(this)}if(e){return this._monthsStrictRegex}else{return this._monthsRegex}}else{if(!p(this,"_monthsRegex")){this._monthsRegex=Dt}return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}}function Mt(){function e(e,t){return t.length-e.length}var t=[],r=[],n=[],i,a;for(i=0;i<12;i++){a=y([2e3,i]);t.push(this.monthsShort(a,""));r.push(this.months(a,""));n.push(this.months(a,""));n.push(this.monthsShort(a,""))}t.sort(e);r.sort(e);n.sort(e);for(i=0;i<12;i++){t[i]=Ne(t[i]);r[i]=Ne(r[i])}for(i=0;i<24;i++){n[i]=Ne(n[i])}this._monthsRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Yt(e,t,r,n,i,a,s){var o;if(e<100&&e>=0){o=new Date(e+400,t,r,n,i,a,s);if(isFinite(o.getFullYear())){o.setFullYear(e)}}else{o=new Date(e,t,r,n,i,a,s)}return o}function bt(e){var t;if(e<100&&e>=0){var r=Array.prototype.slice.call(arguments);r[0]=e+400;t=new Date(Date.UTC.apply(null,r));if(isFinite(t.getUTCFullYear())){t.setUTCFullYear(e)}}else{t=new Date(Date.UTC.apply(null,arguments))}return t}function St(e,t,r){var n=7+t-r,i=(7+bt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function kt(e,t,r,n,i){var a=(7+r-n)%7,s=St(e,n,i),o=1+7*(t-1)+a+s,u,f;if(o<=0){u=e-1;f=Je(u)+o}else if(o>Je(e)){u=e+1;f=o-Je(e)}else{u=e;f=o}return{year:u,dayOfYear:f}}function Ot(e,t,r){var n=St(e.year(),t,r),i=Math.floor((e.dayOfYear()-n-1)/7)+1,a,s;if(i<1){s=e.year()-1;a=i+xt(s,t,r)}else if(i>xt(e.year(),t,r)){a=i-xt(e.year(),t,r);s=e.year()+1}else{s=e.year();a=i}return{week:a,year:s}}function xt(e,t,r){var n=St(e,t,r),i=St(e+1,t,r);return(Je(e)-n+i)/7}le("w",["ww",2],"wo","week");le("W",["WW",2],"Wo","isoWeek");K("week","w");K("isoWeek","W");ne("week",5);ne("isoWeek",5);Ee("w",De);Ee("ww",De,ve);Ee("W",De);Ee("WW",De,ve);Ae(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=T(e)}));function Tt(e){return Ot(e,this._week.dow,this._week.doy).week}var Ft={dow:0,doy:6};function Ct(){return this._week.dow}function Pt(){return this._week.doy}function Et(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Lt(e){var t=Ot(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}le("d",0,"do","day");le("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)}));le("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)}));le("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)}));le("e",0,0,"weekday");le("E",0,0,"isoWeekday");K("day","d");K("weekday","e");K("isoWeekday","E");ne("day",11);ne("weekday",11);ne("isoWeekday",11);Ee("d",De);Ee("e",De);Ee("E",De);Ee("dd",(function(e,t){return t.weekdaysMinRegex(e)}));Ee("ddd",(function(e,t){return t.weekdaysShortRegex(e)}));Ee("dddd",(function(e,t){return t.weekdaysRegex(e)}));Ae(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);if(i!=null){t.d=i}else{_(r).invalidWeekday=e}}));Ae(["d","e","E"],(function(e,t,r,n){t[n]=T(e)}));function Wt(e,t){if(typeof e!=="string"){return e}if(!isNaN(e)){return parseInt(e,10)}e=t.weekdaysParse(e);if(typeof e==="number"){return e}return null}function Nt(e,t){if(typeof e==="string"){return t.weekdaysParse(e)%7||7}return isNaN(e)?null:e}function Ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function At(e,t){var r=u(this._weekdays)?this._weekdays:this._weekdays[e&&e!==true&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===true?Ht(r,this._week.dow):e?r[e.day()]:r}var It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Ut(e){return e===true?Ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function jt(e){return e===true?Ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,r){var n,i,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(n=0;n<7;++n){a=y([2e3,1]).day(n);this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase();this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase();this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase()}}if(r){if(t==="dddd"){i=st.call(this._weekdaysParse,s);return i!==-1?i:null}else if(t==="ddd"){i=st.call(this._shortWeekdaysParse,s);return i!==-1?i:null}else{i=st.call(this._minWeekdaysParse,s);return i!==-1?i:null}}else{if(t==="dddd"){i=st.call(this._weekdaysParse,s);if(i!==-1){return i}i=st.call(this._shortWeekdaysParse,s);if(i!==-1){return i}i=st.call(this._minWeekdaysParse,s);return i!==-1?i:null}else if(t==="ddd"){i=st.call(this._shortWeekdaysParse,s);if(i!==-1){return i}i=st.call(this._weekdaysParse,s);if(i!==-1){return i}i=st.call(this._minWeekdaysParse,s);return i!==-1?i:null}else{i=st.call(this._minWeekdaysParse,s);if(i!==-1){return i}i=st.call(this._weekdaysParse,s);if(i!==-1){return i}i=st.call(this._shortWeekdaysParse,s);return i!==-1?i:null}}}function zt(e,t,r){var n,i,a;if(this._weekdaysParseExact){return Gt.call(this,e,t,r)}if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(n=0;n<7;n++){i=y([2e3,1]).day(n);if(r&&!this._fullWeekdaysParse[n]){this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[n]){a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,"");this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")}if(r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e)){return n}else if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e)){return n}else if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e)){return n}else if(!r&&this._weekdaysParse[n].test(e)){return n}}}function Zt(e){if(!this.isValid()){return e!=null?this:NaN}var t=this._isUTC?this._d.getUTCDay():this._d.getDay();if(e!=null){e=Wt(e,this.localeData());return this.add(e-t,"d")}else{return t}}function Bt(e){if(!this.isValid()){return e!=null?this:NaN}var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function qt(e){if(!this.isValid()){return e!=null?this:NaN}if(e!=null){var t=Nt(e,this.localeData());return this.day(this.day()%7?t:t-7)}else{return this.day()||7}}var $t=Ce;function Jt(e){if(this._weekdaysParseExact){if(!p(this,"_weekdaysRegex")){tr.call(this)}if(e){return this._weekdaysStrictRegex}else{return this._weekdaysRegex}}else{if(!p(this,"_weekdaysRegex")){this._weekdaysRegex=$t}return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}}var Xt=Ce;function Qt(e){if(this._weekdaysParseExact){if(!p(this,"_weekdaysRegex")){tr.call(this)}if(e){return this._weekdaysShortStrictRegex}else{return this._weekdaysShortRegex}}else{if(!p(this,"_weekdaysShortRegex")){this._weekdaysShortRegex=Xt}return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}var Kt=Ce;function er(e){if(this._weekdaysParseExact){if(!p(this,"_weekdaysRegex")){tr.call(this)}if(e){return this._weekdaysMinStrictRegex}else{return this._weekdaysMinRegex}}else{if(!p(this,"_weekdaysMinRegex")){this._weekdaysMinRegex=Kt}return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function tr(){function e(e,t){return t.length-e.length}var t=[],r=[],n=[],i=[],a,s,o,u,f;for(a=0;a<7;a++){s=y([2e3,1]).day(a);o=this.weekdaysMin(s,"");u=this.weekdaysShort(s,"");f=this.weekdays(s,"");t.push(o);r.push(u);n.push(f);i.push(o);i.push(u);i.push(f)}t.sort(e);r.sort(e);n.sort(e);i.sort(e);for(a=0;a<7;a++){r[a]=Ne(r[a]);n[a]=Ne(n[a]);i[a]=Ne(i[a])}this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function rr(){return this.hours()%12||12}function nr(){return this.hours()||24}le("H",["HH",2],0,"hour");le("h",["hh",2],0,rr);le("k",["kk",2],0,nr);le("hmm",0,0,(function(){return""+rr.apply(this)+ae(this.minutes(),2)}));le("hmmss",0,0,(function(){return""+rr.apply(this)+ae(this.minutes(),2)+ae(this.seconds(),2)}));le("Hmm",0,0,(function(){return""+this.hours()+ae(this.minutes(),2)}));le("Hmmss",0,0,(function(){return""+this.hours()+ae(this.minutes(),2)+ae(this.seconds(),2)}));function ir(e,t){le(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}ir("a",true);ir("A",false);K("hour","h");ne("hour",13);function ar(e,t){return t._meridiemParse}Ee("a",ar);Ee("A",ar);Ee("H",De);Ee("h",De);Ee("k",De);Ee("HH",De,ve);Ee("hh",De,ve);Ee("kk",De,ve);Ee("hmm",we);Ee("hmmss",Me);Ee("Hmm",we);Ee("Hmmss",Me);Re(["H","HH"],Ge);Re(["k","kk"],(function(e,t,r){var n=T(e);t[Ge]=n===24?0:n}));Re(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e);r._meridiem=e}));Re(["h","hh"],(function(e,t,r){t[Ge]=T(e);_(r).bigHour=true}));Re("hmm",(function(e,t,r){var n=e.length-2;t[Ge]=T(e.substr(0,n));t[ze]=T(e.substr(n));_(r).bigHour=true}));Re("hmmss",(function(e,t,r){var n=e.length-4;var i=e.length-2;t[Ge]=T(e.substr(0,n));t[ze]=T(e.substr(n,2));t[Ze]=T(e.substr(i));_(r).bigHour=true}));Re("Hmm",(function(e,t,r){var n=e.length-2;t[Ge]=T(e.substr(0,n));t[ze]=T(e.substr(n))}));Re("Hmmss",(function(e,t,r){var n=e.length-4;var i=e.length-2;t[Ge]=T(e.substr(0,n));t[ze]=T(e.substr(n,2));t[Ze]=T(e.substr(i))}));function sr(e){return(e+"").toLowerCase().charAt(0)==="p"}var or=/[ap]\.?m?\.?/i;function ur(e,t,r){if(e>11){return r?"pm":"PM"}else{return r?"am":"AM"}}var fr=et("Hours",true);var lr={calendar:I,longDateFormat:V,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:B,relativeTime:$,months:ft,monthsShort:ht,week:Ft,weekdays:Rt,weekdaysMin:Vt,weekdaysShort:It,meridiemParse:or};var hr={};var dr={};var cr;function mr(e){return e?e.toLowerCase().replace("_","-"):e}function pr(e){var t=0,r,n,i,a;while(t<e.length){a=mr(e[t]).split("-");r=a.length;n=mr(e[t+1]);n=n?n.split("-"):null;while(r>0){i=vr(a.slice(0,r).join("-"));if(i){return i}if(n&&n.length>=r&&F(a,n,true)>=r-1){break}r--}t++}return cr}function vr(e){var t=null;if(!hr[e]&&typeof module!=="undefined"&&module&&module.exports){try{t=cr._abbr;var r=require;r("./locale/"+e);yr(t)}catch(n){}}return hr[e]}function yr(e,t){var r;if(e){if(h(t)){r=Dr(e)}else{r=gr(e,t)}if(r){cr=r}else{if(typeof console!=="undefined"&&console.warn){console.warn("Locale "+e+" not found. Did you forget to load it?")}}}return cr._abbr}function gr(e,t){if(t!==null){var r,n=lr;t.abbr=e;if(hr[e]!=null){L("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.");n=hr[e]._config}else if(t.parentLocale!=null){if(hr[t.parentLocale]!=null){n=hr[t.parentLocale]._config}else{r=vr(t.parentLocale);if(r!=null){n=r._config}else{if(!dr[t.parentLocale]){dr[t.parentLocale]=[]}dr[t.parentLocale].push({name:e,config:t});return null}}}hr[e]=new R(H(n,t));if(dr[e]){dr[e].forEach((function(e){gr(e.name,e.config)}))}yr(e);return hr[e]}else{delete hr[e];return null}}function _r(e,t){if(t!=null){var r,n,i=lr;n=vr(e);if(n!=null){i=n._config}t=H(i,t);r=new R(t);r.parentLocale=hr[e];hr[e]=r;yr(e)}else{if(hr[e]!=null){if(hr[e].parentLocale!=null){hr[e]=hr[e].parentLocale}else if(hr[e]!=null){delete hr[e]}}}return hr[e]}function Dr(e){var t;if(e&&e._locale&&e._locale._abbr){e=e._locale._abbr}if(!e){return cr}if(!u(e)){t=vr(e);if(t){return t}e=[e]}return pr(e)}function wr(){return A(hr)}function Mr(e){var t;var r=e._a;if(r&&_(e).overflow===-2){t=r[Ve]<0||r[Ve]>11?Ve:r[je]<1||r[je]>ot(r[Ue],r[Ve])?je:r[Ge]<0||r[Ge]>24||r[Ge]===24&&(r[ze]!==0||r[Ze]!==0||r[Be]!==0)?Ge:r[ze]<0||r[ze]>59?ze:r[Ze]<0||r[Ze]>59?Ze:r[Be]<0||r[Be]>999?Be:-1;if(_(e)._overflowDayOfYear&&(t<Ue||t>je)){t=je}if(_(e)._overflowWeeks&&t===-1){t=qe}if(_(e)._overflowWeekday&&t===-1){t=$e}_(e).overflow=t}return e}function Yr(e,t,r){if(e!=null){return e}if(t!=null){return t}return r}function br(e){var t=new Date(s.now());if(e._useUTC){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]}return[t.getFullYear(),t.getMonth(),t.getDate()]}function Sr(e){var t,r,n=[],i,a,s;if(e._d){return}i=br(e);if(e._w&&e._a[je]==null&&e._a[Ve]==null){kr(e)}if(e._dayOfYear!=null){s=Yr(e._a[Ue],i[Ue]);if(e._dayOfYear>Je(s)||e._dayOfYear===0){_(e)._overflowDayOfYear=true}r=bt(s,0,e._dayOfYear);e._a[Ve]=r.getUTCMonth();e._a[je]=r.getUTCDate()}for(t=0;t<3&&e._a[t]==null;++t){e._a[t]=n[t]=i[t]}for(;t<7;t++){e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t]}if(e._a[Ge]===24&&e._a[ze]===0&&e._a[Ze]===0&&e._a[Be]===0){e._nextDay=true;e._a[Ge]=0}e._d=(e._useUTC?bt:Yt).apply(null,n);a=e._useUTC?e._d.getUTCDay():e._d.getDay();if(e._tzm!=null){e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm)}if(e._nextDay){e._a[Ge]=24}if(e._w&&typeof e._w.d!=="undefined"&&e._w.d!==a){_(e).weekdayMismatch=true}}function kr(e){var t,r,n,i,a,s,o,u;t=e._w;if(t.GG!=null||t.W!=null||t.E!=null){a=1;s=4;r=Yr(t.GG,e._a[Ue],Ot(Xr(),1,4).year);n=Yr(t.W,1);i=Yr(t.E,1);if(i<1||i>7){u=true}}else{a=e._locale._week.dow;s=e._locale._week.doy;var f=Ot(Xr(),a,s);r=Yr(t.gg,e._a[Ue],f.year);n=Yr(t.w,f.week);if(t.d!=null){i=t.d;if(i<0||i>6){u=true}}else if(t.e!=null){i=t.e+a;if(t.e<0||t.e>6){u=true}}else{i=a}}if(n<1||n>xt(r,a,s)){_(e)._overflowWeeks=true}else if(u!=null){_(e)._overflowWeekday=true}else{o=kt(r,n,i,a,s);e._a[Ue]=o.year;e._dayOfYear=o.dayOfYear}}var Or=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/;var xr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/;var Tr=/Z|[+-]\d\d(?::?\d\d)?/;var Fr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,false],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,false],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,false],["YYYYDDD",/\d{7}/]];var Cr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]];var Pr=/^\/?Date\((\-?\d+)/i;function Er(e){var t,r,n=e._i,i=Or.exec(n)||xr.exec(n),a,s,o,u;if(i){_(e).iso=true;for(t=0,r=Fr.length;t<r;t++){if(Fr[t][1].exec(i[1])){s=Fr[t][0];a=Fr[t][2]!==false;break}}if(s==null){e._isValid=false;return}if(i[3]){for(t=0,r=Cr.length;t<r;t++){if(Cr[t][1].exec(i[3])){o=(i[2]||" ")+Cr[t][0];break}}if(o==null){e._isValid=false;return}}if(!a&&o!=null){e._isValid=false;return}if(i[4]){if(Tr.exec(i[4])){u="Z"}else{e._isValid=false;return}}e._f=s+(o||"")+(u||"");jr(e)}else{e._isValid=false}}var Lr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Wr(e,t,r,n,i,a){var s=[Nr(e),ht.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];if(a){s.push(parseInt(a,10))}return s}function Nr(e){var t=parseInt(e,10);if(t<=49){return 2e3+t}else if(t<=999){return 1900+t}return t}function Hr(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rr(e,t,r){if(e){var n=It.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i){_(r).weekdayMismatch=true;r._isValid=false;return false}}return true}var Ar={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ir(e,t,r){if(e){return Ar[e]}else if(t){return 0}else{var n=parseInt(r,10);var i=n%100,a=(n-i)/100;return a*60+i}}function Ur(e){var t=Lr.exec(Hr(e._i));if(t){var r=Wr(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Rr(t[1],r,e)){return}e._a=r;e._tzm=Ir(t[8],t[9],t[10]);e._d=bt.apply(null,e._a);e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);_(e).rfc2822=true}else{e._isValid=false}}function Vr(e){var t=Pr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}Er(e);if(e._isValid===false){delete e._isValid}else{return}Ur(e);if(e._isValid===false){delete e._isValid}else{return}s.createFromInputFallback(e)}s.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), "+"which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are "+"discouraged and will be removed in an upcoming major release. Please refer to "+"http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}));s.ISO_8601=function(){};s.RFC_2822=function(){};function jr(e){if(e._f===s.ISO_8601){Er(e);return}if(e._f===s.RFC_2822){Ur(e);return}e._a=[];_(e).empty=true;var t=""+e._i,r,n,i,a,o,u=t.length,f=0;i=me(e._f,e._locale).match(se)||[];for(r=0;r<i.length;r++){a=i[r];n=(t.match(Le(a,e))||[])[0];if(n){o=t.substr(0,t.indexOf(n));if(o.length>0){_(e).unusedInput.push(o)}t=t.slice(t.indexOf(n)+n.length);f+=n.length}if(fe[a]){if(n){_(e).empty=false}else{_(e).unusedTokens.push(a)}Ie(a,n,e)}else if(e._strict&&!n){_(e).unusedTokens.push(a)}}_(e).charsLeftOver=u-f;if(t.length>0){_(e).unusedInput.push(t)}if(e._a[Ge]<=12&&_(e).bigHour===true&&e._a[Ge]>0){_(e).bigHour=undefined}_(e).parsedDateParts=e._a.slice(0);_(e).meridiem=e._meridiem;e._a[Ge]=Gr(e._locale,e._a[Ge],e._meridiem);Sr(e);Mr(e)}function Gr(e,t,r){var n;if(r==null){return t}if(e.meridiemHour!=null){return e.meridiemHour(t,r)}else if(e.isPM!=null){n=e.isPM(r);if(n&&t<12){t+=12}if(!n&&t===12){t=0}return t}else{return t}}function zr(e){var t,r,n,i,a;if(e._f.length===0){_(e).invalidFormat=true;e._d=new Date(NaN);return}for(i=0;i<e._f.length;i++){a=0;t=b({},e);if(e._useUTC!=null){t._useUTC=e._useUTC}t._f=e._f[i];jr(t);if(!w(t)){continue}a+=_(t).charsLeftOver;a+=_(t).unusedTokens.length*10;_(t).score=a;if(n==null||a<n){n=a;r=t}}v(e,r||t)}function Zr(e){if(e._d){return}var t=te(e._i);e._a=m([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)}));Sr(e)}function Br(e){var t=new k(Mr(qr(e)));if(t._nextDay){t.add(1,"d");t._nextDay=undefined}return t}function qr(e){var t=e._i,r=e._f;e._locale=e._locale||Dr(e._l);if(t===null||r===undefined&&t===""){return M({nullInput:true})}if(typeof t==="string"){e._i=t=e._locale.preparse(t)}if(O(t)){return new k(Mr(t))}else if(c(t)){e._d=t}else if(u(r)){zr(e)}else if(r){jr(e)}else{$r(e)}if(!w(e)){e._d=null}return e}function $r(e){var t=e._i;if(h(t)){e._d=new Date(s.now())}else if(c(t)){e._d=new Date(t.valueOf())}else if(typeof t==="string"){Vr(e)}else if(u(t)){e._a=m(t.slice(0),(function(e){return parseInt(e,10)}));Sr(e)}else if(f(t)){Zr(e)}else if(d(t)){e._d=new Date(t)}else{s.createFromInputFallback(e)}}function Jr(e,t,r,n,i){var a={};if(r===true||r===false){n=r;r=undefined}if(f(e)&&l(e)||u(e)&&e.length===0){e=undefined}a._isAMomentObject=true;a._useUTC=a._isUTC=i;a._l=r;a._i=e;a._f=t;a._strict=n;return Br(a)}function Xr(e,t,r,n){return Jr(e,t,r,n,false)}var Qr=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xr.apply(null,arguments);if(this.isValid()&&e.isValid()){return e<this?this:e}else{return M()}}));var Kr=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xr.apply(null,arguments);if(this.isValid()&&e.isValid()){return e>this?this:e}else{return M()}}));function en(e,t){var r,n;if(t.length===1&&u(t[0])){t=t[0]}if(!t.length){return Xr()}r=t[0];for(n=1;n<t.length;++n){if(!t[n].isValid()||t[n][e](r)){r=t[n]}}return r}function tn(){var e=[].slice.call(arguments,0);return en("isBefore",e)}function rn(){var e=[].slice.call(arguments,0);return en("isAfter",e)}var nn=function(){return Date.now?Date.now():+new Date};var an=["year","quarter","month","week","day","hour","minute","second","millisecond"];function sn(e){for(var t in e){if(!(st.call(an,t)!==-1&&(e[t]==null||!isNaN(e[t])))){return false}}var r=false;for(var n=0;n<an.length;++n){if(e[an[n]]){if(r){return false}if(parseFloat(e[an[n]])!==T(e[an[n]])){r=true}}}return true}function on(){return this._isValid}function un(){return Fn(NaN)}function fn(e){var t=te(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,u=t.minute||0,f=t.second||0,l=t.millisecond||0;this._isValid=sn(t);this._milliseconds=+l+f*1e3+u*6e4+o*1e3*60*60;this._days=+s+a*7;this._months=+i+n*3+r*12;this._data={};this._locale=Dr();this._bubble()}function ln(e){return e instanceof fn}function hn(e){if(e<0){return Math.round(-1*e)*-1}else{return Math.round(e)}}function dn(e,t){le(e,0,0,(function(){var e=this.utcOffset();var r="+";if(e<0){e=-e;r="-"}return r+ae(~~(e/60),2)+t+ae(~~e%60,2)}))}dn("Z",":");dn("ZZ","");Ee("Z",Te);Ee("ZZ",Te);Re(["Z","ZZ"],(function(e,t,r){r._useUTC=true;r._tzm=mn(Te,e)}));var cn=/([\+\-]|\d\d)/gi;function mn(e,t){var r=(t||"").match(e);if(r===null){return null}var n=r[r.length-1]||[];var i=(n+"").match(cn)||["-",0,0];var a=+(i[1]*60)+T(i[2]);return a===0?0:i[0]==="+"?a:-a}function pn(e,t){var r,n;if(t._isUTC){r=t.clone();n=(O(e)||c(e)?e.valueOf():Xr(e).valueOf())-r.valueOf();r._d.setTime(r._d.valueOf()+n);s.updateOffset(r,false);return r}else{return Xr(e).local()}}function vn(e){return-Math.round(e._d.getTimezoneOffset()/15)*15}s.updateOffset=function(){};function yn(e,t,r){var n=this._offset||0,i;if(!this.isValid()){return e!=null?this:NaN}if(e!=null){if(typeof e==="string"){e=mn(Te,e);if(e===null){return this}}else if(Math.abs(e)<16&&!r){e=e*60}if(!this._isUTC&&t){i=vn(this)}this._offset=e;this._isUTC=true;if(i!=null){this.add(i,"m")}if(n!==e){if(!t||this._changeInProgress){Wn(this,Fn(e-n,"m"),1,false)}else if(!this._changeInProgress){this._changeInProgress=true;s.updateOffset(this,true);this._changeInProgress=null}}return this}else{return this._isUTC?n:vn(this)}}function gn(e,t){if(e!=null){if(typeof e!=="string"){e=-e}this.utcOffset(e,t);return this}else{return-this.utcOffset()}}function _n(e){return this.utcOffset(0,e)}function Dn(e){if(this._isUTC){this.utcOffset(0,e);this._isUTC=false;if(e){this.subtract(vn(this),"m")}}return this}function wn(){if(this._tzm!=null){this.utcOffset(this._tzm,false,true)}else if(typeof this._i==="string"){var e=mn(xe,this._i);if(e!=null){this.utcOffset(e)}else{this.utcOffset(0,true)}}return this}function Mn(e){if(!this.isValid()){return false}e=e?Xr(e).utcOffset():0;return(this.utcOffset()-e)%60===0}function Yn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bn(){if(!h(this._isDSTShifted)){return this._isDSTShifted}var e={};b(e,this);e=qr(e);if(e._a){var t=e._isUTC?y(e._a):Xr(e._a);this._isDSTShifted=this.isValid()&&F(e._a,t.toArray())>0}else{this._isDSTShifted=false}return this._isDSTShifted}function Sn(){return this.isValid()?!this._isUTC:false}function kn(){return this.isValid()?this._isUTC:false}function On(){return this.isValid()?this._isUTC&&this._offset===0:false}var xn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/;var Tn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fn(e,t){var r=e,n=null,i,a,s;if(ln(e)){r={ms:e._milliseconds,d:e._days,M:e._months}}else if(d(e)){r={};if(t){r[t]=e}else{r.milliseconds=e}}else if(!!(n=xn.exec(e))){i=n[1]==="-"?-1:1;r={y:0,d:T(n[je])*i,h:T(n[Ge])*i,m:T(n[ze])*i,s:T(n[Ze])*i,ms:T(hn(n[Be]*1e3))*i}}else if(!!(n=Tn.exec(e))){i=n[1]==="-"?-1:1;r={y:Cn(n[2],i),M:Cn(n[3],i),w:Cn(n[4],i),d:Cn(n[5],i),h:Cn(n[6],i),m:Cn(n[7],i),s:Cn(n[8],i)}}else if(r==null){r={}}else if(typeof r==="object"&&("from"in r||"to"in r)){s=En(Xr(r.from),Xr(r.to));r={};r.ms=s.milliseconds;r.M=s.months}a=new fn(r);if(ln(e)&&p(e,"_locale")){a._locale=e._locale}return a}Fn.fn=fn.prototype;Fn.invalid=un;function Cn(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Pn(e,t){var r={};r.months=t.month()-e.month()+(t.year()-e.year())*12;if(e.clone().add(r.months,"M").isAfter(t)){--r.months}r.milliseconds=+t-+e.clone().add(r.months,"M");return r}function En(e,t){var r;if(!(e.isValid()&&t.isValid())){return{milliseconds:0,months:0}}t=pn(t,e);if(e.isBefore(t)){r=Pn(e,t)}else{r=Pn(t,e);r.milliseconds=-r.milliseconds;r.months=-r.months}return r}function Ln(e,t){return function(r,n){var i,a;if(n!==null&&!isNaN(+n)){L(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.");a=r;r=n;n=a}r=typeof r==="string"?+r:r;i=Fn(r,n);Wn(this,i,e);return this}}function Wn(e,t,r,n){var i=t._milliseconds,a=hn(t._days),o=hn(t._months);if(!e.isValid()){return}n=n==null?true:n;if(o){pt(e,tt(e,"Month")+o*r)}if(a){rt(e,"Date",tt(e,"Date")+a*r)}if(i){e._d.setTime(e._d.valueOf()+i*r)}if(n){s.updateOffset(e,a||o)}}var Nn=Ln(1,"add");var Hn=Ln(-1,"subtract");function Rn(e,t){var r=e.diff(t,"days",true);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function An(e,t){var r=e||Xr(),n=pn(r,this).startOf("day"),i=s.calendarFormat(this,n)||"sameElse";var a=t&&(W(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,Xr(r)))}function In(){return new k(this)}function Un(e,t){var r=O(e)?e:Xr(e);if(!(this.isValid()&&r.isValid())){return false}t=ee(t)||"millisecond";if(t==="millisecond"){return this.valueOf()>r.valueOf()}else{return r.valueOf()<this.clone().startOf(t).valueOf()}}function Vn(e,t){var r=O(e)?e:Xr(e);if(!(this.isValid()&&r.isValid())){return false}t=ee(t)||"millisecond";if(t==="millisecond"){return this.valueOf()<r.valueOf()}else{return this.clone().endOf(t).valueOf()<r.valueOf()}}function jn(e,t,r,n){var i=O(e)?e:Xr(e),a=O(t)?t:Xr(t);if(!(this.isValid()&&i.isValid()&&a.isValid())){return false}n=n||"()";return(n[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))}function Gn(e,t){var r=O(e)?e:Xr(e),n;if(!(this.isValid()&&r.isValid())){return false}t=ee(t)||"millisecond";if(t==="millisecond"){return this.valueOf()===r.valueOf()}else{n=r.valueOf();return this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()}}function zn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Bn(e,t,r){var n,i,a;if(!this.isValid()){return NaN}n=pn(e,this);if(!n.isValid()){return NaN}i=(n.utcOffset()-this.utcOffset())*6e4;t=ee(t);switch(t){case"year":a=qn(this,n)/12;break;case"month":a=qn(this,n);break;case"quarter":a=qn(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-i)/864e5;break;case"week":a=(this-n-i)/6048e5;break;default:a=this-n}return r?a:x(a)}function qn(e,t){var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),i,a;if(t-n<0){i=e.clone().add(r-1,"months");a=(t-n)/(n-i)}else{i=e.clone().add(r+1,"months");a=(t-n)/(i-n)}return-(r+a)||0}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function $n(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jn(e){if(!this.isValid()){return null}var t=e!==true;var r=t?this.clone().utc():this;if(r.year()<0||r.year()>9999){return ce(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ")}if(W(Date.prototype.toISOString)){if(t){return this.toDate().toISOString()}else{return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ce(r,"Z"))}}return ce(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Xn(){if(!this.isValid()){return"moment.invalid(/* "+this._i+" */)"}var e="moment";var t="";if(!this.isLocal()){e=this.utcOffset()===0?"moment.utc":"moment.parseZone";t="Z"}var r="["+e+'("]';var n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";var i="-MM-DD[T]HH:mm:ss.SSS";var a=t+'[")]';return this.format(r+n+i+a)}function Qn(e){if(!e){e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat}var t=ce(this,e);return this.localeData().postformat(t)}function Kn(e,t){if(this.isValid()&&(O(e)&&e.isValid()||Xr(e).isValid())){return Fn({to:this,from:e}).locale(this.locale()).humanize(!t)}else{return this.localeData().invalidDate()}}function ei(e){return this.from(Xr(),e)}function ti(e,t){if(this.isValid()&&(O(e)&&e.isValid()||Xr(e).isValid())){return Fn({from:this,to:e}).locale(this.locale()).humanize(!t)}else{return this.localeData().invalidDate()}}function ri(e){return this.to(Xr(),e)}function ni(e){var t;if(e===undefined){return this._locale._abbr}else{t=Dr(e);if(t!=null){this._locale=t}return this}}var ii=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){if(e===undefined){return this.localeData()}else{return this.locale(e)}}));function ai(){return this._locale}var si=1e3;var oi=60*si;var ui=60*oi;var fi=(365*400+97)*24*ui;function li(e,t){return(e%t+t)%t}function hi(e,t,r){if(e<100&&e>=0){return new Date(e+400,t,r)-fi}else{return new Date(e,t,r).valueOf()}}function di(e,t,r){if(e<100&&e>=0){return Date.UTC(e+400,t,r)-fi}else{return Date.UTC(e,t,r)}}function ci(e){var t;e=ee(e);if(e===undefined||e==="millisecond"||!this.isValid()){return this}var r=this._isUTC?di:hi;switch(e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf();t-=li(t+(this._isUTC?0:this.utcOffset()*oi),ui);break;case"minute":t=this._d.valueOf();t-=li(t,oi);break;case"second":t=this._d.valueOf();t-=li(t,si);break}this._d.setTime(t);s.updateOffset(this,true);return this}function mi(e){var t;e=ee(e);if(e===undefined||e==="millisecond"||!this.isValid()){return this}var r=this._isUTC?di:hi;switch(e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf();t+=ui-li(t+(this._isUTC?0:this.utcOffset()*oi),ui)-1;break;case"minute":t=this._d.valueOf();t+=oi-li(t,oi)-1;break;case"second":t=this._d.valueOf();t+=si-li(t,si)-1;break}this._d.setTime(t);s.updateOffset(this,true);return this}function pi(){return this._d.valueOf()-(this._offset||0)*6e4}function vi(){return Math.floor(this.valueOf()/1e3)}function yi(){return new Date(this.valueOf())}function gi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _i(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Di(){return this.isValid()?this.toISOString():null}function wi(){return w(this)}function Mi(){return v({},_(this))}function Yi(){return _(this).overflow}function bi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}le(0,["gg",2],0,(function(){return this.weekYear()%100}));le(0,["GG",2],0,(function(){return this.isoWeekYear()%100}));function Si(e,t){le(0,[e,e.length],0,t)}Si("gggg","weekYear");Si("ggggg","weekYear");Si("GGGG","isoWeekYear");Si("GGGGG","isoWeekYear");K("weekYear","gg");K("isoWeekYear","GG");ne("weekYear",1);ne("isoWeekYear",1);Ee("G",Oe);Ee("g",Oe);Ee("GG",De,ve);Ee("gg",De,ve);Ee("GGGG",be,ge);Ee("gggg",be,ge);Ee("GGGGG",Se,_e);Ee("ggggg",Se,_e);Ae(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=T(e)}));Ae(["gg","GG"],(function(e,t,r,n){t[n]=s.parseTwoDigitYear(e)}));function ki(e){return Fi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Oi(e){return Fi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function xi(){return xt(this.year(),1,4)}function Ti(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Fi(e,t,r,n,i){var a;if(e==null){return Ot(this,n,i).year}else{a=xt(e,n,i);if(t>a){t=a}return Ci.call(this,e,t,r,n,i)}}function Ci(e,t,r,n,i){var a=kt(e,t,r,n,i),s=bt(a.year,0,a.dayOfYear);this.year(s.getUTCFullYear());this.month(s.getUTCMonth());this.date(s.getUTCDate());return this}le("Q",0,"Qo","quarter");K("quarter","Q");ne("quarter",7);Ee("Q",pe);Re("Q",(function(e,t){t[Ve]=(T(e)-1)*3}));function Pi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}le("D",["DD",2],"Do","date");K("date","D");ne("date",9);Ee("D",De);Ee("DD",De,ve);Ee("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}));Re(["D","DD"],je);Re("Do",(function(e,t){t[je]=T(e.match(De)[0])}));var Ei=et("Date",true);le("DDD",["DDDD",3],"DDDo","dayOfYear");K("dayOfYear","DDD");ne("dayOfYear",4);Ee("DDD",Ye);Ee("DDDD",ye);Re(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=T(e)}));function Li(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}le("m",["mm",2],0,"minute");K("minute","m");ne("minute",14);Ee("m",De);Ee("mm",De,ve);Re(["m","mm"],ze);var Wi=et("Minutes",false);le("s",["ss",2],0,"second");K("second","s");ne("second",15);Ee("s",De);Ee("ss",De,ve);Re(["s","ss"],Ze);var Ni=et("Seconds",false);le("S",0,0,(function(){return~~(this.millisecond()/100)}));le(0,["SS",2],0,(function(){return~~(this.millisecond()/10)}));le(0,["SSS",3],0,"millisecond");le(0,["SSSS",4],0,(function(){return this.millisecond()*10}));le(0,["SSSSS",5],0,(function(){return this.millisecond()*100}));le(0,["SSSSSS",6],0,(function(){return this.millisecond()*1e3}));le(0,["SSSSSSS",7],0,(function(){return this.millisecond()*1e4}));le(0,["SSSSSSSS",8],0,(function(){return this.millisecond()*1e5}));le(0,["SSSSSSSSS",9],0,(function(){return this.millisecond()*1e6}));K("millisecond","ms");ne("millisecond",16);Ee("S",Ye,pe);Ee("SS",Ye,ve);Ee("SSS",Ye,ye);var Hi;for(Hi="SSSS";Hi.length<=9;Hi+="S"){Ee(Hi,ke)}function Ri(e,t){t[Be]=T(("0."+e)*1e3)}for(Hi="S";Hi.length<=9;Hi+="S"){Re(Hi,Ri)}var Ai=et("Milliseconds",false);le("z",0,0,"zoneAbbr");le("zz",0,0,"zoneName");function Ii(){return this._isUTC?"UTC":""}function Ui(){return this._isUTC?"Coordinated Universal Time":""}var Vi=k.prototype;Vi.add=Nn;Vi.calendar=An;Vi.clone=In;Vi.diff=Bn;Vi.endOf=mi;Vi.format=Qn;Vi.from=Kn;Vi.fromNow=ei;Vi.to=ti;Vi.toNow=ri;Vi.get=nt;Vi.invalidAt=Yi;Vi.isAfter=Un;Vi.isBefore=Vn;Vi.isBetween=jn;Vi.isSame=Gn;Vi.isSameOrAfter=zn;Vi.isSameOrBefore=Zn;Vi.isValid=wi;Vi.lang=ii;Vi.locale=ni;Vi.localeData=ai;Vi.max=Kr;Vi.min=Qr;Vi.parsingFlags=Mi;Vi.set=it;Vi.startOf=ci;Vi.subtract=Hn;Vi.toArray=gi;Vi.toObject=_i;Vi.toDate=yi;Vi.toISOString=Jn;Vi.inspect=Xn;Vi.toJSON=Di;Vi.toString=$n;Vi.unix=vi;Vi.valueOf=pi;Vi.creationData=bi;Vi.year=Qe;Vi.isLeapYear=Ke;Vi.weekYear=ki