@fluid-topics/ft-analytics-sessions-chart 2.0.26 → 2.0.28

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.
package/build/define.js CHANGED
@@ -1,3 +1,3 @@
1
- import { customElement } from "@fluid-topics/ft-wc-utils";
2
- import { FtAnalyticsSessionsChart } from "./ft-analytics-sessions-chart";
3
- customElement("ft-analytics-sessions-chart")(FtAnalyticsSessionsChart);
1
+ import { customElements } from "@fluid-topics/ft-wc-utils";
2
+ import definitions from "./definitions";
3
+ customElements(definitions);
@@ -0,0 +1,5 @@
1
+ import { FtAnalyticsSessionsChart } from "./ft-analytics-sessions-chart";
2
+ declare const _default: {
3
+ "ft-analytics-sessions-chart": typeof FtAnalyticsSessionsChart;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { FtAnalyticsSessionsChart } from "./ft-analytics-sessions-chart";
2
+ export default {
3
+ "ft-analytics-sessions-chart": FtAnalyticsSessionsChart,
4
+ };
@@ -1,19 +1,19 @@
1
- "use strict";(()=>{var Jr=Object.create;var At=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Qr=Object.getOwnPropertyNames;var Kr=Object.getPrototypeOf,Xr=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 es=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Qr(t))!Xr.call(e,a)&&a!==r&&At(e,a,{get:()=>t[a],enumerable:!(s=qr(t,a))||s.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?Jr(Kr(e)):{},es(t||!e||!e.__esModule?At(r,"default",{value:e,enumerable:!0}):r,e));var Ye=nt((so,Ht)=>{Ht.exports=ftGlobals.wcUtils});var ke=nt((ao,Gt)=>{Gt.exports=ftGlobals.lit});var ot=nt((io,Vt)=>{Vt.exports=ftGlobals.litDecorators});var Zr=Z(Ye());var zr=Z(ke()),U=Z(ot()),Br=Z(Ye());var Jt;function l(){return Jt.apply(null,arguments)}function ts(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 Re(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 rs(){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=rs()),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 Ce(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 Ce||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+`
1
+ "use strict";(()=>{var Qr=Object.create;var At=Object.defineProperty;var Kr=Object.getOwnPropertyDescriptor;var Xr=Object.getOwnPropertyNames;var es=Object.getPrototypeOf,ts=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 rs=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Xr(t))!ts.call(e,i)&&i!==r&&At(e,i,{get:()=>t[i],enumerable:!(s=Kr(t,i))||s.enumerable});return e};var Z=(e,t,r)=>(r=e!=null?Qr(es(e)):{},rs(t||!e||!e.__esModule?At(r,"default",{value:e,enumerable:!0}):r,e));var Ye=nt((ao,Ht)=>{Ht.exports=ftGlobals.wcUtils});var ke=nt((no,Gt)=>{Gt.exports=ftGlobals.lit});var ot=nt((oo,Vt)=>{Vt.exports=ftGlobals.litDecorators});var qr=Z(Ye());var Br=Z(ke()),U=Z(ot()),Zr=Z(Ye());var Jt;function l(){return Jt.apply(null,arguments)}function ss(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 ie(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Re(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function qt(e,t){var r=[],s,i=e.length;for(s=0;s<i;++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 is(){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=is()),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(i){return i!=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,i,a=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),a>0)for(r=0;r<a;r++)s=jt[r],i=t[s],W(i)||(e[s]=i);return e}function Ce(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 Ce||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=[],i,a,n,u=arguments.length;for(a=0;a<u;a++){if(i="",typeof arguments[a]=="object"){i+=`
2
+ [`+a+"] ";for(n in arguments[0])y(arguments[0],n)&&(i+=n+": "+arguments[0][n]+", ");i=i.slice(0,-2)}else i=arguments[a];s.push(i)}Qt(e+`
3
3
  Arguments: `+Array.prototype.slice.call(s).join("")+`
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 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 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 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 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 q(a.apply(this,arguments),t[1],t[2])}),r&&(ge[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(Dt),r,s;for(r=0,s=t.length;r<s;r++)ge[t[r]]?t[r]=ge[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=Xt(t,e.localeData()),ut[t]=ut[t]||os(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 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(Dt).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 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 gs(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 ws(e){return e=I(e),K(this[e])?this[e]():this}function Ss(e,t){if(typeof e=="object"){e=Yt(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 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+/,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 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 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(_t,e)&&_t[e](t,r._a,r,e)}var T=0,te=1,J=2,k=3,G=4,re=5,fe=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("_"),nr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),or=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ns=Fe,Ps=Fe;function Ws(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 Rs(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 Cs(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 Cs.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 Ls(){return tt(this.year(),this.month())}function Us(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Ns),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Es(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Ps),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?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",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 Te(e){return Je(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var hr=Me("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 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=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 xt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="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=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 ta(e){return e===!0?xt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ra(e){return e===!0?xt(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")||bt.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")||bt.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")||bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xs),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 ha(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Tt);h("k",["kk",2],0,ha);h("hmm",0,0,function(){return""+Tt.apply(this)+q(this.minutes(),2)});h("hmmss",0,0,function(){return""+Tt.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 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"],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[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[k]=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[k]=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[k]=m(e.substr(0,s)),t[G]=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=Me("Hours",!0);function _a(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var yr={calendar:as,longDateFormat:ls,invalidDate:ds,ordinal:fs,dayOfMonthOrdinalParse:cs,relativeTime:_s,months:Ts,monthsShort:nr,week:Gs,weekdays:Js,weekdaysMin:qs,weekdaysShort:cr,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 zt(e){return e&&e.toLowerCase().replace("_","-")}function pa(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&&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=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?We=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),We._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 Oe[t.parentLocale]||(Oe[t.parentLocale]=[]),Oe[t.parentLocale].push({name:e,config:t}),null;return v[e]=new vt(ct(s,t)),Oe[e]&&Oe[e].forEach(function(a){Nt(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=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 We;if(!V(e)){if(t=rt(e),t)return t;e=[e]}return pa(e)}function Sa(){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[J]<1||r[J]>tt(r[T],r[te])?J:r[k]<0||r[k]>24||r[k]===24&&(r[G]!==0||r[re]!==0||r[fe]!==0)?k: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>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)?/,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/]],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 pr(e){var t,r,s=e._i,a=Ma.exec(s)||va.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(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),nr.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=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 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 gr(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(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 Ra(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=Ra(e),e._w&&e._a[J]==null&&e._a[te]==null&&Ca(e),e._dayOfYear!=null&&(n=ye(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[G]===0&&e._a[re]===0&&e._a[fe]===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 Ca(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],Pe(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=Pe(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(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),ge[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])),Wt(e),Pt(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=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 Ua(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 Ea(e){var t=new Ce(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 Ce(Pt(t)):(Re(t)?e._d=t:V(r)?La(e):r?Rt(e):Aa(e),St(e)||(e._d=null),e))}function Aa(e){var t=e._i;W(t)?e._d=new Date(l.now()):Re(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Wa(e):V(t)?(e._a=qt(t.slice(0),function(r){return parseInt(r,10)}),Wt(e)):ce(t)?Ua(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,Ea(i)}function S(e,t,r,s){return Sr(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 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 Ga(){var e=[].slice.call(arguments,0);return Mr("isBefore",e)}function Va(){var e=[].slice.call(arguments,0);return Mr("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 $(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=$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 yt(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 vr(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)})}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 Ja=/([\+\-]|\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(Ja)||["-",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)||Re(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 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=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 Ka(e){return this.utcOffset(0,e)}function Xa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pt(this),"m")),this}function ei(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ct(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(!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()&&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 Dr(){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 $(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[G])*a,s:m(s[re])*a,ms:m(yt(s[fe]*1e3))*a}):(s=oi.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=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}$.fn=st.prototype;$.invalid=Ba;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 li(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 ui=Yr(1,"add"),di=Yr(-1,"subtract");function Or(e){return typeof e=="string"||e instanceof String}function hi(e){return j(e)||Re(e)||Or(e)||ae(e)||ci(e)||fi(e)||e===null||e===void 0}function fi(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 ci(e){var t=V(e),r=!1;return t&&(r=e.filter(function(s){return!ae(s)&&Or(e)}).length===0),t&&r}function mi(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 _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=Ft(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 Ce(this)}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():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function wi(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 Si(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 Mi(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 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=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 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()&&(j(e)&&e.isValid()||S(e).isValid())?$({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()&&(j(e)&&e.isValid()||S(e).isValid())?$({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Wi(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 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(),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 Ci(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 Fi(){return this._d.valueOf()-(this._offset||0)*6e4}function Li(){return Math.floor(this.valueOf()/1e3)}function Ui(){return new Date(this.valueOf())}function Ei(){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 St(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",Lt);d("NN",Lt);d("NNN",Lt);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",ve);d("yy",ve);d("yyy",ve);d("yyyy",ve);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 Lt(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||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);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=fr(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",rr);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 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 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"],G);var mn=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 _n=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 yn(e,t){t[fe]=m(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")w(ue,yn);Fr=Me("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=Ce.prototype;o.add=ui;o.calendar=yi;o.clone=pi;o.diff=Yi;o.endOf=Ci;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=br;o.locale=xr;o.localeData=Tr;o.max=Ha;o.min=Ia;o.parsingFlags=Gi;o.set=Ss;o.startOf=Ri;o.subtract=di;o.toArray=Ei;o.toObject=Ai;o.toDate=Ui;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=hr;o.isLeapYear=As;o.weekYear=an;o.isoWeekYear=nn;o.quarter=o.quarters=fn;o.month=ur;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=Cr;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=Fr;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=Dr;o.isUTC=Dr;o.zoneAbbr=pn;o.zoneName=gn;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",si);function wn(e){return S(e*1e3)}function Sn(){return S.apply(null,arguments).parseZone()}function Lr(e){return e}var p=vt.prototype;p.calendar=is;p.longDateFormat=us;p.invalidDate=hs;p.ordinal=ms;p.preparse=Lr;p.postformat=Lr;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=Rs;p.monthsParse=Fs;p.monthsRegex=Es;p.monthsShortRegex=Us;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 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 Mn(e,t){return Ur(e,t,"months")}function vn(e,t){return Ur(e,t,"monthsShort")}function Dn(e,t,r){return Et(e,t,r,"weekdays")}function Yn(e,t,r){return Et(e,t,r,"weekdaysShort")}function kn(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 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 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 xn(e,t){return Er(this,e,t,1)}function bn(e,t){return Er(this,e,t,-1)}function Zt(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+=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 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+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 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"),Rn=ne("s"),Cn=ne("m"),Fn=ne("h"),Ln=ne("d"),Un=ne("w"),En=ne("M"),An=ne("Q"),In=ne("y");function Hn(){return $(this)}function Gn(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function me(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vn=me("milliseconds"),jn=me("seconds"),$n=me("minutes"),zn=me("hours"),Bn=me("days"),Zn=me("months"),Jn=me("years");function qn(){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 Kn(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 Xn(e){return e===void 0?ee:typeof e=="function"?(ee=e,!0):!1}function eo(e,t){return pe[e]===void 0?!1:t===void 0?pe[e]:(pe[e]=t,e==="s"&&(pe.ss=t-1),!0)}function to(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=Kn(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=za;_.abs=On;_.add=xn;_.subtract=bn;_.as=Nn;_.asMilliseconds=Wn;_.asSeconds=Rn;_.asMinutes=Cn;_.asHours=Fn;_.asDays=Ln;_.asWeeks=Un;_.asMonths=En;_.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=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",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=Re;l.locale=de;l.invalid=Ze;l.duration=$;l.isMoment=j;l.weekdays=Dn;l.parseZone=Sn;l.localeData=ie;l.isDuration=Ie;l.monthsShort=vn;l.weekdaysMin=kn;l.defineLocale=Nt;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 z=l;var Gr=Z(ke()),L=Z(ot()),De=Z(Ye());var O;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(O||(O={}));var Ir=Z(ke()),Hr=Ir.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 K(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function as(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 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 ns={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function os(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),i=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).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 i=s;typeof s=="string"&&(i=function(){return this[s]()}),e&&(ge[e]=i),t&&(ge[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),r&&(ge[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ls(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function us(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]=ls(t[r]);return function(i){var a="",n;for(n=0;n<s;n++)a+=K(t[n])?t[n].call(i,e):t[n];return a}}function Ae(e,t){return e.isValid()?(t=Xt(t,e.localeData()),ut[t]=ut[t]||us(t),ut[t](e)):e.localeData().invalidDate()}function Xt(e,t){var r=5;function s(i){return t.longDateFormat(i)||i}for(Ue.lastIndex=0;r>=0&&Ue.test(e);)e=e.replace(Ue,s),Ue.lastIndex=0,r-=1;return e}var ds={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 hs(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 fs="Invalid date";function cs(){return this._invalidDate}var ms="%d",_s=/\d{1,2}/;function ys(e){return this._ordinal.replace("%d",e)}var ps={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 gs(e,t,r,s){var i=this._relativeTime[r];return K(i)?i(e,t,r,s):i.replace(/%d/i,e)}function ws(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 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 Ss(e){var t=[],r;for(r in e)y(e,r)&&t.push({unit:r,priority:er[r]});return t.sort(function(s,i){return s.priority-i.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 Ms(e){return e=I(e),K(this[e])?this[e]():this}function vs(e,t){if(typeof e=="object"){e=Yt(e);var r=Ss(e),s,i=r.length;for(s=0;s<i;s++)this[r[s].unit](e[r[s].unit])}else if(e=I(e),K(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?/,ir=/\d\d\d\d?/,ar=/\d\d\d\d\d\d?/,Qe=/\d{1,3}/,Ot=/\d{1,4}/,Ke=/[+-]?\d{1,6}/,ve=/\d+/,Xe=/[+-]?\d+/,Ds=/Z|[+-]\d\d:?\d\d/gi,et=/Z|[+-]\d\d(?::?\d\d)?/gi,Ys=/[+-]?\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,i){return s&&r?r:t}}function ks(e,t){return y(Ve,e)?Ve[e](t._strict,t._locale):new RegExp(Os(e))}function Os(e){return C(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,i,a){return r||s||i||a}))}function C(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _t={};function w(e,t){var r,s=t,i;for(typeof e=="string"&&(e=[e]),ie(t)&&(s=function(a,n){n[t]=m(a)}),i=e.length,r=0;r<i;r++)_t[e[r]]=s}function Le(e,t){w(e,function(r,s,i,a){i._w=i._w||{},t(r,i._w,i,a)})}function xs(e,t,r){t!=null&&y(_t,e)&&_t[e](t,r._a,r,e)}var T=0,te=1,J=2,k=3,G=4,re=5,fe=6,bs=7,Ts=8;function Ns(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=Ns(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 i=r._locale.monthsParse(e,s,r._strict);i!=null?t[te]=i:c(r).invalidMonth=e});var Ps="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?/,Ws=Fe,Rs=Fe;function Cs(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 Fs(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 Ls(e,t,r){var s,i,a,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=Q([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(i=D.call(this._shortMonthsParse,n),i!==-1?i:null):(i=D.call(this._longMonthsParse,n),i!==-1?i:null):t==="MMM"?(i=D.call(this._shortMonthsParse,n),i!==-1?i:(i=D.call(this._longMonthsParse,n),i!==-1?i:null)):(i=D.call(this._longMonthsParse,n),i!==-1?i:(i=D.call(this._shortMonthsParse,n),i!==-1?i:null))}function Us(e,t,r){var s,i,a;if(this._monthsParseExact)return Ls.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=Q([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(a.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),!ie(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 Es(){return tt(this.year(),this.month())}function As(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,"_monthsShortRegex")||(this._monthsShortRegex=Ws),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Is(e){return this._monthsParseExact?(y(this,"_monthsRegex")||dr.call(this),e?this._monthsStrictRegex:this._monthsRegex):(y(this,"_monthsRegex")||(this._monthsRegex=Rs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function dr(){function e(n,u){return u.length-n.length}var t=[],r=[],s=[],i,a;for(i=0;i<12;i++)a=Q([2e3,i]),t.push(this.monthsShort(a,"")),r.push(this.months(a,"")),s.push(this.months(a,"")),s.push(this.monthsShort(a,""));for(t.sort(e),r.sort(e),s.sort(e),i=0;i<12;i++)t[i]=C(t[i]),r[i]=C(r[i]);for(i=0;i<24;i++)s[i]=C(s[i]);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",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 Te(e){return Je(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var hr=Me("FullYear",!0);function Hs(){return Je(this.year())}function Gs(e,t,r,s,i,a,n){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,i,a,n),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,i,a,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,i=(7+Ne(e,0,s).getUTCDay()-t)%7;return-i+s-1}function fr(e,t,r,s,i){var a=(7+r-s)%7,n=je(e,s,i),u=1+7*(t-1)+a+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),i=Math.floor((e.dayOfYear()-s-1)/7)+1,a,n;return i<1?(n=e.year()-1,a=i+se(n,t,r)):i>se(e.year(),t,r)?(a=i-se(e.year(),t,r),n=e.year()+1):(n=e.year(),a=i),{week:a,year:n}}function se(e,t,r){var s=je(e,t,r),i=je(e+1,t,r);return(Te(e)-s+i)/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 Vs(e){return Pe(e,this._week.dow,this._week.doy).week}var js={dow:0,doy:6};function $s(){return this._week.dow}function zs(){return this._week.doy}function Bs(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 i=r._locale.weekdaysParse(e,s,r._strict);i!=null?t.d=i:c(r).invalidWeekday=e});Le(["d","e","E"],function(e,t,r,s){t[s]=m(e)});function Js(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function qs(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 Qs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ks="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xs=Fe,ei=Fe,ti=Fe;function ri(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 si(e){return e===!0?xt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ii(e){return e===!0?xt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ai(e,t,r){var s,i,a,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=Q([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(i=D.call(this._weekdaysParse,n),i!==-1?i:null):t==="ddd"?(i=D.call(this._shortWeekdaysParse,n),i!==-1?i:null):(i=D.call(this._minWeekdaysParse,n),i!==-1?i:null):t==="dddd"?(i=D.call(this._weekdaysParse,n),i!==-1||(i=D.call(this._shortWeekdaysParse,n),i!==-1)?i:(i=D.call(this._minWeekdaysParse,n),i!==-1?i:null)):t==="ddd"?(i=D.call(this._shortWeekdaysParse,n),i!==-1||(i=D.call(this._weekdaysParse,n),i!==-1)?i:(i=D.call(this._minWeekdaysParse,n),i!==-1?i:null)):(i=D.call(this._minWeekdaysParse,n),i!==-1||(i=D.call(this._weekdaysParse,n),i!==-1)?i:(i=D.call(this._shortWeekdaysParse,n),i!==-1?i:null))}function ni(e,t,r){var s,i,a;if(this._weekdaysParseExact)return ai.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=Q([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(a.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 oi(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Js(e,this.localeData()),this.add(e-t,"d")):t}function li(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 ui(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=qs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function di(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,"_weekdaysRegex")||(this._weekdaysRegex=Xs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function hi(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ei),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function fi(e){return this._weekdaysParseExact?(y(this,"_weekdaysRegex")||bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ti),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bt(){function e(x,H){return H.length-x.length}var t=[],r=[],s=[],i=[],a,n,u,f,g;for(a=0;a<7;a++)n=Q([2e3,1]).day(a),u=C(this.weekdaysMin(n,"")),f=C(this.weekdaysShort(n,"")),g=C(this.weekdays(n,"")),t.push(u),r.push(f),s.push(g),i.push(u),i.push(f),i.push(g);t.sort(e),r.sort(e),s.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.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 ci(){return this.hours()||24}h("H",["HH",2],0,"hour");h("h",["hh",2],0,Tt);h("k",["kk",2],0,ci);h("hmm",0,0,function(){return""+Tt.apply(this)+q(this.minutes(),2)});h("hmmss",0,0,function(){return""+Tt.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 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",ir);d("hmmss",ar);d("Hmm",ir);d("Hmmss",ar);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[G]=m(e.substr(s)),c(r).bigHour=!0});w("hmmss",function(e,t,r){var s=e.length-4,i=e.length-2;t[k]=m(e.substr(0,s)),t[G]=m(e.substr(s,2)),t[re]=m(e.substr(i)),c(r).bigHour=!0});w("Hmm",function(e,t,r){var s=e.length-2;t[k]=m(e.substr(0,s)),t[G]=m(e.substr(s))});w("Hmmss",function(e,t,r){var s=e.length-4,i=e.length-2;t[k]=m(e.substr(0,s)),t[G]=m(e.substr(s,2)),t[re]=m(e.substr(i))});function mi(e){return(e+"").toLowerCase().charAt(0)==="p"}var _i=/[ap]\.?m?\.?/i,yi=Me("Hours",!0);function pi(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var yr={calendar:ns,longDateFormat:ds,invalidDate:fs,ordinal:ms,dayOfMonthOrdinalParse:_s,relativeTime:ps,months:Ps,monthsShort:nr,week:js,weekdays:Qs,weekdaysMin:Ks,weekdaysShort:cr,meridiemParse:_i},v={},Oe={},We;function gi(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 wi(e){for(var t=0,r,s,i,a;t<e.length;){for(a=zt(e[t]).split("-"),r=a.length,s=zt(e[t+1]),s=s?s.split("-"):null;r>0;){if(i=rt(a.slice(0,r).join("-")),i)return i;if(s&&s.length>=r&&gi(a,s)>=r-1)break;r--}t++}return We}function Si(e){return e.match("^[^/\\\\]*$")!=null}function rt(e){var t=null,r;if(v[e]===void 0&&typeof module<"u"&&module&&module.exports&&Si(e))try{t=We._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=ae(e):r=Nt(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 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 Oe[t.parentLocale]||(Oe[t.parentLocale]=[]),Oe[t.parentLocale].push({name:e,config:t}),null;return v[e]=new vt(ct(s,t)),Oe[e]&&Oe[e].forEach(function(i){Nt(i.name,i.config)}),de(e),v[e]}else return delete v[e],null}function Mi(e,t){if(t!=null){var r,s,i=yr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(ct(v[e]._config,t)):(s=rt(e),s!=null&&(i=s._config),t=ct(i,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 ae(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return We;if(!V(e)){if(t=rt(e),t)return t;e=[e]}return wi(e)}function vi(){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[J]<1||r[J]>tt(r[T],r[te])?J:r[k]<0||r[k]>24||r[k]===24&&(r[G]!==0||r[re]!==0||r[fe]!==0)?k: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>J)&&(t=J),c(e)._overflowWeeks&&t===-1&&(t=bs),c(e)._overflowWeekday&&t===-1&&(t=Ts),c(e).overflow=t),e}var Di=/^\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)?)?$/,Yi=/^\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)?)?$/,ki=/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/]],Oi=/^\/?Date\((-?\d+)/i,xi=/^(?:(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}))$/,bi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pr(e){var t,r,s=e._i,i=Di.exec(s)||Yi.exec(s),a,n,u,f,g=Ee.length,x=dt.length;if(i){for(c(e).iso=!0,t=0,r=g;t<r;t++)if(Ee[t][1].exec(i[1])){n=Ee[t][0],a=Ee[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(i[3]){for(t=0,r=x;t<r;t++)if(dt[t][1].exec(i[3])){u=(i[2]||" ")+dt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(i[4])if(ki.exec(i[4]))f="Z";else{e._isValid=!1;return}e._f=n+(u||"")+(f||""),Rt(e)}else e._isValid=!1}function Ti(e,t,r,s,i,a){var n=[Ni(e),nr.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(i,10)];return a&&n.push(parseInt(a,10)),n}function Ni(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Wi(e,t,r){if(e){var s=cr.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(s!==i)return c(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ri(e,t,r){if(e)return bi[e];if(t)return 0;var s=parseInt(r,10),i=s%100,a=(s-i)/100;return a*60+i}function gr(e){var t=xi.exec(Pi(e._i)),r;if(t){if(r=Ti(t[4],t[3],t[2],t[5],t[6],t[7]),!Wi(t[1],r,e))return;e._a=r,e._tzm=Ri(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 Ci(e){var t=Oi.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 Fi(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=[],i,a,n;if(!e._d){for(i=Fi(e),e._w&&e._a[J]==null&&e._a[te]==null&&Li(e),e._dayOfYear!=null&&(n=ye(e._a[T],i[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]=i[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[G]===0&&e._a[re]===0&&e._a[fe]===0&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ne:Gs).apply(null,s),a=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!==a&&(c(e).weekdayMismatch=!0)}}function Li(e){var t,r,s,i,a,n,u,f,g;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,n=4,r=ye(t.GG,e._a[T],Pe(S(),1,4).year),s=ye(t.W,1),i=ye(t.E,1),(i<1||i>7)&&(f=!0)):(a=e._locale._week.dow,n=e._locale._week.doy,g=Pe(S(),a,n),r=ye(t.gg,e._a[T],g.year),s=ye(t.w,g.week),t.d!=null?(i=t.d,(i<0||i>6)&&(f=!0)):t.e!=null?(i=t.e+a,(t.e<0||t.e>6)&&(f=!0)):i=a),s<1||s>se(r,a,n)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=fr(r,s,i,a,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,i,a,n,u=t.length,f=0,g,x;for(i=Xt(e._f,e._locale).match(Dt)||[],x=i.length,r=0;r<x;r++)a=i[r],s=(t.match(ks(a,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[a]?(s?c(e).empty=!1:c(e).unusedTokens.push(a),xs(a,s,e)):e._strict&&!s&&c(e).unusedTokens.push(a);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]=Ui(e._locale,e._a[k],e._meridiem),g=c(e).era,g!==null&&(e._a[T]=e._locale.erasConvertYear(g,e._a[T])),Wt(e),Pt(e)}function Ui(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 Ei(e){var t,r,s,i,a,n,u=!1,f=e._f.length;if(f===0){c(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<f;i++)a=0,n=!1,t=Mt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Rt(t),St(t)&&(n=!0),a+=c(t).charsLeftOver,a+=c(t).unusedTokens.length*10,c(t).score=a,u?a<s&&(s=a,r=t):(s==null||a<s||n)&&(s=a,r=t,n&&(u=!0));le(e,r||t)}function Ai(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 Ii(e){var t=new Ce(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||ae(e._l),t===null||r===void 0&&t===""?Ze({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),j(t)?new Ce(Pt(t)):(Re(t)?e._d=t:V(r)?Ei(e):r?Rt(e):Hi(e),St(e)||(e._d=null),e))}function Hi(e){var t=e._i;W(t)?e._d=new Date(l.now()):Re(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ci(e):V(t)?(e._a=qt(t.slice(0),function(r){return parseInt(r,10)}),Wt(e)):ce(t)?Ai(e):ie(t)?e._d=new Date(t):l.createFromInputFallback(e)}function Sr(e,t,r,s,i){var a={};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),a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=r,a._i=e,a._f=t,a._strict=s,Ii(a)}function S(e,t,r,s){return Sr(e,t,r,s,!1)}var Gi=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()}),Vi=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 ji(){var e=[].slice.call(arguments,0);return Mr("isBefore",e)}function $i(){var e=[].slice.call(arguments,0);return Mr("isAfter",e)}var zi=function(){return Date.now?Date.now():+new Date},xe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Bi(e){var t,r=!1,s,i=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<i;++s)if(e[xe[s]]){if(r)return!1;parseFloat(e[xe[s]])!==m(e[xe[s]])&&(r=!0)}return!0}function Zi(){return this._isValid}function Ji(){return $(NaN)}function st(e){var t=Yt(e),r=t.year||0,s=t.quarter||0,i=t.month||0,a=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=Bi(t),this._milliseconds=+x+g*1e3+f*6e4+u*1e3*60*60,this._days=+n+a*7,this._months=+i+s*3+r*12,this._data={},this._locale=ae(),this._bubble()}function Ie(e){return e instanceof st}function yt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function qi(e,t,r){var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0,n;for(n=0;n<s;n++)(r&&e[n]!==t[n]||!r&&m(e[n])!==m(t[n]))&&a++;return a+i}function vr(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)})}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 Qi=/([\+\-]|\d\d)/gi;function Ct(e,t){var r=(t||"").match(e),s,i,a;return r===null?null:(s=r[r.length-1]||[],i=(s+"").match(Qi)||["-",0,0],a=+(i[1]*60)+m(i[2]),a===0?0:i[0]==="+"?a:-a)}function Ft(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(j(e)||Re(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 Ki(e,t,r){var s=this._offset||0,i;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&&(i=pt(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"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 Xi(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ea(e){return this.utcOffset(0,e)}function ta(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pt(this),"m")),this}function ra(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ct(Ds,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function sa(e){return this.isValid()?(e=e?S(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ia(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function aa(){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()&&qi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function na(){return this.isValid()?!this._isUTC:!1}function oa(){return this.isValid()?this._isUTC:!1}function Dr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var la=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ua=/^(-|\+)?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,i,a,n;return Ie(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ie(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=la.exec(e))?(i=s[1]==="-"?-1:1,r={y:0,d:m(s[J])*i,h:m(s[k])*i,m:m(s[G])*i,s:m(s[re])*i,ms:m(yt(s[fe]*1e3))*i}):(s=ua.exec(e))?(i=s[1]==="-"?-1:1,r={y:he(s[2],i),M:he(s[3],i),w:he(s[4],i),d:he(s[5],i),h:he(s[6],i),m:he(s[7],i),s:he(s[8],i)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=da(S(r.from),S(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),a=new st(r),Ie(e)&&y(e,"_locale")&&(a._locale=e._locale),Ie(e)&&y(e,"_isValid")&&(a._isValid=e._isValid),a}$.fn=st.prototype;$.invalid=Ji;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 da(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 i,a;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."),a=r,r=s,s=a),i=$(r,s),kr(this,i,e),this}}function kr(e,t,r,s){var i=t._milliseconds,a=yt(t._days),n=yt(t._months);e.isValid()&&(s=s??!0,n&&lr(e,Ge(e,"Month")+n*r),a&&tr(e,"Date",Ge(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),s&&l.updateOffset(e,a||n))}var ha=Yr(1,"add"),fa=Yr(-1,"subtract");function Or(e){return typeof e=="string"||e instanceof String}function ca(e){return j(e)||Re(e)||Or(e)||ie(e)||_a(e)||ma(e)||e===null||e===void 0}function ma(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"],i,a,n=s.length;for(i=0;i<n;i+=1)a=s[i],r=r||y(e,a);return t&&r}function _a(e){var t=V(e),r=!1;return t&&(r=e.filter(function(s){return!ie(s)&&Or(e)}).length===0),t&&r}function ya(e){var t=ce(e)&&!wt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,a;for(i=0;i<s.length;i+=1)a=s[i],r=r||y(e,a);return t&&r}function pa(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 ga(e,t){arguments.length===1&&(arguments[0]?ca(arguments[0])?(e=arguments[0],t=void 0):ya(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||S(),s=Ft(r,this).startOf("day"),i=l.calendarFormat(this,s)||"sameElse",a=t&&(K(t[i])?t[i].call(this,r):t[i]);return this.format(a||this.localeData().calendar(i,this,S(r)))}function wa(){return new Ce(this)}function Sa(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 Ma(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 va(e,t,r,s){var i=j(e)?e:S(e),a=j(t)?t:S(t);return this.isValid()&&i.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(i,r):!this.isBefore(i,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Da(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 Ya(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ka(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Oa(e,t,r){var s,i,a;if(!this.isValid())return NaN;if(s=Ft(e,this),!s.isValid())return NaN;switch(i=(s.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":a=He(this,s)/12;break;case"month":a=He(this,s);break;case"quarter":a=He(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-i)/864e5;break;case"week":a=(this-s-i)/6048e5;break;default:a=this-s}return r?a:E(a)}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"),i,a;return t-s<0?(i=e.clone().add(r-1,"months"),a=(t-s)/(s-i)):(i=e.clone().add(r+1,"months"),a=(t-s)/(i-s)),-(r+a)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function xa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ba(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 Ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,i,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+i+a)}function Na(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=Ae(this,e);return this.localeData().postformat(t)}function Pa(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 Wa(e){return this.from(S(),e)}function Ra(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 Ca(e){return this.to(S(),e)}function xr(e){var t;return e===void 0?this._locale._abbr:(t=ae(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 Fa(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 La(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 Ua(){return this._d.valueOf()-(this._offset||0)*6e4}function Ea(){return Math.floor(this.valueOf()/1e3)}function Aa(){return new Date(this.valueOf())}function Ia(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ha(){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 Ga(){return this.isValid()?this.toISOString():null}function Va(){return St(this)}function ja(){return le({},c(this))}function $a(){return c(this).overflow}function za(){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",sn);d("NNNNN",an);w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var i=r._locale.erasParse(e,s,r._strict);i?c(r).era=i:c(r).invalidEra=e});d("y",ve);d("yy",ve);d("yyy",ve);d("yyyy",ve);d("yo",nn);w(["y","yy","yyy","yyyy"],T);w(["yo"],function(e,t,r,s){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)});function Ba(e,t){var r,s,i,a=this._eras||ae("en")._eras;for(r=0,s=a.length;r<s;++r)switch(typeof a[r].since==="string"&&(i=l(a[r].since).startOf("day"),a[r].since=i.valueOf()),typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=l(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}return a}function Za(e,t,r){var s,i,a=this.eras(),n,u,f;for(e=e.toUpperCase(),s=0,i=a.length;s<i;++s)if(n=a[s].name.toUpperCase(),u=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[s];break;case"NNNN":if(n===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([n,u,f].indexOf(e)>=0)return a[s]}function Ja(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 qa(){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 Qa(){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 Ka(){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 Xa(){var e,t,r,s,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(r=i[e].since<=i[e].until?1:-1,s=this.clone().startOf("day").valueOf(),i[e].since<=s&&s<=i[e].until||i[e].until<=s&&s<=i[e].since)return(this.year()-l(i[e].since).year())*r+i[e].offset;return this.year()}function en(e){return y(this,"_erasNameRegex")||Ut.call(this),e?this._erasNameRegex:this._erasRegex}function tn(e){return y(this,"_erasAbbrRegex")||Ut.call(this),e?this._erasAbbrRegex:this._erasRegex}function rn(e){return y(this,"_erasNarrowRegex")||Ut.call(this),e?this._erasNarrowRegex:this._erasRegex}function Lt(e,t){return t.erasAbbrRegex(e)}function sn(e,t){return t.erasNameRegex(e)}function an(e,t){return t.erasNarrowRegex(e)}function nn(e,t){return t._eraYearOrdinalRegex||ve}function Ut(){var e=[],t=[],r=[],s=[],i,a,n=this.eras();for(i=0,a=n.length;i<a;++i)t.push(C(n[i].name)),e.push(C(n[i].abbr)),r.push(C(n[i].narrow)),s.push(C(n[i].name)),s.push(C(n[i].abbr)),s.push(C(n[i].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 it(e,t){h(0,[e,e.length],0,t)}it("gggg","weekYear");it("ggggg","weekYear");it("GGGG","isoWeekYear");it("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);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 on(e){return Rr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ln(e){return Rr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function un(){return se(this.year(),1,4)}function dn(){return se(this.isoWeekYear(),1,4)}function hn(){var e=this.localeData()._week;return se(this.year(),e.dow,e.doy)}function fn(){var e=this.localeData()._week;return se(this.weekYear(),e.dow,e.doy)}function Rr(e,t,r,s,i){var a;return e==null?Pe(this,s,i).year:(a=se(e,s,i),t>a&&(t=a),cn.call(this,e,t,r,s,i))}function cn(e,t,r,s,i){var a=fr(e,t,r,s,i),n=Ne(a.year,0,a.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 mn(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 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 _n(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 yn=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 pn=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 gn(e,t){t[fe]=m(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")w(ue,gn);Fr=Me("Milliseconds",!1);h("z",0,0,"zoneAbbr");h("zz",0,0,"zoneName");function wn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}var o=Ce.prototype;o.add=ha;o.calendar=ga;o.clone=wa;o.diff=Oa;o.endOf=La;o.format=Na;o.from=Pa;o.fromNow=Wa;o.to=Ra;o.toNow=Ca;o.get=Ms;o.invalidAt=$a;o.isAfter=Sa;o.isBefore=Ma;o.isBetween=va;o.isSame=Da;o.isSameOrAfter=Ya;o.isSameOrBefore=ka;o.isValid=Va;o.lang=br;o.locale=xr;o.localeData=Tr;o.max=Vi;o.min=Gi;o.parsingFlags=ja;o.set=vs;o.startOf=Fa;o.subtract=fa;o.toArray=Ia;o.toObject=Ha;o.toDate=Aa;o.toISOString=ba;o.inspect=Ta;typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ga;o.toString=xa;o.unix=Ea;o.valueOf=Ua;o.creationData=za;o.eraName=qa;o.eraNarrow=Qa;o.eraAbbr=Ka;o.eraYear=Xa;o.year=hr;o.isLeapYear=Hs;o.weekYear=on;o.isoWeekYear=ln;o.quarter=o.quarters=mn;o.month=ur;o.daysInMonth=Es;o.week=o.weeks=Bs;o.isoWeek=o.isoWeeks=Zs;o.weeksInYear=hn;o.weeksInWeekYear=fn;o.isoWeeksInYear=un;o.isoWeeksInISOWeekYear=dn;o.date=Cr;o.day=o.days=oi;o.weekday=li;o.isoWeekday=ui;o.dayOfYear=_n;o.hour=o.hours=yi;o.minute=o.minutes=yn;o.second=o.seconds=pn;o.millisecond=o.milliseconds=Fr;o.utcOffset=Ki;o.utc=ea;o.local=ta;o.parseZone=ra;o.hasAlignedHourOffset=sa;o.isDST=ia;o.isLocal=na;o.isUtcOffset=oa;o.isUtc=Dr;o.isUTC=Dr;o.zoneAbbr=wn;o.zoneName=Sn;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/",Xi);o.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",aa);function Mn(e){return S(e*1e3)}function vn(){return S.apply(null,arguments).parseZone()}function Lr(e){return e}var p=vt.prototype;p.calendar=os;p.longDateFormat=hs;p.invalidDate=cs;p.ordinal=ys;p.preparse=Lr;p.postformat=Lr;p.relativeTime=gs;p.pastFuture=ws;p.set=as;p.eras=Ba;p.erasParse=Za;p.erasConvertYear=Ja;p.erasAbbrRegex=tn;p.erasNameRegex=en;p.erasNarrowRegex=rn;p.months=Cs;p.monthsShort=Fs;p.monthsParse=Us;p.monthsRegex=Is;p.monthsShortRegex=As;p.week=Vs;p.firstDayOfYear=zs;p.firstDayOfWeek=$s;p.weekdays=ri;p.weekdaysMin=ii;p.weekdaysShort=si;p.weekdaysParse=ni;p.weekdaysRegex=di;p.weekdaysShortRegex=hi;p.weekdaysMinRegex=fi;p.isPM=mi;p.meridiem=pi;function Be(e,t,r,s){var i=ae(),a=Q().set(s,t);return i[r](a,e)}function Ur(e,t,r){if(ie(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,i=[];for(s=0;s<12;s++)i[s]=Be(e,s,r,"month");return i}function Et(e,t,r,s){typeof e=="boolean"?(ie(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ie(t)&&(r=t,t=void 0),t=t||"");var i=ae(),a=e?i._week.dow:0,n,u=[];if(r!=null)return Be(t,(r+a)%7,s,"day");for(n=0;n<7;n++)u[n]=Be(t,(n+a)%7,s,"day");return u}function Dn(e,t){return Ur(e,t,"months")}function Yn(e,t){return Ur(e,t,"monthsShort")}function kn(e,t,r){return Et(e,t,r,"weekdays")}function On(e,t,r){return Et(e,t,r,"weekdaysShort")}function xn(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.",ae);var X=Math.abs;function bn(){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 i=$(t,r);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Tn(e,t){return Er(this,e,t,1)}function Nn(e,t){return Er(this,e,t,-1)}function Zt(e){return e<0?Math.floor(e):Math.ceil(e)}function Pn(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,i,a,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,i=E(e/1e3),s.seconds=i%60,a=E(i/60),s.minutes=a%60,n=E(a/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 Wn(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 Rn(){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 Cn=ne("ms"),Fn=ne("s"),Ln=ne("m"),Un=ne("h"),En=ne("d"),An=ne("w"),In=ne("M"),Hn=ne("Q"),Gn=ne("y");function Vn(){return $(this)}function jn(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function me(e){return function(){return this.isValid()?this._data[e]:NaN}}var $n=me("milliseconds"),zn=me("seconds"),Bn=me("minutes"),Zn=me("hours"),Jn=me("days"),qn=me("months"),Qn=me("years");function Kn(){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 Xn(e,t,r,s,i){return i.relativeTime(t||1,!!r,e,s)}function eo(e,t,r,s){var i=$(e).abs(),a=ee(i.as("s")),n=ee(i.as("m")),u=ee(i.as("h")),f=ee(i.as("d")),g=ee(i.as("M")),x=ee(i.as("w")),H=ee(i.as("y")),oe=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||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,Xn.apply(null,oe)}function to(e){return e===void 0?ee:typeof e=="function"?(ee=e,!0):!1}function ro(e,t){return pe[e]===void 0?!1:t===void 0?pe[e]:(pe[e]=t,e==="s"&&(pe.ss=t-1),!0)}function so(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=pe,i,a;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)),i=this.localeData(),a=eo(this,!r,s,i),r&&(a=i.pastFuture(+this,a)),i.postformat(a)}var ht=Math.abs;function _e(e){return(e>0)-(e<0)||+e}function at(){if(!this.isValid())return this.localeData().invalidDate();var e=ht(this._milliseconds)/1e3,t=ht(this._days),r=ht(this._months),s,i,a,n,u=this.asSeconds(),f,g,x,H;return u?(s=E(e/60),i=E(s/60),e%=60,s%=60,a=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"+(a?g+a+"Y":"")+(r?g+r+"M":"")+(t?x+t+"D":"")+(i||s||e?"T":"")+(i?H+i+"H":"")+(s?H+s+"M":"")+(e?H+n+"S":"")):"P0D"}var _=st.prototype;_.isValid=Zi;_.abs=bn;_.add=Tn;_.subtract=Nn;_.as=Wn;_.asMilliseconds=Cn;_.asSeconds=Fn;_.asMinutes=Ln;_.asHours=Un;_.asDays=En;_.asWeeks=An;_.asMonths=In;_.asQuarters=Hn;_.asYears=Gn;_.valueOf=Rn;_._bubble=Pn;_.clone=Vn;_.get=jn;_.milliseconds=$n;_.seconds=zn;_.minutes=Bn;_.hours=Zn;_.days=Jn;_.weeks=Kn;_.months=qn;_.years=Qn;_.humanize=so;_.toISOString=at;_.toString=at;_.toJSON=at;_.locale=xr;_.localeData=Tr;_.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",at);_.lang=br;h("X",0,0,"unix");h("x",0,0,"valueOf");d("x",Xe);d("X",Ys);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";ss(S);l.fn=o;l.min=ji;l.max=$i;l.now=zi;l.utc=Q;l.unix=Mn;l.months=Dn;l.isDate=Re;l.locale=de;l.invalid=Ze;l.duration=$;l.isMoment=j;l.weekdays=kn;l.parseZone=vn;l.localeData=ae;l.isDuration=Ie;l.monthsShort=Yn;l.weekdaysMin=xn;l.defineLocale=Nt;l.updateLocale=Mi;l.locales=vi;l.weekdaysShort=On;l.normalizeUnits=I;l.relativeTimeRounding=to;l.relativeTimeThreshold=ro;l.calendarFormat=pa;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=Z(ke()),L=Z(ot()),De=Z(Ye());var O;(function(e){e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH"})(O||(O={}));var Ir=Z(ke()),Hr=Ir.css`
5
5
  .sessions-chart {
6
6
  height: 100%;
7
7
  width: 100%;
8
8
  }
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 Y=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`
9
+ `;var R=function(e,t,r,s){var i=arguments.length,a=i<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,s);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};window.echarts==null&&console.warn("Echarts is not available");var Y=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?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]]})}};Y.styles=Hr;R([(0,L.property)({type:String})],Y.prototype,"xAxisName",void 0);R([(0,L.property)({type:String})],Y.prototype,"yAxisName",void 0);R([(0,L.property)({type:String})],Y.prototype,"graphColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"hoverColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBackgroundColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBorderColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipTextColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBorderRadius",void 0);R([(0,De.jsonProperty)(void 0)],Y.prototype,"valueLabels",void 0);R([(0,De.jsonProperty)(void 0)],Y.prototype,"valueLabelsSingular",void 0);R([(0,L.property)({type:Boolean})],Y.prototype,"barChart",void 0);R([(0,L.property)({type:String})],Y.prototype,"period",void 0);R([(0,De.jsonProperty)([])],Y.prototype,"data",void 0);R([(0,L.query)(".sessions-chart")],Y.prototype,"container",void 0);var Vr=Z(Ye());(0,Vr.customElement)("ft-chart")(Y);var jr=Z(ke()),$r=jr.css`
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]),i,a,n="";switch(this.period){case O.DAY:{i=r.format("DD MMM YYYY"),a="on",this.isThisPeriod(r,O.DAY)&&(n=" so far");break}case O.WEEK:{i=r.format("DD MMM YYYY"),a="during the week of",this.isThisPeriod(r,O.WEEK)&&(n=" so far");break}case O.MONTH:{a="in",i=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} ${a} ${i}${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]]})}};Y.styles=Hr;R([(0,L.property)({type:String})],Y.prototype,"xAxisName",void 0);R([(0,L.property)({type:String})],Y.prototype,"yAxisName",void 0);R([(0,L.property)({type:String})],Y.prototype,"graphColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"hoverColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBackgroundColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBorderColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipTextColor",void 0);R([(0,L.property)({type:String})],Y.prototype,"tooltipBorderRadius",void 0);R([(0,De.jsonProperty)(void 0)],Y.prototype,"valueLabels",void 0);R([(0,De.jsonProperty)(void 0)],Y.prototype,"valueLabelsSingular",void 0);R([(0,L.property)({type:Boolean})],Y.prototype,"barChart",void 0);R([(0,L.property)({type:String})],Y.prototype,"period",void 0);R([(0,De.jsonProperty)([])],Y.prototype,"data",void 0);R([(0,L.query)(".sessions-chart")],Y.prototype,"container",void 0);var jr=Z(Ye());var Vr={"ft-chart":Y};(0,jr.customElements)(Vr);var $r=Z(ke()),zr=$r.css`
12
12
  .session-chart {
13
13
  width: 100%;
14
14
  height: 100%;
15
15
  }
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 Br.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 zr.html`
16
+ `;var B=function(e,t,r,s){var i=arguments.length,a=i<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,s);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},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 Br.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=>[z.utc(r.periodStartDate,"YYYY-MM-DD").unix(),r.sessionCount])}};b.elementDefinitions={"ft-chart":Y};b.styles=$r;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,Zr.customElement)("ft-analytics-sessions-chart")(b);})();
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":Y};b.styles=zr;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);var Jr={"ft-analytics-sessions-chart":b};(0,qr.customElements)(Jr);})();
35
35
  /*! Bundled license information:
36
36
 
37
37
  moment/dist/moment.js: