@openhpi/quiz-recap
Version:
Component for quiz recapitulation in education.
1,588 lines • 1.28 MB
JavaScript
import _p, { createContext as HA, useContext as bb, useCallback as Y3, useState as va, useRef as BA, useEffect as Kf } from "react";
import jA from "react-dom";
function vb(a) {
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
}
var Q1 = { exports: {} }, wy = {};
/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var LT;
function V3() {
if (LT) return wy;
LT = 1;
var a = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
function u(c, h, p) {
var g = null;
if (p !== void 0 && (g = "" + p), h.key !== void 0 && (g = "" + h.key), "key" in h) {
p = {};
for (var b in h)
b !== "key" && (p[b] = h[b]);
} else p = h;
return h = p.ref, {
$$typeof: a,
type: c,
key: g,
ref: h !== void 0 ? h : null,
props: p
};
}
return wy.Fragment = r, wy.jsx = u, wy.jsxs = u, wy;
}
var Cy = {};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var HT;
function G3() {
return HT || (HT = 1, process.env.NODE_ENV !== "production" && function() {
function a(C) {
if (C == null) return null;
if (typeof C == "function")
return C.$$typeof === G ? null : C.displayName || C.name || null;
if (typeof C == "string") return C;
switch (C) {
case q:
return "Fragment";
case j:
return "Profiler";
case Q:
return "StrictMode";
case ne:
return "Suspense";
case K:
return "SuspenseList";
case me:
return "Activity";
}
if (typeof C == "object")
switch (typeof C.tag == "number" && console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
), C.$$typeof) {
case N:
return "Portal";
case $:
return (C.displayName || "Context") + ".Provider";
case ae:
return (C._context.displayName || "Context") + ".Consumer";
case ye:
var W = C.render;
return C = C.displayName, C || (C = W.displayName || W.name || "", C = C !== "" ? "ForwardRef(" + C + ")" : "ForwardRef"), C;
case ve:
return W = C.displayName || null, W !== null ? W : a(C.type) || "Memo";
case ke:
W = C._payload, C = C._init;
try {
return a(C(W));
} catch {
}
}
return null;
}
function r(C) {
return "" + C;
}
function u(C) {
try {
r(C);
var W = !1;
} catch {
W = !0;
}
if (W) {
W = console;
var ue = W.error, M = typeof Symbol == "function" && Symbol.toStringTag && C[Symbol.toStringTag] || C.constructor.name || "Object";
return ue.call(
W,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
M
), r(C);
}
}
function c(C) {
if (C === q) return "<>";
if (typeof C == "object" && C !== null && C.$$typeof === ke)
return "<...>";
try {
var W = a(C);
return W ? "<" + W + ">" : "<...>";
} catch {
return "<...>";
}
}
function h() {
var C = be.A;
return C === null ? null : C.getOwner();
}
function p() {
return Error("react-stack-top-frame");
}
function g(C) {
if (ge.call(C, "key")) {
var W = Object.getOwnPropertyDescriptor(C, "key").get;
if (W && W.isReactWarning) return !1;
}
return C.key !== void 0;
}
function b(C, W) {
function ue() {
Te || (Te = !0, console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
W
));
}
ue.isReactWarning = !0, Object.defineProperty(C, "key", {
get: ue,
configurable: !0
});
}
function S() {
var C = a(this.type);
return U[C] || (U[C] = !0, console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
)), C = this.props.ref, C !== void 0 ? C : null;
}
function x(C, W, ue, M, Oe, Ue, Ce, Fe) {
return ue = Ue.ref, C = {
$$typeof: z,
type: C,
key: W,
props: Ue,
_owner: Oe
}, (ue !== void 0 ? ue : null) !== null ? Object.defineProperty(C, "ref", {
enumerable: !1,
get: S
}) : Object.defineProperty(C, "ref", { enumerable: !1, value: null }), C._store = {}, Object.defineProperty(C._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: 0
}), Object.defineProperty(C, "_debugInfo", {
configurable: !1,
enumerable: !1,
writable: !0,
value: null
}), Object.defineProperty(C, "_debugStack", {
configurable: !1,
enumerable: !1,
writable: !0,
value: Ce
}), Object.defineProperty(C, "_debugTask", {
configurable: !1,
enumerable: !1,
writable: !0,
value: Fe
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
}
function E(C, W, ue, M, Oe, Ue, Ce, Fe) {
var He = W.children;
if (He !== void 0)
if (M)
if (we(He)) {
for (M = 0; M < He.length; M++)
A(He[M]);
Object.freeze && Object.freeze(He);
} else
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
);
else A(He);
if (ge.call(W, "key")) {
He = a(C);
var Ge = Object.keys(W).filter(function(Gt) {
return Gt !== "key";
});
M = 0 < Ge.length ? "{key: someKey, " + Ge.join(": ..., ") + ": ...}" : "{key: someKey}", Ne[He + M] || (Ge = 0 < Ge.length ? "{" + Ge.join(": ..., ") + ": ...}" : "{}", console.error(
`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,
M,
He,
Ge,
He
), Ne[He + M] = !0);
}
if (He = null, ue !== void 0 && (u(ue), He = "" + ue), g(W) && (u(W.key), He = "" + W.key), "key" in W) {
ue = {};
for (var $e in W)
$e !== "key" && (ue[$e] = W[$e]);
} else ue = W;
return He && b(
ue,
typeof C == "function" ? C.displayName || C.name || "Unknown" : C
), x(
C,
He,
Ue,
Oe,
h(),
ue,
Ce,
Fe
);
}
function A(C) {
typeof C == "object" && C !== null && C.$$typeof === z && C._store && (C._store.validated = 1);
}
var R = _p, z = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), q = Symbol.for("react.fragment"), Q = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), ye = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), ve = Symbol.for("react.memo"), ke = Symbol.for("react.lazy"), me = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), be = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ge = Object.prototype.hasOwnProperty, we = Array.isArray, xe = console.createTask ? console.createTask : function() {
return null;
};
R = {
"react-stack-bottom-frame": function(C) {
return C();
}
};
var Te, U = {}, J = R["react-stack-bottom-frame"].bind(
R,
p
)(), fe = xe(c(p)), Ne = {};
Cy.Fragment = q, Cy.jsx = function(C, W, ue, M, Oe) {
var Ue = 1e4 > be.recentlyCreatedOwnerStacks++;
return E(
C,
W,
ue,
!1,
M,
Oe,
Ue ? Error("react-stack-top-frame") : J,
Ue ? xe(c(C)) : fe
);
}, Cy.jsxs = function(C, W, ue, M, Oe) {
var Ue = 1e4 > be.recentlyCreatedOwnerStacks++;
return E(
C,
W,
ue,
!0,
M,
Oe,
Ue ? Error("react-stack-top-frame") : J,
Ue ? xe(c(C)) : fe
);
};
}()), Cy;
}
var BT;
function X3() {
return BT || (BT = 1, process.env.NODE_ENV === "production" ? Q1.exports = V3() : Q1.exports = G3()), Q1.exports;
}
var Ae = X3(), Z1 = { exports: {} }, Ry = {}, $1 = { exports: {} }, Iv = {};
/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var jT;
function Q3() {
return jT || (jT = 1, function(a) {
function r(U, J) {
var fe = U.length;
U.push(J);
e: for (; 0 < fe; ) {
var Ne = fe - 1 >>> 1, C = U[Ne];
if (0 < h(C, J))
U[Ne] = J, U[fe] = C, fe = Ne;
else break e;
}
}
function u(U) {
return U.length === 0 ? null : U[0];
}
function c(U) {
if (U.length === 0) return null;
var J = U[0], fe = U.pop();
if (fe !== J) {
U[0] = fe;
e: for (var Ne = 0, C = U.length, W = C >>> 1; Ne < W; ) {
var ue = 2 * (Ne + 1) - 1, M = U[ue], Oe = ue + 1, Ue = U[Oe];
if (0 > h(M, fe))
Oe < C && 0 > h(Ue, M) ? (U[Ne] = Ue, U[Oe] = fe, Ne = Oe) : (U[Ne] = M, U[ue] = fe, Ne = ue);
else if (Oe < C && 0 > h(Ue, fe))
U[Ne] = Ue, U[Oe] = fe, Ne = Oe;
else break e;
}
}
return J;
}
function h(U, J) {
var fe = U.sortIndex - J.sortIndex;
return fe !== 0 ? fe : U.id - J.id;
}
if (a.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
var p = performance;
a.unstable_now = function() {
return p.now();
};
} else {
var g = Date, b = g.now();
a.unstable_now = function() {
return g.now() - b;
};
}
var S = [], x = [], E = 1, A = null, R = 3, z = !1, N = !1, q = !1, Q = !1, j = typeof setTimeout == "function" ? setTimeout : null, ae = typeof clearTimeout == "function" ? clearTimeout : null, $ = typeof setImmediate < "u" ? setImmediate : null;
function ye(U) {
for (var J = u(x); J !== null; ) {
if (J.callback === null) c(x);
else if (J.startTime <= U)
c(x), J.sortIndex = J.expirationTime, r(S, J);
else break;
J = u(x);
}
}
function ne(U) {
if (q = !1, ye(U), !N)
if (u(S) !== null)
N = !0, K || (K = !0, ge());
else {
var J = u(x);
J !== null && Te(ne, J.startTime - U);
}
}
var K = !1, ve = -1, ke = 5, me = -1;
function G() {
return Q ? !0 : !(a.unstable_now() - me < ke);
}
function be() {
if (Q = !1, K) {
var U = a.unstable_now();
me = U;
var J = !0;
try {
e: {
N = !1, q && (q = !1, ae(ve), ve = -1), z = !0;
var fe = R;
try {
t: {
for (ye(U), A = u(S); A !== null && !(A.expirationTime > U && G()); ) {
var Ne = A.callback;
if (typeof Ne == "function") {
A.callback = null, R = A.priorityLevel;
var C = Ne(
A.expirationTime <= U
);
if (U = a.unstable_now(), typeof C == "function") {
A.callback = C, ye(U), J = !0;
break t;
}
A === u(S) && c(S), ye(U);
} else c(S);
A = u(S);
}
if (A !== null) J = !0;
else {
var W = u(x);
W !== null && Te(
ne,
W.startTime - U
), J = !1;
}
}
break e;
} finally {
A = null, R = fe, z = !1;
}
J = void 0;
}
} finally {
J ? ge() : K = !1;
}
}
}
var ge;
if (typeof $ == "function")
ge = function() {
$(be);
};
else if (typeof MessageChannel < "u") {
var we = new MessageChannel(), xe = we.port2;
we.port1.onmessage = be, ge = function() {
xe.postMessage(null);
};
} else
ge = function() {
j(be, 0);
};
function Te(U, J) {
ve = j(function() {
U(a.unstable_now());
}, J);
}
a.unstable_IdlePriority = 5, a.unstable_ImmediatePriority = 1, a.unstable_LowPriority = 4, a.unstable_NormalPriority = 3, a.unstable_Profiling = null, a.unstable_UserBlockingPriority = 2, a.unstable_cancelCallback = function(U) {
U.callback = null;
}, a.unstable_forceFrameRate = function(U) {
0 > U || 125 < U ? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
) : ke = 0 < U ? Math.floor(1e3 / U) : 5;
}, a.unstable_getCurrentPriorityLevel = function() {
return R;
}, a.unstable_next = function(U) {
switch (R) {
case 1:
case 2:
case 3:
var J = 3;
break;
default:
J = R;
}
var fe = R;
R = J;
try {
return U();
} finally {
R = fe;
}
}, a.unstable_requestPaint = function() {
Q = !0;
}, a.unstable_runWithPriority = function(U, J) {
switch (U) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
U = 3;
}
var fe = R;
R = U;
try {
return J();
} finally {
R = fe;
}
}, a.unstable_scheduleCallback = function(U, J, fe) {
var Ne = a.unstable_now();
switch (typeof fe == "object" && fe !== null ? (fe = fe.delay, fe = typeof fe == "number" && 0 < fe ? Ne + fe : Ne) : fe = Ne, U) {
case 1:
var C = -1;
break;
case 2:
C = 250;
break;
case 5:
C = 1073741823;
break;
case 4:
C = 1e4;
break;
default:
C = 5e3;
}
return C = fe + C, U = {
id: E++,
callback: J,
priorityLevel: U,
startTime: fe,
expirationTime: C,
sortIndex: -1
}, fe > Ne ? (U.sortIndex = fe, r(x, U), u(S) === null && U === u(x) && (q ? (ae(ve), ve = -1) : q = !0, Te(ne, fe - Ne))) : (U.sortIndex = C, r(S, U), N || z || (N = !0, K || (K = !0, ge()))), U;
}, a.unstable_shouldYield = G, a.unstable_wrapCallback = function(U) {
var J = R;
return function() {
var fe = R;
R = J;
try {
return U.apply(this, arguments);
} finally {
R = fe;
}
};
};
}(Iv)), Iv;
}
var Pv = {};
/**
* @license React
* scheduler.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var qT;
function Z3() {
return qT || (qT = 1, function(a) {
process.env.NODE_ENV !== "production" && function() {
function r() {
if (ne = !1, me) {
var U = a.unstable_now();
ge = U;
var J = !0;
try {
e: {
$ = !1, ye && (ye = !1, ve(G), G = -1), ae = !0;
var fe = j;
try {
t: {
for (g(U), Q = c(z); Q !== null && !(Q.expirationTime > U && S()); ) {
var Ne = Q.callback;
if (typeof Ne == "function") {
Q.callback = null, j = Q.priorityLevel;
var C = Ne(
Q.expirationTime <= U
);
if (U = a.unstable_now(), typeof C == "function") {
Q.callback = C, g(U), J = !0;
break t;
}
Q === c(z) && h(z), g(U);
} else h(z);
Q = c(z);
}
if (Q !== null) J = !0;
else {
var W = c(N);
W !== null && x(
b,
W.startTime - U
), J = !1;
}
}
break e;
} finally {
Q = null, j = fe, ae = !1;
}
J = void 0;
}
} finally {
J ? we() : me = !1;
}
}
}
function u(U, J) {
var fe = U.length;
U.push(J);
e: for (; 0 < fe; ) {
var Ne = fe - 1 >>> 1, C = U[Ne];
if (0 < p(C, J))
U[Ne] = J, U[fe] = C, fe = Ne;
else break e;
}
}
function c(U) {
return U.length === 0 ? null : U[0];
}
function h(U) {
if (U.length === 0) return null;
var J = U[0], fe = U.pop();
if (fe !== J) {
U[0] = fe;
e: for (var Ne = 0, C = U.length, W = C >>> 1; Ne < W; ) {
var ue = 2 * (Ne + 1) - 1, M = U[ue], Oe = ue + 1, Ue = U[Oe];
if (0 > p(M, fe))
Oe < C && 0 > p(Ue, M) ? (U[Ne] = Ue, U[Oe] = fe, Ne = Oe) : (U[Ne] = M, U[ue] = fe, Ne = ue);
else if (Oe < C && 0 > p(Ue, fe))
U[Ne] = Ue, U[Oe] = fe, Ne = Oe;
else break e;
}
}
return J;
}
function p(U, J) {
var fe = U.sortIndex - J.sortIndex;
return fe !== 0 ? fe : U.id - J.id;
}
function g(U) {
for (var J = c(N); J !== null; ) {
if (J.callback === null) h(N);
else if (J.startTime <= U)
h(N), J.sortIndex = J.expirationTime, u(z, J);
else break;
J = c(N);
}
}
function b(U) {
if (ye = !1, g(U), !$)
if (c(z) !== null)
$ = !0, me || (me = !0, we());
else {
var J = c(N);
J !== null && x(
b,
J.startTime - U
);
}
}
function S() {
return ne ? !0 : !(a.unstable_now() - ge < be);
}
function x(U, J) {
G = K(function() {
U(a.unstable_now());
}, J);
}
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), a.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
var E = performance;
a.unstable_now = function() {
return E.now();
};
} else {
var A = Date, R = A.now();
a.unstable_now = function() {
return A.now() - R;
};
}
var z = [], N = [], q = 1, Q = null, j = 3, ae = !1, $ = !1, ye = !1, ne = !1, K = typeof setTimeout == "function" ? setTimeout : null, ve = typeof clearTimeout == "function" ? clearTimeout : null, ke = typeof setImmediate < "u" ? setImmediate : null, me = !1, G = -1, be = 5, ge = -1;
if (typeof ke == "function")
var we = function() {
ke(r);
};
else if (typeof MessageChannel < "u") {
var xe = new MessageChannel(), Te = xe.port2;
xe.port1.onmessage = r, we = function() {
Te.postMessage(null);
};
} else
we = function() {
K(r, 0);
};
a.unstable_IdlePriority = 5, a.unstable_ImmediatePriority = 1, a.unstable_LowPriority = 4, a.unstable_NormalPriority = 3, a.unstable_Profiling = null, a.unstable_UserBlockingPriority = 2, a.unstable_cancelCallback = function(U) {
U.callback = null;
}, a.unstable_forceFrameRate = function(U) {
0 > U || 125 < U ? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
) : be = 0 < U ? Math.floor(1e3 / U) : 5;
}, a.unstable_getCurrentPriorityLevel = function() {
return j;
}, a.unstable_next = function(U) {
switch (j) {
case 1:
case 2:
case 3:
var J = 3;
break;
default:
J = j;
}
var fe = j;
j = J;
try {
return U();
} finally {
j = fe;
}
}, a.unstable_requestPaint = function() {
ne = !0;
}, a.unstable_runWithPriority = function(U, J) {
switch (U) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
U = 3;
}
var fe = j;
j = U;
try {
return J();
} finally {
j = fe;
}
}, a.unstable_scheduleCallback = function(U, J, fe) {
var Ne = a.unstable_now();
switch (typeof fe == "object" && fe !== null ? (fe = fe.delay, fe = typeof fe == "number" && 0 < fe ? Ne + fe : Ne) : fe = Ne, U) {
case 1:
var C = -1;
break;
case 2:
C = 250;
break;
case 5:
C = 1073741823;
break;
case 4:
C = 1e4;
break;
default:
C = 5e3;
}
return C = fe + C, U = {
id: q++,
callback: J,
priorityLevel: U,
startTime: fe,
expirationTime: C,
sortIndex: -1
}, fe > Ne ? (U.sortIndex = fe, u(N, U), c(z) === null && U === c(N) && (ye ? (ve(G), G = -1) : ye = !0, x(b, fe - Ne))) : (U.sortIndex = C, u(z, U), $ || ae || ($ = !0, me || (me = !0, we()))), U;
}, a.unstable_shouldYield = S, a.unstable_wrapCallback = function(U) {
var J = j;
return function() {
var fe = j;
j = J;
try {
return U.apply(this, arguments);
} finally {
j = fe;
}
};
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
}();
}(Pv)), Pv;
}
var YT;
function qA() {
return YT || (YT = 1, process.env.NODE_ENV === "production" ? $1.exports = Q3() : $1.exports = Z3()), $1.exports;
}
/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var VT;
function $3() {
if (VT) return Ry;
VT = 1;
var a = qA(), r = _p, u = jA;
function c(n) {
var i = "https://react.dev/errors/" + n;
if (1 < arguments.length) {
i += "?args[]=" + encodeURIComponent(arguments[1]);
for (var o = 2; o < arguments.length; o++)
i += "&args[]=" + encodeURIComponent(arguments[o]);
}
return "Minified React error #" + n + "; visit " + i + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
function h(n) {
return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11);
}
function p(n) {
var i = n, o = n;
if (n.alternate) for (; i.return; ) i = i.return;
else {
n = i;
do
i = n, (i.flags & 4098) !== 0 && (o = i.return), n = i.return;
while (n);
}
return i.tag === 3 ? o : null;
}
function g(n) {
if (n.tag === 13) {
var i = n.memoizedState;
if (i === null && (n = n.alternate, n !== null && (i = n.memoizedState)), i !== null) return i.dehydrated;
}
return null;
}
function b(n) {
if (p(n) !== n)
throw Error(c(188));
}
function S(n) {
var i = n.alternate;
if (!i) {
if (i = p(n), i === null) throw Error(c(188));
return i !== n ? null : n;
}
for (var o = n, f = i; ; ) {
var y = o.return;
if (y === null) break;
var v = y.alternate;
if (v === null) {
if (f = y.return, f !== null) {
o = f;
continue;
}
break;
}
if (y.child === v.child) {
for (v = y.child; v; ) {
if (v === o) return b(y), n;
if (v === f) return b(y), i;
v = v.sibling;
}
throw Error(c(188));
}
if (o.return !== f.return) o = y, f = v;
else {
for (var w = !1, D = y.child; D; ) {
if (D === o) {
w = !0, o = y, f = v;
break;
}
if (D === f) {
w = !0, f = y, o = v;
break;
}
D = D.sibling;
}
if (!w) {
for (D = v.child; D; ) {
if (D === o) {
w = !0, o = v, f = y;
break;
}
if (D === f) {
w = !0, f = v, o = y;
break;
}
D = D.sibling;
}
if (!w) throw Error(c(189));
}
}
if (o.alternate !== f) throw Error(c(190));
}
if (o.tag !== 3) throw Error(c(188));
return o.stateNode.current === o ? n : i;
}
function x(n) {
var i = n.tag;
if (i === 5 || i === 26 || i === 27 || i === 6) return n;
for (n = n.child; n !== null; ) {
if (i = x(n), i !== null) return i;
n = n.sibling;
}
return null;
}
var E = Object.assign, A = Symbol.for("react.element"), R = Symbol.for("react.transitional.element"), z = Symbol.for("react.portal"), N = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), Q = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), ae = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), ye = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), K = Symbol.for("react.suspense_list"), ve = Symbol.for("react.memo"), ke = Symbol.for("react.lazy"), me = Symbol.for("react.activity"), G = Symbol.for("react.memo_cache_sentinel"), be = Symbol.iterator;
function ge(n) {
return n === null || typeof n != "object" ? null : (n = be && n[be] || n["@@iterator"], typeof n == "function" ? n : null);
}
var we = Symbol.for("react.client.reference");
function xe(n) {
if (n == null) return null;
if (typeof n == "function")
return n.$$typeof === we ? null : n.displayName || n.name || null;
if (typeof n == "string") return n;
switch (n) {
case N:
return "Fragment";
case Q:
return "Profiler";
case q:
return "StrictMode";
case ne:
return "Suspense";
case K:
return "SuspenseList";
case me:
return "Activity";
}
if (typeof n == "object")
switch (n.$$typeof) {
case z:
return "Portal";
case $:
return (n.displayName || "Context") + ".Provider";
case ae:
return (n._context.displayName || "Context") + ".Consumer";
case ye:
var i = n.render;
return n = n.displayName, n || (n = i.displayName || i.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
case ve:
return i = n.displayName || null, i !== null ? i : xe(n.type) || "Memo";
case ke:
i = n._payload, n = n._init;
try {
return xe(n(i));
} catch {
}
}
return null;
}
var Te = Array.isArray, U = r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = {
pending: !1,
data: null,
method: null,
action: null
}, Ne = [], C = -1;
function W(n) {
return { current: n };
}
function ue(n) {
0 > C || (n.current = Ne[C], Ne[C] = null, C--);
}
function M(n, i) {
C++, Ne[C] = n.current, n.current = i;
}
var Oe = W(null), Ue = W(null), Ce = W(null), Fe = W(null);
function He(n, i) {
switch (M(Ce, i), M(Ue, n), M(Oe, null), i.nodeType) {
case 9:
case 11:
n = (n = i.documentElement) && (n = n.namespaceURI) ? rr(n) : 0;
break;
default:
if (n = i.tagName, i = i.namespaceURI)
i = rr(i), n = Ts(i, n);
else
switch (n) {
case "svg":
n = 1;
break;
case "math":
n = 2;
break;
default:
n = 0;
}
}
ue(Oe), M(Oe, n);
}
function Ge() {
ue(Oe), ue(Ue), ue(Ce);
}
function $e(n) {
n.memoizedState !== null && M(Fe, n);
var i = Oe.current, o = Ts(i, n.type);
i !== o && (M(Ue, n), M(Oe, o));
}
function Gt(n) {
Ue.current === n && (ue(Oe), ue(Ue)), Fe.current === n && (ue(Fe), Na._currentValue = fe);
}
var Me = Object.prototype.hasOwnProperty, gn = a.unstable_scheduleCallback, Ql = a.unstable_cancelCallback, yu = a.unstable_shouldYield, Zl = a.unstable_requestPaint, Pn = a.unstable_now, bu = a.unstable_getCurrentPriorityLevel, nc = a.unstable_ImmediatePriority, ko = a.unstable_UserBlockingPriority, vu = a.unstable_NormalPriority, ac = a.unstable_LowPriority, vr = a.unstable_IdlePriority, Hp = a.log, ed = a.unstable_setDisableYieldValue, de = null, Ee = null;
function Ze(n) {
if (typeof Hp == "function" && ed(n), Ee && typeof Ee.setStrictMode == "function")
try {
Ee.setStrictMode(de, n);
} catch {
}
}
var Ke = Math.clz32 ? Math.clz32 : Bi, Dt = Math.log, Sa = Math.LN2;
function Bi(n) {
return n >>>= 0, n === 0 ? 32 : 31 - (Dt(n) / Sa | 0) | 0;
}
var Wn = 256, oa = 4194304;
function xn(n) {
var i = n & 42;
if (i !== 0) return i;
switch (n & -n) {
case 1:
return 1;
case 2:
return 2;
case 4:
return 4;
case 8:
return 8;
case 16:
return 16;
case 32:
return 32;
case 64:
return 64;
case 128:
return 128;
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return n & 4194048;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return n & 62914560;
case 67108864:
return 67108864;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 0;
default:
return n;
}
}
function rn(n, i, o) {
var f = n.pendingLanes;
if (f === 0) return 0;
var y = 0, v = n.suspendedLanes, w = n.pingedLanes;
n = n.warmLanes;
var D = f & 134217727;
return D !== 0 ? (f = D & ~v, f !== 0 ? y = xn(f) : (w &= D, w !== 0 ? y = xn(w) : o || (o = D & ~n, o !== 0 && (y = xn(o))))) : (D = f & ~v, D !== 0 ? y = xn(D) : w !== 0 ? y = xn(w) : o || (o = f & ~n, o !== 0 && (y = xn(o)))), y === 0 ? 0 : i !== 0 && i !== y && (i & v) === 0 && (v = y & -y, o = i & -i, v >= o || v === 32 && (o & 4194048) !== 0) ? i : y;
}
function jn(n, i) {
return (n.pendingLanes & ~(n.suspendedLanes & ~n.pingedLanes) & i) === 0;
}
function Lt(n, i) {
switch (n) {
case 1:
case 2:
case 4:
case 8:
case 64:
return i + 250;
case 16:
case 32:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return i + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return -1;
case 67108864:
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1;
}
}
function Sr() {
var n = Wn;
return Wn <<= 1, (Wn & 4194048) === 0 && (Wn = 256), n;
}
function Su() {
var n = oa;
return oa <<= 1, (oa & 62914560) === 0 && (oa = 4194304), n;
}
function xr(n) {
for (var i = [], o = 0; 31 > o; o++) i.push(n);
return i;
}
function xu(n, i) {
n.pendingLanes |= i, i !== 268435456 && (n.suspendedLanes = 0, n.pingedLanes = 0, n.warmLanes = 0);
}
function e0(n, i, o, f, y, v) {
var w = n.pendingLanes;
n.pendingLanes = o, n.suspendedLanes = 0, n.pingedLanes = 0, n.warmLanes = 0, n.expiredLanes &= o, n.entangledLanes &= o, n.errorRecoveryDisabledLanes &= o, n.shellSuspendCounter = 0;
var D = n.entanglements, L = n.expirationTimes, F = n.hiddenUpdates;
for (o = w & ~o; 0 < o; ) {
var ce = 31 - Ke(o), pe = 1 << ce;
D[ce] = 0, L[ce] = -1;
var P = F[ce];
if (P !== null)
for (F[ce] = null, ce = 0; ce < P.length; ce++) {
var te = P[ce];
te !== null && (te.lane &= -536870913);
}
o &= ~pe;
}
f !== 0 && lc(n, f, 0), v !== 0 && y === 0 && n.tag !== 0 && (n.suspendedLanes |= v & ~(w & ~i));
}
function lc(n, i, o) {
n.pendingLanes |= i, n.suspendedLanes &= ~i;
var f = 31 - Ke(i);
n.entangledLanes |= i, n.entanglements[f] = n.entanglements[f] | 1073741824 | o & 4194090;
}
function ic(n, i) {
var o = n.entangledLanes |= i;
for (n = n.entanglements; o; ) {
var f = 31 - Ke(o), y = 1 << f;
y & i | n[f] & i && (n[f] |= i), o &= ~y;
}
}
function El(n) {
switch (n) {
case 2:
n = 1;
break;
case 8:
n = 4;
break;
case 32:
n = 16;
break;
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
case 4194304:
case 8388608:
case 16777216:
case 33554432:
n = 128;
break;
case 268435456:
n = 134217728;
break;
default:
n = 0;
}
return n;
}
function td(n) {
return n &= -n, 2 < n ? 8 < n ? (n & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
}
function t0() {
var n = J.p;
return n !== 0 ? n : (n = window.event, n === void 0 ? 32 : Yg(n.type));
}
function Mb(n, i) {
var o = J.p;
try {
return J.p = n, i();
} finally {
J.p = o;
}
}
var Tn = Math.random().toString(36).slice(2), Dn = "__reactFiber$" + Tn, sa = "__reactProps$" + Tn, Mo = "__reactContainer$" + Tn, nd = "__reactEvents$" + Tn, n0 = "__reactListeners$" + Tn, ad = "__reactHandles$" + Tn, a0 = "__reactResources$" + Tn, Be = "__reactMarker$" + Tn;
function rc(n) {
delete n[Dn], delete n[sa], delete n[nd], delete n[n0], delete n[ad];
}
function qn(n) {
var i = n[Dn];
if (i) return i;
for (var o = n.parentNode; o; ) {
if (i = o[Mo] || o[Dn]) {
if (o = i.alternate, i.child !== null || o !== null && o.child !== null)
for (n = $n(n); n !== null; ) {
if (o = n[Dn]) return o;
n = $n(n);
}
return i;
}
n = o, o = n.parentNode;
}
return null;
}
function Tu(n) {
if (n = n[Dn] || n[Mo]) {
var i = n.tag;
if (i === 5 || i === 6 || i === 13 || i === 26 || i === 27 || i === 3)
return n;
}
return null;
}
function uc(n) {
var i = n.tag;
if (i === 5 || i === 26 || i === 27 || i === 6) return n.stateNode;
throw Error(c(33));
}
function ji(n) {
var i = n[a0];
return i || (i = n[a0] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), i;
}
function En(n) {
n[Be] = !0;
}
var oc = /* @__PURE__ */ new Set(), qa = {};
function Tr(n, i) {
Er(n, i), Er(n + "Capture", i);
}
function Er(n, i) {
for (qa[n] = i, n = 0; n < i.length; n++)
oc.add(i[n]);
}
var l0 = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
), ld = {}, Bp = {};
function i0(n) {
return Me.call(Bp, n) ? !0 : Me.call(ld, n) ? !1 : l0.test(n) ? Bp[n] = !0 : (ld[n] = !0, !1);
}
function qi(n, i, o) {
if (i0(i))
if (o === null) n.removeAttribute(i);
else {
switch (typeof o) {
case "undefined":
case "function":
case "symbol":
n.removeAttribute(i);
return;
case "boolean":
var f = i.toLowerCase().slice(0, 5);
if (f !== "data-" && f !== "aria-") {
n.removeAttribute(i);
return;
}
}
n.setAttribute(i, "" + o);
}
}
function sc(n, i, o) {
if (o === null) n.removeAttribute(i);
else {
switch (typeof o) {
case "undefined":
case "function":
case "symbol":
case "boolean":
n.removeAttribute(i);
return;
}
n.setAttribute(i, "" + o);
}
}
function $l(n, i, o, f) {
if (f === null) n.removeAttribute(o);
else {
switch (typeof f) {
case "undefined":
case "function":
case "symbol":
case "boolean":
n.removeAttribute(o);
return;
}
n.setAttributeNS(i, o, "" + f);
}
}
var id, jp;
function Eu(n) {
if (id === void 0)
try {
throw Error();
} catch (o) {
var i = o.stack.trim().match(/\n( *(at )?)/);
id = i && i[1] || "", jp = -1 < o.stack.indexOf(`
at`) ? " (<anonymous>)" : -1 < o.stack.indexOf("@") ? "@unknown:0:0" : "";
}
return `
` + id + n + jp;
}
var ca = !1;
function Ar(n, i) {
if (!n || ca) return "";
ca = !0;
var o = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
var f = {
DetermineComponentFrameRoot: function() {
try {
if (i) {
var pe = function() {
throw Error();
};
if (Object.defineProperty(pe.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(pe, []);
} catch (te) {
var P = te;
}
Reflect.construct(n, [], pe);
} else {
try {
pe.call();
} catch (te) {
P = te;
}
n.call(pe.prototype);
}
} else {
try {
throw Error();
} catch (te) {
P = te;
}
(pe = n()) && typeof pe.catch == "function" && pe.catch(function() {
});
}
} catch (te) {
if (te && P && typeof te.stack == "string")
return [te.stack, P.stack];
}
return [null, null];
}
};
f.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var y = Object.getOwnPropertyDescriptor(
f.DetermineComponentFrameRoot,
"name"
);
y && y.configurable && Object.defineProperty(
f.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var v = f.DetermineComponentFrameRoot(), w = v[0], D = v[1];
if (w && D) {
var L = w.split(`
`), F = D.split(`
`);
for (y = f = 0; f < L.length && !L[f].includes("DetermineComponentFrameRoot"); )
f++;
for (; y < F.length && !F[y].includes(
"DetermineComponentFrameRoot"
); )
y++;
if (f === L.length || y === F.length)
for (f = L.length - 1, y = F.length - 1; 1 <= f && 0 <= y && L[f] !== F[y]; )
y--;
for (; 1 <= f && 0 <= y; f--, y--)
if (L[f] !== F[y]) {
if (f !== 1 || y !== 1)
do
if (f--, y--, 0 > y || L[f] !== F[y]) {
var ce = `
` + L[f].replace(" at new ", " at ");
return n.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", n.displayName)), ce;
}
while (1 <= f && 0 <= y);
break;
}
}
} finally {
ca = !1, Error.prepareStackTrace = o;
}
return (o = n ? n.displayName || n.name : "") ? Eu(o) : "";
}
function Au(n) {
switch (n.tag) {
case 26:
case 27:
case 5:
return Eu(n.type);
case 16:
return Eu("Lazy");
case 13:
return Eu("Suspense");
case 19:
return Eu("SuspenseList");
case 0:
case 15:
return Ar(n.type, !1);
case 11:
return Ar(n.type.render, !1);
case 1:
return Ar(n.type, !0);
case 31:
return Eu("Activity");
default:
return "";
}
}
function qp(n) {
try {
var i = "";
do
i += Au(n), n = n.return;
while (n);
return i;
} catch (o) {
return `
Error generating stack: ` + o.message + `
` + o.stack;
}
}
function ea(n) {
switch (typeof n) {
case "bigint":
case "boolean":
case "number":
case "string":
case "undefined":
return n;
case "object":
return n;
default:
return "";
}
}
function cc(n) {
var i = n.type;
return (n = n.nodeName) && n.toLowerCase() === "input" && (i === "checkbox" || i === "radio");
}
function Yp(n) {
var i = cc(n) ? "checked" : "value", o = Object.getOwnPropertyDescriptor(
n.constructor.prototype,
i
), f = "" + n[i];
if (!n.hasOwnProperty(i) && typeof o < "u" && typeof o.get == "function" && typeof o.set == "function") {
var y = o.get, v = o.set;
return Object.defineProperty(n, i, {
configurable: !0,
get: function() {
return y.call(this);
},
set: function(w) {
f = "" + w, v.call(this, w);
}
}), Object.defineProperty(n, i, {
enumerable: o.enumerable
}), {
getValue: function() {
return f;
},
setValue: function(w) {
f = "" + w;
},
stopTracking: function() {
n._valueTracker = null, delete n[i];
}
};
}
}
function Or(n) {
n._valueTracker || (n._valueTracker = Yp(n));
}
function Ou(n) {
if (!n) return !1;
var i = n._valueTracker;
if (!i) return !0;
var o = i.getValue(), f = "";
return n && (f = cc(n) ? n.checked ? "true" : "false" : n.value), n = f, n !== o ? (i.setValue(n), !0) : !1;
}
function _o(n) {
if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null;
try {
return n.activeElement || n.body;
} catch {
return n.body;
}
}
var _b = /[\n"\\]/g;
function nl(n) {
return n.replace(
_b,
function(i) {
return "\\" + i.charCodeAt(0).toString(16) + " ";
}
);
}
function rd(n, i, o, f, y, v, w, D) {
n.name = "", w != null && typeof w != "function" && typeof w != "symbol" && typeof w != "boolean" ? n.type = w : n.removeAttribute("type"), i != null ? w === "number" ? (i === 0 && n.value === "" || n.value != i) && (n.value = "" + ea(i)) : n.value !== "" + ea(i) && (n.value = "" + ea(i)) : w !== "submit" && w !== "reset" || n.removeAttribute("value"), i != null ? fc(n, w, ea(i)) : o != null ? fc(n, w, ea(o)) : f != null && n.removeAttribute("value"), y == null && v != null && (n.defaultChecked = !!v), y != null && (n.checked = y && typeof y != "function" && typeof y != "symbol"), D != null && typeof D != "function" && typeof D != "symbol" && typeof D != "boolean" ? n.name = "" + ea(D) : n.removeAttribute("name");
}
function ud(n, i, o, f, y, v, w, D) {
if (v != null && typeof v != "function" && typeof v != "symbol" && typeof v != "boolean" && (n.type = v), i != null || o != null) {
if (!(v !== "submit" && v !== "reset" || i != null))
return;
o = o != null ? "" + ea(o) : "", i = i != null ? "" + ea(i) : o, D || i === n.value || (n.value = i), n.defaultValue = i;
}
f = f ?? y, f = typeof f != "function" && typeof f != "symbol" && !!f, n.checked = D ? n.checked : !!f, n.defaultChecked = !!f, w != null && typeof w != "function" && typeof w != "symbol" && typeof w != "boolean" && (n.name = w);
}
function fc(n, i, o) {
i === "number" && _o(n.ownerDocument) === n || n.defaultValue === "" + o || (n.defaultValue = "" + o);
}
function wu(n, i, o, f) {
if (n = n.options, i) {
i = {};
for (var y = 0; y < o.length; y++)
i["$" + o[y]] = !0;
for (o = 0; o < n.length; o++)
y = i.hasOwnProperty("$" + n[o].value), n[o].selected !== y && (n[o].selected = y), y && f && (n[o].defaultSelected = !0);
} else {
for (o = "" + ea(o), i = null, y = 0; y < n.length; y++) {
if (n[y].value === o) {
n[y].selected = !0, f && (n[y].defaultSelected = !0);
return;
}
i !== null || n[y].disabled || (i = n[y]);
}
i !== null && (i.selected = !0);
}
}
function Vp(n, i, o) {
if (i != null && (i = "" + ea(i), i !== n.value && (n.value = i), o == null)) {
n.defaultValue !== i && (n.defaultValue = i);
return;
}
n.defaultValue = o != null ? "" + ea(o) : "";
}
function Gp(n, i, o, f) {
if (i == null) {
if (f != null) {
if (o != null) throw Error(c(92));
if (Te(f)) {
if (1 < f.length) throw Error(c(93));
f = f[0];
}
o = f;
}
o == null && (o = ""), i = o;
}
o = ea(i), n.defaultValue = o, f = n.textContent, f === o && f !== "" && f !== null && (n.value = f);
}
function No(n, i) {
if (i) {
var o = n.firstChild;
if (o && o === n.lastChild && o.nodeType === 3) {
o.nodeValue = i;
return;
}
}
n.textContent = i;
}
var r0 = new Set(
"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
" "
)
);
function od(n, i, o) {
var f = i.indexOf("--") === 0;
o == null || typeof o == "boolean" || o === "" ? f ? n.setProperty(i, "") : i === "float" ? n.cssFloat = "" : n[i] = "" : f ? n.setProperty(i, o) : typeof o != "number" || o === 0 || r0.has(i) ? i === "float" ? n.cssFloat = o : n[i] = ("" + o).trim() : n[i] = o + "px";
}
function dc(n, i, o) {
if (i != null && typeof i != "object")
throw Error(c(62));
if (n = n.style, o != null) {
for (var f in o)
!o.hasOwnProperty(f) || i != null && i.hasOwnProperty(f) || (f.indexOf("--") === 0 ? n.setProperty(f, "") : f === "float" ? n.cssFloat = "" : n[f] = "");
for (var y in i)
f = i[y], i.hasOwnProperty(y) && o[y] !== f && od(n, y, f);
} else
for (var v in i)
i.hasOwnProperty(v) && od(n, v, i[v]);
}
function Cu(n) {
if (n.indexOf("-") === -1) return !1;
switch (n) {
case "annotation-xml":
case "color-profile":
case "font-fa