@fluid-topics/ft-analytics-top-documents 1.1.70 → 1.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
!function(t,n,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5
|
-
//! license : MIT
|
|
6
|
-
//! momentjs.com
|
|
7
|
-
var s,u;function o(){return s.apply(null,arguments)}function h(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function f(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(f(t,n))return!1;return!0}function d(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function m(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function v(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function Y(t,n){for(var i in n)f(n,i)&&(t[i]=n[i]);return f(n,"toString")&&(t.toString=n.toString),f(n,"valueOf")&&(t.valueOf=n.valueOf),t}function y(t,n,i,e){return jn(t,n,i,e,!0).utc()}function M(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function D(t){if(null==t._isValid){var n=M(t),i=u.call(n.parsedDateParts,(function(t){return null!=t})),e=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(t._strict&&(e=e&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return e;t._isValid=e}return t._isValid}function g(t){var n=y(NaN);return null!=t?Y(M(n),t):M(n).userInvalidated=!0,n}u=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var S=o.momentProperties=[],p=!1;function w(t,n){var i,e,r,s=S.length;if(d(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),d(n._i)||(t._i=n._i),d(n._f)||(t._f=n._f),d(n._l)||(t._l=n._l),d(n._strict)||(t._strict=n._strict),d(n._tzm)||(t._tzm=n._tzm),d(n._isUTC)||(t._isUTC=n._isUTC),d(n._offset)||(t._offset=n._offset),d(n._pf)||(t._pf=M(n)),d(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)d(r=n[e=S[i]])||(t[e]=r);return t}function N(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===p&&(p=!0,o.updateOffset(this),p=!1)}function b(t){return t instanceof N||null!=t&&null!=t._isAMomentObject}function k(t){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,n){var i=!0;return Y((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),i){var e,r,s,u=[],h=arguments.length;for(r=0;r<h;r++){if(e="","object"==typeof arguments[r]){for(s in e+="\n["+r+"] ",arguments[0])f(arguments[0],s)&&(e+=s+": "+arguments[0][s]+", ");e=e.slice(0,-2)}else e=arguments[r];u.push(e)}k(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var _,H={};function G(t,n){null!=o.deprecationHandler&&o.deprecationHandler(t,n),H[t]||(k(n),H[t]=!0)}function E(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function W(t,n){var i,e=Y({},t);for(i in n)f(n,i)&&(a(t[i])&&a(n[i])?(e[i]={},Y(e[i],t[i]),Y(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)f(t,i)&&!f(n,i)&&a(t[i])&&(e[i]=Y({},e[i]));return e}function O(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,_=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)f(t,n)&&i.push(n);return i};function x(t,n,i){var e=""+Math.abs(t),r=n-e.length;return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+e}var A=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},j={};function L(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(j[t]=r),n&&(j[n[0]]=function(){return x(r.apply(this,arguments),n[1],n[2])}),i&&(j[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function C(t,n){return t.isValid()?(n=U(n,t.localeData()),F[n]=F[n]||function(t){var n,i,e,r=t.match(A);for(n=0,i=r.length;n<i;n++)j[r[n]]?r[n]=j[r[n]]:r[n]=(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=E(r[e])?r[e].call(n,t):r[e];return s}}(n),F[n](t)):t.localeData().invalidDate()}function U(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(R.lastIndex=0;i>=0&&R.test(t);)t=t.replace(R,e),R.lastIndex=0,i-=1;return t}var Z={};function I(t,n){var i=t.toLowerCase();Z[i]=Z[i+"s"]=Z[n]=t}function $(t){return"string"==typeof t?Z[t]||Z[t.toLowerCase()]:void 0}function P(t){var n,i,e={};for(i in t)f(t,i)&&(n=$(i))&&(e[n]=t[i]);return e}var z={};function q(t,n){z[t]=n}function J(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Q(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=B(n)),i}function K(t,n){return function(i){return null!=i?(V(this,t,i),o.updateOffset(this,n),this):X(this,t)}}function X(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function V(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&J(t.year())&&1===t.month()&&29===t.date()?(i=Q(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),xt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var tt,nt=/\d/,it=/\d\d/,et=/\d{3}/,rt=/\d{4}/,st=/[+-]?\d{6}/,ut=/\d\d?/,ot=/\d\d\d\d?/,ht=/\d\d\d\d\d\d?/,at=/\d{1,3}/,ft=/\d{1,4}/,ct=/[+-]?\d{1,6}/,dt=/\d+/,lt=/[+-]?\d+/,mt=/Z|[+-]\d\d:?\d\d/gi,vt=/Z|[+-]\d\d(?::?\d\d)?/gi,Yt=/[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;function yt(t,n,i){tt[t]=E(n)?n:function(t,e){return t&&i?i:n}}function Mt(t,n){return f(tt,t)?tt[t](n._strict,n._locale):new RegExp(Dt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function Dt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}tt={};var gt={};function St(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),l(n)&&(r=function(t,i){i[n]=Q(t)}),e=t.length,i=0;i<e;i++)gt[t[i]]=r}function pt(t,n){St(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function wt(t,n,i){null!=n&&f(gt,t)&>[t](n,i._a,i,t)}var Nt,bt=0,kt=1,Tt=2,_t=3,Ht=4,Gt=5,Et=6,Wt=7,Ot=8;function xt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i,e=(n%(i=12)+i)%i;return t+=(n-e)/12,1===e?J(t)?29:28:31-e%7%2}Nt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),L("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),I("month","M"),q("month",8),yt("M",ut),yt("MM",ut,it),yt("MMM",(function(t,n){return n.monthsShortRegex(t)})),yt("MMMM",(function(t,n){return n.monthsRegex(t)})),St(["M","MM"],(function(t,n){n[kt]=Q(t)-1})),St(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[kt]=r:M(i).invalidMonth=t}));var At="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ft=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jt=Yt,Lt=Yt;function Ct(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=y([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=Nt.call(this._shortMonthsParse,u))?r:null:-1!==(r=Nt.call(this._longMonthsParse,u))?r:null:"MMM"===n?-1!==(r=Nt.call(this._shortMonthsParse,u))||-1!==(r=Nt.call(this._longMonthsParse,u))?r:null:-1!==(r=Nt.call(this._longMonthsParse,u))||-1!==(r=Nt.call(this._shortMonthsParse,u))?r:null}function Ut(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=Q(n);else if(!l(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),xt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function Zt(t){return null!=t?(Ut(this,t),o.updateOffset(this,!0),this):X(this,"Month")}function It(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=y([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)e[n]=Dt(e[n]),r[n]=Dt(r[n]);for(n=0;n<24;n++)s[n]=Dt(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function $t(t){return J(t)?366:365}L("Y",0,0,(function(){var t=this.year();return t<=9999?x(t,4):"+"+t})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),I("year","y"),q("year",1),yt("Y",lt),yt("YY",ut,it),yt("YYYY",ft,rt),yt("YYYYY",ct,st),yt("YYYYYY",ct,st),St(["YYYYY","YYYYYY"],bt),St("YYYY",(function(t,n){n[bt]=2===t.length?o.parseTwoDigitYear(t):Q(t)})),St("YY",(function(t,n){n[bt]=o.parseTwoDigitYear(t)})),St("Y",(function(t,n){n[bt]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return Q(t)+(Q(t)>68?1900:2e3)};var Pt=K("FullYear",!0);function zt(t,n,i,e,r,s,u){var o;return t<100&&t>=0?(o=new Date(t+400,n,i,e,r,s,u),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,n,i,e,r,s,u),o}function qt(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function Jt(t,n,i){var e=7+n-i;return-((7+qt(t,0,e).getUTCDay()-n)%7)+e-1}function Bt(t,n,i,e,r){var s,u,o=1+7*(n-1)+(7+i-e)%7+Jt(t,e,r);return o<=0?u=$t(s=t-1)+o:o>$t(t)?(s=t+1,u=o-$t(t)):(s=t,u=o),{year:s,dayOfYear:u}}function Qt(t,n,i){var e,r,s=Jt(t.year(),n,i),u=Math.floor((t.dayOfYear()-s-1)/7)+1;return u<1?e=u+Kt(r=t.year()-1,n,i):u>Kt(t.year(),n,i)?(e=u-Kt(t.year(),n,i),r=t.year()+1):(r=t.year(),e=u),{week:e,year:r}}function Kt(t,n,i){var e=Jt(t,n,i),r=Jt(t+1,n,i);return($t(t)-e+r)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),q("week",5),q("isoWeek",5),yt("w",ut),yt("ww",ut,it),yt("W",ut),yt("WW",ut,it),pt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=Q(t)}));function Xt(t,n){return t.slice(n,7).concat(t.slice(0,n))}L("d",0,"do","day"),L("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),L("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),L("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),yt("d",ut),yt("e",ut),yt("E",ut),yt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),yt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),yt("dddd",(function(t,n){return n.weekdaysRegex(t)})),pt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:M(i).invalidWeekday=t})),pt(["d","e","E"],(function(t,n,i,e){n[e]=Q(t)}));var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),tn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),nn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),en=Yt,rn=Yt,sn=Yt;function un(t,n,i){var e,r,s,u=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=y([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=Nt.call(this._weekdaysParse,u))?r:null:"ddd"===n?-1!==(r=Nt.call(this._shortWeekdaysParse,u))?r:null:-1!==(r=Nt.call(this._minWeekdaysParse,u))?r:null:"dddd"===n?-1!==(r=Nt.call(this._weekdaysParse,u))||-1!==(r=Nt.call(this._shortWeekdaysParse,u))||-1!==(r=Nt.call(this._minWeekdaysParse,u))?r:null:"ddd"===n?-1!==(r=Nt.call(this._shortWeekdaysParse,u))||-1!==(r=Nt.call(this._weekdaysParse,u))||-1!==(r=Nt.call(this._minWeekdaysParse,u))?r:null:-1!==(r=Nt.call(this._minWeekdaysParse,u))||-1!==(r=Nt.call(this._weekdaysParse,u))||-1!==(r=Nt.call(this._shortWeekdaysParse,u))?r:null}function on(){function t(t,n){return n.length-t.length}var n,i,e,r,s,u=[],o=[],h=[],a=[];for(n=0;n<7;n++)i=y([2e3,1]).day(n),e=Dt(this.weekdaysMin(i,"")),r=Dt(this.weekdaysShort(i,"")),s=Dt(this.weekdays(i,"")),u.push(e),o.push(r),h.push(s),a.push(e),a.push(r),a.push(s);u.sort(t),o.sort(t),h.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function hn(){return this.hours()%12||12}function an(t,n){L(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function fn(t,n){return n._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,hn),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+hn.apply(this)+x(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+hn.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),an("a",!0),an("A",!1),I("hour","h"),q("hour",13),yt("a",fn),yt("A",fn),yt("H",ut),yt("h",ut),yt("k",ut),yt("HH",ut,it),yt("hh",ut,it),yt("kk",ut,it),yt("hmm",ot),yt("hmmss",ht),yt("Hmm",ot),yt("Hmmss",ht),St(["H","HH"],_t),St(["k","kk"],(function(t,n,i){var e=Q(t);n[_t]=24===e?0:e})),St(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),St(["h","hh"],(function(t,n,i){n[_t]=Q(t),M(i).bigHour=!0})),St("hmm",(function(t,n,i){var e=t.length-2;n[_t]=Q(t.substr(0,e)),n[Ht]=Q(t.substr(e)),M(i).bigHour=!0})),St("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[_t]=Q(t.substr(0,e)),n[Ht]=Q(t.substr(e,2)),n[Gt]=Q(t.substr(r)),M(i).bigHour=!0})),St("Hmm",(function(t,n,i){var e=t.length-2;n[_t]=Q(t.substr(0,e)),n[Ht]=Q(t.substr(e))})),St("Hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[_t]=Q(t.substr(0,e)),n[Ht]=Q(t.substr(e,2)),n[Gt]=Q(t.substr(r))}));var cn=K("Hours",!0);var dn,ln={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:At,monthsShort:Rt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:nn,weekdaysShort:tn,meridiemParse:/[ap]\.?m?\.?/i},mn={},vn={};function Yn(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function yn(t){return t?t.toLowerCase().replace("_","-"):t}function Mn(t){var n=null;if(void 0===mn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=dn._abbr,require("./locale/"+t),Dn(n)}catch(n){mn[t]=null}return mn[t]}function Dn(t,n){var i;return t&&((i=d(n)?Sn(t):gn(t,n))?dn=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),dn._abbr}function gn(t,n){if(null!==n){var i,e=ln;if(n.abbr=t,null!=mn[t])G("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."),e=mn[t]._config;else if(null!=n.parentLocale)if(null!=mn[n.parentLocale])e=mn[n.parentLocale]._config;else{if(null==(i=Mn(n.parentLocale)))return vn[n.parentLocale]||(vn[n.parentLocale]=[]),vn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return mn[t]=new O(W(e,n)),vn[t]&&vn[t].forEach((function(t){gn(t.name,t.config)})),Dn(t),mn[t]}return delete mn[t],null}function Sn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return dn;if(!h(t)){if(n=Mn(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=yn(t[s]).split("-")).length,i=(i=yn(t[s+1]))?i.split("-"):null;n>0;){if(e=Mn(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&Yn(r,i)>=n-1)break;n--}s++}return dn}(t)}function pn(t){var n,i=t._a;return i&&-2===M(t).overflow&&(n=i[kt]<0||i[kt]>11?kt:i[Tt]<1||i[Tt]>xt(i[bt],i[kt])?Tt:i[_t]<0||i[_t]>24||24===i[_t]&&(0!==i[Ht]||0!==i[Gt]||0!==i[Et])?_t:i[Ht]<0||i[Ht]>59?Ht:i[Gt]<0||i[Gt]>59?Gt:i[Et]<0||i[Et]>999?Et:-1,M(t)._overflowDayOfYear&&(n<bt||n>Tt)&&(n=Tt),M(t)._overflowWeeks&&-1===n&&(n=Wt),M(t)._overflowWeekday&&-1===n&&(n=Ot),M(t).overflow=n),t}var wn=/^\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)?)?$/,Nn=/^\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/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Tn=[["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/]],_n=/^\/?Date\((-?\d+)/i,Hn=/^(?:(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}))$/,Gn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t){var n,i,e,r,s,u,o=t._i,h=wn.exec(o)||Nn.exec(o),a=kn.length,f=Tn.length;if(h){for(M(t).iso=!0,n=0,i=a;n<i;n++)if(kn[n][1].exec(h[1])){r=kn[n][0],e=!1!==kn[n][2];break}if(null==r)return void(t._isValid=!1);if(h[3]){for(n=0,i=f;n<i;n++)if(Tn[n][1].exec(h[3])){s=(h[2]||" ")+Tn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(h[4]){if(!bn.exec(h[4]))return void(t._isValid=!1);u="Z"}t._f=r+(s||"")+(u||""),Rn(t)}else t._isValid=!1}function Wn(t){var n=parseInt(t,10);return n<=49?2e3+n:n<=999?1900+n:n}function On(t){var n,i,e,r,s,u,o,h,a=Hn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(a){if(i=a[4],e=a[3],r=a[2],s=a[5],u=a[6],o=a[7],h=[Wn(i),Rt.indexOf(e),parseInt(r,10),parseInt(s,10),parseInt(u,10)],o&&h.push(parseInt(o,10)),n=h,!function(t,n,i){return!t||tn.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(M(i).weekdayMismatch=!0,i._isValid=!1,!1)}(a[1],n,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return Gn[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(a[8],a[9],a[10]),t._d=qt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),M(t).rfc2822=!0}else t._isValid=!1}function xn(t,n,i){return null!=t?t:null!=n?n:i}function An(t){var n,i,e,r,s,u=[];if(!t._d){for(e=function(t){var n=new Date(o.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Tt]&&null==t._a[kt]&&function(t){var n,i,e,r,s,u,o,h,a;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(s=1,u=4,i=xn(n.GG,t._a[bt],Qt(Ln(),1,4).year),e=xn(n.W,1),((r=xn(n.E,1))<1||r>7)&&(h=!0)):(s=t._locale._week.dow,u=t._locale._week.doy,a=Qt(Ln(),s,u),i=xn(n.gg,t._a[bt],a.year),e=xn(n.w,a.week),null!=n.d?((r=n.d)<0||r>6)&&(h=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(h=!0)):r=s);e<1||e>Kt(i,s,u)?M(t)._overflowWeeks=!0:null!=h?M(t)._overflowWeekday=!0:(o=Bt(i,e,r,s,u),t._a[bt]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(s=xn(t._a[bt],e[bt]),(t._dayOfYear>$t(s)||0===t._dayOfYear)&&(M(t)._overflowDayOfYear=!0),i=qt(s,0,t._dayOfYear),t._a[kt]=i.getUTCMonth(),t._a[Tt]=i.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=u[n]=e[n];for(;n<7;n++)t._a[n]=u[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[_t]&&0===t._a[Ht]&&0===t._a[Gt]&&0===t._a[Et]&&(t._nextDay=!0,t._a[_t]=0),t._d=(t._useUTC?qt:zt).apply(null,u),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[_t]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(M(t).weekdayMismatch=!0)}}function Rn(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],M(t).empty=!0;var n,i,e,r,s,u,h,a=""+t._i,f=a.length,c=0;for(h=(e=U(t._f,t._locale).match(A)||[]).length,n=0;n<h;n++)r=e[n],(i=(a.match(Mt(r,t))||[])[0])&&((s=a.substr(0,a.indexOf(i))).length>0&&M(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),c+=i.length),j[r]?(i?M(t).empty=!1:M(t).unusedTokens.push(r),wt(r,i,t)):t._strict&&!i&&M(t).unusedTokens.push(r);M(t).charsLeftOver=f-c,a.length>0&&M(t).unusedInput.push(a),t._a[_t]<=12&&!0===M(t).bigHour&&t._a[_t]>0&&(M(t).bigHour=void 0),M(t).parsedDateParts=t._a.slice(0),M(t).meridiem=t._meridiem,t._a[_t]=function(t,n,i){var e;if(null==i)return n;return null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[_t],t._meridiem),null!==(u=M(t).era)&&(t._a[bt]=t._locale.erasConvertYear(u,t._a[bt])),An(t),pn(t)}else On(t);else En(t)}function Fn(t){var n=t._i,i=t._f;return t._locale=t._locale||Sn(t._l),null===n||void 0===i&&""===n?g({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),b(n)?new N(pn(n)):(m(n)?t._d=n:h(i)?function(t){var n,i,e,r,s,u,o=!1,h=t._f.length;if(0===h)return M(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<h;r++)s=0,u=!1,n=w({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],Rn(n),D(n)&&(u=!0),s+=M(n).charsLeftOver,s+=10*M(n).unusedTokens.length,M(n).score=s,o?s<e&&(e=s,i=n):(null==e||s<e||u)&&(e=s,i=n,u&&(o=!0));Y(t,i||n)}(t):i?Rn(t):function(t){var n=t._i;d(n)?t._d=new Date(o.now()):m(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=_n.exec(t._i);null===n?(En(t),!1===t._isValid&&(delete t._isValid,On(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:o.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):h(n)?(t._a=v(n.slice(0),(function(t){return parseInt(t,10)})),An(t)):a(n)?function(t){if(!t._d){var n=P(t._i),i=void 0===n.day?n.date:n.day;t._a=v([n.year,n.month,i,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),An(t)}}(t):l(n)?t._d=new Date(n):o.createFromInputFallback(t)}(t),D(t)||(t._d=null),t))}function jn(t,n,i,e,r){var s,u={};return!0!==n&&!1!==n||(e=n,n=void 0),!0!==i&&!1!==i||(e=i,i=void 0),(a(t)&&c(t)||h(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=r,u._l=i,u._i=t,u._f=n,u._strict=e,(s=new N(pn(Fn(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ln(t,n,i,e){return jn(t,n,i,e,!1)}o.createFromInputFallback=T("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Cn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ln.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()})),Un=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Ln.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()}));function Zn(t,n){var i,e;if(1===n.length&&h(n[0])&&(n=n[0]),!n.length)return Ln();for(i=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](i)||(i=n[e]);return i}var In=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $n(t){var n=P(t),i=n.year||0,e=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,u=n.day||0,o=n.hour||0,h=n.minute||0,a=n.second||0,c=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=In.length;for(n in t)if(f(t,n)&&(-1===Nt.call(In,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[In[i]]){if(e)return!1;parseFloat(t[In[i]])!==Q(t[In[i]])&&(e=!0)}return!0}(n),this._milliseconds=+c+1e3*a+6e4*h+1e3*o*60*60,this._days=+u+7*s,this._months=+r+3*e+12*i,this._data={},this._locale=Sn(),this._bubble()}function Pn(t){return t instanceof $n}function zn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function qn(t,n){L(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+x(~~(t/60),2)+n+x(~~t%60,2)}))}qn("Z",":"),qn("ZZ",""),yt("Z",vt),yt("ZZ",vt),St(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=Bn(vt,t)}));var Jn=/([\+\-]|\d\d)/gi;function Bn(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(Jn)||["-",0,0])[1]+Q(i[2]))?0:"+"===i[0]?e:-e}function Qn(t,n){var i,e;return n._isUTC?(i=n.clone(),e=(b(t)||m(t)?t.valueOf():Ln(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+e),o.updateOffset(i,!1),i):Ln(t).local()}function Kn(t){return-Math.round(t._d.getTimezoneOffset())}function Xn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Vn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ni(t,n){var i,e,r,s=t,u=null;return Pn(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:l(t)||!isNaN(+t)?(s={},n?s[n]=+t:s.milliseconds=+t):(u=Vn.exec(t))?(i="-"===u[1]?-1:1,s={y:0,d:Q(u[Tt])*i,h:Q(u[_t])*i,m:Q(u[Ht])*i,s:Q(u[Gt])*i,ms:Q(zn(1e3*u[Et]))*i}):(u=ti.exec(t))?(i="-"===u[1]?-1:1,s={y:ii(u[2],i),M:ii(u[3],i),w:ii(u[4],i),d:ii(u[5],i),h:ii(u[6],i),m:ii(u[7],i),s:ii(u[8],i)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(r=function(t,n){var i;if(!t.isValid()||!n.isValid())return{milliseconds:0,months:0};n=Qn(n,t),t.isBefore(n)?i=ei(t,n):((i=ei(n,t)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(Ln(s.from),Ln(s.to)),(s={}).ms=r.milliseconds,s.M=r.months),e=new $n(s),Pn(t)&&f(t,"_locale")&&(e._locale=t._locale),Pn(t)&&f(t,"_isValid")&&(e._isValid=t._isValid),e}function ii(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function ei(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function ri(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(G(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),si(this,ni(i,e),t),this}}function si(t,n,i,e){var r=n._milliseconds,s=zn(n._days),u=zn(n._months);t.isValid()&&(e=null==e||e,u&&Ut(t,X(t,"Month")+u*i),s&&V(t,"Date",X(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),e&&o.updateOffset(t,s||u))}ni.fn=$n.prototype,ni.invalid=function(){return ni(NaN)};var ui=ri(1,"add"),oi=ri(-1,"subtract");function hi(t){return"string"==typeof t||t instanceof String}function ai(t){return b(t)||m(t)||hi(t)||l(t)||function(t){var n=h(t),i=!1;n&&(i=0===t.filter((function(n){return!l(n)&&hi(t)})).length);return n&&i}(t)||function(t){var n,i,e=a(t)&&!c(t),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=s.length;for(n=0;n<u;n+=1)i=s[n],r=r||f(t,i);return e&&r}(t)||null==t}function fi(t,n){if(t.date()<n.date())return-fi(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function ci(t){var n;return void 0===t?this._locale._abbr:(null!=(n=Sn(t))&&(this._locale=n),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var di=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function li(){return this._locale}var mi=1e3,vi=6e4,Yi=36e5,yi=126227808e5;function Mi(t,n){return(t%n+n)%n}function Di(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-yi:new Date(t,n,i).valueOf()}function gi(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-yi:Date.UTC(t,n,i)}function Si(t,n){return n.erasAbbrRegex(t)}function pi(){var t,n,i=[],e=[],r=[],s=[],u=this.eras();for(t=0,n=u.length;t<n;++t)e.push(Dt(u[t].name)),i.push(Dt(u[t].abbr)),r.push(Dt(u[t].narrow)),s.push(Dt(u[t].name)),s.push(Dt(u[t].abbr)),s.push(Dt(u[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function wi(t,n){L(0,[t,t.length],0,n)}function Ni(t,n,i,e,r){var s;return null==t?Qt(this,e,r).year:(n>(s=Kt(t,e,r))&&(n=s),bi.call(this,t,n,i,e,r))}function bi(t,n,i,e,r){var s=Bt(t,n,i,e,r),u=qt(s.year,0,s.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),yt("N",Si),yt("NN",Si),yt("NNN",Si),yt("NNNN",(function(t,n){return n.erasNameRegex(t)})),yt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),St(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?M(i).era=r:M(i).invalidEra=t})),yt("y",dt),yt("yy",dt),yt("yyy",dt),yt("yyyy",dt),yt("yo",(function(t,n){return n._eraYearOrdinalRegex||dt})),St(["y","yy","yyy","yyyy"],bt),St(["yo"],(function(t,n,i,e){var r;i._locale._eraYearOrdinalRegex&&(r=t.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?n[bt]=i._locale.eraYearOrdinalParse(t,r):n[bt]=parseInt(t,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),wi("gggg","weekYear"),wi("ggggg","weekYear"),wi("GGGG","isoWeekYear"),wi("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),yt("G",lt),yt("g",lt),yt("GG",ut,it),yt("gg",ut,it),yt("GGGG",ft,rt),yt("gggg",ft,rt),yt("GGGGG",ct,st),yt("ggggg",ct,st),pt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=Q(t)})),pt(["gg","GG"],(function(t,n,i,e){n[e]=o.parseTwoDigitYear(t)})),L("Q",0,"Qo","quarter"),I("quarter","Q"),q("quarter",7),yt("Q",nt),St("Q",(function(t,n){n[kt]=3*(Q(t)-1)})),L("D",["DD",2],"Do","date"),I("date","D"),q("date",9),yt("D",ut),yt("DD",ut,it),yt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),St(["D","DD"],Tt),St("Do",(function(t,n){n[Tt]=Q(t.match(ut)[0])}));var ki=K("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),q("dayOfYear",4),yt("DDD",at),yt("DDDD",et),St(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=Q(t)})),L("m",["mm",2],0,"minute"),I("minute","m"),q("minute",14),yt("m",ut),yt("mm",ut,it),St(["m","mm"],Ht);var Ti=K("Minutes",!1);L("s",["ss",2],0,"second"),I("second","s"),q("second",15),yt("s",ut),yt("ss",ut,it),St(["s","ss"],Gt);var _i,Hi,Gi=K("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),I("millisecond","ms"),q("millisecond",16),yt("S",at,nt),yt("SS",at,it),yt("SSS",at,et),_i="SSSS";_i.length<=9;_i+="S")yt(_i,dt);function Ei(t,n){n[Et]=Q(1e3*("0."+t))}for(_i="S";_i.length<=9;_i+="S")St(_i,Ei);Hi=K("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var Wi=N.prototype;function Oi(t){return t}Wi.add=ui,Wi.calendar=function(t,n){1===arguments.length&&(arguments[0]?ai(arguments[0])?(t=arguments[0],n=void 0):function(t){var n,i=a(t)&&!c(t),e=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)e=e||f(t,r[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var i=t||Ln(),e=Qn(i,this).startOf("day"),r=o.calendarFormat(this,e)||"sameElse",s=n&&(E(n[r])?n[r].call(this,i):n[r]);return this.format(s||this.localeData().calendar(r,this,Ln(i)))},Wi.clone=function(){return new N(this)},Wi.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=Qn(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=$(n)){case"year":s=fi(this,e)/12;break;case"month":s=fi(this,e);break;case"quarter":s=fi(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:B(s)},Wi.endOf=function(t){var n,i;if(void 0===(t=$(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?gi:Di,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=Yi-Mi(n+(this._isUTC?0:this.utcOffset()*vi),Yi)-1;break;case"minute":n=this._d.valueOf(),n+=vi-Mi(n,vi)-1;break;case"second":n=this._d.valueOf(),n+=mi-Mi(n,mi)-1}return this._d.setTime(n),o.updateOffset(this,!0),this},Wi.format=function(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var n=C(this,t);return this.localeData().postformat(n)},Wi.from=function(t,n){return this.isValid()&&(b(t)&&t.isValid()||Ln(t).isValid())?ni({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Wi.fromNow=function(t){return this.from(Ln(),t)},Wi.to=function(t,n){return this.isValid()&&(b(t)&&t.isValid()||Ln(t).isValid())?ni({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Wi.toNow=function(t){return this.to(Ln(),t)},Wi.get=function(t){return E(this[t=$(t)])?this[t]():this},Wi.invalidAt=function(){return M(this).overflow},Wi.isAfter=function(t,n){var i=b(t)?t:Ln(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=$(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},Wi.isBefore=function(t,n){var i=b(t)?t:Ln(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=$(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},Wi.isBetween=function(t,n,i,e){var r=b(t)?t:Ln(t),s=b(n)?n:Ln(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&(("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i)))},Wi.isSame=function(t,n){var i,e=b(t)?t:Ln(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=$(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},Wi.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Wi.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Wi.isValid=function(){return D(this)},Wi.lang=di,Wi.locale=ci,Wi.localeData=li,Wi.max=Un,Wi.min=Cn,Wi.parsingFlags=function(){return Y({},M(this))},Wi.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)f(t,n)&&i.push({unit:n,priority:z[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=P(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(E(this[t=$(t)]))return this[t](n);return this},Wi.startOf=function(t){var n,i;if(void 0===(t=$(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?gi:Di,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Mi(n+(this._isUTC?0:this.utcOffset()*vi),Yi);break;case"minute":n=this._d.valueOf(),n-=Mi(n,vi);break;case"second":n=this._d.valueOf(),n-=Mi(n,mi)}return this._d.setTime(n),o.updateOffset(this,!0),this},Wi.subtract=oi,Wi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Wi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Wi.toDate=function(){return new Date(this.valueOf())},Wi.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?C(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",C(i,"Z")):C(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Wi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i,e="moment",r="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",i=r+'[")]',this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+i)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Wi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Wi.toJSON=function(){return this.isValid()?this.toISOString():null},Wi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Wi.unix=function(){return Math.floor(this.valueOf()/1e3)},Wi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Wi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Wi.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},Wi.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},Wi.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},Wi.eraYear=function(){var t,n,i,e,r=this.localeData().eras();for(t=0,n=r.length;t<n;++t)if(i=r[t].since<=r[t].until?1:-1,e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until||r[t].until<=e&&e<=r[t].since)return(this.year()-o(r[t].since).year())*i+r[t].offset;return this.year()},Wi.year=Pt,Wi.isLeapYear=function(){return J(this.year())},Wi.weekYear=function(t){return Ni.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Wi.isoWeekYear=function(t){return Ni.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Wi.quarter=Wi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Wi.month=Zt,Wi.daysInMonth=function(){return xt(this.year(),this.month())},Wi.week=Wi.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Wi.isoWeek=Wi.isoWeeks=function(t){var n=Qt(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Wi.weeksInYear=function(){var t=this.localeData()._week;return Kt(this.year(),t.dow,t.doy)},Wi.weeksInWeekYear=function(){var t=this.localeData()._week;return Kt(this.weekYear(),t.dow,t.doy)},Wi.isoWeeksInYear=function(){return Kt(this.year(),1,4)},Wi.isoWeeksInISOWeekYear=function(){return Kt(this.isoWeekYear(),1,4)},Wi.date=ki,Wi.day=Wi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},Wi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},Wi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Wi.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},Wi.hour=Wi.hours=cn,Wi.minute=Wi.minutes=Ti,Wi.second=Wi.seconds=Gi,Wi.millisecond=Wi.milliseconds=Hi,Wi.utcOffset=function(t,n,i){var e,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Bn(vt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(e=Kn(this)),this._offset=t,this._isUTC=!0,null!=e&&this.add(e,"m"),r!==t&&(!n||this._changeInProgress?si(this,ni(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Kn(this)},Wi.utc=function(t){return this.utcOffset(0,t)},Wi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Kn(this),"m")),this},Wi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Bn(mt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Wi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ln(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Wi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Wi.isLocal=function(){return!!this.isValid()&&!this._isUTC},Wi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Wi.isUtc=Xn,Wi.isUTC=Xn,Wi.zoneAbbr=function(){return this._isUTC?"UTC":""},Wi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Wi.dates=T("dates accessor is deprecated. Use date instead.",ki),Wi.months=T("months accessor is deprecated. Use month instead",Zt),Wi.years=T("years accessor is deprecated. Use year instead",Pt),Wi.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),Wi.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var t,n={};return w(n,this),(n=Fn(n))._a?(t=n._isUTC?y(n._a):Ln(n._a),this._isDSTShifted=this.isValid()&&function(t,n,i){var e,r=Math.min(t.length,n.length),s=Math.abs(t.length-n.length),u=0;for(e=0;e<r;e++)(i&&t[e]!==n[e]||!i&&Q(t[e])!==Q(n[e]))&&u++;return u+s}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var xi=O.prototype;function Ai(t,n,i,e){var r=Sn(),s=y().set(e,n);return r[i](s,t)}function Ri(t,n,i){if(l(t)&&(n=t,t=void 0),t=t||"",null!=n)return Ai(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Ai(t,e,i,"month");return r}function Fi(t,n,i,e){"boolean"==typeof t?(l(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,l(n)&&(i=n,n=void 0),n=n||"");var r,s=Sn(),u=t?s._week.dow:0,o=[];if(null!=i)return Ai(n,(i+u)%7,e,"day");for(r=0;r<7;r++)o[r]=Ai(n,(r+u)%7,e,"day");return o}xi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return E(e)?e.call(n,i):e},xi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(A).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},xi.invalidDate=function(){return this._invalidDate},xi.ordinal=function(t){return this._ordinal.replace("%d",t)},xi.preparse=Oi,xi.postformat=Oi,xi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return E(r)?r(t,n,i,e):r.replace(/%d/i,t)},xi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return E(i)?i(n):i.replace(/%s/i,n)},xi.set=function(t){var n,i;for(i in t)f(t,i)&&(E(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xi.eras=function(t,n){var i,e,r,s=this._eras||Sn("en")._eras;for(i=0,e=s.length;i<e;++i){if("string"==typeof s[i].since)r=o(s[i].since).startOf("day"),s[i].since=r.valueOf();switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":r=o(s[i].until).startOf("day").valueOf(),s[i].until=r.valueOf()}}return s},xi.erasParse=function(t,n,i){var e,r,s,u,o,h=this.eras();for(t=t.toUpperCase(),e=0,r=h.length;e<r;++e)if(s=h[e].name.toUpperCase(),u=h[e].abbr.toUpperCase(),o=h[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(u===t)return h[e];break;case"NNNN":if(s===t)return h[e];break;case"NNNNN":if(o===t)return h[e]}else if([s,u,o].indexOf(t)>=0)return h[e]},xi.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?o(t.since).year():o(t.since).year()+(n-t.offset)*i},xi.erasAbbrRegex=function(t){return f(this,"_erasAbbrRegex")||pi.call(this),t?this._erasAbbrRegex:this._erasRegex},xi.erasNameRegex=function(t){return f(this,"_erasNameRegex")||pi.call(this),t?this._erasNameRegex:this._erasRegex},xi.erasNarrowRegex=function(t){return f(this,"_erasNarrowRegex")||pi.call(this),t?this._erasNarrowRegex:this._erasRegex},xi.months=function(t,n){return t?h(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ft).test(n)?"format":"standalone"][t.month()]:h(this._months)?this._months:this._months.standalone},xi.monthsShort=function(t,n){return t?h(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ft.test(n)?"format":"standalone"][t.month()]:h(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Ct.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=y([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},xi.monthsRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||It.call(this),t?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Lt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},xi.monthsShortRegex=function(t){return this._monthsParseExact?(f(this,"_monthsRegex")||It.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=jt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},xi.week=function(t){return Qt(t,this._week.dow,this._week.doy).week},xi.firstDayOfYear=function(){return this._week.doy},xi.firstDayOfWeek=function(){return this._week.dow},xi.weekdays=function(t,n){var i=h(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?Xt(i,this._week.dow):t?i[t.day()]:i},xi.weekdaysMin=function(t){return!0===t?Xt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},xi.weekdaysShort=function(t){return!0===t?Xt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},xi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return un.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=y([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},xi.weekdaysRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||on.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=en),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},xi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||on.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=rn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||on.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=sn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},xi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},Dn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===Q(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),o.lang=T("moment.lang is deprecated. Use moment.locale instead.",Dn),o.langData=T("moment.langData is deprecated. Use moment.localeData instead.",Sn);var ji=Math.abs;function Li(t,n,i,e){var r=ni(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function Ci(t){return t<0?Math.floor(t):Math.ceil(t)}function Ui(t){return 4800*t/146097}function Zi(t){return 146097*t/4800}function Ii(t){return function(){return this.as(t)}}var $i=Ii("ms"),Pi=Ii("s"),zi=Ii("m"),qi=Ii("h"),Ji=Ii("d"),Bi=Ii("w"),Qi=Ii("M"),Ki=Ii("Q"),Xi=Ii("y");function Vi(t){return function(){return this.isValid()?this._data[t]:NaN}}var te=Vi("milliseconds"),ne=Vi("seconds"),ie=Vi("minutes"),ee=Vi("hours"),re=Vi("days"),se=Vi("months"),ue=Vi("years");var oe=Math.round,he={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ae(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var fe=Math.abs;function ce(t){return(t>0)-(t<0)||+t}function de(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,u,o,h=fe(this._milliseconds)/1e3,a=fe(this._days),f=fe(this._months),c=this.asSeconds();return c?(t=B(h/60),n=B(t/60),h%=60,t%=60,i=B(f/12),f%=12,e=h?h.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=ce(this._months)!==ce(c)?"-":"",u=ce(this._days)!==ce(c)?"-":"",o=ce(this._milliseconds)!==ce(c)?"-":"",r+"P"+(i?s+i+"Y":"")+(f?s+f+"M":"")+(a?u+a+"D":"")+(n||t||h?"T":"")+(n?o+n+"H":"")+(t?o+t+"M":"")+(h?o+e+"S":"")):"P0D"}var le=$n.prototype;le.isValid=function(){return this._isValid},le.abs=function(){var t=this._data;return this._milliseconds=ji(this._milliseconds),this._days=ji(this._days),this._months=ji(this._months),t.milliseconds=ji(t.milliseconds),t.seconds=ji(t.seconds),t.minutes=ji(t.minutes),t.hours=ji(t.hours),t.months=ji(t.months),t.years=ji(t.years),this},le.add=function(t,n){return Li(this,t,n,1)},le.subtract=function(t,n){return Li(this,t,n,-1)},le.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=$(t))||"quarter"===t||"year"===t)switch(n=this._days+e/864e5,i=this._months+Ui(n),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(Zi(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},le.asMilliseconds=$i,le.asSeconds=Pi,le.asMinutes=zi,le.asHours=qi,le.asDays=Ji,le.asWeeks=Bi,le.asMonths=Qi,le.asQuarters=Ki,le.asYears=Xi,le.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Q(this._months/12):NaN},le._bubble=function(){var t,n,i,e,r,s=this._milliseconds,u=this._days,o=this._months,h=this._data;return s>=0&&u>=0&&o>=0||s<=0&&u<=0&&o<=0||(s+=864e5*Ci(Zi(o)+u),u=0,o=0),h.milliseconds=s%1e3,t=B(s/1e3),h.seconds=t%60,n=B(t/60),h.minutes=n%60,i=B(n/60),h.hours=i%24,u+=B(i/24),o+=r=B(Ui(u)),u-=Ci(Zi(r)),e=B(o/12),o%=12,h.days=u,h.months=o,h.years=e,this},le.clone=function(){return ni(this)},le.get=function(t){return t=$(t),this.isValid()?this[t+"s"]():NaN},le.milliseconds=te,le.seconds=ne,le.minutes=ie,le.hours=ee,le.days=re,le.weeks=function(){return B(this.days()/7)},le.months=se,le.years=ue,le.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=he;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},he,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=ni(t).abs(),s=oe(r.as("s")),u=oe(r.as("m")),o=oe(r.as("h")),h=oe(r.as("d")),a=oe(r.as("M")),f=oe(r.as("w")),c=oe(r.as("y")),d=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||u<=1&&["m"]||u<i.m&&["mm",u]||o<=1&&["h"]||o<i.h&&["hh",o]||h<=1&&["d"]||h<i.d&&["dd",h];return null!=i.w&&(d=d||f<=1&&["w"]||f<i.w&&["ww",f]),(d=d||a<=1&&["M"]||a<i.M&&["MM",a]||c<=1&&["y"]||["yy",c])[2]=n,d[3]=+t>0,d[4]=e,ae.apply(null,d)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},le.toISOString=de,le.toString=de,le.toJSON=de,le.locale=ci,le.localeData=li,le.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",de),le.lang=di,L("X",0,0,"unix"),L("x",0,0,"valueOf"),yt("x",lt),yt("X",/[+-]?\d+(\.\d{1,3})?/),St("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),St("x",(function(t,n,i){i._d=new Date(Q(t))})),
|
|
8
|
-
//! moment.js
|
|
9
|
-
o.version="2.29.4",s=Ln,o.fn=Wi,o.min=function(){return Zn("isBefore",[].slice.call(arguments,0))},o.max=function(){return Zn("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=y,o.unix=function(t){return Ln(1e3*t)},o.months=function(t,n){return Ri(t,n,"months")},o.isDate=m,o.locale=Dn,o.invalid=g,o.duration=ni,o.isMoment=b,o.weekdays=function(t,n,i){return Fi(t,n,i,"weekdays")},o.parseZone=function(){return Ln.apply(null,arguments).parseZone()},o.localeData=Sn,o.isDuration=Pn,o.monthsShort=function(t,n){return Ri(t,n,"monthsShort")},o.weekdaysMin=function(t,n,i){return Fi(t,n,i,"weekdaysMin")},o.defineLocale=gn,o.updateLocale=function(t,n){if(null!=n){var i,e,r=ln;null!=mn[t]&&null!=mn[t].parentLocale?mn[t].set(W(mn[t]._config,n)):(null!=(e=Mn(t))&&(r=e._config),n=W(r,n),null==e&&(n.abbr=t),(i=new O(n)).parentLocale=mn[t],mn[t]=i),Dn(t)}else null!=mn[t]&&(null!=mn[t].parentLocale?(mn[t]=mn[t].parentLocale,t===Dn()&&Dn(t)):null!=mn[t]&&delete mn[t]);return mn[t]},o.locales=function(){return _(mn)},o.weekdaysShort=function(t,n,i){return Fi(t,n,i,"weekdaysShort")},o.normalizeUnits=$,o.relativeTimeRounding=function(t){return void 0===t?oe:"function"==typeof t&&(oe=t,!0)},o.relativeTimeThreshold=function(t,n){return void 0!==he[t]&&(void 0===n?he[t]:(he[t]=n,"s"===t&&(he.ss=n-1),!0))},o.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},o.prototype=Wi,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const me={contentFont:n.FtCssVariableFactory.external(n.designSystemVariables.contentFont,"Design system"),colorOnSurfaceHigh:n.FtCssVariableFactory.external(n.designSystemVariables.colorOnSurfaceHigh,"Design system"),colorOnSurfaceMedium:n.FtCssVariableFactory.external(n.designSystemVariables.colorOnSurfaceMedium,"Design system")},ve=i.css`
|
|
1
|
+
"use strict";(()=>{var $s=Object.create;var Ct=Object.defineProperty;var zs=Object.getOwnPropertyDescriptor;var Zs=Object.getOwnPropertyNames;var Bs=Object.getPrototypeOf,qs=Object.prototype.hasOwnProperty;var Lt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,s)=>(typeof require<"u"?require:t)[s]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Js=(e,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Zs(t))!qs.call(e,a)&&a!==s&&Ct(e,a,{get:()=>t[a],enumerable:!(r=zs(t,a))||r.enumerable});return e};var ie=(e,t,s)=>(s=e!=null?$s(Bs(e)):{},Js(t||!e||!e.__esModule?Ct(s,"default",{value:e,enumerable:!0}):s,e));var Pe=Ne((Xi,Et)=>{Et.exports=ftGlobals.wcUtils});var rt=Ne((eo,It)=>{It.exports=ftGlobals.lit});var Ht=Ne((to,At)=>{At.exports=ftGlobals.litDecorators});var Is=Ne((ao,Es)=>{Es.exports=ftGlobals.litRepeat});var js=ie(Pe());var I=ie(rt()),ne=ie(Ht()),Vs=ie(Pe());var Zt;function l(){return Zt.apply(null,arguments)}function Qs(e){Zt=e}function C(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ue(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _t(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(y(e,t))return!1;return!0}function x(e){return e===void 0}function Q(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Te(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Bt(e,t){var s=[],r,a=e.length;for(r=0;r<a;++r)s.push(t(e[r],r));return s}function te(e,t){for(var s in t)y(t,s)&&(e[s]=t[s]);return y(t,"toString")&&(e.toString=t.toString),y(t,"valueOf")&&(e.valueOf=t.valueOf),e}function G(e,t,s,r){return ps(e,t,s,r,!0).utc()}function Ks(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(e){return e._pf==null&&(e._pf=Ks()),e._pf}var lt;Array.prototype.some?lt=Array.prototype.some:lt=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function yt(e){if(e._isValid==null){var t=f(e),s=lt.call(t.parsedDateParts,function(a){return a!=null}),r=!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&&s);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function je(e){var t=G(NaN);return e!=null?te(f(t),e):f(t).userInvalidated=!0,t}var Vt=l.momentProperties=[],at=!1;function wt(e,t){var s,r,a,n=Vt.length;if(x(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),x(t._i)||(e._i=t._i),x(t._f)||(e._f=t._f),x(t._l)||(e._l=t._l),x(t._strict)||(e._strict=t._strict),x(t._tzm)||(e._tzm=t._tzm),x(t._isUTC)||(e._isUTC=t._isUTC),x(t._offset)||(e._offset=t._offset),x(t._pf)||(e._pf=f(t)),x(t._locale)||(e._locale=t._locale),n>0)for(s=0;s<n;s++)r=Vt[s],a=t[r],x(a)||(e[r]=a);return e}function be(e){wt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),at===!1&&(at=!0,l.updateOffset(this),at=!1)}function L(e){return e instanceof be||e!=null&&e._isAMomentObject!=null}function qt(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function W(e,t){var s=!0;return te(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),s){var r=[],a,n,i,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
|
|
2
|
+
[`+n+"] ";for(i in arguments[0])y(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];r.push(a)}qt(e+`
|
|
3
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
4
|
+
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Gt={};function Jt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Gt[e]||(qt(t),Gt[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function j(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Xs(e){var t,s;for(s in e)y(e,s)&&(t=e[s],j(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ut(e,t){var s=te({},e),r;for(r in t)y(t,r)&&(ue(e[r])&&ue(t[r])?(s[r]={},te(s[r],e[r]),te(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)y(e,r)&&!y(t,r)&&ue(e[r])&&(s[r]=te({},s[r]));return s}function pt(e){e!=null&&this.set(e)}var dt;Object.keys?dt=Object.keys:dt=function(e){var t,s=[];for(t in e)y(e,t)&&s.push(t);return s};var er={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function tr(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,s):r}function V(e,t,s){var r=""+Math.abs(e),a=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var St=/(\[[^\[]*\])|(\\)?([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,We=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nt={},me={};function h(e,t,s,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(me[e]=a),t&&(me[t[0]]=function(){return V(a.apply(this,arguments),t[1],t[2])}),s&&(me[s]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function sr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function rr(e){var t=e.match(St),s,r;for(s=0,r=t.length;s<r;s++)me[t[s]]?t[s]=me[t[s]]:t[s]=sr(t[s]);return function(a){var n="",i;for(i=0;i<r;i++)n+=j(t[i])?t[i].call(a,e):t[i];return n}}function Ue(e,t){return e.isValid()?(t=Qt(t,e.localeData()),nt[t]=nt[t]||rr(t),nt[t](e)):e.localeData().invalidDate()}function Qt(e,t){var s=5;function r(a){return t.longDateFormat(a)||a}for(We.lastIndex=0;s>=0&&We.test(e);)e=e.replace(We,r),We.lastIndex=0,s-=1;return e}var ar={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 nr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(St).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var ir="Invalid date";function or(){return this._invalidDate}var lr="%d",ur=/\d{1,2}/;function dr(e){return this._ordinal.replace("%d",e)}var hr={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 fr(e,t,s,r){var a=this._relativeTime[s];return j(a)?a(e,t,s,r):a.replace(/%d/i,e)}function cr(e,t){var s=this._relativeTime[e>0?"future":"past"];return j(s)?s(t):s.replace(/%s/i,t)}var Me={};function O(e,t){var s=e.toLowerCase();Me[s]=Me[s+"s"]=Me[t]=e}function F(e){return typeof e=="string"?Me[e]||Me[e.toLowerCase()]:void 0}function Dt(e){var t={},s,r;for(r in e)y(e,r)&&(s=F(r),s&&(t[s]=e[r]));return t}var Kt={};function T(e,t){Kt[e]=t}function mr(e){var t=[],s;for(s in e)y(e,s)&&t.push({unit:s,priority:Kt[s]});return t.sort(function(r,a){return r.priority-a.priority}),t}function $e(e){return e%4===0&&e%100!==0||e%400===0}function P(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=P(t)),s}function we(e,t){return function(s){return s!=null?(Xt(this,e,s),l.updateOffset(this,t),this):Ee(this,e)}}function Ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Xt(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&$e(e.year())&&e.month()===1&&e.date()===29?(s=m(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),Qe(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function _r(e){return e=F(e),j(this[e])?this[e]():this}function yr(e,t){if(typeof e=="object"){e=Dt(e);var s=mr(e),r,a=s.length;for(r=0;r<a;r++)this[s[r].unit](e[s[r].unit])}else if(e=F(e),j(this[e]))return this[e](t);return this}var es=/\d/,N=/\d\d/,ts=/\d{3}/,gt=/\d{4}/,ze=/[+-]?\d{6}/,g=/\d\d?/,ss=/\d\d\d\d?/,rs=/\d\d\d\d\d\d?/,Ze=/\d{1,3}/,Mt=/\d{1,4}/,Be=/[+-]?\d{1,6}/,pe=/\d+/,qe=/[+-]?\d+/,wr=/Z|[+-]\d\d:?\d\d/gi,Je=/Z|[+-]\d\d(?::?\d\d)?/gi,pr=/[+-]?\d+(\.\d{1,3})?/,xe=/[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,Ie;Ie={};function u(e,t,s){Ie[e]=j(t)?t:function(r,a){return r&&s?s:t}}function Sr(e,t){return y(Ie,e)?Ie[e](t._strict,t._locale):new RegExp(Dr(e))}function Dr(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,a,n){return s||r||a||n}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function S(e,t){var s,r=t,a;for(typeof e=="string"&&(e=[e]),Q(t)&&(r=function(n,i){i[t]=m(n)}),a=e.length,s=0;s<a;s++)ht[e[s]]=r}function Re(e,t){S(e,function(s,r,a,n){a._w=a._w||{},t(s,a._w,a,n)})}function gr(e,t,s){t!=null&&y(ht,e)&&ht[e](t,s._a,s,e)}var Y=0,B=1,H=2,v=3,U=4,q=5,le=6,Mr=7,kr=8;function vr(e,t){return(e%t+t)%t}var k;Array.prototype.indexOf?k=Array.prototype.indexOf:k=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 s=vr(t,12);return e+=(t-s)/12,s===1?$e(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1});h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});h("MMMM",0,0,function(e){return this.localeData().months(this,e)});O("month","M");T("month",8);u("M",g);u("MM",g,N);u("MMM",function(e,t){return t.monthsShortRegex(e)});u("MMMM",function(e,t){return t.monthsRegex(e)});S(["M","MM"],function(e,t){t[B]=m(e)-1});S(["MMM","MMMM"],function(e,t,s,r){var a=s._locale.monthsParse(e,r,s._strict);a!=null?t[B]=a:f(s).invalidMonth=e});var Yr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),as="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ns=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Or=xe,Tr=xe;function br(e,t){return e?C(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ns).test(t)?"format":"standalone"][e.month()]:C(this._months)?this._months:this._months.standalone}function xr(e,t){return e?C(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ns.test(t)?"format":"standalone"][e.month()]:C(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rr(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=G([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return s?t==="MMM"?(a=k.call(this._shortMonthsParse,i),a!==-1?a:null):(a=k.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=k.call(this._shortMonthsParse,i),a!==-1?a:(a=k.call(this._longMonthsParse,i),a!==-1?a:null)):(a=k.call(this._longMonthsParse,i),a!==-1?a:(a=k.call(this._shortMonthsParse,i),a!==-1?a:null))}function Nr(e,t,s){var r,a,n;if(this._monthsParseExact)return Rr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=G([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function is(e,t){var s;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!Q(t))return e}return s=Math.min(e.date(),Qe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,s),e}function os(e){return e!=null?(is(this,e),l.updateOffset(this,!0),this):Ee(this,"Month")}function Pr(){return Qe(this.year(),this.month())}function Wr(e){return this._monthsParseExact?(y(this,"_monthsRegex")||ls.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Or),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Fr(e){return this._monthsParseExact?(y(this,"_monthsRegex")||ls.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Tr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ls(){function e(i,d){return d.length-i.length}var t=[],s=[],r=[],a,n;for(a=0;a<12;a++)n=G([2e3,a]),t.push(this.monthsShort(n,"")),s.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(t.sort(e),s.sort(e),r.sort(e),a=0;a<12;a++)t[a]=R(t[a]),s[a]=R(s[a]);for(a=0;a<24;a++)r[a]=R(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?V(e,4):"+"+e});h(0,["YY",2],0,function(){return this.year()%100});h(0,["YYYY",4],0,"year");h(0,["YYYYY",5],0,"year");h(0,["YYYYYY",6,!0],0,"year");O("year","y");T("year",1);u("Y",qe);u("YY",g,N);u("YYYY",Mt,gt);u("YYYYY",Be,ze);u("YYYYYY",Be,ze);S(["YYYYY","YYYYYY"],Y);S("YYYY",function(e,t){t[Y]=e.length===2?l.parseTwoDigitYear(e):m(e)});S("YY",function(e,t){t[Y]=l.parseTwoDigitYear(e)});S("Y",function(e,t){t[Y]=parseInt(e,10)});function ke(e){return $e(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var us=we("FullYear",!0);function Ur(){return $e(this.year())}function Cr(e,t,s,r,a,n,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,s,r,a,n,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,s,r,a,n,i),d}function ve(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ae(e,t,s){var r=7+t-s,a=(7+ve(e,0,r).getUTCDay()-t)%7;return-a+r-1}function ds(e,t,s,r,a){var n=(7+s-r)%7,i=Ae(e,r,a),d=1+7*(t-1)+n+i,c,p;return d<=0?(c=e-1,p=ke(c)+d):d>ke(e)?(c=e+1,p=d-ke(e)):(c=e,p=d),{year:c,dayOfYear:p}}function Ye(e,t,s){var r=Ae(e.year(),t,s),a=Math.floor((e.dayOfYear()-r-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+J(i,t,s)):a>J(e.year(),t,s)?(n=a-J(e.year(),t,s),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function J(e,t,s){var r=Ae(e,t,s),a=Ae(e+1,t,s);return(ke(e)-r+a)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");O("week","w");O("isoWeek","W");T("week",5);T("isoWeek",5);u("w",g);u("ww",g,N);u("W",g);u("WW",g,N);Re(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=m(e)});function Lr(e){return Ye(e,this._week.dow,this._week.doy).week}var Er={dow:0,doy:6};function Ir(){return this._week.dow}function Ar(){return this._week.doy}function Hr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Vr(e){var t=Ye(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day");h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});h("e",0,0,"weekday");h("E",0,0,"isoWeekday");O("day","d");O("weekday","e");O("isoWeekday","E");T("day",11);T("weekday",11);T("isoWeekday",11);u("d",g);u("e",g);u("E",g);u("dd",function(e,t){return t.weekdaysMinRegex(e)});u("ddd",function(e,t){return t.weekdaysShortRegex(e)});u("dddd",function(e,t){return t.weekdaysRegex(e)});Re(["dd","ddd","dddd"],function(e,t,s,r){var a=s._locale.weekdaysParse(e,r,s._strict);a!=null?t.d=a:f(s).invalidWeekday=e});Re(["d","e","E"],function(e,t,s,r){t[r]=m(e)});function Gr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function jr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function kt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $r="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zr=xe,Br=xe,qr=xe;function Jr(e,t){var s=C(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?kt(s,this._week.dow):e?s[e.day()]:s}function Qr(e){return e===!0?kt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Kr(e){return e===!0?kt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Xr(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=G([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return s?t==="dddd"?(a=k.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=k.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=k.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=k.call(this._weekdaysParse,i),a!==-1||(a=k.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=k.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=k.call(this._shortWeekdaysParse,i),a!==-1||(a=k.call(this._weekdaysParse,i),a!==-1)?a:(a=k.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=k.call(this._minWeekdaysParse,i),a!==-1||(a=k.call(this._weekdaysParse,i),a!==-1)?a:(a=k.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function ea(e,t,s){var r,a,n;if(this._weekdaysParseExact)return Xr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=G([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function ta(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Gr(e,this.localeData()),this.add(e-t,"d")):t}function sa(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 ra(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=jr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function aa(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=Zr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function na(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Br),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ia(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||vt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function vt(){function e(b,$){return $.length-b.length}var t=[],s=[],r=[],a=[],n,i,d,c,p;for(n=0;n<7;n++)i=G([2e3,1]).day(n),d=R(this.weekdaysMin(i,"")),c=R(this.weekdaysShort(i,"")),p=R(this.weekdays(i,"")),t.push(d),s.push(c),r.push(p),a.push(d),a.push(c),a.push(p);t.sort(e),s.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Yt(){return this.hours()%12||12}function oa(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Yt);h("k",["kk",2],0,oa);h("hmm",0,0,function(){return""+Yt.apply(this)+V(this.minutes(),2)});h("hmmss",0,0,function(){return""+Yt.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)});function fs(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fs("a",!0);fs("A",!1);O("hour","h");T("hour",13);function cs(e,t){return t._meridiemParse}u("a",cs);u("A",cs);u("H",g);u("h",g);u("k",g);u("HH",g,N);u("hh",g,N);u("kk",g,N);u("hmm",ss);u("hmmss",rs);u("Hmm",ss);u("Hmmss",rs);S(["H","HH"],v);S(["k","kk"],function(e,t,s){var r=m(e);t[v]=r===24?0:r});S(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e});S(["h","hh"],function(e,t,s){t[v]=m(e),f(s).bigHour=!0});S("hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[U]=m(e.substr(r)),f(s).bigHour=!0});S("hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[v]=m(e.substr(0,r)),t[U]=m(e.substr(r,2)),t[q]=m(e.substr(a)),f(s).bigHour=!0});S("Hmm",function(e,t,s){var r=e.length-2;t[v]=m(e.substr(0,r)),t[U]=m(e.substr(r))});S("Hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[v]=m(e.substr(0,r)),t[U]=m(e.substr(r,2)),t[q]=m(e.substr(a))});function la(e){return(e+"").toLowerCase().charAt(0)==="p"}var ua=/[ap]\.?m?\.?/i,da=we("Hours",!0);function ha(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ms={calendar:er,longDateFormat:ar,invalidDate:ir,ordinal:lr,dayOfMonthOrdinalParse:ur,relativeTime:hr,months:Yr,monthsShort:as,week:Er,weekdays:$r,weekdaysMin:zr,weekdaysShort:hs,meridiemParse:ua},M={},De={},Oe;function fa(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function jt(e){return e&&e.toLowerCase().replace("_","-")}function ca(e){for(var t=0,s,r,a,n;t<e.length;){for(n=jt(e[t]).split("-"),s=n.length,r=jt(e[t+1]),r=r?r.split("-"):null;s>0;){if(a=Ke(n.slice(0,s).join("-")),a)return a;if(r&&r.length>=s&&fa(n,r)>=s-1)break;s--}t++}return Oe}function ma(e){return e.match("^[^/\\\\]*$")!=null}function Ke(e){var t=null,s;if(M[e]===void 0&&typeof module<"u"&&module&&module.exports&&ma(e))try{t=Oe._abbr,s=Lt,s("./locale/"+e),re(t)}catch{M[e]=null}return M[e]}function re(e,t){var s;return e&&(x(t)?s=K(e):s=Ot(e,t),s?Oe=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Oe._abbr}function Ot(e,t){if(t!==null){var s,r=ms;if(t.abbr=e,M[e]!=null)Jt("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."),r=M[e]._config;else if(t.parentLocale!=null)if(M[t.parentLocale]!=null)r=M[t.parentLocale]._config;else if(s=Ke(t.parentLocale),s!=null)r=s._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return M[e]=new pt(ut(r,t)),De[e]&&De[e].forEach(function(a){Ot(a.name,a.config)}),re(e),M[e]}else return delete M[e],null}function _a(e,t){if(t!=null){var s,r,a=ms;M[e]!=null&&M[e].parentLocale!=null?M[e].set(ut(M[e]._config,t)):(r=Ke(e),r!=null&&(a=r._config),t=ut(a,t),r==null&&(t.abbr=e),s=new pt(t),s.parentLocale=M[e],M[e]=s),re(e)}else M[e]!=null&&(M[e].parentLocale!=null?(M[e]=M[e].parentLocale,e===re()&&re(e)):M[e]!=null&&delete M[e]);return M[e]}function K(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oe;if(!C(e)){if(t=Ke(e),t)return t;e=[e]}return ca(e)}function ya(){return dt(M)}function Tt(e){var t,s=e._a;return s&&f(e).overflow===-2&&(t=s[B]<0||s[B]>11?B:s[H]<1||s[H]>Qe(s[Y],s[B])?H:s[v]<0||s[v]>24||s[v]===24&&(s[U]!==0||s[q]!==0||s[le]!==0)?v:s[U]<0||s[U]>59?U:s[q]<0||s[q]>59?q:s[le]<0||s[le]>999?le:-1,f(e)._overflowDayOfYear&&(t<Y||t>H)&&(t=H),f(e)._overflowWeeks&&t===-1&&(t=Mr),f(e)._overflowWeekday&&t===-1&&(t=kr),f(e).overflow=t),e}var wa=/^\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)?)?$/,pa=/^\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)?)?$/,Sa=/Z|[+-]\d\d(?::?\d\d)?/,Fe=[["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/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],it=[["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/]],Da=/^\/?Date\((-?\d+)/i,ga=/^(?:(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}))$/,Ma={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 _s(e){var t,s,r=e._i,a=wa.exec(r)||pa.exec(r),n,i,d,c,p=Fe.length,b=it.length;if(a){for(f(e).iso=!0,t=0,s=p;t<s;t++)if(Fe[t][1].exec(a[1])){i=Fe[t][0],n=Fe[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,s=b;t<s;t++)if(it[t][1].exec(a[3])){d=(a[2]||" ")+it[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(Sa.exec(a[4]))c="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(c||""),xt(e)}else e._isValid=!1}function ka(e,t,s,r,a,n){var i=[va(e),as.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function va(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ya(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oa(e,t,s){if(e){var r=hs.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return f(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function Ta(e,t,s){if(e)return Ma[e];if(t)return 0;var r=parseInt(s,10),a=r%100,n=(r-a)/100;return n*60+a}function ys(e){var t=ga.exec(Ya(e._i)),s;if(t){if(s=ka(t[4],t[3],t[2],t[5],t[6],t[7]),!Oa(t[1],s,e))return;e._a=s,e._tzm=Ta(t[8],t[9],t[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function ba(e){var t=Da.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(_s(e),e._isValid===!1)delete e._isValid;else return;if(ys(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=W("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":""))});function fe(e,t,s){return e??t??s}function xa(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function bt(e){var t,s,r=[],a,n,i;if(!e._d){for(a=xa(e),e._w&&e._a[H]==null&&e._a[B]==null&&Ra(e),e._dayOfYear!=null&&(i=fe(e._a[Y],a[Y]),(e._dayOfYear>ke(i)||e._dayOfYear===0)&&(f(e)._overflowDayOfYear=!0),s=ve(i,0,e._dayOfYear),e._a[B]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[v]===24&&e._a[U]===0&&e._a[q]===0&&e._a[le]===0&&(e._nextDay=!0,e._a[v]=0),e._d=(e._useUTC?ve:Cr).apply(null,r),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[v]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(f(e).weekdayMismatch=!0)}}function Ra(e){var t,s,r,a,n,i,d,c,p;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,s=fe(t.GG,e._a[Y],Ye(D(),1,4).year),r=fe(t.W,1),a=fe(t.E,1),(a<1||a>7)&&(c=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,p=Ye(D(),n,i),s=fe(t.gg,e._a[Y],p.year),r=fe(t.w,p.week),t.d!=null?(a=t.d,(a<0||a>6)&&(c=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(c=!0)):a=n),r<1||r>J(s,n,i)?f(e)._overflowWeeks=!0:c!=null?f(e)._overflowWeekday=!0:(d=ds(s,r,a,n,i),e._a[Y]=d.year,e._dayOfYear=d.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function xt(e){if(e._f===l.ISO_8601){_s(e);return}if(e._f===l.RFC_2822){ys(e);return}e._a=[],f(e).empty=!0;var t=""+e._i,s,r,a,n,i,d=t.length,c=0,p,b;for(a=Qt(e._f,e._locale).match(St)||[],b=a.length,s=0;s<b;s++)n=a[s],r=(t.match(Sr(n,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&f(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),c+=r.length),me[n]?(r?f(e).empty=!1:f(e).unusedTokens.push(n),gr(n,r,e)):e._strict&&!r&&f(e).unusedTokens.push(n);f(e).charsLeftOver=d-c,t.length>0&&f(e).unusedInput.push(t),e._a[v]<=12&&f(e).bigHour===!0&&e._a[v]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[v]=Na(e._locale,e._a[v],e._meridiem),p=f(e).era,p!==null&&(e._a[Y]=e._locale.erasConvertYear(p,e._a[Y])),bt(e),Tt(e)}function Na(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Pa(e){var t,s,r,a,n,i,d=!1,c=e._f.length;if(c===0){f(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<c;a++)n=0,i=!1,t=wt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],xt(t),yt(t)&&(i=!0),n+=f(t).charsLeftOver,n+=f(t).unusedTokens.length*10,f(t).score=n,d?n<r&&(r=n,s=t):(r==null||n<r||i)&&(r=n,s=t,i&&(d=!0));te(e,s||t)}function Wa(e){if(!e._d){var t=Dt(e._i),s=t.day===void 0?t.date:t.day;e._a=Bt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),bt(e)}}function Fa(e){var t=new be(Tt(ws(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ws(e){var t=e._i,s=e._f;return e._locale=e._locale||K(e._l),t===null||s===void 0&&t===""?je({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),L(t)?new be(Tt(t)):(Te(t)?e._d=t:C(s)?Pa(e):s?xt(e):Ua(e),yt(e)||(e._d=null),e))}function Ua(e){var t=e._i;x(t)?e._d=new Date(l.now()):Te(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ba(e):C(t)?(e._a=Bt(t.slice(0),function(s){return parseInt(s,10)}),bt(e)):ue(t)?Wa(e):Q(t)?e._d=new Date(t):l.createFromInputFallback(e)}function ps(e,t,s,r,a){var n={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(ue(e)&&_t(e)||C(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=s,n._i=e,n._f=t,n._strict=r,Fa(n)}function D(e,t,s,r){return ps(e,t,s,r,!1)}var Ca=W("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:je()}),La=W("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:je()});function Ss(e,t){var s,r;if(t.length===1&&C(t[0])&&(t=t[0]),!t.length)return D();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Ea(){var e=[].slice.call(arguments,0);return Ss("isBefore",e)}function Ia(){var e=[].slice.call(arguments,0);return Ss("isAfter",e)}var Aa=function(){return Date.now?Date.now():+new Date},ge=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ha(e){var t,s=!1,r,a=ge.length;for(t in e)if(y(e,t)&&!(k.call(ge,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[ge[r]]){if(s)return!1;parseFloat(e[ge[r]])!==m(e[ge[r]])&&(s=!0)}return!0}function Va(){return this._isValid}function Ga(){return E(NaN)}function Xe(e){var t=Dt(e),s=t.year||0,r=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,c=t.minute||0,p=t.second||0,b=t.millisecond||0;this._isValid=Ha(t),this._milliseconds=+b+p*1e3+c*6e4+d*1e3*60*60,this._days=+i+n*7,this._months=+a+r*3+s*12,this._data={},this._locale=K(),this._bubble()}function Ce(e){return e instanceof Xe}function ft(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ja(e,t,s){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<r;i++)(s&&e[i]!==t[i]||!s&&m(e[i])!==m(t[i]))&&n++;return n+a}function Ds(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+V(~~(s/60),2)+t+V(~~s%60,2)})}Ds("Z",":");Ds("ZZ","");u("Z",Je);u("ZZ",Je);S(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Rt(Je,e)});var $a=/([\+\-]|\d\d)/gi;function Rt(e,t){var s=(t||"").match(e),r,a,n;return s===null?null:(r=s[s.length-1]||[],a=(r+"").match($a)||["-",0,0],n=+(a[1]*60)+m(a[2]),n===0?0:a[0]==="+"?n:-n)}function Nt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(L(e)||Te(e)?e.valueOf():D(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),l.updateOffset(s,!1),s):D(e).local()}function ct(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function za(e,t,s){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Rt(Je,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(a=ct(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?ks(this,E(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:ct(this)}function Za(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ba(e){return this.utcOffset(0,e)}function qa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ct(this),"m")),this}function Ja(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Rt(wr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Qa(e){return this.isValid()?(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ka(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Xa(){if(!x(this._isDSTShifted))return this._isDSTShifted;var e={},t;return wt(e,this),e=ws(e),e._a?(t=e._isUTC?G(e._a):D(e._a),this._isDSTShifted=this.isValid()&&ja(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function en(){return this.isValid()?!this._isUTC:!1}function tn(){return this.isValid()?this._isUTC:!1}function gs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var sn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,rn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function E(e,t){var s=e,r=null,a,n,i;return Ce(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:Q(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=sn.exec(e))?(a=r[1]==="-"?-1:1,s={y:0,d:m(r[H])*a,h:m(r[v])*a,m:m(r[U])*a,s:m(r[q])*a,ms:m(ft(r[le]*1e3))*a}):(r=rn.exec(e))?(a=r[1]==="-"?-1:1,s={y:oe(r[2],a),M:oe(r[3],a),w:oe(r[4],a),d:oe(r[5],a),h:oe(r[6],a),m:oe(r[7],a),s:oe(r[8],a)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=an(D(s.from),D(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),n=new Xe(s),Ce(e)&&y(e,"_locale")&&(n._locale=e._locale),Ce(e)&&y(e,"_isValid")&&(n._isValid=e._isValid),n}E.fn=Xe.prototype;E.invalid=Ga;function oe(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function $t(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function an(e,t){var s;return e.isValid()&&t.isValid()?(t=Nt(t,e),e.isBefore(t)?s=$t(e,t):(s=$t(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Ms(e,t){return function(s,r){var a,n;return r!==null&&!isNaN(+r)&&(Jt(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."),n=s,s=r,r=n),a=E(s,r),ks(this,a,e),this}}function ks(e,t,s,r){var a=t._milliseconds,n=ft(t._days),i=ft(t._months);e.isValid()&&(r=r??!0,i&&is(e,Ee(e,"Month")+i*s),n&&Xt(e,"Date",Ee(e,"Date")+n*s),a&&e._d.setTime(e._d.valueOf()+a*s),r&&l.updateOffset(e,n||i))}var nn=Ms(1,"add"),on=Ms(-1,"subtract");function vs(e){return typeof e=="string"||e instanceof String}function ln(e){return L(e)||Te(e)||vs(e)||Q(e)||dn(e)||un(e)||e===null||e===void 0}function un(e){var t=ue(e)&&!_t(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,i=r.length;for(a=0;a<i;a+=1)n=r[a],s=s||y(e,n);return t&&s}function dn(e){var t=C(e),s=!1;return t&&(s=e.filter(function(r){return!Q(r)&&vs(e)}).length===0),t&&s}function hn(e){var t=ue(e)&&!_t(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<r.length;a+=1)n=r[a],s=s||y(e,n);return t&&s}function fn(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function cn(e,t){arguments.length===1&&(arguments[0]?ln(arguments[0])?(e=arguments[0],t=void 0):hn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||D(),r=Nt(s,this).startOf("day"),a=l.calendarFormat(this,r)||"sameElse",n=t&&(j(t[a])?t[a].call(this,s):t[a]);return this.format(n||this.localeData().calendar(a,this,D(s)))}function mn(){return new be(this)}function _n(e,t){var s=L(e)?e:D(e);return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function yn(e,t){var s=L(e)?e:D(e);return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function wn(e,t,s,r){var a=L(e)?e:D(e),n=L(t)?t:D(t);return this.isValid()&&a.isValid()&&n.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,s):!this.isBefore(a,s))&&(r[1]===")"?this.isBefore(n,s):!this.isAfter(n,s))):!1}function pn(e,t){var s=L(e)?e:D(e),r;return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Sn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Dn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function gn(e,t,s){var r,a,n;if(!this.isValid())return NaN;if(r=Nt(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=F(t),t){case"year":n=Le(this,r)/12;break;case"month":n=Le(this,r);break;case"quarter":n=Le(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-a)/864e5;break;case"week":n=(this-r-a)/6048e5;break;default:n=this-r}return s?n:P(n)}function Le(e,t){if(e.date()<t.date())return-Le(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),a,n;return t-r<0?(a=e.clone().add(s-1,"months"),n=(t-r)/(r-a)):(a=e.clone().add(s+1,"months"),n=(t-r)/(a-r)),-(s+n)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Mn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kn(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Ue(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ue(s,"Z")):Ue(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(s+r+a+n)}function Yn(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ue(this,e);return this.localeData().postformat(t)}function On(e,t){return this.isValid()&&(L(e)&&e.isValid()||D(e).isValid())?E({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Tn(e){return this.from(D(),e)}function bn(e,t){return this.isValid()&&(L(e)&&e.isValid()||D(e).isValid())?E({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function xn(e){return this.to(D(),e)}function Ys(e){var t;return e===void 0?this._locale._abbr:(t=K(e),t!=null&&(this._locale=t),this)}var Os=W("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ts(){return this._locale}var He=1e3,_e=60*He,Ve=60*_e,bs=(365*400+97)*24*Ve;function ye(e,t){return(e%t+t)%t}function xs(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-bs:new Date(e,t,s).valueOf()}function Rs(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-bs:Date.UTC(e,t,s)}function Rn(e){var t,s;if(e=F(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Rs:xs,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ye(t+(this._isUTC?0:this.utcOffset()*_e),Ve);break;case"minute":t=this._d.valueOf(),t-=ye(t,_e);break;case"second":t=this._d.valueOf(),t-=ye(t,He);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Nn(e){var t,s;if(e=F(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Rs:xs,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ve-ye(t+(this._isUTC?0:this.utcOffset()*_e),Ve)-1;break;case"minute":t=this._d.valueOf(),t+=_e-ye(t,_e)-1;break;case"second":t=this._d.valueOf(),t+=He-ye(t,He)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Pn(){return this._d.valueOf()-(this._offset||0)*6e4}function Wn(){return Math.floor(this.valueOf()/1e3)}function Fn(){return new Date(this.valueOf())}function Un(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Cn(){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 Ln(){return this.isValid()?this.toISOString():null}function En(){return yt(this)}function In(){return te({},f(this))}function An(){return f(this).overflow}function Hn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr");h("NN",0,0,"eraAbbr");h("NNN",0,0,"eraAbbr");h("NNNN",0,0,"eraName");h("NNNNN",0,0,"eraNarrow");h("y",["y",1],"yo","eraYear");h("y",["yy",2],0,"eraYear");h("y",["yyy",3],0,"eraYear");h("y",["yyyy",4],0,"eraYear");u("N",Pt);u("NN",Pt);u("NNN",Pt);u("NNNN",Kn);u("NNNNN",Xn);S(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var a=s._locale.erasParse(e,r,s._strict);a?f(s).era=a:f(s).invalidEra=e});u("y",pe);u("yy",pe);u("yyy",pe);u("yyyy",pe);u("yo",ei);S(["y","yy","yyy","yyyy"],Y);S(["yo"],function(e,t,s,r){var a;s._locale._eraYearOrdinalRegex&&(a=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Y]=s._locale.eraYearOrdinalParse(e,a):t[Y]=parseInt(e,10)});function Vn(e,t){var s,r,a,n=this._eras||K("en")._eras;for(s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":a=l(n[s].since).startOf("day"),n[s].since=a.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":a=l(n[s].until).startOf("day").valueOf(),n[s].until=a.valueOf();break}}return n}function Gn(e,t,s){var r,a,n=this.eras(),i,d,c;for(e=e.toUpperCase(),r=0,a=n.length;r<a;++r)if(i=n[r].name.toUpperCase(),d=n[r].abbr.toUpperCase(),c=n[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[r];break;case"NNNN":if(i===e)return n[r];break;case"NNNNN":if(c===e)return n[r];break}else if([i,d,c].indexOf(e)>=0)return n[r]}function jn(e,t){var s=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*s}function $n(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function zn(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function Zn(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function Bn(){var e,t,s,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(s=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-l(a[e].since).year())*s+a[e].offset;return this.year()}function qn(e){return y(this,"_erasNameRegex")||Wt.call(this),e?this._erasNameRegex:this._erasRegex}function Jn(e){return y(this,"_erasAbbrRegex")||Wt.call(this),e?this._erasAbbrRegex:this._erasRegex}function Qn(e){return y(this,"_erasNarrowRegex")||Wt.call(this),e?this._erasNarrowRegex:this._erasRegex}function Pt(e,t){return t.erasAbbrRegex(e)}function Kn(e,t){return t.erasNameRegex(e)}function Xn(e,t){return t.erasNarrowRegex(e)}function ei(e,t){return t._eraYearOrdinalRegex||pe}function Wt(){var e=[],t=[],s=[],r=[],a,n,i=this.eras();for(a=0,n=i.length;a<n;++a)t.push(R(i[a].name)),e.push(R(i[a].abbr)),s.push(R(i[a].narrow)),r.push(R(i[a].name)),r.push(R(i[a].abbr)),r.push(R(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function et(e,t){h(0,[e,e.length],0,t)}et("gggg","weekYear");et("ggggg","weekYear");et("GGGG","isoWeekYear");et("GGGGG","isoWeekYear");O("weekYear","gg");O("isoWeekYear","GG");T("weekYear",1);T("isoWeekYear",1);u("G",qe);u("g",qe);u("GG",g,N);u("gg",g,N);u("GGGG",Mt,gt);u("gggg",Mt,gt);u("GGGGG",Be,ze);u("ggggg",Be,ze);Re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=m(e)});Re(["gg","GG"],function(e,t,s,r){t[r]=l.parseTwoDigitYear(e)});function ti(e){return Ns.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function si(e){return Ns.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ri(){return J(this.year(),1,4)}function ai(){return J(this.isoWeekYear(),1,4)}function ni(){var e=this.localeData()._week;return J(this.year(),e.dow,e.doy)}function ii(){var e=this.localeData()._week;return J(this.weekYear(),e.dow,e.doy)}function Ns(e,t,s,r,a){var n;return e==null?Ye(this,r,a).year:(n=J(e,r,a),t>n&&(t=n),oi.call(this,e,t,s,r,a))}function oi(e,t,s,r,a){var n=ds(e,t,s,r,a),i=ve(n.year,0,n.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter");O("quarter","Q");T("quarter",7);u("Q",es);S("Q",function(e,t){t[B]=(m(e)-1)*3});function li(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");O("date","D");T("date",9);u("D",g);u("DD",g,N);u("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});S(["D","DD"],H);S("Do",function(e,t){t[H]=m(e.match(g)[0])});var Ps=we("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");O("dayOfYear","DDD");T("dayOfYear",4);u("DDD",Ze);u("DDDD",ts);S(["DDD","DDDD"],function(e,t,s){s._dayOfYear=m(e)});function ui(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute");O("minute","m");T("minute",14);u("m",g);u("mm",g,N);S(["m","mm"],U);var di=we("Minutes",!1);h("s",["ss",2],0,"second");O("second","s");T("second",15);u("s",g);u("ss",g,N);S(["s","ss"],q);var hi=we("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)});h(0,["SS",2],0,function(){return~~(this.millisecond()/10)});h(0,["SSS",3],0,"millisecond");h(0,["SSSS",4],0,function(){return this.millisecond()*10});h(0,["SSSSS",5],0,function(){return this.millisecond()*100});h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});O("millisecond","ms");T("millisecond",16);u("S",Ze,es);u("SS",Ze,N);u("SSS",Ze,ts);var se,Ws;for(se="SSSS";se.length<=9;se+="S")u(se,pe);function fi(e,t){t[le]=m(("0."+e)*1e3)}for(se="S";se.length<=9;se+="S")S(se,fi);Ws=we("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function ci(){return this._isUTC?"UTC":""}function mi(){return this._isUTC?"Coordinated Universal Time":""}var o=be.prototype;o.add=nn;o.calendar=cn;o.clone=mn;o.diff=gn;o.endOf=Nn;o.format=Yn;o.from=On;o.fromNow=Tn;o.to=bn;o.toNow=xn;o.get=_r;o.invalidAt=An;o.isAfter=_n;o.isBefore=yn;o.isBetween=wn;o.isSame=pn;o.isSameOrAfter=Sn;o.isSameOrBefore=Dn;o.isValid=En;o.lang=Os;o.locale=Ys;o.localeData=Ts;o.max=La;o.min=Ca;o.parsingFlags=In;o.set=yr;o.startOf=Rn;o.subtract=on;o.toArray=Un;o.toObject=Cn;o.toDate=Fn;o.toISOString=kn;o.inspect=vn;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ln;o.toString=Mn;o.unix=Wn;o.valueOf=Pn;o.creationData=Hn;o.eraName=$n;o.eraNarrow=zn;o.eraAbbr=Zn;o.eraYear=Bn;o.year=us;o.isLeapYear=Ur;o.weekYear=ti;o.isoWeekYear=si;o.quarter=o.quarters=li;o.month=os;o.daysInMonth=Pr;o.week=o.weeks=Hr;o.isoWeek=o.isoWeeks=Vr;o.weeksInYear=ni;o.weeksInWeekYear=ii;o.isoWeeksInYear=ri;o.isoWeeksInISOWeekYear=ai;o.date=Ps;o.day=o.days=ta;o.weekday=sa;o.isoWeekday=ra;o.dayOfYear=ui;o.hour=o.hours=da;o.minute=o.minutes=di;o.second=o.seconds=hi;o.millisecond=o.milliseconds=Ws;o.utcOffset=za;o.utc=Ba;o.local=qa;o.parseZone=Ja;o.hasAlignedHourOffset=Qa;o.isDST=Ka;o.isLocal=en;o.isUtcOffset=tn;o.isUtc=gs;o.isUTC=gs;o.zoneAbbr=ci;o.zoneName=mi;o.dates=W("dates accessor is deprecated. Use date instead.",Ps);o.months=W("months accessor is deprecated. Use month instead",os);o.years=W("years accessor is deprecated. Use year instead",us);o.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Za);o.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Xa);function _i(e){return D(e*1e3)}function yi(){return D.apply(null,arguments).parseZone()}function Fs(e){return e}var w=pt.prototype;w.calendar=tr;w.longDateFormat=nr;w.invalidDate=or;w.ordinal=dr;w.preparse=Fs;w.postformat=Fs;w.relativeTime=fr;w.pastFuture=cr;w.set=Xs;w.eras=Vn;w.erasParse=Gn;w.erasConvertYear=jn;w.erasAbbrRegex=Jn;w.erasNameRegex=qn;w.erasNarrowRegex=Qn;w.months=br;w.monthsShort=xr;w.monthsParse=Nr;w.monthsRegex=Fr;w.monthsShortRegex=Wr;w.week=Lr;w.firstDayOfYear=Ar;w.firstDayOfWeek=Ir;w.weekdays=Jr;w.weekdaysMin=Kr;w.weekdaysShort=Qr;w.weekdaysParse=ea;w.weekdaysRegex=aa;w.weekdaysShortRegex=na;w.weekdaysMinRegex=ia;w.isPM=la;w.meridiem=ha;function Ge(e,t,s,r){var a=K(),n=G().set(r,t);return a[s](n,e)}function Us(e,t,s){if(Q(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ge(e,t,s,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Ge(e,r,s,"month");return a}function Ft(e,t,s,r){typeof e=="boolean"?(Q(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,Q(t)&&(s=t,t=void 0),t=t||"");var a=K(),n=e?a._week.dow:0,i,d=[];if(s!=null)return Ge(t,(s+n)%7,r,"day");for(i=0;i<7;i++)d[i]=Ge(t,(i+n)%7,r,"day");return d}function wi(e,t){return Us(e,t,"months")}function pi(e,t){return Us(e,t,"monthsShort")}function Si(e,t,s){return Ft(e,t,s,"weekdays")}function Di(e,t,s){return Ft(e,t,s,"weekdaysShort")}function gi(e,t,s){return Ft(e,t,s,"weekdaysMin")}re("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}});l.lang=W("moment.lang is deprecated. Use moment.locale instead.",re);l.langData=W("moment.langData is deprecated. Use moment.localeData instead.",K);var z=Math.abs;function Mi(){var e=this._data;return this._milliseconds=z(this._milliseconds),this._days=z(this._days),this._months=z(this._months),e.milliseconds=z(e.milliseconds),e.seconds=z(e.seconds),e.minutes=z(e.minutes),e.hours=z(e.hours),e.months=z(e.months),e.years=z(e.years),this}function Cs(e,t,s,r){var a=E(t,s);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function ki(e,t){return Cs(this,e,t,1)}function vi(e,t){return Cs(this,e,t,-1)}function zt(e){return e<0?Math.floor(e):Math.ceil(e)}function Yi(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,a,n,i,d,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=zt(mt(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,a=P(e/1e3),r.seconds=a%60,n=P(a/60),r.minutes=n%60,i=P(n/60),r.hours=i%24,t+=P(i/24),c=P(Ls(t)),s+=c,t-=zt(mt(c)),d=P(s/12),s%=12,r.days=t,r.months=s,r.years=d,this}function Ls(e){return e*4800/146097}function mt(e){return e*146097/4800}function Oi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=F(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Ls(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(mt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Ti(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+m(this._months/12)*31536e6:NaN}function X(e){return function(){return this.as(e)}}var bi=X("ms"),xi=X("s"),Ri=X("m"),Ni=X("h"),Pi=X("d"),Wi=X("w"),Fi=X("M"),Ui=X("Q"),Ci=X("y");function Li(){return E(this)}function Ei(e){return e=F(e),this.isValid()?this[e+"s"]():NaN}function de(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ii=de("milliseconds"),Ai=de("seconds"),Hi=de("minutes"),Vi=de("hours"),Gi=de("days"),ji=de("months"),$i=de("years");function zi(){return P(this.days()/7)}var Z=Math.round,ce={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zi(e,t,s,r,a){return a.relativeTime(t||1,!!s,e,r)}function Bi(e,t,s,r){var a=E(e).abs(),n=Z(a.as("s")),i=Z(a.as("m")),d=Z(a.as("h")),c=Z(a.as("d")),p=Z(a.as("M")),b=Z(a.as("w")),$=Z(a.as("y")),ee=n<=s.ss&&["s",n]||n<s.s&&["ss",n]||i<=1&&["m"]||i<s.m&&["mm",i]||d<=1&&["h"]||d<s.h&&["hh",d]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(ee=ee||b<=1&&["w"]||b<s.w&&["ww",b]),ee=ee||p<=1&&["M"]||p<s.M&&["MM",p]||$<=1&&["y"]||["yy",$],ee[2]=t,ee[3]=+e>0,ee[4]=r,Zi.apply(null,ee)}function qi(e){return e===void 0?Z:typeof e=="function"?(Z=e,!0):!1}function Ji(e,t){return ce[e]===void 0?!1:t===void 0?ce[e]:(ce[e]=t,e==="s"&&(ce.ss=t-1),!0)}function Qi(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=ce,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},ce,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),n=Bi(this,!s,r,a),s&&(n=a.pastFuture(+this,n)),a.postformat(n)}var ot=Math.abs;function he(e){return(e>0)-(e<0)||+e}function tt(){if(!this.isValid())return this.localeData().invalidDate();var e=ot(this._milliseconds)/1e3,t=ot(this._days),s=ot(this._months),r,a,n,i,d=this.asSeconds(),c,p,b,$;return d?(r=P(e/60),a=P(r/60),e%=60,r%=60,n=P(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=d<0?"-":"",p=he(this._months)!==he(d)?"-":"",b=he(this._days)!==he(d)?"-":"",$=he(this._milliseconds)!==he(d)?"-":"",c+"P"+(n?p+n+"Y":"")+(s?p+s+"M":"")+(t?b+t+"D":"")+(a||r||e?"T":"")+(a?$+a+"H":"")+(r?$+r+"M":"")+(e?$+i+"S":"")):"P0D"}var _=Xe.prototype;_.isValid=Va;_.abs=Mi;_.add=ki;_.subtract=vi;_.as=Oi;_.asMilliseconds=bi;_.asSeconds=xi;_.asMinutes=Ri;_.asHours=Ni;_.asDays=Pi;_.asWeeks=Wi;_.asMonths=Fi;_.asQuarters=Ui;_.asYears=Ci;_.valueOf=Ti;_._bubble=Yi;_.clone=Li;_.get=Ei;_.milliseconds=Ii;_.seconds=Ai;_.minutes=Hi;_.hours=Vi;_.days=Gi;_.weeks=zi;_.months=ji;_.years=$i;_.humanize=Qi;_.toISOString=tt;_.toString=tt;_.toJSON=tt;_.locale=Ys;_.localeData=Ts;_.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",tt);_.lang=Os;h("X",0,0,"unix");h("x",0,0,"valueOf");u("x",qe);u("X",pr);S("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)});S("x",function(e,t,s){s._d=new Date(m(e))});l.version="2.29.4";Qs(D);l.fn=o;l.min=Ea;l.max=Ia;l.now=Aa;l.utc=G;l.unix=_i;l.months=wi;l.isDate=Te;l.locale=re;l.invalid=je;l.duration=E;l.isMoment=L;l.weekdays=Si;l.parseZone=yi;l.localeData=K;l.isDuration=Ce;l.monthsShort=pi;l.weekdaysMin=gi;l.defineLocale=Ot;l.updateLocale=_a;l.locales=ya;l.weekdaysShort=Di;l.normalizeUnits=F;l.relativeTimeRounding=qi;l.relativeTimeThreshold=Ji;l.calendarFormat=fn;l.prototype=o;l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var Ut=l;var Gs=ie(Is());var As=ie(rt()),ae=ie(Pe()),st={contentFont:ae.FtCssVariableFactory.external(ae.designSystemVariables.contentFont,"Design system"),colorOnSurfaceHigh:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceHigh,"Design system"),colorOnSurfaceMedium:ae.FtCssVariableFactory.external(ae.designSystemVariables.colorOnSurfaceMedium,"Design system")},Hs=As.css`
|
|
10
5
|
|
|
11
6
|
table {
|
|
12
|
-
font-family: ${
|
|
7
|
+
font-family: ${st.contentFont};
|
|
13
8
|
padding-top: 10px;
|
|
14
9
|
}
|
|
15
10
|
|
|
16
11
|
.document-views {
|
|
17
|
-
color: ${
|
|
12
|
+
color: ${st.colorOnSurfaceHigh};
|
|
18
13
|
padding-right: 10px;
|
|
19
14
|
}
|
|
20
15
|
|
|
21
16
|
.document-title {
|
|
22
|
-
color: ${
|
|
17
|
+
color: ${st.colorOnSurfaceMedium};
|
|
23
18
|
padding-left: 10px;
|
|
24
19
|
}
|
|
25
20
|
|
|
@@ -29,37 +24,50 @@ o.version="2.29.4",s=Ln,o.fn=Wi,o.min=function(){return Zn("isBefore",[].slice.c
|
|
|
29
24
|
}
|
|
30
25
|
|
|
31
26
|
ft-icon {
|
|
32
|
-
color: ${
|
|
27
|
+
color: ${st.colorOnSurfaceMedium};
|
|
33
28
|
}
|
|
34
29
|
|
|
35
|
-
`;var
|
|
30
|
+
`;var Se=function(e,t,s,r){var a=arguments.length,n=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,s):r,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,s,r);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(n=(a<3?i(n):a>3?i(t,s,n):i(t,s))||n);return a>3&&n&&Object.defineProperty(t,s,n),n},A=class e extends Vs.FtLitElement{constructor(){super(...arguments),this.baseUrl="",this.startDate=Ut.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=Ut.utc().startOf("month").format("YYYY-MM-DD"),this.documentNumber=10,this.documents=[],this.emptyResults=!1}render(){return this.documents.length===0?this.emptyResults?I.html`
|
|
36
31
|
<ft-typography variant="body1">No results during this period</ft-typography>
|
|
37
|
-
`:
|
|
32
|
+
`:I.html`
|
|
38
33
|
<div class="loader">
|
|
39
34
|
<ft-loader></ft-loader>
|
|
40
35
|
</div>
|
|
41
|
-
`:
|
|
36
|
+
`:I.html`
|
|
42
37
|
<div class="ft-analytics-top-documents">
|
|
43
38
|
<table>
|
|
44
|
-
${
|
|
39
|
+
${(0,Gs.repeat)(this.documents,t=>this.renderDocument(t))}
|
|
45
40
|
</table>
|
|
46
41
|
</div>
|
|
47
|
-
`}renderDocument(t){return
|
|
42
|
+
`}renderDocument(t){return I.html`
|
|
48
43
|
<tr data-title="${t.id}" style="overflow:hidden; width:100%">
|
|
49
44
|
<td class="document-views">
|
|
50
45
|
${t.displayCount.toLocaleString()}
|
|
51
46
|
</td>
|
|
52
47
|
<td>
|
|
53
|
-
${
|
|
48
|
+
${e.getIcon(t.type)}
|
|
54
49
|
</td>
|
|
55
50
|
<td class="document-title">
|
|
56
51
|
${t.title}
|
|
57
52
|
</td>
|
|
58
53
|
</tr>
|
|
59
|
-
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchDocuments().catch(
|
|
54
|
+
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchDocuments().catch(s=>console.error("Cannot fetch documents: ",s))}async fetchDocuments(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/documents/views-top",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,paging:{page:1,perPage:this.documentNumber},startDate:this.startDate})});t.ok?(this.documents=(await t.json()).results,this.documents.length===0&&(this.emptyResults=!0)):console.log((await t.json()).message)}}static getIcon(t){switch(t){case"STRUCTURED_DOCUMENT":return I.html`
|
|
60
55
|
<ft-icon>BOOK_PLAIN</ft-icon>
|
|
61
|
-
`;case"UNSTRUCTURED_DOCUMENT":
|
|
56
|
+
`;case"UNSTRUCTURED_DOCUMENT":return I.html`
|
|
62
57
|
<ft-icon>UNSTRUCTURED_DOC</ft-icon>
|
|
63
|
-
`;case"SHARED_PERSONAL_BOOK":return
|
|
58
|
+
`;case"SHARED_PERSONAL_BOOK":return I.html`
|
|
64
59
|
<ft-icon>SHARED_PBK</ft-icon>
|
|
65
|
-
`;
|
|
60
|
+
`;case"MAP_ATTACHMENT":return I.html`
|
|
61
|
+
<ft-icon>UNSTRUCTURED_DOC</ft-icon>
|
|
62
|
+
`;case"RESOURCE":return I.html`
|
|
63
|
+
<ft-icon>UNSTRUCTURED_DOC</ft-icon>
|
|
64
|
+
`;default:return I.html``}}};A.styles=Hs;Se([(0,ne.property)({type:String})],A.prototype,"baseUrl",void 0);Se([(0,ne.property)({type:String})],A.prototype,"startDate",void 0);Se([(0,ne.property)({type:String})],A.prototype,"endDate",void 0);Se([(0,ne.property)({type:String})],A.prototype,"documentNumber",void 0);Se([(0,ne.state)()],A.prototype,"documents",void 0);Se([(0,ne.state)()],A.prototype,"emptyResults",void 0);(0,js.customElement)("ft-analytics-top-documents")(A);})();
|
|
65
|
+
/*! Bundled license information:
|
|
66
|
+
|
|
67
|
+
moment/dist/moment.js:
|
|
68
|
+
(*! moment.js *)
|
|
69
|
+
(*! version : 2.29.4 *)
|
|
70
|
+
(*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *)
|
|
71
|
+
(*! license : MIT *)
|
|
72
|
+
(*! momentjs.com *)
|
|
73
|
+
*/
|