@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
1,225 lines • 126 kB
JavaScript
var Co = Object.defineProperty;
var wo = (e, t, n) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
var et = (e, t, n) => wo(e, typeof t != "symbol" ? t + "" : t, n);
var qe, v, ur, fe, En, fr, dr, hr, rn, Ht, Ft, _r, je = {}, pr = [], So = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ze = Array.isArray;
function X(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function on(e) {
e && e.parentNode && e.parentNode.removeChild(e);
}
function M(e, t, n) {
var r, o, i, a = {};
for (i in t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : a[i] = t[i];
if (arguments.length > 2 && (a.children = arguments.length > 3 ? qe.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) a[i] == null && (a[i] = e.defaultProps[i]);
return Be(e, a, r, o, null);
}
function Be(e, t, n, r, o) {
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++ur, __i: -1, __u: 0 };
return o == null && v.vnode != null && v.vnode(i), i;
}
function Eo() {
return { current: null };
}
function j(e) {
return e.children;
}
function V(e, t) {
this.props = e, this.context = t;
}
function be(e, t) {
if (t == null) return e.__ ? be(e.__, e.__i + 1) : null;
for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
return typeof e.type == "function" ? be(e) : null;
}
function mr(e) {
var t, n;
if ((e = e.__) != null && e.__c != null) {
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
e.__e = e.__c.base = n.__e;
break;
}
return mr(e);
}
}
function Ut(e) {
(!e.__d && (e.__d = !0) && fe.push(e) && !ht.__r++ || En != v.debounceRendering) && ((En = v.debounceRendering) || fr)(ht);
}
function ht() {
for (var e, t, n, r, o, i, a, c = 1; fe.length; ) fe.length > c && fe.sort(dr), e = fe.shift(), c = fe.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], a = [], t.__P && ((n = X({}, r)).__v = r.__v + 1, v.vnode && v.vnode(n), an(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? be(r), !!(32 & r.__u), a), n.__v = r.__v, n.__.__k[n.__i] = n, vr(i, n, a), n.__e != o && mr(n)));
ht.__r = 0;
}
function gr(e, t, n, r, o, i, a, c, s, u, d) {
var l, _, h, g, S, $, m = r && r.__k || pr, p = t.length;
for (s = bo(n, t, m, s, p), l = 0; l < p; l++) (h = n.__k[l]) != null && (_ = h.__i == -1 ? je : m[h.__i] || je, h.__i = l, $ = an(e, h, _, o, i, a, c, s, u, d), g = h.__e, h.ref && _.ref != h.ref && (_.ref && sn(_.ref, null, h), d.push(h.ref, h.__c || g, h)), S == null && g != null && (S = g), 4 & h.__u || _.__k === h.__k ? s = yr(h, s, e) : typeof h.type == "function" && $ !== void 0 ? s = $ : g && (s = g.nextSibling), h.__u &= -7);
return n.__e = S, s;
}
function bo(e, t, n, r, o) {
var i, a, c, s, u, d = n.length, l = d, _ = 0;
for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (s = i + _, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Be(null, a, null, null, null) : Ze(a) ? Be(j, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? Be(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, c = null, (u = a.__i = $o(a, n, s, l)) != -1 && (l--, (c = n[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > d ? _-- : o < d && _++), typeof a.type != "function" && (a.__u |= 4)) : u != s && (u == s - 1 ? _-- : u == s + 1 ? _++ : (u > s ? _-- : _++, a.__u |= 4))) : e.__k[i] = null;
if (l) for (i = 0; i < d; i++) (c = n[i]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = be(c)), wr(c, c));
return r;
}
function yr(e, t, n) {
var r, o;
if (typeof e.type == "function") {
for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = yr(r[o], t, n));
return t;
}
e.__e != t && (t && e.type && !n.contains(t) && (t = be(e)), n.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" || (Ze(e) ? e.some(function(n) {
te(n, t);
}) : t.push(e)), t;
}
function $o(e, t, n, r) {
var o, i, a = e.key, c = e.type, s = t[n];
if (s === null && e.key == null || s && a == s.key && c == s.type && (2 & s.__u) == 0) return n;
if (r > (s != null && (2 & s.__u) == 0 ? 1 : 0)) for (o = n - 1, i = n + 1; o >= 0 || i < t.length; ) {
if (o >= 0) {
if ((s = t[o]) && (2 & s.__u) == 0 && a == s.key && c == s.type) return o;
o--;
}
if (i < t.length) {
if ((s = t[i]) && (2 & s.__u) == 0 && a == s.key && c == s.type) return i;
i++;
}
}
return -1;
}
function bn(e, t, n) {
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || So.test(t) ? n : n + "px";
}
function tt(e, t, n, r, o) {
var i;
e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
else {
if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || bn(e.style, t, "");
if (n) for (t in n) r && n[t] == r[t] || bn(e.style, t, n[t]);
}
else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(hr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = rn, e.addEventListener(t, i ? Ft : Ht, i)) : e.removeEventListener(t, i ? Ft : Ht, 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] = n ?? "";
break e;
} catch {
}
typeof n == "function" || (n == null || n === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
}
}
function $n(e) {
return function(t) {
if (this.l) {
var n = this.l[t.type + e];
if (t.t == null) t.t = rn++;
else if (t.t < n.u) return;
return n(v.event ? v.event(t) : t);
}
};
}
function an(e, t, n, r, o, i, a, c, s, u) {
var d, l, _, h, g, S, $, m, p, k, E, N, w, y, H, U, Ae, B = t.type;
if (t.constructor != null) return null;
128 & n.__u && (s = !!(32 & n.__u), i = [c = t.__e = n.__e]), (d = v.__b) && d(t);
e: if (typeof B == "function") try {
if (m = t.props, p = "prototype" in B && B.prototype.render, k = (d = B.contextType) && r[d.__c], E = d ? k ? k.props.value : d.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (p ? t.__c = l = new B(m, E) : (t.__c = l = new V(m, E), l.constructor = B, l.render = Oo), k && k.sub(l), l.props = m, l.state || (l.state = {}), l.context = E, l.__n = r, _ = l.__d = !0, l.__h = [], l._sb = []), p && l.__s == null && (l.__s = l.state), p && B.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = X({}, l.__s)), X(l.__s, B.getDerivedStateFromProps(m, l.__s))), h = l.props, g = l.state, l.__v = t, _) p && B.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), p && l.componentDidMount != null && l.__h.push(l.componentDidMount);
else {
if (p && B.getDerivedStateFromProps == null && m !== h && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, E), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, E) === !1 || t.__v == n.__v) {
for (t.__v != n.__v && (l.props = m, l.state = l.__s, l.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(le) {
le && (le.__ = t);
}), N = 0; N < l._sb.length; N++) l.__h.push(l._sb[N]);
l._sb = [], l.__h.length && a.push(l);
break e;
}
l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, E), p && l.componentDidUpdate != null && l.__h.push(function() {
l.componentDidUpdate(h, g, S);
});
}
if (l.context = E, l.props = m, l.__P = e, l.__e = !1, w = v.__r, y = 0, p) {
for (l.state = l.__s, l.__d = !1, w && w(t), d = 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, w && w(t), d = l.render(l.props, l.state, l.context), l.state = l.__s;
while (l.__d && ++y < 25);
l.state = l.__s, l.getChildContext != null && (r = X(X({}, r), l.getChildContext())), p && !_ && l.getSnapshotBeforeUpdate != null && (S = l.getSnapshotBeforeUpdate(h, g)), U = d, d != null && d.type === j && d.key == null && (U = Cr(d.props.children)), c = gr(e, Ze(U) ? U : [U], t, n, r, o, i, a, c, s, u), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), $ && (l.__E = l.__ = null);
} catch (le) {
if (t.__v = null, s || i != null) if (le.then) {
for (t.__u |= s ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
i[i.indexOf(c)] = null, t.__e = c;
} else for (Ae = i.length; Ae--; ) on(i[Ae]);
else t.__e = n.__e, t.__k = n.__k;
v.__e(le, t, n);
}
else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = ko(n.__e, t, n, r, o, i, a, s, u);
return (d = v.diffed) && d(t), 128 & t.__u ? void 0 : c;
}
function vr(e, t, n) {
for (var r = 0; r < n.length; r++) sn(n[r], n[++r], n[++r]);
v.__c && v.__c(t, e), e.some(function(o) {
try {
e = o.__h, o.__h = [], e.some(function(i) {
i.call(o);
});
} catch (i) {
v.__e(i, o.__v);
}
});
}
function Cr(e) {
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ze(e) ? e.map(Cr) : X({}, e);
}
function ko(e, t, n, r, o, i, a, c, s) {
var u, d, l, _, h, g, S, $ = n.props, m = t.props, p = t.type;
if (p == "svg" ? o = "http://www.w3.org/2000/svg" : p == "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 ((h = i[u]) && "setAttribute" in h == !!p && (p ? h.localName == p : h.nodeType == 3)) {
e = h, i[u] = null;
break;
}
}
if (e == null) {
if (p == null) return document.createTextNode(m);
e = document.createElementNS(o, p, m.is && m), c && (v.__m && v.__m(t, i), c = !1), i = null;
}
if (p == null) $ === m || c && e.data == m || (e.data = m);
else {
if (i = i && qe.call(e.childNodes), $ = n.props || je, !c && i != null) for ($ = {}, u = 0; u < e.attributes.length; u++) $[(h = e.attributes[u]).name] = h.value;
for (u in $) if (h = $[u], u != "children") {
if (u == "dangerouslySetInnerHTML") l = h;
else if (!(u in m)) {
if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
tt(e, u, null, h, o);
}
}
for (u in m) h = m[u], u == "children" ? _ = h : u == "dangerouslySetInnerHTML" ? d = h : u == "value" ? g = h : u == "checked" ? S = h : c && typeof h != "function" || $[u] === h || tt(e, u, h, $[u], o);
if (d) c || l && (d.__html == l.__html || d.__html == e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
else if (l && (e.innerHTML = ""), gr(t.type == "template" ? e.content : e, Ze(_) ? _ : [_], t, n, r, p == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), c, s), i != null) for (u = i.length; u--; ) on(i[u]);
c || (u = "value", p == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || p == "progress" && !g || p == "option" && g != $[u]) && tt(e, u, g, $[u], o), u = "checked", S != null && S != e[u] && tt(e, u, S, $[u], o));
}
return e;
}
function sn(e, t, n) {
try {
if (typeof e == "function") {
var r = typeof e.__u == "function";
r && e.__u(), r && t == null || (e.__u = e(t));
} else e.current = t;
} catch (o) {
v.__e(o, n);
}
}
function wr(e, t, n) {
var r, o;
if (v.unmount && v.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || sn(r, null, t)), (r = e.__c) != null) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (i) {
v.__e(i, t);
}
r.base = r.__P = null;
}
if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && wr(r[o], t, n || typeof e.type != "function");
n || on(e.__e), e.__c = e.__ = e.__e = void 0;
}
function Oo(e, t, n) {
return this.constructor(e, n);
}
function se(e, t, n) {
var r, o, i, a;
t == document && (t = document.documentElement), v.__ && v.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], an(t, e = (!r && n || t).__k = M(j, null, [e]), o || je, je, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? qe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), vr(i, e, a);
}
function cn(e, t) {
se(e, t, cn);
}
function ln(e, t, n) {
var r, o, i, a, c = X({}, e.props);
for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : c[i] = t[i] == null && a != null ? a[i] : t[i];
return arguments.length > 2 && (c.children = arguments.length > 3 ? qe.call(arguments, 2) : n), Be(e.type, c, r || e.key, o || e.ref, null);
}
function Sr(e) {
function t(n) {
var r, o;
return this.getChildContext || (r = /* @__PURE__ */ new Set(), (o = {})[t.__c] = this, this.getChildContext = function() {
return o;
}, this.componentWillUnmount = function() {
r = null;
}, this.shouldComponentUpdate = function(i) {
this.props.value != i.value && r.forEach(function(a) {
a.__e = !0, Ut(a);
});
}, this.sub = function(i) {
r.add(i);
var a = i.componentWillUnmount;
i.componentWillUnmount = function() {
r && r.delete(i), a && a.call(i);
};
}), n.children;
}
return t.__c = "__cC" + _r++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
return n.children(r);
}).contextType = t, t;
}
qe = pr.slice, v = { __e: function(e, t, n, r) {
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, r || {}), a = o.__d), a) return o.__E = o;
} catch (c) {
e = c;
}
throw e;
} }, ur = 0, V.prototype.setState = function(e, t) {
var n;
n = this.__s != null && this.__s != this.state ? this.__s : this.__s = X({}, this.state), typeof e == "function" && (e = e(X({}, n), this.props)), e && X(n, e), e != null && this.__v && (t && this._sb.push(t), Ut(this));
}, V.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Ut(this));
}, V.prototype.render = j, fe = [], fr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, dr = function(e, t) {
return e.__v.__b - t.__v.__b;
}, ht.__r = 0, hr = /(PointerCapture)$|Capture$/i, rn = 0, Ht = $n(!1), Ft = $n(!0), _r = 0;
function un() {
return (un = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
}).apply(this, arguments);
}
var No = ["context", "children"];
function xo(e) {
this.getChildContext = function() {
return e.context;
};
var t = e.children, n = function(r, o) {
if (r == null) return {};
var i, a, c = {}, s = Object.keys(r);
for (a = 0; a < s.length; a++) o.indexOf(i = s[a]) >= 0 || (c[i] = r[i]);
return c;
}(e, No);
return ln(t, n);
}
function Io() {
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
this.dispatchEvent(e), this._vdom = M(xo, un({}, this._props, { context: e.detail.context }), function t(n, r) {
if (n.nodeType === 3) return n.data;
if (n.nodeType !== 1) return null;
var o = [], i = {}, a = 0, c = n.attributes, s = n.childNodes;
for (a = c.length; a--; ) c[a].name !== "slot" && (i[c[a].name] = c[a].value, i[Er(c[a].name)] = c[a].value);
for (a = s.length; a--; ) {
var u = t(s[a], null), d = s[a].slot;
d ? i[d] = M(kn, { name: d }, u) : o[a] = u;
}
var l = r ? M(kn, null, o) : o;
return M(r || n.nodeName.toLowerCase(), i, l);
}(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? cn : se)(this._vdom, this._root);
}
function Er(e) {
return e.replace(/-(\w)/g, function(t, n) {
return n ? n.toUpperCase() : "";
});
}
function To(e, t, n) {
if (this._vdom) {
var r = {};
r[e] = n = n ?? void 0, r[Er(e)] = n, this._vdom = ln(this._vdom, r), se(this._vdom, this._root);
}
}
function Ro() {
se(this._vdom = null, this._root);
}
function kn(e, t) {
var n = this;
return M("slot", un({}, e, { ref: function(r) {
r ? (n.ref = r, n._listener || (n._listener = function(o) {
o.stopPropagation(), o.detail.context = t;
}, r.addEventListener("_preact", n._listener))) : n.ref.removeEventListener("_preact", n._listener);
} }));
}
function Ao(e, t, n, r) {
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 = Io, o.prototype.attributeChangedCallback = To, o.prototype.disconnectedCallback = Ro, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = n, n.forEach(function(i) {
Object.defineProperty(o.prototype, i, { get: function() {
return this._vdom.props[i];
}, set: function(a) {
this._vdom ? this.attributeChangedCallback(i, null, a) : (this._props || (this._props = {}), this._props[i] = a, this.connectedCallback());
var c = typeof a;
a != null && c !== "string" && c !== "boolean" && c !== "number" || this.setAttribute(i, a);
} });
}), customElements.define(t, o);
}
var Lo = 0;
function f(e, t, n, r, o, i) {
t || (t = {});
var a, c, s = t;
if ("ref" in s) for (c in s = {}, t) c == "ref" ? a = t[c] : s[c] = t[c];
var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Lo, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (a = e.defaultProps)) for (c in a) s[c] === void 0 && (s[c] = a[c]);
return v.vnode && v.vnode(u), u;
}
const On = {
SWITCH_CAMERA: "switch-camera",
TOGGLE_MIRROR: "toggle-mirror"
};
var me = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTED_FACE_CHANGED = "face-auto-capture:detected-face-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(me || {});
const Nn = {
EYE_NOT_PRESENT: "eye_not_present"
}, L = {
CANDIDATE_SELECTION: "candidate_selection",
FACE_TOO_CLOSE: "face_too_close",
FACE_TOO_FAR: "face_too_far",
FACE_CENTERING: "face_centering",
FACE_NOT_PRESENT: "face_not_present",
SHARPNESS_TOO_LOW: "sharpness_too_low",
BRIGHTNESS_TOO_LOW: "brightness_too_low",
BRIGHTNESS_TOO_HIGH: "brightness_too_high",
DEVICE_PITCHED: "device_pitched",
LEFT_EYE_NOT_PRESENT: `left_${Nn.EYE_NOT_PRESENT}`,
RIGHT_EYE_NOT_PRESENT: `right_${Nn.EYE_NOT_PRESENT}`,
MOUTH_NOT_PRESENT: "mouth_not_present",
MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high",
MOUTH_SCORE_TOO_LOW: "mouth_score_too_low"
}, Y = {
LOADING: "LOADING",
ERROR: "ERROR",
WAITING: "WAITING",
RUNNING: "RUNNING"
};
var ce, I, Tt, xn, $e = 0, br = [], T = v, In = T.__b, Tn = T.__r, Rn = T.diffed, An = T.__c, Ln = T.unmount, Pn = T.__;
function Ie(e, t) {
T.__h && T.__h(I, e, $e || t), $e = 0;
var n = I.__H || (I.__H = { __: [], __h: [] });
return e >= n.__.length && n.__.push({}), n.__[e];
}
function z(e) {
return $e = 1, fn(Or, e);
}
function fn(e, t, n) {
var r = Ie(ce++, 2);
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Or(void 0, t), function(c) {
var s = r.__N ? r.__N[0] : r.__[0], u = r.t(s, c);
s !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
}], r.__c = I, !I.__f)) {
var o = function(c, s, u) {
if (!r.__c.__H) return !0;
var d = r.__c.__H.__.filter(function(_) {
return !!_.__c;
});
if (d.every(function(_) {
return !_.__N;
})) return !i || i.call(this, c, s, u);
var l = r.__c.props !== c;
return d.forEach(function(_) {
if (_.__N) {
var h = _.__[0];
_.__ = _.__N, _.__N = void 0, h !== _.__[0] && (l = !0);
}
}), i && i.call(this, c, s, u) || l;
};
I.__f = !0;
var i = I.shouldComponentUpdate, a = I.componentWillUpdate;
I.componentWillUpdate = function(c, s, u) {
if (this.__e) {
var d = i;
i = void 0, o(c, s, u), i = d;
}
a && a.call(this, c, s, u);
}, I.shouldComponentUpdate = o;
}
return r.__N || r.__;
}
function re(e, t) {
var n = Ie(ce++, 3);
!T.__s && dn(n.__H, t) && (n.__ = e, n.u = t, I.__H.__h.push(n));
}
function Te(e, t) {
var n = Ie(ce++, 4);
!T.__s && dn(n.__H, t) && (n.__ = e, n.u = t, I.__h.push(n));
}
function Ye(e) {
return $e = 5, ne(function() {
return { current: e };
}, []);
}
function $r(e, t, n) {
$e = 6, Te(function() {
if (typeof e == "function") {
var r = e(t());
return function() {
e(null), r && typeof r == "function" && r();
};
}
if (e) return e.current = t(), function() {
return e.current = null;
};
}, n == null ? n : n.concat(e));
}
function ne(e, t) {
var n = Ie(ce++, 7);
return dn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
}
function ge(e, t) {
return $e = 8, ne(function() {
return e;
}, t);
}
function Xe(e) {
var t = I.context[e.__c], n = Ie(ce++, 9);
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(I)), t.props.value) : e.__;
}
function _t(e, t) {
T.useDebugValue && T.useDebugValue(t ? t(e) : e);
}
function kr() {
var e = Ie(ce++, 11);
if (!e.__) {
for (var t = I.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
var n = t.__m || (t.__m = [0, 0]);
e.__ = "P" + n[0] + "-" + n[1]++;
}
return e.__;
}
function Po() {
for (var e; e = br.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(at), e.__H.__h.forEach(Bt), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], T.__e(t, e.__v);
}
}
T.__b = function(e) {
I = null, In && In(e);
}, T.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Pn && Pn(e, t);
}, T.__r = function(e) {
Tn && Tn(e), ce = 0;
var t = (I = e.__c).__H;
t && (Tt === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
})) : (t.__h.forEach(at), t.__h.forEach(Bt), t.__h = [], ce = 0)), Tt = I;
}, T.diffed = function(e) {
Rn && Rn(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (br.push(t) !== 1 && xn === T.requestAnimationFrame || ((xn = T.requestAnimationFrame) || Do)(Po)), t.__H.__.forEach(function(n) {
n.u && (n.__H = n.u), n.u = void 0;
})), Tt = I = null;
}, T.__c = function(e, t) {
t.some(function(n) {
try {
n.__h.forEach(at), n.__h = n.__h.filter(function(r) {
return !r.__ || Bt(r);
});
} catch (r) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], T.__e(r, n.__v);
}
}), An && An(e, t);
}, T.unmount = function(e) {
Ln && Ln(e);
var t, n = e.__c;
n && n.__H && (n.__H.__.forEach(function(r) {
try {
at(r);
} catch (o) {
t = o;
}
}), n.__H = void 0, t && T.__e(t, n.__v));
};
var Dn = typeof requestAnimationFrame == "function";
function Do(e) {
var t, n = function() {
clearTimeout(r), Dn && cancelAnimationFrame(t), setTimeout(e);
}, r = setTimeout(n, 100);
Dn && (t = requestAnimationFrame(n));
}
function at(e) {
var t = I, n = e.__c;
typeof n == "function" && (e.__c = void 0, n()), I = t;
}
function Bt(e) {
var t = I;
e.__c = e.__(), I = t;
}
function dn(e, t) {
return !e || e.length !== t.length || t.some(function(n, r) {
return n !== e[r];
});
}
function Or(e, t) {
return typeof t == "function" ? t(e) : t;
}
var P = function() {
return P = Object.assign || function(t) {
for (var n, r = 1, o = arguments.length; r < o; r++) {
n = arguments[r];
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
}
return t;
}, P.apply(this, arguments);
};
function ye(e, t, n) {
if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
(i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
return e.concat(i || Array.prototype.slice.call(t));
}
function Mo(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(n) {
return t[n] === void 0 && (t[n] = e(n)), t[n];
};
}
var Ho = /^((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)-.*))$/, Fo = /* @__PURE__ */ Mo(
function(e) {
return Ho.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
);
function Nr(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function Wt(e, t) {
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
return !1;
}
function xr(e, t) {
var n = t(), r = z({ t: { __: n, u: t } }), o = r[0].t, i = r[1];
return Te(function() {
o.__ = n, o.u = t, Rt(o) && i({ t: o });
}, [e, n, t]), re(function() {
return Rt(o) && i({ t: o }), e(function() {
Rt(o) && i({ t: o });
});
}, [e]), n;
}
function Rt(e) {
var t, n, r = e.u, o = e.__;
try {
var i = r();
return !((t = o) === (n = i) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
} catch {
return !0;
}
}
function Ir(e) {
e();
}
function Tr(e) {
return e;
}
function Rr() {
return [!1, Ir];
}
var Ar = Te;
function zt(e, t) {
this.props = e, this.context = t;
}
function Uo(e, t) {
function n(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 : Wt(this.props, o);
}
function r(o) {
return this.shouldComponentUpdate = n, M(e, o);
}
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
}
(zt.prototype = new V()).isPureReactComponent = !0, zt.prototype.shouldComponentUpdate = function(e, t) {
return Wt(this.props, e) || Wt(this.state, t);
};
var Mn = v.__b;
v.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Mn && Mn(e);
};
var Bo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
function Wo(e) {
function t(n) {
var r = Nr({}, n);
return delete r.ref, e(r, n.ref || null);
}
return t.$$typeof = Bo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Hn = function(e, t) {
return e == null ? null : te(te(e).map(t));
}, zo = { map: Hn, forEach: Hn, 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 = v.__e;
v.__e = function(e, t, n, r) {
if (e.then) {
for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
}
jo(e, t, n, r);
};
var Fn = v.unmount;
function Lr(e, t, n) {
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
typeof r.__c == "function" && r.__c();
}), e.__c.__H = null), (e = Nr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
return Lr(r, t, n);
})), e;
}
function Pr(e, t, n) {
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
return Pr(r, t, n);
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
}
function st() {
this.__u = 0, this.o = null, this.__b = null;
}
function Dr(e) {
var t = e.__.__c;
return t && t.__a && t.__a(e);
}
function Go(e) {
var t, n, r;
function o(i) {
if (t || (t = e()).then(function(a) {
n = a.default || a;
}, function(a) {
r = a;
}), r) throw r;
if (!n) throw t;
return M(n, i);
}
return o.displayName = "Lazy", o.__f = !0, o;
}
function He() {
this.i = null, this.l = null;
}
v.unmount = function(e) {
var t = e.__c;
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Fn && Fn(e);
}, (st.prototype = new V()).__c = function(e, t) {
var n = t.__c, r = this;
r.o == null && (r.o = []), r.o.push(n);
var o = Dr(r.__v), i = !1, a = function() {
i || (i = !0, n.__R = null, o ? o(c) : c());
};
n.__R = a;
var c = function() {
if (!--r.__u) {
if (r.state.__a) {
var s = r.state.__a;
r.__v.__k[0] = Pr(s, s.__c.__P, s.__c.__O);
}
var u;
for (r.setState({ __a: r.__b = null }); u = r.o.pop(); ) u.forceUpdate();
}
};
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__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 n = document.createElement("div"), r = this.__v.__k[0].__c;
this.__v.__k[0] = Lr(this.__b, n, r.__O = r.__P);
}
this.__b = null;
}
var o = t.__a && M(j, null, e.fallback);
return o && (o.__u &= -33), [M(j, null, t.__a ? null : e.children), o];
};
var Un = function(e, t, n) {
if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n; ) {
for (; n.length > 3; ) n.pop()();
if (n[1] < n[0]) break;
e.i = n = n[2];
}
};
function Vo(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function qo(e) {
var t = this, n = e.h;
if (t.componentWillUnmount = function() {
se(null, t.v), t.v = null, t.h = null;
}, t.h && t.h !== n && t.componentWillUnmount(), !t.v) {
for (var r = t.__v; r !== null && !r.__m && r.__ !== null; ) r = r.__;
t.h = n, t.v = { nodeType: 1, parentNode: n, childNodes: [], __k: { __m: r.__m }, contains: function() {
return !0;
}, appendChild: function(o) {
this.childNodes.push(o), t.h.appendChild(o);
}, 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);
} };
}
se(M(Vo, { context: t.context }, e.__v), t.v);
}
function Zo(e, t) {
var n = M(qo, { __v: e, h: t });
return n.containerInfo = t, n;
}
(He.prototype = new V()).__a = function(e) {
var t = this, n = Dr(t.__v), r = t.l.get(e);
return r[0]++, function(o) {
var i = function() {
t.props.revealOrder ? (r.push(o), Un(t, e, r)) : o();
};
n ? n(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 n = t.length; n--; ) this.l.set(t[n], this.i = [1, 0, this.i]);
return e.children;
}, He.prototype.componentDidUpdate = He.prototype.componentDidMount = function() {
var e = this;
this.l.forEach(function(t, n) {
Un(e, n, t);
});
};
var Mr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Yo = /^(?: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]/, Xo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Qo = /[A-Z0-9]/g, Ko = typeof document < "u", Jo = function(e) {
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
};
function ei(e, t, n) {
return t.__k == null && (t.textContent = ""), se(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
function ti(e, t, n) {
return cn(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
Object.defineProperty(V.prototype, e, { configurable: !0, get: function() {
return this["UNSAFE_" + e];
}, set: function(t) {
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
} });
});
var Bn = v.event;
function ni() {
}
function ri() {
return this.cancelBubble;
}
function oi() {
return this.defaultPrevented;
}
v.event = function(e) {
return Bn && (e = Bn(e)), e.persist = ni, e.isPropagationStopped = ri, e.isDefaultPrevented = oi, e.nativeEvent = e;
};
var hn, ii = { enumerable: !1, configurable: !0, get: function() {
return this.class;
} }, Wn = v.vnode;
v.vnode = function(e) {
typeof e.type == "string" && function(t) {
var n = t.props, r = t.type, o = {}, i = r.indexOf("-") === -1;
for (var a in n) {
var c = n[a];
if (!(a === "value" && "defaultValue" in n && c == null || Ko && a === "children" && r === "noscript" || a === "class" || a === "className")) {
var s = a.toLowerCase();
a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && c === !0 ? c = "" : s === "translate" && c === "no" ? c = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || Jo(n.type) ? s === "onfocus" ? a = "onfocusin" : s === "onblur" ? a = "onfocusout" : Xo.test(a) && (a = s) : s = a = "oninput" : i && Yo.test(a) ? a = a.replace(Qo, "-$&").toLowerCase() : c === null && (c = void 0), s === "oninput" && o[a = s] && (a = "oninputCapture"), o[a] = c;
}
}
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(n.children).forEach(function(u) {
u.props.selected = o.value.indexOf(u.props.value) != -1;
})), r == "select" && o.defaultValue != null && (o.value = te(n.children).forEach(function(u) {
u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ii)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
}(e), e.$$typeof = Mr, Wn && Wn(e);
};
var zn = v.__r;
v.__r = function(e) {
zn && zn(e), hn = e.__c;
};
var jn = v.diffed;
v.diffed = function(e) {
jn && jn(e);
var t = e.props, n = e.__e;
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), hn = null;
};
var ai = { ReactCurrentDispatcher: { current: { readContext: function(e) {
return hn.__n[e.__c].props.value;
}, useCallback: ge, useContext: Xe, useDebugValue: _t, useDeferredValue: Tr, useEffect: re, useId: kr, useImperativeHandle: $r, useInsertionEffect: Ar, useLayoutEffect: Te, useMemo: ne, useReducer: fn, useRef: Ye, useState: z, useSyncExternalStore: xr, useTransition: Rr } } };
function si(e) {
return M.bind(null, e);
}
function vt(e) {
return !!e && e.$$typeof === Mr;
}
function ci(e) {
return vt(e) && e.type === j;
}
function li(e) {
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
}
function ui(e) {
return vt(e) ? ln.apply(null, arguments) : e;
}
function fi(e) {
return !!e.__k && (se(null, e), !0);
}
function di(e) {
return e && (e.base || e.nodeType === 1 && e) || null;
}
var hi = function(e, t) {
return e(t);
}, _i = function(e, t) {
return e(t);
}, pi = j, mi = vt, oe = { useState: z, useId: kr, useReducer: fn, useEffect: re, useLayoutEffect: Te, useInsertionEffect: Ar, useTransition: Rr, useDeferredValue: Tr, useSyncExternalStore: xr, startTransition: Ir, useRef: Ye, useImperativeHandle: $r, useMemo: ne, useCallback: ge, useContext: Xe, useDebugValue: _t, version: "18.3.1", Children: zo, render: ei, hydrate: ti, unmountComponentAtNode: fi, createPortal: Zo, createElement: M, createContext: Sr, createFactory: si, cloneElement: ui, createRef: Eo, Fragment: j, isValidElement: vt, isElement: mi, isFragment: ci, isMemo: li, findDOMNode: di, Component: V, PureComponent: zt, memo: Uo, forwardRef: Wo, flushSync: _i, unstable_batchedUpdates: hi, StrictMode: pi, Suspense: st, SuspenseList: He, lazy: Go, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ai };
function gi(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var At, Gn;
function yi() {
return Gn || (Gn = 1, At = function(t, n, r, o) {
var i = r ? r.call(o, t, n) : void 0;
if (i !== void 0)
return !!i;
if (t === n)
return !0;
if (typeof t != "object" || !t || typeof n != "object" || !n)
return !1;
var a = Object.keys(t), c = Object.keys(n);
if (a.length !== c.length)
return !1;
for (var s = Object.prototype.hasOwnProperty.bind(n), u = 0; u < a.length; u++) {
var d = a[u];
if (!s(d))
return !1;
var l = t[d], _ = n[d];
if (i = r ? r.call(o, l, _, d) : void 0, i === !1 || i === void 0 && l !== _)
return !1;
}
return !0;
}), At;
}
var vi = yi();
const Ci = /* @__PURE__ */ gi(vi);
var x = "-ms-", We = "-moz-", O = "-webkit-", Hr = "comm", Ct = "rule", _n = "decl", wi = "@import", Fr = "@keyframes", Si = "@layer", Ur = Math.abs, pn = String.fromCharCode, jt = Object.assign;
function Ei(e, t) {
return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
}
function Br(e) {
return e.trim();
}
function J(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function C(e, t, n) {
return e.replace(t, n);
}
function ct(e, t, n) {
return e.indexOf(t, n);
}
function A(e, t) {
return e.charCodeAt(t) | 0;
}
function ke(e, t, n) {
return e.slice(t, n);
}
function Z(e) {
return e.length;
}
function Wr(e) {
return e.length;
}
function Fe(e, t) {
return t.push(e), e;
}
function bi(e, t) {
return e.map(t).join("");
}
function Vn(e, t) {
return e.filter(function(n) {
return !J(n, t);
});
}
var wt = 1, Oe = 1, zr = 0, G = 0, R = 0, Re = "";
function St(e, t, n, r, o, i, a, c) {
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: wt, column: Oe, length: a, return: "", siblings: c };
}
function ae(e, t) {
return jt(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Ee(e) {
for (; e.root; )
e = ae(e.root, { children: [e] });
Fe(e, e.siblings);
}
function $i() {
return R;
}
function ki() {
return R = G > 0 ? A(Re, --G) : 0, Oe--, R === 10 && (Oe = 1, wt--), R;
}
function q() {
return R = G < zr ? A(Re, G++) : 0, Oe++, R === 10 && (Oe = 1, wt++), R;
}
function _e() {
return A(Re, G);
}
function lt() {
return G;
}
function Et(e, t) {
return ke(Re, e, t);
}
function Gt(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 = Oe = 1, zr = Z(Re = e), G = 0, [];
}
function Ni(e) {
return Re = "", e;
}
function Lt(e) {
return Br(Et(G - 1, Vt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function xi(e) {
for (; (R = _e()) && R < 33; )
q();
return Gt(e) > 2 || Gt(R) > 3 ? "" : " ";
}
function Ii(e, t) {
for (; --t && q() && !(R < 48 || R > 102 || R > 57 && R < 65 || R > 70 && R < 97); )
;
return Et(e, lt() + (t < 6 && _e() == 32 && q() == 32));
}
function Vt(e) {
for (; q(); )
switch (R) {
// ] ) " '
case e:
return G;
// " '
case 34:
case 39:
e !== 34 && e !== 39 && Vt(R);
break;
// (
case 40:
e === 41 && Vt(e);
break;
// \
case 92:
q();
break;
}
return G;
}
function Ti(e, t) {
for (; q() && e + R !== 57; )
if (e + R === 84 && _e() === 47)
break;
return "/*" + Et(t, G - 1) + "*" + pn(e === 47 ? e : q());
}
function Ri(e) {
for (; !Gt(_e()); )
q();
return Et(e, G);
}
function Ai(e) {
return Ni(ut("", null, null, null, [""], e = Oi(e), 0, [0], e));
}
function ut(e, t, n, r, o, i, a, c, s) {
for (var u = 0, d = 0, l = a, _ = 0, h = 0, g = 0, S = 1, $ = 1, m = 1, p = 0, k = "", E = o, N = i, w = r, y = k; $; )
switch (g = p, p = q()) {
// (
case 40:
if (g != 108 && A(y, l - 1) == 58) {
ct(y += C(Lt(p), "&", "&\f"), "&\f", Ur(u ? c[u - 1] : 0)) != -1 && (m = -1);
break;
}
// " ' [
case 34:
case 39:
case 91:
y += Lt(p);
break;
// \t \n \r \s
case 9:
case 10:
case 13:
case 32:
y += xi(g);
break;
// \
case 92:
y += Ii(lt() - 1, 7);
continue;
// /
case 47:
switch (_e()) {
case 42:
case 47:
Fe(Li(Ti(q(), lt()), t, n, s), s);
break;
default:
y += "/";
}
break;
// {
case 123 * S:
c[u++] = Z(y) * m;
// } ; \0
case 125 * S:
case 59:
case 0:
switch (p) {
// \0 }
case 0:
case 125:
$ = 0;
// ;
case 59 + d:
m == -1 && (y = C(y, /\f/g, "")), h > 0 && Z(y) - l && Fe(h > 32 ? Zn(y + ";", r, n, l - 1, s) : Zn(C(y, " ", "") + ";", r, n, l - 2, s), s);
break;
// @ ;
case 59:
y += ";";
// { rule/at-rule
default:
if (Fe(w = qn(y, t, n, u, d, o, c, k, E = [], N = [], l, i), i), p === 123)
if (d === 0)
ut(y, t, w, w, E, i, l, c, N);
else
switch (_ === 99 && A(y, 3) === 110 ? 100 : _) {
// d l m s
case 100:
case 108:
case 109:
case 115:
ut(e, w, w, r && Fe(qn(e, w, w, 0, 0, o, c, k, o, E = [], l, N), N), o, N, l, c, r ? E : N);
break;
default:
ut(y, w, w, w, [""], N, 0, c, N);
}
}
u = d = h = 0, S = m = 1, k = y = "", l = a;
break;
// :
case 58:
l = 1 + Z(y), h = g;
default:
if (S < 1) {
if (p == 123)
--S;
else if (p == 125 && S++ == 0 && ki() == 125)
continue;
}
switch (y += pn(p), p * S) {
// &
case 38:
m = d > 0 ? 1 : (y += "\f", -1);
break;
// ,
case 44:
c[u++] = (Z(y) - 1) * m, m = 1;
break;
// @
case 64:
_e() === 45 && (y += Lt(q())), _ = _e(), d = l = Z(k = y += Ri(lt())), p++;
break;
// -
case 45:
g === 45 && Z(y) == 2 && (S = 0);
}
}
return i;
}
function qn(e, t, n, r, o, i, a, c, s, u, d, l) {
for (var _ = o - 1, h = o === 0 ? i : [""], g = Wr(h), S = 0, $ = 0, m = 0; S < r; ++S)
for (var p = 0, k = ke(e, _ + 1, _ = Ur($ = a[S])), E = e; p < g; ++p)
(E = Br($ > 0 ? h[p] + " " + k : C(k, /&\f/g, h[p]))) && (s[m++] = E);
return St(e, t, n, o === 0 ? Ct : c, s, u, d, l);
}
function Li(e, t, n, r) {
return St(e, t, n, Hr, pn($i()), ke(e, 2, -2), 0, r);
}
function Zn(e, t, n, r, o) {
return St(e, t, n, _n, ke(e, 0, r), ke(e, r + 1, -1), r, o);
}
function jr(e, t, n) {
switch (Ei(e, t)) {
// color-adjust
case 5103:
return O + "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|rule|rule-color|rule-style|rule-width|span|width)
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829:
return O + e + e;
// tab-size
case 4789:
return We + e + e;
// appearance, user-select, transform, hyphens, text-size-adjust
case 5349:
case 4246:
case