@maddytp/node-red-dashboard-2-ui-reef
Version:
Set of UI nodes for aquarium automation based on @flowfuse/node-red-dashboard
10 lines • 66.3 kB
JavaScript
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-feed-container[data-v-cdf8a424]{display:flex;flex-flow:column;height:100%;width:100%}.ui-feed-header[data-v-cdf8a424]{display:flex;justify-content:space-between;font-size:14px;font-weight:500;letter-spacing:.025em;text-transform:uppercase;padding-left:3px;height:1.4em}.ui-feed-body[data-v-cdf8a424]{display:inline-flex;justify-content:space-around;gap:1px;font-size:14px;font-weight:500;letter-spacing:.025em;width:100%;height:100%;border-radius:1.5em;border:1px solid rgb(var(--v-theme-primary))}.ui-feed-button[data-v-cdf8a424]{display:flex;text-align:center;z-index:1;outline:none;-webkit-user-select:none;user-select:none;cursor:pointer;transition:all .5s;transition-behavior:allow-discrete;margin:0;overflow:hidden!important;white-space:nowrap!important;border-radius:1.5em;border:rgb(var(--v-theme-surface)) solid 2px}.ui-feed-button>.ui-feed-label[data-v-cdf8a424]{display:inline;margin:auto;opacity:1;transition:all .5s}.ui-feed-button>.ui-feed-timer[data-v-cdf8a424]{display:none;opacity:0;transition:all .5s}.ui-feed-button>.ui-feed-cancel[data-v-cdf8a424]{display:none;opacity:0;transition:all .5s}.ui-feed-active[data-v-cdf8a424]{width:100%!important;opacity:1;display:flex!important;justify-content:space-between;align-items:center;padding-left:10px;padding-right:10px;margin:0!important;transition:all .5s;pointer-events:none!important}.ui-feed-active>.ui-feed-label[data-v-cdf8a424]{display:inline-flex!important;margin:0!important;opacity:1!important;-webkit-user-select:none;user-select:none;cursor:pointer;pointer-events:none;transition:all .5s}.ui-feed-active>.ui-feed-timer[data-v-cdf8a424]{display:inline-flex!important;position:absolute;opacity:1!important;font-size:20px!important;-webkit-user-select:none;user-select:none;cursor:pointer;pointer-events:none;left:50%;transform:translate(-50%);transition:all .5s}.ui-feed-active>.ui-feed-cancel[data-v-cdf8a424]{display:inline-flex!important;opacity:1!important;text-align:right;transition:all .5s;pointer-events:all!important;scale:1.5}.ui-feed-inactive[data-v-cdf8a424]{width:0!important;opacity:0!important;border:0!important;display:none!important}.ui-feed-button[data-v-cdf8a424]{width:var(--52838c56)}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
(function(Q,_e){typeof exports=="object"&&typeof module<"u"?_e(exports,require("vuex"),require("vue")):typeof define=="function"&&define.amd?define(["exports","vuex","vue"],_e):(Q=typeof globalThis<"u"?globalThis:Q||self,_e(Q["ui-feed"]={},Q.vuex,Q.Vue))})(this,function(Q,_e,v){"use strict";//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var bt;function l(){return bt.apply(null,arguments)}function Ts(e){bt=e}function R(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function se(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qe(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function b(e){return e===void 0}function A(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function xt(e,t){var s=[],r,a=e.length;for(r=0;r<a;++r)s.push(t(e[r],r));return s}function X(e,t){for(var s in t)w(t,s)&&(e[s]=t[s]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function L(e,t,s,r){return ss(e,t,s,r,!0).utc()}function bs(){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=bs()),e._pf}var Be;Array.prototype.some?Be=Array.prototype.some:Be=function(e){var t=Object(this),s=t.length>>>0,r;for(r=0;r<s;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Je(e){var t=null,s=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=c(e),s=Be.call(t.parsedDateParts,function(a){return a!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Te(e){var t=L(NaN);return e!=null?X(c(t),e):c(t).userInvalidated=!0,t}var Nt=l.momentProperties=[],Qe=!1;function Xe(e,t){var s,r,a,n=Nt.length;if(b(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),b(t._i)||(e._i=t._i),b(t._f)||(e._f=t._f),b(t._l)||(e._l=t._l),b(t._strict)||(e._strict=t._strict),b(t._tzm)||(e._tzm=t._tzm),b(t._isUTC)||(e._isUTC=t._isUTC),b(t._offset)||(e._offset=t._offset),b(t._pf)||(e._pf=c(t)),b(t._locale)||(e._locale=t._locale),n>0)for(s=0;s<n;s++)r=Nt[s],a=t[r],b(a)||(e[r]=a);return e}function we(e){Xe(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Qe===!1&&(Qe=!0,l.updateOffset(this),Qe=!1)}function F(e){return e instanceof we||e!=null&&e._isAMomentObject!=null}function Wt(e){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function N(e,t){var s=!0;return X(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,e),s){var r=[],a,n,i,u=arguments.length;for(n=0;n<u;n++){if(a="",typeof arguments[n]=="object"){a+=`
[`+n+"] ";for(i in arguments[0])w(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[n];r.push(a)}Wt(e+`
Arguments: `+Array.prototype.slice.call(r).join("")+`
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Pt={};function Rt(e,t){l.deprecationHandler!=null&&l.deprecationHandler(e,t),Pt[e]||(Wt(t),Pt[e]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function xs(e){var t,s;for(s in e)w(e,s)&&(t=e[s],U(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ke(e,t){var s=X({},e),r;for(r in t)w(t,r)&&(se(e[r])&&se(t[r])?(s[r]={},X(s[r],e[r]),X(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&se(e[r])&&(s[r]=X({},s[r]));return s}function et(e){e!=null&&this.set(e)}var tt;Object.keys?tt=Object.keys:tt=function(e){var t,s=[];for(t in e)w(e,t)&&s.push(t);return s};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 Ws(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return U(r)?r.call(t,s):r}function E(e,t,s){var r=""+Math.abs(e),a=t-r.length,n=e>=0;return(n?s?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var st=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,rt={},ie={};function h(e,t,s,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(ie[e]=a),t&&(ie[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),s&&(ie[s]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Ps(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Rs(e){var t=e.match(st),s,r;for(s=0,r=t.length;s<r;s++)ie[t[s]]?t[s]=ie[t[s]]:t[s]=Ps(t[s]);return function(a){var n="",i;for(i=0;i<r;i++)n+=U(t[i])?t[i].call(a,e):t[i];return n}}function xe(e,t){return e.isValid()?(t=Ft(t,e.localeData()),rt[t]=rt[t]||Rs(t),rt[t](e)):e.localeData().invalidDate()}function Ft(e,t){var s=5;function r(a){return t.longDateFormat(a)||a}for(be.lastIndex=0;s>=0&&be.test(e);)e=e.replace(be,r),be.lastIndex=0,s-=1;return e}var Fs={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 Cs(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(st).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Is="Invalid date";function Ls(){return this._invalidDate}var Us="%d",Es=/\d{1,2}/;function Hs(e){return this._ordinal.replace("%d",e)}var As={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 Vs(e,t,s,r){var a=this._relativeTime[s];return U(a)?a(e,t,s,r):a.replace(/%d/i,e)}function Gs(e,t){var s=this._relativeTime[e>0?"future":"past"];return U(s)?s(t):s.replace(/%s/i,t)}var Ct={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function W(e){return typeof e=="string"?Ct[e]||Ct[e.toLowerCase()]:void 0}function at(e){var t={},s,r;for(r in e)w(e,r)&&(s=W(r),s&&(t[s]=e[r]));return t}var js={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function zs(e){var t=[],s;for(s in e)w(e,s)&&t.push({unit:s,priority:js[s]});return t.sort(function(r,a){return r.priority-a.priority}),t}var It=/\d/,x=/\d\d/,Lt=/\d{3}/,nt=/\d{4}/,Ne=/[+-]?\d{6}/,S=/\d\d?/,Ut=/\d\d\d\d?/,Et=/\d\d\d\d\d\d?/,We=/\d{1,3}/,it=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,oe=/\d+/,Re=/[+-]?\d+/,$s=/Z|[+-]\d\d:?\d\d/gi,Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,Zs=/[+-]?\d+(\.\d{1,3})?/,ke=/[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,le=/^[1-9]\d?/,ot=/^([1-9]\d|\d)/,Ce;Ce={};function d(e,t,s){Ce[e]=U(t)?t:function(r,a){return r&&s?s:t}}function qs(e,t){return w(Ce,e)?Ce[e](t._strict,t._locale):new RegExp(Bs(e))}function Bs(e){return V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,a,n){return s||r||a||n}))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function P(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function m(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=P(t)),s}var lt={};function g(e,t){var s,r=t,a;for(typeof e=="string"&&(e=[e]),A(t)&&(r=function(n,i){i[t]=m(n)}),a=e.length,s=0;s<a;s++)lt[e[s]]=r}function ge(e,t){g(e,function(s,r,a,n){a._w=a._w||{},t(s,a._w,a,n)})}function Js(e,t,s){t!=null&&w(lt,e)&<[e](t,s._a,s,e)}function Ie(e){return e%4===0&&e%100!==0||e%400===0}var O=0,G=1,H=2,Y=3,C=4,j=5,re=6,Qs=7,Xs=8;h("Y",0,0,function(){var e=this.year();return e<=9999?E(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"),d("Y",Re),d("YY",S,x),d("YYYY",it,nt),d("YYYYY",Pe,Ne),d("YYYYYY",Pe,Ne),g(["YYYYY","YYYYYY"],O),g("YYYY",function(e,t){t[O]=e.length===2?l.parseTwoDigitYear(e):m(e)}),g("YY",function(e,t){t[O]=l.parseTwoDigitYear(e)}),g("Y",function(e,t){t[O]=parseInt(e,10)});function Se(e){return Ie(e)?366:365}l.parseTwoDigitYear=function(e){return m(e)+(m(e)>68?1900:2e3)};var Ht=ue("FullYear",!0);function Ks(){return Ie(this.year())}function ue(e,t){return function(s){return s!=null?(At(this,e,s),l.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){if(!e.isValid())return NaN;var s=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return r?s.getUTCSeconds():s.getSeconds();case"Minutes":return r?s.getUTCMinutes():s.getMinutes();case"Hours":return r?s.getUTCHours():s.getHours();case"Date":return r?s.getUTCDate():s.getDate();case"Day":return r?s.getUTCDay():s.getDay();case"Month":return r?s.getUTCMonth():s.getMonth();case"FullYear":return r?s.getUTCFullYear():s.getFullYear();default:return NaN}}function At(e,t,s){var r,a,n,i,u;if(!(!e.isValid()||isNaN(s))){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(s):r.setMilliseconds(s));case"Seconds":return void(a?r.setUTCSeconds(s):r.setSeconds(s));case"Minutes":return void(a?r.setUTCMinutes(s):r.setMinutes(s));case"Hours":return void(a?r.setUTCHours(s):r.setHours(s));case"Date":return void(a?r.setUTCDate(s):r.setDate(s));case"FullYear":break;default:return}n=s,i=e.month(),u=e.date(),u=u===29&&i===1&&!Ie(n)?28:u,a?r.setUTCFullYear(n,i,u):r.setFullYear(n,i,u)}}function er(e){return e=W(e),U(this[e])?this[e]():this}function tr(e,t){if(typeof e=="object"){e=at(e);var s=zs(e),r,a=s.length;for(r=0;r<a;r++)this[s[r].unit](e[s[r].unit])}else if(e=W(e),U(this[e]))return this[e](t);return this}function sr(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 ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=sr(t,12);return e+=(t-s)/12,s===1?Ie(e)?29:28:31-s%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),d("M",S,le),d("MM",S,x),d("MMM",function(e,t){return t.monthsShortRegex(e)}),d("MMMM",function(e,t){return t.monthsRegex(e)}),g(["M","MM"],function(e,t){t[G]=m(e)-1}),g(["MMM","MMMM"],function(e,t,s,r){var a=s._locale.monthsParse(e,r,s._strict);a!=null?t[G]=a:c(s).invalidMonth=e});var rr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Gt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ar=ke,nr=ke;function ir(e,t){return e?R(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Gt).test(t)?"format":"standalone"][e.month()]:R(this._months)?this._months:this._months.standalone}function or(e,t){return e?R(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Gt.test(t)?"format":"standalone"][e.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lr(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)n=L([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(n,"").toLocaleLowerCase();return s?t==="MMM"?(a=D.call(this._shortMonthsParse,i),a!==-1?a:null):(a=D.call(this._longMonthsParse,i),a!==-1?a:null):t==="MMM"?(a=D.call(this._shortMonthsParse,i),a!==-1?a:(a=D.call(this._longMonthsParse,i),a!==-1?a:null)):(a=D.call(this._longMonthsParse,i),a!==-1?a:(a=D.call(this._shortMonthsParse,i),a!==-1?a:null))}function ur(e,t,s){var r,a,n;if(this._monthsParseExact)return lr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=L([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function jt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=m(t);else if(t=e.localeData().monthsParse(t),!A(t))return e}var s=t,r=e.date();return r=r<29?r:Math.min(r,ut(e.year(),s)),e._isUTC?e._d.setUTCMonth(s,r):e._d.setMonth(s,r),e}function zt(e){return e!=null?(jt(this,e),l.updateOffset(this,!0),this):Me(this,"Month")}function dr(){return ut(this.year(),this.month())}function hr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||$t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=ar),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function fr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||$t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=nr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function $t(){function e(f,_){return _.length-f.length}var t=[],s=[],r=[],a,n,i,u;for(a=0;a<12;a++)n=L([2e3,a]),i=V(this.monthsShort(n,"")),u=V(this.months(n,"")),t.push(i),s.push(u),r.push(u),r.push(i);t.sort(e),s.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function cr(e,t,s,r,a,n,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,a,n,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,a,n,i),u}function pe(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,s){var r=7+t-s,a=(7+pe(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Zt(e,t,s,r,a){var n=(7+s-r)%7,i=Le(e,r,a),u=1+7*(t-1)+n+i,f,_;return u<=0?(f=e-1,_=Se(f)+u):u>Se(e)?(f=e+1,_=u-Se(e)):(f=e,_=u),{year:f,dayOfYear:_}}function De(e,t,s){var r=Le(e.year(),t,s),a=Math.floor((e.dayOfYear()-r-1)/7)+1,n,i;return a<1?(i=e.year()-1,n=a+z(i,t,s)):a>z(e.year(),t,s)?(n=a-z(e.year(),t,s),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function z(e,t,s){var r=Le(e,t,s),a=Le(e+1,t,s);return(Se(e)-r+a)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),d("w",S,le),d("ww",S,x),d("W",S,le),d("WW",S,x),ge(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=m(e)});function mr(e){return De(e,this._week.dow,this._week.doy).week}var _r={dow:0,doy:6};function yr(){return this._week.dow}function wr(){return this._week.doy}function kr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gr(e){var t=De(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"),d("d",S),d("e",S),d("E",S),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)}),ge(["dd","ddd","dddd"],function(e,t,s,r){var a=s._locale.weekdaysParse(e,r,s._strict);a!=null?t.d=a:c(s).invalidWeekday=e}),ge(["d","e","E"],function(e,t,s,r){t[r]=m(e)});function Sr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Mr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var pr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vr=ke,Yr=ke,Or=ke;function Tr(e,t){var s=R(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?dt(s,this._week.dow):e?s[e.day()]:s}function br(e){return e===!0?dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function xr(e){return e===!0?dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Nr(e,t,s){var r,a,n,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)n=L([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(n,"").toLocaleLowerCase();return s?t==="dddd"?(a=D.call(this._weekdaysParse,i),a!==-1?a:null):t==="ddd"?(a=D.call(this._shortWeekdaysParse,i),a!==-1?a:null):(a=D.call(this._minWeekdaysParse,i),a!==-1?a:null):t==="dddd"?(a=D.call(this._weekdaysParse,i),a!==-1||(a=D.call(this._shortWeekdaysParse,i),a!==-1)?a:(a=D.call(this._minWeekdaysParse,i),a!==-1?a:null)):t==="ddd"?(a=D.call(this._shortWeekdaysParse,i),a!==-1||(a=D.call(this._weekdaysParse,i),a!==-1)?a:(a=D.call(this._minWeekdaysParse,i),a!==-1?a:null)):(a=D.call(this._minWeekdaysParse,i),a!==-1||(a=D.call(this._weekdaysParse,i),a!==-1)?a:(a=D.call(this._shortWeekdaysParse,i),a!==-1?a:null))}function Wr(e,t,s){var r,a,n;if(this._weekdaysParseExact)return Nr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=L([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(n.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function Pr(e){if(!this.isValid())return e!=null?this:NaN;var t=Me(this,"Day");return e!=null?(e=Sr(e,this.localeData()),this.add(e-t,"d")):t}function Rr(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 Fr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Mr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Cr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=vr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ir(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Lr(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ht.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Or),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ht(){function e(T,J){return J.length-T.length}var t=[],s=[],r=[],a=[],n,i,u,f,_;for(n=0;n<7;n++)i=L([2e3,1]).day(n),u=V(this.weekdaysMin(i,"")),f=V(this.weekdaysShort(i,"")),_=V(this.weekdays(i,"")),t.push(u),s.push(f),r.push(_),a.push(u),a.push(f),a.push(_);t.sort(e),s.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ft(){return this.hours()%12||12}function Ur(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,ft),h("k",["kk",2],0,Ur),h("hmm",0,0,function(){return""+ft.apply(this)+E(this.minutes(),2)}),h("hmmss",0,0,function(){return""+ft.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+E(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)});function Bt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Bt("a",!0),Bt("A",!1);function Jt(e,t){return t._meridiemParse}d("a",Jt),d("A",Jt),d("H",S,ot),d("h",S,le),d("k",S,le),d("HH",S,x),d("hh",S,x),d("kk",S,x),d("hmm",Ut),d("hmmss",Et),d("Hmm",Ut),d("Hmmss",Et),g(["H","HH"],Y),g(["k","kk"],function(e,t,s){var r=m(e);t[Y]=r===24?0:r}),g(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),g(["h","hh"],function(e,t,s){t[Y]=m(e),c(s).bigHour=!0}),g("hmm",function(e,t,s){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[C]=m(e.substr(r)),c(s).bigHour=!0}),g("hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[Y]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[j]=m(e.substr(a)),c(s).bigHour=!0}),g("Hmm",function(e,t,s){var r=e.length-2;t[Y]=m(e.substr(0,r)),t[C]=m(e.substr(r))}),g("Hmmss",function(e,t,s){var r=e.length-4,a=e.length-2;t[Y]=m(e.substr(0,r)),t[C]=m(e.substr(r,2)),t[j]=m(e.substr(a))});function Er(e){return(e+"").toLowerCase().charAt(0)==="p"}var Hr=/[ap]\.?m?\.?/i,Ar=ue("Hours",!0);function Vr(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Qt={calendar:Ns,longDateFormat:Fs,invalidDate:Is,ordinal:Us,dayOfMonthOrdinalParse:Es,relativeTime:As,months:rr,monthsShort:Vt,week:_r,weekdays:pr,weekdaysMin:Dr,weekdaysShort:qt,meridiemParse:Hr},p={},ve={},Ye;function Gr(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function Xt(e){return e&&e.toLowerCase().replace("_","-")}function jr(e){for(var t=0,s,r,a,n;t<e.length;){for(n=Xt(e[t]).split("-"),s=n.length,r=Xt(e[t+1]),r=r?r.split("-"):null;s>0;){if(a=Ue(n.slice(0,s).join("-")),a)return a;if(r&&r.length>=s&&Gr(n,r)>=s-1)break;s--}t++}return Ye}function zr(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ue(e){var t=null,s;if(p[e]===void 0&&typeof module<"u"&&module&&module.exports&&zr(e))try{t=Ye._abbr,s=require,s("./locale/"+e),K(t)}catch{p[e]=null}return p[e]}function K(e,t){var s;return e&&(b(t)?s=$(e):s=ct(e,t),s?Ye=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function ct(e,t){if(t!==null){var s,r=Qt;if(t.abbr=e,p[e]!=null)Rt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=p[e]._config;else if(t.parentLocale!=null)if(p[t.parentLocale]!=null)r=p[t.parentLocale]._config;else if(s=Ue(t.parentLocale),s!=null)r=s._config;else return ve[t.parentLocale]||(ve[t.parentLocale]=[]),ve[t.parentLocale].push({name:e,config:t}),null;return p[e]=new et(Ke(r,t)),ve[e]&&ve[e].forEach(function(a){ct(a.name,a.config)}),K(e),p[e]}else return delete p[e],null}function $r(e,t){if(t!=null){var s,r,a=Qt;p[e]!=null&&p[e].parentLocale!=null?p[e].set(Ke(p[e]._config,t)):(r=Ue(e),r!=null&&(a=r._config),t=Ke(a,t),r==null&&(t.abbr=e),s=new et(t),s.parentLocale=p[e],p[e]=s),K(e)}else p[e]!=null&&(p[e].parentLocale!=null?(p[e]=p[e].parentLocale,e===K()&&K(e)):p[e]!=null&&delete p[e]);return p[e]}function $(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!R(e)){if(t=Ue(e),t)return t;e=[e]}return jr(e)}function Zr(){return tt(p)}function mt(e){var t,s=e._a;return s&&c(e).overflow===-2&&(t=s[G]<0||s[G]>11?G:s[H]<1||s[H]>ut(s[O],s[G])?H:s[Y]<0||s[Y]>24||s[Y]===24&&(s[C]!==0||s[j]!==0||s[re]!==0)?Y:s[C]<0||s[C]>59?C:s[j]<0||s[j]>59?j:s[re]<0||s[re]>999?re:-1,c(e)._overflowDayOfYear&&(t<O||t>H)&&(t=H),c(e)._overflowWeeks&&t===-1&&(t=Qs),c(e)._overflowWeekday&&t===-1&&(t=Xs),c(e).overflow=t),e}var qr=/^\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)?)?$/,Br=/^\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)?)?$/,Jr=/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]],_t=[["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/]],Qr=/^\/?Date\((-?\d+)/i,Xr=/^(?:(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}))$/,Kr={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 Kt(e){var t,s,r=e._i,a=qr.exec(r)||Br.exec(r),n,i,u,f,_=Ee.length,T=_t.length;if(a){for(c(e).iso=!0,t=0,s=_;t<s;t++)if(Ee[t][1].exec(a[1])){i=Ee[t][0],n=Ee[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(a[3]){for(t=0,s=T;t<s;t++)if(_t[t][1].exec(a[3])){u=(a[2]||" ")+_t[t][0];break}if(u==null){e._isValid=!1;return}}if(!n&&u!=null){e._isValid=!1;return}if(a[4])if(Jr.exec(a[4]))f="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(f||""),wt(e)}else e._isValid=!1}function ea(e,t,s,r,a,n){var i=[ta(e),Vt.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(a,10)];return n&&i.push(parseInt(n,10)),i}function ta(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function sa(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ra(e,t,s){if(e){var r=qt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return c(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function aa(e,t,s){if(e)return Kr[e];if(t)return 0;var r=parseInt(s,10),a=r%100,n=(r-a)/100;return n*60+a}function es(e){var t=Xr.exec(sa(e._i)),s;if(t){if(s=ea(t[4],t[3],t[2],t[5],t[6],t[7]),!ra(t[1],s,e))return;e._a=s,e._tzm=aa(t[8],t[9],t[10]),e._d=pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),c(e).rfc2822=!0}else e._isValid=!1}function na(e){var t=Qr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Kt(e),e._isValid===!1)delete e._isValid;else return;if(es(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:l.createFromInputFallback(e)}l.createFromInputFallback=N("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 de(e,t,s){return e??t??s}function ia(e){var t=new Date(l.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function yt(e){var t,s,r=[],a,n,i;if(!e._d){for(a=ia(e),e._w&&e._a[H]==null&&e._a[G]==null&&oa(e),e._dayOfYear!=null&&(i=de(e._a[O],a[O]),(e._dayOfYear>Se(i)||e._dayOfYear===0)&&(c(e)._overflowDayOfYear=!0),s=pe(i,0,e._dayOfYear),e._a[G]=s.getUTCMonth(),e._a[H]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[C]===0&&e._a[j]===0&&e._a[re]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?pe:cr).apply(null,r),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==n&&(c(e).weekdayMismatch=!0)}}function oa(e){var t,s,r,a,n,i,u,f,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,i=4,s=de(t.GG,e._a[O],De(M(),1,4).year),r=de(t.W,1),a=de(t.E,1),(a<1||a>7)&&(f=!0)):(n=e._locale._week.dow,i=e._locale._week.doy,_=De(M(),n,i),s=de(t.gg,e._a[O],_.year),r=de(t.w,_.week),t.d!=null?(a=t.d,(a<0||a>6)&&(f=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(f=!0)):a=n),r<1||r>z(s,n,i)?c(e)._overflowWeeks=!0:f!=null?c(e)._overflowWeekday=!0:(u=Zt(s,r,a,n,i),e._a[O]=u.year,e._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function wt(e){if(e._f===l.ISO_8601){Kt(e);return}if(e._f===l.RFC_2822){es(e);return}e._a=[],c(e).empty=!0;var t=""+e._i,s,r,a,n,i,u=t.length,f=0,_,T;for(a=Ft(e._f,e._locale).match(st)||[],T=a.length,s=0;s<T;s++)n=a[s],r=(t.match(qs(n,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&c(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),f+=r.length),ie[n]?(r?c(e).empty=!1:c(e).unusedTokens.push(n),Js(n,r,e)):e._strict&&!r&&c(e).unusedTokens.push(n);c(e).charsLeftOver=u-f,t.length>0&&c(e).unusedInput.push(t),e._a[Y]<=12&&c(e).bigHour===!0&&e._a[Y]>0&&(c(e).bigHour=void 0),c(e).parsedDateParts=e._a.slice(0),c(e).meridiem=e._meridiem,e._a[Y]=la(e._locale,e._a[Y],e._meridiem),_=c(e).era,_!==null&&(e._a[O]=e._locale.erasConvertYear(_,e._a[O])),yt(e),mt(e)}function la(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function ua(e){var t,s,r,a,n,i,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++)n=0,i=!1,t=Xe({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],wt(t),Je(t)&&(i=!0),n+=c(t).charsLeftOver,n+=c(t).unusedTokens.length*10,c(t).score=n,u?n<r&&(r=n,s=t):(r==null||n<r||i)&&(r=n,s=t,i&&(u=!0));X(e,s||t)}function da(e){if(!e._d){var t=at(e._i),s=t.day===void 0?t.date:t.day;e._a=xt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),yt(e)}}function ha(e){var t=new we(mt(ts(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ts(e){var t=e._i,s=e._f;return e._locale=e._locale||$(e._l),t===null||s===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),F(t)?new we(mt(t)):(ye(t)?e._d=t:R(s)?ua(e):s?wt(e):fa(e),Je(e)||(e._d=null),e))}function fa(e){var t=e._i;b(t)?e._d=new Date(l.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?na(e):R(t)?(e._a=xt(t.slice(0),function(s){return parseInt(s,10)}),yt(e)):se(t)?da(e):A(t)?e._d=new Date(t):l.createFromInputFallback(e)}function ss(e,t,s,r,a){var n={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(se(e)&&qe(e)||R(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=s,n._i=e,n._f=t,n._strict=r,ha(n)}function M(e,t,s,r){return ss(e,t,s,r,!1)}var ca=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),ma=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function rs(e,t){var s,r;if(t.length===1&&R(t[0])&&(t=t[0]),!t.length)return M();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function _a(){var e=[].slice.call(arguments,0);return rs("isBefore",e)}function ya(){var e=[].slice.call(arguments,0);return rs("isAfter",e)}var wa=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ka(e){var t,s=!1,r,a=Oe.length;for(t in e)if(w(e,t)&&!(D.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[Oe[r]]){if(s)return!1;parseFloat(e[Oe[r]])!==m(e[Oe[r]])&&(s=!0)}return!0}function ga(){return this._isValid}function Sa(){return I(NaN)}function He(e){var t=at(e),s=t.year||0,r=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,f=t.minute||0,_=t.second||0,T=t.millisecond||0;this._isValid=ka(t),this._milliseconds=+T+_*1e3+f*6e4+u*1e3*60*60,this._days=+i+n*7,this._months=+a+r*3+s*12,this._data={},this._locale=$(),this._bubble()}function Ae(e){return e instanceof He}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ma(e,t,s){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,i;for(i=0;i<r;i++)m(e[i])!==m(t[i])&&n++;return n+a}function as(e,t){h(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+E(~~(s/60),2)+t+E(~~s%60,2)})}as("Z",":"),as("ZZ",""),d("Z",Fe),d("ZZ",Fe),g(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=gt(Fe,e)});var pa=/([\+\-]|\d\d)/gi;function gt(e,t){var s=(t||"").match(e),r,a,n;return s===null?null:(r=s[s.length-1]||[],a=(r+"").match(pa)||["-",0,0],n=+(a[1]*60)+m(a[2]),n===0?0:a[0]==="+"?n:-n)}function St(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(F(e)||ye(e)?e.valueOf():M(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),l.updateOffset(s,!1),s):M(e).local()}function Mt(e){return-Math.round(e._d.getTimezoneOffset())}l.updateOffset=function(){};function Da(e,t,s){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=gt(Fe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(a=Mt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?ls(this,I(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Mt(this)}function va(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ya(e){return this.utcOffset(0,e)}function Oa(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mt(this),"m")),this}function Ta(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=gt($s,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ba(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function xa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Na(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xe(e,this),e=ts(e),e._a?(t=e._isUTC?L(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Ma(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Wa(){return this.isValid()?!this._isUTC:!1}function Pa(){return this.isValid()?this._isUTC:!1}function ns(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ra=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var s=e,r=null,a,n,i;return Ae(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:A(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=Ra.exec(e))?(a=r[1]==="-"?-1:1,s={y:0,d:m(r[H])*a,h:m(r[Y])*a,m:m(r[C])*a,s:m(r[j])*a,ms:m(kt(r[re]*1e3))*a}):(r=Fa.exec(e))?(a=r[1]==="-"?-1:1,s={y:ae(r[2],a),M:ae(r[3],a),w:ae(r[4],a),d:ae(r[5],a),h:ae(r[6],a),m:ae(r[7],a),s:ae(r[8],a)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=Ca(M(s.from),M(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),n=new He(s),Ae(e)&&w(e,"_locale")&&(n._locale=e._locale),Ae(e)&&w(e,"_isValid")&&(n._isValid=e._isValid),n}I.fn=He.prototype,I.invalid=Sa;function ae(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function is(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function Ca(e,t){var s;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?s=is(e,t):(s=is(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function os(e,t){return function(s,r){var a,n;return r!==null&&!isNaN(+r)&&(Rt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=s,s=r,r=n),a=I(s,r),ls(this,a,e),this}}function ls(e,t,s,r){var a=t._milliseconds,n=kt(t._days),i=kt(t._months);e.isValid()&&(r=r??!0,i&&jt(e,Me(e,"Month")+i*s),n&&At(e,"Date",Me(e,"Date")+n*s),a&&e._d.setTime(e._d.valueOf()+a*s),r&&l.updateOffset(e,n||i))}var Ia=os(1,"add"),La=os(-1,"subtract");function us(e){return typeof e=="string"||e instanceof String}function Ua(e){return F(e)||ye(e)||us(e)||A(e)||Ha(e)||Ea(e)||e===null||e===void 0}function Ea(e){var t=se(e)&&!qe(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,i=r.length;for(a=0;a<i;a+=1)n=r[a],s=s||w(e,n);return t&&s}function Ha(e){var t=R(e),s=!1;return t&&(s=e.filter(function(r){return!A(r)&&us(e)}).length===0),t&&s}function Aa(e){var t=se(e)&&!qe(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<r.length;a+=1)n=r[a],s=s||w(e,n);return t&&s}function Va(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function Ga(e,t){arguments.length===1&&(arguments[0]?Ua(arguments[0])?(e=arguments[0],t=void 0):Aa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),r=St(s,this).startOf("day"),a=l.calendarFormat(this,r)||"sameElse",n=t&&(U(t[a])?t[a].call(this,s):t[a]);return this.format(n||this.localeData().calendar(a,this,M(s)))}function ja(){return new we(this)}function za(e,t){var s=F(e)?e:M(e);return this.isValid()&&s.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function $a(e,t){var s=F(e)?e:M(e);return this.isValid()&&s.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function Za(e,t,s,r){var a=F(e)?e:M(e),n=F(t)?t:M(t);return this.isValid()&&a.isValid()&&n.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,s):!this.isBefore(a,s))&&(r[1]===")"?this.isBefore(n,s):!this.isAfter(n,s))):!1}function qa(e,t){var s=F(e)?e:M(e),r;return this.isValid()&&s.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Ba(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ja(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qa(e,t,s){var r,a,n;if(!this.isValid())return NaN;if(r=St(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":n=Ve(this,r)/12;break;case"month":n=Ve(this,r);break;case"quarter":n=Ve(this,r)/3;break;case"second":n=(this-r)/1e3;break;case"minute":n=(this-r)/6e4;break;case"hour":n=(this-r)/36e5;break;case"day":n=(this-r-a)/864e5;break;case"week":n=(this-r-a)/6048e5;break;default:n=this-r}return s?n:P(n)}function Ve(e,t){if(e.date()<t.date())return-Ve(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),a,n;return t-r<0?(a=e.clone().add(s-1,"months"),n=(t-r)/(r-a)):(a=e.clone().add(s+1,"months"),n=(t-r)/(a-r)),-(s+n)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ka(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?xe(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",xe(s,"Z")):xe(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function en(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(s+r+a+n)}function tn(e){e||(e=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var t=xe(this,e);return this.localeData().postformat(t)}function sn(e,t){return this.isValid()&&(F(e)&&e.isValid()||M(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rn(e){return this.from(M(),e)}function an(e,t){return this.isValid()&&(F(e)&&e.isValid()||M(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function nn(e){return this.to(M(),e)}function ds(e){var t;return e===void 0?this._locale._abbr:(t=$(e),t!=null&&(this._locale=t),this)}var hs=N("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 fs(){return this._locale}var Ge=1e3,he=60*Ge,je=60*he,cs=(365*400+97)*24*je;function fe(e,t){return(e%t+t)%t}function ms(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-cs:new Date(e,t,s).valueOf()}function _s(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-cs:Date.UTC(e,t,s)}function on(e){var t,s;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_s:ms,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=fe(t+(this._isUTC?0:this.utcOffset()*he),je);break;case"minute":t=this._d.valueOf(),t-=fe(t,he);break;case"second":t=this._d.valueOf(),t-=fe(t,Ge);break}return this._d.setTime(t),l.updateOffset(this,!0),this}function ln(e){var t,s;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_s:ms,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=je-fe(t+(this._isUTC?0:this.utcOffset()*he),je)-1;break;case"minute":t=this._d.valueOf(),t+=he-fe(t,he)-1;break;case"second":t=this._d.valueOf(),t+=Ge-fe(t,Ge)-1;break}return this._d.setTime(t),l.updateOffset(this,!0),this}function un(){return this._d.valueOf()-(this._offset||0)*6e4}function dn(){return Math.floor(this.valueOf()/1e3)}function hn(){return new Date(this.valueOf())}function fn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function cn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mn(){return this.isValid()?this.toISOString():null}function _n(){return Je(this)}function yn(){return X({},c(this))}function wn(){return c(this).overflow}function kn(){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",pt),d("NN",pt),d("NNN",pt),d("NNNN",xn),d("NNNNN",Nn),g(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var a=s._locale.erasParse(e,r,s._strict);a?c(s).era=a:c(s).invalidEra=e}),d("y",oe),d("yy",oe),d("yyy",oe),d("yyyy",oe),d("yo",Wn),g(["y","yy","yyy","yyyy"],O),g(["yo"],function(e,t,s,r){var a;s._locale._eraYearOrdinalRegex&&(a=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[O]=s._locale.eraYearOrdinalParse(e,a):t[O]=parseInt(e,10)});function gn(e,t){var s,r,a,n=this._eras||$("en")._eras;for(s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":a=l(n[s].since).startOf("day"),n[s].since=a.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":a=l(n[s].until).startOf("day").valueOf(),n[s].until=a.valueOf();break}}return n}function Sn(e,t,s){var r,a,n=this.eras(),i,u,f;for(e=e.toUpperCase(),r=0,a=n.length;r<a;++r)if(i=n[r].name.toUpperCase(),u=n[r].abbr.toUpperCase(),f=n[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return n[r];break;case"N