UNPKG

@mescius/dsimageviewer

Version:

Document Solutions Image Viewer

1,259 lines 6.79 MB
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; function getDefaultExportFromCjs(f) { return f && f.__esModule && Object.prototype.hasOwnProperty.call(f, "default") ? f.default : f; } function getAugmentedNamespace(f) { if (Object.prototype.hasOwnProperty.call(f, "__esModule")) return f; var a = f.default; if (typeof a == "function") { var h = function w() { var E = !1; try { E = this instanceof w; } catch { } return E ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments); }; h.prototype = a.prototype; } else h = {}; return Object.defineProperty(h, "__esModule", { value: !0 }), Object.keys(f).forEach(function(w) { var E = Object.getOwnPropertyDescriptor(f, w); Object.defineProperty(h, w, E.get ? E : { enumerable: !0, get: function() { return f[w]; } }); }), h; } var react = { exports: {} }, react_production_min = {}; var objectAssign, hasRequiredObjectAssign; function requireObjectAssign() { if (hasRequiredObjectAssign) return objectAssign; hasRequiredObjectAssign = 1; var f = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable; function w(I) { if (I == null) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(I); } function E() { try { if (!Object.assign) return !1; var I = new String("abc"); if (I[5] = "de", Object.getOwnPropertyNames(I)[0] === "5") return !1; for (var $ = {}, Z = 0; Z < 10; Z++) $["_" + String.fromCharCode(Z)] = Z; var t0 = Object.getOwnPropertyNames($).map(function(u0) { return $[u0]; }); if (t0.join("") !== "0123456789") return !1; var s0 = {}; return "abcdefghijklmnopqrst".split("").forEach(function(u0) { s0[u0] = u0; }), Object.keys(Object.assign({}, s0)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } return objectAssign = E() ? Object.assign : function(I, $) { for (var Z, t0 = w(I), s0, u0 = 1; u0 < arguments.length; u0++) { Z = Object(arguments[u0]); for (var g0 in Z) a.call(Z, g0) && (t0[g0] = Z[g0]); if (f) { s0 = f(Z); for (var o0 = 0; o0 < s0.length; o0++) h.call(Z, s0[o0]) && (t0[s0[o0]] = Z[s0[o0]]); } } return t0; }, objectAssign; } var hasRequiredReact_production_min; function requireReact_production_min() { if (hasRequiredReact_production_min) return react_production_min; hasRequiredReact_production_min = 1; var f = requireObjectAssign(), a = typeof Symbol == "function" && Symbol.for, h = a ? Symbol.for("react.element") : 60103, w = a ? Symbol.for("react.portal") : 60106, E = a ? Symbol.for("react.fragment") : 60107, I = a ? Symbol.for("react.strict_mode") : 60108, $ = a ? Symbol.for("react.profiler") : 60114, Z = a ? Symbol.for("react.provider") : 60109, t0 = a ? Symbol.for("react.context") : 60110, s0 = a ? Symbol.for("react.forward_ref") : 60112, u0 = a ? Symbol.for("react.suspense") : 60113, g0 = a ? Symbol.for("react.memo") : 60115, o0 = a ? Symbol.for("react.lazy") : 60116, x0 = typeof Symbol == "function" && Symbol.iterator; function S0(Ve) { for (var St = "https://reactjs.org/docs/error-decoder.html?invariant=" + Ve, fi = 1; fi < arguments.length; fi++) St += "&args[]=" + encodeURIComponent(arguments[fi]); return "Minified React error #" + Ve + "; visit " + St + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var F0 = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, I0 = {}; function W0(Ve, St, fi) { this.props = Ve, this.context = St, this.refs = I0, this.updater = fi || F0; } W0.prototype.isReactComponent = {}, W0.prototype.setState = function(Ve, St) { if (typeof Ve != "object" && typeof Ve != "function" && Ve != null) throw Error(S0(85)); this.updater.enqueueSetState(this, Ve, St, "setState"); }, W0.prototype.forceUpdate = function(Ve) { this.updater.enqueueForceUpdate(this, Ve, "forceUpdate"); }; function ae() { } ae.prototype = W0.prototype; function Ee(Ve, St, fi) { this.props = Ve, this.context = St, this.refs = I0, this.updater = fi || F0; } var le = Ee.prototype = new ae(); le.constructor = Ee, f(le, W0.prototype), le.isPureReactComponent = !0; var V0 = { current: null }, be = Object.prototype.hasOwnProperty, Y0 = { key: !0, ref: !0, __self: !0, __source: !0 }; function Q0(Ve, St, fi) { var to, io = {}, No = null, Po = null; if (St != null) for (to in St.ref !== void 0 && (Po = St.ref), St.key !== void 0 && (No = "" + St.key), St) be.call(St, to) && !Y0.hasOwnProperty(to) && (io[to] = St[to]); var ro = arguments.length - 2; if (ro === 1) io.children = fi; else if (1 < ro) { for (var bi = Array(ro), co = 0; co < ro; co++) bi[co] = arguments[co + 2]; io.children = bi; } if (Ve && Ve.defaultProps) for (to in ro = Ve.defaultProps, ro) io[to] === void 0 && (io[to] = ro[to]); return { $$typeof: h, type: Ve, key: No, ref: Po, props: io, _owner: V0.current }; } function pe(Ve, St) { return { $$typeof: h, type: Ve.type, key: St, ref: Ve.ref, props: Ve.props, _owner: Ve._owner }; } function je(Ve) { return typeof Ve == "object" && Ve !== null && Ve.$$typeof === h; } function We(Ve) { var St = { "=": "=0", ":": "=2" }; return "$" + ("" + Ve).replace(/[=:]/g, function(fi) { return St[fi]; }); } var Nt = /\/+/g, $t = []; function Ht(Ve, St, fi, to) { if ($t.length) { var io = $t.pop(); return io.result = Ve, io.keyPrefix = St, io.func = fi, io.context = to, io.count = 0, io; } return { result: Ve, keyPrefix: St, func: fi, context: to, count: 0 }; } function Zt(Ve) { Ve.result = null, Ve.keyPrefix = null, Ve.func = null, Ve.context = null, Ve.count = 0, 10 > $t.length && $t.push(Ve); } function li(Ve, St, fi, to) { var io = typeof Ve; (io === "undefined" || io === "boolean") && (Ve = null); var No = !1; if (Ve === null) No = !0; else switch (io) { case "string": case "number": No = !0; break; case "object": switch (Ve.$$typeof) { case h: case w: No = !0; } } if (No) return fi(to, Ve, St === "" ? "." + ti(Ve, 0) : St), 1; if (No = 0, St = St === "" ? "." : St + ":", Array.isArray(Ve)) for (var Po = 0; Po < Ve.length; Po++) { io = Ve[Po]; var ro = St + ti(io, Po); No += li(io, ro, fi, to); } else if (Ve === null || typeof Ve != "object" ? ro = null : (ro = x0 && Ve[x0] || Ve["@@iterator"], ro = typeof ro == "function" ? ro : null), typeof ro == "function") for (Ve = ro.call(Ve), Po = 0; !(io = Ve.next()).done; ) io = io.value, ro = St + ti(io, Po++), No += li(io, ro, fi, to); else if (io === "object") throw fi = "" + Ve, Error(S0(31, fi === "[object Object]" ? "object with keys {" + Object.keys(Ve).join(", ") + "}" : fi, "")); return No; } function Gt(Ve, St, fi) { return Ve == null ? 0 : li(Ve, "", St, fi); } function ti(Ve, St) { return typeof Ve == "object" && Ve !== null && Ve.key != null ? We(Ve.key) : St.toString(36); } function ot(Ve, St) { Ve.func.call(Ve.context, St, Ve.count++); } function Ke(Ve, St, fi) { var to = Ve.result, io = Ve.keyPrefix; Ve = Ve.func.call(Ve.context, St, Ve.count++), Array.isArray(Ve) ? Mt(Ve, to, fi, function(No) { return No; }) : Ve != null && (je(Ve) && (Ve = pe(Ve, io + (!Ve.key || St && St.key === Ve.key ? "" : ("" + Ve.key).replace(Nt, "$&/") + "/") + fi)), to.push(Ve)); } function Mt(Ve, St, fi, to, io) { var No = ""; fi != null && (No = ("" + fi).replace(Nt, "$&/") + "/"), St = Ht(St, No, to, io), Gt(Ve, Ke, St), Zt(St); } var Di = { current: null }; function zi() { var Ve = Di.current; if (Ve === null) throw Error(S0(321)); return Ve; } var Xt = { ReactCurrentDispatcher: Di, ReactCurrentBatchConfig: { suspense: null }, ReactCurrentOwner: V0, IsSomeRendererActing: { current: !1 }, assign: f }; return react_production_min.Children = { map: function(Ve, St, fi) { if (Ve == null) return Ve; var to = []; return Mt(Ve, to, null, St, fi), to; }, forEach: function(Ve, St, fi) { if (Ve == null) return Ve; St = Ht(null, null, St, fi), Gt(Ve, ot, St), Zt(St); }, count: function(Ve) { return Gt(Ve, function() { return null; }, null); }, toArray: function(Ve) { var St = []; return Mt(Ve, St, null, function(fi) { return fi; }), St; }, only: function(Ve) { if (!je(Ve)) throw Error(S0(143)); return Ve; } }, react_production_min.Component = W0, react_production_min.Fragment = E, react_production_min.Profiler = $, react_production_min.PureComponent = Ee, react_production_min.StrictMode = I, react_production_min.Suspense = u0, react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Xt, react_production_min.cloneElement = function(Ve, St, fi) { if (Ve == null) throw Error(S0(267, Ve)); var to = f({}, Ve.props), io = Ve.key, No = Ve.ref, Po = Ve._owner; if (St != null) { if (St.ref !== void 0 && (No = St.ref, Po = V0.current), St.key !== void 0 && (io = "" + St.key), Ve.type && Ve.type.defaultProps) var ro = Ve.type.defaultProps; for (bi in St) be.call(St, bi) && !Y0.hasOwnProperty(bi) && (to[bi] = St[bi] === void 0 && ro !== void 0 ? ro[bi] : St[bi]); } var bi = arguments.length - 2; if (bi === 1) to.children = fi; else if (1 < bi) { ro = Array(bi); for (var co = 0; co < bi; co++) ro[co] = arguments[co + 2]; to.children = ro; } return { $$typeof: h, type: Ve.type, key: io, ref: No, props: to, _owner: Po }; }, react_production_min.createContext = function(Ve, St) { return St === void 0 && (St = null), Ve = { $$typeof: t0, _calculateChangedBits: St, _currentValue: Ve, _currentValue2: Ve, _threadCount: 0, Provider: null, Consumer: null }, Ve.Provider = { $$typeof: Z, _context: Ve }, Ve.Consumer = Ve; }, react_production_min.createElement = Q0, react_production_min.createFactory = function(Ve) { var St = Q0.bind(null, Ve); return St.type = Ve, St; }, react_production_min.createRef = function() { return { current: null }; }, react_production_min.forwardRef = function(Ve) { return { $$typeof: s0, render: Ve }; }, react_production_min.isValidElement = je, react_production_min.lazy = function(Ve) { return { $$typeof: o0, _ctor: Ve, _status: -1, _result: null }; }, react_production_min.memo = function(Ve, St) { return { $$typeof: g0, type: Ve, compare: St === void 0 ? null : St }; }, react_production_min.useCallback = function(Ve, St) { return zi().useCallback(Ve, St); }, react_production_min.useContext = function(Ve, St) { return zi().useContext(Ve, St); }, react_production_min.useDebugValue = function() { }, react_production_min.useEffect = function(Ve, St) { return zi().useEffect(Ve, St); }, react_production_min.useImperativeHandle = function(Ve, St, fi) { return zi().useImperativeHandle(Ve, St, fi); }, react_production_min.useLayoutEffect = function(Ve, St) { return zi().useLayoutEffect(Ve, St); }, react_production_min.useMemo = function(Ve, St) { return zi().useMemo(Ve, St); }, react_production_min.useReducer = function(Ve, St, fi) { return zi().useReducer(Ve, St, fi); }, react_production_min.useRef = function(Ve) { return zi().useRef(Ve); }, react_production_min.useState = function(Ve) { return zi().useState(Ve); }, react_production_min.version = "16.14.0", react_production_min; } var hasRequiredReact; function requireReact() { return hasRequiredReact || (hasRequiredReact = 1, react.exports = requireReact_production_min()), react.exports; } var reactExports = requireReact(); const React = /* @__PURE__ */ getDefaultExportFromCjs(reactExports); var reactDom = { exports: {} }, reactDom_production_min = {}, scheduler = { exports: {} }, scheduler_production_min = {}; var hasRequiredScheduler_production_min; function requireScheduler_production_min() { return hasRequiredScheduler_production_min || (hasRequiredScheduler_production_min = 1, (function(f) { var a, h, w, E, I; if (typeof window > "u" || typeof MessageChannel != "function") { var $ = null, Z = null, t0 = function() { if ($ !== null) try { var Xt = f.unstable_now(); $(!0, Xt), $ = null; } catch (Ve) { throw setTimeout(t0, 0), Ve; } }, s0 = Date.now(); f.unstable_now = function() { return Date.now() - s0; }, a = function(Xt) { $ !== null ? setTimeout(a, 0, Xt) : ($ = Xt, setTimeout(t0, 0)); }, h = function(Xt, Ve) { Z = setTimeout(Xt, Ve); }, w = function() { clearTimeout(Z); }, E = function() { return !1; }, I = f.unstable_forceFrameRate = function() { }; } else { var u0 = window.performance, g0 = window.Date, o0 = window.setTimeout, x0 = window.clearTimeout; if (typeof console < "u") { var S0 = 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 S0 != "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 u0 == "object" && typeof u0.now == "function") f.unstable_now = function() { return u0.now(); }; else { var F0 = g0.now(); f.unstable_now = function() { return g0.now() - F0; }; } var I0 = !1, W0 = null, ae = -1, Ee = 5, le = 0; E = function() { return f.unstable_now() >= le; }, I = function() { }, f.unstable_forceFrameRate = function(Xt) { 0 > Xt || 125 < Xt ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported") : Ee = 0 < Xt ? Math.floor(1e3 / Xt) : 5; }; var V0 = new MessageChannel(), be = V0.port2; V0.port1.onmessage = function() { if (W0 !== null) { var Xt = f.unstable_now(); le = Xt + Ee; try { W0(!0, Xt) ? be.postMessage(null) : (I0 = !1, W0 = null); } catch (Ve) { throw be.postMessage(null), Ve; } } else I0 = !1; }, a = function(Xt) { W0 = Xt, I0 || (I0 = !0, be.postMessage(null)); }, h = function(Xt, Ve) { ae = o0(function() { Xt(f.unstable_now()); }, Ve); }, w = function() { x0(ae), ae = -1; }; } function Y0(Xt, Ve) { var St = Xt.length; Xt.push(Ve); e: for (; ; ) { var fi = St - 1 >>> 1, to = Xt[fi]; if (to !== void 0 && 0 < je(to, Ve)) Xt[fi] = Ve, Xt[St] = to, St = fi; else break e; } } function Q0(Xt) { return Xt = Xt[0], Xt === void 0 ? null : Xt; } function pe(Xt) { var Ve = Xt[0]; if (Ve !== void 0) { var St = Xt.pop(); if (St !== Ve) { Xt[0] = St; e: for (var fi = 0, to = Xt.length; fi < to; ) { var io = 2 * (fi + 1) - 1, No = Xt[io], Po = io + 1, ro = Xt[Po]; if (No !== void 0 && 0 > je(No, St)) ro !== void 0 && 0 > je(ro, No) ? (Xt[fi] = ro, Xt[Po] = St, fi = Po) : (Xt[fi] = No, Xt[io] = St, fi = io); else if (ro !== void 0 && 0 > je(ro, St)) Xt[fi] = ro, Xt[Po] = St, fi = Po; else break e; } } return Ve; } return null; } function je(Xt, Ve) { var St = Xt.sortIndex - Ve.sortIndex; return St !== 0 ? St : Xt.id - Ve.id; } var We = [], Nt = [], $t = 1, Ht = null, Zt = 3, li = !1, Gt = !1, ti = !1; function ot(Xt) { for (var Ve = Q0(Nt); Ve !== null; ) { if (Ve.callback === null) pe(Nt); else if (Ve.startTime <= Xt) pe(Nt), Ve.sortIndex = Ve.expirationTime, Y0(We, Ve); else break; Ve = Q0(Nt); } } function Ke(Xt) { if (ti = !1, ot(Xt), !Gt) if (Q0(We) !== null) Gt = !0, a(Mt); else { var Ve = Q0(Nt); Ve !== null && h(Ke, Ve.startTime - Xt); } } function Mt(Xt, Ve) { Gt = !1, ti && (ti = !1, w()), li = !0; var St = Zt; try { for (ot(Ve), Ht = Q0(We); Ht !== null && (!(Ht.expirationTime > Ve) || Xt && !E()); ) { var fi = Ht.callback; if (fi !== null) { Ht.callback = null, Zt = Ht.priorityLevel; var to = fi(Ht.expirationTime <= Ve); Ve = f.unstable_now(), typeof to == "function" ? Ht.callback = to : Ht === Q0(We) && pe(We), ot(Ve); } else pe(We); Ht = Q0(We); } if (Ht !== null) var io = !0; else { var No = Q0(Nt); No !== null && h(Ke, No.startTime - Ve), io = !1; } return io; } finally { Ht = null, Zt = St, li = !1; } } function Di(Xt) { switch (Xt) { case 1: return -1; case 2: return 250; case 5: return 1073741823; case 4: return 1e4; default: return 5e3; } } var zi = I; f.unstable_IdlePriority = 5, f.unstable_ImmediatePriority = 1, f.unstable_LowPriority = 4, f.unstable_NormalPriority = 3, f.unstable_Profiling = null, f.unstable_UserBlockingPriority = 2, f.unstable_cancelCallback = function(Xt) { Xt.callback = null; }, f.unstable_continueExecution = function() { Gt || li || (Gt = !0, a(Mt)); }, f.unstable_getCurrentPriorityLevel = function() { return Zt; }, f.unstable_getFirstCallbackNode = function() { return Q0(We); }, f.unstable_next = function(Xt) { switch (Zt) { case 1: case 2: case 3: var Ve = 3; break; default: Ve = Zt; } var St = Zt; Zt = Ve; try { return Xt(); } finally { Zt = St; } }, f.unstable_pauseExecution = function() { }, f.unstable_requestPaint = zi, f.unstable_runWithPriority = function(Xt, Ve) { switch (Xt) { case 1: case 2: case 3: case 4: case 5: break; default: Xt = 3; } var St = Zt; Zt = Xt; try { return Ve(); } finally { Zt = St; } }, f.unstable_scheduleCallback = function(Xt, Ve, St) { var fi = f.unstable_now(); if (typeof St == "object" && St !== null) { var to = St.delay; to = typeof to == "number" && 0 < to ? fi + to : fi, St = typeof St.timeout == "number" ? St.timeout : Di(Xt); } else St = Di(Xt), to = fi; return St = to + St, Xt = { id: $t++, callback: Ve, priorityLevel: Xt, startTime: to, expirationTime: St, sortIndex: -1 }, to > fi ? (Xt.sortIndex = to, Y0(Nt, Xt), Q0(We) === null && Xt === Q0(Nt) && (ti ? w() : ti = !0, h(Ke, to - fi))) : (Xt.sortIndex = St, Y0(We, Xt), Gt || li || (Gt = !0, a(Mt))), Xt; }, f.unstable_shouldYield = function() { var Xt = f.unstable_now(); ot(Xt); var Ve = Q0(We); return Ve !== Ht && Ht !== null && Ve !== null && Ve.callback !== null && Ve.startTime <= Xt && Ve.expirationTime < Ht.expirationTime || E(); }, f.unstable_wrapCallback = function(Xt) { var Ve = Zt; return function() { var St = Zt; Zt = Ve; try { return Xt.apply(this, arguments); } finally { Zt = St; } }; }; })(scheduler_production_min)), scheduler_production_min; } var hasRequiredScheduler; function requireScheduler() { return hasRequiredScheduler || (hasRequiredScheduler = 1, scheduler.exports = requireScheduler_production_min()), scheduler.exports; } var hasRequiredReactDom_production_min; function requireReactDom_production_min() { if (hasRequiredReactDom_production_min) return reactDom_production_min; hasRequiredReactDom_production_min = 1; var f = requireReact(), a = requireObjectAssign(), h = requireScheduler(); function w(L) { for (var B = "https://reactjs.org/docs/error-decoder.html?invariant=" + L, q = 1; q < arguments.length; q++) B += "&args[]=" + encodeURIComponent(arguments[q]); return "Minified React error #" + L + "; visit " + B + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } if (!f) throw Error(w(227)); function E(L, B, q, l0, h0, q0, X0, Ae, zt) { var It = Array.prototype.slice.call(arguments, 3); try { B.apply(q, It); } catch (Pi) { this.onError(Pi); } } var I = !1, $ = null, Z = !1, t0 = null, s0 = { onError: function(L) { I = !0, $ = L; } }; function u0(L, B, q, l0, h0, q0, X0, Ae, zt) { I = !1, $ = null, E.apply(s0, arguments); } function g0(L, B, q, l0, h0, q0, X0, Ae, zt) { if (u0.apply(this, arguments), I) { if (I) { var It = $; I = !1, $ = null; } else throw Error(w(198)); Z || (Z = !0, t0 = It); } } var o0 = null, x0 = null, S0 = null; function F0(L, B, q) { var l0 = L.type || "unknown-event"; L.currentTarget = S0(q), g0(l0, B, void 0, L), L.currentTarget = null; } var I0 = null, W0 = {}; function ae() { if (I0) for (var L in W0) { var B = W0[L], q = I0.indexOf(L); if (!(-1 < q)) throw Error(w(96, L)); if (!le[q]) { if (!B.extractEvents) throw Error(w(97, L)); le[q] = B, q = B.eventTypes; for (var l0 in q) { var h0 = void 0, q0 = q[l0], X0 = B, Ae = l0; if (V0.hasOwnProperty(Ae)) throw Error(w(99, Ae)); V0[Ae] = q0; var zt = q0.phasedRegistrationNames; if (zt) { for (h0 in zt) zt.hasOwnProperty(h0) && Ee(zt[h0], X0, Ae); h0 = !0; } else q0.registrationName ? (Ee(q0.registrationName, X0, Ae), h0 = !0) : h0 = !1; if (!h0) throw Error(w(98, l0, L)); } } } } function Ee(L, B, q) { if (be[L]) throw Error(w(100, L)); be[L] = B, Y0[L] = B.eventTypes[q].dependencies; } var le = [], V0 = {}, be = {}, Y0 = {}; function Q0(L) { var B = !1, q; for (q in L) if (L.hasOwnProperty(q)) { var l0 = L[q]; if (!W0.hasOwnProperty(q) || W0[q] !== l0) { if (W0[q]) throw Error(w(102, q)); W0[q] = l0, B = !0; } } B && ae(); } var pe = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), je = null, We = null, Nt = null; function $t(L) { if (L = x0(L)) { if (typeof je != "function") throw Error(w(280)); var B = L.stateNode; B && (B = o0(B), je(L.stateNode, L.type, B)); } } function Ht(L) { We ? Nt ? Nt.push(L) : Nt = [L] : We = L; } function Zt() { if (We) { var L = We, B = Nt; if (Nt = We = null, $t(L), B) for (L = 0; L < B.length; L++) $t(B[L]); } } function li(L, B) { return L(B); } function Gt(L, B, q, l0, h0) { return L(B, q, l0, h0); } function ti() { } var ot = li, Ke = !1, Mt = !1; function Di() { (We !== null || Nt !== null) && (ti(), Zt()); } function zi(L, B, q) { if (Mt) return L(B, q); Mt = !0; try { return ot(L, B, q); } finally { Mt = !1, Di(); } } var Xt = /^[: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]*$/, Ve = Object.prototype.hasOwnProperty, St = {}, fi = {}; function to(L) { return Ve.call(fi, L) ? !0 : Ve.call(St, L) ? !1 : Xt.test(L) ? fi[L] = !0 : (St[L] = !0, !1); } function io(L, B, q, l0) { if (q !== null && q.type === 0) return !1; switch (typeof B) { case "function": case "symbol": return !0; case "boolean": return l0 ? !1 : q !== null ? !q.acceptsBooleans : (L = L.toLowerCase().slice(0, 5), L !== "data-" && L !== "aria-"); default: return !1; } } function No(L, B, q, l0) { if (B === null || typeof B > "u" || io(L, B, q, l0)) return !0; if (l0) return !1; if (q !== null) switch (q.type) { case 3: return !B; case 4: return B === !1; case 5: return isNaN(B); case 6: return isNaN(B) || 1 > B; } return !1; } function Po(L, B, q, l0, h0, q0) { this.acceptsBooleans = B === 2 || B === 3 || B === 4, this.attributeName = l0, this.attributeNamespace = h0, this.mustUseProperty = q, this.propertyName = L, this.type = B, this.sanitizeURL = q0; } var ro = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(L) { ro[L] = new Po(L, 0, !1, L, null, !1); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(L) { var B = L[0]; ro[B] = new Po(B, 1, !1, L[1], null, !1); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(L) { ro[L] = new Po(L, 2, !1, L.toLowerCase(), null, !1); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(L) { ro[L] = new Po(L, 2, !1, L, 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(L) { ro[L] = new Po(L, 3, !1, L.toLowerCase(), null, !1); }), ["checked", "multiple", "muted", "selected"].forEach(function(L) { ro[L] = new Po(L, 3, !0, L, null, !1); }), ["capture", "download"].forEach(function(L) { ro[L] = new Po(L, 4, !1, L, null, !1); }), ["cols", "rows", "size", "span"].forEach(function(L) { ro[L] = new Po(L, 6, !1, L, null, !1); }), ["rowSpan", "start"].forEach(function(L) { ro[L] = new Po(L, 5, !1, L.toLowerCase(), null, !1); }); var bi = /[\-:]([a-z])/g; function co(L) { return L[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(L) { var B = L.replace( bi, co ); ro[B] = new Po(B, 1, !1, L, null, !1); }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(L) { var B = L.replace(bi, co); ro[B] = new Po(B, 1, !1, L, "http://www.w3.org/1999/xlink", !1); }), ["xml:base", "xml:lang", "xml:space"].forEach(function(L) { var B = L.replace(bi, co); ro[B] = new Po(B, 1, !1, L, "http://www.w3.org/XML/1998/namespace", !1); }), ["tabIndex", "crossOrigin"].forEach(function(L) { ro[L] = new Po(L, 1, !1, L.toLowerCase(), null, !1); }), ro.xlinkHref = new Po("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0), ["src", "href", "action", "formAction"].forEach(function(L) { ro[L] = new Po(L, 1, !1, L.toLowerCase(), null, !0); }); var gn = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; gn.hasOwnProperty("ReactCurrentDispatcher") || (gn.ReactCurrentDispatcher = { current: null }), gn.hasOwnProperty("ReactCurrentBatchConfig") || (gn.ReactCurrentBatchConfig = { suspense: null }); function Qt(L, B, q, l0) { var h0 = ro.hasOwnProperty(B) ? ro[B] : null, q0 = h0 !== null ? h0.type === 0 : l0 ? !1 : !(!(2 < B.length) || B[0] !== "o" && B[0] !== "O" || B[1] !== "n" && B[1] !== "N"); q0 || (No(B, q, h0, l0) && (q = null), l0 || h0 === null ? to(B) && (q === null ? L.removeAttribute(B) : L.setAttribute(B, "" + q)) : h0.mustUseProperty ? L[h0.propertyName] = q === null ? h0.type === 3 ? !1 : "" : q : (B = h0.attributeName, l0 = h0.attributeNamespace, q === null ? L.removeAttribute(B) : (h0 = h0.type, q = h0 === 3 || h0 === 4 && q === !0 ? "" : "" + q, l0 ? L.setAttributeNS(l0, B, q) : L.setAttribute(B, q)))); } var Be = /^(.*)[\\\/]/, Lr = typeof Symbol == "function" && Symbol.for, Dr = Lr ? Symbol.for("react.element") : 60103, xi = Lr ? Symbol.for("react.portal") : 60106, ua = Lr ? Symbol.for("react.fragment") : 60107, _n = Lr ? Symbol.for("react.strict_mode") : 60108, Xc = Lr ? Symbol.for("react.profiler") : 60114, ea = Lr ? Symbol.for("react.provider") : 60109, Jc = Lr ? Symbol.for("react.context") : 60110, hs = Lr ? Symbol.for("react.concurrent_mode") : 60111, Tr = Lr ? Symbol.for("react.forward_ref") : 60112, An = Lr ? Symbol.for("react.suspense") : 60113, ya = Lr ? Symbol.for("react.suspense_list") : 60120, v1 = Lr ? Symbol.for("react.memo") : 60115, Us = Lr ? Symbol.for("react.lazy") : 60116, bs = Lr ? Symbol.for("react.block") : 60121, jr = typeof Symbol == "function" && Symbol.iterator; function Kr(L) { return L === null || typeof L != "object" ? null : (L = jr && L[jr] || L["@@iterator"], typeof L == "function" ? L : null); } function _1(L) { if (L._status === -1) { L._status = 0; var B = L._ctor; B = B(), L._result = B, B.then(function(q) { L._status === 0 && (q = q.default, L._status = 1, L._result = q); }, function(q) { L._status === 0 && (L._status = 2, L._result = q); }); } } function kc(L) { if (L == null) return null; if (typeof L == "function") return L.displayName || L.name || null; if (typeof L == "string") return L; switch (L) { case ua: return "Fragment"; case xi: return "Portal"; case Xc: return "Profiler"; case _n: return "StrictMode"; case An: return "Suspense"; case ya: return "SuspenseList"; } if (typeof L == "object") switch (L.$$typeof) { case Jc: return "Context.Consumer"; case ea: return "Context.Provider"; case Tr: var B = L.render; return B = B.displayName || B.name || "", L.displayName || (B !== "" ? "ForwardRef(" + B + ")" : "ForwardRef"); case v1: return kc(L.type); case bs: return kc(L.render); case Us: if (L = L._status === 1 ? L._result : null) return kc(L); } return null; } function Nl(L) { var B = ""; do { e: switch (L.tag) { case 3: case 4: case 6: case 7: case 10: case 9: var q = ""; break e; default: var l0 = L._debugOwner, h0 = L._debugSource, q0 = kc(L.type); q = null, l0 && (q = kc(l0.type)), l0 = q0, q0 = "", h0 ? q0 = " (at " + h0.fileName.replace(Be, "") + ":" + h0.lineNumber + ")" : q && (q0 = " (created by " + q + ")"), q = ` in ` + (l0 || "Unknown") + q0; } B += q, L = L.return; } while (L); return B; } function Qc(L) { switch (typeof L) { case "boolean": case "number": case "object": case "string": case "undefined": return L; default: return ""; } } function V2(L) { var B = L.type; return (L = L.nodeName) && L.toLowerCase() === "input" && (B === "checkbox" || B === "radio"); } function Hd(L) { var B = V2(L) ? "checked" : "value", q = Object.getOwnPropertyDescriptor(L.constructor.prototype, B), l0 = "" + L[B]; if (!L.hasOwnProperty(B) && typeof q < "u" && typeof q.get == "function" && typeof q.set == "function") { var h0 = q.get, q0 = q.set; return Object.defineProperty(L, B, { configurable: !0, get: function() { return h0.call(this); }, set: function(X0) { l0 = "" + X0, q0.call(this, X0); } }), Object.defineProperty(L, B, { enumerable: q.enumerable }), { getValue: function() { return l0; }, setValue: function(X0) { l0 = "" + X0; }, stopTracking: function() { L._valueTracker = null, delete L[B]; } }; } } function Gs(L) { L._valueTracker || (L._valueTracker = Hd(L)); } function Bl(L) { if (!L) return !1; var B = L._valueTracker; if (!B) return !0; var q = B.getValue(), l0 = ""; return L && (l0 = V2(L) ? L.checked ? "true" : "false" : L.value), L = l0, L !== q ? (B.setValue(L), !0) : !1; } function Ol(L, B) { var q = B.checked; return a({}, B, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: q ?? L._wrapperState.initialChecked }); } function Nd(L, B) { var q = B.defaultValue == null ? "" : B.defaultValue, l0 = B.checked != null ? B.checked : B.defaultChecked; q = Qc(B.value != null ? B.value : q), L._wrapperState = { initialChecked: l0, initialValue: q, controlled: B.type === "checkbox" || B.type === "radio" ? B.checked != null : B.value != null }; } function $l(L, B) { B = B.checked, B != null && Qt(L, "checked", B, !1); } function Vl(L, B) { $l(L, B); var q = Qc(B.value), l0 = B.type; if (q != null) l0 === "number" ? (q === 0 && L.value === "" || L.value != q) && (L.value = "" + q) : L.value !== "" + q && (L.value = "" + q); else if (l0 === "submit" || l0 === "reset") { L.removeAttribute("value"); return; } B.hasOwnProperty("value") ? On(L, B.type, q) : B.hasOwnProperty("defaultValue") && On(L, B.type, Qc(B.defaultValue)), B.checked == null && B.defaultChecked != null && (L.defaultChecked = !!B.defaultChecked); } function ln(L, B, q) { if (B.hasOwnProperty("value") || B.hasOwnProperty("defaultValue")) { var l0 = B.type; if (!(l0 !== "submit" && l0 !== "reset" || B.value !== void 0 && B.value !== null)) return; B = "" + L._wrapperState.initialValue, q || B === L.value || (L.value = B), L.defaultValue = B; } q = L.name, q !== "" && (L.name = ""), L.defaultChecked = !!L._wrapperState.initialChecked, q !== "" && (L.name = q); } function On(L, B, q) { (B !== "number" || L.ownerDocument.activeElement !== L) && (q == null ? L.defaultValue = "" + L._wrapperState.initialValue : L.defaultValue !== "" + q && (L.defaultValue = "" + q)); } function Bd(L) { var B = ""; return f.Children.forEach(L, function(q) { q != null && (B += q); }), B; } function Ws(L, B) { return L = a({ children: void 0 }, B), (B = Bd(B.children)) && (L.children = B), L; } function Y1(L, B, q, l0) { if (L = L.options, B) { B = {}; for (var h0 = 0; h0 < q.length; h0++) B["$" + q[h0]] = !0; for (q = 0; q < L.length; q++) h0 = B.hasOwnProperty("$" + L[q].value), L[q].selected !== h0 && (L[q].selected = h0), h0 && l0 && (L[q].defaultSelected = !0); } else { for (q = "" + Qc(q), B = null, h0 = 0; h0 < L.length; h0++) { if (L[h0].value === q) { L[h0].selected = !0, l0 && (L[h0].defaultSelected = !0); return; } B !== null || L[h0].disabled || (B = L[h0]); } B !== null && (B.selected = !0); } } function jl(L, B) { if (B.dangerouslySetInnerHTML != null) throw Error(w(91)); return a({}, B, { value: void 0, defaultValue: void 0, children: "" + L._wrapperState.initialValue }); } function w1(L, B) { var q = B.value; if (q == null) { if (q = B.children, B = B.defaultValue, q != null) { if (B != null) throw Error(w(92)); if (Array.isArray(q)) { if (!(1 >= q.length)) throw Error(w(93)); q = q[0]; } B = q; } B == null && (B = ""), q = B; } L._wrapperState = { initialValue: Qc(q) }; } function un(L, B) { var q = Qc(B.value), l0 = Qc(B.defaultValue); q != null && (q = "" + q, q !== L.value && (L.value = q), B.defaultValue == null && L.defaultValue !== q && (L.defaultValue = q)), l0 != null && (L.defaultValue = "" + l0); } function j2(L) { var B = L.textContent; B === L._wrapperState.initialValue && B !== "" && B !== null && (L.value = B); } var U2 = { html: "http://www.w3.org/1999/xhtml", svg: "http://www.w3.org/2000/svg" }; function vs(L) { switch (L) { 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 Ua(L, B) { return L == null || L === "http://www.w3.org/1999/xhtml" ? vs(B) : L === "http://www.w3.org/2000/svg" && B === "foreignObject" ? "http://www.w3.org/1999/xhtml" : L; } var x1, Ul = (function(L) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(B, q, l0, h0) { MSApp.execUnsafeLocalFunction(function() { return L(B, q, l0, h0); }); } : L; })(function(L, B) { if (L.namespaceURI !== U2.svg || "innerHTML" in L) L.innerHTML = B; else { for (x1 = x1 || document.createElement("div"), x1.innerHTML = "<svg>" + B.valueOf().toString() + "</svg>", B = x1.firstChild; L.firstChild; ) L.removeChild(L.firstChild); for (; B.firstChild; ) L.appendChild(B.firstChild); } }); function Z1(L, B) { if (B) { var q = L.firstChild; if (q && q === L.lastChild && q.nodeType === 3) { q.nodeValue = B; return; } } L.textContent = B; } function y1(L, B) { var q = {}; return q[L.toLowerCase()] = B.toLowerCase(), q["Webkit" + L] = "webkit" + B, q["Moz" + L] = "moz" + B, q; } var Ec = { animationend: y1("Animation", "AnimationEnd"), animationiteration: y1("Animation", "AnimationIteration"), animationstart: y1("Animation", "AnimationStart"), transitionend: y1("Transition", "TransitionEnd") }, qs = {}, Ys = {}; pe && (Ys = document.createElement("div").style, "AnimationEvent" in window || (delete Ec.animationend.animation, delete Ec.animationiteration.animation, delete Ec.animationstart.animation), "TransitionEvent" in window || delete Ec.transitionend.transition); function Zs(L) { if (qs[L]) return qs[L]; if (!Ec[L]) return L; var B = Ec[L], q; for (q in B) if (B.hasOwnProperty(q) && q in Ys) return qs[L] = B[q]; return L; } var Ks = Zs("animationend"), $d = Zs("animationiteration"), G2 = Zs("animationstart"), Gl = Zs("transitionend"), Xs = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), _s = new (typeof WeakMap == "function" ? WeakMap : Map)(); function Wl(L) { var B = _s.get(L); return B === void 0 && (B = /* @__PURE__ */ new Map(), _s.set(L, B)), B; } function k1(L) { var B = L, q = L; if (L.alternate) for (; B.return; ) B = B.return; else { L = B; do B = L, (B.effectTag & 1026) !== 0 && (q = B.return), L = B.return; while (L); } return B.tag === 3 ? q : null; } function W2(L) { if (L.tag === 13) { var B = L.memoizedState; if (B === null && (L = L.alternate, L !== null && (B = L.memoizedState)), B !== null) return B.dehydrated; } return null; } function q2(L) { if (k1(L) !== L) throw Error(w(188)); } function Vd(L) { var B = L.alternate; if (!B) { if (B = k1(L), B === null) throw Error(w(188)); return B !== L ? null : L; } for (var q = L, l0 = B; ; ) { var h0 = q.return; if (h0 === null) break; var q0 = h0.alternate; if (q0 === null) { if (l0 = h0.return, l0 !== null) { q = l0; continue; } break; } if (h0.child === q0.child) { for (q0 = h0.child; q0; ) { if (q0 === q) return q2(h0), L; if (q0 === l0) return q2(h0), B; q0 = q0.sibling; } throw Error(w(188)); } if (q.return !== l0.return) q = h0, l0 = q0; else { for (var X0 = !1, Ae = h0.child; Ae; ) { if (Ae === q) { X0 = !0, q = h0, l0 = q0; break; } if (Ae === l0) { X0 = !0, l0 = h0, q = q0; break; } Ae = Ae.sibling; } if (!X0) { for (Ae = q0.child; Ae; ) { if (Ae === q) { X0 = !0, q = q0, l0 = h0; break; } if (Ae === l0) { X0 = !0, l0 = q0, q = h0; break; } Ae = Ae.sibling; } if (!X0) throw Error(w(189)); } } if (q.alternate !== l0) throw Error(w(190)); } if (q.tag !== 3) throw Error(w(188)); return q.stateNode.current === q ? L : B; } function ql(L) { if (L = Vd(L), !L) return null; for (var B = L; ; ) { if (B.tag === 5 || B.tag === 6) return B; if (B.child) B.child.return = B, B = B.child; else { if (B === L) break; for (; !B.sibling; ) { if (!B.return || B.return === L) return null; B = B.return; } B.sibling.return = B.return, B = B.sibling; } } return null; } function Gi(L, B) { if (B == null) throw Error(w(30)); return L == null ? B : Array.isArray(L) ? Array.isArray(B) ? (L.push.apply(L, B), L) : (L.push(B), L) : Array.isArray(B) ? [L].concat(B) : [L, B]; } function E1(L, B, q) { Array.isArray(L) ? L.forEach(B, q) : L && B.call(q, L); } var Ta = null; function jd(L) { if (L) { var B = L._dispatchListeners, q = L._dispatchInstances; if (Array.isArray(B)) for (var l0 = 0; l0 < B.length && !L.isPropagationStopped(); l0++) F0(L, B[l0], q[l0]); else B && F0(L, B, q); L._dispatchListeners = null, L._dispatchInstances = null, L.isPersistent() || L.constructor.release(L); } } function Mc(L) { if (L !== null && (Ta = Gi(Ta, L)), L = Ta, Ta = null, L) { if (E1(L, jd), Ta) throw Error(w(95)); if (Z) throw L = t0, Z = !1, t0 = null, L; } } function Js(L) { return L = L.target || L.srcElement || window, L.correspondingUseElement && (L = L.correspondingUseElement), L.nodeType === 3 ? L.parentNode : L; } function Y2(L) { if (!pe) return !1; L = "on" + L; var B = L in document; return B || (B = document.createElement("div"), B.setAttribute(L, "return;"), B = typeof B[L] == "function"), B; } var Pr = []; function Z2(L) { L.topLevelType = null, L.nativeEvent = null, L.targetInst = null, L.ancestors.length = 0, 10 > Pr.length && Pr.push(L); } function Yl(L, B, q, l0) { if (Pr.length) { var h0 = Pr.pop(); return h0.topLevelType = L, h0.eventSystemFlags = l0, h0.nativeEvent = B, h0.targetInst = q, h0; } return { topLevelType: L, eventSystemFlags: l0, nativeEvent: B, targetInst: q, ancestors: [] }; } function K2(L) { var B = L.targetInst, q = B; do { if (!q) { L.ancestors.push(q); break; } var l0 = q; if (l0.tag === 3) l0 = l0.stateNode.containerInfo; else { for (; l0.return; ) l0 = l0.return; l0 = l0.tag !== 3 ? null : l0.stateNode.containerInfo; } if (!l0) break; B = q.tag, B !== 5 && B !== 6 || L.ancestors.push(q), q = Q1(l0); } while (q); for (q = 0; q < L.ancestors.length; q++) { B = L.ancestors[q]; var h0 = Js(L.nativeEvent); l0 = L.topLevelType; var q0 = L.nativeEvent, X0 = L.eventSystemFlags; q === 0 && (X0 |= 64); for (var Ae = null, zt = 0; zt < le.length; zt++) { var It = le[zt]; It && (It = It.extractEvents(l0, B, q0, h0, X0)) && (Ae = Gi(Ae, It)); } Mc(Ae); } } function ws(L, B, q) { if (!q.has(L)) { switch (L) { case "scroll": zs(B, "scroll", !0); break; case "focus": case "blur": zs(B, "focus", !0), zs(B, "blur", !0), q.set("blur", null), q.set("focus", null); break; case "cancel": case "close": Y2(L) && zs(B, L, !0); break; case "invalid": case "submit": case "reset": break; default: Xs.indexOf(L) === -1 && Fr(L, B); } q.set(L, null); } } var X2, xs, Zl, Kl = !1, gc = [], e1 = null, t1 = null, i1 = null, ys = /* @__PURE__ */ new Map(), K1 = /* @__PURE__ */ new Map(), X1 = [], Xl = "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(" "), Qs = "focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" "); function el(L, B) { var q = Wl(B); Xl.forEach(function(l0) { ws(l0, B, q); }), Qs.forEach(function(l0) { ws(l0, B, q); }); } function tl(L, B, q, l0, h0) { return { blockedOn: L, topLevelType: B, eventSystemFlags: q | 32, nativeEvent: h0, container: l0 }; } function J2(L, B) { switch (L) { case "focus": case "blur": e1 = null; break; case "dragenter": case "dragleave": t1 = null; break; case "mouseover": case "mouseout": i1 = null; break; case "pointerover": case "pointerout": ys.delete(B.pointerId); break; case "gotpointercapture": case "lostpointercapture": K1.delete(B.pointerId); } } function ks(L, B, q, l0, h0, q0) { return L === null || L.nativeEvent !== q0 ? (L = tl(B, q, l0, h0, q0), B !== null && (B = ka(B), B !== null && xs(B)), L) : (L.eventSystemFlags |= l0, L); } function il(L, B, q, l0, h0) { switch (B) { case "focus": return e1 = ks(e1, L, B, q, l0, h0), !0; case "dragenter": return t1 = ks(t1, L, B, q, l0, h0), !0; case "mouseover": return i1 = ks(i1, L, B, q, l0, h0), !0; case "pointerover": var q0 = h0.pointerId; return ys.set(q0, ks(ys.get(q0) || null, L, B, q, l0, h0)), !0; case "gotpointercapture": return q0 = h0.pointerId, K1.set(q0, ks(K1.get(q0) || null, L, B, q, l0, h0)), !0; } return !1; } function tr(L) { var B = Q1(L.target); if (B !== null) { var q = k1(B); if (q !== null) { if (B = q.tag, B === 13) { if (B = W2(q), B !== null) { L.blockedOn = B, h.unstable_runWithPriority(L.priority, function() { Zl(q); }); return; } } else if (B === 3 && q.stateNode.hydrate) { L.blockedOn = q.tag === 3 ? q.stateNode.containerInfo : null; return; } } } L.blockedOn = null; } function Es(L) { if (L.blockedOn !== null) return !1; var B = id(L.topLevelType, L.eventSystemFlags, L.container, L.nativeEvent); if (B !== null) { var q = ka(B); return q !== null && xs(q), L.blockedOn = B, !1; } return !0; } function Ud(L, B, q) { Es(L) && q.delete(B); } function Gd() { for (Kl = !1; 0 < gc.length; ) { var L = gc[0]; if (L.blockedOn !== null) { L = ka(L.blockedOn), L !== null && X2(L); break; } var B = id(L.topLevelType, L.eventSystemFlags, L.container, L.nativeEvent); B !== null ? L.blockedOn = B : gc.shift(); } e1 !== null && Es(e1) && (e1 = null), t1 !== null && Es(t1) && (t1 = null), i1 !== null && Es(i1) && (i1 = null), ys.forEach(Ud), K1.forEach(Ud); } function M1(L, B) { L.blockedOn === B && (L.blockedOn = null, Kl || (Kl = !0, h.unstable_scheduleCallback(h.unstable_NormalPriority, Gd))); } function Q2(L) { function B(h0) { return M1(h0, L); } if (0 < gc.length) { M1(gc[0], L); for (var q = 1; q < gc.length; q++) { var l0 = gc[q]; l0.blockedOn === L && (l0.blockedOn = null); } } for (e1 !== null && M1(e1, L), t1 !== null && M1(t1, L), i1 !=