@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
1,213 lines • 125 kB
JavaScript
var Eo = Object.defineProperty;
var wo = (e, t, n) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
var Je = (e, t, n) => wo(e, typeof t != "symbol" ? t + "" : t, n);
var Ze, S, pr, fe, $n, mr, Mt, on, Ht, Ut, gr, ze = {}, yr = [], bo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, yt = Array.isArray;
function ee(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function vr(e) {
var t = e.parentNode;
t && t.removeChild(e);
}
function D(e, t, n) {
var r, o, i, s = {};
for (i in t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i];
if (arguments.length > 2 && (s.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (i in e.defaultProps) s[i] === void 0 && (s[i] = e.defaultProps[i]);
return Be(e, s, r, o, null);
}
function Be(e, t, n, r, o) {
var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: o ?? ++pr, __i: -1, __u: 0 };
return o == null && S.vnode != null && S.vnode(i), i;
}
function $o() {
return { current: null };
}
function W(e) {
return e.children;
}
function z(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 Cr(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 Cr(e);
}
}
function Ft(e) {
(!e.__d && (e.__d = !0) && fe.push(e) && !dt.__r++ || $n !== S.debounceRendering) && (($n = S.debounceRendering) || mr)(dt);
}
function dt() {
var e, t, n, r, o, i, s, a;
for (fe.sort(Mt); e = fe.shift(); ) e.__d && (t = fe.length, r = void 0, i = (o = (n = e).__v).__e, s = [], a = [], n.__P && ((r = ee({}, o)).__v = o.__v + 1, S.vnode && S.vnode(r), sn(n.__P, r, o, n.__n, n.__P.namespaceURI, 32 & o.__u ? [i] : null, s, i ?? me(o), !!(32 & o.__u), a), r.__v = o.__v, r.__.__k[r.__i] = r, wr(s, r, a), r.__e != i && Cr(r)), fe.length > t && fe.sort(Mt));
dt.__r = 0;
}
function Sr(e, t, n, r, o, i, s, a, c, u, d) {
var l, h, _, y, E, $ = r && r.__k || yr, p = t.length;
for (n.__d = c, ko(n, t, $), c = n.__d, l = 0; l < p; l++) (_ = n.__k[l]) != null && typeof _ != "boolean" && typeof _ != "function" && (h = _.__i === -1 ? ze : $[_.__i] || ze, _.__i = l, sn(e, _, h, o, i, s, a, c, u, d), y = _.__e, _.ref && h.ref != _.ref && (h.ref && an(h.ref, null, _), d.push(_.ref, _.__c || y, _)), E == null && y != null && (E = y), 65536 & _.__u || h.__k === _.__k ? (c && typeof _.type == "string" && !e.contains(c) && (c = me(h)), c = Er(_, c, e)) : typeof _.type == "function" && _.__d !== void 0 ? c = _.__d : y && (c = y.nextSibling), _.__d = void 0, _.__u &= -196609);
n.__d = c, n.__e = E;
}
function ko(e, t, n) {
var r, o, i, s, a, c = t.length, u = n.length, d = u, l = 0;
for (e.__k = [], r = 0; r < c; r++) s = r + l, (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 ? Be(null, o, null, null, null) : yt(o) ? Be(W, { children: o }, null, null, null) : o.constructor === void 0 && o.__b > 0 ? Be(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o) != null ? (o.__ = e, o.__b = e.__b + 1, a = Oo(o, n, s, d), o.__i = a, i = null, a !== -1 && (d--, (i = n[a]) && (i.__u |= 131072)), i == null || i.__v === null ? (a == -1 && l--, typeof o.type != "function" && (o.__u |= 65536)) : a !== s && (a == s - 1 ? l = a - s : a == s + 1 ? l++ : a > s ? d > c - s ? l += a - s : l-- : a < s && l++, a !== r + l && (o.__u |= 65536))) : (i = n[s]) && i.key == null && i.__e && !(131072 & i.__u) && (i.__e == e.__d && (e.__d = me(i)), Bt(i, i, !1), n[s] = 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)), Bt(i, i));
}
function Er(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 = Er(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 te(e, t) {
return t = t || [], e == null || typeof e == "boolean" || (yt(e) ? e.some(function(n) {
te(n, t);
}) : t.push(e)), t;
}
function Oo(e, t, n, r) {
var o = e.key, i = e.type, s = n - 1, a = n + 1, c = t[n];
if (c === null || c && o == c.key && i === c.type && !(131072 & c.__u)) return n;
if (r > (c != null && !(131072 & c.__u) ? 1 : 0)) for (; s >= 0 || a < t.length; ) {
if (s >= 0) {
if ((c = t[s]) && !(131072 & c.__u) && o == c.key && i === c.type) return s;
s--;
}
if (a < t.length) {
if ((c = t[a]) && !(131072 & c.__u) && o == c.key && i === c.type) return a;
a++;
}
}
return -1;
}
function kn(e, t, n) {
t[0] === "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || bo.test(t) ? n : n + "px";
}
function et(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 || kn(e.style, t, "");
if (n) for (t in n) r && n[t] === r[t] || kn(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 = on, e.addEventListener(t, i ? Ut : Ht, i)) : e.removeEventListener(t, i ? Ut : Ht, i);
else {
if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
e[t] = n ?? "";
break e;
} catch {
}
typeof n == "function" || (n == null || n === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
}
}
function On(e) {
return function(t) {
if (this.l) {
var n = this.l[t.type + e];
if (t.t == null) t.t = on++;
else if (t.t < n.u) return;
return n(S.event ? S.event(t) : t);
}
};
}
function sn(e, t, n, r, o, i, s, a, c, u) {
var d, l, h, _, y, E, $, p, m, k, w, N, C, g, U, V, F = t.type;
if (t.constructor !== void 0) return null;
128 & n.__u && (c = !!(32 & n.__u), i = [a = t.__e = n.__e]), (d = S.__b) && d(t);
e: if (typeof F == "function") try {
if (p = t.props, m = "prototype" in F && F.prototype.render, k = (d = F.contextType) && r[d.__c], w = d ? k ? k.props.value : d.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (m ? t.__c = l = new F(p, w) : (t.__c = l = new z(p, w), l.constructor = F, l.render = Io), k && k.sub(l), l.props = p, l.state || (l.state = {}), l.context = w, l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), m && l.__s == null && (l.__s = l.state), m && F.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = ee({}, l.__s)), ee(l.__s, F.getDerivedStateFromProps(p, l.__s))), _ = l.props, y = l.state, l.__v = t, h) m && F.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), m && l.componentDidMount != null && l.__h.push(l.componentDidMount);
else {
if (m && F.getDerivedStateFromProps == null && p !== _ && l.componentWillReceiveProps != null && l.componentWillReceiveProps(p, w), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(p, l.__s, w) === !1 || t.__v === n.__v)) {
for (t.__v !== n.__v && (l.props = p, l.state = l.__s, l.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(Ee) {
Ee && (Ee.__ = t);
}), N = 0; N < l._sb.length; N++) l.__h.push(l._sb[N]);
l._sb = [], l.__h.length && s.push(l);
break e;
}
l.componentWillUpdate != null && l.componentWillUpdate(p, l.__s, w), m && l.componentDidUpdate != null && l.__h.push(function() {
l.componentDidUpdate(_, y, E);
});
}
if (l.context = w, l.props = p, l.__P = e, l.__e = !1, C = S.__r, g = 0, m) {
for (l.state = l.__s, l.__d = !1, C && C(t), d = l.render(l.props, l.state, l.context), U = 0; U < l._sb.length; U++) l.__h.push(l._sb[U]);
l._sb = [];
} else do
l.__d = !1, C && C(t), d = l.render(l.props, l.state, l.context), l.state = l.__s;
while (l.__d && ++g < 25);
l.state = l.__s, l.getChildContext != null && (r = ee(ee({}, r), l.getChildContext())), m && !h && l.getSnapshotBeforeUpdate != null && (E = l.getSnapshotBeforeUpdate(_, y)), Sr(e, yt(V = d != null && d.type === W && d.key == null ? d.props.children : d) ? V : [V], t, n, r, o, i, s, a, c, u), l.base = t.__e, t.__u &= -161, l.__h.length && s.push(l), $ && (l.__E = l.__ = null);
} catch (Ee) {
t.__v = null, c || i != null ? (t.__e = a, t.__u |= c ? 160 : 32, i[i.indexOf(a)] = null) : (t.__e = n.__e, t.__k = n.__k), S.__e(Ee, t, n);
}
else i == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = No(n.__e, t, n, r, o, i, s, c, u);
(d = S.diffed) && d(t);
}
function wr(e, t, n) {
t.__d = void 0;
for (var r = 0; r < n.length; r++) an(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 No(e, t, n, r, o, i, s, a, c) {
var u, d, l, h, _, y, E, $ = n.props, p = t.props, m = t.type;
if (m === "svg" ? o = "http://www.w3.org/2000/svg" : m === "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 ((_ = i[u]) && "setAttribute" in _ == !!m && (m ? _.localName === m : _.nodeType === 3)) {
e = _, i[u] = null;
break;
}
}
if (e == null) {
if (m === null) return document.createTextNode(p);
e = document.createElementNS(o, m, p.is && p), i = null, a = !1;
}
if (m === null) $ === p || a && e.data === p || (e.data = p);
else {
if (i = i && Ze.call(e.childNodes), $ = n.props || ze, !a && i != null) for ($ = {}, u = 0; u < e.attributes.length; u++) $[(_ = e.attributes[u]).name] = _.value;
for (u in $) if (_ = $[u], u != "children") {
if (u == "dangerouslySetInnerHTML") l = _;
else if (u !== "key" && !(u in p)) {
if (u == "value" && "defaultValue" in p || u == "checked" && "defaultChecked" in p) continue;
et(e, u, null, _, o);
}
}
for (u in p) _ = p[u], u == "children" ? h = _ : u == "dangerouslySetInnerHTML" ? d = _ : u == "value" ? y = _ : u == "checked" ? E = _ : u === "key" || a && typeof _ != "function" || $[u] === _ || et(e, u, _, $[u], o);
if (d) a || l && (d.__html === l.__html || d.__html === e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
else if (l && (e.innerHTML = ""), Sr(e, yt(h) ? h : [h], t, n, r, m === "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, s, i ? i[0] : n.__k && me(n, 0), a, c), i != null) for (u = i.length; u--; ) i[u] != null && vr(i[u]);
a || (u = "value", y !== void 0 && (y !== e[u] || m === "progress" && !y || m === "option" && y !== $[u]) && et(e, u, y, $[u], o), u = "checked", E !== void 0 && E !== e[u] && et(e, u, E, $[u], o));
}
return e;
}
function an(e, t, n) {
try {
typeof e == "function" ? e(t) : e.current = t;
} catch (r) {
S.__e(r, n);
}
}
function Bt(e, t, n) {
var r, o;
if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || an(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] && Bt(r[o], t, n || typeof e.type != "function");
n || e.__e == null || vr(e.__e), e.__c = e.__ = e.__e = e.__d = void 0;
}
function Io(e, t, n) {
return this.constructor(e, n);
}
function ae(e, t, n) {
var r, o, i, s;
S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], sn(t, e = (!r && n || t).__k = D(W, null, [e]), o || ze, ze, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ze.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, s), wr(i, e, s);
}
function cn(e, t) {
ae(e, t, cn);
}
function ln(e, t, n) {
var r, o, i, s, a = ee({}, e.props);
for (i in e.type && e.type.defaultProps && (s = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : a[i] = t[i] === void 0 && s !== void 0 ? s[i] : t[i];
return arguments.length > 2 && (a.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), Be(e.type, a, r || e.key, o || e.ref, null);
}
function br(e, t) {
var n = { __c: t = "__cC" + gr++, __: 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(s) {
this.props.value !== s.value && o.some(function(a) {
a.__e = !0, Ft(a);
});
}, this.sub = function(s) {
o.push(s);
var a = s.componentWillUnmount;
s.componentWillUnmount = function() {
o && o.splice(o.indexOf(s), 1), a && a.call(s);
};
}), r.children;
} };
return n.Provider.__ = n.Consumer.contextType = n;
}
Ze = yr.slice, S = { __e: function(e, t, n, r) {
for (var o, i, s; t = t.__; ) if ((o = t.__c) && !o.__) try {
if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), s = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), s = o.__d), s) return o.__E = o;
} catch (a) {
e = a;
}
throw e;
} }, pr = 0, z.prototype.setState = function(e, t) {
var n;
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ee({}, this.state), typeof e == "function" && (e = e(ee({}, n), this.props)), e && ee(n, e), e != null && this.__v && (t && this._sb.push(t), Ft(this));
}, z.prototype.forceUpdate = function(e) {
this.__v && (this.__e = !0, e && this.__h.push(e), Ft(this));
}, z.prototype.render = W, fe = [], mr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Mt = function(e, t) {
return e.__v.__b - t.__v.__b;
}, dt.__r = 0, on = 0, Ht = On(!1), Ut = On(!0), gr = 0;
function un() {
return (un = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
}).apply(this, arguments);
}
var To = ["context", "children"];
function xo(e) {
this.getChildContext = function() {
return e.context;
};
var t = e.children, n = function(r, o) {
if (r == null) return {};
var i, s, a = {}, c = Object.keys(r);
for (s = 0; s < c.length; s++) o.indexOf(i = c[s]) >= 0 || (a[i] = r[i]);
return a;
}(e, To);
return ln(t, n);
}
function Ao() {
var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
this.dispatchEvent(e), this._vdom = D(xo, un({}, this._props, { context: e.detail.context }), function t(n, r) {
if (n.nodeType === 3) return n.data;
if (n.nodeType !== 1) return null;
var o = [], i = {}, s = 0, a = n.attributes, c = n.childNodes;
for (s = a.length; s--; ) a[s].name !== "slot" && (i[a[s].name] = a[s].value, i[$r(a[s].name)] = a[s].value);
for (s = c.length; s--; ) {
var u = t(c[s], null), d = c[s].slot;
d ? i[d] = D(Nn, { name: d }, u) : o[s] = u;
}
var l = r ? D(Nn, null, o) : o;
return D(r || n.nodeName.toLowerCase(), i, l);
}(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? cn : ae)(this._vdom, this._root);
}
function $r(e) {
return e.replace(/-(\w)/g, function(t, n) {
return n ? n.toUpperCase() : "";
});
}
function Ro(e, t, n) {
if (this._vdom) {
var r = {};
r[e] = n = n ?? void 0, r[$r(e)] = n, this._vdom = ln(this._vdom, r), ae(this._vdom, this._root);
}
}
function Lo() {
ae(this._vdom = null, this._root);
}
function Nn(e, t) {
var n = this;
return D("slot", un({}, e, { ref: function(r) {
r ? (n.ref = r, n._listener || (n._listener = function(o) {
o.stopPropagation(), o.detail.context = t;
}, r.addEventListener("_preact", n._listener))) : n.ref.removeEventListener("_preact", n._listener);
} }));
}
function Po(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 = Ao, o.prototype.attributeChangedCallback = Ro, o.prototype.disconnectedCallback = Lo, 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(s) {
this._vdom ? this.attributeChangedCallback(i, null, s) : (this._props || (this._props = {}), this._props[i] = s, this.connectedCallback());
var a = typeof s;
s != null && a !== "string" && a !== "boolean" && a !== "number" || this.setAttribute(i, s);
} });
}), customElements.define(t, o);
}
var Do = 0;
function f(e, t, n, r, o, i) {
t || (t = {});
var s, a, c = t;
if ("ref" in c) for (a in c = {}, t) a == "ref" ? s = t[a] : c[a] = t[a];
var u = { type: e, props: c, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --Do, __i: -1, __u: 0, __source: o, __self: i };
if (typeof e == "function" && (s = e.defaultProps)) for (a in s) c[a] === void 0 && (c[a] = s[a]);
return S.vnode && S.vnode(u), u;
}
const In = {
CONTINUE_DETECTION: "continue-detection",
SWITCH_CAMERA: "switch-camera",
TOGGLE_MIRROR: "toggle-mirror"
};
var Ge = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTED_FACE_CHANGED = "face-auto-capture:detected-face-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(Ge || {}), fn = /* @__PURE__ */ ((e) => (e.INSTRUCTION_ESCALATED = "smile:instruction-escalated", e.STATUS_CHANGED = "smile-auto-capture:status-changed", e))(fn || {});
const Tn = {
EYE_NOT_PRESENT: "eye_not_present"
}, L = {
CANDIDATE_SELECTION: "candidate_selection",
FACE_TOO_CLOSE: "face_too_close",
FACE_TOO_FAR: "face_too_far",
FACE_CENTERING: "face_centering",
FACE_NOT_PRESENT: "face_not_present",
SHARPNESS_TOO_LOW: "sharpness_too_low",
BRIGHTNESS_TOO_LOW: "brightness_too_low",
BRIGHTNESS_TOO_HIGH: "brightness_too_high",
DEVICE_PITCHED: "device_pitched",
LEFT_EYE_NOT_PRESENT: `left_${Tn.EYE_NOT_PRESENT}`,
RIGHT_EYE_NOT_PRESENT: `right_${Tn.EYE_NOT_PRESENT}`,
MOUTH_NOT_PRESENT: "mouth_not_present",
MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high",
MOUTH_SCORE_TOO_LOW: "mouth_score_too_low"
}, Mo = {
LOADING: "LOADING",
ERROR: "ERROR",
WAITING: "WAITING",
RUNNING: "RUNNING"
}, ne = {
...L,
SMILE: "smile",
SMILE_CANDIDATE_SELECTION: "smile_candidate_selection",
KEEP_NEUTRAL_EXPRESSION: "keep_neutral_expression"
}, _t = {
NEUTRAL: "NEUTRAL",
SMILE: "SMILE"
}, $e = {
...Mo,
DONE: "DONE"
};
var ce, T, xt, xn, ke = 0, kr = [], x = S, An = x.__b, Rn = x.__r, Ln = x.diffed, Pn = x.__c, Dn = x.unmount, Mn = x.__;
function xe(e, t) {
x.__h && x.__h(T, e, ke || t), ke = 0;
var n = T.__H || (T.__H = { __: [], __h: [] });
return e >= n.__.length && n.__.push({}), n.__[e];
}
function M(e) {
return ke = 1, dn(Ir, e);
}
function dn(e, t, n) {
var r = xe(ce++, 2);
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ir(void 0, t), function(a) {
var c = r.__N ? r.__N[0] : r.__[0], u = r.t(c, a);
c !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
}], r.__c = T, !T.u)) {
var o = function(a, c, 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, a, c, u);
var l = !1;
return d.forEach(function(h) {
if (h.__N) {
var _ = h.__[0];
h.__ = h.__N, h.__N = void 0, _ !== h.__[0] && (l = !0);
}
}), !(!l && r.__c.props === a) && (!i || i.call(this, a, c, u));
};
T.u = !0;
var i = T.shouldComponentUpdate, s = T.componentWillUpdate;
T.componentWillUpdate = function(a, c, u) {
if (this.__e) {
var d = i;
i = void 0, o(a, c, u), i = d;
}
s && s.call(this, a, c, u);
}, T.shouldComponentUpdate = o;
}
return r.__N || r.__;
}
function q(e, t) {
var n = xe(ce++, 3);
!x.__s && _n(n.__H, t) && (n.__ = e, n.i = t, T.__H.__h.push(n));
}
function Ae(e, t) {
var n = xe(ce++, 4);
!x.__s && _n(n.__H, t) && (n.__ = e, n.i = t, T.__h.push(n));
}
function vt(e) {
return ke = 5, re(function() {
return { current: e };
}, []);
}
function Or(e, t, n) {
ke = 6, Ae(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 re(e, t) {
var n = xe(ce++, 7);
return _n(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
}
function ge(e, t) {
return ke = 8, re(function() {
return e;
}, t);
}
function qe(e) {
var t = T.context[e.__c], n = xe(ce++, 9);
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(T)), t.props.value) : e.__;
}
function ht(e, t) {
x.useDebugValue && x.useDebugValue(t ? t(e) : e);
}
function Nr() {
var e = xe(ce++, 11);
if (!e.__) {
for (var t = T.__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 Ho() {
for (var e; e = kr.shift(); ) if (e.__P && e.__H) try {
e.__H.__h.forEach(it), e.__H.__h.forEach(Wt), e.__H.__h = [];
} catch (t) {
e.__H.__h = [], x.__e(t, e.__v);
}
}
x.__b = function(e) {
T = null, An && An(e);
}, x.__ = function(e, t) {
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Mn && Mn(e, t);
}, x.__r = function(e) {
Rn && Rn(e), ce = 0;
var t = (T = e.__c).__H;
t && (xt === T ? (t.__h = [], T.__h = [], t.__.forEach(function(n) {
n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
})) : (t.__h.forEach(it), t.__h.forEach(Wt), t.__h = [], ce = 0)), xt = T;
}, x.diffed = function(e) {
Ln && Ln(e);
var t = e.__c;
t && t.__H && (t.__H.__h.length && (kr.push(t) !== 1 && xn === x.requestAnimationFrame || ((xn = x.requestAnimationFrame) || Uo)(Ho)), t.__H.__.forEach(function(n) {
n.i && (n.__H = n.i), n.i = void 0;
})), xt = T = null;
}, x.__c = function(e, t) {
t.some(function(n) {
try {
n.__h.forEach(it), n.__h = n.__h.filter(function(r) {
return !r.__ || Wt(r);
});
} catch (r) {
t.some(function(o) {
o.__h && (o.__h = []);
}), t = [], x.__e(r, n.__v);
}
}), Pn && Pn(e, t);
}, x.unmount = function(e) {
Dn && Dn(e);
var t, n = e.__c;
n && n.__H && (n.__H.__.forEach(function(r) {
try {
it(r);
} catch (o) {
t = o;
}
}), n.__H = void 0, t && x.__e(t, n.__v));
};
var Hn = typeof requestAnimationFrame == "function";
function Uo(e) {
var t, n = function() {
clearTimeout(r), Hn && cancelAnimationFrame(t), setTimeout(e);
}, r = setTimeout(n, 100);
Hn && (t = requestAnimationFrame(n));
}
function it(e) {
var t = T, n = e.__c;
typeof n == "function" && (e.__c = void 0, n()), T = t;
}
function Wt(e) {
var t = T;
e.__c = e.__(), T = t;
}
function _n(e, t) {
return !e || e.length !== t.length || t.some(function(n, r) {
return n !== e[r];
});
}
function Ir(e, t) {
return typeof t == "function" ? t(e) : t;
}
var P = function() {
return P = Object.assign || function(t) {
for (var n, r = 1, o = arguments.length; r < o; r++) {
n = arguments[r];
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
}
return t;
}, P.apply(this, arguments);
};
function ye(e, t, n) {
if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
(i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
return e.concat(i || Array.prototype.slice.call(t));
}
function Fo(e) {
var t = /* @__PURE__ */ Object.create(null);
return function(n) {
return t[n] === void 0 && (t[n] = e(n)), t[n];
};
}
var Bo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Wo = /* @__PURE__ */ Fo(
function(e) {
return Bo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
}
/* Z+1 */
);
function Tr(e, t) {
for (var n in t) e[n] = t[n];
return e;
}
function jt(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 jo(e, t) {
function n(o) {
var i = this.props.ref, s = i == o.ref;
return !s && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !s : jt(this.props, o);
}
function r(o) {
return this.shouldComponentUpdate = n, D(e, o);
}
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
}
(zt.prototype = new z()).isPureReactComponent = !0, zt.prototype.shouldComponentUpdate = function(e, t) {
return jt(this.props, e) || jt(this.state, t);
};
var Un = S.__b;
S.__b = function(e) {
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Un && Un(e);
};
var zo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
function Go(e) {
function t(n) {
var r = Tr({}, n);
return delete r.ref, e(r, n.ref || null);
}
return t.$$typeof = zo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
}
var Fn = function(e, t) {
return e == null ? null : te(te(e).map(t));
}, Vo = { map: Fn, forEach: Fn, 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 }, Yo = 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);
}
Yo(e, t, n, r);
};
var Bn = S.unmount;
function xr(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 = Tr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
return xr(r, t, n);
})), e;
}
function Ar(e, t, n) {
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
return Ar(r, t, n);
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
}
function st() {
this.__u = 0, this.t = null, this.__b = null;
}
function Rr(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(s) {
n = s.default || s;
}, function(s) {
r = s;
}), r) throw r;
if (!n) throw t;
return D(n, i);
}
return o.displayName = "Lazy", o.__f = !0, o;
}
function He() {
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), Bn && Bn(e);
}, (st.prototype = new z()).__c = function(e, t) {
var n = t.__c, r = this;
r.t == null && (r.t = []), r.t.push(n);
var o = Rr(r.__v), i = !1, s = function() {
i || (i = !0, n.__R = null, o ? o(a) : a());
};
n.__R = s;
var a = function() {
if (!--r.__u) {
if (r.state.__a) {
var c = r.state.__a;
r.__v.__k[0] = Ar(c, c.__c.__P, c.__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(s, s);
}, st.prototype.componentWillUnmount = function() {
this.t = [];
}, st.prototype.render = function(e, t) {
if (this.__b) {
if (this.__v.__k) {
var n = document.createElement("div"), r = this.__v.__k[0].__c;
this.__v.__k[0] = xr(this.__b, n, r.__O = r.__P);
}
this.__b = null;
}
var o = t.__a && D(W, null, e.fallback);
return o && (o.__u &= -33), [D(W, null, t.__a ? null : e.children), o];
};
var Wn = 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 qo(e) {
return this.getChildContext = function() {
return e.context;
}, e.children;
}
function Xo(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(D(qo, { context: t.context }, e.__v), t.l);
}
function Ko(e, t) {
var n = D(Xo, { __v: e, i: t });
return n.containerInfo = t, n;
}
(He.prototype = new z()).__a = function(e) {
var t = this, n = Rr(t.__v), r = t.o.get(e);
return r[0]++, function(o) {
var i = function() {
t.props.revealOrder ? (r.push(o), Wn(t, e, r)) : o();
};
n ? n(i) : i();
};
}, He.prototype.render = function(e) {
this.u = null, this.o = /* @__PURE__ */ new Map();
var t = te(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;
}, He.prototype.componentDidUpdate = He.prototype.componentDidMount = function() {
var e = this;
this.o.forEach(function(t, n) {
Wn(e, n, t);
});
};
var Lr = 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]/, Jo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, ei = /[A-Z0-9]/g, ti = typeof document < "u", ni = function(e) {
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
};
function ri(e, t, n) {
return t.__k == null && (t.textContent = ""), ae(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
function oi(e, t, n) {
return cn(e, t), typeof n == "function" && n(), e ? e.__c : null;
}
z.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
Object.defineProperty(z.prototype, e, { configurable: !0, get: function() {
return this["UNSAFE_" + e];
}, set: function(t) {
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
} });
});
var jn = S.event;
function ii() {
}
function si() {
return this.cancelBubble;
}
function ai() {
return this.defaultPrevented;
}
S.event = function(e) {
return jn && (e = jn(e)), e.persist = ii, e.isPropagationStopped = si, e.isDefaultPrevented = ai, e.nativeEvent = e;
};
var hn, ci = { enumerable: !1, configurable: !0, get: function() {
return this.class;
} }, zn = 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 s = n[i];
if (!(i === "value" && "defaultValue" in n && s == null || ti && i === "children" && r === "noscript" || i === "class" || i === "className")) {
var a = i.toLowerCase();
i === "defaultValue" && "value" in n && n.value == null ? i = "value" : i === "download" && s === !0 ? s = "" : a === "translate" && s === "no" ? s = !1 : a === "ondoubleclick" ? i = "ondblclick" : a !== "onchange" || r !== "input" && r !== "textarea" || ni(n.type) ? a === "onfocus" ? i = "onfocusin" : a === "onblur" ? i = "onfocusout" : Jo.test(i) ? i = a : r.indexOf("-") === -1 && Qo.test(i) ? i = i.replace(ei, "-$&").toLowerCase() : s === null && (s = void 0) : a = i = "oninput", a === "oninput" && o[i = a] && (i = "oninputCapture"), o[i] = s;
}
}
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(n.children).forEach(function(c) {
c.props.selected = o.value.indexOf(c.props.value) != -1;
})), r == "select" && o.defaultValue != null && (o.value = te(n.children).forEach(function(c) {
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ci)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
}(e), e.$$typeof = Lr, zn && zn(e);
};
var Gn = S.__r;
S.__r = function(e) {
Gn && Gn(e), hn = e.__c;
};
var Vn = S.diffed;
S.diffed = function(e) {
Vn && Vn(e);
var t = e.props, n = e.__e;
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), hn = null;
};
var li = { ReactCurrentDispatcher: { current: { readContext: function(e) {
return hn.__n[e.__c].props.value;
}, useCallback: ge, useContext: qe, useDebugValue: ht, useDeferredValue: Dr, useEffect: q, useId: Nr, useImperativeHandle: Or, useInsertionEffect: Hr, useLayoutEffect: Ae, useMemo: re, useReducer: dn, useRef: vt, useState: M, useSyncExternalStore: Ur, useTransition: Mr } } };
function ui(e) {
return D.bind(null, e);
}
function Ct(e) {
return !!e && e.$$typeof === Lr;
}
function fi(e) {
return Ct(e) && e.type === W;
}
function di(e) {
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
}
function _i(e) {
return Ct(e) ? ln.apply(null, arguments) : e;
}
function hi(e) {
return !!e.__k && (ae(null, e), !0);
}
function pi(e) {
return e && (e.base || e.nodeType === 1 && e) || null;
}
var mi = function(e, t) {
return e(t);
}, gi = function(e, t) {
return e(t);
}, yi = W;
function Pr(e) {
e();
}
function Dr(e) {
return e;
}
function Mr() {
return [!1, Pr];
}
var Hr = Ae, vi = Ct;
function Ur(e, t) {
var n = t(), r = M({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
return Ae(function() {
o.__ = n, o.v = t, At(o) && i({ h: o });
}, [e, n, t]), q(function() {
return At(o) && i({ h: o }), e(function() {
At(o) && i({ h: o });
});
}, [e]), n;
}
function At(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 oe = { useState: M, useId: Nr, useReducer: dn, useEffect: q, useLayoutEffect: Ae, useInsertionEffect: Hr, useTransition: Mr, useDeferredValue: Dr, useSyncExternalStore: Ur, startTransition: Pr, useRef: vt, useImperativeHandle: Or, useMemo: re, useCallback: ge, useContext: qe, useDebugValue: ht, version: "17.0.2", Children: Vo, render: ri, hydrate: oi, unmountComponentAtNode: hi, createPortal: Ko, createElement: D, createContext: br, createFactory: ui, cloneElement: _i, createRef: $o, Fragment: W, isValidElement: Ct, isElement: vi, isFragment: fi, isMemo: di, findDOMNode: pi, Component: z, PureComponent: zt, memo: jo, forwardRef: Go, flushSync: gi, unstable_batchedUpdates: mi, StrictMode: yi, Suspense: st, SuspenseList: He, lazy: Zo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: li };
function Ci(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Si = 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 s = Object.keys(t), a = Object.keys(n);
if (s.length !== a.length)
return !1;
for (var c = Object.prototype.hasOwnProperty.bind(n), u = 0; u < s.length; u++) {
var d = s[u];
if (!c(d))
return !1;
var l = t[d], h = n[d];
if (i = r ? r.call(o, l, h, d) : void 0, i === !1 || i === void 0 && l !== h)
return !1;
}
return !0;
};
const Ei = /* @__PURE__ */ Ci(Si);
var I = "-ms-", We = "-moz-", O = "-webkit-", Fr = "comm", St = "rule", pn = "decl", wi = "@import", Br = "@keyframes", bi = "@layer", Wr = Math.abs, mn = String.fromCharCode, Gt = Object.assign;
function $i(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 jr(e) {
return e.trim();
}
function Q(e, t) {
return (e = t.exec(e)) ? e[0] : e;
}
function v(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 Oe(e, t, n) {
return e.slice(t, n);
}
function Y(e) {
return e.length;
}
function zr(e) {
return e.length;
}
function Ue(e, t) {
return t.push(e), e;
}
function ki(e, t) {
return e.map(t).join("");
}
function Yn(e, t) {
return e.filter(function(n) {
return !Q(n, t);
});
}
var Et = 1, Ne = 1, Gr = 0, j = 0, A = 0, Re = "";
function wt(e, t, n, r, o, i, s, a) {
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Et, column: Ne, length: s, return: "", siblings: a };
}
function se(e, t) {
return Gt(wt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
}
function be(e) {
for (; e.root; )
e = se(e.root, { children: [e] });
Ue(e, e.siblings);
}
function Oi() {
return A;
}
function Ni() {
return A = j > 0 ? R(Re, --j) : 0, Ne--, A === 10 && (Ne = 1, Et--), A;
}
function G() {
return A = j < Gr ? R(Re, j++) : 0, Ne++, A === 10 && (Ne = 1, Et++), A;
}
function he() {
return R(Re, j);
}
function ct() {
return j;
}
function bt(e, t) {
return Oe(Re, e, t);
}
function Vt(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 Ii(e) {
return Et = Ne = 1, Gr = Y(Re = e), j = 0, [];
}
function Ti(e) {
return Re = "", e;
}
function Rt(e) {
return jr(bt(j - 1, Yt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function xi(e) {
for (; (A = he()) && A < 33; )
G();
return Vt(e) > 2 || Vt(A) > 3 ? "" : " ";
}
function Ai(e, t) {
for (; --t && G() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
;
return bt(e, ct() + (t < 6 && he() == 32 && G() == 32));
}
function Yt(e) {
for (; G(); )
switch (A) {
case e:
return j;
case 34:
case 39:
e !== 34 && e !== 39 && Yt(A);
break;
case 40:
e === 41 && Yt(e);
break;
case 92:
G();
break;
}
return j;
}
function Ri(e, t) {
for (; G() && e + A !== 57; )
if (e + A === 84 && he() === 47)
break;
return "/*" + bt(t, j - 1) + "*" + mn(e === 47 ? e : G());
}
function Li(e) {
for (; !Vt(he()); )
G();
return bt(e, j);
}
function Pi(e) {
return Ti(lt("", null, null, null, [""], e = Ii(e), 0, [0], e));
}
function lt(e, t, n, r, o, i, s, a, c) {
for (var u = 0, d = 0, l = s, h = 0, _ = 0, y = 0, E = 1, $ = 1, p = 1, m = 0, k = "", w = o, N = i, C = r, g = k; $; )
switch (y = m, m = G()) {
case 40:
if (y != 108 && R(g, l - 1) == 58) {
at(g += v(Rt(m), "&", "&\f"), "&\f", Wr(u ? a[u - 1] : 0)) != -1 && (p = -1);
break;
}
case 34:
case 39:
case 91:
g += Rt(m);
break;
case 9:
case 10:
case 13:
case 32:
g += xi(y);
break;
case 92:
g += Ai(ct() - 1, 7);
continue;
case 47:
switch (he()) {
case 42:
case 47:
Ue(Di(Ri(G(), ct()), t, n, c), c);
break;
default:
g += "/";
}
break;
case 123 * E:
a[u++] = Y(g) * p;
case 125 * E:
case 59:
case 0:
switch (m) {
case 0:
case 125:
$ = 0;
case 59 + d:
p == -1 && (g = v(g, /\f/g, "")), _ > 0 && Y(g) - l && Ue(_ > 32 ? qn(g + ";", r, n, l - 1, c) : qn(v(g, " ", "") + ";", r, n, l - 2, c), c);
break;
case 59:
g += ";";
default:
if (Ue(C = Zn(g, t, n, u, d, o, a, k, w = [], N = [], l, i), i), m === 123)
if (d === 0)
lt(g, t, C, C, w, i, l, a, N);
else
switch (h === 99 && R(g, 3) === 110 ? 100 : h) {
case 100:
case 108:
case 109:
case 115:
lt(e, C, C, r && Ue(Zn(e, C, C, 0, 0, o, a, k, o, w = [], l, N), N), o, N, l, a, r ? w : N);
break;
default:
lt(g, C, C, C, [""], N, 0, a, N);
}
}
u = d = _ = 0, E = p = 1, k = g = "", l = s;
break;
case 58:
l = 1 + Y(g), _ = y;
default:
if (E < 1) {
if (m == 123)
--E;
else if (m == 125 && E++ == 0 && Ni() == 125)
continue;
}
switch (g += mn(m), m * E) {
case 38:
p = d > 0 ? 1 : (g += "\f", -1);
break;
case 44:
a[u++] = (Y(g) - 1) * p, p = 1;
break;
case 64:
he() === 45 && (g += Rt(G())), h = he(), d = l = Y(k = g += Li(ct())), m++;
break;
case 45:
y === 45 && Y(g) == 2 && (E = 0);
}
}
return i;
}
function Zn(e, t, n, r, o, i, s, a, c, u, d, l) {
for (var h = o - 1, _ = o === 0 ? i : [""], y = zr(_), E = 0, $ = 0, p = 0; E < r; ++E)
for (var m = 0, k = Oe(e, h + 1, h = Wr($ = s[E])), w = e; m < y; ++m)
(w = jr($ > 0 ? _[m] + " " + k : v(k, /&\f/g, _[m]))) && (c[p++] = w);
return wt(e, t, n, o === 0 ? St : a, c, u, d, l);
}
function Di(e, t, n, r) {
return wt(e, t, n, Fr, mn(Oi()), Oe(e, 2, -2), 0, r);
}
function qn(e, t, n, r, o) {
return wt(e, t, n, pn, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
}
function Vr(e, t, n) {
switch ($i(e, t)) {
case 5103:
return O + "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 O + e + e;
case 4789:
return We + e + e;
case 5349:
case 4246:
case 4810:
case 6968:
case 2756:
return O + e + We + e + I + e + e;
case 5936:
switch (R(e, t + 11)) {
case 114:
return O + e + I + v(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
case 108:
return O + e + I + v(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
case 45:
return O + e + I + v(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
}
case 6828:
case 4268:
case 2903:
return O + e + I + e + e;
case 6165:
return O + e + I + "flex-" + e + e;
case 5187:
return O + e + v(e, /(\w+).+(:[^]+)/, O + "box-$1$2" + I + "flex-$1$2") + e;
case 5443:
return O + e + I + "flex-item-" + v(e, /flex-|-self/g, "") + (Q(e, /flex-|baseline/) ? "" : I + "grid-row-" + v(e, /flex-|-self/g, "")) + e;
case 4675:
return O + e + I + "flex-line-pack" + v(e, /align-content|flex-|-self/g, "") + e;
case 5548:
return O + e + I + v(e, "shrink", "negative") + e;
case 5292:
return O + e + I + v(e, "basis", "preferred-size") + e;
case 6060:
return O + "box-" + v(e, "-grow", "") + O + e + I + v(e, "grow", "positi