@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
1,209 lines • 149 kB
JavaScript
var bo = Object.defineProperty;
var Vo = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
var tt = (e, t, r) => Vo(e, typeof t != "symbol" ? t + "" : t, r);
var qe, C, pn, de, br, _n, mn, gn, ir, Zt, Bt, Ln, Ge = {}, yn = [], Eo = /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 R(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] == null && (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 ?? ++pn, __i: -1, __u: 0 };
return o == null && C.vnode != null && C.vnode(i), i;
}
function ko() {
return { current: null };
}
function H(e) {
return e.children;
}
function G(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 vn(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 vn(e);
}
}
function Ut(e) {
(!e.__d && (e.__d = !0) && de.push(e) && !pt.__r++ || br != C.debounceRendering) && ((br = C.debounceRendering) || _n)(pt);
}
function pt() {
for (var e, t, r, n, o, i, a, c = 1; de.length; ) de.length > c && de.sort(mn), e = de.shift(), c = de.length, e.__d && (r = void 0, o = (n = (t = e).__v).__e, i = [], a = [], t.__P && ((r = X({}, n)).__v = n.__v + 1, C.vnode && C.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, Sn(i, r, a), r.__e != o && vn(r)));
pt.__r = 0;
}
function Cn(e, t, r, n, o, i, a, c, u, d, h) {
var l, p, f, _, L, y, m = n && n.__k || yn, g = t.length;
for (u = xo(r, t, m, u, g), l = 0; l < g; l++) (f = r.__k[l]) != null && (p = f.__i == -1 ? Ge : m[f.__i] || Ge, f.__i = l, y = sr(e, f, p, o, i, a, c, u, d, h), _ = f.__e, f.ref && p.ref != f.ref && (p.ref && cr(p.ref, null, f), h.push(f.ref, f.__c || _, f)), L == null && _ != null && (L = _), 4 & f.__u || p.__k === f.__k ? u = wn(f, u, e) : typeof f.type == "function" && y !== void 0 ? u = y : _ && (u = _.nextSibling), f.__u &= -7);
return r.__e = L, u;
}
function xo(e, t, r, n, o) {
var i, a, c, u, d, 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" ? (u = i + p, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? We(null, a, null, null, null) : Ye(a) ? We(H, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? We(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, c = null, (d = a.__i = Oo(a, r, u, l)) != -1 && (l--, (c = r[d]) && (c.__u |= 2)), c == null || c.__v == null ? (d == -1 && (o > h ? p-- : o < h && p++), typeof a.type != "function" && (a.__u |= 4)) : d != u && (d == u - 1 ? p-- : d == u + 1 ? p++ : (d > u ? 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)), Vn(c, c));
return n;
}
function wn(e, t, r) {
var n, o;
if (typeof e.type == "function") {
for (n = e.__k, o = 0; n && o < n.length; o++) n[o] && (n[o].__ = e, t = wn(n[o], t, r));
return t;
}
e.__e != t && (t && e.type && !r.contains(t) && (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 Oo(e, t, r, n) {
var o, i, a = e.key, c = e.type, u = t[r];
if (u === null && e.key == null || u && a == u.key && c == u.type && (2 & u.__u) == 0) return r;
if (n > (u != null && (2 & u.__u) == 0 ? 1 : 0)) for (o = r - 1, i = r + 1; o >= 0 || i < t.length; ) {
if (o >= 0) {
if ((u = t[o]) && (2 & u.__u) == 0 && a == u.key && c == u.type) return o;
o--;
}
if (i < t.length) {
if ((u = t[i]) && (2 & u.__u) == 0 && a == u.key && c == u.type) return i;
i++;
}
}
return -1;
}
function Vr(e, t, r) {
t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || Eo.test(t) ? r : r + "px";
}
function rt(e, t, r, n, o) {
var i;
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 || Vr(e.style, t, "");
if (r) for (t in r) n && r[t] == n[t] || Vr(e.style, t, r[t]);
}
else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(gn, "$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] = r, r ? n ? r.u = n.u : (r.u = ir, e.addEventListener(t, i ? Bt : Zt, i)) : e.removeEventListener(t, i ? Bt : Zt, 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 Er(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(C.event ? C.event(t) : t);
}
};
}
function sr(e, t, r, n, o, i, a, c, u, d) {
var h, l, p, f, _, L, y, m, g, E, b, x, S, v, A, B, De, U = t.type;
if (t.constructor != null) return null;
128 & r.__u && (u = !!(32 & r.__u), i = [c = t.__e = r.__e]), (h = C.__b) && h(t);
e: if (typeof U == "function") try {
if (m = t.props, g = "prototype" in U && U.prototype.render, E = (h = U.contextType) && n[h.__c], b = h ? E ? E.props.value : h.__ : n, r.__c ? y = (l = t.__c = r.__c).__ = l.__E : (g ? t.__c = l = new U(m, b) : (t.__c = l = new G(m, b), l.constructor = U, l.render = No), E && E.sub(l), l.props = m, l.state || (l.state = {}), l.context = b, l.__n = n, p = l.__d = !0, l.__h = [], l._sb = []), g && l.__s == null && (l.__s = l.state), g && U.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = X({}, l.__s)), X(l.__s, U.getDerivedStateFromProps(m, l.__s))), f = l.props, _ = l.state, l.__v = t, p) g && U.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), g && l.componentDidMount != null && l.__h.push(l.componentDidMount);
else {
if (g && U.getDerivedStateFromProps == null && m !== f && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, b), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, b) === !1 || t.__v == r.__v) {
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(le) {
le && (le.__ = t);
}), x = 0; x < l._sb.length; x++) l.__h.push(l._sb[x]);
l._sb = [], l.__h.length && a.push(l);
break e;
}
l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, b), g && l.componentDidUpdate != null && l.__h.push(function() {
l.componentDidUpdate(f, _, L);
});
}
if (l.context = b, l.props = m, l.__P = e, l.__e = !1, S = C.__r, v = 0, g) {
for (l.state = l.__s, l.__d = !1, S && S(t), h = l.render(l.props, l.state, l.context), A = 0; A < l._sb.length; A++) l.__h.push(l._sb[A]);
l._sb = [];
} else do
l.__d = !1, S && S(t), h = l.render(l.props, l.state, l.context), l.state = l.__s;
while (l.__d && ++v < 25);
l.state = l.__s, l.getChildContext != null && (n = X(X({}, n), l.getChildContext())), g && !p && l.getSnapshotBeforeUpdate != null && (L = l.getSnapshotBeforeUpdate(f, _)), B = h, h != null && h.type === H && h.key == null && (B = bn(h.props.children)), c = Cn(e, Ye(B) ? B : [B], t, r, n, o, i, a, c, u, d), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), y && (l.__E = l.__ = null);
} catch (le) {
if (t.__v = null, u || i != null) if (le.then) {
for (t.__u |= u ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
i[i.indexOf(c)] = null, t.__e = c;
} else for (De = i.length; De--; ) ar(i[De]);
else t.__e = r.__e, t.__k = r.__k;
C.__e(le, 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, u, d);
return (h = C.diffed) && h(t), 128 & t.__u ? void 0 : c;
}
function Sn(e, t, r) {
for (var n = 0; n < r.length; n++) cr(r[n], r[++n], r[++n]);
C.__c && C.__c(t, e), e.some(function(o) {
try {
e = o.__h, o.__h = [], e.some(function(i) {
i.call(o);
});
} catch (i) {
C.__e(i, o.__v);
}
});
}
function bn(e) {
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ye(e) ? e.map(bn) : X({}, e);
}
function $o(e, t, r, n, o, i, a, c, u) {
var d, h, l, p, f, _, L, y = r.props, 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 (d = 0; d < i.length; d++) if ((f = i[d]) && "setAttribute" in f == !!g && (g ? f.localName == g : f.nodeType == 3)) {
e = f, i[d] = null;
break;
}
}
if (e == null) {
if (g == null) return document.createTextNode(m);
e = document.createElementNS(o, g, m.is && m), c && (C.__m && C.__m(t, i), c = !1), i = null;
}
if (g == null) y === m || c && e.data == m || (e.data = m);
else {
if (i = i && qe.call(e.childNodes), y = r.props || Ge, !c && i != null) for (y = {}, d = 0; d < e.attributes.length; d++) y[(f = e.attributes[d]).name] = f.value;
for (d in y) if (f = y[d], d != "children") {
if (d == "dangerouslySetInnerHTML") l = f;
else if (!(d in m)) {
if (d == "value" && "defaultValue" in m || d == "checked" && "defaultChecked" in m) continue;
rt(e, d, null, f, o);
}
}
for (d in m) f = m[d], d == "children" ? p = f : d == "dangerouslySetInnerHTML" ? h = f : d == "value" ? _ = f : d == "checked" ? L = f : c && typeof f != "function" || y[d] === f || rt(e, d, f, y[d], o);
if (h) c || l && (h.__html == l.__html || h.__html == e.innerHTML) || (e.innerHTML = h.__html), t.__k = [];
else if (l && (e.innerHTML = ""), Cn(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, u), i != null) for (d = i.length; d--; ) ar(i[d]);
c || (d = "value", g == "progress" && _ == null ? e.removeAttribute("value") : _ != null && (_ !== e[d] || g == "progress" && !_ || g == "option" && _ != y[d]) && rt(e, d, _, y[d], o), d = "checked", L != null && L != e[d] && rt(e, d, L, y[d], 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) {
C.__e(o, r);
}
}
function Vn(e, t, r) {
var n, o;
if (C.unmount && C.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) {
C.__e(i, t);
}
n.base = n.__P = null;
}
if (n = e.__k) for (o = 0; o < n.length; o++) n[o] && Vn(n[o], t, r || typeof e.type != "function");
r || ar(e.__e), e.__c = e.__ = e.__e = void 0;
}
function No(e, t, r) {
return this.constructor(e, r);
}
function se(e, t, r) {
var n, o, i, a;
t == document && (t = document.documentElement), C.__ && C.__(e, t), o = (n = typeof r == "function") ? null : r && r.__k || t.__k, i = [], a = [], sr(t, e = (!n && r || t).__k = R(H, 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), Sn(i, e, a);
}
function lr(e, t) {
se(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] == null && 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 En(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, Ut(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" + Ln++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(r, n) {
return r.children(n);
}).contextType = t, t;
}
qe = yn.slice, C = { __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;
} }, pn = 0, G.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), Ut(this));
}, G.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Ut(this));
}, G.prototype.render = H, de = [], _n = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, mn = function(e, t) {
return e.__v.__b - t.__v.__b;
}, pt.__r = 0, gn = /(PointerCapture)$|Capture$/i, ir = 0, Zt = Er(!1), Bt = Er(!0), Ln = 0;
function dr() {
return (dr = 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;
}).apply(this, arguments);
}
var Io = ["context", "children"];
function Mo(e) {
this.getChildContext = function() {
return e.context;
};
var t = e.children, r = function(n, o) {
if (n == null) return {};
var i, a, c = {}, u = Object.keys(n);
for (a = 0; a < u.length; a++) o.indexOf(i = u[a]) >= 0 || (c[i] = n[i]);
return c;
}(e, Io);
return ur(t, r);
}
function Do() {
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
this.dispatchEvent(e), this._vdom = R(Mo, dr({}, this._props, { context: e.detail.context }), function t(r, n) {
if (r.nodeType === 3) return r.data;
if (r.nodeType !== 1) return null;
var o = [], i = {}, a = 0, c = r.attributes, u = r.childNodes;
for (a = c.length; a--; ) c[a].name !== "slot" && (i[c[a].name] = c[a].value, i[kn(c[a].name)] = c[a].value);
for (a = u.length; a--; ) {
var d = t(u[a], null), h = u[a].slot;
h ? i[h] = R(kr, { name: h }, d) : o[a] = d;
}
var l = n ? R(kr, null, o) : o;
return R(n || r.nodeName.toLowerCase(), i, l);
}(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? lr : se)(this._vdom, this._root);
}
function kn(e) {
return e.replace(/-(\w)/g, function(t, r) {
return r ? r.toUpperCase() : "";
});
}
function Ro(e, t, r) {
if (this._vdom) {
var n = {};
n[e] = r = r ?? void 0, n[kn(e)] = r, this._vdom = ur(this._vdom, n), se(this._vdom, this._root);
}
}
function To() {
se(this._vdom = null, this._root);
}
function kr(e, t) {
var r = this;
return R("slot", dr({}, e, { ref: function(n) {
n ? (r.ref = n, r._listener || (r._listener = function(o) {
o.stopPropagation(), o.detail.context = t;
}, n.addEventListener("_preact", r._listener))) : r.ref.removeEventListener("_preact", r._listener);
} }));
}
function Ao(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 = Do, o.prototype.attributeChangedCallback = Ro, o.prototype.disconnectedCallback = To, r = r || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = r, r.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 Po = 0;
function s(e, t, r, n, o, i) {
t || (t = {});
var a, c, u = t;
if ("ref" in u) for (c in u = {}, t) c == "ref" ? a = t[c] : u[c] = t[c];
var d = { type: e, props: u, key: r, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Po, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (a = e.defaultProps)) for (c in a) u[c] === void 0 && (u[c] = a[c]);
return C.vnode && C.vnode(d), d;
}
const xr = {
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.DETECTED_DOCUMENT_CHANGED = "document-auto-capture:detected-document-changed", e.DOCUMENT_DETECTION = "document-auto-capture:document-detection", 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.DETECTED_PALM_CHANGED = "palm-capture:detected-palm-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 T = {
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"
}, Y = {
LOADING: "LOADING",
ERROR: "ERROR",
WAITING: "WAITING",
RUNNING: "RUNNING"
};
var ce, $, It, Or, Ee = 0, On = [], N = C, $r = N.__b, Nr = N.__r, Ir = N.diffed, Mr = N.__c, Dr = N.unmount, Rr = N.__;
function Ne(e, t) {
N.__h && N.__h($, e, Ee || t), Ee = 0;
var r = $.__H || ($.__H = { __: [], __h: [] });
return e >= r.__.length && r.__.push({}), r.__[e];
}
function F(e) {
return Ee = 1, fr(In, e);
}
function fr(e, t, r) {
var n = Ne(ce++, 2);
if (n.t = e, !n.__c && (n.__ = [r ? r(t) : In(void 0, t), function(c) {
var u = n.__N ? n.__N[0] : n.__[0], d = n.t(u, c);
u !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
}], n.__c = $, !$.__f)) {
var o = function(c, u, d) {
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, u, d);
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, u, d) || l;
};
$.__f = !0;
var i = $.shouldComponentUpdate, a = $.componentWillUpdate;
$.componentWillUpdate = function(c, u, d) {
if (this.__e) {
var h = i;
i = void 0, o(c, u, d), i = h;
}
a && a.call(this, c, u, d);
}, $.shouldComponentUpdate = o;
}
return n.__N || n.__;
}
function ne(e, t) {
var r = Ne(ce++, 3);
!N.__s && hr(r.__H, t) && (r.__ = e, r.u = t, $.__H.__h.push(r));
}
function Ie(e, t) {
var r = Ne(ce++, 4);
!N.__s && hr(r.__H, t) && (r.__ = e, r.u = t, $.__h.push(r));
}
function Xe(e) {
return Ee = 5, re(function() {
return { current: e };
}, []);
}
function $n(e, t, r) {
Ee = 6, Ie(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 = Ne(ce++, 7);
return hr(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 = $.context[e.__c], r = Ne(ce++, 9);
return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub($)), t.props.value) : e.__;
}
function _t(e, t) {
N.useDebugValue && N.useDebugValue(t ? t(e) : e);
}
function Nn() {
var e = Ne(ce++, 11);
if (!e.__) {
for (var t = $.__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 Ho() {
for (var e; e = On.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(st), e.__H.__h.forEach(Wt), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], N.__e(t, e.__v);
}
}
N.__b = function(e) {
$ = null, $r && $r(e);
}, N.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Rr && Rr(e, t);
}, N.__r = function(e) {
Nr && Nr(e), ce = 0;
var t = ($ = e.__c).__H;
t && (It === $ ? (t.__h = [], $.__h = [], t.__.forEach(function(r) {
r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
})) : (t.__h.forEach(st), t.__h.forEach(Wt), t.__h = [], ce = 0)), It = $;
}, N.diffed = function(e) {
Ir && Ir(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (On.push(t) !== 1 && Or === N.requestAnimationFrame || ((Or = N.requestAnimationFrame) || Zo)(Ho)), t.__H.__.forEach(function(r) {
r.u && (r.__H = r.u), r.u = void 0;
})), It = $ = null;
}, N.__c = function(e, t) {
t.some(function(r) {
try {
r.__h.forEach(st), r.__h = r.__h.filter(function(n) {
return !n.__ || Wt(n);
});
} catch (n) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], N.__e(n, r.__v);
}
}), Mr && Mr(e, t);
}, N.unmount = function(e) {
Dr && Dr(e);
var t, r = e.__c;
r && r.__H && (r.__H.__.forEach(function(n) {
try {
st(n);
} catch (o) {
t = o;
}
}), r.__H = void 0, t && N.__e(t, r.__v));
};
var Tr = typeof requestAnimationFrame == "function";
function Zo(e) {
var t, r = function() {
clearTimeout(n), Tr && cancelAnimationFrame(t), setTimeout(e);
}, n = setTimeout(r, 100);
Tr && (t = requestAnimationFrame(r));
}
function st(e) {
var t = $, r = e.__c;
typeof r == "function" && (e.__c = void 0, r()), $ = t;
}
function Wt(e) {
var t = $;
e.__c = e.__(), $ = t;
}
function hr(e, t) {
return !e || e.length !== t.length || t.some(function(r, n) {
return r !== e[n];
});
}
function In(e, t) {
return typeof t == "function" ? t(e) : t;
}
var D = function() {
return D = 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;
}, D.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 Bo(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(r) {
return t[r] === void 0 && (t[r] = e(r)), t[r];
};
}
var Uo = /^((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)-.*))$/, Wo = /* @__PURE__ */ Bo(
function(e) {
return Uo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
);
function Mn(e, t) {
for (var r in t) e[r] = t[r];
return e;
}
function Ft(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 = F({ t: { __: r, u: t } }), o = n[0].t, i = n[1];
return Ie(function() {
o.__ = r, o.u = t, Mt(o) && i({ t: o });
}, [e, r, t]), ne(function() {
return Mt(o) && i({ t: o }), e(function() {
Mt(o) && i({ t: o });
});
}, [e]), r;
}
function Mt(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 Rn(e) {
e();
}
function Tn(e) {
return e;
}
function An() {
return [!1, Rn];
}
var Pn = Ie;
function zt(e, t) {
this.props = e, this.context = t;
}
function Fo(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 : Ft(this.props, o);
}
function n(o) {
return this.shouldComponentUpdate = r, R(e, o);
}
return n.displayName = "Memo(" + (e.displayName || e.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n;
}
(zt.prototype = new G()).isPureReactComponent = !0, zt.prototype.shouldComponentUpdate = function(e, t) {
return Ft(this.props, e) || Ft(this.state, t);
};
var Ar = C.__b;
C.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ar && Ar(e);
};
var zo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
function Go(e) {
function t(r) {
var n = Mn({}, r);
return delete n.ref, e(n, r.ref || null);
}
return t.$$typeof = zo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Pr = function(e, t) {
return e == null ? null : te(te(e).map(t));
}, jo = { map: Pr, forEach: Pr, 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 }, qo = C.__e;
C.__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);
}
qo(e, t, r, n);
};
var Hr = C.unmount;
function Hn(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 = Mn({}, 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 Hn(n, t, r);
})), e;
}
function Zn(e, t, r) {
return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(n) {
return Zn(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 ct() {
this.__u = 0, this.o = null, this.__b = null;
}
function Bn(e) {
var t = e.__.__c;
return t && t.__a && t.__a(e);
}
function Yo(e) {
var t, r, n;
function o(i) {
if (t || (t = e()).then(function(a) {
r = a.default || a;
}, function(a) {
n = a;
}), n) throw n;
if (!r) throw t;
return R(r, i);
}
return o.displayName = "Lazy", o.__f = !0, o;
}
function He() {
this.i = null, this.l = null;
}
C.unmount = function(e) {
var t = e.__c;
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Hr && Hr(e);
}, (ct.prototype = new G()).__c = function(e, t) {
var r = t.__c, n = this;
n.o == null && (n.o = []), n.o.push(r);
var o = Bn(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 u = n.state.__a;
n.__v.__k[0] = Zn(u, u.__c.__P, u.__c.__O);
}
var d;
for (n.setState({ __a: n.__b = null }); d = n.o.pop(); ) d.forceUpdate();
}
};
n.__u++ || 32 & t.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(a, a);
}, ct.prototype.componentWillUnmount = function() {
this.o = [];
}, ct.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] = Hn(this.__b, r, n.__O = n.__P);
}
this.__b = null;
}
var o = t.__a && R(H, null, e.fallback);
return o && (o.__u &= -33), [R(H, null, t.__a ? null : e.children), o];
};
var Zr = 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 Xo(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function Ko(e) {
var t = this, r = e.h;
if (t.componentWillUnmount = function() {
se(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;
}, 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(R(Xo, { context: t.context }, e.__v), t.v);
}
function Jo(e, t) {
var r = R(Ko, { __v: e, h: t });
return r.containerInfo = t, r;
}
(He.prototype = new G()).__a = function(e) {
var t = this, r = Bn(t.__v), n = t.l.get(e);
return n[0]++, function(o) {
var i = function() {
t.props.revealOrder ? (n.push(o), Zr(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) {
Zr(e, r, t);
});
};
var Un = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Qo = /^(?: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]/, ei = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, ti = /[A-Z0-9]/g, ri = typeof document < "u", ni = function(e) {
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
};
function oi(e, t, r) {
return t.__k == null && (t.textContent = ""), se(e, t), typeof r == "function" && r(), e ? e.__c : null;
}
function ii(e, t, r) {
return lr(e, t), typeof r == "function" && r(), e ? e.__c : null;
}
G.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
Object.defineProperty(G.prototype, e, { configurable: !0, get: function() {
return this["UNSAFE_" + e];
}, set: function(t) {
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
} });
});
var Br = C.event;
function ai() {
}
function si() {
return this.cancelBubble;
}
function ci() {
return this.defaultPrevented;
}
C.event = function(e) {
return Br && (e = Br(e)), e.persist = ai, e.isPropagationStopped = si, e.isDefaultPrevented = ci, e.nativeEvent = e;
};
var pr, li = { enumerable: !1, configurable: !0, get: function() {
return this.class;
} }, Ur = C.vnode;
C.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 || ri && a === "children" && n === "noscript" || a === "class" || a === "className")) {
var u = a.toLowerCase();
a === "defaultValue" && "value" in r && r.value == null ? a = "value" : a === "download" && c === !0 ? c = "" : u === "translate" && c === "no" ? c = !1 : u[0] === "o" && u[1] === "n" ? u === "ondoubleclick" ? a = "ondblclick" : u !== "onchange" || n !== "input" && n !== "textarea" || ni(r.type) ? u === "onfocus" ? a = "onfocusin" : u === "onblur" ? a = "onfocusout" : ei.test(a) && (a = u) : u = a = "oninput" : i && Qo.test(a) ? a = a.replace(ti, "-$&").toLowerCase() : c === null && (c = void 0), u === "oninput" && o[a = u] && (a = "oninputCapture"), o[a] = c;
}
}
n == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(r.children).forEach(function(d) {
d.props.selected = o.value.indexOf(d.props.value) != -1;
})), n == "select" && o.defaultValue != null && (o.value = te(r.children).forEach(function(d) {
d.props.selected = o.multiple ? o.defaultValue.indexOf(d.props.value) != -1 : o.defaultValue == d.props.value;
})), r.class && !r.className ? (o.class = r.class, Object.defineProperty(o, "className", li)) : (r.className && !r.class || r.class && r.className) && (o.class = o.className = r.className), t.props = o;
}(e), e.$$typeof = Un, Ur && Ur(e);
};
var Wr = C.__r;
C.__r = function(e) {
Wr && Wr(e), pr = e.__c;
};
var Fr = C.diffed;
C.diffed = function(e) {
Fr && Fr(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), pr = null;
};
var ui = { ReactCurrentDispatcher: { current: { readContext: function(e) {
return pr.__n[e.__c].props.value;
}, useCallback: _e, useContext: Ke, useDebugValue: _t, useDeferredValue: Tn, useEffect: ne, useId: Nn, useImperativeHandle: $n, useInsertionEffect: Pn, useLayoutEffect: Ie, useMemo: re, useReducer: fr, useRef: Xe, useState: F, useSyncExternalStore: Dn, useTransition: An } } };
function di(e) {
return R.bind(null, e);
}
function vt(e) {
return !!e && e.$$typeof === Un;
}
function fi(e) {
return vt(e) && e.type === H;
}
function hi(e) {
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
}
function pi(e) {
return vt(e) ? ur.apply(null, arguments) : e;
}
function _i(e) {
return !!e.__k && (se(null, e), !0);
}
function mi(e) {
return e && (e.base || e.nodeType === 1 && e) || null;
}
var gi = function(e, t) {
return e(t);
}, Li = function(e, t) {
return e(t);
}, yi = H, vi = vt, oe = { useState: F, useId: Nn, useReducer: fr, useEffect: ne, useLayoutEffect: Ie, useInsertionEffect: Pn, useTransition: An, useDeferredValue: Tn, useSyncExternalStore: Dn, startTransition: Rn, useRef: Xe, useImperativeHandle: $n, useMemo: re, useCallback: _e, useContext: Ke, useDebugValue: _t, version: "18.3.1", Children: jo, render: oi, hydrate: ii, unmountComponentAtNode: _i, createPortal: Jo, createElement: R, createContext: En, createFactory: di, cloneElement: pi, createRef: ko, Fragment: H, isValidElement: vt, isElement: vi, isFragment: fi, isMemo: hi, findDOMNode: mi, Component: G, PureComponent: zt, memo: Fo, forwardRef: Go, flushSync: Li, unstable_batchedUpdates: gi, StrictMode: yi, Suspense: ct, SuspenseList: He, lazy: Yo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ui };
function Ci(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Dt, zr;
function wi() {
return zr || (zr = 1, Dt = 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 u = Object.prototype.hasOwnProperty.bind(r), d = 0; d < a.length; d++) {
var h = a[d];
if (!u(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;
}), Dt;
}
var Si = wi();
const bi = /* @__PURE__ */ Ci(Si);
var O = "-ms-", Fe = "-moz-", k = "-webkit-", Wn = "comm", Ct = "rule", _r = "decl", Vi = "@import", Fn = "@keyframes", Ei = "@layer", zn = Math.abs, mr = String.fromCharCode, Gt = Object.assign;
function ki(e, t) {
return M(e, 0) ^ 45 ? (((t << 2 ^ M(e, 0)) << 2 ^ M(e, 1)) << 2 ^ M(e, 2)) << 2 ^ M(e, 3) : 0;
}
function Gn(e) {
return e.trim();
}
function Q(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function w(e, t, r) {
return e.replace(t, r);
}
function lt(e, t, r) {
return e.indexOf(t, r);
}
function M(e, t) {
return e.charCodeAt(t) | 0;
}
function ke(e, t, r) {
return e.slice(t, r);
}
function q(e) {
return e.length;
}
function jn(e) {
return e.length;
}
function Ze(e, t) {
return t.push(e), e;
}
function xi(e, t) {
return e.map(t).join("");
}
function Gr(e, t) {
return e.filter(function(r) {
return !Q(r, t);
});
}
var wt = 1, xe = 1, qn = 0, z = 0, I = 0, Me = "";
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: xe, length: a, return: "", siblings: c };
}
function ae(e, t) {
return Gt(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Se(e) {
for (; e.root; )
e = ae(e.root, { children: [e] });
Ze(e, e.siblings);
}
function Oi() {
return I;
}
function $i() {
return I = z > 0 ? M(Me, --z) : 0, xe--, I === 10 && (xe = 1, wt--), I;
}
function j() {
return I = z < qn ? M(Me, z++) : 0, xe++, I === 10 && (xe = 1, wt++), I;
}
function me() {
return M(Me, z);
}
function ut() {
return z;
}
function bt(e, t) {
return ke(Me, e, t);
}
function jt(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 Ni(e) {
return wt = xe = 1, qn = q(Me = e), z = 0, [];
}
function Ii(e) {
return Me = "", e;
}
function Rt(e) {
return Gn(bt(z - 1, qt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function Mi(e) {
for (; (I = me()) && I < 33; )
j();
return jt(e) > 2 || jt(I) > 3 ? "" : " ";
}
function Di(e, t) {
for (; --t && j() && !(I < 48 || I > 102 || I > 57 && I < 65 || I > 70 && I < 97); )
;
return bt(e, ut() + (t < 6 && me() == 32 && j() == 32));
}
function qt(e) {
for (; j(); )
switch (I) {
// ] ) " '
case e:
return z;
// " '
case 34:
case 39:
e !== 34 && e !== 39 && qt(I);
break;
// (
case 40:
e === 41 && qt(e);
break;
// \
case 92:
j();
break;
}
return z;
}
function Ri(e, t) {
for (; j() && e + I !== 57; )
if (e + I === 84 && me() === 47)
break;
return "/*" + bt(t, z - 1) + "*" + mr(e === 47 ? e : j());
}
function Ti(e) {
for (; !jt(me()); )
j();
return bt(e, z);
}
function Ai(e) {
return Ii(dt("", null, null, null, [""], e = Ni(e), 0, [0], e));
}
function dt(e, t, r, n, o, i, a, c, u) {
for (var d = 0, h = 0, l = a, p = 0, f = 0, _ = 0, L = 1, y = 1, m = 1, g = 0, E = "", b = o, x = i, S = n, v = E; y; )
switch (_ = g, g = j()) {
// (
case 40:
if (_ != 108 && M(v, l - 1) == 58) {
lt(v += w(Rt(g), "&", "&\f"), "&\f", zn(d ? c[d - 1] : 0)) != -1 && (m = -1);
break;
}
// " ' [
case 34:
case 39:
case 91:
v += Rt(g);
break;
// \t \n \r \s
case 9:
case 10:
case 13:
case 32:
v += Mi(_);
break;
// \
case 92:
v += Di(ut() - 1, 7);
continue;
// /
case 47:
switch (me()) {
case 42:
case 47:
Ze(Pi(Ri(j(), ut()), t, r, u), u);
break;
default:
v += "/";
}
break;
// {
case 123 * L:
c[d++] = q(v) * m;
// } ; \0
case 125 * L:
case 59:
case 0:
switch (g) {
// \0 }
case 0:
case 125:
y = 0;
// ;
case 59 + h:
m == -1 && (v = w(v, /\f/g, "")), f > 0 && q(v) - l && Ze(f > 32 ? qr(v + ";", n, r, l - 1, u) : qr(w(v, " ", "") + ";", n, r, l - 2, u), u);
break;
// @ ;
case 59:
v += ";";
// { rule/at-rule
default:
if (Ze(S = jr(v, t, r, d, h, o, c, E, b = [], x = [], l, i), i), g === 123)
if (h === 0)
dt(v, t, S, S, b, i, l, c, x);
else
switch (p === 99 && M(v, 3) === 110 ? 100 : p) {
// d l m s
case 100:
case 108:
case 109:
case 115:
dt(e, S, S, n && Ze(jr(e, S, S, 0, 0, o, c, E, o, b = [], l, x), x), o, x, l, c, n ? b : x);
break;
default:
dt(v, S, S, S, [""], x, 0, c, x);
}
}
d = h = f = 0, L = m = 1, E = v = "", l = a;
break;
// :
case 58:
l = 1 + q(v), f = _;
default:
if (L < 1) {
if (g == 123)
--L;
else if (g == 125 && L++ == 0 && $i() == 125)
continue;
}
switch (v += mr(g), g * L) {
// &
case 38:
m = h > 0 ? 1 : (v += "\f", -1);
break;
// ,
case 44:
c[d++] = (q(v) - 1) * m, m = 1;
break;
// @
case 64:
me() === 45 && (v += Rt(j())), p = me(), h = l = q(E = v += Ti(ut())), g++;
break;
// -
case 45:
_ === 45 && q(v) == 2 && (L = 0);
}
}
return i;
}
function jr(e, t, r, n, o, i, a, c, u, d, h, l) {
for (var p = o - 1, f = o === 0 ? i : [""], _ = jn(f), L = 0, y = 0, m = 0; L < n; ++L)
for (var g = 0, E = ke(e, p + 1, p = zn(y = a[L])), b = e; g < _; ++g)
(b = Gn(y > 0 ? f[g] + " " + E : w(E, /&\f/g, f[g]))) && (u[m++] = b);
return St(e, t, r, o === 0 ? Ct : c, u, d, h, l);
}
function Pi(e, t, r, n) {
return St(e, t, r, Wn, mr(Oi()), ke(e, 2, -2), 0, n);
}
function qr(e, t, r, n, o) {
return St(e, t, r, _r, ke(e, 0, n), ke(e, n + 1, -1), n, o);
}
function Yn(e, t, r) {
switch (ki(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|rule|rule-color|rule-style|rule-width|span|width)
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829: