@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
1,200 lines • 113 kB
JavaScript
var go = Object.defineProperty;
var yo = (e, t, n) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
var Je = (e, t, n) => yo(e, typeof t != "symbol" ? t + "" : t, n);
var Ve, S, lr, le, bn, ur, Lt, nn, Dt, Mt, fr, Ge = {}, dr = [], vo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, mt = Array.isArray;
function Q(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function _r(e) {
var t = e.parentNode;
t && t.removeChild(e);
}
function L(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 ? Ve.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) a[i] === void 0 && (a[i] = e.defaultProps[i]);
return Fe(e, a, r, o, null);
}
function Fe(e, t, n, r, o) {
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++lr, __i: -1, __u: 0 };
return o == null && S.vnode != null && S.vnode(i), i;
}
function Co() {
return { current: null };
}
function j(e) {
return e.children;
}
function W(e, t) {
this.props = e, this.context = t;
}
function me(e, t) {
if (t == null) return e.__ ? me(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" ? me(e) : null;
}
function hr(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 hr(e);
}
}
function Ht(e) {
(!e.__d && (e.__d = !0) && le.push(e) && !ft.__r++ || bn !== S.debounceRendering) && ((bn = S.debounceRendering) || ur)(ft);
}
function ft() {
var e, t, n, r, o, i, a, s;
for (le.sort(Lt); e = le.shift(); ) e.__d && (t = le.length, r = void 0, i = (o = (n = e).__v).__e, a = [], s = [], n.__P && ((r = Q({}, o)).__v = o.__v + 1, S.vnode && S.vnode(r), rn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, a, i ?? me(o), !!(32 & o.__u), s), r.__v = o.__v, r.__.__k[r.__i] = r, gr(a, r, s), r.__e != i && hr(r)), le.length > t && le.sort(Lt));
ft.__r = 0;
}
function pr(e, t, n, r, o, i, a, s, l, u, d) {
var c, h, f, p, y, v = r && r.__k || dr, m = t.length;
for (n.__d = l, wo(n, t, v), l = n.__d, c = 0; c < m; c++) (f = n.__k[c]) != null && typeof f != "boolean" && typeof f != "function" && (h = f.__i === -1 ? Ge : v[f.__i] || Ge, f.__i = c, rn(e, f, h, o, i, a, s, l, u, d), p = f.__e, f.ref && h.ref != f.ref && (h.ref && on(h.ref, null, f), d.push(f.ref, f.__c || p, f)), y == null && p != null && (y = p), 65536 & f.__u || h.__k === f.__k ? (l && typeof f.type == "string" && !e.contains(l) && (l = me(h)), l = mr(f, l, e)) : typeof f.type == "function" && f.__d !== void 0 ? l = f.__d : p && (l = p.nextSibling), f.__d = void 0, f.__u &= -196609);
n.__d = l, n.__e = y;
}
function wo(e, t, n) {
var r, o, i, a, s, l = t.length, u = n.length, d = u, c = 0;
for (e.__k = [], r = 0; r < l; r++) a = r + c, (o = e.__k[r] = (o = t[r]) == null || typeof o == "boolean" || typeof o == "function" ? null : typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Fe(null, o, null, null, null) : mt(o) ? Fe(j, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Fe(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, s = bo(o, n, a, d), o.__i = s, i = null, s !== -1 && (d--, (i = n[s]) && (i.__u |= 131072)), i == null || i.__v === null ? (s == -1 && c--, typeof o.type != "function" && (o.__u |= 65536)) : s !== a && (s == a - 1 ? c = s - a : s == a + 1 ? c++ : s > a ? d > l - a ? c += s - a : c-- : s < a && c++, s !== r + c && (o.__u |= 65536))) : (i = n[a]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = me(i)), Ut(i, i, !1), n[a] = null, d--);
if (d) for (r = 0; r < u; r++) (i = n[r]) != null && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = me(i)), Ut(i, i));
}
function mr(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 = mr(r[o], t, n));
return t;
}
e.__e != t && (n.insertBefore(e.__e, t || null), t = e.__e);
do
t = t && t.nextSibling;
while (t != null && t.nodeType === 8);
return t;
}
function ee(e, t) {
return t = t || [], e == null || typeof e == "boolean" || (mt(e) ? e.some(function(n) {
ee(n, t);
}) : t.push(e)), t;
}
function bo(e, t, n, r) {
var o = e.key, i = e.type, a = n - 1, s = n + 1, l = t[n];
if (l === null || l && o == l.key && i === l.type && !(131072 & l.__u)) return n;
if (r > (l != null && !(131072 & l.__u) ? 1 : 0)) for (; a >= 0 || s < t.length; ) {
if (a >= 0) {
if ((l = t[a]) && !(131072 & l.__u) && o == l.key && i === l.type) return a;
a--;
}
if (s < t.length) {
if ((l = t[s]) && !(131072 & l.__u) && o == l.key && i === l.type) return s;
s++;
}
}
return -1;
}
function Sn(e, t, n) {
t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || vo.test(t) ? n : n + "px";
}
function Qe(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 || Sn(e.style, t, "");
if (n) for (t in n) r && n[t] === r[t] || Sn(e.style, t, n[t]);
}
else if (t[0] === "o" && t[1] === "n") i = t !== (t = t.replace(/(PointerCapture)$|Capture$/i, "$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 = nn, e.addEventListener(t, i ? Mt : Dt, i)) : e.removeEventListener(t, i ? Mt : Dt, 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 En(e) {
return function(t) {
if (this.l) {
var n = this.l[t.type + e];
if (t.t == null) t.t = nn++;
else if (t.t < n.u) return;
return n(S.event ? S.event(t) : t);
}
};
}
function rn(e, t, n, r, o, i, a, s, l, u) {
var d, c, h, f, p, y, v, m, g, N, E, x, b, C, M, V, H = t.type;
if (t.constructor !== void 0) return null;
128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (d = S.__b) && d(t);
e: if (typeof H == "function") try {
if (m = t.props, g = "prototype" in H && H.prototype.render, N = (d = H.contextType) && r[d.__c], E = d ? N ? N.props.value : d.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (g ? t.__c = c = new H(m, E) : (t.__c = c = new W(m, E), c.constructor = H, c.render = Eo), N && N.sub(c), c.props = m, c.state || (c.state = {}), c.context = E, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), g && c.__s == null && (c.__s = c.state), g && H.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Q({}, c.__s)), Q(c.__s, H.getDerivedStateFromProps(m, c.__s))), f = c.props, p = c.state, c.__v = t, h) g && H.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), g && c.componentDidMount != null && c.__h.push(c.componentDidMount);
else {
if (g && H.getDerivedStateFromProps == null && m !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, E), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, E) === !1 || t.__v === n.__v)) {
for (t.__v !== n.__v && (c.props = m, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(we) {
we && (we.__ = t);
}), x = 0; x < c._sb.length; x++) c.__h.push(c._sb[x]);
c._sb = [], c.__h.length && a.push(c);
break e;
}
c.componentWillUpdate != null && c.componentWillUpdate(m, c.__s, E), g && c.componentDidUpdate != null && c.__h.push(function() {
c.componentDidUpdate(f, p, y);
});
}
if (c.context = E, c.props = m, c.__P = e, c.__e = !1, b = S.__r, C = 0, g) {
for (c.state = c.__s, c.__d = !1, b && b(t), d = c.render(c.props, c.state, c.context), M = 0; M < c._sb.length; M++) c.__h.push(c._sb[M]);
c._sb = [];
} else do
c.__d = !1, b && b(t), d = c.render(c.props, c.state, c.context), c.state = c.__s;
while (c.__d && ++C < 25);
c.state = c.__s, c.getChildContext != null && (r = Q(Q({}, r), c.getChildContext())), g && !h && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(f, p)), pr(e, mt(V = d != null && d.type === j && d.key == null ? d.props.children : d) ? V : [V], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
} catch (we) {
t.__v = null, l || i != null ? (t.__e = s, t.__u |= l ? 160 : 32, i[i.indexOf(s)] = null) : (t.__e = n.__e, t.__k = n.__k), S.__e(we, t, n);
}
else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = So(n.__e, t, n, r, o, i, a, l, u);
(d = S.diffed) && d(t);
}
function gr(e, t, n) {
t.__d = void 0;
for (var r = 0; r < n.length; r++) on(n[r], n[++r], n[++r]);
S.__c && S.__c(t, e), e.some(function(o) {
try {
e = o.__h, o.__h = [], e.some(function(i) {
i.call(o);
});
} catch (i) {
S.__e(i, o.__v);
}
});
}
function So(e, t, n, r, o, i, a, s, l) {
var u, d, c, h, f, p, y, v = n.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 (u = 0; u < i.length; u++) if ((f = i[u]) && "setAttribute" in f == !!g && (g ? f.localName === g : f.nodeType === 3)) {
e = f, i[u] = null;
break;
}
}
if (e == null) {
if (g === null) return document.createTextNode(m);
e = document.createElementNS(o, g, m.is && m), i = null, s = !1;
}
if (g === null) v === m || s && e.data === m || (e.data = m);
else {
if (i = i && Ve.call(e.childNodes), v = n.props || Ge, !s && i != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(f = e.attributes[u]).name] = f.value;
for (u in v) if (f = v[u], u != "children") {
if (u == "dangerouslySetInnerHTML") c = f;
else if (u !== "key" && !(u in m)) {
if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
Qe(e, u, null, f, o);
}
}
for (u in m) f = m[u], u == "children" ? h = f : u == "dangerouslySetInnerHTML" ? d = f : u == "value" ? p = f : u == "checked" ? y = f : u === "key" || s && typeof f != "function" || v[u] === f || Qe(e, u, f, v[u], o);
if (d) s || c && (d.__html === c.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
else if (c && (e.innerHTML = ""), pr(e, mt(h) ? h : [h], t, n, r, g === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && me(n, 0), s, l), i != null) for (u = i.length; u--; ) i[u] != null && _r(i[u]);
s || (u = "value", p !== void 0 && (p !== e[u] || g === "progress" && !p || g === "option" && p !== v[u]) && Qe(e, u, p, v[u], o), u = "checked", y !== void 0 && y !== e[u] && Qe(e, u, y, v[u], o));
}
return e;
}
function on(e, t, n) {
try {
typeof e == "function" ? e(t) : e.current = t;
} catch (r) {
S.__e(r, n);
}
}
function Ut(e, t, n) {
var r, o;
if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || on(r, null, t)), (r = e.__c) != null) {
if (r.componentWillUnmount) try {
r.componentWillUnmount();
} catch (i) {
S.__e(i, t);
}
r.base = r.__P = null;
}
if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Ut(r[o], t, n || typeof e.type != "function");
n || e.__e == null || _r(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
}
function Eo(e, t, n) {
return this.constructor(e, n);
}
function ae(e, t, n) {
var r, o, i, a;
S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], rn(t, e = (!r && n || t).__k = L(j, null, [e]), o || Ge, Ge, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ve.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), gr(i, e, a);
}
function an(e, t) {
ae(e, t, an);
}
function sn(e, t, n) {
var r, o, i, a, s = Q({}, 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] : s[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
return arguments.length > 2 && (s.children = arguments.length > 3 ? Ve.call(arguments, 2) : n), Fe(e.type, s, r || e.key, o || e.ref, null);
}
function yr(e, t) {
var n = { __c: t = "__cC" + fr++, __: e, Consumer: function(r, o) {
return r.children(o);
}, Provider: function(r) {
var o, i;
return this.getChildContext || (o = [], (i = {})[t] = this, this.getChildContext = function() {
return i;
}, this.componentWillUnmount = function() {
o = null;
}, this.shouldComponentUpdate = function(a) {
this.props.value !== a.value && o.some(function(s) {
s.__e = !0, Ht(s);
});
}, this.sub = function(a) {
o.push(a);
var s = a.componentWillUnmount;
a.componentWillUnmount = function() {
o && o.splice(o.indexOf(a), 1), s && s.call(a);
};
}), r.children;
} };
return n.Provider.__ = n.Consumer.contextType = n;
}
Ve = dr.slice, S = { __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 (s) {
e = s;
}
throw e;
} }, lr = 0, W.prototype.setState = function(e, t) {
var n;
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Q({}, this.state), typeof e == "function" && (e = e(Q({}, n), this.props)), e && Q(n, e), e != null && this.__v && (t && this._sb.push(t), Ht(this));
}, W.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Ht(this));
}, W.prototype.render = j, le = [], ur = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Lt = function(e, t) {
return e.__v.__b - t.__v.__b;
}, ft.__r = 0, nn = 0, Dt = En(!1), Mt = En(!0), fr = 0;
function cn() {
return (cn = 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 $o = ["context", "children"];
function No(e) {
this.getChildContext = function() {
return e.context;
};
var t = e.children, n = function(r, o) {
if (r == null) return {};
var i, a, s = {}, l = Object.keys(r);
for (a = 0; a < l.length; a++) o.indexOf(i = l[a]) >= 0 || (s[i] = r[i]);
return s;
}(e, $o);
return sn(t, n);
}
function ko() {
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
this.dispatchEvent(e), this._vdom = L(No, cn({}, 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, s = n.attributes, l = n.childNodes;
for (a = s.length; a--; ) s[a].name !== "slot" && (i[s[a].name] = s[a].value, i[vr(s[a].name)] = s[a].value);
for (a = l.length; a--; ) {
var u = t(l[a], null), d = l[a].slot;
d ? i[d] = L($n, { name: d }, u) : o[a] = u;
}
var c = r ? L($n, null, o) : o;
return L(r || n.nodeName.toLowerCase(), i, c);
}(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? an : ae)(this._vdom, this._root);
}
function vr(e) {
return e.replace(/-(\w)/g, function(t, n) {
return n ? n.toUpperCase() : "";
});
}
function xo(e, t, n) {
if (this._vdom) {
var r = {};
r[e] = n = n ?? void 0, r[vr(e)] = n, this._vdom = sn(this._vdom, r), ae(this._vdom, this._root);
}
}
function To() {
ae(this._vdom = null, this._root);
}
function $n(e, t) {
var n = this;
return L("slot", cn({}, 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 Oo(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 = ko, o.prototype.attributeChangedCallback = xo, o.prototype.disconnectedCallback = To, 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 s = typeof a;
a != null && s !== "string" && s !== "boolean" && s !== "number" || this.setAttribute(i, a);
} });
}), customElements.define(t, o);
}
var Io = 0;
function _(e, t, n, r, o, i) {
t || (t = {});
var a, s, l = t;
if ("ref" in l) for (s in l = {}, t) s == "ref" ? a = t[s] : l[s] = t[s];
var u = { type: e, props: l, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --Io, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (a = e.defaultProps)) for (s in a) l[s] === void 0 && (l[s] = a[s]);
return S.vnode && S.vnode(u), u;
}
const Nn = {
CONTINUE_DETECTION: "continue-detection",
SWITCH_CAMERA: "switch-camera",
TOGGLE_MIRROR: "toggle-mirror"
};
var Cr = /* @__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))(Cr || {}), de = /* @__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))(de || {});
const Y = {
LOADING: "LOADING",
ERROR: "ERROR",
WAITING: "WAITING",
RUNNING: "RUNNING"
}, z = {
CANDIDATE_SELECTION: "candidate_selection",
PALM_CENTERING: "palm_centering",
PALM_NOT_PRESENT: "palm_not_present",
PALM_TOO_FAR: "palm_too_far",
PALM_TOO_CLOSE: "palm_too_close",
SHARPNESS_TOO_LOW: "sharpness_too_low",
BRIGHTNESS_TOO_LOW: "brightness_too_low",
BRIGHTNESS_TOO_HIGH: "brightness_too_high",
DEVICE_PITCHED: "device_pitched"
};
var se, O, Tt, kn, $e = 0, wr = [], I = S, xn = I.__b, Tn = I.__r, On = I.diffed, In = I.__c, An = I.unmount, Rn = I.__;
function Oe(e, t) {
I.__h && I.__h(O, e, $e || t), $e = 0;
var n = O.__H || (O.__H = { __: [], __h: [] });
return e >= n.__.length && n.__.push({}), n.__[e];
}
function B(e) {
return $e = 1, ln(Er, e);
}
function ln(e, t, n) {
var r = Oe(se++, 2);
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Er(void 0, t), function(s) {
var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, s);
l !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
}], r.__c = O, !O.u)) {
var o = function(s, l, u) {
if (!r.__c.__H) return !0;
var d = r.__c.__H.__.filter(function(h) {
return !!h.__c;
});
if (d.every(function(h) {
return !h.__N;
})) return !i || i.call(this, s, l, u);
var c = !1;
return d.forEach(function(h) {
if (h.__N) {
var f = h.__[0];
h.__ = h.__N, h.__N = void 0, f !== h.__[0] && (c = !0);
}
}), !(!c && r.__c.props === s) && (!i || i.call(this, s, l, u));
};
O.u = !0;
var i = O.shouldComponentUpdate, a = O.componentWillUpdate;
O.componentWillUpdate = function(s, l, u) {
if (this.__e) {
var d = i;
i = void 0, o(s, l, u), i = d;
}
a && a.call(this, s, l, u);
}, O.shouldComponentUpdate = o;
}
return r.__N || r.__;
}
function ne(e, t) {
var n = Oe(se++, 3);
!I.__s && un(n.__H, t) && (n.__ = e, n.i = t, O.__H.__h.push(n));
}
function Ie(e, t) {
var n = Oe(se++, 4);
!I.__s && un(n.__H, t) && (n.__ = e, n.i = t, O.__h.push(n));
}
function Ze(e) {
return $e = 5, te(function() {
return { current: e };
}, []);
}
function br(e, t, n) {
$e = 6, Ie(function() {
return typeof e == "function" ? (e(t()), function() {
return e(null);
}) : e ? (e.current = t(), function() {
return e.current = null;
}) : void 0;
}, n == null ? n : n.concat(e));
}
function te(e, t) {
var n = Oe(se++, 7);
return un(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
}
function _e(e, t) {
return $e = 8, te(function() {
return e;
}, t);
}
function Ye(e) {
var t = O.context[e.__c], n = Oe(se++, 9);
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(O)), t.props.value) : e.__;
}
function dt(e, t) {
I.useDebugValue && I.useDebugValue(t ? t(e) : e);
}
function Sr() {
var e = Oe(se++, 11);
if (!e.__) {
for (var t = O.__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 Ao() {
for (var e; e = wr.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(ot), e.__H.__h.forEach(Bt), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], I.__e(t, e.__v);
}
}
I.__b = function(e) {
O = null, xn && xn(e);
}, I.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Rn && Rn(e, t);
}, I.__r = function(e) {
Tn && Tn(e), se = 0;
var t = (O = e.__c).__H;
t && (Tt === O ? (t.__h = [], O.__h = [], t.__.forEach(function(n) {
n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
})) : (t.__h.forEach(ot), t.__h.forEach(Bt), t.__h = [], se = 0)), Tt = O;
}, I.diffed = function(e) {
On && On(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (wr.push(t) !== 1 && kn === I.requestAnimationFrame || ((kn = I.requestAnimationFrame) || Ro)(Ao)), t.__H.__.forEach(function(n) {
n.i && (n.__H = n.i), n.i = void 0;
})), Tt = O = null;
}, I.__c = function(e, t) {
t.some(function(n) {
try {
n.__h.forEach(ot), n.__h = n.__h.filter(function(r) {
return !r.__ || Bt(r);
});
} catch (r) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], I.__e(r, n.__v);
}
}), In && In(e, t);
}, I.unmount = function(e) {
An && An(e);
var t, n = e.__c;
n && n.__H && (n.__H.__.forEach(function(r) {
try {
ot(r);
} catch (o) {
t = o;
}
}), n.__H = void 0, t && I.__e(t, n.__v));
};
var Pn = typeof requestAnimationFrame == "function";
function Ro(e) {
var t, n = function() {
clearTimeout(r), Pn && cancelAnimationFrame(t), setTimeout(e);
}, r = setTimeout(n, 100);
Pn && (t = requestAnimationFrame(n));
}
function ot(e) {
var t = O, n = e.__c;
typeof n == "function" && (e.__c = void 0, n()), O = t;
}
function Bt(e) {
var t = O;
e.__c = e.__(), O = t;
}
function un(e, t) {
return !e || e.length !== t.length || t.some(function(n, r) {
return n !== e[r];
});
}
function Er(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 ge(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 Po(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(n) {
return t[n] === void 0 && (t[n] = e(n)), t[n];
};
}
var Lo = /^((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)-.*))$/, Do = /* @__PURE__ */ Po(
function(e) {
return Lo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
);
function $r(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function Ft(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 zt(e, t) {
this.props = e, this.context = t;
}
function Mo(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 : Ft(this.props, o);
}
function r(o) {
return this.shouldComponentUpdate = n, L(e, o);
}
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
}
(zt.prototype = new W()).isPureReactComponent = !0, zt.prototype.shouldComponentUpdate = function(e, t) {
return Ft(this.props, e) || Ft(this.state, t);
};
var Ln = S.__b;
S.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ln && Ln(e);
};
var Ho = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
function Uo(e) {
function t(n) {
var r = $r({}, n);
return delete r.ref, e(r, n.ref || null);
}
return t.$$typeof = Ho, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Dn = function(e, t) {
return e == null ? null : ee(ee(e).map(t));
}, Bo = { map: Dn, forEach: Dn, count: function(e) {
return e ? ee(e).length : 0;
}, only: function(e) {
var t = ee(e);
if (t.length !== 1) throw "Children.only";
return t[0];
}, toArray: ee }, Fo = S.__e;
S.__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);
}
Fo(e, t, n, r);
};
var Mn = S.unmount;
function Nr(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 = $r({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
return Nr(r, t, n);
})), e;
}
function kr(e, t, n) {
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
return kr(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 it() {
this.__u = 0, this.t = null, this.__b = null;
}
function xr(e) {
var t = e.__.__c;
return t && t.__a && t.__a(e);
}
function zo(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 L(n, i);
}
return o.displayName = "Lazy", o.__f = !0, o;
}
function Me() {
this.u = null, this.o = null;
}
S.unmount = function(e) {
var t = e.__c;
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Mn && Mn(e);
}, (it.prototype = new W()).__c = function(e, t) {
var n = t.__c, r = this;
r.t == null && (r.t = []), r.t.push(n);
var o = xr(r.__v), i = !1, a = function() {
i || (i = !0, n.__R = null, o ? o(s) : s());
};
n.__R = a;
var s = function() {
if (!--r.__u) {
if (r.state.__a) {
var l = r.state.__a;
r.__v.__k[0] = kr(l, l.__c.__P, l.__c.__O);
}
var u;
for (r.setState({ __a: r.__b = null }); u = r.t.pop(); ) u.forceUpdate();
}
};
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(a, a);
}, it.prototype.componentWillUnmount = function() {
this.t = [];
}, it.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] = Nr(this.__b, n, r.__O = r.__P);
}
this.__b = null;
}
var o = t.__a && L(j, null, e.fallback);
return o && (o.__u &= -33), [L(j, null, t.__a ? null : e.children), o];
};
var Hn = function(e, t, n) {
if (++n[1] === n[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size)) for (n = e.u; n; ) {
for (; n.length > 3; ) n.pop()();
if (n[1] < n[0]) break;
e.u = n = n[2];
}
};
function Wo(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function Go(e) {
var t = this, n = e.i;
t.componentWillUnmount = function() {
ae(null, t.l), t.l = null, t.i = null;
}, t.i && t.i !== n && t.componentWillUnmount(), t.l || (t.i = n, t.l = { nodeType: 1, parentNode: n, childNodes: [], contains: function() {
return !0;
}, appendChild: function(r) {
this.childNodes.push(r), t.i.appendChild(r);
}, insertBefore: function(r, o) {
this.childNodes.push(r), t.i.appendChild(r);
}, removeChild: function(r) {
this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.i.removeChild(r);
} }), ae(L(Wo, { context: t.context }, e.__v), t.l);
}
function jo(e, t) {
var n = L(Go, { __v: e, i: t });
return n.containerInfo = t, n;
}
(Me.prototype = new W()).__a = function(e) {
var t = this, n = xr(t.__v), r = t.o.get(e);
return r[0]++, function(o) {
var i = function() {
t.props.revealOrder ? (r.push(o), Hn(t, e, r)) : o();
};
n ? n(i) : i();
};
}, Me.prototype.render = function(e) {
this.u = null, this.o = /* @__PURE__ */ new Map();
var t = ee(e.children);
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
for (var n = t.length; n--; ) this.o.set(t[n], this.u = [1, 0, this.u]);
return e.children;
}, Me.prototype.componentDidUpdate = Me.prototype.componentDidMount = function() {
var e = this;
this.o.forEach(function(t, n) {
Hn(e, n, t);
});
};
var Tr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Vo = /^(?: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]/, Zo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Yo = /[A-Z0-9]/g, qo = typeof document < "u", Xo = function(e) {
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
};
function Ko(e, t, n) {
return t.__k == null && (t.textContent = ""), ae(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
function Jo(e, t, n) {
return an(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
W.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
Object.defineProperty(W.prototype, e, { configurable: !0, get: function() {
return this["UNSAFE_" + e];
}, set: function(t) {
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
} });
});
var Un = S.event;
function Qo() {
}
function ei() {
return this.cancelBubble;
}
function ti() {
return this.defaultPrevented;
}
S.event = function(e) {
return Un && (e = Un(e)), e.persist = Qo, e.isPropagationStopped = ei, e.isDefaultPrevented = ti, e.nativeEvent = e;
};
var fn, ni = { enumerable: !1, configurable: !0, get: function() {
return this.class;
} }, Bn = S.vnode;
S.vnode = function(e) {
typeof e.type == "string" && function(t) {
var n = t.props, r = t.type, o = {};
for (var i in n) {
var a = n[i];
if (!(i === "value" && "defaultValue" in n && a == null || qo && i === "children" && r === "noscript" || i === "class" || i === "className")) {
var s = i.toLowerCase();
i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && a === !0 ? a = "" : s === "translate" && a === "no" ? a = !1 : s === "ondoubleclick" ? i = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || Xo(n.type) ? s === "onfocus" ? i = "onfocusin" : s === "onblur" ? i = "onfocusout" : Zo.test(i) ? i = s : r.indexOf("-") === -1 && Vo.test(i) ? i = i.replace(Yo, "-$&").toLowerCase() : a === null && (a = void 0) : s = i = "oninput", s === "oninput" && o[i = s] && (i = "oninputCapture"), o[i] = a;
}
}
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = ee(n.children).forEach(function(l) {
l.props.selected = o.value.indexOf(l.props.value) != -1;
})), r == "select" && o.defaultValue != null && (o.value = ee(n.children).forEach(function(l) {
l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ni)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
}(e), e.$$typeof = Tr, Bn && Bn(e);
};
var Fn = S.__r;
S.__r = function(e) {
Fn && Fn(e), fn = e.__c;
};
var zn = S.diffed;
S.diffed = function(e) {
zn && zn(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), fn = null;
};
var ri = { ReactCurrentDispatcher: { current: { readContext: function(e) {
return fn.__n[e.__c].props.value;
}, useCallback: _e, useContext: Ye, useDebugValue: dt, useDeferredValue: Ir, useEffect: ne, useId: Sr, useImperativeHandle: br, useInsertionEffect: Rr, useLayoutEffect: Ie, useMemo: te, useReducer: ln, useRef: Ze, useState: B, useSyncExternalStore: Pr, useTransition: Ar } } };
function oi(e) {
return L.bind(null, e);
}
function gt(e) {
return !!e && e.$$typeof === Tr;
}
function ii(e) {
return gt(e) && e.type === j;
}
function ai(e) {
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
}
function si(e) {
return gt(e) ? sn.apply(null, arguments) : e;
}
function ci(e) {
return !!e.__k && (ae(null, e), !0);
}
function li(e) {
return e && (e.base || e.nodeType === 1 && e) || null;
}
var ui = function(e, t) {
return e(t);
}, fi = function(e, t) {
return e(t);
}, di = j;
function Or(e) {
e();
}
function Ir(e) {
return e;
}
function Ar() {
return [!1, Or];
}
var Rr = Ie, _i = gt;
function Pr(e, t) {
var n = t(), r = B({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
return Ie(function() {
o.__ = n, o.v = t, Ot(o) && i({ h: o });
}, [e, n, t]), ne(function() {
return Ot(o) && i({ h: o }), e(function() {
Ot(o) && i({ h: o });
});
}, [e]), n;
}
function Ot(e) {
var t, n, r = e.v, o = e.__;
try {
var i = r();
return !((t = o) === (n = i) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
} catch {
return !0;
}
}
var re = { useState: B, useId: Sr, useReducer: ln, useEffect: ne, useLayoutEffect: Ie, useInsertionEffect: Rr, useTransition: Ar, useDeferredValue: Ir, useSyncExternalStore: Pr, startTransition: Or, useRef: Ze, useImperativeHandle: br, useMemo: te, useCallback: _e, useContext: Ye, useDebugValue: dt, version: "17.0.2", Children: Bo, render: Ko, hydrate: Jo, unmountComponentAtNode: ci, createPortal: jo, createElement: L, createContext: yr, createFactory: oi, cloneElement: si, createRef: Co, Fragment: j, isValidElement: gt, isElement: _i, isFragment: ii, isMemo: ai, findDOMNode: li, Component: W, PureComponent: zt, memo: Mo, forwardRef: Uo, flushSync: fi, unstable_batchedUpdates: ui, StrictMode: di, Suspense: it, SuspenseList: Me, lazy: zo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ri };
function hi(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var pi = 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), s = Object.keys(n);
if (a.length !== s.length)
return !1;
for (var l = Object.prototype.hasOwnProperty.bind(n), u = 0; u < a.length; u++) {
var d = a[u];
if (!l(d))
return !1;
var c = t[d], h = n[d];
if (i = r ? r.call(o, c, h, d) : void 0, i === !1 || i === void 0 && c !== h)
return !1;
}
return !0;
};
const mi = /* @__PURE__ */ hi(pi);
var T = "-ms-", ze = "-moz-", k = "-webkit-", Lr = "comm", yt = "rule", dn = "decl", gi = "@import", Dr = "@keyframes", yi = "@layer", Mr = Math.abs, _n = String.fromCharCode, Wt = Object.assign;
function vi(e, t) {
return R(e, 0) ^ 45 ? (((t << 2 ^ R(e, 0)) << 2 ^ R(e, 1)) << 2 ^ R(e, 2)) << 2 ^ R(e, 3) : 0;
}
function Hr(e) {
return e.trim();
}
function K(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function w(e, t, n) {
return e.replace(t, n);
}
function at(e, t, n) {
return e.indexOf(t, n);
}
function R(e, t) {
return e.charCodeAt(t) | 0;
}
function Ne(e, t, n) {
return e.slice(t, n);
}
function Z(e) {
return e.length;
}
function Ur(e) {
return e.length;
}
function He(e, t) {
return t.push(e), e;
}
function Ci(e, t) {
return e.map(t).join("");
}
function Wn(e, t) {
return e.filter(function(n) {
return !K(n, t);
});
}
var vt = 1, ke = 1, Br = 0, F = 0, A = 0, Ae = "";
function Ct(e, t, n, r, o, i, a, s) {
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: vt, column: ke, length: a, return: "", siblings: s };
}
function ie(e, t) {
return Wt(Ct("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function Se(e) {
for (; e.root; )
e = ie(e.root, { children: [e] });
He(e, e.siblings);
}
function wi() {
return A;
}
function bi() {
return A = F > 0 ? R(Ae, --F) : 0, ke--, A === 10 && (ke = 1, vt--), A;
}
function G() {
return A = F < Br ? R(Ae, F++) : 0, ke++, A === 10 && (ke = 1, vt++), A;
}
function he() {
return R(Ae, F);
}
function st() {
return F;
}
function wt(e, t) {
return Ne(Ae, e, t);
}
function Gt(e) {
switch (e) {
case 0:
case 9:
case 10:
case 13:
case 32:
return 5;
case 33:
case 43:
case 44:
case 47:
case 62:
case 64:
case 126:
case 59:
case 123:
case 125:
return 4;
case 58:
return 3;
case 34:
case 39:
case 40:
case 91:
return 2;
case 41:
case 93:
return 1;
}
return 0;
}
function Si(e) {
return vt = ke = 1, Br = Z(Ae = e), F = 0, [];
}
function Ei(e) {
return Ae = "", e;
}
function It(e) {
return Hr(wt(F - 1, jt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function $i(e) {
for (; (A = he()) && A < 33; )
G();
return Gt(e) > 2 || Gt(A) > 3 ? "" : " ";
}
function Ni(e, t) {
for (; --t && G() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
;
return wt(e, st() + (t < 6 && he() == 32 && G() == 32));
}
function jt(e) {
for (; G(); )
switch (A) {
case e:
return F;
case 34:
case 39:
e !== 34 && e !== 39 && jt(A);
break;
case 40:
e === 41 && jt(e);
break;
case 92:
G();
break;
}
return F;
}
function ki(e, t) {
for (; G() && e + A !== 57; )
if (e + A === 84 && he() === 47)
break;
return "/*" + wt(t, F - 1) + "*" + _n(e === 47 ? e : G());
}
function xi(e) {
for (; !Gt(he()); )
G();
return wt(e, F);
}
function Ti(e) {
return Ei(ct("", null, null, null, [""], e = Si(e), 0, [0], e));
}
function ct(e, t, n, r, o, i, a, s, l) {
for (var u = 0, d = 0, c = a, h = 0, f = 0, p = 0, y = 1, v = 1, m = 1, g = 0, N = "", E = o, x = i, b = r, C = N; v; )
switch (p = g, g = G()) {
case 40:
if (p != 108 && R(C, c - 1) == 58) {
at(C += w(It(g), "&", "&\f"), "&\f", Mr(u ? s[u - 1] : 0)) != -1 && (m = -1);
break;
}
case 34:
case 39:
case 91:
C += It(g);
break;
case 9:
case 10:
case 13:
case 32:
C += $i(p);
break;
case 92:
C += Ni(st() - 1, 7);
continue;
case 47:
switch (he()) {
case 42:
case 47:
He(Oi(ki(G(), st()), t, n, l), l);
break;
default:
C += "/";
}
break;
case 123 * y:
s[u++] = Z(C) * m;
case 125 * y:
case 59:
case 0:
switch (g) {
case 0:
case 125:
v = 0;
case 59 + d:
m == -1 && (C = w(C, /\f/g, "")), f > 0 && Z(C) - c && He(f > 32 ? jn(C + ";", r, n, c - 1, l) : jn(w(C, " ", "") + ";", r, n, c - 2, l), l);
break;
case 59:
C += ";";
default:
if (He(b = Gn(C, t, n, u, d, o, s, N, E = [], x = [], c, i), i), g === 123)
if (d === 0)
ct(C, t, b, b, E, i, c, s, x);
else
switch (h === 99 && R(C, 3) === 110 ? 100 : h) {
case 100:
case 108:
case 109:
case 115:
ct(e, b, b, r && He(Gn(e, b, b, 0, 0, o, s, N, o, E = [], c, x), x), o, x, c, s, r ? E : x);
break;
default:
ct(C, b, b, b, [""], x, 0, s, x);
}
}
u = d = f = 0, y = m = 1, N = C = "", c = a;
break;
case 58:
c = 1 + Z(C), f = p;
default:
if (y < 1) {
if (g == 123)
--y;
else if (g == 125 && y++ == 0 && bi() == 125)
continue;
}
switch (C += _n(g), g * y) {
case 38:
m = d > 0 ? 1 : (C += "\f", -1);
break;
case 44:
s[u++] = (Z(C) - 1) * m, m = 1;
break;
case 64:
he() === 45 && (C += It(G())), h = he(), d = c = Z(N = C += xi(st())), g++;
break;
case 45:
p === 45 && Z(C) == 2 && (y = 0);
}
}
return i;
}
function Gn(e, t, n, r, o, i, a, s, l, u, d, c) {
for (var h = o - 1, f = o === 0 ? i : [""], p = Ur(f), y = 0, v = 0, m = 0; y < r; ++y)
for (var g = 0, N = Ne(e, h + 1, h = Mr(v = a[y])), E = e; g < p; ++g)
(E = Hr(v > 0 ? f[g] + " " + N : w(N, /&\f/g, f[g]))) && (l[m++] = E);
return Ct(e, t, n, o === 0 ? yt : s, l, u, d, c);
}
function Oi(e, t, n, r) {
return Ct(e, t, n, Lr, _n(wi()), Ne(e, 2, -2), 0, r);
}
function jn(e, t, n, r, o) {
return Ct(e, t, n, dn, Ne(e, 0, r), Ne(e, r + 1, -1), r, o);
}
function Fr(e, t, n) {
switch (vi(e, t)) {
case 5103:
return k + "print-" + e + e;
case 5737:
case 4201:
case 3177:
case 3433:
case 1641:
case 4457:
case 2921:
case 5572:
case 6356:
case 5844:
case 3191:
case 6645:
case 3005:
case 6391:
case 5879:
case 5623:
case 6135:
case 4599:
case 4855:
case 4215:
case 6389:
case 5109:
case 5365:
case 5621:
case 3829:
return k + e + e;
case 4789:
return ze + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return k + e + ze + e + T + e + e;
case 5936:
switch (R(e, t + 11)) {
case 114:
return k + e + T + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return k + e + T + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return k + e + T + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
case 6828:
case 4268:
case 2903:
return k + e + T + e + e;
case 6165:
return k + e + T + "flex-" + e + e;
case 5187:
return k + e + w(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + T + "flex-$1$2") + e;
case 5443:
return k + e + T + "flex-item-" + w(e, /flex-|-self/g, "") + (K(e, /flex-|baseline/) ? "" : T + "grid-row-" + w(e, /flex-|-self/g, "")) + e;
case 4675:
return k + e + T + "flex-line-pack" + w(e, /align-content|flex-|-self/g, "") + e;
case 5548:
return k + e + T + w(e, "shrink", "negative") + e;
case 5292:
return k + e + T + w(e, "basis", "preferred-size") + e;
case 6060:
return k + "box-" + w(e, "-grow", "") + k + e + T + w(e, "grow", "positive") + e;
case 4554:
return k + w(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
case 6187:
return w(w(w(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
c