@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
1,410 lines (1,409 loc) • 2.35 MB
JavaScript
/**
* VERSION: 2.154.0-alpha.1
* BUILD_TIMESTAMP: 1763401515326
* BUILD_DATE: Mon Nov 17 2025 17:45:15 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 73f4468155aaed0f31ab0d59dc3394018b939b6d
*/
function uB(e, t) {
for (var r = 0; r < t.length; r++) {
const a = t[r];
if (typeof a != "string" && !Array.isArray(a)) {
for (const s in a)
if (s !== "default" && !(s in e)) {
const i = Object.getOwnPropertyDescriptor(a, s);
i && Object.defineProperty(e, s, i.get ? i : {
enumerable: !0,
get: () => a[s]
});
}
}
}
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
}
var Pm = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function To(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var Mv = { exports: {} }, W0 = {}, Iv = { exports: {} }, $r = {};
var OC;
function cB() {
if (OC) return $r;
OC = 1;
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.iterator;
function v(N) {
return N === null || typeof N != "object" ? null : (N = g && N[g] || N["@@iterator"], typeof N == "function" ? N : null);
}
var y = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, w = Object.assign, S = {};
function E(N, B, ve) {
this.props = N, this.context = B, this.refs = S, this.updater = ve || y;
}
E.prototype.isReactComponent = {}, E.prototype.setState = function(N, B) {
if (typeof N != "object" && typeof N != "function" && N != 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, N, B, "setState");
}, E.prototype.forceUpdate = function(N) {
this.updater.enqueueForceUpdate(this, N, "forceUpdate");
};
function x() {
}
x.prototype = E.prototype;
function I(N, B, ve) {
this.props = N, this.context = B, this.refs = S, this.updater = ve || y;
}
var k = I.prototype = new x();
k.constructor = I, w(k, E.prototype), k.isPureReactComponent = !0;
var T = Array.isArray, P = Object.prototype.hasOwnProperty, D = { current: null }, O = { key: !0, ref: !0, __self: !0, __source: !0 };
function U(N, B, ve) {
var de, F = {}, Me = null, Ve = null;
if (B != null) for (de in B.ref !== void 0 && (Ve = B.ref), B.key !== void 0 && (Me = "" + B.key), B) P.call(B, de) && !O.hasOwnProperty(de) && (F[de] = B[de]);
var Ie = arguments.length - 2;
if (Ie === 1) F.children = ve;
else if (1 < Ie) {
for (var Le = Array(Ie), Xe = 0; Xe < Ie; Xe++) Le[Xe] = arguments[Xe + 2];
F.children = Le;
}
if (N && N.defaultProps) for (de in Ie = N.defaultProps, Ie) F[de] === void 0 && (F[de] = Ie[de]);
return { $$typeof: e, type: N, key: Me, ref: Ve, props: F, _owner: D.current };
}
function $(N, B) {
return { $$typeof: e, type: N.type, key: B, ref: N.ref, props: N.props, _owner: N._owner };
}
function W(N) {
return typeof N == "object" && N !== null && N.$$typeof === e;
}
function X(N) {
var B = { "=": "=0", ":": "=2" };
return "$" + N.replace(/[=:]/g, function(ve) {
return B[ve];
});
}
var ae = /\/+/g;
function te(N, B) {
return typeof N == "object" && N !== null && N.key != null ? X("" + N.key) : B.toString(36);
}
function J(N, B, ve, de, F) {
var Me = typeof N;
(Me === "undefined" || Me === "boolean") && (N = null);
var Ve = !1;
if (N === null) Ve = !0;
else switch (Me) {
case "string":
case "number":
Ve = !0;
break;
case "object":
switch (N.$$typeof) {
case e:
case t:
Ve = !0;
}
}
if (Ve) return Ve = N, F = F(Ve), N = de === "" ? "." + te(Ve, 0) : de, T(F) ? (ve = "", N != null && (ve = N.replace(ae, "$&/") + "/"), J(F, B, ve, "", function(Xe) {
return Xe;
})) : F != null && (W(F) && (F = $(F, ve + (!F.key || Ve && Ve.key === F.key ? "" : ("" + F.key).replace(ae, "$&/") + "/") + N)), B.push(F)), 1;
if (Ve = 0, de = de === "" ? "." : de + ":", T(N)) for (var Ie = 0; Ie < N.length; Ie++) {
Me = N[Ie];
var Le = de + te(Me, Ie);
Ve += J(Me, B, ve, Le, F);
}
else if (Le = v(N), typeof Le == "function") for (N = Le.call(N), Ie = 0; !(Me = N.next()).done; ) Me = Me.value, Le = de + te(Me, Ie++), Ve += J(Me, B, ve, Le, F);
else if (Me === "object") throw B = String(N), Error("Objects are not valid as a React child (found: " + (B === "[object Object]" ? "object with keys {" + Object.keys(N).join(", ") + "}" : B) + "). If you meant to render a collection of children, use an array instead.");
return Ve;
}
function ye(N, B, ve) {
if (N == null) return N;
var de = [], F = 0;
return J(N, de, "", "", function(Me) {
return B.call(ve, Me, F++);
}), de;
}
function pe(N) {
if (N._status === -1) {
var B = N._result;
B = B(), B.then(function(ve) {
(N._status === 0 || N._status === -1) && (N._status = 1, N._result = ve);
}, function(ve) {
(N._status === 0 || N._status === -1) && (N._status = 2, N._result = ve);
}), N._status === -1 && (N._status = 0, N._result = B);
}
if (N._status === 1) return N._result.default;
throw N._result;
}
var ge = { current: null }, G = { transition: null }, ie = { ReactCurrentDispatcher: ge, ReactCurrentBatchConfig: G, ReactCurrentOwner: D };
function re() {
throw Error("act(...) is not supported in production builds of React.");
}
return $r.Children = { map: ye, forEach: function(N, B, ve) {
ye(N, function() {
B.apply(this, arguments);
}, ve);
}, count: function(N) {
var B = 0;
return ye(N, function() {
B++;
}), B;
}, toArray: function(N) {
return ye(N, function(B) {
return B;
}) || [];
}, only: function(N) {
if (!W(N)) throw Error("React.Children.only expected to receive a single React element child.");
return N;
} }, $r.Component = E, $r.Fragment = r, $r.Profiler = s, $r.PureComponent = I, $r.StrictMode = a, $r.Suspense = f, $r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, $r.act = re, $r.cloneElement = function(N, B, ve) {
if (N == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + N + ".");
var de = w({}, N.props), F = N.key, Me = N.ref, Ve = N._owner;
if (B != null) {
if (B.ref !== void 0 && (Me = B.ref, Ve = D.current), B.key !== void 0 && (F = "" + B.key), N.type && N.type.defaultProps) var Ie = N.type.defaultProps;
for (Le in B) P.call(B, Le) && !O.hasOwnProperty(Le) && (de[Le] = B[Le] === void 0 && Ie !== void 0 ? Ie[Le] : B[Le]);
}
var Le = arguments.length - 2;
if (Le === 1) de.children = ve;
else if (1 < Le) {
Ie = Array(Le);
for (var Xe = 0; Xe < Le; Xe++) Ie[Xe] = arguments[Xe + 2];
de.children = Ie;
}
return { $$typeof: e, type: N.type, key: F, ref: Me, props: de, _owner: Ve };
}, $r.createContext = function(N) {
return N = { $$typeof: u, _currentValue: N, _currentValue2: N, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, N.Provider = { $$typeof: i, _context: N }, N.Consumer = N;
}, $r.createElement = U, $r.createFactory = function(N) {
var B = U.bind(null, N);
return B.type = N, B;
}, $r.createRef = function() {
return { current: null };
}, $r.forwardRef = function(N) {
return { $$typeof: c, render: N };
}, $r.isValidElement = W, $r.lazy = function(N) {
return { $$typeof: h, _payload: { _status: -1, _result: N }, _init: pe };
}, $r.memo = function(N, B) {
return { $$typeof: d, type: N, compare: B === void 0 ? null : B };
}, $r.startTransition = function(N) {
var B = G.transition;
G.transition = {};
try {
N();
} finally {
G.transition = B;
}
}, $r.unstable_act = re, $r.useCallback = function(N, B) {
return ge.current.useCallback(N, B);
}, $r.useContext = function(N) {
return ge.current.useContext(N);
}, $r.useDebugValue = function() {
}, $r.useDeferredValue = function(N) {
return ge.current.useDeferredValue(N);
}, $r.useEffect = function(N, B) {
return ge.current.useEffect(N, B);
}, $r.useId = function() {
return ge.current.useId();
}, $r.useImperativeHandle = function(N, B, ve) {
return ge.current.useImperativeHandle(N, B, ve);
}, $r.useInsertionEffect = function(N, B) {
return ge.current.useInsertionEffect(N, B);
}, $r.useLayoutEffect = function(N, B) {
return ge.current.useLayoutEffect(N, B);
}, $r.useMemo = function(N, B) {
return ge.current.useMemo(N, B);
}, $r.useReducer = function(N, B, ve) {
return ge.current.useReducer(N, B, ve);
}, $r.useRef = function(N) {
return ge.current.useRef(N);
}, $r.useState = function(N) {
return ge.current.useState(N);
}, $r.useSyncExternalStore = function(N, B, ve) {
return ge.current.useSyncExternalStore(N, B, ve);
}, $r.useTransition = function() {
return ge.current.useTransition();
}, $r.version = "18.3.1", $r;
}
var VC;
function cc() {
return VC || (VC = 1, Iv.exports = cB()), Iv.exports;
}
var DC;
function dB() {
if (DC) return W0;
DC = 1;
var e = cc(), t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
function u(c, f, d) {
var h, g = {}, v = null, y = null;
d !== void 0 && (v = "" + d), f.key !== void 0 && (v = "" + f.key), f.ref !== void 0 && (y = f.ref);
for (h in f) a.call(f, h) && !i.hasOwnProperty(h) && (g[h] = f[h]);
if (c && c.defaultProps) for (h in f = c.defaultProps, f) g[h] === void 0 && (g[h] = f[h]);
return { $$typeof: t, type: c, key: v, ref: y, props: g, _owner: s.current };
}
return W0.Fragment = r, W0.jsx = u, W0.jsxs = u, W0;
}
var HC;
function fB() {
return HC || (HC = 1, Mv.exports = dB()), Mv.exports;
}
var M = fB(), le = cc();
const Ht = /* @__PURE__ */ To(le), PV = /* @__PURE__ */ uB({
__proto__: null,
default: Ht
}, [le]);
var kv = { exports: {} }, Xo = {}, xv = { exports: {} }, Rv = {};
var LC;
function pB() {
return LC || (LC = 1, (function(e) {
function t(G, ie) {
var re = G.length;
G.push(ie);
e: for (; 0 < re; ) {
var N = re - 1 >>> 1, B = G[N];
if (0 < s(B, ie)) G[N] = ie, G[re] = B, re = N;
else break e;
}
}
function r(G) {
return G.length === 0 ? null : G[0];
}
function a(G) {
if (G.length === 0) return null;
var ie = G[0], re = G.pop();
if (re !== ie) {
G[0] = re;
e: for (var N = 0, B = G.length, ve = B >>> 1; N < ve; ) {
var de = 2 * (N + 1) - 1, F = G[de], Me = de + 1, Ve = G[Me];
if (0 > s(F, re)) Me < B && 0 > s(Ve, F) ? (G[N] = Ve, G[Me] = re, N = Me) : (G[N] = F, G[de] = re, N = de);
else if (Me < B && 0 > s(Ve, re)) G[N] = Ve, G[Me] = re, N = Me;
else break e;
}
}
return ie;
}
function s(G, ie) {
var re = G.sortIndex - ie.sortIndex;
return re !== 0 ? re : G.id - ie.id;
}
if (typeof performance == "object" && typeof performance.now == "function") {
var i = performance;
e.unstable_now = function() {
return i.now();
};
} else {
var u = Date, c = u.now();
e.unstable_now = function() {
return u.now() - c;
};
}
var f = [], d = [], h = 1, g = null, v = 3, y = !1, w = !1, S = !1, E = typeof setTimeout == "function" ? setTimeout : null, x = typeof clearTimeout == "function" ? clearTimeout : null, I = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function k(G) {
for (var ie = r(d); ie !== null; ) {
if (ie.callback === null) a(d);
else if (ie.startTime <= G) a(d), ie.sortIndex = ie.expirationTime, t(f, ie);
else break;
ie = r(d);
}
}
function T(G) {
if (S = !1, k(G), !w) if (r(f) !== null) w = !0, pe(P);
else {
var ie = r(d);
ie !== null && ge(T, ie.startTime - G);
}
}
function P(G, ie) {
w = !1, S && (S = !1, x(U), U = -1), y = !0;
var re = v;
try {
for (k(ie), g = r(f); g !== null && (!(g.expirationTime > ie) || G && !X()); ) {
var N = g.callback;
if (typeof N == "function") {
g.callback = null, v = g.priorityLevel;
var B = N(g.expirationTime <= ie);
ie = e.unstable_now(), typeof B == "function" ? g.callback = B : g === r(f) && a(f), k(ie);
} else a(f);
g = r(f);
}
if (g !== null) var ve = !0;
else {
var de = r(d);
de !== null && ge(T, de.startTime - ie), ve = !1;
}
return ve;
} finally {
g = null, v = re, y = !1;
}
}
var D = !1, O = null, U = -1, $ = 5, W = -1;
function X() {
return !(e.unstable_now() - W < $);
}
function ae() {
if (O !== null) {
var G = e.unstable_now();
W = G;
var ie = !0;
try {
ie = O(!0, G);
} finally {
ie ? te() : (D = !1, O = null);
}
} else D = !1;
}
var te;
if (typeof I == "function") te = function() {
I(ae);
};
else if (typeof MessageChannel < "u") {
var J = new MessageChannel(), ye = J.port2;
J.port1.onmessage = ae, te = function() {
ye.postMessage(null);
};
} else te = function() {
E(ae, 0);
};
function pe(G) {
O = G, D || (D = !0, te());
}
function ge(G, ie) {
U = E(function() {
G(e.unstable_now());
}, ie);
}
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(G) {
G.callback = null;
}, e.unstable_continueExecution = function() {
w || y || (w = !0, pe(P));
}, e.unstable_forceFrameRate = function(G) {
0 > G || 125 < G ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : $ = 0 < G ? Math.floor(1e3 / G) : 5;
}, e.unstable_getCurrentPriorityLevel = function() {
return v;
}, e.unstable_getFirstCallbackNode = function() {
return r(f);
}, e.unstable_next = function(G) {
switch (v) {
case 1:
case 2:
case 3:
var ie = 3;
break;
default:
ie = v;
}
var re = v;
v = ie;
try {
return G();
} finally {
v = re;
}
}, e.unstable_pauseExecution = function() {
}, e.unstable_requestPaint = function() {
}, e.unstable_runWithPriority = function(G, ie) {
switch (G) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
G = 3;
}
var re = v;
v = G;
try {
return ie();
} finally {
v = re;
}
}, e.unstable_scheduleCallback = function(G, ie, re) {
var N = e.unstable_now();
switch (typeof re == "object" && re !== null ? (re = re.delay, re = typeof re == "number" && 0 < re ? N + re : N) : re = N, G) {
case 1:
var B = -1;
break;
case 2:
B = 250;
break;
case 5:
B = 1073741823;
break;
case 4:
B = 1e4;
break;
default:
B = 5e3;
}
return B = re + B, G = { id: h++, callback: ie, priorityLevel: G, startTime: re, expirationTime: B, sortIndex: -1 }, re > N ? (G.sortIndex = re, t(d, G), r(f) === null && G === r(d) && (S ? (x(U), U = -1) : S = !0, ge(T, re - N))) : (G.sortIndex = B, t(f, G), w || y || (w = !0, pe(P))), G;
}, e.unstable_shouldYield = X, e.unstable_wrapCallback = function(G) {
var ie = v;
return function() {
var re = v;
v = ie;
try {
return G.apply(this, arguments);
} finally {
v = re;
}
};
};
})(Rv)), Rv;
}
var FC;
function hB() {
return FC || (FC = 1, xv.exports = pB()), xv.exports;
}
var UC;
function mB() {
if (UC) return Xo;
UC = 1;
var e = cc(), t = hB();
function r(n) {
for (var o = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, l = 1; l < arguments.length; l++) o += "&args[]=" + encodeURIComponent(arguments[l]);
return "Minified React error #" + n + "; visit " + o + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var a = /* @__PURE__ */ new Set(), s = {};
function i(n, o) {
u(n, o), u(n + "Capture", o);
}
function u(n, o) {
for (s[n] = o, n = 0; n < o.length; n++) a.add(o[n]);
}
var c = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), f = Object.prototype.hasOwnProperty, d = /^[: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]*$/, h = {}, g = {};
function v(n) {
return f.call(g, n) ? !0 : f.call(h, n) ? !1 : d.test(n) ? g[n] = !0 : (h[n] = !0, !1);
}
function y(n, o, l, p) {
if (l !== null && l.type === 0) return !1;
switch (typeof o) {
case "function":
case "symbol":
return !0;
case "boolean":
return p ? !1 : l !== null ? !l.acceptsBooleans : (n = n.toLowerCase().slice(0, 5), n !== "data-" && n !== "aria-");
default:
return !1;
}
}
function w(n, o, l, p) {
if (o === null || typeof o > "u" || y(n, o, l, p)) return !0;
if (p) return !1;
if (l !== null) switch (l.type) {
case 3:
return !o;
case 4:
return o === !1;
case 5:
return isNaN(o);
case 6:
return isNaN(o) || 1 > o;
}
return !1;
}
function S(n, o, l, p, m, b, C) {
this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = p, this.attributeNamespace = m, this.mustUseProperty = l, this.propertyName = n, this.type = o, this.sanitizeURL = b, this.removeEmptyString = C;
}
var E = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
E[n] = new S(n, 0, !1, n, null, !1, !1);
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
var o = n[0];
E[o] = new S(o, 1, !1, n[1], null, !1, !1);
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
E[n] = new S(n, 2, !1, n.toLowerCase(), null, !1, !1);
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
E[n] = new S(n, 2, !1, n, 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(n) {
E[n] = new S(n, 3, !1, n.toLowerCase(), null, !1, !1);
}), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
E[n] = new S(n, 3, !0, n, null, !1, !1);
}), ["capture", "download"].forEach(function(n) {
E[n] = new S(n, 4, !1, n, null, !1, !1);
}), ["cols", "rows", "size", "span"].forEach(function(n) {
E[n] = new S(n, 6, !1, n, null, !1, !1);
}), ["rowSpan", "start"].forEach(function(n) {
E[n] = new S(n, 5, !1, n.toLowerCase(), null, !1, !1);
});
var x = /[\-:]([a-z])/g;
function I(n) {
return n[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(n) {
var o = n.replace(
x,
I
);
E[o] = new S(o, 1, !1, n, null, !1, !1);
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
var o = n.replace(x, I);
E[o] = new S(o, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
var o = n.replace(x, I);
E[o] = new S(o, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
}), ["tabIndex", "crossOrigin"].forEach(function(n) {
E[n] = new S(n, 1, !1, n.toLowerCase(), null, !1, !1);
}), E.xlinkHref = new S("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
E[n] = new S(n, 1, !1, n.toLowerCase(), null, !0, !0);
});
function k(n, o, l, p) {
var m = E.hasOwnProperty(o) ? E[o] : null;
(m !== null ? m.type !== 0 : p || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (w(o, l, m, p) && (l = null), p || m === null ? v(o) && (l === null ? n.removeAttribute(o) : n.setAttribute(o, "" + l)) : m.mustUseProperty ? n[m.propertyName] = l === null ? m.type === 3 ? !1 : "" : l : (o = m.attributeName, p = m.attributeNamespace, l === null ? n.removeAttribute(o) : (m = m.type, l = m === 3 || m === 4 && l === !0 ? "" : "" + l, p ? n.setAttributeNS(p, o, l) : n.setAttribute(o, l))));
}
var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, P = Symbol.for("react.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), W = Symbol.for("react.provider"), X = Symbol.for("react.context"), ae = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), ye = Symbol.for("react.memo"), pe = Symbol.for("react.lazy"), ge = Symbol.for("react.offscreen"), G = Symbol.iterator;
function ie(n) {
return n === null || typeof n != "object" ? null : (n = G && n[G] || n["@@iterator"], typeof n == "function" ? n : null);
}
var re = Object.assign, N;
function B(n) {
if (N === void 0) try {
throw Error();
} catch (l) {
var o = l.stack.trim().match(/\n( *(at )?)/);
N = o && o[1] || "";
}
return `
` + N + n;
}
var ve = !1;
function de(n, o) {
if (!n || ve) return "";
ve = !0;
var l = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (o) if (o = function() {
throw Error();
}, Object.defineProperty(o.prototype, "props", { set: function() {
throw Error();
} }), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(o, []);
} catch (se) {
var p = se;
}
Reflect.construct(n, [], o);
} else {
try {
o.call();
} catch (se) {
p = se;
}
n.call(o.prototype);
}
else {
try {
throw Error();
} catch (se) {
p = se;
}
n();
}
} catch (se) {
if (se && p && typeof se.stack == "string") {
for (var m = se.stack.split(`
`), b = p.stack.split(`
`), C = m.length - 1, V = b.length - 1; 1 <= C && 0 <= V && m[C] !== b[V]; ) V--;
for (; 1 <= C && 0 <= V; C--, V--) if (m[C] !== b[V]) {
if (C !== 1 || V !== 1)
do
if (C--, V--, 0 > V || m[C] !== b[V]) {
var j = `
` + m[C].replace(" at new ", " at ");
return n.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", n.displayName)), j;
}
while (1 <= C && 0 <= V);
break;
}
}
} finally {
ve = !1, Error.prepareStackTrace = l;
}
return (n = n ? n.displayName || n.name : "") ? B(n) : "";
}
function F(n) {
switch (n.tag) {
case 5:
return B(n.type);
case 16:
return B("Lazy");
case 13:
return B("Suspense");
case 19:
return B("SuspenseList");
case 0:
case 2:
case 15:
return n = de(n.type, !1), n;
case 11:
return n = de(n.type.render, !1), n;
case 1:
return n = de(n.type, !0), n;
default:
return "";
}
}
function Me(n) {
if (n == null) return null;
if (typeof n == "function") return n.displayName || n.name || null;
if (typeof n == "string") return n;
switch (n) {
case O:
return "Fragment";
case D:
return "Portal";
case $:
return "Profiler";
case U:
return "StrictMode";
case te:
return "Suspense";
case J:
return "SuspenseList";
}
if (typeof n == "object") switch (n.$$typeof) {
case X:
return (n.displayName || "Context") + ".Consumer";
case W:
return (n._context.displayName || "Context") + ".Provider";
case ae:
var o = n.render;
return n = n.displayName, n || (n = o.displayName || o.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
case ye:
return o = n.displayName || null, o !== null ? o : Me(n.type) || "Memo";
case pe:
o = n._payload, n = n._init;
try {
return Me(n(o));
} catch {
}
}
return null;
}
function Ve(n) {
var o = n.type;
switch (n.tag) {
case 24:
return "Cache";
case 9:
return (o.displayName || "Context") + ".Consumer";
case 10:
return (o._context.displayName || "Context") + ".Provider";
case 18:
return "DehydratedFragment";
case 11:
return n = o.render, n = n.displayName || n.name || "", o.displayName || (n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef");
case 7:
return "Fragment";
case 5:
return o;
case 4:
return "Portal";
case 3:
return "Root";
case 6:
return "Text";
case 16:
return Me(o);
case 8:
return o === U ? "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 o == "function") return o.displayName || o.name || null;
if (typeof o == "string") return o;
}
return null;
}
function Ie(n) {
switch (typeof n) {
case "boolean":
case "number":
case "string":
case "undefined":
return n;
case "object":
return n;
default:
return "";
}
}
function Le(n) {
var o = n.type;
return (n = n.nodeName) && n.toLowerCase() === "input" && (o === "checkbox" || o === "radio");
}
function Xe(n) {
var o = Le(n) ? "checked" : "value", l = Object.getOwnPropertyDescriptor(n.constructor.prototype, o), p = "" + n[o];
if (!n.hasOwnProperty(o) && typeof l < "u" && typeof l.get == "function" && typeof l.set == "function") {
var m = l.get, b = l.set;
return Object.defineProperty(n, o, { configurable: !0, get: function() {
return m.call(this);
}, set: function(C) {
p = "" + C, b.call(this, C);
} }), Object.defineProperty(n, o, { enumerable: l.enumerable }), { getValue: function() {
return p;
}, setValue: function(C) {
p = "" + C;
}, stopTracking: function() {
n._valueTracker = null, delete n[o];
} };
}
}
function vt(n) {
n._valueTracker || (n._valueTracker = Xe(n));
}
function ft(n) {
if (!n) return !1;
var o = n._valueTracker;
if (!o) return !0;
var l = o.getValue(), p = "";
return n && (p = Le(n) ? n.checked ? "true" : "false" : n.value), n = p, n !== l ? (o.setValue(n), !0) : !1;
}
function mt(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;
}
}
function Rt(n, o) {
var l = o.checked;
return re({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: l ?? n._wrapperState.initialChecked });
}
function Re(n, o) {
var l = o.defaultValue == null ? "" : o.defaultValue, p = o.checked != null ? o.checked : o.defaultChecked;
l = Ie(o.value != null ? o.value : l), n._wrapperState = { initialChecked: p, initialValue: l, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null };
}
function Ue(n, o) {
o = o.checked, o != null && k(n, "checked", o, !1);
}
function ht(n, o) {
Ue(n, o);
var l = Ie(o.value), p = o.type;
if (l != null) p === "number" ? (l === 0 && n.value === "" || n.value != l) && (n.value = "" + l) : n.value !== "" + l && (n.value = "" + l);
else if (p === "submit" || p === "reset") {
n.removeAttribute("value");
return;
}
o.hasOwnProperty("value") ? be(n, o.type, l) : o.hasOwnProperty("defaultValue") && be(n, o.type, Ie(o.defaultValue)), o.checked == null && o.defaultChecked != null && (n.defaultChecked = !!o.defaultChecked);
}
function Ct(n, o, l) {
if (o.hasOwnProperty("value") || o.hasOwnProperty("defaultValue")) {
var p = o.type;
if (!(p !== "submit" && p !== "reset" || o.value !== void 0 && o.value !== null)) return;
o = "" + n._wrapperState.initialValue, l || o === n.value || (n.value = o), n.defaultValue = o;
}
l = n.name, l !== "" && (n.name = ""), n.defaultChecked = !!n._wrapperState.initialChecked, l !== "" && (n.name = l);
}
function be(n, o, l) {
(o !== "number" || mt(n.ownerDocument) !== n) && (l == null ? n.defaultValue = "" + n._wrapperState.initialValue : n.defaultValue !== "" + l && (n.defaultValue = "" + l));
}
var Te = Array.isArray;
function ue(n, o, l, p) {
if (n = n.options, o) {
o = {};
for (var m = 0; m < l.length; m++) o["$" + l[m]] = !0;
for (l = 0; l < n.length; l++) m = o.hasOwnProperty("$" + n[l].value), n[l].selected !== m && (n[l].selected = m), m && p && (n[l].defaultSelected = !0);
} else {
for (l = "" + Ie(l), o = null, m = 0; m < n.length; m++) {
if (n[m].value === l) {
n[m].selected = !0, p && (n[m].defaultSelected = !0);
return;
}
o !== null || n[m].disabled || (o = n[m]);
}
o !== null && (o.selected = !0);
}
}
function ze(n, o) {
if (o.dangerouslySetInnerHTML != null) throw Error(r(91));
return re({}, o, { value: void 0, defaultValue: void 0, children: "" + n._wrapperState.initialValue });
}
function Ze(n, o) {
var l = o.value;
if (l == null) {
if (l = o.children, o = o.defaultValue, l != null) {
if (o != null) throw Error(r(92));
if (Te(l)) {
if (1 < l.length) throw Error(r(93));
l = l[0];
}
o = l;
}
o == null && (o = ""), l = o;
}
n._wrapperState = { initialValue: Ie(l) };
}
function ut(n, o) {
var l = Ie(o.value), p = Ie(o.defaultValue);
l != null && (l = "" + l, l !== n.value && (n.value = l), o.defaultValue == null && n.defaultValue !== l && (n.defaultValue = l)), p != null && (n.defaultValue = "" + p);
}
function ct(n) {
var o = n.textContent;
o === n._wrapperState.initialValue && o !== "" && o !== null && (n.value = o);
}
function Oe(n) {
switch (n) {
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 at(n, o) {
return n == null || n === "http://www.w3.org/1999/xhtml" ? Oe(o) : n === "http://www.w3.org/2000/svg" && o === "foreignObject" ? "http://www.w3.org/1999/xhtml" : n;
}
var Mt, Wt = (function(n) {
return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(o, l, p, m) {
MSApp.execUnsafeLocalFunction(function() {
return n(o, l, p, m);
});
} : n;
})(function(n, o) {
if (n.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in n) n.innerHTML = o;
else {
for (Mt = Mt || document.createElement("div"), Mt.innerHTML = "<svg>" + o.valueOf().toString() + "</svg>", o = Mt.firstChild; n.firstChild; ) n.removeChild(n.firstChild);
for (; o.firstChild; ) n.appendChild(o.firstChild);
}
});
function Qt(n, o) {
if (o) {
var l = n.firstChild;
if (l && l === n.lastChild && l.nodeType === 3) {
l.nodeValue = o;
return;
}
}
n.textContent = o;
}
var ar = {
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
}, qt = ["Webkit", "ms", "Moz", "O"];
Object.keys(ar).forEach(function(n) {
qt.forEach(function(o) {
o = o + n.charAt(0).toUpperCase() + n.substring(1), ar[o] = ar[n];
});
});
function xt(n, o, l) {
return o == null || typeof o == "boolean" || o === "" ? "" : l || typeof o != "number" || o === 0 || ar.hasOwnProperty(n) && ar[n] ? ("" + o).trim() : o + "px";
}
function Zt(n, o) {
n = n.style;
for (var l in o) if (o.hasOwnProperty(l)) {
var p = l.indexOf("--") === 0, m = xt(l, o[l], p);
l === "float" && (l = "cssFloat"), p ? n.setProperty(l, m) : n[l] = m;
}
}
var Rr = re({ 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 wr(n, o) {
if (o) {
if (Rr[n] && (o.children != null || o.dangerouslySetInnerHTML != null)) throw Error(r(137, n));
if (o.dangerouslySetInnerHTML != null) {
if (o.children != null) throw Error(r(60));
if (typeof o.dangerouslySetInnerHTML != "object" || !("__html" in o.dangerouslySetInnerHTML)) throw Error(r(61));
}
if (o.style != null && typeof o.style != "object") throw Error(r(62));
}
}
function on(n, o) {
if (n.indexOf("-") === -1) return typeof o.is == "string";
switch (n) {
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 oe = null;
function St(n) {
return n = n.target || n.srcElement || window, n.correspondingUseElement && (n = n.correspondingUseElement), n.nodeType === 3 ? n.parentNode : n;
}
var Ft = null, Tt = null, $e = null;
function A(n) {
if (n = bs(n)) {
if (typeof Ft != "function") throw Error(r(280));
var o = n.stateNode;
o && (o = Tl(o), Ft(n.stateNode, n.type, o));
}
}
function fe(n) {
Tt ? $e ? $e.push(n) : $e = [n] : Tt = n;
}
function Se() {
if (Tt) {
var n = Tt, o = $e;
if ($e = Tt = null, A(n), o) for (n = 0; n < o.length; n++) A(o[n]);
}
}
function Ce(n, o) {
return n(o);
}
function kt() {
}
var et = !1;
function zt(n, o, l) {
if (et) return n(o, l);
et = !0;
try {
return Ce(n, o, l);
} finally {
et = !1, (Tt !== null || $e !== null) && (kt(), Se());
}
}
function Bt(n, o) {
var l = n.stateNode;
if (l === null) return null;
var p = Tl(l);
if (p === null) return null;
l = p[o];
e: switch (o) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(p = !p.disabled) || (n = n.type, p = !(n === "button" || n === "input" || n === "select" || n === "textarea")), n = !p;
break e;
default:
n = !1;
}
if (n) return null;
if (l && typeof l != "function") throw Error(r(231, o, typeof l));
return l;
}
var fr = !1;
if (c) try {
var or = {};
Object.defineProperty(or, "passive", { get: function() {
fr = !0;
} }), window.addEventListener("test", or, or), window.removeEventListener("test", or, or);
} catch {
fr = !1;
}
function Gt(n, o, l, p, m, b, C, V, j) {
var se = Array.prototype.slice.call(arguments, 3);
try {
o.apply(l, se);
} catch (xe) {
this.onError(xe);
}
}
var Yr = !1, Tr = null, Fr = !1, Vr = null, pn = { onError: function(n) {
Yr = !0, Tr = n;
} };
function zr(n, o, l, p, m, b, C, V, j) {
Yr = !1, Tr = null, Gt.apply(pn, arguments);
}
function tn(n, o, l, p, m, b, C, V, j) {
if (zr.apply(this, arguments), Yr) {
if (Yr) {
var se = Tr;
Yr = !1, Tr = null;
} else throw Error(r(198));
Fr || (Fr = !0, Vr = se);
}
}
function Br(n) {
var o = n, l = n;
if (n.alternate) for (; o.return; ) o = o.return;
else {
n = o;
do
o = n, (o.flags & 4098) !== 0 && (l = o.return), n = o.return;
while (n);
}
return o.tag === 3 ? l : null;
}
function Nn(n) {
if (n.tag === 13) {
var o = n.memoizedState;
if (o === null && (n = n.alternate, n !== null && (o = n.memoizedState)), o !== null) return o.dehydrated;
}
return null;
}
function Be(n) {
if (Br(n) !== n) throw Error(r(188));
}
function gt(n) {
var o = n.alternate;
if (!o) {
if (o = Br(n), o === null) throw Error(r(188));
return o !== n ? null : n;
}
for (var l = n, p = o; ; ) {
var m = l.return;
if (m === null) break;
var b = m.alternate;
if (b === null) {
if (p = m.return, p !== null) {
l = p;
continue;
}
break;
}
if (m.child === b.child) {
for (b = m.child; b; ) {
if (b === l) return Be(m), n;
if (b === p) return Be(m), o;
b = b.sibling;
}
throw Error(r(188));
}
if (l.return !== p.return) l = m, p = b;
else {
for (var C = !1, V = m.child; V; ) {
if (V === l) {
C = !0, l = m, p = b;
break;
}
if (V === p) {
C = !0, p = m, l = b;
break;
}
V = V.sibling;
}
if (!C) {
for (V = b.child; V; ) {
if (V === l) {
C = !0, l = b, p = m;
break;
}
if (V === p) {
C = !0, p = b, l = m;
break;
}
V = V.sibling;
}
if (!C) throw Error(r(189));
}
}
if (l.alternate !== p) throw Error(r(190));
}
if (l.tag !== 3) throw Error(r(188));
return l.stateNode.current === l ? n : o;
}
function Je(n) {
return n = gt(n), n !== null ? _e(n) : null;
}
function _e(n) {
if (n.tag === 5 || n.tag === 6) return n;
for (n = n.child; n !== null; ) {
var o = _e(n);
if (o !== null) return o;
n = n.sibling;
}
return null;
}
var z = t.unstable_scheduleCallback, Ee = t.unstable_cancelCallback, Pe = t.unstable_shouldYield, it = t.unstable_requestPaint, st = t.unstable_now, Ot = t.unstable_getCurrentPriorityLevel, Y = t.unstable_ImmediatePriority, Q = t.unstable_UserBlockingPriority, je = t.unstable_NormalPriority, tt = t.unstable_LowPriority, _t = t.unstable_IdlePriority, Ut = null, jt = null;
function ur(n) {
if (jt && typeof jt.onCommitFiberRoot == "function") try {
jt.onCommitFiberRoot(Ut, n, void 0, (n.current.flags & 128) === 128);
} catch {
}
}
var rr = Math.clz32 ? Math.clz32 : ia, gn = Math.log, Ca = Math.LN2;
function ia(n) {
return n >>>= 0, n === 0 ? 32 : 31 - (gn(n) / Ca | 0) | 0;
}
var On = 64, Ma = 4194304;
function $n(n) {
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:
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 n & 4194240;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return n & 130023424;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 1073741824;
default:
return n;
}
}
function En(n, o) {
var l = n.pendingLanes;
if (l === 0) return 0;
var p = 0, m = n.suspendedLanes, b = n.pingedLanes, C = l & 268435455;
if (C !== 0) {
var V = C & ~m;
V !== 0 ? p = $n(V) : (b &= C, b !== 0 && (p = $n(b)));
} else C = l & ~m, C !== 0 ? p = $n(C) : b !== 0 && (p = $n(b));
if (p === 0) return 0;
if (o !== 0 && o !== p && (o & m) === 0 && (m = p & -p, b = o & -o, m >= b || m === 16 && (b & 4194240) !== 0)) return o;
if ((p & 4) !== 0 && (p |= l & 16), o = n.entangledLanes, o !== 0) for (n = n.entanglements, o &= p; 0 < o; ) l = 31 - rr(o), m = 1 << l, p |= n[l], o &= ~m;
return p;
}
function R(n, o) {
switch (n) {
case 1:
case 2:
case 4:
return o + 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 o + 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 H(n, o) {
for (var l = n.suspendedLanes, p = n.pingedLanes, m = n.expirationTimes, b = n.pendingLanes; 0 < b; ) {
var C = 31 - rr(b), V = 1 << C, j = m[C];
j === -1 ? ((V & l) === 0 || (V & p) !== 0) && (m[C] = R(V, o)) : j <= o && (n.expiredLanes |= V), b &= ~V;
}
}
function K(n) {
return n = n.pendingLanes & -1073741825, n !== 0 ? n : n & 1073741824 ? 1073741824 : 0;
}
function ce() {
var n = On;
return On <<= 1, (On & 4194240) === 0 && (On = 64), n;
}
function qe(n) {
for (var o = [], l = 0; 31 > l; l++) o.push(n);
return o;
}
function De(n, o, l) {
n.pendingLanes |= o, o !== 536870912 && (n.suspendedLanes = 0, n.pingedLanes = 0), n = n.eventTimes, o = 31 - rr(o), n[o] = l;
}
function ot(n, o) {
var l = n.pendingLanes & ~o;
n.pendingLanes = o, n.suspendedLanes = 0, n.pingedLanes = 0, n.expiredLanes &= o, n.mutableReadLanes &= o, n.entangledLanes &= o, o = n.entanglements;
var p = n.eventTimes;
for (n = n.expirationTimes; 0 < l; ) {
var m = 31 - rr(l), b = 1 << m;
o[m] = 0, p[m] = -1, n[m] = -1, l &= ~b;
}
}
function Nt(n, o) {
var l = n.entangledLanes |= o;
for (n = n.entanglements; l; ) {
var p = 31 - rr(l), m = 1 << p;
m & o | n[p] & o && (n[p] |= o), l &= ~m;
}
}
var It = 0;
function cr(n) {
return n &= -n, 1 < n ? 4 < n ? (n & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
}
var dr, Ar, ma, Jn, Gn, ga = !1, zn = [], Pn = null, hn = null, Cn = null, va = /* @__PURE__ */ new Map(), Wa = /* @__PURE__ */ new Map(), Ia = [], Sc = "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 Sl(n, o) {
switch (n) {
case "focusin":
case "focusout":
Pn = null;
break;
case "dragenter":
case "dragleave":
hn = null;
break;
case "mouseover":
case "mouseout":
Cn = null;
break;
case "pointerover":
case "pointerout":
va.delete(o.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
Wa.delete(o.pointerId);
}
}
function Ao(n, o, l, p, m, b) {
return n === null || n.nativeEvent !== b ? (n = { blockedOn: o, domEventName: l, eventSystemFlags: p, nativeEvent: b, targetContainers: [m] }, o !== null && (o = bs(o), o !== null && Ar(o)), n) : (n.eventSystemFlags |= p, o = n.targetContainers, m !== null && o.indexOf(m) === -1 && o.push(m), n);
}
function Hu(n, o, l, p, m) {
switch (o) {
case "focusin":
return Pn = Ao(Pn, n, o, l, p, m), !0;
case "dragenter":
return hn = Ao(hn, n, o, l, p, m), !0;
case "mouseover":
return Cn = Ao(Cn, n, o, l, p, m), !0;
case "pointerover":
var b = m.pointerId;
return va.set(b, Ao(va.get(b) || null, n, o, l, p, m)), !0;
case "gotpointercapture":
return b = m.pointerId, Wa.set(b, Ao(Wa.get(b) || null, n, o, l, p, m)), !0;
}
return !1;
}
function Qa(n) {
var o = Vo(n.target);
if (o !== null) {
var l = Br(o);
if (l !== null) {
if (o = l.tag, o === 13) {
if (o = Nn(l), o !== null) {
n.blockedOn = o, Gn(n.priority, function() {
ma(l);
});
return;
}
} else if (o === 3 && l.stateNode.current.memoizedState.isDehydrated) {
n.blockedOn = l.tag === 3 ? l.stateNode.containerInfo : null;
return;
}
}
}
n.blockedOn = null;
}
function me(n) {
if (n.blockedOn !== null) return !1;
for (var o = n.targetContainers; 0 < o.length; ) {
var l = Ko(n.domEventName, n.eventSystemFlags, o[0], n.nativeEvent);
if (l === null) {
l = n.nativeEvent;
var p = new l.constructor(l.type, l);
oe = p, l.target.dispatchEvent(p), oe = null;
} else return o = bs(l), o !== null && Ar(o), n.blockedOn = l, !1;
o.shift();
}
return !0;
}
function we(n, o, l) {
me(n) && l.delete(o);
}
function Ge() {
ga = !1, Pn !== null && me(Pn) && (Pn = null), hn !== null && me(hn) && (hn = null), Cn !== null && me(Cn) && (Cn = null), va.forEach(we), Wa.forEach(we);
}
function bt(n, o) {
n.blockedOn === o && (n.blockedOn = null, ga || (ga = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Ge)));
}
function Yt(n) {
fu