UNPKG

@mdsfe/mds-ui

Version:

A set of enterprise-class Vue UI components-beta.

1 lines 897 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define("mds-ui",["vue"],t):"object"==typeof exports?exports["mds-ui"]=t(require("vue")):e["mds-ui"]=t(e.Vue)}("undefined"!=typeof self?self:this,function(n){return r={},s.m=i=[function(e,t,ua){!function(la){var da;la.exports=function(){"use strict";var t,s;function u(){return t.apply(null,arguments)}function e(e){t=e}function a(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function o(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;else{var t;for(t in e)if(l(e,t))return false;return true}}function r(e){return e===void 0}function c(e){return typeof e==="number"||Object.prototype.toString.call(e)==="[object Number]"}function h(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function i(e,t){var n=[],i;for(i=0;i<e.length;++i)n.push(t(e[i],i));return n}function f(e,t){for(var n in t)if(l(t,n))e[n]=t[n];if(l(t,"toString"))e.toString=t.toString;if(l(t,"valueOf"))e.valueOf=t.valueOf;return e}function p(e,t,n,i){return Un(e,t,n,i,true).utc()}function n(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function m(e){if(e._pf==null)e._pf=n();return e._pf}if(Array.prototype.some)s=Array.prototype.some;else s=function(e){var t=Object(this),n=t.length>>>0,i;for(i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return true;return false};function _(e){if(e._isValid==null){var t=m(e),n=s.call(t.parsedDateParts,function(e){return e!=null}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict)i=i&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===undefined;if(Object.isFrozen==null||!Object.isFrozen(e))e._isValid=i;else return i}return e._isValid}function y(e){var t=p(NaN);if(e!=null)f(m(t),e);else m(t).userInvalidated=true;return t}var g=u.momentProperties=[],v=false;function M(e,t){var n,i,s;if(!r(t._isAMomentObject))e._isAMomentObject=t._isAMomentObject;if(!r(t._i))e._i=t._i;if(!r(t._f))e._f=t._f;if(!r(t._l))e._l=t._l;if(!r(t._strict))e._strict=t._strict;if(!r(t._tzm))e._tzm=t._tzm;if(!r(t._isUTC))e._isUTC=t._isUTC;if(!r(t._offset))e._offset=t._offset;if(!r(t._pf))e._pf=m(t);if(!r(t._locale))e._locale=t._locale;if(g.length>0)for(n=0;n<g.length;n++){i=g[n];s=t[i];if(!r(s))e[i]=s}return e}function b(e){M(this,e);this._d=new Date(e._d!=null?e._d.getTime():NaN);if(!this.isValid())this._d=new Date(NaN);if(v===false){v=true;u.updateOffset(this);v=false}}function k(e){return e instanceof b||e!=null&&e._isAMomentObject!=null}function w(e){if(u.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn)console.warn("Deprecation warning: "+e)}function x(s,r){var a=true;return f(function(){if(u.deprecationHandler!=null)u.deprecationHandler(null,s);if(a){var e=[],t,n,i;for(n=0;n<arguments.length;n++){t="";if(typeof arguments[n]==="object"){t+="\n["+n+"] ";for(i in arguments[0])if(l(arguments[0],i))t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}w(s+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);a=false}return r.apply(this,arguments)},r)}var L={},D;function Y(e,t){if(u.deprecationHandler!=null)u.deprecationHandler(e,t);if(!L[e]){w(t);L[e]=true}}function T(e){return typeof Function!=="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function S(e){var t,n;for(n in e)if(l(e,n)){t=e[n];if(T(t))this[n]=t;else this["_"+n]=t}this._config=e;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(e,t){var n=f({},e),i;for(i in t)if(l(t,i))if(o(e[i])&&o(t[i])){n[i]={};f(n[i],e[i]);f(n[i],t[i])}else if(t[i]!=null)n[i]=t[i];else delete n[i];for(i in e)if(l(e,i)&&!l(t,i)&&o(e[i]))n[i]=f({},n[i]);return n}function P(e){if(e!=null)this.set(e)}if(u.suppressDeprecationWarnings=false,u.deprecationHandler=null,Object.keys)D=Object.keys;else D=function(e){var t,n=[];for(t in e)if(l(e,t))n.push(t);return n};var H={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var i=this._calendar[e]||this._calendar["sameElse"];return T(i)?i.call(t,n):i}function E(e,t,n){var i=""+Math.abs(e),s=t-i.length,r=e>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},F={};function A(e,t,n,i){var s=i;if(typeof i==="string")s=function(){return this[i]()};if(e)F[e]=s;if(t)F[t[0]]=function(){return E(s.apply(this,arguments),t[1],t[2])};if(n)F[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)}}function I(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|\]$/g,"");return e.replace(/\\/g,"")}function W(i){var s=i.match(j),e,r;for(e=0,r=s.length;e<r;e++)if(F[s[e]])s[e]=F[s[e]];else s[e]=I(s[e]);return function(e){var t="",n;for(n=0;n<r;n++)t+=T(s[n])?s[n].call(e,i):s[n];return t}}function z(e,t){if(!e.isValid())return e.localeData().invalidDate();t=R(t,e.localeData());N[t]=N[t]||W(t);return N[t](e)}function R(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}$.lastIndex=0;while(n>=0&&$.test(e)){e=e.replace($,i);$.lastIndex=0;n-=1}return e}var B={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 V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];if(t||!n)return t;this._longDateFormat[e]=n.match(j).map(function(e){if(e==="MMMM"||e==="MM"||e==="DD"||e==="dddd")return e.slice(1);return e}).join("");return this._longDateFormat[e]}var U="Invalid date";function J(){return this._invalidDate}var q="%d",G=/\d{1,2}/;function K(e){return this._ordinal.replace("%d",e)}var Z={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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,i){var s=this._relativeTime[n];return T(s)?s(e,t,n,i):s.replace(/%d/i,e)}function X(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}var ee={};function te(e,t){var n=e.toLowerCase();ee[n]=ee[n+"s"]=ee[t]=e}function ne(e){return typeof e==="string"?ee[e]||ee[e.toLowerCase()]:undefined}function ie(e){var t={},n,i;for(i in e)if(l(e,i)){n=ne(i);if(n)t[n]=e[i]}return t}var se={};function re(e,t){se[e]=t}function ae(e){var t=[],n;for(n in e)if(l(e,n))t.push({unit:n,priority:se[n]});t.sort(function(e,t){return e.priority-t.priority});return t}function oe(e){return e%4===0&&e%100!==0||e%400===0}function le(e){if(e<0)return Math.ceil(e)||0;else return Math.floor(e)}function de(e){var t=+e,n=0;if(t!==0&&isFinite(t))n=le(t);return n}function ue(t,n){return function(e){if(e!=null){he(this,t,e);u.updateOffset(this,n);return this}else return ce(this,t)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){if(e.isValid()&&!isNaN(n))if(t==="FullYear"&&oe(e.year())&&e.month()===1&&e.date()===29){n=de(n);e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Qe(n,e.month()))}else e._d["set"+(e._isUTC?"UTC":"")+t](n)}function fe(e){e=ne(e);if(T(this[e]))return this[e]();return this}function pe(e,t){if(typeof e==="object"){e=ie(e);var n=ae(e),i;for(i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit])}else{e=ne(e);if(T(this[e]))return this[e](t)}return this}var me=/\d/,_e=/\d\d/,ye=/\d{3}/,ge=/\d{4}/,ve=/[+-]?\d{6}/,Me=/\d\d?/,be=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,we=/\d{1,3}/,xe=/\d{1,4}/,Le=/[+-]?\d{1,6}/,De=/\d+/,Ye=/[+-]?\d+/,Te=/Z|[+-]\d\d:?\d\d/gi,Se=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Pe=/[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,He;function Oe(e,n,i){He[e]=T(n)?n:function(e,t){return e&&i?i:n}}function Ee(e,t){if(!l(He,e))return new RegExp(je(e));return He[e](t._strict,t._locale)}function je(e){return $e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,s){return t||n||i||s}))}function $e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var He={},Ne={};function Fe(e,n){var t,i=n;if(typeof e==="string")e=[e];if(c(n))i=function(e,t){t[n]=de(e)};for(t=0;t<e.length;t++)Ne[e[t]]=i}function Ae(e,s){Fe(e,function(e,t,n,i){n._w=n._w||{};s(e,n._w,n,i)})}function Ie(e,t,n){if(t!=null&&l(Ne,e))Ne[e](t,n._a,n,e)}var We=0,ze=1,Re=2,Be=3,Ve=4,Ue=5,Je=6,qe=7,Ge=8,Ke;function Ze(e,t){return(e%t+t)%t}if(Array.prototype.indexOf)Ke=Array.prototype.indexOf;else Ke=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Ze(t,12);e+=(t-n)/12;return n===1?oe(e)?29:28:31-n%7%2}A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),A("MMMM",0,0,function(e){return this.localeData().months(this,e)}),te("month","M"),re("month",8),Oe("M",Me),Oe("MM",Me,_e),Oe("MMM",function(e,t){return t.monthsShortRegex(e)}),Oe("MMMM",function(e,t){return t.monthsRegex(e)}),Fe(["M","MM"],function(e,t){t[ze]=de(e)-1}),Fe(["MMM","MMMM"],function(e,t,n,i){var s=n._locale.monthsParse(e,i,n._strict);if(s!=null)t[ze]=s;else m(n).invalidMonth=e});var Xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),et="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,nt=Pe,it=Pe;function st(e,t){if(!e)return a(this._months)?this._months:this._months["standalone"];return a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tt).test(t)?"format":"standalone"][e.month()]}function rt(e,t){if(!e)return a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"];return a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tt.test(t)?"format":"standalone"][e.month()]}function at(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[];for(i=0;i<12;++i){r=p([2e3,i]);this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase();this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase()}}if(n)if(t==="MMM"){s=Ke.call(this._shortMonthsParse,a);return s!==-1?s:null}else{s=Ke.call(this._longMonthsParse,a);return s!==-1?s:null}else if(t==="MMM"){s=Ke.call(this._shortMonthsParse,a);if(s!==-1)return s;s=Ke.call(this._longMonthsParse,a);return s!==-1?s:null}else{s=Ke.call(this._longMonthsParse,a);if(s!==-1)return s;s=Ke.call(this._shortMonthsParse,a);return s!==-1?s:null}}function ot(e,t,n){var i,s,r;if(this._monthsParseExact)return at.call(this,e,t,n);if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(i=0;i<12;i++){s=p([2e3,i]);if(n&&!this._longMonthsParse[i]){this._longMonthsParse[i]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i");this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")}if(!n&&!this._monthsParse[i]){r="^"+this.months(s,"")+"|^"+this.monthsShort(s,"");this._monthsParse[i]=new RegExp(r.replace(".",""),"i")}if(n&&t==="MMMM"&&this._longMonthsParse[i].test(e))return i;else if(n&&t==="MMM"&&this._shortMonthsParse[i].test(e))return i;else if(!n&&this._monthsParse[i].test(e))return i}}function lt(e,t){var n;if(!e.isValid())return e;if(typeof t==="string")if(/^\d+$/.test(t))t=de(t);else{t=e.localeData().monthsParse(t);if(!c(t))return e}n=Math.min(e.date(),Qe(e.year(),t));e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n);return e}function dt(e){if(e!=null){lt(this,e);u.updateOffset(this,true);return this}else return ce(this,"Month")}function ut(){return Qe(this.year(),this.month())}function ct(e){if(this._monthsParseExact){if(!l(this,"_monthsRegex"))ft.call(this);if(e)return this._monthsShortStrictRegex;else return this._monthsShortRegex}else{if(!l(this,"_monthsShortRegex"))this._monthsShortRegex=nt;return this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}}function ht(e){if(this._monthsParseExact){if(!l(this,"_monthsRegex"))ft.call(this);if(e)return this._monthsStrictRegex;else return this._monthsRegex}else{if(!l(this,"_monthsRegex"))this._monthsRegex=it;return this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}}function ft(){function e(e,t){return t.length-e.length}var t=[],n=[],i=[],s,r;for(s=0;s<12;s++){r=p([2e3,s]);t.push(this.monthsShort(r,""));n.push(this.months(r,""));i.push(this.months(r,""));i.push(this.monthsShort(r,""))}t.sort(e);n.sort(e);i.sort(e);for(s=0;s<12;s++){t[s]=$e(t[s]);n[s]=$e(n[s])}for(s=0;s<24;s++)i[s]=$e(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function pt(e){return oe(e)?366:365}A("Y",0,0,function(){var e=this.year();return e<=9999?E(e,4):"+"+e}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,true],0,"year"),te("year","y"),re("year",1),Oe("Y",Ye),Oe("YY",Me,_e),Oe("YYYY",xe,ge),Oe("YYYYY",Le,ve),Oe("YYYYYY",Le,ve),Fe(["YYYYY","YYYYYY"],We),Fe("YYYY",function(e,t){t[We]=e.length===2?u.parseTwoDigitYear(e):de(e)}),Fe("YY",function(e,t){t[We]=u.parseTwoDigitYear(e)}),Fe("Y",function(e,t){t[We]=parseInt(e,10)}),u.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var mt=ue("FullYear",true);function _t(){return oe(this.year())}function yt(e,t,n,i,s,r,a){var o;if(e<100&&e>=0){o=new Date(e+400,t,n,i,s,r,a);if(isFinite(o.getFullYear()))o.setFullYear(e)}else o=new Date(e,t,n,i,s,r,a);return o}function gt(e){var t,n;if(e<100&&e>=0){n=Array.prototype.slice.call(arguments);n[0]=e+400;t=new Date(Date.UTC.apply(null,n));if(isFinite(t.getUTCFullYear()))t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function vt(e,t,n){var i=7+t-n,s=(7+gt(e,0,i).getUTCDay()-t)%7;return-s+i-1}function Mt(e,t,n,i,s){var r=(7+n-i)%7,a=vt(e,i,s),o=1+7*(t-1)+r+a,l,d;if(o<=0){l=e-1;d=pt(l)+o}else if(o>pt(e)){l=e+1;d=o-pt(e)}else{l=e;d=o}return{year:l,dayOfYear:d}}function bt(e,t,n){var i=vt(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1,r,a;if(s<1){a=e.year()-1;r=s+kt(a,t,n)}else if(s>kt(e.year(),t,n)){r=s-kt(e.year(),t,n);a=e.year()+1}else{a=e.year();r=s}return{week:r,year:a}}function kt(e,t,n){var i=vt(e,t,n),s=vt(e+1,t,n);return(pt(e)-i+s)/7}function wt(e){return bt(e,this._week.dow,this._week.doy).week}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),te("week","w"),te("isoWeek","W"),re("week",5),re("isoWeek",5),Oe("w",Me),Oe("ww",Me,_e),Oe("W",Me),Oe("WW",Me,_e),Ae(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=de(e)});var xt={dow:0,doy:6};function Lt(){return this._week.dow}function Dt(){return this._week.doy}function Yt(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Tt(e){var t=bt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}function St(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 Ct(e,t){if(typeof e==="string")return t.weekdaysParse(e)%7||7;return isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}A("d",0,"do","day"),A("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),A("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),A("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),te("day","d"),te("weekday","e"),te("isoWeekday","E"),re("day",11),re("weekday",11),re("isoWeekday",11),Oe("d",Me),Oe("e",Me),Oe("E",Me),Oe("dd",function(e,t){return t.weekdaysMinRegex(e)}),Oe("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Oe("dddd",function(e,t){return t.weekdaysRegex(e)}),Ae(["dd","ddd","dddd"],function(e,t,n,i){var s=n._locale.weekdaysParse(e,i,n._strict);if(s!=null)t.d=s;else m(n).invalidWeekday=e}),Ae(["d","e","E"],function(e,t,n,i){t[i]=de(e)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jt=Pe,$t=Pe,Nt=Pe;function Ft(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&e!==true&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===true?Pt(n,this._week.dow):e?n[e.day()]:n}function At(e){return e===true?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function It(e){return e===true?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[];this._shortWeekdaysParse=[];this._minWeekdaysParse=[];for(i=0;i<7;++i){r=p([2e3,1]).day(i);this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase();this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase();this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase()}}if(n)if(t==="dddd"){s=Ke.call(this._weekdaysParse,a);return s!==-1?s:null}else if(t==="ddd"){s=Ke.call(this._shortWeekdaysParse,a);return s!==-1?s:null}else{s=Ke.call(this._minWeekdaysParse,a);return s!==-1?s:null}else if(t==="dddd"){s=Ke.call(this._weekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._shortWeekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._minWeekdaysParse,a);return s!==-1?s:null}else if(t==="ddd"){s=Ke.call(this._shortWeekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._weekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._minWeekdaysParse,a);return s!==-1?s:null}else{s=Ke.call(this._minWeekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._weekdaysParse,a);if(s!==-1)return s;s=Ke.call(this._shortWeekdaysParse,a);return s!==-1?s:null}}function zt(e,t,n){var i,s,r;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);if(!this._weekdaysParse){this._weekdaysParse=[];this._minWeekdaysParse=[];this._shortWeekdaysParse=[];this._fullWeekdaysParse=[]}for(i=0;i<7;i++){s=p([2e3,1]).day(i);if(n&&!this._fullWeekdaysParse[i]){this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i");this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i");this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")}if(!this._weekdaysParse[i]){r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,"");this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")}if(n&&t==="dddd"&&this._fullWeekdaysParse[i].test(e))return i;else if(n&&t==="ddd"&&this._shortWeekdaysParse[i].test(e))return i;else if(n&&t==="dd"&&this._minWeekdaysParse[i].test(e))return i;else if(!n&&this._weekdaysParse[i].test(e))return i}}function Rt(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();if(e!=null){e=St(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 Vt(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Ut(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))Gt.call(this);if(e)return this._weekdaysStrictRegex;else return this._weekdaysRegex}else{if(!l(this,"_weekdaysRegex"))this._weekdaysRegex=jt;return this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}}function Jt(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))Gt.call(this);if(e)return this._weekdaysShortStrictRegex;else return this._weekdaysShortRegex}else{if(!l(this,"_weekdaysShortRegex"))this._weekdaysShortRegex=$t;return this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}}function qt(e){if(this._weekdaysParseExact){if(!l(this,"_weekdaysRegex"))Gt.call(this);if(e)return this._weekdaysMinStrictRegex;else return this._weekdaysMinRegex}else{if(!l(this,"_weekdaysMinRegex"))this._weekdaysMinRegex=Nt;return this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}}function Gt(){function e(e,t){return t.length-e.length}var t=[],n=[],i=[],s=[],r,a,o,l,d;for(r=0;r<7;r++){a=p([2e3,1]).day(r);o=$e(this.weekdaysMin(a,""));l=$e(this.weekdaysShort(a,""));d=$e(this.weekdays(a,""));t.push(o);n.push(l);i.push(d);s.push(o);s.push(l);s.push(d)}t.sort(e);n.sort(e);i.sort(e);s.sort(e);this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function Qt(e,t){A(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Xt(e,t){return t._meridiemParse}function en(e){return(e+"").toLowerCase().charAt(0)==="p"}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,Kt),A("k",["kk",2],0,Zt),A("hmm",0,0,function(){return""+Kt.apply(this)+E(this.minutes(),2)}),A("hmmss",0,0,function(){return""+Kt.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)}),Qt("a",true),Qt("A",false),te("hour","h"),re("hour",13),Oe("a",Xt),Oe("A",Xt),Oe("H",Me),Oe("h",Me),Oe("k",Me),Oe("HH",Me,_e),Oe("hh",Me,_e),Oe("kk",Me,_e),Oe("hmm",be),Oe("hmmss",ke),Oe("Hmm",be),Oe("Hmmss",ke),Fe(["H","HH"],Be),Fe(["k","kk"],function(e,t,n){var i=de(e);t[Be]=i===24?0:i}),Fe(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e);n._meridiem=e}),Fe(["h","hh"],function(e,t,n){t[Be]=de(e);m(n).bigHour=true}),Fe("hmm",function(e,t,n){var i=e.length-2;t[Be]=de(e.substr(0,i));t[Ve]=de(e.substr(i));m(n).bigHour=true}),Fe("hmmss",function(e,t,n){var i=e.length-4,s=e.length-2;t[Be]=de(e.substr(0,i));t[Ve]=de(e.substr(i,2));t[Ue]=de(e.substr(s));m(n).bigHour=true}),Fe("Hmm",function(e,t,n){var i=e.length-2;t[Be]=de(e.substr(0,i));t[Ve]=de(e.substr(i))}),Fe("Hmmss",function(e,t,n){var i=e.length-4,s=e.length-2;t[Be]=de(e.substr(0,i));t[Ve]=de(e.substr(i,2));t[Ue]=de(e.substr(s))});var tn,nn=ue("Hours",true);function sn(e,t,n){if(e>11)return n?"pm":"PM";else return n?"am":"AM"}var rn={calendar:H,longDateFormat:B,invalidDate:U,ordinal:q,dayOfMonthOrdinalParse:G,relativeTime:Z,months:Xe,monthsShort:et,week:xt,weekdays:Ht,weekdaysMin:Et,weekdaysShort:Ot,meridiemParse:/[ap]\.?m?\.?/i},an={},on={},ln;function dn(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function un(e){return e?e.toLowerCase().replace("_","-"):e}function cn(e){var t=0,n,i,s,r;while(t<e.length){r=un(e[t]).split("-");n=r.length;i=un(e[t+1]);i=i?i.split("-"):null;while(n>0){s=hn(r.slice(0,n).join("-"));if(s)return s;if(i&&i.length>=n&&dn(r,i)>=n-1)break;n--}t++}return ln}function hn(t){var e=null,n;if(an[t]===undefined&&typeof la!=="undefined"&&la&&la.exports)try{e=ln._abbr;n=da;ua(310)("./"+t);fn(e)}catch(e){an[t]=null}return an[t]}function fn(e,t){var n;if(e){if(r(t))n=_n(e);else n=pn(e,t);if(n)ln=n;else if(typeof console!=="undefined"&&console.warn)console.warn("Locale "+e+" not found. Did you forget to load it?")}return ln._abbr}function pn(e,t){if(t!==null){var n,i=rn;t.abbr=e;if(an[e]!=null){Y("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=an[e]._config}else if(t.parentLocale!=null)if(an[t.parentLocale]!=null)i=an[t.parentLocale]._config;else{n=hn(t.parentLocale);if(n!=null)i=n._config;else{if(!on[t.parentLocale])on[t.parentLocale]=[];on[t.parentLocale].push({name:e,config:t});return null}}an[e]=new P(C(i,t));if(on[e])on[e].forEach(function(e){pn(e.name,e.config)});fn(e);return an[e]}else{delete an[e];return null}}function mn(e,t){if(t!=null){var n,i,s=rn;if(an[e]!=null&&an[e].parentLocale!=null)an[e].set(C(an[e]._config,t));else{i=hn(e);if(i!=null)s=i._config;t=C(s,t);if(i==null)t.abbr=e;n=new P(t);n.parentLocale=an[e];an[e]=n}fn(e)}else if(an[e]!=null)if(an[e].parentLocale!=null){an[e]=an[e].parentLocale;if(e===fn())fn(e)}else if(an[e]!=null)delete an[e];return an[e]}function _n(e){var t;if(e&&e._locale&&e._locale._abbr)e=e._locale._abbr;if(!e)return ln;if(!a(e)){t=hn(e);if(t)return t;e=[e]}return cn(e)}function yn(){return D(an)}function gn(e){var t,n=e._a;if(n&&m(e).overflow===-2){t=n[ze]<0||n[ze]>11?ze:n[Re]<1||n[Re]>Qe(n[We],n[ze])?Re:n[Be]<0||n[Be]>24||n[Be]===24&&(n[Ve]!==0||n[Ue]!==0||n[Je]!==0)?Be:n[Ve]<0||n[Ve]>59?Ve:n[Ue]<0||n[Ue]>59?Ue:n[Je]<0||n[Je]>999?Je:-1;if(m(e)._overflowDayOfYear&&(t<We||t>Re))t=Re;if(m(e)._overflowWeeks&&t===-1)t=qe;if(m(e)._overflowWeekday&&t===-1)t=Ge;m(e).overflow=t}return e}var vn=/^\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)?)?$/,Mn=/^\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)?)?$/,bn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["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}/],["YYYYMM",/\d{6}/,false],["YYYY",/\d{4}/,false]],wn=[["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/]],xn=/^\/?Date\((-?\d+)/i,Ln=/^(?:(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}))$/,Dn={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 Yn(e){var t,n,i=e._i,s=vn.exec(i)||Mn.exec(i),r,a,o,l;if(s){m(e).iso=true;for(t=0,n=kn.length;t<n;t++)if(kn[t][1].exec(s[1])){a=kn[t][0];r=kn[t][2]!==false;break}if(a==null){e._isValid=false;return}if(s[3]){for(t=0,n=wn.length;t<n;t++)if(wn[t][1].exec(s[3])){o=(s[2]||" ")+wn[t][0];break}if(o==null){e._isValid=false;return}}if(!r&&o!=null){e._isValid=false;return}if(s[4])if(bn.exec(s[4]))l="Z";else{e._isValid=false;return}e._f=a+(o||"")+(l||"");An(e)}else e._isValid=false}function Tn(e,t,n,i,s,r){var a=[Sn(e),et.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(s,10)];if(r)a.push(parseInt(r,10));return a}function Sn(e){var t=parseInt(e,10);if(t<=49)return 2e3+t;else if(t<=999)return 1900+t;return t}function Cn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,n){if(e){var i=Ot.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(i!==s){m(n).weekdayMismatch=true;n._isValid=false;return false}}return true}function Hn(e,t,n){if(e)return Dn[e];else if(t)return 0;else{var i=parseInt(n,10),s=i%100,r=(i-s)/100;return r*60+s}}function On(e){var t=Ln.exec(Cn(e._i)),n;if(t){n=Tn(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Pn(t[1],n,e))return;e._a=n;e._tzm=Hn(t[8],t[9],t[10]);e._d=gt.apply(null,e._a);e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm);m(e).rfc2822=true}else e._isValid=false}function En(e){var t=xn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}Yn(e);if(e._isValid===false)delete e._isValid;else return;On(e);if(e._isValid===false)delete e._isValid;else return;if(e._strict)e._isValid=false;else u.createFromInputFallback(e)}function jn(e,t,n){if(e!=null)return e;if(t!=null)return t;return n}function $n(e){var t=new Date(u.now());if(e._useUTC)return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()];return[t.getFullYear(),t.getMonth(),t.getDate()]}function Nn(e){var t,n,i=[],s,r,a;if(e._d)return;s=$n(e);if(e._w&&e._a[Re]==null&&e._a[ze]==null)Fn(e);if(e._dayOfYear!=null){a=jn(e._a[We],s[We]);if(e._dayOfYear>pt(a)||e._dayOfYear===0)m(e)._overflowDayOfYear=true;n=gt(a,0,e._dayOfYear);e._a[ze]=n.getUTCMonth();e._a[Re]=n.getUTCDate()}for(t=0;t<3&&e._a[t]==null;++t)e._a[t]=i[t]=s[t];for(;t<7;t++)e._a[t]=i[t]=e._a[t]==null?t===2?1:0:e._a[t];if(e._a[Be]===24&&e._a[Ve]===0&&e._a[Ue]===0&&e._a[Je]===0){e._nextDay=true;e._a[Be]=0}e._d=(e._useUTC?gt:yt).apply(null,i);r=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[Be]=24;if(e._w&&typeof e._w.d!=="undefined"&&e._w.d!==r)m(e).weekdayMismatch=true}function Fn(e){var t,n,i,s,r,a,o,l,d;t=e._w;if(t.GG!=null||t.W!=null||t.E!=null){r=1;a=4;n=jn(t.GG,e._a[We],bt(Jn(),1,4).year);i=jn(t.W,1);s=jn(t.E,1);if(s<1||s>7)l=true}else{r=e._locale._week.dow;a=e._locale._week.doy;d=bt(Jn(),r,a);n=jn(t.gg,e._a[We],d.year);i=jn(t.w,d.week);if(t.d!=null){s=t.d;if(s<0||s>6)l=true}else if(t.e!=null){s=t.e+r;if(t.e<0||t.e>6)l=true}else s=r}if(i<1||i>kt(n,r,a))m(e)._overflowWeeks=true;else if(l!=null)m(e)._overflowWeekday=true;else{o=Mt(n,i,s,r,a);e._a[We]=o.year;e._dayOfYear=o.dayOfYear}}function An(e){if(e._f===u.ISO_8601){Yn(e);return}if(e._f===u.RFC_2822){On(e);return}e._a=[];m(e).empty=true;var t=""+e._i,n,i,s,r,a,o=t.length,l=0,d;s=R(e._f,e._locale).match(j)||[];for(n=0;n<s.length;n++){r=s[n];i=(t.match(Ee(r,e))||[])[0];if(i){a=t.substr(0,t.indexOf(i));if(a.length>0)m(e).unusedInput.push(a);t=t.slice(t.indexOf(i)+i.length);l+=i.length}if(F[r]){if(i)m(e).empty=false;else m(e).unusedTokens.push(r);Ie(r,i,e)}else if(e._strict&&!i)m(e).unusedTokens.push(r)}m(e).charsLeftOver=o-l;if(t.length>0)m(e).unusedInput.push(t);if(e._a[Be]<=12&&m(e).bigHour===true&&e._a[Be]>0)m(e).bigHour=undefined;m(e).parsedDateParts=e._a.slice(0);m(e).meridiem=e._meridiem;e._a[Be]=In(e._locale,e._a[Be],e._meridiem);d=m(e).era;if(d!==null)e._a[We]=e._locale.erasConvertYear(d,e._a[We]);Nn(e);gn(e)}function In(e,t,n){var i;if(n==null)return t;if(e.meridiemHour!=null)return e.meridiemHour(t,n);else if(e.isPM!=null){i=e.isPM(n);if(i&&t<12)t+=12;if(!i&&t===12)t=0;return t}else return t}function Wn(e){var t,n,i,s,r,a,o=false;if(e._f.length===0){m(e).invalidFormat=true;e._d=new Date(NaN);return}for(s=0;s<e._f.length;s++){r=0;a=false;t=M({},e);if(e._useUTC!=null)t._useUTC=e._useUTC;t._f=e._f[s];An(t);if(_(t))a=true;r+=m(t).charsLeftOver;r+=m(t).unusedTokens.length*10;m(t).score=r;if(!o){if(i==null||r<i||a){i=r;n=t;if(a)o=true}}else if(r<i){i=r;n=t}}f(e,n||t)}function zn(e){if(e._d)return;var t=ie(e._i),n=t.day===undefined?t.date:t.day;e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)});Nn(e)}function Rn(e){var t=new b(gn(Bn(e)));if(t._nextDay){t.add(1,"d");t._nextDay=undefined}return t}function Bn(e){var t=e._i,n=e._f;e._locale=e._locale||_n(e._l);if(t===null||n===undefined&&t==="")return y({nullInput:true});if(typeof t==="string")e._i=t=e._locale.preparse(t);if(k(t))return new b(gn(t));else if(h(t))e._d=t;else if(a(n))Wn(e);else if(n)An(e);else Vn(e);if(!_(e))e._d=null;return e}function Vn(e){var t=e._i;if(r(t))e._d=new Date(u.now());else if(h(t))e._d=new Date(t.valueOf());else if(typeof t==="string")En(e);else if(a(t)){e._a=i(t.slice(0),function(e){return parseInt(e,10)});Nn(e)}else if(o(t))zn(e);else if(c(t))e._d=new Date(t);else u.createFromInputFallback(e)}function Un(e,t,n,i,s){var r={};if(t===true||t===false){i=t;t=undefined}if(n===true||n===false){i=n;n=undefined}if(o(e)&&d(e)||a(e)&&e.length===0)e=undefined;r._isAMomentObject=true;r._useUTC=r._isUTC=s;r._l=n;r._i=e;r._f=t;r._strict=i;return Rn(r)}function Jn(e,t,n,i){return Un(e,t,n,i,false)}u.createFromInputFallback=x("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),u.ISO_8601=function(){},u.RFC_2822=function(){};var qn=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Jn.apply(null,arguments);if(this.isValid()&&e.isValid())return e<this?this:e;else return y()}),Gn=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Jn.apply(null,arguments);if(this.isValid()&&e.isValid())return e>this?this:e;else return y()});function Kn(e,t){var n,i;if(t.length===1&&a(t[0]))t=t[0];if(!t.length)return Jn();n=t[0];for(i=1;i<t.length;++i)if(!t[i].isValid()||t[i][e](n))n=t[i];return n}function Zn(){var e=[].slice.call(arguments,0);return Kn("isBefore",e)}function Qn(){var e=[].slice.call(arguments,0);return Kn("isAfter",e)}var Xn=function(){return Date.now?Date.now():+new Date},ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ti(e){var t,n=false,i;for(t in e)if(l(e,t)&&!(Ke.call(ei,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return false;for(i=0;i<ei.length;++i)if(e[ei[i]]){if(n)return false;if(parseFloat(e[ei[i]])!==de(e[ei[i]]))n=true}return true}function ni(){return this._isValid}function ii(){return Di(NaN)}function si(e){var t=ie(e),n=t.year||0,i=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=ti(t);this._milliseconds=+u+d*1e3+l*6e4+o*1e3*60*60;this._days=+a+r*7;this._months=+s+i*3+n*12;this._data={};this._locale=_n();this._bubble()}function ri(e){return e instanceof si}function ai(e){if(e<0)return Math.round(-1*e)*-1;else return Math.round(e)}function oi(e,t,n){var i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),r=0,a;for(a=0;a<i;a++)if(n&&e[a]!==t[a]||!n&&de(e[a])!==de(t[a]))r++;return r+s}function li(e,n){A(e,0,0,function(){var e=this.utcOffset(),t="+";if(e<0){e=-e;t="-"}return t+E(~~(e/60),2)+n+E(~~e%60,2)})}li("Z",":"),li("ZZ",""),Oe("Z",Se),Oe("ZZ",Se),Fe(["Z","ZZ"],function(e,t,n){n._useUTC=true;n._tzm=ui(Se,e)});var di=/([\+\-]|\d\d)/gi;function ui(e,t){var n=(t||"").match(e),i,s,r;if(n===null)return null;i=n[n.length-1]||[];s=(i+"").match(di)||["-",0,0];r=+(s[1]*60)+de(s[2]);return r===0?0:s[0]==="+"?r:-r}function ci(e,t){var n,i;if(t._isUTC){n=t.clone();i=(k(e)||h(e)?e.valueOf():Jn(e).valueOf())-n.valueOf();n._d.setTime(n._d.valueOf()+i);u.updateOffset(n,false);return n}else return Jn(e).local()}function hi(e){return-Math.round(e._d.getTimezoneOffset())}function fi(e,t,n){var i=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e==="string"){e=ui(Se,e);if(e===null)return this}else if(Math.abs(e)<16&&!n)e=e*60;if(!this._isUTC&&t)s=hi(this);this._offset=e;this._isUTC=true;if(s!=null)this.add(s,"m");if(i!==e)if(!t||this._changeInProgress)Pi(this,Di(e-i,"m"),1,false);else if(!this._changeInProgress){this._changeInProgress=true;u.updateOffset(this,true);this._changeInProgress=null}return this}else return this._isUTC?i:hi(this)}function pi(e,t){if(e!=null){if(typeof e!=="string")e=-e;this.utcOffset(e,t);return this}else return-this.utcOffset()}function mi(e){return this.utcOffset(0,e)}function _i(e){if(this._isUTC){this.utcOffset(0,e);this._isUTC=false;if(e)this.subtract(hi(this),"m")}return this}function yi(){if(this._tzm!=null)this.utcOffset(this._tzm,false,true);else if(typeof this._i==="string"){var e=ui(Te,this._i);if(e!=null)this.utcOffset(e);else this.utcOffset(0,true)}return this}function gi(e){if(!this.isValid())return false;e=e?Jn(e).utcOffset():0;return(this.utcOffset()-e)%60===0}function vi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mi(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e={},t;M(e,this);e=Bn(e);if(e._a){t=e._isUTC?p(e._a):Jn(e._a);this._isDSTShifted=this.isValid()&&oi(e._a,t.toArray())>0}else this._isDSTShifted=false;return this._isDSTShifted}function bi(){return this.isValid()?!this._isUTC:false}function ki(){return this.isValid()?this._isUTC:false}function wi(){return this.isValid()?this._isUTC&&this._offset===0:false}u.updateOffset=function(){};var xi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Li=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Di(e,t){var n=e,i=null,s,r,a;if(ri(e))n={ms:e._milliseconds,d:e._days,M:e._months};else if(c(e)||!isNaN(+e)){n={};if(t)n[t]=+e;else n.milliseconds=+e}else if(i=xi.exec(e)){s=i[1]==="-"?-1:1;n={y:0,d:de(i[Re])*s,h:de(i[Be])*s,m:de(i[Ve])*s,s:de(i[Ue])*s,ms:de(ai(i[Je]*1e3))*s}}else if(i=Li.exec(e)){s=i[1]==="-"?-1:1;n={y:Yi(i[2],s),M:Yi(i[3],s),w:Yi(i[4],s),d:Yi(i[5],s),h:Yi(i[6],s),m:Yi(i[7],s),s:Yi(i[8],s)}}else if(n==null)n={};else if(typeof n==="object"&&("from"in n||"to"in n)){a=Si(Jn(n.from),Jn(n.to));n={};n.ms=a.milliseconds;n.M=a.months}r=new si(n);if(ri(e)&&l(e,"_locale"))r._locale=e._locale;if(ri(e)&&l(e,"_isValid"))r._isValid=e._isValid;return r}function Yi(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ti(e,t){var n={};n.months=t.month()-e.month()+(t.year()-e.year())*12;if(e.clone().add(n.months,"M").isAfter(t))--n.months;n.milliseconds=+t-+e.clone().add(n.months,"M");return n}function Si(e,t){var n;if(!(e.isValid()&&t.isValid()))return{milliseconds:0,months:0};t=ci(t,e);if(e.isBefore(t))n=Ti(e,t);else{n=Ti(t,e);n.milliseconds=-n.milliseconds;n.months=-n.months}return n}function Ci(s,r){return function(e,t){var n,i;if(t!==null&&!isNaN(+t)){Y(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). "+"See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.");i=e;e=t;t=i}n=Di(e,t);Pi(this,n,s);return this}}function Pi(e,t,n,i){var s=t._milliseconds,r=ai(t._days),a=ai(t._months);if(!e.isValid())return;i=i==null?true:i;if(a)lt(e,ce(e,"Month")+a*n);if(r)he(e,"Date",ce(e,"Date")+r*n);if(s)e._d.setTime(e._d.valueOf()+s*n);if(i)u.updateOffset(e,r||a)}Di.fn=si.prototype,Di.invalid=ii;var Hi=Ci(1,"add"),Oi=Ci(-1,"subtract");function Ei(e){return typeof e==="string"||e instanceof String}function ji(e){return k(e)||h(e)||Ei(e)||c(e)||Ni(e)||$i(e)||e===null||e===undefined}function $i(e){var t=o(e)&&!d(e),n=false,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,r;for(s=0;s<i.length;s+=1){r=i[s];n=n||l(e,r)}return t&&n}function Ni(t){var e=a(t),n=false;if(e)n=t.filter(function(e){return!c(e)&&Ei(t)}).length===0;return e&&n}function Fi(e){var t=o(e)&&!d(e),n=false,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,r;for(s=0;s<i.length;s+=1){r=i[s];n=n||l(e,r)}return t&&n}function Ai(e,t){var n=e.diff(t,"days",true);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ii(e,t){if(arguments.length===1)if(!arguments[0]){e=undefined;t=undefined}else if(ji(arguments[0])){e=arguments[0];t=undefined}else if(Fi(arguments[0])){t=arguments[0];e=undefined}var n=e||Jn(),i=ci(n,this).startOf("day"),s=u.calendarFormat(this,i)||"sameElse",r=t&&(T(t[s])?t[s].call(this,n):t[s]);return this.format(r||this.localeData().calendar(s,this,Jn(n)))}function Wi(){return new b(this)}function zi(e,t){var n=k(e)?e:Jn(e);if(!(this.isValid()&&n.isValid()))return false;t=ne(t)||"millisecond";if(t==="millisecond")return this.valueOf()>n.valueOf();else return n.valueOf()<this.clone().startOf(t).valueOf()}function Ri(e,t){var n=k(e)?e:Jn(e);if(!(this.isValid()&&n.isValid()))return false;t=ne(t)||"millisecond";if(t==="millisecond")return this.valueOf()<n.valueOf();else return this.clone().endOf(t).valueOf()<n.valueOf()}function Bi(e,t,n,i){var s=k(e)?e:Jn(e),r=k(t)?t:Jn(t);if(!(this.isValid()&&s.isValid()&&r.isValid()))return false;i=i||"()";return(i[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(i[1]===")"?this.isBefore(r,n):!this.isAfter(r,n))}function Vi(e,t){var n=k(e)?e:Jn(e),i;if(!(this.isValid()&&n.isValid()))return false;t=ne(t)||"millisecond";if(t==="millisecond")return this.valueOf()===n.valueOf();else{i=n.valueOf();return this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()}}function Ui(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ji(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qi(e,t,n){var i,s,r;if(!this.isValid())return NaN;i=ci(e,this);if(!i.isValid())return NaN;s=(i.utcOffset()-this.utcOffset())*6e4;t=ne(t);switch(t){case"year":r=Gi(this,i)/12;break;case"month":r=Gi(this,i);break;case"quarter":r=Gi(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-s)/864e5;break;case"week":r=(this-i-s)/6048e5;break;default:r=this-i}return n?r:le(r)}function Gi(e,t){if(e.date()<t.date())return-Gi(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),i=e.clone().add(n,"months"),s,r;if(t-i<0){s=e.clone().add(n-1,"months");r=(t-i)/(i-s)}else{s=e.clone().add(n+1,"months");r=(t-i)/(s-i)}return-(n+r)||0}function Ki(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Zi(e){if(!this.isValid())return null;var t=e!==true,n=t?this.clone().utc():this;if(n.year()<0||n.year()>9999)return z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ");if(T(Date.prototype.toISOString))if(t)return this.toDate().toISOString();else return new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",z(n,"Z"));return z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Qi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,i,s,r;if(!this.isLocal()){e=this.utcOffset()===0?"moment.utc":"moment.parseZone";t="Z"}n="["+e+'("]';i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";s="-MM-DD[T]HH:mm:ss.SSS";r=t+'[")]';return this.format(n+i+s+r)}function Xi(e){if(!e)e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat;var t=z(this,e);return this.localeData().postformat(t)}function es(e,t){if(this.isValid()&&(k(e)&&e.isValid()||Jn(e).isValid()))return Di({to:this,from:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function ts(e){return this.from(Jn(),e)}function ns(e,t){if(this.isValid()&&(k(e)&&e.isValid()||Jn(e).isValid()))return Di({from:this,to:e}).locale(this.locale()).humanize(!t);else return this.localeData().invalidDate()}function is(e){return this.to(Jn(),e)}function ss(e){var t;if(e===undefined)return this._locale._abbr;else{t=_n(e);if(t!=null)this._locale=t;return this}}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var rs=x("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 as(){return this._locale}var os=1e3,ls=60*os,ds=60*ls,us=(365*400+97)*24*ds;function cs(e,t){return(e%t+t)%t}function hs(e,t,n){if(e<100&&e>=0)return new Date(e+400,t,n)-us;else return new Date(e,t,n).valueOf()}function fs(e,t,n){if(e<100&&e>=0)return Date.UTC(e+400,t,n)-us;else return Date.UTC(e,t,n)}function ps(e){var t,n;e=ne(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;n=this._isUTC?fs:hs;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf();t-=cs(t+(this._isUTC?0:this.utcOffset()*ls),ds);break;case"minute":t=this._d.valueOf();t-=cs(t,ls);break;case"second":t=this._d.valueOf();t-=cs(t,os);break}this._d.setTime(t);u.updateOffset(this,true);return this}function ms(e){var t,n;e=ne(e);if(e===undefined||e==="millisecond"||!this.isValid())return this;n=this._isUTC?fs:hs;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf();t+=ds-cs(t+(this._isUTC?0:this.utcOffset()*ls),ds)-1;break;case"minute":t=this._d.valueOf();t+=ls-cs(t,ls)-1;break;case"second":t=this._d.valueOf();t+=os-cs(t,os)-1;break}this._d.setTime(t);u.updateOffset(this,true);return this}function _s(){return this._d.valueOf()-(this._offset||0)*6e4}function ys(){return Math.floor(this.valueOf()/1e3)}function gs(){return new Date(this.valueOf())}function vs(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ms(){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 bs(){return this.isValid()?this.toISOString():null}function ks(){return _(this)}function ws(){return f({},m(this))}function xs(){return m(this).overflow}function Ls(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ds(e,t){var n,i,s,r=this._eras||_n("en")._eras;for(n=0,i=r.length;n<i;++n){switch(typeof r[n].since){case"string":s=u(r[n].since).startOf("day");r[n].since=s.valueOf();break}switch(typeof r[n].until){case"undefined":r[n].until=+Infinity;break;case"string":s=u(r[n].until).startOf("day").valueOf();r[n].until=s.valueOf();break}}return r}function Ys(e,t,n){var i,s,r=this.eras(),a,o,l;e=e.toUpperCase();for(i=0,s=r.length;i<s;++i){a=r[i].name.toUpperCase();o=r[i].abbr.toUpperCase();l=r[i].narrow.toUpperCase();if(n)switch(t){case"N":case"NN":case"NNN":if(o===e)return r[i];break;case"NNNN":if(a===e)return r[i];break;case"NNNNN":if(l===e)return r[i];break}else if([a,o,l].indexOf(e)>=0)return r[i]}}function Ts(e,t){var n=e.since<=e.until?+1:-1;if(t===undefined)return u(e.since).year();else return u(e.since).year()+(t-e.offset)*n}function Ss(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Cs(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Ps(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){n=this.clone().startOf("day").valueOf();if(i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Hs(){var e,t,n,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){n=s[e].since<=s[e].until?+1:-1;i=this.clone().startOf("day").valueOf();if(s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return(this.year()-u(s[e].since).year())*n+s[e].offset}return this.year()}function Os(e){if(!l(this,"_erasNameRegex"))Is.call(this);return e?this._erasNameRegex:this._erasRegex}function Es(e){if(!l(this,"_erasAbbrRegex"))Is.call(this);return e?this._erasAbbrRegex:this._erasRegex}function js(e){if(!l(this,"_erasNarrowRegex"))Is.call(this);return e?this._erasNarrowRegex:this._erasRegex}function $s(e,t){return t.erasAbbrRegex(e)}function Ns(e,t){return t.erasNameRegex(e)}function Fs(e,t){return t.erasNarrowRegex(e)}function As(e,t){return t._eraYearOrdinalRegex||De}function Is(){var e=[],t=[],n=[],i=[],s,r,a=this.eras();for(s=0,r=a.length;s<r;++s){t.push($e(a[s].name));e.push($e(a[s].abbr));n.push($e(a[s].narrow));i.push($e(a[s].name));i.push($e(a[s].abbr));i.push($e(a[s].narrow))}this._erasRegex=new RegExp("^("+i.join("|")+")","i");this._erasNameRegex=new RegExp("^("+t.join("|")+")","i");this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i");this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function Ws(e,t){A(0,[e,e.length],0,t)}function zs(e){return qs.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rs(e){return qs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Bs(){return kt(this.year(),1,4)}functi