@dasf/dasf-web-component
Version:
Web component for rendering a DASF backend module.
1,423 lines (1,422 loc) • 1.23 MB
JavaScript
var C5 = Object.defineProperty;
var x5 = (e, t, n) => t in e ? C5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
var yu = (e, t, n) => x5(e, typeof t != "symbol" ? t + "" : t, n);
function E5(e, t) {
for (var n = 0; n < t.length; n++) {
const o = t[n];
if (typeof o != "string" && !Array.isArray(o)) {
for (const i in o)
if (i !== "default" && !(i in e)) {
const s = Object.getOwnPropertyDescriptor(o, i);
s && Object.defineProperty(e, i, s.get ? s : {
enumerable: !0,
get: () => o[i]
});
}
}
}
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
}
var Tu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function Ft(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var u$ = { exports: {} }, xt = {};
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var zb;
function _5() {
if (zb) return xt;
zb = 1;
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), g = Symbol.iterator;
function h(T) {
return T === null || typeof T != "object" ? null : (T = g && T[g] || T["@@iterator"], typeof T == "function" ? T : null);
}
var y = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, v = Object.assign, C = {};
function $(T, H, G) {
this.props = T, this.context = H, this.refs = C, this.updater = G || y;
}
$.prototype.isReactComponent = {}, $.prototype.setState = function(T, H) {
if (typeof T != "object" && typeof T != "function" && T != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, T, H, "setState");
}, $.prototype.forceUpdate = function(T) {
this.updater.enqueueForceUpdate(this, T, "forceUpdate");
};
function S() {
}
S.prototype = $.prototype;
function w(T, H, G) {
this.props = T, this.context = H, this.refs = C, this.updater = G || y;
}
var _ = w.prototype = new S();
_.constructor = w, v(_, $.prototype), _.isPureReactComponent = !0;
var b = Array.isArray, k = Object.prototype.hasOwnProperty, E = { current: null }, j = { key: !0, ref: !0, __self: !0, __source: !0 };
function L(T, H, G) {
var N, U = {}, Z = null, me = null;
if (H != null) for (N in H.ref !== void 0 && (me = H.ref), H.key !== void 0 && (Z = "" + H.key), H) k.call(H, N) && !j.hasOwnProperty(N) && (U[N] = H[N]);
var ue = arguments.length - 2;
if (ue === 1) U.children = G;
else if (1 < ue) {
for (var Ce = Array(ue), $e = 0; $e < ue; $e++) Ce[$e] = arguments[$e + 2];
U.children = Ce;
}
if (T && T.defaultProps) for (N in ue = T.defaultProps, ue) U[N] === void 0 && (U[N] = ue[N]);
return { $$typeof: e, type: T, key: Z, ref: me, props: U, _owner: E.current };
}
function B(T, H) {
return { $$typeof: e, type: T.type, key: H, ref: T.ref, props: T.props, _owner: T._owner };
}
function O(T) {
return typeof T == "object" && T !== null && T.$$typeof === e;
}
function V(T) {
var H = { "=": "=0", ":": "=2" };
return "$" + T.replace(/[=:]/g, function(G) {
return H[G];
});
}
var W = /\/+/g;
function q(T, H) {
return typeof T == "object" && T !== null && T.key != null ? V("" + T.key) : H.toString(36);
}
function Q(T, H, G, N, U) {
var Z = typeof T;
(Z === "undefined" || Z === "boolean") && (T = null);
var me = !1;
if (T === null) me = !0;
else switch (Z) {
case "string":
case "number":
me = !0;
break;
case "object":
switch (T.$$typeof) {
case e:
case t:
me = !0;
}
}
if (me) return me = T, U = U(me), T = N === "" ? "." + q(me, 0) : N, b(U) ? (G = "", T != null && (G = T.replace(W, "$&/") + "/"), Q(U, H, G, "", function($e) {
return $e;
})) : U != null && (O(U) && (U = B(U, G + (!U.key || me && me.key === U.key ? "" : ("" + U.key).replace(W, "$&/") + "/") + T)), H.push(U)), 1;
if (me = 0, N = N === "" ? "." : N + ":", b(T)) for (var ue = 0; ue < T.length; ue++) {
Z = T[ue];
var Ce = N + q(Z, ue);
me += Q(Z, H, G, Ce, U);
}
else if (Ce = h(T), typeof Ce == "function") for (T = Ce.call(T), ue = 0; !(Z = T.next()).done; ) Z = Z.value, Ce = N + q(Z, ue++), me += Q(Z, H, G, Ce, U);
else if (Z === "object") throw H = String(T), Error("Objects are not valid as a React child (found: " + (H === "[object Object]" ? "object with keys {" + Object.keys(T).join(", ") + "}" : H) + "). If you meant to render a collection of children, use an array instead.");
return me;
}
function X(T, H, G) {
if (T == null) return T;
var N = [], U = 0;
return Q(T, N, "", "", function(Z) {
return H.call(G, Z, U++);
}), N;
}
function ce(T) {
if (T._status === -1) {
var H = T._result;
H = H(), H.then(function(G) {
(T._status === 0 || T._status === -1) && (T._status = 1, T._result = G);
}, function(G) {
(T._status === 0 || T._status === -1) && (T._status = 2, T._result = G);
}), T._status === -1 && (T._status = 0, T._result = H);
}
if (T._status === 1) return T._result.default;
throw T._result;
}
var J = { current: null }, ie = { transition: null }, re = { ReactCurrentDispatcher: J, ReactCurrentBatchConfig: ie, ReactCurrentOwner: E };
function Y() {
throw Error("act(...) is not supported in production builds of React.");
}
return xt.Children = { map: X, forEach: function(T, H, G) {
X(T, function() {
H.apply(this, arguments);
}, G);
}, count: function(T) {
var H = 0;
return X(T, function() {
H++;
}), H;
}, toArray: function(T) {
return X(T, function(H) {
return H;
}) || [];
}, only: function(T) {
if (!O(T)) throw Error("React.Children.only expected to receive a single React element child.");
return T;
} }, xt.Component = $, xt.Fragment = n, xt.Profiler = i, xt.PureComponent = w, xt.StrictMode = o, xt.Suspense = c, xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, xt.act = Y, xt.cloneElement = function(T, H, G) {
if (T == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + T + ".");
var N = v({}, T.props), U = T.key, Z = T.ref, me = T._owner;
if (H != null) {
if (H.ref !== void 0 && (Z = H.ref, me = E.current), H.key !== void 0 && (U = "" + H.key), T.type && T.type.defaultProps) var ue = T.type.defaultProps;
for (Ce in H) k.call(H, Ce) && !j.hasOwnProperty(Ce) && (N[Ce] = H[Ce] === void 0 && ue !== void 0 ? ue[Ce] : H[Ce]);
}
var Ce = arguments.length - 2;
if (Ce === 1) N.children = G;
else if (1 < Ce) {
ue = Array(Ce);
for (var $e = 0; $e < Ce; $e++) ue[$e] = arguments[$e + 2];
N.children = ue;
}
return { $$typeof: e, type: T.type, key: U, ref: Z, props: N, _owner: me };
}, xt.createContext = function(T) {
return T = { $$typeof: l, _currentValue: T, _currentValue2: T, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, T.Provider = { $$typeof: s, _context: T }, T.Consumer = T;
}, xt.createElement = L, xt.createFactory = function(T) {
var H = L.bind(null, T);
return H.type = T, H;
}, xt.createRef = function() {
return { current: null };
}, xt.forwardRef = function(T) {
return { $$typeof: u, render: T };
}, xt.isValidElement = O, xt.lazy = function(T) {
return { $$typeof: p, _payload: { _status: -1, _result: T }, _init: ce };
}, xt.memo = function(T, H) {
return { $$typeof: f, type: T, compare: H === void 0 ? null : H };
}, xt.startTransition = function(T) {
var H = ie.transition;
ie.transition = {};
try {
T();
} finally {
ie.transition = H;
}
}, xt.unstable_act = Y, xt.useCallback = function(T, H) {
return J.current.useCallback(T, H);
}, xt.useContext = function(T) {
return J.current.useContext(T);
}, xt.useDebugValue = function() {
}, xt.useDeferredValue = function(T) {
return J.current.useDeferredValue(T);
}, xt.useEffect = function(T, H) {
return J.current.useEffect(T, H);
}, xt.useId = function() {
return J.current.useId();
}, xt.useImperativeHandle = function(T, H, G) {
return J.current.useImperativeHandle(T, H, G);
}, xt.useInsertionEffect = function(T, H) {
return J.current.useInsertionEffect(T, H);
}, xt.useLayoutEffect = function(T, H) {
return J.current.useLayoutEffect(T, H);
}, xt.useMemo = function(T, H) {
return J.current.useMemo(T, H);
}, xt.useReducer = function(T, H, G) {
return J.current.useReducer(T, H, G);
}, xt.useRef = function(T) {
return J.current.useRef(T);
}, xt.useState = function(T) {
return J.current.useState(T);
}, xt.useSyncExternalStore = function(T, H, G) {
return J.current.useSyncExternalStore(T, H, G);
}, xt.useTransition = function() {
return J.current.useTransition();
}, xt.version = "18.3.1", xt;
}
u$.exports = _5();
var z = u$.exports;
const lo = /* @__PURE__ */ Ft(z), Zu = /* @__PURE__ */ E5({
__proto__: null,
default: lo
}, [z]);
var c$ = { exports: {} }, Ir = {}, Pm = { exports: {} }, Om = {};
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Bb;
function k5() {
return Bb || (Bb = 1, function(e) {
function t(ie, re) {
var Y = ie.length;
ie.push(re);
e: for (; 0 < Y; ) {
var T = Y - 1 >>> 1, H = ie[T];
if (0 < i(H, re)) ie[T] = re, ie[Y] = H, Y = T;
else break e;
}
}
function n(ie) {
return ie.length === 0 ? null : ie[0];
}
function o(ie) {
if (ie.length === 0) return null;
var re = ie[0], Y = ie.pop();
if (Y !== re) {
ie[0] = Y;
e: for (var T = 0, H = ie.length, G = H >>> 1; T < G; ) {
var N = 2 * (T + 1) - 1, U = ie[N], Z = N + 1, me = ie[Z];
if (0 > i(U, Y)) Z < H && 0 > i(me, U) ? (ie[T] = me, ie[Z] = Y, T = Z) : (ie[T] = U, ie[N] = Y, T = N);
else if (Z < H && 0 > i(me, Y)) ie[T] = me, ie[Z] = Y, T = Z;
else break e;
}
}
return re;
}
function i(ie, re) {
var Y = ie.sortIndex - re.sortIndex;
return Y !== 0 ? Y : ie.id - re.id;
}
if (typeof performance == "object" && typeof performance.now == "function") {
var s = performance;
e.unstable_now = function() {
return s.now();
};
} else {
var l = Date, u = l.now();
e.unstable_now = function() {
return l.now() - u;
};
}
var c = [], f = [], p = 1, g = null, h = 3, y = !1, v = !1, C = !1, $ = typeof setTimeout == "function" ? setTimeout : null, S = typeof clearTimeout == "function" ? clearTimeout : null, w = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function _(ie) {
for (var re = n(f); re !== null; ) {
if (re.callback === null) o(f);
else if (re.startTime <= ie) o(f), re.sortIndex = re.expirationTime, t(c, re);
else break;
re = n(f);
}
}
function b(ie) {
if (C = !1, _(ie), !v) if (n(c) !== null) v = !0, ce(k);
else {
var re = n(f);
re !== null && J(b, re.startTime - ie);
}
}
function k(ie, re) {
v = !1, C && (C = !1, S(L), L = -1), y = !0;
var Y = h;
try {
for (_(re), g = n(c); g !== null && (!(g.expirationTime > re) || ie && !V()); ) {
var T = g.callback;
if (typeof T == "function") {
g.callback = null, h = g.priorityLevel;
var H = T(g.expirationTime <= re);
re = e.unstable_now(), typeof H == "function" ? g.callback = H : g === n(c) && o(c), _(re);
} else o(c);
g = n(c);
}
if (g !== null) var G = !0;
else {
var N = n(f);
N !== null && J(b, N.startTime - re), G = !1;
}
return G;
} finally {
g = null, h = Y, y = !1;
}
}
var E = !1, j = null, L = -1, B = 5, O = -1;
function V() {
return !(e.unstable_now() - O < B);
}
function W() {
if (j !== null) {
var ie = e.unstable_now();
O = ie;
var re = !0;
try {
re = j(!0, ie);
} finally {
re ? q() : (E = !1, j = null);
}
} else E = !1;
}
var q;
if (typeof w == "function") q = function() {
w(W);
};
else if (typeof MessageChannel < "u") {
var Q = new MessageChannel(), X = Q.port2;
Q.port1.onmessage = W, q = function() {
X.postMessage(null);
};
} else q = function() {
$(W, 0);
};
function ce(ie) {
j = ie, E || (E = !0, q());
}
function J(ie, re) {
L = $(function() {
ie(e.unstable_now());
}, re);
}
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(ie) {
ie.callback = null;
}, e.unstable_continueExecution = function() {
v || y || (v = !0, ce(k));
}, e.unstable_forceFrameRate = function(ie) {
0 > ie || 125 < ie ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : B = 0 < ie ? Math.floor(1e3 / ie) : 5;
}, e.unstable_getCurrentPriorityLevel = function() {
return h;
}, e.unstable_getFirstCallbackNode = function() {
return n(c);
}, e.unstable_next = function(ie) {
switch (h) {
case 1:
case 2:
case 3:
var re = 3;
break;
default:
re = h;
}
var Y = h;
h = re;
try {
return ie();
} finally {
h = Y;
}
}, e.unstable_pauseExecution = function() {
}, e.unstable_requestPaint = function() {
}, e.unstable_runWithPriority = function(ie, re) {
switch (ie) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
ie = 3;
}
var Y = h;
h = ie;
try {
return re();
} finally {
h = Y;
}
}, e.unstable_scheduleCallback = function(ie, re, Y) {
var T = e.unstable_now();
switch (typeof Y == "object" && Y !== null ? (Y = Y.delay, Y = typeof Y == "number" && 0 < Y ? T + Y : T) : Y = T, ie) {
case 1:
var H = -1;
break;
case 2:
H = 250;
break;
case 5:
H = 1073741823;
break;
case 4:
H = 1e4;
break;
default:
H = 5e3;
}
return H = Y + H, ie = { id: p++, callback: re, priorityLevel: ie, startTime: Y, expirationTime: H, sortIndex: -1 }, Y > T ? (ie.sortIndex = Y, t(f, ie), n(c) === null && ie === n(f) && (C ? (S(L), L = -1) : C = !0, J(b, Y - T))) : (ie.sortIndex = H, t(c, ie), v || y || (v = !0, ce(k))), ie;
}, e.unstable_shouldYield = V, e.unstable_wrapCallback = function(ie) {
var re = h;
return function() {
var Y = h;
h = re;
try {
return ie.apply(this, arguments);
} finally {
h = Y;
}
};
};
}(Om)), Om;
}
var Ub;
function P5() {
return Ub || (Ub = 1, Pm.exports = k5()), Pm.exports;
}
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Vb;
function O5() {
if (Vb) return Ir;
Vb = 1;
var e = z, t = P5();
function n(r) {
for (var a = "https://reactjs.org/docs/error-decoder.html?invariant=" + r, d = 1; d < arguments.length; d++) a += "&args[]=" + encodeURIComponent(arguments[d]);
return "Minified React error #" + r + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var o = /* @__PURE__ */ new Set(), i = {};
function s(r, a) {
l(r, a), l(r + "Capture", a);
}
function l(r, a) {
for (i[r] = a, r = 0; r < a.length; r++) o.add(a[r]);
}
var u = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), c = Object.prototype.hasOwnProperty, f = /^[: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]*$/, p = {}, g = {};
function h(r) {
return c.call(g, r) ? !0 : c.call(p, r) ? !1 : f.test(r) ? g[r] = !0 : (p[r] = !0, !1);
}
function y(r, a, d, m) {
if (d !== null && d.type === 0) return !1;
switch (typeof a) {
case "function":
case "symbol":
return !0;
case "boolean":
return m ? !1 : d !== null ? !d.acceptsBooleans : (r = r.toLowerCase().slice(0, 5), r !== "data-" && r !== "aria-");
default:
return !1;
}
}
function v(r, a, d, m) {
if (a === null || typeof a > "u" || y(r, a, d, m)) return !0;
if (m) return !1;
if (d !== null) switch (d.type) {
case 3:
return !a;
case 4:
return a === !1;
case 5:
return isNaN(a);
case 6:
return isNaN(a) || 1 > a;
}
return !1;
}
function C(r, a, d, m, x, P, M) {
this.acceptsBooleans = a === 2 || a === 3 || a === 4, this.attributeName = m, this.attributeNamespace = x, this.mustUseProperty = d, this.propertyName = r, this.type = a, this.sanitizeURL = P, this.removeEmptyString = M;
}
var $ = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r) {
$[r] = new C(r, 0, !1, r, null, !1, !1);
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(r) {
var a = r[0];
$[a] = new C(a, 1, !1, r[1], null, !1, !1);
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(r) {
$[r] = new C(r, 2, !1, r.toLowerCase(), null, !1, !1);
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(r) {
$[r] = new C(r, 2, !1, r, null, !1, !1);
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r) {
$[r] = new C(r, 3, !1, r.toLowerCase(), null, !1, !1);
}), ["checked", "multiple", "muted", "selected"].forEach(function(r) {
$[r] = new C(r, 3, !0, r, null, !1, !1);
}), ["capture", "download"].forEach(function(r) {
$[r] = new C(r, 4, !1, r, null, !1, !1);
}), ["cols", "rows", "size", "span"].forEach(function(r) {
$[r] = new C(r, 6, !1, r, null, !1, !1);
}), ["rowSpan", "start"].forEach(function(r) {
$[r] = new C(r, 5, !1, r.toLowerCase(), null, !1, !1);
});
var S = /[\-:]([a-z])/g;
function w(r) {
return r[1].toUpperCase();
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r) {
var a = r.replace(
S,
w
);
$[a] = new C(a, 1, !1, r, null, !1, !1);
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r) {
var a = r.replace(S, w);
$[a] = new C(a, 1, !1, r, "http://www.w3.org/1999/xlink", !1, !1);
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(r) {
var a = r.replace(S, w);
$[a] = new C(a, 1, !1, r, "http://www.w3.org/XML/1998/namespace", !1, !1);
}), ["tabIndex", "crossOrigin"].forEach(function(r) {
$[r] = new C(r, 1, !1, r.toLowerCase(), null, !1, !1);
}), $.xlinkHref = new C("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(r) {
$[r] = new C(r, 1, !1, r.toLowerCase(), null, !0, !0);
});
function _(r, a, d, m) {
var x = $.hasOwnProperty(a) ? $[a] : null;
(x !== null ? x.type !== 0 : m || !(2 < a.length) || a[0] !== "o" && a[0] !== "O" || a[1] !== "n" && a[1] !== "N") && (v(a, d, x, m) && (d = null), m || x === null ? h(a) && (d === null ? r.removeAttribute(a) : r.setAttribute(a, "" + d)) : x.mustUseProperty ? r[x.propertyName] = d === null ? x.type === 3 ? !1 : "" : d : (a = x.attributeName, m = x.attributeNamespace, d === null ? r.removeAttribute(a) : (x = x.type, d = x === 3 || x === 4 && d === !0 ? "" : "" + d, m ? r.setAttributeNS(m, a, d) : r.setAttribute(a, d))));
}
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, k = Symbol.for("react.element"), E = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), L = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), V = Symbol.for("react.context"), W = Symbol.for("react.forward_ref"), q = Symbol.for("react.suspense"), Q = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), J = Symbol.for("react.offscreen"), ie = Symbol.iterator;
function re(r) {
return r === null || typeof r != "object" ? null : (r = ie && r[ie] || r["@@iterator"], typeof r == "function" ? r : null);
}
var Y = Object.assign, T;
function H(r) {
if (T === void 0) try {
throw Error();
} catch (d) {
var a = d.stack.trim().match(/\n( *(at )?)/);
T = a && a[1] || "";
}
return `
` + T + r;
}
var G = !1;
function N(r, a) {
if (!r || G) return "";
G = !0;
var d = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (a) if (a = function() {
throw Error();
}, Object.defineProperty(a.prototype, "props", { set: function() {
throw Error();
} }), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(a, []);
} catch (he) {
var m = he;
}
Reflect.construct(r, [], a);
} else {
try {
a.call();
} catch (he) {
m = he;
}
r.call(a.prototype);
}
else {
try {
throw Error();
} catch (he) {
m = he;
}
r();
}
} catch (he) {
if (he && m && typeof he.stack == "string") {
for (var x = he.stack.split(`
`), P = m.stack.split(`
`), M = x.length - 1, K = P.length - 1; 1 <= M && 0 <= K && x[M] !== P[K]; ) K--;
for (; 1 <= M && 0 <= K; M--, K--) if (x[M] !== P[K]) {
if (M !== 1 || K !== 1)
do
if (M--, K--, 0 > K || x[M] !== P[K]) {
var te = `
` + x[M].replace(" at new ", " at ");
return r.displayName && te.includes("<anonymous>") && (te = te.replace("<anonymous>", r.displayName)), te;
}
while (1 <= M && 0 <= K);
break;
}
}
} finally {
G = !1, Error.prepareStackTrace = d;
}
return (r = r ? r.displayName || r.name : "") ? H(r) : "";
}
function U(r) {
switch (r.tag) {
case 5:
return H(r.type);
case 16:
return H("Lazy");
case 13:
return H("Suspense");
case 19:
return H("SuspenseList");
case 0:
case 2:
case 15:
return r = N(r.type, !1), r;
case 11:
return r = N(r.type.render, !1), r;
case 1:
return r = N(r.type, !0), r;
default:
return "";
}
}
function Z(r) {
if (r == null) return null;
if (typeof r == "function") return r.displayName || r.name || null;
if (typeof r == "string") return r;
switch (r) {
case j:
return "Fragment";
case E:
return "Portal";
case B:
return "Profiler";
case L:
return "StrictMode";
case q:
return "Suspense";
case Q:
return "SuspenseList";
}
if (typeof r == "object") switch (r.$$typeof) {
case V:
return (r.displayName || "Context") + ".Consumer";
case O:
return (r._context.displayName || "Context") + ".Provider";
case W:
var a = r.render;
return r = r.displayName, r || (r = a.displayName || a.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
case X:
return a = r.displayName || null, a !== null ? a : Z(r.type) || "Memo";
case ce:
a = r._payload, r = r._init;
try {
return Z(r(a));
} catch {
}
}
return null;
}
function me(r) {
var a = r.type;
switch (r.tag) {
case 24:
return "Cache";
case 9:
return (a.displayName || "Context") + ".Consumer";
case 10:
return (a._context.displayName || "Context") + ".Provider";
case 18:
return "DehydratedFragment";
case 11:
return r = a.render, r = r.displayName || r.name || "", a.displayName || (r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef");
case 7:
return "Fragment";
case 5:
return a;
case 4:
return "Portal";
case 3:
return "Root";
case 6:
return "Text";
case 16:
return Z(a);
case 8:
return a === L ? "StrictMode" : "Mode";
case 22:
return "Offscreen";
case 12:
return "Profiler";
case 21:
return "Scope";
case 13:
return "Suspense";
case 19:
return "SuspenseList";
case 25:
return "TracingMarker";
case 1:
case 0:
case 17:
case 2:
case 14:
case 15:
if (typeof a == "function") return a.displayName || a.name || null;
if (typeof a == "string") return a;
}
return null;
}
function ue(r) {
switch (typeof r) {
case "boolean":
case "number":
case "string":
case "undefined":
return r;
case "object":
return r;
default:
return "";
}
}
function Ce(r) {
var a = r.type;
return (r = r.nodeName) && r.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
}
function $e(r) {
var a = Ce(r) ? "checked" : "value", d = Object.getOwnPropertyDescriptor(r.constructor.prototype, a), m = "" + r[a];
if (!r.hasOwnProperty(a) && typeof d < "u" && typeof d.get == "function" && typeof d.set == "function") {
var x = d.get, P = d.set;
return Object.defineProperty(r, a, { configurable: !0, get: function() {
return x.call(this);
}, set: function(M) {
m = "" + M, P.call(this, M);
} }), Object.defineProperty(r, a, { enumerable: d.enumerable }), { getValue: function() {
return m;
}, setValue: function(M) {
m = "" + M;
}, stopTracking: function() {
r._valueTracker = null, delete r[a];
} };
}
}
function Te(r) {
r._valueTracker || (r._valueTracker = $e(r));
}
function We(r) {
if (!r) return !1;
var a = r._valueTracker;
if (!a) return !0;
var d = a.getValue(), m = "";
return r && (m = Ce(r) ? r.checked ? "true" : "false" : r.value), r = m, r !== d ? (a.setValue(r), !0) : !1;
}
function et(r) {
if (r = r || (typeof document < "u" ? document : void 0), typeof r > "u") return null;
try {
return r.activeElement || r.body;
} catch {
return r.body;
}
}
function Xe(r, a) {
var d = a.checked;
return Y({}, a, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: d ?? r._wrapperState.initialChecked });
}
function ft(r, a) {
var d = a.defaultValue == null ? "" : a.defaultValue, m = a.checked != null ? a.checked : a.defaultChecked;
d = ue(a.value != null ? a.value : d), r._wrapperState = { initialChecked: m, initialValue: d, controlled: a.type === "checkbox" || a.type === "radio" ? a.checked != null : a.value != null };
}
function Lt(r, a) {
a = a.checked, a != null && _(r, "checked", a, !1);
}
function st(r, a) {
Lt(r, a);
var d = ue(a.value), m = a.type;
if (d != null) m === "number" ? (d === 0 && r.value === "" || r.value != d) && (r.value = "" + d) : r.value !== "" + d && (r.value = "" + d);
else if (m === "submit" || m === "reset") {
r.removeAttribute("value");
return;
}
a.hasOwnProperty("value") ? Se(r, a.type, d) : a.hasOwnProperty("defaultValue") && Se(r, a.type, ue(a.defaultValue)), a.checked == null && a.defaultChecked != null && (r.defaultChecked = !!a.defaultChecked);
}
function pt(r, a, d) {
if (a.hasOwnProperty("value") || a.hasOwnProperty("defaultValue")) {
var m = a.type;
if (!(m !== "submit" && m !== "reset" || a.value !== void 0 && a.value !== null)) return;
a = "" + r._wrapperState.initialValue, d || a === r.value || (r.value = a), r.defaultValue = a;
}
d = r.name, d !== "" && (r.name = ""), r.defaultChecked = !!r._wrapperState.initialChecked, d !== "" && (r.name = d);
}
function Se(r, a, d) {
(a !== "number" || et(r.ownerDocument) !== r) && (d == null ? r.defaultValue = "" + r._wrapperState.initialValue : r.defaultValue !== "" + d && (r.defaultValue = "" + d));
}
var gt = Array.isArray;
function yt(r, a, d, m) {
if (r = r.options, a) {
a = {};
for (var x = 0; x < d.length; x++) a["$" + d[x]] = !0;
for (d = 0; d < r.length; d++) x = a.hasOwnProperty("$" + r[d].value), r[d].selected !== x && (r[d].selected = x), x && m && (r[d].defaultSelected = !0);
} else {
for (d = "" + ue(d), a = null, x = 0; x < r.length; x++) {
if (r[x].value === d) {
r[x].selected = !0, m && (r[x].defaultSelected = !0);
return;
}
a !== null || r[x].disabled || (a = r[x]);
}
a !== null && (a.selected = !0);
}
}
function Le(r, a) {
if (a.dangerouslySetInnerHTML != null) throw Error(n(91));
return Y({}, a, { value: void 0, defaultValue: void 0, children: "" + r._wrapperState.initialValue });
}
function cn(r, a) {
var d = a.value;
if (d == null) {
if (d = a.children, a = a.defaultValue, d != null) {
if (a != null) throw Error(n(92));
if (gt(d)) {
if (1 < d.length) throw Error(n(93));
d = d[0];
}
a = d;
}
a == null && (a = ""), d = a;
}
r._wrapperState = { initialValue: ue(d) };
}
function ye(r, a) {
var d = ue(a.value), m = ue(a.defaultValue);
d != null && (d = "" + d, d !== r.value && (r.value = d), a.defaultValue == null && r.defaultValue !== d && (r.defaultValue = d)), m != null && (r.defaultValue = "" + m);
}
function Pe(r) {
var a = r.textContent;
a === r._wrapperState.initialValue && a !== "" && a !== null && (r.value = a);
}
function Me(r) {
switch (r) {
case "svg":
return "http://www.w3.org/2000/svg";
case "math":
return "http://www.w3.org/1998/Math/MathML";
default:
return "http://www.w3.org/1999/xhtml";
}
}
function Ye(r, a) {
return r == null || r === "http://www.w3.org/1999/xhtml" ? Me(a) : r === "http://www.w3.org/2000/svg" && a === "foreignObject" ? "http://www.w3.org/1999/xhtml" : r;
}
var ot, se = function(r) {
return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(a, d, m, x) {
MSApp.execUnsafeLocalFunction(function() {
return r(a, d, m, x);
});
} : r;
}(function(r, a) {
if (r.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in r) r.innerHTML = a;
else {
for (ot = ot || document.createElement("div"), ot.innerHTML = "<svg>" + a.valueOf().toString() + "</svg>", a = ot.firstChild; r.firstChild; ) r.removeChild(r.firstChild);
for (; a.firstChild; ) r.appendChild(a.firstChild);
}
});
function ae(r, a) {
if (a) {
var d = r.firstChild;
if (d && d === r.lastChild && d.nodeType === 3) {
d.nodeValue = a;
return;
}
}
r.textContent = a;
}
var be = {
animationIterationCount: !0,
aspectRatio: !0,
borderImageOutset: !0,
borderImageSlice: !0,
borderImageWidth: !0,
boxFlex: !0,
boxFlexGroup: !0,
boxOrdinalGroup: !0,
columnCount: !0,
columns: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
gridArea: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
gridRowStart: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnSpan: !0,
gridColumnStart: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
floodOpacity: !0,
stopOpacity: !0,
strokeDasharray: !0,
strokeDashoffset: !0,
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0
}, Re = ["Webkit", "ms", "Moz", "O"];
Object.keys(be).forEach(function(r) {
Re.forEach(function(a) {
a = a + r.charAt(0).toUpperCase() + r.substring(1), be[a] = be[r];
});
});
function Ge(r, a, d) {
return a == null || typeof a == "boolean" || a === "" ? "" : d || typeof a != "number" || a === 0 || be.hasOwnProperty(r) && be[r] ? ("" + a).trim() : a + "px";
}
function Rt(r, a) {
r = r.style;
for (var d in a) if (a.hasOwnProperty(d)) {
var m = d.indexOf("--") === 0, x = Ge(d, a[d], m);
d === "float" && (d = "cssFloat"), m ? r.setProperty(d, x) : r[d] = x;
}
}
var Fe = Y({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
function tt(r, a) {
if (a) {
if (Fe[r] && (a.children != null || a.dangerouslySetInnerHTML != null)) throw Error(n(137, r));
if (a.dangerouslySetInnerHTML != null) {
if (a.children != null) throw Error(n(60));
if (typeof a.dangerouslySetInnerHTML != "object" || !("__html" in a.dangerouslySetInnerHTML)) throw Error(n(61));
}
if (a.style != null && typeof a.style != "object") throw Error(n(62));
}
}
function wt(r, a) {
if (r.indexOf("-") === -1) return typeof a.is == "string";
switch (r) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0;
}
}
var Gt = null;
function dn(r) {
return r = r.target || r.srcElement || window, r.correspondingUseElement && (r = r.correspondingUseElement), r.nodeType === 3 ? r.parentNode : r;
}
var jn = null, qt = null, $t = null;
function At(r) {
if (r = nu(r)) {
if (typeof jn != "function") throw Error(n(280));
var a = r.stateNode;
a && (a = td(a), jn(r.stateNode, r.type, a));
}
}
function Jt(r) {
qt ? $t ? $t.push(r) : $t = [r] : qt = r;
}
function $n() {
if (qt) {
var r = qt, a = $t;
if ($t = qt = null, At(r), a) for (r = 0; r < a.length; r++) At(a[r]);
}
}
function Ut(r, a) {
return r(a);
}
function Yt() {
}
var On = !1;
function Zn(r, a, d) {
if (On) return r(a, d);
On = !0;
try {
return Ut(r, a, d);
} finally {
On = !1, (qt !== null || $t !== null) && (Yt(), $n());
}
}
function cr(r, a) {
var d = r.stateNode;
if (d === null) return null;
var m = td(d);
if (m === null) return null;
d = m[a];
e: switch (a) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(m = !m.disabled) || (r = r.type, m = !(r === "button" || r === "input" || r === "select" || r === "textarea")), r = !m;
break e;
default:
r = !1;
}
if (r) return null;
if (d && typeof d != "function") throw Error(n(231, a, typeof d));
return d;
}
var dr = !1;
if (u) try {
var Mt = {};
Object.defineProperty(Mt, "passive", { get: function() {
dr = !0;
} }), window.addEventListener("test", Mt, Mt), window.removeEventListener("test", Mt, Mt);
} catch {
dr = !1;
}
function Ro(r, a, d, m, x, P, M, K, te) {
var he = Array.prototype.slice.call(arguments, 3);
try {
a.apply(d, he);
} catch (Ee) {
this.onError(Ee);
}
}
var Qt = !1, Rn = null, zn = !1, er = null, Bn = { onError: function(r) {
Qt = !0, Rn = r;
} };
function Jr(r, a, d, m, x, P, M, K, te) {
Qt = !1, Rn = null, Ro.apply(Bn, arguments);
}
function Yr(r, a, d, m, x, P, M, K, te) {
if (Jr.apply(this, arguments), Qt) {
if (Qt) {
var he = Rn;
Qt = !1, Rn = null;
} else throw Error(n(198));
zn || (zn = !0, er = he);
}
}
function yn(r) {
var a = r, d = r;
if (r.alternate) for (; a.return; ) a = a.return;
else {
r = a;
do
a = r, a.flags & 4098 && (d = a.return), r = a.return;
while (r);
}
return a.tag === 3 ? d : null;
}
function fr(r) {
if (r.tag === 13) {
var a = r.memoizedState;
if (a === null && (r = r.alternate, r !== null && (a = r.memoizedState)), a !== null) return a.dehydrated;
}
return null;
}
function Lr(r) {
if (yn(r) !== r) throw Error(n(188));
}
function yo(r) {
var a = r.alternate;
if (!a) {
if (a = yn(r), a === null) throw Error(n(188));
return a !== r ? null : r;
}
for (var d = r, m = a; ; ) {
var x = d.return;
if (x === null) break;
var P = x.alternate;
if (P === null) {
if (m = x.return, m !== null) {
d = m;
continue;
}
break;
}
if (x.child === P.child) {
for (P = x.child; P; ) {
if (P === d) return Lr(x), r;
if (P === m) return Lr(x), a;
P = P.sibling;
}
throw Error(n(188));
}
if (d.return !== m.return) d = x, m = P;
else {
for (var M = !1, K = x.child; K; ) {
if (K === d) {
M = !0, d = x, m = P;
break;
}
if (K === m) {
M = !0, m = x, d = P;
break;
}
K = K.sibling;
}
if (!M) {
for (K = P.child; K; ) {
if (K === d) {
M = !0, d = P, m = x;
break;
}
if (K === m) {
M = !0, m = P, d = x;
break;
}
K = K.sibling;
}
if (!M) throw Error(n(189));
}
}
if (d.alternate !== m) throw Error(n(190));
}
if (d.tag !== 3) throw Error(n(188));
return d.stateNode.current === d ? r : a;
}
function vo(r) {
return r = yo(r), r !== null ? ns(r) : null;
}
function ns(r) {
if (r.tag === 5 || r.tag === 6) return r;
for (r = r.child; r !== null; ) {
var a = ns(r);
if (a !== null) return a;
r = r.sibling;
}
return null;
}
var da = t.unstable_scheduleCallback, Lc = t.unstable_cancelCallback, Xp = t.unstable_shouldYield, Zp = t.unstable_requestPaint, fn = t.unstable_now, Dl = t.unstable_getCurrentPriorityLevel, zl = t.unstable_ImmediatePriority, Bl = t.unstable_UserBlockingPriority, rs = t.unstable_NormalPriority, Ul = t.unstable_LowPriority, pr = t.unstable_IdlePriority, fa = null, Qr = null;
function Dc(r) {
if (Qr && typeof Qr.onCommitFiberRoot == "function") try {
Qr.onCommitFiberRoot(fa, r, void 0, (r.current.flags & 128) === 128);
} catch {
}
}
var xr = Math.clz32 ? Math.clz32 : eh, zc = Math.log, Bc = Math.LN2;
function eh(r) {
return r >>>= 0, r === 0 ? 32 : 31 - (zc(r) / Bc | 0) | 0;
}
var pa = 64, os = 4194304;
function ri(r) {
switch (r & -r) {
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:
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 r & 4194240;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return r & 130023424;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 1073741824;
default:
return r;
}
}
function is(r, a) {
var d = r.pendingLanes;
if (d === 0) return 0;
var m = 0, x = r.suspendedLanes, P = r.pingedLanes, M = d & 268435455;
if (M !== 0) {
var K = M & ~x;
K !== 0 ? m = ri(K) : (P &= M, P !== 0 && (m = ri(P)));
} else M = d & ~x, M !== 0 ? m = ri(M) : P !== 0 && (m = ri(P));
if (m === 0) return 0;
if (a !== 0 && a !== m && !(a & x) && (x = m & -m, P = a & -a, x >= P || x === 16 && (P & 4194240) !== 0)) return a;
if (m & 4 && (m |= d & 16), a = r.entangledLanes, a !== 0) for (r = r.entanglements, a &= m; 0 < a; ) d = 31 - xr(a), x = 1 << d, m |= r[d], a &= ~x;
return m;
}
function as(r, a) {
switch (r) {
case 1:
case 2:
case 4:
return a + 250;
case 8:
case 16:
case 32:
case 64:
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 a + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return -1;
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1;
}
}
function th(r, a) {
for (var d = r.suspendedLanes, m = r.pingedLanes, x = r.expirationTimes, P = r.pendingLanes; 0 < P; ) {
var M = 31 - xr(P), K = 1 << M, te = x[M];
te === -1 ? (!(K & d) || K & m) && (x[M] = as(K, a)) : te <= a && (r.expiredLanes |= K), P &= ~K;
}
}
function Vl(r) {
return r = r.pendingLanes & -1073741825, r !== 0 ? r : r & 1073741824 ? 1073741824 : 0;
}
function Uc() {
var r = pa;
return pa <<= 1, !(pa & 4194240) && (pa = 64), r;
}
function Wl(r) {
for (var a = [], d = 0; 31 > d; d++) a.push(r);
return a;
}
function To(r, a, d) {
r.pendingLanes |= a, a !== 536870912 && (r.suspendedLanes = 0, r.pingedLanes = 0), r = r.eventTimes, a = 31 - xr(a), r[a] = d;
}
function nh(r, a) {
var d = r.pendingLanes & ~a;
r.pendingLanes = a, r.suspendedLanes = 0, r.pingedLanes = 0, r.expiredLanes &= a, r.mutableReadLanes &= a, r.entangledLanes &= a, a = r.entanglements;
var m = r.eventTimes;
for (r = r.expirationTimes; 0 < d; ) {
var x = 31 - xr(d), P = 1 << x;
a[x] = 0, m[x] = -1, r[x] = -1, d &= ~P;
}
}
function D(r, a) {
var d = r.entangledLanes |= a;
for (r = r.entanglements; d; ) {
var m = 31 - xr(d), x = 1 << m;
x & a | r[m] & a && (r[m] |= a), d &= ~x;
}
}
var I = 0;
function R(r) {
return r &= -r, 1 < r ? 4 < r ? r & 268435455 ? 16 : 536870912 : 4 : 1;
}
var F, ee, pe, de, ne, ve = !1, we = [], Ae = null, je = null, Be = null, Ie = /* @__PURE__ */ new Map(), ut = /* @__PURE__ */ new Map(), Ct = [], Pt = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
function Kt(r, a) {
switch (r) {
case "focusin":
case "focusout":
Ae = null;
break;
case "dragenter":
case "dragleave":
je = null;
break;
case "mouseover":
case "mouseout":
Be = null;
break;
case "pointerover":
case "pointerout":
Ie.delete(a.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
ut.delete(a.pointerId);
}
}
function hr(r, a, d, m, x, P) {
return r === null || r.nativeEvent !== P ? (r = { blockedOn: a, domEventName: d, eventSystemFlags: m, nativeEvent: P, targetContainers: [x] }, a !== null && (a = nu(a), a !== null && ee(a)), r) : (r.eventSystemFlags |= m, a = r.targetContainers, x !== null && a.indexOf(x) === -1 && a.push(x), r);
}
function Tn(r, a, d, m, x) {
switch (a) {
case "focusin":
return Ae = hr(Ae, r, a, d, m, x), !0;
case "dragenter":
return je = hr(je, r, a, d, m, x), !0;
case "mouseover":
return Be = hr(Be, r, a, d, m, x), !0;
case "pointerover":
var P = x.pointerId;
return Ie.set(P, hr(Ie.get(P) || null, r, a, d, m, x)), !0;
case "gotpointercapture":
return P = x.pointerId, ut.set(P, hr(ut.get(P) || null, r, a, d, m, x)), !0;
}
return !1;
}
function ha(r) {
var a = ya(r.target);
if (a !== null) {
var d = yn(a);
if (d !== null) {
if (a = d.tag, a === 13) {
if (a = fr(d), a !== null) {
r.blockedOn = a, ne(r.priority, function() {
pe(d);
});
return;
}
} else if (a === 3 && d.stateNode.current.memoizedState.isDehydrated) {
r.blockedOn = d.tag === 3 ? d.stateNode.containerInfo : null;
return;
}
}
}
r.blockedOn = null;
}
function Er(r) {
if (r.blockedOn !== null) return !1;
for (var a = r.targetContainers; 0 < a.length; ) {
var d = ga(r.domEventName, r.eventSystemFlags, a[0], r.nativeEvent);
if (d === null) {
d = r.nativeEvent;
var m = new d.constructor(d.type, d);
Gt = m, d.target.dispatchEvent(m), Gt = null;
} else return a = nu(d), a !== null && ee(a), r.blockedOn = d, !1;
a.shift();
}
return !0;
}
function Mo(r, a, d) {
Er(r) && d.delete(a);
}
function bo() {
ve = !1, Ae !== null && Er(Ae) && (Ae = null), je !== null && Er(je) && (je = null), Be !== null && Er(Be) && (Be = null), Ie.forEach(Mo), ut.forEach(Mo);
}
function on(r, a) {
r.blockedOn === a && (r.blockedOn = null, ve || (ve = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, bo)));
}
function Mn(r) {
function a(x) {
return on(x, r);
}
if (0 < we.length) {
on(we[0], r);
for (var d = 1; d < we.length; d++) {
var m = we[d];
m.blockedOn === r && (m.blockedOn = null);
}
}
for (Ae !== null && on(Ae, r), je !== null && on(je, r), Be !== null && on(Be, r), Ie.forEach(a), ut.forEach(a), d = 0; d < Ct.length; d++) m = Ct[d], m.blockedOn === r && (m.blockedOn = null);