hu-element-components
Version:
1,004 lines • 303 kB
JavaScript
import { defineComponent as Xi, ref as Ji, onMounted as Ki, watch as es, createElementBlock as ts, openBlock as ns } from "vue";
var st, A, vr, br, me, te, mn, yr, Er, Ge = {}, Ar = [], rs = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
function G(t, e) {
for (var n in e) t[n] = e[n];
return t;
}
function Sr(t) {
var e = t.parentNode;
e && e.removeChild(t);
}
function p(t, e, n) {
var r, i, s, l = {};
for (s in e) s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
if (arguments.length > 2 && (l.children = arguments.length > 3 ? st.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null) for (s in t.defaultProps) l[s] === void 0 && (l[s] = t.defaultProps[s]);
return je(t, l, r, i, null);
}
function je(t, e, n, r, i) {
var s = { type: t, props: e, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: i ?? ++vr };
return i == null && A.vnode != null && A.vnode(s), s;
}
function z() {
return { current: null };
}
function I(t) {
return t.children;
}
function is(t, e, n, r, i) {
var s;
for (s in n) s === "children" || s === "key" || s in e || Qe(t, s, null, n[s], r);
for (s in e) i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || n[s] === e[s] || Qe(t, s, e[s], n[s], r);
}
function vn(t, e, n) {
e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || rs.test(e) ? n : n + "px";
}
function Qe(t, e, n, r, i) {
var s;
e: if (e === "style") if (typeof n == "string") t.style.cssText = n;
else {
if (typeof r == "string" && (t.style.cssText = r = ""), r) for (e in r) n && e in n || vn(t.style, e, "");
if (n) for (e in n) r && n[e] === r[e] || vn(t.style, e, n[e]);
}
else if (e[0] === "o" && e[1] === "n") s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? yn : bn, s) : t.removeEventListener(e, s ? yn : bn, s);
else if (e !== "dangerouslySetInnerHTML") {
if (i) e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e in t) try {
t[e] = n ?? "";
break e;
} catch {
}
typeof n == "function" || (n == null || n === !1 && e.indexOf("-") == -1 ? t.removeAttribute(e) : t.setAttribute(e, n));
}
}
function bn(t) {
me = !0;
try {
return this.l[t.type + !1](A.event ? A.event(t) : t);
} finally {
me = !1;
}
}
function yn(t) {
me = !0;
try {
return this.l[t.type + !0](A.event ? A.event(t) : t);
} finally {
me = !1;
}
}
function L(t, e) {
this.props = t, this.context = e;
}
function _e(t, e) {
if (e == null) return t.__ ? _e(t.__, t.__.__k.indexOf(t) + 1) : null;
for (var n; e < t.__k.length; e++) if ((n = t.__k[e]) != null && n.__e != null) return n.__e;
return typeof t.type == "function" ? _e(t) : null;
}
function Dr(t) {
var e, n;
if ((t = t.__) != null && t.__c != null) {
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++) if ((n = t.__k[e]) != null && n.__e != null) {
t.__e = t.__c.base = n.__e;
break;
}
return Dr(t);
}
}
function ss(t) {
me ? setTimeout(t) : yr(t);
}
function xt(t) {
(!t.__d && (t.__d = !0) && te.push(t) && !Ye.__r++ || mn !== A.debounceRendering) && ((mn = A.debounceRendering) || ss)(Ye);
}
function Ye() {
var t, e, n, r, i, s, l, o;
for (te.sort(function(a, d) {
return a.__v.__b - d.__v.__b;
}); t = te.shift(); ) t.__d && (e = te.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = G({}, s)).__v = s.__v + 1, Wt(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? _e(s), s.__h), Tr(r, s), s.__e != l && Dr(s)), te.length > e && te.sort(function(a, d) {
return a.__v.__b - d.__v.__b;
}));
Ye.__r = 0;
}
function Cr(t, e, n, r, i, s, l, o, a, d) {
var c, h, f, u, m, b, v, y = r && r.__k || Ar, E = y.length;
for (n.__k = [], c = 0; c < e.length; c++) if ((u = n.__k[c] = (u = e[c]) == null || typeof u == "boolean" ? null : typeof u == "string" || typeof u == "number" || typeof u == "bigint" ? je(null, u, null, null, u) : Array.isArray(u) ? je(I, { children: u }, null, null, null) : u.__b > 0 ? je(u.type, u.props, u.key, u.ref ? u.ref : null, u.__v) : u) != null) {
if (u.__ = n, u.__b = n.__b + 1, (f = y[c]) === null || f && u.key == f.key && u.type === f.type) y[c] = void 0;
else for (h = 0; h < E; h++) {
if ((f = y[h]) && u.key == f.key && u.type === f.type) {
y[h] = void 0;
break;
}
f = null;
}
Wt(t, u, f = f || Ge, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (v || (v = []), f.ref && v.push(f.ref, null, u), v.push(h, u.__c || m, u)), m != null ? (b == null && (b = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = wr(u, a, t) : a = _r(t, u, f, y, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = _e(f));
}
for (n.__e = b, c = E; c--; ) y[c] != null && (typeof n.type == "function" && y[c].__e != null && y[c].__e == n.__d && (n.__d = Rr(r).nextSibling), Ir(y[c], y[c]));
if (v) for (c = 0; c < v.length; c++) Mr(v[c], v[++c], v[++c]);
}
function wr(t, e, n) {
for (var r, i = t.__k, s = 0; i && s < i.length; s++) (r = i[s]) && (r.__ = t, e = typeof r.type == "function" ? wr(r, e, n) : _r(n, r, r, i, r.__e, e));
return e;
}
function qe(t, e) {
return e = e || [], t == null || typeof t == "boolean" || (Array.isArray(t) ? t.some(function(n) {
qe(n, e);
}) : e.push(t)), e;
}
function _r(t, e, n, r, i, s) {
var l, o, a;
if (e.__d !== void 0) l = e.__d, e.__d = void 0;
else if (n == null || i != s || i.parentNode == null) e: if (s == null || s.parentNode !== t) t.appendChild(i), l = null;
else {
for (o = s, a = 0; (o = o.nextSibling) && a < r.length; a += 1) if (o == i) break e;
t.insertBefore(i, s), l = s;
}
return l !== void 0 ? l : i.nextSibling;
}
function Rr(t) {
var e, n, r;
if (t.type == null || typeof t.type == "string") return t.__e;
if (t.__k) {
for (e = t.__k.length - 1; e >= 0; e--) if ((n = t.__k[e]) && (r = Rr(n))) return r;
}
return null;
}
function Wt(t, e, n, r, i, s, l, o, a) {
var d, c, h, f, u, m, b, v, y, E, S, D, N, x, k, C = e.type;
if (e.constructor !== void 0) return null;
n.__h != null && (a = n.__h, o = e.__e = n.__e, e.__h = null, s = [o]), (d = A.__b) && d(e);
try {
e: if (typeof C == "function") {
if (v = e.props, y = (d = C.contextType) && r[d.__c], E = d ? y ? y.props.value : d.__ : r, n.__c ? b = (c = e.__c = n.__c).__ = c.__E : ("prototype" in C && C.prototype.render ? e.__c = c = new C(v, E) : (e.__c = c = new L(v, E), c.constructor = C, c.render = os), y && y.sub(c), c.props = v, c.state || (c.state = {}), c.context = E, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), C.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = G({}, c.__s)), G(c.__s, C.getDerivedStateFromProps(v, c.__s))), f = c.props, u = c.state, c.__v = e, h) C.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
else {
if (C.getDerivedStateFromProps == null && v !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(v, E), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(v, c.__s, E) === !1 || e.__v === n.__v) {
for (e.__v !== n.__v && (c.props = v, c.state = c.__s, c.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(ue) {
ue && (ue.__ = e);
}), S = 0; S < c._sb.length; S++) c.__h.push(c._sb[S]);
c._sb = [], c.__h.length && l.push(c);
break e;
}
c.componentWillUpdate != null && c.componentWillUpdate(v, c.__s, E), c.componentDidUpdate != null && c.__h.push(function() {
c.componentDidUpdate(f, u, m);
});
}
if (c.context = E, c.props = v, c.__P = t, D = A.__r, N = 0, "prototype" in C && C.prototype.render) {
for (c.state = c.__s, c.__d = !1, D && D(e), d = c.render(c.props, c.state, c.context), x = 0; x < c._sb.length; x++) c.__h.push(c._sb[x]);
c._sb = [];
} else do
c.__d = !1, D && D(e), d = c.render(c.props, c.state, c.context), c.state = c.__s;
while (c.__d && ++N < 25);
c.state = c.__s, c.getChildContext != null && (r = G(G({}, r), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, u)), k = d != null && d.type === I && d.key == null ? d.props.children : d, Cr(t, Array.isArray(k) ? k : [k], e, n, r, i, s, l, o, a), c.base = e.__e, e.__h = null, c.__h.length && l.push(c), b && (c.__E = c.__ = null), c.__e = !1;
} else s == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = ls(n.__e, e, n, r, i, s, l, a);
(d = A.diffed) && d(e);
} catch (ue) {
e.__v = null, (a || s != null) && (e.__e = o, e.__h = !!a, s[s.indexOf(o)] = null), A.__e(ue, e, n);
}
}
function Tr(t, e) {
A.__c && A.__c(e, t), t.some(function(n) {
try {
t = n.__h, n.__h = [], t.some(function(r) {
r.call(n);
});
} catch (r) {
A.__e(r, n.__v);
}
});
}
function ls(t, e, n, r, i, s, l, o) {
var a, d, c, h = n.props, f = e.props, u = e.type, m = 0;
if (u === "svg" && (i = !0), s != null) {
for (; m < s.length; m++) if ((a = s[m]) && "setAttribute" in a == !!u && (u ? a.localName === u : a.nodeType === 3)) {
t = a, s[m] = null;
break;
}
}
if (t == null) {
if (u === null) return document.createTextNode(f);
t = i ? document.createElementNS("http://www.w3.org/2000/svg", u) : document.createElement(u, f.is && f), s = null, o = !1;
}
if (u === null) h === f || o && t.data === f || (t.data = f);
else {
if (s = s && st.call(t.childNodes), d = (h = n.props || Ge).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
if (s != null) for (h = {}, m = 0; m < t.attributes.length; m++) h[t.attributes[m].name] = t.attributes[m].value;
(c || d) && (c && (d && c.__html == d.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
}
if (is(t, f, h, i, o), c) e.__k = [];
else if (m = e.props.children, Cr(t, Array.isArray(m) ? m : [m], e, n, r, i && u !== "foreignObject", s, l, s ? s[0] : n.__k && _e(n, 0), o), s != null) for (m = s.length; m--; ) s[m] != null && Sr(s[m]);
o || ("value" in f && (m = f.value) !== void 0 && (m !== t.value || u === "progress" && !m || u === "option" && m !== h.value) && Qe(t, "value", m, h.value, !1), "checked" in f && (m = f.checked) !== void 0 && m !== t.checked && Qe(t, "checked", m, h.checked, !1));
}
return t;
}
function Mr(t, e, n) {
try {
typeof t == "function" ? t(e) : t.current = e;
} catch (r) {
A.__e(r, n);
}
}
function Ir(t, e, n) {
var r, i;
if (A.unmount && A.unmount(t), (r = t.ref) && (r.current && r.current !== t.__e || Mr(r, null, e)), (r = t.__c) != null) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (s) {
A.__e(s, e);
}
r.base = r.__P = null, t.__c = void 0;
}
if (r = t.__k) for (i = 0; i < r.length; i++) r[i] && Ir(r[i], e, n || typeof t.type != "function");
n || t.__e == null || Sr(t.__e), t.__ = t.__e = t.__d = void 0;
}
function os(t, e, n) {
return this.constructor(t, n);
}
function Re(t, e, n) {
var r, i, s;
A.__ && A.__(t, e), i = (r = !1) ? null : e.__k, s = [], Wt(e, t = e.__k = p(I, null, [t]), i || Ge, Ge, e.ownerSVGElement !== void 0, i ? null : e.firstChild ? st.call(e.childNodes) : null, s, i ? i.__e : e.firstChild, r), Tr(s, t);
}
function as(t, e) {
var n = { __c: e = "__cC" + Er++, __: t, Consumer: function(r, i) {
return r.children(i);
}, Provider: function(r) {
var i, s;
return this.getChildContext || (i = [], (s = {})[e] = this, this.getChildContext = function() {
return s;
}, this.shouldComponentUpdate = function(l) {
this.props.value !== l.value && i.some(function(o) {
o.__e = !0, xt(o);
});
}, this.sub = function(l) {
i.push(l);
var o = l.componentWillUnmount;
l.componentWillUnmount = function() {
i.splice(i.indexOf(l), 1), o && o.call(l);
};
}), r.children;
} };
return n.Provider.__ = n.Consumer.contextType = n;
}
st = Ar.slice, A = { __e: function(t, e, n, r) {
for (var i, s, l; e = e.__; ) if ((i = e.__c) && !i.__) try {
if ((s = i.constructor) && s.getDerivedStateFromError != null && (i.setState(s.getDerivedStateFromError(t)), l = i.__d), i.componentDidCatch != null && (i.componentDidCatch(t, r || {}), l = i.__d), l) return i.__E = i;
} catch (o) {
t = o;
}
throw t;
} }, vr = 0, br = function(t) {
return t != null && t.constructor === void 0;
}, me = !1, L.prototype.setState = function(t, e) {
var n;
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = G({}, this.state), typeof t == "function" && (t = t(G({}, n), this.props)), t && G(n, t), t != null && this.__v && (e && this._sb.push(e), xt(this));
}, L.prototype.forceUpdate = function(t) {
this.__v && (this.__e = !0, t && this.__h.push(t), xt(this));
}, L.prototype.render = I, te = [], yr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ye.__r = 0, Er = 0;
var F, pt, En, kr = [], mt = [], An = A.__b, Sn = A.__r, Dn = A.diffed, Cn = A.__c, wn = A.unmount;
function cs() {
for (var t; t = kr.shift(); ) if (t.__P && t.__H) try {
t.__H.__h.forEach(Fe), t.__H.__h.forEach(Ot), t.__H.__h = [];
} catch (e) {
t.__H.__h = [], A.__e(e, t.__v);
}
}
A.__b = function(t) {
F = null, An && An(t);
}, A.__r = function(t) {
Sn && Sn(t);
var e = (F = t.__c).__H;
e && (pt === F ? (e.__h = [], F.__h = [], e.__.forEach(function(n) {
n.__N && (n.__ = n.__N), n.__V = mt, n.__N = n.i = void 0;
})) : (e.__h.forEach(Fe), e.__h.forEach(Ot), e.__h = [])), pt = F;
}, A.diffed = function(t) {
Dn && Dn(t);
var e = t.__c;
e && e.__H && (e.__H.__h.length && (kr.push(e) !== 1 && En === A.requestAnimationFrame || ((En = A.requestAnimationFrame) || ds)(cs)), e.__H.__.forEach(function(n) {
n.i && (n.__H = n.i), n.__V !== mt && (n.__ = n.__V), n.i = void 0, n.__V = mt;
})), pt = F = null;
}, A.__c = function(t, e) {
e.some(function(n) {
try {
n.__h.forEach(Fe), n.__h = n.__h.filter(function(r) {
return !r.__ || Ot(r);
});
} catch (r) {
e.some(function(i) {
i.__h && (i.__h = []);
}), e = [], A.__e(r, n.__v);
}
}), Cn && Cn(t, e);
}, A.unmount = function(t) {
wn && wn(t);
var e, n = t.__c;
n && n.__H && (n.__H.__.forEach(function(r) {
try {
Fe(r);
} catch (i) {
e = i;
}
}), n.__H = void 0, e && A.__e(e, n.__v));
};
var _n = typeof requestAnimationFrame == "function";
function ds(t) {
var e, n = function() {
clearTimeout(r), _n && cancelAnimationFrame(e), setTimeout(t);
}, r = setTimeout(n, 100);
_n && (e = requestAnimationFrame(n));
}
function Fe(t) {
var e = F, n = t.__c;
typeof n == "function" && (t.__c = void 0, n()), F = e;
}
function Ot(t) {
var e = F;
t.__c = t.__(), F = e;
}
function us(t, e) {
for (var n in e) t[n] = e[n];
return t;
}
function Rn(t, e) {
for (var n in t) if (n !== "__source" && !(n in e)) return !0;
for (var r in e) if (r !== "__source" && t[r] !== e[r]) return !0;
return !1;
}
function Tn(t) {
this.props = t;
}
(Tn.prototype = new L()).isPureReactComponent = !0, Tn.prototype.shouldComponentUpdate = function(t, e) {
return Rn(this.props, t) || Rn(this.state, e);
};
var Mn = A.__b;
A.__b = function(t) {
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), Mn && Mn(t);
};
var fs = A.__e;
A.__e = function(t, e, n, r) {
if (t.then) {
for (var i, s = e; s = s.__; ) if ((i = s.__c) && i.__c) return e.__e == null && (e.__e = n.__e, e.__k = n.__k), i.__c(t, e);
}
fs(t, e, n, r);
};
var In = A.unmount;
function xr(t, e, n) {
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(r) {
typeof r.__c == "function" && r.__c();
}), t.__c.__H = null), (t = us({}, t)).__c != null && (t.__c.__P === n && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(r) {
return xr(r, e, n);
})), t;
}
function Or(t, e, n) {
return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(r) {
return Or(r, e, n);
}), t.__c && t.__c.__P === e && (t.__e && n.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = n)), t;
}
function vt() {
this.__u = 0, this.t = null, this.__b = null;
}
function Nr(t) {
var e = t.__.__c;
return e && e.__a && e.__a(t);
}
function Oe() {
this.u = null, this.o = null;
}
A.unmount = function(t) {
var e = t.__c;
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), In && In(t);
}, (vt.prototype = new L()).__c = function(t, e) {
var n = e.__c, r = this;
r.t == null && (r.t = []), r.t.push(n);
var i = Nr(r.__v), s = !1, l = function() {
s || (s = !0, n.__R = null, i ? i(o) : o());
};
n.__R = l;
var o = function() {
if (!--r.__u) {
if (r.state.__a) {
var d = r.state.__a;
r.__v.__k[0] = Or(d, d.__c.__P, d.__c.__O);
}
var c;
for (r.setState({ __a: r.__b = null }); c = r.t.pop(); ) c.forceUpdate();
}
}, a = e.__h === !0;
r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), t.then(l, l);
}, vt.prototype.componentWillUnmount = function() {
this.t = [];
}, vt.prototype.render = function(t, e) {
if (this.__b) {
if (this.__v.__k) {
var n = document.createElement("div"), r = this.__v.__k[0].__c;
this.__v.__k[0] = xr(this.__b, n, r.__O = r.__P);
}
this.__b = null;
}
var i = e.__a && p(I, null, t.fallback);
return i && (i.__h = null), [p(I, null, e.__a ? null : t.children), i];
};
var kn = function(t, e, n) {
if (++n[1] === n[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size)) for (n = t.u; n; ) {
for (; n.length > 3; ) n.pop()();
if (n[1] < n[0]) break;
t.u = n = n[2];
}
};
function hs(t) {
return this.getChildContext = function() {
return t.context;
}, t.children;
}
function gs(t) {
var e = this, n = t.i;
e.componentWillUnmount = function() {
Re(null, e.l), e.l = null, e.i = null;
}, e.i && e.i !== n && e.componentWillUnmount(), t.__v ? (e.l || (e.i = n, e.l = { nodeType: 1, parentNode: n, childNodes: [], appendChild: function(r) {
this.childNodes.push(r), e.i.appendChild(r);
}, insertBefore: function(r, i) {
this.childNodes.push(r), e.i.appendChild(r);
}, removeChild: function(r) {
this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), e.i.removeChild(r);
} }), Re(p(hs, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
}
function ps(t, e) {
var n = p(gs, { __v: t, i: e });
return n.containerInfo = e, n;
}
(Oe.prototype = new L()).__a = function(t) {
var e = this, n = Nr(e.__v), r = e.o.get(t);
return r[0]++, function(i) {
var s = function() {
e.props.revealOrder ? (r.push(i), kn(e, t, r)) : i();
};
n ? n(s) : s();
};
}, Oe.prototype.render = function(t) {
this.u = null, this.o = /* @__PURE__ */ new Map();
var e = qe(t.children);
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
for (var n = e.length; n--; ) this.o.set(e[n], this.u = [1, 0, this.u]);
return t.children;
}, Oe.prototype.componentDidUpdate = Oe.prototype.componentDidMount = function() {
var t = this;
this.o.forEach(function(e, n) {
kn(t, n, e);
});
};
var ms = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, vs = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, bs = typeof document < "u", ys = function(t) {
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/i : /fil|che|ra/i).test(t);
};
L.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
Object.defineProperty(L.prototype, t, { configurable: !0, get: function() {
return this["UNSAFE_" + t];
}, set: function(e) {
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
} });
});
var xn = A.event;
function Es() {
}
function As() {
return this.cancelBubble;
}
function Ss() {
return this.defaultPrevented;
}
A.event = function(t) {
return xn && (t = xn(t)), t.persist = Es, t.isPropagationStopped = As, t.isDefaultPrevented = Ss, t.nativeEvent = t;
};
var On = { configurable: !0, get: function() {
return this.class;
} }, Nn = A.vnode;
A.vnode = function(t) {
var e = t.type, n = t.props, r = n;
if (typeof e == "string") {
var i = e.indexOf("-") === -1;
for (var s in r = {}, n) {
var l = n[s];
bs && s === "children" && e === "noscript" || s === "value" && "defaultValue" in n && l == null || (s === "defaultValue" && "value" in n && n.value == null ? s = "value" : s === "download" && l === !0 ? l = "" : /ondoubleclick/i.test(s) ? s = "ondblclick" : /^onchange(textarea|input)/i.test(s + e) && !ys(n.type) ? s = "oninput" : /^onfocus$/i.test(s) ? s = "onfocusin" : /^onblur$/i.test(s) ? s = "onfocusout" : /^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s) ? s = s.toLowerCase() : i && vs.test(s) ? s = s.replace(/[A-Z0-9]/g, "-$&").toLowerCase() : l === null && (l = void 0), /^oninput$/i.test(s) && (s = s.toLowerCase(), r[s] && (s = "oninputCapture")), r[s] = l);
}
e == "select" && r.multiple && Array.isArray(r.value) && (r.value = qe(n.children).forEach(function(o) {
o.props.selected = r.value.indexOf(o.props.value) != -1;
})), e == "select" && r.defaultValue != null && (r.value = qe(n.children).forEach(function(o) {
o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
})), t.props = r, n.class != n.className && (On.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", On));
}
t.$$typeof = ms, Nn && Nn(t);
};
var Hn = A.__r;
A.__r = function(t) {
Hn && Hn(t), t.__c;
};
const Hr = [], Nt = /* @__PURE__ */ new Map();
function Pr(t) {
Hr.push(t), Nt.forEach((e) => {
Lr(e, t);
});
}
function Ds(t) {
t.isConnected && // sometimes true if SSR system simulates DOM
t.getRootNode && Br(t.getRootNode());
}
function Br(t) {
let e = Nt.get(t);
if (!e || !e.isConnected) {
if (e = t.querySelector("style[data-fullcalendar]"), !e) {
e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
const n = ws();
n && (e.nonce = n);
const r = t === document ? document.head : t, i = t === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
r.insertBefore(e, i);
}
Nt.set(t, e), Cs(e);
}
}
function Cs(t) {
for (const e of Hr)
Lr(t, e);
}
function Lr(t, e) {
const { sheet: n } = t, r = n.cssRules.length;
e.split("}").forEach((i, s) => {
i = i.trim(), i && n.insertRule(i + "}", r + s);
});
}
let bt;
function ws() {
return bt === void 0 && (bt = _s()), bt;
}
function _s() {
const t = document.querySelector('meta[name="csp-nonce"]');
if (t && t.hasAttribute("content"))
return t.getAttribute("content");
const e = document.querySelector("script[nonce]");
return e && e.nonce || "";
}
typeof document < "u" && Br(document);
var Rs = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,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") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
Pr(Rs);
class Gt {
constructor(e) {
this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
}
request(e) {
this.isDirty = !0, this.isPaused() || (this.clearTimeout(), e == null ? this.tryDrain() : this.timeoutId = setTimeout(
// NOT OPTIMAL! TODO: look at debounce
this.tryDrain.bind(this),
e
));
}
pause(e = "") {
let { pauseDepths: n } = this;
n[e] = (n[e] || 0) + 1, this.clearTimeout();
}
resume(e = "", n) {
let { pauseDepths: r } = this;
e in r && (n ? delete r[e] : (r[e] -= 1, r[e] <= 0 && delete r[e]), this.tryDrain());
}
isPaused() {
return Object.keys(this.pauseDepths).length;
}
tryDrain() {
if (!this.isRunning && !this.isPaused()) {
for (this.isRunning = !0; this.isDirty; )
this.isDirty = !1, this.drained();
this.isRunning = !1;
}
}
clear() {
this.clearTimeout(), this.isDirty = !1, this.pauseDepths = {};
}
clearTimeout() {
this.timeoutId && (clearTimeout(this.timeoutId), this.timeoutId = 0);
}
drained() {
this.drainedOption && this.drainedOption();
}
}
function Qt(t) {
t.parentNode && t.parentNode.removeChild(t);
}
function H(t, e) {
if (t.closest)
return t.closest(e);
if (!document.documentElement.contains(t))
return null;
do {
if (Ts(t, e))
return t;
t = t.parentElement || t.parentNode;
} while (t !== null && t.nodeType === 1);
return null;
}
function Ts(t, e) {
return (t.matches || t.matchesSelector || t.msMatchesSelector).call(t, e);
}
function Ms(t, e) {
let n = t instanceof HTMLElement ? [t] : t, r = [];
for (let i = 0; i < n.length; i += 1) {
let s = n[i].querySelectorAll(e);
for (let l = 0; l < s.length; l += 1)
r.push(s[l]);
}
return r;
}
const Is = /(top|left|right|bottom|width|height)$/i;
function Ae(t, e) {
for (let n in e)
Ur(t, n, e[n]);
}
function Ur(t, e, n) {
n == null ? t.style[e] = "" : typeof n == "number" && Is.test(e) ? t.style[e] = `${n}px` : t.style[e] = n;
}
function jr(t) {
var e, n;
return (n = (e = t.composedPath) === null || e === void 0 ? void 0 : e.call(t)[0]) !== null && n !== void 0 ? n : t.target;
}
let Pn = 0;
function lt() {
return Pn += 1, "fc-dom-" + Pn;
}
function ot(t) {
t.preventDefault();
}
function ks(t, e) {
return (n) => {
let r = H(n.target, t);
r && e.call(r, n, r);
};
}
function Fr(t, e, n, r) {
let i = ks(n, r);
return t.addEventListener(e, i), () => {
t.removeEventListener(e, i);
};
}
function xs(t, e, n, r) {
let i;
return Fr(t, "mouseover", e, (s, l) => {
if (l !== i) {
i = l, n(s, l);
let o = (a) => {
i = null, r(a, l), l.removeEventListener("mouseleave", o);
};
l.addEventListener("mouseleave", o);
}
});
}
const Bn = [
"webkitTransitionEnd",
"otransitionend",
"oTransitionEnd",
"msTransitionEnd",
"transitionend"
];
function Os(t, e) {
let n = (r) => {
e(r), Bn.forEach((i) => {
t.removeEventListener(i, n);
});
};
Bn.forEach((r) => {
t.addEventListener(r, n);
});
}
function Vr(t) {
return Object.assign({ onClick: t }, zr(t));
}
function zr(t) {
return {
tabIndex: 0,
onKeyDown(e) {
(e.key === "Enter" || e.key === " ") && (t(e), e.preventDefault());
}
};
}
let Ln = 0;
function le() {
return Ln += 1, String(Ln);
}
function Yt() {
document.body.classList.add("fc-not-allowed");
}
function qt() {
document.body.classList.remove("fc-not-allowed");
}
function Ns(t) {
t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", ot);
}
function Hs(t) {
t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", ot);
}
function Ps(t) {
t.addEventListener("contextmenu", ot);
}
function Bs(t) {
t.removeEventListener("contextmenu", ot);
}
function Ls(t) {
let e = [], n = [], r, i;
for (typeof t == "string" ? n = t.split(/\s*,\s*/) : typeof t == "function" ? n = [t] : Array.isArray(t) && (n = t), r = 0; r < n.length; r += 1)
i = n[r], typeof i == "string" ? e.push(i.charAt(0) === "-" ? { field: i.substring(1), order: -1 } : { field: i, order: 1 }) : typeof i == "function" && e.push({ func: i });
return e;
}
function Us(t, e, n) {
let r, i;
for (r = 0; r < n.length; r += 1)
if (i = js(t, e, n[r]), i)
return i;
return 0;
}
function js(t, e, n) {
return n.func ? n.func(t, e) : Fs(t[n.field], e[n.field]) * (n.order || 1);
}
function Fs(t, e) {
return !t && !e ? 0 : e == null ? -1 : t == null ? 1 : typeof t == "string" || typeof e == "string" ? String(t).localeCompare(String(e)) : t - e;
}
function yt(t, e) {
let n = String(t);
return "000".substr(0, e - n.length) + n;
}
function Se(t, e, n) {
return typeof t == "function" ? t(...e) : typeof t == "string" ? e.reduce((r, i, s) => r.replace("$" + s, i || ""), t) : n;
}
function Vs(t, e) {
return t - e;
}
function Et(t) {
return t % 1 === 0;
}
function zs(t) {
let e = t.querySelector(".fc-scrollgrid-shrink-frame"), n = t.querySelector(".fc-scrollgrid-shrink-cushion");
if (!e)
throw new Error("needs fc-scrollgrid-shrink-frame className");
if (!n)
throw new Error("needs fc-scrollgrid-shrink-cushion className");
return t.getBoundingClientRect().width - e.getBoundingClientRect().width + // the cell padding+border
n.getBoundingClientRect().width;
}
const Ws = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
function _(t, e) {
return typeof t == "string" ? Gs(t) : typeof t == "object" && t ? Un(t) : typeof t == "number" ? Un({ [e || "milliseconds"]: t }) : null;
}
function Gs(t) {
let e = Ws.exec(t);
if (e) {
let n = e[1] ? -1 : 1;
return {
years: 0,
months: 0,
days: n * (e[2] ? parseInt(e[2], 10) : 0),
milliseconds: n * ((e[3] ? parseInt(e[3], 10) : 0) * 60 * 60 * 1e3 + // hours
(e[4] ? parseInt(e[4], 10) : 0) * 60 * 1e3 + // minutes
(e[5] ? parseInt(e[5], 10) : 0) * 1e3 + // seconds
(e[6] ? parseInt(e[6], 10) : 0))
};
}
return null;
}
function Un(t) {
let e = {
years: t.years || t.year || 0,
months: t.months || t.month || 0,
days: t.days || t.day || 0,
milliseconds: (t.hours || t.hour || 0) * 60 * 60 * 1e3 + // hours
(t.minutes || t.minute || 0) * 60 * 1e3 + // minutes
(t.seconds || t.second || 0) * 1e3 + // seconds
(t.milliseconds || t.millisecond || t.ms || 0)
// ms
}, n = t.weeks || t.week;
return n && (e.days += n * 7, e.specifiedWeeks = !0), e;
}
function Qs(t, e) {
return t.years === e.years && t.months === e.months && t.days === e.days && t.milliseconds === e.milliseconds;
}
function Ys(t, e) {
return {
years: t.years - e.years,
months: t.months - e.months,
days: t.days - e.days,
milliseconds: t.milliseconds - e.milliseconds
};
}
function qs(t) {
return ge(t) / 365;
}
function Zs(t) {
return ge(t) / 30;
}
function ge(t) {
return Te(t) / 864e5;
}
function Te(t) {
return t.years * (365 * 864e5) + t.months * (30 * 864e5) + t.days * 864e5 + t.milliseconds;
}
function Ht(t) {
let e = t.milliseconds;
if (e) {
if (e % 1e3 !== 0)
return { unit: "millisecond", value: e };
if (e % (1e3 * 60) !== 0)
return { unit: "second", value: e / 1e3 };
if (e % (1e3 * 60 * 60) !== 0)
return { unit: "minute", value: e / (1e3 * 60) };
if (e)
return { unit: "hour", value: e / (1e3 * 60 * 60) };
}
return t.days ? t.specifiedWeeks && t.days % 7 === 0 ? { unit: "week", value: t.days / 7 } : { unit: "day", value: t.days } : t.months ? { unit: "month", value: t.months } : t.years ? { unit: "year", value: t.years } : { unit: "millisecond", value: 0 };
}
function Z(t, e, n) {
if (t === e)
return !0;
let r = t.length, i;
if (r !== e.length)
return !1;
for (i = 0; i < r; i += 1)
if (!(n ? n(t[i], e[i]) : t[i] === e[i]))
return !1;
return !0;
}
const $s = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
function jn(t, e) {
let n = Q(t);
return n[2] += e * 7, B(n);
}
function P(t, e) {
let n = Q(t);
return n[2] += e, B(n);
}
function $(t, e) {
let n = Q(t);
return n[6] += e, B(n);
}
function Xs(t, e) {
return ye(t, e) / 7;
}
function ye(t, e) {
return (e.valueOf() - t.valueOf()) / (1e3 * 60 * 60 * 24);
}
function Js(t, e) {
return (e.valueOf() - t.valueOf()) / (1e3 * 60 * 60);
}
function Ks(t, e) {
return (e.valueOf() - t.valueOf()) / (1e3 * 60);
}
function el(t, e) {
return (e.valueOf() - t.valueOf()) / 1e3;
}
function tl(t, e) {
let n = R(t), r = R(e);
return {
years: 0,
months: 0,
days: Math.round(ye(n, r)),
milliseconds: e.valueOf() - r.valueOf() - (t.valueOf() - n.valueOf())
};
}
function nl(t, e) {
let n = Ze(t, e);
return n !== null && n % 7 === 0 ? n / 7 : null;
}
function Ze(t, e) {
return Y(t) === Y(e) ? Math.round(ye(t, e)) : null;
}
function R(t) {
return B([
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate()
]);
}
function rl(t) {
return B([
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate(),
t.getUTCHours()
]);
}
function il(t) {
return B([
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate(),
t.getUTCHours(),
t.getUTCMinutes()
]);
}
function sl(t) {
return B([
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate(),
t.getUTCHours(),
t.getUTCMinutes(),
t.getUTCSeconds()
]);
}
function ll(t, e, n) {
let r = t.getUTCFullYear(), i = At(t, r, e, n);
if (i < 1)
return At(t, r - 1, e, n);
let s = At(t, r + 1, e, n);
return s >= 1 ? Math.min(i, s) : i;
}
function At(t, e, n, r) {
let i = B([e, 0, 1 + ol(e, n, r)]), s = R(t), l = Math.round(ye(i, s));
return Math.floor(l / 7) + 1;
}
function ol(t, e, n) {
let r = 7 + e - n;
return -((7 + B([t, 0, r]).getUTCDay() - e) % 7) + r - 1;
}
function Fn(t) {
return [
t.getFullYear(),
t.getMonth(),
t.getDate(),
t.getHours(),
t.getMinutes(),
t.getSeconds(),
t.getMilliseconds()
];
}
function Vn(t) {
return new Date(
t[0],
t[1] || 0,
t[2] == null ? 1 : t[2],
// day of month
t[3] || 0,
t[4] || 0,
t[5] || 0
);
}
function Q(t) {
return [
t.getUTCFullYear(),
t.getUTCMonth(),
t.getUTCDate(),
t.getUTCHours(),
t.getUTCMinutes(),
t.getUTCSeconds(),
t.getUTCMilliseconds()
];
}
function B(t) {
return t.length === 1 && (t = t.concat([0])), new Date(Date.UTC(...t));
}
function Wr(t) {
return !isNaN(t.valueOf());
}
function Y(t) {
return t.getUTCHours() * 1e3 * 60 * 60 + t.getUTCMinutes() * 1e3 * 60 + t.getUTCSeconds() * 1e3 + t.getUTCMilliseconds();
}
function al(t, e, n = !1) {
let r = t.toISOString();
return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", $t(e, !0)))), r;
}
function Zt(t) {
return t.toISOString().replace(/T.*$/, "");
}
function cl(t) {
return t.toISOString().match(/^\d{4}-\d{2}/)[0];
}
function $t(t, e = !1) {
let n = t < 0 ? "-" : "+", r = Math.abs(t), i = Math.floor(r / 60), s = Math.round(r % 60);
return e ? `${n + yt(i, 2)}:${yt(s, 2)}` : `GMT${n}${i}${s ? `:${yt(s, 2)}` : ""}`;
}
function w(t, e, n) {
let r, i;
return function(...s) {
if (!r)
i = t.apply(this, s);
else if (!Z(r, s)) {
let l = t.apply(this, s);
(!e || !e(l, i)) && (i = l);
}
return r = s, i;
};
}
function Ve(t, e, n) {
let r, i;
return (s) => (r ? j(r, s) || (i = t.call(this, s)) : i = t.call(this, s), r = s, i);
}
c