@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
1,327 lines • 1.28 MB
JavaScript
var og = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function nl(r) {
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
}
var n0 = { exports: {} }, $e = {};
var r0, Oh;
function gm() {
if (Oh) return r0;
Oh = 1;
var r = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
function n(a) {
if (a == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(a);
}
function i() {
try {
if (!Object.assign)
return !1;
var a = new String("abc");
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
return !1;
for (var l = {}, u = 0; u < 10; u++)
l["_" + String.fromCharCode(u)] = u;
var h = Object.getOwnPropertyNames(l).map(function(f) {
return l[f];
});
if (h.join("") !== "0123456789")
return !1;
var p = {};
return "abcdefghijklmnopqrst".split("").forEach(function(f) {
p[f] = f;
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return r0 = i() ? Object.assign : function(a, l) {
for (var u, h = n(a), p, f = 1; f < arguments.length; f++) {
u = Object(arguments[f]);
for (var g in u)
e.call(u, g) && (h[g] = u[g]);
if (r) {
p = r(u);
for (var v = 0; v < p.length; v++)
t.call(u, p[v]) && (h[p[v]] = u[p[v]]);
}
}
return h;
}, r0;
}
var Bh;
function ag() {
if (Bh) return $e;
Bh = 1;
var r = gm(), e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, u = e ? Symbol.for("react.provider") : 60109, h = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = typeof Symbol == "function" && Symbol.iterator;
function M(O) {
for (var Y = "https://reactjs.org/docs/error-decoder.html?invariant=" + O, oe = 1; oe < arguments.length; oe++) Y += "&args[]=" + encodeURIComponent(arguments[oe]);
return "Minified React error #" + O + "; visit " + Y + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var S = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, x = {};
function E(O, Y, oe) {
this.props = O, this.context = Y, this.refs = x, this.updater = oe || S;
}
E.prototype.isReactComponent = {}, E.prototype.setState = function(O, Y) {
if (typeof O != "object" && typeof O != "function" && O != null) throw Error(M(85));
this.updater.enqueueSetState(this, O, Y, "setState");
}, E.prototype.forceUpdate = function(O) {
this.updater.enqueueForceUpdate(this, O, "forceUpdate");
};
function H() {
}
H.prototype = E.prototype;
function I(O, Y, oe) {
this.props = O, this.context = Y, this.refs = x, this.updater = oe || S;
}
var T = I.prototype = new H();
T.constructor = I, r(T, E.prototype), T.isPureReactComponent = !0;
var _ = { current: null }, N = Object.prototype.hasOwnProperty, P = { key: !0, ref: !0, __self: !0, __source: !0 };
function L(O, Y, oe) {
var we, Ee = {}, ze = null, Ne = null;
if (Y != null) for (we in Y.ref !== void 0 && (Ne = Y.ref), Y.key !== void 0 && (ze = "" + Y.key), Y) N.call(Y, we) && !P.hasOwnProperty(we) && (Ee[we] = Y[we]);
var be = arguments.length - 2;
if (be === 1) Ee.children = oe;
else if (1 < be) {
for (var Fe = Array(be), et = 0; et < be; et++) Fe[et] = arguments[et + 2];
Ee.children = Fe;
}
if (O && O.defaultProps) for (we in be = O.defaultProps, be) Ee[we] === void 0 && (Ee[we] = be[we]);
return { $$typeof: t, type: O, key: ze, ref: Ne, props: Ee, _owner: _.current };
}
function B(O, Y) {
return { $$typeof: t, type: O.type, key: Y, ref: O.ref, props: O.props, _owner: O._owner };
}
function A(O) {
return typeof O == "object" && O !== null && O.$$typeof === t;
}
function V(O) {
var Y = { "=": "=0", ":": "=2" };
return "$" + ("" + O).replace(/[=:]/g, function(oe) {
return Y[oe];
});
}
var G = /\/+/g, X = [];
function U(O, Y, oe, we) {
if (X.length) {
var Ee = X.pop();
return Ee.result = O, Ee.keyPrefix = Y, Ee.func = oe, Ee.context = we, Ee.count = 0, Ee;
}
return { result: O, keyPrefix: Y, func: oe, context: we, count: 0 };
}
function Q(O) {
O.result = null, O.keyPrefix = null, O.func = null, O.context = null, O.count = 0, 10 > X.length && X.push(O);
}
function ee(O, Y, oe, we) {
var Ee = typeof O;
(Ee === "undefined" || Ee === "boolean") && (O = null);
var ze = !1;
if (O === null) ze = !0;
else switch (Ee) {
case "string":
case "number":
ze = !0;
break;
case "object":
switch (O.$$typeof) {
case t:
case n:
ze = !0;
}
}
if (ze) return oe(we, O, Y === "" ? "." + ae(O, 0) : Y), 1;
if (ze = 0, Y = Y === "" ? "." : Y + ":", Array.isArray(O)) for (var Ne = 0; Ne < O.length; Ne++) {
Ee = O[Ne];
var be = Y + ae(Ee, Ne);
ze += ee(Ee, be, oe, we);
}
else if (O === null || typeof O != "object" ? be = null : (be = b && O[b] || O["@@iterator"], be = typeof be == "function" ? be : null), typeof be == "function") for (O = be.call(O), Ne = 0; !(Ee = O.next()).done; ) Ee = Ee.value, be = Y + ae(Ee, Ne++), ze += ee(Ee, be, oe, we);
else if (Ee === "object") throw oe = "" + O, Error(M(31, oe === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : oe, ""));
return ze;
}
function J(O, Y, oe) {
return O == null ? 0 : ee(O, "", Y, oe);
}
function ae(O, Y) {
return typeof O == "object" && O !== null && O.key != null ? V(O.key) : Y.toString(36);
}
function de(O, Y) {
O.func.call(O.context, Y, O.count++);
}
function le(O, Y, oe) {
var we = O.result, Ee = O.keyPrefix;
O = O.func.call(O.context, Y, O.count++), Array.isArray(O) ? ye(O, we, oe, function(ze) {
return ze;
}) : O != null && (A(O) && (O = B(O, Ee + (!O.key || Y && Y.key === O.key ? "" : ("" + O.key).replace(G, "$&/") + "/") + oe)), we.push(O));
}
function ye(O, Y, oe, we, Ee) {
var ze = "";
oe != null && (ze = ("" + oe).replace(G, "$&/") + "/"), Y = U(Y, ze, we, Ee), J(O, le, Y), Q(Y);
}
var Pe = { current: null };
function Se() {
var O = Pe.current;
if (O === null) throw Error(M(321));
return O;
}
var te = { ReactCurrentDispatcher: Pe, ReactCurrentBatchConfig: { suspense: null }, ReactCurrentOwner: _, IsSomeRendererActing: { current: !1 }, assign: r };
return $e.Children = { map: function(O, Y, oe) {
if (O == null) return O;
var we = [];
return ye(O, we, null, Y, oe), we;
}, forEach: function(O, Y, oe) {
if (O == null) return O;
Y = U(null, null, Y, oe), J(O, de, Y), Q(Y);
}, count: function(O) {
return J(O, function() {
return null;
}, null);
}, toArray: function(O) {
var Y = [];
return ye(O, Y, null, function(oe) {
return oe;
}), Y;
}, only: function(O) {
if (!A(O)) throw Error(M(143));
return O;
} }, $e.Component = E, $e.Fragment = i, $e.Profiler = l, $e.PureComponent = I, $e.StrictMode = a, $e.Suspense = f, $e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = te, $e.cloneElement = function(O, Y, oe) {
if (O == null) throw Error(M(267, O));
var we = r({}, O.props), Ee = O.key, ze = O.ref, Ne = O._owner;
if (Y != null) {
if (Y.ref !== void 0 && (ze = Y.ref, Ne = _.current), Y.key !== void 0 && (Ee = "" + Y.key), O.type && O.type.defaultProps) var be = O.type.defaultProps;
for (Fe in Y) N.call(Y, Fe) && !P.hasOwnProperty(Fe) && (we[Fe] = Y[Fe] === void 0 && be !== void 0 ? be[Fe] : Y[Fe]);
}
var Fe = arguments.length - 2;
if (Fe === 1) we.children = oe;
else if (1 < Fe) {
be = Array(Fe);
for (var et = 0; et < Fe; et++) be[et] = arguments[et + 2];
we.children = be;
}
return {
$$typeof: t,
type: O.type,
key: Ee,
ref: ze,
props: we,
_owner: Ne
};
}, $e.createContext = function(O, Y) {
return Y === void 0 && (Y = null), O = { $$typeof: h, _calculateChangedBits: Y, _currentValue: O, _currentValue2: O, _threadCount: 0, Provider: null, Consumer: null }, O.Provider = { $$typeof: u, _context: O }, O.Consumer = O;
}, $e.createElement = L, $e.createFactory = function(O) {
var Y = L.bind(null, O);
return Y.type = O, Y;
}, $e.createRef = function() {
return { current: null };
}, $e.forwardRef = function(O) {
return { $$typeof: p, render: O };
}, $e.isValidElement = A, $e.lazy = function(O) {
return { $$typeof: v, _ctor: O, _status: -1, _result: null };
}, $e.memo = function(O, Y) {
return { $$typeof: g, type: O, compare: Y === void 0 ? null : Y };
}, $e.useCallback = function(O, Y) {
return Se().useCallback(O, Y);
}, $e.useContext = function(O, Y) {
return Se().useContext(O, Y);
}, $e.useDebugValue = function() {
}, $e.useEffect = function(O, Y) {
return Se().useEffect(O, Y);
}, $e.useImperativeHandle = function(O, Y, oe) {
return Se().useImperativeHandle(O, Y, oe);
}, $e.useLayoutEffect = function(O, Y) {
return Se().useLayoutEffect(O, Y);
}, $e.useMemo = function(O, Y) {
return Se().useMemo(O, Y);
}, $e.useReducer = function(O, Y, oe) {
return Se().useReducer(O, Y, oe);
}, $e.useRef = function(O) {
return Se().useRef(O);
}, $e.useState = function(O) {
return Se().useState(O);
}, $e.version = "16.14.0", $e;
}
var Dh;
function ym() {
return Dh || (Dh = 1, n0.exports = ag()), n0.exports;
}
var K = ym();
const d = /* @__PURE__ */ nl(K);
var s0 = { exports: {} }, Bt = {}, i0 = { exports: {} }, o0 = {};
var Rh;
function lg() {
return Rh || (Rh = 1, (function(r) {
var e, t, n, i, a;
if (typeof window > "u" || typeof MessageChannel != "function") {
var l = null, u = null, h = function() {
if (l !== null) try {
var te = r.unstable_now();
l(!0, te), l = null;
} catch (O) {
throw setTimeout(h, 0), O;
}
}, p = Date.now();
r.unstable_now = function() {
return Date.now() - p;
}, e = function(te) {
l !== null ? setTimeout(e, 0, te) : (l = te, setTimeout(h, 0));
}, t = function(te, O) {
u = setTimeout(te, O);
}, n = function() {
clearTimeout(u);
}, i = function() {
return !1;
}, a = r.unstable_forceFrameRate = function() {
};
} else {
var f = window.performance, g = window.Date, v = window.setTimeout, b = window.clearTimeout;
if (typeof console < "u") {
var M = window.cancelAnimationFrame;
typeof window.requestAnimationFrame != "function" && console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"), typeof M != "function" && console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");
}
if (typeof f == "object" && typeof f.now == "function") r.unstable_now = function() {
return f.now();
};
else {
var S = g.now();
r.unstable_now = function() {
return g.now() - S;
};
}
var x = !1, E = null, H = -1, I = 5, T = 0;
i = function() {
return r.unstable_now() >= T;
}, a = function() {
}, r.unstable_forceFrameRate = function(te) {
0 > te || 125 < te ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported") : I = 0 < te ? Math.floor(1e3 / te) : 5;
};
var _ = new MessageChannel(), N = _.port2;
_.port1.onmessage = function() {
if (E !== null) {
var te = r.unstable_now();
T = te + I;
try {
E(!0, te) ? N.postMessage(null) : (x = !1, E = null);
} catch (O) {
throw N.postMessage(null), O;
}
} else x = !1;
}, e = function(te) {
E = te, x || (x = !0, N.postMessage(null));
}, t = function(te, O) {
H = v(function() {
te(r.unstable_now());
}, O);
}, n = function() {
b(H), H = -1;
};
}
function P(te, O) {
var Y = te.length;
te.push(O);
e: for (; ; ) {
var oe = Y - 1 >>> 1, we = te[oe];
if (we !== void 0 && 0 < A(we, O)) te[oe] = O, te[Y] = we, Y = oe;
else break e;
}
}
function L(te) {
return te = te[0], te === void 0 ? null : te;
}
function B(te) {
var O = te[0];
if (O !== void 0) {
var Y = te.pop();
if (Y !== O) {
te[0] = Y;
e: for (var oe = 0, we = te.length; oe < we; ) {
var Ee = 2 * (oe + 1) - 1, ze = te[Ee], Ne = Ee + 1, be = te[Ne];
if (ze !== void 0 && 0 > A(ze, Y)) be !== void 0 && 0 > A(be, ze) ? (te[oe] = be, te[Ne] = Y, oe = Ne) : (te[oe] = ze, te[Ee] = Y, oe = Ee);
else if (be !== void 0 && 0 > A(be, Y)) te[oe] = be, te[Ne] = Y, oe = Ne;
else break e;
}
}
return O;
}
return null;
}
function A(te, O) {
var Y = te.sortIndex - O.sortIndex;
return Y !== 0 ? Y : te.id - O.id;
}
var V = [], G = [], X = 1, U = null, Q = 3, ee = !1, J = !1, ae = !1;
function de(te) {
for (var O = L(G); O !== null; ) {
if (O.callback === null) B(G);
else if (O.startTime <= te) B(G), O.sortIndex = O.expirationTime, P(V, O);
else break;
O = L(G);
}
}
function le(te) {
if (ae = !1, de(te), !J) if (L(V) !== null) J = !0, e(ye);
else {
var O = L(G);
O !== null && t(le, O.startTime - te);
}
}
function ye(te, O) {
J = !1, ae && (ae = !1, n()), ee = !0;
var Y = Q;
try {
for (de(O), U = L(V); U !== null && (!(U.expirationTime > O) || te && !i()); ) {
var oe = U.callback;
if (oe !== null) {
U.callback = null, Q = U.priorityLevel;
var we = oe(U.expirationTime <= O);
O = r.unstable_now(), typeof we == "function" ? U.callback = we : U === L(V) && B(V), de(O);
} else B(V);
U = L(V);
}
if (U !== null) var Ee = !0;
else {
var ze = L(G);
ze !== null && t(le, ze.startTime - O), Ee = !1;
}
return Ee;
} finally {
U = null, Q = Y, ee = !1;
}
}
function Pe(te) {
switch (te) {
case 1:
return -1;
case 2:
return 250;
case 5:
return 1073741823;
case 4:
return 1e4;
default:
return 5e3;
}
}
var Se = a;
r.unstable_IdlePriority = 5, r.unstable_ImmediatePriority = 1, r.unstable_LowPriority = 4, r.unstable_NormalPriority = 3, r.unstable_Profiling = null, r.unstable_UserBlockingPriority = 2, r.unstable_cancelCallback = function(te) {
te.callback = null;
}, r.unstable_continueExecution = function() {
J || ee || (J = !0, e(ye));
}, r.unstable_getCurrentPriorityLevel = function() {
return Q;
}, r.unstable_getFirstCallbackNode = function() {
return L(V);
}, r.unstable_next = function(te) {
switch (Q) {
case 1:
case 2:
case 3:
var O = 3;
break;
default:
O = Q;
}
var Y = Q;
Q = O;
try {
return te();
} finally {
Q = Y;
}
}, r.unstable_pauseExecution = function() {
}, r.unstable_requestPaint = Se, r.unstable_runWithPriority = function(te, O) {
switch (te) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
te = 3;
}
var Y = Q;
Q = te;
try {
return O();
} finally {
Q = Y;
}
}, r.unstable_scheduleCallback = function(te, O, Y) {
var oe = r.unstable_now();
if (typeof Y == "object" && Y !== null) {
var we = Y.delay;
we = typeof we == "number" && 0 < we ? oe + we : oe, Y = typeof Y.timeout == "number" ? Y.timeout : Pe(te);
} else Y = Pe(te), we = oe;
return Y = we + Y, te = { id: X++, callback: O, priorityLevel: te, startTime: we, expirationTime: Y, sortIndex: -1 }, we > oe ? (te.sortIndex = we, P(G, te), L(V) === null && te === L(G) && (ae ? n() : ae = !0, t(le, we - oe))) : (te.sortIndex = Y, P(V, te), J || ee || (J = !0, e(ye))), te;
}, r.unstable_shouldYield = function() {
var te = r.unstable_now();
de(te);
var O = L(V);
return O !== U && U !== null && O !== null && O.callback !== null && O.startTime <= te && O.expirationTime < U.expirationTime || i();
}, r.unstable_wrapCallback = function(te) {
var O = Q;
return function() {
var Y = Q;
Q = O;
try {
return te.apply(this, arguments);
} finally {
Q = Y;
}
};
};
})(o0)), o0;
}
var Ah;
function cg() {
return Ah || (Ah = 1, i0.exports = lg()), i0.exports;
}
var Vh;
function dg() {
if (Vh) return Bt;
Vh = 1;
var r = ym(), e = gm(), t = cg();
function n(s) {
for (var o = "https://reactjs.org/docs/error-decoder.html?invariant=" + s, c = 1; c < arguments.length; c++) o += "&args[]=" + encodeURIComponent(arguments[c]);
return "Minified React error #" + s + "; visit " + o + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
if (!r) throw Error(n(227));
function i(s, o, c, m, y, C, k, z, W) {
var Z = Array.prototype.slice.call(arguments, 3);
try {
o.apply(c, Z);
} catch (me) {
this.onError(me);
}
}
var a = !1, l = null, u = !1, h = null, p = { onError: function(s) {
a = !0, l = s;
} };
function f(s, o, c, m, y, C, k, z, W) {
a = !1, l = null, i.apply(p, arguments);
}
function g(s, o, c, m, y, C, k, z, W) {
if (f.apply(this, arguments), a) {
if (a) {
var Z = l;
a = !1, l = null;
} else throw Error(n(198));
u || (u = !0, h = Z);
}
}
var v = null, b = null, M = null;
function S(s, o, c) {
var m = s.type || "unknown-event";
s.currentTarget = M(c), g(m, o, void 0, s), s.currentTarget = null;
}
var x = null, E = {};
function H() {
if (x) for (var s in E) {
var o = E[s], c = x.indexOf(s);
if (!(-1 < c)) throw Error(n(96, s));
if (!T[c]) {
if (!o.extractEvents) throw Error(n(97, s));
T[c] = o, c = o.eventTypes;
for (var m in c) {
var y = void 0, C = c[m], k = o, z = m;
if (_.hasOwnProperty(z)) throw Error(n(99, z));
_[z] = C;
var W = C.phasedRegistrationNames;
if (W) {
for (y in W) W.hasOwnProperty(y) && I(W[y], k, z);
y = !0;
} else C.registrationName ? (I(C.registrationName, k, z), y = !0) : y = !1;
if (!y) throw Error(n(98, m, s));
}
}
}
}
function I(s, o, c) {
if (N[s]) throw Error(n(100, s));
N[s] = o, P[s] = o.eventTypes[c].dependencies;
}
var T = [], _ = {}, N = {}, P = {};
function L(s) {
var o = !1, c;
for (c in s) if (s.hasOwnProperty(c)) {
var m = s[c];
if (!E.hasOwnProperty(c) || E[c] !== m) {
if (E[c]) throw Error(n(102, c));
E[c] = m, o = !0;
}
}
o && H();
}
var B = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), A = null, V = null, G = null;
function X(s) {
if (s = b(s)) {
if (typeof A != "function") throw Error(n(280));
var o = s.stateNode;
o && (o = v(o), A(s.stateNode, s.type, o));
}
}
function U(s) {
V ? G ? G.push(s) : G = [s] : V = s;
}
function Q() {
if (V) {
var s = V, o = G;
if (G = V = null, X(s), o) for (s = 0; s < o.length; s++) X(o[s]);
}
}
function ee(s, o) {
return s(o);
}
function J(s, o, c, m, y) {
return s(o, c, m, y);
}
function ae() {
}
var de = ee, le = !1, ye = !1;
function Pe() {
(V !== null || G !== null) && (ae(), Q());
}
function Se(s, o, c) {
if (ye) return s(o, c);
ye = !0;
try {
return de(s, o, c);
} finally {
ye = !1, Pe();
}
}
var te = /^[: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]*$/, O = Object.prototype.hasOwnProperty, Y = {}, oe = {};
function we(s) {
return O.call(oe, s) ? !0 : O.call(Y, s) ? !1 : te.test(s) ? oe[s] = !0 : (Y[s] = !0, !1);
}
function Ee(s, o, c, m) {
if (c !== null && c.type === 0) return !1;
switch (typeof o) {
case "function":
case "symbol":
return !0;
case "boolean":
return m ? !1 : c !== null ? !c.acceptsBooleans : (s = s.toLowerCase().slice(0, 5), s !== "data-" && s !== "aria-");
default:
return !1;
}
}
function ze(s, o, c, m) {
if (o === null || typeof o > "u" || Ee(s, o, c, m)) return !0;
if (m) return !1;
if (c !== null) switch (c.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 Ne(s, o, c, m, y, C) {
this.acceptsBooleans = o === 2 || o === 3 || o === 4, this.attributeName = m, this.attributeNamespace = y, this.mustUseProperty = c, this.propertyName = s, this.type = o, this.sanitizeURL = C;
}
var be = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s) {
be[s] = new Ne(s, 0, !1, s, null, !1);
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(s) {
var o = s[0];
be[o] = new Ne(o, 1, !1, s[1], null, !1);
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(s) {
be[s] = new Ne(s, 2, !1, s.toLowerCase(), null, !1);
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(s) {
be[s] = new Ne(s, 2, !1, s, null, !1);
}), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s) {
be[s] = new Ne(s, 3, !1, s.toLowerCase(), null, !1);
}), ["checked", "multiple", "muted", "selected"].forEach(function(s) {
be[s] = new Ne(s, 3, !0, s, null, !1);
}), ["capture", "download"].forEach(function(s) {
be[s] = new Ne(s, 4, !1, s, null, !1);
}), ["cols", "rows", "size", "span"].forEach(function(s) {
be[s] = new Ne(s, 6, !1, s, null, !1);
}), ["rowSpan", "start"].forEach(function(s) {
be[s] = new Ne(s, 5, !1, s.toLowerCase(), null, !1);
});
var Fe = /[\-:]([a-z])/g;
function et(s) {
return s[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(s) {
var o = s.replace(
Fe,
et
);
be[o] = new Ne(o, 1, !1, s, null, !1);
}), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s) {
var o = s.replace(Fe, et);
be[o] = new Ne(o, 1, !1, s, "http://www.w3.org/1999/xlink", !1);
}), ["xml:base", "xml:lang", "xml:space"].forEach(function(s) {
var o = s.replace(Fe, et);
be[o] = new Ne(o, 1, !1, s, "http://www.w3.org/XML/1998/namespace", !1);
}), ["tabIndex", "crossOrigin"].forEach(function(s) {
be[s] = new Ne(s, 1, !1, s.toLowerCase(), null, !1);
}), be.xlinkHref = new Ne("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0), ["src", "href", "action", "formAction"].forEach(function(s) {
be[s] = new Ne(s, 1, !1, s.toLowerCase(), null, !0);
});
var ut = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
ut.hasOwnProperty("ReactCurrentDispatcher") || (ut.ReactCurrentDispatcher = { current: null }), ut.hasOwnProperty("ReactCurrentBatchConfig") || (ut.ReactCurrentBatchConfig = { suspense: null });
function Fn(s, o, c, m) {
var y = be.hasOwnProperty(o) ? be[o] : null, C = y !== null ? y.type === 0 : m ? !1 : !(!(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N");
C || (ze(o, c, y, m) && (c = null), m || y === null ? we(o) && (c === null ? s.removeAttribute(o) : s.setAttribute(o, "" + c)) : y.mustUseProperty ? s[y.propertyName] = c === null ? y.type === 3 ? !1 : "" : c : (o = y.attributeName, m = y.attributeNamespace, c === null ? s.removeAttribute(o) : (y = y.type, c = y === 3 || y === 4 && c === !0 ? "" : "" + c, m ? s.setAttributeNS(m, o, c) : s.setAttribute(o, c))));
}
var Qs = /^(.*)[\\\/]/, Ue = typeof Symbol == "function" && Symbol.for, rs = Ue ? Symbol.for("react.element") : 60103, jn = Ue ? Symbol.for("react.portal") : 60106, vn = Ue ? Symbol.for("react.fragment") : 60107, go = Ue ? Symbol.for("react.strict_mode") : 60108, ss = Ue ? Symbol.for("react.profiler") : 60114, yo = Ue ? Symbol.for("react.provider") : 60109, Js = Ue ? Symbol.for("react.context") : 60110, Sl = Ue ? Symbol.for("react.concurrent_mode") : 60111, ei = Ue ? Symbol.for("react.forward_ref") : 60112, is = Ue ? Symbol.for("react.suspense") : 60113, Mr = Ue ? Symbol.for("react.suspense_list") : 60120, ti = Ue ? Symbol.for("react.memo") : 60115, vo = Ue ? Symbol.for("react.lazy") : 60116, wo = Ue ? Symbol.for("react.block") : 60121, je = typeof Symbol == "function" && Symbol.iterator;
function We(s) {
return s === null || typeof s != "object" ? null : (s = je && s[je] || s["@@iterator"], typeof s == "function" ? s : null);
}
function Sr(s) {
if (s._status === -1) {
s._status = 0;
var o = s._ctor;
o = o(), s._result = o, o.then(function(c) {
s._status === 0 && (c = c.default, s._status = 1, s._result = c);
}, function(c) {
s._status === 0 && (s._status = 2, s._result = c);
});
}
}
function wn(s) {
if (s == null) return null;
if (typeof s == "function") return s.displayName || s.name || null;
if (typeof s == "string") return s;
switch (s) {
case vn:
return "Fragment";
case jn:
return "Portal";
case ss:
return "Profiler";
case go:
return "StrictMode";
case is:
return "Suspense";
case Mr:
return "SuspenseList";
}
if (typeof s == "object") switch (s.$$typeof) {
case Js:
return "Context.Consumer";
case yo:
return "Context.Provider";
case ei:
var o = s.render;
return o = o.displayName || o.name || "", s.displayName || (o !== "" ? "ForwardRef(" + o + ")" : "ForwardRef");
case ti:
return wn(s.type);
case wo:
return wn(s.render);
case vo:
if (s = s._status === 1 ? s._result : null) return wn(s);
}
return null;
}
function bl(s) {
var o = "";
do {
e: switch (s.tag) {
case 3:
case 4:
case 6:
case 7:
case 10:
case 9:
var c = "";
break e;
default:
var m = s._debugOwner, y = s._debugSource, C = wn(s.type);
c = null, m && (c = wn(m.type)), m = C, C = "", y ? C = " (at " + y.fileName.replace(Qs, "") + ":" + y.lineNumber + ")" : c && (C = " (created by " + c + ")"), c = `
in ` + (m || "Unknown") + C;
}
o += c, s = s.return;
} while (s);
return o;
}
function $n(s) {
switch (typeof s) {
case "boolean":
case "number":
case "object":
case "string":
case "undefined":
return s;
default:
return "";
}
}
function sd(s) {
var o = s.type;
return (s = s.nodeName) && s.toLowerCase() === "input" && (o === "checkbox" || o === "radio");
}
function k5(s) {
var o = sd(s) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(s.constructor.prototype, o), m = "" + s[o];
if (!s.hasOwnProperty(o) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") {
var y = c.get, C = c.set;
return Object.defineProperty(s, o, { configurable: !0, get: function() {
return y.call(this);
}, set: function(k) {
m = "" + k, C.call(this, k);
} }), Object.defineProperty(s, o, { enumerable: c.enumerable }), { getValue: function() {
return m;
}, setValue: function(k) {
m = "" + k;
}, stopTracking: function() {
s._valueTracker = null, delete s[o];
} };
}
}
function Mo(s) {
s._valueTracker || (s._valueTracker = k5(s));
}
function id(s) {
if (!s) return !1;
var o = s._valueTracker;
if (!o) return !0;
var c = o.getValue(), m = "";
return s && (m = sd(s) ? s.checked ? "true" : "false" : s.value), s = m, s !== c ? (o.setValue(s), !0) : !1;
}
function xl(s, o) {
var c = o.checked;
return e({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c ?? s._wrapperState.initialChecked });
}
function od(s, o) {
var c = o.defaultValue == null ? "" : o.defaultValue, m = o.checked != null ? o.checked : o.defaultChecked;
c = $n(o.value != null ? o.value : c), s._wrapperState = { initialChecked: m, initialValue: c, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null };
}
function ad(s, o) {
o = o.checked, o != null && Fn(s, "checked", o, !1);
}
function Cl(s, o) {
ad(s, o);
var c = $n(o.value), m = o.type;
if (c != null) m === "number" ? (c === 0 && s.value === "" || s.value != c) && (s.value = "" + c) : s.value !== "" + c && (s.value = "" + c);
else if (m === "submit" || m === "reset") {
s.removeAttribute("value");
return;
}
o.hasOwnProperty("value") ? El(s, o.type, c) : o.hasOwnProperty("defaultValue") && El(s, o.type, $n(o.defaultValue)), o.checked == null && o.defaultChecked != null && (s.defaultChecked = !!o.defaultChecked);
}
function ld(s, o, c) {
if (o.hasOwnProperty("value") || o.hasOwnProperty("defaultValue")) {
var m = o.type;
if (!(m !== "submit" && m !== "reset" || o.value !== void 0 && o.value !== null)) return;
o = "" + s._wrapperState.initialValue, c || o === s.value || (s.value = o), s.defaultValue = o;
}
c = s.name, c !== "" && (s.name = ""), s.defaultChecked = !!s._wrapperState.initialChecked, c !== "" && (s.name = c);
}
function El(s, o, c) {
(o !== "number" || s.ownerDocument.activeElement !== s) && (c == null ? s.defaultValue = "" + s._wrapperState.initialValue : s.defaultValue !== "" + c && (s.defaultValue = "" + c));
}
function P5(s) {
var o = "";
return r.Children.forEach(s, function(c) {
c != null && (o += c);
}), o;
}
function kl(s, o) {
return s = e({ children: void 0 }, o), (o = P5(o.children)) && (s.children = o), s;
}
function os(s, o, c, m) {
if (s = s.options, o) {
o = {};
for (var y = 0; y < c.length; y++) o["$" + c[y]] = !0;
for (c = 0; c < s.length; c++) y = o.hasOwnProperty("$" + s[c].value), s[c].selected !== y && (s[c].selected = y), y && m && (s[c].defaultSelected = !0);
} else {
for (c = "" + $n(c), o = null, y = 0; y < s.length; y++) {
if (s[y].value === c) {
s[y].selected = !0, m && (s[y].defaultSelected = !0);
return;
}
o !== null || s[y].disabled || (o = s[y]);
}
o !== null && (o.selected = !0);
}
}
function Pl(s, o) {
if (o.dangerouslySetInnerHTML != null) throw Error(n(91));
return e({}, o, { value: void 0, defaultValue: void 0, children: "" + s._wrapperState.initialValue });
}
function cd(s, o) {
var c = o.value;
if (c == null) {
if (c = o.children, o = o.defaultValue, c != null) {
if (o != null) throw Error(n(92));
if (Array.isArray(c)) {
if (!(1 >= c.length)) throw Error(n(93));
c = c[0];
}
o = c;
}
o == null && (o = ""), c = o;
}
s._wrapperState = { initialValue: $n(c) };
}
function dd(s, o) {
var c = $n(o.value), m = $n(o.defaultValue);
c != null && (c = "" + c, c !== s.value && (s.value = c), o.defaultValue == null && s.defaultValue !== c && (s.defaultValue = c)), m != null && (s.defaultValue = "" + m);
}
function ud(s) {
var o = s.textContent;
o === s._wrapperState.initialValue && o !== "" && o !== null && (s.value = o);
}
var hd = { html: "http://www.w3.org/1999/xhtml", svg: "http://www.w3.org/2000/svg" };
function md(s) {
switch (s) {
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 _l(s, o) {
return s == null || s === "http://www.w3.org/1999/xhtml" ? md(o) : s === "http://www.w3.org/2000/svg" && o === "foreignObject" ? "http://www.w3.org/1999/xhtml" : s;
}
var So, pd = (function(s) {
return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(o, c, m, y) {
MSApp.execUnsafeLocalFunction(function() {
return s(o, c, m, y);
});
} : s;
})(function(s, o) {
if (s.namespaceURI !== hd.svg || "innerHTML" in s) s.innerHTML = o;
else {
for (So = So || document.createElement("div"), So.innerHTML = "<svg>" + o.valueOf().toString() + "</svg>", o = So.firstChild; s.firstChild; ) s.removeChild(s.firstChild);
for (; o.firstChild; ) s.appendChild(o.firstChild);
}
});
function ni(s, o) {
if (o) {
var c = s.firstChild;
if (c && c === s.lastChild && c.nodeType === 3) {
c.nodeValue = o;
return;
}
}
s.textContent = o;
}
function bo(s, o) {
var c = {};
return c[s.toLowerCase()] = o.toLowerCase(), c["Webkit" + s] = "webkit" + o, c["Moz" + s] = "moz" + o, c;
}
var as = { animationend: bo("Animation", "AnimationEnd"), animationiteration: bo("Animation", "AnimationIteration"), animationstart: bo("Animation", "AnimationStart"), transitionend: bo("Transition", "TransitionEnd") }, Ll = {}, fd = {};
B && (fd = document.createElement("div").style, "AnimationEvent" in window || (delete as.animationend.animation, delete as.animationiteration.animation, delete as.animationstart.animation), "TransitionEvent" in window || delete as.transitionend.transition);
function xo(s) {
if (Ll[s]) return Ll[s];
if (!as[s]) return s;
var o = as[s], c;
for (c in o) if (o.hasOwnProperty(c) && c in fd) return Ll[s] = o[c];
return s;
}
var gd = xo("animationend"), yd = xo("animationiteration"), vd = xo("animationstart"), wd = xo("transitionend"), ri = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Md = new (typeof WeakMap == "function" ? WeakMap : Map)();
function Tl(s) {
var o = Md.get(s);
return o === void 0 && (o = /* @__PURE__ */ new Map(), Md.set(s, o)), o;
}
function br(s) {
var o = s, c = s;
if (s.alternate) for (; o.return; ) o = o.return;
else {
s = o;
do
o = s, (o.effectTag & 1026) !== 0 && (c = o.return), s = o.return;
while (s);
}
return o.tag === 3 ? c : null;
}
function Sd(s) {
if (s.tag === 13) {
var o = s.memoizedState;
if (o === null && (s = s.alternate, s !== null && (o = s.memoizedState)), o !== null) return o.dehydrated;
}
return null;
}
function bd(s) {
if (br(s) !== s) throw Error(n(188));
}
function _5(s) {
var o = s.alternate;
if (!o) {
if (o = br(s), o === null) throw Error(n(188));
return o !== s ? null : s;
}
for (var c = s, m = o; ; ) {
var y = c.return;
if (y === null) break;
var C = y.alternate;
if (C === null) {
if (m = y.return, m !== null) {
c = m;
continue;
}
break;
}
if (y.child === C.child) {
for (C = y.child; C; ) {
if (C === c) return bd(y), s;
if (C === m) return bd(y), o;
C = C.sibling;
}
throw Error(n(188));
}
if (c.return !== m.return) c = y, m = C;
else {
for (var k = !1, z = y.child; z; ) {
if (z === c) {
k = !0, c = y, m = C;
break;
}
if (z === m) {
k = !0, m = y, c = C;
break;
}
z = z.sibling;
}
if (!k) {
for (z = C.child; z; ) {
if (z === c) {
k = !0, c = C, m = y;
break;
}
if (z === m) {
k = !0, m = C, c = y;
break;
}
z = z.sibling;
}
if (!k) throw Error(n(189));
}
}
if (c.alternate !== m) throw Error(n(190));
}
if (c.tag !== 3) throw Error(n(188));
return c.stateNode.current === c ? s : o;
}
function xd(s) {
if (s = _5(s), !s) return null;
for (var o = s; ; ) {
if (o.tag === 5 || o.tag === 6) return o;
if (o.child) o.child.return = o, o = o.child;
else {
if (o === s) break;
for (; !o.sibling; ) {
if (!o.return || o.return === s) return null;
o = o.return;
}
o.sibling.return = o.return, o = o.sibling;
}
}
return null;
}
function ls(s, o) {
if (o == null) throw Error(n(30));
return s == null ? o : Array.isArray(s) ? Array.isArray(o) ? (s.push.apply(s, o), s) : (s.push(o), s) : Array.isArray(o) ? [s].concat(o) : [s, o];
}
function Hl(s, o, c) {
Array.isArray(s) ? s.forEach(o, c) : s && o.call(c, s);
}
var si = null;
function L5(s) {
if (s) {
var o = s._dispatchListeners, c = s._dispatchInstances;
if (Array.isArray(o)) for (var m = 0; m < o.length && !s.isPropagationStopped(); m++) S(s, o[m], c[m]);
else o && S(s, o, c);
s._dispatchListeners = null, s._dispatchInstances = null, s.isPersistent() || s.constructor.release(s);
}
}
function Co(s) {
if (s !== null && (si = ls(si, s)), s = si, si = null, s) {
if (Hl(s, L5), si) throw Error(n(95));
if (u) throw s = h, u = !1, h = null, s;
}
}
function Nl(s) {
return s = s.target || s.srcElement || window, s.correspondingUseElement && (s = s.correspondingUseElement), s.nodeType === 3 ? s.parentNode : s;
}
function Cd(s) {
if (!B) return !1;
s = "on" + s;
var o = s in document;
return o || (o = document.createElement("div"), o.setAttribute(s, "return;"), o = typeof o[s] == "function"), o;
}
var Eo = [];
function Ed(s) {
s.topLevelType = null, s.nativeEvent = null, s.targetInst = null, s.ancestors.length = 0, 10 > Eo.length && Eo.push(s);
}
function kd(s, o, c, m) {
if (Eo.length) {
var y = Eo.pop();
return y.topLevelType = s, y.eventSystemFlags = m, y.nativeEvent = o, y.targetInst = c, y;
}
return { topLevelType: s, eventSystemFlags: m, nativeEvent: o, targetInst: c, ancestors: [] };
}
function Pd(s) {
var o = s.targetInst, c = o;
do {
if (!c) {
s.ancestors.push(c);
break;
}
var m = c;
if (m.tag === 3) m = m.stateNode.containerInfo;
else {
for (; m.return; ) m = m.return;
m = m.tag !== 3 ? null : m.stateNode.containerInfo;
}
if (!m) break;
o = c.tag, o !== 5 && o !== 6 || s.ancestors.push(c), c = mi(m);
} while (c);
for (c = 0; c < s.ancestors.length; c++) {
o = s.ancestors[c];
var y = Nl(s.nativeEvent);
m = s.topLevelType;
var C = s.nativeEvent, k = s.eventSystemFlags;
c === 0 && (k |= 64);
for (var z = null, W = 0; W < T.length; W++) {
var Z = T[W];
Z && (Z = Z.extractEvents(m, o, C, y, k)) && (z = ls(z, Z));
}
Co(z);
}
}
function Il(s, o, c) {
if (!c.has(s)) {
switch (s) {
case "scroll":
di(o, "scroll", !0);
break;
case "focus":
case "blur":
di(o, "focus", !0), di(o, "blur", !0), c.set("blur", null), c.set("focus", null);
break;
case "cancel":
case "close":
Cd(s) && di(o, s, !0);
break;
case "invalid":
case "submit":
case "reset":
break;
default:
ri.indexOf(s) === -1 && Ke(s, o);
}
c.set(s, null);
}
}
var _d, zl, Ld, Ol = !1, on = [], Yn = null, Un = null, Wn = null, ii = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(), ai = [], Bl = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "), T5 = "focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");
function H5(s, o) {
var c = Tl(o);
Bl.forEach(function(m) {
Il(m, o, c);
}), T5.forEach(function(m) {
Il(m, o, c);
});
}
function Dl(s, o, c, m, y) {
return { blockedOn: s, topLevelType: o, eventSystemFlags: c | 32, nativeEvent: y, container: m };
}
function Td(s, o) {
switch (s) {
case "focus":
case "blur":
Yn = null;
break;
case "dragenter":
case "dragleave":
Un = null;
break;
case "mouseover":
case "mouseout":
Wn = null;
break;
case "pointerover":
case "pointerout":
ii.delete(o.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
oi.delete(o.pointerId);
}
}
function li(s, o, c, m, y, C) {
return s === null || s.nativeEvent !== C ? (s = Dl(o, c, m, y, C), o !== null && (o = pi(o), o !== null && zl(o)), s) : (s.eventSystemFlags |= m, s);
}
function N5(s, o, c, m, y) {
switch (o) {
case "focus":
return Yn = li(Yn, s, o, c, m, y), !0;
case "dragenter":
return Un = li(Un, s, o, c, m, y), !0;
case "mouseover":
return Wn = li(Wn, s, o, c, m, y), !0;
case "pointerover":
var C = y.pointerId;
return ii.set(C, li(ii.get(C) || null, s, o, c, m, y)), !0;
case "gotpointercapture":
return C = y.pointerId, oi.set(C, li(oi.get(C) || null, s, o, c, m, y)), !0;
}
return !1;
}
function I5(s) {
var o = mi(s.target);
if (o !== null) {
var c = br(o);
if (c !== null) {
if (o = c.tag, o === 13) {
if (o = Sd(c), o !== null) {
s.blockedOn = o, t.unstable_runWithPriority(s.priority, function() {
Ld(c);
});
return;
}
} else if (o === 3 && c.stateNode.hydrate) {
s.blockedOn = c.tag === 3 ? c.stateNode.containerInfo : null;
return;
}
}
}
s.blockedOn = null;
}
function ko(s) {
if (s.blockedOn !== null) return !1;
var o = Fl(s.topLevelType, s.eventSystemFlags, s.container, s.nativeEvent);
if (o !== null) {
var c = pi(o);
return c !== null && zl(c), s.blockedOn = o, !1;
}
return !0;
}
function Hd(s, o, c) {
ko(s) && c.delete(o);
}
function z5() {
for (Ol = !1; 0 < on.length; ) {
var s = on[0];
if (s.blockedOn !== null) {
s = pi(s.blockedOn), s !== null && _d(s);
break;
}
var o = Fl(s.topLevelType, s.eventSystemFlags, s.container, s.nativeEvent);
o !== null ? s.blockedOn = o : on.shift();
}
Yn !== null && ko(Yn) && (Yn = null), Un !== null && ko(Un) && (Un = null), Wn !== null && ko(Wn) && (Wn = null), ii.forEach(Hd), oi.forEach(Hd);
}
function ci(s, o) {
s.blockedOn === o && (s.blockedOn = null, Ol || (Ol = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, z5)));
}
function Nd(s) {
function o(y) {
return ci(y, s);
}
if (0 < on.length) {
ci(on[0], s);
for (var c = 1; c < on.length; c++) {
var m = on[c];
m.blockedOn === s && (m.blockedOn = null);
}
}
for (Yn !== null && ci(Yn, s), Un !== null && ci(Un, s), Wn !== null && ci(Wn, s), ii.forEach(o), oi.forEach(o), c = 0; c < ai.length; c++) m = ai[c], m.blockedOn === s && (m.blockedOn = null);
for (; 0 < ai.length && (c = ai[0], c.blockedOn === null); ) I5(c), c.blockedOn === null && ai.shift();
}
var Id = {}, zd = /* @__PURE__ */ new Map(), Rl = /* @__PURE__ */ new Map(), O5 = [
"abort",
"abort",
gd,
"animationEnd",
yd,
"animationIteration",
vd,
"animationStart",
"canplay",
"canPlay",
"canplaythrough",
"canPlayThrough",
"durationchange",
"durationChange",
"emptied",
"emptied",
"encrypted",
"encrypted",
"ended",
"ended",
"error",
"error",
"gotpointercapture",
"gotPointerCapture",
"load",
"load",
"loadeddata",
"loadedData",
"loadedmetadata",
"loadedMetadata",
"loadstart",
"loadStart",
"lostpointercapture",
"lostPointerCapture",
"playing",
"playing",
"progress",
"progress",
"seeking",
"seeking",
"stalled",
"stalled",
"suspend",
"suspend",
"timeupdate",
"timeUpdate",
wd,
"transitionEnd",
"waiting",
"waiting"
];
function Al(s, o) {
for (var c = 0; c < s.length; c += 2) {
var m = s[c], y = s[c + 1], C = "on" + (y[0].toUpperCase() + y.slice(1));
C = { phasedRegistrationNames: { bubbled: C, captured: C + "Capture" }, dependencies: [m], eventPriority: o }, Rl.set(m, o), zd.set(m, C), Id[y] = C;
}
}
Al("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "), 0), Al("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "), 1), Al(O5, 2);
for (var Od = "change selectionchange textInput compositionstart compositionend compositionupdate".split(" "), Vl = 0; Vl < Od.length; Vl++) Rl.set(Od[Vl], 0);
var B5 = t.unstable_UserBlockingPriority, D5 = t.unstable_runWithPriority, Po = !0;
function Ke(s, o) {
di(o, s, !1);
}
function di(s, o, c) {
var m = Rl.get(o);
switch (m === void 0 ? 2 : m) {
case 0:
m = R5.bind(null, o, 1, s);
break;
case 1:
m = A5.bind(null, o, 1, s);
break;
default:
m = _o.bind(null, o, 1, s);
}
c ? s.addEventListener(o, m, !0) : s.addEventListener(o, m, !1);
}
function R5(s, o, c, m) {
le || ae();
var y = _o, C = le;
le = !0;
try {
J(y, s, o, c, m);
} finally {
(le = C) || Pe();
}
}
function A5(s, o, c, m) {
D