@stlite/browser
Version:
Browser Stlite
1,326 lines • 74.3 kB
JavaScript
import { Ga as e } from "./index-Dl4ETd_L-D2oMd1k2.js";
//#region ../react/build/moment-C29_LcvN.js
var t;
function n() {
return t.apply(null, arguments);
}
function r(e) {
t = e;
}
function i(e) {
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
}
function a(e) {
return e != null && Object.prototype.toString.call(e) === "[object Object]";
}
function o(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
function s(e) {
if (Object.getOwnPropertyNames) return Object.getOwnPropertyNames(e).length === 0;
for (var t in e) if (o(e, t)) return !1;
return !0;
}
function c(e) {
return e === void 0;
}
function l(e) {
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
}
function u(e) {
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
}
function d(e, t) {
var n = [], r, i = e.length;
for (r = 0; r < i; ++r) n.push(t(e[r], r));
return n;
}
function f(e, t) {
for (var n in t) o(t, n) && (e[n] = t[n]);
return o(t, "toString") && (e.toString = t.toString), o(t, "valueOf") && (e.valueOf = t.valueOf), e;
}
function p(e, t, n, r) {
return or(e, t, n, r, !0).utc();
}
function ee() {
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 m(e) {
return e._pf ??= ee(), e._pf;
}
var te = Array.prototype.some ? Array.prototype.some : function(e) {
var t = Object(this), n = t.length >>> 0, r;
for (r = 0; r < n; r++) if (r in t && e.call(this, t[r], r, t)) return !0;
return !1;
};
function ne(e) {
var t = null, n = !1, r = e._d && !isNaN(e._d.getTime());
if (r && (t = m(e), n = te.call(t.parsedDateParts, function(e) {
return e != 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 && n), 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 re(e) {
var t = p(NaN);
return e == null ? m(t).userInvalidated = !0 : f(m(t), e), t;
}
var ie = n.momentProperties = [], ae = !1;
function oe(e, t) {
var n, r, i, a = ie.length;
if (c(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), c(t._i) || (e._i = t._i), c(t._f) || (e._f = t._f), c(t._l) || (e._l = t._l), c(t._strict) || (e._strict = t._strict), c(t._tzm) || (e._tzm = t._tzm), c(t._isUTC) || (e._isUTC = t._isUTC), c(t._offset) || (e._offset = t._offset), c(t._pf) || (e._pf = m(t)), c(t._locale) || (e._locale = t._locale), a > 0) for (n = 0; n < a; n++) r = ie[n], i = t[r], c(i) || (e[r] = i);
return e;
}
function se(e) {
oe(this, e), this._d = new Date(e._d == null ? NaN : e._d.getTime()), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), ae === !1 && (ae = !0, n.updateOffset(this), ae = !1);
}
function h(e) {
return e instanceof se || e != null && e._isAMomentObject != null;
}
function ce(e) {
n.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
}
function g(e, t) {
var r = !0;
return f(function() {
if (n.deprecationHandler != null && n.deprecationHandler(null, e), r) {
var i = [], a, s, c, l = arguments.length;
for (s = 0; s < l; s++) {
if (a = "", typeof arguments[s] == "object") {
for (c in a += "\n[" + s + "] ", arguments[0]) o(arguments[0], c) && (a += c + ": " + arguments[0][c] + ", ");
a = a.slice(0, -2);
} else a = arguments[s];
i.push(a);
}
ce(e + "\nArguments: " + Array.prototype.slice.call(i).join("") + "\n" + (/* @__PURE__ */ Error()).stack), r = !1;
}
return t.apply(this, arguments);
}, t);
}
var le = {};
function ue(e, t) {
n.deprecationHandler != null && n.deprecationHandler(e, t), le[e] || (ce(t), le[e] = !0);
}
n.suppressDeprecationWarnings = !1, n.deprecationHandler = null;
function _(e) {
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
}
function de(e) {
var t, n;
for (n in e) o(e, n) && (t = e[n], _(t) ? this[n] = t : this["_" + n] = t);
this._config = e, this._dayOfMonthOrdinalParseLenient = RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|\\d{1,2}");
}
function fe(e, t) {
var n = f({}, e), r;
for (r in t) o(t, r) && (a(e[r]) && a(t[r]) ? (n[r] = {}, f(n[r], e[r]), f(n[r], t[r])) : t[r] == null ? delete n[r] : n[r] = t[r]);
for (r in e) o(e, r) && !o(t, r) && a(e[r]) && (n[r] = f({}, n[r]));
return n;
}
function pe(e) {
e != null && this.set(e);
}
var me = Object.keys ? Object.keys : function(e) {
var t, n = [];
for (t in e) o(e, t) && n.push(t);
return n;
}, he = {
sameDay: "[Today at] LT",
nextDay: "[Tomorrow at] LT",
nextWeek: "dddd [at] LT",
lastDay: "[Yesterday at] LT",
lastWeek: "[Last] dddd [at] LT",
sameElse: "L"
};
function ge(e, t, n) {
var r = this._calendar[e] || this._calendar.sameElse;
return _(r) ? r.call(t, n) : r;
}
function v(e, t, n) {
var r = "" + Math.abs(e), i = t - r.length;
return (e >= 0 ? n ? "+" : "" : "-") + (10 ** Math.max(0, i)).toString().substr(1) + r;
}
var _e = /(\[[^\[]*\])|(\\)?([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, ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, ye = {}, be = {};
function y(e, t, n, r) {
var i = r;
typeof r == "string" && (i = function() {
return this[r]();
}), e && (be[e] = i), t && (be[t[0]] = function() {
return v(i.apply(this, arguments), t[1], t[2]);
}), n && (be[n] = function() {
return this.localeData().ordinal(i.apply(this, arguments), e);
});
}
function xe(e) {
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
}
function Se(e) {
var t = e.match(_e), n, r;
for (n = 0, r = t.length; n < r; n++) be[t[n]] ? t[n] = be[t[n]] : t[n] = xe(t[n]);
return function(n) {
var i = "", a;
for (a = 0; a < r; a++) i += _(t[a]) ? t[a].call(n, e) : t[a];
return i;
};
}
function Ce(e, t) {
return e.isValid() ? (t = we(t, e.localeData()), ye[t] = ye[t] || Se(t), ye[t](e)) : e.localeData().invalidDate();
}
function we(e, t) {
var n = 5;
function r(e) {
return t.longDateFormat(e) || e;
}
for (ve.lastIndex = 0; n >= 0 && ve.test(e);) e = e.replace(ve, r), ve.lastIndex = 0, --n;
return e;
}
var Te = {
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 Ee(e) {
var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()];
return t || !n ? t : (this._longDateFormat[e] = n.match(_e).map(function(e) {
return e === "MMMM" || e === "MM" || e === "DD" || e === "dddd" ? e.slice(1) : e;
}).join(""), this._longDateFormat[e]);
}
var De = "Invalid date";
function Oe() {
return this._invalidDate;
}
var ke = "%d", Ae = /\d{1,2}/;
function je(e) {
return this._ordinal.replace("%d", e);
}
var Me = {
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 Ne(e, t, n, r) {
var i = this._relativeTime[n];
return _(i) ? i(e, t, n, r) : i.replace(/%d/i, e);
}
function Pe(e, t) {
var n = this._relativeTime[e > 0 ? "future" : "past"];
return _(n) ? n(t) : n.replace(/%s/i, t);
}
var Fe = {
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 b(e) {
return typeof e == "string" ? Fe[e] || Fe[e.toLowerCase()] : void 0;
}
function Ie(e) {
var t = {}, n, r;
for (r in e) o(e, r) && (n = b(r), n && (t[n] = e[r]));
return t;
}
var Le = {
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 Re(e) {
var t = [], n;
for (n in e) o(e, n) && t.push({
unit: n,
priority: Le[n]
});
return t.sort(function(e, t) {
return e.priority - t.priority;
}), t;
}
var ze = /\d/, x = /\d\d/, Be = /\d{3}/, Ve = /\d{4}/, He = /[+-]?\d{6}/, S = /\d\d?/, Ue = /\d\d\d\d?/, We = /\d\d\d\d\d\d?/, Ge = /\d{1,3}/, Ke = /\d{1,4}/, qe = /[+-]?\d{1,6}/, C = /\d+/, Je = /[+-]?\d+/, Ye = /Z|[+-]\d\d:?\d\d/gi, Xe = /Z|[+-]\d\d(?::?\d\d)?/gi, Ze = /[+-]?\d+(\.\d{1,3})?/, Qe = /[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, w = /^[1-9]\d?/, $e = /^([1-9]\d|\d)/, et = {};
function T(e, t, n) {
et[e] = _(t) ? t : function(e, r) {
return e && n ? n : t;
};
}
function tt(e, t) {
return o(et, e) ? et[e](t._strict, t._locale) : new RegExp(nt(e));
}
function nt(e) {
return E(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, n, r, i) {
return t || n || r || i;
}));
}
function E(e) {
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
}
function D(e) {
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
}
function O(e) {
var t = +e, n = 0;
return t !== 0 && isFinite(t) && (n = D(t)), n;
}
var rt = {};
function k(e, t) {
var n, r = t, i;
for (typeof e == "string" && (e = [e]), l(t) && (r = function(e, n) {
n[t] = O(e);
}), i = e.length, n = 0; n < i; n++) rt[e[n]] = r;
}
function it(e, t) {
k(e, function(e, n, r, i) {
r._w = r._w || {}, t(e, r._w, r, i);
});
}
function at(e, t, n) {
t != null && o(rt, e) && rt[e](t, n._a, n, e);
}
function ot(e) {
return e % 4 == 0 && e % 100 != 0 || e % 400 == 0;
}
var A = 0, j = 1, M = 2, N = 3, P = 4, F = 5, I = 6, st = 7, ct = 8;
y("Y", 0, 0, function() {
var e = this.year();
return e <= 9999 ? v(e, 4) : "+" + e;
}), y(0, ["YY", 2], 0, function() {
return this.year() % 100;
}), y(0, ["YYYY", 4], 0, "year"), y(0, ["YYYYY", 5], 0, "year"), y(0, [
"YYYYYY",
6,
!0
], 0, "year"), T("Y", Je), T("YY", S, x), T("YYYY", Ke, Ve), T("YYYYY", qe, He), T("YYYYYY", qe, He), k(["YYYYY", "YYYYYY"], A), k("YYYY", function(e, t) {
t[A] = e.length === 2 ? n.parseTwoDigitYear(e) : O(e);
}), k("YY", function(e, t) {
t[A] = n.parseTwoDigitYear(e);
}), k("Y", function(e, t) {
t[A] = parseInt(e, 10);
});
function lt(e) {
return ot(e) ? 366 : 365;
}
n.parseTwoDigitYear = function(e) {
return O(e) + (O(e) > 68 ? 1900 : 2e3);
};
var ut = ft("FullYear", !0);
function dt() {
return ot(this.year());
}
function ft(e, t) {
return function(r) {
return r == null ? pt(this, e) : (mt(this, e, r), n.updateOffset(this, t), this);
};
}
function pt(e, t) {
if (!e.isValid()) return NaN;
var n = e._d, r = e._isUTC;
switch (t) {
case "Milliseconds": return r ? n.getUTCMilliseconds() : n.getMilliseconds();
case "Seconds": return r ? n.getUTCSeconds() : n.getSeconds();
case "Minutes": return r ? n.getUTCMinutes() : n.getMinutes();
case "Hours": return r ? n.getUTCHours() : n.getHours();
case "Date": return r ? n.getUTCDate() : n.getDate();
case "Day": return r ? n.getUTCDay() : n.getDay();
case "Month": return r ? n.getUTCMonth() : n.getMonth();
case "FullYear": return r ? n.getUTCFullYear() : n.getFullYear();
default: return NaN;
}
}
function mt(e, t, n) {
var r, i, a, o, s;
if (!(!e.isValid() || isNaN(n))) {
switch (r = e._d, i = e._isUTC, t) {
case "Milliseconds":
i ? r.setUTCMilliseconds(n) : r.setMilliseconds(n);
return;
case "Seconds":
i ? r.setUTCSeconds(n) : r.setSeconds(n);
return;
case "Minutes":
i ? r.setUTCMinutes(n) : r.setMinutes(n);
return;
case "Hours":
i ? r.setUTCHours(n) : r.setHours(n);
return;
case "Date":
i ? r.setUTCDate(n) : r.setDate(n);
return;
case "FullYear": break;
default: return;
}
a = n, o = e.month(), s = e.date(), s = s === 29 && o === 1 && !ot(a) ? 28 : s, i ? r.setUTCFullYear(a, o, s) : r.setFullYear(a, o, s);
}
}
function ht(e) {
return e = b(e), _(this[e]) ? this[e]() : this;
}
function gt(e, t) {
if (typeof e == "object") {
e = Ie(e);
var n = Re(e), r, i = n.length;
for (r = 0; r < i; r++) this[n[r].unit](e[n[r].unit]);
} else if (e = b(e), _(this[e])) return this[e](t);
return this;
}
function _t(e, t) {
return (e % t + t) % t;
}
var L = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) {
var t;
for (t = 0; t < this.length; ++t) if (this[t] === e) return t;
return -1;
};
function vt(e, t) {
if (isNaN(e) || isNaN(t)) return NaN;
var n = _t(t, 12);
return e += (t - n) / 12, n === 1 ? ot(e) ? 29 : 28 : 31 - n % 7 % 2;
}
y("M", ["MM", 2], "Mo", function() {
return this.month() + 1;
}), y("MMM", 0, 0, function(e) {
return this.localeData().monthsShort(this, e);
}), y("MMMM", 0, 0, function(e) {
return this.localeData().months(this, e);
}), T("M", S, w), T("MM", S, x), T("MMM", function(e, t) {
return t.monthsShortRegex(e);
}), T("MMMM", function(e, t) {
return t.monthsRegex(e);
}), k(["M", "MM"], function(e, t) {
t[j] = O(e) - 1;
}), k(["MMM", "MMMM"], function(e, t, n, r) {
var i = n._locale.monthsParse(e, r, n._strict);
i == null ? m(n).invalidMonth = e : t[j] = i;
});
var yt = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), bt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), xt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, St = Qe, Ct = Qe;
function wt(e, t) {
return e ? i(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || xt).test(t) ? "format" : "standalone"][e.month()] : i(this._months) ? this._months : this._months.standalone;
}
function Tt(e, t) {
return e ? i(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[xt.test(t) ? "format" : "standalone"][e.month()] : i(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
}
function Et(e, t, n) {
var r, i, a, o = e.toLocaleLowerCase();
if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r) a = p([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(a, "").toLocaleLowerCase(), this._longMonthsParse[r] = this.months(a, "").toLocaleLowerCase();
return n ? t === "MMM" ? (i = L.call(this._shortMonthsParse, o), i === -1 ? null : i) : (i = L.call(this._longMonthsParse, o), i === -1 ? null : i) : t === "MMM" ? (i = L.call(this._shortMonthsParse, o), i === -1 ? (i = L.call(this._longMonthsParse, o), i === -1 ? null : i) : i) : (i = L.call(this._longMonthsParse, o), i === -1 ? (i = L.call(this._shortMonthsParse, o), i === -1 ? null : i) : i);
}
function Dt(e, t, n) {
var r, i, a;
if (this._monthsParseExact) return Et.call(this, e, t, n);
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) if (i = p([2e3, r]), n && !this._longMonthsParse[r] && (this._longMonthsParse[r] = RegExp("^" + this.months(i, "").replace(".", "") + "$", "i"), this._shortMonthsParse[r] = RegExp("^" + this.monthsShort(i, "").replace(".", "") + "$", "i")), !n && !this._monthsParse[r] && (a = "^" + this.months(i, "") + "|^" + this.monthsShort(i, ""), this._monthsParse[r] = new RegExp(a.replace(".", ""), "i")), n && t === "MMMM" && this._longMonthsParse[r].test(e) || n && t === "MMM" && this._shortMonthsParse[r].test(e) || !n && this._monthsParse[r].test(e)) return r;
}
function Ot(e, t) {
if (!e.isValid()) return e;
if (typeof t == "string") {
if (/^\d+$/.test(t)) t = O(t);
else if (t = e.localeData().monthsParse(t), !l(t)) return e;
}
var n = t, r = e.date();
return r = r < 29 ? r : Math.min(r, vt(e.year(), n)), e._isUTC ? e._d.setUTCMonth(n, r) : e._d.setMonth(n, r), e;
}
function kt(e) {
return e == null ? pt(this, "Month") : (Ot(this, e), n.updateOffset(this, !0), this);
}
function At() {
return vt(this.year(), this.month());
}
function jt(e) {
return this._monthsParseExact ? (o(this, "_monthsRegex") || Nt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (o(this, "_monthsShortRegex") || (this._monthsShortRegex = St), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
}
function Mt(e) {
return this._monthsParseExact ? (o(this, "_monthsRegex") || Nt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (o(this, "_monthsRegex") || (this._monthsRegex = Ct), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
}
function Nt() {
function e(e, t) {
return t.length - e.length;
}
var t = [], n = [], r = [], i, a, o, s;
for (i = 0; i < 12; i++) a = p([2e3, i]), o = E(this.monthsShort(a, "")), s = E(this.months(a, "")), t.push(o), n.push(s), r.push(s), r.push(o);
t.sort(e), n.sort(e), r.sort(e), this._monthsRegex = RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = RegExp("^(" + n.join("|") + ")", "i"), this._monthsShortStrictRegex = RegExp("^(" + t.join("|") + ")", "i");
}
function Pt(e, t, n, r, i, a, o) {
var s;
return e < 100 && e >= 0 ? (s = new Date(e + 400, t, n, r, i, a, o), isFinite(s.getFullYear()) && s.setFullYear(e)) : s = new Date(e, t, n, r, i, a, o), s;
}
function Ft(e) {
var t, n;
return e < 100 && e >= 0 ? (n = Array.prototype.slice.call(arguments), n[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
}
function It(e, t, n) {
var r = 7 + t - n;
return -((7 + Ft(e, 0, r).getUTCDay() - t) % 7) + r - 1;
}
function Lt(e, t, n, r, i) {
var a = (7 + n - r) % 7, o = It(e, r, i), s = 1 + 7 * (t - 1) + a + o, c, l;
return s <= 0 ? (c = e - 1, l = lt(c) + s) : s > lt(e) ? (c = e + 1, l = s - lt(e)) : (c = e, l = s), {
year: c,
dayOfYear: l
};
}
function Rt(e, t, n) {
var r = It(e.year(), t, n), i = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, a, o;
return i < 1 ? (o = e.year() - 1, a = i + R(o, t, n)) : i > R(e.year(), t, n) ? (a = i - R(e.year(), t, n), o = e.year() + 1) : (o = e.year(), a = i), {
week: a,
year: o
};
}
function R(e, t, n) {
var r = It(e, t, n), i = It(e + 1, t, n);
return (lt(e) - r + i) / 7;
}
y("w", ["ww", 2], "wo", "week"), y("W", ["WW", 2], "Wo", "isoWeek"), T("w", S, w), T("ww", S, x), T("W", S, w), T("WW", S, x), it([
"w",
"ww",
"W",
"WW"
], function(e, t, n, r) {
t[r.substr(0, 1)] = O(e);
});
function zt(e) {
return Rt(e, this._week.dow, this._week.doy).week;
}
var Bt = {
dow: 0,
doy: 6
};
function Vt() {
return this._week.dow;
}
function Ht() {
return this._week.doy;
}
function Ut(e) {
var t = this.localeData().week(this);
return e == null ? t : this.add((e - t) * 7, "d");
}
function Wt(e) {
var t = Rt(this, 1, 4).week;
return e == null ? t : this.add((e - t) * 7, "d");
}
y("d", 0, "do", "day"), y("dd", 0, 0, function(e) {
return this.localeData().weekdaysMin(this, e);
}), y("ddd", 0, 0, function(e) {
return this.localeData().weekdaysShort(this, e);
}), y("dddd", 0, 0, function(e) {
return this.localeData().weekdays(this, e);
}), y("e", 0, 0, "weekday"), y("E", 0, 0, "isoWeekday"), T("d", S), T("e", S), T("E", S), T("dd", function(e, t) {
return t.weekdaysMinRegex(e);
}), T("ddd", function(e, t) {
return t.weekdaysShortRegex(e);
}), T("dddd", function(e, t) {
return t.weekdaysRegex(e);
}), it([
"dd",
"ddd",
"dddd"
], function(e, t, n, r) {
var i = n._locale.weekdaysParse(e, r, n._strict);
i == null ? m(n).invalidWeekday = e : t.d = i;
}), it([
"d",
"e",
"E"
], function(e, t, n, r) {
t[r] = O(e);
});
function Gt(e, t) {
return typeof e == "string" ? isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10) : e;
}
function Kt(e, t) {
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
}
function qt(e, t) {
return e.slice(t, 7).concat(e.slice(0, t));
}
var Jt = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Yt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Xt = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Zt = Qe, Qt = Qe, $t = Qe;
function en(e, t) {
var n = i(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
return e === !0 ? qt(n, this._week.dow) : e ? n[e.day()] : n;
}
function tn(e) {
return e === !0 ? qt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
}
function nn(e) {
return e === !0 ? qt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
}
function rn(e, t, n) {
var r, i, a, o = e.toLocaleLowerCase();
if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r) a = p([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(a, "").toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(a, "").toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(a, "").toLocaleLowerCase();
return n ? t === "dddd" ? (i = L.call(this._weekdaysParse, o), i === -1 ? null : i) : t === "ddd" ? (i = L.call(this._shortWeekdaysParse, o), i === -1 ? null : i) : (i = L.call(this._minWeekdaysParse, o), i === -1 ? null : i) : t === "dddd" ? (i = L.call(this._weekdaysParse, o), i !== -1 || (i = L.call(this._shortWeekdaysParse, o), i !== -1) ? i : (i = L.call(this._minWeekdaysParse, o), i === -1 ? null : i)) : t === "ddd" ? (i = L.call(this._shortWeekdaysParse, o), i !== -1 || (i = L.call(this._weekdaysParse, o), i !== -1) ? i : (i = L.call(this._minWeekdaysParse, o), i === -1 ? null : i)) : (i = L.call(this._minWeekdaysParse, o), i !== -1 || (i = L.call(this._weekdaysParse, o), i !== -1) ? i : (i = L.call(this._shortWeekdaysParse, o), i === -1 ? null : i));
}
function an(e, t, n) {
var r, i, a;
if (this._weekdaysParseExact) return rn.call(this, e, t, n);
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) if (i = p([2e3, 1]).day(r), n && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = RegExp("^" + this.weekdays(i, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[r] = RegExp("^" + this.weekdaysShort(i, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[r] = RegExp("^" + this.weekdaysMin(i, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[r] || (a = "^" + this.weekdays(i, "") + "|^" + this.weekdaysShort(i, "") + "|^" + this.weekdaysMin(i, ""), this._weekdaysParse[r] = new RegExp(a.replace(".", ""), "i")), n && t === "dddd" && this._fullWeekdaysParse[r].test(e) || n && t === "ddd" && this._shortWeekdaysParse[r].test(e) || n && t === "dd" && this._minWeekdaysParse[r].test(e) || !n && this._weekdaysParse[r].test(e)) return r;
}
function on(e) {
if (!this.isValid()) return e == null ? NaN : this;
var t = pt(this, "Day");
return e == null ? t : (e = Gt(e, this.localeData()), this.add(e - t, "d"));
}
function sn(e) {
if (!this.isValid()) return e == null ? NaN : this;
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
return e == null ? t : this.add(e - t, "d");
}
function cn(e) {
if (!this.isValid()) return e == null ? NaN : this;
if (e != null) {
var t = Kt(e, this.localeData());
return this.day(this.day() % 7 ? t : t - 7);
} else return this.day() || 7;
}
function ln(e) {
return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || fn.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (o(this, "_weekdaysRegex") || (this._weekdaysRegex = Zt), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
}
function un(e) {
return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || fn.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (o(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Qt), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
}
function dn(e) {
return this._weekdaysParseExact ? (o(this, "_weekdaysRegex") || fn.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (o(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = $t), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
}
function fn() {
function e(e, t) {
return t.length - e.length;
}
var t = [], n = [], r = [], i = [], a, o, s, c, l;
for (a = 0; a < 7; a++) o = p([2e3, 1]).day(a), s = E(this.weekdaysMin(o, "")), c = E(this.weekdaysShort(o, "")), l = E(this.weekdays(o, "")), t.push(s), n.push(c), r.push(l), i.push(s), i.push(c), i.push(l);
t.sort(e), n.sort(e), r.sort(e), i.sort(e), this._weekdaysRegex = RegExp("^(" + i.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = RegExp("^(" + r.join("|") + ")", "i"), this._weekdaysShortStrictRegex = RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysMinStrictRegex = RegExp("^(" + t.join("|") + ")", "i");
}
function pn() {
return this.hours() % 12 || 12;
}
function mn() {
return this.hours() || 24;
}
y("H", ["HH", 2], 0, "hour"), y("h", ["hh", 2], 0, pn), y("k", ["kk", 2], 0, mn), y("hmm", 0, 0, function() {
return "" + pn.apply(this) + v(this.minutes(), 2);
}), y("hmmss", 0, 0, function() {
return "" + pn.apply(this) + v(this.minutes(), 2) + v(this.seconds(), 2);
}), y("Hmm", 0, 0, function() {
return "" + this.hours() + v(this.minutes(), 2);
}), y("Hmmss", 0, 0, function() {
return "" + this.hours() + v(this.minutes(), 2) + v(this.seconds(), 2);
});
function hn(e, t) {
y(e, 0, 0, function() {
return this.localeData().meridiem(this.hours(), this.minutes(), t);
});
}
hn("a", !0), hn("A", !1);
function gn(e, t) {
return t._meridiemParse;
}
T("a", gn), T("A", gn), T("H", S, $e), T("h", S, w), T("k", S, w), T("HH", S, x), T("hh", S, x), T("kk", S, x), T("hmm", Ue), T("hmmss", We), T("Hmm", Ue), T("Hmmss", We), k(["H", "HH"], N), k(["k", "kk"], function(e, t, n) {
var r = O(e);
t[N] = r === 24 ? 0 : r;
}), k(["a", "A"], function(e, t, n) {
n._isPm = n._locale.isPM(e), n._meridiem = e;
}), k(["h", "hh"], function(e, t, n) {
t[N] = O(e), m(n).bigHour = !0;
}), k("hmm", function(e, t, n) {
var r = e.length - 2;
t[N] = O(e.substr(0, r)), t[P] = O(e.substr(r)), m(n).bigHour = !0;
}), k("hmmss", function(e, t, n) {
var r = e.length - 4, i = e.length - 2;
t[N] = O(e.substr(0, r)), t[P] = O(e.substr(r, 2)), t[F] = O(e.substr(i)), m(n).bigHour = !0;
}), k("Hmm", function(e, t, n) {
var r = e.length - 2;
t[N] = O(e.substr(0, r)), t[P] = O(e.substr(r));
}), k("Hmmss", function(e, t, n) {
var r = e.length - 4, i = e.length - 2;
t[N] = O(e.substr(0, r)), t[P] = O(e.substr(r, 2)), t[F] = O(e.substr(i));
});
function _n(e) {
return (e + "").toLowerCase().charAt(0) === "p";
}
var vn = /[ap]\.?m?\.?/i, yn = ft("Hours", !0);
function bn(e, t, n) {
return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM";
}
var xn = {
calendar: he,
longDateFormat: Te,
invalidDate: De,
ordinal: ke,
dayOfMonthOrdinalParse: Ae,
relativeTime: Me,
months: yt,
monthsShort: bt,
week: Bt,
weekdays: Jt,
weekdaysMin: Xt,
weekdaysShort: Yt,
meridiemParse: vn
}, z = {}, Sn = {}, Cn;
function wn(e, t) {
var n, r = Math.min(e.length, t.length);
for (n = 0; n < r; n += 1) if (e[n] !== t[n]) return n;
return r;
}
function Tn(e) {
return e && e.toLowerCase().replace("_", "-");
}
function En(e) {
for (var t = 0, n, r, i, a; t < e.length;) {
for (a = Tn(e[t]).split("-"), n = a.length, r = Tn(e[t + 1]), r = r ? r.split("-") : null; n > 0;) {
if (i = On(a.slice(0, n).join("-")), i) return i;
if (r && r.length >= n && wn(a, r) >= n - 1) break;
n--;
}
t++;
}
return Cn;
}
function Dn(e) {
return !!(e && e.match("^[^/\\\\]*$"));
}
function On(t) {
var n = null, r;
if (z[t] === void 0 && typeof module < "u" && module && module.exports && Dn(t)) try {
n = Cn._abbr, r = e, r("./locale/" + t), B(n);
} catch {
z[t] = null;
}
return z[t];
}
function B(e, t) {
var n;
return e && (n = c(t) ? V(e) : kn(e, t), n ? Cn = n : typeof console < "u" && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), Cn._abbr;
}
function kn(e, t) {
if (t !== null) {
var n, r = xn;
if (t.abbr = e, z[e] != null) ue("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 = z[e]._config;
else if (t.parentLocale != null) if (z[t.parentLocale] != null) r = z[t.parentLocale]._config;
else if (n = On(t.parentLocale), n != null) r = n._config;
else return Sn[t.parentLocale] || (Sn[t.parentLocale] = []), Sn[t.parentLocale].push({
name: e,
config: t
}), null;
return z[e] = new pe(fe(r, t)), Sn[e] && Sn[e].forEach(function(e) {
kn(e.name, e.config);
}), B(e), z[e];
} else return delete z[e], null;
}
function An(e, t) {
if (t != null) {
var n, r, i = xn;
z[e] != null && z[e].parentLocale != null ? z[e].set(fe(z[e]._config, t)) : (r = On(e), r != null && (i = r._config), t = fe(i, t), r ?? (t.abbr = e), n = new pe(t), n.parentLocale = z[e], z[e] = n), B(e);
} else z[e] != null && (z[e].parentLocale == null ? z[e] != null && delete z[e] : (z[e] = z[e].parentLocale, e === B() && B(e)));
return z[e];
}
function V(e) {
var t;
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return Cn;
if (!i(e)) {
if (t = On(e), t) return t;
e = [e];
}
return En(e);
}
function jn() {
return me(z);
}
function Mn(e) {
var t, n = e._a;
return n && m(e).overflow === -2 && (t = n[j] < 0 || n[j] > 11 ? j : n[M] < 1 || n[M] > vt(n[A], n[j]) ? M : n[N] < 0 || n[N] > 24 || n[N] === 24 && (n[P] !== 0 || n[F] !== 0 || n[I] !== 0) ? N : n[P] < 0 || n[P] > 59 ? P : n[F] < 0 || n[F] > 59 ? F : n[I] < 0 || n[I] > 999 ? I : -1, m(e)._overflowDayOfYear && (t < A || t > M) && (t = M), m(e)._overflowWeeks && t === -1 && (t = st), m(e)._overflowWeekday && t === -1 && (t = ct), m(e).overflow = t), e;
}
var Nn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Pn = /^\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)?)?$/, Fn = /Z|[+-]\d\d(?::?\d\d)?/, In = [
["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
]
], Ln = [
["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/]
], Rn = /^\/?Date\((-?\d+)/i, zn = /^(?:(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}))$/, Bn = {
UT: 0,
GMT: 0,
EDT: -240,
EST: -300,
CDT: -300,
CST: -360,
MDT: -360,
MST: -420,
PDT: -420,
PST: -480
};
function Vn(e) {
var t, n, r = e._i, i = Nn.exec(r) || Pn.exec(r), a, o, s, c, l = In.length, u = Ln.length;
if (i) {
for (m(e).iso = !0, t = 0, n = l; t < n; t++) if (In[t][1].exec(i[1])) {
o = In[t][0], a = In[t][2] !== !1;
break;
}
if (o == null) {
e._isValid = !1;
return;
}
if (i[3]) {
for (t = 0, n = u; t < n; t++) if (Ln[t][1].exec(i[3])) {
s = (i[2] || " ") + Ln[t][0];
break;
}
if (s == null) {
e._isValid = !1;
return;
}
}
if (!a && s != null) {
e._isValid = !1;
return;
}
if (i[4]) if (Fn.exec(i[4])) c = "Z";
else {
e._isValid = !1;
return;
}
e._f = o + (s || "") + (c || ""), $n(e);
} else e._isValid = !1;
}
function Hn(e, t, n, r, i, a) {
var o = [
Un(e),
bt.indexOf(t),
parseInt(n, 10),
parseInt(r, 10),
parseInt(i, 10)
];
return a && o.push(parseInt(a, 10)), o;
}
function Un(e) {
var t = parseInt(e, 10);
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
}
function Wn(e) {
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
}
function Gn(e, t, n) {
return e && Yt.indexOf(e) !== new Date(t[0], t[1], t[2]).getDay() ? (m(n).weekdayMismatch = !0, n._isValid = !1, !1) : !0;
}
function Kn(e, t, n) {
if (e) return Bn[e];
if (t) return 0;
var r = parseInt(n, 10), i = r % 100;
return (r - i) / 100 * 60 + i;
}
function qn(e) {
var t = zn.exec(Wn(e._i)), n;
if (t) {
if (n = Hn(t[4], t[3], t[2], t[5], t[6], t[7]), !Gn(t[1], n, e)) return;
e._a = n, e._tzm = Kn(t[8], t[9], t[10]), e._d = Ft.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0;
} else e._isValid = !1;
}
function Jn(e) {
var t = Rn.exec(e._i);
if (t !== null) {
e._d = /* @__PURE__ */ new Date(+t[1]);
return;
}
if (Vn(e), e._isValid === !1) delete e._isValid;
else return;
if (qn(e), e._isValid === !1) delete e._isValid;
else return;
e._strict ? e._isValid = !1 : n.createFromInputFallback(e);
}
n.createFromInputFallback = g("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 = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
});
function Yn(e, t, n) {
return e ?? t ?? n;
}
function Xn(e) {
var t = new Date(n.now());
return e._useUTC ? [
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate()
] : [
t.getFullYear(),
t.getMonth(),
t.getDate()
];
}
function Zn(e) {
var t, n, r = [], i, a, o;
if (!e._d) {
for (i = Xn(e), e._w && e._a[M] == null && e._a[j] == null && Qn(e), e._dayOfYear != null && (o = Yn(e._a[A], i[A]), (e._dayOfYear > lt(o) || e._dayOfYear === 0) && (m(e)._overflowDayOfYear = !0), n = Ft(o, 0, e._dayOfYear), e._a[j] = n.getUTCMonth(), e._a[M] = n.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t) e._a[t] = r[t] = i[t];
for (; t < 7; t++) e._a[t] = r[t] = e._a[t] == null ? +(t === 2) : e._a[t];
e._a[N] === 24 && e._a[P] === 0 && e._a[F] === 0 && e._a[I] === 0 && (e._nextDay = !0, e._a[N] = 0), e._d = (e._useUTC ? Ft : Pt).apply(null, r), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[N] = 24), e._w && typeof e._w.d < "u" && e._w.d !== a && (m(e).weekdayMismatch = !0);
}
}
function Qn(e) {
var t = e._w, n, r, i, a, o, s, c, l;
t.GG != null || t.W != null || t.E != null ? (a = 1, o = 4, n = Yn(t.GG, e._a[A], Rt(H(), 1, 4).year), r = Yn(t.W, 1), i = Yn(t.E, 1), (i < 1 || i > 7) && (c = !0)) : (a = e._locale._week.dow, o = e._locale._week.doy, l = Rt(H(), a, o), n = Yn(t.gg, e._a[A], l.year), r = Yn(t.w, l.week), t.d == null ? t.e == null ? i = a : (i = t.e + a, (t.e < 0 || t.e > 6) && (c = !0)) : (i = t.d, (i < 0 || i > 6) && (c = !0))), r < 1 || r > R(n, a, o) ? m(e)._overflowWeeks = !0 : c == null ? (s = Lt(n, r, i, a, o), e._a[A] = s.year, e._dayOfYear = s.dayOfYear) : m(e)._overflowWeekday = !0;
}
n.ISO_8601 = function() {}, n.RFC_2822 = function() {};
function $n(e) {
if (e._f === n.ISO_8601) {
Vn(e);
return;
}
if (e._f === n.RFC_2822) {
qn(e);
return;
}
e._a = [], m(e).empty = !0;
var t = "" + e._i, r, i, a, o, s, c = t.length, l = 0, u, d;
for (a = we(e._f, e._locale).match(_e) || [], d = a.length, r = 0; r < d; r++) o = a[r], i = (t.match(tt(o, e)) || [])[0], i && (s = t.substr(0, t.indexOf(i)), s.length > 0 && m(e).unusedInput.push(s), t = t.slice(t.indexOf(i) + i.length), l += i.length), be[o] ? (i ? m(e).empty = !1 : m(e).unusedTokens.push(o), at(o, i, e)) : e._strict && !i && m(e).unusedTokens.push(o);
m(e).charsLeftOver = c - l, t.length > 0 && m(e).unusedInput.push(t), e._a[N] <= 12 && m(e).bigHour === !0 && e._a[N] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[N] = er(e._locale, e._a[N], e._meridiem), u = m(e).era, u !== null && (e._a[A] = e._locale.erasConvertYear(u, e._a[A])), Zn(e), Mn(e);
}
function er(e, t, n) {
var r;
return n == null ? t : e.meridiemHour == null ? (e.isPM != null && (r = e.isPM(n), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t) : e.meridiemHour(t, n);
}
function tr(e) {
var t, n, r, i, a, o, s = !1, c = e._f.length;
if (c === 0) {
m(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
return;
}
for (i = 0; i < c; i++) a = 0, o = !1, t = oe({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[i], $n(t), ne(t) && (o = !0), a += m(t).charsLeftOver, a += m(t).unusedTokens.length * 10, m(t).score = a, s ? a < r && (r = a, n = t) : (r == null || a < r || o) && (r = a, n = t, o && (s = !0));
f(e, n || t);
}
function nr(e) {
if (!e._d) {
var t = Ie(e._i), n = t.day === void 0 ? t.date : t.day;
e._a = d([
t.year,
t.month,
n,
t.hour,
t.minute,
t.second,
t.millisecond
], function(e) {
return e && parseInt(e, 10);
}), Zn(e);
}
}
function rr(e) {
var t = new se(Mn(ir(e)));
return t._nextDay &&= (t.add(1, "d"), void 0), t;
}
function ir(e) {
var t = e._i, n = e._f;
return e._locale = e._locale || V(e._l), t === null || n === void 0 && t === "" ? re({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), h(t) ? new se(Mn(t)) : (u(t) ? e._d = t : i(n) ? tr(e) : n ? $n(e) : ar(e), ne(e) || (e._d = null), e));
}
function ar(e) {
var t = e._i;
c(t) ? e._d = new Date(n.now()) : u(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Jn(e) : i(t) ? (e._a = d(t.slice(0), function(e) {
return parseInt(e, 10);
}), Zn(e)) : a(t) ? nr(e) : l(t) ? e._d = new Date(t) : n.createFromInputFallback(e);
}
function or(e, t, n, r, o) {
var c = {};
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (a(e) && s(e) || i(e) && e.length === 0) && (e = void 0), c._isAMomentObject = !0, c._useUTC = c._isUTC = o, c._l = n, c._i = e, c._f = t, c._strict = r, rr(c);
}
function H(e, t, n, r) {
return or(e, t, n, r, !1);
}
var sr = g("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
var e = H.apply(null, arguments);
return this.isValid() && e.isValid() ? e < this ? this : e : re();
}), cr = g("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
var e = H.apply(null, arguments);
return this.isValid() && e.isValid() ? e > this ? this : e : re();
});
function lr(e, t) {
var n, r;
if (t.length === 1 && i(t[0]) && (t = t[0]), !t.length) return H();
for (n = t[0], r = 1; r < t.length; ++r) (!t[r].isValid() || t[r][e](n)) && (n = t[r]);
return n;
}
function ur() {
return lr("isBefore", [].slice.call(arguments, 0));
}
function dr() {
return lr("isAfter", [].slice.call(arguments, 0));
}
var fr = function() {
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
}, pr = [
"year",
"quarter",
"month",
"week",
"day",
"hour",
"minute",
"second",
"millisecond"
];
function mr(e) {
var t, n = !1, r, i = pr.length;
for (t in e) if (o(e, t) && !(L.call(pr, t) !== -1 && (e[t] == null || !isNaN(e[t])))) return !1;
for (r = 0; r < i; ++r) if (e[pr[r]]) {
if (n) return !1;
parseFloat(e[pr[r]]) !== O(e[pr[r]]) && (n = !0);
}
return !0;
}
function hr() {
return this._isValid;
}
function gr() {
return U(NaN);
}
function _r(e) {
var t = Ie(e), n = t.year || 0, r = t.quarter || 0, i = t.month || 0, a = t.week || t.isoWeek || 0, o = t.day || 0, s = t.hour || 0, c = t.minute || 0, l = t.second || 0, u = t.millisecond || 0;
this._isValid = mr(t), this._milliseconds = +u + l * 1e3 + c * 6e4 + s * 1e3 * 60 * 60, this._days = +o + a * 7, this._months = +i + r * 3 + n * 12, this._data = {}, this._locale = V(), this._bubble();
}
function vr(e) {
return e instanceof _r;
}
function yr(e) {
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
}
function br(e, t, n) {
var r = Math.min(e.length, t.length), i = Math.abs(e.length - t.length), a = 0, o;
for (o = 0; o < r; o++) O(e[o]) !== O(t[o]) && a++;
return a + i;
}
function xr(e, t) {
y(e, 0, 0, function() {
var e = this.utcOffset(), n = "+";
return e < 0 && (e = -e, n = "-"), n + v(~~(e / 60), 2) + t + v(~~e % 60, 2);
});
}
xr("Z", ":"), xr("ZZ", ""), T("Z", Xe), T("ZZ", Xe), k(["Z", "ZZ"], function(e, t, n) {
n._useUTC = !0, n._tzm = Cr(Xe, e);
});
var Sr = /([\+\-]|\d\d)/gi;
function Cr(e, t) {
var n = (t || "").match(e), r, i, a;
return n === null ? null : (r = n[n.length - 1] || [], i = (r + "").match(Sr) || [
"-",
0,
0
], a = +(i[1] * 60) + O(i[2]), a === 0 ? 0 : i[0] === "+" ? a : -a);
}
function wr(e, t) {
var r, i;
return t._isUTC ? (r = t.clone(), i = (h(e) || u(e) ? e.valueOf() : H(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + i), n.updateOffset(r, !1), r) : H(e).local();
}
function Tr(e) {
return -Math.round(e._d.getTimezoneOffset());
}
n.updateOffset = function() {};
function Er(e, t, r) {
var i = this._offset || 0, a;
if (!this.isValid()) return e == null ? NaN : this;
if (e != null) {
if (typeof e == "string") {
if (e = Cr(Xe, e), e === null) return this;
} else Math.abs(e) < 16 && !r && (e *= 60);
return !this._isUTC && t && (a = Tr(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), i !== e && (!t || this._changeInProgress ? Hr(this, U(e - i, "m"), 1, !1) : this._changeInProgress ||= (this._changeInProgress = !0, n.updateOffset(this, !0), null)), this;
} else return this._isUTC ? i : Tr(this);
}
function Dr(e, t) {
return e == null ? -this.utcOffset() : (typeof e != "string" && (e = -e), this.utcOffset(e, t), this);
}
function Or(e) {
return this.utcOffset(0, e);
}
function kr(e) {
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Tr(this), "m")), this;
}
function Ar() {
if (this._tzm != null) this.utcOffset(this._tzm, !1, !0);
else if (typeof this._i == "string") {
var e = Cr(Ye, this._i);
e == null ? this.utcOffset(0, !0) : this.utcOffset(e);
}
return this;
}
function jr(e) {
return this.isValid() ? (e = e ? H(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0) : !1;
}
function Mr() {
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
}
function Nr() {
if (!c(this._isDSTShifted)) return this._isDSTShifted;
var e = {}, t;
return oe(e, this), e = ir(e), e._a ? (t = e._isUTC ? p(e._a) : H(e._a), this._isDSTShifted = this.isValid() && br(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
}
function Pr() {
return this.isValid() ? !this._isUTC : !1;
}
function Fr() {
return this.isValid() ? this._isUTC : !1;
}
function Ir() {
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
}
var Lr = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Rr = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
function U(e, t) {
var n = e, r = null, i, a, s;
return vr(e) ? n = {
ms: e._milliseconds,
d: e._days,
M: e._months
} : l(e) || !isNaN(+e) ? (n = {}, t ? n[t] = +e : n.milliseconds = +e) : (r = Lr.exec(e)) ? (i = r[1] === "-" ? -1 : 1, n = {
y: 0,
d: O(r[M]) * i,
h: O(r[N]) * i,
m: O(r[P]) * i,
s: O(r[F]) * i,
ms: O(yr(r[I] * 1e3)) * i
}) : (r = Rr.exec(e)) ? (i = r[1] === "-" ? -1 : 1, n = {
y: W(r[2], i),
M: W(r[3], i),
w: W(r[4], i),
d: W(r[5], i),
h: W(r[6], i),
m: W(r[7], i),
s: W(r[8], i)
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (s = Br(H(n.from), H(n.to)), n = {}, n.ms = s.milliseconds, n.M = s.months), a = new _r(n), vr(e) && o(e, "_locale") && (a._locale = e._locale), vr(e) && o(e, "_isValid") && (a._isValid = e._isValid), a;
}
U.fn = _r.prototype, U.invalid = gr;
function W(e, t) {
var n = e && parseFloat(e.replace(",", "."));
return (isNaN(n) ? 0 : n) * t;
}
function zr(e, t) {
var n = {};
return n.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = t - +e.clone().add(n.months, "M"), n;
}
function Br(e, t) {
var n;
return e.isValid() && t.isValid() ? (t = wr(t, e), e.isBefore(t) ? n = zr(e, t) : (n = zr(t, e), n.milliseconds = -n.milliseconds, n.months = -n.months), n) : {
milliseconds: 0,
months: 0
};
}
function Vr(e, t) {
return function(n, r) {
var i, a;
return r !== null && !isNaN(+r) && (ue(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 = n, n = r, r = a), i = U(n, r), Hr(this, i, e), this;
};
}
function Hr(e, t, r, i) {
var a = t._milliseconds, o = yr(t._days), s = yr(t._months);
e.isValid() && (i ??= !0, s && Ot(e, pt(e, "Month") + s * r), o && mt(e, "Date", pt(e, "Date") + o * r), a && e._d.setTime(e._d.valueOf() + a * r), i && n.updateOffset(e, o || s));
}
var Ur = Vr(1, "add"), Wr = Vr(-1, "subtract");
function Gr(e) {
return typeof e == "string" || e instanceof String;
}
function Kr(e) {
return h(e) || u(e) || Gr(e) || l(e) || Jr(e) || qr(e) || e == null;
}
function qr(e) {
var t = a(e) && !s(e), n = !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"
], i, c, l = r.length;
for (i = 0; i < l; i += 1) c = r[i], n ||= o(e, c);
return t && n;
}
function Jr(e) {
var t = i(e), n = !1;
return t && (n = e.filter(function(t) {
return !l(t) && Gr(e);
}).length === 0), t && n;
}
function Yr(e) {
var t = a(e) && !s(e), n = !1, r = [
"sameDay",
"nextDay",
"lastDay",
"nextWeek",
"lastWeek",
"sameElse"
], i, c;
for (i = 0; i < r.length; i += 1) c = r[i], n ||= o(e, c);
return t && n;
}
function Xr(e, t) {
var n = e.diff(t, "days", !0);
return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse";
}
function Zr(e, t) {
arguments.length === 1 && (arguments[0] ? Kr(arguments[0]) ? (e = arguments[0], t = void 0) : Yr(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
var r = e || H(), i = wr(r, this).startOf("day"), a = n.calendarFormat(this, i) || "sameElse", o = t && (_(t[a]) ? t[a].call(this, r) : t[a]);
return this.format(o || this.localeData().calendar(a, this, H(r)));
}
function Qr() {
return new se(this);
}
function $r(e, t) {
var n = h(e) ? e : H(e);
return this.isValid() && n.isValid() ? (t = b(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
}
function ei(e, t) {
var n = h(e) ? e : H(e);
return this.isValid() && n.isValid() ? (t = b(t) || "millisecond", t === "millisecond" ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) : !1;
}
function ti(e, t, n, r) {
var i = h(e) ? e : H(e), a = h(t) ? t : H(t);
return this.isValid() && i.isValid() && a.isValid() ? (r ||= "()", (r[0] === "(" ? this.isAfter(i, n) : !this.isBefore(i, n)) && (r[1] === ")" ? this.isBefore(a, n) : !this.isAfter(a, n))) : !1;
}
function ni(e, t) {
var n = h(e) ? e : H(e), r;
return this.isValid() && n.isValid() ? (t = b(t) || "millisecond", t === "millisecond" ? this.valueOf() === n.valueOf() : (r = n.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
}
function ri(e, t) {
return this.isSame(e, t) || this.isAfter(e, t);
}
function ii(e, t) {
return this.isSame(e, t) || this.isBefore(e, t);
}
function ai(e, t, n) {
var r, i, a;
if (!this.isValid() || (r = wr(e, this), !r.isValid())) return NaN;
switch (i = (r.utcOffset() - this.utcOffset()) * 6e4, t = b(t), t) {
case "year":
a = oi(this, r) / 12;
break;
case "month":
a =