@fluid-topics/ft-analytics-sessions-chart 1.4.5 → 2.0.1
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/define.js
ADDED
|
@@ -4,13 +4,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { html } from "lit";
|
|
8
|
-
import { property, state } from "lit/decorators.js";
|
|
9
|
-
import {
|
|
7
|
+
import { html, } from "lit";
|
|
8
|
+
import { property, state, } from "lit/decorators.js";
|
|
9
|
+
import { FtLitElement, } from "@fluid-topics/ft-wc-utils";
|
|
10
10
|
import moment from "moment";
|
|
11
|
-
import { FtChart, Period } from "@fluid-topics/ft-chart";
|
|
11
|
+
import { FtChart, Period, } from "@fluid-topics/ft-chart";
|
|
12
12
|
import { styles } from "./ft-analytics-sessions-chart.styles";
|
|
13
|
-
|
|
13
|
+
class FtAnalyticsSessionsChart extends FtLitElement {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this.baseUrl = "";
|
|
@@ -54,20 +54,20 @@ let FtAnalyticsSessionsChart = class FtAnalyticsSessionsChart extends FtLitEleme
|
|
|
54
54
|
}
|
|
55
55
|
async fetchSessions() {
|
|
56
56
|
if (this.baseUrl) {
|
|
57
|
-
|
|
57
|
+
const response = await fetch(this.baseUrl + `/analytics/api/v2/traffic/sessions`, {
|
|
58
58
|
method: "POST",
|
|
59
59
|
headers: {
|
|
60
60
|
"Content-Type": "application/json",
|
|
61
|
-
"Ft-Calling-App": "analytics/web-component"
|
|
61
|
+
"Ft-Calling-App": "analytics/web-component",
|
|
62
62
|
},
|
|
63
63
|
body: JSON.stringify({
|
|
64
64
|
endDate: this.endDate,
|
|
65
65
|
groupByPeriod: this.period.toLowerCase(),
|
|
66
|
-
startDate: this.startDate
|
|
67
|
-
})
|
|
66
|
+
startDate: this.startDate,
|
|
67
|
+
}),
|
|
68
68
|
});
|
|
69
69
|
if (response.ok) {
|
|
70
|
-
|
|
70
|
+
const results = (await response.json()).results;
|
|
71
71
|
this.data = this.getData(results);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
@@ -76,11 +76,11 @@ let FtAnalyticsSessionsChart = class FtAnalyticsSessionsChart extends FtLitEleme
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
getData(results) {
|
|
79
|
-
return results.map(dot => [moment.utc(dot.periodStartDate, "YYYY-MM-DD").unix(), dot.sessionCount]);
|
|
79
|
+
return results.map((dot) => [moment.utc(dot.periodStartDate, "YYYY-MM-DD").unix(), dot.sessionCount]);
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|
|
82
82
|
FtAnalyticsSessionsChart.elementDefinitions = {
|
|
83
|
-
"ft-chart": FtChart
|
|
83
|
+
"ft-chart": FtChart,
|
|
84
84
|
};
|
|
85
85
|
FtAnalyticsSessionsChart.styles = styles;
|
|
86
86
|
__decorate([
|
|
@@ -116,7 +116,4 @@ __decorate([
|
|
|
116
116
|
__decorate([
|
|
117
117
|
state()
|
|
118
118
|
], FtAnalyticsSessionsChart.prototype, "data", void 0);
|
|
119
|
-
FtAnalyticsSessionsChart = __decorate([
|
|
120
|
-
customElement("ft-analytics-sessions-chart")
|
|
121
|
-
], FtAnalyticsSessionsChart);
|
|
122
119
|
export { FtAnalyticsSessionsChart };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
[`+i+"] ";for(n in arguments[0])y(arguments[0],n)&&(a+=n+": "+arguments[0][n]+", ");a=a.slice(0,-2)}else a=arguments[i];s.push(a)}
|
|
1
|
+
"use strict";(()=>{var Zr=Object.create;var At=Object.defineProperty;var Jr=Object.getOwnPropertyDescriptor;var qr=Object.getOwnPropertyNames;var Qr=Object.getPrototypeOf,Kr=Object.prototype.hasOwnProperty;var It=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var nt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Xr=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of qr(t))!Kr.call(e,a)&&a!==r&&At(e,a,{get:()=>t[a],enumerable:!(s=Jr(t,a))||s.enumerable});return e};var K=(e,t,r)=>(r=e!=null?Zr(Qr(e)):{},Xr(t||!e||!e.__esModule?At(r,"default",{value:e,enumerable:!0}):r,e));var Le=nt((ro,Ht)=>{Ht.exports=ftGlobals.wcUtils});var Ye=nt((so,Gt)=>{Gt.exports=ftGlobals.lit});var ot=nt((ao,Vt)=>{Vt.exports=ftGlobals.litDecorators});var Br=K(Le());var $r=K(Ye()),U=K(ot()),zr=K(Le());var Jt;function l(){return Jt.apply(null,arguments)}function es(e){Jt=e}function V(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ce(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function wt(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 W(e){return e===void 0}function ae(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function We(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function qt(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function le(e,t){for(var r in t)y(t,r)&&(e[r]=t[r]);return y(t,"toString")&&(e.toString=t.toString),y(t,"valueOf")&&(e.valueOf=t.valueOf),e}function q(e,t,r,s){return Sr(e,t,r,s,!0).utc()}function ts(){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 c(e){return e._pf==null&&(e._pf=ts()),e._pf}var ft;Array.prototype.some?ft=Array.prototype.some:ft=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function St(e){if(e._isValid==null){var t=c(e),r=ft.call(t.parsedDateParts,function(a){return a!=null}),s=!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&&r);if(e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s}return e._isValid}function Ze(e){var t=q(NaN);return e!=null?le(c(t),e):c(t).userInvalidated=!0,t}var jt=l.momentProperties=[],lt=!1;function Mt(e,t){var r,s,a,i=jt.length;if(W(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),W(t._i)||(e._i=t._i),W(t._f)||(e._f=t._f),W(t._l)||(e._l=t._l),W(t._strict)||(e._strict=t._strict),W(t._tzm)||(e._tzm=t._tzm),W(t._isUTC)||(e._isUTC=t._isUTC),W(t._offset)||(e._offset=t._offset),W(t._pf)||(e._pf=c(t)),W(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)s=jt[r],a=t[s],W(a)||(e[s]=a);return e}function Re(e){Mt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),lt===!1&&(lt=!0,l.updateOffset(this),lt=!1)}function j(e){return e instanceof Re||e!=null&&e._isAMomentObject!=null}function Qt(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function A(e,t){var r=!0;return le(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),r){var s=[],a,i,n,u=arguments.length;for(i=0;i<u;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
2
|
+
[`+i+"] ";for(n in arguments[0])y(arguments[0],n)&&(a+=n+": "+arguments[0][n]+", ");a=a.slice(0,-2)}else a=arguments[i];s.push(a)}Qt(e+`
|
|
3
3
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
4
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var zt={};function Xt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),zt[e]||(Kt(t),zt[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function K(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ss(e){var t,r;for(r in e)y(e,r)&&(t=e[r],K(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mt(e,t){var r=le({},e),s;for(s in t)y(t,s)&&(me(e[s])&&me(t[s])?(r[s]={},le(r[s],e[s]),le(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)y(e,s)&&!y(t,s)&&me(e[s])&&(r[s]=le({},r[s]));return r}function Dt(e){e!=null&&this.set(e)}var _t;Object.keys?_t=Object.keys:_t=function(e){var t,r=[];for(t in e)y(e,t)&&r.push(t);return r};var as={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function is(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return K(s)?s.call(t,r):s}function q(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var Yt=/(\[[^\[]*\])|(\\)?([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,Ee=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dt={},we={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(we[e]=a),t&&(we[t[0]]=function(){return q(a.apply(this,arguments),t[1],t[2])}),r&&(we[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function ns(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function os(e){var t=e.match(Yt),r,s;for(r=0,s=t.length;r<s;r++)we[t[r]]?t[r]=we[t[r]]:t[r]=ns(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=K(t[n])?t[n].call(a,e):t[n];return i}}function Ae(e,t){return e.isValid()?(t=er(t,e.localeData()),dt[t]=dt[t]||os(t),dt[t](e)):e.localeData().invalidDate()}function er(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Ee.lastIndex=0;r>=0&&Ee.test(e);)e=e.replace(Ee,s),Ee.lastIndex=0,r-=1;return e}var ls={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 us(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Yt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ds="Invalid date";function hs(){return this._invalidDate}var fs="%d",cs=/\d{1,2}/;function ms(e){return this._ordinal.replace("%d",e)}var _s={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 ys(e,t,r,s){var a=this._relativeTime[r];return K(a)?a(e,t,r,s):a.replace(/%d/i,e)}function ps(e,t){var r=this._relativeTime[e>0?"future":"past"];return K(r)?r(t):r.replace(/%s/i,t)}var be={};function N(e,t){var r=e.toLowerCase();be[r]=be[r+"s"]=be[t]=e}function I(e){return typeof e=="string"?be[e]||be[e.toLowerCase()]:void 0}function kt(e){var t={},r,s;for(s in e)y(e,s)&&(r=I(s),r&&(t[r]=e[s]));return t}var tr={};function P(e,t){tr[e]=t}function gs(e){var t=[],r;for(r in e)y(e,r)&&t.push({unit:r,priority:tr[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}function Je(e){return e%4===0&&e%100!==0||e%400===0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=U(t)),r}function ve(e,t){return function(r){return r!=null?(rr(this,e,r),l.updateOffset(this,t),this):Ge(this,e)}}function Ge(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function rr(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Je(e.year())&&e.month()===1&&e.date()===29?(r=m(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),tt(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ws(e){return e=I(e),K(this[e])?this[e]():this}function Ss(e,t){if(typeof e=="object"){e=kt(e);var r=gs(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=I(e),K(this[e]))return this[e](t);return this}var sr=/\d/,F=/\d\d/,ar=/\d{3}/,Ot=/\d{4}/,qe=/[+-]?\d{6}/,M=/\d\d?/,ir=/\d\d\d\d?/,nr=/\d\d\d\d\d\d?/,Qe=/\d{1,3}/,xt=/\d{1,4}/,Ke=/[+-]?\d{1,6}/,De=/\d+/,Xe=/[+-]?\d+/,Ms=/Z|[+-]\d\d:?\d\d/gi,et=/Z|[+-]\d\d(?::?\d\d)?/gi,vs=/[+-]?\d+(\.\d{1,3})?/,Fe=/[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,Ve;Ve={};function d(e,t,r){Ve[e]=K(t)?t:function(s,a){return s&&r?r:t}}function Ds(e,t){return y(Ve,e)?Ve[e](t._strict,t._locale):new RegExp(Ys(e))}function Ys(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var yt={};function w(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),ae(t)&&(s=function(i,n){n[t]=m(i)}),a=e.length,r=0;r<a;r++)yt[e[r]]=s}function Le(e,t){w(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function ks(e,t,r){t!=null&&y(yt,e)&&yt[e](t,r._a,r,e)}var T=0,te=1,J=2,k=3,V=4,re=5,ce=6,Os=7,xs=8;function bs(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=bs(t,12);return e+=(t-r)/12,r===1?Je(e)?29:28:31-r%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)});N("month","M");P("month",8);d("M",M);d("MM",M,F);d("MMM",function(e,t){return t.monthsShortRegex(e)});d("MMMM",function(e,t){return t.monthsRegex(e)});w(["M","MM"],function(e,t){t[te]=m(e)-1});w(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[te]=a:c(r).invalidMonth=e});var Ts="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),or="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ns=Fe,Ps=Fe;function Ws(e,t){return e?j(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||lr).test(t)?"format":"standalone"][e.month()]:j(this._months)?this._months:this._months.standalone}function Cs(e,t){return e?j(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[lr.test(t)?"format":"standalone"][e.month()]:j(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rs(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=Q([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=D.call(this._shortMonthsParse,n),a!==-1?a:null):(a=D.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=D.call(this._shortMonthsParse,n),a!==-1?a:(a=D.call(this._longMonthsParse,n),a!==-1?a:null)):(a=D.call(this._longMonthsParse,n),a!==-1?a:(a=D.call(this._shortMonthsParse,n),a!==-1?a:null))}function Fs(e,t,r){var s,a,i;if(this._monthsParseExact)return Rs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=Q([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function ur(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!ae(t))return e}return r=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function dr(e){return e!=null?(ur(this,e),l.updateOffset(this,!0),this):Ge(this,"Month")}function Ls(){return tt(this.year(),this.month())}function Es(e){return this._monthsParseExact?(y(this,"_monthsRegex")||hr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Ns),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Us(e){return this._monthsParseExact?(y(this,"_monthsRegex")||hr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Ps),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hr(){function e(n,u){return u.length-n.length}var t=[],r=[],s=[],a,i;for(a=0;a<12;a++)i=Q([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),s.sort(e),a=0;a<12;a++)t[a]=R(t[a]),r[a]=R(r[a]);for(a=0;a<24;a++)s[a]=R(s[a]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?q(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");N("year","y");P("year",1);d("Y",Xe);d("YY",M,F);d("YYYY",xt,Ot);d("YYYYY",Ke,qe);d("YYYYYY",Ke,qe);w(["YYYYY","YYYYYY"],T);w("YYYY",function(e,t){t[T]=e.length===2?l.parseTwoDigitYear(e):m(e)});w("YY",function(e,t){t[T]=l.parseTwoDigitYear(e)});w("Y",function(e,t){t[T]=parseInt(e,10)});function Te(e){return Je(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var fr=ve("FullYear",!0);function As(){return Je(this.year())}function Is(e,t,r,s,a,i,n){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,a,i,n),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,a,i,n),u}function Ne(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,r){var s=7+t-r,a=(7+Ne(e,0,s).getUTCDay()-t)%7;return-a+s-1}function cr(e,t,r,s,a){var i=(7+r-s)%7,n=je(e,s,a),u=1+7*(t-1)+i+n,f,g;return u<=0?(f=e-1,g=Te(f)+u):u>Te(e)?(f=e+1,g=u-Te(e)):(f=e,g=u),{year:f,dayOfYear:g}}function Pe(e,t,r){var s=je(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+se(n,t,r)):a>se(e.year(),t,r)?(i=a-se(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function se(e,t,r){var s=je(e,t,r),a=je(e+1,t,r);return(Te(e)-s+a)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");N("week","w");N("isoWeek","W");P("week",5);P("isoWeek",5);d("w",M);d("ww",M,F);d("W",M);d("WW",M,F);Le(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=m(e)});function Hs(e){return Pe(e,this._week.dow,this._week.doy).week}var Gs={dow:0,doy:6};function Vs(){return this._week.dow}function js(){return this._week.doy}function $s(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function zs(e){var t=Pe(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");N("day","d");N("weekday","e");N("isoWeekday","E");P("day",11);P("weekday",11);P("isoWeekday",11);d("d",M);d("e",M);d("E",M);d("dd",function(e,t){return t.weekdaysMinRegex(e)});d("ddd",function(e,t){return t.weekdaysShortRegex(e)});d("dddd",function(e,t){return t.weekdaysRegex(e)});Le(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:c(r).invalidWeekday=e});Le(["d","e","E"],function(e,t,r,s){t[s]=m(e)});function Bs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Zs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function bt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qs="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qs=Fe,Ks=Fe,Xs=Fe;function ea(e,t){var r=j(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?bt(r,this._week.dow):e?r[e.day()]:r}function ta(e){return e===!0?bt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ra(e){return e===!0?bt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function sa(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=Q([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=D.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=D.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=D.call(this._weekdaysParse,n),a!==-1||(a=D.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=D.call(this._shortWeekdaysParse,n),a!==-1||(a=D.call(this._weekdaysParse,n),a!==-1)?a:(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=D.call(this._minWeekdaysParse,n),a!==-1||(a=D.call(this._weekdaysParse,n),a!==-1)?a:(a=D.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function aa(e,t,r){var s,a,i;if(this._weekdaysParseExact)return sa.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=Q([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function ia(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Bs(e,this.localeData()),this.add(e-t,"d")):t}function na(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 oa(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Zs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function la(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=Qs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function ua(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ks),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function da(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||Tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Tt(){function e(x,G){return G.length-x.length}var t=[],r=[],s=[],a=[],i,n,u,f,g;for(i=0;i<7;i++)n=Q([2e3,1]).day(i),u=R(this.weekdaysMin(n,"")),f=R(this.weekdaysShort(n,"")),g=R(this.weekdays(n,"")),t.push(u),r.push(f),s.push(g),a.push(u),a.push(f),a.push(g);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Nt(){return this.hours()%12||12}function ha(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Nt);h("k",["kk",2],0,ha);h("hmm",0,0,function(){return""+Nt.apply(this)+q(this.minutes(),2)});h("hmmss",0,0,function(){return""+Nt.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)});function _r(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}_r("a",!0);_r("A",!1);N("hour","h");P("hour",13);function yr(e,t){return t._meridiemParse}d("a",yr);d("A",yr);d("H",M);d("h",M);d("k",M);d("HH",M,F);d("hh",M,F);d("kk",M,F);d("hmm",ir);d("hmmss",nr);d("Hmm",ir);d("Hmmss",nr);w(["H","HH"],k);w(["k","kk"],function(e,t,r){var s=m(e);t[k]=s===24?0:s});w(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});w(["h","hh"],function(e,t,r){t[k]=m(e),c(r).bigHour=!0});w("hmm",function(e,t,r){var s=e.length-2;t[k]=m(e.substr(0,s)),t[V]=m(e.substr(s)),c(r).bigHour=!0});w("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[k]=m(e.substr(0,s)),t[V]=m(e.substr(s,2)),t[re]=m(e.substr(a)),c(r).bigHour=!0});w("Hmm",function(e,t,r){var s=e.length-2;t[k]=m(e.substr(0,s)),t[V]=m(e.substr(s))});w("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[k]=m(e.substr(0,s)),t[V]=m(e.substr(s,2)),t[re]=m(e.substr(a))});function fa(e){return(e+"").toLowerCase().charAt(0)==="p"}var ca=/[ap]\.?m?\.?/i,ma=ve("Hours",!0);function _a(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var pr={calendar:as,longDateFormat:ls,invalidDate:ds,ordinal:fs,dayOfMonthOrdinalParse:cs,relativeTime:_s,months:Ts,monthsShort:or,week:Gs,weekdays:Js,weekdaysMin:qs,weekdaysShort:mr,meridiemParse:ca},v={},Oe={},We;function ya(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function Bt(e){return e&&e.toLowerCase().replace("_","-")}function pa(e){for(var t=0,r,s,a,i;t<e.length;){for(i=Bt(e[t]).split("-"),r=i.length,s=Bt(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=rt(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&ya(i,s)>=r-1)break;r--}t++}return We}function ga(e){return e.match("^[^/\\\\]*$")!=null}function rt(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&ga(e))try{t=We._abbr,r=Ht,r("./locale/"+e),de(t)}catch{v[e]=null}return v[e]}function de(e,t){var r;return e&&(C(t)?r=ie(e):r=Pt(e,t),r?We=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),We._abbr}function Pt(e,t){if(t!==null){var r,s=pr;if(t.abbr=e,v[e]!=null)Xt("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."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=rt(t.parentLocale),r!=null)s=r._config;else return Oe[t.parentLocale]||(Oe[t.parentLocale]=[]),Oe[t.parentLocale].push({name:e,config:t}),null;return v[e]=new Dt(mt(s,t)),Oe[e]&&Oe[e].forEach(function(a){Pt(a.name,a.config)}),de(e),v[e]}else return delete v[e],null}function wa(e,t){if(t!=null){var r,s,a=pr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(mt(v[e]._config,t)):(s=rt(e),s!=null&&(a=s._config),t=mt(a,t),s==null&&(t.abbr=e),r=new Dt(t),r.parentLocale=v[e],v[e]=r),de(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===de()&&de(e)):v[e]!=null&&delete v[e]);return v[e]}function ie(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return We;if(!j(e)){if(t=rt(e),t)return t;e=[e]}return pa(e)}function Sa(){return _t(v)}function Wt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[te]<0||r[te]>11?te:r[J]<1||r[J]>tt(r[T],r[te])?J:r[k]<0||r[k]>24||r[k]===24&&(r[V]!==0||r[re]!==0||r[ce]!==0)?k:r[V]<0||r[V]>59?V:r[re]<0||r[re]>59?re:r[ce]<0||r[ce]>999?ce:-1,c(e)._overflowDayOfYear&&(t<T||t>J)&&(t=J),c(e)._overflowWeeks&&t===-1&&(t=Os),c(e)._overflowWeekday&&t===-1&&(t=xs),c(e).overflow=t),e}var Ma=/^\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)?)?$/,va=/^\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)?)?$/,Da=/Z|[+-]\d\d(?::?\d\d)?/,Ue=[["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]],ht=[["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/]],Ya=/^\/?Date\((-?\d+)/i,ka=/^(?:(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}))$/,Oa={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 gr(e){var t,r,s=e._i,a=Ma.exec(s)||va.exec(s),i,n,u,f,g=Ue.length,x=ht.length;if(a){for(c(e).iso=!0,t=0,r=g;t<r;t++)if(Ue[t][1].exec(a[1])){n=Ue[t][0],i=Ue[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=x;t<r;t++)if(ht[t][1].exec(a[3])){u=(a[2]||" ")+ht[t][0];break}if(u==null){e._isValid=!1;return}}if(!i&&u!=null){e._isValid=!1;return}if(a[4])if(Da.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=n+(u||"")+(f||""),Rt(e)}else e._isValid=!1}function xa(e,t,r,s,a,i){var n=[ba(e),or.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function ba(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ta(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Na(e,t,r){if(e){var s=mr.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Pa(e,t,r){if(e)return Oa[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function wr(e){var t=ka.exec(Ta(e._i)),r;if(t){if(r=xa(t[4],t[3],t[2],t[5],t[6],t[7]),!Na(t[1],r,e))return;e._a=r,e._tzm=Pa(t[8],t[9],t[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function Wa(e){var t=Ya.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(gr(e),e._isValid===!1)delete e._isValid;else return;if(wr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=A("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 pe(e,t,r){return e??t??r}function Ca(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ct(e){var t,r,s=[],a,i,n;if(!e._d){for(a=Ca(e),e._w&&e._a[J]==null&&e._a[te]==null&&Ra(e),e._dayOfYear!=null&&(n=pe(e._a[T],a[T]),(e._dayOfYear>Te(n)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Ne(n,0,e._dayOfYear),e._a[te]=r.getUTCMonth(),e._a[J]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[k]===24&&e._a[V]===0&&e._a[re]===0&&e._a[ce]===0&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ne:Is).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(c(e).weekdayMismatch=!0)}}function Ra(e){var t,r,s,a,i,n,u,f,g;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=pe(t.GG,e._a[T],Pe(S(),1,4).year),s=pe(t.W,1),a=pe(t.E,1),(a<1||a>7)&&(f=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,g=Pe(S(),i,n),r=pe(t.gg,e._a[T],g.year),s=pe(t.w,g.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(f=!0)):a=i),s<1||s>se(r,i,n)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=cr(r,s,a,i,n),e._a[T]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function Rt(e){if(e._f===l.ISO_8601){gr(e);return}if(e._f===l.RFC_2822){wr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,a,i,n,u=t.length,f=0,g,x;for(a=er(e._f,e._locale).match(Yt)||[],x=a.length,r=0;r<x;r++)i=a[r],s=(t.match(Ds(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&c(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),f+=s.length),we[i]?(s?c(e).empty=!1:c(e).unusedTokens.push(i),ks(i,s,e)):e._strict&&!s&&c(e).unusedTokens.push(i);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[k]<=12&&c(e).bigHour===!0&&e._a[k]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[k]=Fa(e._locale,e._a[k],e._meridiem),g=c(e).era,g!==null&&(e._a[T]=e._locale.erasConvertYear(g,e._a[T])),Ct(e),Wt(e)}function Fa(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function La(e){var t,r,s,a,i,n,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,n=!1,t=vt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Rt(t),Mt(t)&&(n=!0),i+=c(t).charsLeftOver,i+=c(t).unusedTokens.length*10,c(t).score=i,u?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(u=!0));le(e,r||t)}function Ea(e){if(!e._d){var t=kt(e._i),r=t.day===void 0?t.date:t.day;e._a=Qt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Ct(e)}}function Ua(e){var t=new Re(Wt(Sr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Sr(e){var t=e._i,r=e._f;return e._locale=e._locale||ie(e._l),t===null||r===void 0&&t===""?Ze({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),$(t)?new Re(Wt(t)):(Ce(t)?e._d=t:j(r)?La(e):r?Rt(e):Aa(e),Mt(e)||(e._d=null),e))}function Aa(e){var t=e._i;C(t)?e._d=new Date(l.now()):Ce(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Wa(e):j(t)?(e._a=Qt(t.slice(0),function(r){return parseInt(r,10)}),Ct(e)):me(t)?Ea(e):ae(t)?e._d=new Date(t):l.createFromInputFallback(e)}function Mr(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(me(e)&&St(e)||j(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,Ua(i)}function S(e,t,r,s){return Mr(e,t,r,s,!1)}var Ia=A("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ze()}),Ha=A("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ze()});function vr(e,t){var r,s;if(t.length===1&&j(t[0])&&(t=t[0]),!t.length)return S();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Ga(){var e=[].slice.call(arguments,0);return vr("isBefore",e)}function Va(){var e=[].slice.call(arguments,0);return vr("isAfter",e)}var ja=function(){return Date.now?Date.now():+new Date},xe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $a(e){var t,r=!1,s,a=xe.length;for(t in e)if(y(e,t)&&!(D.call(xe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[xe[s]]){if(r)return!1;parseFloat(e[xe[s]])!==m(e[xe[s]])&&(r=!0)}return!0}function za(){return this._isValid}function Ba(){return z(NaN)}function st(e){var t=kt(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,u=t.hour||0,f=t.minute||0,g=t.second||0,x=t.millisecond||0;this._isValid=$a(t),this._milliseconds=+x+g*1e3+f*6e4+u*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=ie(),this._bubble()}function Ie(e){return e instanceof st}function pt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Za(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)(r&&e[n]!==t[n]||!r&&m(e[n])!==m(t[n]))&&i++;return i+a}function Dr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+q(~~(r/60),2)+t+q(~~r%60,2)})}Dr("Z",":");Dr("ZZ","");d("Z",et);d("ZZ",et);w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ft(et,e)});var Ja=/([\+\-]|\d\d)/gi;function Ft(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Ja)||["-",0,0],i=+(a[1]*60)+m(a[2]),i===0?0:a[0]==="+"?i:-i)}function Lt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=($(e)||Ce(e)?e.valueOf():S(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):S(e).local()}function gt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function qa(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ft(et,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=gt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Or(this,z(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:gt(this)}function Qa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ka(e){return this.utcOffset(0,e)}function Xa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(gt(this),"m")),this}function ei(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ft(Ms,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ti(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ri(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function si(){if(!C(this._isDSTShifted))return this._isDSTShifted;var e={},t;return vt(e,this),e=Sr(e),e._a?(t=e._isUTC?Q(e._a):S(e._a),this._isDSTShifted=this.isValid()&&Za(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ai(){return this.isValid()?!this._isUTC:!1}function ii(){return this.isValid()?this._isUTC:!1}function Yr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ni=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function z(e,t){var r=e,s=null,a,i,n;return Ie(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ae(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=ni.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:m(s[J])*a,h:m(s[k])*a,m:m(s[V])*a,s:m(s[re])*a,ms:m(pt(s[ce]*1e3))*a}):(s=oi.exec(e))?(a=s[1]==="-"?-1:1,r={y:fe(s[2],a),M:fe(s[3],a),w:fe(s[4],a),d:fe(s[5],a),h:fe(s[6],a),m:fe(s[7],a),s:fe(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=li(S(r.from),S(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new st(r),Ie(e)&&y(e,"_locale")&&(i._locale=e._locale),Ie(e)&&y(e,"_isValid")&&(i._isValid=e._isValid),i}z.fn=st.prototype;z.invalid=Ba;function fe(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Zt(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function li(e,t){var r;return e.isValid()&&t.isValid()?(t=Lt(t,e),e.isBefore(t)?r=Zt(e,t):(r=Zt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function kr(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Xt(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."),i=r,r=s,s=i),a=z(r,s),Or(this,a,e),this}}function Or(e,t,r,s){var a=t._milliseconds,i=pt(t._days),n=pt(t._months);e.isValid()&&(s=s??!0,n&&ur(e,Ge(e,"Month")+n*r),i&&rr(e,"Date",Ge(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,i||n))}var ui=kr(1,"add"),di=kr(-1,"subtract");function xr(e){return typeof e=="string"||e instanceof String}function hi(e){return $(e)||Ce(e)||xr(e)||ae(e)||ci(e)||fi(e)||e===null||e===void 0}function fi(e){var t=me(e)&&!St(e),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"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||y(e,i);return t&&r}function ci(e){var t=j(e),r=!1;return t&&(r=e.filter(function(s){return!ae(s)&&xr(e)}).length===0),t&&r}function mi(e){var t=me(e)&&!St(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||y(e,i);return t&&r}function _i(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function yi(e,t){arguments.length===1&&(arguments[0]?hi(arguments[0])?(e=arguments[0],t=void 0):mi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=Lt(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",i=t&&(K(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,S(r)))}function pi(){return new Re(this)}function gi(e,t){var r=$(e)?e:S(e);return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function wi(e,t){var r=$(e)?e:S(e);return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Si(e,t,r,s){var a=$(e)?e:S(e),i=$(t)?t:S(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Mi(e,t){var r=$(e)?e:S(e),s;return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function vi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Di(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Yi(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=Lt(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":i=He(this,s)/12;break;case"month":i=He(this,s);break;case"quarter":i=He(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:U(i)}function He(e,t){if(e.date()<t.date())return-He(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ki(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Oi(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ae(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ae(r,"Z")):Ae(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function xi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function bi(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ae(this,e);return this.localeData().postformat(t)}function Ti(e,t){return this.isValid()&&($(e)&&e.isValid()||S(e).isValid())?z({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ni(e){return this.from(S(),e)}function Pi(e,t){return this.isValid()&&($(e)&&e.isValid()||S(e).isValid())?z({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Wi(e){return this.to(S(),e)}function br(e){var t;return e===void 0?this._locale._abbr:(t=ie(e),t!=null&&(this._locale=t),this)}var Tr=A("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 Nr(){return this._locale}var $e=1e3,Se=60*$e,ze=60*Se,Pr=(365*400+97)*24*ze;function Me(e,t){return(e%t+t)%t}function Wr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Pr:new Date(e,t,r).valueOf()}function Cr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Pr:Date.UTC(e,t,r)}function Ci(e){var t,r;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Cr:Wr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Me(t+(this._isUTC?0:this.utcOffset()*Se),ze);break;case"minute":t=this._d.valueOf(),t-=Me(t,Se);break;case"second":t=this._d.valueOf(),t-=Me(t,$e);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ri(e){var t,r;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Cr:Wr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ze-Me(t+(this._isUTC?0:this.utcOffset()*Se),ze)-1;break;case"minute":t=this._d.valueOf(),t+=Se-Me(t,Se)-1;break;case"second":t=this._d.valueOf(),t+=$e-Me(t,$e)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Fi(){return this._d.valueOf()-(this._offset||0)*6e4}function Li(){return Math.floor(this.valueOf()/1e3)}function Ei(){return new Date(this.valueOf())}function Ui(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ai(){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 Ii(){return this.isValid()?this.toISOString():null}function Hi(){return Mt(this)}function Gi(){return le({},c(this))}function Vi(){return c(this).overflow}function ji(){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");d("N",Et);d("NN",Et);d("NNN",Et);d("NNNN",tn);d("NNNNN",rn);w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?c(r).era=a:c(r).invalidEra=e});d("y",De);d("yy",De);d("yyy",De);d("yyyy",De);d("yo",sn);w(["y","yy","yyy","yyyy"],T);w(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,a):t[T]=parseInt(e,10)});function $i(e,t){var r,s,a,i=this._eras||ie("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=l(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=l(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function zi(e,t,r){var s,a,i=this.eras(),n,u,f;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),u=i[s].abbr.toUpperCase(),f=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(f===e)return i[s];break}else if([n,u,f].indexOf(e)>=0)return i[s]}function Bi(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Zi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Ji(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function qi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Qi(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function Ki(e){return y(this,"_erasNameRegex")||Ut.call(this),e?this._erasNameRegex:this._erasRegex}function Xi(e){return y(this,"_erasAbbrRegex")||Ut.call(this),e?this._erasAbbrRegex:this._erasRegex}function en(e){return y(this,"_erasNarrowRegex")||Ut.call(this),e?this._erasNarrowRegex:this._erasRegex}function Et(e,t){return t.erasAbbrRegex(e)}function tn(e,t){return t.erasNameRegex(e)}function rn(e,t){return t.erasNarrowRegex(e)}function sn(e,t){return t._eraYearOrdinalRegex||De}function Ut(){var e=[],t=[],r=[],s=[],a,i,n=this.eras();for(a=0,i=n.length;a<i;++a)t.push(R(n[a].name)),e.push(R(n[a].abbr)),r.push(R(n[a].narrow)),s.push(R(n[a].name)),s.push(R(n[a].abbr)),s.push(R(n[a].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function at(e,t){h(0,[e,e.length],0,t)}at("gggg","weekYear");at("ggggg","weekYear");at("GGGG","isoWeekYear");at("GGGGG","isoWeekYear");N("weekYear","gg");N("isoWeekYear","GG");P("weekYear",1);P("isoWeekYear",1);d("G",Xe);d("g",Xe);d("GG",M,F);d("gg",M,F);d("GGGG",xt,Ot);d("gggg",xt,Ot);d("GGGGG",Ke,qe);d("ggggg",Ke,qe);Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=m(e)});Le(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function an(e){return Rr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function nn(e){return Rr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function on(){return se(this.year(),1,4)}function ln(){return se(this.isoWeekYear(),1,4)}function un(){var e=this.localeData()._week;return se(this.year(),e.dow,e.doy)}function dn(){var e=this.localeData()._week;return se(this.weekYear(),e.dow,e.doy)}function Rr(e,t,r,s,a){var i;return e==null?Pe(this,s,a).year:(i=se(e,s,a),t>i&&(t=i),hn.call(this,e,t,r,s,a))}function hn(e,t,r,s,a){var i=cr(e,t,r,s,a),n=Ne(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}h("Q",0,"Qo","quarter");N("quarter","Q");P("quarter",7);d("Q",sr);w("Q",function(e,t){t[te]=(m(e)-1)*3});function fn(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");N("date","D");P("date",9);d("D",M);d("DD",M,F);d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});w(["D","DD"],J);w("Do",function(e,t){t[J]=m(e.match(M)[0])});var Fr=ve("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");N("dayOfYear","DDD");P("dayOfYear",4);d("DDD",Qe);d("DDDD",ar);w(["DDD","DDDD"],function(e,t,r){r._dayOfYear=m(e)});function cn(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");N("minute","m");P("minute",14);d("m",M);d("mm",M,F);w(["m","mm"],V);var mn=ve("Minutes",!1);h("s",["ss",2],0,"second");N("second","s");P("second",15);d("s",M);d("ss",M,F);w(["s","ss"],re);var _n=ve("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});N("millisecond","ms");P("millisecond",16);d("S",Qe,sr);d("SS",Qe,F);d("SSS",Qe,ar);var ue,Lr;for(ue="SSSS";ue.length<=9;ue+="S")d(ue,De);function yn(e,t){t[ce]=m(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")w(ue,yn);Lr=ve("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function pn(){return this._isUTC?"UTC":""}function gn(){return this._isUTC?"Coordinated Universal Time":""}var o=Re.prototype;o.add=ui;o.calendar=yi;o.clone=pi;o.diff=Yi;o.endOf=Ri;o.format=bi;o.from=Ti;o.fromNow=Ni;o.to=Pi;o.toNow=Wi;o.get=ws;o.invalidAt=Vi;o.isAfter=gi;o.isBefore=wi;o.isBetween=Si;o.isSame=Mi;o.isSameOrAfter=vi;o.isSameOrBefore=Di;o.isValid=Hi;o.lang=Tr;o.locale=br;o.localeData=Nr;o.max=Ha;o.min=Ia;o.parsingFlags=Gi;o.set=Ss;o.startOf=Ci;o.subtract=di;o.toArray=Ui;o.toObject=Ai;o.toDate=Ei;o.toISOString=Oi;o.inspect=xi;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ii;o.toString=ki;o.unix=Li;o.valueOf=Fi;o.creationData=ji;o.eraName=Zi;o.eraNarrow=Ji;o.eraAbbr=qi;o.eraYear=Qi;o.year=fr;o.isLeapYear=As;o.weekYear=an;o.isoWeekYear=nn;o.quarter=o.quarters=fn;o.month=dr;o.daysInMonth=Ls;o.week=o.weeks=$s;o.isoWeek=o.isoWeeks=zs;o.weeksInYear=un;o.weeksInWeekYear=dn;o.isoWeeksInYear=on;o.isoWeeksInISOWeekYear=ln;o.date=Fr;o.day=o.days=ia;o.weekday=na;o.isoWeekday=oa;o.dayOfYear=cn;o.hour=o.hours=ma;o.minute=o.minutes=mn;o.second=o.seconds=_n;o.millisecond=o.milliseconds=Lr;o.utcOffset=qa;o.utc=Ka;o.local=Xa;o.parseZone=ei;o.hasAlignedHourOffset=ti;o.isDST=ri;o.isLocal=ai;o.isUtcOffset=ii;o.isUtc=Yr;o.isUTC=Yr;o.zoneAbbr=pn;o.zoneName=gn;o.dates=A("dates accessor is deprecated. Use date instead.",Fr);o.months=A("months accessor is deprecated. Use month instead",dr);o.years=A("years accessor is deprecated. Use year instead",fr);o.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Qa);o.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",si);function wn(e){return S(e*1e3)}function Sn(){return S.apply(null,arguments).parseZone()}function Er(e){return e}var p=Dt.prototype;p.calendar=is;p.longDateFormat=us;p.invalidDate=hs;p.ordinal=ms;p.preparse=Er;p.postformat=Er;p.relativeTime=ys;p.pastFuture=ps;p.set=ss;p.eras=$i;p.erasParse=zi;p.erasConvertYear=Bi;p.erasAbbrRegex=Xi;p.erasNameRegex=Ki;p.erasNarrowRegex=en;p.months=Ws;p.monthsShort=Cs;p.monthsParse=Fs;p.monthsRegex=Us;p.monthsShortRegex=Es;p.week=Hs;p.firstDayOfYear=js;p.firstDayOfWeek=Vs;p.weekdays=ea;p.weekdaysMin=ra;p.weekdaysShort=ta;p.weekdaysParse=aa;p.weekdaysRegex=la;p.weekdaysShortRegex=ua;p.weekdaysMinRegex=da;p.isPM=fa;p.meridiem=_a;function Be(e,t,r,s){var a=ie(),i=Q().set(s,t);return a[r](i,e)}function Ur(e,t,r){if(ae(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Be(e,s,r,"month");return a}function At(e,t,r,s){typeof e=="boolean"?(ae(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ae(t)&&(r=t,t=void 0),t=t||"");var a=ie(),i=e?a._week.dow:0,n,u=[];if(r!=null)return Be(t,(r+i)%7,s,"day");for(n=0;n<7;n++)u[n]=Be(t,(n+i)%7,s,"day");return u}function Mn(e,t){return Ur(e,t,"months")}function vn(e,t){return Ur(e,t,"monthsShort")}function Dn(e,t,r){return At(e,t,r,"weekdays")}function Yn(e,t,r){return At(e,t,r,"weekdaysShort")}function kn(e,t,r){return At(e,t,r,"weekdaysMin")}de("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,r=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});l.lang=A("moment.lang is deprecated. Use moment.locale instead.",de);l.langData=A("moment.langData is deprecated. Use moment.localeData instead.",ie);var X=Math.abs;function On(){var e=this._data;return this._milliseconds=X(this._milliseconds),this._days=X(this._days),this._months=X(this._months),e.milliseconds=X(e.milliseconds),e.seconds=X(e.seconds),e.minutes=X(e.minutes),e.hours=X(e.hours),e.months=X(e.months),e.years=X(e.years),this}function Ar(e,t,r,s){var a=z(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function xn(e,t){return Ar(this,e,t,1)}function bn(e,t){return Ar(this,e,t,-1)}function Jt(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Jt(wt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=U(e/1e3),s.seconds=a%60,i=U(a/60),s.minutes=i%60,n=U(i/60),s.hours=n%24,t+=U(n/24),f=U(Ir(t)),r+=f,t-=Jt(wt(f)),u=U(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Ir(e){return e*4800/146097}function wt(e){return e*146097/4800}function Nn(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=I(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Ir(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(wt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Pn(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+m(this._months/12)*31536e6:NaN}function ne(e){return function(){return this.as(e)}}var Wn=ne("ms"),Cn=ne("s"),Rn=ne("m"),Fn=ne("h"),Ln=ne("d"),En=ne("w"),Un=ne("M"),An=ne("Q"),In=ne("y");function Hn(){return z(this)}function Gn(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function _e(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vn=_e("milliseconds"),jn=_e("seconds"),$n=_e("minutes"),zn=_e("hours"),Bn=_e("days"),Zn=_e("months"),Jn=_e("years");function qn(){return U(this.days()/7)}var ee=Math.round,ge={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qn(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Kn(e,t,r,s){var a=z(e).abs(),i=ee(a.as("s")),n=ee(a.as("m")),u=ee(a.as("h")),f=ee(a.as("d")),g=ee(a.as("M")),x=ee(a.as("w")),G=ee(a.as("y")),oe=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(oe=oe||x<=1&&["w"]||x<r.w&&["ww",x]),oe=oe||g<=1&&["M"]||g<r.M&&["MM",g]||G<=1&&["y"]||["yy",G],oe[2]=t,oe[3]=+e>0,oe[4]=s,Qn.apply(null,oe)}function Xn(e){return e===void 0?ee:typeof e=="function"?(ee=e,!0):!1}function eo(e,t){return ge[e]===void 0?!1:t===void 0?ge[e]:(ge[e]=t,e==="s"&&(ge.ss=t-1),!0)}function to(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=ge,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},ge,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Kn(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ft=Math.abs;function ye(e){return(e>0)-(e<0)||+e}function it(){if(!this.isValid())return this.localeData().invalidDate();var e=ft(this._milliseconds)/1e3,t=ft(this._days),r=ft(this._months),s,a,i,n,u=this.asSeconds(),f,g,x,G;return u?(s=U(e/60),a=U(s/60),e%=60,s%=60,i=U(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",g=ye(this._months)!==ye(u)?"-":"",x=ye(this._days)!==ye(u)?"-":"",G=ye(this._milliseconds)!==ye(u)?"-":"",f+"P"+(i?g+i+"Y":"")+(r?g+r+"M":"")+(t?x+t+"D":"")+(a||s||e?"T":"")+(a?G+a+"H":"")+(s?G+s+"M":"")+(e?G+n+"S":"")):"P0D"}var _=st.prototype;_.isValid=za;_.abs=On;_.add=xn;_.subtract=bn;_.as=Nn;_.asMilliseconds=Wn;_.asSeconds=Cn;_.asMinutes=Rn;_.asHours=Fn;_.asDays=Ln;_.asWeeks=En;_.asMonths=Un;_.asQuarters=An;_.asYears=In;_.valueOf=Pn;_._bubble=Tn;_.clone=Hn;_.get=Gn;_.milliseconds=Vn;_.seconds=jn;_.minutes=$n;_.hours=zn;_.days=Bn;_.weeks=qn;_.months=Zn;_.years=Jn;_.humanize=to;_.toISOString=it;_.toString=it;_.toJSON=it;_.locale=br;_.localeData=Nr;_.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",it);_.lang=Tr;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Xe);d("X",vs);w("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});w("x",function(e,t,r){r._d=new Date(m(e))});l.version="2.29.4";ts(S);l.fn=o;l.min=Ga;l.max=Va;l.now=ja;l.utc=Q;l.unix=wn;l.months=Mn;l.isDate=Ce;l.locale=de;l.invalid=Ze;l.duration=z;l.isMoment=$;l.weekdays=Dn;l.parseZone=Sn;l.localeData=ie;l.isDuration=Ie;l.monthsShort=vn;l.weekdaysMin=kn;l.defineLocale=Pt;l.updateLocale=wa;l.locales=Sa;l.weekdaysShort=Yn;l.normalizeUnits=I;l.relativeTimeRounding=Xn;l.relativeTimeThreshold=eo;l.calendarFormat=_i;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 B=l;var jr=Z(Ye());var Vr=Z(ke()),L=Z(lt()),he=Z(Ye());var O;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(O||(O={}));var Hr=Z(ke()),Gr=Hr.css`
|
|
4
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var $t={};function Kt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),$t[e]||(Qt(t),$t[e]=!0)}l.suppressDeprecationWarnings=!1;l.deprecationHandler=null;function Q(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function rs(e){var t,r;for(r in e)y(e,r)&&(t=e[r],Q(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ct(e,t){var r=le({},e),s;for(s in t)y(t,s)&&(ce(e[s])&&ce(t[s])?(r[s]={},le(r[s],e[s]),le(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)y(e,s)&&!y(t,s)&&ce(e[s])&&(r[s]=le({},r[s]));return r}function vt(e){e!=null&&this.set(e)}var mt;Object.keys?mt=Object.keys:mt=function(e){var t,r=[];for(t in e)y(e,t)&&r.push(t);return r};var ss={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function as(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return Q(s)?s.call(t,r):s}function J(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var Dt=/(\[[^\[]*\])|(\\)?([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,Ue=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},ge={};function h(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(ge[e]=a),t&&(ge[t[0]]=function(){return J(a.apply(this,arguments),t[1],t[2])}),r&&(ge[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function is(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ns(e){var t=e.match(Dt),r,s;for(r=0,s=t.length;r<s;r++)ge[t[r]]?t[r]=ge[t[r]]:t[r]=is(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=Q(t[n])?t[n].call(a,e):t[n];return i}}function Ae(e,t){return e.isValid()?(t=Xt(t,e.localeData()),ut[t]=ut[t]||ns(t),ut[t](e)):e.localeData().invalidDate()}function Xt(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Ue.lastIndex=0;r>=0&&Ue.test(e);)e=e.replace(Ue,s),Ue.lastIndex=0,r-=1;return e}var os={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 ls(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Dt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var us="Invalid date";function ds(){return this._invalidDate}var hs="%d",fs=/\d{1,2}/;function cs(e){return this._ordinal.replace("%d",e)}var ms={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 _s(e,t,r,s){var a=this._relativeTime[r];return Q(a)?a(e,t,r,s):a.replace(/%d/i,e)}function ys(e,t){var r=this._relativeTime[e>0?"future":"past"];return Q(r)?r(t):r.replace(/%s/i,t)}var xe={};function N(e,t){var r=e.toLowerCase();xe[r]=xe[r+"s"]=xe[t]=e}function I(e){return typeof e=="string"?xe[e]||xe[e.toLowerCase()]:void 0}function Yt(e){var t={},r,s;for(s in e)y(e,s)&&(r=I(s),r&&(t[r]=e[s]));return t}var er={};function P(e,t){er[e]=t}function ps(e){var t=[],r;for(r in e)y(e,r)&&t.push({unit:r,priority:er[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}function Je(e){return e%4===0&&e%100!==0||e%400===0}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=E(t)),r}function Me(e,t){return function(r){return r!=null?(tr(this,e,r),l.updateOffset(this,t),this):Ge(this,e)}}function Ge(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function tr(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Je(e.year())&&e.month()===1&&e.date()===29?(r=m(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),tt(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function gs(e){return e=I(e),Q(this[e])?this[e]():this}function ws(e,t){if(typeof e=="object"){e=Yt(e);var r=ps(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=I(e),Q(this[e]))return this[e](t);return this}var rr=/\d/,F=/\d\d/,sr=/\d{3}/,kt=/\d{4}/,qe=/[+-]?\d{6}/,M=/\d\d?/,ar=/\d\d\d\d?/,ir=/\d\d\d\d\d\d?/,Qe=/\d{1,3}/,Ot=/\d{1,4}/,Ke=/[+-]?\d{1,6}/,ve=/\d+/,Xe=/[+-]?\d+/,Ss=/Z|[+-]\d\d:?\d\d/gi,et=/Z|[+-]\d\d(?::?\d\d)?/gi,Ms=/[+-]?\d+(\.\d{1,3})?/,Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ve;Ve={};function d(e,t,r){Ve[e]=Q(t)?t:function(s,a){return s&&r?r:t}}function vs(e,t){return y(Ve,e)?Ve[e](t._strict,t._locale):new RegExp(Ds(e))}function Ds(e){return C(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function C(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _t={};function w(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),ae(t)&&(s=function(i,n){n[t]=m(i)}),a=e.length,r=0;r<a;r++)_t[e[r]]=s}function Fe(e,t){w(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Ys(e,t,r){t!=null&&y(_t,e)&&_t[e](t,r._a,r,e)}var T=0,te=1,Z=2,Y=3,G=4,re=5,fe=6,ks=7,Os=8;function xs(e,t){return(e%t+t)%t}var D;Array.prototype.indexOf?D=Array.prototype.indexOf:D=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=xs(t,12);return e+=(t-r)/12,r===1?Je(e)?29:28:31-r%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)});N("month","M");P("month",8);d("M",M);d("MM",M,F);d("MMM",function(e,t){return t.monthsShortRegex(e)});d("MMMM",function(e,t){return t.monthsRegex(e)});w(["M","MM"],function(e,t){t[te]=m(e)-1});w(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[te]=a:c(r).invalidMonth=e});var bs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),or=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ts=Ce,Ns=Ce;function Ps(e,t){return e?V(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||or).test(t)?"format":"standalone"][e.month()]:V(this._months)?this._months:this._months.standalone}function Ws(e,t){return e?V(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[or.test(t)?"format":"standalone"][e.month()]:V(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rs(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=q([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=D.call(this._shortMonthsParse,n),a!==-1?a:null):(a=D.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=D.call(this._shortMonthsParse,n),a!==-1?a:(a=D.call(this._longMonthsParse,n),a!==-1?a:null)):(a=D.call(this._longMonthsParse,n),a!==-1?a:(a=D.call(this._shortMonthsParse,n),a!==-1?a:null))}function Cs(e,t,r){var s,a,i;if(this._monthsParseExact)return Rs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=q([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function lr(e,t){var r;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!ae(t))return e}return r=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function ur(e){return e!=null?(lr(this,e),l.updateOffset(this,!0),this):Ge(this,"Month")}function Fs(){return tt(this.year(),this.month())}function Ls(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Ts),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Us(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Ns),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function dr(){function e(n,u){return u.length-n.length}var t=[],r=[],s=[],a,i;for(a=0;a<12;a++)i=q([2e3,a]),t.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(t.sort(e),r.sort(e),s.sort(e),a=0;a<12;a++)t[a]=C(t[a]),r[a]=C(r[a]);for(a=0;a<24;a++)s[a]=C(s[a]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}h("Y",0,0,function(){var e=this.year();return e<=9999?J(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");N("year","y");P("year",1);d("Y",Xe);d("YY",M,F);d("YYYY",Ot,kt);d("YYYYY",Ke,qe);d("YYYYYY",Ke,qe);w(["YYYYY","YYYYYY"],T);w("YYYY",function(e,t){t[T]=e.length===2?l.parseTwoDigitYear(e):m(e)});w("YY",function(e,t){t[T]=l.parseTwoDigitYear(e)});w("Y",function(e,t){t[T]=parseInt(e,10)});function be(e){return Je(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var hr=Me("FullYear",!0);function Es(){return Je(this.year())}function As(e,t,r,s,a,i,n){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,a,i,n),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,a,i,n),u}function Te(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,r){var s=7+t-r,a=(7+Te(e,0,s).getUTCDay()-t)%7;return-a+s-1}function fr(e,t,r,s,a){var i=(7+r-s)%7,n=je(e,s,a),u=1+7*(t-1)+i+n,f,g;return u<=0?(f=e-1,g=be(f)+u):u>be(e)?(f=e+1,g=u-be(e)):(f=e,g=u),{year:f,dayOfYear:g}}function Ne(e,t,r){var s=je(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+se(n,t,r)):a>se(e.year(),t,r)?(i=a-se(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function se(e,t,r){var s=je(e,t,r),a=je(e+1,t,r);return(be(e)-s+a)/7}h("w",["ww",2],"wo","week");h("W",["WW",2],"Wo","isoWeek");N("week","w");N("isoWeek","W");P("week",5);P("isoWeek",5);d("w",M);d("ww",M,F);d("W",M);d("WW",M,F);Fe(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=m(e)});function Is(e){return Ne(e,this._week.dow,this._week.doy).week}var Hs={dow:0,doy:6};function Gs(){return this._week.dow}function Vs(){return this._week.doy}function js(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function $s(e){var t=Ne(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");N("day","d");N("weekday","e");N("isoWeekday","E");P("day",11);P("weekday",11);P("isoWeekday",11);d("d",M);d("e",M);d("E",M);d("dd",function(e,t){return t.weekdaysMinRegex(e)});d("ddd",function(e,t){return t.weekdaysShortRegex(e)});d("dddd",function(e,t){return t.weekdaysRegex(e)});Fe(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:c(r).invalidWeekday=e});Fe(["d","e","E"],function(e,t,r,s){t[s]=m(e)});function zs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Bs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function xt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Zs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Js="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qs=Ce,Qs=Ce,Ks=Ce;function Xs(e,t){var r=V(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?xt(r,this._week.dow):e?r[e.day()]:r}function ea(e){return e===!0?xt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ta(e){return e===!0?xt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ra(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=q([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=D.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=D.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=D.call(this._weekdaysParse,n),a!==-1||(a=D.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=D.call(this._shortWeekdaysParse,n),a!==-1||(a=D.call(this._weekdaysParse,n),a!==-1)?a:(a=D.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=D.call(this._minWeekdaysParse,n),a!==-1||(a=D.call(this._weekdaysParse,n),a!==-1)?a:(a=D.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function sa(e,t,r){var s,a,i;if(this._weekdaysParseExact)return ra.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=q([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function aa(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=zs(e,this.localeData()),this.add(e-t,"d")):t}function ia(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 na(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Bs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function oa(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=qs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function la(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ua(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ks),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bt(){function e(x,H){return H.length-x.length}var t=[],r=[],s=[],a=[],i,n,u,f,g;for(i=0;i<7;i++)n=q([2e3,1]).day(i),u=C(this.weekdaysMin(n,"")),f=C(this.weekdaysShort(n,"")),g=C(this.weekdays(n,"")),t.push(u),r.push(f),s.push(g),a.push(u),a.push(f),a.push(g);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Tt(){return this.hours()%12||12}function da(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Tt);h("k",["kk",2],0,da);h("hmm",0,0,function(){return""+Tt.apply(this)+J(this.minutes(),2)});h("hmmss",0,0,function(){return""+Tt.apply(this)+J(this.minutes(),2)+J(this.seconds(),2)});h("Hmm",0,0,function(){return""+this.hours()+J(this.minutes(),2)});h("Hmmss",0,0,function(){return""+this.hours()+J(this.minutes(),2)+J(this.seconds(),2)});function mr(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}mr("a",!0);mr("A",!1);N("hour","h");P("hour",13);function _r(e,t){return t._meridiemParse}d("a",_r);d("A",_r);d("H",M);d("h",M);d("k",M);d("HH",M,F);d("hh",M,F);d("kk",M,F);d("hmm",ar);d("hmmss",ir);d("Hmm",ar);d("Hmmss",ir);w(["H","HH"],Y);w(["k","kk"],function(e,t,r){var s=m(e);t[Y]=s===24?0:s});w(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});w(["h","hh"],function(e,t,r){t[Y]=m(e),c(r).bigHour=!0});w("hmm",function(e,t,r){var s=e.length-2;t[Y]=m(e.substr(0,s)),t[G]=m(e.substr(s)),c(r).bigHour=!0});w("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=m(e.substr(0,s)),t[G]=m(e.substr(s,2)),t[re]=m(e.substr(a)),c(r).bigHour=!0});w("Hmm",function(e,t,r){var s=e.length-2;t[Y]=m(e.substr(0,s)),t[G]=m(e.substr(s))});w("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Y]=m(e.substr(0,s)),t[G]=m(e.substr(s,2)),t[re]=m(e.substr(a))});function ha(e){return(e+"").toLowerCase().charAt(0)==="p"}var fa=/[ap]\.?m?\.?/i,ca=Me("Hours",!0);function ma(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var yr={calendar:ss,longDateFormat:os,invalidDate:us,ordinal:hs,dayOfMonthOrdinalParse:fs,relativeTime:ms,months:bs,monthsShort:nr,week:Hs,weekdays:Zs,weekdaysMin:Js,weekdaysShort:cr,meridiemParse:fa},v={},ke={},Pe;function _a(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function zt(e){return e&&e.toLowerCase().replace("_","-")}function ya(e){for(var t=0,r,s,a,i;t<e.length;){for(i=zt(e[t]).split("-"),r=i.length,s=zt(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=rt(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&_a(i,s)>=r-1)break;r--}t++}return Pe}function pa(e){return e.match("^[^/\\\\]*$")!=null}function rt(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&pa(e))try{t=Pe._abbr,r=It,r("./locale/"+e),de(t)}catch{v[e]=null}return v[e]}function de(e,t){var r;return e&&(W(t)?r=ie(e):r=Nt(e,t),r?Pe=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Pe._abbr}function Nt(e,t){if(t!==null){var r,s=yr;if(t.abbr=e,v[e]!=null)Kt("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."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(r=rt(t.parentLocale),r!=null)s=r._config;else return ke[t.parentLocale]||(ke[t.parentLocale]=[]),ke[t.parentLocale].push({name:e,config:t}),null;return v[e]=new vt(ct(s,t)),ke[e]&&ke[e].forEach(function(a){Nt(a.name,a.config)}),de(e),v[e]}else return delete v[e],null}function ga(e,t){if(t!=null){var r,s,a=yr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(ct(v[e]._config,t)):(s=rt(e),s!=null&&(a=s._config),t=ct(a,t),s==null&&(t.abbr=e),r=new vt(t),r.parentLocale=v[e],v[e]=r),de(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===de()&&de(e)):v[e]!=null&&delete v[e]);return v[e]}function ie(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Pe;if(!V(e)){if(t=rt(e),t)return t;e=[e]}return ya(e)}function wa(){return mt(v)}function Pt(e){var t,r=e._a;return r&&c(e).overflow===-2&&(t=r[te]<0||r[te]>11?te:r[Z]<1||r[Z]>tt(r[T],r[te])?Z:r[Y]<0||r[Y]>24||r[Y]===24&&(r[G]!==0||r[re]!==0||r[fe]!==0)?Y:r[G]<0||r[G]>59?G:r[re]<0||r[re]>59?re:r[fe]<0||r[fe]>999?fe:-1,c(e)._overflowDayOfYear&&(t<T||t>Z)&&(t=Z),c(e)._overflowWeeks&&t===-1&&(t=ks),c(e)._overflowWeekday&&t===-1&&(t=Os),c(e).overflow=t),e}var Sa=/^\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)?)?$/,Ma=/^\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)?)?$/,va=/Z|[+-]\d\d(?::?\d\d)?/,Ee=[["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]],dt=[["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,Ya=/^(?:(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}))$/,ka={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 pr(e){var t,r,s=e._i,a=Sa.exec(s)||Ma.exec(s),i,n,u,f,g=Ee.length,x=dt.length;if(a){for(c(e).iso=!0,t=0,r=g;t<r;t++)if(Ee[t][1].exec(a[1])){n=Ee[t][0],i=Ee[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=x;t<r;t++)if(dt[t][1].exec(a[3])){u=(a[2]||" ")+dt[t][0];break}if(u==null){e._isValid=!1;return}}if(!i&&u!=null){e._isValid=!1;return}if(a[4])if(va.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=n+(u||"")+(f||""),Rt(e)}else e._isValid=!1}function Oa(e,t,r,s,a,i){var n=[xa(e),nr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function xa(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ba(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ta(e,t,r){if(e){var s=cr.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Na(e,t,r){if(e)return ka[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function gr(e){var t=Ya.exec(ba(e._i)),r;if(t){if(r=Oa(t[4],t[3],t[2],t[5],t[6],t[7]),!Ta(t[1],r,e))return;e._a=r,e._tzm=Na(t[8],t[9],t[10]),e._d=Te.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function Pa(e){var t=Da.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(pr(e),e._isValid===!1)delete e._isValid;else return;if(gr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=A("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 ye(e,t,r){return e??t??r}function Wa(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Wt(e){var t,r,s=[],a,i,n;if(!e._d){for(a=Wa(e),e._w&&e._a[Z]==null&&e._a[te]==null&&Ra(e),e._dayOfYear!=null&&(n=ye(e._a[T],a[T]),(e._dayOfYear>be(n)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),r=Te(n,0,e._dayOfYear),e._a[te]=r.getUTCMonth(),e._a[Z]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[G]===0&&e._a[re]===0&&e._a[fe]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?Te:As).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(c(e).weekdayMismatch=!0)}}function Ra(e){var t,r,s,a,i,n,u,f,g;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=ye(t.GG,e._a[T],Ne(S(),1,4).year),s=ye(t.W,1),a=ye(t.E,1),(a<1||a>7)&&(f=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,g=Ne(S(),i,n),r=ye(t.gg,e._a[T],g.year),s=ye(t.w,g.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(f=!0)):a=i),s<1||s>se(r,i,n)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=fr(r,s,a,i,n),e._a[T]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){};l.RFC_2822=function(){};function Rt(e){if(e._f===l.ISO_8601){pr(e);return}if(e._f===l.RFC_2822){gr(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,r,s,a,i,n,u=t.length,f=0,g,x;for(a=Xt(e._f,e._locale).match(Dt)||[],x=a.length,r=0;r<x;r++)i=a[r],s=(t.match(vs(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&c(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ge[i]?(s?c(e).empty=!1:c(e).unusedTokens.push(i),Ys(i,s,e)):e._strict&&!s&&c(e).unusedTokens.push(i);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[Y]<=12&&c(e).bigHour===!0&&e._a[Y]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[Y]=Ca(e._locale,e._a[Y],e._meridiem),g=c(e).era,g!==null&&(e._a[T]=e._locale.erasConvertYear(g,e._a[T])),Wt(e),Pt(e)}function Ca(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Fa(e){var t,r,s,a,i,n,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,n=!1,t=Mt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Rt(t),St(t)&&(n=!0),i+=c(t).charsLeftOver,i+=c(t).unusedTokens.length*10,c(t).score=i,u?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(u=!0));le(e,r||t)}function La(e){if(!e._d){var t=Yt(e._i),r=t.day===void 0?t.date:t.day;e._a=qt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Wt(e)}}function Ua(e){var t=new Re(Pt(wr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function wr(e){var t=e._i,r=e._f;return e._locale=e._locale||ie(e._l),t===null||r===void 0&&t===""?Ze({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),j(t)?new Re(Pt(t)):(We(t)?e._d=t:V(r)?Fa(e):r?Rt(e):Ea(e),St(e)||(e._d=null),e))}function Ea(e){var t=e._i;W(t)?e._d=new Date(l.now()):We(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Pa(e):V(t)?(e._a=qt(t.slice(0),function(r){return parseInt(r,10)}),Wt(e)):ce(t)?La(e):ae(t)?e._d=new Date(t):l.createFromInputFallback(e)}function Sr(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(ce(e)&&wt(e)||V(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,Ua(i)}function S(e,t,r,s){return Sr(e,t,r,s,!1)}var Aa=A("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ze()}),Ia=A("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=S.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ze()});function Mr(e,t){var r,s;if(t.length===1&&V(t[0])&&(t=t[0]),!t.length)return S();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Ha(){var e=[].slice.call(arguments,0);return Mr("isBefore",e)}function Ga(){var e=[].slice.call(arguments,0);return Mr("isAfter",e)}var Va=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ja(e){var t,r=!1,s,a=Oe.length;for(t in e)if(y(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Oe[s]]){if(r)return!1;parseFloat(e[Oe[s]])!==m(e[Oe[s]])&&(r=!0)}return!0}function $a(){return this._isValid}function za(){return $(NaN)}function st(e){var t=Yt(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,u=t.hour||0,f=t.minute||0,g=t.second||0,x=t.millisecond||0;this._isValid=ja(t),this._milliseconds=+x+g*1e3+f*6e4+u*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=ie(),this._bubble()}function Ie(e){return e instanceof st}function yt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ba(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)(r&&e[n]!==t[n]||!r&&m(e[n])!==m(t[n]))&&i++;return i+a}function vr(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+J(~~(r/60),2)+t+J(~~r%60,2)})}vr("Z",":");vr("ZZ","");d("Z",et);d("ZZ",et);w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ct(et,e)});var Za=/([\+\-]|\d\d)/gi;function Ct(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(Za)||["-",0,0],i=+(a[1]*60)+m(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ft(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(j(e)||We(e)?e.valueOf():S(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),l.updateOffset(r,!1),r):S(e).local()}function pt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Ja(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ct(et,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=pt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?kr(this,$(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:pt(this)}function qa(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qa(e){return this.utcOffset(0,e)}function Ka(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pt(this),"m")),this}function Xa(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ct(Ss,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ei(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ti(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ri(){if(!W(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Mt(e,this),e=wr(e),e._a?(t=e._isUTC?q(e._a):S(e._a),this._isDSTShifted=this.isValid()&&Ba(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function si(){return this.isValid()?!this._isUTC:!1}function ai(){return this.isValid()?this._isUTC:!1}function Dr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ii=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ni=/^(-|\+)?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,t){var r=e,s=null,a,i,n;return Ie(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ae(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=ii.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:m(s[Z])*a,h:m(s[Y])*a,m:m(s[G])*a,s:m(s[re])*a,ms:m(yt(s[fe]*1e3))*a}):(s=ni.exec(e))?(a=s[1]==="-"?-1:1,r={y:he(s[2],a),M:he(s[3],a),w:he(s[4],a),d:he(s[5],a),h:he(s[6],a),m:he(s[7],a),s:he(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=oi(S(r.from),S(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new st(r),Ie(e)&&y(e,"_locale")&&(i._locale=e._locale),Ie(e)&&y(e,"_isValid")&&(i._isValid=e._isValid),i}$.fn=st.prototype;$.invalid=za;function he(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Bt(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function oi(e,t){var r;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?r=Bt(e,t):(r=Bt(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Yr(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Kt(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."),i=r,r=s,s=i),a=$(r,s),kr(this,a,e),this}}function kr(e,t,r,s){var a=t._milliseconds,i=yt(t._days),n=yt(t._months);e.isValid()&&(s=s??!0,n&&lr(e,Ge(e,"Month")+n*r),i&&tr(e,"Date",Ge(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&l.updateOffset(e,i||n))}var li=Yr(1,"add"),ui=Yr(-1,"subtract");function Or(e){return typeof e=="string"||e instanceof String}function di(e){return j(e)||We(e)||Or(e)||ae(e)||fi(e)||hi(e)||e===null||e===void 0}function hi(e){var t=ce(e)&&!wt(e),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"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||y(e,i);return t&&r}function fi(e){var t=V(e),r=!1;return t&&(r=e.filter(function(s){return!ae(s)&&Or(e)}).length===0),t&&r}function ci(e){var t=ce(e)&&!wt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||y(e,i);return t&&r}function mi(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function _i(e,t){arguments.length===1&&(arguments[0]?di(arguments[0])?(e=arguments[0],t=void 0):ci(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=Ft(r,this).startOf("day"),a=l.calendarFormat(this,s)||"sameElse",i=t&&(Q(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,S(r)))}function yi(){return new Re(this)}function pi(e,t){var r=j(e)?e:S(e);return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function gi(e,t){var r=j(e)?e:S(e);return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function wi(e,t,r,s){var a=j(e)?e:S(e),i=j(t)?t:S(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Si(e,t){var r=j(e)?e:S(e),s;return this.isValid()&&r.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Mi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function vi(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Di(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=Ft(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":i=He(this,s)/12;break;case"month":i=He(this,s);break;case"quarter":i=He(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:E(i)}function He(e,t){if(e.date()<t.date())return-He(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Yi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ki(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Ae(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Q(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ae(r,"Z")):Ae(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Oi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function xi(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ae(this,e);return this.localeData().postformat(t)}function bi(e,t){return this.isValid()&&(j(e)&&e.isValid()||S(e).isValid())?$({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ti(e){return this.from(S(),e)}function Ni(e,t){return this.isValid()&&(j(e)&&e.isValid()||S(e).isValid())?$({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Pi(e){return this.to(S(),e)}function xr(e){var t;return e===void 0?this._locale._abbr:(t=ie(e),t!=null&&(this._locale=t),this)}var br=A("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 Tr(){return this._locale}var $e=1e3,we=60*$e,ze=60*we,Nr=(365*400+97)*24*ze;function Se(e,t){return(e%t+t)%t}function Pr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Nr:new Date(e,t,r).valueOf()}function Wr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Nr:Date.UTC(e,t,r)}function Wi(e){var t,r;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wr:Pr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Se(t+(this._isUTC?0:this.utcOffset()*we),ze);break;case"minute":t=this._d.valueOf(),t-=Se(t,we);break;case"second":t=this._d.valueOf(),t-=Se(t,$e);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ri(e){var t,r;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Wr:Pr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ze-Se(t+(this._isUTC?0:this.utcOffset()*we),ze)-1;break;case"minute":t=this._d.valueOf(),t+=we-Se(t,we)-1;break;case"second":t=this._d.valueOf(),t+=$e-Se(t,$e)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function Ci(){return this._d.valueOf()-(this._offset||0)*6e4}function Fi(){return Math.floor(this.valueOf()/1e3)}function Li(){return new Date(this.valueOf())}function Ui(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ei(){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 Ai(){return this.isValid()?this.toISOString():null}function Ii(){return St(this)}function Hi(){return le({},c(this))}function Gi(){return c(this).overflow}function Vi(){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");d("N",Lt);d("NN",Lt);d("NNN",Lt);d("NNNN",en);d("NNNNN",tn);w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?c(r).era=a:c(r).invalidEra=e});d("y",ve);d("yy",ve);d("yyy",ve);d("yyyy",ve);d("yo",rn);w(["y","yy","yyy","yyyy"],T);w(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,a):t[T]=parseInt(e,10)});function ji(e,t){var r,s,a,i=this._eras||ie("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=l(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=l(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function $i(e,t,r){var s,a,i=this.eras(),n,u,f;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),u=i[s].abbr.toUpperCase(),f=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(f===e)return i[s];break}else if([n,u,f].indexOf(e)>=0)return i[s]}function zi(e,t){var r=e.since<=e.until?1:-1;return t===void 0?l(e.since).year():l(e.since).year()+(t-e.offset)*r}function Bi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Zi(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Ji(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function qi(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-l(a[e].since).year())*r+a[e].offset;return this.year()}function Qi(e){return y(this,"_erasNameRegex")||Ut.call(this),e?this._erasNameRegex:this._erasRegex}function Ki(e){return y(this,"_erasAbbrRegex")||Ut.call(this),e?this._erasAbbrRegex:this._erasRegex}function Xi(e){return y(this,"_erasNarrowRegex")||Ut.call(this),e?this._erasNarrowRegex:this._erasRegex}function Lt(e,t){return t.erasAbbrRegex(e)}function en(e,t){return t.erasNameRegex(e)}function tn(e,t){return t.erasNarrowRegex(e)}function rn(e,t){return t._eraYearOrdinalRegex||ve}function Ut(){var e=[],t=[],r=[],s=[],a,i,n=this.eras();for(a=0,i=n.length;a<i;++a)t.push(C(n[a].name)),e.push(C(n[a].abbr)),r.push(C(n[a].narrow)),s.push(C(n[a].name)),s.push(C(n[a].abbr)),s.push(C(n[a].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100});h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function at(e,t){h(0,[e,e.length],0,t)}at("gggg","weekYear");at("ggggg","weekYear");at("GGGG","isoWeekYear");at("GGGGG","isoWeekYear");N("weekYear","gg");N("isoWeekYear","GG");P("weekYear",1);P("isoWeekYear",1);d("G",Xe);d("g",Xe);d("GG",M,F);d("gg",M,F);d("GGGG",Ot,kt);d("gggg",Ot,kt);d("GGGGG",Ke,qe);d("ggggg",Ke,qe);Fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=m(e)});Fe(["gg","GG"],function(e,t,r,s){t[s]=l.parseTwoDigitYear(e)});function sn(e){return Rr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function an(e){return Rr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function nn(){return se(this.year(),1,4)}function on(){return se(this.isoWeekYear(),1,4)}function ln(){var e=this.localeData()._week;return se(this.year(),e.dow,e.doy)}function un(){var e=this.localeData()._week;return se(this.weekYear(),e.dow,e.doy)}function Rr(e,t,r,s,a){var i;return e==null?Ne(this,s,a).year:(i=se(e,s,a),t>i&&(t=i),dn.call(this,e,t,r,s,a))}function dn(e,t,r,s,a){var i=fr(e,t,r,s,a),n=Te(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}h("Q",0,"Qo","quarter");N("quarter","Q");P("quarter",7);d("Q",rr);w("Q",function(e,t){t[te]=(m(e)-1)*3});function hn(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date");N("date","D");P("date",9);d("D",M);d("DD",M,F);d("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});w(["D","DD"],Z);w("Do",function(e,t){t[Z]=m(e.match(M)[0])});var Cr=Me("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear");N("dayOfYear","DDD");P("dayOfYear",4);d("DDD",Qe);d("DDDD",sr);w(["DDD","DDDD"],function(e,t,r){r._dayOfYear=m(e)});function fn(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");N("minute","m");P("minute",14);d("m",M);d("mm",M,F);w(["m","mm"],G);var cn=Me("Minutes",!1);h("s",["ss",2],0,"second");N("second","s");P("second",15);d("s",M);d("ss",M,F);w(["s","ss"],re);var mn=Me("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});N("millisecond","ms");P("millisecond",16);d("S",Qe,rr);d("SS",Qe,F);d("SSS",Qe,sr);var ue,Fr;for(ue="SSSS";ue.length<=9;ue+="S")d(ue,ve);function _n(e,t){t[fe]=m(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")w(ue,_n);Fr=Me("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function yn(){return this._isUTC?"UTC":""}function pn(){return this._isUTC?"Coordinated Universal Time":""}var o=Re.prototype;o.add=li;o.calendar=_i;o.clone=yi;o.diff=Di;o.endOf=Ri;o.format=xi;o.from=bi;o.fromNow=Ti;o.to=Ni;o.toNow=Pi;o.get=gs;o.invalidAt=Gi;o.isAfter=pi;o.isBefore=gi;o.isBetween=wi;o.isSame=Si;o.isSameOrAfter=Mi;o.isSameOrBefore=vi;o.isValid=Ii;o.lang=br;o.locale=xr;o.localeData=Tr;o.max=Ia;o.min=Aa;o.parsingFlags=Hi;o.set=ws;o.startOf=Wi;o.subtract=ui;o.toArray=Ui;o.toObject=Ei;o.toDate=Li;o.toISOString=ki;o.inspect=Oi;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ai;o.toString=Yi;o.unix=Fi;o.valueOf=Ci;o.creationData=Vi;o.eraName=Bi;o.eraNarrow=Zi;o.eraAbbr=Ji;o.eraYear=qi;o.year=hr;o.isLeapYear=Es;o.weekYear=sn;o.isoWeekYear=an;o.quarter=o.quarters=hn;o.month=ur;o.daysInMonth=Fs;o.week=o.weeks=js;o.isoWeek=o.isoWeeks=$s;o.weeksInYear=ln;o.weeksInWeekYear=un;o.isoWeeksInYear=nn;o.isoWeeksInISOWeekYear=on;o.date=Cr;o.day=o.days=aa;o.weekday=ia;o.isoWeekday=na;o.dayOfYear=fn;o.hour=o.hours=ca;o.minute=o.minutes=cn;o.second=o.seconds=mn;o.millisecond=o.milliseconds=Fr;o.utcOffset=Ja;o.utc=Qa;o.local=Ka;o.parseZone=Xa;o.hasAlignedHourOffset=ei;o.isDST=ti;o.isLocal=si;o.isUtcOffset=ai;o.isUtc=Dr;o.isUTC=Dr;o.zoneAbbr=yn;o.zoneName=pn;o.dates=A("dates accessor is deprecated. Use date instead.",Cr);o.months=A("months accessor is deprecated. Use month instead",ur);o.years=A("years accessor is deprecated. Use year instead",hr);o.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",qa);o.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ri);function gn(e){return S(e*1e3)}function wn(){return S.apply(null,arguments).parseZone()}function Lr(e){return e}var p=vt.prototype;p.calendar=as;p.longDateFormat=ls;p.invalidDate=ds;p.ordinal=cs;p.preparse=Lr;p.postformat=Lr;p.relativeTime=_s;p.pastFuture=ys;p.set=rs;p.eras=ji;p.erasParse=$i;p.erasConvertYear=zi;p.erasAbbrRegex=Ki;p.erasNameRegex=Qi;p.erasNarrowRegex=Xi;p.months=Ps;p.monthsShort=Ws;p.monthsParse=Cs;p.monthsRegex=Us;p.monthsShortRegex=Ls;p.week=Is;p.firstDayOfYear=Vs;p.firstDayOfWeek=Gs;p.weekdays=Xs;p.weekdaysMin=ta;p.weekdaysShort=ea;p.weekdaysParse=sa;p.weekdaysRegex=oa;p.weekdaysShortRegex=la;p.weekdaysMinRegex=ua;p.isPM=ha;p.meridiem=ma;function Be(e,t,r,s){var a=ie(),i=q().set(s,t);return a[r](i,e)}function Ur(e,t,r){if(ae(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Be(e,s,r,"month");return a}function Et(e,t,r,s){typeof e=="boolean"?(ae(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ae(t)&&(r=t,t=void 0),t=t||"");var a=ie(),i=e?a._week.dow:0,n,u=[];if(r!=null)return Be(t,(r+i)%7,s,"day");for(n=0;n<7;n++)u[n]=Be(t,(n+i)%7,s,"day");return u}function Sn(e,t){return Ur(e,t,"months")}function Mn(e,t){return Ur(e,t,"monthsShort")}function vn(e,t,r){return Et(e,t,r,"weekdays")}function Dn(e,t,r){return Et(e,t,r,"weekdaysShort")}function Yn(e,t,r){return Et(e,t,r,"weekdaysMin")}de("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,r=m(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});l.lang=A("moment.lang is deprecated. Use moment.locale instead.",de);l.langData=A("moment.langData is deprecated. Use moment.localeData instead.",ie);var X=Math.abs;function kn(){var e=this._data;return this._milliseconds=X(this._milliseconds),this._days=X(this._days),this._months=X(this._months),e.milliseconds=X(e.milliseconds),e.seconds=X(e.seconds),e.minutes=X(e.minutes),e.hours=X(e.hours),e.months=X(e.months),e.years=X(e.years),this}function Er(e,t,r,s){var a=$(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function On(e,t){return Er(this,e,t,1)}function xn(e,t){return Er(this,e,t,-1)}function Zt(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,u,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Zt(gt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=E(e/1e3),s.seconds=a%60,i=E(a/60),s.minutes=i%60,n=E(i/60),s.hours=n%24,t+=E(n/24),f=E(Ar(t)),r+=f,t-=Zt(gt(f)),u=E(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function Ar(e){return e*4800/146097}function gt(e){return e*146097/4800}function Tn(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=I(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Ar(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(gt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Nn(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+m(this._months/12)*31536e6:NaN}function ne(e){return function(){return this.as(e)}}var Pn=ne("ms"),Wn=ne("s"),Rn=ne("m"),Cn=ne("h"),Fn=ne("d"),Ln=ne("w"),Un=ne("M"),En=ne("Q"),An=ne("y");function In(){return $(this)}function Hn(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function me(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gn=me("milliseconds"),Vn=me("seconds"),jn=me("minutes"),$n=me("hours"),zn=me("days"),Bn=me("months"),Zn=me("years");function Jn(){return E(this.days()/7)}var ee=Math.round,pe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Qn(e,t,r,s){var a=$(e).abs(),i=ee(a.as("s")),n=ee(a.as("m")),u=ee(a.as("h")),f=ee(a.as("d")),g=ee(a.as("M")),x=ee(a.as("w")),H=ee(a.as("y")),oe=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||u<=1&&["h"]||u<r.h&&["hh",u]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(oe=oe||x<=1&&["w"]||x<r.w&&["ww",x]),oe=oe||g<=1&&["M"]||g<r.M&&["MM",g]||H<=1&&["y"]||["yy",H],oe[2]=t,oe[3]=+e>0,oe[4]=s,qn.apply(null,oe)}function Kn(e){return e===void 0?ee:typeof e=="function"?(ee=e,!0):!1}function Xn(e,t){return pe[e]===void 0?!1:t===void 0?pe[e]:(pe[e]=t,e==="s"&&(pe.ss=t-1),!0)}function eo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=pe,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},pe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Qn(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ht=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function it(){if(!this.isValid())return this.localeData().invalidDate();var e=ht(this._milliseconds)/1e3,t=ht(this._days),r=ht(this._months),s,a,i,n,u=this.asSeconds(),f,g,x,H;return u?(s=E(e/60),a=E(s/60),e%=60,s%=60,i=E(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=u<0?"-":"",g=_e(this._months)!==_e(u)?"-":"",x=_e(this._days)!==_e(u)?"-":"",H=_e(this._milliseconds)!==_e(u)?"-":"",f+"P"+(i?g+i+"Y":"")+(r?g+r+"M":"")+(t?x+t+"D":"")+(a||s||e?"T":"")+(a?H+a+"H":"")+(s?H+s+"M":"")+(e?H+n+"S":"")):"P0D"}var _=st.prototype;_.isValid=$a;_.abs=kn;_.add=On;_.subtract=xn;_.as=Tn;_.asMilliseconds=Pn;_.asSeconds=Wn;_.asMinutes=Rn;_.asHours=Cn;_.asDays=Fn;_.asWeeks=Ln;_.asMonths=Un;_.asQuarters=En;_.asYears=An;_.valueOf=Nn;_._bubble=bn;_.clone=In;_.get=Hn;_.milliseconds=Gn;_.seconds=Vn;_.minutes=jn;_.hours=$n;_.days=zn;_.weeks=Jn;_.months=Bn;_.years=Zn;_.humanize=eo;_.toISOString=it;_.toString=it;_.toJSON=it;_.locale=xr;_.localeData=Tr;_.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",it);_.lang=br;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Xe);d("X",Ms);w("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});w("x",function(e,t,r){r._d=new Date(m(e))});l.version="2.29.4";es(S);l.fn=o;l.min=Ha;l.max=Ga;l.now=Va;l.utc=q;l.unix=gn;l.months=Sn;l.isDate=We;l.locale=de;l.invalid=Ze;l.duration=$;l.isMoment=j;l.weekdays=vn;l.parseZone=wn;l.localeData=ie;l.isDuration=Ie;l.monthsShort=Mn;l.weekdaysMin=Yn;l.defineLocale=Nt;l.updateLocale=ga;l.locales=wa;l.weekdaysShort=Dn;l.normalizeUnits=I;l.relativeTimeRounding=Kn;l.relativeTimeThreshold=Xn;l.calendarFormat=mi;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 z=l;var Gr=K(Ye()),L=K(ot()),De=K(Le());var O;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(O||(O={}));var Ir=K(Ye()),Hr=Ir.css`
|
|
5
5
|
.sessions-chart {
|
|
6
6
|
height: 100%;
|
|
7
7
|
width: 100%;
|
|
8
8
|
}
|
|
9
|
-
`;var
|
|
9
|
+
`;var R=function(e,t,r,s){var a=arguments.length,i=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,s);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(i=(a<3?n(i):a>3?n(t,r,i):n(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i};window.echarts==null&&console.warn("Echarts is not available");var k=class extends De.FtLitElement{constructor(){super(...arguments),this.xAxisName="date",this.yAxisName="",this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.valueLabels=void 0,this.valueLabelsSingular=void 0,this.barChart=!1,this.period=O.DAY,this.data=[]}render(){return Gr.html`
|
|
10
10
|
<div class="sessions-chart"></div>
|
|
11
|
-
`}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var s;(s=this.myChart)===null||s===void 0||s.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===O.DAY||t.period===O.WEEK?
|
|
11
|
+
`}firstUpdated(t){var r;super.firstUpdated(t),this.myChart=(r=window.echarts)===null||r===void 0?void 0:r.init(this.container,void 0,{renderer:"svg"}),window.addEventListener("resize",()=>{var s;(s=this.myChart)===null||s===void 0||s.resize()})}updated(t){super.updated(t);let r=this.getOptions();r&&this.myChart&&this.myChart.setOption(r)}getOptions(){let t=this;return{tooltip:{axisPointer:{type:"shadow",shadowStyle:{color:t.hoverColor}},trigger:"axis",formatter(r){return t.getTooltip(r)},backgroundColor:t.tooltipBackgroundColor,borderColor:t.tooltipBorderColor,textStyle:{color:t.tooltipTextColor},borderRadius:t.tooltipBorderRadius},grid:{left:"80px",right:"100px",top:"50px",bottom:"20px"},xAxis:{type:"category",name:this.xAxisName.toUpperCase(),axisTick:{alignWithLabel:!0},axisLabel:{formatter(r){return t.period===O.DAY||t.period===O.WEEK?z.utc(r*1e3).format("DD MMM YYYY"):t.period===O.MONTH?z.utc(r*1e3).format("MMMM YYYY"):z.utc(r*1e3).format("MMMM YYYY")}}},yAxis:{type:"value",name:this.yAxisName.toUpperCase()},color:this.graphColor,series:this.getSeries()}}getTooltip(t){let r=z.utc(t[0].data.value[0]*1e3),s=t.map(f=>f.data.value[1]),a,i,n="";switch(this.period){case O.DAY:{a=r.format("DD MMM YYYY"),i="on",this.isThisPeriod(r,O.DAY)&&(n=" so far");break}case O.WEEK:{a=r.format("DD MMM YYYY"),i="during the week of",this.isThisPeriod(r,O.WEEK)&&(n=" so far");break}case O.MONTH:{i="in",a=r.format("MMMM YYYY"),this.isThisPeriod(r,O.MONTH)&&(n=" so far");break}}let u="";for(let f=0;f<s.length;f++){let g=this.valueLabels?this.valueLabels[f]:this.yAxisName,x=this.valueLabelsSingular?this.valueLabelsSingular[f]:g,H=s[f]===1?x:g;u+=`${s[f].toLocaleString()} ${H} ${i} ${a}${n}</br>`}return u.substring(0,u.length-5)}isThisPeriod(t,r,s=z.utc()){switch(r){case O.DAY:return t.format("YYYY-MM-DD")===s.clone().startOf("day").format("YYYY-MM-DD");case O.WEEK:return t.clone().startOf("isoWeek").format("YYYY-MM-DD")===s.clone().startOf("isoWeek").format("YYYY-MM-DD");case O.MONTH:return t.month()===s.month()&&t.year()===s.year()}return!1}getSeries(){if(this.data.length==0)return[];let t=this.data[0].length-1;if(t==0)return[];let r=[];for(let s=0;s<t;s++)r[s]={type:this.barChart?"bar":"line",data:this.getData(s)};return r}getData(t){return this.data.map(r=>this.isThisPeriod(z.unix(r[0]),this.period)?{value:[r[0],r[t+1]],itemStyle:{opacity:.5}}:{value:[r[0],r[t+1]]})}};k.styles=Hr;R([(0,L.property)({type:String})],k.prototype,"xAxisName",void 0);R([(0,L.property)({type:String})],k.prototype,"yAxisName",void 0);R([(0,L.property)({type:String})],k.prototype,"graphColor",void 0);R([(0,L.property)({type:String})],k.prototype,"hoverColor",void 0);R([(0,L.property)({type:String})],k.prototype,"tooltipBackgroundColor",void 0);R([(0,L.property)({type:String})],k.prototype,"tooltipBorderColor",void 0);R([(0,L.property)({type:String})],k.prototype,"tooltipTextColor",void 0);R([(0,L.property)({type:String})],k.prototype,"tooltipBorderRadius",void 0);R([(0,De.jsonProperty)(void 0)],k.prototype,"valueLabels",void 0);R([(0,De.jsonProperty)(void 0)],k.prototype,"valueLabelsSingular",void 0);R([(0,L.property)({type:Boolean})],k.prototype,"barChart",void 0);R([(0,L.property)({type:String})],k.prototype,"period",void 0);R([(0,De.jsonProperty)([])],k.prototype,"data",void 0);R([(0,L.query)(".sessions-chart")],k.prototype,"container",void 0);var Vr=K(Ye()),jr=Vr.css`
|
|
12
12
|
.session-chart {
|
|
13
13
|
width: 100%;
|
|
14
14
|
height: 100%;
|
|
15
15
|
}
|
|
16
|
-
`;var
|
|
16
|
+
`;var B=function(e,t,r,s){var a=arguments.length,i=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,s);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(i=(a<3?n(i):a>3?n(t,r,i):n(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},b=class extends zr.FtLitElement{constructor(){super(...arguments),this.baseUrl="",this.period=O.MONTH,this.startDate=z.utc().startOf("month").add(-3,"months").format("YYYY-MM-DD"),this.endDate=z.utc().startOf("month").format("YYYY-MM-DD"),this.graphColor="",this.hoverColor="",this.tooltipBackgroundColor="",this.tooltipBorderColor="",this.tooltipTextColor="",this.tooltipBorderRadius=0,this.data=[]}render(){return $r.html`
|
|
17
17
|
<div class="session-chart">
|
|
18
18
|
<ft-chart
|
|
19
19
|
xAxisName="date"
|
|
@@ -31,7 +31,7 @@ Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
|
31
31
|
data="${JSON.stringify(this.data)}"
|
|
32
32
|
></ft-chart>
|
|
33
33
|
</div>
|
|
34
|
-
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[
|
|
34
|
+
`}update(t){super.update(t),t.has("baseUrl")&&this.fetchSessions()}async fetchSessions(){if(this.baseUrl){let t=await fetch(this.baseUrl+"/analytics/api/v2/traffic/sessions",{method:"POST",headers:{"Content-Type":"application/json","Ft-Calling-App":"analytics/web-component"},body:JSON.stringify({endDate:this.endDate,groupByPeriod:this.period.toLowerCase(),startDate:this.startDate})});if(t.ok){let r=(await t.json()).results;this.data=this.getData(r)}else console.log((await t.json()).message)}}getData(t){return t.map(r=>[z.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};b.elementDefinitions={"ft-chart":k};b.styles=jr;B([(0,U.property)({type:String})],b.prototype,"baseUrl",void 0);B([(0,U.property)({type:String})],b.prototype,"period",void 0);B([(0,U.property)({type:String})],b.prototype,"startDate",void 0);B([(0,U.property)({type:String})],b.prototype,"endDate",void 0);B([(0,U.property)({type:String})],b.prototype,"graphColor",void 0);B([(0,U.property)({type:String})],b.prototype,"hoverColor",void 0);B([(0,U.property)({type:String})],b.prototype,"tooltipBackgroundColor",void 0);B([(0,U.property)({type:String})],b.prototype,"tooltipBorderColor",void 0);B([(0,U.property)({type:String})],b.prototype,"tooltipTextColor",void 0);B([(0,U.property)({type:String})],b.prototype,"tooltipBorderRadius",void 0);B([(0,U.state)()],b.prototype,"data",void 0);(0,Br.customElement)("ft-analytics-sessions-chart")(b);})();
|
|
35
35
|
/*! Bundled license information:
|
|
36
36
|
|
|
37
37
|
moment/dist/moment.js:
|