@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
1,204 lines • 148 kB
JavaScript
var qe, y, hn, de, Sr, pn, _n, mn, ir, Bt, Ut, gn, Ge = {}, Ln = [], bo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ye = Array.isArray;
function X(e, t) {
for (var r in t) e[r] = t[r];
return e;
}
function ar(e) {
e && e.parentNode && e.parentNode.removeChild(e);
}
function D(e, t, r) {
var n, o, i, a = {};
for (i in t) i == "key" ? n = t[i] : i == "ref" ? o = t[i] : a[i] = t[i];
if (arguments.length > 2 && (a.children = arguments.length > 3 ? qe.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) a[i] === void 0 && (a[i] = e.defaultProps[i]);
return We(e, a, n, o, null);
}
function We(e, t, r, n, o) {
var i = { type: e, props: t, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++hn, __i: -1, __u: 0 };
return o == null && y.vnode != null && y.vnode(i), i;
}
function Vo() {
return { current: null };
}
function T(e) {
return e.children;
}
function j(e, t) {
this.props = e, this.context = t;
}
function Ve(e, t) {
if (t == null) return e.__ ? Ve(e.__, e.__i + 1) : null;
for (var r; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) return r.__e;
return typeof e.type == "function" ? Ve(e) : null;
}
function yn(e) {
var t, r;
if ((e = e.__) != null && e.__c != null) {
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) {
e.__e = e.__c.base = r.__e;
break;
}
return yn(e);
}
}
function Wt(e) {
(!e.__d && (e.__d = !0) && de.push(e) && !pt.__r++ || Sr != y.debounceRendering) && ((Sr = y.debounceRendering) || pn)(pt);
}
function pt() {
for (var e, t, r, n, o, i, a, c = 1; de.length; ) de.length > c && de.sort(_n), e = de.shift(), c = de.length, e.__d && (r = void 0, n = void 0, o = (n = (t = e).__v).__e, i = [], a = [], t.__P && ((r = X({}, n)).__v = n.__v + 1, y.vnode && y.vnode(r), sr(t.__P, r, n, t.__n, t.__P.namespaceURI, 32 & n.__u ? [o] : null, i, o ?? Ve(n), !!(32 & n.__u), a), r.__v = n.__v, r.__.__k[r.__i] = r, wn(i, r, a), n.__e = n.__ = null, r.__e != o && yn(r)));
pt.__r = 0;
}
function vn(e, t, r, n, o, i, a, c, d, u, h) {
var l, p, f, _, w, S, m, g = n && n.__k || Ln, b = t.length;
for (d = Eo(r, t, g, d, b), l = 0; l < b; l++) (f = r.__k[l]) != null && (p = f.__i == -1 ? Ge : g[f.__i] || Ge, f.__i = l, S = sr(e, f, p, o, i, a, c, d, u, h), _ = f.__e, f.ref && p.ref != f.ref && (p.ref && cr(p.ref, null, f), h.push(f.ref, f.__c || _, f)), w == null && _ != null && (w = _), (m = !!(4 & f.__u)) || p.__k === f.__k ? d = Cn(f, d, e, m) : typeof f.type == "function" && S !== void 0 ? d = S : _ && (d = _.nextSibling), f.__u &= -7);
return r.__e = w, d;
}
function Eo(e, t, r, n, o) {
var i, a, c, d, u, h = r.length, l = h, p = 0;
for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? a = e.__k[i] = We(null, a, null, null, null) : Ye(a) ? a = e.__k[i] = We(T, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? a = e.__k[i] = We(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : e.__k[i] = a, d = i + p, a.__ = e, a.__b = e.__b + 1, c = null, (u = a.__i = ko(a, r, d, l)) != -1 && (l--, (c = r[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > h ? p-- : o < h && p++), typeof a.type != "function" && (a.__u |= 4)) : u != d && (u == d - 1 ? p-- : u == d + 1 ? p++ : (u > d ? p-- : p++, a.__u |= 4))) : e.__k[i] = null;
if (l) for (i = 0; i < h; i++) (c = r[i]) != null && (2 & c.__u) == 0 && (c.__e == n && (n = Ve(c)), bn(c, c));
return n;
}
function Cn(e, t, r, n) {
var o, i;
if (typeof e.type == "function") {
for (o = e.__k, i = 0; o && i < o.length; i++) o[i] && (o[i].__ = e, t = Cn(o[i], t, r, n));
return t;
}
e.__e != t && (n && (t && e.type && !t.parentNode && (t = Ve(e)), r.insertBefore(e.__e, t || null)), t = e.__e);
do
t = t && t.nextSibling;
while (t != null && t.nodeType == 8);
return t;
}
function te(e, t) {
return t = t || [], e == null || typeof e == "boolean" || (Ye(e) ? e.some(function(r) {
te(r, t);
}) : t.push(e)), t;
}
function ko(e, t, r, n) {
var o, i, a, c = e.key, d = e.type, u = t[r], h = u != null && (2 & u.__u) == 0;
if (u === null && c == null || h && c == u.key && d == u.type) return r;
if (n > (h ? 1 : 0)) {
for (o = r - 1, i = r + 1; o >= 0 || i < t.length; ) if ((u = t[a = o >= 0 ? o-- : i++]) != null && (2 & u.__u) == 0 && c == u.key && d == u.type) return a;
}
return -1;
}
function br(e, t, r) {
t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || bo.test(t) ? r : r + "px";
}
function tt(e, t, r, n, o) {
var i, a;
e: if (t == "style") if (typeof r == "string") e.style.cssText = r;
else {
if (typeof n == "string" && (e.style.cssText = n = ""), n) for (t in n) r && t in r || br(e.style, t, "");
if (r) for (t in r) n && r[t] == n[t] || br(e.style, t, r[t]);
}
else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(mn, "$1")), a = t.toLowerCase(), t = a in e || t == "onFocusOut" || t == "onFocusIn" ? a.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = r, r ? n ? r.u = n.u : (r.u = ir, e.addEventListener(t, i ? Ut : Bt, i)) : e.removeEventListener(t, i ? Ut : Bt, i);
else {
if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
e[t] = r ?? "";
break e;
} catch {
}
typeof r == "function" || (r == null || r === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && r == 1 ? "" : r));
}
}
function Vr(e) {
return function(t) {
if (this.l) {
var r = this.l[t.type + e];
if (t.t == null) t.t = ir++;
else if (t.t < r.u) return;
return r(y.event ? y.event(t) : t);
}
};
}
function sr(e, t, r, n, o, i, a, c, d, u) {
var h, l, p, f, _, w, S, m, g, b, E, $, C, L, H, U, Ne, W = t.type;
if (t.constructor != null) return null;
128 & r.__u && (d = !!(32 & r.__u), i = [c = t.__e = r.__e]), (h = y.__b) && h(t);
e: if (typeof W == "function") try {
if (m = t.props, g = "prototype" in W && W.prototype.render, b = (h = W.contextType) && n[h.__c], E = h ? b ? b.props.value : h.__ : n, r.__c ? S = (l = t.__c = r.__c).__ = l.__E : (g ? t.__c = l = new W(m, E) : (t.__c = l = new j(m, E), l.constructor = W, l.render = xo), b && b.sub(l), l.state || (l.state = {}), l.__n = n, p = l.__d = !0, l.__h = [], l._sb = []), g && l.__s == null && (l.__s = l.state), g && W.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = X({}, l.__s)), X(l.__s, W.getDerivedStateFromProps(m, l.__s))), f = l.props, _ = l.state, l.__v = t, p) g && W.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), g && l.componentDidMount != null && l.__h.push(l.componentDidMount);
else {
if (g && W.getDerivedStateFromProps == null && m !== f && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, E), t.__v == r.__v || !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, E) === !1) {
for (t.__v != r.__v && (l.props = m, l.state = l.__s, l.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(ie) {
ie && (ie.__ = t);
}), $ = 0; $ < l._sb.length; $++) l.__h.push(l._sb[$]);
l._sb = [], l.__h.length && a.push(l);
break e;
}
l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, E), g && l.componentDidUpdate != null && l.__h.push(function() {
l.componentDidUpdate(f, _, w);
});
}
if (l.context = E, l.props = m, l.__P = e, l.__e = !1, C = y.__r, L = 0, g) {
for (l.state = l.__s, l.__d = !1, C && C(t), h = l.render(l.props, l.state, l.context), H = 0; H < l._sb.length; H++) l.__h.push(l._sb[H]);
l._sb = [];
} else do
l.__d = !1, C && C(t), h = l.render(l.props, l.state, l.context), l.state = l.__s;
while (l.__d && ++L < 25);
l.state = l.__s, l.getChildContext != null && (n = X(X({}, n), l.getChildContext())), g && !p && l.getSnapshotBeforeUpdate != null && (w = l.getSnapshotBeforeUpdate(f, _)), U = h, h != null && h.type === T && h.key == null && (U = Sn(h.props.children)), c = vn(e, Ye(U) ? U : [U], t, r, n, o, i, a, c, d, u), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), S && (l.__E = l.__ = null);
} catch (ie) {
if (t.__v = null, d || i != null) if (ie.then) {
for (t.__u |= d ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
i[i.indexOf(c)] = null, t.__e = c;
} else {
for (Ne = i.length; Ne--; ) ar(i[Ne]);
Ft(t);
}
else t.__e = r.__e, t.__k = r.__k, ie.then || Ft(t);
y.__e(ie, t, r);
}
else i == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : c = t.__e = $o(r.__e, t, r, n, o, i, a, d, u);
return (h = y.diffed) && h(t), 128 & t.__u ? void 0 : c;
}
function Ft(e) {
e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(Ft);
}
function wn(e, t, r) {
for (var n = 0; n < r.length; n++) cr(r[n], r[++n], r[++n]);
y.__c && y.__c(t, e), e.some(function(o) {
try {
e = o.__h, o.__h = [], e.some(function(i) {
i.call(o);
});
} catch (i) {
y.__e(i, o.__v);
}
});
}
function Sn(e) {
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ye(e) ? e.map(Sn) : X({}, e);
}
function $o(e, t, r, n, o, i, a, c, d) {
var u, h, l, p, f, _, w, S = r.props || Ge, m = t.props, g = t.type;
if (g == "svg" ? o = "http://www.w3.org/2000/svg" : g == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
for (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName == g : f.nodeType == 3)) {
e = f, i[u] = null;
break;
}
}
if (e == null) {
if (g == null) return document.createTextNode(m);
e = document.createElementNS(o, g, m.is && m), c && (y.__m && y.__m(t, i), c = !1), i = null;
}
if (g == null) S === m || c && e.data == m || (e.data = m);
else {
if (i = i && qe.call(e.childNodes), !c && i != null) for (S = {}, u = 0; u < e.attributes.length; u++) S[(f = e.attributes[u]).name] = f.value;
for (u in S) if (f = S[u], u != "children") {
if (u == "dangerouslySetInnerHTML") l = f;
else if (!(u in m)) {
if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
tt(e, u, null, f, o);
}
}
for (u in m) f = m[u], u == "children" ? p = f : u == "dangerouslySetInnerHTML" ? h = f : u == "value" ? _ = f : u == "checked" ? w = f : c && typeof f != "function" || S[u] === f || tt(e, u, f, S[u], o);
if (h) c || l && (h.__html == l.__html || h.__html == e.innerHTML) || (e.innerHTML = h.__html), t.__k = [];
else if (l && (e.innerHTML = ""), vn(t.type == "template" ? e.content : e, Ye(p) ? p : [p], t, r, n, g == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : r.__k && Ve(r, 0), c, d), i != null) for (u = i.length; u--; ) ar(i[u]);
c || (u = "value", g == "progress" && _ == null ? e.removeAttribute("value") : _ != null && (_ !== e[u] || g == "progress" && !_ || g == "option" && _ != S[u]) && tt(e, u, _, S[u], o), u = "checked", w != null && w != e[u] && tt(e, u, w, S[u], o));
}
return e;
}
function cr(e, t, r) {
try {
if (typeof e == "function") {
var n = typeof e.__u == "function";
n && e.__u(), n && t == null || (e.__u = e(t));
} else e.current = t;
} catch (o) {
y.__e(o, r);
}
}
function bn(e, t, r) {
var n, o;
if (y.unmount && y.unmount(e), (n = e.ref) && (n.current && n.current != e.__e || cr(n, null, t)), (n = e.__c) != null) {
if (n.componentWillUnmount) try {
n.componentWillUnmount();
} catch (i) {
y.__e(i, t);
}
n.base = n.__P = null;
}
if (n = e.__k) for (o = 0; o < n.length; o++) n[o] && bn(n[o], t, r || typeof e.type != "function");
r || ar(e.__e), e.__c = e.__ = e.__e = void 0;
}
function xo(e, t, r) {
return this.constructor(e, r);
}
function ce(e, t, r) {
var n, o, i, a;
t == document && (t = document.documentElement), y.__ && y.__(e, t), o = (n = typeof r == "function") ? null : r && r.__k || t.__k, i = [], a = [], sr(t, e = (!n && r || t).__k = D(T, null, [e]), o || Ge, Ge, t.namespaceURI, !n && r ? [r] : o ? null : t.firstChild ? qe.call(t.childNodes) : null, i, !n && r ? r : o ? o.__e : t.firstChild, n, a), wn(i, e, a);
}
function lr(e, t) {
ce(e, t, lr);
}
function ur(e, t, r) {
var n, o, i, a, c = X({}, e.props);
for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? n = t[i] : i == "ref" ? o = t[i] : c[i] = t[i] === void 0 && a != null ? a[i] : t[i];
return arguments.length > 2 && (c.children = arguments.length > 3 ? qe.call(arguments, 2) : r), We(e.type, c, n || e.key, o || e.ref, null);
}
function Vn(e) {
function t(r) {
var n, o;
return this.getChildContext || (n = /* @__PURE__ */ new Set(), (o = {})[t.__c] = this, this.getChildContext = function() {
return o;
}, this.componentWillUnmount = function() {
n = null;
}, this.shouldComponentUpdate = function(i) {
this.props.value != i.value && n.forEach(function(a) {
a.__e = !0, Wt(a);
});
}, this.sub = function(i) {
n.add(i);
var a = i.componentWillUnmount;
i.componentWillUnmount = function() {
n && n.delete(i), a && a.call(i);
};
}), r.children;
}
return t.__c = "__cC" + gn++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(r, n) {
return r.children(n);
}).contextType = t, t;
}
qe = Ln.slice, y = { __e: function(e, t, r, n) {
for (var o, i, a; t = t.__; ) if ((o = t.__c) && !o.__) try {
if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), a = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, n || {}), a = o.__d), a) return o.__E = o;
} catch (c) {
e = c;
}
throw e;
} }, hn = 0, j.prototype.setState = function(e, t) {
var r;
r = this.__s != null && this.__s != this.state ? this.__s : this.__s = X({}, this.state), typeof e == "function" && (e = e(X({}, r), this.props)), e && X(r, e), e != null && this.__v && (t && this._sb.push(t), Wt(this));
}, j.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Wt(this));
}, j.prototype.render = T, de = [], pn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, _n = function(e, t) {
return e.__v.__b - t.__v.__b;
}, pt.__r = 0, mn = /(PointerCapture)$|Capture$/i, ir = 0, Bt = Vr(!1), Ut = Vr(!0), gn = 0;
function _t() {
return _t = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var r = arguments[t];
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
}
return e;
}, _t.apply(this, arguments);
}
function En(e, t) {
if (e == null) return {};
var r, n, o = {}, i = Object.keys(e);
for (n = 0; n < i.length; n++) t.indexOf(r = i[n]) >= 0 || (o[r] = e[r]);
return o;
}
var Oo = ["context", "children"], Io = ["useFragment"];
function Mo(e, t, r, n) {
function o() {
var i = Reflect.construct(HTMLElement, [], o);
return i._vdomComponent = e, i._root = i, i;
}
return (o.prototype = Object.create(HTMLElement.prototype)).constructor = o, o.prototype.connectedCallback = function() {
No.call(this, n);
}, o.prototype.attributeChangedCallback = Do, o.prototype.disconnectedCallback = To, r = r || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = r, e.formAssociated && (o.formAssociated = !0), r.forEach(function(i) {
Object.defineProperty(o.prototype, i, { get: function() {
return this._vdom ? this._vdom.props[i] : this._props[i];
}, set: function(a) {
this._vdom ? this.attributeChangedCallback(i, null, a) : (this._props || (this._props = {}), this._props[i] = a);
var c = typeof a;
a != null && c !== "string" && c !== "boolean" && c !== "number" || this.setAttribute(i, a);
} });
}), customElements.define(t, o), o;
}
function Ro(e) {
this.getChildContext = function() {
return e.context;
};
var t = e.children, r = En(e, Oo);
return ur(t, r);
}
function No(e) {
var t = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
this.dispatchEvent(t), this._vdom = D(Ro, _t({}, this._props, { context: t.detail.context }), $n(this, this._vdomComponent, e)), (this.hasAttribute("hydrate") ? lr : ce)(this._vdom, this._root);
}
function kn(e) {
return e.replace(/-(\w)/g, function(t, r) {
return r ? r.toUpperCase() : "";
});
}
function Do(e, t, r) {
if (this._vdom) {
var n = {};
n[e] = r = r ?? void 0, n[kn(e)] = r, this._vdom = ur(this._vdom, n), ce(this._vdom, this._root);
}
}
function To() {
ce(this._vdom = null, this._root);
}
function Er(e, t) {
var r = this, n = e.useFragment, o = En(e, Io);
return D(n ? T : "slot", _t({}, o, { ref: function(i) {
i ? (r.ref = i, r._listener || (r._listener = function(a) {
a.stopPropagation(), a.detail.context = t;
}, i.addEventListener("_preact", r._listener))) : r.ref.removeEventListener("_preact", r._listener);
} }));
}
function $n(e, t, r) {
if (e.nodeType === 3) return e.data;
if (e.nodeType !== 1) return null;
var n = [], o = {}, i = 0, a = e.attributes, c = e.childNodes;
for (i = a.length; i--; ) a[i].name !== "slot" && (o[a[i].name] = a[i].value, o[kn(a[i].name)] = a[i].value);
for (i = c.length; i--; ) {
var d = $n(c[i], null, r), u = c[i].slot;
u ? o[u] = D(Er, { name: u }, d) : n[i] = d;
}
var h = !(!r || !r.shadow), l = t ? D(Er, { useFragment: !h }, n) : n;
return !h && t && (e.innerHTML = ""), D(t || e.nodeName.toLowerCase(), o, l);
}
var Ao = 0;
function s(e, t, r, n, o, i) {
t || (t = {});
var a, c, d = t;
if ("ref" in d) for (c in d = {}, t) c == "ref" ? a = t[c] : d[c] = t[c];
var u = { type: e, props: d, key: r, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Ao, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (a = e.defaultProps)) for (c in a) d[c] === void 0 && (d[c] = a[c]);
return y.vnode && y.vnode(u), u;
}
const kr = {
SWITCH_CAMERA: "switch-camera",
TOGGLE_MIRROR: "toggle-mirror"
};
var pe = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "document-auto-capture:camera-props-changed", e.CONTROL = "document-auto-capture:control", e.DETECTION_CHANGED = "document-auto-capture:detection-changed", e.INSTRUCTION_CHANGED = "document-auto-capture:instruction-changed", e.INSTRUCTION_ESCALATED = "document-auto-capture:instruction-escalated", e.STATE_CHANGED = "document-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "document-auto-capture:video-element-size", e))(pe || {}), xn = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "palm-capture:camera-props-changed", e.CONTROL = "palm-capture:control", e.DETECTION_CHANGED = "palm-capture:detection-changed", e.INSTRUCTION_CHANGED = "palm-capture:instruction-changed", e.STATE_CHANGED = "palm-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "palm-capture:video-element-size", e))(xn || {});
const A = {
CANDIDATE_SELECTION: "candidate_selection",
DOCUMENT_CENTERING: "document_centering",
DOCUMENT_NOT_PRESENT: "document_not_present",
DOCUMENT_TOO_FAR: "document_too_far",
SHARPNESS_TOO_LOW: "sharpness_too_low",
BRIGHTNESS_TOO_LOW: "brightness_too_low",
BRIGHTNESS_TOO_HIGH: "brightness_too_high",
HOTSPOTS_PRESENT: "hotspots_present"
}, P = {
LOADING: "loading",
ERROR: "error",
WAITING: "waiting",
// TODO: this state may not be needed in the new architecture - consider removing on next major release version
RUNNING: "running",
COMPLETE: "complete",
BLURRED: "blurred"
};
var le, O, Mt, $r, Ee = 0, On = [], I = y, xr = I.__b, Or = I.__r, Ir = I.diffed, Mr = I.__c, Rr = I.unmount, Nr = I.__;
function Ie(e, t) {
I.__h && I.__h(O, e, Ee || t), Ee = 0;
var r = O.__H || (O.__H = { __: [], __h: [] });
return e >= r.__.length && r.__.push({}), r.__[e];
}
function z(e) {
return Ee = 1, dr(Rn, e);
}
function dr(e, t, r) {
var n = Ie(le++, 2);
if (n.t = e, !n.__c && (n.__ = [r ? r(t) : Rn(void 0, t), function(c) {
var d = n.__N ? n.__N[0] : n.__[0], u = n.t(d, c);
d !== u && (n.__N = [u, n.__[1]], n.__c.setState({}));
}], n.__c = O, !O.__f)) {
var o = function(c, d, u) {
if (!n.__c.__H) return !0;
var h = n.__c.__H.__.filter(function(p) {
return !!p.__c;
});
if (h.every(function(p) {
return !p.__N;
})) return !i || i.call(this, c, d, u);
var l = n.__c.props !== c;
return h.forEach(function(p) {
if (p.__N) {
var f = p.__[0];
p.__ = p.__N, p.__N = void 0, f !== p.__[0] && (l = !0);
}
}), i && i.call(this, c, d, u) || l;
};
O.__f = !0;
var i = O.shouldComponentUpdate, a = O.componentWillUpdate;
O.componentWillUpdate = function(c, d, u) {
if (this.__e) {
var h = i;
i = void 0, o(c, d, u), i = h;
}
a && a.call(this, c, d, u);
}, O.shouldComponentUpdate = o;
}
return n.__N || n.__;
}
function ne(e, t) {
var r = Ie(le++, 3);
!I.__s && fr(r.__H, t) && (r.__ = e, r.u = t, O.__H.__h.push(r));
}
function Me(e, t) {
var r = Ie(le++, 4);
!I.__s && fr(r.__H, t) && (r.__ = e, r.u = t, O.__h.push(r));
}
function Xe(e) {
return Ee = 5, re(function() {
return { current: e };
}, []);
}
function In(e, t, r) {
Ee = 6, Me(function() {
if (typeof e == "function") {
var n = e(t());
return function() {
e(null), n && typeof n == "function" && n();
};
}
if (e) return e.current = t(), function() {
return e.current = null;
};
}, r == null ? r : r.concat(e));
}
function re(e, t) {
var r = Ie(le++, 7);
return fr(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
}
function _e(e, t) {
return Ee = 8, re(function() {
return e;
}, t);
}
function Ke(e) {
var t = O.context[e.__c], r = Ie(le++, 9);
return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub(O)), t.props.value) : e.__;
}
function mt(e, t) {
I.useDebugValue && I.useDebugValue(t ? t(e) : e);
}
function Mn() {
var e = Ie(le++, 11);
if (!e.__) {
for (var t = O.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
var r = t.__m || (t.__m = [0, 0]);
e.__ = "P" + r[0] + "-" + r[1]++;
}
return e.__;
}
function Po() {
for (var e; e = On.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(at), e.__H.__h.forEach(zt), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], I.__e(t, e.__v);
}
}
I.__b = function(e) {
O = null, xr && xr(e);
}, I.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Nr && Nr(e, t);
}, I.__r = function(e) {
Or && Or(e), le = 0;
var t = (O = e.__c).__H;
t && (Mt === O ? (t.__h = [], O.__h = [], t.__.forEach(function(r) {
r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
})) : (t.__h.forEach(at), t.__h.forEach(zt), t.__h = [], le = 0)), Mt = O;
}, I.diffed = function(e) {
Ir && Ir(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (On.push(t) !== 1 && $r === I.requestAnimationFrame || (($r = I.requestAnimationFrame) || Ho)(Po)), t.__H.__.forEach(function(r) {
r.u && (r.__H = r.u), r.u = void 0;
})), Mt = O = null;
}, I.__c = function(e, t) {
t.some(function(r) {
try {
r.__h.forEach(at), r.__h = r.__h.filter(function(n) {
return !n.__ || zt(n);
});
} catch (n) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], I.__e(n, r.__v);
}
}), Mr && Mr(e, t);
}, I.unmount = function(e) {
Rr && Rr(e);
var t, r = e.__c;
r && r.__H && (r.__H.__.forEach(function(n) {
try {
at(n);
} catch (o) {
t = o;
}
}), r.__H = void 0, t && I.__e(t, r.__v));
};
var Dr = typeof requestAnimationFrame == "function";
function Ho(e) {
var t, r = function() {
clearTimeout(n), Dr && cancelAnimationFrame(t), setTimeout(e);
}, n = setTimeout(r, 35);
Dr && (t = requestAnimationFrame(r));
}
function at(e) {
var t = O, r = e.__c;
typeof r == "function" && (e.__c = void 0, r()), O = t;
}
function zt(e) {
var t = O;
e.__c = e.__(), O = t;
}
function fr(e, t) {
return !e || e.length !== t.length || t.some(function(r, n) {
return r !== e[n];
});
}
function Rn(e, t) {
return typeof t == "function" ? t(e) : t;
}
var N = function() {
return N = Object.assign || function(t) {
for (var r, n = 1, o = arguments.length; n < o; n++) {
r = arguments[n];
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
}
return t;
}, N.apply(this, arguments);
};
function Le(e, t, r) {
if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
return e.concat(i || Array.prototype.slice.call(t));
}
function Zo(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var Bo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Uo = /* @__PURE__ */ Zo(
function(e) {
return Bo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
);
function Nn(e, t) {
for (var r in t) e[r] = t[r];
return e;
}
function Gt(e, t) {
for (var r in e) if (r !== "__source" && !(r in t)) return !0;
for (var n in t) if (n !== "__source" && e[n] !== t[n]) return !0;
return !1;
}
function Dn(e, t) {
var r = t(), n = z({ t: { __: r, u: t } }), o = n[0].t, i = n[1];
return Me(function() {
o.__ = r, o.u = t, Rt(o) && i({ t: o });
}, [e, r, t]), ne(function() {
return Rt(o) && i({ t: o }), e(function() {
Rt(o) && i({ t: o });
});
}, [e]), r;
}
function Rt(e) {
var t, r, n = e.u, o = e.__;
try {
var i = n();
return !((t = o) === (r = i) && (t !== 0 || 1 / t == 1 / r) || t != t && r != r);
} catch {
return !0;
}
}
function Tn(e) {
e();
}
function An(e) {
return e;
}
function Pn() {
return [!1, Tn];
}
var Hn = Me;
function jt(e, t) {
this.props = e, this.context = t;
}
function Wo(e, t) {
function r(o) {
var i = this.props.ref, a = i == o.ref;
return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Gt(this.props, o);
}
function n(o) {
return this.shouldComponentUpdate = r, D(e, o);
}
return n.displayName = "Memo(" + (e.displayName || e.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n.type = e, n;
}
(jt.prototype = new j()).isPureReactComponent = !0, jt.prototype.shouldComponentUpdate = function(e, t) {
return Gt(this.props, e) || Gt(this.state, t);
};
var Tr = y.__b;
y.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Tr && Tr(e);
};
var Fo = typeof Symbol < "u" && Symbol.for && /* @__PURE__ */ Symbol.for("react.forward_ref") || 3911;
function zo(e) {
function t(r) {
var n = Nn({}, r);
return delete n.ref, e(n, r.ref || null);
}
return t.$$typeof = Fo, t.render = e, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Ar = function(e, t) {
return e == null ? null : te(te(e).map(t));
}, Go = { map: Ar, forEach: Ar, count: function(e) {
return e ? te(e).length : 0;
}, only: function(e) {
var t = te(e);
if (t.length !== 1) throw "Children.only";
return t[0];
}, toArray: te }, jo = y.__e;
y.__e = function(e, t, r, n) {
if (e.then) {
for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = r.__e, t.__k = r.__k), o.__c(e, t);
}
jo(e, t, r, n);
};
var Pr = y.unmount;
function Zn(e, t, r) {
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(n) {
typeof n.__c == "function" && n.__c();
}), e.__c.__H = null), (e = Nn({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(n) {
return Zn(n, t, r);
})), e;
}
function Bn(e, t, r) {
return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(n) {
return Bn(n, t, r);
}), e.__c && e.__c.__P === t && (e.__e && r.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = r)), e;
}
function st() {
this.__u = 0, this.o = null, this.__b = null;
}
function Un(e) {
var t = e.__.__c;
return t && t.__a && t.__a(e);
}
function qo(e) {
var t, r, n, o = null;
function i(a) {
if (t || (t = e()).then(function(c) {
c && (o = c.default || c), n = !0;
}, function(c) {
r = c, n = !0;
}), r) throw r;
if (!n) throw t;
return o ? D(o, a) : null;
}
return i.displayName = "Lazy", i.__f = !0, i;
}
function He() {
this.i = null, this.l = null;
}
y.unmount = function(e) {
var t = e.__c;
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Pr && Pr(e);
}, (st.prototype = new j()).__c = function(e, t) {
var r = t.__c, n = this;
n.o == null && (n.o = []), n.o.push(r);
var o = Un(n.__v), i = !1, a = function() {
i || (i = !0, r.__R = null, o ? o(c) : c());
};
r.__R = a;
var c = function() {
if (!--n.__u) {
if (n.state.__a) {
var d = n.state.__a;
n.__v.__k[0] = Bn(d, d.__c.__P, d.__c.__O);
}
var u;
for (n.setState({ __a: n.__b = null }); u = n.o.pop(); ) u.forceUpdate();
}
};
n.__u++ || 32 & t.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(a, a);
}, st.prototype.componentWillUnmount = function() {
this.o = [];
}, st.prototype.render = function(e, t) {
if (this.__b) {
if (this.__v.__k) {
var r = document.createElement("div"), n = this.__v.__k[0].__c;
this.__v.__k[0] = Zn(this.__b, r, n.__O = n.__P);
}
this.__b = null;
}
var o = t.__a && D(T, null, e.fallback);
return o && (o.__u &= -33), [D(T, null, t.__a ? null : e.children), o];
};
var Hr = function(e, t, r) {
if (++r[1] === r[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (r = e.i; r; ) {
for (; r.length > 3; ) r.pop()();
if (r[1] < r[0]) break;
e.i = r = r[2];
}
};
function Yo(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function Xo(e) {
var t = this, r = e.h;
if (t.componentWillUnmount = function() {
ce(null, t.v), t.v = null, t.h = null;
}, t.h && t.h !== r && t.componentWillUnmount(), !t.v) {
for (var n = t.__v; n !== null && !n.__m && n.__ !== null; ) n = n.__;
t.h = r, t.v = { nodeType: 1, parentNode: r, childNodes: [], __k: { __m: n.__m }, contains: function() {
return !0;
}, insertBefore: function(o, i) {
this.childNodes.push(o), t.h.insertBefore(o, i);
}, removeChild: function(o) {
this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.h.removeChild(o);
} };
}
ce(D(Yo, { context: t.context }, e.__v), t.v);
}
function Ko(e, t) {
var r = D(Xo, { __v: e, h: t });
return r.containerInfo = t, r;
}
(He.prototype = new j()).__a = function(e) {
var t = this, r = Un(t.__v), n = t.l.get(e);
return n[0]++, function(o) {
var i = function() {
t.props.revealOrder ? (n.push(o), Hr(t, e, n)) : o();
};
r ? r(i) : i();
};
}, He.prototype.render = function(e) {
this.i = null, this.l = /* @__PURE__ */ new Map();
var t = te(e.children);
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
for (var r = t.length; r--; ) this.l.set(t[r], this.i = [1, 0, this.i]);
return e.children;
}, He.prototype.componentDidUpdate = He.prototype.componentDidMount = function() {
var e = this;
this.l.forEach(function(t, r) {
Hr(e, r, t);
});
};
var Wn = typeof Symbol < "u" && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, Jo = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|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]/, Qo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, ei = /[A-Z0-9]/g, ti = typeof document < "u", ri = function(e) {
return (typeof Symbol < "u" && typeof /* @__PURE__ */ Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
};
function ni(e, t, r) {
return t.__k == null && (t.textContent = ""), ce(e, t), typeof r == "function" && r(), e ? e.__c : null;
}
function oi(e, t, r) {
return lr(e, t), typeof r == "function" && r(), e ? e.__c : null;
}
j.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
Object.defineProperty(j.prototype, e, { configurable: !0, get: function() {
return this["UNSAFE_" + e];
}, set: function(t) {
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
} });
});
var Zr = y.event;
function ii() {
}
function ai() {
return this.cancelBubble;
}
function si() {
return this.defaultPrevented;
}
y.event = function(e) {
return Zr && (e = Zr(e)), e.persist = ii, e.isPropagationStopped = ai, e.isDefaultPrevented = si, e.nativeEvent = e;
};
var hr, ci = { enumerable: !1, configurable: !0, get: function() {
return this.class;
} }, Br = y.vnode;
y.vnode = function(e) {
typeof e.type == "string" && (function(t) {
var r = t.props, n = t.type, o = {}, i = n.indexOf("-") === -1;
for (var a in r) {
var c = r[a];
if (!(a === "value" && "defaultValue" in r && c == null || ti && a === "children" && n === "noscript" || a === "class" || a === "className")) {
var d = a.toLowerCase();
a === "defaultValue" && "value" in r && r.value == null ? a = "value" : a === "download" && c === !0 ? c = "" : d === "translate" && c === "no" ? c = !1 : d[0] === "o" && d[1] === "n" ? d === "ondoubleclick" ? a = "ondblclick" : d !== "onchange" || n !== "input" && n !== "textarea" || ri(r.type) ? d === "onfocus" ? a = "onfocusin" : d === "onblur" ? a = "onfocusout" : Qo.test(a) && (a = d) : d = a = "oninput" : i && Jo.test(a) ? a = a.replace(ei, "-$&").toLowerCase() : c === null && (c = void 0), d === "oninput" && o[a = d] && (a = "oninputCapture"), o[a] = c;
}
}
n == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(r.children).forEach(function(u) {
u.props.selected = o.value.indexOf(u.props.value) != -1;
})), n == "select" && o.defaultValue != null && (o.value = te(r.children).forEach(function(u) {
u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
})), r.class && !r.className ? (o.class = r.class, Object.defineProperty(o, "className", ci)) : (r.className && !r.class || r.class && r.className) && (o.class = o.className = r.className), t.props = o;
})(e), e.$$typeof = Wn, Br && Br(e);
};
var Ur = y.__r;
y.__r = function(e) {
Ur && Ur(e), hr = e.__c;
};
var Wr = y.diffed;
y.diffed = function(e) {
Wr && Wr(e);
var t = e.props, r = e.__e;
r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value), hr = null;
};
var li = { ReactCurrentDispatcher: { current: { readContext: function(e) {
return hr.__n[e.__c].props.value;
}, useCallback: _e, useContext: Ke, useDebugValue: mt, useDeferredValue: An, useEffect: ne, useId: Mn, useImperativeHandle: In, useInsertionEffect: Hn, useLayoutEffect: Me, useMemo: re, useReducer: dr, useRef: Xe, useState: z, useSyncExternalStore: Dn, useTransition: Pn } } };
function ui(e) {
return D.bind(null, e);
}
function vt(e) {
return !!e && e.$$typeof === Wn;
}
function di(e) {
return vt(e) && e.type === T;
}
function fi(e) {
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
}
function hi(e) {
return vt(e) ? ur.apply(null, arguments) : e;
}
function pi(e) {
return !!e.__k && (ce(null, e), !0);
}
function _i(e) {
return e && (e.base || e.nodeType === 1 && e) || null;
}
var mi = function(e, t) {
return e(t);
}, gi = function(e, t) {
return e(t);
}, Li = T, yi = vt, oe = { useState: z, useId: Mn, useReducer: dr, useEffect: ne, useLayoutEffect: Me, useInsertionEffect: Hn, useTransition: Pn, useDeferredValue: An, useSyncExternalStore: Dn, startTransition: Tn, useRef: Xe, useImperativeHandle: In, useMemo: re, useCallback: _e, useContext: Ke, useDebugValue: mt, version: "18.3.1", Children: Go, render: ni, hydrate: oi, unmountComponentAtNode: pi, createPortal: Ko, createElement: D, createContext: Vn, createFactory: ui, cloneElement: hi, createRef: Vo, Fragment: T, isValidElement: vt, isElement: yi, isFragment: di, isMemo: fi, findDOMNode: _i, Component: j, PureComponent: jt, memo: Wo, forwardRef: zo, flushSync: gi, unstable_batchedUpdates: mi, StrictMode: Li, Suspense: st, SuspenseList: He, lazy: qo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: li };
function vi(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Nt, Fr;
function Ci() {
return Fr || (Fr = 1, Nt = function(t, r, n, o) {
var i = n ? n.call(o, t, r) : void 0;
if (i !== void 0)
return !!i;
if (t === r)
return !0;
if (typeof t != "object" || !t || typeof r != "object" || !r)
return !1;
var a = Object.keys(t), c = Object.keys(r);
if (a.length !== c.length)
return !1;
for (var d = Object.prototype.hasOwnProperty.bind(r), u = 0; u < a.length; u++) {
var h = a[u];
if (!d(h))
return !1;
var l = t[h], p = r[h];
if (i = n ? n.call(o, l, p, h) : void 0, i === !1 || i === void 0 && l !== p)
return !1;
}
return !0;
}), Nt;
}
var wi = Ci();
const Si = /* @__PURE__ */ vi(wi);
var x = "-ms-", Fe = "-moz-", k = "-webkit-", Fn = "comm", Ct = "rule", pr = "decl", bi = "@import", zn = "@keyframes", Vi = "@layer", Gn = Math.abs, _r = String.fromCharCode, qt = Object.assign;
function Ei(e, t) {
return R(e, 0) ^ 45 ? (((t << 2 ^ R(e, 0)) << 2 ^ R(e, 1)) << 2 ^ R(e, 2)) << 2 ^ R(e, 3) : 0;
}
function jn(e) {
return e.trim();
}
function Q(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function v(e, t, r) {
return e.replace(t, r);
}
function ct(e, t, r) {
return e.indexOf(t, r);
}
function R(e, t) {
return e.charCodeAt(t) | 0;
}
function ke(e, t, r) {
return e.slice(t, r);
}
function Y(e) {
return e.length;
}
function qn(e) {
return e.length;
}
function Ze(e, t) {
return t.push(e), e;
}
function ki(e, t) {
return e.map(t).join("");
}
function zr(e, t) {
return e.filter(function(r) {
return !Q(r, t);
});
}
var wt = 1, $e = 1, Yn = 0, G = 0, M = 0, Re = "";
function St(e, t, r, n, o, i, a, c) {
return { value: e, root: t, parent: r, type: n, props: o, children: i, line: wt, column: $e, length: a, return: "", siblings: c };
}
function se(e, t) {
return qt(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Se(e) {
for (; e.root; )
e = se(e.root, { children: [e] });
Ze(e, e.siblings);
}
function $i() {
return M;
}
function xi() {
return M = G > 0 ? R(Re, --G) : 0, $e--, M === 10 && ($e = 1, wt--), M;
}
function q() {
return M = G < Yn ? R(Re, G++) : 0, $e++, M === 10 && ($e = 1, wt++), M;
}
function me() {
return R(Re, G);
}
function lt() {
return G;
}
function bt(e, t) {
return ke(Re, e, t);
}
function Yt(e) {
switch (e) {
// \0 \t \n \r \s whitespace token
case 0:
case 9:
case 10:
case 13:
case 32:
return 5;
// ! + , / > @ ~ isolate token
case 33:
case 43:
case 44:
case 47:
case 62:
case 64:
case 126:
// ; { } breakpoint token
case 59:
case 123:
case 125:
return 4;
// : accompanied token
case 58:
return 3;
// " ' ( [ opening delimit token
case 34:
case 39:
case 40:
case 91:
return 2;
// ) ] closing delimit token
case 41:
case 93:
return 1;
}
return 0;
}
function Oi(e) {
return wt = $e = 1, Yn = Y(Re = e), G = 0, [];
}
function Ii(e) {
return Re = "", e;
}
function Dt(e) {
return jn(bt(G - 1, Xt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function Mi(e) {
for (; (M = me()) && M < 33; )
q();
return Yt(e) > 2 || Yt(M) > 3 ? "" : " ";
}
function Ri(e, t) {
for (; --t && q() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97); )
;
return bt(e, lt() + (t < 6 && me() == 32 && q() == 32));
}
function Xt(e) {
for (; q(); )
switch (M) {
// ] ) " '
case e:
return G;
// " '
case 34:
case 39:
e !== 34 && e !== 39 && Xt(M);
break;
// (
case 40:
e === 41 && Xt(e);
break;
// \
case 92:
q();
break;
}
return G;
}
function Ni(e, t) {
for (; q() && e + M !== 57; )
if (e + M === 84 && me() === 47)
break;
return "/*" + bt(t, G - 1) + "*" + _r(e === 47 ? e : q());
}
function Di(e) {
for (; !Yt(me()); )
q();
return bt(e, G);
}
function Ti(e) {
return Ii(ut("", null, null, null, [""], e = Oi(e), 0, [0], e));
}
function ut(e, t, r, n, o, i, a, c, d) {
for (var u = 0, h = 0, l = a, p = 0, f = 0, _ = 0, w = 1, S = 1, m = 1, g = 0, b = "", E = o, $ = i, C = n, L = b; S; )
switch (_ = g, g = q()) {
// (
case 40:
if (_ != 108 && R(L, l - 1) == 58) {
ct(L += v(Dt(g), "&", "&\f"), "&\f", Gn(u ? c[u - 1] : 0)) != -1 && (m = -1);
break;
}
// " ' [
case 34:
case 39:
case 91:
L += Dt(g);
break;
// \t \n \r \s
case 9:
case 10:
case 13:
case 32:
L += Mi(_);
break;
// \
case 92:
L += Ri(lt() - 1, 7);
continue;
// /
case 47:
switch (me()) {
case 42:
case 47:
Ze(Ai(Ni(q(), lt()), t, r, d), d);
break;
default:
L += "/";
}
break;
// {
case 123 * w:
c[u++] = Y(L) * m;
// } ; \0
case 125 * w:
case 59:
case 0:
switch (g) {
// \0 }
case 0:
case 125:
S = 0;
// ;
case 59 + h:
m == -1 && (L = v(L, /\f/g, "")), f > 0 && Y(L) - l && Ze(f > 32 ? jr(L + ";", n, r, l - 1, d) : jr(v(L, " ", "") + ";", n, r, l - 2, d), d);
break;
// @ ;
case 59:
L += ";";
// { rule/at-rule
default:
if (Ze(C = Gr(L, t, r, u, h, o, c, b, E = [], $ = [], l, i), i), g === 123)
if (h === 0)
ut(L, t, C, C, E, i, l, c, $);
else
switch (p === 99 && R(L, 3) === 110 ? 100 : p) {
// d l m s
case 100:
case 108:
case 109:
case 115:
ut(e, C, C, n && Ze(Gr(e, C, C, 0, 0, o, c, b, o, E = [], l, $), $), o, $, l, c, n ? E : $);
break;
default:
ut(L, C, C, C, [""], $, 0, c, $);
}
}
u = h = f = 0, w = m = 1, b = L = "", l = a;
break;
// :
case 58:
l = 1 + Y(L), f = _;
default:
if (w < 1) {
if (g == 123)
--w;
else if (g == 125 && w++ == 0 && xi() == 125)
continue;
}
switch (L += _r(g), g * w) {
// &
case 38:
m = h > 0 ? 1 : (L += "\f", -1);
break;
// ,
case 44:
c[u++] = (Y(L) - 1) * m, m = 1;
break;
// @
case 64:
me() === 45 && (L += Dt(q())), p = me(), h = l = Y(b = L += Di(lt())), g++;
break;
// -
case 45:
_ === 45 && Y(L) == 2 && (w = 0);
}
}
return i;
}
function Gr(e, t, r, n, o, i, a, c, d, u, h, l) {
for (var p = o - 1, f = o === 0 ? i : [""], _ = qn(f), w = 0, S = 0, m = 0; w < n; ++w)
for (var g = 0, b = ke(e, p + 1, p = Gn(S = a[w])), E = e; g < _; ++g)
(E = jn(S > 0 ? f[g] + " " + b : v(b, /&\f/g, f[g]))) && (d[m++] = E);
return St(e, t, r, o === 0 ? Ct : c, d, u, h, l);
}
function Ai(e, t, r, n) {
return St(e, t, r, Fn, _r($i()), ke(e, 2, -2), 0, n);
}
function jr(e, t, r, n, o) {
return St(e, t, r, pr, ke(e, 0, n), ke(e, n + 1, -1), n, o);
}
function Xn(e, t, r) {
switch (Ei(e, t)) {
// color-adjust
case 5103:
return k + "print-" + e + e;
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
case 5737:
case 4201:
case 3177:
case 3433:
case 1641:
case 4457:
case 2921:
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
case 5572:
case 6356:
case 5844:
case 3191:
case 6645:
case 3005:
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
case 6391:
case 5879:
case 5623:
case 6135:
case 4599:
case 4855:
// background-clip, columns, column-(count|fill|gap