(function () {
  var e = Object.create,
    t = Object.defineProperty,
    n = Object.getOwnPropertyDescriptor,
    r = Object.getOwnPropertyNames,
    i = Object.getPrototypeOf,
    a = Object.prototype.hasOwnProperty,
    o = (e, t) => () => (e && (t = e((e = 0))), t),
    s = (e, t) => () => (
      t || (e((t = { exports: {} }).exports, t), (e = null)),
      t.exports
    ),
    c = (e, n) => {
      let r = {};
      for (var i in e) t(r, i, { get: e[i], enumerable: !0 });
      return (n || t(r, Symbol.toStringTag, { value: `Module` }), r);
    },
    l = (e, i, o, s) => {
      if ((i && typeof i == `object`) || typeof i == `function`)
        for (var c = r(i), l = 0, u = c.length, d; l < u; l++)
          ((d = c[l]),
            !a.call(e, d) &&
              d !== o &&
              t(e, d, {
                get: ((e) => i[e]).bind(null, d),
                enumerable: !(s = n(i, d)) || s.enumerable,
              }));
      return e;
    },
    u = (n, r, a) => (
      (a = n == null ? {} : e(i(n))),
      l(
        r || !n || !n.__esModule
          ? t(a, `default`, { value: n, enumerable: !0 })
          : a,
        n,
      )
    ),
    d = (e) =>
      a.call(e, `module.exports`)
        ? e[`module.exports`]
        : l(t({}, `__esModule`, { value: !0 }), e),
    f = s((e) => {
      var t = Symbol.for(`react.transitional.element`),
        n = Symbol.for(`react.portal`),
        r = Symbol.for(`react.fragment`),
        i = Symbol.for(`react.strict_mode`),
        a = Symbol.for(`react.profiler`),
        o = Symbol.for(`react.consumer`),
        s = Symbol.for(`react.context`),
        c = Symbol.for(`react.forward_ref`),
        l = Symbol.for(`react.suspense`),
        u = Symbol.for(`react.memo`),
        d = Symbol.for(`react.lazy`),
        f = Symbol.for(`react.activity`),
        p = Symbol.iterator;
      function m(e) {
        return typeof e != `object` || !e
          ? null
          : ((e = (p && e[p]) || e[`@@iterator`]),
            typeof e == `function` ? e : null);
      }
      var h = {
          isMounted: function () {
            return !1;
          },
          enqueueForceUpdate: function () {},
          enqueueReplaceState: function () {},
          enqueueSetState: function () {},
        },
        g = Object.assign,
        _ = {};
      function v(e, t, n) {
        ((this.props = e),
          (this.context = t),
          (this.refs = _),
          (this.updater = n || h));
      }
      ((v.prototype.isReactComponent = {}),
        (v.prototype.setState = function (e, t) {
          if (typeof e != `object` && typeof e != `function` && e != null)
            throw Error(
              `takes an object of state variables to update or a function which returns an object of state variables.`,
            );
          this.updater.enqueueSetState(this, e, t, `setState`);
        }),
        (v.prototype.forceUpdate = function (e) {
          this.updater.enqueueForceUpdate(this, e, `forceUpdate`);
        }));
      function y() {}
      y.prototype = v.prototype;
      function b(e, t, n) {
        ((this.props = e),
          (this.context = t),
          (this.refs = _),
          (this.updater = n || h));
      }
      var x = (b.prototype = new y());
      ((x.constructor = b), g(x, v.prototype), (x.isPureReactComponent = !0));
      var ee = Array.isArray;
      function te() {}
      var S = { H: null, A: null, T: null, S: null },
        ne = Object.prototype.hasOwnProperty;
      function re(e, n, r) {
        var i = r.ref;
        return {
          $$typeof: t,
          type: e,
          key: n,
          ref: i === void 0 ? null : i,
          props: r,
        };
      }
      function C(e, t) {
        return re(e.type, t, e.props);
      }
      function w(e) {
        return typeof e == `object` && !!e && e.$$typeof === t;
      }
      function ie(e) {
        var t = { "=": `=0`, ":": `=2` };
        return (
          `$` +
          e.replace(/[=:]/g, function (e) {
            return t[e];
          })
        );
      }
      var T = /\/+/g;
      function ae(e, t) {
        return typeof e == `object` && e && e.key != null
          ? ie(`` + e.key)
          : t.toString(36);
      }
      function oe(e) {
        switch (e.status) {
          case `fulfilled`:
            return e.value;
          case `rejected`:
            throw e.reason;
          default:
            switch (
              (typeof e.status == `string`
                ? e.then(te, te)
                : ((e.status = `pending`),
                  e.then(
                    function (t) {
                      e.status === `pending` &&
                        ((e.status = `fulfilled`), (e.value = t));
                    },
                    function (t) {
                      e.status === `pending` &&
                        ((e.status = `rejected`), (e.reason = t));
                    },
                  )),
              e.status)
            ) {
              case `fulfilled`:
                return e.value;
              case `rejected`:
                throw e.reason;
            }
        }
        throw e;
      }
      function E(e, r, i, a, o) {
        var s = typeof e;
        (s === `undefined` || s === `boolean`) && (e = null);
        var c = !1;
        if (e === null) c = !0;
        else
          switch (s) {
            case `bigint`:
            case `string`:
            case `number`:
              c = !0;
              break;
            case `object`:
              switch (e.$$typeof) {
                case t:
                case n:
                  c = !0;
                  break;
                case d:
                  return ((c = e._init), E(c(e._payload), r, i, a, o));
              }
          }
        if (c)
          return (
            (o = o(e)),
            (c = a === `` ? `.` + ae(e, 0) : a),
            ee(o)
              ? ((i = ``),
                c != null && (i = c.replace(T, `$&/`) + `/`),
                E(o, r, i, ``, function (e) {
                  return e;
                }))
              : o != null &&
                (w(o) &&
                  (o = C(
                    o,
                    i +
                      (o.key == null || (e && e.key === o.key)
                        ? ``
                        : (`` + o.key).replace(T, `$&/`) + `/`) +
                      c,
                  )),
                r.push(o)),
            1
          );
        c = 0;
        var l = a === `` ? `.` : a + `:`;
        if (ee(e))
          for (var u = 0; u < e.length; u++)
            ((a = e[u]), (s = l + ae(a, u)), (c += E(a, r, i, s, o)));
        else if (((u = m(e)), typeof u == `function`))
          for (e = u.call(e), u = 0; !(a = e.next()).done;)
            ((a = a.value), (s = l + ae(a, u++)), (c += E(a, r, i, s, o)));
        else if (s === `object`) {
          if (typeof e.then == `function`) return E(oe(e), r, i, a, o);
          throw (
            (r = String(e)),
            Error(
              `Objects are not valid as a React child (found: ` +
                (r === `[object Object]`
                  ? `object with keys {` + Object.keys(e).join(`, `) + `}`
                  : r) +
                `). If you meant to render a collection of children, use an array instead.`,
            )
          );
        }
        return c;
      }
      function se(e, t, n) {
        if (e == null) return e;
        var r = [],
          i = 0;
        return (
          E(e, r, ``, ``, function (e) {
            return t.call(n, e, i++);
          }),
          r
        );
      }
      function ce(e) {
        if (e._status === -1) {
          var t = e._result;
          ((t = t()),
            t.then(
              function (t) {
                (e._status === 0 || e._status === -1) &&
                  ((e._status = 1), (e._result = t));
              },
              function (t) {
                (e._status === 0 || e._status === -1) &&
                  ((e._status = 2), (e._result = t));
              },
            ),
            e._status === -1 && ((e._status = 0), (e._result = t)));
        }
        if (e._status === 1) return e._result.default;
        throw e._result;
      }
      var D =
          typeof reportError == `function`
            ? reportError
            : function (e) {
                if (
                  typeof window == `object` &&
                  typeof window.ErrorEvent == `function`
                ) {
                  var t = new window.ErrorEvent(`error`, {
                    bubbles: !0,
                    cancelable: !0,
                    message:
                      typeof e == `object` && e && typeof e.message == `string`
                        ? String(e.message)
                        : String(e),
                    error: e,
                  });
                  if (!window.dispatchEvent(t)) return;
                } else if (
                  typeof process == `object` &&
                  typeof process.emit == `function`
                ) {
                  process.emit(`uncaughtException`, e);
                  return;
                }
                console.error(e);
              },
        O = {
          map: se,
          forEach: function (e, t, n) {
            se(
              e,
              function () {
                t.apply(this, arguments);
              },
              n,
            );
          },
          count: function (e) {
            var t = 0;
            return (
              se(e, function () {
                t++;
              }),
              t
            );
          },
          toArray: function (e) {
            return (
              se(e, function (e) {
                return e;
              }) || []
            );
          },
          only: function (e) {
            if (!w(e))
              throw Error(
                `React.Children.only expected to receive a single React element child.`,
              );
            return e;
          },
        };
      ((e.Activity = f),
        (e.Children = O),
        (e.Component = v),
        (e.Fragment = r),
        (e.Profiler = a),
        (e.PureComponent = b),
        (e.StrictMode = i),
        (e.Suspense = l),
        (e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = S),
        (e.__COMPILER_RUNTIME = {
          __proto__: null,
          c: function (e) {
            return S.H.useMemoCache(e);
          },
        }),
        (e.cache = function (e) {
          return function () {
            return e.apply(null, arguments);
          };
        }),
        (e.cacheSignal = function () {
          return null;
        }),
        (e.cloneElement = function (e, t, n) {
          if (e == null)
            throw Error(
              `The argument must be a React element, but you passed ` + e + `.`,
            );
          var r = g({}, e.props),
            i = e.key;
          if (t != null)
            for (a in (t.key !== void 0 && (i = `` + t.key), t))
              !ne.call(t, a) ||
                a === `key` ||
                a === `__self` ||
                a === `__source` ||
                (a === `ref` && t.ref === void 0) ||
                (r[a] = t[a]);
          var a = arguments.length - 2;
          if (a === 1) r.children = n;
          else if (1 < a) {
            for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
            r.children = o;
          }
          return re(e.type, i, r);
        }),
        (e.createContext = function (e) {
          return (
            (e = {
              $$typeof: s,
              _currentValue: e,
              _currentValue2: e,
              _threadCount: 0,
              Provider: null,
              Consumer: null,
            }),
            (e.Provider = e),
            (e.Consumer = { $$typeof: o, _context: e }),
            e
          );
        }),
        (e.createElement = function (e, t, n) {
          var r,
            i = {},
            a = null;
          if (t != null)
            for (r in (t.key !== void 0 && (a = `` + t.key), t))
              ne.call(t, r) &&
                r !== `key` &&
                r !== `__self` &&
                r !== `__source` &&
                (i[r] = t[r]);
          var o = arguments.length - 2;
          if (o === 1) i.children = n;
          else if (1 < o) {
            for (var s = Array(o), c = 0; c < o; c++) s[c] = arguments[c + 2];
            i.children = s;
          }
          if (e && e.defaultProps)
            for (r in ((o = e.defaultProps), o))
              i[r] === void 0 && (i[r] = o[r]);
          return re(e, a, i);
        }),
        (e.createRef = function () {
          return { current: null };
        }),
        (e.forwardRef = function (e) {
          return { $$typeof: c, render: e };
        }),
        (e.isValidElement = w),
        (e.lazy = function (e) {
          return {
            $$typeof: d,
            _payload: { _status: -1, _result: e },
            _init: ce,
          };
        }),
        (e.memo = function (e, t) {
          return { $$typeof: u, type: e, compare: t === void 0 ? null : t };
        }),
        (e.startTransition = function (e) {
          var t = S.T,
            n = {};
          S.T = n;
          try {
            var r = e(),
              i = S.S;
            (i !== null && i(n, r),
              typeof r == `object` &&
                r &&
                typeof r.then == `function` &&
                r.then(te, D));
          } catch (e) {
            D(e);
          } finally {
            (t !== null && n.types !== null && (t.types = n.types), (S.T = t));
          }
        }),
        (e.unstable_useCacheRefresh = function () {
          return S.H.useCacheRefresh();
        }),
        (e.use = function (e) {
          return S.H.use(e);
        }),
        (e.useActionState = function (e, t, n) {
          return S.H.useActionState(e, t, n);
        }),
        (e.useCallback = function (e, t) {
          return S.H.useCallback(e, t);
        }),
        (e.useContext = function (e) {
          return S.H.useContext(e);
        }),
        (e.useDebugValue = function () {}),
        (e.useDeferredValue = function (e, t) {
          return S.H.useDeferredValue(e, t);
        }),
        (e.useEffect = function (e, t) {
          return S.H.useEffect(e, t);
        }),
        (e.useEffectEvent = function (e) {
          return S.H.useEffectEvent(e);
        }),
        (e.useId = function () {
          return S.H.useId();
        }),
        (e.useImperativeHandle = function (e, t, n) {
          return S.H.useImperativeHandle(e, t, n);
        }),
        (e.useInsertionEffect = function (e, t) {
          return S.H.useInsertionEffect(e, t);
        }),
        (e.useLayoutEffect = function (e, t) {
          return S.H.useLayoutEffect(e, t);
        }),
        (e.useMemo = function (e, t) {
          return S.H.useMemo(e, t);
        }),
        (e.useOptimistic = function (e, t) {
          return S.H.useOptimistic(e, t);
        }),
        (e.useReducer = function (e, t, n) {
          return S.H.useReducer(e, t, n);
        }),
        (e.useRef = function (e) {
          return S.H.useRef(e);
        }),
        (e.useState = function (e) {
          return S.H.useState(e);
        }),
        (e.useSyncExternalStore = function (e, t, n) {
          return S.H.useSyncExternalStore(e, t, n);
        }),
        (e.useTransition = function () {
          return S.H.useTransition();
        }),
        (e.version = `19.2.7`));
    }),
    p = s((e, t) => {
      process.env.NODE_ENV !== `production` &&
        (function () {
          function n(e, t) {
            Object.defineProperty(a.prototype, e, {
              get: function () {
                console.warn(
                  `%s(...) is deprecated in plain JavaScript React classes. %s`,
                  t[0],
                  t[1],
                );
              },
            });
          }
          function r(e) {
            return typeof e != `object` || !e
              ? null
              : ((e = (ve && e[ve]) || e[`@@iterator`]),
                typeof e == `function` ? e : null);
          }
          function i(e, t) {
            e =
              ((e = e.constructor) && (e.displayName || e.name)) ||
              `ReactClass`;
            var n = e + `.` + t;
            ye[n] ||
              (console.error(
                "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
                t,
                e,
              ),
              (ye[n] = !0));
          }
          function a(e, t, n) {
            ((this.props = e),
              (this.context = t),
              (this.refs = xe),
              (this.updater = n || be));
          }
          function o() {}
          function s(e, t, n) {
            ((this.props = e),
              (this.context = t),
              (this.refs = xe),
              (this.updater = n || be));
          }
          function c() {}
          function l(e) {
            return `` + e;
          }
          function u(e) {
            try {
              l(e);
              var t = !1;
            } catch {
              t = !0;
            }
            if (t) {
              t = console;
              var n = t.error,
                r =
                  (typeof Symbol == `function` &&
                    Symbol.toStringTag &&
                    e[Symbol.toStringTag]) ||
                  e.constructor.name ||
                  `Object`;
              return (
                n.call(
                  t,
                  `The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,
                  r,
                ),
                l(e)
              );
            }
          }
          function d(e) {
            if (e == null) return null;
            if (typeof e == `function`)
              return e.$$typeof === we ? null : e.displayName || e.name || null;
            if (typeof e == `string`) return e;
            switch (e) {
              case O:
                return `Fragment`;
              case ue:
                return `Profiler`;
              case le:
                return `StrictMode`;
              case k:
                return `Suspense`;
              case me:
                return `SuspenseList`;
              case _e:
                return `Activity`;
            }
            if (typeof e == `object`)
              switch (
                (typeof e.tag == `number` &&
                  console.error(
                    `Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`,
                  ),
                e.$$typeof)
              ) {
                case D:
                  return `Portal`;
                case fe:
                  return e.displayName || `Context`;
                case de:
                  return (e._context.displayName || `Context`) + `.Consumer`;
                case pe:
                  var t = e.render;
                  return (
                    (e = e.displayName),
                    (e ||=
                      ((e = t.displayName || t.name || ``),
                      e === `` ? `ForwardRef` : `ForwardRef(` + e + `)`)),
                    e
                  );
                case he:
                  return (
                    (t = e.displayName || null),
                    t === null ? d(e.type) || `Memo` : t
                  );
                case ge:
                  ((t = e._payload), (e = e._init));
                  try {
                    return d(e(t));
                  } catch {}
              }
            return null;
          }
          function f(e) {
            if (e === O) return `<>`;
            if (typeof e == `object` && e && e.$$typeof === ge) return `<...>`;
            try {
              var t = d(e);
              return t ? `<` + t + `>` : `<...>`;
            } catch {
              return `<...>`;
            }
          }
          function p() {
            var e = j.A;
            return e === null ? null : e.getOwner();
          }
          function m() {
            return Error(`react-stack-top-frame`);
          }
          function h(e) {
            if (Te.call(e, `key`)) {
              var t = Object.getOwnPropertyDescriptor(e, `key`).get;
              if (t && t.isReactWarning) return !1;
            }
            return e.key !== void 0;
          }
          function g(e, t) {
            function n() {
              De ||
                ((De = !0),
                console.error(
                  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
                  t,
                ));
            }
            ((n.isReactWarning = !0),
              Object.defineProperty(e, "key", { get: n, configurable: !0 }));
          }
          function _() {
            var e = d(this.type);
            return (
              ke[e] ||
                ((ke[e] = !0),
                console.error(
                  `Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`,
                )),
              (e = this.props.ref),
              e === void 0 ? null : e
            );
          }
          function v(e, t, n, r, i, a) {
            var o = n.ref;
            return (
              (e = { $$typeof: ce, type: e, key: t, props: n, _owner: r }),
              (o === void 0 ? null : o) === null
                ? Object.defineProperty(e, "ref", {
                    enumerable: !1,
                    value: null,
                  })
                : Object.defineProperty(e, "ref", { enumerable: !1, get: _ }),
              (e._store = {}),
              Object.defineProperty(e._store, "validated", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: 0,
              }),
              Object.defineProperty(e, "_debugInfo", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: null,
              }),
              Object.defineProperty(e, "_debugStack", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: i,
              }),
              Object.defineProperty(e, "_debugTask", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: a,
              }),
              Object.freeze && (Object.freeze(e.props), Object.freeze(e)),
              e
            );
          }
          function y(e, t) {
            return (
              (t = v(
                e.type,
                t,
                e.props,
                e._owner,
                e._debugStack,
                e._debugTask,
              )),
              e._store && (t._store.validated = e._store.validated),
              t
            );
          }
          function b(e) {
            x(e)
              ? e._store && (e._store.validated = 1)
              : typeof e == `object` &&
                e &&
                e.$$typeof === ge &&
                (e._payload.status === `fulfilled`
                  ? x(e._payload.value) &&
                    e._payload.value._store &&
                    (e._payload.value._store.validated = 1)
                  : e._store && (e._store.validated = 1));
          }
          function x(e) {
            return typeof e == `object` && !!e && e.$$typeof === ce;
          }
          function ee(e) {
            var t = { "=": `=0`, ":": `=2` };
            return (
              `$` +
              e.replace(/[=:]/g, function (e) {
                return t[e];
              })
            );
          }
          function te(e, t) {
            return typeof e == `object` && e && e.key != null
              ? (u(e.key), ee(`` + e.key))
              : t.toString(36);
          }
          function S(e) {
            switch (e.status) {
              case `fulfilled`:
                return e.value;
              case `rejected`:
                throw e.reason;
              default:
                switch (
                  (typeof e.status == `string`
                    ? e.then(c, c)
                    : ((e.status = `pending`),
                      e.then(
                        function (t) {
                          e.status === `pending` &&
                            ((e.status = `fulfilled`), (e.value = t));
                        },
                        function (t) {
                          e.status === `pending` &&
                            ((e.status = `rejected`), (e.reason = t));
                        },
                      )),
                  e.status)
                ) {
                  case `fulfilled`:
                    return e.value;
                  case `rejected`:
                    throw e.reason;
                }
            }
            throw e;
          }
          function ne(e, t, n, i, a) {
            var o = typeof e;
            (o === `undefined` || o === `boolean`) && (e = null);
            var s = !1;
            if (e === null) s = !0;
            else
              switch (o) {
                case `bigint`:
                case `string`:
                case `number`:
                  s = !0;
                  break;
                case `object`:
                  switch (e.$$typeof) {
                    case ce:
                    case D:
                      s = !0;
                      break;
                    case ge:
                      return ((s = e._init), ne(s(e._payload), t, n, i, a));
                  }
              }
            if (s) {
              ((s = e), (a = a(s)));
              var c = i === `` ? `.` + te(s, 0) : i;
              return (
                Ce(a)
                  ? ((n = ``),
                    c != null && (n = c.replace(Ne, `$&/`) + `/`),
                    ne(a, t, n, ``, function (e) {
                      return e;
                    }))
                  : a != null &&
                    (x(a) &&
                      (a.key != null && ((s && s.key === a.key) || u(a.key)),
                      (n = y(
                        a,
                        n +
                          (a.key == null || (s && s.key === a.key)
                            ? ``
                            : (`` + a.key).replace(Ne, `$&/`) + `/`) +
                          c,
                      )),
                      i !== `` &&
                        s != null &&
                        x(s) &&
                        s.key == null &&
                        s._store &&
                        !s._store.validated &&
                        (n._store.validated = 2),
                      (a = n)),
                    t.push(a)),
                1
              );
            }
            if (((s = 0), (c = i === `` ? `.` : i + `:`), Ce(e)))
              for (var l = 0; l < e.length; l++)
                ((i = e[l]), (o = c + te(i, l)), (s += ne(i, t, n, o, a)));
            else if (((l = r(e)), typeof l == `function`))
              for (
                l === e.entries &&
                  (Me ||
                    console.warn(
                      `Using Maps as children is not supported. Use an array of keyed ReactElements instead.`,
                    ),
                  (Me = !0)),
                  e = l.call(e),
                  l = 0;
                !(i = e.next()).done;
              )
                ((i = i.value), (o = c + te(i, l++)), (s += ne(i, t, n, o, a)));
            else if (o === `object`) {
              if (typeof e.then == `function`) return ne(S(e), t, n, i, a);
              throw (
                (t = String(e)),
                Error(
                  `Objects are not valid as a React child (found: ` +
                    (t === `[object Object]`
                      ? `object with keys {` + Object.keys(e).join(`, `) + `}`
                      : t) +
                    `). If you meant to render a collection of children, use an array instead.`,
                )
              );
            }
            return s;
          }
          function re(e, t, n) {
            if (e == null) return e;
            var r = [],
              i = 0;
            return (
              ne(e, r, ``, ``, function (e) {
                return t.call(n, e, i++);
              }),
              r
            );
          }
          function C(e) {
            if (e._status === -1) {
              var t = e._ioInfo;
              (t != null && (t.start = t.end = performance.now()),
                (t = e._result));
              var n = t();
              if (
                (n.then(
                  function (t) {
                    if (e._status === 0 || e._status === -1) {
                      ((e._status = 1), (e._result = t));
                      var r = e._ioInfo;
                      (r != null && (r.end = performance.now()),
                        n.status === void 0 &&
                          ((n.status = `fulfilled`), (n.value = t)));
                    }
                  },
                  function (t) {
                    if (e._status === 0 || e._status === -1) {
                      ((e._status = 2), (e._result = t));
                      var r = e._ioInfo;
                      (r != null && (r.end = performance.now()),
                        n.status === void 0 &&
                          ((n.status = `rejected`), (n.reason = t)));
                    }
                  },
                ),
                (t = e._ioInfo),
                t != null)
              ) {
                t.value = n;
                var r = n.displayName;
                typeof r == `string` && (t.name = r);
              }
              e._status === -1 && ((e._status = 0), (e._result = n));
            }
            if (e._status === 1)
              return (
                (t = e._result),
                t === void 0 &&
                  console.error(
                    `lazy: Expected the result of a dynamic import() call. Instead received: %s

Your code should look like: 
  const MyComponent = lazy(() => import('./MyComponent'))

Did you accidentally put curly braces around the import?`,
                    t,
                  ),
                `default` in t ||
                  console.error(
                    `lazy: Expected the result of a dynamic import() call. Instead received: %s

Your code should look like: 
  const MyComponent = lazy(() => import('./MyComponent'))`,
                    t,
                  ),
                t.default
              );
            throw e._result;
          }
          function w() {
            var e = j.H;
            return (
              e === null &&
                console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),
              e
            );
          }
          function ie() {
            j.asyncTransitions--;
          }
          function T(e) {
            if (Ie === null)
              try {
                var n = (`require` + Math.random()).slice(0, 7);
                Ie = (t && t[n]).call(t, `timers`).setImmediate;
              } catch {
                Ie = function (e) {
                  !1 === Fe &&
                    ((Fe = !0),
                    typeof MessageChannel > `u` &&
                      console.error(
                        `This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.`,
                      ));
                  var t = new MessageChannel();
                  ((t.port1.onmessage = e), t.port2.postMessage(void 0));
                };
              }
            return Ie(e);
          }
          function ae(e) {
            return 1 < e.length && typeof AggregateError == `function`
              ? AggregateError(e)
              : e[0];
          }
          function oe(e, t) {
            (t !== Le - 1 &&
              console.error(
                `You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. `,
              ),
              (Le = t));
          }
          function E(e, t, n) {
            var r = j.actQueue;
            if (r !== null)
              if (r.length !== 0)
                try {
                  (se(r),
                    T(function () {
                      return E(e, t, n);
                    }));
                  return;
                } catch (e) {
                  j.thrownErrors.push(e);
                }
              else j.actQueue = null;
            0 < j.thrownErrors.length
              ? ((r = ae(j.thrownErrors)), (j.thrownErrors.length = 0), n(r))
              : t(e);
          }
          function se(e) {
            if (!ze) {
              ze = !0;
              var t = 0;
              try {
                for (; t < e.length; t++) {
                  var n = e[t];
                  do {
                    j.didUsePromise = !1;
                    var r = n(!1);
                    if (r !== null) {
                      if (j.didUsePromise) {
                        ((e[t] = n), e.splice(0, t));
                        return;
                      }
                      n = r;
                    } else break;
                  } while (1);
                }
                e.length = 0;
              } catch (n) {
                (e.splice(0, t + 1), j.thrownErrors.push(n));
              } finally {
                ze = !1;
              }
            }
          }
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ==
              `function` &&
            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
          var ce = Symbol.for(`react.transitional.element`),
            D = Symbol.for(`react.portal`),
            O = Symbol.for(`react.fragment`),
            le = Symbol.for(`react.strict_mode`),
            ue = Symbol.for(`react.profiler`),
            de = Symbol.for(`react.consumer`),
            fe = Symbol.for(`react.context`),
            pe = Symbol.for(`react.forward_ref`),
            k = Symbol.for(`react.suspense`),
            me = Symbol.for(`react.suspense_list`),
            he = Symbol.for(`react.memo`),
            ge = Symbol.for(`react.lazy`),
            _e = Symbol.for(`react.activity`),
            ve = Symbol.iterator,
            ye = {},
            be = {
              isMounted: function () {
                return !1;
              },
              enqueueForceUpdate: function (e) {
                i(e, `forceUpdate`);
              },
              enqueueReplaceState: function (e) {
                i(e, `replaceState`);
              },
              enqueueSetState: function (e) {
                i(e, `setState`);
              },
            },
            A = Object.assign,
            xe = {};
          (Object.freeze(xe),
            (a.prototype.isReactComponent = {}),
            (a.prototype.setState = function (e, t) {
              if (typeof e != `object` && typeof e != `function` && e != null)
                throw Error(
                  `takes an object of state variables to update or a function which returns an object of state variables.`,
                );
              this.updater.enqueueSetState(this, e, t, `setState`);
            }),
            (a.prototype.forceUpdate = function (e) {
              this.updater.enqueueForceUpdate(this, e, `forceUpdate`);
            }));
          var Se = {
            isMounted: [
              `isMounted`,
              `Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.`,
            ],
            replaceState: [
              `replaceState`,
              `Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).`,
            ],
          };
          for (Ve in Se) Se.hasOwnProperty(Ve) && n(Ve, Se[Ve]);
          ((o.prototype = a.prototype),
            (Se = s.prototype = new o()),
            (Se.constructor = s),
            A(Se, a.prototype),
            (Se.isPureReactComponent = !0));
          var Ce = Array.isArray,
            we = Symbol.for(`react.client.reference`),
            j = {
              H: null,
              A: null,
              T: null,
              S: null,
              actQueue: null,
              asyncTransitions: 0,
              isBatchingLegacy: !1,
              didScheduleLegacyUpdate: !1,
              didUsePromise: !1,
              thrownErrors: [],
              getCurrentStack: null,
              recentlyCreatedOwnerStacks: 0,
            },
            Te = Object.prototype.hasOwnProperty,
            Ee = console.createTask
              ? console.createTask
              : function () {
                  return null;
                };
          Se = {
            react_stack_bottom_frame: function (e) {
              return e();
            },
          };
          var De,
            Oe,
            ke = {},
            Ae = Se.react_stack_bottom_frame.bind(Se, m)(),
            je = Ee(f(m)),
            Me = !1,
            Ne = /\/+/g,
            Pe =
              typeof reportError == `function`
                ? reportError
                : function (e) {
                    if (
                      typeof window == `object` &&
                      typeof window.ErrorEvent == `function`
                    ) {
                      var t = new window.ErrorEvent(`error`, {
                        bubbles: !0,
                        cancelable: !0,
                        message:
                          typeof e == `object` &&
                          e &&
                          typeof e.message == `string`
                            ? String(e.message)
                            : String(e),
                        error: e,
                      });
                      if (!window.dispatchEvent(t)) return;
                    } else if (
                      typeof process == `object` &&
                      typeof process.emit == `function`
                    ) {
                      process.emit(`uncaughtException`, e);
                      return;
                    }
                    console.error(e);
                  },
            Fe = !1,
            Ie = null,
            Le = 0,
            Re = !1,
            ze = !1,
            Be =
              typeof queueMicrotask == `function`
                ? function (e) {
                    queueMicrotask(function () {
                      return queueMicrotask(e);
                    });
                  }
                : T;
          Se = Object.freeze({
            __proto__: null,
            c: function (e) {
              return w().useMemoCache(e);
            },
          });
          var Ve = {
            map: re,
            forEach: function (e, t, n) {
              re(
                e,
                function () {
                  t.apply(this, arguments);
                },
                n,
              );
            },
            count: function (e) {
              var t = 0;
              return (
                re(e, function () {
                  t++;
                }),
                t
              );
            },
            toArray: function (e) {
              return (
                re(e, function (e) {
                  return e;
                }) || []
              );
            },
            only: function (e) {
              if (!x(e))
                throw Error(
                  `React.Children.only expected to receive a single React element child.`,
                );
              return e;
            },
          };
          ((e.Activity = _e),
            (e.Children = Ve),
            (e.Component = a),
            (e.Fragment = O),
            (e.Profiler = ue),
            (e.PureComponent = s),
            (e.StrictMode = le),
            (e.Suspense = k),
            (e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
              j),
            (e.__COMPILER_RUNTIME = Se),
            (e.act = function (e) {
              var t = j.actQueue,
                n = Le;
              Le++;
              var r = (j.actQueue = t === null ? [] : t),
                i = !1;
              try {
                var a = e();
              } catch (e) {
                j.thrownErrors.push(e);
              }
              if (0 < j.thrownErrors.length)
                throw (
                  oe(t, n),
                  (e = ae(j.thrownErrors)),
                  (j.thrownErrors.length = 0),
                  e
                );
              if (typeof a == `object` && a && typeof a.then == `function`) {
                var o = a;
                return (
                  Be(function () {
                    i ||
                      Re ||
                      ((Re = !0),
                      console.error(
                        `You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);`,
                      ));
                  }),
                  {
                    then: function (e, a) {
                      ((i = !0),
                        o.then(
                          function (i) {
                            if ((oe(t, n), n === 0)) {
                              try {
                                (se(r),
                                  T(function () {
                                    return E(i, e, a);
                                  }));
                              } catch (e) {
                                j.thrownErrors.push(e);
                              }
                              if (0 < j.thrownErrors.length) {
                                var o = ae(j.thrownErrors);
                                ((j.thrownErrors.length = 0), a(o));
                              }
                            } else e(i);
                          },
                          function (e) {
                            (oe(t, n),
                              0 < j.thrownErrors.length
                                ? ((e = ae(j.thrownErrors)),
                                  (j.thrownErrors.length = 0),
                                  a(e))
                                : a(e));
                          },
                        ));
                    },
                  }
                );
              }
              var s = a;
              if (
                (oe(t, n),
                n === 0 &&
                  (se(r),
                  r.length !== 0 &&
                    Be(function () {
                      i ||
                        Re ||
                        ((Re = !0),
                        console.error(
                          "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)",
                        ));
                    }),
                  (j.actQueue = null)),
                0 < j.thrownErrors.length)
              )
                throw (
                  (e = ae(j.thrownErrors)),
                  (j.thrownErrors.length = 0),
                  e
                );
              return {
                then: function (e, t) {
                  ((i = !0),
                    n === 0
                      ? ((j.actQueue = r),
                        T(function () {
                          return E(s, e, t);
                        }))
                      : e(s));
                },
              };
            }),
            (e.cache = function (e) {
              return function () {
                return e.apply(null, arguments);
              };
            }),
            (e.cacheSignal = function () {
              return null;
            }),
            (e.captureOwnerStack = function () {
              var e = j.getCurrentStack;
              return e === null ? null : e();
            }),
            (e.cloneElement = function (e, t, n) {
              if (e == null)
                throw Error(
                  `The argument must be a React element, but you passed ` +
                    e +
                    `.`,
                );
              var r = A({}, e.props),
                i = e.key,
                a = e._owner;
              if (t != null) {
                var o;
                a: {
                  if (
                    Te.call(t, `ref`) &&
                    (o = Object.getOwnPropertyDescriptor(t, `ref`).get) &&
                    o.isReactWarning
                  ) {
                    o = !1;
                    break a;
                  }
                  o = t.ref !== void 0;
                }
                for (s in (o && (a = p()),
                h(t) && (u(t.key), (i = `` + t.key)),
                t))
                  !Te.call(t, s) ||
                    s === `key` ||
                    s === `__self` ||
                    s === `__source` ||
                    (s === `ref` && t.ref === void 0) ||
                    (r[s] = t[s]);
              }
              var s = arguments.length - 2;
              if (s === 1) r.children = n;
              else if (1 < s) {
                o = Array(s);
                for (var c = 0; c < s; c++) o[c] = arguments[c + 2];
                r.children = o;
              }
              for (
                r = v(e.type, i, r, a, e._debugStack, e._debugTask), i = 2;
                i < arguments.length;
                i++
              )
                b(arguments[i]);
              return r;
            }),
            (e.createContext = function (e) {
              return (
                (e = {
                  $$typeof: fe,
                  _currentValue: e,
                  _currentValue2: e,
                  _threadCount: 0,
                  Provider: null,
                  Consumer: null,
                }),
                (e.Provider = e),
                (e.Consumer = { $$typeof: de, _context: e }),
                (e._currentRenderer = null),
                (e._currentRenderer2 = null),
                e
              );
            }),
            (e.createElement = function (e, t, n) {
              for (var r = 2; r < arguments.length; r++) b(arguments[r]);
              r = {};
              var i = null;
              if (t != null)
                for (c in (Oe ||
                  !(`__self` in t) ||
                  `key` in t ||
                  ((Oe = !0),
                  console.warn(
                    `Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform`,
                  )),
                h(t) && (u(t.key), (i = `` + t.key)),
                t))
                  Te.call(t, c) &&
                    c !== `key` &&
                    c !== `__self` &&
                    c !== `__source` &&
                    (r[c] = t[c]);
              var a = arguments.length - 2;
              if (a === 1) r.children = n;
              else if (1 < a) {
                for (var o = Array(a), s = 0; s < a; s++)
                  o[s] = arguments[s + 2];
                (Object.freeze && Object.freeze(o), (r.children = o));
              }
              if (e && e.defaultProps)
                for (c in ((a = e.defaultProps), a))
                  r[c] === void 0 && (r[c] = a[c]);
              i &&
                g(
                  r,
                  typeof e == `function`
                    ? e.displayName || e.name || `Unknown`
                    : e,
                );
              var c = 1e4 > j.recentlyCreatedOwnerStacks++;
              return v(
                e,
                i,
                r,
                p(),
                c ? Error(`react-stack-top-frame`) : Ae,
                c ? Ee(f(e)) : je,
              );
            }),
            (e.createRef = function () {
              var e = { current: null };
              return (Object.seal(e), e);
            }),
            (e.forwardRef = function (e) {
              (e != null && e.$$typeof === he
                ? console.error(
                    "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).",
                  )
                : typeof e == `function`
                  ? e.length !== 0 &&
                    e.length !== 2 &&
                    console.error(
                      `forwardRef render functions accept exactly two parameters: props and ref. %s`,
                      e.length === 1
                        ? `Did you forget to use the ref parameter?`
                        : `Any additional parameter will be undefined.`,
                    )
                  : console.error(
                      `forwardRef requires a render function but was given %s.`,
                      e === null ? `null` : typeof e,
                    ),
                e != null &&
                  e.defaultProps != null &&
                  console.error(
                    `forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?`,
                  ));
              var t = { $$typeof: pe, render: e },
                n;
              return (
                Object.defineProperty(t, "displayName", {
                  enumerable: !1,
                  configurable: !0,
                  get: function () {
                    return n;
                  },
                  set: function (t) {
                    ((n = t),
                      e.name ||
                        e.displayName ||
                        (Object.defineProperty(e, "name", { value: t }),
                        (e.displayName = t)));
                  },
                }),
                t
              );
            }),
            (e.isValidElement = x),
            (e.lazy = function (e) {
              e = { _status: -1, _result: e };
              var t = { $$typeof: ge, _payload: e, _init: C },
                n = {
                  name: `lazy`,
                  start: -1,
                  end: -1,
                  value: null,
                  owner: null,
                  debugStack: Error(`react-stack-top-frame`),
                  debugTask: console.createTask
                    ? console.createTask(`lazy()`)
                    : null,
                };
              return ((e._ioInfo = n), (t._debugInfo = [{ awaited: n }]), t);
            }),
            (e.memo = function (e, t) {
              (e ??
                console.error(
                  `memo: The first argument must be a component. Instead received: %s`,
                  e === null ? `null` : typeof e,
                ),
                (t = {
                  $$typeof: he,
                  type: e,
                  compare: t === void 0 ? null : t,
                }));
              var n;
              return (
                Object.defineProperty(t, "displayName", {
                  enumerable: !1,
                  configurable: !0,
                  get: function () {
                    return n;
                  },
                  set: function (t) {
                    ((n = t),
                      e.name ||
                        e.displayName ||
                        (Object.defineProperty(e, "name", { value: t }),
                        (e.displayName = t)));
                  },
                }),
                t
              );
            }),
            (e.startTransition = function (e) {
              var t = j.T,
                n = {};
              ((n._updatedFibers = new Set()), (j.T = n));
              try {
                var r = e(),
                  i = j.S;
                (i !== null && i(n, r),
                  typeof r == `object` &&
                    r &&
                    typeof r.then == `function` &&
                    (j.asyncTransitions++, r.then(ie, ie), r.then(c, Pe)));
              } catch (e) {
                Pe(e);
              } finally {
                (t === null &&
                  n._updatedFibers &&
                  ((e = n._updatedFibers.size),
                  n._updatedFibers.clear(),
                  10 < e &&
                    console.warn(
                      `Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`,
                    )),
                  t !== null &&
                    n.types !== null &&
                    (t.types !== null &&
                      t.types !== n.types &&
                      console.error(
                        `We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`,
                      ),
                    (t.types = n.types)),
                  (j.T = t));
              }
            }),
            (e.unstable_useCacheRefresh = function () {
              return w().useCacheRefresh();
            }),
            (e.use = function (e) {
              return w().use(e);
            }),
            (e.useActionState = function (e, t, n) {
              return w().useActionState(e, t, n);
            }),
            (e.useCallback = function (e, t) {
              return w().useCallback(e, t);
            }),
            (e.useContext = function (e) {
              var t = w();
              return (
                e.$$typeof === de &&
                  console.error(
                    `Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?`,
                  ),
                t.useContext(e)
              );
            }),
            (e.useDebugValue = function (e, t) {
              return w().useDebugValue(e, t);
            }),
            (e.useDeferredValue = function (e, t) {
              return w().useDeferredValue(e, t);
            }),
            (e.useEffect = function (e, t) {
              return (
                e ??
                  console.warn(
                    `React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?`,
                  ),
                w().useEffect(e, t)
              );
            }),
            (e.useEffectEvent = function (e) {
              return w().useEffectEvent(e);
            }),
            (e.useId = function () {
              return w().useId();
            }),
            (e.useImperativeHandle = function (e, t, n) {
              return w().useImperativeHandle(e, t, n);
            }),
            (e.useInsertionEffect = function (e, t) {
              return (
                e ??
                  console.warn(
                    `React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?`,
                  ),
                w().useInsertionEffect(e, t)
              );
            }),
            (e.useLayoutEffect = function (e, t) {
              return (
                e ??
                  console.warn(
                    `React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?`,
                  ),
                w().useLayoutEffect(e, t)
              );
            }),
            (e.useMemo = function (e, t) {
              return w().useMemo(e, t);
            }),
            (e.useOptimistic = function (e, t) {
              return w().useOptimistic(e, t);
            }),
            (e.useReducer = function (e, t, n) {
              return w().useReducer(e, t, n);
            }),
            (e.useRef = function (e) {
              return w().useRef(e);
            }),
            (e.useState = function (e) {
              return w().useState(e);
            }),
            (e.useSyncExternalStore = function (e, t, n) {
              return w().useSyncExternalStore(e, t, n);
            }),
            (e.useTransition = function () {
              return w().useTransition();
            }),
            (e.version = `19.2.7`),
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
              typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ==
                `function` &&
              __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(
                Error(),
              ));
        })();
    }),
    m = s((e, t) => {
      process.env.NODE_ENV === `production`
        ? (t.exports = f())
        : (t.exports = p());
    }),
    h = s((e) => {
      function t(e, t) {
        var n = e.length;
        e.push(t);
        a: for (; 0 < n;) {
          var r = (n - 1) >>> 1,
            a = e[r];
          if (0 < i(a, t)) ((e[r] = t), (e[n] = a), (n = r));
          else break a;
        }
      }
      function n(e) {
        return e.length === 0 ? null : e[0];
      }
      function r(e) {
        if (e.length === 0) return null;
        var t = e[0],
          n = e.pop();
        if (n !== t) {
          e[0] = n;
          a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {
            var s = 2 * (r + 1) - 1,
              c = e[s],
              l = s + 1,
              u = e[l];
            if (0 > i(c, n))
              l < a && 0 > i(u, c)
                ? ((e[r] = u), (e[l] = n), (r = l))
                : ((e[r] = c), (e[s] = n), (r = s));
            else if (l < a && 0 > i(u, n)) ((e[r] = u), (e[l] = n), (r = l));
            else break a;
          }
        }
        return t;
      }
      function i(e, t) {
        var n = e.sortIndex - t.sortIndex;
        return n === 0 ? e.id - t.id : n;
      }
      if (
        ((e.unstable_now = void 0),
        typeof performance == `object` && typeof performance.now == `function`)
      ) {
        var a = performance;
        e.unstable_now = function () {
          return a.now();
        };
      } else {
        var o = Date,
          s = o.now();
        e.unstable_now = function () {
          return o.now() - s;
        };
      }
      var c = [],
        l = [],
        u = 1,
        d = null,
        f = 3,
        p = !1,
        m = !1,
        h = !1,
        g = !1,
        _ = typeof setTimeout == `function` ? setTimeout : null,
        v = typeof clearTimeout == `function` ? clearTimeout : null,
        y = typeof setImmediate < `u` ? setImmediate : null;
      function b(e) {
        for (var i = n(l); i !== null;) {
          if (i.callback === null) r(l);
          else if (i.startTime <= e)
            (r(l), (i.sortIndex = i.expirationTime), t(c, i));
          else break;
          i = n(l);
        }
      }
      function x(e) {
        if (((h = !1), b(e), !m))
          if (n(c) !== null) ((m = !0), ee || ((ee = !0), w()));
          else {
            var t = n(l);
            t !== null && ae(x, t.startTime - e);
          }
      }
      var ee = !1,
        te = -1,
        S = 5,
        ne = -1;
      function re() {
        return g ? !0 : !(e.unstable_now() - ne < S);
      }
      function C() {
        if (((g = !1), ee)) {
          var t = e.unstable_now();
          ne = t;
          var i = !0;
          try {
            a: {
              ((m = !1), h && ((h = !1), v(te), (te = -1)), (p = !0));
              var a = f;
              try {
                b: {
                  for (
                    b(t), d = n(c);
                    d !== null && !(d.expirationTime > t && re());
                  ) {
                    var o = d.callback;
                    if (typeof o == `function`) {
                      ((d.callback = null), (f = d.priorityLevel));
                      var s = o(d.expirationTime <= t);
                      if (((t = e.unstable_now()), typeof s == `function`)) {
                        ((d.callback = s), b(t), (i = !0));
                        break b;
                      }
                      (d === n(c) && r(c), b(t));
                    } else r(c);
                    d = n(c);
                  }
                  if (d !== null) i = !0;
                  else {
                    var u = n(l);
                    (u !== null && ae(x, u.startTime - t), (i = !1));
                  }
                }
                break a;
              } finally {
                ((d = null), (f = a), (p = !1));
              }
              i = void 0;
            }
          } finally {
            i ? w() : (ee = !1);
          }
        }
      }
      var w;
      if (typeof y == `function`)
        w = function () {
          y(C);
        };
      else if (typeof MessageChannel < `u`) {
        var ie = new MessageChannel(),
          T = ie.port2;
        ((ie.port1.onmessage = C),
          (w = function () {
            T.postMessage(null);
          }));
      } else
        w = function () {
          _(C, 0);
        };
      function ae(t, n) {
        te = _(function () {
          t(e.unstable_now());
        }, n);
      }
      ((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 (e) {
          e.callback = null;
        }),
        (e.unstable_forceFrameRate = function (e) {
          0 > e || 125 < e
            ? console.error(
                `forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`,
              )
            : (S = 0 < e ? Math.floor(1e3 / e) : 5);
        }),
        (e.unstable_getCurrentPriorityLevel = function () {
          return f;
        }),
        (e.unstable_next = function (e) {
          switch (f) {
            case 1:
            case 2:
            case 3:
              var t = 3;
              break;
            default:
              t = f;
          }
          var n = f;
          f = t;
          try {
            return e();
          } finally {
            f = n;
          }
        }),
        (e.unstable_requestPaint = function () {
          g = !0;
        }),
        (e.unstable_runWithPriority = function (e, t) {
          switch (e) {
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
              break;
            default:
              e = 3;
          }
          var n = f;
          f = e;
          try {
            return t();
          } finally {
            f = n;
          }
        }),
        (e.unstable_scheduleCallback = function (r, i, a) {
          var o = e.unstable_now();
          switch (
            (typeof a == `object` && a
              ? ((a = a.delay), (a = typeof a == `number` && 0 < a ? o + a : o))
              : (a = o),
            r)
          ) {
            case 1:
              var s = -1;
              break;
            case 2:
              s = 250;
              break;
            case 5:
              s = 1073741823;
              break;
            case 4:
              s = 1e4;
              break;
            default:
              s = 5e3;
          }
          return (
            (s = a + s),
            (r = {
              id: u++,
              callback: i,
              priorityLevel: r,
              startTime: a,
              expirationTime: s,
              sortIndex: -1,
            }),
            a > o
              ? ((r.sortIndex = a),
                t(l, r),
                n(c) === null &&
                  r === n(l) &&
                  (h ? (v(te), (te = -1)) : (h = !0), ae(x, a - o)))
              : ((r.sortIndex = s),
                t(c, r),
                m || p || ((m = !0), ee || ((ee = !0), w()))),
            r
          );
        }),
        (e.unstable_shouldYield = re),
        (e.unstable_wrapCallback = function (e) {
          var t = f;
          return function () {
            var n = f;
            f = t;
            try {
              return e.apply(this, arguments);
            } finally {
              f = n;
            }
          };
        }));
    }),
    g = s((e) => {
      process.env.NODE_ENV !== `production` &&
        (function () {
          function t() {
            if (((x = !1), ne)) {
              var t = e.unstable_now();
              w = t;
              var n = !0;
              try {
                a: {
                  ((y = !1), b && ((b = !1), te(re), (re = -1)), (v = !0));
                  var a = _;
                  try {
                    b: {
                      for (
                        o(t), g = r(p);
                        g !== null && !(g.expirationTime > t && c());
                      ) {
                        var u = g.callback;
                        if (typeof u == `function`) {
                          ((g.callback = null), (_ = g.priorityLevel));
                          var d = u(g.expirationTime <= t);
                          if (
                            ((t = e.unstable_now()), typeof d == `function`)
                          ) {
                            ((g.callback = d), o(t), (n = !0));
                            break b;
                          }
                          (g === r(p) && i(p), o(t));
                        } else i(p);
                        g = r(p);
                      }
                      if (g !== null) n = !0;
                      else {
                        var f = r(m);
                        (f !== null && l(s, f.startTime - t), (n = !1));
                      }
                    }
                    break a;
                  } finally {
                    ((g = null), (_ = a), (v = !1));
                  }
                  n = void 0;
                }
              } finally {
                n ? ie() : (ne = !1);
              }
            }
          }
          function n(e, t) {
            var n = e.length;
            e.push(t);
            a: for (; 0 < n;) {
              var r = (n - 1) >>> 1,
                i = e[r];
              if (0 < a(i, t)) ((e[r] = t), (e[n] = i), (n = r));
              else break a;
            }
          }
          function r(e) {
            return e.length === 0 ? null : e[0];
          }
          function i(e) {
            if (e.length === 0) return null;
            var t = e[0],
              n = e.pop();
            if (n !== t) {
              e[0] = n;
              a: for (var r = 0, i = e.length, o = i >>> 1; r < o;) {
                var s = 2 * (r + 1) - 1,
                  c = e[s],
                  l = s + 1,
                  u = e[l];
                if (0 > a(c, n))
                  l < i && 0 > a(u, c)
                    ? ((e[r] = u), (e[l] = n), (r = l))
                    : ((e[r] = c), (e[s] = n), (r = s));
                else if (l < i && 0 > a(u, n))
                  ((e[r] = u), (e[l] = n), (r = l));
                else break a;
              }
            }
            return t;
          }
          function a(e, t) {
            var n = e.sortIndex - t.sortIndex;
            return n === 0 ? e.id - t.id : n;
          }
          function o(e) {
            for (var t = r(m); t !== null;) {
              if (t.callback === null) i(m);
              else if (t.startTime <= e)
                (i(m), (t.sortIndex = t.expirationTime), n(p, t));
              else break;
              t = r(m);
            }
          }
          function s(e) {
            if (((b = !1), o(e), !y))
              if (r(p) !== null) ((y = !0), ne || ((ne = !0), ie()));
              else {
                var t = r(m);
                t !== null && l(s, t.startTime - e);
              }
          }
          function c() {
            return x ? !0 : !(e.unstable_now() - w < C);
          }
          function l(t, n) {
            re = ee(function () {
              t(e.unstable_now());
            }, n);
          }
          if (
            (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
              typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ==
                `function` &&
              __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(
                Error(),
              ),
            (e.unstable_now = void 0),
            typeof performance == `object` &&
              typeof performance.now == `function`)
          ) {
            var u = performance;
            e.unstable_now = function () {
              return u.now();
            };
          } else {
            var d = Date,
              f = d.now();
            e.unstable_now = function () {
              return d.now() - f;
            };
          }
          var p = [],
            m = [],
            h = 1,
            g = null,
            _ = 3,
            v = !1,
            y = !1,
            b = !1,
            x = !1,
            ee = typeof setTimeout == `function` ? setTimeout : null,
            te = typeof clearTimeout == `function` ? clearTimeout : null,
            S = typeof setImmediate < `u` ? setImmediate : null,
            ne = !1,
            re = -1,
            C = 5,
            w = -1;
          if (typeof S == `function`)
            var ie = function () {
              S(t);
            };
          else if (typeof MessageChannel < `u`) {
            var T = new MessageChannel(),
              ae = T.port2;
            ((T.port1.onmessage = t),
              (ie = function () {
                ae.postMessage(null);
              }));
          } else
            ie = function () {
              ee(t, 0);
            };
          ((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 (e) {
              e.callback = null;
            }),
            (e.unstable_forceFrameRate = function (e) {
              0 > e || 125 < e
                ? console.error(
                    `forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`,
                  )
                : (C = 0 < e ? Math.floor(1e3 / e) : 5);
            }),
            (e.unstable_getCurrentPriorityLevel = function () {
              return _;
            }),
            (e.unstable_next = function (e) {
              switch (_) {
                case 1:
                case 2:
                case 3:
                  var t = 3;
                  break;
                default:
                  t = _;
              }
              var n = _;
              _ = t;
              try {
                return e();
              } finally {
                _ = n;
              }
            }),
            (e.unstable_requestPaint = function () {
              x = !0;
            }),
            (e.unstable_runWithPriority = function (e, t) {
              switch (e) {
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                  break;
                default:
                  e = 3;
              }
              var n = _;
              _ = e;
              try {
                return t();
              } finally {
                _ = n;
              }
            }),
            (e.unstable_scheduleCallback = function (t, i, a) {
              var o = e.unstable_now();
              switch (
                (typeof a == `object` && a
                  ? ((a = a.delay),
                    (a = typeof a == `number` && 0 < a ? o + a : o))
                  : (a = o),
                t)
              ) {
                case 1:
                  var c = -1;
                  break;
                case 2:
                  c = 250;
                  break;
                case 5:
                  c = 1073741823;
                  break;
                case 4:
                  c = 1e4;
                  break;
                default:
                  c = 5e3;
              }
              return (
                (c = a + c),
                (t = {
                  id: h++,
                  callback: i,
                  priorityLevel: t,
                  startTime: a,
                  expirationTime: c,
                  sortIndex: -1,
                }),
                a > o
                  ? ((t.sortIndex = a),
                    n(m, t),
                    r(p) === null &&
                      t === r(m) &&
                      (b ? (te(re), (re = -1)) : (b = !0), l(s, a - o)))
                  : ((t.sortIndex = c),
                    n(p, t),
                    y || v || ((y = !0), ne || ((ne = !0), ie()))),
                t
              );
            }),
            (e.unstable_shouldYield = c),
            (e.unstable_wrapCallback = function (e) {
              var t = _;
              return function () {
                var n = _;
                _ = t;
                try {
                  return e.apply(this, arguments);
                } finally {
                  _ = n;
                }
              };
            }),
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
              typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ==
                `function` &&
              __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(
                Error(),
              ));
        })();
    }),
    _ = s((e, t) => {
      process.env.NODE_ENV === `production`
        ? (t.exports = h())
        : (t.exports = g());
    }),
    v = s((e) => {
      var t = m();
      function n(e) {
        var t = `https://react.dev/errors/` + e;
        if (1 < arguments.length) {
          t += `?args[]=` + encodeURIComponent(arguments[1]);
          for (var n = 2; n < arguments.length; n++)
            t += `&args[]=` + encodeURIComponent(arguments[n]);
        }
        return (
          `Minified React error #` +
          e +
          `; visit ` +
          t +
          ` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`
        );
      }
      function r() {}
      var i = {
          d: {
            f: r,
            r: function () {
              throw Error(n(522));
            },
            D: r,
            C: r,
            L: r,
            m: r,
            X: r,
            S: r,
            M: r,
          },
          p: 0,
          findDOMNode: null,
        },
        a = Symbol.for(`react.portal`);
      function o(e, t, n) {
        var r =
          3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
        return {
          $$typeof: a,
          key: r == null ? null : `` + r,
          children: e,
          containerInfo: t,
          implementation: n,
        };
      }
      var s = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
      function c(e, t) {
        if (e === `font`) return ``;
        if (typeof t == `string`) return t === `use-credentials` ? t : ``;
      }
      ((e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i),
        (e.createPortal = function (e, t) {
          var r =
            2 < arguments.length && arguments[2] !== void 0
              ? arguments[2]
              : null;
          if (!t || (t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11))
            throw Error(n(299));
          return o(e, t, null, r);
        }),
        (e.flushSync = function (e) {
          var t = s.T,
            n = i.p;
          try {
            if (((s.T = null), (i.p = 2), e)) return e();
          } finally {
            ((s.T = t), (i.p = n), i.d.f());
          }
        }),
        (e.preconnect = function (e, t) {
          typeof e == `string` &&
            (t
              ? ((t = t.crossOrigin),
                (t =
                  typeof t == `string`
                    ? t === `use-credentials`
                      ? t
                      : ``
                    : void 0))
              : (t = null),
            i.d.C(e, t));
        }),
        (e.prefetchDNS = function (e) {
          typeof e == `string` && i.d.D(e);
        }),
        (e.preinit = function (e, t) {
          if (typeof e == `string` && t && typeof t.as == `string`) {
            var n = t.as,
              r = c(n, t.crossOrigin),
              a = typeof t.integrity == `string` ? t.integrity : void 0,
              o = typeof t.fetchPriority == `string` ? t.fetchPriority : void 0;
            n === `style`
              ? i.d.S(
                  e,
                  typeof t.precedence == `string` ? t.precedence : void 0,
                  { crossOrigin: r, integrity: a, fetchPriority: o },
                )
              : n === `script` &&
                i.d.X(e, {
                  crossOrigin: r,
                  integrity: a,
                  fetchPriority: o,
                  nonce: typeof t.nonce == `string` ? t.nonce : void 0,
                });
          }
        }),
        (e.preinitModule = function (e, t) {
          if (typeof e == `string`)
            if (typeof t == `object` && t) {
              if (t.as == null || t.as === `script`) {
                var n = c(t.as, t.crossOrigin);
                i.d.M(e, {
                  crossOrigin: n,
                  integrity:
                    typeof t.integrity == `string` ? t.integrity : void 0,
                  nonce: typeof t.nonce == `string` ? t.nonce : void 0,
                });
              }
            } else t ?? i.d.M(e);
        }),
        (e.preload = function (e, t) {
          if (
            typeof e == `string` &&
            typeof t == `object` &&
            t &&
            typeof t.as == `string`
          ) {
            var n = t.as,
              r = c(n, t.crossOrigin);
            i.d.L(e, n, {
              crossOrigin: r,
              integrity: typeof t.integrity == `string` ? t.integrity : void 0,
              nonce: typeof t.nonce == `string` ? t.nonce : void 0,
              type: typeof t.type == `string` ? t.type : void 0,
              fetchPriority:
                typeof t.fetchPriority == `string` ? t.fetchPriority : void 0,
              referrerPolicy:
                typeof t.referrerPolicy == `string` ? t.referrerPolicy : void 0,
              imageSrcSet:
                typeof t.imageSrcSet == `string` ? t.imageSrcSet : void 0,
              imageSizes:
                typeof t.imageSizes == `string` ? t.imageSizes : void 0,
              media: typeof t.media == `string` ? t.media : void 0,
            });
          }
        }),
        (e.preloadModule = function (e, t) {
          if (typeof e == `string`)
            if (t) {
              var n = c(t.as, t.crossOrigin);
              i.d.m(e, {
                as:
                  typeof t.as == `string` && t.as !== `script` ? t.as : void 0,
                crossOrigin: n,
                integrity:
                  typeof t.integrity == `string` ? t.integrity : void 0,
              });
            } else i.d.m(e);
        }),
        (e.requestFormReset = function (e) {
          i.d.r(e);
        }),
        (e.unstable_batchedUpdates = function (e, t) {
          return e(t);
        }),
        (e.useFormState = function (e, t, n) {
          return s.H.useFormState(e, t, n);
        }),
        (e.useFormStatus = function () {
          return s.H.useHostTransitionStatus();
        }),
        (e.version = `19.2.7`));
    }),
    y = s((e) => {
      process.env.NODE_ENV !== `production` &&
        (function () {
          function t() {}
          function n(e) {
            return `` + e;
          }
          function r(e, t, r) {
            var i =
              3 < arguments.length && arguments[3] !== void 0
                ? arguments[3]
                : null;
            try {
              n(i);
              var a = !1;
            } catch {
              a = !0;
            }
            return (
              a &&
                (console.error(
                  `The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,
                  (typeof Symbol == `function` &&
                    Symbol.toStringTag &&
                    i[Symbol.toStringTag]) ||
                    i.constructor.name ||
                    `Object`,
                ),
                n(i)),
              {
                $$typeof: u,
                key: i == null ? null : `` + i,
                children: e,
                containerInfo: t,
                implementation: r,
              }
            );
          }
          function i(e, t) {
            if (e === `font`) return ``;
            if (typeof t == `string`) return t === `use-credentials` ? t : ``;
          }
          function a(e) {
            return e === null
              ? "`null`"
              : e === void 0
                ? "`undefined`"
                : e === ``
                  ? `an empty string`
                  : `something with type "` + typeof e + `"`;
          }
          function o(e) {
            return e === null
              ? "`null`"
              : e === void 0
                ? "`undefined`"
                : e === ``
                  ? `an empty string`
                  : typeof e == `string`
                    ? JSON.stringify(e)
                    : typeof e == `number`
                      ? "`" + e + "`"
                      : `something with type "` + typeof e + `"`;
          }
          function s() {
            var e = d.H;
            return (
              e === null &&
                console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),
              e
            );
          }
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ==
              `function` &&
            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
          var c = m(),
            l = {
              d: {
                f: t,
                r: function () {
                  throw Error(
                    `Invalid form element. requestFormReset must be passed a form that was rendered by React.`,
                  );
                },
                D: t,
                C: t,
                L: t,
                m: t,
                X: t,
                S: t,
                M: t,
              },
              p: 0,
              findDOMNode: null,
            },
            u = Symbol.for(`react.portal`),
            d =
              c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
          ((typeof Map == `function` &&
            Map.prototype != null &&
            typeof Map.prototype.forEach == `function` &&
            typeof Set == `function` &&
            Set.prototype != null &&
            typeof Set.prototype.clear == `function` &&
            typeof Set.prototype.forEach == `function`) ||
            console.error(
              `React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills`,
            ),
            (e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
              l),
            (e.createPortal = function (e, t) {
              var n =
                2 < arguments.length && arguments[2] !== void 0
                  ? arguments[2]
                  : null;
              if (
                !t ||
                (t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11)
              )
                throw Error(`Target container is not a DOM element.`);
              return r(e, t, null, n);
            }),
            (e.flushSync = function (e) {
              var t = d.T,
                n = l.p;
              try {
                if (((d.T = null), (l.p = 2), e)) return e();
              } finally {
                ((d.T = t),
                  (l.p = n),
                  l.d.f() &&
                    console.error(
                      `flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.`,
                    ));
              }
            }),
            (e.preconnect = function (e, t) {
              (typeof e == `string` && e
                ? t != null && typeof t != `object`
                  ? console.error(
                      "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
                      o(t),
                    )
                  : t != null &&
                    typeof t.crossOrigin != `string` &&
                    console.error(
                      "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
                      a(t.crossOrigin),
                    )
                : console.error(
                    "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
                    a(e),
                  ),
                typeof e == `string` &&
                  (t
                    ? ((t = t.crossOrigin),
                      (t =
                        typeof t == `string`
                          ? t === `use-credentials`
                            ? t
                            : ``
                          : void 0))
                    : (t = null),
                  l.d.C(e, t)));
            }),
            (e.prefetchDNS = function (e) {
              if (typeof e != `string` || !e)
                console.error(
                  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
                  a(e),
                );
              else if (1 < arguments.length) {
                var t = arguments[1];
                typeof t == `object` && t.hasOwnProperty(`crossOrigin`)
                  ? console.error(
                      "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
                      o(t),
                    )
                  : console.error(
                      "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
                      o(t),
                    );
              }
              typeof e == `string` && l.d.D(e);
            }),
            (e.preinit = function (e, t) {
              if (
                (typeof e == `string` && e
                  ? typeof t != `object` || !t
                    ? console.error(
                        "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
                        o(t),
                      )
                    : t.as !== `style` &&
                      t.as !== `script` &&
                      console.error(
                        'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
                        o(t.as),
                      )
                  : console.error(
                      "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
                      a(e),
                    ),
                typeof e == `string` && t && typeof t.as == `string`)
              ) {
                var n = t.as,
                  r = i(n, t.crossOrigin),
                  s = typeof t.integrity == `string` ? t.integrity : void 0,
                  c =
                    typeof t.fetchPriority == `string`
                      ? t.fetchPriority
                      : void 0;
                n === `style`
                  ? l.d.S(
                      e,
                      typeof t.precedence == `string` ? t.precedence : void 0,
                      { crossOrigin: r, integrity: s, fetchPriority: c },
                    )
                  : n === `script` &&
                    l.d.X(e, {
                      crossOrigin: r,
                      integrity: s,
                      fetchPriority: c,
                      nonce: typeof t.nonce == `string` ? t.nonce : void 0,
                    });
              }
            }),
            (e.preinitModule = function (e, t) {
              var n = ``;
              if (
                ((typeof e == `string` && e) ||
                  (n += " The `href` argument encountered was " + a(e) + `.`),
                t !== void 0 && typeof t != `object`
                  ? (n +=
                      " The `options` argument encountered was " + a(t) + `.`)
                  : t &&
                    `as` in t &&
                    t.as !== `script` &&
                    (n += " The `as` option encountered was " + o(t.as) + `.`),
                n)
              )
                console.error(
                  "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
                  n,
                );
              else
                switch (
                  ((n = t && typeof t.as == `string` ? t.as : `script`), n)
                ) {
                  case `script`:
                    break;
                  default:
                    ((n = o(n)),
                      console.error(
                        'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
                        n,
                        e,
                      ));
                }
              typeof e == `string` &&
                (typeof t == `object` && t
                  ? (t.as == null || t.as === `script`) &&
                    ((n = i(t.as, t.crossOrigin)),
                    l.d.M(e, {
                      crossOrigin: n,
                      integrity:
                        typeof t.integrity == `string` ? t.integrity : void 0,
                      nonce: typeof t.nonce == `string` ? t.nonce : void 0,
                    }))
                  : (t ?? l.d.M(e)));
            }),
            (e.preload = function (e, t) {
              var n = ``;
              if (
                ((typeof e == `string` && e) ||
                  (n += " The `href` argument encountered was " + a(e) + `.`),
                typeof t != `object` || !t
                  ? (n +=
                      " The `options` argument encountered was " + a(t) + `.`)
                  : (typeof t.as == `string` && t.as) ||
                    (n += " The `as` option encountered was " + a(t.as) + `.`),
                n &&
                  console.error(
                    'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
                    n,
                  ),
                typeof e == `string` &&
                  typeof t == `object` &&
                  t &&
                  typeof t.as == `string`)
              ) {
                n = t.as;
                var r = i(n, t.crossOrigin);
                l.d.L(e, n, {
                  crossOrigin: r,
                  integrity:
                    typeof t.integrity == `string` ? t.integrity : void 0,
                  nonce: typeof t.nonce == `string` ? t.nonce : void 0,
                  type: typeof t.type == `string` ? t.type : void 0,
                  fetchPriority:
                    typeof t.fetchPriority == `string`
                      ? t.fetchPriority
                      : void 0,
                  referrerPolicy:
                    typeof t.referrerPolicy == `string`
                      ? t.referrerPolicy
                      : void 0,
                  imageSrcSet:
                    typeof t.imageSrcSet == `string` ? t.imageSrcSet : void 0,
                  imageSizes:
                    typeof t.imageSizes == `string` ? t.imageSizes : void 0,
                  media: typeof t.media == `string` ? t.media : void 0,
                });
              }
            }),
            (e.preloadModule = function (e, t) {
              var n = ``;
              ((typeof e == `string` && e) ||
                (n += " The `href` argument encountered was " + a(e) + `.`),
                t !== void 0 && typeof t != `object`
                  ? (n +=
                      " The `options` argument encountered was " + a(t) + `.`)
                  : t &&
                    `as` in t &&
                    typeof t.as != `string` &&
                    (n += " The `as` option encountered was " + a(t.as) + `.`),
                n &&
                  console.error(
                    'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
                    n,
                  ),
                typeof e == `string` &&
                  (t
                    ? ((n = i(t.as, t.crossOrigin)),
                      l.d.m(e, {
                        as:
                          typeof t.as == `string` && t.as !== `script`
                            ? t.as
                            : void 0,
                        crossOrigin: n,
                        integrity:
                          typeof t.integrity == `string` ? t.integrity : void 0,
                      }))
                    : l.d.m(e)));
            }),
            (e.requestFormReset = function (e) {
              l.d.r(e);
            }),
            (e.unstable_batchedUpdates = function (e, t) {
              return e(t);
            }),
            (e.useFormState = function (e, t, n) {
              return s().useFormState(e, t, n);
            }),
            (e.useFormStatus = function () {
              return s().useHostTransitionStatus();
            }),
            (e.version = `19.2.7`),
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
              typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ==
                `function` &&
              __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(
                Error(),
              ));
        })();
    }),
    b = s((e, t) => {
      function n() {
        if (!(
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > `u` ||
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != `function`
        )) {
          if (process.env.NODE_ENV !== `production`) throw Error(`^_^`);
          try {
            __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
          } catch (e) {
            console.error(e);
          }
        }
      }
      process.env.NODE_ENV === `production`
        ? (n(), (t.exports = v()))
        : (t.exports = y());
    }),
    x = s((e) => {
      var t = _(),
        n = m(),
        r = b();
      function i(e) {
        var t = `https://react.dev/errors/` + e;
        if (1 < arguments.length) {
          t += `?args[]=` + encodeURIComponent(arguments[1]);
          for (var n = 2; n < arguments.length; n++)
            t += `&args[]=` + encodeURIComponent(arguments[n]);
        }
        return (
          `Minified React error #` +
          e +
          `; visit ` +
          t +
          ` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`
        );
      }
      function a(e) {
        return !(
          !e ||
          (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
        );
      }
      function o(e) {
        var t = e,
          n = e;
        if (e.alternate) for (; t.return;) t = t.return;
        else {
          e = t;
          do ((t = e), t.flags & 4098 && (n = t.return), (e = t.return));
          while (e);
        }
        return t.tag === 3 ? n : null;
      }
      function s(e) {
        if (e.tag === 13) {
          var t = e.memoizedState;
          if (
            (t === null &&
              ((e = e.alternate), e !== null && (t = e.memoizedState)),
            t !== null)
          )
            return t.dehydrated;
        }
        return null;
      }
      function c(e) {
        if (e.tag === 31) {
          var t = e.memoizedState;
          if (
            (t === null &&
              ((e = e.alternate), e !== null && (t = e.memoizedState)),
            t !== null)
          )
            return t.dehydrated;
        }
        return null;
      }
      function l(e) {
        if (o(e) !== e) throw Error(i(188));
      }
      function u(e) {
        var t = e.alternate;
        if (!t) {
          if (((t = o(e)), t === null)) throw Error(i(188));
          return t === e ? e : null;
        }
        for (var n = e, r = t; ;) {
          var a = n.return;
          if (a === null) break;
          var s = a.alternate;
          if (s === null) {
            if (((r = a.return), r !== null)) {
              n = r;
              continue;
            }
            break;
          }
          if (a.child === s.child) {
            for (s = a.child; s;) {
              if (s === n) return (l(a), e);
              if (s === r) return (l(a), t);
              s = s.sibling;
            }
            throw Error(i(188));
          }
          if (n.return !== r.return) ((n = a), (r = s));
          else {
            for (var c = !1, u = a.child; u;) {
              if (u === n) {
                ((c = !0), (n = a), (r = s));
                break;
              }
              if (u === r) {
                ((c = !0), (r = a), (n = s));
                break;
              }
              u = u.sibling;
            }
            if (!c) {
              for (u = s.child; u;) {
                if (u === n) {
                  ((c = !0), (n = s), (r = a));
                  break;
                }
                if (u === r) {
                  ((c = !0), (r = s), (n = a));
                  break;
                }
                u = u.sibling;
              }
              if (!c) throw Error(i(189));
            }
          }
          if (n.alternate !== r) throw Error(i(190));
        }
        if (n.tag !== 3) throw Error(i(188));
        return n.stateNode.current === n ? e : t;
      }
      function d(e) {
        var t = e.tag;
        if (t === 5 || t === 26 || t === 27 || t === 6) return e;
        for (e = e.child; e !== null;) {
          if (((t = d(e)), t !== null)) return t;
          e = e.sibling;
        }
        return null;
      }
      var f = Object.assign,
        p = Symbol.for(`react.element`),
        h = Symbol.for(`react.transitional.element`),
        g = Symbol.for(`react.portal`),
        v = Symbol.for(`react.fragment`),
        y = Symbol.for(`react.strict_mode`),
        x = Symbol.for(`react.profiler`),
        ee = Symbol.for(`react.consumer`),
        te = Symbol.for(`react.context`),
        S = Symbol.for(`react.forward_ref`),
        ne = Symbol.for(`react.suspense`),
        re = Symbol.for(`react.suspense_list`),
        C = Symbol.for(`react.memo`),
        w = Symbol.for(`react.lazy`),
        ie = Symbol.for(`react.activity`),
        T = Symbol.for(`react.memo_cache_sentinel`),
        ae = Symbol.iterator;
      function oe(e) {
        return typeof e != `object` || !e
          ? null
          : ((e = (ae && e[ae]) || e[`@@iterator`]),
            typeof e == `function` ? e : null);
      }
      var E = Symbol.for(`react.client.reference`);
      function se(e) {
        if (e == null) return null;
        if (typeof e == `function`)
          return e.$$typeof === E ? null : e.displayName || e.name || null;
        if (typeof e == `string`) return e;
        switch (e) {
          case v:
            return `Fragment`;
          case x:
            return `Profiler`;
          case y:
            return `StrictMode`;
          case ne:
            return `Suspense`;
          case re:
            return `SuspenseList`;
          case ie:
            return `Activity`;
        }
        if (typeof e == `object`)
          switch (e.$$typeof) {
            case g:
              return `Portal`;
            case te:
              return e.displayName || `Context`;
            case ee:
              return (e._context.displayName || `Context`) + `.Consumer`;
            case S:
              var t = e.render;
              return (
                (e = e.displayName),
                (e ||=
                  ((e = t.displayName || t.name || ``),
                  e === `` ? `ForwardRef` : `ForwardRef(` + e + `)`)),
                e
              );
            case C:
              return (
                (t = e.displayName || null),
                t === null ? se(e.type) || `Memo` : t
              );
            case w:
              ((t = e._payload), (e = e._init));
              try {
                return se(e(t));
              } catch {}
          }
        return null;
      }
      var ce = Array.isArray,
        D = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
        O = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
        le = { pending: !1, data: null, method: null, action: null },
        ue = [],
        de = -1;
      function fe(e) {
        return { current: e };
      }
      function pe(e) {
        0 > de || ((e.current = ue[de]), (ue[de] = null), de--);
      }
      function k(e, t) {
        (de++, (ue[de] = e.current), (e.current = t));
      }
      var me = fe(null),
        he = fe(null),
        ge = fe(null),
        _e = fe(null);
      function ve(e, t) {
        switch ((k(ge, t), k(he, e), k(me, null), t.nodeType)) {
          case 9:
          case 11:
            e = (e = t.documentElement) && (e = e.namespaceURI) ? $d(e) : 0;
            break;
          default:
            if (((e = t.tagName), (t = t.namespaceURI)))
              ((t = $d(t)), (e = ef(t, e)));
            else
              switch (e) {
                case `svg`:
                  e = 1;
                  break;
                case `math`:
                  e = 2;
                  break;
                default:
                  e = 0;
              }
        }
        (pe(me), k(me, e));
      }
      function ye() {
        (pe(me), pe(he), pe(ge));
      }
      function be(e) {
        e.memoizedState !== null && k(_e, e);
        var t = me.current,
          n = ef(t, e.type);
        t !== n && (k(he, e), k(me, n));
      }
      function A(e) {
        (he.current === e && (pe(me), pe(he)),
          _e.current === e && (pe(_e), (cp._currentValue = le)));
      }
      var xe, Se;
      function Ce(e) {
        if (xe === void 0)
          try {
            throw Error();
          } catch (e) {
            var t = e.stack.trim().match(/\n( *(at )?)/);
            ((xe = (t && t[1]) || ``),
              (Se =
                -1 <
                e.stack.indexOf(`
    at`)
                  ? ` (<anonymous>)`
                  : -1 < e.stack.indexOf(`@`)
                    ? `@unknown:0:0`
                    : ``));
          }
        return (
          `
` +
          xe +
          e +
          Se
        );
      }
      var we = !1;
      function j(e, t) {
        if (!e || we) return ``;
        we = !0;
        var n = Error.prepareStackTrace;
        Error.prepareStackTrace = void 0;
        try {
          var r = {
            DetermineComponentFrameRoot: function () {
              try {
                if (t) {
                  var n = function () {
                    throw Error();
                  };
                  if (
                    (Object.defineProperty(n.prototype, "props", {
                      set: function () {
                        throw Error();
                      },
                    }),
                    typeof Reflect == `object` && Reflect.construct)
                  ) {
                    try {
                      Reflect.construct(n, []);
                    } catch (e) {
                      var r = e;
                    }
                    Reflect.construct(e, [], n);
                  } else {
                    try {
                      n.call();
                    } catch (e) {
                      r = e;
                    }
                    e.call(n.prototype);
                  }
                } else {
                  try {
                    throw Error();
                  } catch (e) {
                    r = e;
                  }
                  (n = e()) &&
                    typeof n.catch == `function` &&
                    n.catch(function () {});
                }
              } catch (e) {
                if (e && r && typeof e.stack == `string`)
                  return [e.stack, r.stack];
              }
              return [null, null];
            },
          };
          r.DetermineComponentFrameRoot.displayName = `DetermineComponentFrameRoot`;
          var i = Object.getOwnPropertyDescriptor(
            r.DetermineComponentFrameRoot,
            `name`,
          );
          i &&
            i.configurable &&
            Object.defineProperty(r.DetermineComponentFrameRoot, "name", {
              value: `DetermineComponentFrameRoot`,
            });
          var a = r.DetermineComponentFrameRoot(),
            o = a[0],
            s = a[1];
          if (o && s) {
            var c = o.split(`
`),
              l = s.split(`
`);
            for (
              i = r = 0;
              r < c.length && !c[r].includes(`DetermineComponentFrameRoot`);
            )
              r++;
            for (
              ;
              i < l.length && !l[i].includes(`DetermineComponentFrameRoot`);
            )
              i++;
            if (r === c.length || i === l.length)
              for (
                r = c.length - 1, i = l.length - 1;
                1 <= r && 0 <= i && c[r] !== l[i];
              )
                i--;
            for (; 1 <= r && 0 <= i; r--, i--)
              if (c[r] !== l[i]) {
                if (r !== 1 || i !== 1)
                  do
                    if ((r--, i--, 0 > i || c[r] !== l[i])) {
                      var u =
                        `
` + c[r].replace(` at new `, ` at `);
                      return (
                        e.displayName &&
                          u.includes(`<anonymous>`) &&
                          (u = u.replace(`<anonymous>`, e.displayName)),
                        u
                      );
                    }
                  while (1 <= r && 0 <= i);
                break;
              }
          }
        } finally {
          ((we = !1), (Error.prepareStackTrace = n));
        }
        return (n = e ? e.displayName || e.name : ``) ? Ce(n) : ``;
      }
      function Te(e, t) {
        switch (e.tag) {
          case 26:
          case 27:
          case 5:
            return Ce(e.type);
          case 16:
            return Ce(`Lazy`);
          case 13:
            return e.child !== t && t !== null
              ? Ce(`Suspense Fallback`)
              : Ce(`Suspense`);
          case 19:
            return Ce(`SuspenseList`);
          case 0:
          case 15:
            return j(e.type, !1);
          case 11:
            return j(e.type.render, !1);
          case 1:
            return j(e.type, !0);
          case 31:
            return Ce(`Activity`);
          default:
            return ``;
        }
      }
      function Ee(e) {
        try {
          var t = ``,
            n = null;
          do ((t += Te(e, n)), (n = e), (e = e.return));
          while (e);
          return t;
        } catch (e) {
          return (
            `
Error generating stack: ` +
            e.message +
            `
` +
            e.stack
          );
        }
      }
      var De = Object.prototype.hasOwnProperty,
        Oe = t.unstable_scheduleCallback,
        ke = t.unstable_cancelCallback,
        Ae = t.unstable_shouldYield,
        je = t.unstable_requestPaint,
        Me = t.unstable_now,
        Ne = t.unstable_getCurrentPriorityLevel,
        Pe = t.unstable_ImmediatePriority,
        Fe = t.unstable_UserBlockingPriority,
        Ie = t.unstable_NormalPriority,
        Le = t.unstable_LowPriority,
        Re = t.unstable_IdlePriority,
        ze = t.log,
        Be = t.unstable_setDisableYieldValue,
        Ve = null,
        He = null;
      function Ue(e) {
        if (
          (typeof ze == `function` && Be(e),
          He && typeof He.setStrictMode == `function`)
        )
          try {
            He.setStrictMode(Ve, e);
          } catch {}
      }
      var We = Math.clz32 ? Math.clz32 : qe,
        Ge = Math.log,
        Ke = Math.LN2;
      function qe(e) {
        return ((e >>>= 0), e === 0 ? 32 : (31 - ((Ge(e) / Ke) | 0)) | 0);
      }
      var Je = 256,
        Ye = 262144,
        Xe = 4194304;
      function Ze(e) {
        var t = e & 42;
        if (t !== 0) return t;
        switch (e & -e) {
          case 1:
            return 1;
          case 2:
            return 2;
          case 4:
            return 4;
          case 8:
            return 8;
          case 16:
            return 16;
          case 32:
            return 32;
          case 64:
            return 64;
          case 128:
            return 128;
          case 256:
          case 512:
          case 1024:
          case 2048:
          case 4096:
          case 8192:
          case 16384:
          case 32768:
          case 65536:
          case 131072:
            return e & 261888;
          case 262144:
          case 524288:
          case 1048576:
          case 2097152:
            return e & 3932160;
          case 4194304:
          case 8388608:
          case 16777216:
          case 33554432:
            return e & 62914560;
          case 67108864:
            return 67108864;
          case 134217728:
            return 134217728;
          case 268435456:
            return 268435456;
          case 536870912:
            return 536870912;
          case 1073741824:
            return 0;
          default:
            return e;
        }
      }
      function Qe(e, t, n) {
        var r = e.pendingLanes;
        if (r === 0) return 0;
        var i = 0,
          a = e.suspendedLanes,
          o = e.pingedLanes;
        e = e.warmLanes;
        var s = r & 134217727;
        return (
          s === 0
            ? ((s = r & ~a),
              s === 0
                ? o === 0
                  ? n || ((n = r & ~e), n !== 0 && (i = Ze(n)))
                  : (i = Ze(o))
                : (i = Ze(s)))
            : ((r = s & ~a),
              r === 0
                ? ((o &= s),
                  o === 0
                    ? n || ((n = s & ~e), n !== 0 && (i = Ze(n)))
                    : (i = Ze(o)))
                : (i = Ze(r))),
          i === 0
            ? 0
            : t !== 0 &&
                t !== i &&
                (t & a) === 0 &&
                ((a = i & -i),
                (n = t & -t),
                a >= n || (a === 32 && n & 4194048))
              ? t
              : i
        );
      }
      function $e(e, t) {
        return (
          (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0
        );
      }
      function et(e, t) {
        switch (e) {
          case 1:
          case 2:
          case 4:
          case 8:
          case 64:
            return t + 250;
          case 16:
          case 32:
          case 128:
          case 256:
          case 512:
          case 1024:
          case 2048:
          case 4096:
          case 8192:
          case 16384:
          case 32768:
          case 65536:
          case 131072:
          case 262144:
          case 524288:
          case 1048576:
          case 2097152:
            return t + 5e3;
          case 4194304:
          case 8388608:
          case 16777216:
          case 33554432:
            return -1;
          case 67108864:
          case 134217728:
          case 268435456:
          case 536870912:
          case 1073741824:
            return -1;
          default:
            return -1;
        }
      }
      function tt() {
        var e = Xe;
        return ((Xe <<= 1), !(Xe & 62914560) && (Xe = 4194304), e);
      }
      function nt(e) {
        for (var t = [], n = 0; 31 > n; n++) t.push(e);
        return t;
      }
      function rt(e, t) {
        ((e.pendingLanes |= t),
          t !== 268435456 &&
            ((e.suspendedLanes = 0), (e.pingedLanes = 0), (e.warmLanes = 0)));
      }
      function it(e, t, n, r, i, a) {
        var o = e.pendingLanes;
        ((e.pendingLanes = n),
          (e.suspendedLanes = 0),
          (e.pingedLanes = 0),
          (e.warmLanes = 0),
          (e.expiredLanes &= n),
          (e.entangledLanes &= n),
          (e.errorRecoveryDisabledLanes &= n),
          (e.shellSuspendCounter = 0));
        var s = e.entanglements,
          c = e.expirationTimes,
          l = e.hiddenUpdates;
        for (n = o & ~n; 0 < n;) {
          var u = 31 - We(n),
            d = 1 << u;
          ((s[u] = 0), (c[u] = -1));
          var f = l[u];
          if (f !== null)
            for (l[u] = null, u = 0; u < f.length; u++) {
              var p = f[u];
              p !== null && (p.lane &= -536870913);
            }
          n &= ~d;
        }
        (r !== 0 && at(e, r, 0),
          a !== 0 &&
            i === 0 &&
            e.tag !== 0 &&
            (e.suspendedLanes |= a & ~(o & ~t)));
      }
      function at(e, t, n) {
        ((e.pendingLanes |= t), (e.suspendedLanes &= ~t));
        var r = 31 - We(t);
        ((e.entangledLanes |= t),
          (e.entanglements[r] =
            e.entanglements[r] | 1073741824 | (n & 261930)));
      }
      function ot(e, t) {
        var n = (e.entangledLanes |= t);
        for (e = e.entanglements; n;) {
          var r = 31 - We(n),
            i = 1 << r;
          ((i & t) | (e[r] & t) && (e[r] |= t), (n &= ~i));
        }
      }
      function st(e, t) {
        var n = t & -t;
        return (
          (n = n & 42 ? 1 : ct(n)),
          (n & (e.suspendedLanes | t)) === 0 ? n : 0
        );
      }
      function ct(e) {
        switch (e) {
          case 2:
            e = 1;
            break;
          case 8:
            e = 4;
            break;
          case 32:
            e = 16;
            break;
          case 256:
          case 512:
          case 1024:
          case 2048:
          case 4096:
          case 8192:
          case 16384:
          case 32768:
          case 65536:
          case 131072:
          case 262144:
          case 524288:
          case 1048576:
          case 2097152:
          case 4194304:
          case 8388608:
          case 16777216:
          case 33554432:
            e = 128;
            break;
          case 268435456:
            e = 134217728;
            break;
          default:
            e = 0;
        }
        return e;
      }
      function lt(e) {
        return (
          (e &= -e),
          2 < e ? (8 < e ? (e & 134217727 ? 32 : 268435456) : 8) : 2
        );
      }
      function ut() {
        var e = O.p;
        return e === 0
          ? ((e = window.event), e === void 0 ? 32 : wp(e.type))
          : e;
      }
      function dt(e, t) {
        var n = O.p;
        try {
          return ((O.p = e), t());
        } finally {
          O.p = n;
        }
      }
      var ft = Math.random().toString(36).slice(2),
        pt = `__reactFiber$` + ft,
        mt = `__reactProps$` + ft,
        ht = `__reactContainer$` + ft,
        gt = `__reactEvents$` + ft,
        _t = `__reactListeners$` + ft,
        vt = `__reactHandles$` + ft,
        yt = `__reactResources$` + ft,
        bt = `__reactMarker$` + ft;
      function xt(e) {
        (delete e[pt], delete e[mt], delete e[gt], delete e[_t], delete e[vt]);
      }
      function St(e) {
        var t = e[pt];
        if (t) return t;
        for (var n = e.parentNode; n;) {
          if ((t = n[ht] || n[pt])) {
            if (
              ((n = t.alternate),
              t.child !== null || (n !== null && n.child !== null))
            )
              for (e = Cf(e); e !== null;) {
                if ((n = e[pt])) return n;
                e = Cf(e);
              }
            return t;
          }
          ((e = n), (n = e.parentNode));
        }
        return null;
      }
      function Ct(e) {
        if ((e = e[pt] || e[ht])) {
          var t = e.tag;
          if (
            t === 5 ||
            t === 6 ||
            t === 13 ||
            t === 31 ||
            t === 26 ||
            t === 27 ||
            t === 3
          )
            return e;
        }
        return null;
      }
      function M(e) {
        var t = e.tag;
        if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
        throw Error(i(33));
      }
      function wt(e) {
        var t = e[yt];
        return (
          (t ||= e[yt] =
            { hoistableStyles: new Map(), hoistableScripts: new Map() }),
          t
        );
      }
      function Tt(e) {
        e[bt] = !0;
      }
      var Et = new Set(),
        Dt = {};
      function Ot(e, t) {
        (kt(e, t), kt(e + `Capture`, t));
      }
      function kt(e, t) {
        for (Dt[e] = t, e = 0; e < t.length; e++) Et.add(t[e]);
      }
      var At = RegExp(
          `^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`,
        ),
        jt = {},
        Mt = {};
      function Nt(e) {
        return De.call(Mt, e)
          ? !0
          : De.call(jt, e)
            ? !1
            : At.test(e)
              ? (Mt[e] = !0)
              : ((jt[e] = !0), !1);
      }
      function Pt(e, t, n) {
        if (Nt(t))
          if (n === null) e.removeAttribute(t);
          else {
            switch (typeof n) {
              case `undefined`:
              case `function`:
              case `symbol`:
                e.removeAttribute(t);
                return;
              case `boolean`:
                var r = t.toLowerCase().slice(0, 5);
                if (r !== `data-` && r !== `aria-`) {
                  e.removeAttribute(t);
                  return;
                }
            }
            e.setAttribute(t, `` + n);
          }
      }
      function Ft(e, t, n) {
        if (n === null) e.removeAttribute(t);
        else {
          switch (typeof n) {
            case `undefined`:
            case `function`:
            case `symbol`:
            case `boolean`:
              e.removeAttribute(t);
              return;
          }
          e.setAttribute(t, `` + n);
        }
      }
      function It(e, t, n, r) {
        if (r === null) e.removeAttribute(n);
        else {
          switch (typeof r) {
            case `undefined`:
            case `function`:
            case `symbol`:
            case `boolean`:
              e.removeAttribute(n);
              return;
          }
          e.setAttributeNS(t, n, `` + r);
        }
      }
      function Lt(e) {
        switch (typeof e) {
          case `bigint`:
          case `boolean`:
          case `number`:
          case `string`:
          case `undefined`:
            return e;
          case `object`:
            return e;
          default:
            return ``;
        }
      }
      function Rt(e) {
        var t = e.type;
        return (
          (e = e.nodeName) &&
          e.toLowerCase() === `input` &&
          (t === `checkbox` || t === `radio`)
        );
      }
      function zt(e, t, n) {
        var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
        if (
          !e.hasOwnProperty(t) &&
          r !== void 0 &&
          typeof r.get == `function` &&
          typeof r.set == `function`
        ) {
          var i = r.get,
            a = r.set;
          return (
            Object.defineProperty(e, t, {
              configurable: !0,
              get: function () {
                return i.call(this);
              },
              set: function (e) {
                ((n = `` + e), a.call(this, e));
              },
            }),
            Object.defineProperty(e, t, { enumerable: r.enumerable }),
            {
              getValue: function () {
                return n;
              },
              setValue: function (e) {
                n = `` + e;
              },
              stopTracking: function () {
                ((e._valueTracker = null), delete e[t]);
              },
            }
          );
        }
      }
      function Bt(e) {
        if (!e._valueTracker) {
          var t = Rt(e) ? `checked` : `value`;
          e._valueTracker = zt(e, t, `` + e[t]);
        }
      }
      function Vt(e) {
        if (!e) return !1;
        var t = e._valueTracker;
        if (!t) return !0;
        var n = t.getValue(),
          r = ``;
        return (
          e && (r = Rt(e) ? (e.checked ? `true` : `false`) : e.value),
          (e = r),
          e === n ? !1 : (t.setValue(e), !0)
        );
      }
      function Ht(e) {
        if (((e ||= typeof document < `u` ? document : void 0), e === void 0))
          return null;
        try {
          return e.activeElement || e.body;
        } catch {
          return e.body;
        }
      }
      var Ut = /[\n"\\]/g;
      function Wt(e) {
        return e.replace(Ut, function (e) {
          return `\\` + e.charCodeAt(0).toString(16) + ` `;
        });
      }
      function Gt(e, t, n, r, i, a, o, s) {
        ((e.name = ``),
          o != null &&
          typeof o != `function` &&
          typeof o != `symbol` &&
          typeof o != `boolean`
            ? (e.type = o)
            : e.removeAttribute(`type`),
          t == null
            ? (o !== `submit` && o !== `reset`) || e.removeAttribute(`value`)
            : o === `number`
              ? ((t === 0 && e.value === ``) || e.value != t) &&
                (e.value = `` + Lt(t))
              : e.value !== `` + Lt(t) && (e.value = `` + Lt(t)),
          t == null
            ? n == null
              ? r != null && e.removeAttribute(`value`)
              : qt(e, o, Lt(n))
            : qt(e, o, Lt(t)),
          i == null && a != null && (e.defaultChecked = !!a),
          i != null &&
            (e.checked = i && typeof i != `function` && typeof i != `symbol`),
          s != null &&
          typeof s != `function` &&
          typeof s != `symbol` &&
          typeof s != `boolean`
            ? (e.name = `` + Lt(s))
            : e.removeAttribute(`name`));
      }
      function Kt(e, t, n, r, i, a, o, s) {
        if (
          (a != null &&
            typeof a != `function` &&
            typeof a != `symbol` &&
            typeof a != `boolean` &&
            (e.type = a),
          t != null || n != null)
        ) {
          if (!((a !== `submit` && a !== `reset`) || t != null)) {
            Bt(e);
            return;
          }
          ((n = n == null ? `` : `` + Lt(n)),
            (t = t == null ? n : `` + Lt(t)),
            s || t === e.value || (e.value = t),
            (e.defaultValue = t));
        }
        ((r ??= i),
          (r = typeof r != `function` && typeof r != `symbol` && !!r),
          (e.checked = s ? e.checked : !!r),
          (e.defaultChecked = !!r),
          o != null &&
            typeof o != `function` &&
            typeof o != `symbol` &&
            typeof o != `boolean` &&
            (e.name = o),
          Bt(e));
      }
      function qt(e, t, n) {
        (t === `number` && Ht(e.ownerDocument) === e) ||
          e.defaultValue === `` + n ||
          (e.defaultValue = `` + n);
      }
      function Jt(e, t, n, r) {
        if (((e = e.options), t)) {
          t = {};
          for (var i = 0; i < n.length; i++) t[`$` + n[i]] = !0;
          for (n = 0; n < e.length; n++)
            ((i = t.hasOwnProperty(`$` + e[n].value)),
              e[n].selected !== i && (e[n].selected = i),
              i && r && (e[n].defaultSelected = !0));
        } else {
          for (n = `` + Lt(n), t = null, i = 0; i < e.length; i++) {
            if (e[i].value === n) {
              ((e[i].selected = !0), r && (e[i].defaultSelected = !0));
              return;
            }
            t !== null || e[i].disabled || (t = e[i]);
          }
          t !== null && (t.selected = !0);
        }
      }
      function Yt(e, t, n) {
        if (
          t != null &&
          ((t = `` + Lt(t)), t !== e.value && (e.value = t), n == null)
        ) {
          e.defaultValue !== t && (e.defaultValue = t);
          return;
        }
        e.defaultValue = n == null ? `` : `` + Lt(n);
      }
      function Xt(e, t, n, r) {
        if (t == null) {
          if (r != null) {
            if (n != null) throw Error(i(92));
            if (ce(r)) {
              if (1 < r.length) throw Error(i(93));
              r = r[0];
            }
            n = r;
          }
          ((n ??= ``), (t = n));
        }
        ((n = Lt(t)),
          (e.defaultValue = n),
          (r = e.textContent),
          r === n && r !== `` && r !== null && (e.value = r),
          Bt(e));
      }
      function Zt(e, t) {
        if (t) {
          var n = e.firstChild;
          if (n && n === e.lastChild && n.nodeType === 3) {
            n.nodeValue = t;
            return;
          }
        }
        e.textContent = t;
      }
      var Qt = new Set(
        `animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(
          ` `,
        ),
      );
      function $t(e, t, n) {
        var r = t.indexOf(`--`) === 0;
        n == null || typeof n == `boolean` || n === ``
          ? r
            ? e.setProperty(t, ``)
            : t === `float`
              ? (e.cssFloat = ``)
              : (e[t] = ``)
          : r
            ? e.setProperty(t, n)
            : typeof n != `number` || n === 0 || Qt.has(t)
              ? t === `float`
                ? (e.cssFloat = n)
                : (e[t] = (`` + n).trim())
              : (e[t] = n + `px`);
      }
      function en(e, t, n) {
        if (t != null && typeof t != `object`) throw Error(i(62));
        if (((e = e.style), n != null)) {
          for (var r in n)
            !n.hasOwnProperty(r) ||
              (t != null && t.hasOwnProperty(r)) ||
              (r.indexOf(`--`) === 0
                ? e.setProperty(r, ``)
                : r === `float`
                  ? (e.cssFloat = ``)
                  : (e[r] = ``));
          for (var a in t)
            ((r = t[a]), t.hasOwnProperty(a) && n[a] !== r && $t(e, a, r));
        } else for (var o in t) t.hasOwnProperty(o) && $t(e, o, t[o]);
      }
      function tn(e) {
        if (e.indexOf(`-`) === -1) return !1;
        switch (e) {
          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 nn = new Map([
          [`acceptCharset`, `accept-charset`],
          [`htmlFor`, `for`],
          [`httpEquiv`, `http-equiv`],
          [`crossOrigin`, `crossorigin`],
          [`accentHeight`, `accent-height`],
          [`alignmentBaseline`, `alignment-baseline`],
          [`arabicForm`, `arabic-form`],
          [`baselineShift`, `baseline-shift`],
          [`capHeight`, `cap-height`],
          [`clipPath`, `clip-path`],
          [`clipRule`, `clip-rule`],
          [`colorInterpolation`, `color-interpolation`],
          [`colorInterpolationFilters`, `color-interpolation-filters`],
          [`colorProfile`, `color-profile`],
          [`colorRendering`, `color-rendering`],
          [`dominantBaseline`, `dominant-baseline`],
          [`enableBackground`, `enable-background`],
          [`fillOpacity`, `fill-opacity`],
          [`fillRule`, `fill-rule`],
          [`floodColor`, `flood-color`],
          [`floodOpacity`, `flood-opacity`],
          [`fontFamily`, `font-family`],
          [`fontSize`, `font-size`],
          [`fontSizeAdjust`, `font-size-adjust`],
          [`fontStretch`, `font-stretch`],
          [`fontStyle`, `font-style`],
          [`fontVariant`, `font-variant`],
          [`fontWeight`, `font-weight`],
          [`glyphName`, `glyph-name`],
          [`glyphOrientationHorizontal`, `glyph-orientation-horizontal`],
          [`glyphOrientationVertical`, `glyph-orientation-vertical`],
          [`horizAdvX`, `horiz-adv-x`],
          [`horizOriginX`, `horiz-origin-x`],
          [`imageRendering`, `image-rendering`],
          [`letterSpacing`, `letter-spacing`],
          [`lightingColor`, `lighting-color`],
          [`markerEnd`, `marker-end`],
          [`markerMid`, `marker-mid`],
          [`markerStart`, `marker-start`],
          [`overlinePosition`, `overline-position`],
          [`overlineThickness`, `overline-thickness`],
          [`paintOrder`, `paint-order`],
          [`panose-1`, `panose-1`],
          [`pointerEvents`, `pointer-events`],
          [`renderingIntent`, `rendering-intent`],
          [`shapeRendering`, `shape-rendering`],
          [`stopColor`, `stop-color`],
          [`stopOpacity`, `stop-opacity`],
          [`strikethroughPosition`, `strikethrough-position`],
          [`strikethroughThickness`, `strikethrough-thickness`],
          [`strokeDasharray`, `stroke-dasharray`],
          [`strokeDashoffset`, `stroke-dashoffset`],
          [`strokeLinecap`, `stroke-linecap`],
          [`strokeLinejoin`, `stroke-linejoin`],
          [`strokeMiterlimit`, `stroke-miterlimit`],
          [`strokeOpacity`, `stroke-opacity`],
          [`strokeWidth`, `stroke-width`],
          [`textAnchor`, `text-anchor`],
          [`textDecoration`, `text-decoration`],
          [`textRendering`, `text-rendering`],
          [`transformOrigin`, `transform-origin`],
          [`underlinePosition`, `underline-position`],
          [`underlineThickness`, `underline-thickness`],
          [`unicodeBidi`, `unicode-bidi`],
          [`unicodeRange`, `unicode-range`],
          [`unitsPerEm`, `units-per-em`],
          [`vAlphabetic`, `v-alphabetic`],
          [`vHanging`, `v-hanging`],
          [`vIdeographic`, `v-ideographic`],
          [`vMathematical`, `v-mathematical`],
          [`vectorEffect`, `vector-effect`],
          [`vertAdvY`, `vert-adv-y`],
          [`vertOriginX`, `vert-origin-x`],
          [`vertOriginY`, `vert-origin-y`],
          [`wordSpacing`, `word-spacing`],
          [`writingMode`, `writing-mode`],
          [`xmlnsXlink`, `xmlns:xlink`],
          [`xHeight`, `x-height`],
        ]),
        rn =
          /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
      function an(e) {
        return rn.test(`` + e)
          ? `javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`
          : e;
      }
      function on() {}
      var sn = null;
      function cn(e) {
        return (
          (e = e.target || e.srcElement || window),
          e.correspondingUseElement && (e = e.correspondingUseElement),
          e.nodeType === 3 ? e.parentNode : e
        );
      }
      var ln = null,
        un = null;
      function dn(e) {
        var t = Ct(e);
        if (t && (e = t.stateNode)) {
          var n = e[mt] || null;
          a: switch (((e = t.stateNode), t.type)) {
            case `input`:
              if (
                (Gt(
                  e,
                  n.value,
                  n.defaultValue,
                  n.defaultValue,
                  n.checked,
                  n.defaultChecked,
                  n.type,
                  n.name,
                ),
                (t = n.name),
                n.type === `radio` && t != null)
              ) {
                for (n = e; n.parentNode;) n = n.parentNode;
                for (
                  n = n.querySelectorAll(
                    `input[name="` + Wt(`` + t) + `"][type="radio"]`,
                  ),
                    t = 0;
                  t < n.length;
                  t++
                ) {
                  var r = n[t];
                  if (r !== e && r.form === e.form) {
                    var a = r[mt] || null;
                    if (!a) throw Error(i(90));
                    Gt(
                      r,
                      a.value,
                      a.defaultValue,
                      a.defaultValue,
                      a.checked,
                      a.defaultChecked,
                      a.type,
                      a.name,
                    );
                  }
                }
                for (t = 0; t < n.length; t++)
                  ((r = n[t]), r.form === e.form && Vt(r));
              }
              break a;
            case `textarea`:
              Yt(e, n.value, n.defaultValue);
              break a;
            case `select`:
              ((t = n.value), t != null && Jt(e, !!n.multiple, t, !1));
          }
        }
      }
      var fn = !1;
      function pn(e, t, n) {
        if (fn) return e(t, n);
        fn = !0;
        try {
          return e(t);
        } finally {
          if (
            ((fn = !1),
            (ln !== null || un !== null) &&
              (Au(), ln && ((t = ln), (e = un), (un = ln = null), dn(t), e)))
          )
            for (t = 0; t < e.length; t++) dn(e[t]);
        }
      }
      function mn(e, t) {
        var n = e.stateNode;
        if (n === null) return null;
        var r = n[mt] || null;
        if (r === null) return null;
        n = r[t];
        a: switch (t) {
          case `onClick`:
          case `onClickCapture`:
          case `onDoubleClick`:
          case `onDoubleClickCapture`:
          case `onMouseDown`:
          case `onMouseDownCapture`:
          case `onMouseMove`:
          case `onMouseMoveCapture`:
          case `onMouseUp`:
          case `onMouseUpCapture`:
          case `onMouseEnter`:
            ((r = !r.disabled) ||
              ((e = e.type),
              (r = !(
                e === `button` ||
                e === `input` ||
                e === `select` ||
                e === `textarea`
              ))),
              (e = !r));
            break a;
          default:
            e = !1;
        }
        if (e) return null;
        if (n && typeof n != `function`) throw Error(i(231, t, typeof n));
        return n;
      }
      var hn = !(
          typeof window > `u` ||
          window.document === void 0 ||
          window.document.createElement === void 0
        ),
        gn = !1;
      if (hn)
        try {
          var _n = {};
          (Object.defineProperty(_n, "passive", {
            get: function () {
              gn = !0;
            },
          }),
            window.addEventListener(`test`, _n, _n),
            window.removeEventListener(`test`, _n, _n));
        } catch {
          gn = !1;
        }
      var vn = null,
        yn = null,
        bn = null;
      function xn() {
        if (bn) return bn;
        var e,
          t = yn,
          n = t.length,
          r,
          i = `value` in vn ? vn.value : vn.textContent,
          a = i.length;
        for (e = 0; e < n && t[e] === i[e]; e++);
        var o = n - e;
        for (r = 1; r <= o && t[n - r] === i[a - r]; r++);
        return (bn = i.slice(e, 1 < r ? 1 - r : void 0));
      }
      function Sn(e) {
        var t = e.keyCode;
        return (
          `charCode` in e
            ? ((e = e.charCode), e === 0 && t === 13 && (e = 13))
            : (e = t),
          e === 10 && (e = 13),
          32 <= e || e === 13 ? e : 0
        );
      }
      function Cn() {
        return !0;
      }
      function wn() {
        return !1;
      }
      function Tn(e) {
        function t(t, n, r, i, a) {
          for (var o in ((this._reactName = t),
          (this._targetInst = r),
          (this.type = n),
          (this.nativeEvent = i),
          (this.target = a),
          (this.currentTarget = null),
          e))
            e.hasOwnProperty(o) && ((t = e[o]), (this[o] = t ? t(i) : i[o]));
          return (
            (this.isDefaultPrevented = (
              i.defaultPrevented == null
                ? !1 === i.returnValue
                : i.defaultPrevented
            )
              ? Cn
              : wn),
            (this.isPropagationStopped = wn),
            this
          );
        }
        return (
          f(t.prototype, {
            preventDefault: function () {
              this.defaultPrevented = !0;
              var e = this.nativeEvent;
              e &&
                (e.preventDefault
                  ? e.preventDefault()
                  : typeof e.returnValue != `unknown` && (e.returnValue = !1),
                (this.isDefaultPrevented = Cn));
            },
            stopPropagation: function () {
              var e = this.nativeEvent;
              e &&
                (e.stopPropagation
                  ? e.stopPropagation()
                  : typeof e.cancelBubble != `unknown` && (e.cancelBubble = !0),
                (this.isPropagationStopped = Cn));
            },
            persist: function () {},
            isPersistent: Cn,
          }),
          t
        );
      }
      var En = {
          eventPhase: 0,
          bubbles: 0,
          cancelable: 0,
          timeStamp: function (e) {
            return e.timeStamp || Date.now();
          },
          defaultPrevented: 0,
          isTrusted: 0,
        },
        Dn = Tn(En),
        On = f({}, En, { view: 0, detail: 0 }),
        kn = Tn(On),
        An,
        jn,
        Mn,
        Nn = f({}, On, {
          screenX: 0,
          screenY: 0,
          clientX: 0,
          clientY: 0,
          pageX: 0,
          pageY: 0,
          ctrlKey: 0,
          shiftKey: 0,
          altKey: 0,
          metaKey: 0,
          getModifierState: Wn,
          button: 0,
          buttons: 0,
          relatedTarget: function (e) {
            return e.relatedTarget === void 0
              ? e.fromElement === e.srcElement
                ? e.toElement
                : e.fromElement
              : e.relatedTarget;
          },
          movementX: function (e) {
            return `movementX` in e
              ? e.movementX
              : (e !== Mn &&
                  (Mn && e.type === `mousemove`
                    ? ((An = e.screenX - Mn.screenX),
                      (jn = e.screenY - Mn.screenY))
                    : (jn = An = 0),
                  (Mn = e)),
                An);
          },
          movementY: function (e) {
            return `movementY` in e ? e.movementY : jn;
          },
        }),
        Pn = Tn(Nn),
        Fn = Tn(f({}, Nn, { dataTransfer: 0 })),
        In = Tn(f({}, On, { relatedTarget: 0 })),
        Ln = Tn(
          f({}, En, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }),
        ),
        Rn = Tn(
          f({}, En, {
            clipboardData: function (e) {
              return `clipboardData` in e
                ? e.clipboardData
                : window.clipboardData;
            },
          }),
        ),
        zn = Tn(f({}, En, { data: 0 })),
        Bn = {
          Esc: `Escape`,
          Spacebar: ` `,
          Left: `ArrowLeft`,
          Up: `ArrowUp`,
          Right: `ArrowRight`,
          Down: `ArrowDown`,
          Del: `Delete`,
          Win: `OS`,
          Menu: `ContextMenu`,
          Apps: `ContextMenu`,
          Scroll: `ScrollLock`,
          MozPrintableKey: `Unidentified`,
        },
        Vn = {
          8: `Backspace`,
          9: `Tab`,
          12: `Clear`,
          13: `Enter`,
          16: `Shift`,
          17: `Control`,
          18: `Alt`,
          19: `Pause`,
          20: `CapsLock`,
          27: `Escape`,
          32: ` `,
          33: `PageUp`,
          34: `PageDown`,
          35: `End`,
          36: `Home`,
          37: `ArrowLeft`,
          38: `ArrowUp`,
          39: `ArrowRight`,
          40: `ArrowDown`,
          45: `Insert`,
          46: `Delete`,
          112: `F1`,
          113: `F2`,
          114: `F3`,
          115: `F4`,
          116: `F5`,
          117: `F6`,
          118: `F7`,
          119: `F8`,
          120: `F9`,
          121: `F10`,
          122: `F11`,
          123: `F12`,
          144: `NumLock`,
          145: `ScrollLock`,
          224: `Meta`,
        },
        Hn = {
          Alt: `altKey`,
          Control: `ctrlKey`,
          Meta: `metaKey`,
          Shift: `shiftKey`,
        };
      function Un(e) {
        var t = this.nativeEvent;
        return t.getModifierState
          ? t.getModifierState(e)
          : (e = Hn[e])
            ? !!t[e]
            : !1;
      }
      function Wn() {
        return Un;
      }
      var Gn = Tn(
          f({}, On, {
            key: function (e) {
              if (e.key) {
                var t = Bn[e.key] || e.key;
                if (t !== `Unidentified`) return t;
              }
              return e.type === `keypress`
                ? ((e = Sn(e)), e === 13 ? `Enter` : String.fromCharCode(e))
                : e.type === `keydown` || e.type === `keyup`
                  ? Vn[e.keyCode] || `Unidentified`
                  : ``;
            },
            code: 0,
            location: 0,
            ctrlKey: 0,
            shiftKey: 0,
            altKey: 0,
            metaKey: 0,
            repeat: 0,
            locale: 0,
            getModifierState: Wn,
            charCode: function (e) {
              return e.type === `keypress` ? Sn(e) : 0;
            },
            keyCode: function (e) {
              return e.type === `keydown` || e.type === `keyup` ? e.keyCode : 0;
            },
            which: function (e) {
              return e.type === `keypress`
                ? Sn(e)
                : e.type === `keydown` || e.type === `keyup`
                  ? e.keyCode
                  : 0;
            },
          }),
        ),
        Kn = Tn(
          f({}, Nn, {
            pointerId: 0,
            width: 0,
            height: 0,
            pressure: 0,
            tangentialPressure: 0,
            tiltX: 0,
            tiltY: 0,
            twist: 0,
            pointerType: 0,
            isPrimary: 0,
          }),
        ),
        qn = Tn(
          f({}, On, {
            touches: 0,
            targetTouches: 0,
            changedTouches: 0,
            altKey: 0,
            metaKey: 0,
            ctrlKey: 0,
            shiftKey: 0,
            getModifierState: Wn,
          }),
        ),
        Jn = Tn(
          f({}, En, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }),
        ),
        Yn = Tn(
          f({}, Nn, {
            deltaX: function (e) {
              return `deltaX` in e
                ? e.deltaX
                : `wheelDeltaX` in e
                  ? -e.wheelDeltaX
                  : 0;
            },
            deltaY: function (e) {
              return `deltaY` in e
                ? e.deltaY
                : `wheelDeltaY` in e
                  ? -e.wheelDeltaY
                  : `wheelDelta` in e
                    ? -e.wheelDelta
                    : 0;
            },
            deltaZ: 0,
            deltaMode: 0,
          }),
        ),
        Xn = Tn(f({}, En, { newState: 0, oldState: 0 })),
        Zn = [9, 13, 27, 32],
        Qn = hn && `CompositionEvent` in window,
        $n = null;
      hn && `documentMode` in document && ($n = document.documentMode);
      var er = hn && `TextEvent` in window && !$n,
        tr = hn && (!Qn || ($n && 8 < $n && 11 >= $n)),
        nr = ` `,
        rr = !1;
      function ir(e, t) {
        switch (e) {
          case `keyup`:
            return Zn.indexOf(t.keyCode) !== -1;
          case `keydown`:
            return t.keyCode !== 229;
          case `keypress`:
          case `mousedown`:
          case `focusout`:
            return !0;
          default:
            return !1;
        }
      }
      function ar(e) {
        return (
          (e = e.detail),
          typeof e == `object` && `data` in e ? e.data : null
        );
      }
      var or = !1;
      function sr(e, t) {
        switch (e) {
          case `compositionend`:
            return ar(t);
          case `keypress`:
            return t.which === 32 ? ((rr = !0), nr) : null;
          case `textInput`:
            return ((e = t.data), e === nr && rr ? null : e);
          default:
            return null;
        }
      }
      function cr(e, t) {
        if (or)
          return e === `compositionend` || (!Qn && ir(e, t))
            ? ((e = xn()), (bn = yn = vn = null), (or = !1), e)
            : null;
        switch (e) {
          case `paste`:
            return null;
          case `keypress`:
            if (
              !(t.ctrlKey || t.altKey || t.metaKey) ||
              (t.ctrlKey && t.altKey)
            ) {
              if (t.char && 1 < t.char.length) return t.char;
              if (t.which) return String.fromCharCode(t.which);
            }
            return null;
          case `compositionend`:
            return tr && t.locale !== `ko` ? null : t.data;
          default:
            return null;
        }
      }
      var lr = {
        color: !0,
        date: !0,
        datetime: !0,
        "datetime-local": !0,
        email: !0,
        month: !0,
        number: !0,
        password: !0,
        range: !0,
        search: !0,
        tel: !0,
        text: !0,
        time: !0,
        url: !0,
        week: !0,
      };
      function ur(e) {
        var t = e && e.nodeName && e.nodeName.toLowerCase();
        return t === `input` ? !!lr[e.type] : t === `textarea`;
      }
      function dr(e, t, n, r) {
        (ln ? (un ? un.push(r) : (un = [r])) : (ln = r),
          (t = Ld(t, `onChange`)),
          0 < t.length &&
            ((n = new Dn(`onChange`, `change`, null, n, r)),
            e.push({ event: n, listeners: t })));
      }
      var fr = null,
        pr = null;
      function mr(e) {
        Ad(e, 0);
      }
      function hr(e) {
        if (Vt(M(e))) return e;
      }
      function gr(e, t) {
        if (e === `change`) return t;
      }
      var _r = !1;
      if (hn) {
        var vr;
        if (hn) {
          var yr = `oninput` in document;
          if (!yr) {
            var br = document.createElement(`div`);
            (br.setAttribute(`oninput`, `return;`),
              (yr = typeof br.oninput == `function`));
          }
          vr = yr;
        } else vr = !1;
        _r = vr && (!document.documentMode || 9 < document.documentMode);
      }
      function xr() {
        fr && (fr.detachEvent(`onpropertychange`, Sr), (pr = fr = null));
      }
      function Sr(e) {
        if (e.propertyName === `value` && hr(pr)) {
          var t = [];
          (dr(t, pr, e, cn(e)), pn(mr, t));
        }
      }
      function Cr(e, t, n) {
        e === `focusin`
          ? (xr(), (fr = t), (pr = n), fr.attachEvent(`onpropertychange`, Sr))
          : e === `focusout` && xr();
      }
      function wr(e) {
        if (e === `selectionchange` || e === `keyup` || e === `keydown`)
          return hr(pr);
      }
      function Tr(e, t) {
        if (e === `click`) return hr(t);
      }
      function Er(e, t) {
        if (e === `input` || e === `change`) return hr(t);
      }
      function Dr(e, t) {
        return (e === t && (e !== 0 || 1 / e == 1 / t)) || (e !== e && t !== t);
      }
      var Or = typeof Object.is == `function` ? Object.is : Dr;
      function kr(e, t) {
        if (Or(e, t)) return !0;
        if (typeof e != `object` || !e || typeof t != `object` || !t) return !1;
        var n = Object.keys(e),
          r = Object.keys(t);
        if (n.length !== r.length) return !1;
        for (r = 0; r < n.length; r++) {
          var i = n[r];
          if (!De.call(t, i) || !Or(e[i], t[i])) return !1;
        }
        return !0;
      }
      function Ar(e) {
        for (; e && e.firstChild;) e = e.firstChild;
        return e;
      }
      function jr(e, t) {
        var n = Ar(e);
        e = 0;
        for (var r; n;) {
          if (n.nodeType === 3) {
            if (((r = e + n.textContent.length), e <= t && r >= t))
              return { node: n, offset: t - e };
            e = r;
          }
          a: {
            for (; n;) {
              if (n.nextSibling) {
                n = n.nextSibling;
                break a;
              }
              n = n.parentNode;
            }
            n = void 0;
          }
          n = Ar(n);
        }
      }
      function Mr(e, t) {
        return e && t
          ? e === t
            ? !0
            : e && e.nodeType === 3
              ? !1
              : t && t.nodeType === 3
                ? Mr(e, t.parentNode)
                : `contains` in e
                  ? e.contains(t)
                  : e.compareDocumentPosition
                    ? !!(e.compareDocumentPosition(t) & 16)
                    : !1
          : !1;
      }
      function Nr(e) {
        e =
          e != null &&
          e.ownerDocument != null &&
          e.ownerDocument.defaultView != null
            ? e.ownerDocument.defaultView
            : window;
        for (var t = Ht(e.document); t instanceof e.HTMLIFrameElement;) {
          try {
            var n = typeof t.contentWindow.location.href == `string`;
          } catch {
            n = !1;
          }
          if (n) e = t.contentWindow;
          else break;
          t = Ht(e.document);
        }
        return t;
      }
      function Pr(e) {
        var t = e && e.nodeName && e.nodeName.toLowerCase();
        return (
          t &&
          ((t === `input` &&
            (e.type === `text` ||
              e.type === `search` ||
              e.type === `tel` ||
              e.type === `url` ||
              e.type === `password`)) ||
            t === `textarea` ||
            e.contentEditable === `true`)
        );
      }
      var Fr = hn && `documentMode` in document && 11 >= document.documentMode,
        Ir = null,
        Lr = null,
        Rr = null,
        zr = !1;
      function Br(e, t, n) {
        var r =
          n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
        zr ||
          Ir == null ||
          Ir !== Ht(r) ||
          ((r = Ir),
          `selectionStart` in r && Pr(r)
            ? (r = { start: r.selectionStart, end: r.selectionEnd })
            : ((r = (
                (r.ownerDocument && r.ownerDocument.defaultView) ||
                window
              ).getSelection()),
              (r = {
                anchorNode: r.anchorNode,
                anchorOffset: r.anchorOffset,
                focusNode: r.focusNode,
                focusOffset: r.focusOffset,
              })),
          (Rr && kr(Rr, r)) ||
            ((Rr = r),
            (r = Ld(Lr, `onSelect`)),
            0 < r.length &&
              ((t = new Dn(`onSelect`, `select`, null, t, n)),
              e.push({ event: t, listeners: r }),
              (t.target = Ir))));
      }
      function Vr(e, t) {
        var n = {};
        return (
          (n[e.toLowerCase()] = t.toLowerCase()),
          (n[`Webkit` + e] = `webkit` + t),
          (n[`Moz` + e] = `moz` + t),
          n
        );
      }
      var Hr = {
          animationend: Vr(`Animation`, `AnimationEnd`),
          animationiteration: Vr(`Animation`, `AnimationIteration`),
          animationstart: Vr(`Animation`, `AnimationStart`),
          transitionrun: Vr(`Transition`, `TransitionRun`),
          transitionstart: Vr(`Transition`, `TransitionStart`),
          transitioncancel: Vr(`Transition`, `TransitionCancel`),
          transitionend: Vr(`Transition`, `TransitionEnd`),
        },
        Ur = {},
        Wr = {};
      hn &&
        ((Wr = document.createElement(`div`).style),
        `AnimationEvent` in window ||
          (delete Hr.animationend.animation,
          delete Hr.animationiteration.animation,
          delete Hr.animationstart.animation),
        `TransitionEvent` in window || delete Hr.transitionend.transition);
      function Gr(e) {
        if (Ur[e]) return Ur[e];
        if (!Hr[e]) return e;
        var t = Hr[e],
          n;
        for (n in t) if (t.hasOwnProperty(n) && n in Wr) return (Ur[e] = t[n]);
        return e;
      }
      var Kr = Gr(`animationend`),
        qr = Gr(`animationiteration`),
        Jr = Gr(`animationstart`),
        Yr = Gr(`transitionrun`),
        Xr = Gr(`transitionstart`),
        Zr = Gr(`transitioncancel`),
        Qr = Gr(`transitionend`),
        $r = new Map(),
        ei =
          `abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(
            ` `,
          );
      ei.push(`scrollEnd`);
      function ti(e, t) {
        ($r.set(e, t), Ot(t, [e]));
      }
      var ni =
          typeof reportError == `function`
            ? reportError
            : function (e) {
                if (
                  typeof window == `object` &&
                  typeof window.ErrorEvent == `function`
                ) {
                  var t = new window.ErrorEvent(`error`, {
                    bubbles: !0,
                    cancelable: !0,
                    message:
                      typeof e == `object` && e && typeof e.message == `string`
                        ? String(e.message)
                        : String(e),
                    error: e,
                  });
                  if (!window.dispatchEvent(t)) return;
                } else if (
                  typeof process == `object` &&
                  typeof process.emit == `function`
                ) {
                  process.emit(`uncaughtException`, e);
                  return;
                }
                console.error(e);
              },
        ri = [],
        ii = 0,
        ai = 0;
      function oi() {
        for (var e = ii, t = (ai = ii = 0); t < e;) {
          var n = ri[t];
          ri[t++] = null;
          var r = ri[t];
          ri[t++] = null;
          var i = ri[t];
          ri[t++] = null;
          var a = ri[t];
          if (((ri[t++] = null), r !== null && i !== null)) {
            var o = r.pending;
            (o === null ? (i.next = i) : ((i.next = o.next), (o.next = i)),
              (r.pending = i));
          }
          a !== 0 && ui(n, i, a);
        }
      }
      function si(e, t, n, r) {
        ((ri[ii++] = e),
          (ri[ii++] = t),
          (ri[ii++] = n),
          (ri[ii++] = r),
          (ai |= r),
          (e.lanes |= r),
          (e = e.alternate),
          e !== null && (e.lanes |= r));
      }
      function ci(e, t, n, r) {
        return (si(e, t, n, r), di(e));
      }
      function li(e, t) {
        return (si(e, null, null, t), di(e));
      }
      function ui(e, t, n) {
        e.lanes |= n;
        var r = e.alternate;
        r !== null && (r.lanes |= n);
        for (var i = !1, a = e.return; a !== null;)
          ((a.childLanes |= n),
            (r = a.alternate),
            r !== null && (r.childLanes |= n),
            a.tag === 22 &&
              ((e = a.stateNode), e === null || e._visibility & 1 || (i = !0)),
            (e = a),
            (a = a.return));
        return e.tag === 3
          ? ((a = e.stateNode),
            i &&
              t !== null &&
              ((i = 31 - We(n)),
              (e = a.hiddenUpdates),
              (r = e[i]),
              r === null ? (e[i] = [t]) : r.push(t),
              (t.lane = n | 536870912)),
            a)
          : null;
      }
      function di(e) {
        if (50 < xu) throw ((xu = 0), (Su = null), Error(i(185)));
        for (var t = e.return; t !== null;) ((e = t), (t = e.return));
        return e.tag === 3 ? e.stateNode : null;
      }
      var fi = {};
      function pi(e, t, n, r) {
        ((this.tag = e),
          (this.key = n),
          (this.sibling =
            this.child =
            this.return =
            this.stateNode =
            this.type =
            this.elementType =
              null),
          (this.index = 0),
          (this.refCleanup = this.ref = null),
          (this.pendingProps = t),
          (this.dependencies =
            this.memoizedState =
            this.updateQueue =
            this.memoizedProps =
              null),
          (this.mode = r),
          (this.subtreeFlags = this.flags = 0),
          (this.deletions = null),
          (this.childLanes = this.lanes = 0),
          (this.alternate = null));
      }
      function mi(e, t, n, r) {
        return new pi(e, t, n, r);
      }
      function hi(e) {
        return ((e = e.prototype), !(!e || !e.isReactComponent));
      }
      function gi(e, t) {
        var n = e.alternate;
        return (
          n === null
            ? ((n = mi(e.tag, t, e.key, e.mode)),
              (n.elementType = e.elementType),
              (n.type = e.type),
              (n.stateNode = e.stateNode),
              (n.alternate = e),
              (e.alternate = n))
            : ((n.pendingProps = t),
              (n.type = e.type),
              (n.flags = 0),
              (n.subtreeFlags = 0),
              (n.deletions = null)),
          (n.flags = e.flags & 65011712),
          (n.childLanes = e.childLanes),
          (n.lanes = e.lanes),
          (n.child = e.child),
          (n.memoizedProps = e.memoizedProps),
          (n.memoizedState = e.memoizedState),
          (n.updateQueue = e.updateQueue),
          (t = e.dependencies),
          (n.dependencies =
            t === null
              ? null
              : { lanes: t.lanes, firstContext: t.firstContext }),
          (n.sibling = e.sibling),
          (n.index = e.index),
          (n.ref = e.ref),
          (n.refCleanup = e.refCleanup),
          n
        );
      }
      function _i(e, t) {
        e.flags &= 65011714;
        var n = e.alternate;
        return (
          n === null
            ? ((e.childLanes = 0),
              (e.lanes = t),
              (e.child = null),
              (e.subtreeFlags = 0),
              (e.memoizedProps = null),
              (e.memoizedState = null),
              (e.updateQueue = null),
              (e.dependencies = null),
              (e.stateNode = null))
            : ((e.childLanes = n.childLanes),
              (e.lanes = n.lanes),
              (e.child = n.child),
              (e.subtreeFlags = 0),
              (e.deletions = null),
              (e.memoizedProps = n.memoizedProps),
              (e.memoizedState = n.memoizedState),
              (e.updateQueue = n.updateQueue),
              (e.type = n.type),
              (t = n.dependencies),
              (e.dependencies =
                t === null
                  ? null
                  : { lanes: t.lanes, firstContext: t.firstContext })),
          e
        );
      }
      function vi(e, t, n, r, a, o) {
        var s = 0;
        if (((r = e), typeof e == `function`)) hi(e) && (s = 1);
        else if (typeof e == `string`)
          s = $f(e, n, me.current)
            ? 26
            : e === `html` || e === `head` || e === `body`
              ? 27
              : 5;
        else
          a: switch (e) {
            case ie:
              return (
                (e = mi(31, n, t, a)),
                (e.elementType = ie),
                (e.lanes = o),
                e
              );
            case v:
              return yi(n.children, a, o, t);
            case y:
              ((s = 8), (a |= 24));
              break;
            case x:
              return (
                (e = mi(12, n, t, a | 2)),
                (e.elementType = x),
                (e.lanes = o),
                e
              );
            case ne:
              return (
                (e = mi(13, n, t, a)),
                (e.elementType = ne),
                (e.lanes = o),
                e
              );
            case re:
              return (
                (e = mi(19, n, t, a)),
                (e.elementType = re),
                (e.lanes = o),
                e
              );
            default:
              if (typeof e == `object` && e)
                switch (e.$$typeof) {
                  case te:
                    s = 10;
                    break a;
                  case ee:
                    s = 9;
                    break a;
                  case S:
                    s = 11;
                    break a;
                  case C:
                    s = 14;
                    break a;
                  case w:
                    ((s = 16), (r = null));
                    break a;
                }
              ((s = 29),
                (n = Error(i(130, e === null ? `null` : typeof e, ``))),
                (r = null));
          }
        return (
          (t = mi(s, n, t, a)),
          (t.elementType = e),
          (t.type = r),
          (t.lanes = o),
          t
        );
      }
      function yi(e, t, n, r) {
        return ((e = mi(7, e, r, t)), (e.lanes = n), e);
      }
      function bi(e, t, n) {
        return ((e = mi(6, e, null, t)), (e.lanes = n), e);
      }
      function xi(e) {
        var t = mi(18, null, null, 0);
        return ((t.stateNode = e), t);
      }
      function Si(e, t, n) {
        return (
          (t = mi(4, e.children === null ? [] : e.children, e.key, t)),
          (t.lanes = n),
          (t.stateNode = {
            containerInfo: e.containerInfo,
            pendingChildren: null,
            implementation: e.implementation,
          }),
          t
        );
      }
      var Ci = new WeakMap();
      function wi(e, t) {
        if (typeof e == `object` && e) {
          var n = Ci.get(e);
          return n === void 0
            ? ((t = { value: e, source: t, stack: Ee(t) }), Ci.set(e, t), t)
            : n;
        }
        return { value: e, source: t, stack: Ee(t) };
      }
      var Ti = [],
        Ei = 0,
        Di = null,
        Oi = 0,
        ki = [],
        Ai = 0,
        ji = null,
        Mi = 1,
        Ni = ``;
      function Pi(e, t) {
        ((Ti[Ei++] = Oi), (Ti[Ei++] = Di), (Di = e), (Oi = t));
      }
      function Fi(e, t, n) {
        ((ki[Ai++] = Mi), (ki[Ai++] = Ni), (ki[Ai++] = ji), (ji = e));
        var r = Mi;
        e = Ni;
        var i = 32 - We(r) - 1;
        ((r &= ~(1 << i)), (n += 1));
        var a = 32 - We(t) + i;
        if (30 < a) {
          var o = i - (i % 5);
          ((a = (r & ((1 << o) - 1)).toString(32)),
            (r >>= o),
            (i -= o),
            (Mi = (1 << (32 - We(t) + i)) | (n << i) | r),
            (Ni = a + e));
        } else ((Mi = (1 << a) | (n << i) | r), (Ni = e));
      }
      function Ii(e) {
        e.return !== null && (Pi(e, 1), Fi(e, 1, 0));
      }
      function Li(e) {
        for (; e === Di;)
          ((Di = Ti[--Ei]), (Ti[Ei] = null), (Oi = Ti[--Ei]), (Ti[Ei] = null));
        for (; e === ji;)
          ((ji = ki[--Ai]),
            (ki[Ai] = null),
            (Ni = ki[--Ai]),
            (ki[Ai] = null),
            (Mi = ki[--Ai]),
            (ki[Ai] = null));
      }
      function Ri(e, t) {
        ((ki[Ai++] = Mi),
          (ki[Ai++] = Ni),
          (ki[Ai++] = ji),
          (Mi = t.id),
          (Ni = t.overflow),
          (ji = e));
      }
      var zi = null,
        Bi = null,
        N = !1,
        Vi = null,
        Hi = !1,
        Ui = Error(i(519));
      function Wi(e) {
        throw (
          Xi(
            wi(
              Error(
                i(
                  418,
                  1 < arguments.length &&
                    arguments[1] !== void 0 &&
                    arguments[1]
                    ? `text`
                    : `HTML`,
                  ``,
                ),
              ),
              e,
            ),
          ),
          Ui
        );
      }
      function Gi(e) {
        var t = e.stateNode,
          n = e.type,
          r = e.memoizedProps;
        switch (((t[pt] = e), (t[mt] = r), n)) {
          case `dialog`:
            (V(`cancel`, t), V(`close`, t));
            break;
          case `iframe`:
          case `object`:
          case `embed`:
            V(`load`, t);
            break;
          case `video`:
          case `audio`:
            for (n = 0; n < Od.length; n++) V(Od[n], t);
            break;
          case `source`:
            V(`error`, t);
            break;
          case `img`:
          case `image`:
          case `link`:
            (V(`error`, t), V(`load`, t));
            break;
          case `details`:
            V(`toggle`, t);
            break;
          case `input`:
            (V(`invalid`, t),
              Kt(
                t,
                r.value,
                r.defaultValue,
                r.checked,
                r.defaultChecked,
                r.type,
                r.name,
                !0,
              ));
            break;
          case `select`:
            V(`invalid`, t);
            break;
          case `textarea`:
            (V(`invalid`, t), Xt(t, r.value, r.defaultValue, r.children));
        }
        ((n = r.children),
          (typeof n != `string` &&
            typeof n != `number` &&
            typeof n != `bigint`) ||
          t.textContent === `` + n ||
          !0 === r.suppressHydrationWarning ||
          Ud(t.textContent, n)
            ? (r.popover != null && (V(`beforetoggle`, t), V(`toggle`, t)),
              r.onScroll != null && V(`scroll`, t),
              r.onScrollEnd != null && V(`scrollend`, t),
              r.onClick != null && (t.onclick = on),
              (t = !0))
            : (t = !1),
          t || Wi(e, !0));
      }
      function Ki(e) {
        for (zi = e.return; zi;)
          switch (zi.tag) {
            case 5:
            case 31:
            case 13:
              Hi = !1;
              return;
            case 27:
            case 3:
              Hi = !0;
              return;
            default:
              zi = zi.return;
          }
      }
      function qi(e) {
        if (e !== zi) return !1;
        if (!N) return (Ki(e), (N = !0), !1);
        var t = e.tag,
          n;
        if (
          ((n = t !== 3 && t !== 27) &&
            ((n = t === 5) &&
              ((n = e.type),
              (n =
                !(n !== `form` && n !== `button`) ||
                tf(e.type, e.memoizedProps))),
            (n = !n)),
          n && Bi && Wi(e),
          Ki(e),
          t === 13)
        ) {
          if (
            ((e = e.memoizedState), (e = e === null ? null : e.dehydrated), !e)
          )
            throw Error(i(317));
          Bi = Sf(e);
        } else if (t === 31) {
          if (
            ((e = e.memoizedState), (e = e === null ? null : e.dehydrated), !e)
          )
            throw Error(i(317));
          Bi = Sf(e);
        } else
          t === 27
            ? ((t = Bi),
              uf(e.type) ? ((e = xf), (xf = null), (Bi = e)) : (Bi = t))
            : (Bi = zi ? bf(e.stateNode.nextSibling) : null);
        return !0;
      }
      function Ji() {
        ((Bi = zi = null), (N = !1));
      }
      function Yi() {
        var e = Vi;
        return (
          e !== null &&
            (su === null ? (su = e) : su.push.apply(su, e), (Vi = null)),
          e
        );
      }
      function Xi(e) {
        Vi === null ? (Vi = [e]) : Vi.push(e);
      }
      var Zi = fe(null),
        Qi = null,
        $i = null;
      function ea(e, t, n) {
        (k(Zi, t._currentValue), (t._currentValue = n));
      }
      function ta(e) {
        ((e._currentValue = Zi.current), pe(Zi));
      }
      function na(e, t, n) {
        for (; e !== null;) {
          var r = e.alternate;
          if (
            ((e.childLanes & t) === t
              ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t)
              : ((e.childLanes |= t), r !== null && (r.childLanes |= t)),
            e === n)
          )
            break;
          e = e.return;
        }
      }
      function ra(e, t, n, r) {
        var a = e.child;
        for (a !== null && (a.return = e); a !== null;) {
          var o = a.dependencies;
          if (o !== null) {
            var s = a.child;
            o = o.firstContext;
            a: for (; o !== null;) {
              var c = o;
              o = a;
              for (var l = 0; l < t.length; l++)
                if (c.context === t[l]) {
                  ((o.lanes |= n),
                    (c = o.alternate),
                    c !== null && (c.lanes |= n),
                    na(o.return, n, e),
                    r || (s = null));
                  break a;
                }
              o = c.next;
            }
          } else if (a.tag === 18) {
            if (((s = a.return), s === null)) throw Error(i(341));
            ((s.lanes |= n),
              (o = s.alternate),
              o !== null && (o.lanes |= n),
              na(s, n, e),
              (s = null));
          } else s = a.child;
          if (s !== null) s.return = a;
          else
            for (s = a; s !== null;) {
              if (s === e) {
                s = null;
                break;
              }
              if (((a = s.sibling), a !== null)) {
                ((a.return = s.return), (s = a));
                break;
              }
              s = s.return;
            }
          a = s;
        }
      }
      function ia(e, t, n, r) {
        e = null;
        for (var a = t, o = !1; a !== null;) {
          if (!o) {
            if (a.flags & 524288) o = !0;
            else if (a.flags & 262144) break;
          }
          if (a.tag === 10) {
            var s = a.alternate;
            if (s === null) throw Error(i(387));
            if (((s = s.memoizedProps), s !== null)) {
              var c = a.type;
              Or(a.pendingProps.value, s.value) ||
                (e === null ? (e = [c]) : e.push(c));
            }
          } else if (a === _e.current) {
            if (((s = a.alternate), s === null)) throw Error(i(387));
            s.memoizedState.memoizedState !== a.memoizedState.memoizedState &&
              (e === null ? (e = [cp]) : e.push(cp));
          }
          a = a.return;
        }
        (e !== null && ra(t, e, n, r), (t.flags |= 262144));
      }
      function aa(e) {
        for (e = e.firstContext; e !== null;) {
          if (!Or(e.context._currentValue, e.memoizedValue)) return !0;
          e = e.next;
        }
        return !1;
      }
      function oa(e) {
        ((Qi = e),
          ($i = null),
          (e = e.dependencies),
          e !== null && (e.firstContext = null));
      }
      function sa(e) {
        return la(Qi, e);
      }
      function ca(e, t) {
        return (Qi === null && oa(e), la(e, t));
      }
      function la(e, t) {
        var n = t._currentValue;
        if (((t = { context: t, memoizedValue: n, next: null }), $i === null)) {
          if (e === null) throw Error(i(308));
          (($i = t),
            (e.dependencies = { lanes: 0, firstContext: t }),
            (e.flags |= 524288));
        } else $i = $i.next = t;
        return n;
      }
      var ua =
          typeof AbortController < `u`
            ? AbortController
            : function () {
                var e = [],
                  t = (this.signal = {
                    aborted: !1,
                    addEventListener: function (t, n) {
                      e.push(n);
                    },
                  });
                this.abort = function () {
                  ((t.aborted = !0),
                    e.forEach(function (e) {
                      return e();
                    }));
                };
              },
        da = t.unstable_scheduleCallback,
        fa = t.unstable_NormalPriority,
        pa = {
          $$typeof: te,
          Consumer: null,
          Provider: null,
          _currentValue: null,
          _currentValue2: null,
          _threadCount: 0,
        };
      function ma() {
        return { controller: new ua(), data: new Map(), refCount: 0 };
      }
      function ha(e) {
        (e.refCount--,
          e.refCount === 0 &&
            da(fa, function () {
              e.controller.abort();
            }));
      }
      var ga = null,
        P = 0,
        F = 0,
        _a = null;
      function va(e, t) {
        if (ga === null) {
          var n = (ga = []);
          ((P = 0),
            (F = Sd()),
            (_a = {
              status: `pending`,
              value: void 0,
              then: function (e) {
                n.push(e);
              },
            }));
        }
        return (P++, t.then(ya, ya), t);
      }
      function ya() {
        if (--P === 0 && ga !== null) {
          _a !== null && (_a.status = `fulfilled`);
          var e = ga;
          ((ga = null), (F = 0), (_a = null));
          for (var t = 0; t < e.length; t++) (0, e[t])();
        }
      }
      function ba(e, t) {
        var n = [],
          r = {
            status: `pending`,
            value: null,
            reason: null,
            then: function (e) {
              n.push(e);
            },
          };
        return (
          e.then(
            function () {
              ((r.status = `fulfilled`), (r.value = t));
              for (var e = 0; e < n.length; e++) (0, n[e])(t);
            },
            function (e) {
              for (
                r.status = `rejected`, r.reason = e, e = 0;
                e < n.length;
                e++
              )
                (0, n[e])(void 0);
            },
          ),
          r
        );
      }
      var xa = D.S;
      D.S = function (e, t) {
        ((uu = Me()),
          typeof t == `object` && t && typeof t.then == `function` && va(e, t),
          xa !== null && xa(e, t));
      };
      var Sa = fe(null);
      function Ca() {
        var e = Sa.current;
        return e === null ? ql.pooledCache : e;
      }
      function wa(e, t) {
        t === null ? k(Sa, Sa.current) : k(Sa, t.pool);
      }
      function Ta() {
        var e = Ca();
        return e === null ? null : { parent: pa._currentValue, pool: e };
      }
      var Ea = Error(i(460)),
        Da = Error(i(474)),
        Oa = Error(i(542)),
        I = { then: function () {} };
      function ka(e) {
        return ((e = e.status), e === `fulfilled` || e === `rejected`);
      }
      function Aa(e, t, n) {
        switch (
          ((n = e[n]),
          n === void 0 ? e.push(t) : n !== t && (t.then(on, on), (t = n)),
          t.status)
        ) {
          case `fulfilled`:
            return t.value;
          case `rejected`:
            throw ((e = t.reason), Pa(e), e);
          default:
            if (typeof t.status == `string`) t.then(on, on);
            else {
              if (((e = ql), e !== null && 100 < e.shellSuspendCounter))
                throw Error(i(482));
              ((e = t),
                (e.status = `pending`),
                e.then(
                  function (e) {
                    if (t.status === `pending`) {
                      var n = t;
                      ((n.status = `fulfilled`), (n.value = e));
                    }
                  },
                  function (e) {
                    if (t.status === `pending`) {
                      var n = t;
                      ((n.status = `rejected`), (n.reason = e));
                    }
                  },
                ));
            }
            switch (t.status) {
              case `fulfilled`:
                return t.value;
              case `rejected`:
                throw ((e = t.reason), Pa(e), e);
            }
            throw ((Ma = t), Ea);
        }
      }
      function ja(e) {
        try {
          var t = e._init;
          return t(e._payload);
        } catch (e) {
          throw typeof e == `object` && e && typeof e.then == `function`
            ? ((Ma = e), Ea)
            : e;
        }
      }
      var Ma = null;
      function Na() {
        if (Ma === null) throw Error(i(459));
        var e = Ma;
        return ((Ma = null), e);
      }
      function Pa(e) {
        if (e === Ea || e === Oa) throw Error(i(483));
      }
      var Fa = null,
        Ia = 0;
      function La(e) {
        var t = Ia;
        return ((Ia += 1), Fa === null && (Fa = []), Aa(Fa, e, t));
      }
      function Ra(e, t) {
        ((t = t.props.ref), (e.ref = t === void 0 ? null : t));
      }
      function za(e, t) {
        throw t.$$typeof === p
          ? Error(i(525))
          : ((e = Object.prototype.toString.call(t)),
            Error(
              i(
                31,
                e === `[object Object]`
                  ? `object with keys {` + Object.keys(t).join(`, `) + `}`
                  : e,
              ),
            ));
      }
      function Ba(e) {
        function t(t, n) {
          if (e) {
            var r = t.deletions;
            r === null ? ((t.deletions = [n]), (t.flags |= 16)) : r.push(n);
          }
        }
        function n(n, r) {
          if (!e) return null;
          for (; r !== null;) (t(n, r), (r = r.sibling));
          return null;
        }
        function r(e) {
          for (var t = new Map(); e !== null;)
            (e.key === null ? t.set(e.index, e) : t.set(e.key, e),
              (e = e.sibling));
          return t;
        }
        function a(e, t) {
          return ((e = gi(e, t)), (e.index = 0), (e.sibling = null), e);
        }
        function o(t, n, r) {
          return (
            (t.index = r),
            e
              ? ((r = t.alternate),
                r === null
                  ? ((t.flags |= 67108866), n)
                  : ((r = r.index), r < n ? ((t.flags |= 67108866), n) : r))
              : ((t.flags |= 1048576), n)
          );
        }
        function s(t) {
          return (e && t.alternate === null && (t.flags |= 67108866), t);
        }
        function c(e, t, n, r) {
          return t === null || t.tag !== 6
            ? ((t = bi(n, e.mode, r)), (t.return = e), t)
            : ((t = a(t, n)), (t.return = e), t);
        }
        function l(e, t, n, r) {
          var i = n.type;
          return i === v
            ? d(e, t, n.props.children, r, n.key)
            : t !== null &&
                (t.elementType === i ||
                  (typeof i == `object` &&
                    i &&
                    i.$$typeof === w &&
                    ja(i) === t.type))
              ? ((t = a(t, n.props)), Ra(t, n), (t.return = e), t)
              : ((t = vi(n.type, n.key, n.props, null, e.mode, r)),
                Ra(t, n),
                (t.return = e),
                t);
        }
        function u(e, t, n, r) {
          return t === null ||
            t.tag !== 4 ||
            t.stateNode.containerInfo !== n.containerInfo ||
            t.stateNode.implementation !== n.implementation
            ? ((t = Si(n, e.mode, r)), (t.return = e), t)
            : ((t = a(t, n.children || [])), (t.return = e), t);
        }
        function d(e, t, n, r, i) {
          return t === null || t.tag !== 7
            ? ((t = yi(n, e.mode, r, i)), (t.return = e), t)
            : ((t = a(t, n)), (t.return = e), t);
        }
        function f(e, t, n) {
          if (
            (typeof t == `string` && t !== ``) ||
            typeof t == `number` ||
            typeof t == `bigint`
          )
            return ((t = bi(`` + t, e.mode, n)), (t.return = e), t);
          if (typeof t == `object` && t) {
            switch (t.$$typeof) {
              case h:
                return (
                  (n = vi(t.type, t.key, t.props, null, e.mode, n)),
                  Ra(n, t),
                  (n.return = e),
                  n
                );
              case g:
                return ((t = Si(t, e.mode, n)), (t.return = e), t);
              case w:
                return ((t = ja(t)), f(e, t, n));
            }
            if (ce(t) || oe(t))
              return ((t = yi(t, e.mode, n, null)), (t.return = e), t);
            if (typeof t.then == `function`) return f(e, La(t), n);
            if (t.$$typeof === te) return f(e, ca(e, t), n);
            za(e, t);
          }
          return null;
        }
        function p(e, t, n, r) {
          var i = t === null ? null : t.key;
          if (
            (typeof n == `string` && n !== ``) ||
            typeof n == `number` ||
            typeof n == `bigint`
          )
            return i === null ? c(e, t, `` + n, r) : null;
          if (typeof n == `object` && n) {
            switch (n.$$typeof) {
              case h:
                return n.key === i ? l(e, t, n, r) : null;
              case g:
                return n.key === i ? u(e, t, n, r) : null;
              case w:
                return ((n = ja(n)), p(e, t, n, r));
            }
            if (ce(n) || oe(n)) return i === null ? d(e, t, n, r, null) : null;
            if (typeof n.then == `function`) return p(e, t, La(n), r);
            if (n.$$typeof === te) return p(e, t, ca(e, n), r);
            za(e, n);
          }
          return null;
        }
        function m(e, t, n, r, i) {
          if (
            (typeof r == `string` && r !== ``) ||
            typeof r == `number` ||
            typeof r == `bigint`
          )
            return ((e = e.get(n) || null), c(t, e, `` + r, i));
          if (typeof r == `object` && r) {
            switch (r.$$typeof) {
              case h:
                return (
                  (e = e.get(r.key === null ? n : r.key) || null),
                  l(t, e, r, i)
                );
              case g:
                return (
                  (e = e.get(r.key === null ? n : r.key) || null),
                  u(t, e, r, i)
                );
              case w:
                return ((r = ja(r)), m(e, t, n, r, i));
            }
            if (ce(r) || oe(r))
              return ((e = e.get(n) || null), d(t, e, r, i, null));
            if (typeof r.then == `function`) return m(e, t, n, La(r), i);
            if (r.$$typeof === te) return m(e, t, n, ca(t, r), i);
            za(t, r);
          }
          return null;
        }
        function _(i, a, s, c) {
          for (
            var l = null, u = null, d = a, h = (a = 0), g = null;
            d !== null && h < s.length;
            h++
          ) {
            d.index > h ? ((g = d), (d = null)) : (g = d.sibling);
            var _ = p(i, d, s[h], c);
            if (_ === null) {
              d === null && (d = g);
              break;
            }
            (e && d && _.alternate === null && t(i, d),
              (a = o(_, a, h)),
              u === null ? (l = _) : (u.sibling = _),
              (u = _),
              (d = g));
          }
          if (h === s.length) return (n(i, d), N && Pi(i, h), l);
          if (d === null) {
            for (; h < s.length; h++)
              ((d = f(i, s[h], c)),
                d !== null &&
                  ((a = o(d, a, h)),
                  u === null ? (l = d) : (u.sibling = d),
                  (u = d)));
            return (N && Pi(i, h), l);
          }
          for (d = r(d); h < s.length; h++)
            ((g = m(d, i, h, s[h], c)),
              g !== null &&
                (e &&
                  g.alternate !== null &&
                  d.delete(g.key === null ? h : g.key),
                (a = o(g, a, h)),
                u === null ? (l = g) : (u.sibling = g),
                (u = g)));
          return (
            e &&
              d.forEach(function (e) {
                return t(i, e);
              }),
            N && Pi(i, h),
            l
          );
        }
        function y(a, s, c, l) {
          if (c == null) throw Error(i(151));
          for (
            var u = null, d = null, h = s, g = (s = 0), _ = null, v = c.next();
            h !== null && !v.done;
            g++, v = c.next()
          ) {
            h.index > g ? ((_ = h), (h = null)) : (_ = h.sibling);
            var y = p(a, h, v.value, l);
            if (y === null) {
              h === null && (h = _);
              break;
            }
            (e && h && y.alternate === null && t(a, h),
              (s = o(y, s, g)),
              d === null ? (u = y) : (d.sibling = y),
              (d = y),
              (h = _));
          }
          if (v.done) return (n(a, h), N && Pi(a, g), u);
          if (h === null) {
            for (; !v.done; g++, v = c.next())
              ((v = f(a, v.value, l)),
                v !== null &&
                  ((s = o(v, s, g)),
                  d === null ? (u = v) : (d.sibling = v),
                  (d = v)));
            return (N && Pi(a, g), u);
          }
          for (h = r(h); !v.done; g++, v = c.next())
            ((v = m(h, a, g, v.value, l)),
              v !== null &&
                (e &&
                  v.alternate !== null &&
                  h.delete(v.key === null ? g : v.key),
                (s = o(v, s, g)),
                d === null ? (u = v) : (d.sibling = v),
                (d = v)));
          return (
            e &&
              h.forEach(function (e) {
                return t(a, e);
              }),
            N && Pi(a, g),
            u
          );
        }
        function b(e, r, o, c) {
          if (
            (typeof o == `object` &&
              o &&
              o.type === v &&
              o.key === null &&
              (o = o.props.children),
            typeof o == `object` && o)
          ) {
            switch (o.$$typeof) {
              case h:
                a: {
                  for (var l = o.key; r !== null;) {
                    if (r.key === l) {
                      if (((l = o.type), l === v)) {
                        if (r.tag === 7) {
                          (n(e, r.sibling),
                            (c = a(r, o.props.children)),
                            (c.return = e),
                            (e = c));
                          break a;
                        }
                      } else if (
                        r.elementType === l ||
                        (typeof l == `object` &&
                          l &&
                          l.$$typeof === w &&
                          ja(l) === r.type)
                      ) {
                        (n(e, r.sibling),
                          (c = a(r, o.props)),
                          Ra(c, o),
                          (c.return = e),
                          (e = c));
                        break a;
                      }
                      n(e, r);
                      break;
                    } else t(e, r);
                    r = r.sibling;
                  }
                  o.type === v
                    ? ((c = yi(o.props.children, e.mode, c, o.key)),
                      (c.return = e),
                      (e = c))
                    : ((c = vi(o.type, o.key, o.props, null, e.mode, c)),
                      Ra(c, o),
                      (c.return = e),
                      (e = c));
                }
                return s(e);
              case g:
                a: {
                  for (l = o.key; r !== null;) {
                    if (r.key === l)
                      if (
                        r.tag === 4 &&
                        r.stateNode.containerInfo === o.containerInfo &&
                        r.stateNode.implementation === o.implementation
                      ) {
                        (n(e, r.sibling),
                          (c = a(r, o.children || [])),
                          (c.return = e),
                          (e = c));
                        break a;
                      } else {
                        n(e, r);
                        break;
                      }
                    else t(e, r);
                    r = r.sibling;
                  }
                  ((c = Si(o, e.mode, c)), (c.return = e), (e = c));
                }
                return s(e);
              case w:
                return ((o = ja(o)), b(e, r, o, c));
            }
            if (ce(o)) return _(e, r, o, c);
            if (oe(o)) {
              if (((l = oe(o)), typeof l != `function`)) throw Error(i(150));
              return ((o = l.call(o)), y(e, r, o, c));
            }
            if (typeof o.then == `function`) return b(e, r, La(o), c);
            if (o.$$typeof === te) return b(e, r, ca(e, o), c);
            za(e, o);
          }
          return (typeof o == `string` && o !== ``) ||
            typeof o == `number` ||
            typeof o == `bigint`
            ? ((o = `` + o),
              r !== null && r.tag === 6
                ? (n(e, r.sibling), (c = a(r, o)), (c.return = e), (e = c))
                : (n(e, r), (c = bi(o, e.mode, c)), (c.return = e), (e = c)),
              s(e))
            : n(e, r);
        }
        return function (e, t, n, r) {
          try {
            Ia = 0;
            var i = b(e, t, n, r);
            return ((Fa = null), i);
          } catch (t) {
            if (t === Ea || t === Oa) throw t;
            var a = mi(29, t, null, e.mode);
            return ((a.lanes = r), (a.return = e), a);
          }
        };
      }
      var Va = Ba(!0),
        Ha = Ba(!1),
        Ua = !1;
      function Wa(e) {
        e.updateQueue = {
          baseState: e.memoizedState,
          firstBaseUpdate: null,
          lastBaseUpdate: null,
          shared: { pending: null, lanes: 0, hiddenCallbacks: null },
          callbacks: null,
        };
      }
      function Ga(e, t) {
        ((e = e.updateQueue),
          t.updateQueue === e &&
            (t.updateQueue = {
              baseState: e.baseState,
              firstBaseUpdate: e.firstBaseUpdate,
              lastBaseUpdate: e.lastBaseUpdate,
              shared: e.shared,
              callbacks: null,
            }));
      }
      function Ka(e) {
        return { lane: e, tag: 0, payload: null, callback: null, next: null };
      }
      function qa(e, t, n) {
        var r = e.updateQueue;
        if (r === null) return null;
        if (((r = r.shared), Kl & 2)) {
          var i = r.pending;
          return (
            i === null ? (t.next = t) : ((t.next = i.next), (i.next = t)),
            (r.pending = t),
            (t = di(e)),
            ui(e, null, n),
            t
          );
        }
        return (si(e, r, t, n), di(e));
      }
      function Ja(e, t, n) {
        if (
          ((t = t.updateQueue), t !== null && ((t = t.shared), n & 4194048))
        ) {
          var r = t.lanes;
          ((r &= e.pendingLanes), (n |= r), (t.lanes = n), ot(e, n));
        }
      }
      function Ya(e, t) {
        var n = e.updateQueue,
          r = e.alternate;
        if (r !== null && ((r = r.updateQueue), n === r)) {
          var i = null,
            a = null;
          if (((n = n.firstBaseUpdate), n !== null)) {
            do {
              var o = {
                lane: n.lane,
                tag: n.tag,
                payload: n.payload,
                callback: null,
                next: null,
              };
              (a === null ? (i = a = o) : (a = a.next = o), (n = n.next));
            } while (n !== null);
            a === null ? (i = a = t) : (a = a.next = t);
          } else i = a = t;
          ((n = {
            baseState: r.baseState,
            firstBaseUpdate: i,
            lastBaseUpdate: a,
            shared: r.shared,
            callbacks: r.callbacks,
          }),
            (e.updateQueue = n));
          return;
        }
        ((e = n.lastBaseUpdate),
          e === null ? (n.firstBaseUpdate = t) : (e.next = t),
          (n.lastBaseUpdate = t));
      }
      var Xa = !1;
      function Za() {
        if (Xa) {
          var e = _a;
          if (e !== null) throw e;
        }
      }
      function Qa(e, t, n, r) {
        Xa = !1;
        var i = e.updateQueue;
        Ua = !1;
        var a = i.firstBaseUpdate,
          o = i.lastBaseUpdate,
          s = i.shared.pending;
        if (s !== null) {
          i.shared.pending = null;
          var c = s,
            l = c.next;
          ((c.next = null), o === null ? (a = l) : (o.next = l), (o = c));
          var u = e.alternate;
          u !== null &&
            ((u = u.updateQueue),
            (s = u.lastBaseUpdate),
            s !== o &&
              (s === null ? (u.firstBaseUpdate = l) : (s.next = l),
              (u.lastBaseUpdate = c)));
        }
        if (a !== null) {
          var d = i.baseState;
          ((o = 0), (u = l = c = null), (s = a));
          do {
            var p = s.lane & -536870913,
              m = p !== s.lane;
            if (m ? (Jl & p) === p : (r & p) === p) {
              (p !== 0 && p === F && (Xa = !0),
                u !== null &&
                  (u = u.next =
                    {
                      lane: 0,
                      tag: s.tag,
                      payload: s.payload,
                      callback: null,
                      next: null,
                    }));
              a: {
                var h = e,
                  g = s;
                p = t;
                var _ = n;
                switch (g.tag) {
                  case 1:
                    if (((h = g.payload), typeof h == `function`)) {
                      d = h.call(_, d, p);
                      break a;
                    }
                    d = h;
                    break a;
                  case 3:
                    h.flags = (h.flags & -65537) | 128;
                  case 0:
                    if (
                      ((h = g.payload),
                      (p = typeof h == `function` ? h.call(_, d, p) : h),
                      p == null)
                    )
                      break a;
                    d = f({}, d, p);
                    break a;
                  case 2:
                    Ua = !0;
                }
              }
              ((p = s.callback),
                p !== null &&
                  ((e.flags |= 64),
                  m && (e.flags |= 8192),
                  (m = i.callbacks),
                  m === null ? (i.callbacks = [p]) : m.push(p)));
            } else
              ((m = {
                lane: p,
                tag: s.tag,
                payload: s.payload,
                callback: s.callback,
                next: null,
              }),
                u === null ? ((l = u = m), (c = d)) : (u = u.next = m),
                (o |= p));
            if (((s = s.next), s === null)) {
              if (((s = i.shared.pending), s === null)) break;
              ((m = s),
                (s = m.next),
                (m.next = null),
                (i.lastBaseUpdate = m),
                (i.shared.pending = null));
            }
          } while (1);
          (u === null && (c = d),
            (i.baseState = c),
            (i.firstBaseUpdate = l),
            (i.lastBaseUpdate = u),
            a === null && (i.shared.lanes = 0),
            (nu |= o),
            (e.lanes = o),
            (e.memoizedState = d));
        }
      }
      function $a(e, t) {
        if (typeof e != `function`) throw Error(i(191, e));
        e.call(t);
      }
      function eo(e, t) {
        var n = e.callbacks;
        if (n !== null)
          for (e.callbacks = null, e = 0; e < n.length; e++) $a(n[e], t);
      }
      var to = fe(null),
        no = fe(0);
      function ro(e, t) {
        ((e = eu), k(no, e), k(to, t), (eu = e | t.baseLanes));
      }
      function io() {
        (k(no, eu), k(to, to.current));
      }
      function ao() {
        ((eu = no.current), pe(to), pe(no));
      }
      var oo = fe(null),
        so = null;
      function co(e) {
        var t = e.alternate;
        (k(mo, mo.current & 1),
          k(oo, e),
          so === null &&
            (t === null || to.current !== null || t.memoizedState !== null) &&
            (so = e));
      }
      function lo(e) {
        (k(mo, mo.current), k(oo, e), so === null && (so = e));
      }
      function uo(e) {
        e.tag === 22
          ? (k(mo, mo.current), k(oo, e), so === null && (so = e))
          : fo(e);
      }
      function fo() {
        (k(mo, mo.current), k(oo, oo.current));
      }
      function po(e) {
        (pe(oo), so === e && (so = null), pe(mo));
      }
      var mo = fe(0);
      function ho(e) {
        for (var t = e; t !== null;) {
          if (t.tag === 13) {
            var n = t.memoizedState;
            if (
              n !== null &&
              ((n = n.dehydrated), n === null || _f(n) || vf(n))
            )
              return t;
          } else if (
            t.tag === 19 &&
            (t.memoizedProps.revealOrder === `forwards` ||
              t.memoizedProps.revealOrder === `backwards` ||
              t.memoizedProps.revealOrder === `unstable_legacy-backwards` ||
              t.memoizedProps.revealOrder === `together`)
          ) {
            if (t.flags & 128) return t;
          } else if (t.child !== null) {
            ((t.child.return = t), (t = t.child));
            continue;
          }
          if (t === e) break;
          for (; t.sibling === null;) {
            if (t.return === null || t.return === e) return null;
            t = t.return;
          }
          ((t.sibling.return = t.return), (t = t.sibling));
        }
        return null;
      }
      var go = 0,
        L = null,
        _o = null,
        vo = null,
        yo = !1,
        bo = !1,
        xo = !1,
        So = 0,
        Co = 0,
        wo = null,
        To = 0;
      function Eo() {
        throw Error(i(321));
      }
      function Do(e, t) {
        if (t === null) return !1;
        for (var n = 0; n < t.length && n < e.length; n++)
          if (!Or(e[n], t[n])) return !1;
        return !0;
      }
      function Oo(e, t, n, r, i, a) {
        return (
          (go = a),
          (L = t),
          (t.memoizedState = null),
          (t.updateQueue = null),
          (t.lanes = 0),
          (D.H = e === null || e.memoizedState === null ? Gs : Ks),
          (xo = !1),
          (a = n(r, i)),
          (xo = !1),
          bo && (a = Ao(t, n, r, i)),
          ko(e),
          a
        );
      }
      function ko(e) {
        D.H = Ws;
        var t = _o !== null && _o.next !== null;
        if (
          ((go = 0), (vo = _o = L = null), (yo = !1), (Co = 0), (wo = null), t)
        )
          throw Error(i(300));
        e === null ||
          lc ||
          ((e = e.dependencies), e !== null && aa(e) && (lc = !0));
      }
      function Ao(e, t, n, r) {
        L = e;
        var a = 0;
        do {
          if ((bo && (wo = null), (Co = 0), (bo = !1), 25 <= a))
            throw Error(i(301));
          if (((a += 1), (vo = _o = null), e.updateQueue != null)) {
            var o = e.updateQueue;
            ((o.lastEffect = null),
              (o.events = null),
              (o.stores = null),
              o.memoCache != null && (o.memoCache.index = 0));
          }
          ((D.H = qs), (o = t(n, r)));
        } while (bo);
        return o;
      }
      function jo() {
        var e = D.H,
          t = e.useState()[0];
        return (
          (t = typeof t.then == `function` ? Ro(t) : t),
          (e = e.useState()[0]),
          (_o === null ? null : _o.memoizedState) !== e && (L.flags |= 1024),
          t
        );
      }
      function Mo() {
        var e = So !== 0;
        return ((So = 0), e);
      }
      function No(e, t, n) {
        ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~n));
      }
      function Po(e) {
        if (yo) {
          for (e = e.memoizedState; e !== null;) {
            var t = e.queue;
            (t !== null && (t.pending = null), (e = e.next));
          }
          yo = !1;
        }
        ((go = 0), (vo = _o = L = null), (bo = !1), (Co = So = 0), (wo = null));
      }
      function Fo() {
        var e = {
          memoizedState: null,
          baseState: null,
          baseQueue: null,
          queue: null,
          next: null,
        };
        return (
          vo === null ? (L.memoizedState = vo = e) : (vo = vo.next = e),
          vo
        );
      }
      function Io() {
        if (_o === null) {
          var e = L.alternate;
          e = e === null ? null : e.memoizedState;
        } else e = _o.next;
        var t = vo === null ? L.memoizedState : vo.next;
        if (t !== null) ((vo = t), (_o = e));
        else {
          if (e === null)
            throw L.alternate === null ? Error(i(467)) : Error(i(310));
          ((_o = e),
            (e = {
              memoizedState: _o.memoizedState,
              baseState: _o.baseState,
              baseQueue: _o.baseQueue,
              queue: _o.queue,
              next: null,
            }),
            vo === null ? (L.memoizedState = vo = e) : (vo = vo.next = e));
        }
        return vo;
      }
      function Lo() {
        return {
          lastEffect: null,
          events: null,
          stores: null,
          memoCache: null,
        };
      }
      function Ro(e) {
        var t = Co;
        return (
          (Co += 1),
          wo === null && (wo = []),
          (e = Aa(wo, e, t)),
          (t = L),
          (vo === null ? t.memoizedState : vo.next) === null &&
            ((t = t.alternate),
            (D.H = t === null || t.memoizedState === null ? Gs : Ks)),
          e
        );
      }
      function zo(e) {
        if (typeof e == `object` && e) {
          if (typeof e.then == `function`) return Ro(e);
          if (e.$$typeof === te) return sa(e);
        }
        throw Error(i(438, String(e)));
      }
      function Bo(e) {
        var t = null,
          n = L.updateQueue;
        if ((n !== null && (t = n.memoCache), t == null)) {
          var r = L.alternate;
          r !== null &&
            ((r = r.updateQueue),
            r !== null &&
              ((r = r.memoCache),
              r != null &&
                (t = {
                  data: r.data.map(function (e) {
                    return e.slice();
                  }),
                  index: 0,
                })));
        }
        if (
          ((t ??= { data: [], index: 0 }),
          n === null && ((n = Lo()), (L.updateQueue = n)),
          (n.memoCache = t),
          (n = t.data[t.index]),
          n === void 0)
        )
          for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = T;
        return (t.index++, n);
      }
      function Vo(e, t) {
        return typeof t == `function` ? t(e) : t;
      }
      function Ho(e) {
        return Uo(Io(), _o, e);
      }
      function Uo(e, t, n) {
        var r = e.queue;
        if (r === null) throw Error(i(311));
        r.lastRenderedReducer = n;
        var a = e.baseQueue,
          o = r.pending;
        if (o !== null) {
          if (a !== null) {
            var s = a.next;
            ((a.next = o.next), (o.next = s));
          }
          ((t.baseQueue = a = o), (r.pending = null));
        }
        if (((o = e.baseState), a === null)) e.memoizedState = o;
        else {
          t = a.next;
          var c = (s = null),
            l = null,
            u = t,
            d = !1;
          do {
            var f = u.lane & -536870913;
            if (f === u.lane ? (go & f) === f : (Jl & f) === f) {
              var p = u.revertLane;
              if (p === 0)
                (l !== null &&
                  (l = l.next =
                    {
                      lane: 0,
                      revertLane: 0,
                      gesture: null,
                      action: u.action,
                      hasEagerState: u.hasEagerState,
                      eagerState: u.eagerState,
                      next: null,
                    }),
                  f === F && (d = !0));
              else if ((go & p) === p) {
                ((u = u.next), p === F && (d = !0));
                continue;
              } else
                ((f = {
                  lane: 0,
                  revertLane: u.revertLane,
                  gesture: null,
                  action: u.action,
                  hasEagerState: u.hasEagerState,
                  eagerState: u.eagerState,
                  next: null,
                }),
                  l === null ? ((c = l = f), (s = o)) : (l = l.next = f),
                  (L.lanes |= p),
                  (nu |= p));
              ((f = u.action),
                xo && n(o, f),
                (o = u.hasEagerState ? u.eagerState : n(o, f)));
            } else
              ((p = {
                lane: f,
                revertLane: u.revertLane,
                gesture: u.gesture,
                action: u.action,
                hasEagerState: u.hasEagerState,
                eagerState: u.eagerState,
                next: null,
              }),
                l === null ? ((c = l = p), (s = o)) : (l = l.next = p),
                (L.lanes |= f),
                (nu |= f));
            u = u.next;
          } while (u !== null && u !== t);
          if (
            (l === null ? (s = o) : (l.next = c),
            !Or(o, e.memoizedState) && ((lc = !0), d && ((n = _a), n !== null)))
          )
            throw n;
          ((e.memoizedState = o),
            (e.baseState = s),
            (e.baseQueue = l),
            (r.lastRenderedState = o));
        }
        return (a === null && (r.lanes = 0), [e.memoizedState, r.dispatch]);
      }
      function Wo(e) {
        var t = Io(),
          n = t.queue;
        if (n === null) throw Error(i(311));
        n.lastRenderedReducer = e;
        var r = n.dispatch,
          a = n.pending,
          o = t.memoizedState;
        if (a !== null) {
          n.pending = null;
          var s = (a = a.next);
          do ((o = e(o, s.action)), (s = s.next));
          while (s !== a);
          (Or(o, t.memoizedState) || (lc = !0),
            (t.memoizedState = o),
            t.baseQueue === null && (t.baseState = o),
            (n.lastRenderedState = o));
        }
        return [o, r];
      }
      function Go(e, t, n) {
        var r = L,
          a = Io(),
          o = N;
        if (o) {
          if (n === void 0) throw Error(i(407));
          n = n();
        } else n = t();
        var s = !Or((_o || a).memoizedState, n);
        if (
          (s && ((a.memoizedState = n), (lc = !0)),
          (a = a.queue),
          gs(Jo.bind(null, r, a, e), [e]),
          a.getSnapshot !== t || s || (vo !== null && vo.memoizedState.tag & 1))
        ) {
          if (
            ((r.flags |= 2048),
            ds(9, { destroy: void 0 }, qo.bind(null, r, a, n, t), null),
            ql === null)
          )
            throw Error(i(349));
          o || go & 127 || Ko(r, t, n);
        }
        return n;
      }
      function Ko(e, t, n) {
        ((e.flags |= 16384),
          (e = { getSnapshot: t, value: n }),
          (t = L.updateQueue),
          t === null
            ? ((t = Lo()), (L.updateQueue = t), (t.stores = [e]))
            : ((n = t.stores), n === null ? (t.stores = [e]) : n.push(e)));
      }
      function qo(e, t, n, r) {
        ((t.value = n), (t.getSnapshot = r), Yo(t) && Xo(e));
      }
      function Jo(e, t, n) {
        return n(function () {
          Yo(t) && Xo(e);
        });
      }
      function Yo(e) {
        var t = e.getSnapshot;
        e = e.value;
        try {
          var n = t();
          return !Or(e, n);
        } catch {
          return !0;
        }
      }
      function Xo(e) {
        var t = li(e, 2);
        t !== null && Tu(t, e, 2);
      }
      function Zo(e) {
        var t = Fo();
        if (typeof e == `function`) {
          var n = e;
          if (((e = n()), xo)) {
            Ue(!0);
            try {
              n();
            } finally {
              Ue(!1);
            }
          }
        }
        return (
          (t.memoizedState = t.baseState = e),
          (t.queue = {
            pending: null,
            lanes: 0,
            dispatch: null,
            lastRenderedReducer: Vo,
            lastRenderedState: e,
          }),
          t
        );
      }
      function Qo(e, t, n, r) {
        return ((e.baseState = n), Uo(e, _o, typeof r == `function` ? r : Vo));
      }
      function $o(e, t, n, r, a) {
        if (Vs(e)) throw Error(i(485));
        if (((e = t.action), e !== null)) {
          var o = {
            payload: a,
            action: e,
            next: null,
            isTransition: !0,
            status: `pending`,
            value: null,
            reason: null,
            listeners: [],
            then: function (e) {
              o.listeners.push(e);
            },
          };
          (D.T === null ? (o.isTransition = !1) : n(!0),
            r(o),
            (n = t.pending),
            n === null
              ? ((o.next = t.pending = o), es(t, o))
              : ((o.next = n.next), (t.pending = n.next = o)));
        }
      }
      function es(e, t) {
        var n = t.action,
          r = t.payload,
          i = e.state;
        if (t.isTransition) {
          var a = D.T,
            o = {};
          D.T = o;
          try {
            var s = n(i, r),
              c = D.S;
            (c !== null && c(o, s), ts(e, t, s));
          } catch (n) {
            rs(e, t, n);
          } finally {
            (a !== null && o.types !== null && (a.types = o.types), (D.T = a));
          }
        } else
          try {
            ((a = n(i, r)), ts(e, t, a));
          } catch (n) {
            rs(e, t, n);
          }
      }
      function ts(e, t, n) {
        typeof n == `object` && n && typeof n.then == `function`
          ? n.then(
              function (n) {
                ns(e, t, n);
              },
              function (n) {
                return rs(e, t, n);
              },
            )
          : ns(e, t, n);
      }
      function ns(e, t, n) {
        ((t.status = `fulfilled`),
          (t.value = n),
          is(t),
          (e.state = n),
          (t = e.pending),
          t !== null &&
            ((n = t.next),
            n === t
              ? (e.pending = null)
              : ((n = n.next), (t.next = n), es(e, n))));
      }
      function rs(e, t, n) {
        var r = e.pending;
        if (((e.pending = null), r !== null)) {
          r = r.next;
          do ((t.status = `rejected`), (t.reason = n), is(t), (t = t.next));
          while (t !== r);
        }
        e.action = null;
      }
      function is(e) {
        e = e.listeners;
        for (var t = 0; t < e.length; t++) (0, e[t])();
      }
      function as(e, t) {
        return t;
      }
      function os(e, t) {
        if (N) {
          var n = ql.formState;
          if (n !== null) {
            a: {
              var r = L;
              if (N) {
                if (Bi) {
                  b: {
                    for (var i = Bi, a = Hi; i.nodeType !== 8;) {
                      if (!a) {
                        i = null;
                        break b;
                      }
                      if (((i = bf(i.nextSibling)), i === null)) {
                        i = null;
                        break b;
                      }
                    }
                    ((a = i.data), (i = a === `F!` || a === `F` ? i : null));
                  }
                  if (i) {
                    ((Bi = bf(i.nextSibling)), (r = i.data === `F!`));
                    break a;
                  }
                }
                Wi(r);
              }
              r = !1;
            }
            r && (t = n[0]);
          }
        }
        return (
          (n = Fo()),
          (n.memoizedState = n.baseState = t),
          (r = {
            pending: null,
            lanes: 0,
            dispatch: null,
            lastRenderedReducer: as,
            lastRenderedState: t,
          }),
          (n.queue = r),
          (n = Rs.bind(null, L, r)),
          (r.dispatch = n),
          (r = Zo(!1)),
          (a = Bs.bind(null, L, !1, r.queue)),
          (r = Fo()),
          (i = { state: t, dispatch: null, action: e, pending: null }),
          (r.queue = i),
          (n = $o.bind(null, L, i, a, n)),
          (i.dispatch = n),
          (r.memoizedState = e),
          [t, n, !1]
        );
      }
      function ss(e) {
        return cs(Io(), _o, e);
      }
      function cs(e, t, n) {
        if (
          ((t = Uo(e, t, as)[0]),
          (e = Ho(Vo)[0]),
          typeof t == `object` && t && typeof t.then == `function`)
        )
          try {
            var r = Ro(t);
          } catch (e) {
            throw e === Ea ? Oa : e;
          }
        else r = t;
        t = Io();
        var i = t.queue,
          a = i.dispatch;
        return (
          n !== t.memoizedState &&
            ((L.flags |= 2048),
            ds(9, { destroy: void 0 }, ls.bind(null, i, n), null)),
          [r, a, e]
        );
      }
      function ls(e, t) {
        e.action = t;
      }
      function us(e) {
        var t = Io(),
          n = _o;
        if (n !== null) return cs(t, n, e);
        (Io(), (t = t.memoizedState), (n = Io()));
        var r = n.queue.dispatch;
        return ((n.memoizedState = e), [t, r, !1]);
      }
      function ds(e, t, n, r) {
        return (
          (e = { tag: e, create: n, deps: r, inst: t, next: null }),
          (t = L.updateQueue),
          t === null && ((t = Lo()), (L.updateQueue = t)),
          (n = t.lastEffect),
          n === null
            ? (t.lastEffect = e.next = e)
            : ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e)),
          e
        );
      }
      function fs() {
        return Io().memoizedState;
      }
      function ps(e, t, n, r) {
        var i = Fo();
        ((L.flags |= e),
          (i.memoizedState = ds(
            1 | t,
            { destroy: void 0 },
            n,
            r === void 0 ? null : r,
          )));
      }
      function ms(e, t, n, r) {
        var i = Io();
        r = r === void 0 ? null : r;
        var a = i.memoizedState.inst;
        _o !== null && r !== null && Do(r, _o.memoizedState.deps)
          ? (i.memoizedState = ds(t, a, n, r))
          : ((L.flags |= e), (i.memoizedState = ds(1 | t, a, n, r)));
      }
      function hs(e, t) {
        ps(8390656, 8, e, t);
      }
      function gs(e, t) {
        ms(2048, 8, e, t);
      }
      function _s(e) {
        L.flags |= 4;
        var t = L.updateQueue;
        if (t === null) ((t = Lo()), (L.updateQueue = t), (t.events = [e]));
        else {
          var n = t.events;
          n === null ? (t.events = [e]) : n.push(e);
        }
      }
      function vs(e) {
        var t = Io().memoizedState;
        return (
          _s({ ref: t, nextImpl: e }),
          function () {
            if (Kl & 2) throw Error(i(440));
            return t.impl.apply(void 0, arguments);
          }
        );
      }
      function ys(e, t) {
        return ms(4, 2, e, t);
      }
      function bs(e, t) {
        return ms(4, 4, e, t);
      }
      function xs(e, t) {
        if (typeof t == `function`) {
          e = e();
          var n = t(e);
          return function () {
            typeof n == `function` ? n() : t(null);
          };
        }
        if (t != null)
          return (
            (e = e()),
            (t.current = e),
            function () {
              t.current = null;
            }
          );
      }
      function Ss(e, t, n) {
        ((n = n == null ? null : n.concat([e])),
          ms(4, 4, xs.bind(null, t, e), n));
      }
      function Cs() {}
      function ws(e, t) {
        var n = Io();
        t = t === void 0 ? null : t;
        var r = n.memoizedState;
        return t !== null && Do(t, r[1])
          ? r[0]
          : ((n.memoizedState = [e, t]), e);
      }
      function Ts(e, t) {
        var n = Io();
        t = t === void 0 ? null : t;
        var r = n.memoizedState;
        if (t !== null && Do(t, r[1])) return r[0];
        if (((r = e()), xo)) {
          Ue(!0);
          try {
            e();
          } finally {
            Ue(!1);
          }
        }
        return ((n.memoizedState = [r, t]), r);
      }
      function Es(e, t, n) {
        return n === void 0 || (go & 1073741824 && !(Jl & 261930))
          ? (e.memoizedState = t)
          : ((e.memoizedState = n), (e = wu()), (L.lanes |= e), (nu |= e), n);
      }
      function Ds(e, t, n, r) {
        return Or(n, t)
          ? n
          : to.current === null
            ? !(go & 42) || (go & 1073741824 && !(Jl & 261930))
              ? ((lc = !0), (e.memoizedState = n))
              : ((e = wu()), (L.lanes |= e), (nu |= e), t)
            : ((e = Es(e, n, r)), Or(e, t) || (lc = !0), e);
      }
      function Os(e, t, n, r, i) {
        var a = O.p;
        O.p = a !== 0 && 8 > a ? a : 8;
        var o = D.T,
          s = {};
        ((D.T = s), Bs(e, !1, t, n));
        try {
          var c = i(),
            l = D.S;
          (l !== null && l(s, c),
            typeof c == `object` && c && typeof c.then == `function`
              ? zs(e, t, ba(c, r), Cu(e))
              : zs(e, t, r, Cu(e)));
        } catch (n) {
          zs(
            e,
            t,
            { then: function () {}, status: `rejected`, reason: n },
            Cu(),
          );
        } finally {
          ((O.p = a),
            o !== null && s.types !== null && (o.types = s.types),
            (D.T = o));
        }
      }
      function ks() {}
      function As(e, t, n, r) {
        if (e.tag !== 5) throw Error(i(476));
        var a = js(e).queue;
        Os(
          e,
          a,
          t,
          le,
          n === null
            ? ks
            : function () {
                return (Ms(e), n(r));
              },
        );
      }
      function js(e) {
        var t = e.memoizedState;
        if (t !== null) return t;
        t = {
          memoizedState: le,
          baseState: le,
          baseQueue: null,
          queue: {
            pending: null,
            lanes: 0,
            dispatch: null,
            lastRenderedReducer: Vo,
            lastRenderedState: le,
          },
          next: null,
        };
        var n = {};
        return (
          (t.next = {
            memoizedState: n,
            baseState: n,
            baseQueue: null,
            queue: {
              pending: null,
              lanes: 0,
              dispatch: null,
              lastRenderedReducer: Vo,
              lastRenderedState: n,
            },
            next: null,
          }),
          (e.memoizedState = t),
          (e = e.alternate),
          e !== null && (e.memoizedState = t),
          t
        );
      }
      function Ms(e) {
        var t = js(e);
        (t.next === null && (t = e.alternate.memoizedState),
          zs(e, t.next.queue, {}, Cu()));
      }
      function Ns() {
        return sa(cp);
      }
      function Ps() {
        return Io().memoizedState;
      }
      function Fs() {
        return Io().memoizedState;
      }
      function Is(e) {
        for (var t = e.return; t !== null;) {
          switch (t.tag) {
            case 24:
            case 3:
              var n = Cu();
              e = Ka(n);
              var r = qa(t, e, n);
              (r !== null && (Tu(r, t, n), Ja(r, t, n)),
                (t = { cache: ma() }),
                (e.payload = t));
              return;
          }
          t = t.return;
        }
      }
      function Ls(e, t, n) {
        var r = Cu();
        ((n = {
          lane: r,
          revertLane: 0,
          gesture: null,
          action: n,
          hasEagerState: !1,
          eagerState: null,
          next: null,
        }),
          Vs(e)
            ? Hs(t, n)
            : ((n = ci(e, t, n, r)), n !== null && (Tu(n, e, r), Us(n, t, r))));
      }
      function Rs(e, t, n) {
        zs(e, t, n, Cu());
      }
      function zs(e, t, n, r) {
        var i = {
          lane: r,
          revertLane: 0,
          gesture: null,
          action: n,
          hasEagerState: !1,
          eagerState: null,
          next: null,
        };
        if (Vs(e)) Hs(t, i);
        else {
          var a = e.alternate;
          if (
            e.lanes === 0 &&
            (a === null || a.lanes === 0) &&
            ((a = t.lastRenderedReducer), a !== null)
          )
            try {
              var o = t.lastRenderedState,
                s = a(o, n);
              if (((i.hasEagerState = !0), (i.eagerState = s), Or(s, o)))
                return (si(e, t, i, 0), ql === null && oi(), !1);
            } catch {}
          if (((n = ci(e, t, i, r)), n !== null))
            return (Tu(n, e, r), Us(n, t, r), !0);
        }
        return !1;
      }
      function Bs(e, t, n, r) {
        if (
          ((r = {
            lane: 2,
            revertLane: Sd(),
            gesture: null,
            action: r,
            hasEagerState: !1,
            eagerState: null,
            next: null,
          }),
          Vs(e))
        ) {
          if (t) throw Error(i(479));
        } else ((t = ci(e, n, r, 2)), t !== null && Tu(t, e, 2));
      }
      function Vs(e) {
        var t = e.alternate;
        return e === L || (t !== null && t === L);
      }
      function Hs(e, t) {
        bo = yo = !0;
        var n = e.pending;
        (n === null ? (t.next = t) : ((t.next = n.next), (n.next = t)),
          (e.pending = t));
      }
      function Us(e, t, n) {
        if (n & 4194048) {
          var r = t.lanes;
          ((r &= e.pendingLanes), (n |= r), (t.lanes = n), ot(e, n));
        }
      }
      var Ws = {
        readContext: sa,
        use: zo,
        useCallback: Eo,
        useContext: Eo,
        useEffect: Eo,
        useImperativeHandle: Eo,
        useLayoutEffect: Eo,
        useInsertionEffect: Eo,
        useMemo: Eo,
        useReducer: Eo,
        useRef: Eo,
        useState: Eo,
        useDebugValue: Eo,
        useDeferredValue: Eo,
        useTransition: Eo,
        useSyncExternalStore: Eo,
        useId: Eo,
        useHostTransitionStatus: Eo,
        useFormState: Eo,
        useActionState: Eo,
        useOptimistic: Eo,
        useMemoCache: Eo,
        useCacheRefresh: Eo,
      };
      Ws.useEffectEvent = Eo;
      var Gs = {
          readContext: sa,
          use: zo,
          useCallback: function (e, t) {
            return ((Fo().memoizedState = [e, t === void 0 ? null : t]), e);
          },
          useContext: sa,
          useEffect: hs,
          useImperativeHandle: function (e, t, n) {
            ((n = n == null ? null : n.concat([e])),
              ps(4194308, 4, xs.bind(null, t, e), n));
          },
          useLayoutEffect: function (e, t) {
            return ps(4194308, 4, e, t);
          },
          useInsertionEffect: function (e, t) {
            ps(4, 2, e, t);
          },
          useMemo: function (e, t) {
            var n = Fo();
            t = t === void 0 ? null : t;
            var r = e();
            if (xo) {
              Ue(!0);
              try {
                e();
              } finally {
                Ue(!1);
              }
            }
            return ((n.memoizedState = [r, t]), r);
          },
          useReducer: function (e, t, n) {
            var r = Fo();
            if (n !== void 0) {
              var i = n(t);
              if (xo) {
                Ue(!0);
                try {
                  n(t);
                } finally {
                  Ue(!1);
                }
              }
            } else i = t;
            return (
              (r.memoizedState = r.baseState = i),
              (e = {
                pending: null,
                lanes: 0,
                dispatch: null,
                lastRenderedReducer: e,
                lastRenderedState: i,
              }),
              (r.queue = e),
              (e = e.dispatch = Ls.bind(null, L, e)),
              [r.memoizedState, e]
            );
          },
          useRef: function (e) {
            var t = Fo();
            return ((e = { current: e }), (t.memoizedState = e));
          },
          useState: function (e) {
            e = Zo(e);
            var t = e.queue,
              n = Rs.bind(null, L, t);
            return ((t.dispatch = n), [e.memoizedState, n]);
          },
          useDebugValue: Cs,
          useDeferredValue: function (e, t) {
            return Es(Fo(), e, t);
          },
          useTransition: function () {
            var e = Zo(!1);
            return (
              (e = Os.bind(null, L, e.queue, !0, !1)),
              (Fo().memoizedState = e),
              [!1, e]
            );
          },
          useSyncExternalStore: function (e, t, n) {
            var r = L,
              a = Fo();
            if (N) {
              if (n === void 0) throw Error(i(407));
              n = n();
            } else {
              if (((n = t()), ql === null)) throw Error(i(349));
              Jl & 127 || Ko(r, t, n);
            }
            a.memoizedState = n;
            var o = { value: n, getSnapshot: t };
            return (
              (a.queue = o),
              hs(Jo.bind(null, r, o, e), [e]),
              (r.flags |= 2048),
              ds(9, { destroy: void 0 }, qo.bind(null, r, o, n, t), null),
              n
            );
          },
          useId: function () {
            var e = Fo(),
              t = ql.identifierPrefix;
            if (N) {
              var n = Ni,
                r = Mi;
              ((n = (r & ~(1 << (32 - We(r) - 1))).toString(32) + n),
                (t = `_` + t + `R_` + n),
                (n = So++),
                0 < n && (t += `H` + n.toString(32)),
                (t += `_`));
            } else ((n = To++), (t = `_` + t + `r_` + n.toString(32) + `_`));
            return (e.memoizedState = t);
          },
          useHostTransitionStatus: Ns,
          useFormState: os,
          useActionState: os,
          useOptimistic: function (e) {
            var t = Fo();
            t.memoizedState = t.baseState = e;
            var n = {
              pending: null,
              lanes: 0,
              dispatch: null,
              lastRenderedReducer: null,
              lastRenderedState: null,
            };
            return (
              (t.queue = n),
              (t = Bs.bind(null, L, !0, n)),
              (n.dispatch = t),
              [e, t]
            );
          },
          useMemoCache: Bo,
          useCacheRefresh: function () {
            return (Fo().memoizedState = Is.bind(null, L));
          },
          useEffectEvent: function (e) {
            var t = Fo(),
              n = { impl: e };
            return (
              (t.memoizedState = n),
              function () {
                if (Kl & 2) throw Error(i(440));
                return n.impl.apply(void 0, arguments);
              }
            );
          },
        },
        Ks = {
          readContext: sa,
          use: zo,
          useCallback: ws,
          useContext: sa,
          useEffect: gs,
          useImperativeHandle: Ss,
          useInsertionEffect: ys,
          useLayoutEffect: bs,
          useMemo: Ts,
          useReducer: Ho,
          useRef: fs,
          useState: function () {
            return Ho(Vo);
          },
          useDebugValue: Cs,
          useDeferredValue: function (e, t) {
            return Ds(Io(), _o.memoizedState, e, t);
          },
          useTransition: function () {
            var e = Ho(Vo)[0],
              t = Io().memoizedState;
            return [typeof e == `boolean` ? e : Ro(e), t];
          },
          useSyncExternalStore: Go,
          useId: Ps,
          useHostTransitionStatus: Ns,
          useFormState: ss,
          useActionState: ss,
          useOptimistic: function (e, t) {
            return Qo(Io(), _o, e, t);
          },
          useMemoCache: Bo,
          useCacheRefresh: Fs,
        };
      Ks.useEffectEvent = vs;
      var qs = {
        readContext: sa,
        use: zo,
        useCallback: ws,
        useContext: sa,
        useEffect: gs,
        useImperativeHandle: Ss,
        useInsertionEffect: ys,
        useLayoutEffect: bs,
        useMemo: Ts,
        useReducer: Wo,
        useRef: fs,
        useState: function () {
          return Wo(Vo);
        },
        useDebugValue: Cs,
        useDeferredValue: function (e, t) {
          var n = Io();
          return _o === null ? Es(n, e, t) : Ds(n, _o.memoizedState, e, t);
        },
        useTransition: function () {
          var e = Wo(Vo)[0],
            t = Io().memoizedState;
          return [typeof e == `boolean` ? e : Ro(e), t];
        },
        useSyncExternalStore: Go,
        useId: Ps,
        useHostTransitionStatus: Ns,
        useFormState: us,
        useActionState: us,
        useOptimistic: function (e, t) {
          var n = Io();
          return _o === null
            ? ((n.baseState = e), [e, n.queue.dispatch])
            : Qo(n, _o, e, t);
        },
        useMemoCache: Bo,
        useCacheRefresh: Fs,
      };
      qs.useEffectEvent = vs;
      function Js(e, t, n, r) {
        ((t = e.memoizedState),
          (n = n(r, t)),
          (n = n == null ? t : f({}, t, n)),
          (e.memoizedState = n),
          e.lanes === 0 && (e.updateQueue.baseState = n));
      }
      var Ys = {
        enqueueSetState: function (e, t, n) {
          e = e._reactInternals;
          var r = Cu(),
            i = Ka(r);
          ((i.payload = t),
            n != null && (i.callback = n),
            (t = qa(e, i, r)),
            t !== null && (Tu(t, e, r), Ja(t, e, r)));
        },
        enqueueReplaceState: function (e, t, n) {
          e = e._reactInternals;
          var r = Cu(),
            i = Ka(r);
          ((i.tag = 1),
            (i.payload = t),
            n != null && (i.callback = n),
            (t = qa(e, i, r)),
            t !== null && (Tu(t, e, r), Ja(t, e, r)));
        },
        enqueueForceUpdate: function (e, t) {
          e = e._reactInternals;
          var n = Cu(),
            r = Ka(n);
          ((r.tag = 2),
            t != null && (r.callback = t),
            (t = qa(e, r, n)),
            t !== null && (Tu(t, e, n), Ja(t, e, n)));
        },
      };
      function Xs(e, t, n, r, i, a, o) {
        return (
          (e = e.stateNode),
          typeof e.shouldComponentUpdate == `function`
            ? e.shouldComponentUpdate(r, a, o)
            : t.prototype && t.prototype.isPureReactComponent
              ? !kr(n, r) || !kr(i, a)
              : !0
        );
      }
      function Zs(e, t, n, r) {
        ((e = t.state),
          typeof t.componentWillReceiveProps == `function` &&
            t.componentWillReceiveProps(n, r),
          typeof t.UNSAFE_componentWillReceiveProps == `function` &&
            t.UNSAFE_componentWillReceiveProps(n, r),
          t.state !== e && Ys.enqueueReplaceState(t, t.state, null));
      }
      function Qs(e, t) {
        var n = t;
        if (`ref` in t)
          for (var r in ((n = {}), t)) r !== `ref` && (n[r] = t[r]);
        if ((e = e.defaultProps))
          for (var i in (n === t && (n = f({}, n)), e))
            n[i] === void 0 && (n[i] = e[i]);
        return n;
      }
      function $s(e) {
        ni(e);
      }
      function ec(e) {
        console.error(e);
      }
      function tc(e) {
        ni(e);
      }
      function nc(e, t) {
        try {
          var n = e.onUncaughtError;
          n(t.value, { componentStack: t.stack });
        } catch (e) {
          setTimeout(function () {
            throw e;
          });
        }
      }
      function rc(e, t, n) {
        try {
          var r = e.onCaughtError;
          r(n.value, {
            componentStack: n.stack,
            errorBoundary: t.tag === 1 ? t.stateNode : null,
          });
        } catch (e) {
          setTimeout(function () {
            throw e;
          });
        }
      }
      function ic(e, t, n) {
        return (
          (n = Ka(n)),
          (n.tag = 3),
          (n.payload = { element: null }),
          (n.callback = function () {
            nc(e, t);
          }),
          n
        );
      }
      function ac(e) {
        return ((e = Ka(e)), (e.tag = 3), e);
      }
      function oc(e, t, n, r) {
        var i = n.type.getDerivedStateFromError;
        if (typeof i == `function`) {
          var a = r.value;
          ((e.payload = function () {
            return i(a);
          }),
            (e.callback = function () {
              rc(t, n, r);
            }));
        }
        var o = n.stateNode;
        o !== null &&
          typeof o.componentDidCatch == `function` &&
          (e.callback = function () {
            (rc(t, n, r),
              typeof i != `function` &&
                (pu === null ? (pu = new Set([this])) : pu.add(this)));
            var e = r.stack;
            this.componentDidCatch(r.value, {
              componentStack: e === null ? `` : e,
            });
          });
      }
      function sc(e, t, n, r, a) {
        if (
          ((n.flags |= 32768),
          typeof r == `object` && r && typeof r.then == `function`)
        ) {
          if (
            ((t = n.alternate),
            t !== null && ia(t, n, a, !0),
            (n = oo.current),
            n !== null)
          ) {
            switch (n.tag) {
              case 31:
              case 13:
                return (
                  so === null
                    ? Lu()
                    : n.alternate === null && tu === 0 && (tu = 3),
                  (n.flags &= -257),
                  (n.flags |= 65536),
                  (n.lanes = a),
                  r === I
                    ? (n.flags |= 16384)
                    : ((t = n.updateQueue),
                      t === null ? (n.updateQueue = new Set([r])) : t.add(r),
                      nd(e, r, a)),
                  !1
                );
              case 22:
                return (
                  (n.flags |= 65536),
                  r === I
                    ? (n.flags |= 16384)
                    : ((t = n.updateQueue),
                      t === null
                        ? ((t = {
                            transitions: null,
                            markerInstances: null,
                            retryQueue: new Set([r]),
                          }),
                          (n.updateQueue = t))
                        : ((n = t.retryQueue),
                          n === null
                            ? (t.retryQueue = new Set([r]))
                            : n.add(r)),
                      nd(e, r, a)),
                  !1
                );
            }
            throw Error(i(435, n.tag));
          }
          return (nd(e, r, a), Lu(), !1);
        }
        if (N)
          return (
            (t = oo.current),
            t === null
              ? (r !== Ui && ((t = Error(i(423), { cause: r })), Xi(wi(t, n))),
                (e = e.current.alternate),
                (e.flags |= 65536),
                (a &= -a),
                (e.lanes |= a),
                (r = wi(r, n)),
                (a = ic(e.stateNode, r, a)),
                Ya(e, a),
                tu !== 4 && (tu = 2))
              : (!(t.flags & 65536) && (t.flags |= 256),
                (t.flags |= 65536),
                (t.lanes = a),
                r !== Ui && ((e = Error(i(422), { cause: r })), Xi(wi(e, n)))),
            !1
          );
        var o = Error(i(520), { cause: r });
        if (
          ((o = wi(o, n)),
          B === null ? (B = [o]) : B.push(o),
          tu !== 4 && (tu = 2),
          t === null)
        )
          return !0;
        ((r = wi(r, n)), (n = t));
        do {
          switch (n.tag) {
            case 3:
              return (
                (n.flags |= 65536),
                (e = a & -a),
                (n.lanes |= e),
                (e = ic(n.stateNode, r, e)),
                Ya(n, e),
                !1
              );
            case 1:
              if (
                ((t = n.type),
                (o = n.stateNode),
                !(n.flags & 128) &&
                  (typeof t.getDerivedStateFromError == `function` ||
                    (o !== null &&
                      typeof o.componentDidCatch == `function` &&
                      (pu === null || !pu.has(o)))))
              )
                return (
                  (n.flags |= 65536),
                  (a &= -a),
                  (n.lanes |= a),
                  (a = ac(a)),
                  oc(a, e, n, r),
                  Ya(n, a),
                  !1
                );
          }
          n = n.return;
        } while (n !== null);
        return !1;
      }
      var cc = Error(i(461)),
        lc = !1;
      function uc(e, t, n, r) {
        t.child = e === null ? Ha(t, null, n, r) : Va(t, e.child, n, r);
      }
      function dc(e, t, n, r, i) {
        n = n.render;
        var a = t.ref;
        if (`ref` in r) {
          var o = {};
          for (var s in r) s !== `ref` && (o[s] = r[s]);
        } else o = r;
        return (
          oa(t),
          (r = Oo(e, t, n, o, a, i)),
          (s = Mo()),
          e !== null && !lc
            ? (No(e, t, i), Fc(e, t, i))
            : (N && s && Ii(t), (t.flags |= 1), uc(e, t, r, i), t.child)
        );
      }
      function fc(e, t, n, r, i) {
        if (e === null) {
          var a = n.type;
          return typeof a == `function` &&
            !hi(a) &&
            a.defaultProps === void 0 &&
            n.compare === null
            ? ((t.tag = 15), (t.type = a), pc(e, t, a, r, i))
            : ((e = vi(n.type, null, r, t, t.mode, i)),
              (e.ref = t.ref),
              (e.return = t),
              (t.child = e));
        }
        if (((a = e.child), !Ic(e, i))) {
          var o = a.memoizedProps;
          if (
            ((n = n.compare),
            (n = n === null ? kr : n),
            n(o, r) && e.ref === t.ref)
          )
            return Fc(e, t, i);
        }
        return (
          (t.flags |= 1),
          (e = gi(a, r)),
          (e.ref = t.ref),
          (e.return = t),
          (t.child = e)
        );
      }
      function pc(e, t, n, r, i) {
        if (e !== null) {
          var a = e.memoizedProps;
          if (kr(a, r) && e.ref === t.ref)
            if (((lc = !1), (t.pendingProps = r = a), Ic(e, i)))
              e.flags & 131072 && (lc = !0);
            else return ((t.lanes = e.lanes), Fc(e, t, i));
        }
        return xc(e, t, n, r, i);
      }
      function mc(e, t, n, r) {
        var i = r.children,
          a = e === null ? null : e.memoizedState;
        if (
          (e === null &&
            t.stateNode === null &&
            (t.stateNode = {
              _visibility: 1,
              _pendingMarkers: null,
              _retryCache: null,
              _transitions: null,
            }),
          r.mode === `hidden`)
        ) {
          if (t.flags & 128) {
            if (((a = a === null ? n : a.baseLanes | n), e !== null)) {
              for (r = t.child = e.child, i = 0; r !== null;)
                ((i = i | r.lanes | r.childLanes), (r = r.sibling));
              r = i & ~a;
            } else ((r = 0), (t.child = null));
            return gc(e, t, a, n, r);
          }
          if (n & 536870912)
            ((t.memoizedState = { baseLanes: 0, cachePool: null }),
              e !== null && wa(t, a === null ? null : a.cachePool),
              a === null ? io() : ro(t, a),
              uo(t));
          else
            return (
              (r = t.lanes = 536870912),
              gc(e, t, a === null ? n : a.baseLanes | n, n, r)
            );
        } else
          a === null
            ? (e !== null && wa(t, null), io(), fo(t))
            : (wa(t, a.cachePool), ro(t, a), fo(t), (t.memoizedState = null));
        return (uc(e, t, i, n), t.child);
      }
      function hc(e, t) {
        return (
          (e !== null && e.tag === 22) ||
            t.stateNode !== null ||
            (t.stateNode = {
              _visibility: 1,
              _pendingMarkers: null,
              _retryCache: null,
              _transitions: null,
            }),
          t.sibling
        );
      }
      function gc(e, t, n, r, i) {
        var a = Ca();
        return (
          (a = a === null ? null : { parent: pa._currentValue, pool: a }),
          (t.memoizedState = { baseLanes: n, cachePool: a }),
          e !== null && wa(t, null),
          io(),
          uo(t),
          e !== null && ia(e, t, r, !0),
          (t.childLanes = i),
          null
        );
      }
      function _c(e, t) {
        return (
          (t = Ac({ mode: t.mode, children: t.children }, e.mode)),
          (t.ref = e.ref),
          (e.child = t),
          (t.return = e),
          t
        );
      }
      function vc(e, t, n) {
        return (
          Va(t, e.child, null, n),
          (e = _c(t, t.pendingProps)),
          (e.flags |= 2),
          po(t),
          (t.memoizedState = null),
          e
        );
      }
      function yc(e, t, n) {
        var r = t.pendingProps,
          a = (t.flags & 128) != 0;
        if (((t.flags &= -129), e === null)) {
          if (N) {
            if (r.mode === `hidden`)
              return ((e = _c(t, r)), (t.lanes = 536870912), hc(null, e));
            if (
              (lo(t),
              (e = Bi)
                ? ((e = gf(e, Hi)),
                  (e = e !== null && e.data === `&` ? e : null),
                  e !== null &&
                    ((t.memoizedState = {
                      dehydrated: e,
                      treeContext:
                        ji === null ? null : { id: Mi, overflow: Ni },
                      retryLane: 536870912,
                      hydrationErrors: null,
                    }),
                    (n = xi(e)),
                    (n.return = t),
                    (t.child = n),
                    (zi = t),
                    (Bi = null)))
                : (e = null),
              e === null)
            )
              throw Wi(t);
            return ((t.lanes = 536870912), null);
          }
          return _c(t, r);
        }
        var o = e.memoizedState;
        if (o !== null) {
          var s = o.dehydrated;
          if ((lo(t), a))
            if (t.flags & 256) ((t.flags &= -257), (t = vc(e, t, n)));
            else if (t.memoizedState !== null)
              ((t.child = e.child), (t.flags |= 128), (t = null));
            else throw Error(i(558));
          else if (
            (lc || ia(e, t, n, !1), (a = (n & e.childLanes) !== 0), lc || a)
          ) {
            if (
              ((r = ql),
              r !== null && ((s = st(r, n)), s !== 0 && s !== o.retryLane))
            )
              throw ((o.retryLane = s), li(e, s), Tu(r, e, s), cc);
            (Lu(), (t = vc(e, t, n)));
          } else
            ((e = o.treeContext),
              (Bi = bf(s.nextSibling)),
              (zi = t),
              (N = !0),
              (Vi = null),
              (Hi = !1),
              e !== null && Ri(t, e),
              (t = _c(t, r)),
              (t.flags |= 4096));
          return t;
        }
        return (
          (e = gi(e.child, { mode: r.mode, children: r.children })),
          (e.ref = t.ref),
          (t.child = e),
          (e.return = t),
          e
        );
      }
      function bc(e, t) {
        var n = t.ref;
        if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
        else {
          if (typeof n != `function` && typeof n != `object`)
            throw Error(i(284));
          (e === null || e.ref !== n) && (t.flags |= 4194816);
        }
      }
      function xc(e, t, n, r, i) {
        return (
          oa(t),
          (n = Oo(e, t, n, r, void 0, i)),
          (r = Mo()),
          e !== null && !lc
            ? (No(e, t, i), Fc(e, t, i))
            : (N && r && Ii(t), (t.flags |= 1), uc(e, t, n, i), t.child)
        );
      }
      function Sc(e, t, n, r, i, a) {
        return (
          oa(t),
          (t.updateQueue = null),
          (n = Ao(t, r, n, i)),
          ko(e),
          (r = Mo()),
          e !== null && !lc
            ? (No(e, t, a), Fc(e, t, a))
            : (N && r && Ii(t), (t.flags |= 1), uc(e, t, n, a), t.child)
        );
      }
      function Cc(e, t, n, r, i) {
        if ((oa(t), t.stateNode === null)) {
          var a = fi,
            o = n.contextType;
          (typeof o == `object` && o && (a = sa(o)),
            (a = new n(r, a)),
            (t.memoizedState =
              a.state !== null && a.state !== void 0 ? a.state : null),
            (a.updater = Ys),
            (t.stateNode = a),
            (a._reactInternals = t),
            (a = t.stateNode),
            (a.props = r),
            (a.state = t.memoizedState),
            (a.refs = {}),
            Wa(t),
            (o = n.contextType),
            (a.context = typeof o == `object` && o ? sa(o) : fi),
            (a.state = t.memoizedState),
            (o = n.getDerivedStateFromProps),
            typeof o == `function` &&
              (Js(t, n, o, r), (a.state = t.memoizedState)),
            typeof n.getDerivedStateFromProps == `function` ||
              typeof a.getSnapshotBeforeUpdate == `function` ||
              (typeof a.UNSAFE_componentWillMount != `function` &&
                typeof a.componentWillMount != `function`) ||
              ((o = a.state),
              typeof a.componentWillMount == `function` &&
                a.componentWillMount(),
              typeof a.UNSAFE_componentWillMount == `function` &&
                a.UNSAFE_componentWillMount(),
              o !== a.state && Ys.enqueueReplaceState(a, a.state, null),
              Qa(t, r, a, i),
              Za(),
              (a.state = t.memoizedState)),
            typeof a.componentDidMount == `function` && (t.flags |= 4194308),
            (r = !0));
        } else if (e === null) {
          a = t.stateNode;
          var s = t.memoizedProps,
            c = Qs(n, s);
          a.props = c;
          var l = a.context,
            u = n.contextType;
          ((o = fi), typeof u == `object` && u && (o = sa(u)));
          var d = n.getDerivedStateFromProps;
          ((u =
            typeof d == `function` ||
            typeof a.getSnapshotBeforeUpdate == `function`),
            (s = t.pendingProps !== s),
            u ||
              (typeof a.UNSAFE_componentWillReceiveProps != `function` &&
                typeof a.componentWillReceiveProps != `function`) ||
              ((s || l !== o) && Zs(t, a, r, o)),
            (Ua = !1));
          var f = t.memoizedState;
          ((a.state = f),
            Qa(t, r, a, i),
            Za(),
            (l = t.memoizedState),
            s || f !== l || Ua
              ? (typeof d == `function` &&
                  (Js(t, n, d, r), (l = t.memoizedState)),
                (c = Ua || Xs(t, n, c, r, f, l, o))
                  ? (u ||
                      (typeof a.UNSAFE_componentWillMount != `function` &&
                        typeof a.componentWillMount != `function`) ||
                      (typeof a.componentWillMount == `function` &&
                        a.componentWillMount(),
                      typeof a.UNSAFE_componentWillMount == `function` &&
                        a.UNSAFE_componentWillMount()),
                    typeof a.componentDidMount == `function` &&
                      (t.flags |= 4194308))
                  : (typeof a.componentDidMount == `function` &&
                      (t.flags |= 4194308),
                    (t.memoizedProps = r),
                    (t.memoizedState = l)),
                (a.props = r),
                (a.state = l),
                (a.context = o),
                (r = c))
              : (typeof a.componentDidMount == `function` &&
                  (t.flags |= 4194308),
                (r = !1)));
        } else {
          ((a = t.stateNode),
            Ga(e, t),
            (o = t.memoizedProps),
            (u = Qs(n, o)),
            (a.props = u),
            (d = t.pendingProps),
            (f = a.context),
            (l = n.contextType),
            (c = fi),
            typeof l == `object` && l && (c = sa(l)),
            (s = n.getDerivedStateFromProps),
            (l =
              typeof s == `function` ||
              typeof a.getSnapshotBeforeUpdate == `function`) ||
              (typeof a.UNSAFE_componentWillReceiveProps != `function` &&
                typeof a.componentWillReceiveProps != `function`) ||
              ((o !== d || f !== c) && Zs(t, a, r, c)),
            (Ua = !1),
            (f = t.memoizedState),
            (a.state = f),
            Qa(t, r, a, i),
            Za());
          var p = t.memoizedState;
          o !== d ||
          f !== p ||
          Ua ||
          (e !== null && e.dependencies !== null && aa(e.dependencies))
            ? (typeof s == `function` &&
                (Js(t, n, s, r), (p = t.memoizedState)),
              (u =
                Ua ||
                Xs(t, n, u, r, f, p, c) ||
                (e !== null && e.dependencies !== null && aa(e.dependencies)))
                ? (l ||
                    (typeof a.UNSAFE_componentWillUpdate != `function` &&
                      typeof a.componentWillUpdate != `function`) ||
                    (typeof a.componentWillUpdate == `function` &&
                      a.componentWillUpdate(r, p, c),
                    typeof a.UNSAFE_componentWillUpdate == `function` &&
                      a.UNSAFE_componentWillUpdate(r, p, c)),
                  typeof a.componentDidUpdate == `function` && (t.flags |= 4),
                  typeof a.getSnapshotBeforeUpdate == `function` &&
                    (t.flags |= 1024))
                : (typeof a.componentDidUpdate != `function` ||
                    (o === e.memoizedProps && f === e.memoizedState) ||
                    (t.flags |= 4),
                  typeof a.getSnapshotBeforeUpdate != `function` ||
                    (o === e.memoizedProps && f === e.memoizedState) ||
                    (t.flags |= 1024),
                  (t.memoizedProps = r),
                  (t.memoizedState = p)),
              (a.props = r),
              (a.state = p),
              (a.context = c),
              (r = u))
            : (typeof a.componentDidUpdate != `function` ||
                (o === e.memoizedProps && f === e.memoizedState) ||
                (t.flags |= 4),
              typeof a.getSnapshotBeforeUpdate != `function` ||
                (o === e.memoizedProps && f === e.memoizedState) ||
                (t.flags |= 1024),
              (r = !1));
        }
        return (
          (a = r),
          bc(e, t),
          (r = (t.flags & 128) != 0),
          a || r
            ? ((a = t.stateNode),
              (n =
                r && typeof n.getDerivedStateFromError != `function`
                  ? null
                  : a.render()),
              (t.flags |= 1),
              e !== null && r
                ? ((t.child = Va(t, e.child, null, i)),
                  (t.child = Va(t, null, n, i)))
                : uc(e, t, n, i),
              (t.memoizedState = a.state),
              (e = t.child))
            : (e = Fc(e, t, i)),
          e
        );
      }
      function wc(e, t, n, r) {
        return (Ji(), (t.flags |= 256), uc(e, t, n, r), t.child);
      }
      var Tc = {
        dehydrated: null,
        treeContext: null,
        retryLane: 0,
        hydrationErrors: null,
      };
      function Ec(e) {
        return { baseLanes: e, cachePool: Ta() };
      }
      function Dc(e, t, n) {
        return ((e = e === null ? 0 : e.childLanes & ~n), t && (e |= au), e);
      }
      function Oc(e, t, n) {
        var r = t.pendingProps,
          a = !1,
          o = (t.flags & 128) != 0,
          s;
        if (
          ((s = o) ||
            (s =
              e !== null && e.memoizedState === null
                ? !1
                : (mo.current & 2) != 0),
          s && ((a = !0), (t.flags &= -129)),
          (s = (t.flags & 32) != 0),
          (t.flags &= -33),
          e === null)
        ) {
          if (N) {
            if (
              (a ? co(t) : fo(t),
              (e = Bi)
                ? ((e = gf(e, Hi)),
                  (e = e !== null && e.data !== `&` ? e : null),
                  e !== null &&
                    ((t.memoizedState = {
                      dehydrated: e,
                      treeContext:
                        ji === null ? null : { id: Mi, overflow: Ni },
                      retryLane: 536870912,
                      hydrationErrors: null,
                    }),
                    (n = xi(e)),
                    (n.return = t),
                    (t.child = n),
                    (zi = t),
                    (Bi = null)))
                : (e = null),
              e === null)
            )
              throw Wi(t);
            return (vf(e) ? (t.lanes = 32) : (t.lanes = 536870912), null);
          }
          var c = r.children;
          return (
            (r = r.fallback),
            a
              ? (fo(t),
                (a = t.mode),
                (c = Ac({ mode: `hidden`, children: c }, a)),
                (r = yi(r, a, n, null)),
                (c.return = t),
                (r.return = t),
                (c.sibling = r),
                (t.child = c),
                (r = t.child),
                (r.memoizedState = Ec(n)),
                (r.childLanes = Dc(e, s, n)),
                (t.memoizedState = Tc),
                hc(null, r))
              : (co(t), kc(t, c))
          );
        }
        var l = e.memoizedState;
        if (l !== null && ((c = l.dehydrated), c !== null)) {
          if (o)
            t.flags & 256
              ? (co(t), (t.flags &= -257), (t = jc(e, t, n)))
              : t.memoizedState === null
                ? (fo(t),
                  (c = r.fallback),
                  (a = t.mode),
                  (r = Ac({ mode: `visible`, children: r.children }, a)),
                  (c = yi(c, a, n, null)),
                  (c.flags |= 2),
                  (r.return = t),
                  (c.return = t),
                  (r.sibling = c),
                  (t.child = r),
                  Va(t, e.child, null, n),
                  (r = t.child),
                  (r.memoizedState = Ec(n)),
                  (r.childLanes = Dc(e, s, n)),
                  (t.memoizedState = Tc),
                  (t = hc(null, r)))
                : (fo(t), (t.child = e.child), (t.flags |= 128), (t = null));
          else if ((co(t), vf(c))) {
            if (((s = c.nextSibling && c.nextSibling.dataset), s))
              var u = s.dgst;
            ((s = u),
              (r = Error(i(419))),
              (r.stack = ``),
              (r.digest = s),
              Xi({ value: r, source: null, stack: null }),
              (t = jc(e, t, n)));
          } else if (
            (lc || ia(e, t, n, !1), (s = (n & e.childLanes) !== 0), lc || s)
          ) {
            if (
              ((s = ql),
              s !== null && ((r = st(s, n)), r !== 0 && r !== l.retryLane))
            )
              throw ((l.retryLane = r), li(e, r), Tu(s, e, r), cc);
            (_f(c) || Lu(), (t = jc(e, t, n)));
          } else
            _f(c)
              ? ((t.flags |= 192), (t.child = e.child), (t = null))
              : ((e = l.treeContext),
                (Bi = bf(c.nextSibling)),
                (zi = t),
                (N = !0),
                (Vi = null),
                (Hi = !1),
                e !== null && Ri(t, e),
                (t = kc(t, r.children)),
                (t.flags |= 4096));
          return t;
        }
        return a
          ? (fo(t),
            (c = r.fallback),
            (a = t.mode),
            (l = e.child),
            (u = l.sibling),
            (r = gi(l, { mode: `hidden`, children: r.children })),
            (r.subtreeFlags = l.subtreeFlags & 65011712),
            u === null
              ? ((c = yi(c, a, n, null)), (c.flags |= 2))
              : (c = gi(u, c)),
            (c.return = t),
            (r.return = t),
            (r.sibling = c),
            (t.child = r),
            hc(null, r),
            (r = t.child),
            (c = e.child.memoizedState),
            c === null
              ? (c = Ec(n))
              : ((a = c.cachePool),
                a === null
                  ? (a = Ta())
                  : ((l = pa._currentValue),
                    (a = a.parent === l ? a : { parent: l, pool: l })),
                (c = { baseLanes: c.baseLanes | n, cachePool: a })),
            (r.memoizedState = c),
            (r.childLanes = Dc(e, s, n)),
            (t.memoizedState = Tc),
            hc(e.child, r))
          : (co(t),
            (n = e.child),
            (e = n.sibling),
            (n = gi(n, { mode: `visible`, children: r.children })),
            (n.return = t),
            (n.sibling = null),
            e !== null &&
              ((s = t.deletions),
              s === null ? ((t.deletions = [e]), (t.flags |= 16)) : s.push(e)),
            (t.child = n),
            (t.memoizedState = null),
            n);
      }
      function kc(e, t) {
        return (
          (t = Ac({ mode: `visible`, children: t }, e.mode)),
          (t.return = e),
          (e.child = t)
        );
      }
      function Ac(e, t) {
        return ((e = mi(22, e, null, t)), (e.lanes = 0), e);
      }
      function jc(e, t, n) {
        return (
          Va(t, e.child, null, n),
          (e = kc(t, t.pendingProps.children)),
          (e.flags |= 2),
          (t.memoizedState = null),
          e
        );
      }
      function Mc(e, t, n) {
        e.lanes |= t;
        var r = e.alternate;
        (r !== null && (r.lanes |= t), na(e.return, t, n));
      }
      function Nc(e, t, n, r, i, a) {
        var o = e.memoizedState;
        o === null
          ? (e.memoizedState = {
              isBackwards: t,
              rendering: null,
              renderingStartTime: 0,
              last: r,
              tail: n,
              tailMode: i,
              treeForkCount: a,
            })
          : ((o.isBackwards = t),
            (o.rendering = null),
            (o.renderingStartTime = 0),
            (o.last = r),
            (o.tail = n),
            (o.tailMode = i),
            (o.treeForkCount = a));
      }
      function Pc(e, t, n) {
        var r = t.pendingProps,
          i = r.revealOrder,
          a = r.tail;
        r = r.children;
        var o = mo.current,
          s = (o & 2) != 0;
        if (
          (s ? ((o = (o & 1) | 2), (t.flags |= 128)) : (o &= 1),
          k(mo, o),
          uc(e, t, r, n),
          (r = N ? Oi : 0),
          !s && e !== null && e.flags & 128)
        )
          a: for (e = t.child; e !== null;) {
            if (e.tag === 13) e.memoizedState !== null && Mc(e, n, t);
            else if (e.tag === 19) Mc(e, n, t);
            else if (e.child !== null) {
              ((e.child.return = e), (e = e.child));
              continue;
            }
            if (e === t) break a;
            for (; e.sibling === null;) {
              if (e.return === null || e.return === t) break a;
              e = e.return;
            }
            ((e.sibling.return = e.return), (e = e.sibling));
          }
        switch (i) {
          case `forwards`:
            for (n = t.child, i = null; n !== null;)
              ((e = n.alternate),
                e !== null && ho(e) === null && (i = n),
                (n = n.sibling));
            ((n = i),
              n === null
                ? ((i = t.child), (t.child = null))
                : ((i = n.sibling), (n.sibling = null)),
              Nc(t, !1, i, n, a, r));
            break;
          case `backwards`:
          case `unstable_legacy-backwards`:
            for (n = null, i = t.child, t.child = null; i !== null;) {
              if (((e = i.alternate), e !== null && ho(e) === null)) {
                t.child = i;
                break;
              }
              ((e = i.sibling), (i.sibling = n), (n = i), (i = e));
            }
            Nc(t, !0, n, null, a, r);
            break;
          case `together`:
            Nc(t, !1, null, null, void 0, r);
            break;
          default:
            t.memoizedState = null;
        }
        return t.child;
      }
      function Fc(e, t, n) {
        if (
          (e !== null && (t.dependencies = e.dependencies),
          (nu |= t.lanes),
          (n & t.childLanes) === 0)
        )
          if (e !== null) {
            if ((ia(e, t, n, !1), (n & t.childLanes) === 0)) return null;
          } else return null;
        if (e !== null && t.child !== e.child) throw Error(i(153));
        if (t.child !== null) {
          for (
            e = t.child, n = gi(e, e.pendingProps), t.child = n, n.return = t;
            e.sibling !== null;
          )
            ((e = e.sibling),
              (n = n.sibling = gi(e, e.pendingProps)),
              (n.return = t));
          n.sibling = null;
        }
        return t.child;
      }
      function Ic(e, t) {
        return (e.lanes & t) === 0
          ? ((e = e.dependencies), !!(e !== null && aa(e)))
          : !0;
      }
      function Lc(e, t, n) {
        switch (t.tag) {
          case 3:
            (ve(t, t.stateNode.containerInfo),
              ea(t, pa, e.memoizedState.cache),
              Ji());
            break;
          case 27:
          case 5:
            be(t);
            break;
          case 4:
            ve(t, t.stateNode.containerInfo);
            break;
          case 10:
            ea(t, t.type, t.memoizedProps.value);
            break;
          case 31:
            if (t.memoizedState !== null)
              return ((t.flags |= 128), lo(t), null);
            break;
          case 13:
            var r = t.memoizedState;
            if (r !== null)
              return r.dehydrated === null
                ? (n & t.child.childLanes) === 0
                  ? (co(t), (e = Fc(e, t, n)), e === null ? null : e.sibling)
                  : Oc(e, t, n)
                : (co(t), (t.flags |= 128), null);
            co(t);
            break;
          case 19:
            var i = (e.flags & 128) != 0;
            if (
              ((r = (n & t.childLanes) !== 0),
              (r ||= (ia(e, t, n, !1), (n & t.childLanes) !== 0)),
              i)
            ) {
              if (r) return Pc(e, t, n);
              t.flags |= 128;
            }
            if (
              ((i = t.memoizedState),
              i !== null &&
                ((i.rendering = null), (i.tail = null), (i.lastEffect = null)),
              k(mo, mo.current),
              r)
            )
              break;
            return null;
          case 22:
            return ((t.lanes = 0), mc(e, t, n, t.pendingProps));
          case 24:
            ea(t, pa, e.memoizedState.cache);
        }
        return Fc(e, t, n);
      }
      function Rc(e, t, n) {
        if (e !== null)
          if (e.memoizedProps !== t.pendingProps) lc = !0;
          else {
            if (!Ic(e, n) && !(t.flags & 128)) return ((lc = !1), Lc(e, t, n));
            lc = !!(e.flags & 131072);
          }
        else ((lc = !1), N && t.flags & 1048576 && Fi(t, Oi, t.index));
        switch (((t.lanes = 0), t.tag)) {
          case 16:
            a: {
              var r = t.pendingProps;
              if (
                ((e = ja(t.elementType)), (t.type = e), typeof e == `function`)
              )
                hi(e)
                  ? ((r = Qs(e, r)), (t.tag = 1), (t = Cc(null, t, e, r, n)))
                  : ((t.tag = 0), (t = xc(null, t, e, r, n)));
              else {
                if (e != null) {
                  var a = e.$$typeof;
                  if (a === S) {
                    ((t.tag = 11), (t = dc(null, t, e, r, n)));
                    break a;
                  } else if (a === C) {
                    ((t.tag = 14), (t = fc(null, t, e, r, n)));
                    break a;
                  }
                }
                throw ((t = se(e) || e), Error(i(306, t, ``)));
              }
            }
            return t;
          case 0:
            return xc(e, t, t.type, t.pendingProps, n);
          case 1:
            return (
              (r = t.type),
              (a = Qs(r, t.pendingProps)),
              Cc(e, t, r, a, n)
            );
          case 3:
            a: {
              if ((ve(t, t.stateNode.containerInfo), e === null))
                throw Error(i(387));
              r = t.pendingProps;
              var o = t.memoizedState;
              ((a = o.element), Ga(e, t), Qa(t, r, null, n));
              var s = t.memoizedState;
              if (
                ((r = s.cache),
                ea(t, pa, r),
                r !== o.cache && ra(t, [pa], n, !0),
                Za(),
                (r = s.element),
                o.isDehydrated)
              )
                if (
                  ((o = { element: r, isDehydrated: !1, cache: s.cache }),
                  (t.updateQueue.baseState = o),
                  (t.memoizedState = o),
                  t.flags & 256)
                ) {
                  t = wc(e, t, r, n);
                  break a;
                } else if (r !== a) {
                  ((a = wi(Error(i(424)), t)), Xi(a), (t = wc(e, t, r, n)));
                  break a;
                } else {
                  switch (((e = t.stateNode.containerInfo), e.nodeType)) {
                    case 9:
                      e = e.body;
                      break;
                    default:
                      e = e.nodeName === `HTML` ? e.ownerDocument.body : e;
                  }
                  for (
                    Bi = bf(e.firstChild),
                      zi = t,
                      N = !0,
                      Vi = null,
                      Hi = !0,
                      n = Ha(t, null, r, n),
                      t.child = n;
                    n;
                  )
                    ((n.flags = (n.flags & -3) | 4096), (n = n.sibling));
                }
              else {
                if ((Ji(), r === a)) {
                  t = Fc(e, t, n);
                  break a;
                }
                uc(e, t, r, n);
              }
              t = t.child;
            }
            return t;
          case 26:
            return (
              bc(e, t),
              e === null
                ? (n = Bf(t.type, null, t.pendingProps, null))
                  ? (t.memoizedState = n)
                  : N ||
                    ((n = t.type),
                    (e = t.pendingProps),
                    (r = Qd(ge.current).createElement(n)),
                    (r[pt] = t),
                    (r[mt] = e),
                    Kd(r, n, e),
                    Tt(r),
                    (t.stateNode = r))
                : (t.memoizedState = Bf(
                    t.type,
                    e.memoizedProps,
                    t.pendingProps,
                    e.memoizedState,
                  )),
              null
            );
          case 27:
            return (
              be(t),
              e === null &&
                N &&
                ((r = t.stateNode = wf(t.type, t.pendingProps, ge.current)),
                (zi = t),
                (Hi = !0),
                (a = Bi),
                uf(t.type) ? ((xf = a), (Bi = bf(r.firstChild))) : (Bi = a)),
              uc(e, t, t.pendingProps.children, n),
              bc(e, t),
              e === null && (t.flags |= 4194304),
              t.child
            );
          case 5:
            return (
              e === null &&
                N &&
                ((a = r = Bi) &&
                  ((r = mf(r, t.type, t.pendingProps, Hi)),
                  r === null
                    ? (a = !1)
                    : ((t.stateNode = r),
                      (zi = t),
                      (Bi = bf(r.firstChild)),
                      (Hi = !1),
                      (a = !0))),
                a || Wi(t)),
              be(t),
              (a = t.type),
              (o = t.pendingProps),
              (s = e === null ? null : e.memoizedProps),
              (r = o.children),
              tf(a, o) ? (r = null) : s !== null && tf(a, s) && (t.flags |= 32),
              t.memoizedState !== null &&
                ((a = Oo(e, t, jo, null, null, n)), (cp._currentValue = a)),
              bc(e, t),
              uc(e, t, r, n),
              t.child
            );
          case 6:
            return (
              e === null &&
                N &&
                ((e = n = Bi) &&
                  ((n = hf(n, t.pendingProps, Hi)),
                  n === null
                    ? (e = !1)
                    : ((t.stateNode = n), (zi = t), (Bi = null), (e = !0))),
                e || Wi(t)),
              null
            );
          case 13:
            return Oc(e, t, n);
          case 4:
            return (
              ve(t, t.stateNode.containerInfo),
              (r = t.pendingProps),
              e === null ? (t.child = Va(t, null, r, n)) : uc(e, t, r, n),
              t.child
            );
          case 11:
            return dc(e, t, t.type, t.pendingProps, n);
          case 7:
            return (uc(e, t, t.pendingProps, n), t.child);
          case 8:
            return (uc(e, t, t.pendingProps.children, n), t.child);
          case 12:
            return (uc(e, t, t.pendingProps.children, n), t.child);
          case 10:
            return (
              (r = t.pendingProps),
              ea(t, t.type, r.value),
              uc(e, t, r.children, n),
              t.child
            );
          case 9:
            return (
              (a = t.type._context),
              (r = t.pendingProps.children),
              oa(t),
              (a = sa(a)),
              (r = r(a)),
              (t.flags |= 1),
              uc(e, t, r, n),
              t.child
            );
          case 14:
            return fc(e, t, t.type, t.pendingProps, n);
          case 15:
            return pc(e, t, t.type, t.pendingProps, n);
          case 19:
            return Pc(e, t, n);
          case 31:
            return yc(e, t, n);
          case 22:
            return mc(e, t, n, t.pendingProps);
          case 24:
            return (
              oa(t),
              (r = sa(pa)),
              e === null
                ? ((a = Ca()),
                  a === null &&
                    ((a = ql),
                    (o = ma()),
                    (a.pooledCache = o),
                    o.refCount++,
                    o !== null && (a.pooledCacheLanes |= n),
                    (a = o)),
                  (t.memoizedState = { parent: r, cache: a }),
                  Wa(t),
                  ea(t, pa, a))
                : ((e.lanes & n) !== 0 &&
                    (Ga(e, t), Qa(t, null, null, n), Za()),
                  (a = e.memoizedState),
                  (o = t.memoizedState),
                  a.parent === r
                    ? ((r = o.cache),
                      ea(t, pa, r),
                      r !== a.cache && ra(t, [pa], n, !0))
                    : ((a = { parent: r, cache: r }),
                      (t.memoizedState = a),
                      t.lanes === 0 &&
                        (t.memoizedState = t.updateQueue.baseState = a),
                      ea(t, pa, r))),
              uc(e, t, t.pendingProps.children, n),
              t.child
            );
          case 29:
            throw t.pendingProps;
        }
        throw Error(i(156, t.tag));
      }
      function zc(e) {
        e.flags |= 4;
      }
      function Bc(e, t, n, r, i) {
        if (((t = (e.mode & 32) != 0) && (t = !1), t)) {
          if (((e.flags |= 16777216), (i & 335544128) === i))
            if (e.stateNode.complete) e.flags |= 8192;
            else if (Pu()) e.flags |= 8192;
            else throw ((Ma = I), Da);
        } else e.flags &= -16777217;
      }
      function Vc(e, t) {
        if (t.type !== `stylesheet` || t.state.loading & 4)
          e.flags &= -16777217;
        else if (((e.flags |= 16777216), !ep(t)))
          if (Pu()) e.flags |= 8192;
          else throw ((Ma = I), Da);
      }
      function Hc(e, t) {
        (t !== null && (e.flags |= 4),
          e.flags & 16384 &&
            ((t = e.tag === 22 ? 536870912 : tt()), (e.lanes |= t), (ou |= t)));
      }
      function Uc(e, t) {
        if (!N)
          switch (e.tailMode) {
            case `hidden`:
              t = e.tail;
              for (var n = null; t !== null;)
                (t.alternate !== null && (n = t), (t = t.sibling));
              n === null ? (e.tail = null) : (n.sibling = null);
              break;
            case `collapsed`:
              n = e.tail;
              for (var r = null; n !== null;)
                (n.alternate !== null && (r = n), (n = n.sibling));
              r === null
                ? t || e.tail === null
                  ? (e.tail = null)
                  : (e.tail.sibling = null)
                : (r.sibling = null);
          }
      }
      function Wc(e) {
        var t = e.alternate !== null && e.alternate.child === e.child,
          n = 0,
          r = 0;
        if (t)
          for (var i = e.child; i !== null;)
            ((n |= i.lanes | i.childLanes),
              (r |= i.subtreeFlags & 65011712),
              (r |= i.flags & 65011712),
              (i.return = e),
              (i = i.sibling));
        else
          for (i = e.child; i !== null;)
            ((n |= i.lanes | i.childLanes),
              (r |= i.subtreeFlags),
              (r |= i.flags),
              (i.return = e),
              (i = i.sibling));
        return ((e.subtreeFlags |= r), (e.childLanes = n), t);
      }
      function Gc(e, t, n) {
        var r = t.pendingProps;
        switch ((Li(t), t.tag)) {
          case 16:
          case 15:
          case 0:
          case 11:
          case 7:
          case 8:
          case 12:
          case 9:
          case 14:
            return (Wc(t), null);
          case 1:
            return (Wc(t), null);
          case 3:
            return (
              (n = t.stateNode),
              (r = null),
              e !== null && (r = e.memoizedState.cache),
              t.memoizedState.cache !== r && (t.flags |= 2048),
              ta(pa),
              ye(),
              n.pendingContext &&
                ((n.context = n.pendingContext), (n.pendingContext = null)),
              (e === null || e.child === null) &&
                (qi(t)
                  ? zc(t)
                  : e === null ||
                    (e.memoizedState.isDehydrated && !(t.flags & 256)) ||
                    ((t.flags |= 1024), Yi())),
              Wc(t),
              null
            );
          case 26:
            var a = t.type,
              o = t.memoizedState;
            return (
              e === null
                ? (zc(t),
                  o === null
                    ? (Wc(t), Bc(t, a, null, r, n))
                    : (Wc(t), Vc(t, o)))
                : o
                  ? o === e.memoizedState
                    ? (Wc(t), (t.flags &= -16777217))
                    : (zc(t), Wc(t), Vc(t, o))
                  : ((e = e.memoizedProps),
                    e !== r && zc(t),
                    Wc(t),
                    Bc(t, a, e, r, n)),
              null
            );
          case 27:
            if (
              (A(t),
              (n = ge.current),
              (a = t.type),
              e !== null && t.stateNode != null)
            )
              e.memoizedProps !== r && zc(t);
            else {
              if (!r) {
                if (t.stateNode === null) throw Error(i(166));
                return (Wc(t), null);
              }
              ((e = me.current),
                qi(t)
                  ? Gi(t, e)
                  : ((e = wf(a, r, n)), (t.stateNode = e), zc(t)));
            }
            return (Wc(t), null);
          case 5:
            if ((A(t), (a = t.type), e !== null && t.stateNode != null))
              e.memoizedProps !== r && zc(t);
            else {
              if (!r) {
                if (t.stateNode === null) throw Error(i(166));
                return (Wc(t), null);
              }
              if (((o = me.current), qi(t))) Gi(t, o);
              else {
                var s = Qd(ge.current);
                switch (o) {
                  case 1:
                    o = s.createElementNS(`http://www.w3.org/2000/svg`, a);
                    break;
                  case 2:
                    o = s.createElementNS(
                      `http://www.w3.org/1998/Math/MathML`,
                      a,
                    );
                    break;
                  default:
                    switch (a) {
                      case `svg`:
                        o = s.createElementNS(`http://www.w3.org/2000/svg`, a);
                        break;
                      case `math`:
                        o = s.createElementNS(
                          `http://www.w3.org/1998/Math/MathML`,
                          a,
                        );
                        break;
                      case `script`:
                        ((o = s.createElement(`div`)),
                          (o.innerHTML = `<script><\/script>`),
                          (o = o.removeChild(o.firstChild)));
                        break;
                      case `select`:
                        ((o =
                          typeof r.is == `string`
                            ? s.createElement(`select`, { is: r.is })
                            : s.createElement(`select`)),
                          r.multiple
                            ? (o.multiple = !0)
                            : r.size && (o.size = r.size));
                        break;
                      default:
                        o =
                          typeof r.is == `string`
                            ? s.createElement(a, { is: r.is })
                            : s.createElement(a);
                    }
                }
                ((o[pt] = t), (o[mt] = r));
                a: for (s = t.child; s !== null;) {
                  if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);
                  else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {
                    ((s.child.return = s), (s = s.child));
                    continue;
                  }
                  if (s === t) break a;
                  for (; s.sibling === null;) {
                    if (s.return === null || s.return === t) break a;
                    s = s.return;
                  }
                  ((s.sibling.return = s.return), (s = s.sibling));
                }
                t.stateNode = o;
                a: switch ((Kd(o, a, r), a)) {
                  case `button`:
                  case `input`:
                  case `select`:
                  case `textarea`:
                    r = !!r.autoFocus;
                    break a;
                  case `img`:
                    r = !0;
                    break a;
                  default:
                    r = !1;
                }
                r && zc(t);
              }
            }
            return (
              Wc(t),
              Bc(
                t,
                t.type,
                e === null ? null : e.memoizedProps,
                t.pendingProps,
                n,
              ),
              null
            );
          case 6:
            if (e && t.stateNode != null) e.memoizedProps !== r && zc(t);
            else {
              if (typeof r != `string` && t.stateNode === null)
                throw Error(i(166));
              if (((e = ge.current), qi(t))) {
                if (
                  ((e = t.stateNode),
                  (n = t.memoizedProps),
                  (r = null),
                  (a = zi),
                  a !== null)
                )
                  switch (a.tag) {
                    case 27:
                    case 5:
                      r = a.memoizedProps;
                  }
                ((e[pt] = t),
                  (e = !!(
                    e.nodeValue === n ||
                    (r !== null && !0 === r.suppressHydrationWarning) ||
                    Ud(e.nodeValue, n)
                  )),
                  e || Wi(t, !0));
              } else
                ((e = Qd(e).createTextNode(r)), (e[pt] = t), (t.stateNode = e));
            }
            return (Wc(t), null);
          case 31:
            if (
              ((n = t.memoizedState), e === null || e.memoizedState !== null)
            ) {
              if (((r = qi(t)), n !== null)) {
                if (e === null) {
                  if (!r) throw Error(i(318));
                  if (
                    ((e = t.memoizedState),
                    (e = e === null ? null : e.dehydrated),
                    !e)
                  )
                    throw Error(i(557));
                  e[pt] = t;
                } else
                  (Ji(),
                    !(t.flags & 128) && (t.memoizedState = null),
                    (t.flags |= 4));
                (Wc(t), (e = !1));
              } else
                ((n = Yi()),
                  e !== null &&
                    e.memoizedState !== null &&
                    (e.memoizedState.hydrationErrors = n),
                  (e = !0));
              if (!e) return t.flags & 256 ? (po(t), t) : (po(t), null);
              if (t.flags & 128) throw Error(i(558));
            }
            return (Wc(t), null);
          case 13:
            if (
              ((r = t.memoizedState),
              e === null ||
                (e.memoizedState !== null &&
                  e.memoizedState.dehydrated !== null))
            ) {
              if (((a = qi(t)), r !== null && r.dehydrated !== null)) {
                if (e === null) {
                  if (!a) throw Error(i(318));
                  if (
                    ((a = t.memoizedState),
                    (a = a === null ? null : a.dehydrated),
                    !a)
                  )
                    throw Error(i(317));
                  a[pt] = t;
                } else
                  (Ji(),
                    !(t.flags & 128) && (t.memoizedState = null),
                    (t.flags |= 4));
                (Wc(t), (a = !1));
              } else
                ((a = Yi()),
                  e !== null &&
                    e.memoizedState !== null &&
                    (e.memoizedState.hydrationErrors = a),
                  (a = !0));
              if (!a) return t.flags & 256 ? (po(t), t) : (po(t), null);
            }
            return (
              po(t),
              t.flags & 128
                ? ((t.lanes = n), t)
                : ((n = r !== null),
                  (e = e !== null && e.memoizedState !== null),
                  n &&
                    ((r = t.child),
                    (a = null),
                    r.alternate !== null &&
                      r.alternate.memoizedState !== null &&
                      r.alternate.memoizedState.cachePool !== null &&
                      (a = r.alternate.memoizedState.cachePool.pool),
                    (o = null),
                    r.memoizedState !== null &&
                      r.memoizedState.cachePool !== null &&
                      (o = r.memoizedState.cachePool.pool),
                    o !== a && (r.flags |= 2048)),
                  n !== e && n && (t.child.flags |= 8192),
                  Hc(t, t.updateQueue),
                  Wc(t),
                  null)
            );
          case 4:
            return (
              ye(),
              e === null && Nd(t.stateNode.containerInfo),
              Wc(t),
              null
            );
          case 10:
            return (ta(t.type), Wc(t), null);
          case 19:
            if ((pe(mo), (r = t.memoizedState), r === null))
              return (Wc(t), null);
            if (((a = (t.flags & 128) != 0), (o = r.rendering), o === null))
              if (a) Uc(r, !1);
              else {
                if (tu !== 0 || (e !== null && e.flags & 128))
                  for (e = t.child; e !== null;) {
                    if (((o = ho(e)), o !== null)) {
                      for (
                        t.flags |= 128,
                          Uc(r, !1),
                          e = o.updateQueue,
                          t.updateQueue = e,
                          Hc(t, e),
                          t.subtreeFlags = 0,
                          e = n,
                          n = t.child;
                        n !== null;
                      )
                        (_i(n, e), (n = n.sibling));
                      return (
                        k(mo, (mo.current & 1) | 2),
                        N && Pi(t, r.treeForkCount),
                        t.child
                      );
                    }
                    e = e.sibling;
                  }
                r.tail !== null &&
                  Me() > du &&
                  ((t.flags |= 128), (a = !0), Uc(r, !1), (t.lanes = 4194304));
              }
            else {
              if (!a)
                if (((e = ho(o)), e !== null)) {
                  if (
                    ((t.flags |= 128),
                    (a = !0),
                    (e = e.updateQueue),
                    (t.updateQueue = e),
                    Hc(t, e),
                    Uc(r, !0),
                    r.tail === null &&
                      r.tailMode === `hidden` &&
                      !o.alternate &&
                      !N)
                  )
                    return (Wc(t), null);
                } else
                  2 * Me() - r.renderingStartTime > du &&
                    n !== 536870912 &&
                    ((t.flags |= 128),
                    (a = !0),
                    Uc(r, !1),
                    (t.lanes = 4194304));
              r.isBackwards
                ? ((o.sibling = t.child), (t.child = o))
                : ((e = r.last),
                  e === null ? (t.child = o) : (e.sibling = o),
                  (r.last = o));
            }
            return r.tail === null
              ? (Wc(t), null)
              : ((e = r.tail),
                (r.rendering = e),
                (r.tail = e.sibling),
                (r.renderingStartTime = Me()),
                (e.sibling = null),
                (n = mo.current),
                k(mo, a ? (n & 1) | 2 : n & 1),
                N && Pi(t, r.treeForkCount),
                e);
          case 22:
          case 23:
            return (
              po(t),
              ao(),
              (r = t.memoizedState !== null),
              e === null
                ? r && (t.flags |= 8192)
                : (e.memoizedState !== null) !== r && (t.flags |= 8192),
              r
                ? n & 536870912 &&
                  !(t.flags & 128) &&
                  (Wc(t), t.subtreeFlags & 6 && (t.flags |= 8192))
                : Wc(t),
              (n = t.updateQueue),
              n !== null && Hc(t, n.retryQueue),
              (n = null),
              e !== null &&
                e.memoizedState !== null &&
                e.memoizedState.cachePool !== null &&
                (n = e.memoizedState.cachePool.pool),
              (r = null),
              t.memoizedState !== null &&
                t.memoizedState.cachePool !== null &&
                (r = t.memoizedState.cachePool.pool),
              r !== n && (t.flags |= 2048),
              e !== null && pe(Sa),
              null
            );
          case 24:
            return (
              (n = null),
              e !== null && (n = e.memoizedState.cache),
              t.memoizedState.cache !== n && (t.flags |= 2048),
              ta(pa),
              Wc(t),
              null
            );
          case 25:
            return null;
          case 30:
            return null;
        }
        throw Error(i(156, t.tag));
      }
      function Kc(e, t) {
        switch ((Li(t), t.tag)) {
          case 1:
            return (
              (e = t.flags),
              e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null
            );
          case 3:
            return (
              ta(pa),
              ye(),
              (e = t.flags),
              e & 65536 && !(e & 128)
                ? ((t.flags = (e & -65537) | 128), t)
                : null
            );
          case 26:
          case 27:
          case 5:
            return (A(t), null);
          case 31:
            if (t.memoizedState !== null) {
              if ((po(t), t.alternate === null)) throw Error(i(340));
              Ji();
            }
            return (
              (e = t.flags),
              e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null
            );
          case 13:
            if (
              (po(t),
              (e = t.memoizedState),
              e !== null && e.dehydrated !== null)
            ) {
              if (t.alternate === null) throw Error(i(340));
              Ji();
            }
            return (
              (e = t.flags),
              e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null
            );
          case 19:
            return (pe(mo), null);
          case 4:
            return (ye(), null);
          case 10:
            return (ta(t.type), null);
          case 22:
          case 23:
            return (
              po(t),
              ao(),
              e !== null && pe(Sa),
              (e = t.flags),
              e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null
            );
          case 24:
            return (ta(pa), null);
          case 25:
            return null;
          default:
            return null;
        }
      }
      function qc(e, t) {
        switch ((Li(t), t.tag)) {
          case 3:
            (ta(pa), ye());
            break;
          case 26:
          case 27:
          case 5:
            A(t);
            break;
          case 4:
            ye();
            break;
          case 31:
            t.memoizedState !== null && po(t);
            break;
          case 13:
            po(t);
            break;
          case 19:
            pe(mo);
            break;
          case 10:
            ta(t.type);
            break;
          case 22:
          case 23:
            (po(t), ao(), e !== null && pe(Sa));
            break;
          case 24:
            ta(pa);
        }
      }
      function Jc(e, t) {
        try {
          var n = t.updateQueue,
            r = n === null ? null : n.lastEffect;
          if (r !== null) {
            var i = r.next;
            n = i;
            do {
              if ((n.tag & e) === e) {
                r = void 0;
                var a = n.create,
                  o = n.inst;
                ((r = a()), (o.destroy = r));
              }
              n = n.next;
            } while (n !== i);
          }
        } catch (e) {
          td(t, t.return, e);
        }
      }
      function Yc(e, t, n) {
        try {
          var r = t.updateQueue,
            i = r === null ? null : r.lastEffect;
          if (i !== null) {
            var a = i.next;
            r = a;
            do {
              if ((r.tag & e) === e) {
                var o = r.inst,
                  s = o.destroy;
                if (s !== void 0) {
                  ((o.destroy = void 0), (i = t));
                  var c = n,
                    l = s;
                  try {
                    l();
                  } catch (e) {
                    td(i, c, e);
                  }
                }
              }
              r = r.next;
            } while (r !== a);
          }
        } catch (e) {
          td(t, t.return, e);
        }
      }
      function Xc(e) {
        var t = e.updateQueue;
        if (t !== null) {
          var n = e.stateNode;
          try {
            eo(t, n);
          } catch (t) {
            td(e, e.return, t);
          }
        }
      }
      function Zc(e, t, n) {
        ((n.props = Qs(e.type, e.memoizedProps)), (n.state = e.memoizedState));
        try {
          n.componentWillUnmount();
        } catch (n) {
          td(e, t, n);
        }
      }
      function Qc(e, t) {
        try {
          var n = e.ref;
          if (n !== null) {
            switch (e.tag) {
              case 26:
              case 27:
              case 5:
                var r = e.stateNode;
                break;
              case 30:
                r = e.stateNode;
                break;
              default:
                r = e.stateNode;
            }
            typeof n == `function` ? (e.refCleanup = n(r)) : (n.current = r);
          }
        } catch (n) {
          td(e, t, n);
        }
      }
      function $c(e, t) {
        var n = e.ref,
          r = e.refCleanup;
        if (n !== null)
          if (typeof r == `function`)
            try {
              r();
            } catch (n) {
              td(e, t, n);
            } finally {
              ((e.refCleanup = null),
                (e = e.alternate),
                e != null && (e.refCleanup = null));
            }
          else if (typeof n == `function`)
            try {
              n(null);
            } catch (n) {
              td(e, t, n);
            }
          else n.current = null;
      }
      function el(e) {
        var t = e.type,
          n = e.memoizedProps,
          r = e.stateNode;
        try {
          a: switch (t) {
            case `button`:
            case `input`:
            case `select`:
            case `textarea`:
              n.autoFocus && r.focus();
              break a;
            case `img`:
              n.src ? (r.src = n.src) : n.srcSet && (r.srcset = n.srcSet);
          }
        } catch (t) {
          td(e, e.return, t);
        }
      }
      function tl(e, t, n) {
        try {
          var r = e.stateNode;
          (qd(r, e.type, n, t), (r[mt] = t));
        } catch (t) {
          td(e, e.return, t);
        }
      }
      function nl(e) {
        return (
          e.tag === 5 ||
          e.tag === 3 ||
          e.tag === 26 ||
          (e.tag === 27 && uf(e.type)) ||
          e.tag === 4
        );
      }
      function rl(e) {
        a: for (;;) {
          for (; e.sibling === null;) {
            if (e.return === null || nl(e.return)) return null;
            e = e.return;
          }
          for (
            e.sibling.return = e.return, e = e.sibling;
            e.tag !== 5 && e.tag !== 6 && e.tag !== 18;
          ) {
            if (
              (e.tag === 27 && uf(e.type)) ||
              e.flags & 2 ||
              e.child === null ||
              e.tag === 4
            )
              continue a;
            ((e.child.return = e), (e = e.child));
          }
          if (!(e.flags & 2)) return e.stateNode;
        }
      }
      function il(e, t, n) {
        var r = e.tag;
        if (r === 5 || r === 6)
          ((e = e.stateNode),
            t
              ? (n.nodeType === 9
                  ? n.body
                  : n.nodeName === `HTML`
                    ? n.ownerDocument.body
                    : n
                ).insertBefore(e, t)
              : ((t =
                  n.nodeType === 9
                    ? n.body
                    : n.nodeName === `HTML`
                      ? n.ownerDocument.body
                      : n),
                t.appendChild(e),
                (n = n._reactRootContainer),
                n != null || t.onclick !== null || (t.onclick = on)));
        else if (
          r !== 4 &&
          (r === 27 && uf(e.type) && ((n = e.stateNode), (t = null)),
          (e = e.child),
          e !== null)
        )
          for (il(e, t, n), e = e.sibling; e !== null;)
            (il(e, t, n), (e = e.sibling));
      }
      function al(e, t, n) {
        var r = e.tag;
        if (r === 5 || r === 6)
          ((e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e));
        else if (
          r !== 4 &&
          (r === 27 && uf(e.type) && (n = e.stateNode),
          (e = e.child),
          e !== null)
        )
          for (al(e, t, n), e = e.sibling; e !== null;)
            (al(e, t, n), (e = e.sibling));
      }
      function ol(e) {
        var t = e.stateNode,
          n = e.memoizedProps;
        try {
          for (var r = e.type, i = t.attributes; i.length;)
            t.removeAttributeNode(i[0]);
          (Kd(t, r, n), (t[pt] = e), (t[mt] = n));
        } catch (t) {
          td(e, e.return, t);
        }
      }
      var sl = !1,
        cl = !1,
        ll = !1,
        ul = typeof WeakSet == `function` ? WeakSet : Set,
        dl = null;
      function fl(e, t) {
        if (((e = e.containerInfo), (Xd = _p), (e = Nr(e)), Pr(e))) {
          if (`selectionStart` in e)
            var n = { start: e.selectionStart, end: e.selectionEnd };
          else
            a: {
              n = ((n = e.ownerDocument) && n.defaultView) || window;
              var r = n.getSelection && n.getSelection();
              if (r && r.rangeCount !== 0) {
                n = r.anchorNode;
                var a = r.anchorOffset,
                  o = r.focusNode;
                r = r.focusOffset;
                try {
                  (n.nodeType, o.nodeType);
                } catch {
                  n = null;
                  break a;
                }
                var s = 0,
                  c = -1,
                  l = -1,
                  u = 0,
                  d = 0,
                  f = e,
                  p = null;
                b: for (;;) {
                  for (
                    var m;
                    f !== n || (a !== 0 && f.nodeType !== 3) || (c = s + a),
                      f !== o || (r !== 0 && f.nodeType !== 3) || (l = s + r),
                      f.nodeType === 3 && (s += f.nodeValue.length),
                      (m = f.firstChild) !== null;
                  )
                    ((p = f), (f = m));
                  for (;;) {
                    if (f === e) break b;
                    if (
                      (p === n && ++u === a && (c = s),
                      p === o && ++d === r && (l = s),
                      (m = f.nextSibling) !== null)
                    )
                      break;
                    ((f = p), (p = f.parentNode));
                  }
                  f = m;
                }
                n = c === -1 || l === -1 ? null : { start: c, end: l };
              } else n = null;
            }
          n ||= { start: 0, end: 0 };
        } else n = null;
        for (
          Zd = { focusedElem: e, selectionRange: n }, _p = !1, dl = t;
          dl !== null;
        )
          if (((t = dl), (e = t.child), t.subtreeFlags & 1028 && e !== null))
            ((e.return = t), (dl = e));
          else
            for (; dl !== null;) {
              switch (((t = dl), (o = t.alternate), (e = t.flags), t.tag)) {
                case 0:
                  if (
                    e & 4 &&
                    ((e = t.updateQueue),
                    (e = e === null ? null : e.events),
                    e !== null)
                  )
                    for (n = 0; n < e.length; n++)
                      ((a = e[n]), (a.ref.impl = a.nextImpl));
                  break;
                case 11:
                case 15:
                  break;
                case 1:
                  if (e & 1024 && o !== null) {
                    ((e = void 0),
                      (n = t),
                      (a = o.memoizedProps),
                      (o = o.memoizedState),
                      (r = n.stateNode));
                    try {
                      var h = Qs(n.type, a);
                      ((e = r.getSnapshotBeforeUpdate(h, o)),
                        (r.__reactInternalSnapshotBeforeUpdate = e));
                    } catch (e) {
                      td(n, n.return, e);
                    }
                  }
                  break;
                case 3:
                  if (e & 1024) {
                    if (
                      ((e = t.stateNode.containerInfo),
                      (n = e.nodeType),
                      n === 9)
                    )
                      pf(e);
                    else if (n === 1)
                      switch (e.nodeName) {
                        case `HEAD`:
                        case `HTML`:
                        case `BODY`:
                          pf(e);
                          break;
                        default:
                          e.textContent = ``;
                      }
                  }
                  break;
                case 5:
                case 26:
                case 27:
                case 6:
                case 4:
                case 17:
                  break;
                default:
                  if (e & 1024) throw Error(i(163));
              }
              if (((e = t.sibling), e !== null)) {
                ((e.return = t.return), (dl = e));
                break;
              }
              dl = t.return;
            }
      }
      function pl(e, t, n) {
        var r = n.flags;
        switch (n.tag) {
          case 0:
          case 11:
          case 15:
            (Ol(e, n), r & 4 && Jc(5, n));
            break;
          case 1:
            if ((Ol(e, n), r & 4))
              if (((e = n.stateNode), t === null))
                try {
                  e.componentDidMount();
                } catch (e) {
                  td(n, n.return, e);
                }
              else {
                var i = Qs(n.type, t.memoizedProps);
                t = t.memoizedState;
                try {
                  e.componentDidUpdate(
                    i,
                    t,
                    e.__reactInternalSnapshotBeforeUpdate,
                  );
                } catch (e) {
                  td(n, n.return, e);
                }
              }
            (r & 64 && Xc(n), r & 512 && Qc(n, n.return));
            break;
          case 3:
            if ((Ol(e, n), r & 64 && ((e = n.updateQueue), e !== null))) {
              if (((t = null), n.child !== null))
                switch (n.child.tag) {
                  case 27:
                  case 5:
                    t = n.child.stateNode;
                    break;
                  case 1:
                    t = n.child.stateNode;
                }
              try {
                eo(e, t);
              } catch (e) {
                td(n, n.return, e);
              }
            }
            break;
          case 27:
            t === null && r & 4 && ol(n);
          case 26:
          case 5:
            (Ol(e, n),
              t === null && r & 4 && el(n),
              r & 512 && Qc(n, n.return));
            break;
          case 12:
            Ol(e, n);
            break;
          case 31:
            (Ol(e, n), r & 4 && yl(e, n));
            break;
          case 13:
            (Ol(e, n),
              r & 4 && bl(e, n),
              r & 64 &&
                ((e = n.memoizedState),
                e !== null &&
                  ((e = e.dehydrated),
                  e !== null && ((n = ad.bind(null, n)), yf(e, n)))));
            break;
          case 22:
            if (((r = n.memoizedState !== null || sl), !r)) {
              ((t = (t !== null && t.memoizedState !== null) || cl), (i = sl));
              var a = cl;
              ((sl = r),
                (cl = t) && !a
                  ? Al(e, n, (n.subtreeFlags & 8772) != 0)
                  : Ol(e, n),
                (sl = i),
                (cl = a));
            }
            break;
          case 30:
            break;
          default:
            Ol(e, n);
        }
      }
      function ml(e) {
        var t = e.alternate;
        (t !== null && ((e.alternate = null), ml(t)),
          (e.child = null),
          (e.deletions = null),
          (e.sibling = null),
          e.tag === 5 && ((t = e.stateNode), t !== null && xt(t)),
          (e.stateNode = null),
          (e.return = null),
          (e.dependencies = null),
          (e.memoizedProps = null),
          (e.memoizedState = null),
          (e.pendingProps = null),
          (e.stateNode = null),
          (e.updateQueue = null));
      }
      var hl = null,
        gl = !1;
      function _l(e, t, n) {
        for (n = n.child; n !== null;) (vl(e, t, n), (n = n.sibling));
      }
      function vl(e, t, n) {
        if (He && typeof He.onCommitFiberUnmount == `function`)
          try {
            He.onCommitFiberUnmount(Ve, n);
          } catch {}
        switch (n.tag) {
          case 26:
            (cl || $c(n, t),
              _l(e, t, n),
              n.memoizedState
                ? n.memoizedState.count--
                : n.stateNode &&
                  ((n = n.stateNode), n.parentNode.removeChild(n)));
            break;
          case 27:
            cl || $c(n, t);
            var r = hl,
              i = gl;
            (uf(n.type) && ((hl = n.stateNode), (gl = !1)),
              _l(e, t, n),
              Tf(n.stateNode),
              (hl = r),
              (gl = i));
            break;
          case 5:
            cl || $c(n, t);
          case 6:
            if (
              ((r = hl),
              (i = gl),
              (hl = null),
              _l(e, t, n),
              (hl = r),
              (gl = i),
              hl !== null)
            )
              if (gl)
                try {
                  (hl.nodeType === 9
                    ? hl.body
                    : hl.nodeName === `HTML`
                      ? hl.ownerDocument.body
                      : hl
                  ).removeChild(n.stateNode);
                } catch (e) {
                  td(n, t, e);
                }
              else
                try {
                  hl.removeChild(n.stateNode);
                } catch (e) {
                  td(n, t, e);
                }
            break;
          case 18:
            hl !== null &&
              (gl
                ? ((e = hl),
                  df(
                    e.nodeType === 9
                      ? e.body
                      : e.nodeName === `HTML`
                        ? e.ownerDocument.body
                        : e,
                    n.stateNode,
                  ),
                  Up(e))
                : df(hl, n.stateNode));
            break;
          case 4:
            ((r = hl),
              (i = gl),
              (hl = n.stateNode.containerInfo),
              (gl = !0),
              _l(e, t, n),
              (hl = r),
              (gl = i));
            break;
          case 0:
          case 11:
          case 14:
          case 15:
            (Yc(2, n, t), cl || Yc(4, n, t), _l(e, t, n));
            break;
          case 1:
            (cl ||
              ($c(n, t),
              (r = n.stateNode),
              typeof r.componentWillUnmount == `function` && Zc(n, t, r)),
              _l(e, t, n));
            break;
          case 21:
            _l(e, t, n);
            break;
          case 22:
            ((cl = (r = cl) || n.memoizedState !== null),
              _l(e, t, n),
              (cl = r));
            break;
          default:
            _l(e, t, n);
        }
      }
      function yl(e, t) {
        if (
          t.memoizedState === null &&
          ((e = t.alternate), e !== null && ((e = e.memoizedState), e !== null))
        ) {
          e = e.dehydrated;
          try {
            Up(e);
          } catch (e) {
            td(t, t.return, e);
          }
        }
      }
      function bl(e, t) {
        if (
          t.memoizedState === null &&
          ((e = t.alternate),
          e !== null &&
            ((e = e.memoizedState),
            e !== null && ((e = e.dehydrated), e !== null)))
        )
          try {
            Up(e);
          } catch (e) {
            td(t, t.return, e);
          }
      }
      function xl(e) {
        switch (e.tag) {
          case 31:
          case 13:
          case 19:
            var t = e.stateNode;
            return (t === null && (t = e.stateNode = new ul()), t);
          case 22:
            return (
              (e = e.stateNode),
              (t = e._retryCache),
              t === null && (t = e._retryCache = new ul()),
              t
            );
          default:
            throw Error(i(435, e.tag));
        }
      }
      function Sl(e, t) {
        var n = xl(e);
        t.forEach(function (t) {
          if (!n.has(t)) {
            n.add(t);
            var r = od.bind(null, e, t);
            t.then(r, r);
          }
        });
      }
      function Cl(e, t) {
        var n = t.deletions;
        if (n !== null)
          for (var r = 0; r < n.length; r++) {
            var a = n[r],
              o = e,
              s = t,
              c = s;
            a: for (; c !== null;) {
              switch (c.tag) {
                case 27:
                  if (uf(c.type)) {
                    ((hl = c.stateNode), (gl = !1));
                    break a;
                  }
                  break;
                case 5:
                  ((hl = c.stateNode), (gl = !1));
                  break a;
                case 3:
                case 4:
                  ((hl = c.stateNode.containerInfo), (gl = !0));
                  break a;
              }
              c = c.return;
            }
            if (hl === null) throw Error(i(160));
            (vl(o, s, a),
              (hl = null),
              (gl = !1),
              (o = a.alternate),
              o !== null && (o.return = null),
              (a.return = null));
          }
        if (t.subtreeFlags & 13886)
          for (t = t.child; t !== null;) (Tl(t, e), (t = t.sibling));
      }
      var wl = null;
      function Tl(e, t) {
        var n = e.alternate,
          r = e.flags;
        switch (e.tag) {
          case 0:
          case 11:
          case 14:
          case 15:
            (Cl(t, e),
              El(e),
              r & 4 && (Yc(3, e, e.return), Jc(3, e), Yc(5, e, e.return)));
            break;
          case 1:
            (Cl(t, e),
              El(e),
              r & 512 && (cl || n === null || $c(n, n.return)),
              r & 64 &&
                sl &&
                ((e = e.updateQueue),
                e !== null &&
                  ((r = e.callbacks),
                  r !== null &&
                    ((n = e.shared.hiddenCallbacks),
                    (e.shared.hiddenCallbacks =
                      n === null ? r : n.concat(r))))));
            break;
          case 26:
            var a = wl;
            if (
              (Cl(t, e),
              El(e),
              r & 512 && (cl || n === null || $c(n, n.return)),
              r & 4)
            ) {
              var o = n === null ? null : n.memoizedState;
              if (((r = e.memoizedState), n === null))
                if (r === null)
                  if (e.stateNode === null) {
                    a: {
                      ((r = e.type),
                        (n = e.memoizedProps),
                        (a = a.ownerDocument || a));
                      b: switch (r) {
                        case `title`:
                          ((o = a.getElementsByTagName(`title`)[0]),
                            (!o ||
                              o[bt] ||
                              o[pt] ||
                              o.namespaceURI === `http://www.w3.org/2000/svg` ||
                              o.hasAttribute(`itemprop`)) &&
                              ((o = a.createElement(r)),
                              a.head.insertBefore(
                                o,
                                a.querySelector(`head > title`),
                              )),
                            Kd(o, r, n),
                            (o[pt] = e),
                            Tt(o),
                            (r = o));
                          break a;
                        case `link`:
                          var s = Zf(`link`, `href`, a).get(r + (n.href || ``));
                          if (s) {
                            for (var c = 0; c < s.length; c++)
                              if (
                                ((o = s[c]),
                                o.getAttribute(`href`) ===
                                  (n.href == null || n.href === ``
                                    ? null
                                    : n.href) &&
                                  o.getAttribute(`rel`) ===
                                    (n.rel == null ? null : n.rel) &&
                                  o.getAttribute(`title`) ===
                                    (n.title == null ? null : n.title) &&
                                  o.getAttribute(`crossorigin`) ===
                                    (n.crossOrigin == null
                                      ? null
                                      : n.crossOrigin))
                              ) {
                                s.splice(c, 1);
                                break b;
                              }
                          }
                          ((o = a.createElement(r)),
                            Kd(o, r, n),
                            a.head.appendChild(o));
                          break;
                        case `meta`:
                          if (
                            (s = Zf(`meta`, `content`, a).get(
                              r + (n.content || ``),
                            ))
                          ) {
                            for (c = 0; c < s.length; c++)
                              if (
                                ((o = s[c]),
                                o.getAttribute(`content`) ===
                                  (n.content == null ? null : `` + n.content) &&
                                  o.getAttribute(`name`) ===
                                    (n.name == null ? null : n.name) &&
                                  o.getAttribute(`property`) ===
                                    (n.property == null ? null : n.property) &&
                                  o.getAttribute(`http-equiv`) ===
                                    (n.httpEquiv == null
                                      ? null
                                      : n.httpEquiv) &&
                                  o.getAttribute(`charset`) ===
                                    (n.charSet == null ? null : n.charSet))
                              ) {
                                s.splice(c, 1);
                                break b;
                              }
                          }
                          ((o = a.createElement(r)),
                            Kd(o, r, n),
                            a.head.appendChild(o));
                          break;
                        default:
                          throw Error(i(468, r));
                      }
                      ((o[pt] = e), Tt(o), (r = o));
                    }
                    e.stateNode = r;
                  } else Qf(a, e.type, e.stateNode);
                else e.stateNode = Kf(a, r, e.memoizedProps);
              else
                o === r
                  ? r === null &&
                    e.stateNode !== null &&
                    tl(e, e.memoizedProps, n.memoizedProps)
                  : (o === null
                      ? n.stateNode !== null &&
                        ((n = n.stateNode), n.parentNode.removeChild(n))
                      : o.count--,
                    r === null
                      ? Qf(a, e.type, e.stateNode)
                      : Kf(a, r, e.memoizedProps));
            }
            break;
          case 27:
            (Cl(t, e),
              El(e),
              r & 512 && (cl || n === null || $c(n, n.return)),
              n !== null && r & 4 && tl(e, e.memoizedProps, n.memoizedProps));
            break;
          case 5:
            if (
              (Cl(t, e),
              El(e),
              r & 512 && (cl || n === null || $c(n, n.return)),
              e.flags & 32)
            ) {
              a = e.stateNode;
              try {
                Zt(a, ``);
              } catch (t) {
                td(e, e.return, t);
              }
            }
            (r & 4 &&
              e.stateNode != null &&
              ((a = e.memoizedProps),
              tl(e, a, n === null ? a : n.memoizedProps)),
              r & 1024 && (ll = !0));
            break;
          case 6:
            if ((Cl(t, e), El(e), r & 4)) {
              if (e.stateNode === null) throw Error(i(162));
              ((r = e.memoizedProps), (n = e.stateNode));
              try {
                n.nodeValue = r;
              } catch (t) {
                td(e, e.return, t);
              }
            }
            break;
          case 3:
            if (
              ((Xf = null),
              (a = wl),
              (wl = H(t.containerInfo)),
              Cl(t, e),
              (wl = a),
              El(e),
              r & 4 && n !== null && n.memoizedState.isDehydrated)
            )
              try {
                Up(t.containerInfo);
              } catch (t) {
                td(e, e.return, t);
              }
            ll && ((ll = !1), Dl(e));
            break;
          case 4:
            ((r = wl),
              (wl = H(e.stateNode.containerInfo)),
              Cl(t, e),
              El(e),
              (wl = r));
            break;
          case 12:
            (Cl(t, e), El(e));
            break;
          case 31:
            (Cl(t, e),
              El(e),
              r & 4 &&
                ((r = e.updateQueue),
                r !== null && ((e.updateQueue = null), Sl(e, r))));
            break;
          case 13:
            (Cl(t, e),
              El(e),
              e.child.flags & 8192 &&
                (e.memoizedState !== null) !=
                  (n !== null && n.memoizedState !== null) &&
                (lu = Me()),
              r & 4 &&
                ((r = e.updateQueue),
                r !== null && ((e.updateQueue = null), Sl(e, r))));
            break;
          case 22:
            a = e.memoizedState !== null;
            var l = n !== null && n.memoizedState !== null,
              u = sl,
              d = cl;
            if (
              ((sl = u || a),
              (cl = d || l),
              Cl(t, e),
              (cl = d),
              (sl = u),
              El(e),
              r & 8192)
            )
              a: for (
                t = e.stateNode,
                  t._visibility = a ? t._visibility & -2 : t._visibility | 1,
                  a && (n === null || l || sl || cl || kl(e)),
                  n = null,
                  t = e;
                ;
              ) {
                if (t.tag === 5 || t.tag === 26) {
                  if (n === null) {
                    l = n = t;
                    try {
                      if (((o = l.stateNode), a))
                        ((s = o.style),
                          typeof s.setProperty == `function`
                            ? s.setProperty(`display`, `none`, `important`)
                            : (s.display = `none`));
                      else {
                        c = l.stateNode;
                        var f = l.memoizedProps.style,
                          p =
                            f != null && f.hasOwnProperty(`display`)
                              ? f.display
                              : null;
                        c.style.display =
                          p == null || typeof p == `boolean`
                            ? ``
                            : (`` + p).trim();
                      }
                    } catch (e) {
                      td(l, l.return, e);
                    }
                  }
                } else if (t.tag === 6) {
                  if (n === null) {
                    l = t;
                    try {
                      l.stateNode.nodeValue = a ? `` : l.memoizedProps;
                    } catch (e) {
                      td(l, l.return, e);
                    }
                  }
                } else if (t.tag === 18) {
                  if (n === null) {
                    l = t;
                    try {
                      var m = l.stateNode;
                      a ? ff(m, !0) : ff(l.stateNode, !1);
                    } catch (e) {
                      td(l, l.return, e);
                    }
                  }
                } else if (
                  ((t.tag !== 22 && t.tag !== 23) ||
                    t.memoizedState === null ||
                    t === e) &&
                  t.child !== null
                ) {
                  ((t.child.return = t), (t = t.child));
                  continue;
                }
                if (t === e) break a;
                for (; t.sibling === null;) {
                  if (t.return === null || t.return === e) break a;
                  (n === t && (n = null), (t = t.return));
                }
                (n === t && (n = null),
                  (t.sibling.return = t.return),
                  (t = t.sibling));
              }
            r & 4 &&
              ((r = e.updateQueue),
              r !== null &&
                ((n = r.retryQueue),
                n !== null && ((r.retryQueue = null), Sl(e, n))));
            break;
          case 19:
            (Cl(t, e),
              El(e),
              r & 4 &&
                ((r = e.updateQueue),
                r !== null && ((e.updateQueue = null), Sl(e, r))));
            break;
          case 30:
            break;
          case 21:
            break;
          default:
            (Cl(t, e), El(e));
        }
      }
      function El(e) {
        var t = e.flags;
        if (t & 2) {
          try {
            for (var n, r = e.return; r !== null;) {
              if (nl(r)) {
                n = r;
                break;
              }
              r = r.return;
            }
            if (n == null) throw Error(i(160));
            switch (n.tag) {
              case 27:
                var a = n.stateNode;
                al(e, rl(e), a);
                break;
              case 5:
                var o = n.stateNode;
                (n.flags & 32 && (Zt(o, ``), (n.flags &= -33)),
                  al(e, rl(e), o));
                break;
              case 3:
              case 4:
                var s = n.stateNode.containerInfo;
                il(e, rl(e), s);
                break;
              default:
                throw Error(i(161));
            }
          } catch (t) {
            td(e, e.return, t);
          }
          e.flags &= -3;
        }
        t & 4096 && (e.flags &= -4097);
      }
      function Dl(e) {
        if (e.subtreeFlags & 1024)
          for (e = e.child; e !== null;) {
            var t = e;
            (Dl(t),
              t.tag === 5 && t.flags & 1024 && t.stateNode.reset(),
              (e = e.sibling));
          }
      }
      function Ol(e, t) {
        if (t.subtreeFlags & 8772)
          for (t = t.child; t !== null;)
            (pl(e, t.alternate, t), (t = t.sibling));
      }
      function kl(e) {
        for (e = e.child; e !== null;) {
          var t = e;
          switch (t.tag) {
            case 0:
            case 11:
            case 14:
            case 15:
              (Yc(4, t, t.return), kl(t));
              break;
            case 1:
              $c(t, t.return);
              var n = t.stateNode;
              (typeof n.componentWillUnmount == `function` &&
                Zc(t, t.return, n),
                kl(t));
              break;
            case 27:
              Tf(t.stateNode);
            case 26:
            case 5:
              ($c(t, t.return), kl(t));
              break;
            case 22:
              t.memoizedState === null && kl(t);
              break;
            case 30:
              kl(t);
              break;
            default:
              kl(t);
          }
          e = e.sibling;
        }
      }
      function Al(e, t, n) {
        for (n &&= (t.subtreeFlags & 8772) != 0, t = t.child; t !== null;) {
          var r = t.alternate,
            i = e,
            a = t,
            o = a.flags;
          switch (a.tag) {
            case 0:
            case 11:
            case 15:
              (Al(i, a, n), Jc(4, a));
              break;
            case 1:
              if (
                (Al(i, a, n),
                (r = a),
                (i = r.stateNode),
                typeof i.componentDidMount == `function`)
              )
                try {
                  i.componentDidMount();
                } catch (e) {
                  td(r, r.return, e);
                }
              if (((r = a), (i = r.updateQueue), i !== null)) {
                var s = r.stateNode;
                try {
                  var c = i.shared.hiddenCallbacks;
                  if (c !== null)
                    for (
                      i.shared.hiddenCallbacks = null, i = 0;
                      i < c.length;
                      i++
                    )
                      $a(c[i], s);
                } catch (e) {
                  td(r, r.return, e);
                }
              }
              (n && o & 64 && Xc(a), Qc(a, a.return));
              break;
            case 27:
              ol(a);
            case 26:
            case 5:
              (Al(i, a, n), n && r === null && o & 4 && el(a), Qc(a, a.return));
              break;
            case 12:
              Al(i, a, n);
              break;
            case 31:
              (Al(i, a, n), n && o & 4 && yl(i, a));
              break;
            case 13:
              (Al(i, a, n), n && o & 4 && bl(i, a));
              break;
            case 22:
              (a.memoizedState === null && Al(i, a, n), Qc(a, a.return));
              break;
            case 30:
              break;
            default:
              Al(i, a, n);
          }
          t = t.sibling;
        }
      }
      function jl(e, t) {
        var n = null;
        (e !== null &&
          e.memoizedState !== null &&
          e.memoizedState.cachePool !== null &&
          (n = e.memoizedState.cachePool.pool),
          (e = null),
          t.memoizedState !== null &&
            t.memoizedState.cachePool !== null &&
            (e = t.memoizedState.cachePool.pool),
          e !== n && (e != null && e.refCount++, n != null && ha(n)));
      }
      function Ml(e, t) {
        ((e = null),
          t.alternate !== null && (e = t.alternate.memoizedState.cache),
          (t = t.memoizedState.cache),
          t !== e && (t.refCount++, e != null && ha(e)));
      }
      function Nl(e, t, n, r) {
        if (t.subtreeFlags & 10256)
          for (t = t.child; t !== null;) (Pl(e, t, n, r), (t = t.sibling));
      }
      function Pl(e, t, n, r) {
        var i = t.flags;
        switch (t.tag) {
          case 0:
          case 11:
          case 15:
            (Nl(e, t, n, r), i & 2048 && Jc(9, t));
            break;
          case 1:
            Nl(e, t, n, r);
            break;
          case 3:
            (Nl(e, t, n, r),
              i & 2048 &&
                ((e = null),
                t.alternate !== null && (e = t.alternate.memoizedState.cache),
                (t = t.memoizedState.cache),
                t !== e && (t.refCount++, e != null && ha(e))));
            break;
          case 12:
            if (i & 2048) {
              (Nl(e, t, n, r), (e = t.stateNode));
              try {
                var a = t.memoizedProps,
                  o = a.id,
                  s = a.onPostCommit;
                typeof s == `function` &&
                  s(
                    o,
                    t.alternate === null ? `mount` : `update`,
                    e.passiveEffectDuration,
                    -0,
                  );
              } catch (e) {
                td(t, t.return, e);
              }
            } else Nl(e, t, n, r);
            break;
          case 31:
            Nl(e, t, n, r);
            break;
          case 13:
            Nl(e, t, n, r);
            break;
          case 23:
            break;
          case 22:
            ((a = t.stateNode),
              (o = t.alternate),
              t.memoizedState === null
                ? a._visibility & 2
                  ? Nl(e, t, n, r)
                  : ((a._visibility |= 2),
                    R(e, t, n, r, (t.subtreeFlags & 10256) != 0 || !1))
                : a._visibility & 2
                  ? Nl(e, t, n, r)
                  : Fl(e, t),
              i & 2048 && jl(o, t));
            break;
          case 24:
            (Nl(e, t, n, r), i & 2048 && Ml(t.alternate, t));
            break;
          default:
            Nl(e, t, n, r);
        }
      }
      function R(e, t, n, r, i) {
        for (
          i &&= (t.subtreeFlags & 10256) != 0 || !1, t = t.child;
          t !== null;
        ) {
          var a = e,
            o = t,
            s = n,
            c = r,
            l = o.flags;
          switch (o.tag) {
            case 0:
            case 11:
            case 15:
              (R(a, o, s, c, i), Jc(8, o));
              break;
            case 23:
              break;
            case 22:
              var u = o.stateNode;
              (o.memoizedState === null
                ? ((u._visibility |= 2), R(a, o, s, c, i))
                : u._visibility & 2
                  ? R(a, o, s, c, i)
                  : Fl(a, o),
                i && l & 2048 && jl(o.alternate, o));
              break;
            case 24:
              (R(a, o, s, c, i), i && l & 2048 && Ml(o.alternate, o));
              break;
            default:
              R(a, o, s, c, i);
          }
          t = t.sibling;
        }
      }
      function Fl(e, t) {
        if (t.subtreeFlags & 10256)
          for (t = t.child; t !== null;) {
            var n = e,
              r = t,
              i = r.flags;
            switch (r.tag) {
              case 22:
                (Fl(n, r), i & 2048 && jl(r.alternate, r));
                break;
              case 24:
                (Fl(n, r), i & 2048 && Ml(r.alternate, r));
                break;
              default:
                Fl(n, r);
            }
            t = t.sibling;
          }
      }
      var Il = 8192;
      function Ll(e, t, n) {
        if (e.subtreeFlags & Il)
          for (e = e.child; e !== null;) (Rl(e, t, n), (e = e.sibling));
      }
      function Rl(e, t, n) {
        switch (e.tag) {
          case 26:
            (Ll(e, t, n),
              e.flags & Il &&
                e.memoizedState !== null &&
                tp(n, wl, e.memoizedState, e.memoizedProps));
            break;
          case 5:
            Ll(e, t, n);
            break;
          case 3:
          case 4:
            var r = wl;
            ((wl = H(e.stateNode.containerInfo)), Ll(e, t, n), (wl = r));
            break;
          case 22:
            e.memoizedState === null &&
              ((r = e.alternate),
              r !== null && r.memoizedState !== null
                ? ((r = Il), (Il = 16777216), Ll(e, t, n), (Il = r))
                : Ll(e, t, n));
            break;
          default:
            Ll(e, t, n);
        }
      }
      function zl(e) {
        var t = e.alternate;
        if (t !== null && ((e = t.child), e !== null)) {
          t.child = null;
          do ((t = e.sibling), (e.sibling = null), (e = t));
          while (e !== null);
        }
      }
      function Bl(e) {
        var t = e.deletions;
        if (e.flags & 16) {
          if (t !== null)
            for (var n = 0; n < t.length; n++) {
              var r = t[n];
              ((dl = r), Ul(r, e));
            }
          zl(e);
        }
        if (e.subtreeFlags & 10256)
          for (e = e.child; e !== null;) (Vl(e), (e = e.sibling));
      }
      function Vl(e) {
        switch (e.tag) {
          case 0:
          case 11:
          case 15:
            (Bl(e), e.flags & 2048 && Yc(9, e, e.return));
            break;
          case 3:
            Bl(e);
            break;
          case 12:
            Bl(e);
            break;
          case 22:
            var t = e.stateNode;
            e.memoizedState !== null &&
            t._visibility & 2 &&
            (e.return === null || e.return.tag !== 13)
              ? ((t._visibility &= -3), Hl(e))
              : Bl(e);
            break;
          default:
            Bl(e);
        }
      }
      function Hl(e) {
        var t = e.deletions;
        if (e.flags & 16) {
          if (t !== null)
            for (var n = 0; n < t.length; n++) {
              var r = t[n];
              ((dl = r), Ul(r, e));
            }
          zl(e);
        }
        for (e = e.child; e !== null;) {
          switch (((t = e), t.tag)) {
            case 0:
            case 11:
            case 15:
              (Yc(8, t, t.return), Hl(t));
              break;
            case 22:
              ((n = t.stateNode),
                n._visibility & 2 && ((n._visibility &= -3), Hl(t)));
              break;
            default:
              Hl(t);
          }
          e = e.sibling;
        }
      }
      function Ul(e, t) {
        for (; dl !== null;) {
          var n = dl;
          switch (n.tag) {
            case 0:
            case 11:
            case 15:
              Yc(8, n, t);
              break;
            case 23:
            case 22:
              if (
                n.memoizedState !== null &&
                n.memoizedState.cachePool !== null
              ) {
                var r = n.memoizedState.cachePool.pool;
                r != null && r.refCount++;
              }
              break;
            case 24:
              ha(n.memoizedState.cache);
          }
          if (((r = n.child), r !== null)) ((r.return = n), (dl = r));
          else
            a: for (n = e; dl !== null;) {
              r = dl;
              var i = r.sibling,
                a = r.return;
              if ((ml(r), r === n)) {
                dl = null;
                break a;
              }
              if (i !== null) {
                ((i.return = a), (dl = i));
                break a;
              }
              dl = a;
            }
        }
      }
      var Wl = {
          getCacheForType: function (e) {
            var t = sa(pa),
              n = t.data.get(e);
            return (n === void 0 && ((n = e()), t.data.set(e, n)), n);
          },
          cacheSignal: function () {
            return sa(pa).controller.signal;
          },
        },
        Gl = typeof WeakMap == `function` ? WeakMap : Map,
        Kl = 0,
        ql = null,
        z = null,
        Jl = 0,
        Yl = 0,
        Xl = null,
        Zl = !1,
        Ql = !1,
        $l = !1,
        eu = 0,
        tu = 0,
        nu = 0,
        ru = 0,
        iu = 0,
        au = 0,
        ou = 0,
        B = null,
        su = null,
        cu = !1,
        lu = 0,
        uu = 0,
        du = 1 / 0,
        fu = null,
        pu = null,
        mu = 0,
        hu = null,
        gu = null,
        _u = 0,
        vu = 0,
        yu = null,
        bu = null,
        xu = 0,
        Su = null;
      function Cu() {
        return Kl & 2 && Jl !== 0 ? Jl & -Jl : D.T === null ? ut() : Sd();
      }
      function wu() {
        if (au === 0)
          if (!(Jl & 536870912) || N) {
            var e = Ye;
            ((Ye <<= 1), !(Ye & 3932160) && (Ye = 262144), (au = e));
          } else au = 536870912;
        return ((e = oo.current), e !== null && (e.flags |= 32), au);
      }
      function Tu(e, t, n) {
        (((e === ql && (Yl === 2 || Yl === 9)) ||
          e.cancelPendingCommit !== null) &&
          (Mu(e, 0), ku(e, Jl, au, !1)),
          rt(e, n),
          (!(Kl & 2) || e !== ql) &&
            (e === ql &&
              (!(Kl & 2) && (ru |= n), tu === 4 && ku(e, Jl, au, !1)),
            md(e)));
      }
      function Eu(e, t, n) {
        if (Kl & 6) throw Error(i(327));
        var r =
            (!n && (t & 127) == 0 && (t & e.expiredLanes) === 0) || $e(e, t),
          a = r ? Bu(e, t) : Ru(e, t, !0),
          o = r;
        do {
          if (a === 0) {
            Ql && !r && ku(e, t, 0, !1);
            break;
          } else {
            if (((n = e.current.alternate), o && !Ou(n))) {
              ((a = Ru(e, t, !1)), (o = !1));
              continue;
            }
            if (a === 2) {
              if (((o = t), e.errorRecoveryDisabledLanes & o)) var s = 0;
              else
                ((s = e.pendingLanes & -536870913),
                  (s = s === 0 ? (s & 536870912 ? 536870912 : 0) : s));
              if (s !== 0) {
                t = s;
                a: {
                  var c = e;
                  a = B;
                  var l = c.current.memoizedState.isDehydrated;
                  if (
                    (l && (Mu(c, s).flags |= 256), (s = Ru(c, s, !1)), s !== 2)
                  ) {
                    if ($l && !l) {
                      ((c.errorRecoveryDisabledLanes |= o), (ru |= o), (a = 4));
                      break a;
                    }
                    ((o = su),
                      (su = a),
                      o !== null &&
                        (su === null ? (su = o) : su.push.apply(su, o)));
                  }
                  a = s;
                }
                if (((o = !1), a !== 2)) continue;
              }
            }
            if (a === 1) {
              (Mu(e, 0), ku(e, t, 0, !0));
              break;
            }
            a: {
              switch (((r = e), (o = a), o)) {
                case 0:
                case 1:
                  throw Error(i(345));
                case 4:
                  if ((t & 4194048) !== t) break;
                case 6:
                  ku(r, t, au, !Zl);
                  break a;
                case 2:
                  su = null;
                  break;
                case 3:
                case 5:
                  break;
                default:
                  throw Error(i(329));
              }
              if ((t & 62914560) === t && ((a = lu + 300 - Me()), 10 < a)) {
                if ((ku(r, t, au, !Zl), Qe(r, 0, !0) !== 0)) break a;
                ((_u = t),
                  (r.timeoutHandle = af(
                    Du.bind(
                      null,
                      r,
                      n,
                      su,
                      fu,
                      cu,
                      t,
                      au,
                      ru,
                      ou,
                      Zl,
                      o,
                      `Throttled`,
                      -0,
                      0,
                    ),
                    a,
                  )));
                break a;
              }
              Du(r, n, su, fu, cu, t, au, ru, ou, Zl, o, null, -0, 0);
            }
          }
          break;
        } while (1);
        md(e);
      }
      function Du(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
        if (
          ((e.timeoutHandle = -1),
          (d = t.subtreeFlags),
          d & 8192 || (d & 16785408) == 16785408)
        ) {
          ((d = {
            stylesheets: null,
            count: 0,
            imgCount: 0,
            imgBytes: 0,
            suspenseyImages: [],
            waitingForImages: !0,
            waitingForViewTransition: !1,
            unsuspend: on,
          }),
            Rl(t, a, d));
          var m =
            (a & 62914560) === a
              ? lu - Me()
              : (a & 4194048) === a
                ? uu - Me()
                : 0;
          if (((m = rp(d, m)), m !== null)) {
            ((_u = a),
              (e.cancelPendingCommit = m(
                qu.bind(null, e, t, a, n, r, i, o, s, c, u, d, null, f, p),
              )),
              ku(e, a, o, !l));
            return;
          }
        }
        qu(e, t, a, n, r, i, o, s, c);
      }
      function Ou(e) {
        for (var t = e; ;) {
          var n = t.tag;
          if (
            (n === 0 || n === 11 || n === 15) &&
            t.flags & 16384 &&
            ((n = t.updateQueue), n !== null && ((n = n.stores), n !== null))
          )
            for (var r = 0; r < n.length; r++) {
              var i = n[r],
                a = i.getSnapshot;
              i = i.value;
              try {
                if (!Or(a(), i)) return !1;
              } catch {
                return !1;
              }
            }
          if (((n = t.child), t.subtreeFlags & 16384 && n !== null))
            ((n.return = t), (t = n));
          else {
            if (t === e) break;
            for (; t.sibling === null;) {
              if (t.return === null || t.return === e) return !0;
              t = t.return;
            }
            ((t.sibling.return = t.return), (t = t.sibling));
          }
        }
        return !0;
      }
      function ku(e, t, n, r) {
        ((t &= ~iu),
          (t &= ~ru),
          (e.suspendedLanes |= t),
          (e.pingedLanes &= ~t),
          r && (e.warmLanes |= t),
          (r = e.expirationTimes));
        for (var i = t; 0 < i;) {
          var a = 31 - We(i),
            o = 1 << a;
          ((r[a] = -1), (i &= ~o));
        }
        n !== 0 && at(e, n, t);
      }
      function Au() {
        return Kl & 6 ? !0 : (hd(0, !1), !1);
      }
      function ju() {
        if (z !== null) {
          if (Yl === 0) var e = z.return;
          else
            ((e = z), ($i = Qi = null), Po(e), (Fa = null), (Ia = 0), (e = z));
          for (; e !== null;) (qc(e.alternate, e), (e = e.return));
          z = null;
        }
      }
      function Mu(e, t) {
        var n = e.timeoutHandle;
        (n !== -1 && ((e.timeoutHandle = -1), of(n)),
          (n = e.cancelPendingCommit),
          n !== null && ((e.cancelPendingCommit = null), n()),
          (_u = 0),
          ju(),
          (ql = e),
          (z = n = gi(e.current, null)),
          (Jl = t),
          (Yl = 0),
          (Xl = null),
          (Zl = !1),
          (Ql = $e(e, t)),
          ($l = !1),
          (ou = au = iu = ru = nu = tu = 0),
          (su = B = null),
          (cu = !1),
          t & 8 && (t |= t & 32));
        var r = e.entangledLanes;
        if (r !== 0)
          for (e = e.entanglements, r &= t; 0 < r;) {
            var i = 31 - We(r),
              a = 1 << i;
            ((t |= e[i]), (r &= ~a));
          }
        return ((eu = t), oi(), n);
      }
      function Nu(e, t) {
        ((L = null),
          (D.H = Ws),
          t === Ea || t === Oa
            ? ((t = Na()), (Yl = 3))
            : t === Da
              ? ((t = Na()), (Yl = 4))
              : (Yl =
                  t === cc
                    ? 8
                    : typeof t == `object` && t && typeof t.then == `function`
                      ? 6
                      : 1),
          (Xl = t),
          z === null && ((tu = 1), nc(e, wi(t, e.current))));
      }
      function Pu() {
        var e = oo.current;
        return e === null
          ? !0
          : (Jl & 4194048) === Jl
            ? so === null
            : (Jl & 62914560) === Jl || Jl & 536870912
              ? e === so
              : !1;
      }
      function Fu() {
        var e = D.H;
        return ((D.H = Ws), e === null ? Ws : e);
      }
      function Iu() {
        var e = D.A;
        return ((D.A = Wl), e);
      }
      function Lu() {
        ((tu = 4),
          Zl || ((Jl & 4194048) !== Jl && oo.current !== null) || (Ql = !0),
          (!(nu & 134217727) && !(ru & 134217727)) ||
            ql === null ||
            ku(ql, Jl, au, !1));
      }
      function Ru(e, t, n) {
        var r = Kl;
        Kl |= 2;
        var i = Fu(),
          a = Iu();
        ((ql !== e || Jl !== t) && ((fu = null), Mu(e, t)), (t = !1));
        var o = tu;
        a: do
          try {
            if (Yl !== 0 && z !== null) {
              var s = z,
                c = Xl;
              switch (Yl) {
                case 8:
                  (ju(), (o = 6));
                  break a;
                case 3:
                case 2:
                case 9:
                case 6:
                  oo.current === null && (t = !0);
                  var l = Yl;
                  if (((Yl = 0), (Xl = null), Wu(e, s, c, l), n && Ql)) {
                    o = 0;
                    break a;
                  }
                  break;
                default:
                  ((l = Yl), (Yl = 0), (Xl = null), Wu(e, s, c, l));
              }
            }
            (zu(), (o = tu));
            break;
          } catch (t) {
            Nu(e, t);
          }
        while (1);
        return (
          t && e.shellSuspendCounter++,
          ($i = Qi = null),
          (Kl = r),
          (D.H = i),
          (D.A = a),
          z === null && ((ql = null), (Jl = 0), oi()),
          o
        );
      }
      function zu() {
        for (; z !== null;) Hu(z);
      }
      function Bu(e, t) {
        var n = Kl;
        Kl |= 2;
        var r = Fu(),
          a = Iu();
        ql !== e || Jl !== t
          ? ((fu = null), (du = Me() + 500), Mu(e, t))
          : (Ql = $e(e, t));
        a: do
          try {
            if (Yl !== 0 && z !== null) {
              t = z;
              var o = Xl;
              b: switch (Yl) {
                case 1:
                  ((Yl = 0), (Xl = null), Wu(e, t, o, 1));
                  break;
                case 2:
                case 9:
                  if (ka(o)) {
                    ((Yl = 0), (Xl = null), Uu(t));
                    break;
                  }
                  ((t = function () {
                    ((Yl !== 2 && Yl !== 9) || ql !== e || (Yl = 7), md(e));
                  }),
                    o.then(t, t));
                  break a;
                case 3:
                  Yl = 7;
                  break a;
                case 4:
                  Yl = 5;
                  break a;
                case 7:
                  ka(o)
                    ? ((Yl = 0), (Xl = null), Uu(t))
                    : ((Yl = 0), (Xl = null), Wu(e, t, o, 7));
                  break;
                case 5:
                  var s = null;
                  switch (z.tag) {
                    case 26:
                      s = z.memoizedState;
                    case 5:
                    case 27:
                      var c = z;
                      if (s ? ep(s) : c.stateNode.complete) {
                        ((Yl = 0), (Xl = null));
                        var l = c.sibling;
                        if (l !== null) z = l;
                        else {
                          var u = c.return;
                          u === null ? (z = null) : ((z = u), Gu(u));
                        }
                        break b;
                      }
                  }
                  ((Yl = 0), (Xl = null), Wu(e, t, o, 5));
                  break;
                case 6:
                  ((Yl = 0), (Xl = null), Wu(e, t, o, 6));
                  break;
                case 8:
                  (ju(), (tu = 6));
                  break a;
                default:
                  throw Error(i(462));
              }
            }
            Vu();
            break;
          } catch (t) {
            Nu(e, t);
          }
        while (1);
        return (
          ($i = Qi = null),
          (D.H = r),
          (D.A = a),
          (Kl = n),
          z === null ? ((ql = null), (Jl = 0), oi(), tu) : 0
        );
      }
      function Vu() {
        for (; z !== null && !Ae();) Hu(z);
      }
      function Hu(e) {
        var t = Rc(e.alternate, e, eu);
        ((e.memoizedProps = e.pendingProps), t === null ? Gu(e) : (z = t));
      }
      function Uu(e) {
        var t = e,
          n = t.alternate;
        switch (t.tag) {
          case 15:
          case 0:
            t = Sc(n, t, t.pendingProps, t.type, void 0, Jl);
            break;
          case 11:
            t = Sc(n, t, t.pendingProps, t.type.render, t.ref, Jl);
            break;
          case 5:
            Po(t);
          default:
            (qc(n, t), (t = z = _i(t, eu)), (t = Rc(n, t, eu)));
        }
        ((e.memoizedProps = e.pendingProps), t === null ? Gu(e) : (z = t));
      }
      function Wu(e, t, n, r) {
        (($i = Qi = null), Po(t), (Fa = null), (Ia = 0));
        var i = t.return;
        try {
          if (sc(e, i, t, n, Jl)) {
            ((tu = 1), nc(e, wi(n, e.current)), (z = null));
            return;
          }
        } catch (t) {
          if (i !== null) throw ((z = i), t);
          ((tu = 1), nc(e, wi(n, e.current)), (z = null));
          return;
        }
        t.flags & 32768
          ? (N || r === 1
              ? (e = !0)
              : Ql || Jl & 536870912
                ? (e = !1)
                : ((Zl = e = !0),
                  (r === 2 || r === 9 || r === 3 || r === 6) &&
                    ((r = oo.current),
                    r !== null && r.tag === 13 && (r.flags |= 16384))),
            Ku(t, e))
          : Gu(t);
      }
      function Gu(e) {
        var t = e;
        do {
          if (t.flags & 32768) {
            Ku(t, Zl);
            return;
          }
          e = t.return;
          var n = Gc(t.alternate, t, eu);
          if (n !== null) {
            z = n;
            return;
          }
          if (((t = t.sibling), t !== null)) {
            z = t;
            return;
          }
          z = t = e;
        } while (t !== null);
        tu === 0 && (tu = 5);
      }
      function Ku(e, t) {
        do {
          var n = Kc(e.alternate, e);
          if (n !== null) {
            ((n.flags &= 32767), (z = n));
            return;
          }
          if (
            ((n = e.return),
            n !== null &&
              ((n.flags |= 32768), (n.subtreeFlags = 0), (n.deletions = null)),
            !t && ((e = e.sibling), e !== null))
          ) {
            z = e;
            return;
          }
          z = e = n;
        } while (e !== null);
        ((tu = 6), (z = null));
      }
      function qu(e, t, n, r, a, o, s, c, l) {
        e.cancelPendingCommit = null;
        do Qu();
        while (mu !== 0);
        if (Kl & 6) throw Error(i(327));
        if (t !== null) {
          if (t === e.current) throw Error(i(177));
          if (
            ((o = t.lanes | t.childLanes),
            (o |= ai),
            it(e, n, o, s, c, l),
            e === ql && ((z = ql = null), (Jl = 0)),
            (gu = t),
            (hu = e),
            (_u = n),
            (vu = o),
            (yu = a),
            (bu = r),
            t.subtreeFlags & 10256 || t.flags & 10256
              ? ((e.callbackNode = null),
                (e.callbackPriority = 0),
                sd(Ie, function () {
                  return ($u(), null);
                }))
              : ((e.callbackNode = null), (e.callbackPriority = 0)),
            (r = (t.flags & 13878) != 0),
            t.subtreeFlags & 13878 || r)
          ) {
            ((r = D.T),
              (D.T = null),
              (a = O.p),
              (O.p = 2),
              (s = Kl),
              (Kl |= 4));
            try {
              fl(e, t, n);
            } finally {
              ((Kl = s), (O.p = a), (D.T = r));
            }
          }
          ((mu = 1), Ju(), Yu(), Xu());
        }
      }
      function Ju() {
        if (mu === 1) {
          mu = 0;
          var e = hu,
            t = gu,
            n = (t.flags & 13878) != 0;
          if (t.subtreeFlags & 13878 || n) {
            ((n = D.T), (D.T = null));
            var r = O.p;
            O.p = 2;
            var i = Kl;
            Kl |= 4;
            try {
              Tl(t, e);
              var a = Zd,
                o = Nr(e.containerInfo),
                s = a.focusedElem,
                c = a.selectionRange;
              if (
                o !== s &&
                s &&
                s.ownerDocument &&
                Mr(s.ownerDocument.documentElement, s)
              ) {
                if (c !== null && Pr(s)) {
                  var l = c.start,
                    u = c.end;
                  if ((u === void 0 && (u = l), `selectionStart` in s))
                    ((s.selectionStart = l),
                      (s.selectionEnd = Math.min(u, s.value.length)));
                  else {
                    var d = s.ownerDocument || document,
                      f = (d && d.defaultView) || window;
                    if (f.getSelection) {
                      var p = f.getSelection(),
                        m = s.textContent.length,
                        h = Math.min(c.start, m),
                        g = c.end === void 0 ? h : Math.min(c.end, m);
                      !p.extend && h > g && ((o = g), (g = h), (h = o));
                      var _ = jr(s, h),
                        v = jr(s, g);
                      if (
                        _ &&
                        v &&
                        (p.rangeCount !== 1 ||
                          p.anchorNode !== _.node ||
                          p.anchorOffset !== _.offset ||
                          p.focusNode !== v.node ||
                          p.focusOffset !== v.offset)
                      ) {
                        var y = d.createRange();
                        (y.setStart(_.node, _.offset),
                          p.removeAllRanges(),
                          h > g
                            ? (p.addRange(y), p.extend(v.node, v.offset))
                            : (y.setEnd(v.node, v.offset), p.addRange(y)));
                      }
                    }
                  }
                }
                for (d = [], p = s; (p = p.parentNode);)
                  p.nodeType === 1 &&
                    d.push({
                      element: p,
                      left: p.scrollLeft,
                      top: p.scrollTop,
                    });
                for (
                  typeof s.focus == `function` && s.focus(), s = 0;
                  s < d.length;
                  s++
                ) {
                  var b = d[s];
                  ((b.element.scrollLeft = b.left),
                    (b.element.scrollTop = b.top));
                }
              }
              ((_p = !!Xd), (Zd = Xd = null));
            } finally {
              ((Kl = i), (O.p = r), (D.T = n));
            }
          }
          ((e.current = t), (mu = 2));
        }
      }
      function Yu() {
        if (mu === 2) {
          mu = 0;
          var e = hu,
            t = gu,
            n = (t.flags & 8772) != 0;
          if (t.subtreeFlags & 8772 || n) {
            ((n = D.T), (D.T = null));
            var r = O.p;
            O.p = 2;
            var i = Kl;
            Kl |= 4;
            try {
              pl(e, t.alternate, t);
            } finally {
              ((Kl = i), (O.p = r), (D.T = n));
            }
          }
          mu = 3;
        }
      }
      function Xu() {
        if (mu === 4 || mu === 3) {
          ((mu = 0), je());
          var e = hu,
            t = gu,
            n = _u,
            r = bu;
          t.subtreeFlags & 10256 || t.flags & 10256
            ? (mu = 5)
            : ((mu = 0), (gu = hu = null), Zu(e, e.pendingLanes));
          var i = e.pendingLanes;
          if (
            (i === 0 && (pu = null),
            lt(n),
            (t = t.stateNode),
            He && typeof He.onCommitFiberRoot == `function`)
          )
            try {
              He.onCommitFiberRoot(
                Ve,
                t,
                void 0,
                (t.current.flags & 128) == 128,
              );
            } catch {}
          if (r !== null) {
            ((t = D.T), (i = O.p), (O.p = 2), (D.T = null));
            try {
              for (var a = e.onRecoverableError, o = 0; o < r.length; o++) {
                var s = r[o];
                a(s.value, { componentStack: s.stack });
              }
            } finally {
              ((D.T = t), (O.p = i));
            }
          }
          (_u & 3 && Qu(),
            md(e),
            (i = e.pendingLanes),
            n & 261930 && i & 42
              ? e === Su
                ? xu++
                : ((xu = 0), (Su = e))
              : (xu = 0),
            hd(0, !1));
        }
      }
      function Zu(e, t) {
        (e.pooledCacheLanes &= t) === 0 &&
          ((t = e.pooledCache), t != null && ((e.pooledCache = null), ha(t)));
      }
      function Qu() {
        return (Ju(), Yu(), Xu(), $u());
      }
      function $u() {
        if (mu !== 5) return !1;
        var e = hu,
          t = vu;
        vu = 0;
        var n = lt(_u),
          r = D.T,
          a = O.p;
        try {
          ((O.p = 32 > n ? 32 : n), (D.T = null), (n = yu), (yu = null));
          var o = hu,
            s = _u;
          if (((mu = 0), (gu = hu = null), (_u = 0), Kl & 6))
            throw Error(i(331));
          var c = Kl;
          if (
            ((Kl |= 4),
            Vl(o.current),
            Pl(o, o.current, s, n),
            (Kl = c),
            hd(0, !1),
            He && typeof He.onPostCommitFiberRoot == `function`)
          )
            try {
              He.onPostCommitFiberRoot(Ve, o);
            } catch {}
          return !0;
        } finally {
          ((O.p = a), (D.T = r), Zu(e, t));
        }
      }
      function ed(e, t, n) {
        ((t = wi(n, t)),
          (t = ic(e.stateNode, t, 2)),
          (e = qa(e, t, 2)),
          e !== null && (rt(e, 2), md(e)));
      }
      function td(e, t, n) {
        if (e.tag === 3) ed(e, e, n);
        else
          for (; t !== null;) {
            if (t.tag === 3) {
              ed(t, e, n);
              break;
            } else if (t.tag === 1) {
              var r = t.stateNode;
              if (
                typeof t.type.getDerivedStateFromError == `function` ||
                (typeof r.componentDidCatch == `function` &&
                  (pu === null || !pu.has(r)))
              ) {
                ((e = wi(n, e)),
                  (n = ac(2)),
                  (r = qa(t, n, 2)),
                  r !== null && (oc(n, r, t, e), rt(r, 2), md(r)));
                break;
              }
            }
            t = t.return;
          }
      }
      function nd(e, t, n) {
        var r = e.pingCache;
        if (r === null) {
          r = e.pingCache = new Gl();
          var i = new Set();
          r.set(t, i);
        } else ((i = r.get(t)), i === void 0 && ((i = new Set()), r.set(t, i)));
        i.has(n) ||
          (($l = !0), i.add(n), (e = rd.bind(null, e, t, n)), t.then(e, e));
      }
      function rd(e, t, n) {
        var r = e.pingCache;
        (r !== null && r.delete(t),
          (e.pingedLanes |= e.suspendedLanes & n),
          (e.warmLanes &= ~n),
          ql === e &&
            (Jl & n) === n &&
            (tu === 4 || (tu === 3 && (Jl & 62914560) === Jl && 300 > Me() - lu)
              ? !(Kl & 2) && Mu(e, 0)
              : (iu |= n),
            ou === Jl && (ou = 0)),
          md(e));
      }
      function id(e, t) {
        (t === 0 && (t = tt()),
          (e = li(e, t)),
          e !== null && (rt(e, t), md(e)));
      }
      function ad(e) {
        var t = e.memoizedState,
          n = 0;
        (t !== null && (n = t.retryLane), id(e, n));
      }
      function od(e, t) {
        var n = 0;
        switch (e.tag) {
          case 31:
          case 13:
            var r = e.stateNode,
              a = e.memoizedState;
            a !== null && (n = a.retryLane);
            break;
          case 19:
            r = e.stateNode;
            break;
          case 22:
            r = e.stateNode._retryCache;
            break;
          default:
            throw Error(i(314));
        }
        (r !== null && r.delete(t), id(e, n));
      }
      function sd(e, t) {
        return Oe(e, t);
      }
      var cd = null,
        ld = null,
        ud = !1,
        dd = !1,
        fd = !1,
        pd = 0;
      function md(e) {
        (e !== ld &&
          e.next === null &&
          (ld === null ? (cd = ld = e) : (ld = ld.next = e)),
          (dd = !0),
          ud || ((ud = !0), xd()));
      }
      function hd(e, t) {
        if (!fd && dd) {
          fd = !0;
          do
            for (var n = !1, r = cd; r !== null;) {
              if (!t)
                if (e !== 0) {
                  var i = r.pendingLanes;
                  if (i === 0) var a = 0;
                  else {
                    var o = r.suspendedLanes,
                      s = r.pingedLanes;
                    ((a = (1 << (31 - We(42 | e) + 1)) - 1),
                      (a &= i & ~(o & ~s)),
                      (a =
                        a & 201326741 ? (a & 201326741) | 1 : a ? a | 2 : 0));
                  }
                  a !== 0 && ((n = !0), bd(r, a));
                } else
                  ((a = Jl),
                    (a = Qe(
                      r,
                      r === ql ? a : 0,
                      r.cancelPendingCommit !== null || r.timeoutHandle !== -1,
                    )),
                    !(a & 3) || $e(r, a) || ((n = !0), bd(r, a)));
              r = r.next;
            }
          while (n);
          fd = !1;
        }
      }
      function gd() {
        _d();
      }
      function _d() {
        dd = ud = !1;
        var e = 0;
        pd !== 0 && rf() && (e = pd);
        for (var t = Me(), n = null, r = cd; r !== null;) {
          var i = r.next,
            a = vd(r, t);
          (a === 0
            ? ((r.next = null),
              n === null ? (cd = i) : (n.next = i),
              i === null && (ld = n))
            : ((n = r), (e !== 0 || a & 3) && (dd = !0)),
            (r = i));
        }
        ((mu !== 0 && mu !== 5) || hd(e, !1), pd !== 0 && (pd = 0));
      }
      function vd(e, t) {
        for (
          var n = e.suspendedLanes,
            r = e.pingedLanes,
            i = e.expirationTimes,
            a = e.pendingLanes & -62914561;
          0 < a;
        ) {
          var o = 31 - We(a),
            s = 1 << o,
            c = i[o];
          (c === -1
            ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = et(s, t))
            : c <= t && (e.expiredLanes |= s),
            (a &= ~s));
        }
        if (
          ((t = ql),
          (n = Jl),
          (n = Qe(
            e,
            e === t ? n : 0,
            e.cancelPendingCommit !== null || e.timeoutHandle !== -1,
          )),
          (r = e.callbackNode),
          n === 0 ||
            (e === t && (Yl === 2 || Yl === 9)) ||
            e.cancelPendingCommit !== null)
        )
          return (
            r !== null && r !== null && ke(r),
            (e.callbackNode = null),
            (e.callbackPriority = 0)
          );
        if (!(n & 3) || $e(e, n)) {
          if (((t = n & -n), t === e.callbackPriority)) return t;
          switch ((r !== null && ke(r), lt(n))) {
            case 2:
            case 8:
              n = Fe;
              break;
            case 32:
              n = Ie;
              break;
            case 268435456:
              n = Re;
              break;
            default:
              n = Ie;
          }
          return (
            (r = yd.bind(null, e)),
            (n = Oe(n, r)),
            (e.callbackPriority = t),
            (e.callbackNode = n),
            t
          );
        }
        return (
          r !== null && r !== null && ke(r),
          (e.callbackPriority = 2),
          (e.callbackNode = null),
          2
        );
      }
      function yd(e, t) {
        if (mu !== 0 && mu !== 5)
          return ((e.callbackNode = null), (e.callbackPriority = 0), null);
        var n = e.callbackNode;
        if (Qu() && e.callbackNode !== n) return null;
        var r = Jl;
        return (
          (r = Qe(
            e,
            e === ql ? r : 0,
            e.cancelPendingCommit !== null || e.timeoutHandle !== -1,
          )),
          r === 0
            ? null
            : (Eu(e, r, t),
              vd(e, Me()),
              e.callbackNode != null && e.callbackNode === n
                ? yd.bind(null, e)
                : null)
        );
      }
      function bd(e, t) {
        if (Qu()) return null;
        Eu(e, t, !0);
      }
      function xd() {
        cf(function () {
          Kl & 6 ? Oe(Pe, gd) : _d();
        });
      }
      function Sd() {
        if (pd === 0) {
          var e = F;
          (e === 0 && ((e = Je), (Je <<= 1), !(Je & 261888) && (Je = 256)),
            (pd = e));
        }
        return pd;
      }
      function Cd(e) {
        return e == null || typeof e == `symbol` || typeof e == `boolean`
          ? null
          : typeof e == `function`
            ? e
            : an(`` + e);
      }
      function wd(e, t) {
        var n = t.ownerDocument.createElement(`input`);
        return (
          (n.name = t.name),
          (n.value = t.value),
          e.id && n.setAttribute(`form`, e.id),
          t.parentNode.insertBefore(n, t),
          (e = new FormData(e)),
          n.parentNode.removeChild(n),
          e
        );
      }
      function Td(e, t, n, r, i) {
        if (t === `submit` && n && n.stateNode === i) {
          var a = Cd((i[mt] || null).action),
            o = r.submitter;
          o &&
            ((t = (t = o[mt] || null)
              ? Cd(t.formAction)
              : o.getAttribute(`formAction`)),
            t !== null && ((a = t), (o = null)));
          var s = new Dn(`action`, `action`, null, r, i);
          e.push({
            event: s,
            listeners: [
              {
                instance: null,
                listener: function () {
                  if (r.defaultPrevented) {
                    if (pd !== 0) {
                      var e = o ? wd(i, o) : new FormData(i);
                      As(
                        n,
                        { pending: !0, data: e, method: i.method, action: a },
                        null,
                        e,
                      );
                    }
                  } else
                    typeof a == `function` &&
                      (s.preventDefault(),
                      (e = o ? wd(i, o) : new FormData(i)),
                      As(
                        n,
                        { pending: !0, data: e, method: i.method, action: a },
                        a,
                        e,
                      ));
                },
                currentTarget: i,
              },
            ],
          });
        }
      }
      for (var Ed = 0; Ed < ei.length; Ed++) {
        var Dd = ei[Ed];
        ti(Dd.toLowerCase(), `on` + (Dd[0].toUpperCase() + Dd.slice(1)));
      }
      (ti(Kr, `onAnimationEnd`),
        ti(qr, `onAnimationIteration`),
        ti(Jr, `onAnimationStart`),
        ti(`dblclick`, `onDoubleClick`),
        ti(`focusin`, `onFocus`),
        ti(`focusout`, `onBlur`),
        ti(Yr, `onTransitionRun`),
        ti(Xr, `onTransitionStart`),
        ti(Zr, `onTransitionCancel`),
        ti(Qr, `onTransitionEnd`),
        kt(`onMouseEnter`, [`mouseout`, `mouseover`]),
        kt(`onMouseLeave`, [`mouseout`, `mouseover`]),
        kt(`onPointerEnter`, [`pointerout`, `pointerover`]),
        kt(`onPointerLeave`, [`pointerout`, `pointerover`]),
        Ot(
          `onChange`,
          `change click focusin focusout input keydown keyup selectionchange`.split(
            ` `,
          ),
        ),
        Ot(
          `onSelect`,
          `focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(
            ` `,
          ),
        ),
        Ot(`onBeforeInput`, [
          `compositionend`,
          `keypress`,
          `textInput`,
          `paste`,
        ]),
        Ot(
          `onCompositionEnd`,
          `compositionend focusout keydown keypress keyup mousedown`.split(` `),
        ),
        Ot(
          `onCompositionStart`,
          `compositionstart focusout keydown keypress keyup mousedown`.split(
            ` `,
          ),
        ),
        Ot(
          `onCompositionUpdate`,
          `compositionupdate focusout keydown keypress keyup mousedown`.split(
            ` `,
          ),
        ));
      var Od =
          `abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(
            ` `,
          ),
        kd = new Set(
          `beforetoggle cancel close invalid load scroll scrollend toggle`
            .split(` `)
            .concat(Od),
        );
      function Ad(e, t) {
        t = (t & 4) != 0;
        for (var n = 0; n < e.length; n++) {
          var r = e[n],
            i = r.event;
          r = r.listeners;
          a: {
            var a = void 0;
            if (t)
              for (var o = r.length - 1; 0 <= o; o--) {
                var s = r[o],
                  c = s.instance,
                  l = s.currentTarget;
                if (((s = s.listener), c !== a && i.isPropagationStopped()))
                  break a;
                ((a = s), (i.currentTarget = l));
                try {
                  a(i);
                } catch (e) {
                  ni(e);
                }
                ((i.currentTarget = null), (a = c));
              }
            else
              for (o = 0; o < r.length; o++) {
                if (
                  ((s = r[o]),
                  (c = s.instance),
                  (l = s.currentTarget),
                  (s = s.listener),
                  c !== a && i.isPropagationStopped())
                )
                  break a;
                ((a = s), (i.currentTarget = l));
                try {
                  a(i);
                } catch (e) {
                  ni(e);
                }
                ((i.currentTarget = null), (a = c));
              }
          }
        }
      }
      function V(e, t) {
        var n = t[gt];
        n === void 0 && (n = t[gt] = new Set());
        var r = e + `__bubble`;
        n.has(r) || (Pd(t, e, 2, !1), n.add(r));
      }
      function jd(e, t, n) {
        var r = 0;
        (t && (r |= 4), Pd(n, e, r, t));
      }
      var Md = `_reactListening` + Math.random().toString(36).slice(2);
      function Nd(e) {
        if (!e[Md]) {
          ((e[Md] = !0),
            Et.forEach(function (t) {
              t !== `selectionchange` &&
                (kd.has(t) || jd(t, !1, e), jd(t, !0, e));
            }));
          var t = e.nodeType === 9 ? e : e.ownerDocument;
          t === null || t[Md] || ((t[Md] = !0), jd(`selectionchange`, !1, t));
        }
      }
      function Pd(e, t, n, r) {
        switch (wp(t)) {
          case 2:
            var i = vp;
            break;
          case 8:
            i = yp;
            break;
          default:
            i = bp;
        }
        ((n = i.bind(null, t, n, e)),
          (i = void 0),
          !gn ||
            (t !== `touchstart` && t !== `touchmove` && t !== `wheel`) ||
            (i = !0),
          r
            ? i === void 0
              ? e.addEventListener(t, n, !0)
              : e.addEventListener(t, n, { capture: !0, passive: i })
            : i === void 0
              ? e.addEventListener(t, n, !1)
              : e.addEventListener(t, n, { passive: i }));
      }
      function Fd(e, t, n, r, i) {
        var a = r;
        if (!(t & 1) && !(t & 2) && r !== null)
          a: for (;;) {
            if (r === null) return;
            var s = r.tag;
            if (s === 3 || s === 4) {
              var c = r.stateNode.containerInfo;
              if (c === i) break;
              if (s === 4)
                for (s = r.return; s !== null;) {
                  var l = s.tag;
                  if ((l === 3 || l === 4) && s.stateNode.containerInfo === i)
                    return;
                  s = s.return;
                }
              for (; c !== null;) {
                if (((s = St(c)), s === null)) return;
                if (((l = s.tag), l === 5 || l === 6 || l === 26 || l === 27)) {
                  r = a = s;
                  continue a;
                }
                c = c.parentNode;
              }
            }
            r = r.return;
          }
        pn(function () {
          var r = a,
            i = cn(n),
            s = [];
          a: {
            var c = $r.get(e);
            if (c !== void 0) {
              var l = Dn,
                u = e;
              switch (e) {
                case `keypress`:
                  if (Sn(n) === 0) break a;
                case `keydown`:
                case `keyup`:
                  l = Gn;
                  break;
                case `focusin`:
                  ((u = `focus`), (l = In));
                  break;
                case `focusout`:
                  ((u = `blur`), (l = In));
                  break;
                case `beforeblur`:
                case `afterblur`:
                  l = In;
                  break;
                case `click`:
                  if (n.button === 2) break a;
                case `auxclick`:
                case `dblclick`:
                case `mousedown`:
                case `mousemove`:
                case `mouseup`:
                case `mouseout`:
                case `mouseover`:
                case `contextmenu`:
                  l = Pn;
                  break;
                case `drag`:
                case `dragend`:
                case `dragenter`:
                case `dragexit`:
                case `dragleave`:
                case `dragover`:
                case `dragstart`:
                case `drop`:
                  l = Fn;
                  break;
                case `touchcancel`:
                case `touchend`:
                case `touchmove`:
                case `touchstart`:
                  l = qn;
                  break;
                case Kr:
                case qr:
                case Jr:
                  l = Ln;
                  break;
                case Qr:
                  l = Jn;
                  break;
                case `scroll`:
                case `scrollend`:
                  l = kn;
                  break;
                case `wheel`:
                  l = Yn;
                  break;
                case `copy`:
                case `cut`:
                case `paste`:
                  l = Rn;
                  break;
                case `gotpointercapture`:
                case `lostpointercapture`:
                case `pointercancel`:
                case `pointerdown`:
                case `pointermove`:
                case `pointerout`:
                case `pointerover`:
                case `pointerup`:
                  l = Kn;
                  break;
                case `toggle`:
                case `beforetoggle`:
                  l = Xn;
              }
              var d = (t & 4) != 0,
                f = !d && (e === `scroll` || e === `scrollend`),
                p = d ? (c === null ? null : c + `Capture`) : c;
              d = [];
              for (var m = r, h; m !== null;) {
                var g = m;
                if (
                  ((h = g.stateNode),
                  (g = g.tag),
                  (g !== 5 && g !== 26 && g !== 27) ||
                    h === null ||
                    p === null ||
                    ((g = mn(m, p)), g != null && d.push(Id(m, g, h))),
                  f)
                )
                  break;
                m = m.return;
              }
              0 < d.length &&
                ((c = new l(c, u, null, n, i)),
                s.push({ event: c, listeners: d }));
            }
          }
          if (!(t & 7)) {
            a: {
              if (
                ((c = e === `mouseover` || e === `pointerover`),
                (l = e === `mouseout` || e === `pointerout`),
                c &&
                  n !== sn &&
                  (u = n.relatedTarget || n.fromElement) &&
                  (St(u) || u[ht]))
              )
                break a;
              if (
                (l || c) &&
                ((c =
                  i.window === i
                    ? i
                    : (c = i.ownerDocument)
                      ? c.defaultView || c.parentWindow
                      : window),
                l
                  ? ((u = n.relatedTarget || n.toElement),
                    (l = r),
                    (u = u ? St(u) : null),
                    u !== null &&
                      ((f = o(u)),
                      (d = u.tag),
                      u !== f || (d !== 5 && d !== 27 && d !== 6)) &&
                      (u = null))
                  : ((l = null), (u = r)),
                l !== u)
              ) {
                if (
                  ((d = Pn),
                  (g = `onMouseLeave`),
                  (p = `onMouseEnter`),
                  (m = `mouse`),
                  (e === `pointerout` || e === `pointerover`) &&
                    ((d = Kn),
                    (g = `onPointerLeave`),
                    (p = `onPointerEnter`),
                    (m = `pointer`)),
                  (f = l == null ? c : M(l)),
                  (h = u == null ? c : M(u)),
                  (c = new d(g, m + `leave`, l, n, i)),
                  (c.target = f),
                  (c.relatedTarget = h),
                  (g = null),
                  St(i) === r &&
                    ((d = new d(p, m + `enter`, u, n, i)),
                    (d.target = h),
                    (d.relatedTarget = f),
                    (g = d)),
                  (f = g),
                  l && u)
                )
                  b: {
                    for (d = Rd, p = l, m = u, h = 0, g = p; g; g = d(g)) h++;
                    g = 0;
                    for (var _ = m; _; _ = d(_)) g++;
                    for (; 0 < h - g;) ((p = d(p)), h--);
                    for (; 0 < g - h;) ((m = d(m)), g--);
                    for (; h--;) {
                      if (p === m || (m !== null && p === m.alternate)) {
                        d = p;
                        break b;
                      }
                      ((p = d(p)), (m = d(m)));
                    }
                    d = null;
                  }
                else d = null;
                (l !== null && zd(s, c, l, d, !1),
                  u !== null && f !== null && zd(s, f, u, d, !0));
              }
            }
            a: {
              if (
                ((c = r ? M(r) : window),
                (l = c.nodeName && c.nodeName.toLowerCase()),
                l === `select` || (l === `input` && c.type === `file`))
              )
                var v = gr;
              else if (ur(c))
                if (_r) v = Er;
                else {
                  v = wr;
                  var y = Cr;
                }
              else
                ((l = c.nodeName),
                  !l ||
                  l.toLowerCase() !== `input` ||
                  (c.type !== `checkbox` && c.type !== `radio`)
                    ? r && tn(r.elementType) && (v = gr)
                    : (v = Tr));
              if ((v &&= v(e, r))) {
                dr(s, v, n, i);
                break a;
              }
              (y && y(e, c, r),
                e === `focusout` &&
                  r &&
                  c.type === `number` &&
                  r.memoizedProps.value != null &&
                  qt(c, `number`, c.value));
            }
            switch (((y = r ? M(r) : window), e)) {
              case `focusin`:
                (ur(y) || y.contentEditable === `true`) &&
                  ((Ir = y), (Lr = r), (Rr = null));
                break;
              case `focusout`:
                Rr = Lr = Ir = null;
                break;
              case `mousedown`:
                zr = !0;
                break;
              case `contextmenu`:
              case `mouseup`:
              case `dragend`:
                ((zr = !1), Br(s, n, i));
                break;
              case `selectionchange`:
                if (Fr) break;
              case `keydown`:
              case `keyup`:
                Br(s, n, i);
            }
            var b;
            if (Qn)
              b: {
                switch (e) {
                  case `compositionstart`:
                    var x = `onCompositionStart`;
                    break b;
                  case `compositionend`:
                    x = `onCompositionEnd`;
                    break b;
                  case `compositionupdate`:
                    x = `onCompositionUpdate`;
                    break b;
                }
                x = void 0;
              }
            else
              or
                ? ir(e, n) && (x = `onCompositionEnd`)
                : e === `keydown` &&
                  n.keyCode === 229 &&
                  (x = `onCompositionStart`);
            (x &&
              (tr &&
                n.locale !== `ko` &&
                (or || x !== `onCompositionStart`
                  ? x === `onCompositionEnd` && or && (b = xn())
                  : ((vn = i),
                    (yn = `value` in vn ? vn.value : vn.textContent),
                    (or = !0))),
              (y = Ld(r, x)),
              0 < y.length &&
                ((x = new zn(x, e, null, n, i)),
                s.push({ event: x, listeners: y }),
                b ? (x.data = b) : ((b = ar(n)), b !== null && (x.data = b)))),
              (b = er ? sr(e, n) : cr(e, n)) &&
                ((x = Ld(r, `onBeforeInput`)),
                0 < x.length &&
                  ((y = new zn(`onBeforeInput`, `beforeinput`, null, n, i)),
                  s.push({ event: y, listeners: x }),
                  (y.data = b))),
              Td(s, e, r, n, i));
          }
          Ad(s, t);
        });
      }
      function Id(e, t, n) {
        return { instance: e, listener: t, currentTarget: n };
      }
      function Ld(e, t) {
        for (var n = t + `Capture`, r = []; e !== null;) {
          var i = e,
            a = i.stateNode;
          if (
            ((i = i.tag),
            (i !== 5 && i !== 26 && i !== 27) ||
              a === null ||
              ((i = mn(e, n)),
              i != null && r.unshift(Id(e, i, a)),
              (i = mn(e, t)),
              i != null && r.push(Id(e, i, a))),
            e.tag === 3)
          )
            return r;
          e = e.return;
        }
        return [];
      }
      function Rd(e) {
        if (e === null) return null;
        do e = e.return;
        while (e && e.tag !== 5 && e.tag !== 27);
        return e || null;
      }
      function zd(e, t, n, r, i) {
        for (var a = t._reactName, o = []; n !== null && n !== r;) {
          var s = n,
            c = s.alternate,
            l = s.stateNode;
          if (((s = s.tag), c !== null && c === r)) break;
          ((s !== 5 && s !== 26 && s !== 27) ||
            l === null ||
            ((c = l),
            i
              ? ((l = mn(n, a)), l != null && o.unshift(Id(n, l, c)))
              : i || ((l = mn(n, a)), l != null && o.push(Id(n, l, c)))),
            (n = n.return));
        }
        o.length !== 0 && e.push({ event: t, listeners: o });
      }
      var Bd = /\r\n?/g,
        Vd = /\u0000|\uFFFD/g;
      function Hd(e) {
        return (typeof e == `string` ? e : `` + e)
          .replace(
            Bd,
            `
`,
          )
          .replace(Vd, ``);
      }
      function Ud(e, t) {
        return ((t = Hd(t)), Hd(e) === t);
      }
      function Wd(e, t, n, r, a, o) {
        switch (n) {
          case `children`:
            typeof r == `string`
              ? t === `body` || (t === `textarea` && r === ``) || Zt(e, r)
              : (typeof r == `number` || typeof r == `bigint`) &&
                t !== `body` &&
                Zt(e, `` + r);
            break;
          case `className`:
            Ft(e, `class`, r);
            break;
          case `tabIndex`:
            Ft(e, `tabindex`, r);
            break;
          case `dir`:
          case `role`:
          case `viewBox`:
          case `width`:
          case `height`:
            Ft(e, n, r);
            break;
          case `style`:
            en(e, r, o);
            break;
          case `data`:
            if (t !== `object`) {
              Ft(e, `data`, r);
              break;
            }
          case `src`:
          case `href`:
            if (r === `` && (t !== `a` || n !== `href`)) {
              e.removeAttribute(n);
              break;
            }
            if (
              r == null ||
              typeof r == `function` ||
              typeof r == `symbol` ||
              typeof r == `boolean`
            ) {
              e.removeAttribute(n);
              break;
            }
            ((r = an(`` + r)), e.setAttribute(n, r));
            break;
          case `action`:
          case `formAction`:
            if (typeof r == `function`) {
              e.setAttribute(
                n,
                `javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`,
              );
              break;
            } else
              typeof o == `function` &&
                (n === `formAction`
                  ? (t !== `input` && Wd(e, t, `name`, a.name, a, null),
                    Wd(e, t, `formEncType`, a.formEncType, a, null),
                    Wd(e, t, `formMethod`, a.formMethod, a, null),
                    Wd(e, t, `formTarget`, a.formTarget, a, null))
                  : (Wd(e, t, `encType`, a.encType, a, null),
                    Wd(e, t, `method`, a.method, a, null),
                    Wd(e, t, `target`, a.target, a, null)));
            if (r == null || typeof r == `symbol` || typeof r == `boolean`) {
              e.removeAttribute(n);
              break;
            }
            ((r = an(`` + r)), e.setAttribute(n, r));
            break;
          case `onClick`:
            r != null && (e.onclick = on);
            break;
          case `onScroll`:
            r != null && V(`scroll`, e);
            break;
          case `onScrollEnd`:
            r != null && V(`scrollend`, e);
            break;
          case `dangerouslySetInnerHTML`:
            if (r != null) {
              if (typeof r != `object` || !(`__html` in r)) throw Error(i(61));
              if (((n = r.__html), n != null)) {
                if (a.children != null) throw Error(i(60));
                e.innerHTML = n;
              }
            }
            break;
          case `multiple`:
            e.multiple = r && typeof r != `function` && typeof r != `symbol`;
            break;
          case `muted`:
            e.muted = r && typeof r != `function` && typeof r != `symbol`;
            break;
          case `suppressContentEditableWarning`:
          case `suppressHydrationWarning`:
          case `defaultValue`:
          case `defaultChecked`:
          case `innerHTML`:
          case `ref`:
            break;
          case `autoFocus`:
            break;
          case `xlinkHref`:
            if (
              r == null ||
              typeof r == `function` ||
              typeof r == `boolean` ||
              typeof r == `symbol`
            ) {
              e.removeAttribute(`xlink:href`);
              break;
            }
            ((n = an(`` + r)),
              e.setAttributeNS(
                `http://www.w3.org/1999/xlink`,
                `xlink:href`,
                n,
              ));
            break;
          case `contentEditable`:
          case `spellCheck`:
          case `draggable`:
          case `value`:
          case `autoReverse`:
          case `externalResourcesRequired`:
          case `focusable`:
          case `preserveAlpha`:
            r != null && typeof r != `function` && typeof r != `symbol`
              ? e.setAttribute(n, `` + r)
              : e.removeAttribute(n);
            break;
          case `inert`:
          case `allowFullScreen`:
          case `async`:
          case `autoPlay`:
          case `controls`:
          case `default`:
          case `defer`:
          case `disabled`:
          case `disablePictureInPicture`:
          case `disableRemotePlayback`:
          case `formNoValidate`:
          case `hidden`:
          case `loop`:
          case `noModule`:
          case `noValidate`:
          case `open`:
          case `playsInline`:
          case `readOnly`:
          case `required`:
          case `reversed`:
          case `scoped`:
          case `seamless`:
          case `itemScope`:
            r && typeof r != `function` && typeof r != `symbol`
              ? e.setAttribute(n, ``)
              : e.removeAttribute(n);
            break;
          case `capture`:
          case `download`:
            !0 === r
              ? e.setAttribute(n, ``)
              : !1 !== r &&
                  r != null &&
                  typeof r != `function` &&
                  typeof r != `symbol`
                ? e.setAttribute(n, r)
                : e.removeAttribute(n);
            break;
          case `cols`:
          case `rows`:
          case `size`:
          case `span`:
            r != null &&
            typeof r != `function` &&
            typeof r != `symbol` &&
            !isNaN(r) &&
            1 <= r
              ? e.setAttribute(n, r)
              : e.removeAttribute(n);
            break;
          case `rowSpan`:
          case `start`:
            r == null ||
            typeof r == `function` ||
            typeof r == `symbol` ||
            isNaN(r)
              ? e.removeAttribute(n)
              : e.setAttribute(n, r);
            break;
          case `popover`:
            (V(`beforetoggle`, e), V(`toggle`, e), Pt(e, `popover`, r));
            break;
          case `xlinkActuate`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:actuate`, r);
            break;
          case `xlinkArcrole`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:arcrole`, r);
            break;
          case `xlinkRole`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:role`, r);
            break;
          case `xlinkShow`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:show`, r);
            break;
          case `xlinkTitle`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:title`, r);
            break;
          case `xlinkType`:
            It(e, `http://www.w3.org/1999/xlink`, `xlink:type`, r);
            break;
          case `xmlBase`:
            It(e, `http://www.w3.org/XML/1998/namespace`, `xml:base`, r);
            break;
          case `xmlLang`:
            It(e, `http://www.w3.org/XML/1998/namespace`, `xml:lang`, r);
            break;
          case `xmlSpace`:
            It(e, `http://www.w3.org/XML/1998/namespace`, `xml:space`, r);
            break;
          case `is`:
            Pt(e, `is`, r);
            break;
          case `innerText`:
          case `textContent`:
            break;
          default:
            (!(2 < n.length) ||
              (n[0] !== `o` && n[0] !== `O`) ||
              (n[1] !== `n` && n[1] !== `N`)) &&
              ((n = nn.get(n) || n), Pt(e, n, r));
        }
      }
      function Gd(e, t, n, r, a, o) {
        switch (n) {
          case `style`:
            en(e, r, o);
            break;
          case `dangerouslySetInnerHTML`:
            if (r != null) {
              if (typeof r != `object` || !(`__html` in r)) throw Error(i(61));
              if (((n = r.__html), n != null)) {
                if (a.children != null) throw Error(i(60));
                e.innerHTML = n;
              }
            }
            break;
          case `children`:
            typeof r == `string`
              ? Zt(e, r)
              : (typeof r == `number` || typeof r == `bigint`) && Zt(e, `` + r);
            break;
          case `onScroll`:
            r != null && V(`scroll`, e);
            break;
          case `onScrollEnd`:
            r != null && V(`scrollend`, e);
            break;
          case `onClick`:
            r != null && (e.onclick = on);
            break;
          case `suppressContentEditableWarning`:
          case `suppressHydrationWarning`:
          case `innerHTML`:
          case `ref`:
            break;
          case `innerText`:
          case `textContent`:
            break;
          default:
            if (!Dt.hasOwnProperty(n))
              a: {
                if (
                  n[0] === `o` &&
                  n[1] === `n` &&
                  ((a = n.endsWith(`Capture`)),
                  (t = n.slice(2, a ? n.length - 7 : void 0)),
                  (o = e[mt] || null),
                  (o = o == null ? null : o[n]),
                  typeof o == `function` && e.removeEventListener(t, o, a),
                  typeof r == `function`)
                ) {
                  (typeof o != `function` &&
                    o !== null &&
                    (n in e
                      ? (e[n] = null)
                      : e.hasAttribute(n) && e.removeAttribute(n)),
                    e.addEventListener(t, r, a));
                  break a;
                }
                n in e
                  ? (e[n] = r)
                  : !0 === r
                    ? e.setAttribute(n, ``)
                    : Pt(e, n, r);
              }
        }
      }
      function Kd(e, t, n) {
        switch (t) {
          case `div`:
          case `span`:
          case `svg`:
          case `path`:
          case `a`:
          case `g`:
          case `p`:
          case `li`:
            break;
          case `img`:
            (V(`error`, e), V(`load`, e));
            var r = !1,
              a = !1,
              o;
            for (o in n)
              if (n.hasOwnProperty(o)) {
                var s = n[o];
                if (s != null)
                  switch (o) {
                    case `src`:
                      r = !0;
                      break;
                    case `srcSet`:
                      a = !0;
                      break;
                    case `children`:
                    case `dangerouslySetInnerHTML`:
                      throw Error(i(137, t));
                    default:
                      Wd(e, t, o, s, n, null);
                  }
              }
            (a && Wd(e, t, `srcSet`, n.srcSet, n, null),
              r && Wd(e, t, `src`, n.src, n, null));
            return;
          case `input`:
            V(`invalid`, e);
            var c = (o = s = a = null),
              l = null,
              u = null;
            for (r in n)
              if (n.hasOwnProperty(r)) {
                var d = n[r];
                if (d != null)
                  switch (r) {
                    case `name`:
                      a = d;
                      break;
                    case `type`:
                      s = d;
                      break;
                    case `checked`:
                      l = d;
                      break;
                    case `defaultChecked`:
                      u = d;
                      break;
                    case `value`:
                      o = d;
                      break;
                    case `defaultValue`:
                      c = d;
                      break;
                    case `children`:
                    case `dangerouslySetInnerHTML`:
                      if (d != null) throw Error(i(137, t));
                      break;
                    default:
                      Wd(e, t, r, d, n, null);
                  }
              }
            Kt(e, o, c, l, u, s, a, !1);
            return;
          case `select`:
            for (a in (V(`invalid`, e), (r = s = o = null), n))
              if (n.hasOwnProperty(a) && ((c = n[a]), c != null))
                switch (a) {
                  case `value`:
                    o = c;
                    break;
                  case `defaultValue`:
                    s = c;
                    break;
                  case `multiple`:
                    r = c;
                  default:
                    Wd(e, t, a, c, n, null);
                }
            ((t = o),
              (n = s),
              (e.multiple = !!r),
              t == null ? n != null && Jt(e, !!r, n, !0) : Jt(e, !!r, t, !1));
            return;
          case `textarea`:
            for (s in (V(`invalid`, e), (o = a = r = null), n))
              if (n.hasOwnProperty(s) && ((c = n[s]), c != null))
                switch (s) {
                  case `value`:
                    r = c;
                    break;
                  case `defaultValue`:
                    a = c;
                    break;
                  case `children`:
                    o = c;
                    break;
                  case `dangerouslySetInnerHTML`:
                    if (c != null) throw Error(i(91));
                    break;
                  default:
                    Wd(e, t, s, c, n, null);
                }
            Xt(e, r, a, o);
            return;
          case `option`:
            for (l in n)
              if (n.hasOwnProperty(l) && ((r = n[l]), r != null))
                switch (l) {
                  case `selected`:
                    e.selected =
                      r && typeof r != `function` && typeof r != `symbol`;
                    break;
                  default:
                    Wd(e, t, l, r, n, null);
                }
            return;
          case `dialog`:
            (V(`beforetoggle`, e),
              V(`toggle`, e),
              V(`cancel`, e),
              V(`close`, e));
            break;
          case `iframe`:
          case `object`:
            V(`load`, e);
            break;
          case `video`:
          case `audio`:
            for (r = 0; r < Od.length; r++) V(Od[r], e);
            break;
          case `image`:
            (V(`error`, e), V(`load`, e));
            break;
          case `details`:
            V(`toggle`, e);
            break;
          case `embed`:
          case `source`:
          case `link`:
            (V(`error`, e), V(`load`, e));
          case `area`:
          case `base`:
          case `br`:
          case `col`:
          case `hr`:
          case `keygen`:
          case `meta`:
          case `param`:
          case `track`:
          case `wbr`:
          case `menuitem`:
            for (u in n)
              if (n.hasOwnProperty(u) && ((r = n[u]), r != null))
                switch (u) {
                  case `children`:
                  case `dangerouslySetInnerHTML`:
                    throw Error(i(137, t));
                  default:
                    Wd(e, t, u, r, n, null);
                }
            return;
          default:
            if (tn(t)) {
              for (d in n)
                n.hasOwnProperty(d) &&
                  ((r = n[d]), r !== void 0 && Gd(e, t, d, r, n, void 0));
              return;
            }
        }
        for (c in n)
          n.hasOwnProperty(c) &&
            ((r = n[c]), r != null && Wd(e, t, c, r, n, null));
      }
      function qd(e, t, n, r) {
        switch (t) {
          case `div`:
          case `span`:
          case `svg`:
          case `path`:
          case `a`:
          case `g`:
          case `p`:
          case `li`:
            break;
          case `input`:
            var a = null,
              o = null,
              s = null,
              c = null,
              l = null,
              u = null,
              d = null;
            for (m in n) {
              var f = n[m];
              if (n.hasOwnProperty(m) && f != null)
                switch (m) {
                  case `checked`:
                    break;
                  case `value`:
                    break;
                  case `defaultValue`:
                    l = f;
                  default:
                    r.hasOwnProperty(m) || Wd(e, t, m, null, r, f);
                }
            }
            for (var p in r) {
              var m = r[p];
              if (((f = n[p]), r.hasOwnProperty(p) && (m != null || f != null)))
                switch (p) {
                  case `type`:
                    o = m;
                    break;
                  case `name`:
                    a = m;
                    break;
                  case `checked`:
                    u = m;
                    break;
                  case `defaultChecked`:
                    d = m;
                    break;
                  case `value`:
                    s = m;
                    break;
                  case `defaultValue`:
                    c = m;
                    break;
                  case `children`:
                  case `dangerouslySetInnerHTML`:
                    if (m != null) throw Error(i(137, t));
                    break;
                  default:
                    m !== f && Wd(e, t, p, m, r, f);
                }
            }
            Gt(e, s, c, l, u, d, o, a);
            return;
          case `select`:
            for (o in ((m = s = c = p = null), n))
              if (((l = n[o]), n.hasOwnProperty(o) && l != null))
                switch (o) {
                  case `value`:
                    break;
                  case `multiple`:
                    m = l;
                  default:
                    r.hasOwnProperty(o) || Wd(e, t, o, null, r, l);
                }
            for (a in r)
              if (
                ((o = r[a]),
                (l = n[a]),
                r.hasOwnProperty(a) && (o != null || l != null))
              )
                switch (a) {
                  case `value`:
                    p = o;
                    break;
                  case `defaultValue`:
                    c = o;
                    break;
                  case `multiple`:
                    s = o;
                  default:
                    o !== l && Wd(e, t, a, o, r, l);
                }
            ((t = c),
              (n = s),
              (r = m),
              p == null
                ? !!r != !!n &&
                  (t == null ? Jt(e, !!n, n ? [] : ``, !1) : Jt(e, !!n, t, !0))
                : Jt(e, !!n, p, !1));
            return;
          case `textarea`:
            for (c in ((m = p = null), n))
              if (
                ((a = n[c]),
                n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c))
              )
                switch (c) {
                  case `value`:
                    break;
                  case `children`:
                    break;
                  default:
                    Wd(e, t, c, null, r, a);
                }
            for (s in r)
              if (
                ((a = r[s]),
                (o = n[s]),
                r.hasOwnProperty(s) && (a != null || o != null))
              )
                switch (s) {
                  case `value`:
                    p = a;
                    break;
                  case `defaultValue`:
                    m = a;
                    break;
                  case `children`:
                    break;
                  case `dangerouslySetInnerHTML`:
                    if (a != null) throw Error(i(91));
                    break;
                  default:
                    a !== o && Wd(e, t, s, a, r, o);
                }
            Yt(e, p, m);
            return;
          case `option`:
            for (var h in n)
              if (
                ((p = n[h]),
                n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h))
              )
                switch (h) {
                  case `selected`:
                    e.selected = !1;
                    break;
                  default:
                    Wd(e, t, h, null, r, p);
                }
            for (l in r)
              if (
                ((p = r[l]),
                (m = n[l]),
                r.hasOwnProperty(l) && p !== m && (p != null || m != null))
              )
                switch (l) {
                  case `selected`:
                    e.selected =
                      p && typeof p != `function` && typeof p != `symbol`;
                    break;
                  default:
                    Wd(e, t, l, p, r, m);
                }
            return;
          case `img`:
          case `link`:
          case `area`:
          case `base`:
          case `br`:
          case `col`:
          case `embed`:
          case `hr`:
          case `keygen`:
          case `meta`:
          case `param`:
          case `source`:
          case `track`:
          case `wbr`:
          case `menuitem`:
            for (var g in n)
              ((p = n[g]),
                n.hasOwnProperty(g) &&
                  p != null &&
                  !r.hasOwnProperty(g) &&
                  Wd(e, t, g, null, r, p));
            for (u in r)
              if (
                ((p = r[u]),
                (m = n[u]),
                r.hasOwnProperty(u) && p !== m && (p != null || m != null))
              )
                switch (u) {
                  case `children`:
                  case `dangerouslySetInnerHTML`:
                    if (p != null) throw Error(i(137, t));
                    break;
                  default:
                    Wd(e, t, u, p, r, m);
                }
            return;
          default:
            if (tn(t)) {
              for (var _ in n)
                ((p = n[_]),
                  n.hasOwnProperty(_) &&
                    p !== void 0 &&
                    !r.hasOwnProperty(_) &&
                    Gd(e, t, _, void 0, r, p));
              for (d in r)
                ((p = r[d]),
                  (m = n[d]),
                  !r.hasOwnProperty(d) ||
                    p === m ||
                    (p === void 0 && m === void 0) ||
                    Gd(e, t, d, p, r, m));
              return;
            }
        }
        for (var v in n)
          ((p = n[v]),
            n.hasOwnProperty(v) &&
              p != null &&
              !r.hasOwnProperty(v) &&
              Wd(e, t, v, null, r, p));
        for (f in r)
          ((p = r[f]),
            (m = n[f]),
            !r.hasOwnProperty(f) ||
              p === m ||
              (p == null && m == null) ||
              Wd(e, t, f, p, r, m));
      }
      function Jd(e) {
        switch (e) {
          case `css`:
          case `script`:
          case `font`:
          case `img`:
          case `image`:
          case `input`:
          case `link`:
            return !0;
          default:
            return !1;
        }
      }
      function Yd() {
        if (typeof performance.getEntriesByType == `function`) {
          for (
            var e = 0,
              t = 0,
              n = performance.getEntriesByType(`resource`),
              r = 0;
            r < n.length;
            r++
          ) {
            var i = n[r],
              a = i.transferSize,
              o = i.initiatorType,
              s = i.duration;
            if (a && s && Jd(o)) {
              for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {
                var c = n[r],
                  l = c.startTime;
                if (l > s) break;
                var u = c.transferSize,
                  d = c.initiatorType;
                u &&
                  Jd(d) &&
                  ((c = c.responseEnd),
                  (o += u * (c < s ? 1 : (s - l) / (c - l))));
              }
              if ((--r, (t += (8 * (a + o)) / (i.duration / 1e3)), e++, 10 < e))
                break;
            }
          }
          if (0 < e) return t / e / 1e6;
        }
        return navigator.connection &&
          ((e = navigator.connection.downlink), typeof e == `number`)
          ? e
          : 5;
      }
      var Xd = null,
        Zd = null;
      function Qd(e) {
        return e.nodeType === 9 ? e : e.ownerDocument;
      }
      function $d(e) {
        switch (e) {
          case `http://www.w3.org/2000/svg`:
            return 1;
          case `http://www.w3.org/1998/Math/MathML`:
            return 2;
          default:
            return 0;
        }
      }
      function ef(e, t) {
        if (e === 0)
          switch (t) {
            case `svg`:
              return 1;
            case `math`:
              return 2;
            default:
              return 0;
          }
        return e === 1 && t === `foreignObject` ? 0 : e;
      }
      function tf(e, t) {
        return (
          e === `textarea` ||
          e === `noscript` ||
          typeof t.children == `string` ||
          typeof t.children == `number` ||
          typeof t.children == `bigint` ||
          (typeof t.dangerouslySetInnerHTML == `object` &&
            t.dangerouslySetInnerHTML !== null &&
            t.dangerouslySetInnerHTML.__html != null)
        );
      }
      var nf = null;
      function rf() {
        var e = window.event;
        return e && e.type === `popstate`
          ? e === nf
            ? !1
            : ((nf = e), !0)
          : ((nf = null), !1);
      }
      var af = typeof setTimeout == `function` ? setTimeout : void 0,
        of = typeof clearTimeout == `function` ? clearTimeout : void 0,
        sf = typeof Promise == `function` ? Promise : void 0,
        cf =
          typeof queueMicrotask == `function`
            ? queueMicrotask
            : sf === void 0
              ? af
              : function (e) {
                  return sf.resolve(null).then(e).catch(lf);
                };
      function lf(e) {
        setTimeout(function () {
          throw e;
        });
      }
      function uf(e) {
        return e === `head`;
      }
      function df(e, t) {
        var n = t,
          r = 0;
        do {
          var i = n.nextSibling;
          if ((e.removeChild(n), i && i.nodeType === 8))
            if (((n = i.data), n === `/$` || n === `/&`)) {
              if (r === 0) {
                (e.removeChild(i), Up(t));
                return;
              }
              r--;
            } else if (
              n === `$` ||
              n === `$?` ||
              n === `$~` ||
              n === `$!` ||
              n === `&`
            )
              r++;
            else if (n === `html`) Tf(e.ownerDocument.documentElement);
            else if (n === `head`) {
              ((n = e.ownerDocument.head), Tf(n));
              for (var a = n.firstChild; a;) {
                var o = a.nextSibling,
                  s = a.nodeName;
                (a[bt] ||
                  s === `SCRIPT` ||
                  s === `STYLE` ||
                  (s === `LINK` && a.rel.toLowerCase() === `stylesheet`) ||
                  n.removeChild(a),
                  (a = o));
              }
            } else n === `body` && Tf(e.ownerDocument.body);
          n = i;
        } while (n);
        Up(t);
      }
      function ff(e, t) {
        var n = e;
        e = 0;
        do {
          var r = n.nextSibling;
          if (
            (n.nodeType === 1
              ? t
                ? ((n._stashedDisplay = n.style.display),
                  (n.style.display = `none`))
                : ((n.style.display = n._stashedDisplay || ``),
                  n.getAttribute(`style`) === `` && n.removeAttribute(`style`))
              : n.nodeType === 3 &&
                (t
                  ? ((n._stashedText = n.nodeValue), (n.nodeValue = ``))
                  : (n.nodeValue = n._stashedText || ``)),
            r && r.nodeType === 8)
          )
            if (((n = r.data), n === `/$`)) {
              if (e === 0) break;
              e--;
            } else (n !== `$` && n !== `$?` && n !== `$~` && n !== `$!`) || e++;
          n = r;
        } while (n);
      }
      function pf(e) {
        var t = e.firstChild;
        for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
          var n = t;
          switch (((t = t.nextSibling), n.nodeName)) {
            case `HTML`:
            case `HEAD`:
            case `BODY`:
              (pf(n), xt(n));
              continue;
            case `SCRIPT`:
            case `STYLE`:
              continue;
            case `LINK`:
              if (n.rel.toLowerCase() === `stylesheet`) continue;
          }
          e.removeChild(n);
        }
      }
      function mf(e, t, n, r) {
        for (; e.nodeType === 1;) {
          var i = n;
          if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
            if (!r && (e.nodeName !== `INPUT` || e.type !== `hidden`)) break;
          } else if (!r)
            if (t === `input` && e.type === `hidden`) {
              var a = i.name == null ? null : `` + i.name;
              if (i.type === `hidden` && e.getAttribute(`name`) === a) return e;
            } else return e;
          else if (!e[bt])
            switch (t) {
              case `meta`:
                if (!e.hasAttribute(`itemprop`)) break;
                return e;
              case `link`:
                if (
                  ((a = e.getAttribute(`rel`)),
                  (a === `stylesheet` && e.hasAttribute(`data-precedence`)) ||
                    a !== i.rel ||
                    e.getAttribute(`href`) !==
                      (i.href == null || i.href === `` ? null : i.href) ||
                    e.getAttribute(`crossorigin`) !==
                      (i.crossOrigin == null ? null : i.crossOrigin) ||
                    e.getAttribute(`title`) !==
                      (i.title == null ? null : i.title))
                )
                  break;
                return e;
              case `style`:
                if (e.hasAttribute(`data-precedence`)) break;
                return e;
              case `script`:
                if (
                  ((a = e.getAttribute(`src`)),
                  (a !== (i.src == null ? null : i.src) ||
                    e.getAttribute(`type`) !==
                      (i.type == null ? null : i.type) ||
                    e.getAttribute(`crossorigin`) !==
                      (i.crossOrigin == null ? null : i.crossOrigin)) &&
                    a &&
                    e.hasAttribute(`async`) &&
                    !e.hasAttribute(`itemprop`))
                )
                  break;
                return e;
              default:
                return e;
            }
          if (((e = bf(e.nextSibling)), e === null)) break;
        }
        return null;
      }
      function hf(e, t, n) {
        if (t === ``) return null;
        for (; e.nodeType !== 3;)
          if (
            ((e.nodeType !== 1 ||
              e.nodeName !== `INPUT` ||
              e.type !== `hidden`) &&
              !n) ||
            ((e = bf(e.nextSibling)), e === null)
          )
            return null;
        return e;
      }
      function gf(e, t) {
        for (; e.nodeType !== 8;)
          if (
            ((e.nodeType !== 1 ||
              e.nodeName !== `INPUT` ||
              e.type !== `hidden`) &&
              !t) ||
            ((e = bf(e.nextSibling)), e === null)
          )
            return null;
        return e;
      }
      function _f(e) {
        return e.data === `$?` || e.data === `$~`;
      }
      function vf(e) {
        return (
          e.data === `$!` ||
          (e.data === `$?` && e.ownerDocument.readyState !== `loading`)
        );
      }
      function yf(e, t) {
        var n = e.ownerDocument;
        if (e.data === `$~`) e._reactRetry = t;
        else if (e.data !== `$?` || n.readyState !== `loading`) t();
        else {
          var r = function () {
            (t(), n.removeEventListener(`DOMContentLoaded`, r));
          };
          (n.addEventListener(`DOMContentLoaded`, r), (e._reactRetry = r));
        }
      }
      function bf(e) {
        for (; e != null; e = e.nextSibling) {
          var t = e.nodeType;
          if (t === 1 || t === 3) break;
          if (t === 8) {
            if (
              ((t = e.data),
              t === `$` ||
                t === `$!` ||
                t === `$?` ||
                t === `$~` ||
                t === `&` ||
                t === `F!` ||
                t === `F`)
            )
              break;
            if (t === `/$` || t === `/&`) return null;
          }
        }
        return e;
      }
      var xf = null;
      function Sf(e) {
        e = e.nextSibling;
        for (var t = 0; e;) {
          if (e.nodeType === 8) {
            var n = e.data;
            if (n === `/$` || n === `/&`) {
              if (t === 0) return bf(e.nextSibling);
              t--;
            } else
              (n !== `$` &&
                n !== `$!` &&
                n !== `$?` &&
                n !== `$~` &&
                n !== `&`) ||
                t++;
          }
          e = e.nextSibling;
        }
        return null;
      }
      function Cf(e) {
        e = e.previousSibling;
        for (var t = 0; e;) {
          if (e.nodeType === 8) {
            var n = e.data;
            if (
              n === `$` ||
              n === `$!` ||
              n === `$?` ||
              n === `$~` ||
              n === `&`
            ) {
              if (t === 0) return e;
              t--;
            } else (n !== `/$` && n !== `/&`) || t++;
          }
          e = e.previousSibling;
        }
        return null;
      }
      function wf(e, t, n) {
        switch (((t = Qd(n)), e)) {
          case `html`:
            if (((e = t.documentElement), !e)) throw Error(i(452));
            return e;
          case `head`:
            if (((e = t.head), !e)) throw Error(i(453));
            return e;
          case `body`:
            if (((e = t.body), !e)) throw Error(i(454));
            return e;
          default:
            throw Error(i(451));
        }
      }
      function Tf(e) {
        for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
        xt(e);
      }
      var Ef = new Map(),
        Df = new Set();
      function H(e) {
        return typeof e.getRootNode == `function`
          ? e.getRootNode()
          : e.nodeType === 9
            ? e
            : e.ownerDocument;
      }
      var Of = O.d;
      O.d = { f: kf, r: Af, D: Nf, C: Pf, L: Ff, m: If, X: Rf, S: Lf, M: zf };
      function kf() {
        var e = Of.f(),
          t = Au();
        return e || t;
      }
      function Af(e) {
        var t = Ct(e);
        t !== null && t.tag === 5 && t.type === `form` ? Ms(t) : Of.r(e);
      }
      var jf = typeof document > `u` ? null : document;
      function Mf(e, t, n) {
        var r = jf;
        if (r && typeof t == `string` && t) {
          var i = Wt(t);
          ((i = `link[rel="` + e + `"][href="` + i + `"]`),
            typeof n == `string` && (i += `[crossorigin="` + n + `"]`),
            Df.has(i) ||
              (Df.add(i),
              (e = { rel: e, crossOrigin: n, href: t }),
              r.querySelector(i) === null &&
                ((t = r.createElement(`link`)),
                Kd(t, `link`, e),
                Tt(t),
                r.head.appendChild(t))));
        }
      }
      function Nf(e) {
        (Of.D(e), Mf(`dns-prefetch`, e, null));
      }
      function Pf(e, t) {
        (Of.C(e, t), Mf(`preconnect`, e, t));
      }
      function Ff(e, t, n) {
        Of.L(e, t, n);
        var r = jf;
        if (r && e && t) {
          var i = `link[rel="preload"][as="` + Wt(t) + `"]`;
          t === `image` && n && n.imageSrcSet
            ? ((i += `[imagesrcset="` + Wt(n.imageSrcSet) + `"]`),
              typeof n.imageSizes == `string` &&
                (i += `[imagesizes="` + Wt(n.imageSizes) + `"]`))
            : (i += `[href="` + Wt(e) + `"]`);
          var a = i;
          switch (t) {
            case `style`:
              a = Vf(e);
              break;
            case `script`:
              a = Gf(e);
          }
          Ef.has(a) ||
            ((e = f(
              {
                rel: `preload`,
                href: t === `image` && n && n.imageSrcSet ? void 0 : e,
                as: t,
              },
              n,
            )),
            Ef.set(a, e),
            r.querySelector(i) !== null ||
              (t === `style` && r.querySelector(Hf(a))) ||
              (t === `script` && r.querySelector(U(a))) ||
              ((t = r.createElement(`link`)),
              Kd(t, `link`, e),
              Tt(t),
              r.head.appendChild(t)));
        }
      }
      function If(e, t) {
        Of.m(e, t);
        var n = jf;
        if (n && e) {
          var r = t && typeof t.as == `string` ? t.as : `script`,
            i =
              `link[rel="modulepreload"][as="` +
              Wt(r) +
              `"][href="` +
              Wt(e) +
              `"]`,
            a = i;
          switch (r) {
            case `audioworklet`:
            case `paintworklet`:
            case `serviceworker`:
            case `sharedworker`:
            case `worker`:
            case `script`:
              a = Gf(e);
          }
          if (
            !Ef.has(a) &&
            ((e = f({ rel: `modulepreload`, href: e }, t)),
            Ef.set(a, e),
            n.querySelector(i) === null)
          ) {
            switch (r) {
              case `audioworklet`:
              case `paintworklet`:
              case `serviceworker`:
              case `sharedworker`:
              case `worker`:
              case `script`:
                if (n.querySelector(U(a))) return;
            }
            ((r = n.createElement(`link`)),
              Kd(r, `link`, e),
              Tt(r),
              n.head.appendChild(r));
          }
        }
      }
      function Lf(e, t, n) {
        Of.S(e, t, n);
        var r = jf;
        if (r && e) {
          var i = wt(r).hoistableStyles,
            a = Vf(e);
          t ||= `default`;
          var o = i.get(a);
          if (!o) {
            var s = { loading: 0, preload: null };
            if ((o = r.querySelector(Hf(a)))) s.loading = 5;
            else {
              ((e = f({ rel: `stylesheet`, href: e, "data-precedence": t }, n)),
                (n = Ef.get(a)) && Jf(e, n));
              var c = (o = r.createElement(`link`));
              (Tt(c),
                Kd(c, `link`, e),
                (c._p = new Promise(function (e, t) {
                  ((c.onload = e), (c.onerror = t));
                })),
                c.addEventListener(`load`, function () {
                  s.loading |= 1;
                }),
                c.addEventListener(`error`, function () {
                  s.loading |= 2;
                }),
                (s.loading |= 4),
                qf(o, t, r));
            }
            ((o = { type: `stylesheet`, instance: o, count: 1, state: s }),
              i.set(a, o));
          }
        }
      }
      function Rf(e, t) {
        Of.X(e, t);
        var n = jf;
        if (n && e) {
          var r = wt(n).hoistableScripts,
            i = Gf(e),
            a = r.get(i);
          a ||
            ((a = n.querySelector(U(i))),
            a ||
              ((e = f({ src: e, async: !0 }, t)),
              (t = Ef.get(i)) && Yf(e, t),
              (a = n.createElement(`script`)),
              Tt(a),
              Kd(a, `link`, e),
              n.head.appendChild(a)),
            (a = { type: `script`, instance: a, count: 1, state: null }),
            r.set(i, a));
        }
      }
      function zf(e, t) {
        Of.M(e, t);
        var n = jf;
        if (n && e) {
          var r = wt(n).hoistableScripts,
            i = Gf(e),
            a = r.get(i);
          a ||
            ((a = n.querySelector(U(i))),
            a ||
              ((e = f({ src: e, async: !0, type: `module` }, t)),
              (t = Ef.get(i)) && Yf(e, t),
              (a = n.createElement(`script`)),
              Tt(a),
              Kd(a, `link`, e),
              n.head.appendChild(a)),
            (a = { type: `script`, instance: a, count: 1, state: null }),
            r.set(i, a));
        }
      }
      function Bf(e, t, n, r) {
        var a = (a = ge.current) ? H(a) : null;
        if (!a) throw Error(i(446));
        switch (e) {
          case `meta`:
          case `title`:
            return null;
          case `style`:
            return typeof n.precedence == `string` && typeof n.href == `string`
              ? ((t = Vf(n.href)),
                (n = wt(a).hoistableStyles),
                (r = n.get(t)),
                r ||
                  ((r = {
                    type: `style`,
                    instance: null,
                    count: 0,
                    state: null,
                  }),
                  n.set(t, r)),
                r)
              : { type: `void`, instance: null, count: 0, state: null };
          case `link`:
            if (
              n.rel === `stylesheet` &&
              typeof n.href == `string` &&
              typeof n.precedence == `string`
            ) {
              e = Vf(n.href);
              var o = wt(a).hoistableStyles,
                s = o.get(e);
              if (
                (s ||
                  ((a = a.ownerDocument || a),
                  (s = {
                    type: `stylesheet`,
                    instance: null,
                    count: 0,
                    state: { loading: 0, preload: null },
                  }),
                  o.set(e, s),
                  (o = a.querySelector(Hf(e))) &&
                    !o._p &&
                    ((s.instance = o), (s.state.loading = 5)),
                  Ef.has(e) ||
                    ((n = {
                      rel: `preload`,
                      as: `style`,
                      href: n.href,
                      crossOrigin: n.crossOrigin,
                      integrity: n.integrity,
                      media: n.media,
                      hrefLang: n.hrefLang,
                      referrerPolicy: n.referrerPolicy,
                    }),
                    Ef.set(e, n),
                    o || Wf(a, e, n, s.state))),
                t && r === null)
              )
                throw Error(i(528, ``));
              return s;
            }
            if (t && r !== null) throw Error(i(529, ``));
            return null;
          case `script`:
            return (
              (t = n.async),
              (n = n.src),
              typeof n == `string` &&
              t &&
              typeof t != `function` &&
              typeof t != `symbol`
                ? ((t = Gf(n)),
                  (n = wt(a).hoistableScripts),
                  (r = n.get(t)),
                  r ||
                    ((r = {
                      type: `script`,
                      instance: null,
                      count: 0,
                      state: null,
                    }),
                    n.set(t, r)),
                  r)
                : { type: `void`, instance: null, count: 0, state: null }
            );
          default:
            throw Error(i(444, e));
        }
      }
      function Vf(e) {
        return `href="` + Wt(e) + `"`;
      }
      function Hf(e) {
        return `link[rel="stylesheet"][` + e + `]`;
      }
      function Uf(e) {
        return f({}, e, { "data-precedence": e.precedence, precedence: null });
      }
      function Wf(e, t, n, r) {
        e.querySelector(`link[rel="preload"][as="style"][` + t + `]`)
          ? (r.loading = 1)
          : ((t = e.createElement(`link`)),
            (r.preload = t),
            t.addEventListener(`load`, function () {
              return (r.loading |= 1);
            }),
            t.addEventListener(`error`, function () {
              return (r.loading |= 2);
            }),
            Kd(t, `link`, n),
            Tt(t),
            e.head.appendChild(t));
      }
      function Gf(e) {
        return `[src="` + Wt(e) + `"]`;
      }
      function U(e) {
        return `script[async]` + e;
      }
      function Kf(e, t, n) {
        if ((t.count++, t.instance === null))
          switch (t.type) {
            case `style`:
              var r = e.querySelector(`style[data-href~="` + Wt(n.href) + `"]`);
              if (r) return ((t.instance = r), Tt(r), r);
              var a = f({}, n, {
                "data-href": n.href,
                "data-precedence": n.precedence,
                href: null,
                precedence: null,
              });
              return (
                (r = (e.ownerDocument || e).createElement(`style`)),
                Tt(r),
                Kd(r, `style`, a),
                qf(r, n.precedence, e),
                (t.instance = r)
              );
            case `stylesheet`:
              a = Vf(n.href);
              var o = e.querySelector(Hf(a));
              if (o)
                return ((t.state.loading |= 4), (t.instance = o), Tt(o), o);
              ((r = Uf(n)),
                (a = Ef.get(a)) && Jf(r, a),
                (o = (e.ownerDocument || e).createElement(`link`)),
                Tt(o));
              var s = o;
              return (
                (s._p = new Promise(function (e, t) {
                  ((s.onload = e), (s.onerror = t));
                })),
                Kd(o, `link`, r),
                (t.state.loading |= 4),
                qf(o, n.precedence, e),
                (t.instance = o)
              );
            case `script`:
              return (
                (o = Gf(n.src)),
                (a = e.querySelector(U(o)))
                  ? ((t.instance = a), Tt(a), a)
                  : ((r = n),
                    (a = Ef.get(o)) && ((r = f({}, n)), Yf(r, a)),
                    (e = e.ownerDocument || e),
                    (a = e.createElement(`script`)),
                    Tt(a),
                    Kd(a, `link`, r),
                    e.head.appendChild(a),
                    (t.instance = a))
              );
            case `void`:
              return null;
            default:
              throw Error(i(443, t.type));
          }
        else
          t.type === `stylesheet` &&
            !(t.state.loading & 4) &&
            ((r = t.instance), (t.state.loading |= 4), qf(r, n.precedence, e));
        return t.instance;
      }
      function qf(e, t, n) {
        for (
          var r = n.querySelectorAll(
              `link[rel="stylesheet"][data-precedence],style[data-precedence]`,
            ),
            i = r.length ? r[r.length - 1] : null,
            a = i,
            o = 0;
          o < r.length;
          o++
        ) {
          var s = r[o];
          if (s.dataset.precedence === t) a = s;
          else if (a !== i) break;
        }
        a
          ? a.parentNode.insertBefore(e, a.nextSibling)
          : ((t = n.nodeType === 9 ? n.head : n),
            t.insertBefore(e, t.firstChild));
      }
      function Jf(e, t) {
        ((e.crossOrigin ??= t.crossOrigin),
          (e.referrerPolicy ??= t.referrerPolicy),
          (e.title ??= t.title));
      }
      function Yf(e, t) {
        ((e.crossOrigin ??= t.crossOrigin),
          (e.referrerPolicy ??= t.referrerPolicy),
          (e.integrity ??= t.integrity));
      }
      var Xf = null;
      function Zf(e, t, n) {
        if (Xf === null) {
          var r = new Map(),
            i = (Xf = new Map());
          i.set(n, r);
        } else ((i = Xf), (r = i.get(n)), r || ((r = new Map()), i.set(n, r)));
        if (r.has(e)) return r;
        for (
          r.set(e, null), n = n.getElementsByTagName(e), i = 0;
          i < n.length;
          i++
        ) {
          var a = n[i];
          if (
            !(
              a[bt] ||
              a[pt] ||
              (e === `link` && a.getAttribute(`rel`) === `stylesheet`)
            ) &&
            a.namespaceURI !== `http://www.w3.org/2000/svg`
          ) {
            var o = a.getAttribute(t) || ``;
            o = e + o;
            var s = r.get(o);
            s ? s.push(a) : r.set(o, [a]);
          }
        }
        return r;
      }
      function Qf(e, t, n) {
        ((e = e.ownerDocument || e),
          e.head.insertBefore(
            n,
            t === `title` ? e.querySelector(`head > title`) : null,
          ));
      }
      function $f(e, t, n) {
        if (n === 1 || t.itemProp != null) return !1;
        switch (e) {
          case `meta`:
          case `title`:
            return !0;
          case `style`:
            if (
              typeof t.precedence != `string` ||
              typeof t.href != `string` ||
              t.href === ``
            )
              break;
            return !0;
          case `link`:
            if (
              typeof t.rel != `string` ||
              typeof t.href != `string` ||
              t.href === `` ||
              t.onLoad ||
              t.onError
            )
              break;
            switch (t.rel) {
              case `stylesheet`:
                return (
                  (e = t.disabled),
                  typeof t.precedence == `string` && e == null
                );
              default:
                return !0;
            }
          case `script`:
            if (
              t.async &&
              typeof t.async != `function` &&
              typeof t.async != `symbol` &&
              !t.onLoad &&
              !t.onError &&
              t.src &&
              typeof t.src == `string`
            )
              return !0;
        }
        return !1;
      }
      function ep(e) {
        return !(e.type === `stylesheet` && !(e.state.loading & 3));
      }
      function tp(e, t, n, r) {
        if (
          n.type === `stylesheet` &&
          (typeof r.media != `string` || !1 !== matchMedia(r.media).matches) &&
          !(n.state.loading & 4)
        ) {
          if (n.instance === null) {
            var i = Vf(r.href),
              a = t.querySelector(Hf(i));
            if (a) {
              ((t = a._p),
                typeof t == `object` &&
                  t &&
                  typeof t.then == `function` &&
                  (e.count++, (e = ip.bind(e)), t.then(e, e)),
                (n.state.loading |= 4),
                (n.instance = a),
                Tt(a));
              return;
            }
            ((a = t.ownerDocument || t),
              (r = Uf(r)),
              (i = Ef.get(i)) && Jf(r, i),
              (a = a.createElement(`link`)),
              Tt(a));
            var o = a;
            ((o._p = new Promise(function (e, t) {
              ((o.onload = e), (o.onerror = t));
            })),
              Kd(a, `link`, r),
              (n.instance = a));
          }
          (e.stylesheets === null && (e.stylesheets = new Map()),
            e.stylesheets.set(n, t),
            (t = n.state.preload) &&
              !(n.state.loading & 3) &&
              (e.count++,
              (n = ip.bind(e)),
              t.addEventListener(`load`, n),
              t.addEventListener(`error`, n)));
        }
      }
      var np = 0;
      function rp(e, t) {
        return (
          e.stylesheets && e.count === 0 && op(e, e.stylesheets),
          0 < e.count || 0 < e.imgCount
            ? function (n) {
                var r = setTimeout(function () {
                  if ((e.stylesheets && op(e, e.stylesheets), e.unsuspend)) {
                    var t = e.unsuspend;
                    ((e.unsuspend = null), t());
                  }
                }, 6e4 + t);
                0 < e.imgBytes && np === 0 && (np = 62500 * Yd());
                var i = setTimeout(
                  function () {
                    if (
                      ((e.waitingForImages = !1),
                      e.count === 0 &&
                        (e.stylesheets && op(e, e.stylesheets), e.unsuspend))
                    ) {
                      var t = e.unsuspend;
                      ((e.unsuspend = null), t());
                    }
                  },
                  (e.imgBytes > np ? 50 : 800) + t,
                );
                return (
                  (e.unsuspend = n),
                  function () {
                    ((e.unsuspend = null), clearTimeout(r), clearTimeout(i));
                  }
                );
              }
            : null
        );
      }
      function ip() {
        if (
          (this.count--,
          this.count === 0 && (this.imgCount === 0 || !this.waitingForImages))
        ) {
          if (this.stylesheets) op(this, this.stylesheets);
          else if (this.unsuspend) {
            var e = this.unsuspend;
            ((this.unsuspend = null), e());
          }
        }
      }
      var ap = null;
      function op(e, t) {
        ((e.stylesheets = null),
          e.unsuspend !== null &&
            (e.count++,
            (ap = new Map()),
            t.forEach(sp, e),
            (ap = null),
            ip.call(e)));
      }
      function sp(e, t) {
        if (!(t.state.loading & 4)) {
          var n = ap.get(e);
          if (n) var r = n.get(null);
          else {
            ((n = new Map()), ap.set(e, n));
            for (
              var i = e.querySelectorAll(
                  `link[data-precedence],style[data-precedence]`,
                ),
                a = 0;
              a < i.length;
              a++
            ) {
              var o = i[a];
              (o.nodeName === `LINK` ||
                o.getAttribute(`media`) !== `not all`) &&
                (n.set(o.dataset.precedence, o), (r = o));
            }
            r && n.set(null, r);
          }
          ((i = t.instance),
            (o = i.getAttribute(`data-precedence`)),
            (a = n.get(o) || r),
            a === r && n.set(null, i),
            n.set(o, i),
            this.count++,
            (r = ip.bind(this)),
            i.addEventListener(`load`, r),
            i.addEventListener(`error`, r),
            a
              ? a.parentNode.insertBefore(i, a.nextSibling)
              : ((e = e.nodeType === 9 ? e.head : e),
                e.insertBefore(i, e.firstChild)),
            (t.state.loading |= 4));
        }
      }
      var cp = {
        $$typeof: te,
        Provider: null,
        Consumer: null,
        _currentValue: le,
        _currentValue2: le,
        _threadCount: 0,
      };
      function lp(e, t, n, r, i, a, o, s, c) {
        ((this.tag = 1),
          (this.containerInfo = e),
          (this.pingCache = this.current = this.pendingChildren = null),
          (this.timeoutHandle = -1),
          (this.callbackNode =
            this.next =
            this.pendingContext =
            this.context =
            this.cancelPendingCommit =
              null),
          (this.callbackPriority = 0),
          (this.expirationTimes = nt(-1)),
          (this.entangledLanes =
            this.shellSuspendCounter =
            this.errorRecoveryDisabledLanes =
            this.expiredLanes =
            this.warmLanes =
            this.pingedLanes =
            this.suspendedLanes =
            this.pendingLanes =
              0),
          (this.entanglements = nt(0)),
          (this.hiddenUpdates = nt(null)),
          (this.identifierPrefix = r),
          (this.onUncaughtError = i),
          (this.onCaughtError = a),
          (this.onRecoverableError = o),
          (this.pooledCache = null),
          (this.pooledCacheLanes = 0),
          (this.formState = c),
          (this.incompleteTransitions = new Map()));
      }
      function up(e, t, n, r, i, a, o, s, c, l, u, d) {
        return (
          (e = new lp(e, t, n, o, c, l, u, d, s)),
          (t = 1),
          !0 === a && (t |= 24),
          (a = mi(3, null, null, t)),
          (e.current = a),
          (a.stateNode = e),
          (t = ma()),
          t.refCount++,
          (e.pooledCache = t),
          t.refCount++,
          (a.memoizedState = { element: r, isDehydrated: n, cache: t }),
          Wa(a),
          e
        );
      }
      function dp(e) {
        return e ? ((e = fi), e) : fi;
      }
      function fp(e, t, n, r, i, a) {
        ((i = dp(i)),
          r.context === null ? (r.context = i) : (r.pendingContext = i),
          (r = Ka(t)),
          (r.payload = { element: n }),
          (a = a === void 0 ? null : a),
          a !== null && (r.callback = a),
          (n = qa(e, r, t)),
          n !== null && (Tu(n, e, t), Ja(n, e, t)));
      }
      function pp(e, t) {
        if (((e = e.memoizedState), e !== null && e.dehydrated !== null)) {
          var n = e.retryLane;
          e.retryLane = n !== 0 && n < t ? n : t;
        }
      }
      function mp(e, t) {
        (pp(e, t), (e = e.alternate) && pp(e, t));
      }
      function hp(e) {
        if (e.tag === 13 || e.tag === 31) {
          var t = li(e, 67108864);
          (t !== null && Tu(t, e, 67108864), mp(e, 67108864));
        }
      }
      function gp(e) {
        if (e.tag === 13 || e.tag === 31) {
          var t = Cu();
          t = ct(t);
          var n = li(e, t);
          (n !== null && Tu(n, e, t), mp(e, t));
        }
      }
      var _p = !0;
      function vp(e, t, n, r) {
        var i = D.T;
        D.T = null;
        var a = O.p;
        try {
          ((O.p = 2), bp(e, t, n, r));
        } finally {
          ((O.p = a), (D.T = i));
        }
      }
      function yp(e, t, n, r) {
        var i = D.T;
        D.T = null;
        var a = O.p;
        try {
          ((O.p = 8), bp(e, t, n, r));
        } finally {
          ((O.p = a), (D.T = i));
        }
      }
      function bp(e, t, n, r) {
        if (_p) {
          var i = xp(r);
          if (i === null) (Fd(e, t, r, Sp, n), Np(e, r));
          else if (Fp(i, e, t, n, r)) r.stopPropagation();
          else if ((Np(e, r), t & 4 && -1 < Mp.indexOf(e))) {
            for (; i !== null;) {
              var a = Ct(i);
              if (a !== null)
                switch (a.tag) {
                  case 3:
                    if (
                      ((a = a.stateNode), a.current.memoizedState.isDehydrated)
                    ) {
                      var o = Ze(a.pendingLanes);
                      if (o !== 0) {
                        var s = a;
                        for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
                          var c = 1 << (31 - We(o));
                          ((s.entanglements[1] |= c), (o &= ~c));
                        }
                        (md(a), !(Kl & 6) && ((du = Me() + 500), hd(0, !1)));
                      }
                    }
                    break;
                  case 31:
                  case 13:
                    ((s = li(a, 2)), s !== null && Tu(s, a, 2), Au(), mp(a, 2));
                }
              if (((a = xp(r)), a === null && Fd(e, t, r, Sp, n), a === i))
                break;
              i = a;
            }
            i !== null && r.stopPropagation();
          } else Fd(e, t, r, null, n);
        }
      }
      function xp(e) {
        return ((e = cn(e)), Cp(e));
      }
      var Sp = null;
      function Cp(e) {
        if (((Sp = null), (e = St(e)), e !== null)) {
          var t = o(e);
          if (t === null) e = null;
          else {
            var n = t.tag;
            if (n === 13) {
              if (((e = s(t)), e !== null)) return e;
              e = null;
            } else if (n === 31) {
              if (((e = c(t)), e !== null)) return e;
              e = null;
            } else if (n === 3) {
              if (t.stateNode.current.memoizedState.isDehydrated)
                return t.tag === 3 ? t.stateNode.containerInfo : null;
              e = null;
            } else t !== e && (e = null);
          }
        }
        return ((Sp = e), null);
      }
      function wp(e) {
        switch (e) {
          case `beforetoggle`:
          case `cancel`:
          case `click`:
          case `close`:
          case `contextmenu`:
          case `copy`:
          case `cut`:
          case `auxclick`:
          case `dblclick`:
          case `dragend`:
          case `dragstart`:
          case `drop`:
          case `focusin`:
          case `focusout`:
          case `input`:
          case `invalid`:
          case `keydown`:
          case `keypress`:
          case `keyup`:
          case `mousedown`:
          case `mouseup`:
          case `paste`:
          case `pause`:
          case `play`:
          case `pointercancel`:
          case `pointerdown`:
          case `pointerup`:
          case `ratechange`:
          case `reset`:
          case `resize`:
          case `seeked`:
          case `submit`:
          case `toggle`:
          case `touchcancel`:
          case `touchend`:
          case `touchstart`:
          case `volumechange`:
          case `change`:
          case `selectionchange`:
          case `textInput`:
          case `compositionstart`:
          case `compositionend`:
          case `compositionupdate`:
          case `beforeblur`:
          case `afterblur`:
          case `beforeinput`:
          case `blur`:
          case `fullscreenchange`:
          case `focus`:
          case `hashchange`:
          case `popstate`:
          case `select`:
          case `selectstart`:
            return 2;
          case `drag`:
          case `dragenter`:
          case `dragexit`:
          case `dragleave`:
          case `dragover`:
          case `mousemove`:
          case `mouseout`:
          case `mouseover`:
          case `pointermove`:
          case `pointerout`:
          case `pointerover`:
          case `scroll`:
          case `touchmove`:
          case `wheel`:
          case `mouseenter`:
          case `mouseleave`:
          case `pointerenter`:
          case `pointerleave`:
            return 8;
          case `message`:
            switch (Ne()) {
              case Pe:
                return 2;
              case Fe:
                return 8;
              case Ie:
              case Le:
                return 32;
              case Re:
                return 268435456;
              default:
                return 32;
            }
          default:
            return 32;
        }
      }
      var Tp = !1,
        Ep = null,
        Dp = null,
        Op = null,
        kp = new Map(),
        Ap = new Map(),
        jp = [],
        Mp =
          `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`.split(
            ` `,
          );
      function Np(e, t) {
        switch (e) {
          case `focusin`:
          case `focusout`:
            Ep = null;
            break;
          case `dragenter`:
          case `dragleave`:
            Dp = null;
            break;
          case `mouseover`:
          case `mouseout`:
            Op = null;
            break;
          case `pointerover`:
          case `pointerout`:
            kp.delete(t.pointerId);
            break;
          case `gotpointercapture`:
          case `lostpointercapture`:
            Ap.delete(t.pointerId);
        }
      }
      function Pp(e, t, n, r, i, a) {
        return e === null || e.nativeEvent !== a
          ? ((e = {
              blockedOn: t,
              domEventName: n,
              eventSystemFlags: r,
              nativeEvent: a,
              targetContainers: [i],
            }),
            t !== null && ((t = Ct(t)), t !== null && hp(t)),
            e)
          : ((e.eventSystemFlags |= r),
            (t = e.targetContainers),
            i !== null && t.indexOf(i) === -1 && t.push(i),
            e);
      }
      function Fp(e, t, n, r, i) {
        switch (t) {
          case `focusin`:
            return ((Ep = Pp(Ep, e, t, n, r, i)), !0);
          case `dragenter`:
            return ((Dp = Pp(Dp, e, t, n, r, i)), !0);
          case `mouseover`:
            return ((Op = Pp(Op, e, t, n, r, i)), !0);
          case `pointerover`:
            var a = i.pointerId;
            return (kp.set(a, Pp(kp.get(a) || null, e, t, n, r, i)), !0);
          case `gotpointercapture`:
            return (
              (a = i.pointerId),
              Ap.set(a, Pp(Ap.get(a) || null, e, t, n, r, i)),
              !0
            );
        }
        return !1;
      }
      function Ip(e) {
        var t = St(e.target);
        if (t !== null) {
          var n = o(t);
          if (n !== null) {
            if (((t = n.tag), t === 13)) {
              if (((t = s(n)), t !== null)) {
                ((e.blockedOn = t),
                  dt(e.priority, function () {
                    gp(n);
                  }));
                return;
              }
            } else if (t === 31) {
              if (((t = c(n)), t !== null)) {
                ((e.blockedOn = t),
                  dt(e.priority, function () {
                    gp(n);
                  }));
                return;
              }
            } else if (
              t === 3 &&
              n.stateNode.current.memoizedState.isDehydrated
            ) {
              e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;
              return;
            }
          }
        }
        e.blockedOn = null;
      }
      function Lp(e) {
        if (e.blockedOn !== null) return !1;
        for (var t = e.targetContainers; 0 < t.length;) {
          var n = xp(e.nativeEvent);
          if (n === null) {
            n = e.nativeEvent;
            var r = new n.constructor(n.type, n);
            ((sn = r), n.target.dispatchEvent(r), (sn = null));
          } else
            return ((t = Ct(n)), t !== null && hp(t), (e.blockedOn = n), !1);
          t.shift();
        }
        return !0;
      }
      function Rp(e, t, n) {
        Lp(e) && n.delete(t);
      }
      function zp() {
        ((Tp = !1),
          Ep !== null && Lp(Ep) && (Ep = null),
          Dp !== null && Lp(Dp) && (Dp = null),
          Op !== null && Lp(Op) && (Op = null),
          kp.forEach(Rp),
          Ap.forEach(Rp));
      }
      function Bp(e, n) {
        e.blockedOn === n &&
          ((e.blockedOn = null),
          Tp ||
            ((Tp = !0),
            t.unstable_scheduleCallback(t.unstable_NormalPriority, zp)));
      }
      var Vp = null;
      function Hp(e) {
        Vp !== e &&
          ((Vp = e),
          t.unstable_scheduleCallback(t.unstable_NormalPriority, function () {
            Vp === e && (Vp = null);
            for (var t = 0; t < e.length; t += 3) {
              var n = e[t],
                r = e[t + 1],
                i = e[t + 2];
              if (typeof r != `function`) {
                if (Cp(r || n) === null) continue;
                break;
              }
              var a = Ct(n);
              a !== null &&
                (e.splice(t, 3),
                (t -= 3),
                As(
                  a,
                  { pending: !0, data: i, method: n.method, action: r },
                  r,
                  i,
                ));
            }
          }));
      }
      function Up(e) {
        function t(t) {
          return Bp(t, e);
        }
        (Ep !== null && Bp(Ep, e),
          Dp !== null && Bp(Dp, e),
          Op !== null && Bp(Op, e),
          kp.forEach(t),
          Ap.forEach(t));
        for (var n = 0; n < jp.length; n++) {
          var r = jp[n];
          r.blockedOn === e && (r.blockedOn = null);
        }
        for (; 0 < jp.length && ((n = jp[0]), n.blockedOn === null);)
          (Ip(n), n.blockedOn === null && jp.shift());
        if (((n = (e.ownerDocument || e).$$reactFormReplay), n != null))
          for (r = 0; r < n.length; r += 3) {
            var i = n[r],
              a = n[r + 1],
              o = i[mt] || null;
            if (typeof a == `function`) o || Hp(n);
            else if (o) {
              var s = null;
              if (a && a.hasAttribute(`formAction`)) {
                if (((i = a), (o = a[mt] || null))) s = o.formAction;
                else if (Cp(i) !== null) continue;
              } else s = o.action;
              (typeof s == `function`
                ? (n[r + 1] = s)
                : (n.splice(r, 3), (r -= 3)),
                Hp(n));
            }
          }
      }
      function Wp() {
        function e(e) {
          e.canIntercept &&
            e.info === `react-transition` &&
            e.intercept({
              handler: function () {
                return new Promise(function (e) {
                  return (i = e);
                });
              },
              focusReset: `manual`,
              scroll: `manual`,
            });
        }
        function t() {
          (i !== null && (i(), (i = null)), r || setTimeout(n, 20));
        }
        function n() {
          if (!r && !navigation.transition) {
            var e = navigation.currentEntry;
            e &&
              e.url != null &&
              navigation.navigate(e.url, {
                state: e.getState(),
                info: `react-transition`,
                history: `replace`,
              });
          }
        }
        if (typeof navigation == `object`) {
          var r = !1,
            i = null;
          return (
            navigation.addEventListener(`navigate`, e),
            navigation.addEventListener(`navigatesuccess`, t),
            navigation.addEventListener(`navigateerror`, t),
            setTimeout(n, 100),
            function () {
              ((r = !0),
                navigation.removeEventListener(`navigate`, e),
                navigation.removeEventListener(`navigatesuccess`, t),
                navigation.removeEventListener(`navigateerror`, t),
                i !== null && (i(), (i = null)));
            }
          );
        }
      }
      function Gp(e) {
        this._internalRoot = e;
      }
      ((Kp.prototype.render = Gp.prototype.render =
        function (e) {
          var t = this._internalRoot;
          if (t === null) throw Error(i(409));
          var n = t.current;
          fp(n, Cu(), e, t, null, null);
        }),
        (Kp.prototype.unmount = Gp.prototype.unmount =
          function () {
            var e = this._internalRoot;
            if (e !== null) {
              this._internalRoot = null;
              var t = e.containerInfo;
              (fp(e.current, 2, null, e, null, null), Au(), (t[ht] = null));
            }
          }));
      function Kp(e) {
        this._internalRoot = e;
      }
      Kp.prototype.unstable_scheduleHydration = function (e) {
        if (e) {
          var t = ut();
          e = { blockedOn: null, target: e, priority: t };
          for (var n = 0; n < jp.length && t !== 0 && t < jp[n].priority; n++);
          (jp.splice(n, 0, e), n === 0 && Ip(e));
        }
      };
      var qp = n.version;
      if (qp !== `19.2.7`) throw Error(i(527, qp, `19.2.7`));
      O.findDOMNode = function (e) {
        var t = e._reactInternals;
        if (t === void 0)
          throw typeof e.render == `function`
            ? Error(i(188))
            : ((e = Object.keys(e).join(`,`)), Error(i(268, e)));
        return (
          (e = u(t)),
          (e = e === null ? null : d(e)),
          (e = e === null ? null : e.stateNode),
          e
        );
      };
      var Jp = {
        bundleType: 0,
        version: `19.2.7`,
        rendererPackageName: `react-dom`,
        currentDispatcherRef: D,
        reconcilerVersion: `19.2.7`,
      };
      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u`) {
        var Yp = __REACT_DEVTOOLS_GLOBAL_HOOK__;
        if (!Yp.isDisabled && Yp.supportsFiber)
          try {
            ((Ve = Yp.inject(Jp)), (He = Yp));
          } catch {}
      }
      ((e.createRoot = function (e, t) {
        if (!a(e)) throw Error(i(299));
        var n = !1,
          r = ``,
          o = $s,
          s = ec,
          c = tc;
        return (
          t != null &&
            (!0 === t.unstable_strictMode && (n = !0),
            t.identifierPrefix !== void 0 && (r = t.identifierPrefix),
            t.onUncaughtError !== void 0 && (o = t.onUncaughtError),
            t.onCaughtError !== void 0 && (s = t.onCaughtError),
            t.onRecoverableError !== void 0 && (c = t.onRecoverableError)),
          (t = up(e, 1, !1, null, null, n, r, null, o, s, c, Wp)),
          (e[ht] = t.current),
          Nd(e),
          new Gp(t)
        );
      }),
        (e.hydrateRoot = function (e, t, n) {
          if (!a(e)) throw Error(i(299));
          var r = !1,
            o = ``,
            s = $s,
            c = ec,
            l = tc,
            u = null;
          return (
            n != null &&
              (!0 === n.unstable_strictMode && (r = !0),
              n.identifierPrefix !== void 0 && (o = n.identifierPrefix),
              n.onUncaughtError !== void 0 && (s = n.onUncaughtError),
              n.onCaughtError !== void 0 && (c = n.onCaughtError),
              n.onRecoverableError !== void 0 && (l = n.onRecoverableError),
              n.formState !== void 0 && (u = n.formState)),
            (t = up(e, 1, !0, t, n ?? null, r, o, u, s, c, l, Wp)),
            (t.context = dp(null)),
            (n = t.current),
            (r = Cu()),
            (r = ct(r)),
            (o = Ka(r)),
            (o.callback = null),
            qa(n, o, r),
            (n = r),
            (t.current.lanes = n),
            rt(t, n),
            md(t),
            (e[ht] = t.current),
            Nd(e),
            new Kp(t)
          );
        }),
        (e.version = `19.2.7`));
    }),
    ee = s((e) => {
      process.env.NODE_ENV !== `production` &&
        (function () {
          function t(e, t) {
            for (e = e.memoizedState; e !== null && 0 < t;) ((e = e.next), t--);
            return e;
          }
          function n(e, t, r, i) {
            if (r >= t.length) return i;
            var a = t[r],
              o = Gf(e) ? e.slice() : H({}, e);
            return ((o[a] = n(e[a], t, r + 1, i)), o);
          }
          function r(e, t, n) {
            if (t.length !== n.length)
              console.warn(`copyWithRename() expects paths of the same length`);
            else {
              for (var r = 0; r < n.length - 1; r++)
                if (t[r] !== n[r]) {
                  console.warn(
                    `copyWithRename() expects paths to be the same except for the deepest key`,
                  );
                  return;
                }
              return i(e, t, n, 0);
            }
          }
          function i(e, t, n, r) {
            var a = t[r],
              o = Gf(e) ? e.slice() : H({}, e);
            return (
              r + 1 === t.length
                ? ((o[n[r]] = o[a]), Gf(o) ? o.splice(a, 1) : delete o[a])
                : (o[a] = i(e[a], t, n, r + 1)),
              o
            );
          }
          function a(e, t, n) {
            var r = t[n],
              i = Gf(e) ? e.slice() : H({}, e);
            return n + 1 === t.length
              ? (Gf(i) ? i.splice(r, 1) : delete i[r], i)
              : ((i[r] = a(e[r], t, n + 1)), i);
          }
          function o() {
            return !1;
          }
          function s() {
            return null;
          }
          function c() {
            console.error(
              `Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`,
            );
          }
          function l() {
            console.error(
              `Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`,
            );
          }
          function u() {}
          function d() {}
          function f(e) {
            var t = [];
            return (
              e.forEach(function (e) {
                t.push(e);
              }),
              t.sort().join(`, `)
            );
          }
          function p(e, t, n, r) {
            return new yr(e, t, n, r);
          }
          function h(e, t) {
            e.context === Ng && (Qd(e.current, 2, t, e, null, null), ol());
          }
          function g(e, t) {
            if (Pg !== null) {
              var n = t.staleFamilies;
              ((t = t.updatedFamilies), Ml(), vr(e.current, t, n), ol());
            }
          }
          function v(e) {
            Pg = e;
          }
          function y(e) {
            return !(
              !e ||
              (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
            );
          }
          function x(e) {
            var t = e,
              n = e;
            if (e.alternate) for (; t.return;) t = t.return;
            else {
              e = t;
              do ((t = e), t.flags & 4098 && (n = t.return), (e = t.return));
              while (e);
            }
            return t.tag === 3 ? n : null;
          }
          function ee(e) {
            if (e.tag === 13) {
              var t = e.memoizedState;
              if (
                (t === null &&
                  ((e = e.alternate), e !== null && (t = e.memoizedState)),
                t !== null)
              )
                return t.dehydrated;
            }
            return null;
          }
          function te(e) {
            if (e.tag === 31) {
              var t = e.memoizedState;
              if (
                (t === null &&
                  ((e = e.alternate), e !== null && (t = e.memoizedState)),
                t !== null)
              )
                return t.dehydrated;
            }
            return null;
          }
          function S(e) {
            if (x(e) !== e)
              throw Error(`Unable to find node on an unmounted component.`);
          }
          function ne(e) {
            var t = e.alternate;
            if (!t) {
              if (((t = x(e)), t === null))
                throw Error(`Unable to find node on an unmounted component.`);
              return t === e ? e : null;
            }
            for (var n = e, r = t; ;) {
              var i = n.return;
              if (i === null) break;
              var a = i.alternate;
              if (a === null) {
                if (((r = i.return), r !== null)) {
                  n = r;
                  continue;
                }
                break;
              }
              if (i.child === a.child) {
                for (a = i.child; a;) {
                  if (a === n) return (S(i), e);
                  if (a === r) return (S(i), t);
                  a = a.sibling;
                }
                throw Error(`Unable to find node on an unmounted component.`);
              }
              if (n.return !== r.return) ((n = i), (r = a));
              else {
                for (var o = !1, s = i.child; s;) {
                  if (s === n) {
                    ((o = !0), (n = i), (r = a));
                    break;
                  }
                  if (s === r) {
                    ((o = !0), (r = i), (n = a));
                    break;
                  }
                  s = s.sibling;
                }
                if (!o) {
                  for (s = a.child; s;) {
                    if (s === n) {
                      ((o = !0), (n = a), (r = i));
                      break;
                    }
                    if (s === r) {
                      ((o = !0), (r = a), (n = i));
                      break;
                    }
                    s = s.sibling;
                  }
                  if (!o)
                    throw Error(
                      `Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`,
                    );
                }
              }
              if (n.alternate !== r)
                throw Error(
                  `Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`,
                );
            }
            if (n.tag !== 3)
              throw Error(`Unable to find node on an unmounted component.`);
            return n.stateNode.current === n ? e : t;
          }
          function re(e) {
            var t = e.tag;
            if (t === 5 || t === 26 || t === 27 || t === 6) return e;
            for (e = e.child; e !== null;) {
              if (((t = re(e)), t !== null)) return t;
              e = e.sibling;
            }
            return null;
          }
          function C(e) {
            return typeof e != `object` || !e
              ? null
              : ((e = (Uf && e[Uf]) || e[`@@iterator`]),
                typeof e == `function` ? e : null);
          }
          function w(e) {
            if (e == null) return null;
            if (typeof e == `function`)
              return e.$$typeof === Wf ? null : e.displayName || e.name || null;
            if (typeof e == `string`) return e;
            switch (e) {
              case jf:
                return `Fragment`;
              case Nf:
                return `Profiler`;
              case Mf:
                return `StrictMode`;
              case Lf:
                return `Suspense`;
              case Rf:
                return `SuspenseList`;
              case Vf:
                return `Activity`;
            }
            if (typeof e == `object`)
              switch (
                (typeof e.tag == `number` &&
                  console.error(
                    `Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`,
                  ),
                e.$$typeof)
              ) {
                case Af:
                  return `Portal`;
                case Ff:
                  return e.displayName || `Context`;
                case Pf:
                  return (e._context.displayName || `Context`) + `.Consumer`;
                case If:
                  var t = e.render;
                  return (
                    (e = e.displayName),
                    (e ||=
                      ((e = t.displayName || t.name || ``),
                      e === `` ? `ForwardRef` : `ForwardRef(` + e + `)`)),
                    e
                  );
                case zf:
                  return (
                    (t = e.displayName || null),
                    t === null ? w(e.type) || `Memo` : t
                  );
                case Bf:
                  ((t = e._payload), (e = e._init));
                  try {
                    return w(e(t));
                  } catch {}
              }
            return null;
          }
          function ie(e) {
            return typeof e.tag == `number`
              ? T(e)
              : typeof e.name == `string`
                ? e.name
                : null;
          }
          function T(e) {
            var t = e.type;
            switch (e.tag) {
              case 31:
                return `Activity`;
              case 24:
                return `Cache`;
              case 9:
                return (t._context.displayName || `Context`) + `.Consumer`;
              case 10:
                return t.displayName || `Context`;
              case 18:
                return `DehydratedFragment`;
              case 11:
                return (
                  (e = t.render),
                  (e = e.displayName || e.name || ``),
                  t.displayName ||
                    (e === `` ? `ForwardRef` : `ForwardRef(` + e + `)`)
                );
              case 7:
                return `Fragment`;
              case 26:
              case 27:
              case 5:
                return t;
              case 4:
                return `Portal`;
              case 3:
                return `Root`;
              case 6:
                return `Text`;
              case 16:
                return w(t);
              case 8:
                return t === Mf ? `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 14:
              case 15:
                if (typeof t == `function`)
                  return t.displayName || t.name || null;
                if (typeof t == `string`) return t;
                break;
              case 29:
                if (((t = e._debugInfo), t != null)) {
                  for (var n = t.length - 1; 0 <= n; n--)
                    if (typeof t[n].name == `string`) return t[n].name;
                }
                if (e.return !== null) return T(e.return);
            }
            return null;
          }
          function ae(e) {
            return { current: e };
          }
          function oe(e, t) {
            0 > Xf
              ? console.error(`Unexpected pop.`)
              : (t !== Yf[Xf] && console.error(`Unexpected Fiber popped.`),
                (e.current = Jf[Xf]),
                (Jf[Xf] = null),
                (Yf[Xf] = null),
                Xf--);
          }
          function E(e, t, n) {
            (Xf++, (Jf[Xf] = e.current), (Yf[Xf] = n), (e.current = t));
          }
          function se(e) {
            return (
              e === null &&
                console.error(
                  `Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.`,
                ),
              e
            );
          }
          function ce(e, t) {
            (E($f, t, e), E(Qf, e, e), E(Zf, null, e));
            var n = t.nodeType;
            switch (n) {
              case 9:
              case 11:
                ((n = n === 9 ? `#document` : `#fragment`),
                  (t =
                    (t = t.documentElement) && (t = t.namespaceURI)
                      ? zu(t)
                      : WS));
                break;
              default:
                if (((n = t.tagName), (t = t.namespaceURI)))
                  ((t = zu(t)), (t = Bu(t, n)));
                else
                  switch (n) {
                    case `svg`:
                      t = GS;
                      break;
                    case `math`:
                      t = KS;
                      break;
                    default:
                      t = WS;
                  }
            }
            ((n = n.toLowerCase()),
              (n = Vt(null, n)),
              (n = { context: t, ancestorInfo: n }),
              oe(Zf, e),
              E(Zf, n, e));
          }
          function D(e) {
            (oe(Zf, e), oe(Qf, e), oe($f, e));
          }
          function O() {
            return se(Zf.current);
          }
          function le(e) {
            e.memoizedState !== null && E(ep, e, e);
            var t = se(Zf.current),
              n = e.type,
              r = Bu(t.context, n);
            ((n = Vt(t.ancestorInfo, n)),
              (r = { context: r, ancestorInfo: n }),
              t !== r && (E(Qf, e, e), E(Zf, r, e)));
          }
          function ue(e) {
            (Qf.current === e && (oe(Zf, e), oe(Qf, e)),
              ep.current === e && (oe(ep, e), (xC._currentValue = bC)));
          }
          function de() {}
          function fe() {
            if (tp === 0) {
              ((np = console.log),
                (rp = console.info),
                (ip = console.warn),
                (ap = console.error),
                (op = console.group),
                (sp = console.groupCollapsed),
                (cp = console.groupEnd));
              var e = {
                configurable: !0,
                enumerable: !0,
                value: de,
                writable: !0,
              };
              Object.defineProperties(console, {
                info: e,
                log: e,
                warn: e,
                error: e,
                group: e,
                groupCollapsed: e,
                groupEnd: e,
              });
            }
            tp++;
          }
          function pe() {
            if ((tp--, tp === 0)) {
              var e = { configurable: !0, enumerable: !0, writable: !0 };
              Object.defineProperties(console, {
                log: H({}, e, { value: np }),
                info: H({}, e, { value: rp }),
                warn: H({}, e, { value: ip }),
                error: H({}, e, { value: ap }),
                group: H({}, e, { value: op }),
                groupCollapsed: H({}, e, { value: sp }),
                groupEnd: H({}, e, { value: cp }),
              });
            }
            0 > tp &&
              console.error(
                `disabledDepth fell below zero. This is a bug in React. Please file an issue.`,
              );
          }
          function k(e) {
            var t = Error.prepareStackTrace;
            if (
              ((Error.prepareStackTrace = void 0),
              (e = e.stack),
              (Error.prepareStackTrace = t),
              e.startsWith(`Error: react-stack-top-frame
`) && (e = e.slice(29)),
              (t = e.indexOf(`
`)),
              t !== -1 && (e = e.slice(t + 1)),
              (t = e.indexOf(`react_stack_bottom_frame`)),
              t !== -1 &&
                (t = e.lastIndexOf(
                  `
`,
                  t,
                )),
              t !== -1)
            )
              e = e.slice(0, t);
            else return ``;
            return e;
          }
          function me(e) {
            if (lp === void 0)
              try {
                throw Error();
              } catch (e) {
                var t = e.stack.trim().match(/\n( *(at )?)/);
                ((lp = (t && t[1]) || ``),
                  (up =
                    -1 <
                    e.stack.indexOf(`
    at`)
                      ? ` (<anonymous>)`
                      : -1 < e.stack.indexOf(`@`)
                        ? `@unknown:0:0`
                        : ``));
              }
            return (
              `
` +
              lp +
              e +
              up
            );
          }
          function he(e, t) {
            if (!e || dp) return ``;
            var n = fp.get(e);
            if (n !== void 0) return n;
            ((dp = !0),
              (n = Error.prepareStackTrace),
              (Error.prepareStackTrace = void 0));
            var r = null;
            ((r = U.H), (U.H = null), fe());
            try {
              var i = {
                DetermineComponentFrameRoot: function () {
                  try {
                    if (t) {
                      var n = function () {
                        throw Error();
                      };
                      if (
                        (Object.defineProperty(n.prototype, "props", {
                          set: function () {
                            throw Error();
                          },
                        }),
                        typeof Reflect == `object` && Reflect.construct)
                      ) {
                        try {
                          Reflect.construct(n, []);
                        } catch (e) {
                          var r = e;
                        }
                        Reflect.construct(e, [], n);
                      } else {
                        try {
                          n.call();
                        } catch (e) {
                          r = e;
                        }
                        e.call(n.prototype);
                      }
                    } else {
                      try {
                        throw Error();
                      } catch (e) {
                        r = e;
                      }
                      (n = e()) &&
                        typeof n.catch == `function` &&
                        n.catch(function () {});
                    }
                  } catch (e) {
                    if (e && r && typeof e.stack == `string`)
                      return [e.stack, r.stack];
                  }
                  return [null, null];
                },
              };
              i.DetermineComponentFrameRoot.displayName = `DetermineComponentFrameRoot`;
              var a = Object.getOwnPropertyDescriptor(
                i.DetermineComponentFrameRoot,
                `name`,
              );
              a &&
                a.configurable &&
                Object.defineProperty(i.DetermineComponentFrameRoot, "name", {
                  value: `DetermineComponentFrameRoot`,
                });
              var o = i.DetermineComponentFrameRoot(),
                s = o[0],
                c = o[1];
              if (s && c) {
                var l = s.split(`
`),
                  u = c.split(`
`);
                for (
                  o = a = 0;
                  a < l.length && !l[a].includes(`DetermineComponentFrameRoot`);
                )
                  a++;
                for (
                  ;
                  o < u.length && !u[o].includes(`DetermineComponentFrameRoot`);
                )
                  o++;
                if (a === l.length || o === u.length)
                  for (
                    a = l.length - 1, o = u.length - 1;
                    1 <= a && 0 <= o && l[a] !== u[o];
                  )
                    o--;
                for (; 1 <= a && 0 <= o; a--, o--)
                  if (l[a] !== u[o]) {
                    if (a !== 1 || o !== 1)
                      do
                        if ((a--, o--, 0 > o || l[a] !== u[o])) {
                          var d =
                            `
` + l[a].replace(` at new `, ` at `);
                          return (
                            e.displayName &&
                              d.includes(`<anonymous>`) &&
                              (d = d.replace(`<anonymous>`, e.displayName)),
                            typeof e == `function` && fp.set(e, d),
                            d
                          );
                        }
                      while (1 <= a && 0 <= o);
                    break;
                  }
              }
            } finally {
              ((dp = !1), (U.H = r), pe(), (Error.prepareStackTrace = n));
            }
            return (
              (l = (l = e ? e.displayName || e.name : ``) ? me(l) : ``),
              typeof e == `function` && fp.set(e, l),
              l
            );
          }
          function ge(e, t) {
            switch (e.tag) {
              case 26:
              case 27:
              case 5:
                return me(e.type);
              case 16:
                return me(`Lazy`);
              case 13:
                return e.child !== t && t !== null
                  ? me(`Suspense Fallback`)
                  : me(`Suspense`);
              case 19:
                return me(`SuspenseList`);
              case 0:
              case 15:
                return he(e.type, !1);
              case 11:
                return he(e.type.render, !1);
              case 1:
                return he(e.type, !0);
              case 31:
                return me(`Activity`);
              default:
                return ``;
            }
          }
          function _e(e) {
            try {
              var t = ``,
                n = null;
              do {
                t += ge(e, n);
                var r = e._debugInfo;
                if (r)
                  for (var i = r.length - 1; 0 <= i; i--) {
                    var a = r[i];
                    if (typeof a.name == `string`) {
                      var o = t;
                      a: {
                        var s = a.name,
                          c = a.env,
                          l = a.debugLocation;
                        if (l != null) {
                          var u = k(l),
                            d = u.lastIndexOf(`
`),
                            f = d === -1 ? u : u.slice(d + 1);
                          if (f.indexOf(s) !== -1) {
                            var p =
                              `
` + f;
                            break a;
                          }
                        }
                        p = me(s + (c ? ` [` + c + `]` : ``));
                      }
                      t = o + p;
                    }
                  }
                ((n = e), (e = e.return));
              } while (e);
              return t;
            } catch (e) {
              return (
                `
Error generating stack: ` +
                e.message +
                `
` +
                e.stack
              );
            }
          }
          function ve(e) {
            return (e = e ? e.displayName || e.name : ``) ? me(e) : ``;
          }
          function ye() {
            if (pp === null) return null;
            var e = pp._debugOwner;
            return e == null ? null : ie(e);
          }
          function be() {
            if (pp === null) return ``;
            var e = pp;
            try {
              var t = ``;
              switch ((e.tag === 6 && (e = e.return), e.tag)) {
                case 26:
                case 27:
                case 5:
                  t += me(e.type);
                  break;
                case 13:
                  t += me(`Suspense`);
                  break;
                case 19:
                  t += me(`SuspenseList`);
                  break;
                case 31:
                  t += me(`Activity`);
                  break;
                case 30:
                case 0:
                case 15:
                case 1:
                  e._debugOwner || t !== `` || (t += ve(e.type));
                  break;
                case 11:
                  e._debugOwner || t !== `` || (t += ve(e.type.render));
              }
              for (; e;)
                if (typeof e.tag == `number`) {
                  var n = e;
                  e = n._debugOwner;
                  var r = n._debugStack;
                  if (e && r) {
                    var i = k(r);
                    i !== `` &&
                      (t +=
                        `
` + i);
                  }
                } else if (e.debugStack != null) {
                  var a = e.debugStack;
                  (e = e.owner) &&
                    a &&
                    (t +=
                      `
` + k(a));
                } else break;
              var o = t;
            } catch (e) {
              o =
                `
Error generating stack: ` +
                e.message +
                `
` +
                e.stack;
            }
            return o;
          }
          function A(e, t, n, r, i, a, o) {
            var s = pp;
            xe(e);
            try {
              return e !== null && e._debugTask
                ? e._debugTask.run(t.bind(null, n, r, i, a, o))
                : t(n, r, i, a, o);
            } finally {
              xe(s);
            }
            throw Error(
              `runWithFiberInDEV should never be called in production. This is a bug in React.`,
            );
          }
          function xe(e) {
            ((U.getCurrentStack = e === null ? null : be), (mp = !1), (pp = e));
          }
          function Se(e) {
            return (
              (typeof Symbol == `function` &&
                Symbol.toStringTag &&
                e[Symbol.toStringTag]) ||
              e.constructor.name ||
              `Object`
            );
          }
          function Ce(e) {
            try {
              return (we(e), !1);
            } catch {
              return !0;
            }
          }
          function we(e) {
            return `` + e;
          }
          function j(e, t) {
            if (Ce(e))
              return (
                console.error(
                  "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",
                  t,
                  Se(e),
                ),
                we(e)
              );
          }
          function Te(e, t) {
            if (Ce(e))
              return (
                console.error(
                  "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",
                  t,
                  Se(e),
                ),
                we(e)
              );
          }
          function Ee(e) {
            if (Ce(e))
              return (
                console.error(
                  `Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.`,
                  Se(e),
                ),
                we(e)
              );
          }
          function De(e) {
            if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > `u`) return !1;
            var t = __REACT_DEVTOOLS_GLOBAL_HOOK__;
            if (t.isDisabled) return !0;
            if (!t.supportsFiber)
              return (
                console.error(
                  `The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools`,
                ),
                !0
              );
            try {
              ((kp = t.inject(e)), (Ap = t));
            } catch (e) {
              console.error(
                `React instrumentation encountered an error: %o.`,
                e,
              );
            }
            return !!t.checkDCE;
          }
          function Oe(e) {
            if (
              (typeof Dp == `function` && Op(e),
              Ap && typeof Ap.setStrictMode == `function`)
            )
              try {
                Ap.setStrictMode(kp, e);
              } catch (e) {
                jp ||
                  ((jp = !0),
                  console.error(
                    `React instrumentation encountered an error: %o`,
                    e,
                  ));
              }
          }
          function ke(e) {
            return ((e >>>= 0), e === 0 ? 32 : (31 - ((Pp(e) / Fp) | 0)) | 0);
          }
          function Ae(e) {
            var t = e & 42;
            if (t !== 0) return t;
            switch (e & -e) {
              case 1:
                return 1;
              case 2:
                return 2;
              case 4:
                return 4;
              case 8:
                return 8;
              case 16:
                return 16;
              case 32:
                return 32;
              case 64:
                return 64;
              case 128:
                return 128;
              case 256:
              case 512:
              case 1024:
              case 2048:
              case 4096:
              case 8192:
              case 16384:
              case 32768:
              case 65536:
              case 131072:
                return e & 261888;
              case 262144:
              case 524288:
              case 1048576:
              case 2097152:
                return e & 3932160;
              case 4194304:
              case 8388608:
              case 16777216:
              case 33554432:
                return e & 62914560;
              case 67108864:
                return 67108864;
              case 134217728:
                return 134217728;
              case 268435456:
                return 268435456;
              case 536870912:
                return 536870912;
              case 1073741824:
                return 0;
              default:
                return (
                  console.error(
                    `Should have found matching lanes. This is a bug in React.`,
                  ),
                  e
                );
            }
          }
          function je(e, t, n) {
            var r = e.pendingLanes;
            if (r === 0) return 0;
            var i = 0,
              a = e.suspendedLanes,
              o = e.pingedLanes;
            e = e.warmLanes;
            var s = r & 134217727;
            return (
              s === 0
                ? ((s = r & ~a),
                  s === 0
                    ? o === 0
                      ? n || ((n = r & ~e), n !== 0 && (i = Ae(n)))
                      : (i = Ae(o))
                    : (i = Ae(s)))
                : ((r = s & ~a),
                  r === 0
                    ? ((o &= s),
                      o === 0
                        ? n || ((n = s & ~e), n !== 0 && (i = Ae(n)))
                        : (i = Ae(o)))
                    : (i = Ae(r))),
              i === 0
                ? 0
                : t !== 0 &&
                    t !== i &&
                    (t & a) === 0 &&
                    ((a = i & -i),
                    (n = t & -t),
                    a >= n || (a === 32 && n & 4194048))
                  ? t
                  : i
            );
          }
          function Me(e, t) {
            return (
              (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0
            );
          }
          function Ne(e, t) {
            switch (e) {
              case 1:
              case 2:
              case 4:
              case 8:
              case 64:
                return t + 250;
              case 16:
              case 32:
              case 128:
              case 256:
              case 512:
              case 1024:
              case 2048:
              case 4096:
              case 8192:
              case 16384:
              case 32768:
              case 65536:
              case 131072:
              case 262144:
              case 524288:
              case 1048576:
              case 2097152:
                return t + 5e3;
              case 4194304:
              case 8388608:
              case 16777216:
              case 33554432:
                return -1;
              case 67108864:
              case 134217728:
              case 268435456:
              case 536870912:
              case 1073741824:
                return -1;
              default:
                return (
                  console.error(
                    `Should have found matching lanes. This is a bug in React.`,
                  ),
                  -1
                );
            }
          }
          function Pe() {
            var e = Rp;
            return ((Rp <<= 1), !(Rp & 62914560) && (Rp = 4194304), e);
          }
          function Fe(e) {
            for (var t = [], n = 0; 31 > n; n++) t.push(e);
            return t;
          }
          function Ie(e, t) {
            ((e.pendingLanes |= t),
              t !== 268435456 &&
                ((e.suspendedLanes = 0),
                (e.pingedLanes = 0),
                (e.warmLanes = 0)));
          }
          function Le(e, t, n, r, i, a) {
            var o = e.pendingLanes;
            ((e.pendingLanes = n),
              (e.suspendedLanes = 0),
              (e.pingedLanes = 0),
              (e.warmLanes = 0),
              (e.expiredLanes &= n),
              (e.entangledLanes &= n),
              (e.errorRecoveryDisabledLanes &= n),
              (e.shellSuspendCounter = 0));
            var s = e.entanglements,
              c = e.expirationTimes,
              l = e.hiddenUpdates;
            for (n = o & ~n; 0 < n;) {
              var u = 31 - Np(n),
                d = 1 << u;
              ((s[u] = 0), (c[u] = -1));
              var f = l[u];
              if (f !== null)
                for (l[u] = null, u = 0; u < f.length; u++) {
                  var p = f[u];
                  p !== null && (p.lane &= -536870913);
                }
              n &= ~d;
            }
            (r !== 0 && Re(e, r, 0),
              a !== 0 &&
                i === 0 &&
                e.tag !== 0 &&
                (e.suspendedLanes |= a & ~(o & ~t)));
          }
          function Re(e, t, n) {
            ((e.pendingLanes |= t), (e.suspendedLanes &= ~t));
            var r = 31 - Np(t);
            ((e.entangledLanes |= t),
              (e.entanglements[r] =
                e.entanglements[r] | 1073741824 | (n & 261930)));
          }
          function ze(e, t) {
            var n = (e.entangledLanes |= t);
            for (e = e.entanglements; n;) {
              var r = 31 - Np(n),
                i = 1 << r;
              ((i & t) | (e[r] & t) && (e[r] |= t), (n &= ~i));
            }
          }
          function Be(e, t) {
            var n = t & -t;
            return (
              (n = n & 42 ? 1 : Ve(n)),
              (n & (e.suspendedLanes | t)) === 0 ? n : 0
            );
          }
          function Ve(e) {
            switch (e) {
              case 2:
                e = 1;
                break;
              case 8:
                e = 4;
                break;
              case 32:
                e = 16;
                break;
              case 256:
              case 512:
              case 1024:
              case 2048:
              case 4096:
              case 8192:
              case 16384:
              case 32768:
              case 65536:
              case 131072:
              case 262144:
              case 524288:
              case 1048576:
              case 2097152:
              case 4194304:
              case 8388608:
              case 16777216:
              case 33554432:
                e = 128;
                break;
              case 268435456:
                e = 134217728;
                break;
              default:
                e = 0;
            }
            return e;
          }
          function He(e, t, n) {
            if (Mp)
              for (e = e.pendingUpdatersLaneMap; 0 < n;) {
                var r = 31 - Np(n),
                  i = 1 << r;
                (e[r].add(t), (n &= ~i));
              }
          }
          function Ue(e, t) {
            if (Mp)
              for (
                var n = e.pendingUpdatersLaneMap, r = e.memoizedUpdaters;
                0 < t;
              ) {
                var i = 31 - Np(t);
                ((e = 1 << i),
                  (i = n[i]),
                  0 < i.size &&
                    (i.forEach(function (e) {
                      var t = e.alternate;
                      (t !== null && r.has(t)) || r.add(e);
                    }),
                    i.clear()),
                  (t &= ~e));
              }
          }
          function We(e) {
            return (
              (e &= -e),
              zp !== 0 && zp < e
                ? Bp !== 0 && Bp < e
                  ? e & 134217727
                    ? Vp
                    : Hp
                  : Bp
                : zp
            );
          }
          function Ge() {
            var e = Kf.p;
            return e === 0
              ? ((e = window.event), e === void 0 ? Vp : uf(e.type))
              : e;
          }
          function Ke(e, t) {
            var n = Kf.p;
            try {
              return ((Kf.p = e), t());
            } finally {
              Kf.p = n;
            }
          }
          function qe(e) {
            (delete e[Wp],
              delete e[Gp],
              delete e[qp],
              delete e[Jp],
              delete e[Yp]);
          }
          function Je(e) {
            var t = e[Wp];
            if (t) return t;
            for (var n = e.parentNode; n;) {
              if ((t = n[Kp] || n[Wp])) {
                if (
                  ((n = t.alternate),
                  t.child !== null || (n !== null && n.child !== null))
                )
                  for (e = bd(e); e !== null;) {
                    if ((n = e[Wp])) return n;
                    e = bd(e);
                  }
                return t;
              }
              ((e = n), (n = e.parentNode));
            }
            return null;
          }
          function Ye(e) {
            if ((e = e[Wp] || e[Kp])) {
              var t = e.tag;
              if (
                t === 5 ||
                t === 6 ||
                t === 13 ||
                t === 31 ||
                t === 26 ||
                t === 27 ||
                t === 3
              )
                return e;
            }
            return null;
          }
          function Xe(e) {
            var t = e.tag;
            if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
            throw Error(`getNodeFromInstance: Invalid argument.`);
          }
          function Ze(e) {
            var t = e[Xp];
            return (
              (t ||= e[Xp] =
                { hoistableStyles: new Map(), hoistableScripts: new Map() }),
              t
            );
          }
          function Qe(e) {
            e[Zp] = !0;
          }
          function $e(e, t) {
            (et(e, t), et(e + `Capture`, t));
          }
          function et(e, t) {
            ($p[e] &&
              console.error(
                "EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",
                e,
              ),
              ($p[e] = t));
            var n = e.toLowerCase();
            for (
              em[n] = e, e === `onDoubleClick` && (em.ondblclick = e), e = 0;
              e < t.length;
              e++
            )
              Qp.add(t[e]);
          }
          function tt(e, t) {
            (tm[t.type] ||
              t.onChange ||
              t.onInput ||
              t.readOnly ||
              t.disabled ||
              t.value == null ||
              console.error(
                e === `select`
                  ? "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."
                  : "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.",
              ),
              t.onChange ||
                t.readOnly ||
                t.disabled ||
                t.checked == null ||
                console.error(
                  "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.",
                ));
          }
          function nt(e) {
            return hp.call(im, e)
              ? !0
              : hp.call(rm, e)
                ? !1
                : nm.test(e)
                  ? (im[e] = !0)
                  : ((rm[e] = !0),
                    console.error("Invalid attribute name: `%s`", e),
                    !1);
          }
          function rt(e, t, n) {
            if (nt(t)) {
              if (!e.hasAttribute(t)) {
                switch (typeof n) {
                  case `symbol`:
                  case `object`:
                    return n;
                  case `function`:
                    return n;
                  case `boolean`:
                    if (!1 === n) return n;
                }
                return n === void 0 ? void 0 : null;
              }
              return (
                (e = e.getAttribute(t)),
                e === `` && !0 === n ? !0 : (j(n, t), e === `` + n ? n : e)
              );
            }
          }
          function it(e, t, n) {
            if (nt(t))
              if (n === null) e.removeAttribute(t);
              else {
                switch (typeof n) {
                  case `undefined`:
                  case `function`:
                  case `symbol`:
                    e.removeAttribute(t);
                    return;
                  case `boolean`:
                    var r = t.toLowerCase().slice(0, 5);
                    if (r !== `data-` && r !== `aria-`) {
                      e.removeAttribute(t);
                      return;
                    }
                }
                (j(n, t), e.setAttribute(t, `` + n));
              }
          }
          function at(e, t, n) {
            if (n === null) e.removeAttribute(t);
            else {
              switch (typeof n) {
                case `undefined`:
                case `function`:
                case `symbol`:
                case `boolean`:
                  e.removeAttribute(t);
                  return;
              }
              (j(n, t), e.setAttribute(t, `` + n));
            }
          }
          function ot(e, t, n, r) {
            if (r === null) e.removeAttribute(n);
            else {
              switch (typeof r) {
                case `undefined`:
                case `function`:
                case `symbol`:
                case `boolean`:
                  e.removeAttribute(n);
                  return;
              }
              (j(r, n), e.setAttributeNS(t, n, `` + r));
            }
          }
          function st(e) {
            switch (typeof e) {
              case `bigint`:
              case `boolean`:
              case `number`:
              case `string`:
              case `undefined`:
                return e;
              case `object`:
                return (Ee(e), e);
              default:
                return ``;
            }
          }
          function ct(e) {
            var t = e.type;
            return (
              (e = e.nodeName) &&
              e.toLowerCase() === `input` &&
              (t === `checkbox` || t === `radio`)
            );
          }
          function lt(e, t, n) {
            var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
            if (
              !e.hasOwnProperty(t) &&
              r !== void 0 &&
              typeof r.get == `function` &&
              typeof r.set == `function`
            ) {
              var i = r.get,
                a = r.set;
              return (
                Object.defineProperty(e, t, {
                  configurable: !0,
                  get: function () {
                    return i.call(this);
                  },
                  set: function (e) {
                    (Ee(e), (n = `` + e), a.call(this, e));
                  },
                }),
                Object.defineProperty(e, t, { enumerable: r.enumerable }),
                {
                  getValue: function () {
                    return n;
                  },
                  setValue: function (e) {
                    (Ee(e), (n = `` + e));
                  },
                  stopTracking: function () {
                    ((e._valueTracker = null), delete e[t]);
                  },
                }
              );
            }
          }
          function ut(e) {
            if (!e._valueTracker) {
              var t = ct(e) ? `checked` : `value`;
              e._valueTracker = lt(e, t, `` + e[t]);
            }
          }
          function dt(e) {
            if (!e) return !1;
            var t = e._valueTracker;
            if (!t) return !0;
            var n = t.getValue(),
              r = ``;
            return (
              e && (r = ct(e) ? (e.checked ? `true` : `false`) : e.value),
              (e = r),
              e === n ? !1 : (t.setValue(e), !0)
            );
          }
          function ft(e) {
            if (
              ((e ||= typeof document < `u` ? document : void 0), e === void 0)
            )
              return null;
            try {
              return e.activeElement || e.body;
            } catch {
              return e.body;
            }
          }
          function pt(e) {
            return e.replace(am, function (e) {
              return `\\` + e.charCodeAt(0).toString(16) + ` `;
            });
          }
          function mt(e, t) {
            (t.checked === void 0 ||
              t.defaultChecked === void 0 ||
              sm ||
              (console.error(
                `%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,
                ye() || `A component`,
                t.type,
              ),
              (sm = !0)),
              t.value === void 0 ||
                t.defaultValue === void 0 ||
                om ||
                (console.error(
                  `%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,
                  ye() || `A component`,
                  t.type,
                ),
                (om = !0)));
          }
          function ht(e, t, n, r, i, a, o, s) {
            ((e.name = ``),
              o != null &&
              typeof o != `function` &&
              typeof o != `symbol` &&
              typeof o != `boolean`
                ? (j(o, `type`), (e.type = o))
                : e.removeAttribute(`type`),
              t == null
                ? (o !== `submit` && o !== `reset`) ||
                  e.removeAttribute(`value`)
                : o === `number`
                  ? ((t === 0 && e.value === ``) || e.value != t) &&
                    (e.value = `` + st(t))
                  : e.value !== `` + st(t) && (e.value = `` + st(t)),
              t == null
                ? n == null
                  ? r != null && e.removeAttribute(`value`)
                  : _t(e, o, st(n))
                : _t(e, o, st(t)),
              i == null && a != null && (e.defaultChecked = !!a),
              i != null &&
                (e.checked =
                  i && typeof i != `function` && typeof i != `symbol`),
              s != null &&
              typeof s != `function` &&
              typeof s != `symbol` &&
              typeof s != `boolean`
                ? (j(s, `name`), (e.name = `` + st(s)))
                : e.removeAttribute(`name`));
          }
          function gt(e, t, n, r, i, a, o, s) {
            if (
              (a != null &&
                typeof a != `function` &&
                typeof a != `symbol` &&
                typeof a != `boolean` &&
                (j(a, `type`), (e.type = a)),
              t != null || n != null)
            ) {
              if (!((a !== `submit` && a !== `reset`) || t != null)) {
                ut(e);
                return;
              }
              ((n = n == null ? `` : `` + st(n)),
                (t = t == null ? n : `` + st(t)),
                s || t === e.value || (e.value = t),
                (e.defaultValue = t));
            }
            ((r ??= i),
              (r = typeof r != `function` && typeof r != `symbol` && !!r),
              (e.checked = s ? e.checked : !!r),
              (e.defaultChecked = !!r),
              o != null &&
                typeof o != `function` &&
                typeof o != `symbol` &&
                typeof o != `boolean` &&
                (j(o, `name`), (e.name = o)),
              ut(e));
          }
          function _t(e, t, n) {
            (t === `number` && ft(e.ownerDocument) === e) ||
              e.defaultValue === `` + n ||
              (e.defaultValue = `` + n);
          }
          function vt(e, t) {
            (t.value ??
              (typeof t.children == `object` && t.children !== null
                ? Ef.Children.forEach(t.children, function (e) {
                    e == null ||
                      typeof e == `string` ||
                      typeof e == `number` ||
                      typeof e == `bigint` ||
                      lm ||
                      ((lm = !0),
                      console.error(
                        "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.",
                      ));
                  })
                : t.dangerouslySetInnerHTML == null ||
                  um ||
                  ((um = !0),
                  console.error(
                    "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.",
                  ))),
              t.selected == null ||
                cm ||
                (console.error(
                  "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.",
                ),
                (cm = !0)));
          }
          function yt() {
            var e = ye();
            return e
              ? `

Check the render method of \`` +
                  e +
                  "`."
              : ``;
          }
          function bt(e, t, n, r) {
            if (((e = e.options), t)) {
              t = {};
              for (var i = 0; i < n.length; i++) t[`$` + n[i]] = !0;
              for (n = 0; n < e.length; n++)
                ((i = t.hasOwnProperty(`$` + e[n].value)),
                  e[n].selected !== i && (e[n].selected = i),
                  i && r && (e[n].defaultSelected = !0));
            } else {
              for (n = `` + st(n), t = null, i = 0; i < e.length; i++) {
                if (e[i].value === n) {
                  ((e[i].selected = !0), r && (e[i].defaultSelected = !0));
                  return;
                }
                t !== null || e[i].disabled || (t = e[i]);
              }
              t !== null && (t.selected = !0);
            }
          }
          function xt(e, t) {
            for (e = 0; e < fm.length; e++) {
              var n = fm[e];
              if (t[n] != null) {
                var r = Gf(t[n]);
                t.multiple && !r
                  ? console.error(
                      "The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",
                      n,
                      yt(),
                    )
                  : !t.multiple &&
                    r &&
                    console.error(
                      "The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",
                      n,
                      yt(),
                    );
              }
            }
            t.value === void 0 ||
              t.defaultValue === void 0 ||
              dm ||
              (console.error(
                `Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`,
              ),
              (dm = !0));
          }
          function St(e, t) {
            (t.value === void 0 ||
              t.defaultValue === void 0 ||
              pm ||
              (console.error(
                `%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`,
                ye() || `A component`,
              ),
              (pm = !0)),
              t.children != null &&
                t.value == null &&
                console.error(
                  "Use the `defaultValue` or `value` props instead of setting children on <textarea>.",
                ));
          }
          function Ct(e, t, n) {
            if (
              t != null &&
              ((t = `` + st(t)), t !== e.value && (e.value = t), n == null)
            ) {
              e.defaultValue !== t && (e.defaultValue = t);
              return;
            }
            e.defaultValue = n == null ? `` : `` + st(n);
          }
          function M(e, t, n, r) {
            if (t == null) {
              if (r != null) {
                if (n != null)
                  throw Error(
                    "If you supply `defaultValue` on a <textarea>, do not pass children.",
                  );
                if (Gf(r)) {
                  if (1 < r.length)
                    throw Error(`<textarea> can only have at most one child.`);
                  r = r[0];
                }
                n = r;
              }
              ((n ??= ``), (t = n));
            }
            ((n = st(t)),
              (e.defaultValue = n),
              (r = e.textContent),
              r === n && r !== `` && r !== null && (e.value = r),
              ut(e));
          }
          function wt(e, t) {
            return e.serverProps === void 0 &&
              e.serverTail.length === 0 &&
              e.children.length === 1 &&
              3 < e.distanceFromLeaf &&
              e.distanceFromLeaf > 15 - t
              ? wt(e.children[0], t)
              : e;
          }
          function Tt(e) {
            return `  ` + `  `.repeat(e);
          }
          function Et(e) {
            return `+ ` + `  `.repeat(e);
          }
          function Dt(e) {
            return `- ` + `  `.repeat(e);
          }
          function Ot(e) {
            switch (e.tag) {
              case 26:
              case 27:
              case 5:
                return e.type;
              case 16:
                return `Lazy`;
              case 31:
                return `Activity`;
              case 13:
                return `Suspense`;
              case 19:
                return `SuspenseList`;
              case 0:
              case 15:
                return ((e = e.type), e.displayName || e.name || null);
              case 11:
                return ((e = e.type.render), e.displayName || e.name || null);
              case 1:
                return ((e = e.type), e.displayName || e.name || null);
              default:
                return null;
            }
          }
          function kt(e, t) {
            return mm.test(e)
              ? ((e = JSON.stringify(e)),
                e.length > t - 2
                  ? 8 > t
                    ? `{"..."}`
                    : `{` + e.slice(0, t - 7) + `..."}`
                  : `{` + e + `}`)
              : e.length > t
                ? 5 > t
                  ? `{"..."}`
                  : e.slice(0, t - 3) + `...`
                : e;
          }
          function At(e, t, n) {
            var r = 120 - 2 * n;
            if (t === null)
              return (
                Et(n) +
                kt(e, r) +
                `
`
              );
            if (typeof t == `string`) {
              for (
                var i = 0;
                i < t.length &&
                i < e.length &&
                t.charCodeAt(i) === e.charCodeAt(i);
                i++
              );
              return (
                i > r - 8 &&
                  10 < i &&
                  ((e = `...` + e.slice(i - 8)), (t = `...` + t.slice(i - 8))),
                Et(n) +
                  kt(e, r) +
                  `
` +
                  Dt(n) +
                  kt(t, r) +
                  `
`
              );
            }
            return (
              Tt(n) +
              kt(e, r) +
              `
`
            );
          }
          function jt(e) {
            return Object.prototype.toString
              .call(e)
              .replace(/^\[object (.*)\]$/, function (e, t) {
                return t;
              });
          }
          function Mt(e, t) {
            switch (typeof e) {
              case `string`:
                return (
                  (e = JSON.stringify(e)),
                  e.length > t
                    ? 5 > t
                      ? `"..."`
                      : e.slice(0, t - 4) + `..."`
                    : e
                );
              case `object`:
                if (e === null) return `null`;
                if (Gf(e)) return `[...]`;
                if (e.$$typeof === kf)
                  return (t = w(e.type)) ? `<` + t + `>` : `<...>`;
                var n = jt(e);
                if (n === `Object`) {
                  for (var r in ((n = ``), (t -= 2), e))
                    if (e.hasOwnProperty(r)) {
                      var i = JSON.stringify(r);
                      if (
                        (i !== `"` + r + `"` && (r = i),
                        (t -= r.length - 2),
                        (i = Mt(e[r], 15 > t ? t : 15)),
                        (t -= i.length),
                        0 > t)
                      ) {
                        n += n === `` ? `...` : `, ...`;
                        break;
                      }
                      n += (n === `` ? `` : `,`) + r + `:` + i;
                    }
                  return `{` + n + `}`;
                }
                return n;
              case `function`:
                return (t = e.displayName || e.name)
                  ? `function ` + t
                  : `function`;
              default:
                return String(e);
            }
          }
          function Nt(e, t) {
            return typeof e != `string` || mm.test(e)
              ? `{` + Mt(e, t - 2) + `}`
              : e.length > t - 2
                ? 5 > t
                  ? `"..."`
                  : `"` + e.slice(0, t - 5) + `..."`
                : `"` + e + `"`;
          }
          function Pt(e, t, n) {
            var r = 120 - n.length - e.length,
              i = [],
              a;
            for (a in t)
              if (t.hasOwnProperty(a) && a !== `children`) {
                var o = Nt(t[a], 120 - n.length - a.length - 1);
                ((r -= a.length + o.length + 2), i.push(a + `=` + o));
              }
            return i.length === 0
              ? n +
                  `<` +
                  e +
                  `>
`
              : 0 < r
                ? n +
                  `<` +
                  e +
                  ` ` +
                  i.join(` `) +
                  `>
`
                : n +
                  `<` +
                  e +
                  `
` +
                  n +
                  `  ` +
                  i.join(
                    `
` +
                      n +
                      `  `,
                  ) +
                  `
` +
                  n +
                  `>
`;
          }
          function Ft(e, t, n) {
            var r = ``,
              i = H({}, t),
              a;
            for (a in e)
              if (e.hasOwnProperty(a)) {
                delete i[a];
                var o = 120 - 2 * n - a.length - 2,
                  s = Mt(e[a], o);
                t.hasOwnProperty(a)
                  ? ((o = Mt(t[a], o)),
                    (r +=
                      Et(n) +
                      a +
                      `: ` +
                      s +
                      `
`),
                    (r +=
                      Dt(n) +
                      a +
                      `: ` +
                      o +
                      `
`))
                  : (r +=
                      Et(n) +
                      a +
                      `: ` +
                      s +
                      `
`);
              }
            for (var c in i)
              i.hasOwnProperty(c) &&
                ((e = Mt(i[c], 120 - 2 * n - c.length - 2)),
                (r +=
                  Dt(n) +
                  c +
                  `: ` +
                  e +
                  `
`));
            return r;
          }
          function It(e, t, n, r) {
            var i = ``,
              a = new Map();
            for (l in n) n.hasOwnProperty(l) && a.set(l.toLowerCase(), l);
            if (a.size === 1 && a.has(`children`)) i += Pt(e, t, Tt(r));
            else {
              for (var o in t)
                if (t.hasOwnProperty(o) && o !== `children`) {
                  var s = 120 - 2 * (r + 1) - o.length - 1,
                    c = a.get(o.toLowerCase());
                  if (c !== void 0) {
                    a.delete(o.toLowerCase());
                    var l = t[o];
                    c = n[c];
                    var u = Nt(l, s);
                    ((s = Nt(c, s)),
                      typeof l == `object` &&
                      l &&
                      typeof c == `object` &&
                      c &&
                      jt(l) === `Object` &&
                      jt(c) === `Object` &&
                      (2 < Object.keys(l).length ||
                        2 < Object.keys(c).length ||
                        -1 < u.indexOf(`...`) ||
                        -1 < s.indexOf(`...`))
                        ? (i +=
                            Tt(r + 1) +
                            o +
                            `={{
` +
                            Ft(l, c, r + 2) +
                            Tt(r + 1) +
                            `}}
`)
                        : ((i +=
                            Et(r + 1) +
                            o +
                            `=` +
                            u +
                            `
`),
                          (i +=
                            Dt(r + 1) +
                            o +
                            `=` +
                            s +
                            `
`)));
                  } else
                    i +=
                      Tt(r + 1) +
                      o +
                      `=` +
                      Nt(t[o], s) +
                      `
`;
                }
              (a.forEach(function (e) {
                if (e !== `children`) {
                  var t = 120 - 2 * (r + 1) - e.length - 1;
                  i +=
                    Dt(r + 1) +
                    e +
                    `=` +
                    Nt(n[e], t) +
                    `
`;
                }
              }),
                (i =
                  i === ``
                    ? Tt(r) +
                      `<` +
                      e +
                      `>
`
                    : Tt(r) +
                      `<` +
                      e +
                      `
` +
                      i +
                      Tt(r) +
                      `>
`));
            }
            return (
              (e = n.children),
              (t = t.children),
              typeof e == `string` ||
              typeof e == `number` ||
              typeof e == `bigint`
                ? ((a = ``),
                  (typeof t == `string` ||
                    typeof t == `number` ||
                    typeof t == `bigint`) &&
                    (a = `` + t),
                  (i += At(a, `` + e, r + 1)))
                : (typeof t == `string` ||
                    typeof t == `number` ||
                    typeof t == `bigint`) &&
                  (i =
                    e == null
                      ? i + At(`` + t, null, r + 1)
                      : i + At(`` + t, void 0, r + 1)),
              i
            );
          }
          function Lt(e, t) {
            var n = Ot(e);
            if (n === null) {
              for (n = ``, e = e.child; e;) ((n += Lt(e, t)), (e = e.sibling));
              return n;
            }
            return (
              Tt(t) +
              `<` +
              n +
              `>
`
            );
          }
          function Rt(e, t) {
            var n = wt(e, t);
            if (n !== e && (e.children.length !== 1 || e.children[0] !== n))
              return (
                Tt(t) +
                `...
` +
                Rt(n, t + 1)
              );
            n = ``;
            var r = e.fiber._debugInfo;
            if (r)
              for (var i = 0; i < r.length; i++) {
                var a = r[i].name;
                typeof a == `string` &&
                  ((n +=
                    Tt(t) +
                    `<` +
                    a +
                    `>
`),
                  t++);
              }
            if (((r = ``), (i = e.fiber.pendingProps), e.fiber.tag === 6))
              ((r = At(i, e.serverProps, t)), t++);
            else if (((a = Ot(e.fiber)), a !== null))
              if (e.serverProps === void 0) {
                r = t;
                var o = 120 - 2 * r - a.length - 2,
                  s = ``;
                for (l in i)
                  if (i.hasOwnProperty(l) && l !== `children`) {
                    var c = Nt(i[l], 15);
                    if (((o -= l.length + c.length + 2), 0 > o)) {
                      s += ` ...`;
                      break;
                    }
                    s += ` ` + l + `=` + c;
                  }
                ((r =
                  Tt(r) +
                  `<` +
                  a +
                  s +
                  `>
`),
                  t++);
              } else
                e.serverProps === null
                  ? ((r = Pt(a, i, Et(t))), t++)
                  : typeof e.serverProps == `string`
                    ? console.error(
                        `Should not have matched a non HostText fiber to a Text node. This is a bug in React.`,
                      )
                    : ((r = It(a, i, e.serverProps, t)), t++);
            var l = ``;
            for (i = e.fiber.child, a = 0; i && a < e.children.length;)
              ((o = e.children[a]),
                o.fiber === i ? ((l += Rt(o, t)), a++) : (l += Lt(i, t)),
                (i = i.sibling));
            for (
              i &&
                0 < e.children.length &&
                (l +=
                  Tt(t) +
                  `...
`),
                i = e.serverTail,
                e.serverProps === null && t--,
                e = 0;
              e < i.length;
              e++
            )
              ((a = i[e]),
                (l =
                  typeof a == `string`
                    ? l +
                      (Dt(t) +
                        kt(a, 120 - 2 * t) +
                        `
`)
                    : l + Pt(a.type, a.props, Dt(t))));
            return n + r + l;
          }
          function zt(e) {
            try {
              return (
                `

` + Rt(e, 0)
              );
            } catch {
              return ``;
            }
          }
          function Bt(e, t, n) {
            for (var r = t, i = null, a = 0; r;)
              (r === e && (a = 0),
                (i = {
                  fiber: r,
                  children: i === null ? [] : [i],
                  serverProps: r === t ? n : r === e ? null : void 0,
                  serverTail: [],
                  distanceFromLeaf: a,
                }),
                a++,
                (r = r.return));
            return i === null ? `` : zt(i).replaceAll(/^[+-]/gm, `>`);
          }
          function Vt(e, t) {
            var n = H({}, e || ym),
              r = { tag: t };
            return (
              gm.indexOf(t) !== -1 &&
                ((n.aTagInScope = null),
                (n.buttonTagInScope = null),
                (n.nobrTagInScope = null)),
              _m.indexOf(t) !== -1 && (n.pTagInButtonScope = null),
              hm.indexOf(t) !== -1 &&
                t !== `address` &&
                t !== `div` &&
                t !== `p` &&
                ((n.listItemTagAutoclosing = null),
                (n.dlItemTagAutoclosing = null)),
              (n.current = r),
              t === `form` && (n.formTag = r),
              t === `a` && (n.aTagInScope = r),
              t === `button` && (n.buttonTagInScope = r),
              t === `nobr` && (n.nobrTagInScope = r),
              t === `p` && (n.pTagInButtonScope = r),
              t === `li` && (n.listItemTagAutoclosing = r),
              (t === `dd` || t === `dt`) && (n.dlItemTagAutoclosing = r),
              t === `#document` || t === `html`
                ? (n.containerTagInScope = null)
                : (n.containerTagInScope ||= r),
              e !== null || (t !== `#document` && t !== `html` && t !== `body`)
                ? !0 === n.implicitRootScope && (n.implicitRootScope = !1)
                : (n.implicitRootScope = !0),
              n
            );
          }
          function Ht(e, t, n) {
            switch (t) {
              case `select`:
                return (
                  e === `hr` ||
                  e === `option` ||
                  e === `optgroup` ||
                  e === `script` ||
                  e === `template` ||
                  e === `#text`
                );
              case `optgroup`:
                return e === `option` || e === `#text`;
              case `option`:
                return e === `#text`;
              case `tr`:
                return (
                  e === `th` ||
                  e === `td` ||
                  e === `style` ||
                  e === `script` ||
                  e === `template`
                );
              case `tbody`:
              case `thead`:
              case `tfoot`:
                return (
                  e === `tr` ||
                  e === `style` ||
                  e === `script` ||
                  e === `template`
                );
              case `colgroup`:
                return e === `col` || e === `template`;
              case `table`:
                return (
                  e === `caption` ||
                  e === `colgroup` ||
                  e === `tbody` ||
                  e === `tfoot` ||
                  e === `thead` ||
                  e === `style` ||
                  e === `script` ||
                  e === `template`
                );
              case `head`:
                return (
                  e === `base` ||
                  e === `basefont` ||
                  e === `bgsound` ||
                  e === `link` ||
                  e === `meta` ||
                  e === `title` ||
                  e === `noscript` ||
                  e === `noframes` ||
                  e === `style` ||
                  e === `script` ||
                  e === `template`
                );
              case `html`:
                if (n) break;
                return e === `head` || e === `body` || e === `frameset`;
              case `frameset`:
                return e === `frame`;
              case `#document`:
                if (!n) return e === `html`;
            }
            switch (e) {
              case `h1`:
              case `h2`:
              case `h3`:
              case `h4`:
              case `h5`:
              case `h6`:
                return (
                  t !== `h1` &&
                  t !== `h2` &&
                  t !== `h3` &&
                  t !== `h4` &&
                  t !== `h5` &&
                  t !== `h6`
                );
              case `rp`:
              case `rt`:
                return vm.indexOf(t) === -1;
              case `caption`:
              case `col`:
              case `colgroup`:
              case `frameset`:
              case `frame`:
              case `tbody`:
              case `td`:
              case `tfoot`:
              case `th`:
              case `thead`:
              case `tr`:
                return t == null;
              case `head`:
                return n || t === null;
              case `html`:
                return (n && t === `#document`) || t === null;
              case `body`:
                return (n && (t === `#document` || t === `html`)) || t === null;
            }
            return !0;
          }
          function Ut(e, t) {
            switch (e) {
              case `address`:
              case `article`:
              case `aside`:
              case `blockquote`:
              case `center`:
              case `details`:
              case `dialog`:
              case `dir`:
              case `div`:
              case `dl`:
              case `fieldset`:
              case `figcaption`:
              case `figure`:
              case `footer`:
              case `header`:
              case `hgroup`:
              case `main`:
              case `menu`:
              case `nav`:
              case `ol`:
              case `p`:
              case `section`:
              case `summary`:
              case `ul`:
              case `pre`:
              case `listing`:
              case `table`:
              case `hr`:
              case `xmp`:
              case `h1`:
              case `h2`:
              case `h3`:
              case `h4`:
              case `h5`:
              case `h6`:
                return t.pTagInButtonScope;
              case `form`:
                return t.formTag || t.pTagInButtonScope;
              case `li`:
                return t.listItemTagAutoclosing;
              case `dd`:
              case `dt`:
                return t.dlItemTagAutoclosing;
              case `button`:
                return t.buttonTagInScope;
              case `a`:
                return t.aTagInScope;
              case `nobr`:
                return t.nobrTagInScope;
            }
            return null;
          }
          function Wt(e, t) {
            for (; e;) {
              switch (e.tag) {
                case 5:
                case 26:
                case 27:
                  if (e.type === t) return e;
              }
              e = e.return;
            }
            return null;
          }
          function Gt(e, t) {
            t ||= ym;
            var n = t.current;
            if (
              ((t = (n = Ht(e, n && n.tag, t.implicitRootScope) ? null : n)
                ? null
                : Ut(e, t)),
              (t = n || t),
              !t)
            )
              return !0;
            var r = t.tag;
            if (((t = String(!!n) + `|` + e + `|` + r), bm[t])) return !1;
            bm[t] = !0;
            var i = (t = pp) ? Wt(t.return, r) : null,
              a = t !== null && i !== null ? Bt(i, t, null) : ``,
              o = `<` + e + `>`;
            return (
              n
                ? ((n = ``),
                  r === `table` &&
                    e === `tr` &&
                    (n += ` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),
                  console.error(
                    `In HTML, %s cannot be a child of <%s>.%s
This will cause a hydration error.%s`,
                    o,
                    r,
                    n,
                    a,
                  ))
                : console.error(
                    `In HTML, %s cannot be a descendant of <%s>.
This will cause a hydration error.%s`,
                    o,
                    r,
                    a,
                  ),
              t &&
                ((e = t.return),
                i === null ||
                  e === null ||
                  (i === e && e._debugOwner === t._debugOwner) ||
                  A(i, function () {
                    console.error(
                      `<%s> cannot contain a nested %s.
See this log for the ancestor stack trace.`,
                      r,
                      o,
                    );
                  })),
              !1
            );
          }
          function Kt(e, t, n) {
            if (n || Ht(`#text`, t, !1)) return !0;
            if (((n = `#text|` + t), bm[n])) return !1;
            bm[n] = !0;
            var r = (n = pp) ? Wt(n, t) : null;
            return (
              (n =
                n !== null && r !== null
                  ? Bt(r, n, n.tag === 6 ? null : { children: null })
                  : ``),
              /\S/.test(e)
                ? console.error(
                    `In HTML, text nodes cannot be a child of <%s>.
This will cause a hydration error.%s`,
                    t,
                    n,
                  )
                : console.error(
                    `In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
This will cause a hydration error.%s`,
                    t,
                    n,
                  ),
              !1
            );
          }
          function qt(e, t) {
            if (t) {
              var n = e.firstChild;
              if (n && n === e.lastChild && n.nodeType === 3) {
                n.nodeValue = t;
                return;
              }
            }
            e.textContent = t;
          }
          function Jt(e) {
            return e.replace(Em, function (e, t) {
              return t.toUpperCase();
            });
          }
          function Yt(e, t, n) {
            var r = t.indexOf(`--`) === 0;
            (r ||
              (-1 < t.indexOf(`-`)
                ? (Om.hasOwnProperty(t) && Om[t]) ||
                  ((Om[t] = !0),
                  console.error(
                    `Unsupported style property %s. Did you mean %s?`,
                    t,
                    Jt(t.replace(Tm, `ms-`)),
                  ))
                : wm.test(t)
                  ? (Om.hasOwnProperty(t) && Om[t]) ||
                    ((Om[t] = !0),
                    console.error(
                      `Unsupported vendor-prefixed style property %s. Did you mean %s?`,
                      t,
                      t.charAt(0).toUpperCase() + t.slice(1),
                    ))
                  : !Dm.test(n) ||
                    (km.hasOwnProperty(n) && km[n]) ||
                    ((km[n] = !0),
                    console.error(
                      `Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,
                      t,
                      n.replace(Dm, ``),
                    )),
              typeof n == `number` &&
                (isNaN(n)
                  ? Am ||
                    ((Am = !0),
                    console.error(
                      "`NaN` is an invalid value for the `%s` css style property.",
                      t,
                    ))
                  : isFinite(n) ||
                    jm ||
                    ((jm = !0),
                    console.error(
                      "`Infinity` is an invalid value for the `%s` css style property.",
                      t,
                    )))),
              n == null || typeof n == `boolean` || n === ``
                ? r
                  ? e.setProperty(t, ``)
                  : t === `float`
                    ? (e.cssFloat = ``)
                    : (e[t] = ``)
                : r
                  ? e.setProperty(t, n)
                  : typeof n != `number` || n === 0 || Mm.has(t)
                    ? t === `float`
                      ? (e.cssFloat = n)
                      : (Te(n, t), (e[t] = (`` + n).trim()))
                    : (e[t] = n + `px`));
          }
          function Xt(e, t, n) {
            if (t != null && typeof t != `object`)
              throw Error(
                "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.",
              );
            if ((t && Object.freeze(t), (e = e.style), n != null)) {
              if (t) {
                var r = {};
                if (n) {
                  for (var i in n)
                    if (n.hasOwnProperty(i) && !t.hasOwnProperty(i))
                      for (var a = xm[i] || [i], o = 0; o < a.length; o++)
                        r[a[o]] = i;
                }
                for (var s in t)
                  if (t.hasOwnProperty(s) && (!n || n[s] !== t[s]))
                    for (i = xm[s] || [s], a = 0; a < i.length; a++)
                      r[i[a]] = s;
                for (var c in ((s = {}), t))
                  for (i = xm[c] || [c], a = 0; a < i.length; a++) s[i[a]] = c;
                for (var l in ((c = {}), r))
                  if (
                    ((i = r[l]),
                    (a = s[l]) && i !== a && ((o = i + `,` + a), !c[o]))
                  ) {
                    ((c[o] = !0), (o = console));
                    var u = t[i];
                    o.error.call(
                      o,
                      `%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.`,
                      u == null || typeof u == `boolean` || u === ``
                        ? `Removing`
                        : `Updating`,
                      i,
                      a,
                    );
                  }
              }
              for (var d in n)
                !n.hasOwnProperty(d) ||
                  (t != null && t.hasOwnProperty(d)) ||
                  (d.indexOf(`--`) === 0
                    ? e.setProperty(d, ``)
                    : d === `float`
                      ? (e.cssFloat = ``)
                      : (e[d] = ``));
              for (var f in t)
                ((l = t[f]), t.hasOwnProperty(f) && n[f] !== l && Yt(e, f, l));
            } else for (r in t) t.hasOwnProperty(r) && Yt(e, r, t[r]);
          }
          function Zt(e) {
            if (e.indexOf(`-`) === -1) return !1;
            switch (e) {
              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;
            }
          }
          function Qt(e) {
            return Fm.get(e) || e;
          }
          function $t(e, t) {
            if (hp.call(Rm, t) && Rm[t]) return !0;
            if (Bm.test(t)) {
              if (
                ((e = `aria-` + t.slice(4).toLowerCase()),
                (e = Lm.hasOwnProperty(e) ? e : null),
                e == null)
              )
                return (
                  console.error(
                    "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",
                    t,
                  ),
                  (Rm[t] = !0)
                );
              if (t !== e)
                return (
                  console.error(
                    "Invalid ARIA attribute `%s`. Did you mean `%s`?",
                    t,
                    e,
                  ),
                  (Rm[t] = !0)
                );
            }
            if (zm.test(t)) {
              if (
                ((e = t.toLowerCase()),
                (e = Lm.hasOwnProperty(e) ? e : null),
                e == null)
              )
                return ((Rm[t] = !0), !1);
              t !== e &&
                (console.error(
                  "Unknown ARIA attribute `%s`. Did you mean `%s`?",
                  t,
                  e,
                ),
                (Rm[t] = !0));
            }
            return !0;
          }
          function en(e, t) {
            var n = [],
              r;
            for (r in t) $t(e, r) || n.push(r);
            ((t = n
              .map(function (e) {
                return "`" + e + "`";
              })
              .join(`, `)),
              n.length === 1
                ? console.error(
                    `Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,
                    t,
                    e,
                  )
                : 1 < n.length &&
                  console.error(
                    `Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,
                    t,
                    e,
                  ));
          }
          function tn(e, t, n, r) {
            if (hp.call(Hm, t) && Hm[t]) return !0;
            var i = t.toLowerCase();
            if (i === `onfocusin` || i === `onfocusout`)
              return (
                console.error(
                  `React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`,
                ),
                (Hm[t] = !0)
              );
            if (
              typeof n == `function` &&
              ((e === `form` && t === `action`) ||
                (e === `input` && t === `formAction`) ||
                (e === `button` && t === `formAction`))
            )
              return !0;
            if (r != null) {
              if (
                ((e = r.possibleRegistrationNames),
                r.registrationNameDependencies.hasOwnProperty(t))
              )
                return !0;
              if (((r = e.hasOwnProperty(i) ? e[i] : null), r != null))
                return (
                  console.error(
                    "Invalid event handler property `%s`. Did you mean `%s`?",
                    t,
                    r,
                  ),
                  (Hm[t] = !0)
                );
              if (Um.test(t))
                return (
                  console.error(
                    "Unknown event handler property `%s`. It will be ignored.",
                    t,
                  ),
                  (Hm[t] = !0)
                );
            } else if (Um.test(t))
              return (
                Wm.test(t) &&
                  console.error(
                    "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",
                    t,
                  ),
                (Hm[t] = !0)
              );
            if (Gm.test(t) || Km.test(t)) return !0;
            if (i === `innerhtml`)
              return (
                console.error(
                  "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.",
                ),
                (Hm[t] = !0)
              );
            if (i === `aria`)
              return (
                console.error(
                  "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.",
                ),
                (Hm[t] = !0)
              );
            if (i === `is` && n != null && typeof n != `string`)
              return (
                console.error(
                  "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",
                  typeof n,
                ),
                (Hm[t] = !0)
              );
            if (typeof n == `number` && isNaN(n))
              return (
                console.error(
                  "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",
                  t,
                ),
                (Hm[t] = !0)
              );
            if (Im.hasOwnProperty(i)) {
              if (((i = Im[i]), i !== t))
                return (
                  console.error(
                    "Invalid DOM property `%s`. Did you mean `%s`?",
                    t,
                    i,
                  ),
                  (Hm[t] = !0)
                );
            } else if (t !== i)
              return (
                console.error(
                  "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",
                  t,
                  i,
                ),
                (Hm[t] = !0)
              );
            switch (t) {
              case `dangerouslySetInnerHTML`:
              case `children`:
              case `style`:
              case `suppressContentEditableWarning`:
              case `suppressHydrationWarning`:
              case `defaultValue`:
              case `defaultChecked`:
              case `innerHTML`:
              case `ref`:
                return !0;
              case `innerText`:
              case `textContent`:
                return !0;
            }
            switch (typeof n) {
              case `boolean`:
                switch (t) {
                  case `autoFocus`:
                  case `checked`:
                  case `multiple`:
                  case `muted`:
                  case `selected`:
                  case `contentEditable`:
                  case `spellCheck`:
                  case `draggable`:
                  case `value`:
                  case `autoReverse`:
                  case `externalResourcesRequired`:
                  case `focusable`:
                  case `preserveAlpha`:
                  case `allowFullScreen`:
                  case `async`:
                  case `autoPlay`:
                  case `controls`:
                  case `default`:
                  case `defer`:
                  case `disabled`:
                  case `disablePictureInPicture`:
                  case `disableRemotePlayback`:
                  case `formNoValidate`:
                  case `hidden`:
                  case `loop`:
                  case `noModule`:
                  case `noValidate`:
                  case `open`:
                  case `playsInline`:
                  case `readOnly`:
                  case `required`:
                  case `reversed`:
                  case `scoped`:
                  case `seamless`:
                  case `itemScope`:
                  case `capture`:
                  case `download`:
                  case `inert`:
                    return !0;
                  default:
                    return (
                      (i = t.toLowerCase().slice(0, 5)),
                      i === `data-` || i === `aria-`
                        ? !0
                        : (n
                            ? console.error(
                                'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',
                                n,
                                t,
                                t,
                                n,
                                t,
                              )
                            : console.error(
                                `Received \`%s\` for a non-boolean attribute \`%s\`.

If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.

If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,
                                n,
                                t,
                                t,
                                n,
                                t,
                                t,
                                t,
                              ),
                          (Hm[t] = !0))
                    );
                }
              case `function`:
              case `symbol`:
                return ((Hm[t] = !0), !1);
              case `string`:
                if (n === `false` || n === `true`) {
                  switch (t) {
                    case `checked`:
                    case `selected`:
                    case `multiple`:
                    case `muted`:
                    case `allowFullScreen`:
                    case `async`:
                    case `autoPlay`:
                    case `controls`:
                    case `default`:
                    case `defer`:
                    case `disabled`:
                    case `disablePictureInPicture`:
                    case `disableRemotePlayback`:
                    case `formNoValidate`:
                    case `hidden`:
                    case `loop`:
                    case `noModule`:
                    case `noValidate`:
                    case `open`:
                    case `playsInline`:
                    case `readOnly`:
                    case `required`:
                    case `reversed`:
                    case `scoped`:
                    case `seamless`:
                    case `itemScope`:
                    case `inert`:
                      break;
                    default:
                      return !0;
                  }
                  (console.error(
                    "Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",
                    n,
                    t,
                    n === `false`
                      ? `The browser will interpret it as a truthy value.`
                      : `Although this works, it will not work as expected if you pass the string "false".`,
                    t,
                    n,
                  ),
                    (Hm[t] = !0));
                }
            }
            return !0;
          }
          function nn(e, t, n) {
            var r = [],
              i;
            for (i in t) tn(e, i, t[i], n) || r.push(i);
            ((t = r
              .map(function (e) {
                return "`" + e + "`";
              })
              .join(`, `)),
              r.length === 1
                ? console.error(
                    `Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,
                    t,
                    e,
                  )
                : 1 < r.length &&
                  console.error(
                    `Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,
                    t,
                    e,
                  ));
          }
          function rn(e) {
            return qm.test(`` + e)
              ? `javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`
              : e;
          }
          function an() {}
          function on(e) {
            return (
              (e = e.target || e.srcElement || window),
              e.correspondingUseElement && (e = e.correspondingUseElement),
              e.nodeType === 3 ? e.parentNode : e
            );
          }
          function sn(e) {
            var t = Ye(e);
            if (t && (e = t.stateNode)) {
              var n = e[Gp] || null;
              a: switch (((e = t.stateNode), t.type)) {
                case `input`:
                  if (
                    (ht(
                      e,
                      n.value,
                      n.defaultValue,
                      n.defaultValue,
                      n.checked,
                      n.defaultChecked,
                      n.type,
                      n.name,
                    ),
                    (t = n.name),
                    n.type === `radio` && t != null)
                  ) {
                    for (n = e; n.parentNode;) n = n.parentNode;
                    for (
                      j(t, `name`),
                        n = n.querySelectorAll(
                          `input[name="` + pt(`` + t) + `"][type="radio"]`,
                        ),
                        t = 0;
                      t < n.length;
                      t++
                    ) {
                      var r = n[t];
                      if (r !== e && r.form === e.form) {
                        var i = r[Gp] || null;
                        if (!i)
                          throw Error(
                            "ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.",
                          );
                        ht(
                          r,
                          i.value,
                          i.defaultValue,
                          i.defaultValue,
                          i.checked,
                          i.defaultChecked,
                          i.type,
                          i.name,
                        );
                      }
                    }
                    for (t = 0; t < n.length; t++)
                      ((r = n[t]), r.form === e.form && dt(r));
                  }
                  break a;
                case `textarea`:
                  Ct(e, n.value, n.defaultValue);
                  break a;
                case `select`:
                  ((t = n.value), t != null && bt(e, !!n.multiple, t, !1));
              }
            }
          }
          function cn(e, t, n) {
            if (Zm) return e(t, n);
            Zm = !0;
            try {
              return e(t);
            } finally {
              if (
                ((Zm = !1),
                (Ym !== null || Xm !== null) &&
                  (ol(),
                  Ym && ((t = Ym), (e = Xm), (Xm = Ym = null), sn(t), e)))
              )
                for (t = 0; t < e.length; t++) sn(e[t]);
            }
          }
          function ln(e, t) {
            var n = e.stateNode;
            if (n === null) return null;
            var r = n[Gp] || null;
            if (r === null) return null;
            n = r[t];
            a: switch (t) {
              case `onClick`:
              case `onClickCapture`:
              case `onDoubleClick`:
              case `onDoubleClickCapture`:
              case `onMouseDown`:
              case `onMouseDownCapture`:
              case `onMouseMove`:
              case `onMouseMoveCapture`:
              case `onMouseUp`:
              case `onMouseUpCapture`:
              case `onMouseEnter`:
                ((r = !r.disabled) ||
                  ((e = e.type),
                  (r = !(
                    e === `button` ||
                    e === `input` ||
                    e === `select` ||
                    e === `textarea`
                  ))),
                  (e = !r));
                break a;
              default:
                e = !1;
            }
            if (e) return null;
            if (n && typeof n != `function`)
              throw Error(
                "Expected `" +
                  t +
                  "` listener to be a function, instead got a value of `" +
                  typeof n +
                  "` type.",
              );
            return n;
          }
          function un() {
            if (rh) return rh;
            var e,
              t = nh,
              n = t.length,
              r,
              i = `value` in th ? th.value : th.textContent,
              a = i.length;
            for (e = 0; e < n && t[e] === i[e]; e++);
            var o = n - e;
            for (r = 1; r <= o && t[n - r] === i[a - r]; r++);
            return (rh = i.slice(e, 1 < r ? 1 - r : void 0));
          }
          function dn(e) {
            var t = e.keyCode;
            return (
              `charCode` in e
                ? ((e = e.charCode), e === 0 && t === 13 && (e = 13))
                : (e = t),
              e === 10 && (e = 13),
              32 <= e || e === 13 ? e : 0
            );
          }
          function fn() {
            return !0;
          }
          function pn() {
            return !1;
          }
          function mn(e) {
            function t(t, n, r, i, a) {
              for (var o in ((this._reactName = t),
              (this._targetInst = r),
              (this.type = n),
              (this.nativeEvent = i),
              (this.target = a),
              (this.currentTarget = null),
              e))
                e.hasOwnProperty(o) &&
                  ((t = e[o]), (this[o] = t ? t(i) : i[o]));
              return (
                (this.isDefaultPrevented = (
                  i.defaultPrevented == null
                    ? !1 === i.returnValue
                    : i.defaultPrevented
                )
                  ? fn
                  : pn),
                (this.isPropagationStopped = pn),
                this
              );
            }
            return (
              H(t.prototype, {
                preventDefault: function () {
                  this.defaultPrevented = !0;
                  var e = this.nativeEvent;
                  e &&
                    (e.preventDefault
                      ? e.preventDefault()
                      : typeof e.returnValue != `unknown` &&
                        (e.returnValue = !1),
                    (this.isDefaultPrevented = fn));
                },
                stopPropagation: function () {
                  var e = this.nativeEvent;
                  e &&
                    (e.stopPropagation
                      ? e.stopPropagation()
                      : typeof e.cancelBubble != `unknown` &&
                        (e.cancelBubble = !0),
                    (this.isPropagationStopped = fn));
                },
                persist: function () {},
                isPersistent: fn,
              }),
              t
            );
          }
          function hn(e) {
            var t = this.nativeEvent;
            return t.getModifierState
              ? t.getModifierState(e)
              : (e = xh[e])
                ? !!t[e]
                : !1;
          }
          function gn() {
            return hn;
          }
          function _n(e, t) {
            switch (e) {
              case `keyup`:
                return Oh.indexOf(t.keyCode) !== -1;
              case `keydown`:
                return t.keyCode !== kh;
              case `keypress`:
              case `mousedown`:
              case `focusout`:
                return !0;
              default:
                return !1;
            }
          }
          function vn(e) {
            return (
              (e = e.detail),
              typeof e == `object` && `data` in e ? e.data : null
            );
          }
          function yn(e, t) {
            switch (e) {
              case `compositionend`:
                return vn(t);
              case `keypress`:
                return t.which === Ph ? ((Ih = !0), Fh) : null;
              case `textInput`:
                return ((e = t.data), e === Fh && Ih ? null : e);
              default:
                return null;
            }
          }
          function bn(e, t) {
            if (Lh)
              return e === `compositionend` || (!Ah && _n(e, t))
                ? ((e = un()), (rh = nh = th = null), (Lh = !1), e)
                : null;
            switch (e) {
              case `paste`:
                return null;
              case `keypress`:
                if (
                  !(t.ctrlKey || t.altKey || t.metaKey) ||
                  (t.ctrlKey && t.altKey)
                ) {
                  if (t.char && 1 < t.char.length) return t.char;
                  if (t.which) return String.fromCharCode(t.which);
                }
                return null;
              case `compositionend`:
                return Nh && t.locale !== `ko` ? null : t.data;
              default:
                return null;
            }
          }
          function xn(e) {
            var t = e && e.nodeName && e.nodeName.toLowerCase();
            return t === `input` ? !!Rh[e.type] : t === `textarea`;
          }
          function Sn(e) {
            if (!Qm) return !1;
            e = `on` + e;
            var t = e in document;
            return (
              (t ||=
                ((t = document.createElement(`div`)),
                t.setAttribute(e, `return;`),
                typeof t[e] == `function`)),
              t
            );
          }
          function Cn(e, t, n, r) {
            (Ym ? (Xm ? Xm.push(r) : (Xm = [r])) : (Ym = r),
              (t = fu(t, `onChange`)),
              0 < t.length &&
                ((n = new ah(`onChange`, `change`, null, n, r)),
                e.push({ event: n, listeners: t })));
          }
          function wn(e) {
            ou(e, 0);
          }
          function Tn(e) {
            if (dt(Xe(e))) return e;
          }
          function En(e, t) {
            if (e === `change`) return t;
          }
          function Dn() {
            zh && (zh.detachEvent(`onpropertychange`, On), (Bh = zh = null));
          }
          function On(e) {
            if (e.propertyName === `value` && Tn(Bh)) {
              var t = [];
              (Cn(t, Bh, e, on(e)), cn(wn, t));
            }
          }
          function kn(e, t, n) {
            e === `focusin`
              ? (Dn(),
                (zh = t),
                (Bh = n),
                zh.attachEvent(`onpropertychange`, On))
              : e === `focusout` && Dn();
          }
          function An(e) {
            if (e === `selectionchange` || e === `keyup` || e === `keydown`)
              return Tn(Bh);
          }
          function jn(e, t) {
            if (e === `click`) return Tn(t);
          }
          function Mn(e, t) {
            if (e === `input` || e === `change`) return Tn(t);
          }
          function Nn(e, t) {
            return (
              (e === t && (e !== 0 || 1 / e == 1 / t)) || (e !== e && t !== t)
            );
          }
          function Pn(e, t) {
            if (Hh(e, t)) return !0;
            if (typeof e != `object` || !e || typeof t != `object` || !t)
              return !1;
            var n = Object.keys(e),
              r = Object.keys(t);
            if (n.length !== r.length) return !1;
            for (r = 0; r < n.length; r++) {
              var i = n[r];
              if (!hp.call(t, i) || !Hh(e[i], t[i])) return !1;
            }
            return !0;
          }
          function Fn(e) {
            for (; e && e.firstChild;) e = e.firstChild;
            return e;
          }
          function In(e, t) {
            var n = Fn(e);
            e = 0;
            for (var r; n;) {
              if (n.nodeType === 3) {
                if (((r = e + n.textContent.length), e <= t && r >= t))
                  return { node: n, offset: t - e };
                e = r;
              }
              a: {
                for (; n;) {
                  if (n.nextSibling) {
                    n = n.nextSibling;
                    break a;
                  }
                  n = n.parentNode;
                }
                n = void 0;
              }
              n = Fn(n);
            }
          }
          function Ln(e, t) {
            return e && t
              ? e === t
                ? !0
                : e && e.nodeType === 3
                  ? !1
                  : t && t.nodeType === 3
                    ? Ln(e, t.parentNode)
                    : `contains` in e
                      ? e.contains(t)
                      : e.compareDocumentPosition
                        ? !!(e.compareDocumentPosition(t) & 16)
                        : !1
              : !1;
          }
          function Rn(e) {
            e =
              e != null &&
              e.ownerDocument != null &&
              e.ownerDocument.defaultView != null
                ? e.ownerDocument.defaultView
                : window;
            for (var t = ft(e.document); t instanceof e.HTMLIFrameElement;) {
              try {
                var n = typeof t.contentWindow.location.href == `string`;
              } catch {
                n = !1;
              }
              if (n) e = t.contentWindow;
              else break;
              t = ft(e.document);
            }
            return t;
          }
          function zn(e) {
            var t = e && e.nodeName && e.nodeName.toLowerCase();
            return (
              t &&
              ((t === `input` &&
                (e.type === `text` ||
                  e.type === `search` ||
                  e.type === `tel` ||
                  e.type === `url` ||
                  e.type === `password`)) ||
                t === `textarea` ||
                e.contentEditable === `true`)
            );
          }
          function Bn(e, t, n) {
            var r =
              n.window === n
                ? n.document
                : n.nodeType === 9
                  ? n
                  : n.ownerDocument;
            qh ||
              Wh == null ||
              Wh !== ft(r) ||
              ((r = Wh),
              `selectionStart` in r && zn(r)
                ? (r = { start: r.selectionStart, end: r.selectionEnd })
                : ((r = (
                    (r.ownerDocument && r.ownerDocument.defaultView) ||
                    window
                  ).getSelection()),
                  (r = {
                    anchorNode: r.anchorNode,
                    anchorOffset: r.anchorOffset,
                    focusNode: r.focusNode,
                    focusOffset: r.focusOffset,
                  })),
              (Kh && Pn(Kh, r)) ||
                ((Kh = r),
                (r = fu(Gh, `onSelect`)),
                0 < r.length &&
                  ((t = new ah(`onSelect`, `select`, null, t, n)),
                  e.push({ event: t, listeners: r }),
                  (t.target = Wh))));
          }
          function Vn(e, t) {
            var n = {};
            return (
              (n[e.toLowerCase()] = t.toLowerCase()),
              (n[`Webkit` + e] = `webkit` + t),
              (n[`Moz` + e] = `moz` + t),
              n
            );
          }
          function Hn(e) {
            if (Yh[e]) return Yh[e];
            if (!Jh[e]) return e;
            var t = Jh[e],
              n;
            for (n in t)
              if (t.hasOwnProperty(n) && n in Xh) return (Yh[e] = t[n]);
            return e;
          }
          function Un(e, t) {
            (ig.set(e, t), $e(t, [e]));
          }
          function Wn(e) {
            for (var t = fg, n = 0; n < e.length; n++) {
              var r = e[n];
              if (typeof r == `object` && r)
                if (Gf(r) && r.length === 2 && typeof r[0] == `string`) {
                  if (t !== fg && t !== hg) return pg;
                  t = hg;
                } else return pg;
              else {
                if (
                  typeof r == `function` ||
                  (typeof r == `string` && 50 < r.length) ||
                  (t !== fg && t !== mg)
                )
                  return pg;
                t = mg;
              }
            }
            return t;
          }
          function Gn(e, t, n, r) {
            for (var i in e)
              hp.call(e, i) && i[0] !== `_` && Kn(i, e[i], t, n, r);
          }
          function Kn(e, t, n, r, i) {
            switch (typeof t) {
              case `object`:
                if (t === null) {
                  t = `null`;
                  break;
                } else {
                  if (t.$$typeof === kf) {
                    var a = w(t.type) || `…`,
                      o = t.key;
                    t = t.props;
                    var s = Object.keys(t),
                      c = s.length;
                    if (o == null && c === 0) {
                      t = `<` + a + ` />`;
                      break;
                    }
                    if (
                      3 > r ||
                      (c === 1 && s[0] === `children` && o == null)
                    ) {
                      t = `<` + a + ` … />`;
                      break;
                    }
                    for (var l in (n.push([
                      i + `\xA0\xA0`.repeat(r) + e,
                      `<` + a,
                    ]),
                    o !== null && Kn(`key`, o, n, r + 1, i),
                    (e = !1),
                    t))
                      l === `children`
                        ? t.children != null &&
                          (!Gf(t.children) || 0 < t.children.length) &&
                          (e = !0)
                        : hp.call(t, l) &&
                          l[0] !== `_` &&
                          Kn(l, t[l], n, r + 1, i);
                    n.push([``, e ? `>…</` + a + `>` : `/>`]);
                    return;
                  }
                  if (
                    ((a = Object.prototype.toString.call(t)),
                    (a = a.slice(8, a.length - 1)),
                    a === `Array`)
                  ) {
                    if (((l = Wn(t)), l === mg || l === fg)) {
                      t = JSON.stringify(t);
                      break;
                    } else if (l === hg) {
                      for (
                        n.push([i + `\xA0\xA0`.repeat(r) + e, ``]), e = 0;
                        e < t.length;
                        e++
                      )
                        ((a = t[e]), Kn(a[0], a[1], n, r + 1, i));
                      return;
                    }
                  }
                  if (a === `Promise`) {
                    if (t.status === `fulfilled`) {
                      if (
                        ((a = n.length), Kn(e, t.value, n, r, i), n.length > a)
                      ) {
                        ((n = n[a]),
                          (n[1] = `Promise<` + (n[1] || `Object`) + `>`));
                        return;
                      }
                    } else if (
                      t.status === `rejected` &&
                      ((a = n.length), Kn(e, t.reason, n, r, i), n.length > a)
                    ) {
                      ((n = n[a]), (n[1] = `Rejected Promise<` + n[1] + `>`));
                      return;
                    }
                    n.push([`\xA0\xA0`.repeat(r) + e, `Promise`]);
                    return;
                  }
                  (a === `Object` &&
                    (l = Object.getPrototypeOf(t)) &&
                    typeof l.constructor == `function` &&
                    (a = l.constructor.name),
                    n.push([
                      i + `\xA0\xA0`.repeat(r) + e,
                      a === `Object` ? (3 > r ? `` : `…`) : a,
                    ]),
                    3 > r && Gn(t, n, r + 1, i));
                  return;
                }
              case `function`:
                t = t.name === `` ? `() => {}` : t.name + `() {}`;
                break;
              case `string`:
                t = t === dg ? `…` : JSON.stringify(t);
                break;
              case `undefined`:
                t = `undefined`;
                break;
              case `boolean`:
                t = t ? `true` : `false`;
                break;
              default:
                t = String(t);
            }
            n.push([i + `\xA0\xA0`.repeat(r) + e, t]);
          }
          function qn(e, t, n, r) {
            var i = !0;
            for (o in e)
              o in t ||
                (n.push([gg + `\xA0\xA0`.repeat(r) + o, `…`]), (i = !1));
            for (var a in t)
              if (a in e) {
                var o = e[a],
                  s = t[a];
                if (o !== s) {
                  if (r === 0 && a === `children`)
                    ((i = `\xA0\xA0`.repeat(r) + a),
                      n.push([gg + i, `…`], [_g + i, `…`]));
                  else {
                    if (!(3 <= r)) {
                      if (
                        typeof o == `object` &&
                        typeof s == `object` &&
                        o !== null &&
                        s !== null &&
                        o.$$typeof === s.$$typeof
                      )
                        if (s.$$typeof === kf) {
                          if (o.type === s.type && o.key === s.key) {
                            ((o = w(s.type) || `…`),
                              (i = `\xA0\xA0`.repeat(r) + a),
                              (o = `<` + o + ` … />`),
                              n.push([gg + i, o], [_g + i, o]),
                              (i = !1));
                            continue;
                          }
                        } else {
                          var c = Object.prototype.toString.call(o),
                            l = Object.prototype.toString.call(s);
                          if (
                            c === l &&
                            (l === `[object Object]` || l === `[object Array]`)
                          ) {
                            ((c = [
                              vg + `\xA0\xA0`.repeat(r) + a,
                              l === `[object Array]` ? `Array` : ``,
                            ]),
                              n.push(c),
                              (l = n.length),
                              qn(o, s, n, r + 1)
                                ? l === n.length &&
                                  (c[1] = `Referentially unequal but deeply equal objects. Consider memoization.`)
                                : (i = !1));
                            continue;
                          }
                        }
                      else if (
                        typeof o == `function` &&
                        typeof s == `function` &&
                        o.name === s.name &&
                        o.length === s.length &&
                        ((c = Function.prototype.toString.call(o)),
                        (l = Function.prototype.toString.call(s)),
                        c === l)
                      ) {
                        ((o = s.name === `` ? `() => {}` : s.name + `() {}`),
                          n.push([
                            vg + `\xA0\xA0`.repeat(r) + a,
                            o +
                              ` Referentially unequal function closure. Consider memoization.`,
                          ]));
                        continue;
                      }
                    }
                    (Kn(a, o, n, r, gg), Kn(a, s, n, r, _g));
                  }
                  i = !1;
                }
              } else (n.push([_g + `\xA0\xA0`.repeat(r) + a, `…`]), (i = !1));
            return i;
          }
          function Jn(e) {
            xg =
              e & 63
                ? `Blocking`
                : e & 64
                  ? `Gesture`
                  : e & 4194176
                    ? `Transition`
                    : e & 62914560
                      ? `Suspense`
                      : e & 2080374784
                        ? `Idle`
                        : `Other`;
          }
          function Yn(e, t, n, r) {
            yg &&
              ((wg.start = t),
              (wg.end = n),
              (Cg.color = `warning`),
              (Cg.tooltipText = r),
              (Cg.properties = null),
              (e = e._debugTask)
                ? e.run(performance.measure.bind(performance, r, wg))
                : performance.measure(r, wg));
          }
          function Xn(e, t, n) {
            Yn(e, t, n, `Reconnect`);
          }
          function Zn(e, t, n, r, i) {
            var a = T(e);
            if (a !== null && yg) {
              var o = e.alternate,
                s = e.actualDuration;
              if (o === null || o.child !== e.child)
                for (var c = e.child; c !== null; c = c.sibling)
                  s -= c.actualDuration;
              r =
                0.5 > s
                  ? r
                    ? `tertiary-light`
                    : `primary-light`
                  : 10 > s
                    ? r
                      ? `tertiary`
                      : `primary`
                    : 100 > s
                      ? r
                        ? `tertiary-dark`
                        : `primary-dark`
                      : `error`;
              var l = e.memoizedProps;
              ((s = e._debugTask),
                l !== null && o !== null && o.memoizedProps !== l
                  ? ((c = [Tg]),
                    (l = qn(o.memoizedProps, l, c, 0)),
                    1 < c.length &&
                      (l && !Sg && (o.lanes & i) === 0 && 100 < e.actualDuration
                        ? ((Sg = !0),
                          (c[0] = Dg),
                          (Cg.color = `warning`),
                          (Cg.tooltipText = Eg))
                        : ((Cg.color = r), (Cg.tooltipText = a)),
                      (Cg.properties = c),
                      (wg.start = t),
                      (wg.end = n),
                      s == null
                        ? performance.measure(`​` + a, wg)
                        : s.run(
                            performance.measure.bind(performance, `​` + a, wg),
                          )))
                  : s == null
                    ? console.timeStamp(a, t, n, bg, void 0, r)
                    : s.run(
                        console.timeStamp.bind(console, a, t, n, bg, void 0, r),
                      ));
            }
          }
          function Qn(e, t, n, r) {
            if (yg) {
              var i = T(e);
              if (i !== null) {
                for (var a = null, o = [], s = 0; s < r.length; s++) {
                  var c = r[s];
                  (a == null && c.source !== null && (a = c.source._debugTask),
                    (c = c.value),
                    o.push([
                      `Error`,
                      typeof c == `object` && c && typeof c.message == `string`
                        ? String(c.message)
                        : String(c),
                    ]));
                }
                (e.key !== null && Kn(`key`, e.key, o, 0, ``),
                  e.memoizedProps !== null && Gn(e.memoizedProps, o, 0, ``),
                  (a ??= e._debugTask),
                  (e = {
                    start: t,
                    end: n,
                    detail: {
                      devtools: {
                        color: `error`,
                        track: bg,
                        tooltipText:
                          e.tag === 13
                            ? `Hydration failed`
                            : `Error boundary caught an error`,
                        properties: o,
                      },
                    },
                  }),
                  a
                    ? a.run(performance.measure.bind(performance, `​` + i, e))
                    : performance.measure(`​` + i, e));
              }
            }
          }
          function $n(e, t, n, r, i) {
            if (i !== null) {
              if (yg) {
                var a = T(e);
                if (a !== null) {
                  r = [];
                  for (var o = 0; o < i.length; o++) {
                    var s = i[o].value;
                    r.push([
                      `Error`,
                      typeof s == `object` && s && typeof s.message == `string`
                        ? String(s.message)
                        : String(s),
                    ]);
                  }
                  (e.key !== null && Kn(`key`, e.key, r, 0, ``),
                    e.memoizedProps !== null && Gn(e.memoizedProps, r, 0, ``),
                    (t = {
                      start: t,
                      end: n,
                      detail: {
                        devtools: {
                          color: `error`,
                          track: bg,
                          tooltipText: `A lifecycle or effect errored`,
                          properties: r,
                        },
                      },
                    }),
                    (e = e._debugTask)
                      ? e.run(performance.measure.bind(performance, `​` + a, t))
                      : performance.measure(`​` + a, t));
                }
              }
            } else
              ((a = T(e)),
                a !== null &&
                  yg &&
                  ((i =
                    1 > r
                      ? `secondary-light`
                      : 100 > r
                        ? `secondary`
                        : 500 > r
                          ? `secondary-dark`
                          : `error`),
                  (e = e._debugTask)
                    ? e.run(
                        console.timeStamp.bind(console, a, t, n, bg, void 0, i),
                      )
                    : console.timeStamp(a, t, n, bg, void 0, i)));
          }
          function er(e, t, n, r) {
            if (yg && !(t <= e)) {
              var i = (n & 738197653) === n ? `tertiary-dark` : `primary-dark`;
              ((n =
                (n & 536870912) === n
                  ? `Prepared`
                  : (n & 201326741) === n
                    ? `Hydrated`
                    : `Render`),
                r
                  ? r.run(console.timeStamp.bind(console, n, e, t, xg, W, i))
                  : console.timeStamp(n, e, t, xg, W, i));
            }
          }
          function tr(e, t, n, r) {
            !yg ||
              t <= e ||
              ((n = (n & 738197653) === n ? `tertiary-dark` : `primary-dark`),
              r
                ? r.run(
                    console.timeStamp.bind(console, `Prewarm`, e, t, xg, W, n),
                  )
                : console.timeStamp(`Prewarm`, e, t, xg, W, n));
          }
          function nr(e, t, n, r) {
            !yg ||
              t <= e ||
              ((n = (n & 738197653) === n ? `tertiary-dark` : `primary-dark`),
              r
                ? r.run(
                    console.timeStamp.bind(
                      console,
                      `Suspended`,
                      e,
                      t,
                      xg,
                      W,
                      n,
                    ),
                  )
                : console.timeStamp(`Suspended`, e, t, xg, W, n));
          }
          function rr(e, t, n, r, i, a) {
            if (yg && !(t <= e)) {
              n = [];
              for (var o = 0; o < r.length; o++) {
                var s = r[o].value;
                n.push([
                  `Recoverable Error`,
                  typeof s == `object` && s && typeof s.message == `string`
                    ? String(s.message)
                    : String(s),
                ]);
              }
              ((e = {
                start: e,
                end: t,
                detail: {
                  devtools: {
                    color: `primary-dark`,
                    track: xg,
                    trackGroup: W,
                    tooltipText: i
                      ? `Hydration Failed`
                      : `Recovered after Error`,
                    properties: n,
                  },
                },
              }),
                a
                  ? a.run(performance.measure.bind(performance, `Recovered`, e))
                  : performance.measure(`Recovered`, e));
            }
          }
          function ir(e, t, n, r) {
            !yg ||
              t <= e ||
              (r
                ? r.run(
                    console.timeStamp.bind(
                      console,
                      `Errored`,
                      e,
                      t,
                      xg,
                      W,
                      `error`,
                    ),
                  )
                : console.timeStamp(`Errored`, e, t, xg, W, `error`));
          }
          function ar(e, t, n, r) {
            !yg ||
              t <= e ||
              (r
                ? r.run(
                    console.timeStamp.bind(
                      console,
                      n,
                      e,
                      t,
                      xg,
                      W,
                      `secondary-light`,
                    ),
                  )
                : console.timeStamp(n, e, t, xg, W, `secondary-light`));
          }
          function or(e, t, n, r, i) {
            if (yg && !(t <= e)) {
              for (var a = [], o = 0; o < n.length; o++) {
                var s = n[o].value;
                a.push([
                  `Error`,
                  typeof s == `object` && s && typeof s.message == `string`
                    ? String(s.message)
                    : String(s),
                ]);
              }
              ((e = {
                start: e,
                end: t,
                detail: {
                  devtools: {
                    color: `error`,
                    track: xg,
                    trackGroup: W,
                    tooltipText: r
                      ? `Remaining Effects Errored`
                      : `Commit Errored`,
                    properties: a,
                  },
                },
              }),
                i
                  ? i.run(performance.measure.bind(performance, `Errored`, e))
                  : performance.measure(`Errored`, e));
            }
          }
          function sr(e, t, n) {
            !yg ||
              t <= e ||
              (n
                ? n.run(
                    console.timeStamp.bind(
                      console,
                      `Animating`,
                      e,
                      t,
                      xg,
                      W,
                      `secondary-dark`,
                    ),
                  )
                : console.timeStamp(
                    `Animating`,
                    e,
                    t,
                    xg,
                    W,
                    `secondary-dark`,
                  ));
          }
          function cr() {
            for (var e = jg, t = (Mg = jg = 0); t < e;) {
              var n = Ag[t];
              Ag[t++] = null;
              var r = Ag[t];
              Ag[t++] = null;
              var i = Ag[t];
              Ag[t++] = null;
              var a = Ag[t];
              if (((Ag[t++] = null), r !== null && i !== null)) {
                var o = r.pending;
                (o === null ? (i.next = i) : ((i.next = o.next), (o.next = i)),
                  (r.pending = i));
              }
              a !== 0 && fr(n, i, a);
            }
          }
          function lr(e, t, n, r) {
            ((Ag[jg++] = e),
              (Ag[jg++] = t),
              (Ag[jg++] = n),
              (Ag[jg++] = r),
              (Mg |= r),
              (e.lanes |= r),
              (e = e.alternate),
              e !== null && (e.lanes |= r));
          }
          function ur(e, t, n, r) {
            return (lr(e, t, n, r), pr(e));
          }
          function dr(e, t) {
            return (lr(e, null, null, t), pr(e));
          }
          function fr(e, t, n) {
            e.lanes |= n;
            var r = e.alternate;
            r !== null && (r.lanes |= n);
            for (var i = !1, a = e.return; a !== null;)
              ((a.childLanes |= n),
                (r = a.alternate),
                r !== null && (r.childLanes |= n),
                a.tag === 22 &&
                  ((e = a.stateNode),
                  e === null || e._visibility & Og || (i = !0)),
                (e = a),
                (a = a.return));
            return e.tag === 3
              ? ((a = e.stateNode),
                i &&
                  t !== null &&
                  ((i = 31 - Np(n)),
                  (e = a.hiddenUpdates),
                  (r = e[i]),
                  r === null ? (e[i] = [t]) : r.push(t),
                  (t.lane = n | 536870912)),
                a)
              : null;
          }
          function pr(e) {
            if (qx > Kx)
              throw (
                (Qx = qx = 0),
                ($x = Jx = null),
                Error(
                  `Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.`,
                )
              );
            (Qx > Zx &&
              ((Qx = 0),
              ($x = null),
              console.error(
                `Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.`,
              )),
              e.alternate === null && e.flags & 4098 && Ul(e));
            for (var t = e, n = t.return; n !== null;)
              (t.alternate === null && t.flags & 4098 && Ul(e),
                (t = n),
                (n = t.return));
            return t.tag === 3 ? t.stateNode : null;
          }
          function mr(e) {
            if (Pg === null) return e;
            var t = Pg(e);
            return t === void 0 ? e : t.current;
          }
          function hr(e) {
            if (Pg === null) return e;
            var t = Pg(e);
            return t === void 0
              ? e != null &&
                typeof e.render == `function` &&
                ((t = mr(e.render)), e.render !== t)
                ? ((t = { $$typeof: If, render: t }),
                  e.displayName !== void 0 && (t.displayName = e.displayName),
                  t)
                : e
              : t.current;
          }
          function gr(e, t) {
            if (Pg === null) return !1;
            var n = e.elementType;
            t = t.type;
            var r = !1,
              i = typeof t == `object` && t ? t.$$typeof : null;
            switch (e.tag) {
              case 1:
                typeof t == `function` && (r = !0);
                break;
              case 0:
                (typeof t == `function` || i === Bf) && (r = !0);
                break;
              case 11:
                (i === If || i === Bf) && (r = !0);
                break;
              case 14:
              case 15:
                (i === zf || i === Bf) && (r = !0);
                break;
              default:
                return !1;
            }
            return !!(r && ((e = Pg(n)), e !== void 0 && e === Pg(t)));
          }
          function _r(e) {
            Pg !== null &&
              typeof WeakSet == `function` &&
              (Fg === null && (Fg = new WeakSet()), Fg.add(e));
          }
          function vr(e, t, n) {
            do {
              var r = e,
                i = r.alternate,
                a = r.child,
                o = r.sibling,
                s = r.tag;
              r = r.type;
              var c = null;
              switch (s) {
                case 0:
                case 15:
                case 1:
                  c = r;
                  break;
                case 11:
                  c = r.render;
              }
              if (Pg === null)
                throw Error(
                  `Expected resolveFamily to be set during hot reload.`,
                );
              var l = !1;
              if (
                ((r = !1),
                c !== null &&
                  ((c = Pg(c)),
                  c !== void 0 &&
                    (n.has(c)
                      ? (r = !0)
                      : t.has(c) && (s === 1 ? (r = !0) : (l = !0)))),
                Fg !== null &&
                  (Fg.has(e) || (i !== null && Fg.has(i))) &&
                  (r = !0),
                r && (e._debugNeedsRemount = !0),
                (r || l) && ((i = dr(e, 2)), i !== null && tl(i, e, 2)),
                a === null || r || vr(a, t, n),
                o === null)
              )
                break;
              e = o;
            } while (1);
          }
          function yr(e, t, n, r) {
            ((this.tag = e),
              (this.key = n),
              (this.sibling =
                this.child =
                this.return =
                this.stateNode =
                this.type =
                this.elementType =
                  null),
              (this.index = 0),
              (this.refCleanup = this.ref = null),
              (this.pendingProps = t),
              (this.dependencies =
                this.memoizedState =
                this.updateQueue =
                this.memoizedProps =
                  null),
              (this.mode = r),
              (this.subtreeFlags = this.flags = 0),
              (this.deletions = null),
              (this.childLanes = this.lanes = 0),
              (this.alternate = null),
              (this.actualDuration = -0),
              (this.actualStartTime = -1.1),
              (this.treeBaseDuration = this.selfBaseDuration = -0),
              (this._debugTask =
                this._debugStack =
                this._debugOwner =
                this._debugInfo =
                  null),
              (this._debugNeedsRemount = !1),
              (this._debugHookTypes = null),
              Bg ||
                typeof Object.preventExtensions != `function` ||
                Object.preventExtensions(this));
          }
          function br(e) {
            return ((e = e.prototype), !(!e || !e.isReactComponent));
          }
          function xr(e, t) {
            var n = e.alternate;
            switch (
              (n === null
                ? ((n = p(e.tag, t, e.key, e.mode)),
                  (n.elementType = e.elementType),
                  (n.type = e.type),
                  (n.stateNode = e.stateNode),
                  (n._debugOwner = e._debugOwner),
                  (n._debugStack = e._debugStack),
                  (n._debugTask = e._debugTask),
                  (n._debugHookTypes = e._debugHookTypes),
                  (n.alternate = e),
                  (e.alternate = n))
                : ((n.pendingProps = t),
                  (n.type = e.type),
                  (n.flags = 0),
                  (n.subtreeFlags = 0),
                  (n.deletions = null),
                  (n.actualDuration = -0),
                  (n.actualStartTime = -1.1)),
              (n.flags = e.flags & 65011712),
              (n.childLanes = e.childLanes),
              (n.lanes = e.lanes),
              (n.child = e.child),
              (n.memoizedProps = e.memoizedProps),
              (n.memoizedState = e.memoizedState),
              (n.updateQueue = e.updateQueue),
              (t = e.dependencies),
              (n.dependencies =
                t === null
                  ? null
                  : {
                      lanes: t.lanes,
                      firstContext: t.firstContext,
                      _debugThenableState: t._debugThenableState,
                    }),
              (n.sibling = e.sibling),
              (n.index = e.index),
              (n.ref = e.ref),
              (n.refCleanup = e.refCleanup),
              (n.selfBaseDuration = e.selfBaseDuration),
              (n.treeBaseDuration = e.treeBaseDuration),
              (n._debugInfo = e._debugInfo),
              (n._debugNeedsRemount = e._debugNeedsRemount),
              n.tag)
            ) {
              case 0:
              case 15:
                n.type = mr(e.type);
                break;
              case 1:
                n.type = mr(e.type);
                break;
              case 11:
                n.type = hr(e.type);
            }
            return n;
          }
          function Sr(e, t) {
            e.flags &= 65011714;
            var n = e.alternate;
            return (
              n === null
                ? ((e.childLanes = 0),
                  (e.lanes = t),
                  (e.child = null),
                  (e.subtreeFlags = 0),
                  (e.memoizedProps = null),
                  (e.memoizedState = null),
                  (e.updateQueue = null),
                  (e.dependencies = null),
                  (e.stateNode = null),
                  (e.selfBaseDuration = 0),
                  (e.treeBaseDuration = 0))
                : ((e.childLanes = n.childLanes),
                  (e.lanes = n.lanes),
                  (e.child = n.child),
                  (e.subtreeFlags = 0),
                  (e.deletions = null),
                  (e.memoizedProps = n.memoizedProps),
                  (e.memoizedState = n.memoizedState),
                  (e.updateQueue = n.updateQueue),
                  (e.type = n.type),
                  (t = n.dependencies),
                  (e.dependencies =
                    t === null
                      ? null
                      : {
                          lanes: t.lanes,
                          firstContext: t.firstContext,
                          _debugThenableState: t._debugThenableState,
                        }),
                  (e.selfBaseDuration = n.selfBaseDuration),
                  (e.treeBaseDuration = n.treeBaseDuration)),
              e
            );
          }
          function Cr(e, t, n, r, i, a) {
            var o = 0,
              s = e;
            if (typeof e == `function`) (br(e) && (o = 1), (s = mr(s)));
            else if (typeof e == `string`)
              ((o = O()),
                (o = Hd(e, n, o)
                  ? 26
                  : e === `html` || e === `head` || e === `body`
                    ? 27
                    : 5));
            else
              a: switch (e) {
                case Vf:
                  return (
                    (t = p(31, n, t, i)),
                    (t.elementType = Vf),
                    (t.lanes = a),
                    t
                  );
                case jf:
                  return Tr(n.children, i, a, t);
                case Mf:
                  ((o = 8), (i |= Lg), (i |= Rg));
                  break;
                case Nf:
                  return (
                    (e = n),
                    (r = i),
                    typeof e.id != `string` &&
                      console.error(
                        'Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',
                        typeof e.id,
                      ),
                    (t = p(12, e, t, r | K)),
                    (t.elementType = Nf),
                    (t.lanes = a),
                    (t.stateNode = {
                      effectDuration: 0,
                      passiveEffectDuration: 0,
                    }),
                    t
                  );
                case Lf:
                  return (
                    (t = p(13, n, t, i)),
                    (t.elementType = Lf),
                    (t.lanes = a),
                    t
                  );
                case Rf:
                  return (
                    (t = p(19, n, t, i)),
                    (t.elementType = Rf),
                    (t.lanes = a),
                    t
                  );
                default:
                  if (typeof e == `object` && e)
                    switch (e.$$typeof) {
                      case Ff:
                        o = 10;
                        break a;
                      case Pf:
                        o = 9;
                        break a;
                      case If:
                        ((o = 11), (s = hr(s)));
                        break a;
                      case zf:
                        o = 14;
                        break a;
                      case Bf:
                        ((o = 16), (s = null));
                        break a;
                    }
                  ((s = ``),
                    (e === void 0 ||
                      (typeof e == `object` &&
                        e &&
                        Object.keys(e).length === 0)) &&
                      (s += ` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),
                    e === null
                      ? (n = `null`)
                      : Gf(e)
                        ? (n = `array`)
                        : e !== void 0 && e.$$typeof === kf
                          ? ((n = `<` + (w(e.type) || `Unknown`) + ` />`),
                            (s = ` Did you accidentally export a JSX literal instead of a component?`))
                          : (n = typeof e),
                    (o = r ? ie(r) : null) &&
                      (s +=
                        `

Check the render method of \`` +
                        o +
                        "`."),
                    (o = 29),
                    (n = Error(
                      `Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ` +
                        (n + `.` + s),
                    )),
                    (s = null));
              }
            return (
              (t = p(o, n, t, i)),
              (t.elementType = e),
              (t.type = s),
              (t.lanes = a),
              (t._debugOwner = r),
              t
            );
          }
          function wr(e, t, n) {
            return (
              (t = Cr(e.type, e.key, e.props, e._owner, t, n)),
              (t._debugOwner = e._owner),
              (t._debugStack = e._debugStack),
              (t._debugTask = e._debugTask),
              t
            );
          }
          function Tr(e, t, n, r) {
            return ((e = p(7, e, r, t)), (e.lanes = n), e);
          }
          function Er(e, t, n) {
            return ((e = p(6, e, null, t)), (e.lanes = n), e);
          }
          function Dr(e) {
            var t = p(18, null, null, G);
            return ((t.stateNode = e), t);
          }
          function Or(e, t, n) {
            return (
              (t = p(4, e.children === null ? [] : e.children, e.key, t)),
              (t.lanes = n),
              (t.stateNode = {
                containerInfo: e.containerInfo,
                pendingChildren: null,
                implementation: e.implementation,
              }),
              t
            );
          }
          function kr(e, t) {
            if (typeof e == `object` && e) {
              var n = Hg.get(e);
              return n === void 0
                ? ((t = { value: e, source: t, stack: _e(t) }), Hg.set(e, t), t)
                : n;
            }
            return { value: e, source: t, stack: _e(t) };
          }
          function Ar(e, t) {
            (Ir(), (Ug[Wg++] = Kg), (Ug[Wg++] = Gg), (Gg = e), (Kg = t));
          }
          function jr(e, t, n) {
            (Ir(), (qg[Jg++] = Xg), (qg[Jg++] = Zg), (qg[Jg++] = Yg), (Yg = e));
            var r = Xg;
            e = Zg;
            var i = 32 - Np(r) - 1;
            ((r &= ~(1 << i)), (n += 1));
            var a = 32 - Np(t) + i;
            if (30 < a) {
              var o = i - (i % 5);
              ((a = (r & ((1 << o) - 1)).toString(32)),
                (r >>= o),
                (i -= o),
                (Xg = (1 << (32 - Np(t) + i)) | (n << i) | r),
                (Zg = a + e));
            } else ((Xg = (1 << a) | (n << i) | r), (Zg = e));
          }
          function Mr(e) {
            (Ir(), e.return !== null && (Ar(e, 1), jr(e, 1, 0)));
          }
          function Nr(e) {
            for (; e === Gg;)
              ((Gg = Ug[--Wg]),
                (Ug[Wg] = null),
                (Kg = Ug[--Wg]),
                (Ug[Wg] = null));
            for (; e === Yg;)
              ((Yg = qg[--Jg]),
                (qg[Jg] = null),
                (Zg = qg[--Jg]),
                (qg[Jg] = null),
                (Xg = qg[--Jg]),
                (qg[Jg] = null));
          }
          function Pr() {
            return (Ir(), Yg === null ? null : { id: Xg, overflow: Zg });
          }
          function Fr(e, t) {
            (Ir(),
              (qg[Jg++] = Xg),
              (qg[Jg++] = Zg),
              (qg[Jg++] = Yg),
              (Xg = t.id),
              (Zg = t.overflow),
              (Yg = e));
          }
          function Ir() {
            e_ ||
              console.error(
                `Expected to be hydrating. This is a bug in React. Please file an issue.`,
              );
          }
          function Lr(e, t) {
            if (e.return === null) {
              if (n_ === null)
                n_ = {
                  fiber: e,
                  children: [],
                  serverProps: void 0,
                  serverTail: [],
                  distanceFromLeaf: t,
                };
              else {
                if (n_.fiber !== e)
                  throw Error(
                    `Saw multiple hydration diff roots in a pass. This is a bug in React.`,
                  );
                n_.distanceFromLeaf > t && (n_.distanceFromLeaf = t);
              }
              return n_;
            }
            var n = Lr(e.return, t + 1).children;
            return 0 < n.length && n[n.length - 1].fiber === e
              ? ((n = n[n.length - 1]),
                n.distanceFromLeaf > t && (n.distanceFromLeaf = t),
                n)
              : ((t = {
                  fiber: e,
                  children: [],
                  serverProps: void 0,
                  serverTail: [],
                  distanceFromLeaf: t,
                }),
                n.push(t),
                t);
          }
          function Rr() {
            e_ &&
              console.error(
                `We should not be hydrating here. This is a bug in React. Please file a bug.`,
              );
          }
          function zr(e, t) {
            t_ ||
              ((e = Lr(e, 0)),
              (e.serverProps = null),
              t !== null && ((t = _d(t)), e.serverTail.push(t)));
          }
          function Br(e) {
            var t =
                1 < arguments.length && arguments[1] !== void 0
                  ? arguments[1]
                  : !1,
              n = ``,
              r = n_;
            throw (
              r !== null && ((n_ = null), (n = zt(r))),
              Kr(
                kr(
                  Error(
                    `Hydration failed because the server rendered ` +
                      (t ? `text` : `HTML`) +
                      ` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:

- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

https://react.dev/link/hydration-mismatch` +
                      n,
                  ),
                  e,
                ),
              ),
              a_
            );
          }
          function Vr(e) {
            var t = e.stateNode,
              n = e.type,
              r = e.memoizedProps;
            switch (((t[Wp] = e), (t[Gp] = r), hu(n, r), n)) {
              case `dialog`:
                (B(`cancel`, t), B(`close`, t));
                break;
              case `iframe`:
              case `object`:
              case `embed`:
                B(`load`, t);
                break;
              case `video`:
              case `audio`:
                for (n = 0; n < pS.length; n++) B(pS[n], t);
                break;
              case `source`:
                B(`error`, t);
                break;
              case `img`:
              case `image`:
              case `link`:
                (B(`error`, t), B(`load`, t));
                break;
              case `details`:
                B(`toggle`, t);
                break;
              case `input`:
                (tt(`input`, r),
                  B(`invalid`, t),
                  mt(t, r),
                  gt(
                    t,
                    r.value,
                    r.defaultValue,
                    r.checked,
                    r.defaultChecked,
                    r.type,
                    r.name,
                    !0,
                  ));
                break;
              case `option`:
                vt(t, r);
                break;
              case `select`:
                (tt(`select`, r), B(`invalid`, t), xt(t, r));
                break;
              case `textarea`:
                (tt(`textarea`, r),
                  B(`invalid`, t),
                  St(t, r),
                  M(t, r.value, r.defaultValue, r.children));
            }
            ((n = r.children),
              (typeof n != `string` &&
                typeof n != `number` &&
                typeof n != `bigint`) ||
              t.textContent === `` + n ||
              !0 === r.suppressHydrationWarning ||
              xu(t.textContent, n)
                ? (r.popover != null && (B(`beforetoggle`, t), B(`toggle`, t)),
                  r.onScroll != null && B(`scroll`, t),
                  r.onScrollEnd != null && B(`scrollend`, t),
                  r.onClick != null && (t.onclick = an),
                  (t = !0))
                : (t = !1),
              t || Br(e, !0));
          }
          function Hr(e) {
            for (Qg = e.return; Qg;)
              switch (Qg.tag) {
                case 5:
                case 31:
                case 13:
                  i_ = !1;
                  return;
                case 27:
                case 3:
                  i_ = !0;
                  return;
                default:
                  Qg = Qg.return;
              }
          }
          function Ur(e) {
            if (e !== Qg) return !1;
            if (!e_) return (Hr(e), (e_ = !0), !1);
            var t = e.tag,
              n;
            if (
              ((n = t !== 3 && t !== 27) &&
                ((n = t === 5) &&
                  ((n = e.type),
                  (n =
                    !(n !== `form` && n !== `button`) ||
                    Vu(e.type, e.memoizedProps))),
                (n = !n)),
              n && $g)
            ) {
              for (n = $g; n;) {
                var r = Lr(e, 0),
                  i = _d(n);
                (r.serverTail.push(i),
                  (n = i.type === `Suspense` ? yd(n) : gd(n.nextSibling)));
              }
              Br(e);
            }
            if ((Hr(e), t === 13)) {
              if (
                ((e = e.memoizedState),
                (e = e === null ? null : e.dehydrated),
                !e)
              )
                throw Error(
                  `Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`,
                );
              $g = yd(e);
            } else if (t === 31) {
              if (
                ((e = e.memoizedState),
                (e = e === null ? null : e.dehydrated),
                !e)
              )
                throw Error(
                  `Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`,
                );
              $g = yd(e);
            } else
              t === 27
                ? ((t = $g),
                  Qu(e.type) ? ((e = rC), (rC = null), ($g = e)) : ($g = t))
                : ($g = Qg ? gd(e.stateNode.nextSibling) : null);
            return !0;
          }
          function Wr() {
            (($g = Qg = null), (t_ = e_ = !1));
          }
          function Gr() {
            var e = r_;
            return (
              e !== null &&
                (hx === null ? (hx = e) : hx.push.apply(hx, e), (r_ = null)),
              e
            );
          }
          function Kr(e) {
            r_ === null ? (r_ = [e]) : r_.push(e);
          }
          function qr() {
            var e = n_;
            if (e !== null) {
              n_ = null;
              for (var t = zt(e); 0 < e.children.length;) e = e.children[0];
              A(e.fiber, function () {
                console.error(
                  `A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:

- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

%s%s`,
                  `https://react.dev/link/hydration-mismatch`,
                  t,
                );
              });
            }
          }
          function Jr() {
            ((u_ = l_ = null), (d_ = !1));
          }
          function Yr(e, t, n) {
            (E(o_, t._currentValue, e),
              (t._currentValue = n),
              E(s_, t._currentRenderer, e),
              t._currentRenderer !== void 0 &&
                t._currentRenderer !== null &&
                t._currentRenderer !== c_ &&
                console.error(
                  `Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`,
                ),
              (t._currentRenderer = c_));
          }
          function Xr(e, t) {
            e._currentValue = o_.current;
            var n = s_.current;
            (oe(s_, t), (e._currentRenderer = n), oe(o_, t));
          }
          function Zr(e, t, n) {
            for (; e !== null;) {
              var r = e.alternate;
              if (
                ((e.childLanes & t) === t
                  ? r !== null &&
                    (r.childLanes & t) !== t &&
                    (r.childLanes |= t)
                  : ((e.childLanes |= t), r !== null && (r.childLanes |= t)),
                e === n)
              )
                break;
              e = e.return;
            }
            e !== n &&
              console.error(
                `Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`,
              );
          }
          function Qr(e, t, n, r) {
            var i = e.child;
            for (i !== null && (i.return = e); i !== null;) {
              var a = i.dependencies;
              if (a !== null) {
                var o = i.child;
                a = a.firstContext;
                a: for (; a !== null;) {
                  var s = a;
                  a = i;
                  for (var c = 0; c < t.length; c++)
                    if (s.context === t[c]) {
                      ((a.lanes |= n),
                        (s = a.alternate),
                        s !== null && (s.lanes |= n),
                        Zr(a.return, n, e),
                        r || (o = null));
                      break a;
                    }
                  a = s.next;
                }
              } else if (i.tag === 18) {
                if (((o = i.return), o === null))
                  throw Error(
                    `We just came from a parent so we must have had a parent. This is a bug in React.`,
                  );
                ((o.lanes |= n),
                  (a = o.alternate),
                  a !== null && (a.lanes |= n),
                  Zr(o, n, e),
                  (o = null));
              } else o = i.child;
              if (o !== null) o.return = i;
              else
                for (o = i; o !== null;) {
                  if (o === e) {
                    o = null;
                    break;
                  }
                  if (((i = o.sibling), i !== null)) {
                    ((i.return = o.return), (o = i));
                    break;
                  }
                  o = o.return;
                }
              i = o;
            }
          }
          function $r(e, t, n, r) {
            e = null;
            for (var i = t, a = !1; i !== null;) {
              if (!a) {
                if (i.flags & 524288) a = !0;
                else if (i.flags & 262144) break;
              }
              if (i.tag === 10) {
                var o = i.alternate;
                if (o === null)
                  throw Error(
                    `Should have a current fiber. This is a bug in React.`,
                  );
                if (((o = o.memoizedProps), o !== null)) {
                  var s = i.type;
                  Hh(i.pendingProps.value, o.value) ||
                    (e === null ? (e = [s]) : e.push(s));
                }
              } else if (i === ep.current) {
                if (((o = i.alternate), o === null))
                  throw Error(
                    `Should have a current fiber. This is a bug in React.`,
                  );
                o.memoizedState.memoizedState !==
                  i.memoizedState.memoizedState &&
                  (e === null ? (e = [xC]) : e.push(xC));
              }
              i = i.return;
            }
            (e !== null && Qr(t, e, n, r), (t.flags |= 262144));
          }
          function ei(e) {
            for (e = e.firstContext; e !== null;) {
              if (!Hh(e.context._currentValue, e.memoizedValue)) return !0;
              e = e.next;
            }
            return !1;
          }
          function ti(e) {
            ((l_ = e),
              (u_ = null),
              (e = e.dependencies),
              e !== null && (e.firstContext = null));
          }
          function ni(e) {
            return (
              d_ &&
                console.error(
                  `Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`,
                ),
              ii(l_, e)
            );
          }
          function ri(e, t) {
            return (l_ === null && ti(e), ii(e, t));
          }
          function ii(e, t) {
            var n = t._currentValue;
            if (
              ((t = { context: t, memoizedValue: n, next: null }), u_ === null)
            ) {
              if (e === null)
                throw Error(
                  `Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`,
                );
              ((u_ = t),
                (e.dependencies = {
                  lanes: 0,
                  firstContext: t,
                  _debugThenableState: null,
                }),
                (e.flags |= 524288));
            } else u_ = u_.next = t;
            return n;
          }
          function ai() {
            return { controller: new f_(), data: new Map(), refCount: 0 };
          }
          function oi(e) {
            (e.controller.signal.aborted &&
              console.warn(
                `A cache instance was retained after it was already freed. This likely indicates a bug in React.`,
              ),
              e.refCount++);
          }
          function si(e) {
            (e.refCount--,
              0 > e.refCount &&
                console.warn(
                  `A cache instance was released after it was already freed. This likely indicates a bug in React.`,
                ),
              e.refCount === 0 &&
                p_(m_, function () {
                  e.controller.abort();
                }));
          }
          function ci(e, t, n) {
            e & 127
              ? 0 > A_ &&
                ((A_ = g_()),
                (j_ = __(t)),
                (N_ = t),
                n != null && (P_ = T(n)),
                (Wb & (Fb | Ib)) !== Pb && ((O_ = !0), (M_ = v_)),
                (e = Wu()),
                (t = Uu()),
                e !== L_ || t !== I_ ? (L_ = -1.1) : t !== null && (M_ = v_),
                (F_ = e),
                (I_ = t))
              : e & 4194048 &&
                0 > V_ &&
                ((V_ = g_()),
                (U_ = __(t)),
                (W_ = t),
                n != null && (G_ = T(n)),
                0 > B_) &&
                ((e = Wu()),
                (t = Uu()),
                (e !== J_ || t !== q_) && (J_ = -1.1),
                (K_ = e),
                (q_ = t));
          }
          function li(e) {
            if (0 > A_) {
              ((A_ = g_()),
                (j_ = e._debugTask == null ? null : e._debugTask),
                (Wb & (Fb | Ib)) !== Pb && (M_ = v_));
              var t = Wu(),
                n = Uu();
              (t !== L_ || n !== I_ ? (L_ = -1.1) : n !== null && (M_ = v_),
                (F_ = t),
                (I_ = n));
            }
            0 > V_ &&
              ((V_ = g_()),
              (U_ = e._debugTask == null ? null : e._debugTask),
              0 > B_) &&
              ((e = Wu()),
              (t = Uu()),
              (e !== J_ || t !== q_) && (J_ = -1.1),
              (K_ = e),
              (q_ = t));
          }
          function ui() {
            var e = T_;
            return ((T_ = 0), e);
          }
          function di(e) {
            var t = T_;
            return ((T_ = e), t);
          }
          function fi(e) {
            var t = T_;
            return ((T_ += e), t);
          }
          function pi() {
            J = q = -1.1;
          }
          function mi() {
            var e = q;
            return ((q = -1.1), e);
          }
          function hi(e) {
            0 <= e && (q = e);
          }
          function gi() {
            var e = E_;
            return ((E_ = -0), e);
          }
          function _i(e) {
            0 <= e && (E_ = e);
          }
          function vi() {
            var e = D_;
            return ((D_ = null), e);
          }
          function yi() {
            var e = O_;
            return ((O_ = !1), e);
          }
          function bi(e) {
            ((w_ = g_()), 0 > e.actualStartTime && (e.actualStartTime = w_));
          }
          function xi(e) {
            if (0 <= w_) {
              var t = g_() - w_;
              ((e.actualDuration += t), (e.selfBaseDuration = t), (w_ = -1));
            }
          }
          function Si(e) {
            if (0 <= w_) {
              var t = g_() - w_;
              ((e.actualDuration += t), (w_ = -1));
            }
          }
          function Ci() {
            if (0 <= w_) {
              var e = g_(),
                t = e - w_;
              ((w_ = -1), (T_ += t), (E_ += t), (J = e));
            }
          }
          function wi(e) {
            (D_ === null && (D_ = []),
              D_.push(e),
              C_ === null && (C_ = []),
              C_.push(e));
          }
          function Ti() {
            ((w_ = g_()), 0 > q && (q = w_));
          }
          function Ei(e) {
            for (var t = e.child; t;)
              ((e.actualDuration += t.actualDuration), (t = t.sibling));
          }
          function Di(e, t) {
            if (iv === null) {
              var n = (iv = []);
              ((av = 0),
                (ov = tu()),
                (sv = {
                  status: `pending`,
                  value: void 0,
                  then: function (e) {
                    n.push(e);
                  },
                }));
            }
            return (av++, t.then(Oi, Oi), t);
          }
          function Oi() {
            if (--av === 0 && (-1 < V_ || (B_ = -1.1), iv !== null)) {
              sv !== null && (sv.status = `fulfilled`);
              var e = iv;
              ((iv = null), (ov = 0), (sv = null));
              for (var t = 0; t < e.length; t++) (0, e[t])();
            }
          }
          function ki(e, t) {
            var n = [],
              r = {
                status: `pending`,
                value: null,
                reason: null,
                then: function (e) {
                  n.push(e);
                },
              };
            return (
              e.then(
                function () {
                  ((r.status = `fulfilled`), (r.value = t));
                  for (var e = 0; e < n.length; e++) (0, n[e])(t);
                },
                function (e) {
                  for (
                    r.status = `rejected`, r.reason = e, e = 0;
                    e < n.length;
                    e++
                  )
                    (0, n[e])(void 0);
                },
              ),
              r
            );
          }
          function Ai() {
            var e = lv.current;
            return e === null ? Gb.pooledCache : e;
          }
          function ji(e, t) {
            t === null ? E(lv, lv.current, e) : E(lv, t.pool, e);
          }
          function Mi() {
            var e = Ai();
            return e === null ? null : { parent: h_._currentValue, pool: e };
          }
          function Ni() {
            return { didWarnAboutUncachedPromise: !1, thenables: [] };
          }
          function Pi(e) {
            return ((e = e.status), e === `fulfilled` || e === `rejected`);
          }
          function Fi(e, t, n) {
            U.actQueue !== null && (U.didUsePromise = !0);
            var r = e.thenables;
            if (
              ((n = r[n]),
              n === void 0
                ? r.push(t)
                : n !== t &&
                  (e.didWarnAboutUncachedPromise ||
                    ((e.didWarnAboutUncachedPromise = !0),
                    console.error(
                      `A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`,
                    )),
                  t.then(an, an),
                  (t = n)),
              t._debugInfo === void 0)
            ) {
              ((e = performance.now()), (r = t.displayName));
              var i = {
                name: typeof r == `string` ? r : `Promise`,
                start: e,
                end: e,
                value: t,
              };
              ((t._debugInfo = [{ awaited: i }]),
                t.status !== `fulfilled` &&
                  t.status !== `rejected` &&
                  ((e = function () {
                    i.end = performance.now();
                  }),
                  t.then(e, e)));
            }
            switch (t.status) {
              case `fulfilled`:
                return t.value;
              case `rejected`:
                throw ((e = t.reason), Ri(e), e);
              default:
                if (typeof t.status == `string`) t.then(an, an);
                else {
                  if (((e = Gb), e !== null && 100 < e.shellSuspendCounter))
                    throw Error(
                      "An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
                    );
                  ((e = t),
                    (e.status = `pending`),
                    e.then(
                      function (e) {
                        if (t.status === `pending`) {
                          var n = t;
                          ((n.status = `fulfilled`), (n.value = e));
                        }
                      },
                      function (e) {
                        if (t.status === `pending`) {
                          var n = t;
                          ((n.status = `rejected`), (n.reason = e));
                        }
                      },
                    ));
                }
                switch (t.status) {
                  case `fulfilled`:
                    return t.value;
                  case `rejected`:
                    throw ((e = t.reason), Ri(e), e);
                }
                throw ((Hv = t), (Uv = !0), Rv);
            }
          }
          function Ii(e) {
            try {
              return Lv(e);
            } catch (e) {
              throw typeof e == `object` && e && typeof e.then == `function`
                ? ((Hv = e), (Uv = !0), Rv)
                : e;
            }
          }
          function Li() {
            if (Hv === null)
              throw Error(
                `Expected a suspended thenable. This is a bug in React. Please file an issue.`,
              );
            var e = Hv;
            return ((Hv = null), (Uv = !1), e);
          }
          function Ri(e) {
            if (e === Rv || e === Bv)
              throw Error(
                "Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
              );
          }
          function zi(e) {
            var t = Y;
            return (e != null && (Y = t === null ? e : t.concat(e)), t);
          }
          function Bi() {
            var e = Y;
            if (e != null) {
              for (var t = e.length - 1; 0 <= t; t--)
                if (e[t].name != null) {
                  var n = e[t].debugTask;
                  if (n != null) return n;
                }
            }
            return null;
          }
          function N(e, t, n) {
            for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
              var a = r[i];
              if (a !== `children` && a !== `key`) {
                (t === null &&
                  ((t = wr(e, n.mode, 0)), (t._debugInfo = Y), (t.return = n)),
                  A(
                    t,
                    function (e) {
                      console.error(
                        "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
                        e,
                      );
                    },
                    a,
                  ));
                break;
              }
            }
          }
          function Vi(e) {
            var t = Gv;
            return ((Gv += 1), Wv === null && (Wv = Ni()), Fi(Wv, e, t));
          }
          function Hi(e, t) {
            ((t = t.props.ref), (e.ref = t === void 0 ? null : t));
          }
          function Ui(e, t) {
            throw t.$$typeof === Of
              ? Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
- Multiple copies of the "react" package is used.
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
- A compiler tries to "inline" JSX instead of using the runtime.`)
              : ((e = Object.prototype.toString.call(t)),
                Error(
                  `Objects are not valid as a React child (found: ` +
                    (e === `[object Object]`
                      ? `object with keys {` + Object.keys(t).join(`, `) + `}`
                      : e) +
                    `). If you meant to render a collection of children, use an array instead.`,
                ));
          }
          function Wi(e, t) {
            var n = Bi();
            n === null ? Ui(e, t) : n.run(Ui.bind(null, e, t));
          }
          function Gi(e, t) {
            var n = T(e) || `Component`;
            Yv[n] ||
              ((Yv[n] = !0),
              (t = t.displayName || t.name || `Component`),
              e.tag === 3
                ? console.error(
                    `Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
  root.render(%s)`,
                    t,
                    t,
                    t,
                  )
                : console.error(
                    `Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
  <%s>{%s}</%s>`,
                    t,
                    t,
                    n,
                    t,
                    n,
                  ));
          }
          function Ki(e, t) {
            var n = Bi();
            n === null ? Gi(e, t) : n.run(Gi.bind(null, e, t));
          }
          function qi(e, t) {
            var n = T(e) || `Component`;
            Xv[n] ||
              ((Xv[n] = !0),
              (t = String(t)),
              e.tag === 3
                ? console.error(
                    `Symbols are not valid as a React child.
  root.render(%s)`,
                    t,
                  )
                : console.error(
                    `Symbols are not valid as a React child.
  <%s>%s</%s>`,
                    n,
                    t,
                    n,
                  ));
          }
          function Ji(e, t) {
            var n = Bi();
            n === null ? qi(e, t) : n.run(qi.bind(null, e, t));
          }
          function Yi(e) {
            function t(t, n) {
              if (e) {
                var r = t.deletions;
                r === null ? ((t.deletions = [n]), (t.flags |= 16)) : r.push(n);
              }
            }
            function n(n, r) {
              if (!e) return null;
              for (; r !== null;) (t(n, r), (r = r.sibling));
              return null;
            }
            function r(e) {
              for (var t = new Map(); e !== null;)
                (e.key === null ? t.set(e.index, e) : t.set(e.key, e),
                  (e = e.sibling));
              return t;
            }
            function i(e, t) {
              return ((e = xr(e, t)), (e.index = 0), (e.sibling = null), e);
            }
            function a(t, n, r) {
              return (
                (t.index = r),
                e
                  ? ((r = t.alternate),
                    r === null
                      ? ((t.flags |= 67108866), n)
                      : ((r = r.index), r < n ? ((t.flags |= 67108866), n) : r))
                  : ((t.flags |= 1048576), n)
              );
            }
            function o(t) {
              return (e && t.alternate === null && (t.flags |= 67108866), t);
            }
            function s(e, t, n, r) {
              return t === null || t.tag !== 6
                ? ((t = Er(n, e.mode, r)),
                  (t.return = e),
                  (t._debugOwner = e),
                  (t._debugTask = e._debugTask),
                  (t._debugInfo = Y),
                  t)
                : ((t = i(t, n)), (t.return = e), (t._debugInfo = Y), t);
            }
            function c(e, t, n, r) {
              var a = n.type;
              return a === jf
                ? ((t = u(e, t, n.props.children, r, n.key)), N(n, t, e), t)
                : t !== null &&
                    (t.elementType === a ||
                      gr(t, n) ||
                      (typeof a == `object` &&
                        a &&
                        a.$$typeof === Bf &&
                        Ii(a) === t.type))
                  ? ((t = i(t, n.props)),
                    Hi(t, n),
                    (t.return = e),
                    (t._debugOwner = n._owner),
                    (t._debugInfo = Y),
                    t)
                  : ((t = wr(n, e.mode, r)),
                    Hi(t, n),
                    (t.return = e),
                    (t._debugInfo = Y),
                    t);
            }
            function l(e, t, n, r) {
              return t === null ||
                t.tag !== 4 ||
                t.stateNode.containerInfo !== n.containerInfo ||
                t.stateNode.implementation !== n.implementation
                ? ((t = Or(n, e.mode, r)),
                  (t.return = e),
                  (t._debugInfo = Y),
                  t)
                : ((t = i(t, n.children || [])),
                  (t.return = e),
                  (t._debugInfo = Y),
                  t);
            }
            function u(e, t, n, r, a) {
              return t === null || t.tag !== 7
                ? ((t = Tr(n, e.mode, r, a)),
                  (t.return = e),
                  (t._debugOwner = e),
                  (t._debugTask = e._debugTask),
                  (t._debugInfo = Y),
                  t)
                : ((t = i(t, n)), (t.return = e), (t._debugInfo = Y), t);
            }
            function f(e, t, n) {
              if (
                (typeof t == `string` && t !== ``) ||
                typeof t == `number` ||
                typeof t == `bigint`
              )
                return (
                  (t = Er(`` + t, e.mode, n)),
                  (t.return = e),
                  (t._debugOwner = e),
                  (t._debugTask = e._debugTask),
                  (t._debugInfo = Y),
                  t
                );
              if (typeof t == `object` && t) {
                switch (t.$$typeof) {
                  case kf:
                    return (
                      (n = wr(t, e.mode, n)),
                      Hi(n, t),
                      (n.return = e),
                      (e = zi(t._debugInfo)),
                      (n._debugInfo = Y),
                      (Y = e),
                      n
                    );
                  case Af:
                    return (
                      (t = Or(t, e.mode, n)),
                      (t.return = e),
                      (t._debugInfo = Y),
                      t
                    );
                  case Bf:
                    var r = zi(t._debugInfo);
                    return ((t = Ii(t)), (e = f(e, t, n)), (Y = r), e);
                }
                if (Gf(t) || C(t))
                  return (
                    (n = Tr(t, e.mode, n, null)),
                    (n.return = e),
                    (n._debugOwner = e),
                    (n._debugTask = e._debugTask),
                    (e = zi(t._debugInfo)),
                    (n._debugInfo = Y),
                    (Y = e),
                    n
                  );
                if (typeof t.then == `function`)
                  return (
                    (r = zi(t._debugInfo)),
                    (e = f(e, Vi(t), n)),
                    (Y = r),
                    e
                  );
                if (t.$$typeof === Ff) return f(e, ri(e, t), n);
                Wi(e, t);
              }
              return (
                typeof t == `function` && Ki(e, t),
                typeof t == `symbol` && Ji(e, t),
                null
              );
            }
            function m(e, t, n, r) {
              var i = t === null ? null : t.key;
              if (
                (typeof n == `string` && n !== ``) ||
                typeof n == `number` ||
                typeof n == `bigint`
              )
                return i === null ? s(e, t, `` + n, r) : null;
              if (typeof n == `object` && n) {
                switch (n.$$typeof) {
                  case kf:
                    return n.key === i
                      ? ((i = zi(n._debugInfo)),
                        (e = c(e, t, n, r)),
                        (Y = i),
                        e)
                      : null;
                  case Af:
                    return n.key === i ? l(e, t, n, r) : null;
                  case Bf:
                    return (
                      (i = zi(n._debugInfo)),
                      (n = Ii(n)),
                      (e = m(e, t, n, r)),
                      (Y = i),
                      e
                    );
                }
                if (Gf(n) || C(n))
                  return i === null
                    ? ((i = zi(n._debugInfo)),
                      (e = u(e, t, n, r, null)),
                      (Y = i),
                      e)
                    : null;
                if (typeof n.then == `function`)
                  return (
                    (i = zi(n._debugInfo)),
                    (e = m(e, t, Vi(n), r)),
                    (Y = i),
                    e
                  );
                if (n.$$typeof === Ff) return m(e, t, ri(e, n), r);
                Wi(e, n);
              }
              return (
                typeof n == `function` && Ki(e, n),
                typeof n == `symbol` && Ji(e, n),
                null
              );
            }
            function h(e, t, n, r, i) {
              if (
                (typeof r == `string` && r !== ``) ||
                typeof r == `number` ||
                typeof r == `bigint`
              )
                return ((e = e.get(n) || null), s(t, e, `` + r, i));
              if (typeof r == `object` && r) {
                switch (r.$$typeof) {
                  case kf:
                    return (
                      (n = e.get(r.key === null ? n : r.key) || null),
                      (e = zi(r._debugInfo)),
                      (t = c(t, n, r, i)),
                      (Y = e),
                      t
                    );
                  case Af:
                    return (
                      (e = e.get(r.key === null ? n : r.key) || null),
                      l(t, e, r, i)
                    );
                  case Bf:
                    var a = zi(r._debugInfo);
                    return ((r = Ii(r)), (t = h(e, t, n, r, i)), (Y = a), t);
                }
                if (Gf(r) || C(r))
                  return (
                    (n = e.get(n) || null),
                    (e = zi(r._debugInfo)),
                    (t = u(t, n, r, i, null)),
                    (Y = e),
                    t
                  );
                if (typeof r.then == `function`)
                  return (
                    (a = zi(r._debugInfo)),
                    (t = h(e, t, n, Vi(r), i)),
                    (Y = a),
                    t
                  );
                if (r.$$typeof === Ff) return h(e, t, n, ri(t, r), i);
                Wi(t, r);
              }
              return (
                typeof r == `function` && Ki(t, r),
                typeof r == `symbol` && Ji(t, r),
                null
              );
            }
            function g(e, t, n, r) {
              if (typeof n != `object` || !n) return r;
              switch (n.$$typeof) {
                case kf:
                case Af:
                  d(e, t, n);
                  var i = n.key;
                  if (typeof i != `string`) break;
                  if (r === null) {
                    ((r = new Set()), r.add(i));
                    break;
                  }
                  if (!r.has(i)) {
                    r.add(i);
                    break;
                  }
                  A(t, function () {
                    console.error(
                      "Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",
                      i,
                    );
                  });
                  break;
                case Bf:
                  ((n = Ii(n)), g(e, t, n, r));
              }
              return r;
            }
            function _(i, o, s, c) {
              for (
                var l = null, u = null, d = null, p = o, _ = (o = 0), v = null;
                p !== null && _ < s.length;
                _++
              ) {
                p.index > _ ? ((v = p), (p = null)) : (v = p.sibling);
                var y = m(i, p, s[_], c);
                if (y === null) {
                  p === null && (p = v);
                  break;
                }
                ((l = g(i, y, s[_], l)),
                  e && p && y.alternate === null && t(i, p),
                  (o = a(y, o, _)),
                  d === null ? (u = y) : (d.sibling = y),
                  (d = y),
                  (p = v));
              }
              if (_ === s.length) return (n(i, p), e_ && Ar(i, _), u);
              if (p === null) {
                for (; _ < s.length; _++)
                  ((p = f(i, s[_], c)),
                    p !== null &&
                      ((l = g(i, p, s[_], l)),
                      (o = a(p, o, _)),
                      d === null ? (u = p) : (d.sibling = p),
                      (d = p)));
                return (e_ && Ar(i, _), u);
              }
              for (p = r(p); _ < s.length; _++)
                ((v = h(p, i, _, s[_], c)),
                  v !== null &&
                    ((l = g(i, v, s[_], l)),
                    e &&
                      v.alternate !== null &&
                      p.delete(v.key === null ? _ : v.key),
                    (o = a(v, o, _)),
                    d === null ? (u = v) : (d.sibling = v),
                    (d = v)));
              return (
                e &&
                  p.forEach(function (e) {
                    return t(i, e);
                  }),
                e_ && Ar(i, _),
                u
              );
            }
            function v(i, o, s, c) {
              if (s == null)
                throw Error(`An iterable object provided no iterator.`);
              for (
                var l = null,
                  u = null,
                  d = o,
                  p = (o = 0),
                  _ = null,
                  v = null,
                  y = s.next();
                d !== null && !y.done;
                p++, y = s.next()
              ) {
                d.index > p ? ((_ = d), (d = null)) : (_ = d.sibling);
                var b = m(i, d, y.value, c);
                if (b === null) {
                  d === null && (d = _);
                  break;
                }
                ((v = g(i, b, y.value, v)),
                  e && d && b.alternate === null && t(i, d),
                  (o = a(b, o, p)),
                  u === null ? (l = b) : (u.sibling = b),
                  (u = b),
                  (d = _));
              }
              if (y.done) return (n(i, d), e_ && Ar(i, p), l);
              if (d === null) {
                for (; !y.done; p++, y = s.next())
                  ((d = f(i, y.value, c)),
                    d !== null &&
                      ((v = g(i, d, y.value, v)),
                      (o = a(d, o, p)),
                      u === null ? (l = d) : (u.sibling = d),
                      (u = d)));
                return (e_ && Ar(i, p), l);
              }
              for (d = r(d); !y.done; p++, y = s.next())
                ((_ = h(d, i, p, y.value, c)),
                  _ !== null &&
                    ((v = g(i, _, y.value, v)),
                    e &&
                      _.alternate !== null &&
                      d.delete(_.key === null ? p : _.key),
                    (o = a(_, o, p)),
                    u === null ? (l = _) : (u.sibling = _),
                    (u = _)));
              return (
                e &&
                  d.forEach(function (e) {
                    return t(i, e);
                  }),
                e_ && Ar(i, p),
                l
              );
            }
            function y(e, r, a, s) {
              if (
                (typeof a == `object` &&
                  a &&
                  a.type === jf &&
                  a.key === null &&
                  (N(a, null, e), (a = a.props.children)),
                typeof a == `object` && a)
              ) {
                switch (a.$$typeof) {
                  case kf:
                    var c = zi(a._debugInfo);
                    a: {
                      for (var l = a.key; r !== null;) {
                        if (r.key === l) {
                          if (((l = a.type), l === jf)) {
                            if (r.tag === 7) {
                              (n(e, r.sibling),
                                (s = i(r, a.props.children)),
                                (s.return = e),
                                (s._debugOwner = a._owner),
                                (s._debugInfo = Y),
                                N(a, s, e),
                                (e = s));
                              break a;
                            }
                          } else if (
                            r.elementType === l ||
                            gr(r, a) ||
                            (typeof l == `object` &&
                              l &&
                              l.$$typeof === Bf &&
                              Ii(l) === r.type)
                          ) {
                            (n(e, r.sibling),
                              (s = i(r, a.props)),
                              Hi(s, a),
                              (s.return = e),
                              (s._debugOwner = a._owner),
                              (s._debugInfo = Y),
                              (e = s));
                            break a;
                          }
                          n(e, r);
                          break;
                        } else t(e, r);
                        r = r.sibling;
                      }
                      a.type === jf
                        ? ((s = Tr(a.props.children, e.mode, s, a.key)),
                          (s.return = e),
                          (s._debugOwner = e),
                          (s._debugTask = e._debugTask),
                          (s._debugInfo = Y),
                          N(a, s, e),
                          (e = s))
                        : ((s = wr(a, e.mode, s)),
                          Hi(s, a),
                          (s.return = e),
                          (s._debugInfo = Y),
                          (e = s));
                    }
                    return ((e = o(e)), (Y = c), e);
                  case Af:
                    a: {
                      for (c = a, a = c.key; r !== null;) {
                        if (r.key === a)
                          if (
                            r.tag === 4 &&
                            r.stateNode.containerInfo === c.containerInfo &&
                            r.stateNode.implementation === c.implementation
                          ) {
                            (n(e, r.sibling),
                              (s = i(r, c.children || [])),
                              (s.return = e),
                              (e = s));
                            break a;
                          } else {
                            n(e, r);
                            break;
                          }
                        else t(e, r);
                        r = r.sibling;
                      }
                      ((s = Or(c, e.mode, s)), (s.return = e), (e = s));
                    }
                    return o(e);
                  case Bf:
                    return (
                      (c = zi(a._debugInfo)),
                      (a = Ii(a)),
                      (e = y(e, r, a, s)),
                      (Y = c),
                      e
                    );
                }
                if (Gf(a))
                  return (
                    (c = zi(a._debugInfo)),
                    (e = _(e, r, a, s)),
                    (Y = c),
                    e
                  );
                if (C(a)) {
                  if (
                    ((c = zi(a._debugInfo)), (l = C(a)), typeof l != `function`)
                  )
                    throw Error(
                      `An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`,
                    );
                  var u = l.call(a);
                  return (
                    u === a
                      ? (e.tag !== 0 ||
                          Object.prototype.toString.call(e.type) !==
                            `[object GeneratorFunction]` ||
                          Object.prototype.toString.call(u) !==
                            `[object Generator]`) &&
                        (qv ||
                          console.error(
                            "Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items.",
                          ),
                        (qv = !0))
                      : a.entries !== l ||
                        Kv ||
                        (console.error(
                          `Using Maps as children is not supported. Use an array of keyed ReactElements instead.`,
                        ),
                        (Kv = !0)),
                    (e = v(e, r, u, s)),
                    (Y = c),
                    e
                  );
                }
                if (typeof a.then == `function`)
                  return (
                    (c = zi(a._debugInfo)),
                    (e = y(e, r, Vi(a), s)),
                    (Y = c),
                    e
                  );
                if (a.$$typeof === Ff) return y(e, r, ri(e, a), s);
                Wi(e, a);
              }
              return (typeof a == `string` && a !== ``) ||
                typeof a == `number` ||
                typeof a == `bigint`
                ? ((c = `` + a),
                  r !== null && r.tag === 6
                    ? (n(e, r.sibling), (s = i(r, c)), (s.return = e), (e = s))
                    : (n(e, r),
                      (s = Er(c, e.mode, s)),
                      (s.return = e),
                      (s._debugOwner = e),
                      (s._debugTask = e._debugTask),
                      (s._debugInfo = Y),
                      (e = s)),
                  o(e))
                : (typeof a == `function` && Ki(e, a),
                  typeof a == `symbol` && Ji(e, a),
                  n(e, r));
            }
            return function (e, t, n, r) {
              var i = Y;
              Y = null;
              try {
                Gv = 0;
                var a = y(e, t, n, r);
                return ((Wv = null), a);
              } catch (t) {
                if (t === Rv || t === Bv) throw t;
                var o = p(29, t, null, e.mode);
                ((o.lanes = r), (o.return = e));
                var s = (o._debugInfo = Y);
                if (
                  ((o._debugOwner = e._debugOwner),
                  (o._debugTask = e._debugTask),
                  s != null)
                ) {
                  for (var c = s.length - 1; 0 <= c; c--)
                    if (typeof s[c].stack == `string`) {
                      ((o._debugOwner = s[c]), (o._debugTask = s[c].debugTask));
                      break;
                    }
                }
                return o;
              } finally {
                Y = i;
              }
            };
          }
          function Xi(e, t) {
            var n = Gf(e);
            return (
              (e = !n && typeof C(e) == `function`),
              n || e
                ? ((n = n ? `array` : `iterable`),
                  console.error(
                    `A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,
                    n,
                    t,
                    n,
                  ),
                  !1)
                : !0
            );
          }
          function Zi(e) {
            e.updateQueue = {
              baseState: e.memoizedState,
              firstBaseUpdate: null,
              lastBaseUpdate: null,
              shared: { pending: null, lanes: 0, hiddenCallbacks: null },
              callbacks: null,
            };
          }
          function Qi(e, t) {
            ((e = e.updateQueue),
              t.updateQueue === e &&
                (t.updateQueue = {
                  baseState: e.baseState,
                  firstBaseUpdate: e.firstBaseUpdate,
                  lastBaseUpdate: e.lastBaseUpdate,
                  shared: e.shared,
                  callbacks: null,
                }));
          }
          function $i(e) {
            return {
              lane: e,
              tag: $v,
              payload: null,
              callback: null,
              next: null,
            };
          }
          function ea(e, t, n) {
            var r = e.updateQueue;
            if (r === null) return null;
            if (((r = r.shared), ay === r && !iy)) {
              var i = T(e);
              (console.error(
                `An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.

Please update the following component: %s`,
                i,
              ),
                (iy = !0));
            }
            return (Wb & Fb) === Pb
              ? (lr(e, r, t, n), pr(e))
              : ((i = r.pending),
                i === null ? (t.next = t) : ((t.next = i.next), (i.next = t)),
                (r.pending = t),
                (t = pr(e)),
                fr(e, null, n),
                t);
          }
          function ta(e, t, n) {
            if (
              ((t = t.updateQueue), t !== null && ((t = t.shared), n & 4194048))
            ) {
              var r = t.lanes;
              ((r &= e.pendingLanes), (n |= r), (t.lanes = n), ze(e, n));
            }
          }
          function na(e, t) {
            var n = e.updateQueue,
              r = e.alternate;
            if (r !== null && ((r = r.updateQueue), n === r)) {
              var i = null,
                a = null;
              if (((n = n.firstBaseUpdate), n !== null)) {
                do {
                  var o = {
                    lane: n.lane,
                    tag: n.tag,
                    payload: n.payload,
                    callback: null,
                    next: null,
                  };
                  (a === null ? (i = a = o) : (a = a.next = o), (n = n.next));
                } while (n !== null);
                a === null ? (i = a = t) : (a = a.next = t);
              } else i = a = t;
              ((n = {
                baseState: r.baseState,
                firstBaseUpdate: i,
                lastBaseUpdate: a,
                shared: r.shared,
                callbacks: r.callbacks,
              }),
                (e.updateQueue = n));
              return;
            }
            ((e = n.lastBaseUpdate),
              e === null ? (n.firstBaseUpdate = t) : (e.next = t),
              (n.lastBaseUpdate = t));
          }
          function ra() {
            if (oy) {
              var e = sv;
              if (e !== null) throw e;
            }
          }
          function ia(e, t, n, r) {
            oy = !1;
            var i = e.updateQueue;
            ((ry = !1), (ay = i.shared));
            var a = i.firstBaseUpdate,
              o = i.lastBaseUpdate,
              s = i.shared.pending;
            if (s !== null) {
              i.shared.pending = null;
              var c = s,
                l = c.next;
              ((c.next = null), o === null ? (a = l) : (o.next = l), (o = c));
              var u = e.alternate;
              u !== null &&
                ((u = u.updateQueue),
                (s = u.lastBaseUpdate),
                s !== o &&
                  (s === null ? (u.firstBaseUpdate = l) : (s.next = l),
                  (u.lastBaseUpdate = c)));
            }
            if (a !== null) {
              var d = i.baseState;
              ((o = 0), (u = l = c = null), (s = a));
              do {
                var f = s.lane & -536870913,
                  p = f !== s.lane;
                if (p ? ($ & f) === f : (r & f) === f) {
                  (f !== 0 && f === ov && (oy = !0),
                    u !== null &&
                      (u = u.next =
                        {
                          lane: 0,
                          tag: s.tag,
                          payload: s.payload,
                          callback: null,
                          next: null,
                        }));
                  a: {
                    f = e;
                    var m = s,
                      h = t,
                      g = n;
                    switch (m.tag) {
                      case ey:
                        if (((m = m.payload), typeof m == `function`)) {
                          d_ = !0;
                          var _ = m.call(g, d, h);
                          if (f.mode & Lg) {
                            Oe(!0);
                            try {
                              m.call(g, d, h);
                            } finally {
                              Oe(!1);
                            }
                          }
                          ((d_ = !1), (d = _));
                          break a;
                        }
                        d = m;
                        break a;
                      case ny:
                        f.flags = (f.flags & -65537) | 128;
                      case $v:
                        if (((_ = m.payload), typeof _ == `function`)) {
                          if (((d_ = !0), (m = _.call(g, d, h)), f.mode & Lg)) {
                            Oe(!0);
                            try {
                              _.call(g, d, h);
                            } finally {
                              Oe(!1);
                            }
                          }
                          d_ = !1;
                        } else m = _;
                        if (m == null) break a;
                        d = H({}, d, m);
                        break a;
                      case ty:
                        ry = !0;
                    }
                  }
                  ((f = s.callback),
                    f !== null &&
                      ((e.flags |= 64),
                      p && (e.flags |= 8192),
                      (p = i.callbacks),
                      p === null ? (i.callbacks = [f]) : p.push(f)));
                } else
                  ((p = {
                    lane: f,
                    tag: s.tag,
                    payload: s.payload,
                    callback: s.callback,
                    next: null,
                  }),
                    u === null ? ((l = u = p), (c = d)) : (u = u.next = p),
                    (o |= f));
                if (((s = s.next), s === null)) {
                  if (((s = i.shared.pending), s === null)) break;
                  ((p = s),
                    (s = p.next),
                    (p.next = null),
                    (i.lastBaseUpdate = p),
                    (i.shared.pending = null));
                }
              } while (1);
              (u === null && (c = d),
                (i.baseState = c),
                (i.firstBaseUpdate = l),
                (i.lastBaseUpdate = u),
                a === null && (i.shared.lanes = 0),
                (lx |= o),
                (e.lanes = o),
                (e.memoizedState = d));
            }
            ay = null;
          }
          function aa(e, t) {
            if (typeof e != `function`)
              throw Error(
                `Invalid argument passed as callback. Expected a function. Instead received: ` +
                  e,
              );
            e.call(t);
          }
          function oa(e, t) {
            var n = e.shared.hiddenCallbacks;
            if (n !== null)
              for (e.shared.hiddenCallbacks = null, e = 0; e < n.length; e++)
                aa(n[e], t);
          }
          function sa(e, t) {
            var n = e.callbacks;
            if (n !== null)
              for (e.callbacks = null, e = 0; e < n.length; e++) aa(n[e], t);
          }
          function ca(e, t) {
            var n = sx;
            (E(cy, n, e), E(sy, t, e), (sx = n | t.baseLanes));
          }
          function la(e) {
            (E(cy, sx, e), E(sy, sy.current, e));
          }
          function ua(e) {
            ((sx = cy.current), oe(sy, e), oe(cy, e));
          }
          function da(e) {
            var t = e.alternate;
            (E(py, py.current & dy, e),
              E(ly, e, e),
              uy === null &&
                (t === null ||
                  sy.current !== null ||
                  t.memoizedState !== null) &&
                (uy = e));
          }
          function fa(e) {
            (E(py, py.current, e), E(ly, e, e), uy === null && (uy = e));
          }
          function pa(e) {
            e.tag === 22
              ? (E(py, py.current, e), E(ly, e, e), uy === null && (uy = e))
              : ma(e);
          }
          function ma(e) {
            (E(py, py.current, e), E(ly, ly.current, e));
          }
          function ha(e) {
            (oe(ly, e), uy === e && (uy = null), oe(py, e));
          }
          function ga(e) {
            for (var t = e; t !== null;) {
              if (t.tag === 13) {
                var n = t.memoizedState;
                if (
                  n !== null &&
                  ((n = n.dehydrated), n === null || pd(n) || md(n))
                )
                  return t;
              } else if (
                t.tag === 19 &&
                (t.memoizedProps.revealOrder === `forwards` ||
                  t.memoizedProps.revealOrder === `backwards` ||
                  t.memoizedProps.revealOrder === `unstable_legacy-backwards` ||
                  t.memoizedProps.revealOrder === `together`)
              ) {
                if (t.flags & 128) return t;
              } else if (t.child !== null) {
                ((t.child.return = t), (t = t.child));
                continue;
              }
              if (t === e) break;
              for (; t.sibling === null;) {
                if (t.return === null || t.return === e) return null;
                t = t.return;
              }
              ((t.sibling.return = t.return), (t = t.sibling));
            }
            return null;
          }
          function P() {
            var e = Z;
            Fy === null ? (Fy = [e]) : Fy.push(e);
          }
          function F() {
            var e = Z;
            if (Fy !== null && (Iy++, Fy[Iy] !== e)) {
              var t = T(X);
              if (!by.has(t) && (by.add(t), Fy !== null)) {
                for (var n = ``, r = 0; r <= Iy; r++) {
                  var i = Fy[r],
                    a = r === Iy ? e : i;
                  for (i = r + 1 + `. ` + i; 30 > i.length;) i += ` `;
                  ((i +=
                    a +
                    `
`),
                    (n += i));
                }
                console.error(
                  `React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,
                  t,
                  n,
                );
              }
            }
          }
          function _a(e) {
            e == null ||
              Gf(e) ||
              console.error(
                "%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",
                Z,
                typeof e,
              );
          }
          function va() {
            var e = T(X);
            Cy.has(e) ||
              (Cy.add(e),
              console.error(
                `ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,
                e,
              ));
          }
          function ya() {
            throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);
          }
          function ba(e, t) {
            if (Ly) return !1;
            if (t === null)
              return (
                console.error(
                  `%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,
                  Z,
                ),
                !1
              );
            e.length !== t.length &&
              console.error(
                `The final argument passed to %s changed size between renders. The order and size of this array must remain constant.

Previous: %s
Incoming: %s`,
                Z,
                `[` + t.join(`, `) + `]`,
                `[` + e.join(`, `) + `]`,
              );
            for (var n = 0; n < t.length && n < e.length; n++)
              if (!Hh(e[n], t[n])) return !1;
            return !0;
          }
          function xa(e, t, n, r, i, a) {
            ((wy = a),
              (X = t),
              (Fy = e === null ? null : e._debugHookTypes),
              (Iy = -1),
              (Ly = e !== null && e.type !== t.type),
              (Object.prototype.toString.call(n) === `[object AsyncFunction]` ||
                Object.prototype.toString.call(n) ===
                  `[object AsyncGeneratorFunction]`) &&
                ((a = T(X)),
                Sy.has(a) ||
                  (Sy.add(a),
                  console.error(
                    "%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
                    a === null ? `An unknown Component` : `<` + a + `>`,
                  ))),
              (t.memoizedState = null),
              (t.updateQueue = null),
              (t.lanes = 0),
              (U.H =
                e !== null && e.memoizedState !== null
                  ? Vy
                  : Fy === null
                    ? zy
                    : By),
              (ky = a = (t.mode & Lg) !== G));
            var o = xv(n, r, i);
            if (((ky = !1), Oy && (o = Ca(t, n, r, i)), a)) {
              Oe(!0);
              try {
                o = Ca(t, n, r, i);
              } finally {
                Oe(!1);
              }
            }
            return (Sa(e, t), o);
          }
          function Sa(e, t) {
            ((t._debugHookTypes = Fy),
              t.dependencies === null
                ? My !== null &&
                  (t.dependencies = {
                    lanes: 0,
                    firstContext: null,
                    _debugThenableState: My,
                  })
                : (t.dependencies._debugThenableState = My),
              (U.H = Ry));
            var n = Ty !== null && Ty.next !== null;
            if (
              ((wy = 0),
              (Fy = Z = Ey = Ty = X = null),
              (Iy = -1),
              e !== null &&
                (e.flags & 65011712) != (t.flags & 65011712) &&
                console.error(
                  `Internal React error: Expected static flag was missing. Please notify the React team.`,
                ),
              (Dy = !1),
              (jy = 0),
              (My = null),
              n)
            )
              throw Error(
                `Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`,
              );
            (e === null ||
              sb ||
              ((e = e.dependencies), e !== null && ei(e) && (sb = !0)),
              Uv ? ((Uv = !1), (e = !0)) : (e = !1),
              e &&
                ((t = T(t) || `Unknown`),
                xy.has(t) ||
                  Sy.has(t) ||
                  (xy.add(t),
                  console.error(
                    "`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.",
                  ))));
          }
          function Ca(e, t, n, r) {
            X = e;
            var i = 0;
            do {
              if ((Oy && (My = null), (jy = 0), (Oy = !1), i >= Py))
                throw Error(
                  `Too many re-renders. React limits the number of renders to prevent an infinite loop.`,
                );
              if (
                ((i += 1), (Ly = !1), (Ey = Ty = null), e.updateQueue != null)
              ) {
                var a = e.updateQueue;
                ((a.lastEffect = null),
                  (a.events = null),
                  (a.stores = null),
                  a.memoCache != null && (a.memoCache.index = 0));
              }
              ((Iy = -1), (U.H = Hy), (a = xv(t, n, r)));
            } while (Oy);
            return a;
          }
          function wa() {
            var e = U.H,
              t = e.useState()[0];
            return (
              (t = typeof t.then == `function` ? Aa(t) : t),
              (e = e.useState()[0]),
              (Ty === null ? null : Ty.memoizedState) !== e &&
                (X.flags |= 1024),
              t
            );
          }
          function Ta() {
            var e = Ay !== 0;
            return ((Ay = 0), e);
          }
          function Ea(e, t, n) {
            ((t.updateQueue = e.updateQueue),
              (t.flags =
                (t.mode & Rg) === G ? t.flags & -2053 : t.flags & -402655237),
              (e.lanes &= ~n));
          }
          function Da(e) {
            if (Dy) {
              for (e = e.memoizedState; e !== null;) {
                var t = e.queue;
                (t !== null && (t.pending = null), (e = e.next));
              }
              Dy = !1;
            }
            ((wy = 0),
              (Fy = Ey = Ty = X = null),
              (Iy = -1),
              (Z = null),
              (Oy = !1),
              (jy = Ay = 0),
              (My = null));
          }
          function Oa() {
            var e = {
              memoizedState: null,
              baseState: null,
              baseQueue: null,
              queue: null,
              next: null,
            };
            return (
              Ey === null ? (X.memoizedState = Ey = e) : (Ey = Ey.next = e),
              Ey
            );
          }
          function I() {
            if (Ty === null) {
              var e = X.alternate;
              e = e === null ? null : e.memoizedState;
            } else e = Ty.next;
            var t = Ey === null ? X.memoizedState : Ey.next;
            if (t !== null) ((Ey = t), (Ty = e));
            else {
              if (e === null)
                throw X.alternate === null
                  ? Error(
                      `Update hook called on initial render. This is likely a bug in React. Please file an issue.`,
                    )
                  : Error(
                      `Rendered more hooks than during the previous render.`,
                    );
              ((Ty = e),
                (e = {
                  memoizedState: Ty.memoizedState,
                  baseState: Ty.baseState,
                  baseQueue: Ty.baseQueue,
                  queue: Ty.queue,
                  next: null,
                }),
                Ey === null ? (X.memoizedState = Ey = e) : (Ey = Ey.next = e));
            }
            return Ey;
          }
          function ka() {
            return {
              lastEffect: null,
              events: null,
              stores: null,
              memoCache: null,
            };
          }
          function Aa(e) {
            var t = jy;
            return (
              (jy += 1),
              My === null && (My = Ni()),
              (e = Fi(My, e, t)),
              (t = X),
              (Ey === null ? t.memoizedState : Ey.next) === null &&
                ((t = t.alternate),
                (U.H = t !== null && t.memoizedState !== null ? Vy : zy)),
              e
            );
          }
          function ja(e) {
            if (typeof e == `object` && e) {
              if (typeof e.then == `function`) return Aa(e);
              if (e.$$typeof === Ff) return ni(e);
            }
            throw Error(
              `An unsupported type was passed to use(): ` + String(e),
            );
          }
          function Ma(e) {
            var t = null,
              n = X.updateQueue;
            if ((n !== null && (t = n.memoCache), t == null)) {
              var r = X.alternate;
              r !== null &&
                ((r = r.updateQueue),
                r !== null &&
                  ((r = r.memoCache),
                  r != null &&
                    (t = {
                      data: r.data.map(function (e) {
                        return e.slice();
                      }),
                      index: 0,
                    })));
            }
            if (
              ((t ??= { data: [], index: 0 }),
              n === null && ((n = ka()), (X.updateQueue = n)),
              (n.memoCache = t),
              (n = t.data[t.index]),
              n === void 0 || Ly)
            )
              for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = Hf;
            else
              n.length !== e &&
                console.error(
                  `Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,
                  n.length,
                  e,
                );
            return (t.index++, n);
          }
          function Na(e, t) {
            return typeof t == `function` ? t(e) : t;
          }
          function Pa(e, t, n) {
            var r = Oa();
            if (n !== void 0) {
              var i = n(t);
              if (ky) {
                Oe(!0);
                try {
                  n(t);
                } finally {
                  Oe(!1);
                }
              }
            } else i = t;
            return (
              (r.memoizedState = r.baseState = i),
              (e = {
                pending: null,
                lanes: 0,
                dispatch: null,
                lastRenderedReducer: e,
                lastRenderedState: i,
              }),
              (r.queue = e),
              (e = e.dispatch = Ho.bind(null, X, e)),
              [r.memoizedState, e]
            );
          }
          function Fa(e) {
            return Ia(I(), Ty, e);
          }
          function Ia(e, t, n) {
            var r = e.queue;
            if (r === null)
              throw Error(
                `Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`,
              );
            r.lastRenderedReducer = n;
            var i = e.baseQueue,
              a = r.pending;
            if (a !== null) {
              if (i !== null) {
                var o = i.next;
                ((i.next = a.next), (a.next = o));
              }
              (t.baseQueue !== i &&
                console.error(
                  `Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`,
                ),
                (t.baseQueue = i = a),
                (r.pending = null));
            }
            if (((a = e.baseState), i === null)) e.memoizedState = a;
            else {
              t = i.next;
              var s = (o = null),
                c = null,
                l = t,
                u = !1;
              do {
                var d = l.lane & -536870913;
                if (d === l.lane ? (wy & d) === d : ($ & d) === d) {
                  var f = l.revertLane;
                  if (f === 0)
                    (c !== null &&
                      (c = c.next =
                        {
                          lane: 0,
                          revertLane: 0,
                          gesture: null,
                          action: l.action,
                          hasEagerState: l.hasEagerState,
                          eagerState: l.eagerState,
                          next: null,
                        }),
                      d === ov && (u = !0));
                  else if ((wy & f) === f) {
                    ((l = l.next), f === ov && (u = !0));
                    continue;
                  } else
                    ((d = {
                      lane: 0,
                      revertLane: l.revertLane,
                      gesture: null,
                      action: l.action,
                      hasEagerState: l.hasEagerState,
                      eagerState: l.eagerState,
                      next: null,
                    }),
                      c === null ? ((s = c = d), (o = a)) : (c = c.next = d),
                      (X.lanes |= f),
                      (lx |= f));
                  ((d = l.action),
                    ky && n(a, d),
                    (a = l.hasEagerState ? l.eagerState : n(a, d)));
                } else
                  ((f = {
                    lane: d,
                    revertLane: l.revertLane,
                    gesture: l.gesture,
                    action: l.action,
                    hasEagerState: l.hasEagerState,
                    eagerState: l.eagerState,
                    next: null,
                  }),
                    c === null ? ((s = c = f), (o = a)) : (c = c.next = f),
                    (X.lanes |= d),
                    (lx |= d));
                l = l.next;
              } while (l !== null && l !== t);
              if (
                (c === null ? (o = a) : (c.next = s),
                !Hh(a, e.memoizedState) &&
                  ((sb = !0), u && ((n = sv), n !== null)))
              )
                throw n;
              ((e.memoizedState = a),
                (e.baseState = o),
                (e.baseQueue = c),
                (r.lastRenderedState = a));
            }
            return (i === null && (r.lanes = 0), [e.memoizedState, r.dispatch]);
          }
          function La(e) {
            var t = I(),
              n = t.queue;
            if (n === null)
              throw Error(
                `Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`,
              );
            n.lastRenderedReducer = e;
            var r = n.dispatch,
              i = n.pending,
              a = t.memoizedState;
            if (i !== null) {
              n.pending = null;
              var o = (i = i.next);
              do ((a = e(a, o.action)), (o = o.next));
              while (o !== i);
              (Hh(a, t.memoizedState) || (sb = !0),
                (t.memoizedState = a),
                t.baseQueue === null && (t.baseState = a),
                (n.lastRenderedState = a));
            }
            return [a, r];
          }
          function Ra(e, t, n) {
            var r = X,
              i = Oa();
            if (e_) {
              if (n === void 0)
                throw Error(
                  `Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`,
                );
              var a = n();
              yy ||
                a === n() ||
                (console.error(
                  `The result of getServerSnapshot should be cached to avoid an infinite loop`,
                ),
                (yy = !0));
            } else {
              if (
                ((a = t()),
                yy ||
                  ((n = t()),
                  Hh(a, n) ||
                    (console.error(
                      `The result of getSnapshot should be cached to avoid an infinite loop`,
                    ),
                    (yy = !0))),
                Gb === null)
              )
                throw Error(
                  `Expected a work-in-progress root. This is a bug in React. Please file an issue.`,
                );
              $ & 127 || Ba(r, t, a);
            }
            return (
              (i.memoizedState = a),
              (n = { value: a, getSnapshot: t }),
              (i.queue = n),
              mo(Ha.bind(null, r, n, e), [e]),
              (r.flags |= 2048),
              lo(hy | vy, { destroy: void 0 }, Va.bind(null, r, n, a, t), null),
              a
            );
          }
          function za(e, t, n) {
            var r = X,
              i = I(),
              a = e_;
            if (a) {
              if (n === void 0)
                throw Error(
                  `Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`,
                );
              n = n();
            } else if (((n = t()), !yy)) {
              var o = t();
              Hh(n, o) ||
                (console.error(
                  `The result of getSnapshot should be cached to avoid an infinite loop`,
                ),
                (yy = !0));
            }
            if (
              ((o = !Hh((Ty || i).memoizedState, n)) &&
                ((i.memoizedState = n), (sb = !0)),
              (i = i.queue),
              po(2048, vy, Ha.bind(null, r, i, e), [e]),
              i.getSnapshot !== t ||
                o ||
                (Ey !== null && Ey.memoizedState.tag & hy))
            ) {
              if (
                ((r.flags |= 2048),
                lo(
                  hy | vy,
                  { destroy: void 0 },
                  Va.bind(null, r, i, n, t),
                  null,
                ),
                Gb === null)
              )
                throw Error(
                  `Expected a work-in-progress root. This is a bug in React. Please file an issue.`,
                );
              a || wy & 127 || Ba(r, t, n);
            }
            return n;
          }
          function Ba(e, t, n) {
            ((e.flags |= 16384),
              (e = { getSnapshot: t, value: n }),
              (t = X.updateQueue),
              t === null
                ? ((t = ka()), (X.updateQueue = t), (t.stores = [e]))
                : ((n = t.stores), n === null ? (t.stores = [e]) : n.push(e)));
          }
          function Va(e, t, n, r) {
            ((t.value = n), (t.getSnapshot = r), Ua(t) && Wa(e));
          }
          function Ha(e, t, n) {
            return n(function () {
              Ua(t) && (ci(2, `updateSyncExternalStore()`, e), Wa(e));
            });
          }
          function Ua(e) {
            var t = e.getSnapshot;
            e = e.value;
            try {
              var n = t();
              return !Hh(e, n);
            } catch {
              return !0;
            }
          }
          function Wa(e) {
            var t = dr(e, 2);
            t !== null && tl(t, e, 2);
          }
          function Ga(e) {
            var t = Oa();
            if (typeof e == `function`) {
              var n = e;
              if (((e = n()), ky)) {
                Oe(!0);
                try {
                  n();
                } finally {
                  Oe(!1);
                }
              }
            }
            return (
              (t.memoizedState = t.baseState = e),
              (t.queue = {
                pending: null,
                lanes: 0,
                dispatch: null,
                lastRenderedReducer: Na,
                lastRenderedState: e,
              }),
              t
            );
          }
          function Ka(e) {
            e = Ga(e);
            var t = e.queue,
              n = Uo.bind(null, X, t);
            return ((t.dispatch = n), [e.memoizedState, n]);
          }
          function qa(e) {
            var t = Oa();
            t.memoizedState = t.baseState = e;
            var n = {
              pending: null,
              lanes: 0,
              dispatch: null,
              lastRenderedReducer: null,
              lastRenderedState: null,
            };
            return (
              (t.queue = n),
              (t = Go.bind(null, X, !0, n)),
              (n.dispatch = t),
              [e, t]
            );
          }
          function Ja(e, t) {
            return Ya(I(), Ty, e, t);
          }
          function Ya(e, t, n, r) {
            return (
              (e.baseState = n),
              Ia(e, Ty, typeof r == `function` ? r : Na)
            );
          }
          function Xa(e, t) {
            var n = I();
            return Ty === null
              ? ((n.baseState = e), [e, n.queue.dispatch])
              : Ya(n, Ty, e, t);
          }
          function Za(e, t, n, r, i) {
            if (Ko(e)) throw Error(`Cannot update form state while rendering.`);
            if (((e = t.action), e !== null)) {
              var a = {
                payload: i,
                action: e,
                next: null,
                isTransition: !0,
                status: `pending`,
                value: null,
                reason: null,
                listeners: [],
                then: function (e) {
                  a.listeners.push(e);
                },
              };
              (U.T === null ? (a.isTransition = !1) : n(!0),
                r(a),
                (n = t.pending),
                n === null
                  ? ((a.next = t.pending = a), Qa(t, a))
                  : ((a.next = n.next), (t.pending = n.next = a)));
            }
          }
          function Qa(e, t) {
            var n = t.action,
              r = t.payload,
              i = e.state;
            if (t.isTransition) {
              var a = U.T,
                o = {};
              ((o._updatedFibers = new Set()), (U.T = o));
              try {
                var s = n(i, r),
                  c = U.S;
                (c !== null && c(o, s), $a(e, t, s));
              } catch (n) {
                to(e, t, n);
              } finally {
                (a !== null &&
                  o.types !== null &&
                  (a.types !== null &&
                    a.types !== o.types &&
                    console.error(
                      `We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`,
                    ),
                  (a.types = o.types)),
                  (U.T = a),
                  a === null &&
                    o._updatedFibers &&
                    ((e = o._updatedFibers.size),
                    o._updatedFibers.clear(),
                    10 < e &&
                      console.warn(
                        `Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`,
                      )));
              }
            } else
              try {
                ((o = n(i, r)), $a(e, t, o));
              } catch (n) {
                to(e, t, n);
              }
          }
          function $a(e, t, n) {
            typeof n == `object` && n && typeof n.then == `function`
              ? (U.asyncTransitions++,
                n.then(Ao, Ao),
                n.then(
                  function (n) {
                    eo(e, t, n);
                  },
                  function (n) {
                    return to(e, t, n);
                  },
                ),
                t.isTransition ||
                  console.error(
                    "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.",
                  ))
              : eo(e, t, n);
          }
          function eo(e, t, n) {
            ((t.status = `fulfilled`),
              (t.value = n),
              no(t),
              (e.state = n),
              (t = e.pending),
              t !== null &&
                ((n = t.next),
                n === t
                  ? (e.pending = null)
                  : ((n = n.next), (t.next = n), Qa(e, n))));
          }
          function to(e, t, n) {
            var r = e.pending;
            if (((e.pending = null), r !== null)) {
              r = r.next;
              do ((t.status = `rejected`), (t.reason = n), no(t), (t = t.next));
              while (t !== r);
            }
            e.action = null;
          }
          function no(e) {
            e = e.listeners;
            for (var t = 0; t < e.length; t++) (0, e[t])();
          }
          function ro(e, t) {
            return t;
          }
          function io(e, t) {
            if (e_) {
              var n = Gb.formState;
              if (n !== null) {
                a: {
                  var r = X;
                  if (e_) {
                    if ($g) {
                      b: {
                        for (var i = $g, a = i_; i.nodeType !== 8;) {
                          if (!a) {
                            i = null;
                            break b;
                          }
                          if (((i = gd(i.nextSibling)), i === null)) {
                            i = null;
                            break b;
                          }
                        }
                        ((a = i.data), (i = a === BS || a === VS ? i : null));
                      }
                      if (i) {
                        (($g = gd(i.nextSibling)), (r = i.data === BS));
                        break a;
                      }
                    }
                    Br(r);
                  }
                  r = !1;
                }
                r && (t = n[0]);
              }
            }
            return (
              (n = Oa()),
              (n.memoizedState = n.baseState = t),
              (r = {
                pending: null,
                lanes: 0,
                dispatch: null,
                lastRenderedReducer: ro,
                lastRenderedState: t,
              }),
              (n.queue = r),
              (n = Uo.bind(null, X, r)),
              (r.dispatch = n),
              (r = Ga(!1)),
              (a = Go.bind(null, X, !1, r.queue)),
              (r = Oa()),
              (i = { state: t, dispatch: null, action: e, pending: null }),
              (r.queue = i),
              (n = Za.bind(null, X, i, a, n)),
              (i.dispatch = n),
              (r.memoizedState = e),
              [t, n, !1]
            );
          }
          function ao(e) {
            return oo(I(), Ty, e);
          }
          function oo(e, t, n) {
            if (
              ((t = Ia(e, t, ro)[0]),
              (e = Fa(Na)[0]),
              typeof t == `object` && t && typeof t.then == `function`)
            )
              try {
                var r = Aa(t);
              } catch (e) {
                throw e === Rv ? Bv : e;
              }
            else r = t;
            t = I();
            var i = t.queue,
              a = i.dispatch;
            return (
              n !== t.memoizedState &&
                ((X.flags |= 2048),
                lo(hy | vy, { destroy: void 0 }, so.bind(null, i, n), null)),
              [r, a, e]
            );
          }
          function so(e, t) {
            e.action = t;
          }
          function co(e) {
            var t = I(),
              n = Ty;
            if (n !== null) return oo(t, n, e);
            (I(), (t = t.memoizedState), (n = I()));
            var r = n.queue.dispatch;
            return ((n.memoizedState = e), [t, r, !1]);
          }
          function lo(e, t, n, r) {
            return (
              (e = { tag: e, create: n, deps: r, inst: t, next: null }),
              (t = X.updateQueue),
              t === null && ((t = ka()), (X.updateQueue = t)),
              (n = t.lastEffect),
              n === null
                ? (t.lastEffect = e.next = e)
                : ((r = n.next),
                  (n.next = e),
                  (e.next = r),
                  (t.lastEffect = e)),
              e
            );
          }
          function uo(e) {
            var t = Oa();
            return ((e = { current: e }), (t.memoizedState = e));
          }
          function fo(e, t, n, r) {
            var i = Oa();
            ((X.flags |= e),
              (i.memoizedState = lo(
                hy | t,
                { destroy: void 0 },
                n,
                r === void 0 ? null : r,
              )));
          }
          function po(e, t, n, r) {
            var i = I();
            r = r === void 0 ? null : r;
            var a = i.memoizedState.inst;
            Ty !== null && r !== null && ba(r, Ty.memoizedState.deps)
              ? (i.memoizedState = lo(t, a, n, r))
              : ((X.flags |= e), (i.memoizedState = lo(hy | t, a, n, r)));
          }
          function mo(e, t) {
            (X.mode & Rg) === G
              ? fo(8390656, vy, e, t)
              : fo(276826112, vy, e, t);
          }
          function ho(e) {
            X.flags |= 4;
            var t = X.updateQueue;
            if (t === null) ((t = ka()), (X.updateQueue = t), (t.events = [e]));
            else {
              var n = t.events;
              n === null ? (t.events = [e]) : n.push(e);
            }
          }
          function go(e) {
            var t = Oa(),
              n = { impl: e };
            return (
              (t.memoizedState = n),
              function () {
                if ((Wb & Fb) !== Pb)
                  throw Error(
                    `A function wrapped in useEffectEvent can't be called during rendering.`,
                  );
                return n.impl.apply(void 0, arguments);
              }
            );
          }
          function L(e) {
            var t = I().memoizedState;
            return (
              ho({ ref: t, nextImpl: e }),
              function () {
                if ((Wb & Fb) !== Pb)
                  throw Error(
                    `A function wrapped in useEffectEvent can't be called during rendering.`,
                  );
                return t.impl.apply(void 0, arguments);
              }
            );
          }
          function _o(e, t) {
            var n = 4194308;
            return ((X.mode & Rg) !== G && (n |= 134217728), fo(n, _y, e, t));
          }
          function vo(e, t) {
            if (typeof t == `function`) {
              e = e();
              var n = t(e);
              return function () {
                typeof n == `function` ? n() : t(null);
              };
            }
            if (t != null)
              return (
                t.hasOwnProperty(`current`) ||
                  console.error(
                    `Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,
                    `an object with keys {` + Object.keys(t).join(`, `) + `}`,
                  ),
                (e = e()),
                (t.current = e),
                function () {
                  t.current = null;
                }
              );
          }
          function yo(e, t, n) {
            (typeof t != `function` &&
              console.error(
                `Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,
                t === null ? `null` : typeof t,
              ),
              (n = n == null ? null : n.concat([e])));
            var r = 4194308;
            ((X.mode & Rg) !== G && (r |= 134217728),
              fo(r, _y, vo.bind(null, t, e), n));
          }
          function bo(e, t, n) {
            (typeof t != `function` &&
              console.error(
                `Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,
                t === null ? `null` : typeof t,
              ),
              (n = n == null ? null : n.concat([e])),
              po(4, _y, vo.bind(null, t, e), n));
          }
          function xo(e, t) {
            return ((Oa().memoizedState = [e, t === void 0 ? null : t]), e);
          }
          function So(e, t) {
            var n = I();
            t = t === void 0 ? null : t;
            var r = n.memoizedState;
            return t !== null && ba(t, r[1])
              ? r[0]
              : ((n.memoizedState = [e, t]), e);
          }
          function Co(e, t) {
            var n = Oa();
            t = t === void 0 ? null : t;
            var r = e();
            if (ky) {
              Oe(!0);
              try {
                e();
              } finally {
                Oe(!1);
              }
            }
            return ((n.memoizedState = [r, t]), r);
          }
          function wo(e, t) {
            var n = I();
            t = t === void 0 ? null : t;
            var r = n.memoizedState;
            if (t !== null && ba(t, r[1])) return r[0];
            if (((r = e()), ky)) {
              Oe(!0);
              try {
                e();
              } finally {
                Oe(!1);
              }
            }
            return ((n.memoizedState = [r, t]), r);
          }
          function To(e, t) {
            return Oo(Oa(), e, t);
          }
          function Eo(e, t) {
            return ko(I(), Ty.memoizedState, e, t);
          }
          function Do(e, t) {
            var n = I();
            return Ty === null ? Oo(n, e, t) : ko(n, Ty.memoizedState, e, t);
          }
          function Oo(e, t, n) {
            return n === void 0 || (wy & 1073741824 && !($ & 261930))
              ? (e.memoizedState = t)
              : ((e.memoizedState = n),
                (e = el()),
                (X.lanes |= e),
                (lx |= e),
                n);
          }
          function ko(e, t, n, r) {
            return Hh(n, t)
              ? n
              : sy.current === null
                ? !(wy & 42) || (wy & 1073741824 && !($ & 261930))
                  ? ((sb = !0), (e.memoizedState = n))
                  : ((e = el()), (X.lanes |= e), (lx |= e), t)
                : ((e = Oo(e, n, r)), Hh(e, t) || (sb = !0), e);
          }
          function Ao() {
            U.asyncTransitions--;
          }
          function jo(e, t, n, r, i) {
            var a = Kf.p;
            Kf.p = a !== 0 && a < Bp ? a : Bp;
            var o = U.T,
              s = {};
            ((s._updatedFibers = new Set()), (U.T = s), Go(e, !1, t, n));
            try {
              var c = i(),
                l = U.S;
              if (
                (l !== null && l(s, c),
                typeof c == `object` && c && typeof c.then == `function`)
              ) {
                (U.asyncTransitions++, c.then(Ao, Ao));
                var u = ki(c, r);
                Wo(e, t, u, $c(e));
              } else Wo(e, t, r, $c(e));
            } catch (n) {
              Wo(
                e,
                t,
                { then: function () {}, status: `rejected`, reason: n },
                $c(e),
              );
            } finally {
              ((Kf.p = a),
                o !== null &&
                  s.types !== null &&
                  (o.types !== null &&
                    o.types !== s.types &&
                    console.error(
                      `We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.`,
                    ),
                  (o.types = s.types)),
                (U.T = o),
                o === null &&
                  s._updatedFibers &&
                  ((e = s._updatedFibers.size),
                  s._updatedFibers.clear(),
                  10 < e &&
                    console.warn(
                      `Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.`,
                    )));
            }
          }
          function Mo(e, t, n, r) {
            if (e.tag !== 5)
              throw Error(
                `Expected the form instance to be a HostComponent. This is a bug in React.`,
              );
            var i = No(e).queue;
            (li(e),
              jo(
                e,
                i,
                t,
                bC,
                n === null
                  ? u
                  : function () {
                      return (Po(e), n(r));
                    },
              ));
          }
          function No(e) {
            var t = e.memoizedState;
            if (t !== null) return t;
            t = {
              memoizedState: bC,
              baseState: bC,
              baseQueue: null,
              queue: {
                pending: null,
                lanes: 0,
                dispatch: null,
                lastRenderedReducer: Na,
                lastRenderedState: bC,
              },
              next: null,
            };
            var n = {};
            return (
              (t.next = {
                memoizedState: n,
                baseState: n,
                baseQueue: null,
                queue: {
                  pending: null,
                  lanes: 0,
                  dispatch: null,
                  lastRenderedReducer: Na,
                  lastRenderedState: n,
                },
                next: null,
              }),
              (e.memoizedState = t),
              (e = e.alternate),
              e !== null && (e.memoizedState = t),
              t
            );
          }
          function Po(e) {
            U.T === null &&
              console.error(
                `requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`,
              );
            var t = No(e);
            (t.next === null && (t = e.alternate.memoizedState),
              Wo(e, t.next.queue, {}, $c(e)));
          }
          function Fo() {
            var e = Ga(!1);
            return (
              (e = jo.bind(null, X, e.queue, !0, !1)),
              (Oa().memoizedState = e),
              [!1, e]
            );
          }
          function Io() {
            var e = Fa(Na)[0],
              t = I().memoizedState;
            return [typeof e == `boolean` ? e : Aa(e), t];
          }
          function Lo() {
            var e = La(Na)[0],
              t = I().memoizedState;
            return [typeof e == `boolean` ? e : Aa(e), t];
          }
          function Ro() {
            return ni(xC);
          }
          function zo() {
            var e = Oa(),
              t = Gb.identifierPrefix;
            if (e_) {
              var n = Zg,
                r = Xg;
              ((n = (r & ~(1 << (32 - Np(r) - 1))).toString(32) + n),
                (t = `_` + t + `R_` + n),
                (n = Ay++),
                0 < n && (t += `H` + n.toString(32)),
                (t += `_`));
            } else ((n = Ny++), (t = `_` + t + `r_` + n.toString(32) + `_`));
            return (e.memoizedState = t);
          }
          function Bo() {
            return (Oa().memoizedState = Vo.bind(null, X));
          }
          function Vo(e, t) {
            for (var n = e.return; n !== null;) {
              switch (n.tag) {
                case 24:
                case 3:
                  var r = $c(n),
                    i = $i(r),
                    a = ea(n, i, r);
                  (a !== null &&
                    (ci(r, `refresh()`, e), tl(a, n, r), ta(a, n, r)),
                    (e = ai()),
                    t != null &&
                      a !== null &&
                      console.error(
                        `The seed argument is not enabled outside experimental channels.`,
                      ),
                    (i.payload = { cache: e }));
                  return;
              }
              n = n.return;
            }
          }
          function Ho(e, t, n) {
            var r = arguments;
            (typeof r[3] == `function` &&
              console.error(
                `State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`,
              ),
              (r = $c(e)));
            var i = {
              lane: r,
              revertLane: 0,
              gesture: null,
              action: n,
              hasEagerState: !1,
              eagerState: null,
              next: null,
            };
            Ko(e)
              ? qo(t, i)
              : ((i = ur(e, t, i, r)),
                i !== null &&
                  (ci(r, `dispatch()`, e), tl(i, e, r), Jo(i, t, r)));
          }
          function Uo(e, t, n) {
            var r = arguments;
            (typeof r[3] == `function` &&
              console.error(
                `State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`,
              ),
              (r = $c(e)),
              Wo(e, t, n, r) && ci(r, `setState()`, e));
          }
          function Wo(e, t, n, r) {
            var i = {
              lane: r,
              revertLane: 0,
              gesture: null,
              action: n,
              hasEagerState: !1,
              eagerState: null,
              next: null,
            };
            if (Ko(e)) qo(t, i);
            else {
              var a = e.alternate;
              if (
                e.lanes === 0 &&
                (a === null || a.lanes === 0) &&
                ((a = t.lastRenderedReducer), a !== null)
              ) {
                var o = U.H;
                U.H = Wy;
                try {
                  var s = t.lastRenderedState,
                    c = a(s, n);
                  if (((i.hasEagerState = !0), (i.eagerState = c), Hh(c, s)))
                    return (lr(e, t, i, 0), Gb === null && cr(), !1);
                } catch {
                } finally {
                  U.H = o;
                }
              }
              if (((n = ur(e, t, i, r)), n !== null))
                return (tl(n, e, r), Jo(n, t, r), !0);
            }
            return !1;
          }
          function Go(e, t, n, r) {
            if (
              (U.T === null &&
                ov === 0 &&
                console.error(
                  `An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`,
                ),
              (r = {
                lane: 2,
                revertLane: tu(),
                gesture: null,
                action: r,
                hasEagerState: !1,
                eagerState: null,
                next: null,
              }),
              Ko(e))
            ) {
              if (t)
                throw Error(`Cannot update optimistic state while rendering.`);
              console.error(`Cannot call startTransition while rendering.`);
            } else
              ((t = ur(e, n, r, 2)),
                t !== null && (ci(2, `setOptimistic()`, e), tl(t, e, 2)));
          }
          function Ko(e) {
            var t = e.alternate;
            return e === X || (t !== null && t === X);
          }
          function qo(e, t) {
            Oy = Dy = !0;
            var n = e.pending;
            (n === null ? (t.next = t) : ((t.next = n.next), (n.next = t)),
              (e.pending = t));
          }
          function Jo(e, t, n) {
            if (n & 4194048) {
              var r = t.lanes;
              ((r &= e.pendingLanes), (n |= r), (t.lanes = n), ze(e, n));
            }
          }
          function Yo(e) {
            if (e !== null && typeof e != `function`) {
              var t = String(e);
              nb.has(t) ||
                (nb.add(t),
                console.error(
                  "Expected the last optional `callback` argument to be a function. Instead received: %s.",
                  e,
                ));
            }
          }
          function Xo(e, t, n, r) {
            var i = e.memoizedState,
              a = n(r, i);
            if (e.mode & Lg) {
              Oe(!0);
              try {
                a = n(r, i);
              } finally {
                Oe(!1);
              }
            }
            (a === void 0 &&
              ((t = w(t) || `Component`),
              Qy.has(t) ||
                (Qy.add(t),
                console.error(
                  `%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,
                  t,
                ))),
              (i = a == null ? i : H({}, i, a)),
              (e.memoizedState = i),
              e.lanes === 0 && (e.updateQueue.baseState = i));
          }
          function Zo(e, t, n, r, i, a, o) {
            var s = e.stateNode;
            if (typeof s.shouldComponentUpdate == `function`) {
              if (((n = s.shouldComponentUpdate(r, a, o)), e.mode & Lg)) {
                Oe(!0);
                try {
                  n = s.shouldComponentUpdate(r, a, o);
                } finally {
                  Oe(!1);
                }
              }
              return (
                n === void 0 &&
                  console.error(
                    `%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,
                    w(t) || `Component`,
                  ),
                n
              );
            }
            return t.prototype && t.prototype.isPureReactComponent
              ? !Pn(n, r) || !Pn(i, a)
              : !0;
          }
          function Qo(e, t, n, r) {
            var i = t.state;
            (typeof t.componentWillReceiveProps == `function` &&
              t.componentWillReceiveProps(n, r),
              typeof t.UNSAFE_componentWillReceiveProps == `function` &&
                t.UNSAFE_componentWillReceiveProps(n, r),
              t.state !== i &&
                ((e = T(e) || `Component`),
                qy.has(e) ||
                  (qy.add(e),
                  console.error(
                    `%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,
                    e,
                  )),
                rb.enqueueReplaceState(t, t.state, null)));
          }
          function $o(e, t) {
            var n = t;
            if (`ref` in t)
              for (var r in ((n = {}), t)) r !== `ref` && (n[r] = t[r]);
            if ((e = e.defaultProps))
              for (var i in (n === t && (n = H({}, n)), e))
                n[i] === void 0 && (n[i] = e[i]);
            return n;
          }
          function es(e) {
            (ug(e),
              console.warn(
                `%s

%s
`,
                ib
                  ? `An error occurred in the <` + ib + `> component.`
                  : `An error occurred in one of your React components.`,
                `Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`,
              ));
          }
          function ts(e) {
            var t = ib
                ? `The above error occurred in the <` + ib + `> component.`
                : `The above error occurred in one of your React components.`,
              n =
                `React will try to recreate this component tree from scratch using the error boundary you provided, ` +
                ((ab || `Anonymous`) + `.`);
            if (
              typeof e == `object` &&
              e &&
              typeof e.environmentName == `string`
            ) {
              var r = e.environmentName;
              ((e = [
                `%o

%s

%s
`,
                e,
                t,
                n,
              ].slice(0)),
                typeof e[0] == `string`
                  ? e.splice(0, 1, SC + ` ` + e[0], CC, TC + r + TC, wC)
                  : e.splice(0, 0, SC, CC, TC + r + TC, wC),
                e.unshift(console),
                (r = EC.apply(console.error, e)),
                r());
            } else
              console.error(
                `%o

%s

%s
`,
                e,
                t,
                n,
              );
          }
          function ns(e) {
            ug(e);
          }
          function rs(e, t) {
            try {
              ((ib = t.source ? T(t.source) : null), (ab = null));
              var n = t.value;
              if (U.actQueue !== null) U.thrownErrors.push(n);
              else {
                var r = e.onUncaughtError;
                r(n, { componentStack: t.stack });
              }
            } catch (e) {
              setTimeout(function () {
                throw e;
              });
            }
          }
          function is(e, t, n) {
            try {
              ((ib = n.source ? T(n.source) : null), (ab = T(t)));
              var r = e.onCaughtError;
              r(n.value, {
                componentStack: n.stack,
                errorBoundary: t.tag === 1 ? t.stateNode : null,
              });
            } catch (e) {
              setTimeout(function () {
                throw e;
              });
            }
          }
          function as(e, t, n) {
            return (
              (n = $i(n)),
              (n.tag = ny),
              (n.payload = { element: null }),
              (n.callback = function () {
                A(t.source, rs, e, t);
              }),
              n
            );
          }
          function os(e) {
            return ((e = $i(e)), (e.tag = ny), e);
          }
          function ss(e, t, n, r) {
            var i = n.type.getDerivedStateFromError;
            if (typeof i == `function`) {
              var a = r.value;
              ((e.payload = function () {
                return i(a);
              }),
                (e.callback = function () {
                  (_r(n), A(r.source, is, t, n, r));
                }));
            }
            var o = n.stateNode;
            o !== null &&
              typeof o.componentDidCatch == `function` &&
              (e.callback = function () {
                (_r(n),
                  A(r.source, is, t, n, r),
                  typeof i != `function` &&
                    (wx === null ? (wx = new Set([this])) : wx.add(this)),
                  kv(this, r),
                  typeof i == `function` ||
                    (!(n.lanes & 2) &&
                      console.error(
                        `%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,
                        T(n) || `Unknown`,
                      )));
              });
          }
          function cs(e, t, n, r, i) {
            if (
              ((n.flags |= 32768),
              Mp && Wl(e, i),
              typeof r == `object` && r && typeof r.then == `function`)
            ) {
              if (
                ((t = n.alternate),
                t !== null && $r(t, n, i, !0),
                e_ && (t_ = !0),
                (n = ly.current),
                n !== null)
              ) {
                switch (n.tag) {
                  case 31:
                  case 13:
                    return (
                      uy === null
                        ? hl()
                        : n.alternate === null && cx === Lb && (cx = Bb),
                      (n.flags &= -257),
                      (n.flags |= 65536),
                      (n.lanes = i),
                      r === Vv
                        ? (n.flags |= 16384)
                        : ((t = n.updateQueue),
                          t === null
                            ? (n.updateQueue = new Set([r]))
                            : t.add(r),
                          Fl(e, r, i)),
                      !1
                    );
                  case 22:
                    return (
                      (n.flags |= 65536),
                      r === Vv
                        ? (n.flags |= 16384)
                        : ((t = n.updateQueue),
                          t === null
                            ? ((t = {
                                transitions: null,
                                markerInstances: null,
                                retryQueue: new Set([r]),
                              }),
                              (n.updateQueue = t))
                            : ((n = t.retryQueue),
                              n === null
                                ? (t.retryQueue = new Set([r]))
                                : n.add(r)),
                          Fl(e, r, i)),
                      !1
                    );
                }
                throw Error(
                  `Unexpected Suspense handler tag (` +
                    n.tag +
                    `). This is a bug in React.`,
                );
              }
              return (Fl(e, r, i), hl(), !1);
            }
            if (e_)
              return (
                (t_ = !0),
                (t = ly.current),
                t === null
                  ? (r !== a_ &&
                      Kr(
                        kr(
                          Error(
                            `There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,
                            { cause: r },
                          ),
                          n,
                        ),
                      ),
                    (e = e.current.alternate),
                    (e.flags |= 65536),
                    (i &= -i),
                    (e.lanes |= i),
                    (r = kr(r, n)),
                    (i = as(e.stateNode, r, i)),
                    na(e, i),
                    cx !== Vb && (cx = zb))
                  : (!(t.flags & 65536) && (t.flags |= 256),
                    (t.flags |= 65536),
                    (t.lanes = i),
                    r !== a_ &&
                      Kr(
                        kr(
                          Error(
                            `There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,
                            { cause: r },
                          ),
                          n,
                        ),
                      )),
                !1
              );
            var a = kr(
              Error(
                `There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,
                { cause: r },
              ),
              n,
            );
            if (
              (mx === null ? (mx = [a]) : mx.push(a),
              cx !== Vb && (cx = zb),
              t === null)
            )
              return !0;
            ((r = kr(r, n)), (n = t));
            do {
              switch (n.tag) {
                case 3:
                  return (
                    (n.flags |= 65536),
                    (e = i & -i),
                    (n.lanes |= e),
                    (e = as(n.stateNode, r, e)),
                    na(n, e),
                    !1
                  );
                case 1:
                  if (
                    ((t = n.type),
                    (a = n.stateNode),
                    !(n.flags & 128) &&
                      (typeof t.getDerivedStateFromError == `function` ||
                        (a !== null &&
                          typeof a.componentDidCatch == `function` &&
                          (wx === null || !wx.has(a)))))
                  )
                    return (
                      (n.flags |= 65536),
                      (i &= -i),
                      (n.lanes |= i),
                      (i = os(i)),
                      ss(i, e, n, r),
                      na(n, i),
                      !1
                    );
              }
              n = n.return;
            } while (n !== null);
            return !1;
          }
          function ls(e, t, n, r) {
            t.child = e === null ? Qv(t, null, n, r) : Zv(t, e.child, n, r);
          }
          function us(e, t, n, r, i) {
            n = n.render;
            var a = t.ref;
            if (`ref` in r) {
              var o = {};
              for (var s in r) s !== `ref` && (o[s] = r[s]);
            } else o = r;
            return (
              ti(t),
              (r = xa(e, t, n, o, a, i)),
              (s = Ta()),
              e !== null && !sb
                ? (Ea(e, t, i), Ps(e, t, i))
                : (e_ && s && Mr(t), (t.flags |= 1), ls(e, t, r, i), t.child)
            );
          }
          function ds(e, t, n, r, i) {
            if (e === null) {
              var a = n.type;
              return typeof a == `function` &&
                !br(a) &&
                a.defaultProps === void 0 &&
                n.compare === null
                ? ((n = mr(a)),
                  (t.tag = 15),
                  (t.type = n),
                  ws(t, a),
                  fs(e, t, n, r, i))
                : ((e = Cr(n.type, null, r, t, t.mode, i)),
                  (e.ref = t.ref),
                  (e.return = t),
                  (t.child = e));
            }
            if (((a = e.child), !Fs(e, i))) {
              var o = a.memoizedProps;
              if (
                ((n = n.compare),
                (n = n === null ? Pn : n),
                n(o, r) && e.ref === t.ref)
              )
                return Ps(e, t, i);
            }
            return (
              (t.flags |= 1),
              (e = xr(a, r)),
              (e.ref = t.ref),
              (e.return = t),
              (t.child = e)
            );
          }
          function fs(e, t, n, r, i) {
            if (e !== null) {
              var a = e.memoizedProps;
              if (Pn(a, r) && e.ref === t.ref && t.type === e.type)
                if (((sb = !1), (t.pendingProps = r = a), Fs(e, i)))
                  e.flags & 131072 && (sb = !0);
                else return ((t.lanes = e.lanes), Ps(e, t, i));
            }
            return bs(e, t, n, r, i);
          }
          function ps(e, t, n, r) {
            var i = r.children,
              a = e === null ? null : e.memoizedState;
            if (
              (e === null &&
                t.stateNode === null &&
                (t.stateNode = {
                  _visibility: Og,
                  _pendingMarkers: null,
                  _retryCache: null,
                  _transitions: null,
                }),
              r.mode === `hidden`)
            ) {
              if (t.flags & 128) {
                if (((a = a === null ? n : a.baseLanes | n), e !== null)) {
                  for (r = t.child = e.child, i = 0; r !== null;)
                    ((i = i | r.lanes | r.childLanes), (r = r.sibling));
                  r = i & ~a;
                } else ((r = 0), (t.child = null));
                return hs(e, t, a, n, r);
              }
              if (n & 536870912)
                ((t.memoizedState = { baseLanes: 0, cachePool: null }),
                  e !== null && ji(t, a === null ? null : a.cachePool),
                  a === null ? la(t) : ca(t, a),
                  pa(t));
              else
                return (
                  (r = t.lanes = 536870912),
                  hs(e, t, a === null ? n : a.baseLanes | n, n, r)
                );
            } else
              a === null
                ? (e !== null && ji(t, null), la(t), ma(t))
                : (ji(t, a.cachePool),
                  ca(t, a),
                  ma(t),
                  (t.memoizedState = null));
            return (ls(e, t, i, n), t.child);
          }
          function ms(e, t) {
            return (
              (e !== null && e.tag === 22) ||
                t.stateNode !== null ||
                (t.stateNode = {
                  _visibility: Og,
                  _pendingMarkers: null,
                  _retryCache: null,
                  _transitions: null,
                }),
              t.sibling
            );
          }
          function hs(e, t, n, r, i) {
            var a = Ai();
            return (
              (a = a === null ? null : { parent: h_._currentValue, pool: a }),
              (t.memoizedState = { baseLanes: n, cachePool: a }),
              e !== null && ji(t, null),
              la(t),
              pa(t),
              e !== null && $r(e, t, r, !0),
              (t.childLanes = i),
              null
            );
          }
          function gs(e, t) {
            var n = t.hidden;
            return (
              n !== void 0 &&
                console.error(
                  `<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
- <Activity %s>
+ <Activity %s>`,
                  !0 === n
                    ? `hidden`
                    : !1 === n
                      ? `hidden={false}`
                      : `hidden={...}`,
                  n ? `mode="hidden"` : `mode="visible"`,
                ),
              (t = ks({ mode: t.mode, children: t.children }, e.mode)),
              (t.ref = e.ref),
              (e.child = t),
              (t.return = e),
              t
            );
          }
          function _s(e, t, n) {
            return (
              Zv(t, e.child, null, n),
              (e = gs(t, t.pendingProps)),
              (e.flags |= 2),
              ha(t),
              (t.memoizedState = null),
              e
            );
          }
          function vs(e, t, n) {
            var r = t.pendingProps,
              i = (t.flags & 128) != 0;
            if (((t.flags &= -129), e === null)) {
              if (e_) {
                if (r.mode === `hidden`)
                  return ((e = gs(t, r)), (t.lanes = 536870912), ms(null, e));
                if (
                  (fa(t),
                  (e = $g)
                    ? ((n = fd(e, i_)),
                      (n = n !== null && n.data === AS ? n : null),
                      n !== null &&
                        ((r = {
                          dehydrated: n,
                          treeContext: Pr(),
                          retryLane: 536870912,
                          hydrationErrors: null,
                        }),
                        (t.memoizedState = r),
                        (r = Dr(n)),
                        (r.return = t),
                        (t.child = r),
                        (Qg = t),
                        ($g = null)))
                    : (n = null),
                  n === null)
                )
                  throw (zr(t, e), Br(t));
                return ((t.lanes = 536870912), null);
              }
              return gs(t, r);
            }
            var a = e.memoizedState;
            if (a !== null) {
              var o = a.dehydrated;
              if ((fa(t), i))
                if (t.flags & 256) ((t.flags &= -257), (t = _s(e, t, n)));
                else if (t.memoizedState !== null)
                  ((t.child = e.child), (t.flags |= 128), (t = null));
                else
                  throw Error(
                    `Client rendering an Activity suspended it again. This is a bug in React.`,
                  );
              else if (
                (Rr(),
                n & 536870912 && ml(t),
                sb || $r(e, t, n, !1),
                (i = (n & e.childLanes) !== 0),
                sb || i)
              ) {
                if (
                  ((r = Gb),
                  r !== null && ((o = Be(r, n)), o !== 0 && o !== a.retryLane))
                )
                  throw ((a.retryLane = o), dr(e, o), tl(r, e, o), ob);
                (hl(), (t = _s(e, t, n)));
              } else
                ((e = a.treeContext),
                  ($g = gd(o.nextSibling)),
                  (Qg = t),
                  (e_ = !0),
                  (r_ = null),
                  (t_ = !1),
                  (n_ = null),
                  (i_ = !1),
                  e !== null && Fr(t, e),
                  (t = gs(t, r)),
                  (t.flags |= 4096));
              return t;
            }
            return (
              (a = e.child),
              (r = { mode: r.mode, children: r.children }),
              n & 536870912 && (n & e.lanes) !== 0 && ml(t),
              (e = xr(a, r)),
              (e.ref = t.ref),
              (t.child = e),
              (e.return = t),
              e
            );
          }
          function ys(e, t) {
            var n = t.ref;
            if (n === null)
              e !== null && e.ref !== null && (t.flags |= 4194816);
            else {
              if (typeof n != `function` && typeof n != `object`)
                throw Error(
                  `Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`,
                );
              (e === null || e.ref !== n) && (t.flags |= 4194816);
            }
          }
          function bs(e, t, n, r, i) {
            if (n.prototype && typeof n.prototype.render == `function`) {
              var a = w(n) || `Unknown`;
              cb[a] ||
                (console.error(
                  `The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,
                  a,
                  a,
                ),
                (cb[a] = !0));
            }
            return (
              t.mode & Lg && uv.recordLegacyContextWarning(t, null),
              e === null &&
                (ws(t, t.type),
                n.contextTypes &&
                  ((a = w(n) || `Unknown`),
                  ub[a] ||
                    ((ub[a] = !0),
                    console.error(
                      `%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,
                      a,
                    )))),
              ti(t),
              (n = xa(e, t, n, r, void 0, i)),
              (r = Ta()),
              e !== null && !sb
                ? (Ea(e, t, i), Ps(e, t, i))
                : (e_ && r && Mr(t), (t.flags |= 1), ls(e, t, n, i), t.child)
            );
          }
          function xs(e, t, n, r, i, a) {
            return (
              ti(t),
              (Iy = -1),
              (Ly = e !== null && e.type !== t.type),
              (t.updateQueue = null),
              (n = Ca(t, r, n, i)),
              Sa(e, t),
              (r = Ta()),
              e !== null && !sb
                ? (Ea(e, t, a), Ps(e, t, a))
                : (e_ && r && Mr(t), (t.flags |= 1), ls(e, t, n, a), t.child)
            );
          }
          function Ss(e, t, n, r, i) {
            switch (s(t)) {
              case !1:
                var a = t.stateNode,
                  o = new t.type(t.memoizedProps, a.context).state;
                a.updater.enqueueSetState(a, o, null);
                break;
              case !0:
                ((t.flags |= 128),
                  (t.flags |= 65536),
                  (a = Error(`Simulated error coming from DevTools`)));
                var c = i & -i;
                if (((t.lanes |= c), (o = Gb), o === null))
                  throw Error(
                    `Expected a work-in-progress root. This is a bug in React. Please file an issue.`,
                  );
                ((c = os(c)), ss(c, o, t, kr(a, t)), na(t, c));
            }
            if ((ti(t), t.stateNode === null)) {
              if (
                ((o = Ng),
                (a = n.contextType),
                `contextType` in n &&
                  a !== null &&
                  (a === void 0 || a.$$typeof !== Ff) &&
                  !tb.has(n) &&
                  (tb.add(n),
                  (c =
                    a === void 0
                      ? ` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`
                      : typeof a == `object`
                        ? a.$$typeof === Pf
                          ? ` Did you accidentally pass the Context.Consumer instead?`
                          : ` However, it is set to an object with keys {` +
                            Object.keys(a).join(`, `) +
                            `}.`
                        : ` However, it is set to a ` + typeof a + `.`),
                  console.error(
                    `%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,
                    w(n) || `Component`,
                    c,
                  )),
                typeof a == `object` && a && (o = ni(a)),
                (a = new n(r, o)),
                t.mode & Lg)
              ) {
                Oe(!0);
                try {
                  a = new n(r, o);
                } finally {
                  Oe(!1);
                }
              }
              if (
                ((o = t.memoizedState =
                  a.state !== null && a.state !== void 0 ? a.state : null),
                (a.updater = rb),
                (t.stateNode = a),
                (a._reactInternals = t),
                (a._reactInternalInstance = Ky),
                typeof n.getDerivedStateFromProps == `function` &&
                  o === null &&
                  ((o = w(n) || `Component`),
                  Jy.has(o) ||
                    (Jy.add(o),
                    console.error(
                      "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",
                      o,
                      a.state === null ? `null` : `undefined`,
                      o,
                    ))),
                typeof n.getDerivedStateFromProps == `function` ||
                  typeof a.getSnapshotBeforeUpdate == `function`)
              ) {
                var l = (c = o = null);
                if (
                  (typeof a.componentWillMount == `function` &&
                  !0 !== a.componentWillMount.__suppressDeprecationWarning
                    ? (o = `componentWillMount`)
                    : typeof a.UNSAFE_componentWillMount == `function` &&
                      (o = `UNSAFE_componentWillMount`),
                  typeof a.componentWillReceiveProps == `function` &&
                  !0 !==
                    a.componentWillReceiveProps.__suppressDeprecationWarning
                    ? (c = `componentWillReceiveProps`)
                    : typeof a.UNSAFE_componentWillReceiveProps == `function` &&
                      (c = `UNSAFE_componentWillReceiveProps`),
                  typeof a.componentWillUpdate == `function` &&
                  !0 !== a.componentWillUpdate.__suppressDeprecationWarning
                    ? (l = `componentWillUpdate`)
                    : typeof a.UNSAFE_componentWillUpdate == `function` &&
                      (l = `UNSAFE_componentWillUpdate`),
                  o !== null || c !== null || l !== null)
                ) {
                  a = w(n) || `Component`;
                  var u =
                    typeof n.getDerivedStateFromProps == `function`
                      ? `getDerivedStateFromProps()`
                      : `getSnapshotBeforeUpdate()`;
                  Xy.has(a) ||
                    (Xy.add(a),
                    console.error(
                      `Unsafe legacy lifecycles will not be called for components using new component APIs.

%s uses %s but also contains the following legacy lifecycles:%s%s%s

The above lifecycles should be removed. Learn more about this warning here:
https://react.dev/link/unsafe-component-lifecycles`,
                      a,
                      u,
                      o === null
                        ? ``
                        : `
  ` + o,
                      c === null
                        ? ``
                        : `
  ` + c,
                      l === null
                        ? ``
                        : `
  ` + l,
                    ));
                }
              }
              ((a = t.stateNode),
                (o = w(n) || `Component`),
                a.render ||
                  (n.prototype && typeof n.prototype.render == `function`
                    ? console.error(
                        "No `render` method found on the %s instance: did you accidentally return an object from the constructor?",
                        o,
                      )
                    : console.error(
                        "No `render` method found on the %s instance: you may have forgotten to define `render`.",
                        o,
                      )),
                !a.getInitialState ||
                  a.getInitialState.isReactClassApproved ||
                  a.state ||
                  console.error(
                    `getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,
                    o,
                  ),
                a.getDefaultProps &&
                  !a.getDefaultProps.isReactClassApproved &&
                  console.error(
                    `getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,
                    o,
                  ),
                a.contextType &&
                  console.error(
                    `contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,
                    o,
                  ),
                n.childContextTypes &&
                  !eb.has(n) &&
                  (eb.add(n),
                  console.error(
                    `%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,
                    o,
                  )),
                n.contextTypes &&
                  !$y.has(n) &&
                  ($y.add(n),
                  console.error(
                    `%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,
                    o,
                  )),
                typeof a.componentShouldUpdate == `function` &&
                  console.error(
                    `%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,
                    o,
                  ),
                n.prototype &&
                  n.prototype.isPureReactComponent &&
                  a.shouldComponentUpdate !== void 0 &&
                  console.error(
                    `%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,
                    w(n) || `A pure component`,
                  ),
                typeof a.componentDidUnmount == `function` &&
                  console.error(
                    `%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,
                    o,
                  ),
                typeof a.componentDidReceiveProps == `function` &&
                  console.error(
                    `%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,
                    o,
                  ),
                typeof a.componentWillRecieveProps == `function` &&
                  console.error(
                    `%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,
                    o,
                  ),
                typeof a.UNSAFE_componentWillRecieveProps == `function` &&
                  console.error(
                    `%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,
                    o,
                  ),
                (c = a.props !== r),
                a.props !== void 0 &&
                  c &&
                  console.error(
                    "When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",
                    o,
                  ),
                a.defaultProps &&
                  console.error(
                    `Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,
                    o,
                    o,
                  ),
                typeof a.getSnapshotBeforeUpdate != `function` ||
                  typeof a.componentDidUpdate == `function` ||
                  Yy.has(n) ||
                  (Yy.add(n),
                  console.error(
                    `%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,
                    w(n),
                  )),
                typeof a.getDerivedStateFromProps == `function` &&
                  console.error(
                    `%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,
                    o,
                  ),
                typeof a.getDerivedStateFromError == `function` &&
                  console.error(
                    `%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,
                    o,
                  ),
                typeof n.getSnapshotBeforeUpdate == `function` &&
                  console.error(
                    `%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,
                    o,
                  ),
                (c = a.state) &&
                  (typeof c != `object` || Gf(c)) &&
                  console.error(
                    `%s.state: must be set to an object or null`,
                    o,
                  ),
                typeof a.getChildContext == `function` &&
                  typeof n.childContextTypes != `object` &&
                  console.error(
                    `%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,
                    o,
                  ),
                (a = t.stateNode),
                (a.props = r),
                (a.state = t.memoizedState),
                (a.refs = {}),
                Zi(t),
                (o = n.contextType),
                (a.context = typeof o == `object` && o ? ni(o) : Ng),
                a.state === r &&
                  ((o = w(n) || `Component`),
                  Zy.has(o) ||
                    (Zy.add(o),
                    console.error(
                      `%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,
                      o,
                    ))),
                t.mode & Lg && uv.recordLegacyContextWarning(t, a),
                uv.recordUnsafeLifecycleWarnings(t, a),
                (a.state = t.memoizedState),
                (o = n.getDerivedStateFromProps),
                typeof o == `function` &&
                  (Xo(t, n, o, r), (a.state = t.memoizedState)),
                typeof n.getDerivedStateFromProps == `function` ||
                  typeof a.getSnapshotBeforeUpdate == `function` ||
                  (typeof a.UNSAFE_componentWillMount != `function` &&
                    typeof a.componentWillMount != `function`) ||
                  ((o = a.state),
                  typeof a.componentWillMount == `function` &&
                    a.componentWillMount(),
                  typeof a.UNSAFE_componentWillMount == `function` &&
                    a.UNSAFE_componentWillMount(),
                  o !== a.state &&
                    (console.error(
                      `%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,
                      T(t) || `Component`,
                    ),
                    rb.enqueueReplaceState(a, a.state, null)),
                  ia(t, r, a, i),
                  ra(),
                  (a.state = t.memoizedState)),
                typeof a.componentDidMount == `function` &&
                  (t.flags |= 4194308),
                (t.mode & Rg) !== G && (t.flags |= 134217728),
                (a = !0));
            } else if (e === null) {
              a = t.stateNode;
              var d = t.memoizedProps;
              ((c = $o(n, d)), (a.props = c));
              var f = a.context;
              ((l = n.contextType),
                (o = Ng),
                typeof l == `object` && l && (o = ni(l)),
                (u = n.getDerivedStateFromProps),
                (l =
                  typeof u == `function` ||
                  typeof a.getSnapshotBeforeUpdate == `function`),
                (d = t.pendingProps !== d),
                l ||
                  (typeof a.UNSAFE_componentWillReceiveProps != `function` &&
                    typeof a.componentWillReceiveProps != `function`) ||
                  ((d || f !== o) && Qo(t, a, r, o)),
                (ry = !1));
              var p = t.memoizedState;
              ((a.state = p),
                ia(t, r, a, i),
                ra(),
                (f = t.memoizedState),
                d || p !== f || ry
                  ? (typeof u == `function` &&
                      (Xo(t, n, u, r), (f = t.memoizedState)),
                    (c = ry || Zo(t, n, c, r, p, f, o))
                      ? (l ||
                          (typeof a.UNSAFE_componentWillMount != `function` &&
                            typeof a.componentWillMount != `function`) ||
                          (typeof a.componentWillMount == `function` &&
                            a.componentWillMount(),
                          typeof a.UNSAFE_componentWillMount == `function` &&
                            a.UNSAFE_componentWillMount()),
                        typeof a.componentDidMount == `function` &&
                          (t.flags |= 4194308),
                        (t.mode & Rg) !== G && (t.flags |= 134217728))
                      : (typeof a.componentDidMount == `function` &&
                          (t.flags |= 4194308),
                        (t.mode & Rg) !== G && (t.flags |= 134217728),
                        (t.memoizedProps = r),
                        (t.memoizedState = f)),
                    (a.props = r),
                    (a.state = f),
                    (a.context = o),
                    (a = c))
                  : (typeof a.componentDidMount == `function` &&
                      (t.flags |= 4194308),
                    (t.mode & Rg) !== G && (t.flags |= 134217728),
                    (a = !1)));
            } else {
              ((a = t.stateNode),
                Qi(e, t),
                (o = t.memoizedProps),
                (l = $o(n, o)),
                (a.props = l),
                (u = t.pendingProps),
                (p = a.context),
                (f = n.contextType),
                (c = Ng),
                typeof f == `object` && f && (c = ni(f)),
                (d = n.getDerivedStateFromProps),
                (f =
                  typeof d == `function` ||
                  typeof a.getSnapshotBeforeUpdate == `function`) ||
                  (typeof a.UNSAFE_componentWillReceiveProps != `function` &&
                    typeof a.componentWillReceiveProps != `function`) ||
                  ((o !== u || p !== c) && Qo(t, a, r, c)),
                (ry = !1),
                (p = t.memoizedState),
                (a.state = p),
                ia(t, r, a, i),
                ra());
              var m = t.memoizedState;
              o !== u ||
              p !== m ||
              ry ||
              (e !== null && e.dependencies !== null && ei(e.dependencies))
                ? (typeof d == `function` &&
                    (Xo(t, n, d, r), (m = t.memoizedState)),
                  (l =
                    ry ||
                    Zo(t, n, l, r, p, m, c) ||
                    (e !== null &&
                      e.dependencies !== null &&
                      ei(e.dependencies)))
                    ? (f ||
                        (typeof a.UNSAFE_componentWillUpdate != `function` &&
                          typeof a.componentWillUpdate != `function`) ||
                        (typeof a.componentWillUpdate == `function` &&
                          a.componentWillUpdate(r, m, c),
                        typeof a.UNSAFE_componentWillUpdate == `function` &&
                          a.UNSAFE_componentWillUpdate(r, m, c)),
                      typeof a.componentDidUpdate == `function` &&
                        (t.flags |= 4),
                      typeof a.getSnapshotBeforeUpdate == `function` &&
                        (t.flags |= 1024))
                    : (typeof a.componentDidUpdate != `function` ||
                        (o === e.memoizedProps && p === e.memoizedState) ||
                        (t.flags |= 4),
                      typeof a.getSnapshotBeforeUpdate != `function` ||
                        (o === e.memoizedProps && p === e.memoizedState) ||
                        (t.flags |= 1024),
                      (t.memoizedProps = r),
                      (t.memoizedState = m)),
                  (a.props = r),
                  (a.state = m),
                  (a.context = c),
                  (a = l))
                : (typeof a.componentDidUpdate != `function` ||
                    (o === e.memoizedProps && p === e.memoizedState) ||
                    (t.flags |= 4),
                  typeof a.getSnapshotBeforeUpdate != `function` ||
                    (o === e.memoizedProps && p === e.memoizedState) ||
                    (t.flags |= 1024),
                  (a = !1));
            }
            if (((c = a), ys(e, t), (o = (t.flags & 128) != 0), c || o)) {
              if (
                ((c = t.stateNode),
                xe(t),
                o && typeof n.getDerivedStateFromError != `function`)
              )
                ((n = null), (w_ = -1));
              else if (((n = Cv(c)), t.mode & Lg)) {
                Oe(!0);
                try {
                  Cv(c);
                } finally {
                  Oe(!1);
                }
              }
              ((t.flags |= 1),
                e !== null && o
                  ? ((t.child = Zv(t, e.child, null, i)),
                    (t.child = Zv(t, null, n, i)))
                  : ls(e, t, n, i),
                (t.memoizedState = c.state),
                (e = t.child));
            } else e = Ps(e, t, i);
            return (
              (i = t.stateNode),
              a &&
                i.props !== r &&
                (fb ||
                  console.error(
                    "It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
                    T(t) || `a component`,
                  ),
                (fb = !0)),
              e
            );
          }
          function Cs(e, t, n, r) {
            return (Wr(), (t.flags |= 256), ls(e, t, n, r), t.child);
          }
          function ws(e, t) {
            (t &&
              t.childContextTypes &&
              console.error(
                `childContextTypes cannot be defined on a function component.
  %s.childContextTypes = ...`,
                t.displayName || t.name || `Component`,
              ),
              typeof t.getDerivedStateFromProps == `function` &&
                ((e = w(t) || `Unknown`),
                db[e] ||
                  (console.error(
                    `%s: Function components do not support getDerivedStateFromProps.`,
                    e,
                  ),
                  (db[e] = !0))),
              typeof t.contextType == `object` &&
                t.contextType !== null &&
                ((t = w(t) || `Unknown`),
                lb[t] ||
                  (console.error(
                    `%s: Function components do not support contextType.`,
                    t,
                  ),
                  (lb[t] = !0))));
          }
          function Ts(e) {
            return { baseLanes: e, cachePool: Mi() };
          }
          function Es(e, t, n) {
            return (
              (e = e === null ? 0 : e.childLanes & ~n),
              t && (e |= fx),
              e
            );
          }
          function Ds(e, t, n) {
            var r,
              i = t.pendingProps;
            o(t) && (t.flags |= 128);
            var a = !1,
              s = (t.flags & 128) != 0;
            if (
              ((r = s) ||
                (r =
                  e !== null && e.memoizedState === null
                    ? !1
                    : (py.current & fy) !== 0),
              r && ((a = !0), (t.flags &= -129)),
              (r = (t.flags & 32) != 0),
              (t.flags &= -33),
              e === null)
            ) {
              if (e_) {
                if (
                  (a ? da(t) : ma(t),
                  (e = $g)
                    ? ((n = fd(e, i_)),
                      (n = n !== null && n.data !== AS ? n : null),
                      n !== null &&
                        ((r = {
                          dehydrated: n,
                          treeContext: Pr(),
                          retryLane: 536870912,
                          hydrationErrors: null,
                        }),
                        (t.memoizedState = r),
                        (r = Dr(n)),
                        (r.return = t),
                        (t.child = r),
                        (Qg = t),
                        ($g = null)))
                    : (n = null),
                  n === null)
                )
                  throw (zr(t, e), Br(t));
                return (md(n) ? (t.lanes = 32) : (t.lanes = 536870912), null);
              }
              var c = i.children;
              if (((i = i.fallback), a)) {
                ma(t);
                var l = t.mode;
                return (
                  (c = ks({ mode: `hidden`, children: c }, l)),
                  (i = Tr(i, l, n, null)),
                  (c.return = t),
                  (i.return = t),
                  (c.sibling = i),
                  (t.child = c),
                  (i = t.child),
                  (i.memoizedState = Ts(n)),
                  (i.childLanes = Es(e, r, n)),
                  (t.memoizedState = hb),
                  ms(null, i)
                );
              }
              return (da(t), Os(t, c));
            }
            var u = e.memoizedState;
            if (u !== null) {
              var d = u.dehydrated;
              if (d !== null) {
                if (s)
                  t.flags & 256
                    ? (da(t), (t.flags &= -257), (t = As(e, t, n)))
                    : t.memoizedState === null
                      ? (ma(t),
                        (c = i.fallback),
                        (l = t.mode),
                        (i = ks({ mode: `visible`, children: i.children }, l)),
                        (c = Tr(c, l, n, null)),
                        (c.flags |= 2),
                        (i.return = t),
                        (c.return = t),
                        (i.sibling = c),
                        (t.child = i),
                        Zv(t, e.child, null, n),
                        (i = t.child),
                        (i.memoizedState = Ts(n)),
                        (i.childLanes = Es(e, r, n)),
                        (t.memoizedState = hb),
                        (t = ms(null, i)))
                      : (ma(t),
                        (t.child = e.child),
                        (t.flags |= 128),
                        (t = null));
                else if ((da(t), Rr(), n & 536870912 && ml(t), md(d))) {
                  if (((r = d.nextSibling && d.nextSibling.dataset), r)) {
                    c = r.dgst;
                    var f = r.msg;
                    l = r.stck;
                    var p = r.cstck;
                  }
                  ((a = f),
                    (r = c),
                    (i = l),
                    (d = p),
                    (c = a),
                    (l = d),
                    (c = Error(
                      c ||
                        `The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`,
                    )),
                    (c.stack = i || ``),
                    (c.digest = r),
                    (r = l === void 0 ? null : l),
                    (i = { value: c, source: null, stack: r }),
                    typeof r == `string` && Hg.set(c, i),
                    Kr(i),
                    (t = As(e, t, n)));
                } else if (
                  (sb || $r(e, t, n, !1),
                  (r = (n & e.childLanes) !== 0),
                  sb || r)
                ) {
                  if (
                    ((r = Gb),
                    r !== null &&
                      ((i = Be(r, n)), i !== 0 && i !== u.retryLane))
                  )
                    throw ((u.retryLane = i), dr(e, i), tl(r, e, i), ob);
                  (pd(d) || hl(), (t = As(e, t, n)));
                } else
                  pd(d)
                    ? ((t.flags |= 192), (t.child = e.child), (t = null))
                    : ((e = u.treeContext),
                      ($g = gd(d.nextSibling)),
                      (Qg = t),
                      (e_ = !0),
                      (r_ = null),
                      (t_ = !1),
                      (n_ = null),
                      (i_ = !1),
                      e !== null && Fr(t, e),
                      (t = Os(t, i.children)),
                      (t.flags |= 4096));
                return t;
              }
            }
            return a
              ? (ma(t),
                (c = i.fallback),
                (l = t.mode),
                (p = e.child),
                (d = p.sibling),
                (i = xr(p, { mode: `hidden`, children: i.children })),
                (i.subtreeFlags = p.subtreeFlags & 65011712),
                d === null
                  ? ((c = Tr(c, l, n, null)), (c.flags |= 2))
                  : (c = xr(d, c)),
                (c.return = t),
                (i.return = t),
                (i.sibling = c),
                (t.child = i),
                ms(null, i),
                (i = t.child),
                (c = e.child.memoizedState),
                c === null
                  ? (c = Ts(n))
                  : ((l = c.cachePool),
                    l === null
                      ? (l = Mi())
                      : ((p = h_._currentValue),
                        (l = l.parent === p ? l : { parent: p, pool: p })),
                    (c = { baseLanes: c.baseLanes | n, cachePool: l })),
                (i.memoizedState = c),
                (i.childLanes = Es(e, r, n)),
                (t.memoizedState = hb),
                ms(e.child, i))
              : (u !== null &&
                  (n & 62914560) === n &&
                  (n & e.lanes) !== 0 &&
                  ml(t),
                da(t),
                (n = e.child),
                (e = n.sibling),
                (n = xr(n, { mode: `visible`, children: i.children })),
                (n.return = t),
                (n.sibling = null),
                e !== null &&
                  ((r = t.deletions),
                  r === null
                    ? ((t.deletions = [e]), (t.flags |= 16))
                    : r.push(e)),
                (t.child = n),
                (t.memoizedState = null),
                n);
          }
          function Os(e, t) {
            return (
              (t = ks({ mode: `visible`, children: t }, e.mode)),
              (t.return = e),
              (e.child = t)
            );
          }
          function ks(e, t) {
            return ((e = p(22, e, null, t)), (e.lanes = 0), e);
          }
          function As(e, t, n) {
            return (
              Zv(t, e.child, null, n),
              (e = Os(t, t.pendingProps.children)),
              (e.flags |= 2),
              (t.memoizedState = null),
              e
            );
          }
          function js(e, t, n) {
            e.lanes |= t;
            var r = e.alternate;
            (r !== null && (r.lanes |= t), Zr(e.return, t, n));
          }
          function Ms(e, t, n, r, i, a) {
            var o = e.memoizedState;
            o === null
              ? (e.memoizedState = {
                  isBackwards: t,
                  rendering: null,
                  renderingStartTime: 0,
                  last: r,
                  tail: n,
                  tailMode: i,
                  treeForkCount: a,
                })
              : ((o.isBackwards = t),
                (o.rendering = null),
                (o.renderingStartTime = 0),
                (o.last = r),
                (o.tail = n),
                (o.tailMode = i),
                (o.treeForkCount = a));
          }
          function Ns(e, t, n) {
            var r = t.pendingProps,
              i = r.revealOrder,
              a = r.tail,
              o = r.children,
              s = py.current;
            if (
              ((r = (s & fy) !== 0)
                ? ((s = (s & dy) | fy), (t.flags |= 128))
                : (s &= dy),
              E(py, s, t),
              (s = i ?? `null`),
              i !== `forwards` &&
                i !== `unstable_legacy-backwards` &&
                i !== `together` &&
                i !== `independent` &&
                !pb[s])
            )
              if (((pb[s] = !0), i == null))
                console.error(
                  `The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".`,
                );
              else if (i === `backwards`)
                console.error(
                  `The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.`,
                );
              else if (typeof i == `string`)
                switch (i.toLowerCase()) {
                  case `together`:
                  case `forwards`:
                  case `backwards`:
                  case `independent`:
                    console.error(
                      `"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.`,
                      i,
                      i.toLowerCase(),
                    );
                    break;
                  case `forward`:
                  case `backward`:
                    console.error(
                      `"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.`,
                      i,
                      i.toLowerCase(),
                    );
                    break;
                  default:
                    console.error(
                      `"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,
                      i,
                    );
                }
              else
                console.error(
                  `%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,
                  i,
                );
            ((s = a ?? `null`),
              mb[s] ||
                (a == null
                  ? (i === `forwards` ||
                      i === `backwards` ||
                      i === `unstable_legacy-backwards`) &&
                    ((mb[s] = !0),
                    console.error(
                      `The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".`,
                    ))
                  : a !== `visible` && a !== `collapsed` && a !== `hidden`
                    ? ((mb[s] = !0),
                      console.error(
                        `"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,
                        a,
                      ))
                    : i !== `forwards` &&
                      i !== `backwards` &&
                      i !== `unstable_legacy-backwards` &&
                      ((mb[s] = !0),
                      console.error(
                        `<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,
                        a,
                      ))));
            a: if (
              (i === `forwards` ||
                i === `backwards` ||
                i === `unstable_legacy-backwards`) &&
              o != null &&
              !1 !== o
            )
              if (Gf(o)) {
                for (s = 0; s < o.length; s++) if (!Xi(o[s], s)) break a;
              } else if (((s = C(o)), typeof s == `function`)) {
                if ((s = s.call(o)))
                  for (var c = s.next(), l = 0; !c.done; c = s.next()) {
                    if (!Xi(c.value, l)) break a;
                    l++;
                  }
              } else
                console.error(
                  `A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?`,
                  i,
                );
            if (
              (ls(e, t, o, n),
              e_ ? (Ir(), (o = Kg)) : (o = 0),
              !r && e !== null && e.flags & 128)
            )
              a: for (e = t.child; e !== null;) {
                if (e.tag === 13) e.memoizedState !== null && js(e, n, t);
                else if (e.tag === 19) js(e, n, t);
                else if (e.child !== null) {
                  ((e.child.return = e), (e = e.child));
                  continue;
                }
                if (e === t) break a;
                for (; e.sibling === null;) {
                  if (e.return === null || e.return === t) break a;
                  e = e.return;
                }
                ((e.sibling.return = e.return), (e = e.sibling));
              }
            switch (i) {
              case `forwards`:
                for (n = t.child, i = null; n !== null;)
                  ((e = n.alternate),
                    e !== null && ga(e) === null && (i = n),
                    (n = n.sibling));
                ((n = i),
                  n === null
                    ? ((i = t.child), (t.child = null))
                    : ((i = n.sibling), (n.sibling = null)),
                  Ms(t, !1, i, n, a, o));
                break;
              case `backwards`:
              case `unstable_legacy-backwards`:
                for (n = null, i = t.child, t.child = null; i !== null;) {
                  if (((e = i.alternate), e !== null && ga(e) === null)) {
                    t.child = i;
                    break;
                  }
                  ((e = i.sibling), (i.sibling = n), (n = i), (i = e));
                }
                Ms(t, !0, n, null, a, o);
                break;
              case `together`:
                Ms(t, !1, null, null, void 0, o);
                break;
              default:
                t.memoizedState = null;
            }
            return t.child;
          }
          function Ps(e, t, n) {
            if (
              (e !== null && (t.dependencies = e.dependencies),
              (w_ = -1),
              (lx |= t.lanes),
              (n & t.childLanes) === 0)
            )
              if (e !== null) {
                if (($r(e, t, n, !1), (n & t.childLanes) === 0)) return null;
              } else return null;
            if (e !== null && t.child !== e.child)
              throw Error(`Resuming work not yet implemented.`);
            if (t.child !== null) {
              for (
                e = t.child,
                  n = xr(e, e.pendingProps),
                  t.child = n,
                  n.return = t;
                e.sibling !== null;
              )
                ((e = e.sibling),
                  (n = n.sibling = xr(e, e.pendingProps)),
                  (n.return = t));
              n.sibling = null;
            }
            return t.child;
          }
          function Fs(e, t) {
            return (e.lanes & t) === 0
              ? ((e = e.dependencies), !!(e !== null && ei(e)))
              : !0;
          }
          function Is(e, t, n) {
            switch (t.tag) {
              case 3:
                (ce(t, t.stateNode.containerInfo),
                  Yr(t, h_, e.memoizedState.cache),
                  Wr());
                break;
              case 27:
              case 5:
                le(t);
                break;
              case 4:
                ce(t, t.stateNode.containerInfo);
                break;
              case 10:
                Yr(t, t.type, t.memoizedProps.value);
                break;
              case 12:
                ((n & t.childLanes) !== 0 && (t.flags |= 4), (t.flags |= 2048));
                var r = t.stateNode;
                ((r.effectDuration = -0), (r.passiveEffectDuration = -0));
                break;
              case 31:
                if (t.memoizedState !== null)
                  return ((t.flags |= 128), fa(t), null);
                break;
              case 13:
                if (((r = t.memoizedState), r !== null))
                  return r.dehydrated === null
                    ? (n & t.child.childLanes) === 0
                      ? (da(t),
                        (e = Ps(e, t, n)),
                        e === null ? null : e.sibling)
                      : Ds(e, t, n)
                    : (da(t), (t.flags |= 128), null);
                da(t);
                break;
              case 19:
                var i = (e.flags & 128) != 0;
                if (
                  ((r = (n & t.childLanes) !== 0),
                  (r ||= ($r(e, t, n, !1), (n & t.childLanes) !== 0)),
                  i)
                ) {
                  if (r) return Ns(e, t, n);
                  t.flags |= 128;
                }
                if (
                  ((i = t.memoizedState),
                  i !== null &&
                    ((i.rendering = null),
                    (i.tail = null),
                    (i.lastEffect = null)),
                  E(py, py.current, t),
                  r)
                )
                  break;
                return null;
              case 22:
                return ((t.lanes = 0), ps(e, t, n, t.pendingProps));
              case 24:
                Yr(t, h_, e.memoizedState.cache);
            }
            return Ps(e, t, n);
          }
          function Ls(e, t, n) {
            if (t._debugNeedsRemount && e !== null) {
              ((n = Cr(
                t.type,
                t.key,
                t.pendingProps,
                t._debugOwner || null,
                t.mode,
                t.lanes,
              )),
                (n._debugStack = t._debugStack),
                (n._debugTask = t._debugTask));
              var r = t.return;
              if (r === null) throw Error(`Cannot swap the root fiber.`);
              if (
                ((e.alternate = null),
                (t.alternate = null),
                (n.index = t.index),
                (n.sibling = t.sibling),
                (n.return = t.return),
                (n.ref = t.ref),
                (n._debugInfo = t._debugInfo),
                t === r.child)
              )
                r.child = n;
              else {
                var i = r.child;
                if (i === null) throw Error(`Expected parent to have a child.`);
                for (; i.sibling !== t;)
                  if (((i = i.sibling), i === null))
                    throw Error(`Expected to find the previous sibling.`);
                i.sibling = n;
              }
              return (
                (t = r.deletions),
                t === null ? ((r.deletions = [e]), (r.flags |= 16)) : t.push(e),
                (n.flags |= 2),
                n
              );
            }
            if (e !== null)
              if (e.memoizedProps !== t.pendingProps || t.type !== e.type)
                sb = !0;
              else {
                if (!Fs(e, n) && !(t.flags & 128))
                  return ((sb = !1), Is(e, t, n));
                sb = !!(e.flags & 131072);
              }
            else
              ((sb = !1),
                (r = e_) && (Ir(), (r = (t.flags & 1048576) != 0)),
                r && ((r = t.index), Ir(), jr(t, Kg, r)));
            switch (((t.lanes = 0), t.tag)) {
              case 16:
                a: if (
                  ((r = t.pendingProps),
                  (e = Ii(t.elementType)),
                  (t.type = e),
                  typeof e == `function`)
                )
                  br(e)
                    ? ((r = $o(e, r)),
                      (t.tag = 1),
                      (t.type = e = mr(e)),
                      (t = Ss(null, t, e, r, n)))
                    : ((t.tag = 0),
                      ws(t, e),
                      (t.type = e = mr(e)),
                      (t = bs(null, t, e, r, n)));
                else {
                  if (e != null) {
                    if (((i = e.$$typeof), i === If)) {
                      ((t.tag = 11),
                        (t.type = e = hr(e)),
                        (t = us(null, t, e, r, n)));
                      break a;
                    } else if (i === zf) {
                      ((t.tag = 14), (t = ds(null, t, e, r, n)));
                      break a;
                    }
                  }
                  throw (
                    (t = ``),
                    typeof e == `object` &&
                      e &&
                      e.$$typeof === Bf &&
                      (t = ` Did you wrap a component in React.lazy() more than once?`),
                    (n = w(e) || e),
                    Error(
                      `Element type is invalid. Received a promise that resolves to: ` +
                        n +
                        `. Lazy element type must resolve to a class or function.` +
                        t,
                    )
                  );
                }
                return t;
              case 0:
                return bs(e, t, t.type, t.pendingProps, n);
              case 1:
                return (
                  (r = t.type),
                  (i = $o(r, t.pendingProps)),
                  Ss(e, t, r, i, n)
                );
              case 3:
                a: {
                  if ((ce(t, t.stateNode.containerInfo), e === null))
                    throw Error(
                      `Should have a current fiber. This is a bug in React.`,
                    );
                  r = t.pendingProps;
                  var a = t.memoizedState;
                  ((i = a.element), Qi(e, t), ia(t, r, null, n));
                  var o = t.memoizedState;
                  if (
                    ((r = o.cache),
                    Yr(t, h_, r),
                    r !== a.cache && Qr(t, [h_], n, !0),
                    ra(),
                    (r = o.element),
                    a.isDehydrated)
                  )
                    if (
                      ((a = { element: r, isDehydrated: !1, cache: o.cache }),
                      (t.updateQueue.baseState = a),
                      (t.memoizedState = a),
                      t.flags & 256)
                    ) {
                      t = Cs(e, t, r, n);
                      break a;
                    } else if (r !== i) {
                      ((i = kr(
                        Error(
                          `This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`,
                        ),
                        t,
                      )),
                        Kr(i),
                        (t = Cs(e, t, r, n)));
                      break a;
                    } else {
                      switch (((e = t.stateNode.containerInfo), e.nodeType)) {
                        case 9:
                          e = e.body;
                          break;
                        default:
                          e = e.nodeName === `HTML` ? e.ownerDocument.body : e;
                      }
                      for (
                        $g = gd(e.firstChild),
                          Qg = t,
                          e_ = !0,
                          r_ = null,
                          t_ = !1,
                          n_ = null,
                          i_ = !0,
                          n = Qv(t, null, r, n),
                          t.child = n;
                        n;
                      )
                        ((n.flags = (n.flags & -3) | 4096), (n = n.sibling));
                    }
                  else {
                    if ((Wr(), r === i)) {
                      t = Ps(e, t, n);
                      break a;
                    }
                    ls(e, t, r, n);
                  }
                  t = t.child;
                }
                return t;
              case 26:
                return (
                  ys(e, t),
                  e === null
                    ? (n = kd(t.type, null, t.pendingProps, null))
                      ? (t.memoizedState = n)
                      : e_ ||
                        ((n = t.type),
                        (e = t.pendingProps),
                        (r = se($f.current)),
                        (r = Ru(r).createElement(n)),
                        (r[Wp] = t),
                        (r[Gp] = e),
                        wu(r, n, e),
                        Qe(r),
                        (t.stateNode = r))
                    : (t.memoizedState = kd(
                        t.type,
                        e.memoizedProps,
                        t.pendingProps,
                        e.memoizedState,
                      )),
                  null
                );
              case 27:
                return (
                  le(t),
                  e === null &&
                    e_ &&
                    ((r = se($f.current)),
                    (i = O()),
                    (r = t.stateNode = wd(t.type, t.pendingProps, r, i, !1)),
                    t_ ||
                      ((i = Pu(r, t.type, t.pendingProps, i)),
                      i !== null && (Lr(t, 0).serverProps = i)),
                    (Qg = t),
                    (i_ = !0),
                    (i = $g),
                    Qu(t.type)
                      ? ((rC = i), ($g = gd(r.firstChild)))
                      : ($g = i)),
                  ls(e, t, t.pendingProps.children, n),
                  ys(e, t),
                  e === null && (t.flags |= 4194304),
                  t.child
                );
              case 5:
                return (
                  e === null &&
                    e_ &&
                    ((a = O()),
                    (r = Gt(t.type, a.ancestorInfo)),
                    (i = $g),
                    (o = !i) ||
                      ((o = ud(i, t.type, t.pendingProps, i_)),
                      o === null
                        ? (a = !1)
                        : ((t.stateNode = o),
                          t_ ||
                            ((a = Pu(o, t.type, t.pendingProps, a)),
                            a !== null && (Lr(t, 0).serverProps = a)),
                          (Qg = t),
                          ($g = gd(o.firstChild)),
                          (i_ = !1),
                          (a = !0)),
                      (o = !a)),
                    o && (r && zr(t, i), Br(t))),
                  le(t),
                  (i = t.type),
                  (a = t.pendingProps),
                  (o = e === null ? null : e.memoizedProps),
                  (r = a.children),
                  Vu(i, a)
                    ? (r = null)
                    : o !== null && Vu(i, o) && (t.flags |= 32),
                  t.memoizedState !== null &&
                    ((i = xa(e, t, wa, null, null, n)), (xC._currentValue = i)),
                  ys(e, t),
                  ls(e, t, r, n),
                  t.child
                );
              case 6:
                return (
                  e === null &&
                    e_ &&
                    ((n = t.pendingProps),
                    (e = O()),
                    (r = e.ancestorInfo.current),
                    (n =
                      r == null
                        ? !0
                        : Kt(n, r.tag, e.ancestorInfo.implicitRootScope)),
                    (e = $g),
                    (r = !e) ||
                      ((r = dd(e, t.pendingProps, i_)),
                      r === null
                        ? (r = !1)
                        : ((t.stateNode = r), (Qg = t), ($g = null), (r = !0)),
                      (r = !r)),
                    r && (n && zr(t, e), Br(t))),
                  null
                );
              case 13:
                return Ds(e, t, n);
              case 4:
                return (
                  ce(t, t.stateNode.containerInfo),
                  (r = t.pendingProps),
                  e === null ? (t.child = Zv(t, null, r, n)) : ls(e, t, r, n),
                  t.child
                );
              case 11:
                return us(e, t, t.type, t.pendingProps, n);
              case 7:
                return (ls(e, t, t.pendingProps, n), t.child);
              case 8:
                return (ls(e, t, t.pendingProps.children, n), t.child);
              case 12:
                return (
                  (t.flags |= 4),
                  (t.flags |= 2048),
                  (r = t.stateNode),
                  (r.effectDuration = -0),
                  (r.passiveEffectDuration = -0),
                  ls(e, t, t.pendingProps.children, n),
                  t.child
                );
              case 10:
                return (
                  (r = t.type),
                  (i = t.pendingProps),
                  (a = i.value),
                  `value` in i ||
                    gb ||
                    ((gb = !0),
                    console.error(
                      "The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?",
                    )),
                  Yr(t, r, a),
                  ls(e, t, i.children, n),
                  t.child
                );
              case 9:
                return (
                  (i = t.type._context),
                  (r = t.pendingProps.children),
                  typeof r != `function` &&
                    console.error(
                      `A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`,
                    ),
                  ti(t),
                  (i = ni(i)),
                  (r = xv(r, i, void 0)),
                  (t.flags |= 1),
                  ls(e, t, r, n),
                  t.child
                );
              case 14:
                return ds(e, t, t.type, t.pendingProps, n);
              case 15:
                return fs(e, t, t.type, t.pendingProps, n);
              case 19:
                return Ns(e, t, n);
              case 31:
                return vs(e, t, n);
              case 22:
                return ps(e, t, n, t.pendingProps);
              case 24:
                return (
                  ti(t),
                  (r = ni(h_)),
                  e === null
                    ? ((i = Ai()),
                      i === null &&
                        ((i = Gb),
                        (a = ai()),
                        (i.pooledCache = a),
                        oi(a),
                        a !== null && (i.pooledCacheLanes |= n),
                        (i = a)),
                      (t.memoizedState = { parent: r, cache: i }),
                      Zi(t),
                      Yr(t, h_, i))
                    : ((e.lanes & n) !== 0 &&
                        (Qi(e, t), ia(t, null, null, n), ra()),
                      (i = e.memoizedState),
                      (a = t.memoizedState),
                      i.parent === r
                        ? ((r = a.cache),
                          Yr(t, h_, r),
                          r !== i.cache && Qr(t, [h_], n, !0))
                        : ((i = { parent: r, cache: r }),
                          (t.memoizedState = i),
                          t.lanes === 0 &&
                            (t.memoizedState = t.updateQueue.baseState = i),
                          Yr(t, h_, r))),
                  ls(e, t, t.pendingProps.children, n),
                  t.child
                );
              case 29:
                throw t.pendingProps;
            }
            throw Error(
              `Unknown unit of work tag (` +
                t.tag +
                `). This error is likely caused by a bug in React. Please file an issue.`,
            );
          }
          function Rs(e) {
            e.flags |= 4;
          }
          function zs(e, t, n, r, i) {
            if (((t = (e.mode & zg) !== G) && (t = !1), t)) {
              if (((e.flags |= 16777216), (i & 335544128) === i))
                if (e.stateNode.complete) e.flags |= 8192;
                else if (dl()) e.flags |= 8192;
                else throw ((Hv = Vv), zv);
            } else e.flags &= -16777217;
          }
          function Bs(e, t) {
            if (t.type !== `stylesheet` || (t.state.loading & cC) !== iC)
              e.flags &= -16777217;
            else if (((e.flags |= 16777216), !Ud(t)))
              if (dl()) e.flags |= 8192;
              else throw ((Hv = Vv), zv);
          }
          function Vs(e, t) {
            (t !== null && (e.flags |= 4),
              e.flags & 16384 &&
                ((t = e.tag === 22 ? 536870912 : Pe()),
                (e.lanes |= t),
                (px |= t)));
          }
          function Hs(e, t) {
            if (!e_)
              switch (e.tailMode) {
                case `hidden`:
                  t = e.tail;
                  for (var n = null; t !== null;)
                    (t.alternate !== null && (n = t), (t = t.sibling));
                  n === null ? (e.tail = null) : (n.sibling = null);
                  break;
                case `collapsed`:
                  n = e.tail;
                  for (var r = null; n !== null;)
                    (n.alternate !== null && (r = n), (n = n.sibling));
                  r === null
                    ? t || e.tail === null
                      ? (e.tail = null)
                      : (e.tail.sibling = null)
                    : (r.sibling = null);
              }
          }
          function Us(e) {
            var t = e.alternate !== null && e.alternate.child === e.child,
              n = 0,
              r = 0;
            if (t)
              if ((e.mode & K) !== G) {
                for (var i = e.selfBaseDuration, a = e.child; a !== null;)
                  ((n |= a.lanes | a.childLanes),
                    (r |= a.subtreeFlags & 65011712),
                    (r |= a.flags & 65011712),
                    (i += a.treeBaseDuration),
                    (a = a.sibling));
                e.treeBaseDuration = i;
              } else
                for (i = e.child; i !== null;)
                  ((n |= i.lanes | i.childLanes),
                    (r |= i.subtreeFlags & 65011712),
                    (r |= i.flags & 65011712),
                    (i.return = e),
                    (i = i.sibling));
            else if ((e.mode & K) !== G) {
              ((i = e.actualDuration), (a = e.selfBaseDuration));
              for (var o = e.child; o !== null;)
                ((n |= o.lanes | o.childLanes),
                  (r |= o.subtreeFlags),
                  (r |= o.flags),
                  (i += o.actualDuration),
                  (a += o.treeBaseDuration),
                  (o = o.sibling));
              ((e.actualDuration = i), (e.treeBaseDuration = a));
            } else
              for (i = e.child; i !== null;)
                ((n |= i.lanes | i.childLanes),
                  (r |= i.subtreeFlags),
                  (r |= i.flags),
                  (i.return = e),
                  (i = i.sibling));
            return ((e.subtreeFlags |= r), (e.childLanes = n), t);
          }
          function Ws(e, t, n) {
            var r = t.pendingProps;
            switch ((Nr(t), t.tag)) {
              case 16:
              case 15:
              case 0:
              case 11:
              case 7:
              case 8:
              case 12:
              case 9:
              case 14:
                return (Us(t), null);
              case 1:
                return (Us(t), null);
              case 3:
                return (
                  (n = t.stateNode),
                  (r = null),
                  e !== null && (r = e.memoizedState.cache),
                  t.memoizedState.cache !== r && (t.flags |= 2048),
                  Xr(h_, t),
                  D(t),
                  n.pendingContext &&
                    ((n.context = n.pendingContext), (n.pendingContext = null)),
                  (e === null || e.child === null) &&
                    (Ur(t)
                      ? (qr(), Rs(t))
                      : e === null ||
                        (e.memoizedState.isDehydrated && !(t.flags & 256)) ||
                        ((t.flags |= 1024), Gr())),
                  Us(t),
                  null
                );
              case 26:
                var i = t.type,
                  a = t.memoizedState;
                return (
                  e === null
                    ? (Rs(t),
                      a === null
                        ? (Us(t), zs(t, i, null, r, n))
                        : (Us(t), Bs(t, a)))
                    : a
                      ? a === e.memoizedState
                        ? (Us(t), (t.flags &= -16777217))
                        : (Rs(t), Us(t), Bs(t, a))
                      : ((e = e.memoizedProps),
                        e !== r && Rs(t),
                        Us(t),
                        zs(t, i, e, r, n)),
                  null
                );
              case 27:
                if (
                  (ue(t),
                  (n = se($f.current)),
                  (i = t.type),
                  e !== null && t.stateNode != null)
                )
                  e.memoizedProps !== r && Rs(t);
                else {
                  if (!r) {
                    if (t.stateNode === null)
                      throw Error(
                        `We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`,
                      );
                    return (Us(t), null);
                  }
                  ((e = O()),
                    Ur(t)
                      ? Vr(t, e)
                      : ((e = wd(i, r, n, e, !0)), (t.stateNode = e), Rs(t)));
                }
                return (Us(t), null);
              case 5:
                if ((ue(t), (i = t.type), e !== null && t.stateNode != null))
                  e.memoizedProps !== r && Rs(t);
                else {
                  if (!r) {
                    if (t.stateNode === null)
                      throw Error(
                        `We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`,
                      );
                    return (Us(t), null);
                  }
                  var o = O();
                  if (Ur(t)) Vr(t, o);
                  else {
                    switch (
                      ((a = se($f.current)),
                      Gt(i, o.ancestorInfo),
                      (o = o.context),
                      (a = Ru(a)),
                      o)
                    ) {
                      case GS:
                        a = a.createElementNS(Pm, i);
                        break;
                      case KS:
                        a = a.createElementNS(Nm, i);
                        break;
                      default:
                        switch (i) {
                          case `svg`:
                            a = a.createElementNS(Pm, i);
                            break;
                          case `math`:
                            a = a.createElementNS(Nm, i);
                            break;
                          case `script`:
                            ((a = a.createElement(`div`)),
                              (a.innerHTML = `<script><\/script>`),
                              (a = a.removeChild(a.firstChild)));
                            break;
                          case `select`:
                            ((a =
                              typeof r.is == `string`
                                ? a.createElement(`select`, { is: r.is })
                                : a.createElement(`select`)),
                              r.multiple
                                ? (a.multiple = !0)
                                : r.size && (a.size = r.size));
                            break;
                          default:
                            ((a =
                              typeof r.is == `string`
                                ? a.createElement(i, { is: r.is })
                                : a.createElement(i)),
                              i.indexOf(`-`) === -1 &&
                                (i !== i.toLowerCase() &&
                                  console.error(
                                    `<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,
                                    i,
                                  ),
                                Object.prototype.toString.call(a) !==
                                  `[object HTMLUnknownElement]` ||
                                  hp.call(YS, i) ||
                                  ((YS[i] = !0),
                                  console.error(
                                    `The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.`,
                                    i,
                                  ))));
                        }
                    }
                    ((a[Wp] = t), (a[Gp] = r));
                    a: for (o = t.child; o !== null;) {
                      if (o.tag === 5 || o.tag === 6)
                        a.appendChild(o.stateNode);
                      else if (
                        o.tag !== 4 &&
                        o.tag !== 27 &&
                        o.child !== null
                      ) {
                        ((o.child.return = o), (o = o.child));
                        continue;
                      }
                      if (o === t) break a;
                      for (; o.sibling === null;) {
                        if (o.return === null || o.return === t) break a;
                        o = o.return;
                      }
                      ((o.sibling.return = o.return), (o = o.sibling));
                    }
                    t.stateNode = a;
                    a: switch ((wu(a, i, r), i)) {
                      case `button`:
                      case `input`:
                      case `select`:
                      case `textarea`:
                        r = !!r.autoFocus;
                        break a;
                      case `img`:
                        r = !0;
                        break a;
                      default:
                        r = !1;
                    }
                    r && Rs(t);
                  }
                }
                return (
                  Us(t),
                  zs(
                    t,
                    t.type,
                    e === null ? null : e.memoizedProps,
                    t.pendingProps,
                    n,
                  ),
                  null
                );
              case 6:
                if (e && t.stateNode != null) e.memoizedProps !== r && Rs(t);
                else {
                  if (typeof r != `string` && t.stateNode === null)
                    throw Error(
                      `We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`,
                    );
                  if (((e = se($f.current)), (n = O()), Ur(t))) {
                    if (
                      ((e = t.stateNode),
                      (n = t.memoizedProps),
                      (i = !t_),
                      (r = null),
                      (a = Qg),
                      a !== null)
                    )
                      switch (a.tag) {
                        case 3:
                          i &&
                            ((i = vd(e, n, r)),
                            i !== null && (Lr(t, 0).serverProps = i));
                          break;
                        case 27:
                        case 5:
                          ((r = a.memoizedProps),
                            i &&
                              ((i = vd(e, n, r)),
                              i !== null && (Lr(t, 0).serverProps = i)));
                      }
                    ((e[Wp] = t),
                      (e = !!(
                        e.nodeValue === n ||
                        (r !== null && !0 === r.suppressHydrationWarning) ||
                        xu(e.nodeValue, n)
                      )),
                      e || Br(t, !0));
                  } else
                    ((i = n.ancestorInfo.current),
                      i != null &&
                        Kt(r, i.tag, n.ancestorInfo.implicitRootScope),
                      (e = Ru(e).createTextNode(r)),
                      (e[Wp] = t),
                      (t.stateNode = e));
                }
                return (Us(t), null);
              case 31:
                if (
                  ((n = t.memoizedState),
                  e === null || e.memoizedState !== null)
                ) {
                  if (((r = Ur(t)), n !== null)) {
                    if (e === null) {
                      if (!r)
                        throw Error(
                          `A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`,
                        );
                      if (
                        ((e = t.memoizedState),
                        (e = e === null ? null : e.dehydrated),
                        !e)
                      )
                        throw Error(
                          `Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.`,
                        );
                      ((e[Wp] = t),
                        Us(t),
                        (t.mode & K) !== G &&
                          n !== null &&
                          ((e = t.child),
                          e !== null &&
                            (t.treeBaseDuration -= e.treeBaseDuration)));
                    } else
                      (qr(),
                        Wr(),
                        !(t.flags & 128) && (n = t.memoizedState = null),
                        (t.flags |= 4),
                        Us(t),
                        (t.mode & K) !== G &&
                          n !== null &&
                          ((e = t.child),
                          e !== null &&
                            (t.treeBaseDuration -= e.treeBaseDuration)));
                    e = !1;
                  } else
                    ((n = Gr()),
                      e !== null &&
                        e.memoizedState !== null &&
                        (e.memoizedState.hydrationErrors = n),
                      (e = !0));
                  if (!e) return t.flags & 256 ? (ha(t), t) : (ha(t), null);
                  if (t.flags & 128)
                    throw Error(
                      `Client rendering an Activity suspended it again. This is a bug in React.`,
                    );
                }
                return (Us(t), null);
              case 13:
                if (
                  ((r = t.memoizedState),
                  e === null ||
                    (e.memoizedState !== null &&
                      e.memoizedState.dehydrated !== null))
                ) {
                  if (
                    ((i = r), (a = Ur(t)), i !== null && i.dehydrated !== null)
                  ) {
                    if (e === null) {
                      if (!a)
                        throw Error(
                          `A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`,
                        );
                      if (
                        ((a = t.memoizedState),
                        (a = a === null ? null : a.dehydrated),
                        !a)
                      )
                        throw Error(
                          `Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`,
                        );
                      ((a[Wp] = t),
                        Us(t),
                        (t.mode & K) !== G &&
                          i !== null &&
                          ((i = t.child),
                          i !== null &&
                            (t.treeBaseDuration -= i.treeBaseDuration)));
                    } else
                      (qr(),
                        Wr(),
                        !(t.flags & 128) && (i = t.memoizedState = null),
                        (t.flags |= 4),
                        Us(t),
                        (t.mode & K) !== G &&
                          i !== null &&
                          ((i = t.child),
                          i !== null &&
                            (t.treeBaseDuration -= i.treeBaseDuration)));
                    i = !1;
                  } else
                    ((i = Gr()),
                      e !== null &&
                        e.memoizedState !== null &&
                        (e.memoizedState.hydrationErrors = i),
                      (i = !0));
                  if (!i) return t.flags & 256 ? (ha(t), t) : (ha(t), null);
                }
                return (
                  ha(t),
                  t.flags & 128
                    ? ((t.lanes = n), (t.mode & K) !== G && Ei(t), t)
                    : ((n = r !== null),
                      (e = e !== null && e.memoizedState !== null),
                      n &&
                        ((r = t.child),
                        (i = null),
                        r.alternate !== null &&
                          r.alternate.memoizedState !== null &&
                          r.alternate.memoizedState.cachePool !== null &&
                          (i = r.alternate.memoizedState.cachePool.pool),
                        (a = null),
                        r.memoizedState !== null &&
                          r.memoizedState.cachePool !== null &&
                          (a = r.memoizedState.cachePool.pool),
                        a !== i && (r.flags |= 2048)),
                      n !== e && n && (t.child.flags |= 8192),
                      Vs(t, t.updateQueue),
                      Us(t),
                      (t.mode & K) !== G &&
                        n &&
                        ((e = t.child),
                        e !== null &&
                          (t.treeBaseDuration -= e.treeBaseDuration)),
                      null)
                );
              case 4:
                return (
                  D(t),
                  e === null && cu(t.stateNode.containerInfo),
                  Us(t),
                  null
                );
              case 10:
                return (Xr(t.type, t), Us(t), null);
              case 19:
                if ((oe(py, t), (r = t.memoizedState), r === null))
                  return (Us(t), null);
                if (((i = (t.flags & 128) != 0), (a = r.rendering), a === null))
                  if (i) Hs(r, !1);
                  else {
                    if (cx !== Lb || (e !== null && e.flags & 128))
                      for (e = t.child; e !== null;) {
                        if (((a = ga(e)), a !== null)) {
                          for (
                            t.flags |= 128,
                              Hs(r, !1),
                              e = a.updateQueue,
                              t.updateQueue = e,
                              Vs(t, e),
                              t.subtreeFlags = 0,
                              e = n,
                              n = t.child;
                            n !== null;
                          )
                            (Sr(n, e), (n = n.sibling));
                          return (
                            E(py, (py.current & dy) | fy, t),
                            e_ && Ar(t, r.treeForkCount),
                            t.child
                          );
                        }
                        e = e.sibling;
                      }
                    r.tail !== null &&
                      bp() > bx &&
                      ((t.flags |= 128),
                      (i = !0),
                      Hs(r, !1),
                      (t.lanes = 4194304));
                  }
                else {
                  if (!i)
                    if (((e = ga(a)), e !== null)) {
                      if (
                        ((t.flags |= 128),
                        (i = !0),
                        (e = e.updateQueue),
                        (t.updateQueue = e),
                        Vs(t, e),
                        Hs(r, !0),
                        r.tail === null &&
                          r.tailMode === `hidden` &&
                          !a.alternate &&
                          !e_)
                      )
                        return (Us(t), null);
                    } else
                      2 * bp() - r.renderingStartTime > bx &&
                        n !== 536870912 &&
                        ((t.flags |= 128),
                        (i = !0),
                        Hs(r, !1),
                        (t.lanes = 4194304));
                  r.isBackwards
                    ? ((a.sibling = t.child), (t.child = a))
                    : ((e = r.last),
                      e === null ? (t.child = a) : (e.sibling = a),
                      (r.last = a));
                }
                return r.tail === null
                  ? (Us(t), null)
                  : ((e = r.tail),
                    (r.rendering = e),
                    (r.tail = e.sibling),
                    (r.renderingStartTime = bp()),
                    (e.sibling = null),
                    (n = py.current),
                    (n = i ? (n & dy) | fy : n & dy),
                    E(py, n, t),
                    e_ && Ar(t, r.treeForkCount),
                    e);
              case 22:
              case 23:
                return (
                  ha(t),
                  ua(t),
                  (r = t.memoizedState !== null),
                  e === null
                    ? r && (t.flags |= 8192)
                    : (e.memoizedState !== null) !== r && (t.flags |= 8192),
                  r
                    ? n & 536870912 &&
                      !(t.flags & 128) &&
                      (Us(t), t.subtreeFlags & 6 && (t.flags |= 8192))
                    : Us(t),
                  (n = t.updateQueue),
                  n !== null && Vs(t, n.retryQueue),
                  (n = null),
                  e !== null &&
                    e.memoizedState !== null &&
                    e.memoizedState.cachePool !== null &&
                    (n = e.memoizedState.cachePool.pool),
                  (r = null),
                  t.memoizedState !== null &&
                    t.memoizedState.cachePool !== null &&
                    (r = t.memoizedState.cachePool.pool),
                  r !== n && (t.flags |= 2048),
                  e !== null && oe(lv, t),
                  null
                );
              case 24:
                return (
                  (n = null),
                  e !== null && (n = e.memoizedState.cache),
                  t.memoizedState.cache !== n && (t.flags |= 2048),
                  Xr(h_, t),
                  Us(t),
                  null
                );
              case 25:
                return null;
              case 30:
                return null;
            }
            throw Error(
              `Unknown unit of work tag (` +
                t.tag +
                `). This error is likely caused by a bug in React. Please file an issue.`,
            );
          }
          function Gs(e, t) {
            switch ((Nr(t), t.tag)) {
              case 1:
                return (
                  (e = t.flags),
                  e & 65536
                    ? ((t.flags = (e & -65537) | 128),
                      (t.mode & K) !== G && Ei(t),
                      t)
                    : null
                );
              case 3:
                return (
                  Xr(h_, t),
                  D(t),
                  (e = t.flags),
                  e & 65536 && !(e & 128)
                    ? ((t.flags = (e & -65537) | 128), t)
                    : null
                );
              case 26:
              case 27:
              case 5:
                return (ue(t), null);
              case 31:
                if (t.memoizedState !== null) {
                  if ((ha(t), t.alternate === null))
                    throw Error(
                      `Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`,
                    );
                  Wr();
                }
                return (
                  (e = t.flags),
                  e & 65536
                    ? ((t.flags = (e & -65537) | 128),
                      (t.mode & K) !== G && Ei(t),
                      t)
                    : null
                );
              case 13:
                if (
                  (ha(t),
                  (e = t.memoizedState),
                  e !== null && e.dehydrated !== null)
                ) {
                  if (t.alternate === null)
                    throw Error(
                      `Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`,
                    );
                  Wr();
                }
                return (
                  (e = t.flags),
                  e & 65536
                    ? ((t.flags = (e & -65537) | 128),
                      (t.mode & K) !== G && Ei(t),
                      t)
                    : null
                );
              case 19:
                return (oe(py, t), null);
              case 4:
                return (D(t), null);
              case 10:
                return (Xr(t.type, t), null);
              case 22:
              case 23:
                return (
                  ha(t),
                  ua(t),
                  e !== null && oe(lv, t),
                  (e = t.flags),
                  e & 65536
                    ? ((t.flags = (e & -65537) | 128),
                      (t.mode & K) !== G && Ei(t),
                      t)
                    : null
                );
              case 24:
                return (Xr(h_, t), null);
              case 25:
                return null;
              default:
                return null;
            }
          }
          function Ks(e, t) {
            switch ((Nr(t), t.tag)) {
              case 3:
                (Xr(h_, t), D(t));
                break;
              case 26:
              case 27:
              case 5:
                ue(t);
                break;
              case 4:
                D(t);
                break;
              case 31:
                t.memoizedState !== null && ha(t);
                break;
              case 13:
                ha(t);
                break;
              case 19:
                oe(py, t);
                break;
              case 10:
                Xr(t.type, t);
                break;
              case 22:
              case 23:
                (ha(t), ua(t), e !== null && oe(lv, t));
                break;
              case 24:
                Xr(h_, t);
            }
          }
          function qs(e) {
            return (e.mode & K) !== G;
          }
          function Js(e, t) {
            qs(e) ? (Ti(), Xs(t, e), Ci()) : Xs(t, e);
          }
          function Ys(e, t, n) {
            qs(e) ? (Ti(), Zs(n, e, t), Ci()) : Zs(n, e, t);
          }
          function Xs(e, t) {
            try {
              var n = t.updateQueue,
                r = n === null ? null : n.lastEffect;
              if (r !== null) {
                var i = r.next;
                n = i;
                do {
                  if (
                    (n.tag & e) === e &&
                    ((r = void 0),
                    (e & gy) !== my && (eS = !0),
                    (r = A(t, Nv, n)),
                    (e & gy) !== my && (eS = !1),
                    r !== void 0 && typeof r != `function`)
                  ) {
                    var a = void 0;
                    a =
                      (n.tag & _y) === 0
                        ? (n.tag & gy) === 0
                          ? `useEffect`
                          : `useInsertionEffect`
                        : `useLayoutEffect`;
                    var o = void 0;
                    ((o =
                      r === null
                        ? ` You returned null. If your effect does not require clean up, return undefined (or nothing).`
                        : typeof r.then == `function`
                          ? `

It looks like you wrote ` +
                            a +
                            `(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:

` +
                            a +
                            `(() => {
  async function fetchData() {
    // You can await here
    const response = await MyAPI.getData(someId);
    // ...
  }
  fetchData();
}, [someId]); // Or [] if effect doesn't need props or state

Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`
                          : ` You returned: ` + r),
                      A(
                        t,
                        function (e, t) {
                          console.error(
                            `%s must not return anything besides a function, which is used for clean-up.%s`,
                            e,
                            t,
                          );
                        },
                        a,
                        o,
                      ));
                  }
                  n = n.next;
                } while (n !== i);
              }
            } catch (e) {
              R(t, t.return, e);
            }
          }
          function Zs(e, t, n) {
            try {
              var r = t.updateQueue,
                i = r === null ? null : r.lastEffect;
              if (i !== null) {
                var a = i.next;
                r = a;
                do {
                  if ((r.tag & e) === e) {
                    var o = r.inst,
                      s = o.destroy;
                    s !== void 0 &&
                      ((o.destroy = void 0),
                      (e & gy) !== my && (eS = !0),
                      (i = t),
                      A(i, Fv, i, n, s),
                      (e & gy) !== my && (eS = !1));
                  }
                  r = r.next;
                } while (r !== a);
              }
            } catch (e) {
              R(t, t.return, e);
            }
          }
          function Qs(e, t) {
            qs(e) ? (Ti(), Xs(t, e), Ci()) : Xs(t, e);
          }
          function $s(e, t, n) {
            qs(e) ? (Ti(), Zs(n, e, t), Ci()) : Zs(n, e, t);
          }
          function ec(e) {
            var t = e.updateQueue;
            if (t !== null) {
              var n = e.stateNode;
              e.type.defaultProps ||
                `ref` in e.memoizedProps ||
                fb ||
                (n.props !== e.memoizedProps &&
                  console.error(
                    "Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                    T(e) || `instance`,
                  ),
                n.state !== e.memoizedState &&
                  console.error(
                    "Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                    T(e) || `instance`,
                  ));
              try {
                A(e, sa, t, n);
              } catch (t) {
                R(e, e.return, t);
              }
            }
          }
          function tc(e, t, n) {
            return e.getSnapshotBeforeUpdate(t, n);
          }
          function nc(e, t) {
            var n = t.memoizedProps,
              r = t.memoizedState;
            ((t = e.stateNode),
              e.type.defaultProps ||
                `ref` in e.memoizedProps ||
                fb ||
                (t.props !== e.memoizedProps &&
                  console.error(
                    "Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                    T(e) || `instance`,
                  ),
                t.state !== e.memoizedState &&
                  console.error(
                    "Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                    T(e) || `instance`,
                  )));
            try {
              var i = $o(e.type, n),
                a = A(e, tc, t, i, r);
              ((n = _b),
                a !== void 0 ||
                  n.has(e.type) ||
                  (n.add(e.type),
                  A(e, function () {
                    console.error(
                      `%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,
                      T(e),
                    );
                  })),
                (t.__reactInternalSnapshotBeforeUpdate = a));
            } catch (t) {
              R(e, e.return, t);
            }
          }
          function rc(e, t, n) {
            ((n.props = $o(e.type, e.memoizedProps)),
              (n.state = e.memoizedState),
              qs(e) ? (Ti(), A(e, jv, e, t, n), Ci()) : A(e, jv, e, t, n));
          }
          function ic(e) {
            var t = e.ref;
            if (t !== null) {
              switch (e.tag) {
                case 26:
                case 27:
                case 5:
                  var n = e.stateNode;
                  break;
                case 30:
                  n = e.stateNode;
                  break;
                default:
                  n = e.stateNode;
              }
              if (typeof t == `function`)
                if (qs(e))
                  try {
                    (Ti(), (e.refCleanup = t(n)));
                  } finally {
                    Ci();
                  }
                else e.refCleanup = t(n);
              else
                (typeof t == `string`
                  ? console.error(`String refs are no longer supported.`)
                  : t.hasOwnProperty(`current`) ||
                    console.error(
                      `Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,
                      T(e),
                    ),
                  (t.current = n));
            }
          }
          function ac(e, t) {
            try {
              A(e, ic, e);
            } catch (n) {
              R(e, t, n);
            }
          }
          function oc(e, t) {
            var n = e.ref,
              r = e.refCleanup;
            if (n !== null)
              if (typeof r == `function`)
                try {
                  if (qs(e))
                    try {
                      (Ti(), A(e, r));
                    } finally {
                      Ci(e);
                    }
                  else A(e, r);
                } catch (n) {
                  R(e, t, n);
                } finally {
                  ((e.refCleanup = null),
                    (e = e.alternate),
                    e != null && (e.refCleanup = null));
                }
              else if (typeof n == `function`)
                try {
                  if (qs(e))
                    try {
                      (Ti(), A(e, n, null));
                    } finally {
                      Ci(e);
                    }
                  else A(e, n, null);
                } catch (n) {
                  R(e, t, n);
                }
              else n.current = null;
          }
          function sc(e, t, n, r) {
            var i = e.memoizedProps,
              a = i.id,
              o = i.onCommit;
            ((i = i.onRender),
              (t = t === null ? `mount` : `update`),
              nv && (t = `nested-update`),
              typeof i == `function` &&
                i(
                  a,
                  t,
                  e.actualDuration,
                  e.treeBaseDuration,
                  e.actualStartTime,
                  n,
                ),
              typeof o == `function` && o(a, t, r, n));
          }
          function cc(e, t, n, r) {
            var i = e.memoizedProps;
            ((e = i.id),
              (i = i.onPostCommit),
              (t = t === null ? `mount` : `update`),
              nv && (t = `nested-update`),
              typeof i == `function` && i(e, t, r, n));
          }
          function lc(e) {
            var t = e.type,
              n = e.memoizedProps,
              r = e.stateNode;
            try {
              A(e, Ku, r, t, n, e);
            } catch (t) {
              R(e, e.return, t);
            }
          }
          function uc(e, t, n) {
            try {
              A(e, Ju, e.stateNode, e.type, n, t, e);
            } catch (t) {
              R(e, e.return, t);
            }
          }
          function dc(e) {
            return (
              e.tag === 5 ||
              e.tag === 3 ||
              e.tag === 26 ||
              (e.tag === 27 && Qu(e.type)) ||
              e.tag === 4
            );
          }
          function fc(e) {
            a: for (;;) {
              for (; e.sibling === null;) {
                if (e.return === null || dc(e.return)) return null;
                e = e.return;
              }
              for (
                e.sibling.return = e.return, e = e.sibling;
                e.tag !== 5 && e.tag !== 6 && e.tag !== 18;
              ) {
                if (
                  (e.tag === 27 && Qu(e.type)) ||
                  e.flags & 2 ||
                  e.child === null ||
                  e.tag === 4
                )
                  continue a;
                ((e.child.return = e), (e = e.child));
              }
              if (!(e.flags & 2)) return e.stateNode;
            }
          }
          function pc(e, t, n) {
            var r = e.tag;
            if (r === 5 || r === 6)
              ((e = e.stateNode),
                t
                  ? (Zu(n),
                    (n.nodeType === 9
                      ? n.body
                      : n.nodeName === `HTML`
                        ? n.ownerDocument.body
                        : n
                    ).insertBefore(e, t))
                  : (Zu(n),
                    (t =
                      n.nodeType === 9
                        ? n.body
                        : n.nodeName === `HTML`
                          ? n.ownerDocument.body
                          : n),
                    t.appendChild(e),
                    (n = n._reactRootContainer),
                    n != null || t.onclick !== null || (t.onclick = an)));
            else if (
              r !== 4 &&
              (r === 27 && Qu(e.type) && ((n = e.stateNode), (t = null)),
              (e = e.child),
              e !== null)
            )
              for (pc(e, t, n), e = e.sibling; e !== null;)
                (pc(e, t, n), (e = e.sibling));
          }
          function mc(e, t, n) {
            var r = e.tag;
            if (r === 5 || r === 6)
              ((e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e));
            else if (
              r !== 4 &&
              (r === 27 && Qu(e.type) && (n = e.stateNode),
              (e = e.child),
              e !== null)
            )
              for (mc(e, t, n), e = e.sibling; e !== null;)
                (mc(e, t, n), (e = e.sibling));
          }
          function hc(e) {
            for (var t, n = e.return; n !== null;) {
              if (dc(n)) {
                t = n;
                break;
              }
              n = n.return;
            }
            if (t == null)
              throw Error(
                `Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`,
              );
            switch (t.tag) {
              case 27:
                ((t = t.stateNode), (n = fc(e)), mc(e, n, t));
                break;
              case 5:
                ((n = t.stateNode),
                  t.flags & 32 && (Yu(n), (t.flags &= -33)),
                  (t = fc(e)),
                  mc(e, t, n));
                break;
              case 3:
              case 4:
                ((t = t.stateNode.containerInfo), (n = fc(e)), pc(e, n, t));
                break;
              default:
                throw Error(
                  `Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`,
                );
            }
          }
          function gc(e) {
            var t = e.stateNode,
              n = e.memoizedProps;
            try {
              A(e, Td, e.type, n, t, e);
            } catch (t) {
              R(e, e.return, t);
            }
          }
          function _c(e, t) {
            return t.tag === 31
              ? ((t = t.memoizedState), e.memoizedState !== null && t === null)
              : t.tag === 13
                ? ((e = e.memoizedState),
                  (t = t.memoizedState),
                  e !== null &&
                    e.dehydrated !== null &&
                    (t === null || t.dehydrated === null))
                : t.tag === 3
                  ? e.memoizedState.isDehydrated && (t.flags & 256) == 0
                  : !1;
          }
          function vc(e, t) {
            if (((e = e.containerInfo), (qS = RC), (e = Rn(e)), zn(e))) {
              if (`selectionStart` in e)
                var n = { start: e.selectionStart, end: e.selectionEnd };
              else
                a: {
                  n = ((n = e.ownerDocument) && n.defaultView) || window;
                  var r = n.getSelection && n.getSelection();
                  if (r && r.rangeCount !== 0) {
                    n = r.anchorNode;
                    var i = r.anchorOffset,
                      a = r.focusNode;
                    r = r.focusOffset;
                    try {
                      (n.nodeType, a.nodeType);
                    } catch {
                      n = null;
                      break a;
                    }
                    var o = 0,
                      s = -1,
                      c = -1,
                      l = 0,
                      u = 0,
                      d = e,
                      f = null;
                    b: for (;;) {
                      for (
                        var p;
                        d !== n || (i !== 0 && d.nodeType !== 3) || (s = o + i),
                          d !== a ||
                            (r !== 0 && d.nodeType !== 3) ||
                            (c = o + r),
                          d.nodeType === 3 && (o += d.nodeValue.length),
                          (p = d.firstChild) !== null;
                      )
                        ((f = d), (d = p));
                      for (;;) {
                        if (d === e) break b;
                        if (
                          (f === n && ++l === i && (s = o),
                          f === a && ++u === r && (c = o),
                          (p = d.nextSibling) !== null)
                        )
                          break;
                        ((d = f), (f = d.parentNode));
                      }
                      d = p;
                    }
                    n = s === -1 || c === -1 ? null : { start: s, end: c };
                  } else n = null;
                }
              n ||= { start: 0, end: 0 };
            } else n = null;
            for (
              JS = { focusedElem: e, selectionRange: n }, RC = !1, Sb = t;
              Sb !== null;
            )
              if (
                ((t = Sb), (e = t.child), t.subtreeFlags & 1028 && e !== null)
              )
                ((e.return = t), (Sb = e));
              else
                for (; Sb !== null;) {
                  switch (
                    ((e = t = Sb), (n = e.alternate), (i = e.flags), e.tag)
                  ) {
                    case 0:
                      if (
                        i & 4 &&
                        ((e = e.updateQueue),
                        (e = e === null ? null : e.events),
                        e !== null)
                      )
                        for (n = 0; n < e.length; n++)
                          ((i = e[n]), (i.ref.impl = i.nextImpl));
                      break;
                    case 11:
                    case 15:
                      break;
                    case 1:
                      i & 1024 && n !== null && nc(e, n);
                      break;
                    case 3:
                      if (i & 1024) {
                        if (
                          ((e = e.stateNode.containerInfo),
                          (n = e.nodeType),
                          n === 9)
                        )
                          ld(e);
                        else if (n === 1)
                          switch (e.nodeName) {
                            case `HEAD`:
                            case `HTML`:
                            case `BODY`:
                              ld(e);
                              break;
                            default:
                              e.textContent = ``;
                          }
                      }
                      break;
                    case 5:
                    case 26:
                    case 27:
                    case 6:
                    case 4:
                    case 17:
                      break;
                    default:
                      if (i & 1024)
                        throw Error(
                          `This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.`,
                        );
                  }
                  if (((e = t.sibling), e !== null)) {
                    ((e.return = t.return), (Sb = e));
                    break;
                  }
                  Sb = t.return;
                }
          }
          function yc(e, t, n) {
            var r = mi(),
              i = gi(),
              a = vi(),
              o = yi(),
              s = n.flags;
            switch (n.tag) {
              case 0:
              case 11:
              case 15:
                (jc(e, n), s & 4 && Js(n, _y | hy));
                break;
              case 1:
                if ((jc(e, n), s & 4))
                  if (((e = n.stateNode), t === null))
                    (n.type.defaultProps ||
                      `ref` in n.memoizedProps ||
                      fb ||
                      (e.props !== n.memoizedProps &&
                        console.error(
                          "Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                          T(n) || `instance`,
                        ),
                      e.state !== n.memoizedState &&
                        console.error(
                          "Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                          T(n) || `instance`,
                        )),
                      qs(n) ? (Ti(), A(n, Tv, n, e), Ci()) : A(n, Tv, n, e));
                  else {
                    var c = $o(n.type, t.memoizedProps);
                    ((t = t.memoizedState),
                      n.type.defaultProps ||
                        `ref` in n.memoizedProps ||
                        fb ||
                        (e.props !== n.memoizedProps &&
                          console.error(
                            "Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                            T(n) || `instance`,
                          ),
                        e.state !== n.memoizedState &&
                          console.error(
                            "Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                            T(n) || `instance`,
                          )),
                      qs(n)
                        ? (Ti(),
                          A(
                            n,
                            Dv,
                            n,
                            e,
                            c,
                            t,
                            e.__reactInternalSnapshotBeforeUpdate,
                          ),
                          Ci())
                        : A(
                            n,
                            Dv,
                            n,
                            e,
                            c,
                            t,
                            e.__reactInternalSnapshotBeforeUpdate,
                          ));
                  }
                (s & 64 && ec(n), s & 512 && ac(n, n.return));
                break;
              case 3:
                if (
                  ((t = ui()),
                  jc(e, n),
                  s & 64 && ((s = n.updateQueue), s !== null))
                ) {
                  if (((c = null), n.child !== null))
                    switch (n.child.tag) {
                      case 27:
                      case 5:
                        c = n.child.stateNode;
                        break;
                      case 1:
                        c = n.child.stateNode;
                    }
                  try {
                    A(n, sa, s, c);
                  } catch (e) {
                    R(n, n.return, e);
                  }
                }
                e.effectDuration += di(t);
                break;
              case 27:
                t === null && s & 4 && gc(n);
              case 26:
              case 5:
                if ((jc(e, n), t === null)) {
                  if (s & 4) lc(n);
                  else if (s & 64) {
                    ((e = n.type), (t = n.memoizedProps), (c = n.stateNode));
                    try {
                      A(n, qu, c, e, t, n);
                    } catch (e) {
                      R(n, n.return, e);
                    }
                  }
                }
                s & 512 && ac(n, n.return);
                break;
              case 12:
                if (s & 4) {
                  ((s = ui()),
                    jc(e, n),
                    (e = n.stateNode),
                    (e.effectDuration += fi(s)));
                  try {
                    A(n, sc, n, t, x_, e.effectDuration);
                  } catch (e) {
                    R(n, n.return, e);
                  }
                } else jc(e, n);
                break;
              case 31:
                (jc(e, n), s & 4 && Cc(e, n));
                break;
              case 13:
                (jc(e, n),
                  s & 4 && wc(e, n),
                  s & 64 &&
                    ((e = n.memoizedState),
                    e !== null &&
                      ((e = e.dehydrated),
                      e !== null && ((s = Rl.bind(null, n)), hd(e, s)))));
                break;
              case 22:
                if (((s = n.memoizedState !== null || vb), !s)) {
                  ((t = (t !== null && t.memoizedState !== null) || yb),
                    (c = vb));
                  var l = yb;
                  ((vb = s),
                    (yb = t) && !l
                      ? (Fc(e, n, (n.subtreeFlags & 8772) != 0),
                        (n.mode & K) !== G &&
                          0 <= q &&
                          0 <= J &&
                          0.05 < J - q &&
                          Xn(n, q, J))
                      : jc(e, n),
                    (vb = c),
                    (yb = l));
                }
                break;
              case 30:
                break;
              default:
                jc(e, n);
            }
            ((n.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              ((O_ || 0.05 < E_) && $n(n, q, J, E_, D_),
              n.alternate === null &&
                n.return !== null &&
                n.return.alternate !== null &&
                0.05 < J - q &&
                (_c(n.return.alternate, n.return) || Yn(n, q, J, `Mount`))),
              hi(r),
              _i(i),
              (D_ = a),
              (O_ = o));
          }
          function bc(e) {
            var t = e.alternate;
            (t !== null && ((e.alternate = null), bc(t)),
              (e.child = null),
              (e.deletions = null),
              (e.sibling = null),
              e.tag === 5 && ((t = e.stateNode), t !== null && qe(t)),
              (e.stateNode = null),
              (e._debugOwner = null),
              (e.return = null),
              (e.dependencies = null),
              (e.memoizedProps = null),
              (e.memoizedState = null),
              (e.pendingProps = null),
              (e.stateNode = null),
              (e.updateQueue = null));
          }
          function xc(e, t, n) {
            for (n = n.child; n !== null;) (Sc(e, t, n), (n = n.sibling));
          }
          function Sc(e, t, n) {
            if (Ap && typeof Ap.onCommitFiberUnmount == `function`)
              try {
                Ap.onCommitFiberUnmount(kp, n);
              } catch (e) {
                jp ||
                  ((jp = !0),
                  console.error(
                    `React instrumentation encountered an error: %o`,
                    e,
                  ));
              }
            var r = mi(),
              i = gi(),
              a = vi(),
              o = yi();
            switch (n.tag) {
              case 26:
                (yb || oc(n, t),
                  xc(e, t, n),
                  n.memoizedState
                    ? n.memoizedState.count--
                    : n.stateNode &&
                      ((e = n.stateNode), e.parentNode.removeChild(e)));
                break;
              case 27:
                yb || oc(n, t);
                var s = Tb,
                  c = Eb;
                (Qu(n.type) && ((Tb = n.stateNode), (Eb = !1)),
                  xc(e, t, n),
                  A(n, Ed, n.stateNode),
                  (Tb = s),
                  (Eb = c));
                break;
              case 5:
                yb || oc(n, t);
              case 6:
                if (
                  ((s = Tb),
                  (c = Eb),
                  (Tb = null),
                  xc(e, t, n),
                  (Tb = s),
                  (Eb = c),
                  Tb !== null)
                )
                  if (Eb)
                    try {
                      A(n, ed, Tb, n.stateNode);
                    } catch (e) {
                      R(n, t, e);
                    }
                  else
                    try {
                      A(n, $u, Tb, n.stateNode);
                    } catch (e) {
                      R(n, t, e);
                    }
                break;
              case 18:
                Tb !== null &&
                  (Eb
                    ? ((e = Tb),
                      td(
                        e.nodeType === 9
                          ? e.body
                          : e.nodeName === `HTML`
                            ? e.ownerDocument.body
                            : e,
                        n.stateNode,
                      ),
                      bf(e))
                    : td(Tb, n.stateNode));
                break;
              case 4:
                ((s = Tb),
                  (c = Eb),
                  (Tb = n.stateNode.containerInfo),
                  (Eb = !0),
                  xc(e, t, n),
                  (Tb = s),
                  (Eb = c));
                break;
              case 0:
              case 11:
              case 14:
              case 15:
                (Zs(gy, n, t), yb || Ys(n, t, _y), xc(e, t, n));
                break;
              case 1:
                (yb ||
                  (oc(n, t),
                  (s = n.stateNode),
                  typeof s.componentWillUnmount == `function` && rc(n, t, s)),
                  xc(e, t, n));
                break;
              case 21:
                xc(e, t, n);
                break;
              case 22:
                ((yb = (s = yb) || n.memoizedState !== null),
                  xc(e, t, n),
                  (yb = s));
                break;
              default:
                xc(e, t, n);
            }
            ((n.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(n, q, J, E_, D_),
              hi(r),
              _i(i),
              (D_ = a),
              (O_ = o));
          }
          function Cc(e, t) {
            if (
              t.memoizedState === null &&
              ((e = t.alternate),
              e !== null && ((e = e.memoizedState), e !== null))
            ) {
              e = e.dehydrated;
              try {
                A(t, Sd, e);
              } catch (e) {
                R(t, t.return, e);
              }
            }
          }
          function wc(e, t) {
            if (
              t.memoizedState === null &&
              ((e = t.alternate),
              e !== null &&
                ((e = e.memoizedState),
                e !== null && ((e = e.dehydrated), e !== null)))
            )
              try {
                A(t, Cd, e);
              } catch (e) {
                R(t, t.return, e);
              }
          }
          function Tc(e) {
            switch (e.tag) {
              case 31:
              case 13:
              case 19:
                var t = e.stateNode;
                return (t === null && (t = e.stateNode = new xb()), t);
              case 22:
                return (
                  (e = e.stateNode),
                  (t = e._retryCache),
                  t === null && (t = e._retryCache = new xb()),
                  t
                );
              default:
                throw Error(
                  `Unexpected Suspense handler tag (` +
                    e.tag +
                    `). This is a bug in React.`,
                );
            }
          }
          function Ec(e, t) {
            var n = Tc(e);
            t.forEach(function (t) {
              if (!n.has(t)) {
                if ((n.add(t), Mp))
                  if (Cb !== null && wb !== null) Wl(wb, Cb);
                  else
                    throw Error(
                      `Expected finished root and lanes to be set. This is a bug in React.`,
                    );
                var r = zl.bind(null, e, t);
                t.then(r, r);
              }
            });
          }
          function Dc(e, t) {
            var n = t.deletions;
            if (n !== null)
              for (var r = 0; r < n.length; r++) {
                var i = e,
                  a = t,
                  o = n[r],
                  s = mi(),
                  c = a;
                a: for (; c !== null;) {
                  switch (c.tag) {
                    case 27:
                      if (Qu(c.type)) {
                        ((Tb = c.stateNode), (Eb = !1));
                        break a;
                      }
                      break;
                    case 5:
                      ((Tb = c.stateNode), (Eb = !1));
                      break a;
                    case 3:
                    case 4:
                      ((Tb = c.stateNode.containerInfo), (Eb = !0));
                      break a;
                  }
                  c = c.return;
                }
                if (Tb === null)
                  throw Error(
                    `Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`,
                  );
                (Sc(i, a, o),
                  (Tb = null),
                  (Eb = !1),
                  (o.mode & K) !== G &&
                    0 <= q &&
                    0 <= J &&
                    0.05 < J - q &&
                    Yn(o, q, J, `Unmount`),
                  hi(s),
                  (i = o),
                  (a = i.alternate),
                  a !== null && (a.return = null),
                  (i.return = null));
              }
            if (t.subtreeFlags & 13886)
              for (t = t.child; t !== null;) (Oc(t, e), (t = t.sibling));
          }
          function Oc(e, t) {
            var n = mi(),
              r = gi(),
              i = vi(),
              a = yi(),
              o = e.alternate,
              s = e.flags;
            switch (e.tag) {
              case 0:
              case 11:
              case 14:
              case 15:
                (Dc(t, e),
                  kc(e),
                  s & 4 &&
                    (Zs(gy | hy, e, e.return),
                    Xs(gy | hy, e),
                    Ys(e, e.return, _y | hy)));
                break;
              case 1:
                if (
                  (Dc(t, e),
                  kc(e),
                  s & 512 && (yb || o === null || oc(o, o.return)),
                  s & 64 &&
                    vb &&
                    ((s = e.updateQueue),
                    s !== null && ((o = s.callbacks), o !== null)))
                ) {
                  var c = s.shared.hiddenCallbacks;
                  s.shared.hiddenCallbacks = c === null ? o : c.concat(o);
                }
                break;
              case 26:
                if (
                  ((c = Db),
                  Dc(t, e),
                  kc(e),
                  s & 512 && (yb || o === null || oc(o, o.return)),
                  s & 4)
                ) {
                  var l = o === null ? null : o.memoizedState;
                  if (((s = e.memoizedState), o === null))
                    if (s === null)
                      if (e.stateNode === null) {
                        a: {
                          ((s = e.type),
                            (o = e.memoizedProps),
                            (c = c.ownerDocument || c));
                          b: switch (s) {
                            case `title`:
                              ((l = c.getElementsByTagName(`title`)[0]),
                                (!l ||
                                  l[Zp] ||
                                  l[Wp] ||
                                  l.namespaceURI === Pm ||
                                  l.hasAttribute(`itemprop`)) &&
                                  ((l = c.createElement(s)),
                                  c.head.insertBefore(
                                    l,
                                    c.querySelector(`head > title`),
                                  )),
                                wu(l, s, o),
                                (l[Wp] = e),
                                Qe(l),
                                (s = l));
                              break a;
                            case `link`:
                              var u = Bd(`link`, `href`, c).get(
                                s + (o.href || ``),
                              );
                              if (u) {
                                for (var d = 0; d < u.length; d++)
                                  if (
                                    ((l = u[d]),
                                    l.getAttribute(`href`) ===
                                      (o.href == null || o.href === ``
                                        ? null
                                        : o.href) &&
                                      l.getAttribute(`rel`) ===
                                        (o.rel == null ? null : o.rel) &&
                                      l.getAttribute(`title`) ===
                                        (o.title == null ? null : o.title) &&
                                      l.getAttribute(`crossorigin`) ===
                                        (o.crossOrigin == null
                                          ? null
                                          : o.crossOrigin))
                                  ) {
                                    u.splice(d, 1);
                                    break b;
                                  }
                              }
                              ((l = c.createElement(s)),
                                wu(l, s, o),
                                c.head.appendChild(l));
                              break;
                            case `meta`:
                              if (
                                (u = Bd(`meta`, `content`, c).get(
                                  s + (o.content || ``),
                                ))
                              ) {
                                for (d = 0; d < u.length; d++)
                                  if (
                                    ((l = u[d]),
                                    j(o.content, `content`),
                                    l.getAttribute(`content`) ===
                                      (o.content == null
                                        ? null
                                        : `` + o.content) &&
                                      l.getAttribute(`name`) ===
                                        (o.name == null ? null : o.name) &&
                                      l.getAttribute(`property`) ===
                                        (o.property == null
                                          ? null
                                          : o.property) &&
                                      l.getAttribute(`http-equiv`) ===
                                        (o.httpEquiv == null
                                          ? null
                                          : o.httpEquiv) &&
                                      l.getAttribute(`charset`) ===
                                        (o.charSet == null ? null : o.charSet))
                                  ) {
                                    u.splice(d, 1);
                                    break b;
                                  }
                              }
                              ((l = c.createElement(s)),
                                wu(l, s, o),
                                c.head.appendChild(l));
                              break;
                            default:
                              throw Error(
                                `getNodesForType encountered a type it did not expect: "` +
                                  s +
                                  `". This is a bug in React.`,
                              );
                          }
                          ((l[Wp] = e), Qe(l), (s = l));
                        }
                        e.stateNode = s;
                      } else Vd(c, e.type, e.stateNode);
                    else e.stateNode = Id(c, s, e.memoizedProps);
                  else
                    l === s
                      ? s === null &&
                        e.stateNode !== null &&
                        uc(e, e.memoizedProps, o.memoizedProps)
                      : (l === null
                          ? o.stateNode !== null &&
                            ((o = o.stateNode), o.parentNode.removeChild(o))
                          : l.count--,
                        s === null
                          ? Vd(c, e.type, e.stateNode)
                          : Id(c, s, e.memoizedProps));
                }
                break;
              case 27:
                (Dc(t, e),
                  kc(e),
                  s & 512 && (yb || o === null || oc(o, o.return)),
                  o !== null &&
                    s & 4 &&
                    uc(e, e.memoizedProps, o.memoizedProps));
                break;
              case 5:
                if (
                  (Dc(t, e),
                  kc(e),
                  s & 512 && (yb || o === null || oc(o, o.return)),
                  e.flags & 32)
                ) {
                  c = e.stateNode;
                  try {
                    A(e, Yu, c);
                  } catch (t) {
                    R(e, e.return, t);
                  }
                }
                (s & 4 &&
                  e.stateNode != null &&
                  ((c = e.memoizedProps),
                  uc(e, c, o === null ? c : o.memoizedProps)),
                  s & 1024 &&
                    ((bb = !0),
                    e.type !== `form` &&
                      console.error(
                        `Unexpected host component type. Expected a form. This is a bug in React.`,
                      )));
                break;
              case 6:
                if ((Dc(t, e), kc(e), s & 4)) {
                  if (e.stateNode === null)
                    throw Error(
                      `This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.`,
                    );
                  ((s = e.memoizedProps),
                    (o = o === null ? s : o.memoizedProps),
                    (c = e.stateNode));
                  try {
                    A(e, Xu, c, o, s);
                  } catch (t) {
                    R(e, e.return, t);
                  }
                }
                break;
              case 3:
                if (
                  ((c = ui()),
                  (pC = null),
                  (l = Db),
                  (Db = Dd(t.containerInfo)),
                  Dc(t, e),
                  (Db = l),
                  kc(e),
                  s & 4 && o !== null && o.memoizedState.isDehydrated)
                )
                  try {
                    A(e, xd, t.containerInfo);
                  } catch (t) {
                    R(e, e.return, t);
                  }
                (bb && ((bb = !1), Ac(e)), (t.effectDuration += di(c)));
                break;
              case 4:
                ((s = Db),
                  (Db = Dd(e.stateNode.containerInfo)),
                  Dc(t, e),
                  kc(e),
                  (Db = s));
                break;
              case 12:
                ((s = ui()),
                  Dc(t, e),
                  kc(e),
                  (e.stateNode.effectDuration += fi(s)));
                break;
              case 31:
                (Dc(t, e),
                  kc(e),
                  s & 4 &&
                    ((s = e.updateQueue),
                    s !== null && ((e.updateQueue = null), Ec(e, s))));
                break;
              case 13:
                (Dc(t, e),
                  kc(e),
                  e.child.flags & 8192 &&
                    (e.memoizedState !== null) !=
                      (o !== null && o.memoizedState !== null) &&
                    (_x = bp()),
                  s & 4 &&
                    ((s = e.updateQueue),
                    s !== null && ((e.updateQueue = null), Ec(e, s))));
                break;
              case 22:
                c = e.memoizedState !== null;
                var f = o !== null && o.memoizedState !== null,
                  p = vb,
                  m = yb;
                if (
                  ((vb = p || c),
                  (yb = m || f),
                  Dc(t, e),
                  (yb = m),
                  (vb = p),
                  f &&
                    !c &&
                    !p &&
                    !m &&
                    (e.mode & K) !== G &&
                    0 <= q &&
                    0 <= J &&
                    0.05 < J - q &&
                    Xn(e, q, J),
                  kc(e),
                  s & 8192)
                )
                  a: for (
                    t = e.stateNode,
                      t._visibility = c
                        ? t._visibility & ~Og
                        : t._visibility | Og,
                      !c ||
                        o === null ||
                        f ||
                        vb ||
                        yb ||
                        (Nc(e),
                        (e.mode & K) !== G &&
                          0 <= q &&
                          0 <= J &&
                          0.05 < J - q &&
                          Yn(e, q, J, `Disconnect`)),
                      o = null,
                      t = e;
                    ;
                  ) {
                    if (t.tag === 5 || t.tag === 26) {
                      if (o === null) {
                        f = o = t;
                        try {
                          ((l = f.stateNode),
                            c
                              ? A(f, id, l)
                              : A(f, sd, f.stateNode, f.memoizedProps));
                        } catch (e) {
                          R(f, f.return, e);
                        }
                      }
                    } else if (t.tag === 6) {
                      if (o === null) {
                        f = t;
                        try {
                          ((u = f.stateNode),
                            c ? A(f, ad, u) : A(f, cd, u, f.memoizedProps));
                        } catch (e) {
                          R(f, f.return, e);
                        }
                      }
                    } else if (t.tag === 18) {
                      if (o === null) {
                        f = t;
                        try {
                          ((d = f.stateNode),
                            c ? A(f, rd, d) : A(f, od, f.stateNode));
                        } catch (e) {
                          R(f, f.return, e);
                        }
                      }
                    } else if (
                      ((t.tag !== 22 && t.tag !== 23) ||
                        t.memoizedState === null ||
                        t === e) &&
                      t.child !== null
                    ) {
                      ((t.child.return = t), (t = t.child));
                      continue;
                    }
                    if (t === e) break a;
                    for (; t.sibling === null;) {
                      if (t.return === null || t.return === e) break a;
                      (o === t && (o = null), (t = t.return));
                    }
                    (o === t && (o = null),
                      (t.sibling.return = t.return),
                      (t = t.sibling));
                  }
                s & 4 &&
                  ((s = e.updateQueue),
                  s !== null &&
                    ((o = s.retryQueue),
                    o !== null && ((s.retryQueue = null), Ec(e, o))));
                break;
              case 19:
                (Dc(t, e),
                  kc(e),
                  s & 4 &&
                    ((s = e.updateQueue),
                    s !== null && ((e.updateQueue = null), Ec(e, s))));
                break;
              case 30:
                break;
              case 21:
                break;
              default:
                (Dc(t, e), kc(e));
            }
            ((e.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              ((O_ || 0.05 < E_) && $n(e, q, J, E_, D_),
              e.alternate === null &&
                e.return !== null &&
                e.return.alternate !== null &&
                0.05 < J - q &&
                (_c(e.return.alternate, e.return) || Yn(e, q, J, `Mount`))),
              hi(n),
              _i(r),
              (D_ = i),
              (O_ = a));
          }
          function kc(e) {
            var t = e.flags;
            if (t & 2) {
              try {
                A(e, hc, e);
              } catch (t) {
                R(e, e.return, t);
              }
              e.flags &= -3;
            }
            t & 4096 && (e.flags &= -4097);
          }
          function Ac(e) {
            if (e.subtreeFlags & 1024)
              for (e = e.child; e !== null;) {
                var t = e;
                (Ac(t),
                  t.tag === 5 && t.flags & 1024 && t.stateNode.reset(),
                  (e = e.sibling));
              }
          }
          function jc(e, t) {
            if (t.subtreeFlags & 8772)
              for (t = t.child; t !== null;)
                (yc(e, t.alternate, t), (t = t.sibling));
          }
          function Mc(e) {
            var t = mi(),
              n = gi(),
              r = vi(),
              i = yi();
            switch (e.tag) {
              case 0:
              case 11:
              case 14:
              case 15:
                (Ys(e, e.return, _y), Nc(e));
                break;
              case 1:
                oc(e, e.return);
                var a = e.stateNode;
                (typeof a.componentWillUnmount == `function` &&
                  rc(e, e.return, a),
                  Nc(e));
                break;
              case 27:
                A(e, Ed, e.stateNode);
              case 26:
              case 5:
                (oc(e, e.return), Nc(e));
                break;
              case 22:
                e.memoizedState === null && Nc(e);
                break;
              case 30:
                Nc(e);
                break;
              default:
                Nc(e);
            }
            ((e.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(e, q, J, E_, D_),
              hi(t),
              _i(n),
              (D_ = r),
              (O_ = i));
          }
          function Nc(e) {
            for (e = e.child; e !== null;) (Mc(e), (e = e.sibling));
          }
          function Pc(e, t, n, r) {
            var i = mi(),
              a = gi(),
              o = vi(),
              s = yi(),
              c = n.flags;
            switch (n.tag) {
              case 0:
              case 11:
              case 15:
                (Fc(e, n, r), Js(n, _y));
                break;
              case 1:
                if (
                  (Fc(e, n, r),
                  (t = n.stateNode),
                  typeof t.componentDidMount == `function` && A(n, Tv, n, t),
                  (t = n.updateQueue),
                  t !== null)
                ) {
                  e = n.stateNode;
                  try {
                    A(n, oa, t, e);
                  } catch (e) {
                    R(n, n.return, e);
                  }
                }
                (r && c & 64 && ec(n), ac(n, n.return));
                break;
              case 27:
                gc(n);
              case 26:
              case 5:
                (Fc(e, n, r),
                  r && t === null && c & 4 && lc(n),
                  ac(n, n.return));
                break;
              case 12:
                if (r && c & 4) {
                  ((c = ui()),
                    Fc(e, n, r),
                    (r = n.stateNode),
                    (r.effectDuration += fi(c)));
                  try {
                    A(n, sc, n, t, x_, r.effectDuration);
                  } catch (e) {
                    R(n, n.return, e);
                  }
                } else Fc(e, n, r);
                break;
              case 31:
                (Fc(e, n, r), r && c & 4 && Cc(e, n));
                break;
              case 13:
                (Fc(e, n, r), r && c & 4 && wc(e, n));
                break;
              case 22:
                (n.memoizedState === null && Fc(e, n, r), ac(n, n.return));
                break;
              case 30:
                break;
              default:
                Fc(e, n, r);
            }
            ((n.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(n, q, J, E_, D_),
              hi(i),
              _i(a),
              (D_ = o),
              (O_ = s));
          }
          function Fc(e, t, n) {
            for (n &&= (t.subtreeFlags & 8772) != 0, t = t.child; t !== null;)
              (Pc(e, t.alternate, t, n), (t = t.sibling));
          }
          function Ic(e, t) {
            var n = null;
            (e !== null &&
              e.memoizedState !== null &&
              e.memoizedState.cachePool !== null &&
              (n = e.memoizedState.cachePool.pool),
              (e = null),
              t.memoizedState !== null &&
                t.memoizedState.cachePool !== null &&
                (e = t.memoizedState.cachePool.pool),
              e !== n && (e != null && oi(e), n != null && si(n)));
          }
          function Lc(e, t) {
            ((e = null),
              t.alternate !== null && (e = t.alternate.memoizedState.cache),
              (t = t.memoizedState.cache),
              t !== e && (oi(t), e != null && si(e)));
          }
          function Rc(e, t, n, r, i) {
            if (
              t.subtreeFlags & 10256 ||
              (t.actualDuration !== 0 &&
                (t.alternate === null || t.alternate.child !== t.child))
            )
              for (t = t.child; t !== null;) {
                var a = t.sibling;
                (zc(e, t, n, r, a === null ? i : a.actualStartTime), (t = a));
              }
          }
          function zc(e, t, n, r, i) {
            var a = mi(),
              o = gi(),
              s = vi(),
              c = yi(),
              l = Sg,
              u = t.flags;
            switch (t.tag) {
              case 0:
              case 11:
              case 15:
                ((t.mode & K) !== G &&
                  0 < t.actualStartTime &&
                  t.flags & 1 &&
                  Zn(t, t.actualStartTime, i, Ob, n),
                  Rc(e, t, n, r, i),
                  u & 2048 && Qs(t, vy | hy));
                break;
              case 1:
                ((t.mode & K) !== G &&
                  0 < t.actualStartTime &&
                  (t.flags & 128
                    ? Qn(t, t.actualStartTime, i, [])
                    : t.flags & 1 && Zn(t, t.actualStartTime, i, Ob, n)),
                  Rc(e, t, n, r, i));
                break;
              case 3:
                var d = ui(),
                  f = Ob;
                ((Ob =
                  t.alternate !== null &&
                  t.alternate.memoizedState.isDehydrated &&
                  (t.flags & 256) == 0),
                  Rc(e, t, n, r, i),
                  (Ob = f),
                  u & 2048 &&
                    ((n = null),
                    t.alternate !== null &&
                      (n = t.alternate.memoizedState.cache),
                    (r = t.memoizedState.cache),
                    r !== n && (oi(r), n != null && si(n))),
                  (e.passiveEffectDuration += di(d)));
                break;
              case 12:
                if (u & 2048) {
                  ((u = ui()),
                    Rc(e, t, n, r, i),
                    (e = t.stateNode),
                    (e.passiveEffectDuration += fi(u)));
                  try {
                    A(t, cc, t, t.alternate, x_, e.passiveEffectDuration);
                  } catch (e) {
                    R(t, t.return, e);
                  }
                } else Rc(e, t, n, r, i);
                break;
              case 31:
                ((u = Ob),
                  (d = t.alternate === null ? null : t.alternate.memoizedState),
                  (f = t.memoizedState),
                  d !== null && f === null
                    ? ((f = t.deletions),
                      f !== null && 0 < f.length && f[0].tag === 18
                        ? ((Ob = !1),
                          (d = d.hydrationErrors),
                          d !== null && Qn(t, t.actualStartTime, i, d))
                        : (Ob = !0))
                    : (Ob = !1),
                  Rc(e, t, n, r, i),
                  (Ob = u));
                break;
              case 13:
                ((u = Ob),
                  (d = t.alternate === null ? null : t.alternate.memoizedState),
                  (f = t.memoizedState),
                  d === null ||
                  d.dehydrated === null ||
                  (f !== null && f.dehydrated !== null)
                    ? (Ob = !1)
                    : ((f = t.deletions),
                      f !== null && 0 < f.length && f[0].tag === 18
                        ? ((Ob = !1),
                          (d = d.hydrationErrors),
                          d !== null && Qn(t, t.actualStartTime, i, d))
                        : (Ob = !0)),
                  Rc(e, t, n, r, i),
                  (Ob = u));
                break;
              case 23:
                break;
              case 22:
                ((f = t.stateNode),
                  (d = t.alternate),
                  t.memoizedState === null
                    ? f._visibility & kg
                      ? Rc(e, t, n, r, i)
                      : ((f._visibility |= kg),
                        Bc(
                          e,
                          t,
                          n,
                          r,
                          (t.subtreeFlags & 10256) != 0 ||
                            (t.actualDuration !== 0 &&
                              (t.alternate === null ||
                                t.alternate.child !== t.child)),
                          i,
                        ),
                        (t.mode & K) === G ||
                          Ob ||
                          ((e = t.actualStartTime),
                          0 <= e && 0.05 < i - e && Xn(t, e, i),
                          0 <= q && 0 <= J && 0.05 < J - q && Xn(t, q, J)))
                    : f._visibility & kg
                      ? Rc(e, t, n, r, i)
                      : Hc(e, t, n, r, i),
                  u & 2048 && Ic(d, t));
                break;
              case 24:
                (Rc(e, t, n, r, i), u & 2048 && Lc(t.alternate, t));
                break;
              default:
                Rc(e, t, n, r, i);
            }
            ((t.mode & K) !== G &&
              ((e =
                !Ob &&
                t.alternate === null &&
                t.return !== null &&
                t.return.alternate !== null) &&
                ((n = t.actualStartTime),
                0 <= n && 0.05 < i - n && Yn(t, n, i, `Mount`)),
              0 <= q &&
                0 <= J &&
                ((O_ || 0.05 < E_) && $n(t, q, J, E_, D_),
                e && 0.05 < J - q && Yn(t, q, J, `Mount`))),
              hi(a),
              _i(o),
              (D_ = s),
              (O_ = c),
              (Sg = l));
          }
          function Bc(e, t, n, r, i, a) {
            for (
              i &&=
                (t.subtreeFlags & 10256) != 0 ||
                (t.actualDuration !== 0 &&
                  (t.alternate === null || t.alternate.child !== t.child)),
                t = t.child;
              t !== null;
            ) {
              var o = t.sibling;
              (Vc(e, t, n, r, i, o === null ? a : o.actualStartTime), (t = o));
            }
          }
          function Vc(e, t, n, r, i, a) {
            var o = mi(),
              s = gi(),
              c = vi(),
              l = yi(),
              u = Sg;
            i &&
              (t.mode & K) !== G &&
              0 < t.actualStartTime &&
              t.flags & 1 &&
              Zn(t, t.actualStartTime, a, Ob, n);
            var d = t.flags;
            switch (t.tag) {
              case 0:
              case 11:
              case 15:
                (Bc(e, t, n, r, i, a), Qs(t, vy));
                break;
              case 23:
                break;
              case 22:
                var f = t.stateNode;
                (t.memoizedState === null
                  ? ((f._visibility |= kg), Bc(e, t, n, r, i, a))
                  : f._visibility & kg
                    ? Bc(e, t, n, r, i, a)
                    : Hc(e, t, n, r, a),
                  i && d & 2048 && Ic(t.alternate, t));
                break;
              case 24:
                (Bc(e, t, n, r, i, a), i && d & 2048 && Lc(t.alternate, t));
                break;
              default:
                Bc(e, t, n, r, i, a);
            }
            ((t.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(t, q, J, E_, D_),
              hi(o),
              _i(s),
              (D_ = c),
              (O_ = l),
              (Sg = u));
          }
          function Hc(e, t, n, r, i) {
            if (
              t.subtreeFlags & 10256 ||
              (t.actualDuration !== 0 &&
                (t.alternate === null || t.alternate.child !== t.child))
            )
              for (var a = t.child; a !== null;) {
                t = a.sibling;
                var o = e,
                  s = n,
                  c = r,
                  l = t === null ? i : t.actualStartTime,
                  u = Sg;
                (a.mode & K) !== G &&
                  0 < a.actualStartTime &&
                  a.flags & 1 &&
                  Zn(a, a.actualStartTime, l, Ob, s);
                var d = a.flags;
                switch (a.tag) {
                  case 22:
                    (Hc(o, a, s, c, l), d & 2048 && Ic(a.alternate, a));
                    break;
                  case 24:
                    (Hc(o, a, s, c, l), d & 2048 && Lc(a.alternate, a));
                    break;
                  default:
                    Hc(o, a, s, c, l);
                }
                ((Sg = u), (a = t));
              }
          }
          function Uc(e, t, n) {
            if (e.subtreeFlags & kb)
              for (e = e.child; e !== null;) (Wc(e, t, n), (e = e.sibling));
          }
          function Wc(e, t, n) {
            switch (e.tag) {
              case 26:
                (Uc(e, t, n),
                  e.flags & kb &&
                    e.memoizedState !== null &&
                    Wd(n, Db, e.memoizedState, e.memoizedProps));
                break;
              case 5:
                Uc(e, t, n);
                break;
              case 3:
              case 4:
                var r = Db;
                ((Db = Dd(e.stateNode.containerInfo)), Uc(e, t, n), (Db = r));
                break;
              case 22:
                e.memoizedState === null &&
                  ((r = e.alternate),
                  r !== null && r.memoizedState !== null
                    ? ((r = kb), (kb = 16777216), Uc(e, t, n), (kb = r))
                    : Uc(e, t, n));
                break;
              default:
                Uc(e, t, n);
            }
          }
          function Gc(e) {
            var t = e.alternate;
            if (t !== null && ((e = t.child), e !== null)) {
              t.child = null;
              do ((t = e.sibling), (e.sibling = null), (e = t));
              while (e !== null);
            }
          }
          function Kc(e) {
            var t = e.deletions;
            if (e.flags & 16) {
              if (t !== null)
                for (var n = 0; n < t.length; n++) {
                  var r = t[n],
                    i = mi();
                  ((Sb = r),
                    Xc(r, e),
                    (r.mode & K) !== G &&
                      0 <= q &&
                      0 <= J &&
                      0.05 < J - q &&
                      Yn(r, q, J, `Unmount`),
                    hi(i));
                }
              Gc(e);
            }
            if (e.subtreeFlags & 10256)
              for (e = e.child; e !== null;) (qc(e), (e = e.sibling));
          }
          function qc(e) {
            var t = mi(),
              n = gi(),
              r = vi(),
              i = yi();
            switch (e.tag) {
              case 0:
              case 11:
              case 15:
                (Kc(e), e.flags & 2048 && $s(e, e.return, vy | hy));
                break;
              case 3:
                var a = ui();
                (Kc(e), (e.stateNode.passiveEffectDuration += di(a)));
                break;
              case 12:
                ((a = ui()),
                  Kc(e),
                  (e.stateNode.passiveEffectDuration += fi(a)));
                break;
              case 22:
                ((a = e.stateNode),
                  e.memoizedState !== null &&
                  a._visibility & kg &&
                  (e.return === null || e.return.tag !== 13)
                    ? ((a._visibility &= ~kg),
                      Jc(e),
                      (e.mode & K) !== G &&
                        0 <= q &&
                        0 <= J &&
                        0.05 < J - q &&
                        Yn(e, q, J, `Disconnect`))
                    : Kc(e));
                break;
              default:
                Kc(e);
            }
            ((e.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(e, q, J, E_, D_),
              hi(t),
              _i(n),
              (O_ = i),
              (D_ = r));
          }
          function Jc(e) {
            var t = e.deletions;
            if (e.flags & 16) {
              if (t !== null)
                for (var n = 0; n < t.length; n++) {
                  var r = t[n],
                    i = mi();
                  ((Sb = r),
                    Xc(r, e),
                    (r.mode & K) !== G &&
                      0 <= q &&
                      0 <= J &&
                      0.05 < J - q &&
                      Yn(r, q, J, `Unmount`),
                    hi(i));
                }
              Gc(e);
            }
            for (e = e.child; e !== null;) (Yc(e), (e = e.sibling));
          }
          function Yc(e) {
            var t = mi(),
              n = gi(),
              r = vi(),
              i = yi();
            switch (e.tag) {
              case 0:
              case 11:
              case 15:
                ($s(e, e.return, vy), Jc(e));
                break;
              case 22:
                var a = e.stateNode;
                a._visibility & kg && ((a._visibility &= ~kg), Jc(e));
                break;
              default:
                Jc(e);
            }
            ((e.mode & K) !== G &&
              0 <= q &&
              0 <= J &&
              (O_ || 0.05 < E_) &&
              $n(e, q, J, E_, D_),
              hi(t),
              _i(n),
              (O_ = i),
              (D_ = r));
          }
          function Xc(e, t) {
            for (; Sb !== null;) {
              var n = Sb,
                r = n,
                i = t,
                a = mi(),
                o = gi(),
                s = vi(),
                c = yi();
              switch (r.tag) {
                case 0:
                case 11:
                case 15:
                  $s(r, i, vy);
                  break;
                case 23:
                case 22:
                  r.memoizedState !== null &&
                    r.memoizedState.cachePool !== null &&
                    ((i = r.memoizedState.cachePool.pool), i != null && oi(i));
                  break;
                case 24:
                  si(r.memoizedState.cache);
              }
              if (
                ((r.mode & K) !== G &&
                  0 <= q &&
                  0 <= J &&
                  (O_ || 0.05 < E_) &&
                  $n(r, q, J, E_, D_),
                hi(a),
                _i(o),
                (O_ = c),
                (D_ = s),
                (r = n.child),
                r !== null)
              )
                ((r.return = n), (Sb = r));
              else
                a: for (n = e; Sb !== null;) {
                  if (
                    ((r = Sb), (a = r.sibling), (o = r.return), bc(r), r === n)
                  ) {
                    Sb = null;
                    break a;
                  }
                  if (a !== null) {
                    ((a.return = o), (Sb = a));
                    break a;
                  }
                  Sb = o;
                }
            }
          }
          function Zc() {
            Mb.forEach(function (e) {
              return e();
            });
          }
          function Qc() {
            var e =
              typeof IS_REACT_ACT_ENVIRONMENT < `u`
                ? IS_REACT_ACT_ENVIRONMENT
                : void 0;
            return (
              e ||
                U.actQueue === null ||
                console.error(
                  `The current testing environment is not configured to support act(...)`,
                ),
              e
            );
          }
          function $c(e) {
            if ((Wb & Fb) !== Pb && $ !== 0) return $ & -$;
            var t = U.T;
            return t === null
              ? Ge()
              : ((t._updatedFibers ||= new Set()),
                t._updatedFibers.add(e),
                tu());
          }
          function el() {
            if (fx === 0)
              if (!($ & 536870912) || e_) {
                var e = Lp;
                ((Lp <<= 1), !(Lp & 3932160) && (Lp = 262144), (fx = e));
              } else fx = 536870912;
            return ((e = ly.current), e !== null && (e.flags |= 32), fx);
          }
          function tl(e, t, n) {
            if (
              (eS &&
                console.error(`useInsertionEffect must not schedule updates.`),
              Yx && (Xx = !0),
              ((e === Gb && (nx === Jb || nx === tx)) ||
                e.cancelPendingCommit !== null) &&
                (ll(e, 0), al(e, $, fx, !1)),
              Ie(e, n),
              (Wb & Fb) !== Pb && e === Gb)
            ) {
              if (mp)
                switch (t.tag) {
                  case 0:
                  case 11:
                  case 15:
                    ((e = (Q && T(Q)) || `Unknown`),
                      rS.has(e) ||
                        (rS.add(e),
                        (t = T(t) || `Unknown`),
                        console.error(
                          "Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",
                          t,
                          e,
                          e,
                        )));
                    break;
                  case 1:
                    nS ||=
                      (console.error(
                        "Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",
                      ),
                      !0);
                }
            } else
              (Mp && He(e, t, n),
                Kl(t),
                e === Gb &&
                  ((Wb & Fb) === Pb && (ux |= n),
                  cx === Vb && al(e, $, fx, !1)),
                ql(e));
          }
          function nl(e, t, n) {
            if ((Wb & (Fb | Ib)) !== Pb)
              throw Error(`Should not already be working.`);
            if ($ !== 0 && Q !== null) {
              var r = Q,
                i = bp();
              switch (ev) {
                case Yb:
                case Jb:
                  var a = tv;
                  yg &&
                    ((r = r._debugTask)
                      ? r.run(
                          console.timeStamp.bind(
                            console,
                            `Suspended`,
                            a,
                            i,
                            bg,
                            void 0,
                            `primary-light`,
                          ),
                        )
                      : console.timeStamp(
                          `Suspended`,
                          a,
                          i,
                          bg,
                          void 0,
                          `primary-light`,
                        ));
                  break;
                case tx:
                  ((a = tv),
                    yg &&
                      ((r = r._debugTask)
                        ? r.run(
                            console.timeStamp.bind(
                              console,
                              `Action`,
                              a,
                              i,
                              bg,
                              void 0,
                              `primary-light`,
                            ),
                          )
                        : console.timeStamp(
                            `Action`,
                            a,
                            i,
                            bg,
                            void 0,
                            `primary-light`,
                          )));
                  break;
                default:
                  yg &&
                    ((r = i - tv),
                    3 > r ||
                      console.timeStamp(
                        `Blocked`,
                        tv,
                        i,
                        bg,
                        void 0,
                        5 > r
                          ? `primary-light`
                          : 10 > r
                            ? `primary`
                            : 100 > r
                              ? `primary-dark`
                              : `error`,
                      ));
              }
            }
            a = (n =
              (!n && (t & 127) == 0 && (t & e.expiredLanes) === 0) || Me(e, t))
              ? vl(e, t)
              : gl(e, t, !0);
            var o = n;
            do {
              if (a === Lb) {
                (ax && !n && al(e, t, 0, !1), (t = nx), (tv = g_()), (ev = t));
                break;
              } else {
                if (((r = bp()), (i = e.current.alternate), o && !il(i))) {
                  (Jn(t),
                    (i = b_),
                    (a = r),
                    !yg ||
                      a <= i ||
                      (Cx
                        ? Cx.run(
                            console.timeStamp.bind(
                              console,
                              `Teared Render`,
                              i,
                              a,
                              xg,
                              W,
                              `error`,
                            ),
                          )
                        : console.timeStamp(
                            `Teared Render`,
                            i,
                            a,
                            xg,
                            W,
                            `error`,
                          )),
                    cl(t, r),
                    (a = gl(e, t, !1)),
                    (o = !1));
                  continue;
                }
                if (a === zb) {
                  if (((o = t), e.errorRecoveryDisabledLanes & o)) var s = 0;
                  else
                    ((s = e.pendingLanes & -536870913),
                      (s = s === 0 ? (s & 536870912 ? 536870912 : 0) : s));
                  if (s !== 0) {
                    (Jn(t), ir(b_, r, t, Cx), cl(t, r), (t = s));
                    a: {
                      ((r = e), (a = o), (o = mx));
                      var c = r.current.memoizedState.isDehydrated;
                      if (
                        (c && (ll(r, s).flags |= 256),
                        (s = gl(r, s, !1)),
                        s !== zb)
                      ) {
                        if (ox && !c) {
                          ((r.errorRecoveryDisabledLanes |= a),
                            (ux |= a),
                            (a = Vb));
                          break a;
                        }
                        ((r = hx),
                          (hx = o),
                          r !== null &&
                            (hx === null ? (hx = r) : hx.push.apply(hx, r)));
                      }
                      a = s;
                    }
                    if (((o = !1), a !== zb)) continue;
                    r = bp();
                  }
                }
                if (a === Rb) {
                  (Jn(t),
                    ir(b_, r, t, Cx),
                    cl(t, r),
                    ll(e, 0),
                    al(e, t, 0, !0));
                  break;
                }
                a: {
                  switch (((n = e), a)) {
                    case Lb:
                    case Rb:
                      throw Error(
                        `Root did not complete. This is a bug in React.`,
                      );
                    case Vb:
                      if ((t & 4194048) !== t) break;
                    case Hb:
                      (Jn(t),
                        tr(b_, r, t, Cx),
                        cl(t, r),
                        (i = t),
                        i & 127 ? (R_ = r) : i & 4194048 && (Y_ = r),
                        al(n, t, fx, !ix));
                      break a;
                    case zb:
                      hx = null;
                      break;
                    case Bb:
                    case Ub:
                      break;
                    default:
                      throw Error(`Unknown root exit status.`);
                  }
                  if (U.actQueue !== null)
                    El(n, i, t, hx, Sx, gx, fx, ux, px, a, null, null, b_, r);
                  else {
                    if (
                      (t & 62914560) === t &&
                      ((o = _x + yx - bp()), 10 < o)
                    ) {
                      if ((al(n, t, fx, !ix), je(n, 0, !0) !== 0)) break a;
                      ((Rx = t),
                        (n.timeoutHandle = QS(
                          rl.bind(
                            null,
                            n,
                            i,
                            hx,
                            Sx,
                            gx,
                            t,
                            fx,
                            ux,
                            px,
                            ix,
                            a,
                            `Throttled`,
                            b_,
                            r,
                          ),
                          o,
                        )));
                      break a;
                    }
                    rl(n, i, hx, Sx, gx, t, fx, ux, px, ix, a, null, b_, r);
                  }
                }
              }
              break;
            } while (1);
            ql(e);
          }
          function rl(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
            e.timeoutHandle = eC;
            var m = t.subtreeFlags,
              h = null;
            if (
              (m & 8192 || (m & 16785408) == 16785408) &&
              ((h = {
                stylesheets: null,
                count: 0,
                imgCount: 0,
                imgBytes: 0,
                suspenseyImages: [],
                waitingForImages: !0,
                waitingForViewTransition: !1,
                unsuspend: an,
              }),
              Wc(t, a, h),
              (m =
                (a & 62914560) === a
                  ? _x - bp()
                  : (a & 4194048) === a
                    ? vx - bp()
                    : 0),
              (m = Gd(h, m)),
              m !== null)
            ) {
              ((Rx = a),
                (e.cancelPendingCommit = m(
                  El.bind(
                    null,
                    e,
                    t,
                    a,
                    n,
                    r,
                    i,
                    o,
                    s,
                    c,
                    u,
                    h,
                    h.waitingForViewTransition
                      ? `Waiting for the previous Animation`
                      : 0 < h.count
                        ? 0 < h.imgCount
                          ? `Suspended on CSS and Images`
                          : `Suspended on CSS`
                        : h.imgCount === 1
                          ? `Suspended on an Image`
                          : 0 < h.imgCount
                            ? `Suspended on Images`
                            : null,
                    f,
                    p,
                  ),
                )),
                al(e, a, o, !l));
              return;
            }
            El(e, t, a, n, r, i, o, s, c, u, h, d, f, p);
          }
          function il(e) {
            for (var t = e; ;) {
              var n = t.tag;
              if (
                (n === 0 || n === 11 || n === 15) &&
                t.flags & 16384 &&
                ((n = t.updateQueue),
                n !== null && ((n = n.stores), n !== null))
              )
                for (var r = 0; r < n.length; r++) {
                  var i = n[r],
                    a = i.getSnapshot;
                  i = i.value;
                  try {
                    if (!Hh(a(), i)) return !1;
                  } catch {
                    return !1;
                  }
                }
              if (((n = t.child), t.subtreeFlags & 16384 && n !== null))
                ((n.return = t), (t = n));
              else {
                if (t === e) break;
                for (; t.sibling === null;) {
                  if (t.return === null || t.return === e) return !0;
                  t = t.return;
                }
                ((t.sibling.return = t.return), (t = t.sibling));
              }
            }
            return !0;
          }
          function al(e, t, n, r) {
            ((t &= ~dx),
              (t &= ~ux),
              (e.suspendedLanes |= t),
              (e.pingedLanes &= ~t),
              r && (e.warmLanes |= t),
              (r = e.expirationTimes));
            for (var i = t; 0 < i;) {
              var a = 31 - Np(i),
                o = 1 << a;
              ((r[a] = -1), (i &= ~o));
            }
            n !== 0 && Re(e, n, t);
          }
          function ol() {
            return (Wb & (Fb | Ib)) === Pb ? (z(0, !1), !1) : !0;
          }
          function sl() {
            if (Q !== null) {
              if (nx === Kb) var e = Q.return;
              else ((e = Q), Jr(), Da(e), (Wv = null), (Gv = 0), (e = Q));
              for (; e !== null;) (Ks(e.alternate, e), (e = e.return));
              Q = null;
            }
          }
          function cl(e, t) {
            (e & 127 && (k_ = t),
              e & 4194048 && (z_ = t),
              e & 62914560 && (X_ = t),
              e & 2080374784 && (Z_ = t));
          }
          function ll(e, t) {
            yg &&
              (console.timeStamp(
                `Blocking Track`,
                0.003,
                0.003,
                `Blocking`,
                W,
                `primary-light`,
              ),
              console.timeStamp(
                `Transition Track`,
                0.003,
                0.003,
                `Transition`,
                W,
                `primary-light`,
              ),
              console.timeStamp(
                `Suspense Track`,
                0.003,
                0.003,
                `Suspense`,
                W,
                `primary-light`,
              ),
              console.timeStamp(
                `Idle Track`,
                0.003,
                0.003,
                `Idle`,
                W,
                `primary-light`,
              ));
            var n = b_;
            if (((b_ = g_()), $ !== 0 && 0 < n)) {
              if ((Jn($), cx === Bb || cx === Vb)) tr(n, b_, t, Cx);
              else {
                var r = b_,
                  i = Cx;
                if (yg && !(r <= n)) {
                  var a =
                      (t & 738197653) === t ? `tertiary-dark` : `primary-dark`,
                    o =
                      (t & 536870912) === t
                        ? `Prewarm`
                        : (t & 201326741) === t
                          ? `Interrupted Hydration`
                          : `Interrupted Render`;
                  i
                    ? i.run(console.timeStamp.bind(console, o, n, r, xg, W, a))
                    : console.timeStamp(o, n, r, xg, W, a);
                }
              }
              cl($, b_);
            }
            if (((n = Cx), (Cx = null), t & 127)) {
              ((Cx = j_),
                (i = 0 <= A_ && A_ < k_ ? k_ : A_),
                (r = 0 <= F_ && F_ < k_ ? k_ : F_),
                (a = 0 <= r ? r : 0 <= i ? i : b_),
                0 <= R_
                  ? (Jn(2), nr(R_, a, t, n))
                  : Q_ & 127 && (Jn(2), sr(k_, a, $_)),
                (n = i));
              var s = r,
                c = I_,
                l = 0 < L_,
                u = M_ === v_,
                d = M_ === y_;
              if (((i = b_), (r = j_), (a = N_), (o = P_), yg)) {
                if (
                  ((xg = `Blocking`),
                  0 < n ? n > i && (n = i) : (n = i),
                  0 < s ? s > n && (s = n) : (s = n),
                  c !== null && n > s)
                ) {
                  var f = l ? `secondary-light` : `warning`;
                  r
                    ? r.run(
                        console.timeStamp.bind(
                          console,
                          l ? `Consecutive` : `Event: ` + c,
                          s,
                          n,
                          xg,
                          W,
                          f,
                        ),
                      )
                    : console.timeStamp(
                        l ? `Consecutive` : `Event: ` + c,
                        s,
                        n,
                        xg,
                        W,
                        f,
                      );
                }
                i > n &&
                  ((s = u
                    ? `error`
                    : (t & 738197653) === t
                      ? `tertiary-light`
                      : `primary-light`),
                  (u = d
                    ? `Promise Resolved`
                    : u
                      ? `Cascading Update`
                      : 5 < i - n
                        ? `Update Blocked`
                        : `Update`),
                  (d = []),
                  o != null && d.push([`Component name`, o]),
                  a != null && d.push([`Method name`, a]),
                  (n = {
                    start: n,
                    end: i,
                    detail: {
                      devtools: {
                        properties: d,
                        track: xg,
                        trackGroup: W,
                        color: s,
                      },
                    },
                  }),
                  r
                    ? r.run(performance.measure.bind(performance, u, n))
                    : performance.measure(u, n));
              }
              ((A_ = -1.1),
                (M_ = 0),
                (P_ = N_ = null),
                (R_ = -1.1),
                (L_ = F_),
                (F_ = -1.1),
                (k_ = g_()));
            }
            if (
              (t & 4194048 &&
                ((Cx = U_),
                (i = 0 <= B_ && B_ < z_ ? z_ : B_),
                (n = 0 <= V_ && V_ < z_ ? z_ : V_),
                (r = 0 <= K_ && K_ < z_ ? z_ : K_),
                (a = 0 <= r ? r : 0 <= n ? n : b_),
                0 <= Y_
                  ? (Jn(256), nr(Y_, a, t, Cx))
                  : Q_ & 4194048 && (Jn(256), sr(z_, a, $_)),
                (d = r),
                (s = q_),
                (c = 0 < J_),
                (l = H_ === y_),
                (a = b_),
                (r = U_),
                (o = W_),
                (u = G_),
                yg &&
                  ((xg = `Transition`),
                  0 < n ? n > a && (n = a) : (n = a),
                  0 < i ? i > n && (i = n) : (i = n),
                  0 < d ? d > i && (d = i) : (d = i),
                  i > d &&
                    s !== null &&
                    ((f = c ? `secondary-light` : `warning`),
                    r
                      ? r.run(
                          console.timeStamp.bind(
                            console,
                            c ? `Consecutive` : `Event: ` + s,
                            d,
                            i,
                            xg,
                            W,
                            f,
                          ),
                        )
                      : console.timeStamp(
                          c ? `Consecutive` : `Event: ` + s,
                          d,
                          i,
                          xg,
                          W,
                          f,
                        )),
                  n > i &&
                    (r
                      ? r.run(
                          console.timeStamp.bind(
                            console,
                            `Action`,
                            i,
                            n,
                            xg,
                            W,
                            `primary-dark`,
                          ),
                        )
                      : console.timeStamp(
                          `Action`,
                          i,
                          n,
                          xg,
                          W,
                          `primary-dark`,
                        )),
                  a > n &&
                    ((i = l
                      ? `Promise Resolved`
                      : 5 < a - n
                        ? `Update Blocked`
                        : `Update`),
                    (d = []),
                    u != null && d.push([`Component name`, u]),
                    o != null && d.push([`Method name`, o]),
                    (n = {
                      start: n,
                      end: a,
                      detail: {
                        devtools: {
                          properties: d,
                          track: xg,
                          trackGroup: W,
                          color: `primary-light`,
                        },
                      },
                    }),
                    r
                      ? r.run(performance.measure.bind(performance, i, n))
                      : performance.measure(i, n))),
                (V_ = B_ = -1.1),
                (H_ = 0),
                (Y_ = -1.1),
                (J_ = K_),
                (K_ = -1.1),
                (z_ = g_())),
              t & 62914560 && Q_ & 62914560 && (Jn(4194304), sr(X_, b_, $_)),
              t & 2080374784 &&
                Q_ & 2080374784 &&
                (Jn(268435456), sr(Z_, b_, $_)),
              (n = e.timeoutHandle),
              n !== eC && ((e.timeoutHandle = eC), $S(n)),
              (n = e.cancelPendingCommit),
              n !== null && ((e.cancelPendingCommit = null), n()),
              (Rx = 0),
              sl(),
              (Gb = e),
              (Q = n = xr(e.current, null)),
              ($ = t),
              (nx = Kb),
              (rx = null),
              (ix = !1),
              (ax = Me(e, t)),
              (ox = !1),
              (cx = Lb),
              (px = fx = dx = ux = lx = 0),
              (hx = mx = null),
              (gx = !1),
              t & 8 && (t |= t & 32),
              (r = e.entangledLanes),
              r !== 0)
            )
              for (e = e.entanglements, r &= t; 0 < r;)
                ((i = 31 - Np(r)), (a = 1 << i), (t |= e[i]), (r &= ~a));
            return (
              (sx = t),
              cr(),
              (e = cg()),
              1e3 < e - og && ((U.recentlyCreatedOwnerStacks = 0), (og = e)),
              uv.discardPendingWarnings(),
              n
            );
          }
          function ul(e, t) {
            ((X = null),
              (U.H = Ry),
              (U.getCurrentStack = null),
              (mp = !1),
              (pp = null),
              t === Rv || t === Bv
                ? ((t = Li()), (nx = Yb))
                : t === zv
                  ? ((t = Li()), (nx = Xb))
                  : (nx =
                      t === ob
                        ? ex
                        : typeof t == `object` &&
                            t &&
                            typeof t.then == `function`
                          ? Qb
                          : qb),
              (rx = t));
            var n = Q;
            n === null
              ? ((cx = Rb), rs(e, kr(t, e.current)))
              : n.mode & K && xi(n);
          }
          function dl() {
            var e = ly.current;
            return e === null
              ? !0
              : ($ & 4194048) === $
                ? uy === null
                : ($ & 62914560) === $ || $ & 536870912
                  ? e === uy
                  : !1;
          }
          function fl() {
            var e = U.H;
            return ((U.H = Ry), e === null ? Ry : e);
          }
          function pl() {
            var e = U.A;
            return ((U.A = Ab), e);
          }
          function ml(e) {
            Cx === null && (Cx = e._debugTask == null ? null : e._debugTask);
          }
          function hl() {
            ((cx = Vb),
              ix || (($ & 4194048) !== $ && ly.current !== null) || (ax = !0),
              (!(lx & 134217727) && !(ux & 134217727)) ||
                Gb === null ||
                al(Gb, $, fx, !1));
          }
          function gl(e, t, n) {
            var r = Wb;
            Wb |= Fb;
            var i = fl(),
              a = pl();
            if (Gb !== e || $ !== t) {
              if (Mp) {
                var o = e.memoizedUpdaters;
                (0 < o.size && (Wl(e, $), o.clear()), Ue(e, t));
              }
              ((Sx = null), ll(e, t));
            }
            ((t = !1), (o = cx));
            a: do
              try {
                if (nx !== Kb && Q !== null) {
                  var s = Q,
                    c = rx;
                  switch (nx) {
                    case ex:
                      (sl(), (o = Hb));
                      break a;
                    case Yb:
                    case Jb:
                    case tx:
                    case Qb:
                      ly.current === null && (t = !0);
                      var l = nx;
                      if (((nx = Kb), (rx = null), Cl(e, s, c, l), n && ax)) {
                        o = Lb;
                        break a;
                      }
                      break;
                    default:
                      ((l = nx), (nx = Kb), (rx = null), Cl(e, s, c, l));
                  }
                }
                (_l(), (o = cx));
                break;
              } catch (t) {
                ul(e, t);
              }
            while (1);
            return (
              t && e.shellSuspendCounter++,
              Jr(),
              (Wb = r),
              (U.H = i),
              (U.A = a),
              Q === null && ((Gb = null), ($ = 0), cr()),
              o
            );
          }
          function _l() {
            for (; Q !== null;) bl(Q);
          }
          function vl(e, t) {
            var n = Wb;
            Wb |= Fb;
            var r = fl(),
              i = pl();
            if (Gb !== e || $ !== t) {
              if (Mp) {
                var a = e.memoizedUpdaters;
                (0 < a.size && (Wl(e, $), a.clear()), Ue(e, t));
              }
              ((Sx = null), (bx = bp() + xx), ll(e, t));
            } else ax = Me(e, t);
            a: do
              try {
                if (nx !== Kb && Q !== null)
                  b: switch (((t = Q), (a = rx), nx)) {
                    case qb:
                      ((nx = Kb), (rx = null), Cl(e, t, a, qb));
                      break;
                    case Jb:
                    case tx:
                      if (Pi(a)) {
                        ((nx = Kb), (rx = null), xl(t));
                        break;
                      }
                      ((t = function () {
                        ((nx !== Jb && nx !== tx) || Gb !== e || (nx = $b),
                          ql(e));
                      }),
                        a.then(t, t));
                      break a;
                    case Yb:
                      nx = $b;
                      break a;
                    case Xb:
                      nx = Zb;
                      break a;
                    case $b:
                      Pi(a)
                        ? ((nx = Kb), (rx = null), xl(t))
                        : ((nx = Kb), (rx = null), Cl(e, t, a, $b));
                      break;
                    case Zb:
                      var o = null;
                      switch (Q.tag) {
                        case 26:
                          o = Q.memoizedState;
                        case 5:
                        case 27:
                          var s = Q;
                          if (o ? Ud(o) : s.stateNode.complete) {
                            ((nx = Kb), (rx = null));
                            var c = s.sibling;
                            if (c !== null) Q = c;
                            else {
                              var l = s.return;
                              l === null ? (Q = null) : ((Q = l), wl(l));
                            }
                            break b;
                          }
                          break;
                        default:
                          console.error(
                            `Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`,
                          );
                      }
                      ((nx = Kb), (rx = null), Cl(e, t, a, Zb));
                      break;
                    case Qb:
                      ((nx = Kb), (rx = null), Cl(e, t, a, Qb));
                      break;
                    case ex:
                      (sl(), (cx = Hb));
                      break a;
                    default:
                      throw Error(
                        `Unexpected SuspendedReason. This is a bug in React.`,
                      );
                  }
                U.actQueue === null ? yl() : _l();
                break;
              } catch (t) {
                ul(e, t);
              }
            while (1);
            return (
              Jr(),
              (U.H = r),
              (U.A = i),
              (Wb = n),
              Q === null ? ((Gb = null), ($ = 0), cr(), cx) : Lb
            );
          }
          function yl() {
            for (; Q !== null && !vp();) bl(Q);
          }
          function bl(e) {
            var t = e.alternate;
            ((e.mode & K) === G
              ? (t = A(e, Ls, t, e, sx))
              : (bi(e), (t = A(e, Ls, t, e, sx)), xi(e)),
              (e.memoizedProps = e.pendingProps),
              t === null ? wl(e) : (Q = t));
          }
          function xl(e) {
            var t = A(e, Sl, e);
            ((e.memoizedProps = e.pendingProps), t === null ? wl(e) : (Q = t));
          }
          function Sl(e) {
            var t = e.alternate,
              n = (e.mode & K) !== G;
            switch ((n && bi(e), e.tag)) {
              case 15:
              case 0:
                t = xs(t, e, e.pendingProps, e.type, void 0, $);
                break;
              case 11:
                t = xs(t, e, e.pendingProps, e.type.render, e.ref, $);
                break;
              case 5:
                Da(e);
              default:
                (Ks(t, e), (e = Q = Sr(e, sx)), (t = Ls(t, e, sx)));
            }
            return (n && xi(e), t);
          }
          function Cl(e, t, n, r) {
            (Jr(), Da(t), (Wv = null), (Gv = 0));
            var i = t.return;
            try {
              if (cs(e, i, t, n, $)) {
                ((cx = Rb), rs(e, kr(n, e.current)), (Q = null));
                return;
              }
            } catch (t) {
              if (i !== null) throw ((Q = i), t);
              ((cx = Rb), rs(e, kr(n, e.current)), (Q = null));
              return;
            }
            t.flags & 32768
              ? (e_ || r === qb
                  ? (e = !0)
                  : ax || $ & 536870912
                    ? (e = !1)
                    : ((ix = e = !0),
                      (r === Jb || r === tx || r === Yb || r === Qb) &&
                        ((r = ly.current),
                        r !== null && r.tag === 13 && (r.flags |= 16384))),
                Tl(t, e))
              : wl(t);
          }
          function wl(e) {
            var t = e;
            do {
              if (t.flags & 32768) {
                Tl(t, ix);
                return;
              }
              var n = t.alternate;
              if (
                ((e = t.return),
                bi(t),
                (n = A(t, Ws, n, t, sx)),
                (t.mode & K) !== G && Si(t),
                n !== null)
              ) {
                Q = n;
                return;
              }
              if (((t = t.sibling), t !== null)) {
                Q = t;
                return;
              }
              Q = t = e;
            } while (t !== null);
            cx === Lb && (cx = Ub);
          }
          function Tl(e, t) {
            do {
              var n = Gs(e.alternate, e);
              if (n !== null) {
                ((n.flags &= 32767), (Q = n));
                return;
              }
              if ((e.mode & K) !== G) {
                (Si(e), (n = e.actualDuration));
                for (var r = e.child; r !== null;)
                  ((n += r.actualDuration), (r = r.sibling));
                e.actualDuration = n;
              }
              if (
                ((n = e.return),
                n !== null &&
                  ((n.flags |= 32768),
                  (n.subtreeFlags = 0),
                  (n.deletions = null)),
                !t && ((e = e.sibling), e !== null))
              ) {
                Q = e;
                return;
              }
              Q = e = n;
            } while (e !== null);
            ((cx = Hb), (Q = null));
          }
          function El(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
            e.cancelPendingCommit = null;
            do Ml();
            while (Fx !== kx);
            if (
              (uv.flushLegacyContextWarning(),
              uv.flushPendingUnsafeLifecycleWarnings(),
              (Wb & (Fb | Ib)) !== Pb)
            )
              throw Error(`Should not already be working.`);
            if (
              (Jn(n),
              l === zb
                ? ir(f, p, n, Cx)
                : r === null
                  ? er(f, p, n, Cx)
                  : rr(
                      f,
                      p,
                      n,
                      r,
                      t !== null &&
                        t.alternate !== null &&
                        t.alternate.memoizedState.isDehydrated &&
                        (t.flags & 256) != 0,
                      Cx,
                    ),
              t !== null)
            ) {
              if (
                (n === 0 &&
                  console.error(
                    `finishedLanes should not be empty during a commit. This is a bug in React.`,
                  ),
                t === e.current)
              )
                throw Error(
                  `Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`,
                );
              if (
                ((a = t.lanes | t.childLanes),
                (a |= Mg),
                Le(e, n, a, o, s, c),
                e === Gb && ((Q = Gb = null), ($ = 0)),
                (Lx = t),
                (Ix = e),
                (Rx = n),
                (zx = a),
                (Vx = i),
                (Hx = r),
                (Bx = p),
                (Ux = d),
                (Wx = Tx),
                (Gx = null),
                t.actualDuration !== 0 ||
                t.subtreeFlags & 10256 ||
                t.flags & 10256
                  ? ((e.callbackNode = null),
                    (e.callbackPriority = 0),
                    Gl(wp, function () {
                      return (
                        (ZS = window.event),
                        Wx === Tx && (Wx = Dx),
                        Nl(),
                        null
                      );
                    }))
                  : ((e.callbackNode = null), (e.callbackPriority = 0)),
                (C_ = null),
                (x_ = g_()),
                d !== null && ar(p, x_, d, Cx),
                (r = (t.flags & 13878) != 0),
                t.subtreeFlags & 13878 || r)
              ) {
                ((r = U.T),
                  (U.T = null),
                  (i = Kf.p),
                  (Kf.p = zp),
                  (o = Wb),
                  (Wb |= Ib));
                try {
                  vc(e, t, n);
                } finally {
                  ((Wb = o), (Kf.p = i), (U.T = r));
                }
              }
              ((Fx = Ax), Dl(), Ol(), kl());
            }
          }
          function Dl() {
            if (Fx === Ax) {
              Fx = kx;
              var e = Ix,
                t = Lx,
                n = Rx,
                r = (t.flags & 13878) != 0;
              if (t.subtreeFlags & 13878 || r) {
                ((r = U.T), (U.T = null));
                var i = Kf.p;
                Kf.p = zp;
                var a = Wb;
                Wb |= Ib;
                try {
                  ((Cb = n),
                    (wb = e),
                    pi(),
                    Oc(t, e),
                    (wb = Cb = null),
                    (n = JS));
                  var o = Rn(e.containerInfo),
                    s = n.focusedElem,
                    c = n.selectionRange;
                  if (
                    o !== s &&
                    s &&
                    s.ownerDocument &&
                    Ln(s.ownerDocument.documentElement, s)
                  ) {
                    if (c !== null && zn(s)) {
                      var l = c.start,
                        u = c.end;
                      if ((u === void 0 && (u = l), `selectionStart` in s))
                        ((s.selectionStart = l),
                          (s.selectionEnd = Math.min(u, s.value.length)));
                      else {
                        var d = s.ownerDocument || document,
                          f = (d && d.defaultView) || window;
                        if (f.getSelection) {
                          var p = f.getSelection(),
                            m = s.textContent.length,
                            h = Math.min(c.start, m),
                            g = c.end === void 0 ? h : Math.min(c.end, m);
                          !p.extend && h > g && ((o = g), (g = h), (h = o));
                          var _ = In(s, h),
                            v = In(s, g);
                          if (
                            _ &&
                            v &&
                            (p.rangeCount !== 1 ||
                              p.anchorNode !== _.node ||
                              p.anchorOffset !== _.offset ||
                              p.focusNode !== v.node ||
                              p.focusOffset !== v.offset)
                          ) {
                            var y = d.createRange();
                            (y.setStart(_.node, _.offset),
                              p.removeAllRanges(),
                              h > g
                                ? (p.addRange(y), p.extend(v.node, v.offset))
                                : (y.setEnd(v.node, v.offset), p.addRange(y)));
                          }
                        }
                      }
                    }
                    for (d = [], p = s; (p = p.parentNode);)
                      p.nodeType === 1 &&
                        d.push({
                          element: p,
                          left: p.scrollLeft,
                          top: p.scrollTop,
                        });
                    for (
                      typeof s.focus == `function` && s.focus(), s = 0;
                      s < d.length;
                      s++
                    ) {
                      var b = d[s];
                      ((b.element.scrollLeft = b.left),
                        (b.element.scrollTop = b.top));
                    }
                  }
                  ((RC = !!qS), (JS = qS = null));
                } finally {
                  ((Wb = a), (Kf.p = i), (U.T = r));
                }
              }
              ((e.current = t), (Fx = jx));
            }
          }
          function Ol() {
            if (Fx === jx) {
              Fx = kx;
              var e = Gx;
              if (e !== null) {
                x_ = g_();
                var t = S_,
                  n = x_;
                !yg ||
                  n <= t ||
                  ($_
                    ? $_.run(
                        console.timeStamp.bind(
                          console,
                          e,
                          t,
                          n,
                          xg,
                          W,
                          `secondary-light`,
                        ),
                      )
                    : console.timeStamp(e, t, n, xg, W, `secondary-light`));
              }
              ((e = Ix), (t = Lx), (n = Rx));
              var r = (t.flags & 8772) != 0;
              if (t.subtreeFlags & 8772 || r) {
                ((r = U.T), (U.T = null));
                var i = Kf.p;
                Kf.p = zp;
                var a = Wb;
                Wb |= Ib;
                try {
                  ((Cb = n),
                    (wb = e),
                    pi(),
                    yc(e, t.alternate, t),
                    (wb = Cb = null));
                } finally {
                  ((Wb = a), (Kf.p = i), (U.T = r));
                }
              }
              ((e = Bx),
                (t = Ux),
                (S_ = g_()),
                (e = t === null ? e : x_),
                (t = S_),
                (n = Wx === Ex),
                (r = Cx),
                C_ === null
                  ? !yg ||
                    t <= e ||
                    (r
                      ? r.run(
                          console.timeStamp.bind(
                            console,
                            n ? `Commit Interrupted View Transition` : `Commit`,
                            e,
                            t,
                            xg,
                            W,
                            n ? `error` : `secondary-dark`,
                          ),
                        )
                      : console.timeStamp(
                          n ? `Commit Interrupted View Transition` : `Commit`,
                          e,
                          t,
                          xg,
                          W,
                          n ? `error` : `secondary-dark`,
                        ))
                  : or(e, t, C_, !1, r),
                (Fx = Mx));
            }
          }
          function kl() {
            if (Fx === Nx || Fx === Mx) {
              if (Fx === Nx) {
                var e = S_;
                S_ = g_();
                var t = S_,
                  n = Wx === Ex;
                (!yg ||
                  t <= e ||
                  ($_
                    ? $_.run(
                        console.timeStamp.bind(
                          console,
                          n
                            ? `Interrupted View Transition`
                            : `Starting Animation`,
                          e,
                          t,
                          xg,
                          W,
                          n ? `error` : `secondary-light`,
                        ),
                      )
                    : console.timeStamp(
                        n
                          ? `Interrupted View Transition`
                          : `Starting Animation`,
                        e,
                        t,
                        xg,
                        W,
                        n ? ` error` : `secondary-light`,
                      )),
                  Wx !== Ex && (Wx = Ox));
              }
              ((Fx = kx), yp(), (e = Ix));
              var r = Lx;
              ((t = Rx), (n = Hx));
              var i =
                r.actualDuration !== 0 ||
                (r.subtreeFlags & 10256) != 0 ||
                (r.flags & 10256) != 0;
              i
                ? (Fx = Px)
                : ((Fx = kx),
                  (Lx = Ix = null),
                  jl(e, e.pendingLanes),
                  (Qx = 0),
                  ($x = null));
              var a = e.pendingLanes;
              if (
                (a === 0 && (wx = null),
                i || Hl(e),
                (a = We(t)),
                (r = r.stateNode),
                Ap && typeof Ap.onCommitFiberRoot == `function`)
              )
                try {
                  var o = (r.current.flags & 128) == 128;
                  switch (a) {
                    case zp:
                      var s = Sp;
                      break;
                    case Bp:
                      s = Cp;
                      break;
                    case Vp:
                      s = wp;
                      break;
                    case Hp:
                      s = Ep;
                      break;
                    default:
                      s = wp;
                  }
                  Ap.onCommitFiberRoot(kp, r, s, o);
                } catch (e) {
                  jp ||
                    ((jp = !0),
                    console.error(
                      `React instrumentation encountered an error: %o`,
                      e,
                    ));
                }
              if ((Mp && e.memoizedUpdaters.clear(), Zc(), n !== null)) {
                ((o = U.T), (s = Kf.p), (Kf.p = zp), (U.T = null));
                try {
                  var c = e.onRecoverableError;
                  for (r = 0; r < n.length; r++) {
                    var l = n[r],
                      u = Al(l.stack);
                    A(l.source, c, l.value, u);
                  }
                } finally {
                  ((U.T = o), (Kf.p = s));
                }
              }
              (Rx & 3 && Ml(),
                ql(e),
                (a = e.pendingLanes),
                t & 261930 && a & 42
                  ? ((rv = !0), e === Jx ? qx++ : ((qx = 0), (Jx = e)))
                  : (qx = 0),
                i || cl(t, S_),
                z(0, !1));
            }
          }
          function Al(e) {
            return (
              (e = { componentStack: e }),
              Object.defineProperty(e, "digest", {
                get: function () {
                  console.error(
                    `You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.`,
                  );
                },
              }),
              e
            );
          }
          function jl(e, t) {
            (e.pooledCacheLanes &= t) === 0 &&
              ((t = e.pooledCache),
              t != null && ((e.pooledCache = null), si(t)));
          }
          function Ml() {
            return (Dl(), Ol(), kl(), Nl());
          }
          function Nl() {
            if (Fx !== Px) return !1;
            var e = Ix,
              t = zx;
            zx = 0;
            var n = We(Rx),
              r = Vp === 0 || Vp > n ? Vp : n;
            n = U.T;
            var i = Kf.p;
            try {
              ((Kf.p = r), (U.T = null));
              var a = Vx;
              ((Vx = null), (r = Ix));
              var o = Rx;
              if (
                ((Fx = kx), (Lx = Ix = null), (Rx = 0), (Wb & (Fb | Ib)) !== Pb)
              )
                throw Error(
                  `Cannot flush passive effects while already rendering.`,
                );
              (Jn(o), (Yx = !0), (Xx = !1));
              var s = 0;
              if (((C_ = null), (s = bp()), Wx === Ox)) sr(S_, s, $_);
              else {
                var c = S_,
                  l = s,
                  u = Wx === Dx;
                !yg ||
                  l <= c ||
                  (Cx
                    ? Cx.run(
                        console.timeStamp.bind(
                          console,
                          u ? `Waiting for Paint` : `Waiting`,
                          c,
                          l,
                          xg,
                          W,
                          `secondary-light`,
                        ),
                      )
                    : console.timeStamp(
                        u ? `Waiting for Paint` : `Waiting`,
                        c,
                        l,
                        xg,
                        W,
                        `secondary-light`,
                      ));
              }
              ((c = Wb), (Wb |= Ib));
              var d = r.current;
              (pi(), qc(d));
              var f = r.current;
              ((d = Bx), pi(), zc(r, f, o, a, d), Hl(r), (Wb = c));
              var p = bp();
              if (
                ((f = s),
                (d = Cx),
                C_ === null
                  ? !yg ||
                    p <= f ||
                    (d
                      ? d.run(
                          console.timeStamp.bind(
                            console,
                            `Remaining Effects`,
                            f,
                            p,
                            xg,
                            W,
                            `secondary-dark`,
                          ),
                        )
                      : console.timeStamp(
                          `Remaining Effects`,
                          f,
                          p,
                          xg,
                          W,
                          `secondary-dark`,
                        ))
                  : or(f, p, C_, !0, d),
                cl(o, p),
                z(0, !1),
                Xx ? (r === $x ? Qx++ : ((Qx = 0), ($x = r))) : (Qx = 0),
                (Xx = Yx = !1),
                Ap && typeof Ap.onPostCommitFiberRoot == `function`)
              )
                try {
                  Ap.onPostCommitFiberRoot(kp, r);
                } catch (e) {
                  jp ||
                    ((jp = !0),
                    console.error(
                      `React instrumentation encountered an error: %o`,
                      e,
                    ));
                }
              var m = r.current.stateNode;
              return (
                (m.effectDuration = 0),
                (m.passiveEffectDuration = 0),
                !0
              );
            } finally {
              ((Kf.p = i), (U.T = n), jl(e, t));
            }
          }
          function Pl(e, t, n) {
            ((t = kr(n, t)),
              wi(t),
              (t = as(e.stateNode, t, 2)),
              (e = ea(e, t, 2)),
              e !== null && (Ie(e, 2), ql(e)));
          }
          function R(e, t, n) {
            if (((eS = !1), e.tag === 3)) Pl(e, e, n);
            else {
              for (; t !== null;) {
                if (t.tag === 3) {
                  Pl(t, e, n);
                  return;
                }
                if (t.tag === 1) {
                  var r = t.stateNode;
                  if (
                    typeof t.type.getDerivedStateFromError == `function` ||
                    (typeof r.componentDidCatch == `function` &&
                      (wx === null || !wx.has(r)))
                  ) {
                    ((e = kr(n, e)),
                      wi(e),
                      (n = os(2)),
                      (r = ea(t, n, 2)),
                      r !== null && (ss(n, r, t, e), Ie(r, 2), ql(r)));
                    return;
                  }
                }
                t = t.return;
              }
              console.error(
                `Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.

Error message:

%s`,
                n,
              );
            }
          }
          function Fl(e, t, n) {
            var r = e.pingCache;
            if (r === null) {
              r = e.pingCache = new Nb();
              var i = new Set();
              r.set(t, i);
            } else
              ((i = r.get(t)), i === void 0 && ((i = new Set()), r.set(t, i)));
            i.has(n) ||
              ((ox = !0),
              i.add(n),
              (r = Il.bind(null, e, t, n)),
              Mp && Wl(e, n),
              t.then(r, r));
          }
          function Il(e, t, n) {
            var r = e.pingCache;
            (r !== null && r.delete(t),
              (e.pingedLanes |= e.suspendedLanes & n),
              (e.warmLanes &= ~n),
              n & 127
                ? 0 > A_ &&
                  ((k_ = A_ = g_()), (j_ = __(`Promise Resolved`)), (M_ = y_))
                : n & 4194048 &&
                  0 > V_ &&
                  ((z_ = V_ = g_()), (U_ = __(`Promise Resolved`)), (H_ = y_)),
              Qc() &&
                U.actQueue === null &&
                console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).

When testing, code that resolves suspended data should be wrapped into act(...):

act(() => {
  /* finish loading suspended data */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),
              Gb === e &&
                ($ & n) === n &&
                (cx === Vb ||
                (cx === Bb && ($ & 62914560) === $ && bp() - _x < yx)
                  ? (Wb & Fb) === Pb && ll(e, 0)
                  : (dx |= n),
                px === $ && (px = 0)),
              ql(e));
          }
          function Ll(e, t) {
            (t === 0 && (t = Pe()),
              (e = dr(e, t)),
              e !== null && (Ie(e, t), ql(e)));
          }
          function Rl(e) {
            var t = e.memoizedState,
              n = 0;
            (t !== null && (n = t.retryLane), Ll(e, n));
          }
          function zl(e, t) {
            var n = 0;
            switch (e.tag) {
              case 31:
              case 13:
                var r = e.stateNode,
                  i = e.memoizedState;
                i !== null && (n = i.retryLane);
                break;
              case 19:
                r = e.stateNode;
                break;
              case 22:
                r = e.stateNode._retryCache;
                break;
              default:
                throw Error(
                  `Pinged unknown suspense boundary type. This is probably a bug in React.`,
                );
            }
            (r !== null && r.delete(t), Ll(e, n));
          }
          function Bl(e, t, n) {
            if (t.subtreeFlags & 67117056)
              for (t = t.child; t !== null;) {
                var r = e,
                  i = t,
                  a = i.type === Mf;
                ((a = n || a),
                  i.tag === 22
                    ? i.memoizedState === null &&
                      (a && i.flags & 8192
                        ? A(i, Vl, r, i)
                        : i.subtreeFlags & 67108864 && A(i, Bl, r, i, a))
                    : i.flags & 67108864
                      ? a && A(i, Vl, r, i)
                      : Bl(r, i, a),
                  (t = t.sibling));
              }
          }
          function Vl(e, t) {
            Oe(!0);
            try {
              (Mc(t),
                Yc(t),
                Pc(e, t.alternate, t, !1),
                Vc(e, t, 0, null, !1, 0));
            } finally {
              Oe(!1);
            }
          }
          function Hl(e) {
            var t = !0;
            (e.current.mode & (Lg | Rg) || (t = !1), Bl(e, e.current, t));
          }
          function Ul(e) {
            if ((Wb & Fb) === Pb) {
              var t = e.tag;
              if (
                t === 3 ||
                t === 1 ||
                t === 0 ||
                t === 11 ||
                t === 14 ||
                t === 15
              ) {
                if (((t = T(e) || `ReactComponent`), tS !== null)) {
                  if (tS.has(t)) return;
                  tS.add(t);
                } else tS = new Set([t]);
                A(e, function () {
                  console.error(
                    `Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.`,
                  );
                });
              }
            }
          }
          function Wl(e, t) {
            Mp &&
              e.memoizedUpdaters.forEach(function (n) {
                He(e, n, t);
              });
          }
          function Gl(e, t) {
            var n = U.actQueue;
            return n === null ? gp(e, t) : (n.push(t), iS);
          }
          function Kl(e) {
            Qc() &&
              U.actQueue === null &&
              A(e, function () {
                console.error(
                  `An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,
                  T(e),
                );
              });
          }
          function ql(e) {
            (e !== oS &&
              e.next === null &&
              (oS === null ? (aS = oS = e) : (oS = oS.next = e)),
              (lS = !0),
              U.actQueue === null
                ? sS || ((sS = !0), eu())
                : cS || ((cS = !0), eu()));
          }
          function z(e, t) {
            if (!uS && lS) {
              uS = !0;
              do
                for (var n = !1, r = aS; r !== null;) {
                  if (!t)
                    if (e !== 0) {
                      var i = r.pendingLanes;
                      if (i === 0) var a = 0;
                      else {
                        var o = r.suspendedLanes,
                          s = r.pingedLanes;
                        ((a = (1 << (31 - Np(42 | e) + 1)) - 1),
                          (a &= i & ~(o & ~s)),
                          (a =
                            a & 201326741
                              ? (a & 201326741) | 1
                              : a
                                ? a | 2
                                : 0));
                      }
                      a !== 0 && ((n = !0), Ql(r, a));
                    } else
                      ((a = $),
                        (a = je(
                          r,
                          r === Gb ? a : 0,
                          r.cancelPendingCommit !== null ||
                            r.timeoutHandle !== eC,
                        )),
                        !(a & 3) || Me(r, a) || ((n = !0), Ql(r, a)));
                  r = r.next;
                }
              while (n);
              uS = !1;
            }
          }
          function Jl() {
            ((ZS = window.event), Yl());
          }
          function Yl() {
            lS = cS = sS = !1;
            var e = 0;
            dS !== 0 && Hu() && (e = dS);
            for (var t = bp(), n = null, r = aS; r !== null;) {
              var i = r.next,
                a = Xl(r, t);
              (a === 0
                ? ((r.next = null),
                  n === null ? (aS = i) : (n.next = i),
                  i === null && (oS = n))
                : ((n = r), (e !== 0 || a & 3) && (lS = !0)),
                (r = i));
            }
            ((Fx !== kx && Fx !== Px) || z(e, !1), dS !== 0 && (dS = 0));
          }
          function Xl(e, t) {
            for (
              var n = e.suspendedLanes,
                r = e.pingedLanes,
                i = e.expirationTimes,
                a = e.pendingLanes & -62914561;
              0 < a;
            ) {
              var o = 31 - Np(a),
                s = 1 << o,
                c = i[o];
              (c === -1
                ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = Ne(s, t))
                : c <= t && (e.expiredLanes |= s),
                (a &= ~s));
            }
            if (
              ((t = Gb),
              (n = $),
              (n = je(
                e,
                e === t ? n : 0,
                e.cancelPendingCommit !== null || e.timeoutHandle !== eC,
              )),
              (r = e.callbackNode),
              n === 0 ||
                (e === t && (nx === Jb || nx === tx)) ||
                e.cancelPendingCommit !== null)
            )
              return (
                r !== null && $l(r),
                (e.callbackNode = null),
                (e.callbackPriority = 0)
              );
            if (!(n & 3) || Me(e, n)) {
              if (
                ((t = n & -n),
                t !== e.callbackPriority || (U.actQueue !== null && r !== fS))
              )
                $l(r);
              else return t;
              switch (We(n)) {
                case zp:
                case Bp:
                  n = Cp;
                  break;
                case Vp:
                  n = wp;
                  break;
                case Hp:
                  n = Ep;
                  break;
                default:
                  n = wp;
              }
              return (
                (r = Zl.bind(null, e)),
                U.actQueue === null
                  ? (n = gp(n, r))
                  : (U.actQueue.push(r), (n = fS)),
                (e.callbackPriority = t),
                (e.callbackNode = n),
                t
              );
            }
            return (
              r !== null && $l(r),
              (e.callbackPriority = 2),
              (e.callbackNode = null),
              2
            );
          }
          function Zl(e, t) {
            if (((rv = nv = !1), (ZS = window.event), Fx !== kx && Fx !== Px))
              return ((e.callbackNode = null), (e.callbackPriority = 0), null);
            var n = e.callbackNode;
            if ((Wx === Tx && (Wx = Dx), Ml() && e.callbackNode !== n))
              return null;
            var r = $;
            return (
              (r = je(
                e,
                e === Gb ? r : 0,
                e.cancelPendingCommit !== null || e.timeoutHandle !== eC,
              )),
              r === 0
                ? null
                : (nl(e, r, t),
                  Xl(e, bp()),
                  e.callbackNode != null && e.callbackNode === n
                    ? Zl.bind(null, e)
                    : null)
            );
          }
          function Ql(e, t) {
            if (Ml()) return null;
            ((nv = rv), (rv = !1), nl(e, t, !0));
          }
          function $l(e) {
            e !== fS && e !== null && _p(e);
          }
          function eu() {
            (U.actQueue !== null &&
              U.actQueue.push(function () {
                return (Yl(), null);
              }),
              nC(function () {
                (Wb & (Fb | Ib)) === Pb ? Yl() : gp(Sp, Jl);
              }));
          }
          function tu() {
            if (dS === 0) {
              var e = ov;
              (e === 0 && ((e = Ip), (Ip <<= 1), !(Ip & 261888) && (Ip = 256)),
                (dS = e));
            }
            return dS;
          }
          function nu(e) {
            return e == null || typeof e == `symbol` || typeof e == `boolean`
              ? null
              : typeof e == `function`
                ? e
                : (j(e, `action`), rn(`` + e));
          }
          function ru(e, t) {
            var n = t.ownerDocument.createElement(`input`);
            return (
              (n.name = t.name),
              (n.value = t.value),
              e.id && n.setAttribute(`form`, e.id),
              t.parentNode.insertBefore(n, t),
              (e = new FormData(e)),
              n.parentNode.removeChild(n),
              e
            );
          }
          function iu(e, t, n, r, i) {
            if (t === `submit` && n && n.stateNode === i) {
              var a = nu((i[Gp] || null).action),
                o = r.submitter;
              o &&
                ((t = (t = o[Gp] || null)
                  ? nu(t.formAction)
                  : o.getAttribute(`formAction`)),
                t !== null && ((a = t), (o = null)));
              var s = new ah(`action`, `action`, null, r, i);
              e.push({
                event: s,
                listeners: [
                  {
                    instance: null,
                    listener: function () {
                      if (r.defaultPrevented) {
                        if (dS !== 0) {
                          var e = o ? ru(i, o) : new FormData(i),
                            t = {
                              pending: !0,
                              data: e,
                              method: i.method,
                              action: a,
                            };
                          (Object.freeze(t), Mo(n, t, null, e));
                        }
                      } else
                        typeof a == `function` &&
                          (s.preventDefault(),
                          (e = o ? ru(i, o) : new FormData(i)),
                          (t = {
                            pending: !0,
                            data: e,
                            method: i.method,
                            action: a,
                          }),
                          Object.freeze(t),
                          Mo(n, t, a, e));
                    },
                    currentTarget: i,
                  },
                ],
              });
            }
          }
          function au(e, t, n) {
            e.currentTarget = n;
            try {
              t(e);
            } catch (e) {
              ug(e);
            }
            e.currentTarget = null;
          }
          function ou(e, t) {
            t = (t & 4) != 0;
            for (var n = 0; n < e.length; n++) {
              var r = e[n];
              a: {
                var i = void 0,
                  a = r.event;
                if (((r = r.listeners), t))
                  for (var o = r.length - 1; 0 <= o; o--) {
                    var s = r[o],
                      c = s.instance,
                      l = s.currentTarget;
                    if (((s = s.listener), c !== i && a.isPropagationStopped()))
                      break a;
                    (c === null ? au(a, s, l) : A(c, au, a, s, l), (i = c));
                  }
                else
                  for (o = 0; o < r.length; o++) {
                    if (
                      ((s = r[o]),
                      (c = s.instance),
                      (l = s.currentTarget),
                      (s = s.listener),
                      c !== i && a.isPropagationStopped())
                    )
                      break a;
                    (c === null ? au(a, s, l) : A(c, au, a, s, l), (i = c));
                  }
              }
            }
          }
          function B(e, t) {
            mS.has(e) ||
              console.error(
                `Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,
                e,
              );
            var n = t[qp];
            n === void 0 && (n = t[qp] = new Set());
            var r = e + `__bubble`;
            n.has(r) || (lu(t, e, 2, !1), n.add(r));
          }
          function su(e, t, n) {
            mS.has(e) &&
              !t &&
              console.error(
                `Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,
                e,
              );
            var r = 0;
            (t && (r |= 4), lu(n, e, r, t));
          }
          function cu(e) {
            if (!e[hS]) {
              ((e[hS] = !0),
                Qp.forEach(function (t) {
                  t !== `selectionchange` &&
                    (mS.has(t) || su(t, !1, e), su(t, !0, e));
                }));
              var t = e.nodeType === 9 ? e : e.ownerDocument;
              t === null ||
                t[hS] ||
                ((t[hS] = !0), su(`selectionchange`, !1, t));
            }
          }
          function lu(e, t, n, r) {
            switch (uf(t)) {
              case zp:
                var i = af;
                break;
              case Bp:
                i = of;
                break;
              default:
                i = sf;
            }
            ((n = i.bind(null, t, n, e)),
              (i = void 0),
              !$m ||
                (t !== `touchstart` && t !== `touchmove` && t !== `wheel`) ||
                (i = !0),
              r
                ? i === void 0
                  ? e.addEventListener(t, n, !0)
                  : e.addEventListener(t, n, { capture: !0, passive: i })
                : i === void 0
                  ? e.addEventListener(t, n, !1)
                  : e.addEventListener(t, n, { passive: i }));
          }
          function uu(e, t, n, r, i) {
            var a = r;
            if (!(t & 1) && !(t & 2) && r !== null)
              a: for (;;) {
                if (r === null) return;
                var o = r.tag;
                if (o === 3 || o === 4) {
                  var s = r.stateNode.containerInfo;
                  if (s === i) break;
                  if (o === 4)
                    for (o = r.return; o !== null;) {
                      var c = o.tag;
                      if (
                        (c === 3 || c === 4) &&
                        o.stateNode.containerInfo === i
                      )
                        return;
                      o = o.return;
                    }
                  for (; s !== null;) {
                    if (((o = Je(s)), o === null)) return;
                    if (
                      ((c = o.tag), c === 5 || c === 6 || c === 26 || c === 27)
                    ) {
                      r = a = o;
                      continue a;
                    }
                    s = s.parentNode;
                  }
                }
                r = r.return;
              }
            cn(function () {
              var r = a,
                i = on(n),
                o = [];
              a: {
                var s = ig.get(e);
                if (s !== void 0) {
                  var c = ah,
                    l = e;
                  switch (e) {
                    case `keypress`:
                      if (dn(n) === 0) break a;
                    case `keydown`:
                    case `keyup`:
                      c = Sh;
                      break;
                    case `focusin`:
                      ((l = `focus`), (c = mh));
                      break;
                    case `focusout`:
                      ((l = `blur`), (c = mh));
                      break;
                    case `beforeblur`:
                    case `afterblur`:
                      c = mh;
                      break;
                    case `click`:
                      if (n.button === 2) break a;
                    case `auxclick`:
                    case `dblclick`:
                    case `mousedown`:
                    case `mousemove`:
                    case `mouseup`:
                    case `mouseout`:
                    case `mouseover`:
                    case `contextmenu`:
                      c = fh;
                      break;
                    case `drag`:
                    case `dragend`:
                    case `dragenter`:
                    case `dragexit`:
                    case `dragleave`:
                    case `dragover`:
                    case `dragstart`:
                    case `drop`:
                      c = ph;
                      break;
                    case `touchcancel`:
                    case `touchend`:
                    case `touchmove`:
                    case `touchstart`:
                      c = wh;
                      break;
                    case Zh:
                    case Qh:
                    case $h:
                      c = hh;
                      break;
                    case rg:
                      c = Th;
                      break;
                    case `scroll`:
                    case `scrollend`:
                      c = sh;
                      break;
                    case `wheel`:
                      c = Eh;
                      break;
                    case `copy`:
                    case `cut`:
                    case `paste`:
                      c = gh;
                      break;
                    case `gotpointercapture`:
                    case `lostpointercapture`:
                    case `pointercancel`:
                    case `pointerdown`:
                    case `pointermove`:
                    case `pointerout`:
                    case `pointerover`:
                    case `pointerup`:
                      c = Ch;
                      break;
                    case `toggle`:
                    case `beforetoggle`:
                      c = Dh;
                  }
                  var u = (t & 4) != 0,
                    d = !u && (e === `scroll` || e === `scrollend`),
                    f = u ? (s === null ? null : s + `Capture`) : s;
                  u = [];
                  for (var p = r, m; p !== null;) {
                    var h = p;
                    if (
                      ((m = h.stateNode),
                      (h = h.tag),
                      (h !== 5 && h !== 26 && h !== 27) ||
                        m === null ||
                        f === null ||
                        ((h = ln(p, f)), h != null && u.push(du(p, h, m))),
                      d)
                    )
                      break;
                    p = p.return;
                  }
                  0 < u.length &&
                    ((s = new c(s, l, null, n, i)),
                    o.push({ event: s, listeners: u }));
                }
              }
              if (!(t & 7)) {
                a: {
                  if (
                    ((s = e === `mouseover` || e === `pointerover`),
                    (c = e === `mouseout` || e === `pointerout`),
                    s &&
                      n !== Jm &&
                      (l = n.relatedTarget || n.fromElement) &&
                      (Je(l) || l[Kp]))
                  )
                    break a;
                  if (
                    (c || s) &&
                    ((s =
                      i.window === i
                        ? i
                        : (s = i.ownerDocument)
                          ? s.defaultView || s.parentWindow
                          : window),
                    c
                      ? ((l = n.relatedTarget || n.toElement),
                        (c = r),
                        (l = l ? Je(l) : null),
                        l !== null &&
                          ((d = x(l)),
                          (u = l.tag),
                          l !== d || (u !== 5 && u !== 27 && u !== 6)) &&
                          (l = null))
                      : ((c = null), (l = r)),
                    c !== l)
                  ) {
                    if (
                      ((u = fh),
                      (h = `onMouseLeave`),
                      (f = `onMouseEnter`),
                      (p = `mouse`),
                      (e === `pointerout` || e === `pointerover`) &&
                        ((u = Ch),
                        (h = `onPointerLeave`),
                        (f = `onPointerEnter`),
                        (p = `pointer`)),
                      (d = c == null ? s : Xe(c)),
                      (m = l == null ? s : Xe(l)),
                      (s = new u(h, p + `leave`, c, n, i)),
                      (s.target = d),
                      (s.relatedTarget = m),
                      (h = null),
                      Je(i) === r &&
                        ((u = new u(f, p + `enter`, l, n, i)),
                        (u.target = m),
                        (u.relatedTarget = d),
                        (h = u)),
                      (d = h),
                      c && l)
                    )
                      b: {
                        for (u = pu, f = c, p = l, m = 0, h = f; h; h = u(h))
                          m++;
                        h = 0;
                        for (var g = p; g; g = u(g)) h++;
                        for (; 0 < m - h;) ((f = u(f)), m--);
                        for (; 0 < h - m;) ((p = u(p)), h--);
                        for (; m--;) {
                          if (f === p || (p !== null && f === p.alternate)) {
                            u = f;
                            break b;
                          }
                          ((f = u(f)), (p = u(p)));
                        }
                        u = null;
                      }
                    else u = null;
                    (c !== null && mu(o, s, c, u, !1),
                      l !== null && d !== null && mu(o, d, l, u, !0));
                  }
                }
                a: {
                  if (
                    ((s = r ? Xe(r) : window),
                    (c = s.nodeName && s.nodeName.toLowerCase()),
                    c === `select` || (c === `input` && s.type === `file`))
                  )
                    var _ = En;
                  else if (xn(s))
                    if (Vh) _ = Mn;
                    else {
                      _ = An;
                      var v = kn;
                    }
                  else
                    ((c = s.nodeName),
                      !c ||
                      c.toLowerCase() !== `input` ||
                      (s.type !== `checkbox` && s.type !== `radio`)
                        ? r && Zt(r.elementType) && (_ = En)
                        : (_ = jn));
                  if ((_ &&= _(e, r))) {
                    Cn(o, _, n, i);
                    break a;
                  }
                  (v && v(e, s, r),
                    e === `focusout` &&
                      r &&
                      s.type === `number` &&
                      r.memoizedProps.value != null &&
                      _t(s, `number`, s.value));
                }
                switch (((v = r ? Xe(r) : window), e)) {
                  case `focusin`:
                    (xn(v) || v.contentEditable === `true`) &&
                      ((Wh = v), (Gh = r), (Kh = null));
                    break;
                  case `focusout`:
                    Kh = Gh = Wh = null;
                    break;
                  case `mousedown`:
                    qh = !0;
                    break;
                  case `contextmenu`:
                  case `mouseup`:
                  case `dragend`:
                    ((qh = !1), Bn(o, n, i));
                    break;
                  case `selectionchange`:
                    if (Uh) break;
                  case `keydown`:
                  case `keyup`:
                    Bn(o, n, i);
                }
                var y;
                if (Ah)
                  b: {
                    switch (e) {
                      case `compositionstart`:
                        var b = `onCompositionStart`;
                        break b;
                      case `compositionend`:
                        b = `onCompositionEnd`;
                        break b;
                      case `compositionupdate`:
                        b = `onCompositionUpdate`;
                        break b;
                    }
                    b = void 0;
                  }
                else
                  Lh
                    ? _n(e, n) && (b = `onCompositionEnd`)
                    : e === `keydown` &&
                      n.keyCode === kh &&
                      (b = `onCompositionStart`);
                (b &&
                  (Nh &&
                    n.locale !== `ko` &&
                    (Lh || b !== `onCompositionStart`
                      ? b === `onCompositionEnd` && Lh && (y = un())
                      : ((th = i),
                        (nh = `value` in th ? th.value : th.textContent),
                        (Lh = !0))),
                  (v = fu(r, b)),
                  0 < v.length &&
                    ((b = new _h(b, e, null, n, i)),
                    o.push({ event: b, listeners: v }),
                    y
                      ? (b.data = y)
                      : ((y = vn(n)), y !== null && (b.data = y)))),
                  (y = Mh ? yn(e, n) : bn(e, n)) &&
                    ((b = fu(r, `onBeforeInput`)),
                    0 < b.length &&
                      ((v = new vh(`onBeforeInput`, `beforeinput`, null, n, i)),
                      o.push({ event: v, listeners: b }),
                      (v.data = y))),
                  iu(o, e, r, n, i));
              }
              ou(o, t);
            });
          }
          function du(e, t, n) {
            return { instance: e, listener: t, currentTarget: n };
          }
          function fu(e, t) {
            for (var n = t + `Capture`, r = []; e !== null;) {
              var i = e,
                a = i.stateNode;
              if (
                ((i = i.tag),
                (i !== 5 && i !== 26 && i !== 27) ||
                  a === null ||
                  ((i = ln(e, n)),
                  i != null && r.unshift(du(e, i, a)),
                  (i = ln(e, t)),
                  i != null && r.push(du(e, i, a))),
                e.tag === 3)
              )
                return r;
              e = e.return;
            }
            return [];
          }
          function pu(e) {
            if (e === null) return null;
            do e = e.return;
            while (e && e.tag !== 5 && e.tag !== 27);
            return e || null;
          }
          function mu(e, t, n, r, i) {
            for (var a = t._reactName, o = []; n !== null && n !== r;) {
              var s = n,
                c = s.alternate,
                l = s.stateNode;
              if (((s = s.tag), c !== null && c === r)) break;
              ((s !== 5 && s !== 26 && s !== 27) ||
                l === null ||
                ((c = l),
                i
                  ? ((l = ln(n, a)), l != null && o.unshift(du(n, l, c)))
                  : i || ((l = ln(n, a)), l != null && o.push(du(n, l, c)))),
                (n = n.return));
            }
            o.length !== 0 && e.push({ event: t, listeners: o });
          }
          function hu(e, t) {
            (en(e, t),
              (e !== `input` && e !== `textarea` && e !== `select`) ||
                t == null ||
                t.value !== null ||
                Vm ||
                ((Vm = !0),
                e === `select` && t.multiple
                  ? console.error(
                      "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",
                      e,
                    )
                  : console.error(
                      "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",
                      e,
                    )));
            var n = {
              registrationNameDependencies: $p,
              possibleRegistrationNames: em,
            };
            (Zt(e) || typeof t.is == `string` || nn(e, t, n),
              t.contentEditable &&
                !t.suppressContentEditableWarning &&
                t.children != null &&
                console.error(
                  "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.",
                ));
          }
          function gu(e, t, n, r) {
            t !== n && ((n = bu(n)), bu(t) !== n && (r[e] = t));
          }
          function _u(e, t, n) {
            t.forEach(function (t) {
              n[Eu(t)] = t === `style` ? Du(e) : e.getAttribute(t);
            });
          }
          function vu(e, t) {
            !1 === t
              ? console.error(
                  "Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",
                  e,
                  e,
                  e,
                )
              : console.error(
                  "Expected `%s` listener to be a function, instead got a value of `%s` type.",
                  e,
                  typeof t,
                );
          }
          function yu(e, t) {
            return (
              (e =
                e.namespaceURI === Nm || e.namespaceURI === Pm
                  ? e.ownerDocument.createElementNS(e.namespaceURI, e.tagName)
                  : e.ownerDocument.createElement(e.tagName)),
              (e.innerHTML = t),
              e.innerHTML
            );
          }
          function bu(e) {
            return (
              Ce(e) &&
                (console.error(
                  `The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,
                  Se(e),
                ),
                we(e)),
              (typeof e == `string` ? e : `` + e)
                .replace(
                  wS,
                  `
`,
                )
                .replace(TS, ``)
            );
          }
          function xu(e, t) {
            return ((t = bu(t)), bu(e) === t);
          }
          function Su(e, t, n, r, i, a) {
            switch (n) {
              case `children`:
                typeof r == `string`
                  ? (Kt(r, t, !1),
                    t === `body` || (t === `textarea` && r === ``) || qt(e, r))
                  : (typeof r == `number` || typeof r == `bigint`) &&
                    (Kt(`` + r, t, !1), t !== `body` && qt(e, `` + r));
                break;
              case `className`:
                at(e, `class`, r);
                break;
              case `tabIndex`:
                at(e, `tabindex`, r);
                break;
              case `dir`:
              case `role`:
              case `viewBox`:
              case `width`:
              case `height`:
                at(e, n, r);
                break;
              case `style`:
                Xt(e, r, a);
                break;
              case `data`:
                if (t !== `object`) {
                  at(e, `data`, r);
                  break;
                }
              case `src`:
              case `href`:
                if (r === `` && (t !== `a` || n !== `href`)) {
                  (console.error(
                    n === `src`
                      ? `An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`
                      : `An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,
                    n,
                    n,
                  ),
                    e.removeAttribute(n));
                  break;
                }
                if (
                  r == null ||
                  typeof r == `function` ||
                  typeof r == `symbol` ||
                  typeof r == `boolean`
                ) {
                  e.removeAttribute(n);
                  break;
                }
                (j(r, n), (r = rn(`` + r)), e.setAttribute(n, r));
                break;
              case `action`:
              case `formAction`:
                if (
                  (r != null &&
                    (t === `form`
                      ? n === `formAction`
                        ? console.error(
                            `You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`,
                          )
                        : typeof r == `function` &&
                          ((i.encType == null && i.method == null) ||
                            xS ||
                            ((xS = !0),
                            console.error(
                              `Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`,
                            )),
                          i.target == null ||
                            bS ||
                            ((bS = !0),
                            console.error(
                              `Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`,
                            )))
                      : t === `input` || t === `button`
                        ? n === `action`
                          ? console.error(
                              `You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`,
                            )
                          : t !== `input` ||
                              i.type === `submit` ||
                              i.type === `image` ||
                              vS
                            ? t !== `button` ||
                              i.type == null ||
                              i.type === `submit` ||
                              vS
                              ? typeof r == `function` &&
                                (i.name == null ||
                                  yS ||
                                  ((yS = !0),
                                  console.error(
                                    `Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`,
                                  )),
                                (i.formEncType == null &&
                                  i.formMethod == null) ||
                                  xS ||
                                  ((xS = !0),
                                  console.error(
                                    `Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`,
                                  )),
                                i.formTarget == null ||
                                  bS ||
                                  ((bS = !0),
                                  console.error(
                                    `Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`,
                                  )))
                              : ((vS = !0),
                                console.error(
                                  `A button can only specify a formAction along with type="submit" or no type.`,
                                ))
                            : ((vS = !0),
                              console.error(
                                `An input can only specify a formAction along with type="submit" or type="image".`,
                              ))
                        : console.error(
                            n === `action`
                              ? `You can only pass the action prop to <form>.`
                              : `You can only pass the formAction prop to <input> or <button>.`,
                          )),
                  typeof r == `function`)
                ) {
                  e.setAttribute(
                    n,
                    `javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`,
                  );
                  break;
                } else
                  typeof a == `function` &&
                    (n === `formAction`
                      ? (t !== `input` && Su(e, t, `name`, i.name, i, null),
                        Su(e, t, `formEncType`, i.formEncType, i, null),
                        Su(e, t, `formMethod`, i.formMethod, i, null),
                        Su(e, t, `formTarget`, i.formTarget, i, null))
                      : (Su(e, t, `encType`, i.encType, i, null),
                        Su(e, t, `method`, i.method, i, null),
                        Su(e, t, `target`, i.target, i, null)));
                if (
                  r == null ||
                  typeof r == `symbol` ||
                  typeof r == `boolean`
                ) {
                  e.removeAttribute(n);
                  break;
                }
                (j(r, n), (r = rn(`` + r)), e.setAttribute(n, r));
                break;
              case `onClick`:
                r != null &&
                  (typeof r != `function` && vu(n, r), (e.onclick = an));
                break;
              case `onScroll`:
                r != null &&
                  (typeof r != `function` && vu(n, r), B(`scroll`, e));
                break;
              case `onScrollEnd`:
                r != null &&
                  (typeof r != `function` && vu(n, r), B(`scrollend`, e));
                break;
              case `dangerouslySetInnerHTML`:
                if (r != null) {
                  if (typeof r != `object` || !(`__html` in r))
                    throw Error(
                      "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.",
                    );
                  if (((n = r.__html), n != null)) {
                    if (i.children != null)
                      throw Error(
                        "Can only set one of `children` or `props.dangerouslySetInnerHTML`.",
                      );
                    e.innerHTML = n;
                  }
                }
                break;
              case `multiple`:
                e.multiple =
                  r && typeof r != `function` && typeof r != `symbol`;
                break;
              case `muted`:
                e.muted = r && typeof r != `function` && typeof r != `symbol`;
                break;
              case `suppressContentEditableWarning`:
              case `suppressHydrationWarning`:
              case `defaultValue`:
              case `defaultChecked`:
              case `innerHTML`:
              case `ref`:
                break;
              case `autoFocus`:
                break;
              case `xlinkHref`:
                if (
                  r == null ||
                  typeof r == `function` ||
                  typeof r == `boolean` ||
                  typeof r == `symbol`
                ) {
                  e.removeAttribute(`xlink:href`);
                  break;
                }
                (j(r, n),
                  (n = rn(`` + r)),
                  e.setAttributeNS(ES, `xlink:href`, n));
                break;
              case `contentEditable`:
              case `spellCheck`:
              case `draggable`:
              case `value`:
              case `autoReverse`:
              case `externalResourcesRequired`:
              case `focusable`:
              case `preserveAlpha`:
                r != null && typeof r != `function` && typeof r != `symbol`
                  ? (j(r, n), e.setAttribute(n, `` + r))
                  : e.removeAttribute(n);
                break;
              case `inert`:
                r !== `` ||
                  CS[n] ||
                  ((CS[n] = !0),
                  console.error(
                    "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
                    n,
                  ));
              case `allowFullScreen`:
              case `async`:
              case `autoPlay`:
              case `controls`:
              case `default`:
              case `defer`:
              case `disabled`:
              case `disablePictureInPicture`:
              case `disableRemotePlayback`:
              case `formNoValidate`:
              case `hidden`:
              case `loop`:
              case `noModule`:
              case `noValidate`:
              case `open`:
              case `playsInline`:
              case `readOnly`:
              case `required`:
              case `reversed`:
              case `scoped`:
              case `seamless`:
              case `itemScope`:
                r && typeof r != `function` && typeof r != `symbol`
                  ? e.setAttribute(n, ``)
                  : e.removeAttribute(n);
                break;
              case `capture`:
              case `download`:
                !0 === r
                  ? e.setAttribute(n, ``)
                  : !1 !== r &&
                      r != null &&
                      typeof r != `function` &&
                      typeof r != `symbol`
                    ? (j(r, n), e.setAttribute(n, r))
                    : e.removeAttribute(n);
                break;
              case `cols`:
              case `rows`:
              case `size`:
              case `span`:
                r != null &&
                typeof r != `function` &&
                typeof r != `symbol` &&
                !isNaN(r) &&
                1 <= r
                  ? (j(r, n), e.setAttribute(n, r))
                  : e.removeAttribute(n);
                break;
              case `rowSpan`:
              case `start`:
                r == null ||
                typeof r == `function` ||
                typeof r == `symbol` ||
                isNaN(r)
                  ? e.removeAttribute(n)
                  : (j(r, n), e.setAttribute(n, r));
                break;
              case `popover`:
                (B(`beforetoggle`, e), B(`toggle`, e), it(e, `popover`, r));
                break;
              case `xlinkActuate`:
                ot(e, ES, `xlink:actuate`, r);
                break;
              case `xlinkArcrole`:
                ot(e, ES, `xlink:arcrole`, r);
                break;
              case `xlinkRole`:
                ot(e, ES, `xlink:role`, r);
                break;
              case `xlinkShow`:
                ot(e, ES, `xlink:show`, r);
                break;
              case `xlinkTitle`:
                ot(e, ES, `xlink:title`, r);
                break;
              case `xlinkType`:
                ot(e, ES, `xlink:type`, r);
                break;
              case `xmlBase`:
                ot(e, DS, `xml:base`, r);
                break;
              case `xmlLang`:
                ot(e, DS, `xml:lang`, r);
                break;
              case `xmlSpace`:
                ot(e, DS, `xml:space`, r);
                break;
              case `is`:
                (a != null &&
                  console.error(
                    `Cannot update the "is" prop after it has been initialized.`,
                  ),
                  it(e, `is`, r));
                break;
              case `innerText`:
              case `textContent`:
                break;
              case `popoverTarget`:
                SS ||
                  typeof r != `object` ||
                  !r ||
                  ((SS = !0),
                  console.error(
                    "The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",
                    r,
                  ));
              default:
                !(2 < n.length) ||
                (n[0] !== `o` && n[0] !== `O`) ||
                (n[1] !== `n` && n[1] !== `N`)
                  ? ((n = Qt(n)), it(e, n, r))
                  : $p.hasOwnProperty(n) &&
                    r != null &&
                    typeof r != `function` &&
                    vu(n, r);
            }
          }
          function Cu(e, t, n, r, i, a) {
            switch (n) {
              case `style`:
                Xt(e, r, a);
                break;
              case `dangerouslySetInnerHTML`:
                if (r != null) {
                  if (typeof r != `object` || !(`__html` in r))
                    throw Error(
                      "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.",
                    );
                  if (((n = r.__html), n != null)) {
                    if (i.children != null)
                      throw Error(
                        "Can only set one of `children` or `props.dangerouslySetInnerHTML`.",
                      );
                    e.innerHTML = n;
                  }
                }
                break;
              case `children`:
                typeof r == `string`
                  ? qt(e, r)
                  : (typeof r == `number` || typeof r == `bigint`) &&
                    qt(e, `` + r);
                break;
              case `onScroll`:
                r != null &&
                  (typeof r != `function` && vu(n, r), B(`scroll`, e));
                break;
              case `onScrollEnd`:
                r != null &&
                  (typeof r != `function` && vu(n, r), B(`scrollend`, e));
                break;
              case `onClick`:
                r != null &&
                  (typeof r != `function` && vu(n, r), (e.onclick = an));
                break;
              case `suppressContentEditableWarning`:
              case `suppressHydrationWarning`:
              case `innerHTML`:
              case `ref`:
                break;
              case `innerText`:
              case `textContent`:
                break;
              default:
                if ($p.hasOwnProperty(n))
                  r != null && typeof r != `function` && vu(n, r);
                else
                  a: {
                    if (
                      n[0] === `o` &&
                      n[1] === `n` &&
                      ((i = n.endsWith(`Capture`)),
                      (t = n.slice(2, i ? n.length - 7 : void 0)),
                      (a = e[Gp] || null),
                      (a = a == null ? null : a[n]),
                      typeof a == `function` && e.removeEventListener(t, a, i),
                      typeof r == `function`)
                    ) {
                      (typeof a != `function` &&
                        a !== null &&
                        (n in e
                          ? (e[n] = null)
                          : e.hasAttribute(n) && e.removeAttribute(n)),
                        e.addEventListener(t, r, i));
                      break a;
                    }
                    n in e
                      ? (e[n] = r)
                      : !0 === r
                        ? e.setAttribute(n, ``)
                        : it(e, n, r);
                  }
            }
          }
          function wu(e, t, n) {
            switch ((hu(t, n), t)) {
              case `div`:
              case `span`:
              case `svg`:
              case `path`:
              case `a`:
              case `g`:
              case `p`:
              case `li`:
                break;
              case `img`:
                (B(`error`, e), B(`load`, e));
                var r = !1,
                  i = !1,
                  a;
                for (a in n)
                  if (n.hasOwnProperty(a)) {
                    var o = n[a];
                    if (o != null)
                      switch (a) {
                        case `src`:
                          r = !0;
                          break;
                        case `srcSet`:
                          i = !0;
                          break;
                        case `children`:
                        case `dangerouslySetInnerHTML`:
                          throw Error(
                            t +
                              " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
                          );
                        default:
                          Su(e, t, a, o, n, null);
                      }
                  }
                (i && Su(e, t, `srcSet`, n.srcSet, n, null),
                  r && Su(e, t, `src`, n.src, n, null));
                return;
              case `input`:
                (tt(`input`, n), B(`invalid`, e));
                var s = (a = o = i = null),
                  c = null,
                  l = null;
                for (r in n)
                  if (n.hasOwnProperty(r)) {
                    var u = n[r];
                    if (u != null)
                      switch (r) {
                        case `name`:
                          i = u;
                          break;
                        case `type`:
                          o = u;
                          break;
                        case `checked`:
                          c = u;
                          break;
                        case `defaultChecked`:
                          l = u;
                          break;
                        case `value`:
                          a = u;
                          break;
                        case `defaultValue`:
                          s = u;
                          break;
                        case `children`:
                        case `dangerouslySetInnerHTML`:
                          if (u != null)
                            throw Error(
                              t +
                                " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
                            );
                          break;
                        default:
                          Su(e, t, r, u, n, null);
                      }
                  }
                (mt(e, n), gt(e, a, s, c, l, o, i, !1));
                return;
              case `select`:
                for (i in (tt(`select`, n),
                B(`invalid`, e),
                (r = o = a = null),
                n))
                  if (n.hasOwnProperty(i) && ((s = n[i]), s != null))
                    switch (i) {
                      case `value`:
                        a = s;
                        break;
                      case `defaultValue`:
                        o = s;
                        break;
                      case `multiple`:
                        r = s;
                      default:
                        Su(e, t, i, s, n, null);
                    }
                (xt(e, n),
                  (t = a),
                  (n = o),
                  (e.multiple = !!r),
                  t == null
                    ? n != null && bt(e, !!r, n, !0)
                    : bt(e, !!r, t, !1));
                return;
              case `textarea`:
                for (o in (tt(`textarea`, n),
                B(`invalid`, e),
                (a = i = r = null),
                n))
                  if (n.hasOwnProperty(o) && ((s = n[o]), s != null))
                    switch (o) {
                      case `value`:
                        r = s;
                        break;
                      case `defaultValue`:
                        i = s;
                        break;
                      case `children`:
                        a = s;
                        break;
                      case `dangerouslySetInnerHTML`:
                        if (s != null)
                          throw Error(
                            "`dangerouslySetInnerHTML` does not make sense on <textarea>.",
                          );
                        break;
                      default:
                        Su(e, t, o, s, n, null);
                    }
                (St(e, n), M(e, r, i, a));
                return;
              case `option`:
                for (c in (vt(e, n), n))
                  if (n.hasOwnProperty(c) && ((r = n[c]), r != null))
                    switch (c) {
                      case `selected`:
                        e.selected =
                          r && typeof r != `function` && typeof r != `symbol`;
                        break;
                      default:
                        Su(e, t, c, r, n, null);
                    }
                return;
              case `dialog`:
                (B(`beforetoggle`, e),
                  B(`toggle`, e),
                  B(`cancel`, e),
                  B(`close`, e));
                break;
              case `iframe`:
              case `object`:
                B(`load`, e);
                break;
              case `video`:
              case `audio`:
                for (r = 0; r < pS.length; r++) B(pS[r], e);
                break;
              case `image`:
                (B(`error`, e), B(`load`, e));
                break;
              case `details`:
                B(`toggle`, e);
                break;
              case `embed`:
              case `source`:
              case `link`:
                (B(`error`, e), B(`load`, e));
              case `area`:
              case `base`:
              case `br`:
              case `col`:
              case `hr`:
              case `keygen`:
              case `meta`:
              case `param`:
              case `track`:
              case `wbr`:
              case `menuitem`:
                for (l in n)
                  if (n.hasOwnProperty(l) && ((r = n[l]), r != null))
                    switch (l) {
                      case `children`:
                      case `dangerouslySetInnerHTML`:
                        throw Error(
                          t +
                            " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
                        );
                      default:
                        Su(e, t, l, r, n, null);
                    }
                return;
              default:
                if (Zt(t)) {
                  for (u in n)
                    n.hasOwnProperty(u) &&
                      ((r = n[u]), r !== void 0 && Cu(e, t, u, r, n, void 0));
                  return;
                }
            }
            for (s in n)
              n.hasOwnProperty(s) &&
                ((r = n[s]), r != null && Su(e, t, s, r, n, null));
          }
          function Tu(e, t, n, r) {
            switch ((hu(t, r), t)) {
              case `div`:
              case `span`:
              case `svg`:
              case `path`:
              case `a`:
              case `g`:
              case `p`:
              case `li`:
                break;
              case `input`:
                var i = null,
                  a = null,
                  o = null,
                  s = null,
                  c = null,
                  l = null,
                  u = null;
                for (p in n) {
                  var d = n[p];
                  if (n.hasOwnProperty(p) && d != null)
                    switch (p) {
                      case `checked`:
                        break;
                      case `value`:
                        break;
                      case `defaultValue`:
                        c = d;
                      default:
                        r.hasOwnProperty(p) || Su(e, t, p, null, r, d);
                    }
                }
                for (var f in r) {
                  var p = r[f];
                  if (
                    ((d = n[f]),
                    r.hasOwnProperty(f) && (p != null || d != null))
                  )
                    switch (f) {
                      case `type`:
                        a = p;
                        break;
                      case `name`:
                        i = p;
                        break;
                      case `checked`:
                        l = p;
                        break;
                      case `defaultChecked`:
                        u = p;
                        break;
                      case `value`:
                        o = p;
                        break;
                      case `defaultValue`:
                        s = p;
                        break;
                      case `children`:
                      case `dangerouslySetInnerHTML`:
                        if (p != null)
                          throw Error(
                            t +
                              " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
                          );
                        break;
                      default:
                        p !== d && Su(e, t, f, p, r, d);
                    }
                }
                ((t =
                  n.type === `checkbox` || n.type === `radio`
                    ? n.checked != null
                    : n.value != null),
                  (r =
                    r.type === `checkbox` || r.type === `radio`
                      ? r.checked != null
                      : r.value != null),
                  t ||
                    !r ||
                    _S ||
                    (console.error(
                      `A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`,
                    ),
                    (_S = !0)),
                  !t ||
                    r ||
                    gS ||
                    (console.error(
                      `A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components`,
                    ),
                    (gS = !0)),
                  ht(e, o, s, c, l, u, a, i));
                return;
              case `select`:
                for (a in ((p = o = s = f = null), n))
                  if (((c = n[a]), n.hasOwnProperty(a) && c != null))
                    switch (a) {
                      case `value`:
                        break;
                      case `multiple`:
                        p = c;
                      default:
                        r.hasOwnProperty(a) || Su(e, t, a, null, r, c);
                    }
                for (i in r)
                  if (
                    ((a = r[i]),
                    (c = n[i]),
                    r.hasOwnProperty(i) && (a != null || c != null))
                  )
                    switch (i) {
                      case `value`:
                        f = a;
                        break;
                      case `defaultValue`:
                        s = a;
                        break;
                      case `multiple`:
                        o = a;
                      default:
                        a !== c && Su(e, t, i, a, r, c);
                    }
                ((r = s),
                  (t = o),
                  (n = p),
                  f == null
                    ? !!n != !!t &&
                      (r == null
                        ? bt(e, !!t, t ? [] : ``, !1)
                        : bt(e, !!t, r, !0))
                    : bt(e, !!t, f, !1));
                return;
              case `textarea`:
                for (s in ((p = f = null), n))
                  if (
                    ((i = n[s]),
                    n.hasOwnProperty(s) && i != null && !r.hasOwnProperty(s))
                  )
                    switch (s) {
                      case `value`:
                        break;
                      case `children`:
                        break;
                      default:
                        Su(e, t, s, null, r, i);
                    }
                for (o in r)
                  if (
                    ((i = r[o]),
                    (a = n[o]),
                    r.hasOwnProperty(o) && (i != null || a != null))
                  )
                    switch (o) {
                      case `value`:
                        f = i;
                        break;
                      case `defaultValue`:
                        p = i;
                        break;
                      case `children`:
                        break;
                      case `dangerouslySetInnerHTML`:
                        if (i != null)
                          throw Error(
                            "`dangerouslySetInnerHTML` does not make sense on <textarea>.",
                          );
                        break;
                      default:
                        i !== a && Su(e, t, o, i, r, a);
                    }
                Ct(e, f, p);
                return;
              case `option`:
                for (var m in n)
                  if (
                    ((f = n[m]),
                    n.hasOwnProperty(m) && f != null && !r.hasOwnProperty(m))
                  )
                    switch (m) {
                      case `selected`:
                        e.selected = !1;
                        break;
                      default:
                        Su(e, t, m, null, r, f);
                    }
                for (c in r)
                  if (
                    ((f = r[c]),
                    (p = n[c]),
                    r.hasOwnProperty(c) && f !== p && (f != null || p != null))
                  )
                    switch (c) {
                      case `selected`:
                        e.selected =
                          f && typeof f != `function` && typeof f != `symbol`;
                        break;
                      default:
                        Su(e, t, c, f, r, p);
                    }
                return;
              case `img`:
              case `link`:
              case `area`:
              case `base`:
              case `br`:
              case `col`:
              case `embed`:
              case `hr`:
              case `keygen`:
              case `meta`:
              case `param`:
              case `source`:
              case `track`:
              case `wbr`:
              case `menuitem`:
                for (var h in n)
                  ((f = n[h]),
                    n.hasOwnProperty(h) &&
                      f != null &&
                      !r.hasOwnProperty(h) &&
                      Su(e, t, h, null, r, f));
                for (l in r)
                  if (
                    ((f = r[l]),
                    (p = n[l]),
                    r.hasOwnProperty(l) && f !== p && (f != null || p != null))
                  )
                    switch (l) {
                      case `children`:
                      case `dangerouslySetInnerHTML`:
                        if (f != null)
                          throw Error(
                            t +
                              " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.",
                          );
                        break;
                      default:
                        Su(e, t, l, f, r, p);
                    }
                return;
              default:
                if (Zt(t)) {
                  for (var g in n)
                    ((f = n[g]),
                      n.hasOwnProperty(g) &&
                        f !== void 0 &&
                        !r.hasOwnProperty(g) &&
                        Cu(e, t, g, void 0, r, f));
                  for (u in r)
                    ((f = r[u]),
                      (p = n[u]),
                      !r.hasOwnProperty(u) ||
                        f === p ||
                        (f === void 0 && p === void 0) ||
                        Cu(e, t, u, f, r, p));
                  return;
                }
            }
            for (var _ in n)
              ((f = n[_]),
                n.hasOwnProperty(_) &&
                  f != null &&
                  !r.hasOwnProperty(_) &&
                  Su(e, t, _, null, r, f));
            for (d in r)
              ((f = r[d]),
                (p = n[d]),
                !r.hasOwnProperty(d) ||
                  f === p ||
                  (f == null && p == null) ||
                  Su(e, t, d, f, r, p));
          }
          function Eu(e) {
            switch (e) {
              case `class`:
                return `className`;
              case `for`:
                return `htmlFor`;
              default:
                return e;
            }
          }
          function Du(e) {
            var t = {};
            e = e.style;
            for (var n = 0; n < e.length; n++) {
              var r = e[n];
              t[r] = e.getPropertyValue(r);
            }
            return t;
          }
          function Ou(e, t, n) {
            if (t != null && typeof t != `object`)
              console.error(
                "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.",
              );
            else {
              var r,
                i = (r = ``),
                a;
              for (a in t)
                if (t.hasOwnProperty(a)) {
                  var o = t[a];
                  o != null &&
                    typeof o != `boolean` &&
                    o !== `` &&
                    (a.indexOf(`--`) === 0
                      ? (Te(o, a), (r += i + a + `:` + (`` + o).trim()))
                      : typeof o != `number` || o === 0 || Mm.has(a)
                        ? (Te(o, a),
                          (r +=
                            i +
                            a
                              .replace(Sm, `-$1`)
                              .toLowerCase()
                              .replace(Cm, `-ms-`) +
                            `:` +
                            (`` + o).trim()))
                        : (r +=
                            i +
                            a
                              .replace(Sm, `-$1`)
                              .toLowerCase()
                              .replace(Cm, `-ms-`) +
                            `:` +
                            o +
                            `px`),
                    (i = `;`));
                }
              ((r ||= null),
                (t = e.getAttribute(`style`)),
                t !== r && ((r = bu(r)), bu(t) !== r && (n.style = Du(e))));
            }
          }
          function ku(e, t, n, r, i, a) {
            if ((i.delete(n), (e = e.getAttribute(n)), e === null))
              switch (typeof r) {
                case `undefined`:
                case `function`:
                case `symbol`:
                case `boolean`:
                  return;
              }
            else if (r != null)
              switch (typeof r) {
                case `function`:
                case `symbol`:
                case `boolean`:
                  break;
                default:
                  if ((j(r, t), e === `` + r)) return;
              }
            gu(t, e, r, a);
          }
          function Au(e, t, n, r, i, a) {
            if ((i.delete(n), (e = e.getAttribute(n)), e === null)) {
              switch (typeof r) {
                case `function`:
                case `symbol`:
                  return;
              }
              if (!r) return;
            } else
              switch (typeof r) {
                case `function`:
                case `symbol`:
                  break;
                default:
                  if (r) return;
              }
            gu(t, e, r, a);
          }
          function ju(e, t, n, r, i, a) {
            if ((i.delete(n), (e = e.getAttribute(n)), e === null))
              switch (typeof r) {
                case `undefined`:
                case `function`:
                case `symbol`:
                  return;
              }
            else if (r != null)
              switch (typeof r) {
                case `function`:
                case `symbol`:
                  break;
                default:
                  if ((j(r, n), e === `` + r)) return;
              }
            gu(t, e, r, a);
          }
          function Mu(e, t, n, r, i, a) {
            if ((i.delete(n), (e = e.getAttribute(n)), e === null))
              switch (typeof r) {
                case `undefined`:
                case `function`:
                case `symbol`:
                case `boolean`:
                  return;
                default:
                  if (isNaN(r)) return;
              }
            else if (r != null)
              switch (typeof r) {
                case `function`:
                case `symbol`:
                case `boolean`:
                  break;
                default:
                  if (!isNaN(r) && (j(r, t), e === `` + r)) return;
              }
            gu(t, e, r, a);
          }
          function Nu(e, t, n, r, i, a) {
            if ((i.delete(n), (e = e.getAttribute(n)), e === null))
              switch (typeof r) {
                case `undefined`:
                case `function`:
                case `symbol`:
                case `boolean`:
                  return;
              }
            else if (r != null)
              switch (typeof r) {
                case `function`:
                case `symbol`:
                case `boolean`:
                  break;
                default:
                  if ((j(r, t), (n = rn(`` + r)), e === n)) return;
              }
            gu(t, e, r, a);
          }
          function Pu(e, t, n, r) {
            for (
              var i = {}, a = new Set(), o = e.attributes, s = 0;
              s < o.length;
              s++
            )
              switch (o[s].name.toLowerCase()) {
                case `value`:
                  break;
                case `checked`:
                  break;
                case `selected`:
                  break;
                default:
                  a.add(o[s].name);
              }
            if (Zt(t)) {
              for (var c in n)
                if (n.hasOwnProperty(c)) {
                  var l = n[c];
                  if (l != null) {
                    if ($p.hasOwnProperty(c))
                      typeof l != `function` && vu(c, l);
                    else if (!0 !== n.suppressHydrationWarning)
                      switch (c) {
                        case `children`:
                          (typeof l != `string` && typeof l != `number`) ||
                            gu(`children`, e.textContent, l, i);
                          continue;
                        case `suppressContentEditableWarning`:
                        case `suppressHydrationWarning`:
                        case `defaultValue`:
                        case `defaultChecked`:
                        case `innerHTML`:
                        case `ref`:
                          continue;
                        case `dangerouslySetInnerHTML`:
                          ((o = e.innerHTML),
                            (l = l ? l.__html : void 0),
                            l != null && ((l = yu(e, l)), gu(c, o, l, i)));
                          continue;
                        case `style`:
                          (a.delete(c), Ou(e, l, i));
                          continue;
                        case `offsetParent`:
                        case `offsetTop`:
                        case `offsetLeft`:
                        case `offsetWidth`:
                        case `offsetHeight`:
                        case `isContentEditable`:
                        case `outerText`:
                        case `outerHTML`:
                          (a.delete(c.toLowerCase()),
                            console.error(
                              "Assignment to read-only property will result in a no-op: `%s`",
                              c,
                            ));
                          continue;
                        case `className`:
                          (a.delete(`class`),
                            (o = rt(e, `class`, l)),
                            gu(`className`, o, l, i));
                          continue;
                        default:
                          (r.context === WS && t !== `svg` && t !== `math`
                            ? a.delete(c.toLowerCase())
                            : a.delete(c),
                            (o = rt(e, c, l)),
                            gu(c, o, l, i));
                      }
                  }
                }
            } else
              for (l in n)
                if (n.hasOwnProperty(l) && ((c = n[l]), c != null)) {
                  if ($p.hasOwnProperty(l)) typeof c != `function` && vu(l, c);
                  else if (!0 !== n.suppressHydrationWarning)
                    switch (l) {
                      case `children`:
                        (typeof c != `string` && typeof c != `number`) ||
                          gu(`children`, e.textContent, c, i);
                        continue;
                      case `suppressContentEditableWarning`:
                      case `suppressHydrationWarning`:
                      case `value`:
                      case `checked`:
                      case `selected`:
                      case `defaultValue`:
                      case `defaultChecked`:
                      case `innerHTML`:
                      case `ref`:
                        continue;
                      case `dangerouslySetInnerHTML`:
                        ((o = e.innerHTML),
                          (c = c ? c.__html : void 0),
                          c != null &&
                            ((c = yu(e, c)),
                            o !== c && (i[l] = { __html: o })));
                        continue;
                      case `className`:
                        ku(e, l, `class`, c, a, i);
                        continue;
                      case `tabIndex`:
                        ku(e, l, `tabindex`, c, a, i);
                        continue;
                      case `style`:
                        (a.delete(l), Ou(e, c, i));
                        continue;
                      case `multiple`:
                        (a.delete(l), gu(l, e.multiple, c, i));
                        continue;
                      case `muted`:
                        (a.delete(l), gu(l, e.muted, c, i));
                        continue;
                      case `autoFocus`:
                        (a.delete(`autofocus`), gu(l, e.autofocus, c, i));
                        continue;
                      case `data`:
                        if (t !== `object`) {
                          (a.delete(l),
                            (o = e.getAttribute(`data`)),
                            gu(l, o, c, i));
                          continue;
                        }
                      case `src`:
                      case `href`:
                        if (!(
                          c !== `` ||
                          (t === `a` && l === `href`) ||
                          (t === `object` && l === `data`)
                        )) {
                          console.error(
                            l === `src`
                              ? `An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`
                              : `An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,
                            l,
                            l,
                          );
                          continue;
                        }
                        Nu(e, l, l, c, a, i);
                        continue;
                      case `action`:
                      case `formAction`:
                        if (((o = e.getAttribute(l)), typeof c == `function`)) {
                          (a.delete(l.toLowerCase()),
                            l === `formAction`
                              ? (a.delete(`name`),
                                a.delete(`formenctype`),
                                a.delete(`formmethod`),
                                a.delete(`formtarget`))
                              : (a.delete(`enctype`),
                                a.delete(`method`),
                                a.delete(`target`)));
                          continue;
                        } else if (o === OS) {
                          (a.delete(l.toLowerCase()), gu(l, `function`, c, i));
                          continue;
                        }
                        Nu(e, l, l.toLowerCase(), c, a, i);
                        continue;
                      case `xlinkHref`:
                        Nu(e, l, `xlink:href`, c, a, i);
                        continue;
                      case `contentEditable`:
                        ju(e, l, `contenteditable`, c, a, i);
                        continue;
                      case `spellCheck`:
                        ju(e, l, `spellcheck`, c, a, i);
                        continue;
                      case `draggable`:
                      case `autoReverse`:
                      case `externalResourcesRequired`:
                      case `focusable`:
                      case `preserveAlpha`:
                        ju(e, l, l, c, a, i);
                        continue;
                      case `allowFullScreen`:
                      case `async`:
                      case `autoPlay`:
                      case `controls`:
                      case `default`:
                      case `defer`:
                      case `disabled`:
                      case `disablePictureInPicture`:
                      case `disableRemotePlayback`:
                      case `formNoValidate`:
                      case `hidden`:
                      case `loop`:
                      case `noModule`:
                      case `noValidate`:
                      case `open`:
                      case `playsInline`:
                      case `readOnly`:
                      case `required`:
                      case `reversed`:
                      case `scoped`:
                      case `seamless`:
                      case `itemScope`:
                        Au(e, l, l.toLowerCase(), c, a, i);
                        continue;
                      case `capture`:
                      case `download`:
                        a: {
                          s = e;
                          var u = (o = l),
                            d = i;
                          if (
                            (a.delete(u), (s = s.getAttribute(u)), s === null)
                          )
                            switch (typeof c) {
                              case `undefined`:
                              case `function`:
                              case `symbol`:
                                break a;
                              default:
                                if (!1 === c) break a;
                            }
                          else if (c != null)
                            switch (typeof c) {
                              case `function`:
                              case `symbol`:
                                break;
                              case `boolean`:
                                if (!0 === c && s === ``) break a;
                                break;
                              default:
                                if ((j(c, o), s === `` + c)) break a;
                            }
                          gu(o, s, c, d);
                        }
                        continue;
                      case `cols`:
                      case `rows`:
                      case `size`:
                      case `span`:
                        a: {
                          if (
                            ((s = e),
                            (u = o = l),
                            (d = i),
                            a.delete(u),
                            (s = s.getAttribute(u)),
                            s === null)
                          )
                            switch (typeof c) {
                              case `undefined`:
                              case `function`:
                              case `symbol`:
                              case `boolean`:
                                break a;
                              default:
                                if (isNaN(c) || 1 > c) break a;
                            }
                          else if (c != null)
                            switch (typeof c) {
                              case `function`:
                              case `symbol`:
                              case `boolean`:
                                break;
                              default:
                                if (
                                  !(isNaN(c) || 1 > c) &&
                                  (j(c, o), s === `` + c)
                                )
                                  break a;
                            }
                          gu(o, s, c, d);
                        }
                        continue;
                      case `rowSpan`:
                        Mu(e, l, `rowspan`, c, a, i);
                        continue;
                      case `start`:
                        Mu(e, l, l, c, a, i);
                        continue;
                      case `xHeight`:
                        ku(e, l, `x-height`, c, a, i);
                        continue;
                      case `xlinkActuate`:
                        ku(e, l, `xlink:actuate`, c, a, i);
                        continue;
                      case `xlinkArcrole`:
                        ku(e, l, `xlink:arcrole`, c, a, i);
                        continue;
                      case `xlinkRole`:
                        ku(e, l, `xlink:role`, c, a, i);
                        continue;
                      case `xlinkShow`:
                        ku(e, l, `xlink:show`, c, a, i);
                        continue;
                      case `xlinkTitle`:
                        ku(e, l, `xlink:title`, c, a, i);
                        continue;
                      case `xlinkType`:
                        ku(e, l, `xlink:type`, c, a, i);
                        continue;
                      case `xmlBase`:
                        ku(e, l, `xml:base`, c, a, i);
                        continue;
                      case `xmlLang`:
                        ku(e, l, `xml:lang`, c, a, i);
                        continue;
                      case `xmlSpace`:
                        ku(e, l, `xml:space`, c, a, i);
                        continue;
                      case `inert`:
                        (c !== `` ||
                          CS[l] ||
                          ((CS[l] = !0),
                          console.error(
                            "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
                            l,
                          )),
                          Au(e, l, l, c, a, i));
                        continue;
                      default:
                        if (
                          !(2 < l.length) ||
                          (l[0] !== `o` && l[0] !== `O`) ||
                          (l[1] !== `n` && l[1] !== `N`)
                        ) {
                          ((s = Qt(l)),
                            (o = !1),
                            r.context === WS && t !== `svg` && t !== `math`
                              ? a.delete(s.toLowerCase())
                              : ((u = l.toLowerCase()),
                                (u = (Im.hasOwnProperty(u) && Im[u]) || null),
                                u !== null &&
                                  u !== l &&
                                  ((o = !0), a.delete(u)),
                                a.delete(s)));
                          a: if (((u = e), (d = s), (s = c), nt(d)))
                            if (u.hasAttribute(d))
                              ((u = u.getAttribute(d)),
                                j(s, d),
                                (s = u === `` + s ? s : u));
                            else {
                              switch (typeof s) {
                                case `function`:
                                case `symbol`:
                                  break a;
                                case `boolean`:
                                  if (
                                    ((u = d.toLowerCase().slice(0, 5)),
                                    u !== `data-` && u !== `aria-`)
                                  )
                                    break a;
                              }
                              s = s === void 0 ? void 0 : null;
                            }
                          else s = void 0;
                          o || gu(l, s, c, i);
                        }
                    }
                }
            return (
              0 < a.size && !0 !== n.suppressHydrationWarning && _u(e, a, i),
              Object.keys(i).length === 0 ? null : i
            );
          }
          function Fu(e, t) {
            switch (e.length) {
              case 0:
                return ``;
              case 1:
                return e[0];
              case 2:
                return e[0] + ` ` + t + ` ` + e[1];
              default:
                return (
                  e.slice(0, -1).join(`, `) + `, ` + t + ` ` + e[e.length - 1]
                );
            }
          }
          function Iu(e) {
            switch (e) {
              case `css`:
              case `script`:
              case `font`:
              case `img`:
              case `image`:
              case `input`:
              case `link`:
                return !0;
              default:
                return !1;
            }
          }
          function Lu() {
            if (typeof performance.getEntriesByType == `function`) {
              for (
                var e = 0,
                  t = 0,
                  n = performance.getEntriesByType(`resource`),
                  r = 0;
                r < n.length;
                r++
              ) {
                var i = n[r],
                  a = i.transferSize,
                  o = i.initiatorType,
                  s = i.duration;
                if (a && s && Iu(o)) {
                  for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {
                    var c = n[r],
                      l = c.startTime;
                    if (l > s) break;
                    var u = c.transferSize,
                      d = c.initiatorType;
                    u &&
                      Iu(d) &&
                      ((c = c.responseEnd),
                      (o += u * (c < s ? 1 : (s - l) / (c - l))));
                  }
                  if (
                    (--r,
                    (t += (8 * (a + o)) / (i.duration / 1e3)),
                    e++,
                    10 < e)
                  )
                    break;
                }
              }
              if (0 < e) return t / e / 1e6;
            }
            return navigator.connection &&
              ((e = navigator.connection.downlink), typeof e == `number`)
              ? e
              : 5;
          }
          function Ru(e) {
            return e.nodeType === 9 ? e : e.ownerDocument;
          }
          function zu(e) {
            switch (e) {
              case Pm:
                return GS;
              case Nm:
                return KS;
              default:
                return WS;
            }
          }
          function Bu(e, t) {
            if (e === WS)
              switch (t) {
                case `svg`:
                  return GS;
                case `math`:
                  return KS;
                default:
                  return WS;
              }
            return e === GS && t === `foreignObject` ? WS : e;
          }
          function Vu(e, t) {
            return (
              e === `textarea` ||
              e === `noscript` ||
              typeof t.children == `string` ||
              typeof t.children == `number` ||
              typeof t.children == `bigint` ||
              (typeof t.dangerouslySetInnerHTML == `object` &&
                t.dangerouslySetInnerHTML !== null &&
                t.dangerouslySetInnerHTML.__html != null)
            );
          }
          function Hu() {
            var e = window.event;
            return e && e.type === `popstate`
              ? e === XS
                ? !1
                : ((XS = e), !0)
              : ((XS = null), !1);
          }
          function Uu() {
            var e = window.event;
            return e && e !== ZS ? e.type : null;
          }
          function Wu() {
            var e = window.event;
            return e && e !== ZS ? e.timeStamp : -1.1;
          }
          function Gu(e) {
            setTimeout(function () {
              throw e;
            });
          }
          function Ku(e, t, n) {
            switch (t) {
              case `button`:
              case `input`:
              case `select`:
              case `textarea`:
                n.autoFocus && e.focus();
                break;
              case `img`:
                n.src ? (e.src = n.src) : n.srcSet && (e.srcset = n.srcSet);
            }
          }
          function qu() {}
          function Ju(e, t, n, r) {
            (Tu(e, t, n, r), (e[Gp] = r));
          }
          function Yu(e) {
            qt(e, ``);
          }
          function Xu(e, t, n) {
            e.nodeValue = n;
          }
          function Zu(e) {
            if (!e.__reactWarnedAboutChildrenConflict) {
              var t = e[Gp] || null;
              if (t !== null) {
                var n = Ye(e);
                n !== null &&
                  (typeof t.children == `string` ||
                  typeof t.children == `number`
                    ? ((e.__reactWarnedAboutChildrenConflict = !0),
                      A(n, function () {
                        console.error(
                          'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.',
                        );
                      }))
                    : t.dangerouslySetInnerHTML != null &&
                      ((e.__reactWarnedAboutChildrenConflict = !0),
                      A(n, function () {
                        console.error(
                          'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.',
                        );
                      })));
              }
            }
          }
          function Qu(e) {
            return e === `head`;
          }
          function $u(e, t) {
            e.removeChild(t);
          }
          function ed(e, t) {
            (e.nodeType === 9
              ? e.body
              : e.nodeName === `HTML`
                ? e.ownerDocument.body
                : e
            ).removeChild(t);
          }
          function td(e, t) {
            var n = t,
              r = 0;
            do {
              var i = n.nextSibling;
              if ((e.removeChild(n), i && i.nodeType === 8))
                if (((n = i.data), n === NS || n === jS)) {
                  if (r === 0) {
                    (e.removeChild(i), bf(t));
                    return;
                  }
                  r--;
                } else if (
                  n === MS ||
                  n === PS ||
                  n === FS ||
                  n === IS ||
                  n === AS
                )
                  r++;
                else if (n === LS) Ed(e.ownerDocument.documentElement);
                else if (n === zS) {
                  ((n = e.ownerDocument.head), Ed(n));
                  for (var a = n.firstChild; a;) {
                    var o = a.nextSibling,
                      s = a.nodeName;
                    (a[Zp] ||
                      s === `SCRIPT` ||
                      s === `STYLE` ||
                      (s === `LINK` && a.rel.toLowerCase() === `stylesheet`) ||
                      n.removeChild(a),
                      (a = o));
                  }
                } else n === RS && Ed(e.ownerDocument.body);
              n = i;
            } while (n);
            bf(t);
          }
          function nd(e, t) {
            var n = e;
            e = 0;
            do {
              var r = n.nextSibling;
              if (
                (n.nodeType === 1
                  ? t
                    ? ((n._stashedDisplay = n.style.display),
                      (n.style.display = `none`))
                    : ((n.style.display = n._stashedDisplay || ``),
                      n.getAttribute(`style`) === `` &&
                        n.removeAttribute(`style`))
                  : n.nodeType === 3 &&
                    (t
                      ? ((n._stashedText = n.nodeValue), (n.nodeValue = ``))
                      : (n.nodeValue = n._stashedText || ``)),
                r && r.nodeType === 8)
              )
                if (((n = r.data), n === NS)) {
                  if (e === 0) break;
                  e--;
                } else (n !== MS && n !== PS && n !== FS && n !== IS) || e++;
              n = r;
            } while (n);
          }
          function rd(e) {
            nd(e, !0);
          }
          function id(e) {
            ((e = e.style),
              typeof e.setProperty == `function`
                ? e.setProperty(`display`, `none`, `important`)
                : (e.display = `none`));
          }
          function ad(e) {
            e.nodeValue = ``;
          }
          function od(e) {
            nd(e, !1);
          }
          function sd(e, t) {
            ((t = t[US]),
              (t = t != null && t.hasOwnProperty(`display`) ? t.display : null),
              (e.style.display =
                t == null || typeof t == `boolean` ? `` : (`` + t).trim()));
          }
          function cd(e, t) {
            e.nodeValue = t;
          }
          function ld(e) {
            var t = e.firstChild;
            for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
              var n = t;
              switch (((t = t.nextSibling), n.nodeName)) {
                case `HTML`:
                case `HEAD`:
                case `BODY`:
                  (ld(n), qe(n));
                  continue;
                case `SCRIPT`:
                case `STYLE`:
                  continue;
                case `LINK`:
                  if (n.rel.toLowerCase() === `stylesheet`) continue;
              }
              e.removeChild(n);
            }
          }
          function ud(e, t, n, r) {
            for (; e.nodeType === 1;) {
              var i = n;
              if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
                if (!r && (e.nodeName !== `INPUT` || e.type !== `hidden`))
                  break;
              } else if (!r)
                if (t === `input` && e.type === `hidden`) {
                  j(i.name, `name`);
                  var a = i.name == null ? null : `` + i.name;
                  if (i.type === `hidden` && e.getAttribute(`name`) === a)
                    return e;
                } else return e;
              else if (!e[Zp])
                switch (t) {
                  case `meta`:
                    if (!e.hasAttribute(`itemprop`)) break;
                    return e;
                  case `link`:
                    if (
                      ((a = e.getAttribute(`rel`)),
                      (a === `stylesheet` &&
                        e.hasAttribute(`data-precedence`)) ||
                        a !== i.rel ||
                        e.getAttribute(`href`) !==
                          (i.href == null || i.href === `` ? null : i.href) ||
                        e.getAttribute(`crossorigin`) !==
                          (i.crossOrigin == null ? null : i.crossOrigin) ||
                        e.getAttribute(`title`) !==
                          (i.title == null ? null : i.title))
                    )
                      break;
                    return e;
                  case `style`:
                    if (e.hasAttribute(`data-precedence`)) break;
                    return e;
                  case `script`:
                    if (
                      ((a = e.getAttribute(`src`)),
                      (a !== (i.src == null ? null : i.src) ||
                        e.getAttribute(`type`) !==
                          (i.type == null ? null : i.type) ||
                        e.getAttribute(`crossorigin`) !==
                          (i.crossOrigin == null ? null : i.crossOrigin)) &&
                        a &&
                        e.hasAttribute(`async`) &&
                        !e.hasAttribute(`itemprop`))
                    )
                      break;
                    return e;
                  default:
                    return e;
                }
              if (((e = gd(e.nextSibling)), e === null)) break;
            }
            return null;
          }
          function dd(e, t, n) {
            if (t === ``) return null;
            for (; e.nodeType !== 3;)
              if (
                ((e.nodeType !== 1 ||
                  e.nodeName !== `INPUT` ||
                  e.type !== `hidden`) &&
                  !n) ||
                ((e = gd(e.nextSibling)), e === null)
              )
                return null;
            return e;
          }
          function fd(e, t) {
            for (; e.nodeType !== 8;)
              if (
                ((e.nodeType !== 1 ||
                  e.nodeName !== `INPUT` ||
                  e.type !== `hidden`) &&
                  !t) ||
                ((e = gd(e.nextSibling)), e === null)
              )
                return null;
            return e;
          }
          function pd(e) {
            return e.data === PS || e.data === FS;
          }
          function md(e) {
            return (
              e.data === IS ||
              (e.data === PS && e.ownerDocument.readyState !== HS)
            );
          }
          function hd(e, t) {
            var n = e.ownerDocument;
            if (e.data === FS) e._reactRetry = t;
            else if (e.data !== PS || n.readyState !== HS) t();
            else {
              var r = function () {
                (t(), n.removeEventListener(`DOMContentLoaded`, r));
              };
              (n.addEventListener(`DOMContentLoaded`, r), (e._reactRetry = r));
            }
          }
          function gd(e) {
            for (; e != null; e = e.nextSibling) {
              var t = e.nodeType;
              if (t === 1 || t === 3) break;
              if (t === 8) {
                if (
                  ((t = e.data),
                  t === MS ||
                    t === IS ||
                    t === PS ||
                    t === FS ||
                    t === AS ||
                    t === BS ||
                    t === VS)
                )
                  break;
                if (t === NS || t === jS) return null;
              }
            }
            return e;
          }
          function _d(e) {
            if (e.nodeType === 1) {
              for (
                var t = e.nodeName.toLowerCase(),
                  n = {},
                  r = e.attributes,
                  i = 0;
                i < r.length;
                i++
              ) {
                var a = r[i];
                n[Eu(a.name)] =
                  a.name.toLowerCase() === `style` ? Du(e) : a.value;
              }
              return { type: t, props: n };
            }
            return e.nodeType === 8
              ? e.data === AS
                ? { type: `Activity`, props: {} }
                : { type: `Suspense`, props: {} }
              : e.nodeValue;
          }
          function vd(e, t, n) {
            return n === null || !0 !== n[kS]
              ? (e.nodeValue === t
                  ? (e = null)
                  : ((t = bu(t)),
                    (e = bu(e.nodeValue) === t ? null : e.nodeValue)),
                e)
              : null;
          }
          function yd(e) {
            e = e.nextSibling;
            for (var t = 0; e;) {
              if (e.nodeType === 8) {
                var n = e.data;
                if (n === NS || n === jS) {
                  if (t === 0) return gd(e.nextSibling);
                  t--;
                } else
                  (n !== MS && n !== IS && n !== PS && n !== FS && n !== AS) ||
                    t++;
              }
              e = e.nextSibling;
            }
            return null;
          }
          function bd(e) {
            e = e.previousSibling;
            for (var t = 0; e;) {
              if (e.nodeType === 8) {
                var n = e.data;
                if (n === MS || n === IS || n === PS || n === FS || n === AS) {
                  if (t === 0) return e;
                  t--;
                } else (n !== NS && n !== jS) || t++;
              }
              e = e.previousSibling;
            }
            return null;
          }
          function xd(e) {
            bf(e);
          }
          function Sd(e) {
            bf(e);
          }
          function Cd(e) {
            bf(e);
          }
          function wd(e, t, n, r, i) {
            switch ((i && Gt(e, r.ancestorInfo), (t = Ru(n)), e)) {
              case `html`:
                if (((e = t.documentElement), !e))
                  throw Error(
                    `React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`,
                  );
                return e;
              case `head`:
                if (((e = t.head), !e))
                  throw Error(
                    `React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`,
                  );
                return e;
              case `body`:
                if (((e = t.body), !e))
                  throw Error(
                    `React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`,
                  );
                return e;
              default:
                throw Error(
                  `resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`,
                );
            }
          }
          function Td(e, t, n, r) {
            if (!n[Kp] && Ye(n)) {
              var i = n.tagName.toLowerCase();
              console.error(
                `You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,
                i,
                i,
                i,
              );
            }
            switch (e) {
              case `html`:
              case `head`:
              case `body`:
                break;
              default:
                console.error(
                  `acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.`,
                );
            }
            for (i = n.attributes; i.length;) n.removeAttributeNode(i[0]);
            (wu(n, e, t), (n[Wp] = r), (n[Gp] = t));
          }
          function Ed(e) {
            for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
            qe(e);
          }
          function Dd(e) {
            return typeof e.getRootNode == `function`
              ? e.getRootNode()
              : e.nodeType === 9
                ? e
                : e.ownerDocument;
          }
          function Od(e, t, n) {
            var r = fC;
            if (r && typeof t == `string` && t) {
              var i = pt(t);
              ((i = `link[rel="` + e + `"][href="` + i + `"]`),
                typeof n == `string` && (i += `[crossorigin="` + n + `"]`),
                uC.has(i) ||
                  (uC.add(i),
                  (e = { rel: e, crossOrigin: n, href: t }),
                  r.querySelector(i) === null &&
                    ((t = r.createElement(`link`)),
                    wu(t, `link`, e),
                    Qe(t),
                    r.head.appendChild(t))));
            }
          }
          function kd(e, t, n, r) {
            var i = (i = $f.current) ? Dd(i) : null;
            if (!i)
              throw Error(
                `"resourceRoot" was expected to exist. This is a bug in React.`,
              );
            switch (e) {
              case `meta`:
              case `title`:
                return null;
              case `style`:
                return typeof n.precedence == `string` &&
                  typeof n.href == `string`
                  ? ((n = V(n.href)),
                    (t = Ze(i).hoistableStyles),
                    (r = t.get(n)),
                    r ||
                      ((r = {
                        type: `style`,
                        instance: null,
                        count: 0,
                        state: null,
                      }),
                      t.set(n, r)),
                    r)
                  : { type: `void`, instance: null, count: 0, state: null };
              case `link`:
                if (
                  n.rel === `stylesheet` &&
                  typeof n.href == `string` &&
                  typeof n.precedence == `string`
                ) {
                  e = V(n.href);
                  var a = Ze(i).hoistableStyles,
                    o = a.get(e);
                  if (
                    !o &&
                    ((i = i.ownerDocument || i),
                    (o = {
                      type: `stylesheet`,
                      instance: null,
                      count: 0,
                      state: { loading: iC, preload: null },
                    }),
                    a.set(e, o),
                    (a = i.querySelector(jd(e))) &&
                      !a._p &&
                      ((o.instance = a), (o.state.loading = aC | cC)),
                    !lC.has(e))
                  ) {
                    var s = {
                      rel: `preload`,
                      as: `style`,
                      href: n.href,
                      crossOrigin: n.crossOrigin,
                      integrity: n.integrity,
                      media: n.media,
                      hrefLang: n.hrefLang,
                      referrerPolicy: n.referrerPolicy,
                    };
                    (lC.set(e, s), a || Nd(i, e, s, o.state));
                  }
                  if (t && r === null)
                    throw (
                      (n =
                        `

  - ` +
                        Ad(t) +
                        `
  + ` +
                        Ad(n)),
                      Error(
                        "Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." +
                          n,
                      )
                    );
                  return o;
                }
                if (t && r !== null)
                  throw (
                    (n =
                      `

  - ` +
                      Ad(t) +
                      `
  + ` +
                      Ad(n)),
                    Error(
                      "Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." +
                        n,
                    )
                  );
                return null;
              case `script`:
                return (
                  (t = n.async),
                  (n = n.src),
                  typeof n == `string` &&
                  t &&
                  typeof t != `function` &&
                  typeof t != `symbol`
                    ? ((n = Pd(n)),
                      (t = Ze(i).hoistableScripts),
                      (r = t.get(n)),
                      r ||
                        ((r = {
                          type: `script`,
                          instance: null,
                          count: 0,
                          state: null,
                        }),
                        t.set(n, r)),
                      r)
                    : { type: `void`, instance: null, count: 0, state: null }
                );
              default:
                throw Error(
                  `getResource encountered a type it did not expect: "` +
                    e +
                    `". this is a bug in React.`,
                );
            }
          }
          function Ad(e) {
            var t = 0,
              n = `<link`;
            return (
              typeof e.rel == `string`
                ? (t++, (n += ` rel="` + e.rel + `"`))
                : hp.call(e, `rel`) &&
                  (t++,
                  (n +=
                    ` rel="` +
                    (e.rel === null ? `null` : `invalid type ` + typeof e.rel) +
                    `"`)),
              typeof e.href == `string`
                ? (t++, (n += ` href="` + e.href + `"`))
                : hp.call(e, `href`) &&
                  (t++,
                  (n +=
                    ` href="` +
                    (e.href === null
                      ? `null`
                      : `invalid type ` + typeof e.href) +
                    `"`)),
              typeof e.precedence == `string`
                ? (t++, (n += ` precedence="` + e.precedence + `"`))
                : hp.call(e, `precedence`) &&
                  (t++,
                  (n +=
                    ` precedence={` +
                    (e.precedence === null
                      ? `null`
                      : `invalid type ` + typeof e.precedence) +
                    `}`)),
              Object.getOwnPropertyNames(e).length > t && (n += ` ...`),
              n + ` />`
            );
          }
          function V(e) {
            return `href="` + pt(e) + `"`;
          }
          function jd(e) {
            return `link[rel="stylesheet"][` + e + `]`;
          }
          function Md(e) {
            return H({}, e, {
              "data-precedence": e.precedence,
              precedence: null,
            });
          }
          function Nd(e, t, n, r) {
            e.querySelector(`link[rel="preload"][as="style"][` + t + `]`)
              ? (r.loading = aC)
              : ((t = e.createElement(`link`)),
                (r.preload = t),
                t.addEventListener(`load`, function () {
                  return (r.loading |= aC);
                }),
                t.addEventListener(`error`, function () {
                  return (r.loading |= oC);
                }),
                wu(t, `link`, n),
                Qe(t),
                e.head.appendChild(t));
          }
          function Pd(e) {
            return `[src="` + pt(e) + `"]`;
          }
          function Fd(e) {
            return `script[async]` + e;
          }
          function Id(e, t, n) {
            if ((t.count++, t.instance === null))
              switch (t.type) {
                case `style`:
                  var r = e.querySelector(
                    `style[data-href~="` + pt(n.href) + `"]`,
                  );
                  if (r) return ((t.instance = r), Qe(r), r);
                  var i = H({}, n, {
                    "data-href": n.href,
                    "data-precedence": n.precedence,
                    href: null,
                    precedence: null,
                  });
                  return (
                    (r = (e.ownerDocument || e).createElement(`style`)),
                    Qe(r),
                    wu(r, `style`, i),
                    Ld(r, n.precedence, e),
                    (t.instance = r)
                  );
                case `stylesheet`:
                  i = V(n.href);
                  var a = e.querySelector(jd(i));
                  if (a)
                    return (
                      (t.state.loading |= cC),
                      (t.instance = a),
                      Qe(a),
                      a
                    );
                  ((r = Md(n)),
                    (i = lC.get(i)) && Rd(r, i),
                    (a = (e.ownerDocument || e).createElement(`link`)),
                    Qe(a));
                  var o = a;
                  return (
                    (o._p = new Promise(function (e, t) {
                      ((o.onload = e), (o.onerror = t));
                    })),
                    wu(a, `link`, r),
                    (t.state.loading |= cC),
                    Ld(a, n.precedence, e),
                    (t.instance = a)
                  );
                case `script`:
                  return (
                    (a = Pd(n.src)),
                    (i = e.querySelector(Fd(a)))
                      ? ((t.instance = i), Qe(i), i)
                      : ((r = n),
                        (i = lC.get(a)) && ((r = H({}, n)), zd(r, i)),
                        (e = e.ownerDocument || e),
                        (i = e.createElement(`script`)),
                        Qe(i),
                        wu(i, `link`, r),
                        e.head.appendChild(i),
                        (t.instance = i))
                  );
                case `void`:
                  return null;
                default:
                  throw Error(
                    `acquireResource encountered a resource type it did not expect: "` +
                      t.type +
                      `". this is a bug in React.`,
                  );
              }
            else
              t.type === `stylesheet` &&
                (t.state.loading & cC) === iC &&
                ((r = t.instance),
                (t.state.loading |= cC),
                Ld(r, n.precedence, e));
            return t.instance;
          }
          function Ld(e, t, n) {
            for (
              var r = n.querySelectorAll(
                  `link[rel="stylesheet"][data-precedence],style[data-precedence]`,
                ),
                i = r.length ? r[r.length - 1] : null,
                a = i,
                o = 0;
              o < r.length;
              o++
            ) {
              var s = r[o];
              if (s.dataset.precedence === t) a = s;
              else if (a !== i) break;
            }
            a
              ? a.parentNode.insertBefore(e, a.nextSibling)
              : ((t = n.nodeType === 9 ? n.head : n),
                t.insertBefore(e, t.firstChild));
          }
          function Rd(e, t) {
            ((e.crossOrigin ??= t.crossOrigin),
              (e.referrerPolicy ??= t.referrerPolicy),
              (e.title ??= t.title));
          }
          function zd(e, t) {
            ((e.crossOrigin ??= t.crossOrigin),
              (e.referrerPolicy ??= t.referrerPolicy),
              (e.integrity ??= t.integrity));
          }
          function Bd(e, t, n) {
            if (pC === null) {
              var r = new Map(),
                i = (pC = new Map());
              i.set(n, r);
            } else
              ((i = pC), (r = i.get(n)), r || ((r = new Map()), i.set(n, r)));
            if (r.has(e)) return r;
            for (
              r.set(e, null), n = n.getElementsByTagName(e), i = 0;
              i < n.length;
              i++
            ) {
              var a = n[i];
              if (
                !(
                  a[Zp] ||
                  a[Wp] ||
                  (e === `link` && a.getAttribute(`rel`) === `stylesheet`)
                ) &&
                a.namespaceURI !== Pm
              ) {
                var o = a.getAttribute(t) || ``;
                o = e + o;
                var s = r.get(o);
                s ? s.push(a) : r.set(o, [a]);
              }
            }
            return r;
          }
          function Vd(e, t, n) {
            ((e = e.ownerDocument || e),
              e.head.insertBefore(
                n,
                t === `title` ? e.querySelector(`head > title`) : null,
              ));
          }
          function Hd(e, t, n) {
            var r = !n.ancestorInfo.containerTagInScope;
            if (n.context === GS || t.itemProp != null)
              return (
                !r ||
                  t.itemProp == null ||
                  (e !== `meta` &&
                    e !== `title` &&
                    e !== `style` &&
                    e !== `link` &&
                    e !== `script`) ||
                  console.error(
                    "Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",
                    e,
                    e,
                  ),
                !1
              );
            switch (e) {
              case `meta`:
              case `title`:
                return !0;
              case `style`:
                if (
                  typeof t.precedence != `string` ||
                  typeof t.href != `string` ||
                  t.href === ``
                ) {
                  r &&
                    console.error(
                      'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags.  Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.',
                    );
                  break;
                }
                return !0;
              case `link`:
                if (
                  typeof t.rel != `string` ||
                  typeof t.href != `string` ||
                  t.href === `` ||
                  t.onLoad ||
                  t.onError
                ) {
                  if (
                    t.rel === `stylesheet` &&
                    typeof t.precedence == `string`
                  ) {
                    e = t.href;
                    var i = t.onError,
                      a = t.disabled;
                    ((n = []),
                      t.onLoad && n.push("`onLoad`"),
                      i && n.push("`onError`"),
                      a != null && n.push("`disabled`"),
                      (i = Fu(n, `and`)),
                      (i += n.length === 1 ? ` prop` : ` props`),
                      (a = n.length === 1 ? `an ` + i : `the ` + i),
                      n.length &&
                        console.error(
                          'React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',
                          e,
                          a,
                          i,
                        ));
                  }
                  r &&
                    (typeof t.rel != `string` ||
                    typeof t.href != `string` ||
                    t.href === ``
                      ? console.error(
                          "Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag",
                        )
                      : (t.onError || t.onLoad) &&
                        console.error(
                          `Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`,
                        ));
                  break;
                }
                switch (t.rel) {
                  case `stylesheet`:
                    return (
                      (e = t.precedence),
                      (t = t.disabled),
                      typeof e != `string` &&
                        r &&
                        console.error(
                          `Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`,
                        ),
                      typeof e == `string` && t == null
                    );
                  default:
                    return !0;
                }
              case `script`:
                if (
                  ((e =
                    t.async &&
                    typeof t.async != `function` &&
                    typeof t.async != `symbol`),
                  !e ||
                    t.onLoad ||
                    t.onError ||
                    !t.src ||
                    typeof t.src != `string`)
                ) {
                  r &&
                    (e
                      ? t.onLoad || t.onError
                        ? console.error(
                            `Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`,
                          )
                        : console.error(
                            "Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>.",
                          )
                      : console.error(
                          `Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`,
                        ));
                  break;
                }
                return !0;
              case `noscript`:
              case `template`:
                r &&
                  console.error(
                    `Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,
                    e,
                  );
            }
            return !1;
          }
          function Ud(e) {
            return !(e.type === `stylesheet` && (e.state.loading & sC) === iC);
          }
          function Wd(e, t, n, r) {
            if (
              n.type === `stylesheet` &&
              (typeof r.media != `string` ||
                !1 !== matchMedia(r.media).matches) &&
              (n.state.loading & cC) === iC
            ) {
              if (n.instance === null) {
                var i = V(r.href),
                  a = t.querySelector(jd(i));
                if (a) {
                  ((t = a._p),
                    typeof t == `object` &&
                      t &&
                      typeof t.then == `function` &&
                      (e.count++, (e = Kd.bind(e)), t.then(e, e)),
                    (n.state.loading |= cC),
                    (n.instance = a),
                    Qe(a));
                  return;
                }
                ((a = t.ownerDocument || t),
                  (r = Md(r)),
                  (i = lC.get(i)) && Rd(r, i),
                  (a = a.createElement(`link`)),
                  Qe(a));
                var o = a;
                ((o._p = new Promise(function (e, t) {
                  ((o.onload = e), (o.onerror = t));
                })),
                  wu(a, `link`, r),
                  (n.instance = a));
              }
              (e.stylesheets === null && (e.stylesheets = new Map()),
                e.stylesheets.set(n, t),
                (t = n.state.preload) &&
                  (n.state.loading & sC) === iC &&
                  (e.count++,
                  (n = Kd.bind(e)),
                  t.addEventListener(`load`, n),
                  t.addEventListener(`error`, n)));
            }
          }
          function Gd(e, t) {
            return (
              e.stylesheets && e.count === 0 && qd(e, e.stylesheets),
              0 < e.count || 0 < e.imgCount
                ? function (n) {
                    var r = setTimeout(function () {
                      if (
                        (e.stylesheets && qd(e, e.stylesheets), e.unsuspend)
                      ) {
                        var t = e.unsuspend;
                        ((e.unsuspend = null), t());
                      }
                    }, mC + t);
                    0 < e.imgBytes && _C === 0 && (_C = 125 * Lu() * gC);
                    var i = setTimeout(
                      function () {
                        if (
                          ((e.waitingForImages = !1),
                          e.count === 0 &&
                            (e.stylesheets && qd(e, e.stylesheets),
                            e.unsuspend))
                        ) {
                          var t = e.unsuspend;
                          ((e.unsuspend = null), t());
                        }
                      },
                      (e.imgBytes > _C ? 50 : hC) + t,
                    );
                    return (
                      (e.unsuspend = n),
                      function () {
                        ((e.unsuspend = null),
                          clearTimeout(r),
                          clearTimeout(i));
                      }
                    );
                  }
                : null
            );
          }
          function Kd() {
            if (
              (this.count--,
              this.count === 0 &&
                (this.imgCount === 0 || !this.waitingForImages))
            ) {
              if (this.stylesheets) qd(this, this.stylesheets);
              else if (this.unsuspend) {
                var e = this.unsuspend;
                ((this.unsuspend = null), e());
              }
            }
          }
          function qd(e, t) {
            ((e.stylesheets = null),
              e.unsuspend !== null &&
                (e.count++,
                (yC = new Map()),
                t.forEach(Jd, e),
                (yC = null),
                Kd.call(e)));
          }
          function Jd(e, t) {
            if (!(t.state.loading & cC)) {
              var n = yC.get(e);
              if (n) var r = n.get(vC);
              else {
                ((n = new Map()), yC.set(e, n));
                for (
                  var i = e.querySelectorAll(
                      `link[data-precedence],style[data-precedence]`,
                    ),
                    a = 0;
                  a < i.length;
                  a++
                ) {
                  var o = i[a];
                  (o.nodeName === `LINK` ||
                    o.getAttribute(`media`) !== `not all`) &&
                    (n.set(o.dataset.precedence, o), (r = o));
                }
                r && n.set(vC, r);
              }
              ((i = t.instance),
                (o = i.getAttribute(`data-precedence`)),
                (a = n.get(o) || r),
                a === r && n.set(vC, i),
                n.set(o, i),
                this.count++,
                (r = Kd.bind(this)),
                i.addEventListener(`load`, r),
                i.addEventListener(`error`, r),
                a
                  ? a.parentNode.insertBefore(i, a.nextSibling)
                  : ((e = e.nodeType === 9 ? e.head : e),
                    e.insertBefore(i, e.firstChild)),
                (t.state.loading |= cC));
            }
          }
          function Yd(e, t, n, r, i, a, o, s, c) {
            for (
              this.tag = 1,
                this.containerInfo = e,
                this.pingCache = this.current = this.pendingChildren = null,
                this.timeoutHandle = eC,
                this.callbackNode =
                  this.next =
                  this.pendingContext =
                  this.context =
                  this.cancelPendingCommit =
                    null,
                this.callbackPriority = 0,
                this.expirationTimes = Fe(-1),
                this.entangledLanes =
                  this.shellSuspendCounter =
                  this.errorRecoveryDisabledLanes =
                  this.expiredLanes =
                  this.warmLanes =
                  this.pingedLanes =
                  this.suspendedLanes =
                  this.pendingLanes =
                    0,
                this.entanglements = Fe(0),
                this.hiddenUpdates = Fe(null),
                this.identifierPrefix = r,
                this.onUncaughtError = i,
                this.onCaughtError = a,
                this.onRecoverableError = o,
                this.pooledCache = null,
                this.pooledCacheLanes = 0,
                this.formState = c,
                this.incompleteTransitions = new Map(),
                this.passiveEffectDuration = this.effectDuration = -0,
                this.memoizedUpdaters = new Set(),
                e = this.pendingUpdatersLaneMap = [],
                t = 0;
              31 > t;
              t++
            )
              e.push(new Set());
            this._debugRootType = n ? `hydrateRoot()` : `createRoot()`;
          }
          function Xd(e, t, n, r, i, a, o, s, c, l, u, d) {
            return (
              (e = new Yd(e, t, n, o, c, l, u, d, s)),
              (t = Ig),
              !0 === a && (t |= Lg | Rg),
              (t |= K),
              (a = p(3, null, null, t)),
              (e.current = a),
              (a.stateNode = e),
              (t = ai()),
              oi(t),
              (e.pooledCache = t),
              oi(t),
              (a.memoizedState = { element: r, isDehydrated: n, cache: t }),
              Zi(a),
              e
            );
          }
          function Zd(e) {
            return e ? ((e = Ng), e) : Ng;
          }
          function Qd(e, t, n, r, i, a) {
            if (Ap && typeof Ap.onScheduleFiberRoot == `function`)
              try {
                Ap.onScheduleFiberRoot(kp, r, n);
              } catch (e) {
                jp ||
                  ((jp = !0),
                  console.error(
                    `React instrumentation encountered an error: %o`,
                    e,
                  ));
              }
            ((i = Zd(i)),
              r.context === null ? (r.context = i) : (r.pendingContext = i),
              mp &&
                pp !== null &&
                !DC &&
                ((DC = !0),
                console.error(
                  `Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.

Check the render method of %s.`,
                  T(pp) || `Unknown`,
                )),
              (r = $i(t)),
              (r.payload = { element: n }),
              (a = a === void 0 ? null : a),
              a !== null &&
                (typeof a != `function` &&
                  console.error(
                    "Expected the last optional `callback` argument to be a function. Instead received: %s.",
                    a,
                  ),
                (r.callback = a)),
              (n = ea(e, r, t)),
              n !== null &&
                (ci(t, `root.render()`, null), tl(n, e, t), ta(n, e, t)));
          }
          function $d(e, t) {
            if (((e = e.memoizedState), e !== null && e.dehydrated !== null)) {
              var n = e.retryLane;
              e.retryLane = n !== 0 && n < t ? n : t;
            }
          }
          function ef(e, t) {
            ($d(e, t), (e = e.alternate) && $d(e, t));
          }
          function tf(e) {
            if (e.tag === 13 || e.tag === 31) {
              var t = dr(e, 67108864);
              (t !== null && tl(t, e, 67108864), ef(e, 67108864));
            }
          }
          function nf(e) {
            if (e.tag === 13 || e.tag === 31) {
              var t = $c(e);
              t = Ve(t);
              var n = dr(e, t);
              (n !== null && tl(n, e, t), ef(e, t));
            }
          }
          function rf() {
            return pp;
          }
          function af(e, t, n, r) {
            var i = U.T;
            U.T = null;
            var a = Kf.p;
            try {
              ((Kf.p = zp), sf(e, t, n, r));
            } finally {
              ((Kf.p = a), (U.T = i));
            }
          }
          function of(e, t, n, r) {
            var i = U.T;
            U.T = null;
            var a = Kf.p;
            try {
              ((Kf.p = Bp), sf(e, t, n, r));
            } finally {
              ((Kf.p = a), (U.T = i));
            }
          }
          function sf(e, t, n, r) {
            if (RC) {
              var i = cf(r);
              if (i === null) (uu(e, t, r, zC, n), df(e, r));
              else if (pf(i, e, t, n, r)) r.stopPropagation();
              else if ((df(e, r), t & 4 && -1 < qC.indexOf(e))) {
                for (; i !== null;) {
                  var a = Ye(i);
                  if (a !== null)
                    switch (a.tag) {
                      case 3:
                        if (
                          ((a = a.stateNode),
                          a.current.memoizedState.isDehydrated)
                        ) {
                          var o = Ae(a.pendingLanes);
                          if (o !== 0) {
                            var s = a;
                            for (
                              s.pendingLanes |= 2, s.entangledLanes |= 2;
                              o;
                            ) {
                              var c = 1 << (31 - Np(o));
                              ((s.entanglements[1] |= c), (o &= ~c));
                            }
                            (ql(a),
                              (Wb & (Fb | Ib)) === Pb &&
                                ((bx = bp() + xx), z(0, !1)));
                          }
                        }
                        break;
                      case 31:
                      case 13:
                        ((s = dr(a, 2)),
                          s !== null && tl(s, a, 2),
                          ol(),
                          ef(a, 2));
                    }
                  if (((a = cf(r)), a === null && uu(e, t, r, zC, n), a === i))
                    break;
                  i = a;
                }
                i !== null && r.stopPropagation();
              } else uu(e, t, r, null, n);
            }
          }
          function cf(e) {
            return ((e = on(e)), lf(e));
          }
          function lf(e) {
            if (((zC = null), (e = Je(e)), e !== null)) {
              var t = x(e);
              if (t === null) e = null;
              else {
                var n = t.tag;
                if (n === 13) {
                  if (((e = ee(t)), e !== null)) return e;
                  e = null;
                } else if (n === 31) {
                  if (((e = te(t)), e !== null)) return e;
                  e = null;
                } else if (n === 3) {
                  if (t.stateNode.current.memoizedState.isDehydrated)
                    return t.tag === 3 ? t.stateNode.containerInfo : null;
                  e = null;
                } else t !== e && (e = null);
              }
            }
            return ((zC = e), null);
          }
          function uf(e) {
            switch (e) {
              case `beforetoggle`:
              case `cancel`:
              case `click`:
              case `close`:
              case `contextmenu`:
              case `copy`:
              case `cut`:
              case `auxclick`:
              case `dblclick`:
              case `dragend`:
              case `dragstart`:
              case `drop`:
              case `focusin`:
              case `focusout`:
              case `input`:
              case `invalid`:
              case `keydown`:
              case `keypress`:
              case `keyup`:
              case `mousedown`:
              case `mouseup`:
              case `paste`:
              case `pause`:
              case `play`:
              case `pointercancel`:
              case `pointerdown`:
              case `pointerup`:
              case `ratechange`:
              case `reset`:
              case `resize`:
              case `seeked`:
              case `submit`:
              case `toggle`:
              case `touchcancel`:
              case `touchend`:
              case `touchstart`:
              case `volumechange`:
              case `change`:
              case `selectionchange`:
              case `textInput`:
              case `compositionstart`:
              case `compositionend`:
              case `compositionupdate`:
              case `beforeblur`:
              case `afterblur`:
              case `beforeinput`:
              case `blur`:
              case `fullscreenchange`:
              case `focus`:
              case `hashchange`:
              case `popstate`:
              case `select`:
              case `selectstart`:
                return zp;
              case `drag`:
              case `dragenter`:
              case `dragexit`:
              case `dragleave`:
              case `dragover`:
              case `mousemove`:
              case `mouseout`:
              case `mouseover`:
              case `pointermove`:
              case `pointerout`:
              case `pointerover`:
              case `scroll`:
              case `touchmove`:
              case `wheel`:
              case `mouseenter`:
              case `mouseleave`:
              case `pointerenter`:
              case `pointerleave`:
                return Bp;
              case `message`:
                switch (xp()) {
                  case Sp:
                    return zp;
                  case Cp:
                    return Bp;
                  case wp:
                  case Tp:
                    return Vp;
                  case Ep:
                    return Hp;
                  default:
                    return Vp;
                }
              default:
                return Vp;
            }
          }
          function df(e, t) {
            switch (e) {
              case `focusin`:
              case `focusout`:
                VC = null;
                break;
              case `dragenter`:
              case `dragleave`:
                HC = null;
                break;
              case `mouseover`:
              case `mouseout`:
                UC = null;
                break;
              case `pointerover`:
              case `pointerout`:
                WC.delete(t.pointerId);
                break;
              case `gotpointercapture`:
              case `lostpointercapture`:
                GC.delete(t.pointerId);
            }
          }
          function ff(e, t, n, r, i, a) {
            return e === null || e.nativeEvent !== a
              ? ((e = {
                  blockedOn: t,
                  domEventName: n,
                  eventSystemFlags: r,
                  nativeEvent: a,
                  targetContainers: [i],
                }),
                t !== null && ((t = Ye(t)), t !== null && tf(t)),
                e)
              : ((e.eventSystemFlags |= r),
                (t = e.targetContainers),
                i !== null && t.indexOf(i) === -1 && t.push(i),
                e);
          }
          function pf(e, t, n, r, i) {
            switch (t) {
              case `focusin`:
                return ((VC = ff(VC, e, t, n, r, i)), !0);
              case `dragenter`:
                return ((HC = ff(HC, e, t, n, r, i)), !0);
              case `mouseover`:
                return ((UC = ff(UC, e, t, n, r, i)), !0);
              case `pointerover`:
                var a = i.pointerId;
                return (WC.set(a, ff(WC.get(a) || null, e, t, n, r, i)), !0);
              case `gotpointercapture`:
                return (
                  (a = i.pointerId),
                  GC.set(a, ff(GC.get(a) || null, e, t, n, r, i)),
                  !0
                );
            }
            return !1;
          }
          function mf(e) {
            var t = Je(e.target);
            if (t !== null) {
              var n = x(t);
              if (n !== null) {
                if (((t = n.tag), t === 13)) {
                  if (((t = ee(n)), t !== null)) {
                    ((e.blockedOn = t),
                      Ke(e.priority, function () {
                        nf(n);
                      }));
                    return;
                  }
                } else if (t === 31) {
                  if (((t = te(n)), t !== null)) {
                    ((e.blockedOn = t),
                      Ke(e.priority, function () {
                        nf(n);
                      }));
                    return;
                  }
                } else if (
                  t === 3 &&
                  n.stateNode.current.memoizedState.isDehydrated
                ) {
                  e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;
                  return;
                }
              }
            }
            e.blockedOn = null;
          }
          function hf(e) {
            if (e.blockedOn !== null) return !1;
            for (var t = e.targetContainers; 0 < t.length;) {
              var n = cf(e.nativeEvent);
              if (n === null) {
                n = e.nativeEvent;
                var r = new n.constructor(n.type, n),
                  i = r;
                (Jm !== null &&
                  console.error(
                    `Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`,
                  ),
                  (Jm = i),
                  n.target.dispatchEvent(r),
                  Jm === null &&
                    console.error(
                      `Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.`,
                    ),
                  (Jm = null));
              } else
                return (
                  (t = Ye(n)),
                  t !== null && tf(t),
                  (e.blockedOn = n),
                  !1
                );
              t.shift();
            }
            return !0;
          }
          function gf(e, t, n) {
            hf(e) && n.delete(t);
          }
          function _f() {
            ((BC = !1),
              VC !== null && hf(VC) && (VC = null),
              HC !== null && hf(HC) && (HC = null),
              UC !== null && hf(UC) && (UC = null),
              WC.forEach(gf),
              GC.forEach(gf));
          }
          function vf(e, t) {
            e.blockedOn === t &&
              ((e.blockedOn = null),
              BC ||
                ((BC = !0),
                Tf.unstable_scheduleCallback(Tf.unstable_NormalPriority, _f)));
          }
          function yf(e) {
            JC !== e &&
              ((JC = e),
              Tf.unstable_scheduleCallback(
                Tf.unstable_NormalPriority,
                function () {
                  JC === e && (JC = null);
                  for (var t = 0; t < e.length; t += 3) {
                    var n = e[t],
                      r = e[t + 1],
                      i = e[t + 2];
                    if (typeof r != `function`) {
                      if (lf(r || n) === null) continue;
                      break;
                    }
                    var a = Ye(n);
                    a !== null &&
                      (e.splice(t, 3),
                      (t -= 3),
                      (n = {
                        pending: !0,
                        data: i,
                        method: n.method,
                        action: r,
                      }),
                      Object.freeze(n),
                      Mo(a, n, r, i));
                  }
                },
              ));
          }
          function bf(e) {
            function t(t) {
              return vf(t, e);
            }
            (VC !== null && vf(VC, e),
              HC !== null && vf(HC, e),
              UC !== null && vf(UC, e),
              WC.forEach(t),
              GC.forEach(t));
            for (var n = 0; n < KC.length; n++) {
              var r = KC[n];
              r.blockedOn === e && (r.blockedOn = null);
            }
            for (; 0 < KC.length && ((n = KC[0]), n.blockedOn === null);)
              (mf(n), n.blockedOn === null && KC.shift());
            if (((n = (e.ownerDocument || e).$$reactFormReplay), n != null))
              for (r = 0; r < n.length; r += 3) {
                var i = n[r],
                  a = n[r + 1],
                  o = i[Gp] || null;
                if (typeof a == `function`) o || yf(n);
                else if (o) {
                  var s = null;
                  if (a && a.hasAttribute(`formAction`)) {
                    if (((i = a), (o = a[Gp] || null))) s = o.formAction;
                    else if (lf(i) !== null) continue;
                  } else s = o.action;
                  (typeof s == `function`
                    ? (n[r + 1] = s)
                    : (n.splice(r, 3), (r -= 3)),
                    yf(n));
                }
              }
          }
          function xf() {
            function e(e) {
              e.canIntercept &&
                e.info === `react-transition` &&
                e.intercept({
                  handler: function () {
                    return new Promise(function (e) {
                      return (i = e);
                    });
                  },
                  focusReset: `manual`,
                  scroll: `manual`,
                });
            }
            function t() {
              (i !== null && (i(), (i = null)), r || setTimeout(n, 20));
            }
            function n() {
              if (!r && !navigation.transition) {
                var e = navigation.currentEntry;
                e &&
                  e.url != null &&
                  navigation.navigate(e.url, {
                    state: e.getState(),
                    info: `react-transition`,
                    history: `replace`,
                  });
              }
            }
            if (typeof navigation == `object`) {
              var r = !1,
                i = null;
              return (
                navigation.addEventListener(`navigate`, e),
                navigation.addEventListener(`navigatesuccess`, t),
                navigation.addEventListener(`navigateerror`, t),
                setTimeout(n, 100),
                function () {
                  ((r = !0),
                    navigation.removeEventListener(`navigate`, e),
                    navigation.removeEventListener(`navigatesuccess`, t),
                    navigation.removeEventListener(`navigateerror`, t),
                    i !== null && (i(), (i = null)));
                }
              );
            }
          }
          function Sf(e) {
            this._internalRoot = e;
          }
          function Cf(e) {
            this._internalRoot = e;
          }
          function wf(e) {
            e[Kp] &&
              (e._reactRootContainer
                ? console.error(
                    `You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.`,
                  )
                : console.error(
                    `You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.`,
                  ));
          }
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ==
              `function` &&
            __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
          var Tf = _(),
            Ef = m(),
            Df = b(),
            H = Object.assign,
            Of = Symbol.for(`react.element`),
            kf = Symbol.for(`react.transitional.element`),
            Af = Symbol.for(`react.portal`),
            jf = Symbol.for(`react.fragment`),
            Mf = Symbol.for(`react.strict_mode`),
            Nf = Symbol.for(`react.profiler`),
            Pf = Symbol.for(`react.consumer`),
            Ff = Symbol.for(`react.context`),
            If = Symbol.for(`react.forward_ref`),
            Lf = Symbol.for(`react.suspense`),
            Rf = Symbol.for(`react.suspense_list`),
            zf = Symbol.for(`react.memo`),
            Bf = Symbol.for(`react.lazy`),
            Vf = Symbol.for(`react.activity`),
            Hf = Symbol.for(`react.memo_cache_sentinel`),
            Uf = Symbol.iterator,
            Wf = Symbol.for(`react.client.reference`),
            Gf = Array.isArray,
            U =
              Ef.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
            Kf =
              Df.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
            qf = Object.freeze({
              pending: !1,
              data: null,
              method: null,
              action: null,
            }),
            Jf = [],
            Yf = [],
            Xf = -1,
            Zf = ae(null),
            Qf = ae(null),
            $f = ae(null),
            ep = ae(null),
            tp = 0,
            np,
            rp,
            ip,
            ap,
            op,
            sp,
            cp;
          de.__reactDisabledLog = !0;
          var lp,
            up,
            dp = !1,
            fp = new (typeof WeakMap == `function` ? WeakMap : Map)(),
            pp = null,
            mp = !1,
            hp = Object.prototype.hasOwnProperty,
            gp = Tf.unstable_scheduleCallback,
            _p = Tf.unstable_cancelCallback,
            vp = Tf.unstable_shouldYield,
            yp = Tf.unstable_requestPaint,
            bp = Tf.unstable_now,
            xp = Tf.unstable_getCurrentPriorityLevel,
            Sp = Tf.unstable_ImmediatePriority,
            Cp = Tf.unstable_UserBlockingPriority,
            wp = Tf.unstable_NormalPriority,
            Tp = Tf.unstable_LowPriority,
            Ep = Tf.unstable_IdlePriority,
            Dp = Tf.log,
            Op = Tf.unstable_setDisableYieldValue,
            kp = null,
            Ap = null,
            jp = !1,
            Mp = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u`,
            Np = Math.clz32 ? Math.clz32 : ke,
            Pp = Math.log,
            Fp = Math.LN2,
            Ip = 256,
            Lp = 262144,
            Rp = 4194304,
            zp = 2,
            Bp = 8,
            Vp = 32,
            Hp = 268435456,
            Up = Math.random().toString(36).slice(2),
            Wp = `__reactFiber$` + Up,
            Gp = `__reactProps$` + Up,
            Kp = `__reactContainer$` + Up,
            qp = `__reactEvents$` + Up,
            Jp = `__reactListeners$` + Up,
            Yp = `__reactHandles$` + Up,
            Xp = `__reactResources$` + Up,
            Zp = `__reactMarker$` + Up,
            Qp = new Set(),
            $p = {},
            em = {},
            tm = {
              button: !0,
              checkbox: !0,
              image: !0,
              hidden: !0,
              radio: !0,
              reset: !0,
              submit: !0,
            },
            nm = RegExp(
              `^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`,
            ),
            rm = {},
            im = {},
            am = /[\n"\\]/g,
            om = !1,
            sm = !1,
            cm = !1,
            lm = !1,
            um = !1,
            dm = !1,
            fm = [`value`, `defaultValue`],
            pm = !1,
            mm = /["'&<>\n\t]|^\s|\s$/,
            hm =
              `address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp`.split(
                ` `,
              ),
            gm =
              `applet caption html table td th marquee object template foreignObject desc title`.split(
                ` `,
              ),
            _m = gm.concat([`button`]),
            vm = `dd dt li option optgroup p rp rt`.split(` `),
            ym = {
              current: null,
              formTag: null,
              aTagInScope: null,
              buttonTagInScope: null,
              nobrTagInScope: null,
              pTagInButtonScope: null,
              listItemTagAutoclosing: null,
              dlItemTagAutoclosing: null,
              containerTagInScope: null,
              implicitRootScope: !1,
            },
            bm = {},
            xm = {
              animation:
                `animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction`.split(
                  ` `,
                ),
              background:
                `backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize`.split(
                  ` `,
                ),
              backgroundPosition: [
                `backgroundPositionX`,
                `backgroundPositionY`,
              ],
              border:
                `borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth`.split(
                  ` `,
                ),
              borderBlockEnd: [
                `borderBlockEndColor`,
                `borderBlockEndStyle`,
                `borderBlockEndWidth`,
              ],
              borderBlockStart: [
                `borderBlockStartColor`,
                `borderBlockStartStyle`,
                `borderBlockStartWidth`,
              ],
              borderBottom: [
                `borderBottomColor`,
                `borderBottomStyle`,
                `borderBottomWidth`,
              ],
              borderColor: [
                `borderBottomColor`,
                `borderLeftColor`,
                `borderRightColor`,
                `borderTopColor`,
              ],
              borderImage: [
                `borderImageOutset`,
                `borderImageRepeat`,
                `borderImageSlice`,
                `borderImageSource`,
                `borderImageWidth`,
              ],
              borderInlineEnd: [
                `borderInlineEndColor`,
                `borderInlineEndStyle`,
                `borderInlineEndWidth`,
              ],
              borderInlineStart: [
                `borderInlineStartColor`,
                `borderInlineStartStyle`,
                `borderInlineStartWidth`,
              ],
              borderLeft: [
                `borderLeftColor`,
                `borderLeftStyle`,
                `borderLeftWidth`,
              ],
              borderRadius: [
                `borderBottomLeftRadius`,
                `borderBottomRightRadius`,
                `borderTopLeftRadius`,
                `borderTopRightRadius`,
              ],
              borderRight: [
                `borderRightColor`,
                `borderRightStyle`,
                `borderRightWidth`,
              ],
              borderStyle: [
                `borderBottomStyle`,
                `borderLeftStyle`,
                `borderRightStyle`,
                `borderTopStyle`,
              ],
              borderTop: [`borderTopColor`, `borderTopStyle`, `borderTopWidth`],
              borderWidth: [
                `borderBottomWidth`,
                `borderLeftWidth`,
                `borderRightWidth`,
                `borderTopWidth`,
              ],
              columnRule: [
                `columnRuleColor`,
                `columnRuleStyle`,
                `columnRuleWidth`,
              ],
              columns: [`columnCount`, `columnWidth`],
              flex: [`flexBasis`, `flexGrow`, `flexShrink`],
              flexFlow: [`flexDirection`, `flexWrap`],
              font: `fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight`.split(
                ` `,
              ),
              fontVariant:
                `fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition`.split(
                  ` `,
                ),
              gap: [`columnGap`, `rowGap`],
              grid: `gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows`.split(
                ` `,
              ),
              gridArea: [
                `gridColumnEnd`,
                `gridColumnStart`,
                `gridRowEnd`,
                `gridRowStart`,
              ],
              gridColumn: [`gridColumnEnd`, `gridColumnStart`],
              gridColumnGap: [`columnGap`],
              gridGap: [`columnGap`, `rowGap`],
              gridRow: [`gridRowEnd`, `gridRowStart`],
              gridRowGap: [`rowGap`],
              gridTemplate: [
                `gridTemplateAreas`,
                `gridTemplateColumns`,
                `gridTemplateRows`,
              ],
              listStyle: [
                `listStyleImage`,
                `listStylePosition`,
                `listStyleType`,
              ],
              margin: [
                `marginBottom`,
                `marginLeft`,
                `marginRight`,
                `marginTop`,
              ],
              marker: [`markerEnd`, `markerMid`, `markerStart`],
              mask: `maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize`.split(
                ` `,
              ),
              maskPosition: [`maskPositionX`, `maskPositionY`],
              outline: [`outlineColor`, `outlineStyle`, `outlineWidth`],
              overflow: [`overflowX`, `overflowY`],
              padding: [
                `paddingBottom`,
                `paddingLeft`,
                `paddingRight`,
                `paddingTop`,
              ],
              placeContent: [`alignContent`, `justifyContent`],
              placeItems: [`alignItems`, `justifyItems`],
              placeSelf: [`alignSelf`, `justifySelf`],
              textDecoration: [
                `textDecorationColor`,
                `textDecorationLine`,
                `textDecorationStyle`,
              ],
              textEmphasis: [`textEmphasisColor`, `textEmphasisStyle`],
              transition: [
                `transitionDelay`,
                `transitionDuration`,
                `transitionProperty`,
                `transitionTimingFunction`,
              ],
              wordWrap: [`overflowWrap`],
            },
            Sm = /([A-Z])/g,
            Cm = /^ms-/,
            wm = /^(?:webkit|moz|o)[A-Z]/,
            Tm = /^-ms-/,
            Em = /-(.)/g,
            Dm = /;\s*$/,
            Om = {},
            km = {},
            Am = !1,
            jm = !1,
            Mm = new Set(
              `animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(
                ` `,
              ),
            ),
            Nm = `http://www.w3.org/1998/Math/MathML`,
            Pm = `http://www.w3.org/2000/svg`,
            Fm = new Map([
              [`acceptCharset`, `accept-charset`],
              [`htmlFor`, `for`],
              [`httpEquiv`, `http-equiv`],
              [`crossOrigin`, `crossorigin`],
              [`accentHeight`, `accent-height`],
              [`alignmentBaseline`, `alignment-baseline`],
              [`arabicForm`, `arabic-form`],
              [`baselineShift`, `baseline-shift`],
              [`capHeight`, `cap-height`],
              [`clipPath`, `clip-path`],
              [`clipRule`, `clip-rule`],
              [`colorInterpolation`, `color-interpolation`],
              [`colorInterpolationFilters`, `color-interpolation-filters`],
              [`colorProfile`, `color-profile`],
              [`colorRendering`, `color-rendering`],
              [`dominantBaseline`, `dominant-baseline`],
              [`enableBackground`, `enable-background`],
              [`fillOpacity`, `fill-opacity`],
              [`fillRule`, `fill-rule`],
              [`floodColor`, `flood-color`],
              [`floodOpacity`, `flood-opacity`],
              [`fontFamily`, `font-family`],
              [`fontSize`, `font-size`],
              [`fontSizeAdjust`, `font-size-adjust`],
              [`fontStretch`, `font-stretch`],
              [`fontStyle`, `font-style`],
              [`fontVariant`, `font-variant`],
              [`fontWeight`, `font-weight`],
              [`glyphName`, `glyph-name`],
              [`glyphOrientationHorizontal`, `glyph-orientation-horizontal`],
              [`glyphOrientationVertical`, `glyph-orientation-vertical`],
              [`horizAdvX`, `horiz-adv-x`],
              [`horizOriginX`, `horiz-origin-x`],
              [`imageRendering`, `image-rendering`],
              [`letterSpacing`, `letter-spacing`],
              [`lightingColor`, `lighting-color`],
              [`markerEnd`, `marker-end`],
              [`markerMid`, `marker-mid`],
              [`markerStart`, `marker-start`],
              [`overlinePosition`, `overline-position`],
              [`overlineThickness`, `overline-thickness`],
              [`paintOrder`, `paint-order`],
              [`panose-1`, `panose-1`],
              [`pointerEvents`, `pointer-events`],
              [`renderingIntent`, `rendering-intent`],
              [`shapeRendering`, `shape-rendering`],
              [`stopColor`, `stop-color`],
              [`stopOpacity`, `stop-opacity`],
              [`strikethroughPosition`, `strikethrough-position`],
              [`strikethroughThickness`, `strikethrough-thickness`],
              [`strokeDasharray`, `stroke-dasharray`],
              [`strokeDashoffset`, `stroke-dashoffset`],
              [`strokeLinecap`, `stroke-linecap`],
              [`strokeLinejoin`, `stroke-linejoin`],
              [`strokeMiterlimit`, `stroke-miterlimit`],
              [`strokeOpacity`, `stroke-opacity`],
              [`strokeWidth`, `stroke-width`],
              [`textAnchor`, `text-anchor`],
              [`textDecoration`, `text-decoration`],
              [`textRendering`, `text-rendering`],
              [`transformOrigin`, `transform-origin`],
              [`underlinePosition`, `underline-position`],
              [`underlineThickness`, `underline-thickness`],
              [`unicodeBidi`, `unicode-bidi`],
              [`unicodeRange`, `unicode-range`],
              [`unitsPerEm`, `units-per-em`],
              [`vAlphabetic`, `v-alphabetic`],
              [`vHanging`, `v-hanging`],
              [`vIdeographic`, `v-ideographic`],
              [`vMathematical`, `v-mathematical`],
              [`vectorEffect`, `vector-effect`],
              [`vertAdvY`, `vert-adv-y`],
              [`vertOriginX`, `vert-origin-x`],
              [`vertOriginY`, `vert-origin-y`],
              [`wordSpacing`, `word-spacing`],
              [`writingMode`, `writing-mode`],
              [`xmlnsXlink`, `xmlns:xlink`],
              [`xHeight`, `x-height`],
            ]),
            Im = {
              accept: `accept`,
              acceptcharset: `acceptCharset`,
              "accept-charset": `acceptCharset`,
              accesskey: `accessKey`,
              action: `action`,
              allowfullscreen: `allowFullScreen`,
              alt: `alt`,
              as: `as`,
              async: `async`,
              autocapitalize: `autoCapitalize`,
              autocomplete: `autoComplete`,
              autocorrect: `autoCorrect`,
              autofocus: `autoFocus`,
              autoplay: `autoPlay`,
              autosave: `autoSave`,
              capture: `capture`,
              cellpadding: `cellPadding`,
              cellspacing: `cellSpacing`,
              challenge: `challenge`,
              charset: `charSet`,
              checked: `checked`,
              children: `children`,
              cite: `cite`,
              class: `className`,
              classid: `classID`,
              classname: `className`,
              cols: `cols`,
              colspan: `colSpan`,
              content: `content`,
              contenteditable: `contentEditable`,
              contextmenu: `contextMenu`,
              controls: `controls`,
              controlslist: `controlsList`,
              coords: `coords`,
              crossorigin: `crossOrigin`,
              dangerouslysetinnerhtml: `dangerouslySetInnerHTML`,
              data: `data`,
              datetime: `dateTime`,
              default: `default`,
              defaultchecked: `defaultChecked`,
              defaultvalue: `defaultValue`,
              defer: `defer`,
              dir: `dir`,
              disabled: `disabled`,
              disablepictureinpicture: `disablePictureInPicture`,
              disableremoteplayback: `disableRemotePlayback`,
              download: `download`,
              draggable: `draggable`,
              enctype: `encType`,
              enterkeyhint: `enterKeyHint`,
              fetchpriority: `fetchPriority`,
              for: `htmlFor`,
              form: `form`,
              formmethod: `formMethod`,
              formaction: `formAction`,
              formenctype: `formEncType`,
              formnovalidate: `formNoValidate`,
              formtarget: `formTarget`,
              frameborder: `frameBorder`,
              headers: `headers`,
              height: `height`,
              hidden: `hidden`,
              high: `high`,
              href: `href`,
              hreflang: `hrefLang`,
              htmlfor: `htmlFor`,
              httpequiv: `httpEquiv`,
              "http-equiv": `httpEquiv`,
              icon: `icon`,
              id: `id`,
              imagesizes: `imageSizes`,
              imagesrcset: `imageSrcSet`,
              inert: `inert`,
              innerhtml: `innerHTML`,
              inputmode: `inputMode`,
              integrity: `integrity`,
              is: `is`,
              itemid: `itemID`,
              itemprop: `itemProp`,
              itemref: `itemRef`,
              itemscope: `itemScope`,
              itemtype: `itemType`,
              keyparams: `keyParams`,
              keytype: `keyType`,
              kind: `kind`,
              label: `label`,
              lang: `lang`,
              list: `list`,
              loop: `loop`,
              low: `low`,
              manifest: `manifest`,
              marginwidth: `marginWidth`,
              marginheight: `marginHeight`,
              max: `max`,
              maxlength: `maxLength`,
              media: `media`,
              mediagroup: `mediaGroup`,
              method: `method`,
              min: `min`,
              minlength: `minLength`,
              multiple: `multiple`,
              muted: `muted`,
              name: `name`,
              nomodule: `noModule`,
              nonce: `nonce`,
              novalidate: `noValidate`,
              open: `open`,
              optimum: `optimum`,
              pattern: `pattern`,
              placeholder: `placeholder`,
              playsinline: `playsInline`,
              poster: `poster`,
              preload: `preload`,
              profile: `profile`,
              radiogroup: `radioGroup`,
              readonly: `readOnly`,
              referrerpolicy: `referrerPolicy`,
              rel: `rel`,
              required: `required`,
              reversed: `reversed`,
              role: `role`,
              rows: `rows`,
              rowspan: `rowSpan`,
              sandbox: `sandbox`,
              scope: `scope`,
              scoped: `scoped`,
              scrolling: `scrolling`,
              seamless: `seamless`,
              selected: `selected`,
              shape: `shape`,
              size: `size`,
              sizes: `sizes`,
              span: `span`,
              spellcheck: `spellCheck`,
              src: `src`,
              srcdoc: `srcDoc`,
              srclang: `srcLang`,
              srcset: `srcSet`,
              start: `start`,
              step: `step`,
              style: `style`,
              summary: `summary`,
              tabindex: `tabIndex`,
              target: `target`,
              title: `title`,
              type: `type`,
              usemap: `useMap`,
              value: `value`,
              width: `width`,
              wmode: `wmode`,
              wrap: `wrap`,
              about: `about`,
              accentheight: `accentHeight`,
              "accent-height": `accentHeight`,
              accumulate: `accumulate`,
              additive: `additive`,
              alignmentbaseline: `alignmentBaseline`,
              "alignment-baseline": `alignmentBaseline`,
              allowreorder: `allowReorder`,
              alphabetic: `alphabetic`,
              amplitude: `amplitude`,
              arabicform: `arabicForm`,
              "arabic-form": `arabicForm`,
              ascent: `ascent`,
              attributename: `attributeName`,
              attributetype: `attributeType`,
              autoreverse: `autoReverse`,
              azimuth: `azimuth`,
              basefrequency: `baseFrequency`,
              baselineshift: `baselineShift`,
              "baseline-shift": `baselineShift`,
              baseprofile: `baseProfile`,
              bbox: `bbox`,
              begin: `begin`,
              bias: `bias`,
              by: `by`,
              calcmode: `calcMode`,
              capheight: `capHeight`,
              "cap-height": `capHeight`,
              clip: `clip`,
              clippath: `clipPath`,
              "clip-path": `clipPath`,
              clippathunits: `clipPathUnits`,
              cliprule: `clipRule`,
              "clip-rule": `clipRule`,
              color: `color`,
              colorinterpolation: `colorInterpolation`,
              "color-interpolation": `colorInterpolation`,
              colorinterpolationfilters: `colorInterpolationFilters`,
              "color-interpolation-filters": `colorInterpolationFilters`,
              colorprofile: `colorProfile`,
              "color-profile": `colorProfile`,
              colorrendering: `colorRendering`,
              "color-rendering": `colorRendering`,
              contentscripttype: `contentScriptType`,
              contentstyletype: `contentStyleType`,
              cursor: `cursor`,
              cx: `cx`,
              cy: `cy`,
              d: `d`,
              datatype: `datatype`,
              decelerate: `decelerate`,
              descent: `descent`,
              diffuseconstant: `diffuseConstant`,
              direction: `direction`,
              display: `display`,
              divisor: `divisor`,
              dominantbaseline: `dominantBaseline`,
              "dominant-baseline": `dominantBaseline`,
              dur: `dur`,
              dx: `dx`,
              dy: `dy`,
              edgemode: `edgeMode`,
              elevation: `elevation`,
              enablebackground: `enableBackground`,
              "enable-background": `enableBackground`,
              end: `end`,
              exponent: `exponent`,
              externalresourcesrequired: `externalResourcesRequired`,
              fill: `fill`,
              fillopacity: `fillOpacity`,
              "fill-opacity": `fillOpacity`,
              fillrule: `fillRule`,
              "fill-rule": `fillRule`,
              filter: `filter`,
              filterres: `filterRes`,
              filterunits: `filterUnits`,
              floodopacity: `floodOpacity`,
              "flood-opacity": `floodOpacity`,
              floodcolor: `floodColor`,
              "flood-color": `floodColor`,
              focusable: `focusable`,
              fontfamily: `fontFamily`,
              "font-family": `fontFamily`,
              fontsize: `fontSize`,
              "font-size": `fontSize`,
              fontsizeadjust: `fontSizeAdjust`,
              "font-size-adjust": `fontSizeAdjust`,
              fontstretch: `fontStretch`,
              "font-stretch": `fontStretch`,
              fontstyle: `fontStyle`,
              "font-style": `fontStyle`,
              fontvariant: `fontVariant`,
              "font-variant": `fontVariant`,
              fontweight: `fontWeight`,
              "font-weight": `fontWeight`,
              format: `format`,
              from: `from`,
              fx: `fx`,
              fy: `fy`,
              g1: `g1`,
              g2: `g2`,
              glyphname: `glyphName`,
              "glyph-name": `glyphName`,
              glyphorientationhorizontal: `glyphOrientationHorizontal`,
              "glyph-orientation-horizontal": `glyphOrientationHorizontal`,
              glyphorientationvertical: `glyphOrientationVertical`,
              "glyph-orientation-vertical": `glyphOrientationVertical`,
              glyphref: `glyphRef`,
              gradienttransform: `gradientTransform`,
              gradientunits: `gradientUnits`,
              hanging: `hanging`,
              horizadvx: `horizAdvX`,
              "horiz-adv-x": `horizAdvX`,
              horizoriginx: `horizOriginX`,
              "horiz-origin-x": `horizOriginX`,
              ideographic: `ideographic`,
              imagerendering: `imageRendering`,
              "image-rendering": `imageRendering`,
              in2: `in2`,
              in: `in`,
              inlist: `inlist`,
              intercept: `intercept`,
              k1: `k1`,
              k2: `k2`,
              k3: `k3`,
              k4: `k4`,
              k: `k`,
              kernelmatrix: `kernelMatrix`,
              kernelunitlength: `kernelUnitLength`,
              kerning: `kerning`,
              keypoints: `keyPoints`,
              keysplines: `keySplines`,
              keytimes: `keyTimes`,
              lengthadjust: `lengthAdjust`,
              letterspacing: `letterSpacing`,
              "letter-spacing": `letterSpacing`,
              lightingcolor: `lightingColor`,
              "lighting-color": `lightingColor`,
              limitingconeangle: `limitingConeAngle`,
              local: `local`,
              markerend: `markerEnd`,
              "marker-end": `markerEnd`,
              markerheight: `markerHeight`,
              markermid: `markerMid`,
              "marker-mid": `markerMid`,
              markerstart: `markerStart`,
              "marker-start": `markerStart`,
              markerunits: `markerUnits`,
              markerwidth: `markerWidth`,
              mask: `mask`,
              maskcontentunits: `maskContentUnits`,
              maskunits: `maskUnits`,
              mathematical: `mathematical`,
              mode: `mode`,
              numoctaves: `numOctaves`,
              offset: `offset`,
              opacity: `opacity`,
              operator: `operator`,
              order: `order`,
              orient: `orient`,
              orientation: `orientation`,
              origin: `origin`,
              overflow: `overflow`,
              overlineposition: `overlinePosition`,
              "overline-position": `overlinePosition`,
              overlinethickness: `overlineThickness`,
              "overline-thickness": `overlineThickness`,
              paintorder: `paintOrder`,
              "paint-order": `paintOrder`,
              panose1: `panose1`,
              "panose-1": `panose1`,
              pathlength: `pathLength`,
              patterncontentunits: `patternContentUnits`,
              patterntransform: `patternTransform`,
              patternunits: `patternUnits`,
              pointerevents: `pointerEvents`,
              "pointer-events": `pointerEvents`,
              points: `points`,
              pointsatx: `pointsAtX`,
              pointsaty: `pointsAtY`,
              pointsatz: `pointsAtZ`,
              popover: `popover`,
              popovertarget: `popoverTarget`,
              popovertargetaction: `popoverTargetAction`,
              prefix: `prefix`,
              preservealpha: `preserveAlpha`,
              preserveaspectratio: `preserveAspectRatio`,
              primitiveunits: `primitiveUnits`,
              property: `property`,
              r: `r`,
              radius: `radius`,
              refx: `refX`,
              refy: `refY`,
              renderingintent: `renderingIntent`,
              "rendering-intent": `renderingIntent`,
              repeatcount: `repeatCount`,
              repeatdur: `repeatDur`,
              requiredextensions: `requiredExtensions`,
              requiredfeatures: `requiredFeatures`,
              resource: `resource`,
              restart: `restart`,
              result: `result`,
              results: `results`,
              rotate: `rotate`,
              rx: `rx`,
              ry: `ry`,
              scale: `scale`,
              security: `security`,
              seed: `seed`,
              shaperendering: `shapeRendering`,
              "shape-rendering": `shapeRendering`,
              slope: `slope`,
              spacing: `spacing`,
              specularconstant: `specularConstant`,
              specularexponent: `specularExponent`,
              speed: `speed`,
              spreadmethod: `spreadMethod`,
              startoffset: `startOffset`,
              stddeviation: `stdDeviation`,
              stemh: `stemh`,
              stemv: `stemv`,
              stitchtiles: `stitchTiles`,
              stopcolor: `stopColor`,
              "stop-color": `stopColor`,
              stopopacity: `stopOpacity`,
              "stop-opacity": `stopOpacity`,
              strikethroughposition: `strikethroughPosition`,
              "strikethrough-position": `strikethroughPosition`,
              strikethroughthickness: `strikethroughThickness`,
              "strikethrough-thickness": `strikethroughThickness`,
              string: `string`,
              stroke: `stroke`,
              strokedasharray: `strokeDasharray`,
              "stroke-dasharray": `strokeDasharray`,
              strokedashoffset: `strokeDashoffset`,
              "stroke-dashoffset": `strokeDashoffset`,
              strokelinecap: `strokeLinecap`,
              "stroke-linecap": `strokeLinecap`,
              strokelinejoin: `strokeLinejoin`,
              "stroke-linejoin": `strokeLinejoin`,
              strokemiterlimit: `strokeMiterlimit`,
              "stroke-miterlimit": `strokeMiterlimit`,
              strokewidth: `strokeWidth`,
              "stroke-width": `strokeWidth`,
              strokeopacity: `strokeOpacity`,
              "stroke-opacity": `strokeOpacity`,
              suppresscontenteditablewarning: `suppressContentEditableWarning`,
              suppresshydrationwarning: `suppressHydrationWarning`,
              surfacescale: `surfaceScale`,
              systemlanguage: `systemLanguage`,
              tablevalues: `tableValues`,
              targetx: `targetX`,
              targety: `targetY`,
              textanchor: `textAnchor`,
              "text-anchor": `textAnchor`,
              textdecoration: `textDecoration`,
              "text-decoration": `textDecoration`,
              textlength: `textLength`,
              textrendering: `textRendering`,
              "text-rendering": `textRendering`,
              to: `to`,
              transform: `transform`,
              transformorigin: `transformOrigin`,
              "transform-origin": `transformOrigin`,
              typeof: `typeof`,
              u1: `u1`,
              u2: `u2`,
              underlineposition: `underlinePosition`,
              "underline-position": `underlinePosition`,
              underlinethickness: `underlineThickness`,
              "underline-thickness": `underlineThickness`,
              unicode: `unicode`,
              unicodebidi: `unicodeBidi`,
              "unicode-bidi": `unicodeBidi`,
              unicoderange: `unicodeRange`,
              "unicode-range": `unicodeRange`,
              unitsperem: `unitsPerEm`,
              "units-per-em": `unitsPerEm`,
              unselectable: `unselectable`,
              valphabetic: `vAlphabetic`,
              "v-alphabetic": `vAlphabetic`,
              values: `values`,
              vectoreffect: `vectorEffect`,
              "vector-effect": `vectorEffect`,
              version: `version`,
              vertadvy: `vertAdvY`,
              "vert-adv-y": `vertAdvY`,
              vertoriginx: `vertOriginX`,
              "vert-origin-x": `vertOriginX`,
              vertoriginy: `vertOriginY`,
              "vert-origin-y": `vertOriginY`,
              vhanging: `vHanging`,
              "v-hanging": `vHanging`,
              videographic: `vIdeographic`,
              "v-ideographic": `vIdeographic`,
              viewbox: `viewBox`,
              viewtarget: `viewTarget`,
              visibility: `visibility`,
              vmathematical: `vMathematical`,
              "v-mathematical": `vMathematical`,
              vocab: `vocab`,
              widths: `widths`,
              wordspacing: `wordSpacing`,
              "word-spacing": `wordSpacing`,
              writingmode: `writingMode`,
              "writing-mode": `writingMode`,
              x1: `x1`,
              x2: `x2`,
              x: `x`,
              xchannelselector: `xChannelSelector`,
              xheight: `xHeight`,
              "x-height": `xHeight`,
              xlinkactuate: `xlinkActuate`,
              "xlink:actuate": `xlinkActuate`,
              xlinkarcrole: `xlinkArcrole`,
              "xlink:arcrole": `xlinkArcrole`,
              xlinkhref: `xlinkHref`,
              "xlink:href": `xlinkHref`,
              xlinkrole: `xlinkRole`,
              "xlink:role": `xlinkRole`,
              xlinkshow: `xlinkShow`,
              "xlink:show": `xlinkShow`,
              xlinktitle: `xlinkTitle`,
              "xlink:title": `xlinkTitle`,
              xlinktype: `xlinkType`,
              "xlink:type": `xlinkType`,
              xmlbase: `xmlBase`,
              "xml:base": `xmlBase`,
              xmllang: `xmlLang`,
              "xml:lang": `xmlLang`,
              xmlns: `xmlns`,
              "xml:space": `xmlSpace`,
              xmlnsxlink: `xmlnsXlink`,
              "xmlns:xlink": `xmlnsXlink`,
              xmlspace: `xmlSpace`,
              y1: `y1`,
              y2: `y2`,
              y: `y`,
              ychannelselector: `yChannelSelector`,
              z: `z`,
              zoomandpan: `zoomAndPan`,
            },
            Lm = {
              "aria-current": 0,
              "aria-description": 0,
              "aria-details": 0,
              "aria-disabled": 0,
              "aria-hidden": 0,
              "aria-invalid": 0,
              "aria-keyshortcuts": 0,
              "aria-label": 0,
              "aria-roledescription": 0,
              "aria-autocomplete": 0,
              "aria-checked": 0,
              "aria-expanded": 0,
              "aria-haspopup": 0,
              "aria-level": 0,
              "aria-modal": 0,
              "aria-multiline": 0,
              "aria-multiselectable": 0,
              "aria-orientation": 0,
              "aria-placeholder": 0,
              "aria-pressed": 0,
              "aria-readonly": 0,
              "aria-required": 0,
              "aria-selected": 0,
              "aria-sort": 0,
              "aria-valuemax": 0,
              "aria-valuemin": 0,
              "aria-valuenow": 0,
              "aria-valuetext": 0,
              "aria-atomic": 0,
              "aria-busy": 0,
              "aria-live": 0,
              "aria-relevant": 0,
              "aria-dropeffect": 0,
              "aria-grabbed": 0,
              "aria-activedescendant": 0,
              "aria-colcount": 0,
              "aria-colindex": 0,
              "aria-colspan": 0,
              "aria-controls": 0,
              "aria-describedby": 0,
              "aria-errormessage": 0,
              "aria-flowto": 0,
              "aria-labelledby": 0,
              "aria-owns": 0,
              "aria-posinset": 0,
              "aria-rowcount": 0,
              "aria-rowindex": 0,
              "aria-rowspan": 0,
              "aria-setsize": 0,
              "aria-braillelabel": 0,
              "aria-brailleroledescription": 0,
              "aria-colindextext": 0,
              "aria-rowindextext": 0,
            },
            Rm = {},
            zm = RegExp(
              `^(aria)-[: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]*$`,
            ),
            Bm = RegExp(
              `^(aria)[A-Z][: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]*$`,
            ),
            Vm = !1,
            Hm = {},
            Um = /^on./,
            Wm = /^on[^A-Z]/,
            Gm = RegExp(
              `^(aria)-[: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]*$`,
            ),
            Km = RegExp(
              `^(aria)[A-Z][: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]*$`,
            ),
            qm =
              /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,
            Jm = null,
            Ym = null,
            Xm = null,
            Zm = !1,
            Qm = !(
              typeof window > `u` ||
              window.document === void 0 ||
              window.document.createElement === void 0
            ),
            $m = !1;
          if (Qm)
            try {
              var eh = {};
              (Object.defineProperty(eh, "passive", {
                get: function () {
                  $m = !0;
                },
              }),
                window.addEventListener(`test`, eh, eh),
                window.removeEventListener(`test`, eh, eh));
            } catch {
              $m = !1;
            }
          var th = null,
            nh = null,
            rh = null,
            ih = {
              eventPhase: 0,
              bubbles: 0,
              cancelable: 0,
              timeStamp: function (e) {
                return e.timeStamp || Date.now();
              },
              defaultPrevented: 0,
              isTrusted: 0,
            },
            ah = mn(ih),
            oh = H({}, ih, { view: 0, detail: 0 }),
            sh = mn(oh),
            ch,
            lh,
            uh,
            dh = H({}, oh, {
              screenX: 0,
              screenY: 0,
              clientX: 0,
              clientY: 0,
              pageX: 0,
              pageY: 0,
              ctrlKey: 0,
              shiftKey: 0,
              altKey: 0,
              metaKey: 0,
              getModifierState: gn,
              button: 0,
              buttons: 0,
              relatedTarget: function (e) {
                return e.relatedTarget === void 0
                  ? e.fromElement === e.srcElement
                    ? e.toElement
                    : e.fromElement
                  : e.relatedTarget;
              },
              movementX: function (e) {
                return `movementX` in e
                  ? e.movementX
                  : (e !== uh &&
                      (uh && e.type === `mousemove`
                        ? ((ch = e.screenX - uh.screenX),
                          (lh = e.screenY - uh.screenY))
                        : (lh = ch = 0),
                      (uh = e)),
                    ch);
              },
              movementY: function (e) {
                return `movementY` in e ? e.movementY : lh;
              },
            }),
            fh = mn(dh),
            ph = mn(H({}, dh, { dataTransfer: 0 })),
            mh = mn(H({}, oh, { relatedTarget: 0 })),
            hh = mn(
              H({}, ih, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }),
            ),
            gh = mn(
              H({}, ih, {
                clipboardData: function (e) {
                  return `clipboardData` in e
                    ? e.clipboardData
                    : window.clipboardData;
                },
              }),
            ),
            _h = mn(H({}, ih, { data: 0 })),
            vh = _h,
            yh = {
              Esc: `Escape`,
              Spacebar: ` `,
              Left: `ArrowLeft`,
              Up: `ArrowUp`,
              Right: `ArrowRight`,
              Down: `ArrowDown`,
              Del: `Delete`,
              Win: `OS`,
              Menu: `ContextMenu`,
              Apps: `ContextMenu`,
              Scroll: `ScrollLock`,
              MozPrintableKey: `Unidentified`,
            },
            bh = {
              8: `Backspace`,
              9: `Tab`,
              12: `Clear`,
              13: `Enter`,
              16: `Shift`,
              17: `Control`,
              18: `Alt`,
              19: `Pause`,
              20: `CapsLock`,
              27: `Escape`,
              32: ` `,
              33: `PageUp`,
              34: `PageDown`,
              35: `End`,
              36: `Home`,
              37: `ArrowLeft`,
              38: `ArrowUp`,
              39: `ArrowRight`,
              40: `ArrowDown`,
              45: `Insert`,
              46: `Delete`,
              112: `F1`,
              113: `F2`,
              114: `F3`,
              115: `F4`,
              116: `F5`,
              117: `F6`,
              118: `F7`,
              119: `F8`,
              120: `F9`,
              121: `F10`,
              122: `F11`,
              123: `F12`,
              144: `NumLock`,
              145: `ScrollLock`,
              224: `Meta`,
            },
            xh = {
              Alt: `altKey`,
              Control: `ctrlKey`,
              Meta: `metaKey`,
              Shift: `shiftKey`,
            },
            Sh = mn(
              H({}, oh, {
                key: function (e) {
                  if (e.key) {
                    var t = yh[e.key] || e.key;
                    if (t !== `Unidentified`) return t;
                  }
                  return e.type === `keypress`
                    ? ((e = dn(e)), e === 13 ? `Enter` : String.fromCharCode(e))
                    : e.type === `keydown` || e.type === `keyup`
                      ? bh[e.keyCode] || `Unidentified`
                      : ``;
                },
                code: 0,
                location: 0,
                ctrlKey: 0,
                shiftKey: 0,
                altKey: 0,
                metaKey: 0,
                repeat: 0,
                locale: 0,
                getModifierState: gn,
                charCode: function (e) {
                  return e.type === `keypress` ? dn(e) : 0;
                },
                keyCode: function (e) {
                  return e.type === `keydown` || e.type === `keyup`
                    ? e.keyCode
                    : 0;
                },
                which: function (e) {
                  return e.type === `keypress`
                    ? dn(e)
                    : e.type === `keydown` || e.type === `keyup`
                      ? e.keyCode
                      : 0;
                },
              }),
            ),
            Ch = mn(
              H({}, dh, {
                pointerId: 0,
                width: 0,
                height: 0,
                pressure: 0,
                tangentialPressure: 0,
                tiltX: 0,
                tiltY: 0,
                twist: 0,
                pointerType: 0,
                isPrimary: 0,
              }),
            ),
            wh = mn(
              H({}, oh, {
                touches: 0,
                targetTouches: 0,
                changedTouches: 0,
                altKey: 0,
                metaKey: 0,
                ctrlKey: 0,
                shiftKey: 0,
                getModifierState: gn,
              }),
            ),
            Th = mn(
              H({}, ih, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }),
            ),
            Eh = mn(
              H({}, dh, {
                deltaX: function (e) {
                  return `deltaX` in e
                    ? e.deltaX
                    : `wheelDeltaX` in e
                      ? -e.wheelDeltaX
                      : 0;
                },
                deltaY: function (e) {
                  return `deltaY` in e
                    ? e.deltaY
                    : `wheelDeltaY` in e
                      ? -e.wheelDeltaY
                      : `wheelDelta` in e
                        ? -e.wheelDelta
                        : 0;
                },
                deltaZ: 0,
                deltaMode: 0,
              }),
            ),
            Dh = mn(H({}, ih, { newState: 0, oldState: 0 })),
            Oh = [9, 13, 27, 32],
            kh = 229,
            Ah = Qm && `CompositionEvent` in window,
            jh = null;
          Qm && `documentMode` in document && (jh = document.documentMode);
          var Mh = Qm && `TextEvent` in window && !jh,
            Nh = Qm && (!Ah || (jh && 8 < jh && 11 >= jh)),
            Ph = 32,
            Fh = String.fromCharCode(Ph),
            Ih = !1,
            Lh = !1,
            Rh = {
              color: !0,
              date: !0,
              datetime: !0,
              "datetime-local": !0,
              email: !0,
              month: !0,
              number: !0,
              password: !0,
              range: !0,
              search: !0,
              tel: !0,
              text: !0,
              time: !0,
              url: !0,
              week: !0,
            },
            zh = null,
            Bh = null,
            Vh = !1;
          Qm &&
            (Vh =
              Sn(`input`) &&
              (!document.documentMode || 9 < document.documentMode));
          var Hh = typeof Object.is == `function` ? Object.is : Nn,
            Uh =
              Qm && `documentMode` in document && 11 >= document.documentMode,
            Wh = null,
            Gh = null,
            Kh = null,
            qh = !1,
            Jh = {
              animationend: Vn(`Animation`, `AnimationEnd`),
              animationiteration: Vn(`Animation`, `AnimationIteration`),
              animationstart: Vn(`Animation`, `AnimationStart`),
              transitionrun: Vn(`Transition`, `TransitionRun`),
              transitionstart: Vn(`Transition`, `TransitionStart`),
              transitioncancel: Vn(`Transition`, `TransitionCancel`),
              transitionend: Vn(`Transition`, `TransitionEnd`),
            },
            Yh = {},
            Xh = {};
          Qm &&
            ((Xh = document.createElement(`div`).style),
            `AnimationEvent` in window ||
              (delete Jh.animationend.animation,
              delete Jh.animationiteration.animation,
              delete Jh.animationstart.animation),
            `TransitionEvent` in window || delete Jh.transitionend.transition);
          var Zh = Hn(`animationend`),
            Qh = Hn(`animationiteration`),
            $h = Hn(`animationstart`),
            eg = Hn(`transitionrun`),
            tg = Hn(`transitionstart`),
            ng = Hn(`transitioncancel`),
            rg = Hn(`transitionend`),
            ig = new Map(),
            ag =
              `abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(
                ` `,
              );
          ag.push(`scrollEnd`);
          var og = 0;
          if (
            typeof performance == `object` &&
            typeof performance.now == `function`
          )
            var sg = performance,
              cg = function () {
                return sg.now();
              };
          else {
            var lg = Date;
            cg = function () {
              return lg.now();
            };
          }
          var ug =
              typeof reportError == `function`
                ? reportError
                : function (e) {
                    if (
                      typeof window == `object` &&
                      typeof window.ErrorEvent == `function`
                    ) {
                      var t = new window.ErrorEvent(`error`, {
                        bubbles: !0,
                        cancelable: !0,
                        message:
                          typeof e == `object` &&
                          e &&
                          typeof e.message == `string`
                            ? String(e.message)
                            : String(e),
                        error: e,
                      });
                      if (!window.dispatchEvent(t)) return;
                    } else if (
                      typeof process == `object` &&
                      typeof process.emit == `function`
                    ) {
                      process.emit(`uncaughtException`, e);
                      return;
                    }
                    console.error(e);
                  },
            dg = `This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.`,
            fg = 0,
            pg = 1,
            mg = 2,
            hg = 3,
            gg = `–\xA0`,
            _g = `+\xA0`,
            vg = ` \xA0`,
            yg =
              typeof console < `u` &&
              typeof console.timeStamp == `function` &&
              typeof performance < `u` &&
              typeof performance.measure == `function`,
            bg = `Components ⚛`,
            W = `Scheduler ⚛`,
            xg = `Blocking`,
            Sg = !1,
            Cg = {
              color: `primary`,
              properties: null,
              tooltipText: ``,
              track: bg,
            },
            wg = { start: -0, end: -0, detail: { devtools: Cg } },
            Tg = [`Changed Props`, ``],
            Eg = `This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,
            Dg = [`Changed Props`, Eg],
            Og = 1,
            kg = 2,
            Ag = [],
            jg = 0,
            Mg = 0,
            Ng = {};
          Object.freeze(Ng);
          var Pg = null,
            Fg = null,
            G = 0,
            Ig = 1,
            K = 2,
            Lg = 8,
            Rg = 16,
            zg = 32,
            Bg = !1;
          try {
            var Vg = Object.preventExtensions({});
            (new Map([[Vg, null]]), new Set([Vg]));
          } catch {
            Bg = !0;
          }
          var Hg = new WeakMap(),
            Ug = [],
            Wg = 0,
            Gg = null,
            Kg = 0,
            qg = [],
            Jg = 0,
            Yg = null,
            Xg = 1,
            Zg = ``,
            Qg = null,
            $g = null,
            e_ = !1,
            t_ = !1,
            n_ = null,
            r_ = null,
            i_ = !1,
            a_ = Error(
              `Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`,
            ),
            o_ = ae(null),
            s_ = ae(null),
            c_ = {},
            l_ = null,
            u_ = null,
            d_ = !1,
            f_ =
              typeof AbortController < `u`
                ? AbortController
                : function () {
                    var e = [],
                      t = (this.signal = {
                        aborted: !1,
                        addEventListener: function (t, n) {
                          e.push(n);
                        },
                      });
                    this.abort = function () {
                      ((t.aborted = !0),
                        e.forEach(function (e) {
                          return e();
                        }));
                    };
                  },
            p_ = Tf.unstable_scheduleCallback,
            m_ = Tf.unstable_NormalPriority,
            h_ = {
              $$typeof: Ff,
              Consumer: null,
              Provider: null,
              _currentValue: null,
              _currentValue2: null,
              _threadCount: 0,
              _currentRenderer: null,
              _currentRenderer2: null,
            },
            g_ = Tf.unstable_now,
            __ = console.createTask
              ? console.createTask
              : function () {
                  return null;
                },
            v_ = 1,
            y_ = 2,
            b_ = -0,
            x_ = -0,
            S_ = -0,
            C_ = null,
            w_ = -1.1,
            T_ = -0,
            E_ = -0,
            q = -1.1,
            J = -1.1,
            D_ = null,
            O_ = !1,
            k_ = -0,
            A_ = -1.1,
            j_ = null,
            M_ = 0,
            N_ = null,
            P_ = null,
            F_ = -1.1,
            I_ = null,
            L_ = -1.1,
            R_ = -1.1,
            z_ = -0,
            B_ = -1.1,
            V_ = -1.1,
            H_ = 0,
            U_ = null,
            W_ = null,
            G_ = null,
            K_ = -1.1,
            q_ = null,
            J_ = -1.1,
            Y_ = -1.1,
            X_ = -0,
            Z_ = -0,
            Q_ = 0,
            $_ = null,
            ev = 0,
            tv = -1.1,
            nv = !1,
            rv = !1,
            iv = null,
            av = 0,
            ov = 0,
            sv = null,
            cv = U.S;
          U.S = function (e, t) {
            if (
              ((vx = bp()),
              typeof t == `object` && t && typeof t.then == `function`)
            ) {
              if (0 > B_ && 0 > V_) {
                B_ = g_();
                var n = Wu(),
                  r = Uu();
                ((n !== J_ || r !== q_) && (J_ = -1.1), (K_ = n), (q_ = r));
              }
              Di(e, t);
            }
            cv !== null && cv(e, t);
          };
          var lv = ae(null),
            uv = {
              recordUnsafeLifecycleWarnings: function () {},
              flushPendingUnsafeLifecycleWarnings: function () {},
              recordLegacyContextWarning: function () {},
              flushLegacyContextWarning: function () {},
              discardPendingWarnings: function () {},
            },
            dv = [],
            fv = [],
            pv = [],
            mv = [],
            hv = [],
            gv = [],
            _v = new Set();
          ((uv.recordUnsafeLifecycleWarnings = function (e, t) {
            _v.has(e.type) ||
              (typeof t.componentWillMount == `function` &&
                !0 !== t.componentWillMount.__suppressDeprecationWarning &&
                dv.push(e),
              e.mode & Lg &&
                typeof t.UNSAFE_componentWillMount == `function` &&
                fv.push(e),
              typeof t.componentWillReceiveProps == `function` &&
                !0 !==
                  t.componentWillReceiveProps.__suppressDeprecationWarning &&
                pv.push(e),
              e.mode & Lg &&
                typeof t.UNSAFE_componentWillReceiveProps == `function` &&
                mv.push(e),
              typeof t.componentWillUpdate == `function` &&
                !0 !== t.componentWillUpdate.__suppressDeprecationWarning &&
                hv.push(e),
              e.mode & Lg &&
                typeof t.UNSAFE_componentWillUpdate == `function` &&
                gv.push(e));
          }),
            (uv.flushPendingUnsafeLifecycleWarnings = function () {
              var e = new Set();
              0 < dv.length &&
                (dv.forEach(function (t) {
                  (e.add(T(t) || `Component`), _v.add(t.type));
                }),
                (dv = []));
              var t = new Set();
              0 < fv.length &&
                (fv.forEach(function (e) {
                  (t.add(T(e) || `Component`), _v.add(e.type));
                }),
                (fv = []));
              var n = new Set();
              0 < pv.length &&
                (pv.forEach(function (e) {
                  (n.add(T(e) || `Component`), _v.add(e.type));
                }),
                (pv = []));
              var r = new Set();
              0 < mv.length &&
                (mv.forEach(function (e) {
                  (r.add(T(e) || `Component`), _v.add(e.type));
                }),
                (mv = []));
              var i = new Set();
              0 < hv.length &&
                (hv.forEach(function (e) {
                  (i.add(T(e) || `Component`), _v.add(e.type));
                }),
                (hv = []));
              var a = new Set();
              if (
                (0 < gv.length &&
                  (gv.forEach(function (e) {
                    (a.add(T(e) || `Component`), _v.add(e.type));
                  }),
                  (gv = [])),
                0 < t.size)
              ) {
                var o = f(t);
                console.error(
                  `Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.

Please update the following components: %s`,
                  o,
                );
              }
              (0 < r.size &&
                ((o = f(r)),
                console.error(
                  `Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state

Please update the following components: %s`,
                  o,
                )),
                0 < a.size &&
                  ((o = f(a)),
                  console.error(
                    `Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.

Please update the following components: %s`,
                    o,
                  )),
                0 < e.size &&
                  ((o = f(e)),
                  console.warn(
                    `componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
                    o,
                  )),
                0 < n.size &&
                  ((o = f(n)),
                  console.warn(
                    `componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
                    o,
                  )),
                0 < i.size &&
                  ((o = f(i)),
                  console.warn(
                    `componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
                    o,
                  )));
            }));
          var vv = new Map(),
            yv = new Set();
          ((uv.recordLegacyContextWarning = function (e, t) {
            for (var n = null, r = e; r !== null;)
              (r.mode & Lg && (n = r), (r = r.return));
            n === null
              ? console.error(
                  `Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`,
                )
              : !yv.has(e.type) &&
                ((r = vv.get(n)),
                e.type.contextTypes != null ||
                  e.type.childContextTypes != null ||
                  (t !== null && typeof t.getChildContext == `function`)) &&
                (r === void 0 && ((r = []), vv.set(n, r)), r.push(e));
          }),
            (uv.flushLegacyContextWarning = function () {
              vv.forEach(function (e) {
                if (e.length !== 0) {
                  var t = e[0],
                    n = new Set();
                  e.forEach(function (e) {
                    (n.add(T(e) || `Component`), yv.add(e.type));
                  });
                  var r = f(n);
                  A(t, function () {
                    console.error(
                      `Legacy context API has been detected within a strict-mode tree.

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.

Please update the following components: %s

Learn more about this warning here: https://react.dev/link/legacy-context`,
                      r,
                    );
                  });
                }
              });
            }),
            (uv.discardPendingWarnings = function () {
              ((dv = []),
                (fv = []),
                (pv = []),
                (mv = []),
                (hv = []),
                (gv = []),
                (vv = new Map()));
            }));
          var bv = {
              react_stack_bottom_frame: function (e, t, n) {
                var r = mp;
                mp = !0;
                try {
                  return e(t, n);
                } finally {
                  mp = r;
                }
              },
            },
            xv = bv.react_stack_bottom_frame.bind(bv),
            Sv = {
              react_stack_bottom_frame: function (e) {
                var t = mp;
                mp = !0;
                try {
                  return e.render();
                } finally {
                  mp = t;
                }
              },
            },
            Cv = Sv.react_stack_bottom_frame.bind(Sv),
            wv = {
              react_stack_bottom_frame: function (e, t) {
                try {
                  t.componentDidMount();
                } catch (t) {
                  R(e, e.return, t);
                }
              },
            },
            Tv = wv.react_stack_bottom_frame.bind(wv),
            Ev = {
              react_stack_bottom_frame: function (e, t, n, r, i) {
                try {
                  t.componentDidUpdate(n, r, i);
                } catch (t) {
                  R(e, e.return, t);
                }
              },
            },
            Dv = Ev.react_stack_bottom_frame.bind(Ev),
            Ov = {
              react_stack_bottom_frame: function (e, t) {
                var n = t.stack;
                e.componentDidCatch(t.value, {
                  componentStack: n === null ? `` : n,
                });
              },
            },
            kv = Ov.react_stack_bottom_frame.bind(Ov),
            Av = {
              react_stack_bottom_frame: function (e, t, n) {
                try {
                  n.componentWillUnmount();
                } catch (n) {
                  R(e, t, n);
                }
              },
            },
            jv = Av.react_stack_bottom_frame.bind(Av),
            Mv = {
              react_stack_bottom_frame: function (e) {
                var t = e.create;
                return ((e = e.inst), (t = t()), (e.destroy = t));
              },
            },
            Nv = Mv.react_stack_bottom_frame.bind(Mv),
            Pv = {
              react_stack_bottom_frame: function (e, t, n) {
                try {
                  n();
                } catch (n) {
                  R(e, t, n);
                }
              },
            },
            Fv = Pv.react_stack_bottom_frame.bind(Pv),
            Iv = {
              react_stack_bottom_frame: function (e) {
                var t = e._init;
                return t(e._payload);
              },
            },
            Lv = Iv.react_stack_bottom_frame.bind(Iv),
            Rv = Error(
              "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.",
            ),
            zv = Error(
              `Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.`,
            ),
            Bv = Error(
              "Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary.",
            ),
            Vv = {
              then: function () {
                console.error(
                  `Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.`,
                );
              },
            },
            Hv = null,
            Uv = !1,
            Wv = null,
            Gv = 0,
            Y = null,
            Kv,
            qv = (Kv = !1),
            Jv = {},
            Yv = {},
            Xv = {};
          d = function (e, t, n) {
            if (
              typeof n == `object` &&
              n &&
              n._store &&
              ((!n._store.validated && n.key == null) ||
                n._store.validated === 2)
            ) {
              if (typeof n._store != `object`)
                throw Error(
                  `React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`,
                );
              n._store.validated = 1;
              var r = T(e),
                i = r || `null`;
              if (!Jv[i]) {
                ((Jv[i] = !0), (n = n._owner), (e = e._debugOwner));
                var a = ``;
                (e &&
                  typeof e.tag == `number` &&
                  (i = T(e)) &&
                  (a =
                    `

Check the render method of \`` +
                    i +
                    "`."),
                  a ||
                    (r &&
                      (a =
                        `

Check the top-level render call using <` +
                        r +
                        `>.`)));
                var o = ``;
                (n != null &&
                  e !== n &&
                  ((r = null),
                  typeof n.tag == `number`
                    ? (r = T(n))
                    : typeof n.name == `string` && (r = n.name),
                  r && (o = ` It was passed a child from ` + r + `.`)),
                  A(t, function () {
                    console.error(
                      `Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,
                      a,
                      o,
                    );
                  }));
              }
            }
          };
          var Zv = Yi(!0),
            Qv = Yi(!1),
            $v = 0,
            ey = 1,
            ty = 2,
            ny = 3,
            ry = !1,
            iy = !1,
            ay = null,
            oy = !1,
            sy = ae(null),
            cy = ae(0),
            ly = ae(null),
            uy = null,
            dy = 1,
            fy = 2,
            py = ae(0),
            my = 0,
            hy = 1,
            gy = 2,
            _y = 4,
            vy = 8,
            yy,
            by = new Set(),
            xy = new Set(),
            Sy = new Set(),
            Cy = new Set(),
            wy = 0,
            X = null,
            Ty = null,
            Ey = null,
            Dy = !1,
            Oy = !1,
            ky = !1,
            Ay = 0,
            jy = 0,
            My = null,
            Ny = 0,
            Py = 25,
            Z = null,
            Fy = null,
            Iy = -1,
            Ly = !1,
            Ry = {
              readContext: ni,
              use: ja,
              useCallback: ya,
              useContext: ya,
              useEffect: ya,
              useImperativeHandle: ya,
              useLayoutEffect: ya,
              useInsertionEffect: ya,
              useMemo: ya,
              useReducer: ya,
              useRef: ya,
              useState: ya,
              useDebugValue: ya,
              useDeferredValue: ya,
              useTransition: ya,
              useSyncExternalStore: ya,
              useId: ya,
              useHostTransitionStatus: ya,
              useFormState: ya,
              useActionState: ya,
              useOptimistic: ya,
              useMemoCache: ya,
              useCacheRefresh: ya,
            };
          Ry.useEffectEvent = ya;
          var zy = null,
            By = null,
            Vy = null,
            Hy = null,
            Uy = null,
            Wy = null,
            Gy = null;
          ((zy = {
            readContext: function (e) {
              return ni(e);
            },
            use: ja,
            useCallback: function (e, t) {
              return ((Z = `useCallback`), P(), _a(t), xo(e, t));
            },
            useContext: function (e) {
              return ((Z = `useContext`), P(), ni(e));
            },
            useEffect: function (e, t) {
              return ((Z = `useEffect`), P(), _a(t), mo(e, t));
            },
            useImperativeHandle: function (e, t, n) {
              return ((Z = `useImperativeHandle`), P(), _a(n), yo(e, t, n));
            },
            useInsertionEffect: function (e, t) {
              ((Z = `useInsertionEffect`), P(), _a(t), fo(4, gy, e, t));
            },
            useLayoutEffect: function (e, t) {
              return ((Z = `useLayoutEffect`), P(), _a(t), _o(e, t));
            },
            useMemo: function (e, t) {
              ((Z = `useMemo`), P(), _a(t));
              var n = U.H;
              U.H = Uy;
              try {
                return Co(e, t);
              } finally {
                U.H = n;
              }
            },
            useReducer: function (e, t, n) {
              ((Z = `useReducer`), P());
              var r = U.H;
              U.H = Uy;
              try {
                return Pa(e, t, n);
              } finally {
                U.H = r;
              }
            },
            useRef: function (e) {
              return ((Z = `useRef`), P(), uo(e));
            },
            useState: function (e) {
              ((Z = `useState`), P());
              var t = U.H;
              U.H = Uy;
              try {
                return Ka(e);
              } finally {
                U.H = t;
              }
            },
            useDebugValue: function () {
              ((Z = `useDebugValue`), P());
            },
            useDeferredValue: function (e, t) {
              return ((Z = `useDeferredValue`), P(), To(e, t));
            },
            useTransition: function () {
              return ((Z = `useTransition`), P(), Fo());
            },
            useSyncExternalStore: function (e, t, n) {
              return ((Z = `useSyncExternalStore`), P(), Ra(e, t, n));
            },
            useId: function () {
              return ((Z = `useId`), P(), zo());
            },
            useFormState: function (e, t) {
              return ((Z = `useFormState`), P(), va(), io(e, t));
            },
            useActionState: function (e, t) {
              return ((Z = `useActionState`), P(), io(e, t));
            },
            useOptimistic: function (e) {
              return ((Z = `useOptimistic`), P(), qa(e));
            },
            useHostTransitionStatus: Ro,
            useMemoCache: Ma,
            useCacheRefresh: function () {
              return ((Z = `useCacheRefresh`), P(), Bo());
            },
            useEffectEvent: function (e) {
              return ((Z = `useEffectEvent`), P(), go(e));
            },
          }),
            (By = {
              readContext: function (e) {
                return ni(e);
              },
              use: ja,
              useCallback: function (e, t) {
                return ((Z = `useCallback`), F(), xo(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), F(), ni(e));
              },
              useEffect: function (e, t) {
                return ((Z = `useEffect`), F(), mo(e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), F(), yo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                ((Z = `useInsertionEffect`), F(), fo(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), F(), _o(e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), F());
                var n = U.H;
                U.H = Uy;
                try {
                  return Co(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), F());
                var r = U.H;
                U.H = Uy;
                try {
                  return Pa(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function (e) {
                return ((Z = `useRef`), F(), uo(e));
              },
              useState: function (e) {
                ((Z = `useState`), F());
                var t = U.H;
                U.H = Uy;
                try {
                  return Ka(e);
                } finally {
                  U.H = t;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), F());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), F(), To(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), F(), Fo());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), F(), Ra(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), F(), zo());
              },
              useActionState: function (e, t) {
                return ((Z = `useActionState`), F(), io(e, t));
              },
              useFormState: function (e, t) {
                return ((Z = `useFormState`), F(), va(), io(e, t));
              },
              useOptimistic: function (e) {
                return ((Z = `useOptimistic`), F(), qa(e));
              },
              useHostTransitionStatus: Ro,
              useMemoCache: Ma,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), F(), Bo());
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), F(), go(e));
              },
            }),
            (Vy = {
              readContext: function (e) {
                return ni(e);
              },
              use: ja,
              useCallback: function (e, t) {
                return ((Z = `useCallback`), F(), So(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), F(), ni(e));
              },
              useEffect: function (e, t) {
                ((Z = `useEffect`), F(), po(2048, vy, e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), F(), bo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                return ((Z = `useInsertionEffect`), F(), po(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), F(), po(4, _y, e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), F());
                var n = U.H;
                U.H = Wy;
                try {
                  return wo(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), F());
                var r = U.H;
                U.H = Wy;
                try {
                  return Fa(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function () {
                return ((Z = `useRef`), F(), I().memoizedState);
              },
              useState: function () {
                ((Z = `useState`), F());
                var e = U.H;
                U.H = Wy;
                try {
                  return Fa(Na);
                } finally {
                  U.H = e;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), F());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), F(), Eo(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), F(), Io());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), F(), za(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), F(), I().memoizedState);
              },
              useFormState: function (e) {
                return ((Z = `useFormState`), F(), va(), ao(e));
              },
              useActionState: function (e) {
                return ((Z = `useActionState`), F(), ao(e));
              },
              useOptimistic: function (e, t) {
                return ((Z = `useOptimistic`), F(), Ja(e, t));
              },
              useHostTransitionStatus: Ro,
              useMemoCache: Ma,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), F(), I().memoizedState);
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), F(), L(e));
              },
            }),
            (Hy = {
              readContext: function (e) {
                return ni(e);
              },
              use: ja,
              useCallback: function (e, t) {
                return ((Z = `useCallback`), F(), So(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), F(), ni(e));
              },
              useEffect: function (e, t) {
                ((Z = `useEffect`), F(), po(2048, vy, e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), F(), bo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                return ((Z = `useInsertionEffect`), F(), po(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), F(), po(4, _y, e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), F());
                var n = U.H;
                U.H = Gy;
                try {
                  return wo(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), F());
                var r = U.H;
                U.H = Gy;
                try {
                  return La(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function () {
                return ((Z = `useRef`), F(), I().memoizedState);
              },
              useState: function () {
                ((Z = `useState`), F());
                var e = U.H;
                U.H = Gy;
                try {
                  return La(Na);
                } finally {
                  U.H = e;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), F());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), F(), Do(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), F(), Lo());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), F(), za(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), F(), I().memoizedState);
              },
              useFormState: function (e) {
                return ((Z = `useFormState`), F(), va(), co(e));
              },
              useActionState: function (e) {
                return ((Z = `useActionState`), F(), co(e));
              },
              useOptimistic: function (e, t) {
                return ((Z = `useOptimistic`), F(), Xa(e, t));
              },
              useHostTransitionStatus: Ro,
              useMemoCache: Ma,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), F(), I().memoizedState);
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), F(), L(e));
              },
            }),
            (Uy = {
              readContext: function (e) {
                return (l(), ni(e));
              },
              use: function (e) {
                return (c(), ja(e));
              },
              useCallback: function (e, t) {
                return ((Z = `useCallback`), c(), P(), xo(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), c(), P(), ni(e));
              },
              useEffect: function (e, t) {
                return ((Z = `useEffect`), c(), P(), mo(e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), c(), P(), yo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                ((Z = `useInsertionEffect`), c(), P(), fo(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), c(), P(), _o(e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), c(), P());
                var n = U.H;
                U.H = Uy;
                try {
                  return Co(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), c(), P());
                var r = U.H;
                U.H = Uy;
                try {
                  return Pa(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function (e) {
                return ((Z = `useRef`), c(), P(), uo(e));
              },
              useState: function (e) {
                ((Z = `useState`), c(), P());
                var t = U.H;
                U.H = Uy;
                try {
                  return Ka(e);
                } finally {
                  U.H = t;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), c(), P());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), c(), P(), To(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), c(), P(), Fo());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), c(), P(), Ra(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), c(), P(), zo());
              },
              useFormState: function (e, t) {
                return ((Z = `useFormState`), c(), P(), io(e, t));
              },
              useActionState: function (e, t) {
                return ((Z = `useActionState`), c(), P(), io(e, t));
              },
              useOptimistic: function (e) {
                return ((Z = `useOptimistic`), c(), P(), qa(e));
              },
              useMemoCache: function (e) {
                return (c(), Ma(e));
              },
              useHostTransitionStatus: Ro,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), P(), Bo());
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), c(), P(), go(e));
              },
            }),
            (Wy = {
              readContext: function (e) {
                return (l(), ni(e));
              },
              use: function (e) {
                return (c(), ja(e));
              },
              useCallback: function (e, t) {
                return ((Z = `useCallback`), c(), F(), So(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), c(), F(), ni(e));
              },
              useEffect: function (e, t) {
                ((Z = `useEffect`), c(), F(), po(2048, vy, e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), c(), F(), bo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                return ((Z = `useInsertionEffect`), c(), F(), po(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), c(), F(), po(4, _y, e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), c(), F());
                var n = U.H;
                U.H = Wy;
                try {
                  return wo(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), c(), F());
                var r = U.H;
                U.H = Wy;
                try {
                  return Fa(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function () {
                return ((Z = `useRef`), c(), F(), I().memoizedState);
              },
              useState: function () {
                ((Z = `useState`), c(), F());
                var e = U.H;
                U.H = Wy;
                try {
                  return Fa(Na);
                } finally {
                  U.H = e;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), c(), F());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), c(), F(), Eo(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), c(), F(), Io());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), c(), F(), za(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), c(), F(), I().memoizedState);
              },
              useFormState: function (e) {
                return ((Z = `useFormState`), c(), F(), ao(e));
              },
              useActionState: function (e) {
                return ((Z = `useActionState`), c(), F(), ao(e));
              },
              useOptimistic: function (e, t) {
                return ((Z = `useOptimistic`), c(), F(), Ja(e, t));
              },
              useMemoCache: function (e) {
                return (c(), Ma(e));
              },
              useHostTransitionStatus: Ro,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), F(), I().memoizedState);
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), c(), F(), L(e));
              },
            }),
            (Gy = {
              readContext: function (e) {
                return (l(), ni(e));
              },
              use: function (e) {
                return (c(), ja(e));
              },
              useCallback: function (e, t) {
                return ((Z = `useCallback`), c(), F(), So(e, t));
              },
              useContext: function (e) {
                return ((Z = `useContext`), c(), F(), ni(e));
              },
              useEffect: function (e, t) {
                ((Z = `useEffect`), c(), F(), po(2048, vy, e, t));
              },
              useImperativeHandle: function (e, t, n) {
                return ((Z = `useImperativeHandle`), c(), F(), bo(e, t, n));
              },
              useInsertionEffect: function (e, t) {
                return ((Z = `useInsertionEffect`), c(), F(), po(4, gy, e, t));
              },
              useLayoutEffect: function (e, t) {
                return ((Z = `useLayoutEffect`), c(), F(), po(4, _y, e, t));
              },
              useMemo: function (e, t) {
                ((Z = `useMemo`), c(), F());
                var n = U.H;
                U.H = Wy;
                try {
                  return wo(e, t);
                } finally {
                  U.H = n;
                }
              },
              useReducer: function (e, t, n) {
                ((Z = `useReducer`), c(), F());
                var r = U.H;
                U.H = Wy;
                try {
                  return La(e, t, n);
                } finally {
                  U.H = r;
                }
              },
              useRef: function () {
                return ((Z = `useRef`), c(), F(), I().memoizedState);
              },
              useState: function () {
                ((Z = `useState`), c(), F());
                var e = U.H;
                U.H = Wy;
                try {
                  return La(Na);
                } finally {
                  U.H = e;
                }
              },
              useDebugValue: function () {
                ((Z = `useDebugValue`), c(), F());
              },
              useDeferredValue: function (e, t) {
                return ((Z = `useDeferredValue`), c(), F(), Do(e, t));
              },
              useTransition: function () {
                return ((Z = `useTransition`), c(), F(), Lo());
              },
              useSyncExternalStore: function (e, t, n) {
                return ((Z = `useSyncExternalStore`), c(), F(), za(e, t, n));
              },
              useId: function () {
                return ((Z = `useId`), c(), F(), I().memoizedState);
              },
              useFormState: function (e) {
                return ((Z = `useFormState`), c(), F(), co(e));
              },
              useActionState: function (e) {
                return ((Z = `useActionState`), c(), F(), co(e));
              },
              useOptimistic: function (e, t) {
                return ((Z = `useOptimistic`), c(), F(), Xa(e, t));
              },
              useMemoCache: function (e) {
                return (c(), Ma(e));
              },
              useHostTransitionStatus: Ro,
              useCacheRefresh: function () {
                return ((Z = `useCacheRefresh`), F(), I().memoizedState);
              },
              useEffectEvent: function (e) {
                return ((Z = `useEffectEvent`), c(), F(), L(e));
              },
            }));
          var Ky = {},
            qy = new Set(),
            Jy = new Set(),
            Yy = new Set(),
            Xy = new Set(),
            Zy = new Set(),
            Qy = new Set(),
            $y = new Set(),
            eb = new Set(),
            tb = new Set(),
            nb = new Set();
          Object.freeze(Ky);
          var rb = {
              enqueueSetState: function (e, t, n) {
                e = e._reactInternals;
                var r = $c(e),
                  i = $i(r);
                ((i.payload = t),
                  n != null && (Yo(n), (i.callback = n)),
                  (t = ea(e, i, r)),
                  t !== null &&
                    (ci(r, `this.setState()`, e), tl(t, e, r), ta(t, e, r)));
              },
              enqueueReplaceState: function (e, t, n) {
                e = e._reactInternals;
                var r = $c(e),
                  i = $i(r);
                ((i.tag = ey),
                  (i.payload = t),
                  n != null && (Yo(n), (i.callback = n)),
                  (t = ea(e, i, r)),
                  t !== null &&
                    (ci(r, `this.replaceState()`, e),
                    tl(t, e, r),
                    ta(t, e, r)));
              },
              enqueueForceUpdate: function (e, t) {
                e = e._reactInternals;
                var n = $c(e),
                  r = $i(n);
                ((r.tag = ty),
                  t != null && (Yo(t), (r.callback = t)),
                  (t = ea(e, r, n)),
                  t !== null &&
                    (ci(n, `this.forceUpdate()`, e), tl(t, e, n), ta(t, e, n)));
              },
            },
            ib = null,
            ab = null,
            ob = Error(
              `This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.`,
            ),
            sb = !1,
            cb = {},
            lb = {},
            ub = {},
            db = {},
            fb = !1,
            pb = {},
            mb = {},
            hb = {
              dehydrated: null,
              treeContext: null,
              retryLane: 0,
              hydrationErrors: null,
            },
            gb = !1,
            _b = null;
          _b = new Set();
          var vb = !1,
            yb = !1,
            bb = !1,
            xb = typeof WeakSet == `function` ? WeakSet : Set,
            Sb = null,
            Cb = null,
            wb = null,
            Tb = null,
            Eb = !1,
            Db = null,
            Ob = !1,
            kb = 8192,
            Ab = {
              getCacheForType: function (e) {
                var t = ni(h_),
                  n = t.data.get(e);
                return (n === void 0 && ((n = e()), t.data.set(e, n)), n);
              },
              cacheSignal: function () {
                return ni(h_).controller.signal;
              },
              getOwner: function () {
                return pp;
              },
            };
          if (typeof Symbol == `function` && Symbol.for) {
            var jb = Symbol.for;
            (jb(`selector.component`),
              jb(`selector.has_pseudo_class`),
              jb(`selector.role`),
              jb(`selector.test_id`),
              jb(`selector.text`));
          }
          var Mb = [],
            Nb = typeof WeakMap == `function` ? WeakMap : Map,
            Pb = 0,
            Fb = 2,
            Ib = 4,
            Lb = 0,
            Rb = 1,
            zb = 2,
            Bb = 3,
            Vb = 4,
            Hb = 6,
            Ub = 5,
            Wb = Pb,
            Gb = null,
            Q = null,
            $ = 0,
            Kb = 0,
            qb = 1,
            Jb = 2,
            Yb = 3,
            Xb = 4,
            Zb = 5,
            Qb = 6,
            $b = 7,
            ex = 8,
            tx = 9,
            nx = Kb,
            rx = null,
            ix = !1,
            ax = !1,
            ox = !1,
            sx = 0,
            cx = Lb,
            lx = 0,
            ux = 0,
            dx = 0,
            fx = 0,
            px = 0,
            mx = null,
            hx = null,
            gx = !1,
            _x = 0,
            vx = 0,
            yx = 300,
            bx = 1 / 0,
            xx = 500,
            Sx = null,
            Cx = null,
            wx = null,
            Tx = 0,
            Ex = 1,
            Dx = 2,
            Ox = 3,
            kx = 0,
            Ax = 1,
            jx = 2,
            Mx = 3,
            Nx = 4,
            Px = 5,
            Fx = 0,
            Ix = null,
            Lx = null,
            Rx = 0,
            zx = 0,
            Bx = -0,
            Vx = null,
            Hx = null,
            Ux = null,
            Wx = Tx,
            Gx = null,
            Kx = 50,
            qx = 0,
            Jx = null,
            Yx = !1,
            Xx = !1,
            Zx = 50,
            Qx = 0,
            $x = null,
            eS = !1,
            tS = null,
            nS = !1,
            rS = new Set(),
            iS = {},
            aS = null,
            oS = null,
            sS = !1,
            cS = !1,
            lS = !1,
            uS = !1,
            dS = 0,
            fS = {};
          ((function () {
            for (var e = 0; e < ag.length; e++) {
              var t = ag[e],
                n = t.toLowerCase();
              ((t = t[0].toUpperCase() + t.slice(1)), Un(n, `on` + t));
            }
            (Un(Zh, `onAnimationEnd`),
              Un(Qh, `onAnimationIteration`),
              Un($h, `onAnimationStart`),
              Un(`dblclick`, `onDoubleClick`),
              Un(`focusin`, `onFocus`),
              Un(`focusout`, `onBlur`),
              Un(eg, `onTransitionRun`),
              Un(tg, `onTransitionStart`),
              Un(ng, `onTransitionCancel`),
              Un(rg, `onTransitionEnd`));
          })(),
            et(`onMouseEnter`, [`mouseout`, `mouseover`]),
            et(`onMouseLeave`, [`mouseout`, `mouseover`]),
            et(`onPointerEnter`, [`pointerout`, `pointerover`]),
            et(`onPointerLeave`, [`pointerout`, `pointerover`]),
            $e(
              `onChange`,
              `change click focusin focusout input keydown keyup selectionchange`.split(
                ` `,
              ),
            ),
            $e(
              `onSelect`,
              `focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(
                ` `,
              ),
            ),
            $e(`onBeforeInput`, [
              `compositionend`,
              `keypress`,
              `textInput`,
              `paste`,
            ]),
            $e(
              `onCompositionEnd`,
              `compositionend focusout keydown keypress keyup mousedown`.split(
                ` `,
              ),
            ),
            $e(
              `onCompositionStart`,
              `compositionstart focusout keydown keypress keyup mousedown`.split(
                ` `,
              ),
            ),
            $e(
              `onCompositionUpdate`,
              `compositionupdate focusout keydown keypress keyup mousedown`.split(
                ` `,
              ),
            ));
          var pS =
              `abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(
                ` `,
              ),
            mS = new Set(
              `beforetoggle cancel close invalid load scroll scrollend toggle`
                .split(` `)
                .concat(pS),
            ),
            hS = `_reactListening` + Math.random().toString(36).slice(2),
            gS = !1,
            _S = !1,
            vS = !1,
            yS = !1,
            bS = !1,
            xS = !1,
            SS = !1,
            CS = {},
            wS = /\r\n?/g,
            TS = /\u0000|\uFFFD/g,
            ES = `http://www.w3.org/1999/xlink`,
            DS = `http://www.w3.org/XML/1998/namespace`,
            OS = `javascript:throw new Error('React form unexpectedly submitted.')`,
            kS = `suppressHydrationWarning`,
            AS = `&`,
            jS = `/&`,
            MS = `$`,
            NS = `/$`,
            PS = `$?`,
            FS = `$~`,
            IS = `$!`,
            LS = `html`,
            RS = `body`,
            zS = `head`,
            BS = `F!`,
            VS = `F`,
            HS = `loading`,
            US = `style`,
            WS = 0,
            GS = 1,
            KS = 2,
            qS = null,
            JS = null,
            YS = { dialog: !0, webview: !0 },
            XS = null,
            ZS = void 0,
            QS = typeof setTimeout == `function` ? setTimeout : void 0,
            $S = typeof clearTimeout == `function` ? clearTimeout : void 0,
            eC = -1,
            tC = typeof Promise == `function` ? Promise : void 0,
            nC =
              typeof queueMicrotask == `function`
                ? queueMicrotask
                : tC === void 0
                  ? QS
                  : function (e) {
                      return tC.resolve(null).then(e).catch(Gu);
                    },
            rC = null,
            iC = 0,
            aC = 1,
            oC = 2,
            sC = 3,
            cC = 4,
            lC = new Map(),
            uC = new Set(),
            dC = Kf.d;
          Kf.d = {
            f: function () {
              var e = dC.f(),
                t = ol();
              return e || t;
            },
            r: function (e) {
              var t = Ye(e);
              t !== null && t.tag === 5 && t.type === `form` ? Po(t) : dC.r(e);
            },
            D: function (e) {
              (dC.D(e), Od(`dns-prefetch`, e, null));
            },
            C: function (e, t) {
              (dC.C(e, t), Od(`preconnect`, e, t));
            },
            L: function (e, t, n) {
              dC.L(e, t, n);
              var r = fC;
              if (r && e && t) {
                var i = `link[rel="preload"][as="` + pt(t) + `"]`;
                t === `image` && n && n.imageSrcSet
                  ? ((i += `[imagesrcset="` + pt(n.imageSrcSet) + `"]`),
                    typeof n.imageSizes == `string` &&
                      (i += `[imagesizes="` + pt(n.imageSizes) + `"]`))
                  : (i += `[href="` + pt(e) + `"]`);
                var a = i;
                switch (t) {
                  case `style`:
                    a = V(e);
                    break;
                  case `script`:
                    a = Pd(e);
                }
                lC.has(a) ||
                  ((e = H(
                    {
                      rel: `preload`,
                      href: t === `image` && n && n.imageSrcSet ? void 0 : e,
                      as: t,
                    },
                    n,
                  )),
                  lC.set(a, e),
                  r.querySelector(i) !== null ||
                    (t === `style` && r.querySelector(jd(a))) ||
                    (t === `script` && r.querySelector(Fd(a))) ||
                    ((t = r.createElement(`link`)),
                    wu(t, `link`, e),
                    Qe(t),
                    r.head.appendChild(t)));
              }
            },
            m: function (e, t) {
              dC.m(e, t);
              var n = fC;
              if (n && e) {
                var r = t && typeof t.as == `string` ? t.as : `script`,
                  i =
                    `link[rel="modulepreload"][as="` +
                    pt(r) +
                    `"][href="` +
                    pt(e) +
                    `"]`,
                  a = i;
                switch (r) {
                  case `audioworklet`:
                  case `paintworklet`:
                  case `serviceworker`:
                  case `sharedworker`:
                  case `worker`:
                  case `script`:
                    a = Pd(e);
                }
                if (
                  !lC.has(a) &&
                  ((e = H({ rel: `modulepreload`, href: e }, t)),
                  lC.set(a, e),
                  n.querySelector(i) === null)
                ) {
                  switch (r) {
                    case `audioworklet`:
                    case `paintworklet`:
                    case `serviceworker`:
                    case `sharedworker`:
                    case `worker`:
                    case `script`:
                      if (n.querySelector(Fd(a))) return;
                  }
                  ((r = n.createElement(`link`)),
                    wu(r, `link`, e),
                    Qe(r),
                    n.head.appendChild(r));
                }
              }
            },
            X: function (e, t) {
              dC.X(e, t);
              var n = fC;
              if (n && e) {
                var r = Ze(n).hoistableScripts,
                  i = Pd(e),
                  a = r.get(i);
                a ||
                  ((a = n.querySelector(Fd(i))),
                  a ||
                    ((e = H({ src: e, async: !0 }, t)),
                    (t = lC.get(i)) && zd(e, t),
                    (a = n.createElement(`script`)),
                    Qe(a),
                    wu(a, `link`, e),
                    n.head.appendChild(a)),
                  (a = { type: `script`, instance: a, count: 1, state: null }),
                  r.set(i, a));
              }
            },
            S: function (e, t, n) {
              dC.S(e, t, n);
              var r = fC;
              if (r && e) {
                var i = Ze(r).hoistableStyles,
                  a = V(e);
                t ||= `default`;
                var o = i.get(a);
                if (!o) {
                  var s = { loading: iC, preload: null };
                  if ((o = r.querySelector(jd(a)))) s.loading = aC | cC;
                  else {
                    ((e = H(
                      { rel: `stylesheet`, href: e, "data-precedence": t },
                      n,
                    )),
                      (n = lC.get(a)) && Rd(e, n));
                    var c = (o = r.createElement(`link`));
                    (Qe(c),
                      wu(c, `link`, e),
                      (c._p = new Promise(function (e, t) {
                        ((c.onload = e), (c.onerror = t));
                      })),
                      c.addEventListener(`load`, function () {
                        s.loading |= aC;
                      }),
                      c.addEventListener(`error`, function () {
                        s.loading |= oC;
                      }),
                      (s.loading |= cC),
                      Ld(o, t, r));
                  }
                  ((o = {
                    type: `stylesheet`,
                    instance: o,
                    count: 1,
                    state: s,
                  }),
                    i.set(a, o));
                }
              }
            },
            M: function (e, t) {
              dC.M(e, t);
              var n = fC;
              if (n && e) {
                var r = Ze(n).hoistableScripts,
                  i = Pd(e),
                  a = r.get(i);
                a ||
                  ((a = n.querySelector(Fd(i))),
                  a ||
                    ((e = H({ src: e, async: !0, type: `module` }, t)),
                    (t = lC.get(i)) && zd(e, t),
                    (a = n.createElement(`script`)),
                    Qe(a),
                    wu(a, `link`, e),
                    n.head.appendChild(a)),
                  (a = { type: `script`, instance: a, count: 1, state: null }),
                  r.set(i, a));
              }
            },
          };
          var fC = typeof document > `u` ? null : document,
            pC = null,
            mC = 6e4,
            hC = 800,
            gC = 500,
            _C = 0,
            vC = null,
            yC = null,
            bC = qf,
            xC = {
              $$typeof: Ff,
              Provider: null,
              Consumer: null,
              _currentValue: bC,
              _currentValue2: bC,
              _threadCount: 0,
            },
            SC = `%c%s%c`,
            CC = `background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,
            wC = ``,
            TC = ` `,
            EC = Function.prototype.bind,
            DC = !1,
            OC = null,
            kC = null,
            AC = null,
            jC = null,
            MC = null,
            NC = null,
            PC = null,
            FC = null,
            IC = null,
            LC = null;
          ((OC = function (e, r, i, a) {
            ((r = t(e, r)),
              r !== null &&
                ((i = n(r.memoizedState, i, 0, a)),
                (r.memoizedState = i),
                (r.baseState = i),
                (e.memoizedProps = H({}, e.memoizedProps)),
                (i = dr(e, 2)),
                i !== null && tl(i, e, 2)));
          }),
            (kC = function (e, n, r) {
              ((n = t(e, n)),
                n !== null &&
                  ((r = a(n.memoizedState, r, 0)),
                  (n.memoizedState = r),
                  (n.baseState = r),
                  (e.memoizedProps = H({}, e.memoizedProps)),
                  (r = dr(e, 2)),
                  r !== null && tl(r, e, 2)));
            }),
            (AC = function (e, n, i, a) {
              ((n = t(e, n)),
                n !== null &&
                  ((i = r(n.memoizedState, i, a)),
                  (n.memoizedState = i),
                  (n.baseState = i),
                  (e.memoizedProps = H({}, e.memoizedProps)),
                  (i = dr(e, 2)),
                  i !== null && tl(i, e, 2)));
            }),
            (jC = function (e, t, r) {
              ((e.pendingProps = n(e.memoizedProps, t, 0, r)),
                e.alternate && (e.alternate.pendingProps = e.pendingProps),
                (t = dr(e, 2)),
                t !== null && tl(t, e, 2));
            }),
            (MC = function (e, t) {
              ((e.pendingProps = a(e.memoizedProps, t, 0)),
                e.alternate && (e.alternate.pendingProps = e.pendingProps),
                (t = dr(e, 2)),
                t !== null && tl(t, e, 2));
            }),
            (NC = function (e, t, n) {
              ((e.pendingProps = r(e.memoizedProps, t, n)),
                e.alternate && (e.alternate.pendingProps = e.pendingProps),
                (t = dr(e, 2)),
                t !== null && tl(t, e, 2));
            }),
            (PC = function (e) {
              var t = dr(e, 2);
              t !== null && tl(t, e, 2);
            }),
            (FC = function (e) {
              var t = Pe(),
                n = dr(e, t);
              n !== null && tl(n, e, t);
            }),
            (IC = function (e) {
              s = e;
            }),
            (LC = function (e) {
              o = e;
            }));
          var RC = !0,
            zC = null,
            BC = !1,
            VC = null,
            HC = null,
            UC = null,
            WC = new Map(),
            GC = new Map(),
            KC = [],
            qC =
              `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`.split(
                ` `,
              ),
            JC = null;
          if (
            ((Cf.prototype.render = Sf.prototype.render =
              function (e) {
                var t = this._internalRoot;
                if (t === null) throw Error(`Cannot update an unmounted root.`);
                var n = arguments;
                (typeof n[1] == `function`
                  ? console.error(
                      `does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`,
                    )
                  : y(n[1])
                    ? console.error(
                        `You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`,
                      )
                    : n[1] !== void 0 &&
                      console.error(
                        `You passed a second argument to root.render(...) but it only accepts one argument.`,
                      ),
                  (n = e));
                var r = t.current;
                Qd(r, $c(r), n, t, null, null);
              }),
            (Cf.prototype.unmount = Sf.prototype.unmount =
              function () {
                var e = arguments;
                if (
                  (typeof e[0] == `function` &&
                    console.error(
                      `does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`,
                    ),
                  (e = this._internalRoot),
                  e !== null)
                ) {
                  this._internalRoot = null;
                  var t = e.containerInfo;
                  ((Wb & (Fb | Ib)) !== Pb &&
                    console.error(
                      `Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.`,
                    ),
                    Qd(e.current, 2, null, e, null, null),
                    ol(),
                    (t[Kp] = null));
                }
              }),
            (Cf.prototype.unstable_scheduleHydration = function (e) {
              if (e) {
                var t = Ge();
                e = { blockedOn: null, target: e, priority: t };
                for (
                  var n = 0;
                  n < KC.length && t !== 0 && t < KC[n].priority;
                  n++
                );
                (KC.splice(n, 0, e), n === 0 && mf(e));
              }
            }),
            (function () {
              var e = Ef.version;
              if (e !== `19.2.7`)
                throw Error(
                  `Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
  - react:      ` +
                    (e +
                      `
  - react-dom:  19.2.7
Learn more: https://react.dev/warnings/version-mismatch`),
                );
            })(),
            (typeof Map == `function` &&
              Map.prototype != null &&
              typeof Map.prototype.forEach == `function` &&
              typeof Set == `function` &&
              Set.prototype != null &&
              typeof Set.prototype.clear == `function` &&
              typeof Set.prototype.forEach == `function`) ||
              console.error(
                `React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills`,
              ),
            (Kf.findDOMNode = function (e) {
              var t = e._reactInternals;
              if (t === void 0)
                throw typeof e.render == `function`
                  ? Error(`Unable to find node on an unmounted component.`)
                  : ((e = Object.keys(e).join(`,`)),
                    Error(
                      `Argument appears to not be a ReactComponent. Keys: ` + e,
                    ));
              return (
                (e = ne(t)),
                (e = e === null ? null : re(e)),
                (e = e === null ? null : e.stateNode),
                e
              );
            }),
            !(function () {
              var e = {
                bundleType: 1,
                version: `19.2.7`,
                rendererPackageName: `react-dom`,
                currentDispatcherRef: U,
                reconcilerVersion: `19.2.7`,
              };
              return (
                (e.overrideHookState = OC),
                (e.overrideHookStateDeletePath = kC),
                (e.overrideHookStateRenamePath = AC),
                (e.overrideProps = jC),
                (e.overridePropsDeletePath = MC),
                (e.overridePropsRenamePath = NC),
                (e.scheduleUpdate = PC),
                (e.scheduleRetry = FC),
                (e.setErrorHandler = IC),
                (e.setSuspenseHandler = LC),
                (e.scheduleRefresh = g),
                (e.scheduleRoot = h),
                (e.setRefreshHandler = v),
                (e.getCurrentFiber = rf),
                De(e)
              );
            })() &&
              Qm &&
              window.top === window.self &&
              ((-1 < navigator.userAgent.indexOf(`Chrome`) &&
                navigator.userAgent.indexOf(`Edge`) === -1) ||
                -1 < navigator.userAgent.indexOf(`Firefox`)))
          ) {
            var YC = window.location.protocol;
            /^(https?|file):$/.test(YC) &&
              console.info(
                `%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools` +
                  (YC === `file:`
                    ? `
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`
                    : ``),
                `font-weight:bold`,
              );
          }
          ((e.createRoot = function (e, t) {
            if (!y(e)) throw Error(`Target container is not a DOM element.`);
            wf(e);
            var n = !1,
              r = ``,
              i = es,
              a = ts,
              o = ns;
            return (
              t != null &&
                (t.hydrate
                  ? console.warn(
                      `hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`,
                    )
                  : typeof t == `object` &&
                    t &&
                    t.$$typeof === kf &&
                    console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:

  let root = createRoot(domContainer);
  root.render(<App />);`),
                !0 === t.unstable_strictMode && (n = !0),
                t.identifierPrefix !== void 0 && (r = t.identifierPrefix),
                t.onUncaughtError !== void 0 && (i = t.onUncaughtError),
                t.onCaughtError !== void 0 && (a = t.onCaughtError),
                t.onRecoverableError !== void 0 && (o = t.onRecoverableError)),
              (t = Xd(e, 1, !1, null, null, n, r, null, i, a, o, xf)),
              (e[Kp] = t.current),
              cu(e),
              new Sf(t)
            );
          }),
            (e.hydrateRoot = function (e, t, n) {
              if (!y(e)) throw Error(`Target container is not a DOM element.`);
              (wf(e),
                t === void 0 &&
                  console.error(
                    `Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`,
                  ));
              var r = !1,
                i = ``,
                a = es,
                o = ts,
                s = ns,
                c = null;
              return (
                n != null &&
                  (!0 === n.unstable_strictMode && (r = !0),
                  n.identifierPrefix !== void 0 && (i = n.identifierPrefix),
                  n.onUncaughtError !== void 0 && (a = n.onUncaughtError),
                  n.onCaughtError !== void 0 && (o = n.onCaughtError),
                  n.onRecoverableError !== void 0 && (s = n.onRecoverableError),
                  n.formState !== void 0 && (c = n.formState)),
                (t = Xd(e, 1, !0, t, n ?? null, r, i, c, a, o, s, xf)),
                (t.context = Zd(null)),
                (n = t.current),
                (r = $c(n)),
                (r = Ve(r)),
                (i = $i(r)),
                (i.callback = null),
                ea(n, i, r),
                ci(r, `hydrateRoot()`, null),
                (n = r),
                (t.current.lanes = n),
                Ie(t, n),
                ql(t),
                (e[Kp] = t.current),
                cu(e),
                new Cf(t)
              );
            }),
            (e.version = `19.2.7`),
            typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < `u` &&
              typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ==
                `function` &&
              __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(
                Error(),
              ));
        })();
    }),
    te = s((e, t) => {
      function n() {
        if (!(
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > `u` ||
          typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != `function`
        )) {
          if (process.env.NODE_ENV !== `production`) throw Error(`^_^`);
          try {
            __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
          } catch (e) {
            console.error(e);
          }
        }
      }
      process.env.NODE_ENV === `production`
        ? (n(), (t.exports = x()))
        : (t.exports = ee());
    }),
    S = s((e) => {
      var t = Symbol.for(`react.transitional.element`),
        n = Symbol.for(`react.fragment`);
      function r(e, n, r) {
        var i = null;
        if (
          (r !== void 0 && (i = `` + r),
          n.key !== void 0 && (i = `` + n.key),
          `key` in n)
        )
          for (var a in ((r = {}), n)) a !== `key` && (r[a] = n[a]);
        else r = n;
        return (
          (n = r.ref),
          {
            $$typeof: t,
            type: e,
            key: i,
            ref: n === void 0 ? null : n,
            props: r,
          }
        );
      }
      ((e.Fragment = n), (e.jsx = r), (e.jsxs = r));
    }),
    ne = s((e) => {
      process.env.NODE_ENV !== `production` &&
        (function () {
          function t(e) {
            if (e == null) return null;
            if (typeof e == `function`)
              return e.$$typeof === ie ? null : e.displayName || e.name || null;
            if (typeof e == `string`) return e;
            switch (e) {
              case v:
                return `Fragment`;
              case b:
                return `Profiler`;
              case y:
                return `StrictMode`;
              case S:
                return `Suspense`;
              case ne:
                return `SuspenseList`;
              case w:
                return `Activity`;
            }
            if (typeof e == `object`)
              switch (
                (typeof e.tag == `number` &&
                  console.error(
                    `Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`,
                  ),
                e.$$typeof)
              ) {
                case _:
                  return `Portal`;
                case ee:
                  return e.displayName || `Context`;
                case x:
                  return (e._context.displayName || `Context`) + `.Consumer`;
                case te:
                  var n = e.render;
                  return (
                    (e = e.displayName),
                    (e ||=
                      ((e = n.displayName || n.name || ``),
                      e === `` ? `ForwardRef` : `ForwardRef(` + e + `)`)),
                    e
                  );
                case re:
                  return (
                    (n = e.displayName || null),
                    n === null ? t(e.type) || `Memo` : n
                  );
                case C:
                  ((n = e._payload), (e = e._init));
                  try {
                    return t(e(n));
                  } catch {}
              }
            return null;
          }
          function n(e) {
            return `` + e;
          }
          function r(e) {
            try {
              n(e);
              var t = !1;
            } catch {
              t = !0;
            }
            if (t) {
              t = console;
              var r = t.error,
                i =
                  (typeof Symbol == `function` &&
                    Symbol.toStringTag &&
                    e[Symbol.toStringTag]) ||
                  e.constructor.name ||
                  `Object`;
              return (
                r.call(
                  t,
                  `The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,
                  i,
                ),
                n(e)
              );
            }
          }
          function i(e) {
            if (e === v) return `<>`;
            if (typeof e == `object` && e && e.$$typeof === C) return `<...>`;
            try {
              var n = t(e);
              return n ? `<` + n + `>` : `<...>`;
            } catch {
              return `<...>`;
            }
          }
          function a() {
            var e = T.A;
            return e === null ? null : e.getOwner();
          }
          function o() {
            return Error(`react-stack-top-frame`);
          }
          function s(e) {
            if (ae.call(e, `key`)) {
              var t = Object.getOwnPropertyDescriptor(e, `key`).get;
              if (t && t.isReactWarning) return !1;
            }
            return e.key !== void 0;
          }
          function c(e, t) {
            function n() {
              se ||
                ((se = !0),
                console.error(
                  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
                  t,
                ));
            }
            ((n.isReactWarning = !0),
              Object.defineProperty(e, "key", { get: n, configurable: !0 }));
          }
          function l() {
            var e = t(this.type);
            return (
              ce[e] ||
                ((ce[e] = !0),
                console.error(
                  `Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`,
                )),
              (e = this.props.ref),
              e === void 0 ? null : e
            );
          }
          function u(e, t, n, r, i, a) {
            var o = n.ref;
            return (
              (e = { $$typeof: g, type: e, key: t, props: n, _owner: r }),
              (o === void 0 ? null : o) === null
                ? Object.defineProperty(e, "ref", {
                    enumerable: !1,
                    value: null,
                  })
                : Object.defineProperty(e, "ref", { enumerable: !1, get: l }),
              (e._store = {}),
              Object.defineProperty(e._store, "validated", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: 0,
              }),
              Object.defineProperty(e, "_debugInfo", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: null,
              }),
              Object.defineProperty(e, "_debugStack", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: i,
              }),
              Object.defineProperty(e, "_debugTask", {
                configurable: !1,
                enumerable: !1,
                writable: !0,
                value: a,
              }),
              Object.freeze && (Object.freeze(e.props), Object.freeze(e)),
              e
            );
          }
          function d(e, n, i, o, l, d) {
            var p = n.children;
            if (p !== void 0)
              if (o)
                if (oe(p)) {
                  for (o = 0; o < p.length; o++) f(p[o]);
                  Object.freeze && Object.freeze(p);
                } else
                  console.error(
                    `React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`,
                  );
              else f(p);
            if (ae.call(n, `key`)) {
              p = t(e);
              var m = Object.keys(n).filter(function (e) {
                return e !== `key`;
              });
              ((o =
                0 < m.length
                  ? `{key: someKey, ` + m.join(`: ..., `) + `: ...}`
                  : `{key: someKey}`),
                le[p + o] ||
                  ((m =
                    0 < m.length ? `{` + m.join(`: ..., `) + `: ...}` : `{}`),
                  console.error(
                    `A props object containing a "key" prop is being spread into JSX:
  let props = %s;
  <%s {...props} />
React keys must be passed directly to JSX without using spread:
  let props = %s;
  <%s key={someKey} {...props} />`,
                    o,
                    p,
                    m,
                    p,
                  ),
                  (le[p + o] = !0)));
            }
            if (
              ((p = null),
              i !== void 0 && (r(i), (p = `` + i)),
              s(n) && (r(n.key), (p = `` + n.key)),
              `key` in n)
            )
              for (var h in ((i = {}), n)) h !== `key` && (i[h] = n[h]);
            else i = n;
            return (
              p &&
                c(
                  i,
                  typeof e == `function`
                    ? e.displayName || e.name || `Unknown`
                    : e,
                ),
              u(e, p, i, a(), l, d)
            );
          }
          function f(e) {
            p(e)
              ? e._store && (e._store.validated = 1)
              : typeof e == `object` &&
                e &&
                e.$$typeof === C &&
                (e._payload.status === `fulfilled`
                  ? p(e._payload.value) &&
                    e._payload.value._store &&
                    (e._payload.value._store.validated = 1)
                  : e._store && (e._store.validated = 1));
          }
          function p(e) {
            return typeof e == `object` && !!e && e.$$typeof === g;
          }
          var h = m(),
            g = Symbol.for(`react.transitional.element`),
            _ = Symbol.for(`react.portal`),
            v = Symbol.for(`react.fragment`),
            y = Symbol.for(`react.strict_mode`),
            b = Symbol.for(`react.profiler`),
            x = Symbol.for(`react.consumer`),
            ee = Symbol.for(`react.context`),
            te = Symbol.for(`react.forward_ref`),
            S = Symbol.for(`react.suspense`),
            ne = Symbol.for(`react.suspense_list`),
            re = Symbol.for(`react.memo`),
            C = Symbol.for(`react.lazy`),
            w = Symbol.for(`react.activity`),
            ie = Symbol.for(`react.client.reference`),
            T =
              h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
            ae = Object.prototype.hasOwnProperty,
            oe = Array.isArray,
            E = console.createTask
              ? console.createTask
              : function () {
                  return null;
                };
          h = {
            react_stack_bottom_frame: function (e) {
              return e();
            },
          };
          var se,
            ce = {},
            D = h.react_stack_bottom_frame.bind(h, o)(),
            O = E(i(o)),
            le = {};
          ((e.Fragment = v),
            (e.jsx = function (e, t, n) {
              var r = 1e4 > T.recentlyCreatedOwnerStacks++;
              return d(
                e,
                t,
                n,
                !1,
                r ? Error(`react-stack-top-frame`) : D,
                r ? E(i(e)) : O,
              );
            }),
            (e.jsxs = function (e, t, n) {
              var r = 1e4 > T.recentlyCreatedOwnerStacks++;
              return d(
                e,
                t,
                n,
                !0,
                r ? Error(`react-stack-top-frame`) : D,
                r ? E(i(e)) : O,
              );
            }));
        })();
    }),
    re = s((e, t) => {
      process.env.NODE_ENV === `production`
        ? (t.exports = S())
        : (t.exports = ne());
    }),
    C = u(m(), 1),
    w = (0, C.createContext)({});
  function ie(e) {
    let t = (0, C.useRef)(null);
    return (t.current === null && (t.current = e()), t.current);
  }
  var T = typeof window < `u` ? C.useLayoutEffect : C.useEffect,
    ae = (0, C.createContext)(null);
  function oe(e, t) {
    e.indexOf(t) === -1 && e.push(t);
  }
  function E(e, t) {
    let n = e.indexOf(t);
    n > -1 && e.splice(n, 1);
  }
  var se = (e, t, n) => (n > t ? t : n < e ? e : n);
  function ce(e, t) {
    return t
      ? `${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`
      : e;
  }
  var D = () => {},
    O = () => {};
  typeof process < `u` &&
    process.env.NODE_ENV !== `production` &&
    ((D = (e, t, n) => {
      !e && typeof console < `u` && console.warn(ce(t, n));
    }),
    (O = (e, t, n) => {
      if (!e) throw Error(ce(t, n));
    }));
  var le = {},
    ue = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),
    de = (e) => typeof e == `object` && !!e,
    fe = (e) => /^0[^.\s]+$/u.test(e);
  function pe(e) {
    let t;
    return () => (t === void 0 && (t = e()), t);
  }
  var k = (e) => e,
    me = (...e) => e.reduce((e, t) => (n) => t(e(n))),
    he = (e, t, n) => {
      let r = t - e;
      return r ? (n - e) / r : 1;
    },
    ge = class {
      constructor() {
        this.subscriptions = [];
      }
      add(e) {
        return (oe(this.subscriptions, e), () => E(this.subscriptions, e));
      }
      notify(e, t, n) {
        let r = this.subscriptions.length;
        if (r)
          if (r === 1) this.subscriptions[0](e, t, n);
          else
            for (let i = 0; i < r; i++) {
              let r = this.subscriptions[i];
              r && r(e, t, n);
            }
      }
      getSize() {
        return this.subscriptions.length;
      }
      clear() {
        this.subscriptions.length = 0;
      }
    },
    _e = (e) => e * 1e3,
    ve = (e) => e / 1e3,
    ye = (e, t) => (t ? (1e3 / t) * e : 0),
    be = new Set();
  function A(e, t, n) {
    e || be.has(t) || (console.warn(ce(t, n)), be.add(t));
  }
  var xe = (e, t, n) =>
      (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e,
    Se = 1e-7,
    Ce = 12;
  function we(e, t, n, r, i) {
    let a,
      o,
      s = 0;
    do
      ((o = t + (n - t) / 2), (a = xe(o, r, i) - e), a > 0 ? (n = o) : (t = o));
    while (Math.abs(a) > Se && ++s < Ce);
    return o;
  }
  function j(e, t, n, r) {
    if (e === t && n === r) return k;
    let i = (t) => we(t, 0, 1, e, n);
    return (e) => (e === 0 || e === 1 ? e : xe(i(e), t, r));
  }
  var Te = (e) => (t) => (t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2),
    Ee = (e) => (t) => 1 - e(1 - t),
    De = j(0.33, 1.53, 0.69, 0.99),
    Oe = Ee(De),
    ke = Te(Oe),
    Ae = (e) =>
      e >= 1
        ? 1
        : (e *= 2) < 1
          ? 0.5 * Oe(e)
          : 0.5 * (2 - 2 ** (-10 * (e - 1))),
    je = (e) => 1 - Math.sin(Math.acos(e)),
    Me = Ee(je),
    Ne = Te(je),
    Pe = j(0.42, 0, 1, 1),
    Fe = j(0, 0, 0.58, 1),
    Ie = j(0.42, 0, 0.58, 1),
    Le = (e) => Array.isArray(e) && typeof e[0] != `number`,
    Re = (e) => Array.isArray(e) && typeof e[0] == `number`,
    ze = {
      linear: k,
      easeIn: Pe,
      easeInOut: Ie,
      easeOut: Fe,
      circIn: je,
      circInOut: Ne,
      circOut: Me,
      backIn: Oe,
      backInOut: ke,
      backOut: De,
      anticipate: Ae,
    },
    Be = (e) => typeof e == `string`,
    Ve = (e) => {
      if (Re(e)) {
        O(
          e.length === 4,
          `Cubic bezier arrays must contain four numerical values.`,
          `cubic-bezier-length`,
        );
        let [t, n, r, i] = e;
        return j(t, n, r, i);
      } else if (Be(e))
        return (
          O(
            ze[e] !== void 0,
            `Invalid easing type '${e}'`,
            `invalid-easing-type`,
          ),
          ze[e]
        );
      return e;
    },
    He = [
      `setup`,
      `read`,
      `resolveKeyframes`,
      `preUpdate`,
      `update`,
      `preRender`,
      `render`,
      `postRender`,
    ],
    Ue = { value: null, addProjectionMetrics: null };
  function We(e, t) {
    let n = new Set(),
      r = new Set(),
      i = !1,
      a = !1,
      o = new WeakSet(),
      s = { delta: 0, timestamp: 0, isProcessing: !1 },
      c = 0;
    function l(t) {
      (o.has(t) && (u.schedule(t), e()), c++, t(s));
    }
    let u = {
      schedule: (e, t = !1, a = !1) => {
        let s = a && i ? n : r;
        return (t && o.add(e), s.add(e), e);
      },
      cancel: (e) => {
        (r.delete(e), o.delete(e));
      },
      process: (e) => {
        if (((s = e), i)) {
          a = !0;
          return;
        }
        i = !0;
        let o = n;
        ((n = r),
          (r = o),
          n.forEach(l),
          t && Ue.value && Ue.value.frameloop[t].push(c),
          (c = 0),
          n.clear(),
          (i = !1),
          a && ((a = !1), u.process(e)));
      },
    };
    return u;
  }
  var Ge = 40;
  function Ke(e, t) {
    let n = !1,
      r = !0,
      i = { delta: 0, timestamp: 0, isProcessing: !1 },
      a = () => (n = !0),
      o = He.reduce((e, n) => ((e[n] = We(a, t ? n : void 0)), e), {}),
      {
        setup: s,
        read: c,
        resolveKeyframes: l,
        preUpdate: u,
        update: d,
        preRender: f,
        render: p,
        postRender: m,
      } = o,
      h = () => {
        let a = le.useManualTiming,
          o = a ? i.timestamp : performance.now();
        ((n = !1),
          a ||
            (i.delta = r
              ? 1e3 / 60
              : Math.max(Math.min(o - i.timestamp, Ge), 1)),
          (i.timestamp = o),
          (i.isProcessing = !0),
          s.process(i),
          c.process(i),
          l.process(i),
          u.process(i),
          d.process(i),
          f.process(i),
          p.process(i),
          m.process(i),
          (i.isProcessing = !1),
          n && t && ((r = !1), e(h)));
      },
      g = () => {
        ((n = !0), (r = !0), i.isProcessing || e(h));
      };
    return {
      schedule: He.reduce((e, t) => {
        let r = o[t];
        return (
          (e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i))),
          e
        );
      }, {}),
      cancel: (e) => {
        for (let t = 0; t < He.length; t++) o[He[t]].cancel(e);
      },
      state: i,
      steps: o,
    };
  }
  var {
      schedule: qe,
      cancel: Je,
      state: Ye,
      steps: Xe,
    } = Ke(typeof requestAnimationFrame < `u` ? requestAnimationFrame : k, !0),
    Ze;
  function Qe() {
    Ze = void 0;
  }
  var $e = {
      now: () => (
        Ze === void 0 &&
          $e.set(
            Ye.isProcessing || le.useManualTiming
              ? Ye.timestamp
              : performance.now(),
          ),
        Ze
      ),
      set: (e) => {
        ((Ze = e), queueMicrotask(Qe));
      },
    },
    et = { layout: 0, mainThread: 0, waapi: 0 },
    tt = (e) => (t) => typeof t == `string` && t.startsWith(e),
    nt = tt(`--`),
    rt = tt(`var(--`),
    it = (e) => (rt(e) ? at.test(e.split(`/*`)[0].trim()) : !1),
    at =
      /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
  function ot(e) {
    return typeof e == `string` ? e.split(`/*`)[0].includes(`var(--`) : !1;
  }
  var st = {
      test: (e) => typeof e == `number`,
      parse: parseFloat,
      transform: (e) => e,
    },
    ct = { ...st, transform: (e) => se(0, 1, e) },
    lt = { ...st, default: 1 },
    ut = (e) => Math.round(e * 1e5) / 1e5,
    dt = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
  function ft(e) {
    return e == null;
  }
  var pt =
      /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,
    mt = (e, t) => (n) =>
      !!(
        (typeof n == `string` && pt.test(n) && n.startsWith(e)) ||
        (t && !ft(n) && Object.prototype.hasOwnProperty.call(n, t))
      ),
    ht = (e, t, n) => (r) => {
      if (typeof r != `string`) return r;
      let [i, a, o, s] = r.match(dt);
      return {
        [e]: parseFloat(i),
        [t]: parseFloat(a),
        [n]: parseFloat(o),
        alpha: s === void 0 ? 1 : parseFloat(s),
      };
    },
    gt = (e) => se(0, 255, e),
    _t = { ...st, transform: (e) => Math.round(gt(e)) },
    vt = {
      test: mt(`rgb`, `red`),
      parse: ht(`red`, `green`, `blue`),
      transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) =>
        `rgba(` +
        _t.transform(e) +
        `, ` +
        _t.transform(t) +
        `, ` +
        _t.transform(n) +
        `, ` +
        ut(ct.transform(r)) +
        `)`,
    };
  function yt(e) {
    let t = ``,
      n = ``,
      r = ``,
      i = ``;
    return (
      e.length > 5
        ? ((t = e.substring(1, 3)),
          (n = e.substring(3, 5)),
          (r = e.substring(5, 7)),
          (i = e.substring(7, 9)))
        : ((t = e.substring(1, 2)),
          (n = e.substring(2, 3)),
          (r = e.substring(3, 4)),
          (i = e.substring(4, 5)),
          (t += t),
          (n += n),
          (r += r),
          (i += i)),
      {
        red: parseInt(t, 16),
        green: parseInt(n, 16),
        blue: parseInt(r, 16),
        alpha: i ? parseInt(i, 16) / 255 : 1,
      }
    );
  }
  var bt = { test: mt(`#`), parse: yt, transform: vt.transform },
    xt = (e) => ({
      test: (t) =>
        typeof t == `string` && t.endsWith(e) && t.split(` `).length === 1,
      parse: parseFloat,
      transform: (t) => `${t}${e}`,
    }),
    St = xt(`deg`),
    Ct = xt(`%`),
    M = xt(`px`),
    wt = xt(`vh`),
    Tt = xt(`vw`),
    Et = {
      ...Ct,
      parse: (e) => Ct.parse(e) / 100,
      transform: (e) => Ct.transform(e * 100),
    },
    Dt = {
      test: mt(`hsl`, `hue`),
      parse: ht(`hue`, `saturation`, `lightness`),
      transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) =>
        `hsla(` +
        Math.round(e) +
        `, ` +
        Ct.transform(ut(t)) +
        `, ` +
        Ct.transform(ut(n)) +
        `, ` +
        ut(ct.transform(r)) +
        `)`,
    },
    Ot = {
      test: (e) => vt.test(e) || bt.test(e) || Dt.test(e),
      parse: (e) =>
        vt.test(e) ? vt.parse(e) : Dt.test(e) ? Dt.parse(e) : bt.parse(e),
      transform: (e) =>
        typeof e == `string`
          ? e
          : e.hasOwnProperty(`red`)
            ? vt.transform(e)
            : Dt.transform(e),
      getAnimatableNone: (e) => {
        let t = Ot.parse(e);
        return ((t.alpha = 0), Ot.transform(t));
      },
    },
    kt =
      /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
  function At(e) {
    return (
      isNaN(e) &&
      typeof e == `string` &&
      (e.match(dt)?.length || 0) + (e.match(kt)?.length || 0) > 0
    );
  }
  var jt = `number`,
    Mt = `color`,
    Nt = `var`,
    Pt = `var(`,
    Ft = "${}",
    It =
      /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
  function Lt(e) {
    let t = e.toString(),
      n = [],
      r = { color: [], number: [], var: [] },
      i = [],
      a = 0;
    return {
      values: n,
      split: t
        .replace(
          It,
          (e) => (
            Ot.test(e)
              ? (r.color.push(a), i.push(Mt), n.push(Ot.parse(e)))
              : e.startsWith(Pt)
                ? (r.var.push(a), i.push(Nt), n.push(e))
                : (r.number.push(a), i.push(jt), n.push(parseFloat(e))),
            ++a,
            Ft
          ),
        )
        .split(Ft),
      indexes: r,
      types: i,
    };
  }
  function Rt(e) {
    return Lt(e).values;
  }
  function zt({ split: e, types: t }) {
    let n = e.length;
    return (r) => {
      let i = ``;
      for (let a = 0; a < n; a++)
        if (((i += e[a]), r[a] !== void 0)) {
          let e = t[a];
          e === jt
            ? (i += ut(r[a]))
            : e === Mt
              ? (i += Ot.transform(r[a]))
              : (i += r[a]);
        }
      return i;
    };
  }
  function Bt(e) {
    return zt(Lt(e));
  }
  var Vt = (e) =>
      typeof e == `number` ? 0 : Ot.test(e) ? Ot.getAnimatableNone(e) : e,
    Ht = (e, t) =>
      typeof e == `number` ? (t?.trim().endsWith(`/`) ? e : 0) : Vt(e);
  function Ut(e) {
    let t = Lt(e);
    return zt(t)(t.values.map((e, n) => Ht(e, t.split[n])));
  }
  var Wt = {
    test: At,
    parse: Rt,
    createTransformer: Bt,
    getAnimatableNone: Ut,
  };
  function Gt(e, t, n) {
    return (
      n < 0 && (n += 1),
      n > 1 && --n,
      n < 1 / 6
        ? e + (t - e) * 6 * n
        : n < 1 / 2
          ? t
          : n < 2 / 3
            ? e + (t - e) * (2 / 3 - n) * 6
            : e
    );
  }
  function Kt({ hue: e, saturation: t, lightness: n, alpha: r }) {
    ((e /= 360), (t /= 100), (n /= 100));
    let i = 0,
      a = 0,
      o = 0;
    if (!t) i = a = o = n;
    else {
      let r = n < 0.5 ? n * (1 + t) : n + t - n * t,
        s = 2 * n - r;
      ((i = Gt(s, r, e + 1 / 3)), (a = Gt(s, r, e)), (o = Gt(s, r, e - 1 / 3)));
    }
    return {
      red: Math.round(i * 255),
      green: Math.round(a * 255),
      blue: Math.round(o * 255),
      alpha: r,
    };
  }
  function qt(e, t) {
    return (n) => (n > 0 ? t : e);
  }
  var Jt = (e, t, n) => e + (t - e) * n,
    Yt = (e, t, n) => {
      let r = e * e,
        i = n * (t * t - r) + r;
      return i < 0 ? 0 : Math.sqrt(i);
    },
    Xt = [bt, vt, Dt],
    Zt = (e) => Xt.find((t) => t.test(e));
  function Qt(e) {
    let t = Zt(e);
    if (
      (D(
        !!t,
        `'${e}' is not an animatable color. Use the equivalent color code instead.`,
        `color-not-animatable`,
      ),
      !t)
    )
      return !1;
    let n = t.parse(e);
    return (t === Dt && (n = Kt(n)), n);
  }
  var $t = (e, t) => {
      let n = Qt(e),
        r = Qt(t);
      if (!n || !r) return qt(e, t);
      let i = { ...n };
      return (e) => (
        (i.red = Yt(n.red, r.red, e)),
        (i.green = Yt(n.green, r.green, e)),
        (i.blue = Yt(n.blue, r.blue, e)),
        (i.alpha = Jt(n.alpha, r.alpha, e)),
        vt.transform(i)
      );
    },
    en = new Set([`none`, `hidden`]);
  function tn(e, t) {
    return en.has(e) ? (n) => (n <= 0 ? e : t) : (n) => (n >= 1 ? t : e);
  }
  function nn(e, t) {
    return (n) => Jt(e, t, n);
  }
  function rn(e) {
    return typeof e == `number`
      ? nn
      : typeof e == `string`
        ? it(e)
          ? qt
          : Ot.test(e)
            ? $t
            : cn
        : Array.isArray(e)
          ? an
          : typeof e == `object`
            ? Ot.test(e)
              ? $t
              : on
            : qt;
  }
  function an(e, t) {
    let n = [...e],
      r = n.length,
      i = e.map((e, n) => rn(e)(e, t[n]));
    return (e) => {
      for (let t = 0; t < r; t++) n[t] = i[t](e);
      return n;
    };
  }
  function on(e, t) {
    let n = { ...e, ...t },
      r = {};
    for (let i in n)
      e[i] !== void 0 && t[i] !== void 0 && (r[i] = rn(e[i])(e[i], t[i]));
    return (e) => {
      for (let t in r) n[t] = r[t](e);
      return n;
    };
  }
  function sn(e, t) {
    let n = [],
      r = { color: 0, var: 0, number: 0 };
    for (let i = 0; i < t.values.length; i++) {
      let a = t.types[i],
        o = e.indexes[a][r[a]];
      ((n[i] = e.values[o] ?? 0), r[a]++);
    }
    return n;
  }
  var cn = (e, t) => {
    let n = Wt.createTransformer(t),
      r = Lt(e),
      i = Lt(t);
    return r.indexes.var.length === i.indexes.var.length &&
      r.indexes.color.length === i.indexes.color.length &&
      r.indexes.number.length >= i.indexes.number.length
      ? (en.has(e) && !i.values.length) || (en.has(t) && !r.values.length)
        ? tn(e, t)
        : me(an(sn(r, i), i.values), n)
      : (D(
          !0,
          `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,
          `complex-values-different`,
        ),
        qt(e, t));
  };
  function ln(e, t, n) {
    return typeof e == `number` && typeof t == `number` && typeof n == `number`
      ? Jt(e, t, n)
      : rn(e)(e, t);
  }
  var un = (e) => {
      let t = ({ timestamp: t }) => e(t);
      return {
        start: (e = !0) => qe.update(t, e),
        stop: () => Je(t),
        now: () => (Ye.isProcessing ? Ye.timestamp : $e.now()),
      };
    },
    dn = (e, t, n = 10) => {
      let r = ``,
        i = Math.max(Math.round(t / n), 2);
      for (let t = 0; t < i; t++)
        r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + `, `;
      return `linear(${r.substring(0, r.length - 2)})`;
    },
    fn = 2e4;
  function pn(e) {
    let t = 0,
      n = e.next(t);
    for (; !n.done && t < 2e4;) ((t += 50), (n = e.next(t)));
    return t >= 2e4 ? 1 / 0 : t;
  }
  function mn(e, t = 100, n) {
    let r = n({ ...e, keyframes: [0, t] }),
      i = Math.min(pn(r), fn);
    return {
      type: `keyframes`,
      ease: (e) => r.next(i * e).value / t,
      duration: ve(i),
    };
  }
  var hn = {
    stiffness: 100,
    damping: 10,
    mass: 1,
    velocity: 0,
    duration: 800,
    bounce: 0.3,
    visualDuration: 0.3,
    restSpeed: { granular: 0.01, default: 2 },
    restDelta: { granular: 0.005, default: 0.5 },
    minDuration: 0.01,
    maxDuration: 10,
    minDamping: 0.05,
    maxDamping: 1,
  };
  function gn(e, t) {
    return e * Math.sqrt(1 - t * t);
  }
  var _n = 12;
  function vn(e, t, n) {
    let r = n;
    for (let n = 1; n < _n; n++) r -= e(r) / t(r);
    return r;
  }
  var yn = 0.001;
  function bn({
    duration: e = hn.duration,
    bounce: t = hn.bounce,
    velocity: n = hn.velocity,
    mass: r = hn.mass,
  }) {
    let i, a;
    D(
      e <= _e(hn.maxDuration),
      `Spring duration must be 10 seconds or less`,
      `spring-duration-limit`,
    );
    let o = 1 - t;
    ((o = se(hn.minDamping, hn.maxDamping, o)),
      (e = se(hn.minDuration, hn.maxDuration, ve(e))),
      o < 1
        ? ((i = (t) => {
            let r = t * o,
              i = r * e,
              a = r - n,
              s = gn(t, o),
              c = Math.exp(-i);
            return yn - (a / s) * c;
          }),
          (a = (t) => {
            let r = t * o * e,
              a = r * n + n,
              s = o ** 2 * t ** 2 * e,
              c = Math.exp(-r),
              l = gn(t ** 2, o);
            return ((-i(t) + yn > 0 ? -1 : 1) * ((a - s) * c)) / l;
          }))
        : ((i = (t) => -0.001 + Math.exp(-t * e) * ((t - n) * e + 1)),
          (a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)))));
    let s = 5 / e,
      c = vn(i, a, s);
    if (((e = _e(e)), isNaN(c)))
      return { stiffness: hn.stiffness, damping: hn.damping, duration: e };
    {
      let t = c ** 2 * r;
      return { stiffness: t, damping: o * 2 * Math.sqrt(r * t), duration: e };
    }
  }
  var xn = [`duration`, `bounce`],
    Sn = [`stiffness`, `damping`, `mass`];
  function Cn(e, t) {
    return t.some((t) => e[t] !== void 0);
  }
  function wn(e) {
    let t = {
      velocity: hn.velocity,
      stiffness: hn.stiffness,
      damping: hn.damping,
      mass: hn.mass,
      isResolvedFromDuration: !1,
      ...e,
    };
    if (!Cn(e, Sn) && Cn(e, xn))
      if (((t.velocity = 0), e.visualDuration)) {
        let n = e.visualDuration,
          r = (2 * Math.PI) / (n * 1.2),
          i = r * r,
          a = 2 * se(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
        t = { ...t, mass: hn.mass, stiffness: i, damping: a };
      } else {
        let n = bn({ ...e, velocity: 0 });
        ((t = { ...t, ...n, mass: hn.mass }), (t.isResolvedFromDuration = !0));
      }
    return t;
  }
  function Tn(e = hn.visualDuration, t = hn.bounce) {
    let n =
        typeof e == `object`
          ? e
          : { visualDuration: e, keyframes: [0, 1], bounce: t },
      { restSpeed: r, restDelta: i } = n,
      a = n.keyframes[0],
      o = n.keyframes[n.keyframes.length - 1],
      s = { done: !1, value: a },
      {
        stiffness: c,
        damping: l,
        mass: u,
        duration: d,
        velocity: f,
        isResolvedFromDuration: p,
      } = wn({ ...n, velocity: -ve(n.velocity || 0) }),
      m = f || 0,
      h = l / (2 * Math.sqrt(c * u)),
      g = o - a,
      _ = ve(Math.sqrt(c / u)),
      v = Math.abs(g) < 5;
    ((r ||= v ? hn.restSpeed.granular : hn.restSpeed.default),
      (i ||= v ? hn.restDelta.granular : hn.restDelta.default));
    let y, b, x, ee, te, S;
    if (h < 1)
      ((x = gn(_, h)),
        (ee = (m + h * _ * g) / x),
        (y = (e) =>
          o -
          Math.exp(-h * _ * e) * (ee * Math.sin(x * e) + g * Math.cos(x * e))),
        (te = h * _ * ee + g * x),
        (S = h * _ * g - ee * x),
        (b = (e) =>
          Math.exp(-h * _ * e) * (te * Math.sin(x * e) + S * Math.cos(x * e))));
    else if (h === 1) {
      y = (e) => o - Math.exp(-_ * e) * (g + (m + _ * g) * e);
      let e = m + _ * g;
      b = (t) => Math.exp(-_ * t) * (_ * e * t - m);
    } else {
      let e = _ * Math.sqrt(h * h - 1);
      y = (t) => {
        let n = Math.exp(-h * _ * t),
          r = Math.min(e * t, 300);
        return (
          o - (n * ((m + h * _ * g) * Math.sinh(r) + e * g * Math.cosh(r))) / e
        );
      };
      let t = (m + h * _ * g) / e,
        n = h * _ * t - g * e,
        r = h * _ * g - t * e;
      b = (t) => {
        let i = Math.exp(-h * _ * t),
          a = Math.min(e * t, 300);
        return i * (n * Math.sinh(a) + r * Math.cosh(a));
      };
    }
    let ne = {
      calculatedDuration: (p && d) || null,
      velocity: (e) => _e(b(e)),
      next: (e) => {
        if (!p && h < 1) {
          let t = Math.exp(-h * _ * e),
            n = Math.sin(x * e),
            a = Math.cos(x * e),
            c = o - t * (ee * n + g * a),
            l = _e(t * (te * n + S * a));
          return (
            (s.done = Math.abs(l) <= r && Math.abs(o - c) <= i),
            (s.value = s.done ? o : c),
            s
          );
        }
        let t = y(e);
        if (p) s.done = e >= d;
        else {
          let n = _e(b(e));
          s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
        }
        return ((s.value = s.done ? o : t), s);
      },
      toString: () => {
        let e = Math.min(pn(ne), fn),
          t = dn((t) => ne.next(e * t).value, e, 30);
        return e + `ms ` + t;
      },
      toTransition: () => {},
    };
    return ne;
  }
  Tn.applyToOptions = (e) => {
    let t = mn(e, 100, Tn);
    return (
      (e.ease = t.ease),
      (e.duration = _e(t.duration)),
      (e.type = `keyframes`),
      e
    );
  };
  var En = 5;
  function Dn(e, t, n) {
    let r = Math.max(t - En, 0);
    return ye(n - e(r), t - r);
  }
  function On({
    keyframes: e,
    velocity: t = 0,
    power: n = 0.8,
    timeConstant: r = 325,
    bounceDamping: i = 10,
    bounceStiffness: a = 500,
    modifyTarget: o,
    min: s,
    max: c,
    restDelta: l = 0.5,
    restSpeed: u,
  }) {
    let d = e[0],
      f = { done: !1, value: d },
      p = (e) => (s !== void 0 && e < s) || (c !== void 0 && e > c),
      m = (e) =>
        s === void 0
          ? c
          : c === void 0 || Math.abs(s - e) < Math.abs(c - e)
            ? s
            : c,
      h = n * t,
      g = d + h,
      _ = o === void 0 ? g : o(g);
    _ !== g && (h = _ - d);
    let v = (e) => -h * Math.exp(-e / r),
      y = (e) => _ + v(e),
      b = (e) => {
        let t = v(e),
          n = y(e);
        ((f.done = Math.abs(t) <= l), (f.value = f.done ? _ : n));
      },
      x,
      ee,
      te = (e) => {
        p(f.value) &&
          ((x = e),
          (ee = Tn({
            keyframes: [f.value, m(f.value)],
            velocity: Dn(y, e, f.value),
            damping: i,
            stiffness: a,
            restDelta: l,
            restSpeed: u,
          })));
      };
    return (
      te(0),
      {
        calculatedDuration: null,
        next: (e) => {
          let t = !1;
          return (
            !ee && x === void 0 && ((t = !0), b(e), te(e)),
            x !== void 0 && e >= x ? ee.next(e - x) : (!t && b(e), f)
          );
        },
      }
    );
  }
  function kn(e, t, n) {
    let r = [],
      i = n || le.mix || ln,
      a = e.length - 1;
    for (let n = 0; n < a; n++) {
      let a = i(e[n], e[n + 1]);
      (t && (a = me(Array.isArray(t) ? t[n] || k : t, a)), r.push(a));
    }
    return r;
  }
  function An(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
    let a = e.length;
    if (
      (O(
        a === t.length,
        `Both input and output ranges must be the same length`,
        `range-length`,
      ),
      a === 1)
    )
      return () => t[0];
    if (a === 2 && t[0] === t[1]) return () => t[1];
    let o = e[0] === e[1];
    e[0] > e[a - 1] && ((e = [...e].reverse()), (t = [...t].reverse()));
    let s = kn(t, r, i),
      c = s.length,
      l = (n) => {
        if (o && n < e[0]) return t[0];
        let r = 0;
        if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
        let i = he(e[r], e[r + 1], n);
        return s[r](i);
      };
    return n ? (t) => l(se(e[0], e[a - 1], t)) : l;
  }
  function jn(e, t) {
    let n = e[e.length - 1];
    for (let r = 1; r <= t; r++) {
      let i = he(0, t, r);
      e.push(Jt(n, 1, i));
    }
  }
  function Mn(e) {
    let t = [0];
    return (jn(t, e.length - 1), t);
  }
  function Nn(e, t) {
    return e.map((e) => e * t);
  }
  function Pn(e, t) {
    return e.map(() => t || Ie).splice(0, e.length - 1);
  }
  function Fn({
    duration: e = 300,
    keyframes: t,
    times: n,
    ease: r = `easeInOut`,
  }) {
    let i = Le(r) ? r.map(Ve) : Ve(r),
      a = { done: !1, value: t[0] },
      o = An(Nn(n && n.length === t.length ? n : Mn(t), e), t, {
        ease: Array.isArray(i) ? i : Pn(t, i),
      });
    return {
      calculatedDuration: e,
      next: (t) => ((a.value = o(t)), (a.done = t >= e), a),
    };
  }
  var In = (e) => e !== null;
  function Ln(e, { repeat: t, repeatType: n = `loop` }, r, i = 1) {
    let a = e.filter(In),
      o = i < 0 || (t && n !== `loop` && t % 2 == 1) ? 0 : a.length - 1;
    return !o || r === void 0 ? a[o] : r;
  }
  var Rn = { decay: On, inertia: On, tween: Fn, keyframes: Fn, spring: Tn };
  function zn(e) {
    typeof e.type == `string` && (e.type = Rn[e.type]);
  }
  var Bn = class {
      constructor() {
        this.updateFinished();
      }
      get finished() {
        return this._finished;
      }
      updateFinished() {
        this._finished = new Promise((e) => {
          this.resolve = e;
        });
      }
      notifyFinished() {
        this.resolve();
      }
      then(e, t) {
        return this.finished.then(e, t);
      }
    },
    Vn = (e) => e / 100,
    Hn = class extends Bn {
      constructor(e) {
        (super(),
          (this.state = `idle`),
          (this.startTime = null),
          (this.isStopped = !1),
          (this.currentTime = 0),
          (this.holdTime = null),
          (this.playbackSpeed = 1),
          (this.delayState = { done: !1, value: void 0 }),
          (this.stop = () => {
            let { motionValue: e } = this.options;
            (e && e.updatedAt !== $e.now() && this.tick($e.now()),
              (this.isStopped = !0),
              this.state !== `idle` &&
                (this.teardown(), this.options.onStop?.()));
          }),
          et.mainThread++,
          (this.options = e),
          this.initAnimation(),
          this.play(),
          e.autoplay === !1 && this.pause());
      }
      initAnimation() {
        let { options: e } = this;
        zn(e);
        let {
            type: t = Fn,
            repeat: n = 0,
            repeatDelay: r = 0,
            repeatType: i,
            velocity: a = 0,
          } = e,
          { keyframes: o } = e,
          s = t || Fn;
        (process.env.NODE_ENV !== `production` &&
          s !== Fn &&
          O(
            o.length <= 2,
            `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`,
            `spring-two-frames`,
          ),
          s !== Fn &&
            typeof o[0] != `number` &&
            ((this.mixKeyframes = me(Vn, ln(o[0], o[1]))), (o = [0, 100])));
        let c = s({ ...e, keyframes: o });
        (i === `mirror` &&
          (this.mirroredGenerator = s({
            ...e,
            keyframes: [...o].reverse(),
            velocity: -a,
          })),
          c.calculatedDuration === null && (c.calculatedDuration = pn(c)));
        let { calculatedDuration: l } = c;
        ((this.calculatedDuration = l),
          (this.resolvedDuration = l + r),
          (this.totalDuration = this.resolvedDuration * (n + 1) - r),
          (this.generator = c));
      }
      updateTime(e) {
        let t = Math.round(e - this.startTime) * this.playbackSpeed;
        this.holdTime === null
          ? (this.currentTime = t)
          : (this.currentTime = this.holdTime);
      }
      tick(e, t = !1) {
        let {
          generator: n,
          totalDuration: r,
          mixKeyframes: i,
          mirroredGenerator: a,
          resolvedDuration: o,
          calculatedDuration: s,
        } = this;
        if (this.startTime === null) return n.next(0);
        let {
          delay: c = 0,
          keyframes: l,
          repeat: u,
          repeatType: d,
          repeatDelay: f,
          type: p,
          onUpdate: m,
          finalKeyframe: h,
        } = this.options;
        (this.speed > 0
          ? (this.startTime = Math.min(this.startTime, e))
          : this.speed < 0 &&
            (this.startTime = Math.min(e - r / this.speed, this.startTime)),
          t ? (this.currentTime = e) : this.updateTime(e));
        let g = this.currentTime - c * (this.playbackSpeed >= 0 ? 1 : -1),
          _ = this.playbackSpeed >= 0 ? g < 0 : g > r;
        ((this.currentTime = Math.max(g, 0)),
          this.state === `finished` &&
            this.holdTime === null &&
            (this.currentTime = r));
        let v = this.currentTime,
          y = n;
        if (u) {
          let e = Math.min(this.currentTime, r) / o,
            t = Math.floor(e),
            n = e % 1;
          (!n && e >= 1 && (n = 1),
            n === 1 && t--,
            (t = Math.min(t, u + 1)),
            t % 2 &&
              (d === `reverse`
                ? ((n = 1 - n), f && (n -= f / o))
                : d === `mirror` && (y = a)),
            (v = se(0, 1, n) * o));
        }
        let b;
        (_
          ? ((this.delayState.value = l[0]), (b = this.delayState))
          : (b = y.next(v)),
          i && !_ && (b.value = i(b.value)));
        let { done: x } = b;
        !_ &&
          s !== null &&
          (x =
            this.playbackSpeed >= 0
              ? this.currentTime >= r
              : this.currentTime <= 0);
        let ee =
          this.holdTime === null &&
          (this.state === `finished` || (this.state === `running` && x));
        return (
          ee && p !== On && (b.value = Ln(l, this.options, h, this.speed)),
          m && m(b.value),
          ee && this.finish(),
          b
        );
      }
      then(e, t) {
        return this.finished.then(e, t);
      }
      get duration() {
        return ve(this.calculatedDuration);
      }
      get iterationDuration() {
        let { delay: e = 0 } = this.options || {};
        return this.duration + ve(e);
      }
      get time() {
        return ve(this.currentTime);
      }
      set time(e) {
        ((e = _e(e)),
          (this.currentTime = e),
          this.startTime === null ||
          this.holdTime !== null ||
          this.playbackSpeed === 0
            ? (this.holdTime = e)
            : this.driver &&
              (this.startTime = this.driver.now() - e / this.playbackSpeed),
          this.driver
            ? this.driver.start(!1)
            : ((this.startTime = 0),
              (this.state = `paused`),
              (this.holdTime = e),
              this.tick(e)));
      }
      getGeneratorVelocity() {
        let e = this.currentTime;
        if (e <= 0) return this.options.velocity || 0;
        if (this.generator.velocity) return this.generator.velocity(e);
        let t = this.generator.next(e).value;
        return Dn((e) => this.generator.next(e).value, e, t);
      }
      get speed() {
        return this.playbackSpeed;
      }
      set speed(e) {
        let t = this.playbackSpeed !== e;
        (t && this.driver && this.updateTime($e.now()),
          (this.playbackSpeed = e),
          t && this.driver && (this.time = ve(this.currentTime)));
      }
      play() {
        if (this.isStopped) return;
        let { driver: e = un, startTime: t } = this.options;
        ((this.driver ||= e((e) => this.tick(e))), this.options.onPlay?.());
        let n = this.driver.now();
        (this.state === `finished`
          ? (this.updateFinished(), (this.startTime = n))
          : this.holdTime === null
            ? (this.startTime ||= t ?? n)
            : (this.startTime = n - this.holdTime),
          this.state === `finished` &&
            this.speed < 0 &&
            (this.startTime += this.calculatedDuration),
          (this.holdTime = null),
          (this.state = `running`),
          this.driver.start());
      }
      pause() {
        ((this.state = `paused`),
          this.updateTime($e.now()),
          (this.holdTime = this.currentTime));
      }
      complete() {
        (this.state !== `running` && this.play(),
          (this.state = `finished`),
          (this.holdTime = null));
      }
      finish() {
        (this.notifyFinished(),
          this.teardown(),
          (this.state = `finished`),
          this.options.onComplete?.());
      }
      cancel() {
        ((this.holdTime = null),
          (this.startTime = 0),
          this.tick(0),
          this.teardown(),
          this.options.onCancel?.());
      }
      teardown() {
        ((this.state = `idle`),
          this.stopDriver(),
          (this.startTime = this.holdTime = null),
          et.mainThread--);
      }
      stopDriver() {
        this.driver &&= (this.driver.stop(), void 0);
      }
      sample(e) {
        return ((this.startTime = 0), this.tick(e, !0));
      }
      attachTimeline(e) {
        return (
          this.options.allowFlatten &&
            ((this.options.type = `keyframes`),
            (this.options.ease = `linear`),
            this.initAnimation()),
          this.driver?.stop(),
          e.observe(this)
        );
      }
    };
  function Un(e) {
    for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
  }
  var Wn = (e) => (e * 180) / Math.PI,
    Gn = (e) => qn(Wn(Math.atan2(e[1], e[0]))),
    Kn = {
      x: 4,
      y: 5,
      translateX: 4,
      translateY: 5,
      scaleX: 0,
      scaleY: 3,
      scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
      rotate: Gn,
      rotateZ: Gn,
      skewX: (e) => Wn(Math.atan(e[1])),
      skewY: (e) => Wn(Math.atan(e[2])),
      skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2,
    },
    qn = (e) => ((e %= 360), e < 0 && (e += 360), e),
    Jn = Gn,
    Yn = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]),
    Xn = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]),
    Zn = {
      x: 12,
      y: 13,
      z: 14,
      translateX: 12,
      translateY: 13,
      translateZ: 14,
      scaleX: Yn,
      scaleY: Xn,
      scale: (e) => (Yn(e) + Xn(e)) / 2,
      rotateX: (e) => qn(Wn(Math.atan2(e[6], e[5]))),
      rotateY: (e) => qn(Wn(Math.atan2(-e[2], e[0]))),
      rotateZ: Jn,
      rotate: Jn,
      skewX: (e) => Wn(Math.atan(e[4])),
      skewY: (e) => Wn(Math.atan(e[1])),
      skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2,
    };
  function Qn(e) {
    return +!!e.includes(`scale`);
  }
  function $n(e, t) {
    if (!e || e === `none`) return Qn(t);
    let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),
      r,
      i;
    if (n) ((r = Zn), (i = n));
    else {
      let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
      ((r = Kn), (i = t));
    }
    if (!i) return Qn(t);
    let a = r[t],
      o = i[1].split(`,`).map(tr);
    return typeof a == `function` ? a(o) : o[a];
  }
  var er = (e, t) => {
    let { transform: n = `none` } = getComputedStyle(e);
    return $n(n, t);
  };
  function tr(e) {
    return parseFloat(e.trim());
  }
  var nr = [
      `transformPerspective`,
      `x`,
      `y`,
      `z`,
      `translateX`,
      `translateY`,
      `translateZ`,
      `scale`,
      `scaleX`,
      `scaleY`,
      `rotate`,
      `rotateX`,
      `rotateY`,
      `rotateZ`,
      `skew`,
      `skewX`,
      `skewY`,
    ],
    rr = new Set([...nr, `pathRotation`]),
    ir = (e) => e === st || e === M,
    ar = new Set([`x`, `y`, `z`]),
    or = nr.filter((e) => !ar.has(e));
  function sr(e) {
    let t = [];
    return (
      or.forEach((n) => {
        let r = e.getValue(n);
        r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith(`scale`)));
      }),
      t
    );
  }
  var cr = {
    width: (
      { x: e },
      { paddingLeft: t = `0`, paddingRight: n = `0`, boxSizing: r },
    ) => {
      let i = e.max - e.min;
      return r === `border-box` ? i : i - parseFloat(t) - parseFloat(n);
    },
    height: (
      { y: e },
      { paddingTop: t = `0`, paddingBottom: n = `0`, boxSizing: r },
    ) => {
      let i = e.max - e.min;
      return r === `border-box` ? i : i - parseFloat(t) - parseFloat(n);
    },
    top: (e, { top: t }) => parseFloat(t),
    left: (e, { left: t }) => parseFloat(t),
    bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
    right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
    x: (e, { transform: t }) => $n(t, `x`),
    y: (e, { transform: t }) => $n(t, `y`),
  };
  ((cr.translateX = cr.x), (cr.translateY = cr.y));
  var lr = new Set(),
    ur = !1,
    dr = !1,
    fr = !1;
  function pr() {
    if (dr) {
      let e = Array.from(lr).filter((e) => e.needsMeasurement),
        t = new Set(e.map((e) => e.element)),
        n = new Map();
      (t.forEach((e) => {
        let t = sr(e);
        t.length && (n.set(e, t), e.render());
      }),
        e.forEach((e) => e.measureInitialState()),
        t.forEach((e) => {
          e.render();
          let t = n.get(e);
          t &&
            t.forEach(([t, n]) => {
              e.getValue(t)?.set(n);
            });
        }),
        e.forEach((e) => e.measureEndState()),
        e.forEach((e) => {
          e.suspendedScrollY !== void 0 &&
            window.scrollTo(0, e.suspendedScrollY);
        }));
    }
    ((dr = !1), (ur = !1), lr.forEach((e) => e.complete(fr)), lr.clear());
  }
  function mr() {
    lr.forEach((e) => {
      (e.readKeyframes(), e.needsMeasurement && (dr = !0));
    });
  }
  function hr() {
    ((fr = !0), mr(), pr(), (fr = !1));
  }
  var gr = class {
      constructor(e, t, n, r, i, a = !1) {
        ((this.state = `pending`),
          (this.isAsync = !1),
          (this.needsMeasurement = !1),
          (this.unresolvedKeyframes = [...e]),
          (this.onComplete = t),
          (this.name = n),
          (this.motionValue = r),
          (this.element = i),
          (this.isAsync = a));
      }
      scheduleResolve() {
        ((this.state = `scheduled`),
          this.isAsync
            ? (lr.add(this),
              ur || ((ur = !0), qe.read(mr), qe.resolveKeyframes(pr)))
            : (this.readKeyframes(), this.complete()));
      }
      readKeyframes() {
        let {
          unresolvedKeyframes: e,
          name: t,
          element: n,
          motionValue: r,
        } = this;
        if (e[0] === null) {
          let i = r?.get(),
            a = e[e.length - 1];
          if (i !== void 0) e[0] = i;
          else if (n && t) {
            let r = n.readValue(t, a);
            r != null && (e[0] = r);
          }
          (e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]));
        }
        Un(e);
      }
      setFinalKeyframe() {}
      measureInitialState() {}
      renderEndStyles() {}
      measureEndState() {}
      complete(e = !1) {
        ((this.state = `complete`),
          this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e),
          lr.delete(this));
      }
      cancel() {
        this.state === `scheduled` &&
          (lr.delete(this), (this.state = `pending`));
      }
      resume() {
        this.state === `pending` && this.scheduleResolve();
      }
    },
    _r = (e) => e.startsWith(`--`);
  function vr(e, t, n) {
    _r(t) ? e.style.setProperty(t, n) : (e.style[t] = n);
  }
  var yr = {};
  function br(e, t) {
    let n = pe(e);
    return () => yr[t] ?? n();
  }
  var xr = br(() => window.ScrollTimeline !== void 0, `scrollTimeline`),
    Sr = br(() => {
      try {
        document
          .createElement(`div`)
          .animate({ opacity: 0 }, { easing: `linear(0, 1)` });
      } catch {
        return !1;
      }
      return !0;
    }, `linearEasing`),
    Cr = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`,
    wr = {
      linear: `linear`,
      ease: `ease`,
      easeIn: `ease-in`,
      easeOut: `ease-out`,
      easeInOut: `ease-in-out`,
      circIn: Cr([0, 0.65, 0.55, 1]),
      circOut: Cr([0.55, 0, 1, 0.45]),
      backIn: Cr([0.31, 0.01, 0.66, -0.59]),
      backOut: Cr([0.33, 1.53, 0.69, 0.99]),
    };
  function Tr(e, t) {
    if (e)
      return typeof e == `function`
        ? Sr()
          ? dn(e, t)
          : `ease-out`
        : Re(e)
          ? Cr(e)
          : Array.isArray(e)
            ? e.map((e) => Tr(e, t) || wr.easeOut)
            : wr[e];
  }
  function Er(
    e,
    t,
    n,
    {
      delay: r = 0,
      duration: i = 300,
      repeat: a = 0,
      repeatType: o = `loop`,
      ease: s = `easeOut`,
      times: c,
    } = {},
    l = void 0,
  ) {
    let u = { [t]: n };
    c && (u.offset = c);
    let d = Tr(s, i);
    (Array.isArray(d) && (u.easing = d), Ue.value && et.waapi++);
    let f = {
      delay: r,
      duration: i,
      easing: Array.isArray(d) ? `linear` : d,
      fill: `both`,
      iterations: a + 1,
      direction: o === `reverse` ? `alternate` : `normal`,
    };
    l && (f.pseudoElement = l);
    let p = e.animate(u, f);
    return (
      Ue.value &&
        p.finished.finally(() => {
          et.waapi--;
        }),
      p
    );
  }
  function Dr(e) {
    return typeof e == `function` && `applyToOptions` in e;
  }
  function Or({ type: e, ...t }) {
    return Dr(e) && Sr()
      ? e.applyToOptions(t)
      : ((t.duration ??= 300), (t.ease ??= `easeOut`), t);
  }
  var kr = class extends Bn {
      constructor(e) {
        if (
          (super(),
          (this.finishedTime = null),
          (this.isStopped = !1),
          (this.manualStartTime = null),
          !e)
        )
          return;
        let {
          element: t,
          name: n,
          keyframes: r,
          pseudoElement: i,
          allowFlatten: a = !1,
          finalKeyframe: o,
          onComplete: s,
        } = e;
        ((this.isPseudoElement = !!i),
          (this.allowFlatten = a),
          (this.options = e),
          O(
            typeof e.type != `string`,
            `Mini animate() doesn't support "type" as a string.`,
            `mini-spring`,
          ));
        let c = Or(e);
        ((this.animation = Er(t, n, r, c, i)),
          c.autoplay === !1 && this.animation.pause(),
          (this.animation.onfinish = () => {
            if (((this.finishedTime = this.time), !i)) {
              let e = Ln(r, this.options, o, this.speed);
              (this.updateMotionValue && this.updateMotionValue(e),
                vr(t, n, e),
                this.animation.cancel());
            }
            (s?.(), this.notifyFinished());
          }));
      }
      play() {
        this.isStopped ||
          ((this.manualStartTime = null),
          this.animation.play(),
          this.state === `finished` && this.updateFinished());
      }
      pause() {
        this.animation.pause();
      }
      complete() {
        this.animation.finish?.();
      }
      cancel() {
        try {
          this.animation.cancel();
        } catch {}
      }
      stop() {
        if (this.isStopped) return;
        this.isStopped = !0;
        let { state: e } = this;
        e === `idle` ||
          e === `finished` ||
          (this.updateMotionValue
            ? this.updateMotionValue()
            : this.commitStyles(),
          this.isPseudoElement || this.cancel());
      }
      commitStyles() {
        let e = this.options?.element;
        !this.isPseudoElement &&
          e?.isConnected &&
          this.animation.commitStyles?.();
      }
      get duration() {
        let e = this.animation.effect?.getComputedTiming?.().duration || 0;
        return ve(Number(e));
      }
      get iterationDuration() {
        let { delay: e = 0 } = this.options || {};
        return this.duration + ve(e);
      }
      get time() {
        return ve(Number(this.animation.currentTime) || 0);
      }
      set time(e) {
        let t = this.finishedTime !== null;
        ((this.manualStartTime = null),
          (this.finishedTime = null),
          (this.animation.currentTime = _e(e)),
          t && this.animation.pause());
      }
      get speed() {
        return this.animation.playbackRate;
      }
      set speed(e) {
        (e < 0 && (this.finishedTime = null),
          (this.animation.playbackRate = e));
      }
      get state() {
        return this.finishedTime === null
          ? this.animation.playState
          : `finished`;
      }
      get startTime() {
        return this.manualStartTime ?? Number(this.animation.startTime);
      }
      set startTime(e) {
        this.manualStartTime = this.animation.startTime = e;
      }
      attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
        return (
          this.allowFlatten &&
            this.animation.effect?.updateTiming({ easing: `linear` }),
          (this.animation.onfinish = null),
          e && xr()
            ? ((this.animation.timeline = e),
              t && (this.animation.rangeStart = t),
              n && (this.animation.rangeEnd = n),
              k)
            : r(this)
        );
      }
    },
    Ar = { anticipate: Ae, backInOut: ke, circInOut: Ne };
  function jr(e) {
    return e in Ar;
  }
  function Mr(e) {
    typeof e.ease == `string` && jr(e.ease) && (e.ease = Ar[e.ease]);
  }
  var Nr = 10,
    Pr = class extends kr {
      constructor(e) {
        (Mr(e),
          zn(e),
          super(e),
          e.startTime !== void 0 &&
            e.autoplay !== !1 &&
            (this.startTime = e.startTime),
          (this.options = e));
      }
      updateMotionValue(e) {
        let {
          motionValue: t,
          onUpdate: n,
          onComplete: r,
          element: i,
          ...a
        } = this.options;
        if (!t) return;
        if (e !== void 0) {
          t.set(e);
          return;
        }
        let o = new Hn({ ...a, autoplay: !1 }),
          s = Math.max(Nr, $e.now() - this.startTime),
          c = se(0, Nr, s - Nr),
          l = o.sample(s).value,
          { name: u } = this.options;
        (i && u && vr(i, u, l),
          t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c),
          o.stop());
      }
    },
    Fr = (e, t) =>
      t === `zIndex`
        ? !1
        : !!(
            typeof e == `number` ||
            Array.isArray(e) ||
            (typeof e == `string` &&
              (Wt.test(e) || e === `0`) &&
              !e.startsWith(`url(`))
          );
  function Ir(e) {
    let t = e[0];
    if (e.length === 1) return !0;
    for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
  }
  function Lr(e, t, n, r) {
    let i = e[0];
    if (i === null) return !1;
    if (t === `display` || t === `visibility`) return !0;
    let a = e[e.length - 1],
      o = Fr(i, t),
      s = Fr(a, t);
    return (
      D(
        o === s,
        `You are trying to animate ${t} from "${i}" to "${a}". "${o ? a : i}" is not an animatable value.`,
        `value-not-animatable`,
      ),
      !o || !s ? !1 : Ir(e) || ((n === `spring` || Dr(n)) && r)
    );
  }
  function Rr(e) {
    ((e.duration = 0), (e.type = `keyframes`));
  }
  var zr = new Set([`opacity`, `clipPath`, `filter`, `transform`]),
    Br = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
  function Vr(e) {
    for (let t = 0; t < e.length; t++)
      if (typeof e[t] == `string` && Br.test(e[t])) return !0;
    return !1;
  }
  var Hr = new Set([
      `color`,
      `backgroundColor`,
      `outlineColor`,
      `fill`,
      `stroke`,
      `borderColor`,
      `borderTopColor`,
      `borderRightColor`,
      `borderBottomColor`,
      `borderLeftColor`,
    ]),
    Ur = pe(() => Object.hasOwnProperty.call(Element.prototype, `animate`));
  function Wr(e) {
    let {
      motionValue: t,
      name: n,
      repeatDelay: r,
      repeatType: i,
      damping: a,
      type: o,
      keyframes: s,
    } = e;
    if (!(t?.owner?.current instanceof HTMLElement)) return !1;
    let { onUpdate: c, transformTemplate: l } = t.owner.getProps();
    return (
      Ur() &&
      n &&
      (zr.has(n) || (Hr.has(n) && Vr(s))) &&
      (n !== `transform` || !l) &&
      !c &&
      !r &&
      i !== `mirror` &&
      a !== 0 &&
      o !== `inertia`
    );
  }
  var Gr = 40,
    Kr = class extends Bn {
      constructor({
        autoplay: e = !0,
        delay: t = 0,
        type: n = `keyframes`,
        repeat: r = 0,
        repeatDelay: i = 0,
        repeatType: a = `loop`,
        keyframes: o,
        name: s,
        motionValue: c,
        element: l,
        ...u
      }) {
        (super(),
          (this.stop = () => {
            (this._animation && (this._animation.stop(), this.stopTimeline?.()),
              this.keyframeResolver?.cancel());
          }),
          (this.createdAt = $e.now()));
        let d = {
            autoplay: e,
            delay: t,
            type: n,
            repeat: r,
            repeatDelay: i,
            repeatType: a,
            name: s,
            motionValue: c,
            element: l,
            ...u,
          },
          f = l?.KeyframeResolver || gr;
        ((this.keyframeResolver = new f(
          o,
          (e, t, n) => this.onKeyframesResolved(e, t, d, !n),
          s,
          c,
          l,
        )),
          this.keyframeResolver?.scheduleResolve());
      }
      onKeyframesResolved(e, t, n, r) {
        this.keyframeResolver = void 0;
        let {
          name: i,
          type: a,
          velocity: o,
          delay: s,
          isHandoff: c,
          onUpdate: l,
        } = n;
        this.resolvedAt = $e.now();
        let u = !0;
        Lr(e, i, a, o) ||
          ((u = !1),
          (le.instantAnimations || !s) && l?.(Ln(e, n, t)),
          (e[0] = e[e.length - 1]),
          Rr(n),
          (n.repeat = 0));
        let d = {
            startTime: r
              ? this.resolvedAt && this.resolvedAt - this.createdAt > Gr
                ? this.resolvedAt
                : this.createdAt
              : void 0,
            finalKeyframe: t,
            ...n,
            keyframes: e,
          },
          f = u && !c && Wr(d),
          p = d.motionValue?.owner?.current,
          m;
        if (f)
          try {
            m = new Pr({ ...d, element: p });
          } catch {
            m = new Hn(d);
          }
        else m = new Hn(d);
        (m.finished
          .then(() => {
            this.notifyFinished();
          })
          .catch(k),
          (this.pendingTimeline &&=
            ((this.stopTimeline = m.attachTimeline(this.pendingTimeline)),
            void 0)),
          (this._animation = m));
      }
      get finished() {
        return this._animation ? this.animation.finished : this._finished;
      }
      then(e, t) {
        return this.finished.finally(e).then(() => {});
      }
      get animation() {
        return (
          this._animation || (this.keyframeResolver?.resume(), hr()),
          this._animation
        );
      }
      get duration() {
        return this.animation.duration;
      }
      get iterationDuration() {
        return this.animation.iterationDuration;
      }
      get time() {
        return this.animation.time;
      }
      set time(e) {
        this.animation.time = e;
      }
      get speed() {
        return this.animation.speed;
      }
      get state() {
        return this.animation.state;
      }
      set speed(e) {
        this.animation.speed = e;
      }
      get startTime() {
        return this.animation.startTime;
      }
      attachTimeline(e) {
        return (
          this._animation
            ? (this.stopTimeline = this.animation.attachTimeline(e))
            : (this.pendingTimeline = e),
          () => this.stop()
        );
      }
      play() {
        this.animation.play();
      }
      pause() {
        this.animation.pause();
      }
      complete() {
        this.animation.complete();
      }
      cancel() {
        (this._animation && this.animation.cancel(),
          this.keyframeResolver?.cancel());
      }
    };
  function qr(e, t, n, r = 0, i = 1) {
    let a = Array.from(e)
        .sort((e, t) => e.sortNodePosition(t))
        .indexOf(t),
      o = e.size,
      s = (o - 1) * r;
    return typeof n == `function` ? n(a, o) : i === 1 ? a * r : s - a * r;
  }
  var Jr = 30,
    Yr = (e) => !isNaN(parseFloat(e)),
    Xr = { current: void 0 },
    Zr = class {
      constructor(e, t = {}) {
        ((this.canTrackVelocity = null),
          (this.events = {}),
          (this.updateAndNotify = (e) => {
            let t = $e.now();
            if (
              (this.updatedAt !== t && this.setPrevFrameValue(),
              (this.prev = this.current),
              this.setCurrent(e),
              this.current !== this.prev &&
                (this.events.change?.notify(this.current), this.dependents))
            )
              for (let e of this.dependents) e.dirty();
          }),
          (this.hasAnimated = !1),
          this.setCurrent(e),
          (this.owner = t.owner));
      }
      setCurrent(e) {
        ((this.current = e),
          (this.updatedAt = $e.now()),
          this.canTrackVelocity === null &&
            e !== void 0 &&
            (this.canTrackVelocity = Yr(this.current)));
      }
      setPrevFrameValue(e = this.current) {
        ((this.prevFrameValue = e), (this.prevUpdatedAt = this.updatedAt));
      }
      onChange(e) {
        return (
          process.env.NODE_ENV !== `production` &&
            A(
              !1,
              `value.onChange(callback) is deprecated. Switch to value.on("change", callback).`,
            ),
          this.on(`change`, e)
        );
      }
      on(e, t) {
        this.events[e] || (this.events[e] = new ge());
        let n = this.events[e].add(t);
        return e === `change`
          ? () => {
              (n(),
                qe.read(() => {
                  this.events.change.getSize() || this.stop();
                }));
            }
          : n;
      }
      clearListeners() {
        for (let e in this.events) this.events[e].clear();
      }
      attach(e, t) {
        ((this.passiveEffect = e), (this.stopPassiveEffect = t));
      }
      set(e) {
        this.passiveEffect
          ? this.passiveEffect(e, this.updateAndNotify)
          : this.updateAndNotify(e);
      }
      setWithVelocity(e, t, n) {
        (this.set(t),
          (this.prev = void 0),
          (this.prevFrameValue = e),
          (this.prevUpdatedAt = this.updatedAt - n));
      }
      jump(e, t = !0) {
        (this.updateAndNotify(e),
          (this.prev = e),
          (this.prevUpdatedAt = this.prevFrameValue = void 0),
          t && this.stop(),
          this.stopPassiveEffect && this.stopPassiveEffect());
      }
      dirty() {
        this.events.change?.notify(this.current);
      }
      addDependent(e) {
        ((this.dependents ||= new Set()), this.dependents.add(e));
      }
      removeDependent(e) {
        this.dependents && this.dependents.delete(e);
      }
      get() {
        return (Xr.current && Xr.current.push(this), this.current);
      }
      getPrevious() {
        return this.prev;
      }
      getVelocity() {
        let e = $e.now();
        if (
          !this.canTrackVelocity ||
          this.prevFrameValue === void 0 ||
          e - this.updatedAt > Jr
        )
          return 0;
        let t = Math.min(this.updatedAt - this.prevUpdatedAt, Jr);
        return ye(
          parseFloat(this.current) - parseFloat(this.prevFrameValue),
          t,
        );
      }
      start(e) {
        return (
          this.stop(),
          new Promise((t) => {
            ((this.hasAnimated = !0),
              (this.animation = e(t)),
              this.events.animationStart &&
                this.events.animationStart.notify());
          }).then(() => {
            (this.events.animationComplete &&
              this.events.animationComplete.notify(),
              this.clearAnimation());
          })
        );
      }
      stop() {
        (this.animation &&
          (this.animation.stop(),
          this.events.animationCancel && this.events.animationCancel.notify()),
          this.clearAnimation());
      }
      isAnimating() {
        return !!this.animation;
      }
      clearAnimation() {
        delete this.animation;
      }
      destroy() {
        (this.dependents?.clear(),
          this.events.destroy?.notify(),
          this.clearListeners(),
          this.stop(),
          this.stopPassiveEffect && this.stopPassiveEffect());
      }
    };
  function Qr(e, t) {
    return new Zr(e, t);
  }
  function $r(e, t) {
    if (e?.inherit && t) {
      let { inherit: n, ...r } = e;
      return { ...t, ...r };
    }
    return e;
  }
  function ei(e, t) {
    let n = e?.[t] ?? e?.default ?? e;
    return n === e ? n : $r(n, e);
  }
  var ti = { type: `spring`, stiffness: 500, damping: 25, restSpeed: 10 },
    ni = (e) => ({
      type: `spring`,
      stiffness: 550,
      damping: e === 0 ? 2 * Math.sqrt(550) : 30,
      restSpeed: 10,
    }),
    ri = { type: `keyframes`, duration: 0.8 },
    ii = { type: `keyframes`, ease: [0.25, 0.1, 0.35, 1], duration: 0.3 },
    ai = (e, { keyframes: t }) =>
      t.length > 2
        ? ri
        : rr.has(e)
          ? e.startsWith(`scale`)
            ? ni(t[1])
            : ti
          : ii,
    oi = new Set([
      `when`,
      `delay`,
      `delayChildren`,
      `staggerChildren`,
      `staggerDirection`,
      `repeat`,
      `repeatType`,
      `repeatDelay`,
      `from`,
      `elapsed`,
    ]);
  function si(e) {
    for (let t in e) if (!oi.has(t)) return !0;
    return !1;
  }
  var ci =
      (e, t, n, r = {}, i, a) =>
      (o) => {
        let s = ei(r, e) || {},
          c = s.delay || r.delay || 0,
          { elapsed: l = 0 } = r;
        l -= _e(c);
        let u = {
          keyframes: Array.isArray(n) ? n : [null, n],
          ease: `easeOut`,
          velocity: t.getVelocity(),
          ...s,
          delay: -l,
          onUpdate: (e) => {
            (t.set(e), s.onUpdate && s.onUpdate(e));
          },
          onComplete: () => {
            (o(), s.onComplete && s.onComplete());
          },
          name: e,
          motionValue: t,
          element: a ? void 0 : i,
        };
        (si(s) || Object.assign(u, ai(e, u)),
          (u.duration &&= _e(u.duration)),
          (u.repeatDelay &&= _e(u.repeatDelay)),
          u.from !== void 0 && (u.keyframes[0] = u.from));
        let d = !1;
        if (
          ((u.type === !1 || (u.duration === 0 && !u.repeatDelay)) &&
            (Rr(u), u.delay === 0 && (d = !0)),
          (le.instantAnimations ||
            le.skipAnimations ||
            i?.shouldSkipAnimations ||
            s.skipAnimations) &&
            ((d = !0), Rr(u), (u.delay = 0)),
          (u.allowFlatten = !s.type && !s.ease),
          d && !a && t.get() !== void 0)
        ) {
          let e = Ln(u.keyframes, s);
          if (e !== void 0) {
            qe.update(() => {
              (u.onUpdate(e), u.onComplete());
            });
            return;
          }
        }
        return s.isSync ? new Hn(u) : new Kr(u);
      },
    li = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
  function ui(e) {
    let t = li.exec(e);
    if (!t) return [,];
    let [, n, r, i] = t;
    return [`--${n ?? r}`, i];
  }
  var di = 4;
  function fi(e, t, n = 1) {
    O(
      n <= di,
      `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,
      `max-css-var-depth`,
    );
    let [r, i] = ui(e);
    if (!r) return;
    let a = window.getComputedStyle(t).getPropertyValue(r);
    if (a) {
      let e = a.trim();
      return ue(e) ? parseFloat(e) : e;
    }
    return it(i) ? fi(i, t, n + 1) : i;
  }
  function pi(e) {
    let t = [{}, {}];
    return (
      e?.values.forEach((e, n) => {
        ((t[0][n] = e.get()), (t[1][n] = e.getVelocity()));
      }),
      t
    );
  }
  function mi(e, t, n, r) {
    if (typeof t == `function`) {
      let [i, a] = pi(r);
      t = t(n === void 0 ? e.custom : n, i, a);
    }
    if (
      (typeof t == `string` && (t = e.variants && e.variants[t]),
      typeof t == `function`)
    ) {
      let [i, a] = pi(r);
      t = t(n === void 0 ? e.custom : n, i, a);
    }
    return t;
  }
  function hi(e, t, n) {
    let r = e.getProps();
    return mi(r, t, n === void 0 ? r.custom : n, e);
  }
  var gi = new Set([
      `width`,
      `height`,
      `top`,
      `left`,
      `right`,
      `bottom`,
      ...nr,
    ]),
    _i = (e) => Array.isArray(e);
  function vi(e, t, n) {
    e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Qr(n));
  }
  function yi(e) {
    return _i(e) ? e[e.length - 1] || 0 : e;
  }
  function bi(e, t) {
    let { transitionEnd: n = {}, transition: r = {}, ...i } = hi(e, t) || {};
    i = { ...i, ...n };
    for (let t in i) vi(e, t, yi(i[t]));
  }
  var xi = (e) => !!(e && e.getVelocity);
  function Si(e) {
    return !!(xi(e) && e.add);
  }
  function Ci(e, t) {
    let n = e.getValue(`willChange`);
    if (Si(n)) return n.add(t);
    if (!n && le.WillChange) {
      let n = new le.WillChange(`auto`);
      (e.addValue(`willChange`, n), n.add(t));
    }
  }
  function wi(e) {
    return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
  }
  var Ti = `data-` + wi(`framerAppearId`);
  function Ei(e) {
    return e.props[Ti];
  }
  function Di({ protectedKeys: e, needsAnimating: t }, n) {
    let r = e.hasOwnProperty(n) && t[n] !== !0;
    return ((t[n] = !1), r);
  }
  function Oi(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
    let { transition: a, transitionEnd: o, ...s } = t,
      c = e.getDefaultTransition();
    a = a ? $r(a, c) : c;
    let l = a?.reduceMotion,
      u = a?.skipAnimations;
    r && (a = r);
    let d = [],
      f = i && e.animationState && e.animationState.getState()[i],
      p = a?.path;
    p && p.animateVisualElement(e, s, a, n, d);
    for (let t in s) {
      let r = e.getValue(t, e.latestValues[t] ?? null),
        i = s[t];
      if (i === void 0 || (f && Di(f, t))) continue;
      let o = { delay: n, ...ei(a || {}, t) };
      u && (o.skipAnimations = !0);
      let c = r.get();
      if (
        c !== void 0 &&
        !r.isAnimating() &&
        !Array.isArray(i) &&
        i === c &&
        !o.velocity
      ) {
        qe.update(() => r.set(i));
        continue;
      }
      let p = !1;
      if (window.MotionHandoffAnimation) {
        let n = Ei(e);
        if (n) {
          let e = window.MotionHandoffAnimation(n, t, qe);
          e !== null && ((o.startTime = e), (p = !0));
        }
      }
      Ci(e, t);
      let m = l ?? e.shouldReduceMotion;
      r.start(ci(t, r, i, m && gi.has(t) ? { type: !1 } : o, e, p));
      let h = r.animation;
      h && d.push(h);
    }
    if (o) {
      let t = () =>
        qe.update(() => {
          o && bi(e, o);
        });
      d.length ? Promise.all(d).then(t) : t();
    }
    return d;
  }
  function ki(e, t, n = {}) {
    let r = hi(e, t, n.type === `exit` ? e.presenceContext?.custom : void 0),
      { transition: i = e.getDefaultTransition() || {} } = r || {};
    n.transitionOverride && (i = n.transitionOverride);
    let a = r ? () => Promise.all(Oi(e, r, n)) : () => Promise.resolve(),
      o =
        e.variantChildren && e.variantChildren.size
          ? (r = 0) => {
              let {
                delayChildren: a = 0,
                staggerChildren: o,
                staggerDirection: s,
              } = i;
              return Ai(e, t, r, a, o, s, n);
            }
          : () => Promise.resolve(),
      { when: s } = i;
    if (s) {
      let [e, t] = s === `beforeChildren` ? [a, o] : [o, a];
      return e().then(() => t());
    } else return Promise.all([a(), o(n.delay)]);
  }
  function Ai(e, t, n = 0, r = 0, i = 0, a = 1, o) {
    let s = [];
    for (let c of e.variantChildren)
      (c.notify(`AnimationStart`, t),
        s.push(
          ki(c, t, {
            ...o,
            delay:
              n +
              (typeof r == `function` ? 0 : r) +
              qr(e.variantChildren, c, r, i, a),
          }).then(() => c.notify(`AnimationComplete`, t)),
        ));
    return Promise.all(s);
  }
  function ji(e, t, n = {}) {
    e.notify(`AnimationStart`, t);
    let r;
    if (Array.isArray(t)) {
      let i = t.map((t) => ki(e, t, n));
      r = Promise.all(i);
    } else if (typeof t == `string`) r = ki(e, t, n);
    else {
      let i = typeof t == `function` ? hi(e, t, n.custom) : t;
      r = Promise.all(Oi(e, i, n));
    }
    return r.then(() => {
      e.notify(`AnimationComplete`, t);
    });
  }
  var Mi = { test: (e) => e === `auto`, parse: (e) => e },
    Ni = (e) => (t) => t.test(e),
    Pi = [st, M, Ct, St, Tt, wt, Mi],
    Fi = (e) => Pi.find(Ni(e));
  function Ii(e) {
    return typeof e == `number`
      ? e === 0
      : e === null
        ? !0
        : e === `none` || e === `0` || fe(e);
  }
  var Li = new Set([`brightness`, `contrast`, `saturate`, `opacity`]);
  function Ri(e) {
    let [t, n] = e.slice(0, -1).split(`(`);
    if (t === `drop-shadow`) return e;
    let [r] = n.match(dt) || [];
    if (!r) return e;
    let i = n.replace(r, ``),
      a = +!!Li.has(t);
    return (r !== n && (a *= 100), t + `(` + a + i + `)`);
  }
  var zi = /\b([a-z-]*)\(.*?\)/gu,
    Bi = {
      ...Wt,
      getAnimatableNone: (e) => {
        let t = e.match(zi);
        return t ? t.map(Ri).join(` `) : e;
      },
    },
    N = {
      ...Wt,
      getAnimatableNone: (e) => {
        let t = Wt.parse(e);
        return Wt.createTransformer(e)(
          t.map((e) =>
            typeof e == `number`
              ? 0
              : typeof e == `object`
                ? { ...e, alpha: 1 }
                : e,
          ),
        );
      },
    },
    Vi = { ...st, transform: Math.round },
    Hi = {
      borderWidth: M,
      borderTopWidth: M,
      borderRightWidth: M,
      borderBottomWidth: M,
      borderLeftWidth: M,
      borderRadius: M,
      borderTopLeftRadius: M,
      borderTopRightRadius: M,
      borderBottomRightRadius: M,
      borderBottomLeftRadius: M,
      width: M,
      maxWidth: M,
      height: M,
      maxHeight: M,
      top: M,
      right: M,
      bottom: M,
      left: M,
      inset: M,
      insetBlock: M,
      insetBlockStart: M,
      insetBlockEnd: M,
      insetInline: M,
      insetInlineStart: M,
      insetInlineEnd: M,
      padding: M,
      paddingTop: M,
      paddingRight: M,
      paddingBottom: M,
      paddingLeft: M,
      paddingBlock: M,
      paddingBlockStart: M,
      paddingBlockEnd: M,
      paddingInline: M,
      paddingInlineStart: M,
      paddingInlineEnd: M,
      margin: M,
      marginTop: M,
      marginRight: M,
      marginBottom: M,
      marginLeft: M,
      marginBlock: M,
      marginBlockStart: M,
      marginBlockEnd: M,
      marginInline: M,
      marginInlineStart: M,
      marginInlineEnd: M,
      fontSize: M,
      backgroundPositionX: M,
      backgroundPositionY: M,
      rotate: St,
      pathRotation: St,
      rotateX: St,
      rotateY: St,
      rotateZ: St,
      scale: lt,
      scaleX: lt,
      scaleY: lt,
      scaleZ: lt,
      skew: St,
      skewX: St,
      skewY: St,
      distance: M,
      translateX: M,
      translateY: M,
      translateZ: M,
      x: M,
      y: M,
      z: M,
      perspective: M,
      transformPerspective: M,
      opacity: ct,
      originX: Et,
      originY: Et,
      originZ: M,
      zIndex: Vi,
      fillOpacity: ct,
      strokeOpacity: ct,
      numOctaves: Vi,
    },
    Ui = {
      ...Hi,
      color: Ot,
      backgroundColor: Ot,
      outlineColor: Ot,
      fill: Ot,
      stroke: Ot,
      borderColor: Ot,
      borderTopColor: Ot,
      borderRightColor: Ot,
      borderBottomColor: Ot,
      borderLeftColor: Ot,
      filter: Bi,
      WebkitFilter: Bi,
      mask: N,
      WebkitMask: N,
    },
    Wi = (e) => Ui[e],
    Gi = new Set([Bi, N]);
  function Ki(e, t) {
    let n = Wi(e);
    return (
      Gi.has(n) || (n = Wt),
      n.getAnimatableNone ? n.getAnimatableNone(t) : void 0
    );
  }
  var qi = new Set([`auto`, `none`, `0`]);
  function Ji(e, t, n) {
    let r = 0,
      i;
    for (; r < e.length && !i;) {
      let t = e[r];
      (typeof t == `string` && !qi.has(t) && Lt(t).values.length && (i = e[r]),
        r++);
    }
    if (i && n) for (let r of t) e[r] = Ki(n, i);
  }
  var Yi = class extends gr {
    constructor(e, t, n, r, i) {
      super(e, t, n, r, i, !0);
    }
    readKeyframes() {
      let { unresolvedKeyframes: e, element: t, name: n } = this;
      if (!t || !t.current) return;
      super.readKeyframes();
      for (let n = 0; n < e.length; n++) {
        let r = e[n];
        if (typeof r == `string` && ((r = r.trim()), it(r))) {
          let i = fi(r, t.current);
          (i !== void 0 && (e[n] = i),
            n === e.length - 1 && (this.finalKeyframe = r));
        }
      }
      if ((this.resolveNoneKeyframes(), !gi.has(n) || e.length !== 2)) return;
      let [r, i] = e,
        a = Fi(r),
        o = Fi(i);
      if (ot(r) !== ot(i) && cr[n]) {
        this.needsMeasurement = !0;
        return;
      }
      if (a !== o)
        if (ir(a) && ir(o))
          for (let t = 0; t < e.length; t++) {
            let n = e[t];
            typeof n == `string` && (e[t] = parseFloat(n));
          }
        else cr[n] && (this.needsMeasurement = !0);
    }
    resolveNoneKeyframes() {
      let { unresolvedKeyframes: e, name: t } = this,
        n = [];
      for (let t = 0; t < e.length; t++)
        (e[t] === null || Ii(e[t])) && n.push(t);
      n.length && Ji(e, n, t);
    }
    measureInitialState() {
      let { element: e, unresolvedKeyframes: t, name: n } = this;
      if (!e || !e.current) return;
      (n === `height` && (this.suspendedScrollY = window.pageYOffset),
        (this.measuredOrigin = cr[n](
          e.measureViewportBox(),
          window.getComputedStyle(e.current),
        )),
        (t[0] = this.measuredOrigin));
      let r = t[t.length - 1];
      r !== void 0 && e.getValue(n, r).jump(r, !1);
    }
    measureEndState() {
      let { element: e, name: t, unresolvedKeyframes: n } = this;
      if (!e || !e.current) return;
      let r = e.getValue(t);
      r && r.jump(this.measuredOrigin, !1);
      let i = n.length - 1,
        a = n[i];
      ((n[i] = cr[t](
        e.measureViewportBox(),
        window.getComputedStyle(e.current),
      )),
        a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a),
        this.removedTransforms?.length &&
          this.removedTransforms.forEach(([t, n]) => {
            e.getValue(t).set(n);
          }),
        this.resolveNoneKeyframes());
    }
  };
  function Xi(e, t, n) {
    if (e == null) return [];
    if (e instanceof EventTarget) return [e];
    if (typeof e == `string`) {
      let r = document;
      t && (r = t.current);
      let i = n?.[e] ?? r.querySelectorAll(e);
      return i ? Array.from(i) : [];
    }
    return Array.from(e).filter((e) => e != null);
  }
  var Zi = (e, t) => (t && typeof e == `number` ? t.transform(e) : e);
  function Qi(e) {
    return de(e) && `offsetHeight` in e && !(`ownerSVGElement` in e);
  }
  var { schedule: $i, cancel: ea } = Ke(queueMicrotask, !1),
    ta = { x: !1, y: !1 };
  function na() {
    return ta.x || ta.y;
  }
  function ra(e) {
    return e === `x` || e === `y`
      ? ta[e]
        ? null
        : ((ta[e] = !0),
          () => {
            ta[e] = !1;
          })
      : ta.x || ta.y
        ? null
        : ((ta.x = ta.y = !0),
          () => {
            ta.x = ta.y = !1;
          });
  }
  function ia(e, t) {
    let n = Xi(e),
      r = new AbortController();
    return [n, { passive: !0, ...t, signal: r.signal }, () => r.abort()];
  }
  function aa(e) {
    return !(e.pointerType === `touch` || na());
  }
  function oa(e, t, n = {}) {
    let [r, i, a] = ia(e, n);
    return (
      r.forEach((e) => {
        let n = !1,
          r = !1,
          a,
          o = () => {
            e.removeEventListener(`pointerleave`, u);
          },
          s = (e) => {
            ((a &&= (a(e), void 0)), o());
          },
          c = (e) => {
            ((n = !1),
              window.removeEventListener(`pointerup`, c),
              window.removeEventListener(`pointercancel`, c),
              r && ((r = !1), s(e)));
          },
          l = () => {
            ((n = !0),
              window.addEventListener(`pointerup`, c, i),
              window.addEventListener(`pointercancel`, c, i));
          },
          u = (e) => {
            if (e.pointerType !== `touch`) {
              if (n) {
                r = !0;
                return;
              }
              s(e);
            }
          };
        (e.addEventListener(
          `pointerenter`,
          (n) => {
            if (!aa(n)) return;
            r = !1;
            let o = t(e, n);
            typeof o == `function` &&
              ((a = o), e.addEventListener(`pointerleave`, u, i));
          },
          i,
        ),
          e.addEventListener(`pointerdown`, l, i));
      }),
      a
    );
  }
  var sa = (e, t) => (t ? (e === t ? !0 : sa(e, t.parentElement)) : !1),
    ca = (e) =>
      e.pointerType === `mouse`
        ? typeof e.button != `number` || e.button <= 0
        : e.isPrimary !== !1,
    la = new Set([`BUTTON`, `INPUT`, `SELECT`, `TEXTAREA`, `A`]);
  function ua(e) {
    return la.has(e.tagName) || e.isContentEditable === !0;
  }
  var da = new Set([`INPUT`, `SELECT`, `TEXTAREA`]);
  function fa(e) {
    return da.has(e.tagName) || e.isContentEditable === !0;
  }
  var pa = new WeakSet();
  function ma(e) {
    return (t) => {
      t.key === `Enter` && e(t);
    };
  }
  function ha(e, t) {
    e.dispatchEvent(
      new PointerEvent(`pointer` + t, { isPrimary: !0, bubbles: !0 }),
    );
  }
  var ga = (e, t) => {
    let n = e.currentTarget;
    if (!n) return;
    let r = ma(() => {
      if (pa.has(n)) return;
      ha(n, `down`);
      let e = ma(() => {
        ha(n, `up`);
      });
      (n.addEventListener(`keyup`, e, t),
        n.addEventListener(`blur`, () => ha(n, `cancel`), t));
    });
    (n.addEventListener(`keydown`, r, t),
      n.addEventListener(`blur`, () => n.removeEventListener(`keydown`, r), t));
  };
  function P(e) {
    return ca(e) && !na();
  }
  var F = new WeakSet();
  function _a(e, t, n = {}) {
    let [r, i, a] = ia(e, n),
      o = (e) => {
        let r = e.currentTarget;
        if (!P(e) || F.has(e)) return;
        (pa.add(r), n.stopPropagation && F.add(e));
        let a = t(r, e),
          o = (e, t) => {
            (window.removeEventListener(`pointerup`, s),
              window.removeEventListener(`pointercancel`, c),
              pa.has(r) && pa.delete(r),
              P(e) && typeof a == `function` && a(e, { success: t }));
          },
          s = (e) => {
            o(
              e,
              r === window ||
                r === document ||
                n.useGlobalTarget ||
                sa(r, e.target),
            );
          },
          c = (e) => {
            o(e, !1);
          };
        (window.addEventListener(`pointerup`, s, i),
          window.addEventListener(`pointercancel`, c, i));
      };
    return (
      r.forEach((e) => {
        ((n.useGlobalTarget ? window : e).addEventListener(`pointerdown`, o, i),
          Qi(e) &&
            (e.addEventListener(`focus`, (e) => ga(e, i)),
            !ua(e) && !e.hasAttribute(`tabindex`) && (e.tabIndex = 0)));
      }),
      a
    );
  }
  function va(e) {
    return de(e) && `ownerSVGElement` in e;
  }
  var ya = new WeakMap(),
    ba,
    xa = (e, t, n) => (r, i) =>
      i && i[0]
        ? i[0][e + `Size`]
        : va(r) && `getBBox` in r
          ? r.getBBox()[t]
          : r[n],
    Sa = xa(`inline`, `width`, `offsetWidth`),
    Ca = xa(`block`, `height`, `offsetHeight`);
  function wa({ target: e, borderBoxSize: t }) {
    ya.get(e)?.forEach((n) => {
      n(e, {
        get width() {
          return Sa(e, t);
        },
        get height() {
          return Ca(e, t);
        },
      });
    });
  }
  function Ta(e) {
    e.forEach(wa);
  }
  function Ea() {
    typeof ResizeObserver > `u` || (ba = new ResizeObserver(Ta));
  }
  function Da(e, t) {
    ba || Ea();
    let n = Xi(e);
    return (
      n.forEach((e) => {
        let n = ya.get(e);
        (n || ((n = new Set()), ya.set(e, n)), n.add(t), ba?.observe(e));
      }),
      () => {
        n.forEach((e) => {
          let n = ya.get(e);
          (n?.delete(t), n?.size || ba?.unobserve(e));
        });
      }
    );
  }
  var Oa = new Set(),
    I;
  function ka() {
    ((I = () => {
      let e = {
        get width() {
          return window.innerWidth;
        },
        get height() {
          return window.innerHeight;
        },
      };
      Oa.forEach((t) => t(e));
    }),
      window.addEventListener(`resize`, I));
  }
  function Aa(e) {
    return (
      Oa.add(e),
      I || ka(),
      () => {
        (Oa.delete(e),
          !Oa.size &&
            typeof I == `function` &&
            (window.removeEventListener(`resize`, I), (I = void 0)));
      }
    );
  }
  function ja(e, t) {
    return typeof e == `function` ? Aa(e) : Da(e, t);
  }
  function Ma(e) {
    return va(e) && e.tagName === `svg`;
  }
  var Na = [...Pi, Ot, Wt],
    Pa = (e) => Na.find(Ni(e)),
    Fa = () => ({ translate: 0, scale: 1, origin: 0, originPoint: 0 }),
    Ia = () => ({ x: Fa(), y: Fa() }),
    La = () => ({ min: 0, max: 0 }),
    Ra = () => ({ x: La(), y: La() }),
    za = new WeakMap();
  function Ba(e) {
    return typeof e == `object` && !!e && typeof e.start == `function`;
  }
  function Va(e) {
    return typeof e == `string` || Array.isArray(e);
  }
  var Ha = [
      `animate`,
      `whileInView`,
      `whileFocus`,
      `whileHover`,
      `whileTap`,
      `whileDrag`,
      `exit`,
    ],
    Ua = [`initial`, ...Ha];
  function Wa(e) {
    return Ba(e.animate) || Ua.some((t) => Va(e[t]));
  }
  function Ga(e) {
    return !!(Wa(e) || e.variants);
  }
  function Ka(e, t, n) {
    for (let r in t) {
      let i = t[r],
        a = n[r];
      if (xi(i)) e.addValue(r, i);
      else if (xi(a)) e.addValue(r, Qr(i, { owner: e }));
      else if (a !== i)
        if (e.hasValue(r)) {
          let t = e.getValue(r);
          t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
        } else {
          let t = e.getStaticValue(r);
          e.addValue(r, Qr(t === void 0 ? i : t, { owner: e }));
        }
    }
    for (let r in n) t[r] === void 0 && e.removeValue(r);
    return t;
  }
  var qa = { current: null },
    Ja = { current: !1 },
    Ya = typeof window < `u`;
  function Xa() {
    if (((Ja.current = !0), Ya))
      if (window.matchMedia) {
        let e = window.matchMedia(`(prefers-reduced-motion)`),
          t = () => (qa.current = e.matches);
        (e.addEventListener(`change`, t), t());
      } else qa.current = !1;
  }
  var Za = [
      `AnimationStart`,
      `AnimationComplete`,
      `Update`,
      `BeforeLayoutMeasure`,
      `LayoutMeasure`,
      `LayoutAnimationStart`,
      `LayoutAnimationComplete`,
    ],
    Qa = {};
  function $a(e) {
    Qa = e;
  }
  function eo() {
    return Qa;
  }
  var to = class {
      scrapeMotionValuesFromProps(e, t, n) {
        return {};
      }
      constructor(
        {
          parent: e,
          props: t,
          presenceContext: n,
          reducedMotionConfig: r,
          skipAnimations: i,
          blockInitialAnimation: a,
          visualState: o,
        },
        s = {},
      ) {
        ((this.current = null),
          (this.children = new Set()),
          (this.isVariantNode = !1),
          (this.isControllingVariants = !1),
          (this.shouldReduceMotion = null),
          (this.shouldSkipAnimations = !1),
          (this.values = new Map()),
          (this.KeyframeResolver = gr),
          (this.features = {}),
          (this.valueSubscriptions = new Map()),
          (this.prevMotionValues = {}),
          (this.hasBeenMounted = !1),
          (this.events = {}),
          (this.propEventSubscriptions = {}),
          (this.notifyUpdate = () => this.notify(`Update`, this.latestValues)),
          (this.render = () => {
            this.current &&
              (this.triggerBuild(),
              this.renderInstance(
                this.current,
                this.renderState,
                this.props.style,
                this.projection,
              ));
          }),
          (this.renderScheduledAt = 0),
          (this.scheduleRender = () => {
            let e = $e.now();
            this.renderScheduledAt < e &&
              ((this.renderScheduledAt = e), qe.render(this.render, !1, !0));
          }));
        let { latestValues: c, renderState: l } = o;
        ((this.latestValues = c),
          (this.baseTarget = { ...c }),
          (this.initialValues = t.initial ? { ...c } : {}),
          (this.renderState = l),
          (this.parent = e),
          (this.props = t),
          (this.presenceContext = n),
          (this.depth = e ? e.depth + 1 : 0),
          (this.reducedMotionConfig = r),
          (this.skipAnimationsConfig = i),
          (this.options = s),
          (this.blockInitialAnimation = !!a),
          (this.isControllingVariants = Wa(t)),
          (this.isVariantNode = Ga(t)),
          this.isVariantNode && (this.variantChildren = new Set()),
          (this.manuallyAnimateOnMount = !!(e && e.current)));
        let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(
          t,
          {},
          this,
        );
        for (let e in d) {
          let t = d[e];
          c[e] !== void 0 && xi(t) && t.set(c[e]);
        }
      }
      mount(e) {
        if (this.hasBeenMounted)
          for (let e in this.initialValues)
            (this.values.get(e)?.jump(this.initialValues[e]),
              (this.latestValues[e] = this.initialValues[e]));
        ((this.current = e),
          za.set(e, this),
          this.projection &&
            !this.projection.instance &&
            this.projection.mount(e),
          this.parent &&
            this.isVariantNode &&
            !this.isControllingVariants &&
            (this.removeFromVariantTree = this.parent.addVariantChild(this)),
          this.values.forEach((e, t) => this.bindToMotionValue(t, e)),
          this.reducedMotionConfig === `never`
            ? (this.shouldReduceMotion = !1)
            : this.reducedMotionConfig === `always`
              ? (this.shouldReduceMotion = !0)
              : (Ja.current || Xa(), (this.shouldReduceMotion = qa.current)),
          process.env.NODE_ENV !== `production` &&
            A(
              this.shouldReduceMotion !== !0,
              `You have Reduced Motion enabled on your device. Animations may not appear as expected.`,
              `reduced-motion-disabled`,
            ),
          (this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1),
          this.parent?.addChild(this),
          this.update(this.props, this.presenceContext),
          (this.hasBeenMounted = !0));
      }
      unmount() {
        (this.projection && this.projection.unmount(),
          Je(this.notifyUpdate),
          Je(this.render),
          this.valueSubscriptions.forEach((e) => e()),
          this.valueSubscriptions.clear(),
          this.removeFromVariantTree && this.removeFromVariantTree(),
          this.parent?.removeChild(this));
        for (let e in this.events) this.events[e].clear();
        for (let e in this.features) {
          let t = this.features[e];
          t && (t.unmount(), (t.isMounted = !1));
        }
        this.current = null;
      }
      addChild(e) {
        (this.children.add(e),
          (this.enteringChildren ??= new Set()),
          this.enteringChildren.add(e));
      }
      removeChild(e) {
        (this.children.delete(e),
          this.enteringChildren && this.enteringChildren.delete(e));
      }
      bindToMotionValue(e, t) {
        if (
          (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(),
          t.accelerate && zr.has(e) && this.current instanceof HTMLElement)
        ) {
          let {
              factory: n,
              keyframes: r,
              times: i,
              ease: a,
              duration: o,
            } = t.accelerate,
            s = new kr({
              element: this.current,
              name: e,
              keyframes: r,
              times: i,
              ease: a,
              duration: _e(o),
            }),
            c = n(s);
          this.valueSubscriptions.set(e, () => {
            (c(), s.cancel());
          });
          return;
        }
        let n = rr.has(e);
        n && this.onBindTransform && this.onBindTransform();
        let r = t.on(`change`, (t) => {
            ((this.latestValues[e] = t),
              this.props.onUpdate && qe.preRender(this.notifyUpdate),
              n && this.projection && (this.projection.isTransformDirty = !0),
              this.scheduleRender());
          }),
          i;
        (typeof window < `u` &&
          window.MotionCheckAppearSync &&
          (i = window.MotionCheckAppearSync(this, e, t)),
          this.valueSubscriptions.set(e, () => {
            (r(), i && i());
          }));
      }
      sortNodePosition(e) {
        return !this.current ||
          !this.sortInstanceNodePosition ||
          this.type !== e.type
          ? 0
          : this.sortInstanceNodePosition(this.current, e.current);
      }
      updateFeatures() {
        let e = `animation`;
        for (e in Qa) {
          let t = Qa[e];
          if (!t) continue;
          let { isEnabled: n, Feature: r } = t;
          if (
            (!this.features[e] &&
              r &&
              n(this.props) &&
              (this.features[e] = new r(this)),
            this.features[e])
          ) {
            let t = this.features[e];
            t.isMounted ? t.update() : (t.mount(), (t.isMounted = !0));
          }
        }
      }
      triggerBuild() {
        this.build(this.renderState, this.latestValues, this.props);
      }
      measureViewportBox() {
        return this.current
          ? this.measureInstanceViewportBox(this.current, this.props)
          : Ra();
      }
      getStaticValue(e) {
        return this.latestValues[e];
      }
      setStaticValue(e, t) {
        this.latestValues[e] = t;
      }
      update(e, t) {
        ((e.transformTemplate || this.props.transformTemplate) &&
          this.scheduleRender(),
          (this.prevProps = this.props),
          (this.props = e),
          (this.prevPresenceContext = this.presenceContext),
          (this.presenceContext = t));
        for (let t = 0; t < Za.length; t++) {
          let n = Za[t];
          this.propEventSubscriptions[n] &&
            (this.propEventSubscriptions[n](),
            delete this.propEventSubscriptions[n]);
          let r = e[`on` + n];
          r && (this.propEventSubscriptions[n] = this.on(n, r));
        }
        ((this.prevMotionValues = Ka(
          this,
          this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this),
          this.prevMotionValues,
        )),
          this.handleChildMotionValue && this.handleChildMotionValue());
      }
      getProps() {
        return this.props;
      }
      getVariant(e) {
        return this.props.variants ? this.props.variants[e] : void 0;
      }
      getDefaultTransition() {
        return this.props.transition;
      }
      getTransformPagePoint() {
        return this.props.transformPagePoint;
      }
      getClosestVariantNode() {
        return this.isVariantNode
          ? this
          : this.parent
            ? this.parent.getClosestVariantNode()
            : void 0;
      }
      addVariantChild(e) {
        let t = this.getClosestVariantNode();
        if (t)
          return (
            t.variantChildren && t.variantChildren.add(e),
            () => t.variantChildren.delete(e)
          );
      }
      addValue(e, t) {
        let n = this.values.get(e);
        t !== n &&
          (n && this.removeValue(e),
          this.bindToMotionValue(e, t),
          this.values.set(e, t),
          (this.latestValues[e] = t.get()));
      }
      removeValue(e) {
        this.values.delete(e);
        let t = this.valueSubscriptions.get(e);
        (t && (t(), this.valueSubscriptions.delete(e)),
          delete this.latestValues[e],
          this.removeValueFromRenderState(e, this.renderState));
      }
      hasValue(e) {
        return this.values.has(e);
      }
      getValue(e, t) {
        if (this.props.values && this.props.values[e])
          return this.props.values[e];
        let n = this.values.get(e);
        return (
          n === void 0 &&
            t !== void 0 &&
            ((n = Qr(t === null ? void 0 : t, { owner: this })),
            this.addValue(e, n)),
          n
        );
      }
      readValue(e, t) {
        let n =
          this.latestValues[e] !== void 0 || !this.current
            ? this.latestValues[e]
            : (this.getBaseTargetFromProps(this.props, e) ??
              this.readValueFromInstance(this.current, e, this.options));
        return (
          n != null &&
            (typeof n == `string` && (ue(n) || fe(n))
              ? (n = parseFloat(n))
              : !Pa(n) && Wt.test(t) && (n = Ki(e, t)),
            this.setBaseTarget(e, xi(n) ? n.get() : n)),
          xi(n) ? n.get() : n
        );
      }
      setBaseTarget(e, t) {
        this.baseTarget[e] = t;
      }
      getBaseTarget(e) {
        let { initial: t } = this.props,
          n;
        if (typeof t == `string` || typeof t == `object`) {
          let r = mi(this.props, t, this.presenceContext?.custom);
          r && (n = r[e]);
        }
        if (t && n !== void 0) return n;
        let r = this.getBaseTargetFromProps(this.props, e);
        return r !== void 0 && !xi(r)
          ? r
          : this.initialValues[e] !== void 0 && n === void 0
            ? void 0
            : this.baseTarget[e];
      }
      on(e, t) {
        return (
          this.events[e] || (this.events[e] = new ge()),
          this.events[e].add(t)
        );
      }
      notify(e, ...t) {
        this.events[e] && this.events[e].notify(...t);
      }
      scheduleRenderMicrotask() {
        $i.render(this.render);
      }
    },
    no = class extends to {
      constructor() {
        (super(...arguments), (this.KeyframeResolver = Yi));
      }
      sortInstanceNodePosition(e, t) {
        return e.compareDocumentPosition(t) & 2 ? 1 : -1;
      }
      getBaseTargetFromProps(e, t) {
        let n = e.style;
        return n ? n[t] : void 0;
      }
      removeValueFromRenderState(e, { vars: t, style: n }) {
        (delete t[e], delete n[e]);
      }
      handleChildMotionValue() {
        this.childSubscription &&
          (this.childSubscription(), delete this.childSubscription);
        let { children: e } = this.props;
        xi(e) &&
          (this.childSubscription = e.on(`change`, (e) => {
            this.current && (this.current.textContent = `${e}`);
          }));
      }
    },
    ro = class {
      constructor(e) {
        ((this.isMounted = !1), (this.node = e));
      }
      update() {}
    };
  function io({ top: e, left: t, right: n, bottom: r }) {
    return { x: { min: t, max: n }, y: { min: e, max: r } };
  }
  function ao({ x: e, y: t }) {
    return { top: t.min, right: e.max, bottom: t.max, left: e.min };
  }
  function oo(e, t) {
    if (!t) return e;
    let n = t({ x: e.left, y: e.top }),
      r = t({ x: e.right, y: e.bottom });
    return { top: n.y, left: n.x, bottom: r.y, right: r.x };
  }
  function so(e) {
    return e === void 0 || e === 1;
  }
  function co({ scale: e, scaleX: t, scaleY: n }) {
    return !so(e) || !so(t) || !so(n);
  }
  function lo(e) {
    return (
      co(e) ||
      uo(e) ||
      e.z ||
      e.rotate ||
      e.rotateX ||
      e.rotateY ||
      e.skewX ||
      e.skewY
    );
  }
  function uo(e) {
    return fo(e.x) || fo(e.y);
  }
  function fo(e) {
    return e && e !== `0%`;
  }
  function po(e, t, n) {
    return n + t * (e - n);
  }
  function mo(e, t, n, r, i) {
    return (i !== void 0 && (e = po(e, i, r)), po(e, n, r) + t);
  }
  function ho(e, t = 0, n = 1, r, i) {
    ((e.min = mo(e.min, t, n, r, i)), (e.max = mo(e.max, t, n, r, i)));
  }
  function go(e, { x: t, y: n }) {
    (ho(e.x, t.translate, t.scale, t.originPoint),
      ho(e.y, n.translate, n.scale, n.originPoint));
  }
  var L = 0.999999999999,
    _o = 1.0000000000001;
  function vo(e, t, n, r = !1) {
    let i = n.length;
    if (!i) return;
    t.x = t.y = 1;
    let a, o;
    for (let s = 0; s < i; s++) {
      ((a = n[s]), (o = a.projectionDelta));
      let { visualElement: i } = a.options;
      (i && i.props.style && i.props.style.display === `contents`) ||
        (r &&
          a.options.layoutScroll &&
          a.scroll &&
          a !== a.root &&
          (yo(e.x, -a.scroll.offset.x), yo(e.y, -a.scroll.offset.y)),
        o && ((t.x *= o.x.scale), (t.y *= o.y.scale), go(e, o)),
        r && lo(a.latestValues) && So(e, a.latestValues, a.layout?.layoutBox));
    }
    (t.x < _o && t.x > L && (t.x = 1), t.y < _o && t.y > L && (t.y = 1));
  }
  function yo(e, t) {
    ((e.min += t), (e.max += t));
  }
  function bo(e, t, n, r, i = 0.5) {
    ho(e, t, n, Jt(e.min, e.max, i), r);
  }
  function xo(e, t) {
    return typeof e == `string` ? (parseFloat(e) / 100) * (t.max - t.min) : e;
  }
  function So(e, t, n) {
    let r = n ?? e;
    (bo(e.x, xo(t.x, r.x), t.scaleX, t.scale, t.originX),
      bo(e.y, xo(t.y, r.y), t.scaleY, t.scale, t.originY));
  }
  function Co(e, t) {
    return io(oo(e.getBoundingClientRect(), t));
  }
  function wo(e, t, n) {
    let r = Co(e, n),
      { scroll: i } = t;
    return (i && (yo(r.x, i.offset.x), yo(r.y, i.offset.y)), r);
  }
  var To = {
      x: `translateX`,
      y: `translateY`,
      z: `translateZ`,
      transformPerspective: `perspective`,
    },
    Eo = nr.length;
  function Do(e, t, n) {
    let r = ``,
      i = !0;
    for (let a = 0; a < Eo; a++) {
      let o = nr[a],
        s = e[o];
      if (s === void 0) continue;
      let c = !0;
      if (typeof s == `number`) c = s === +!!o.startsWith(`scale`);
      else {
        let e = parseFloat(s);
        c = o.startsWith(`scale`) ? e === 1 : e === 0;
      }
      if (!c || n) {
        let e = Zi(s, Hi[o]);
        if (!c) {
          i = !1;
          let t = To[o] || o;
          r += `${t}(${e}) `;
        }
        n && (t[o] = e);
      }
    }
    let a = e.pathRotation;
    return (
      a && ((i = !1), (r += `rotate(${Zi(a, Hi.pathRotation)}) `)),
      (r = r.trim()),
      n ? (r = n(t, i ? `` : r)) : i && (r = `none`),
      r
    );
  }
  function Oo(e, t, n) {
    let { style: r, vars: i, transformOrigin: a } = e,
      o = !1,
      s = !1;
    for (let e in t) {
      let n = t[e];
      if (rr.has(e)) {
        o = !0;
        continue;
      } else if (nt(e)) {
        i[e] = n;
        continue;
      } else {
        let t = Zi(n, Hi[e]);
        e.startsWith(`origin`) ? ((s = !0), (a[e] = t)) : (r[e] = t);
      }
    }
    if (
      (t.transform ||
        (o || n
          ? (r.transform = Do(t, e.transform, n))
          : (r.transform &&= `none`)),
      s)
    ) {
      let { originX: e = `50%`, originY: t = `50%`, originZ: n = 0 } = a;
      r.transformOrigin = `${e} ${t} ${n}`;
    }
  }
  function ko(e, { style: t, vars: n }, r, i) {
    let a = e.style,
      o;
    for (o in t) a[o] = t[o];
    for (o in (i?.applyProjectionStyles(a, r), n)) a.setProperty(o, n[o]);
  }
  function Ao(e, t) {
    return t.max === t.min ? 0 : (e / (t.max - t.min)) * 100;
  }
  var jo = {
      correct: (e, t) => {
        if (!t.target) return e;
        if (typeof e == `string`)
          if (M.test(e)) e = parseFloat(e);
          else return e;
        return `${Ao(e, t.target.x)}% ${Ao(e, t.target.y)}%`;
      },
    },
    Mo = {
      correct: (e, { treeScale: t, projectionDelta: n }) => {
        let r = e,
          i = Wt.parse(e);
        if (i.length > 5) return r;
        let a = Wt.createTransformer(e),
          o = typeof i[0] == `number` ? 0 : 1,
          s = n.x.scale * t.x,
          c = n.y.scale * t.y;
        ((i[0 + o] /= s), (i[1 + o] /= c));
        let l = Jt(s, c, 0.5);
        return (
          typeof i[2 + o] == `number` && (i[2 + o] /= l),
          typeof i[3 + o] == `number` && (i[3 + o] /= l),
          a(i)
        );
      },
    },
    No = {
      borderRadius: {
        ...jo,
        applyTo: [
          `borderTopLeftRadius`,
          `borderTopRightRadius`,
          `borderBottomLeftRadius`,
          `borderBottomRightRadius`,
        ],
      },
      borderTopLeftRadius: jo,
      borderTopRightRadius: jo,
      borderBottomLeftRadius: jo,
      borderBottomRightRadius: jo,
      boxShadow: Mo,
    };
  function Po(e, { layout: t, layoutId: n }) {
    return (
      rr.has(e) ||
      e.startsWith(`origin`) ||
      ((t || n !== void 0) && (!!No[e] || e === `opacity`))
    );
  }
  function Fo(e, t, n) {
    let r = e.style,
      i = t?.style,
      a = {};
    if (!r) return a;
    for (let t in r)
      (xi(r[t]) ||
        (i && xi(i[t])) ||
        Po(t, e) ||
        n?.getValue(t)?.liveStyle !== void 0) &&
        (a[t] = r[t]);
    return a;
  }
  function Io(e) {
    return window.getComputedStyle(e);
  }
  var Lo = class extends no {
      constructor() {
        (super(...arguments), (this.type = `html`), (this.renderInstance = ko));
      }
      readValueFromInstance(e, t) {
        if (rr.has(t)) return this.projection?.isProjecting ? Qn(t) : er(e, t);
        {
          let n = Io(e),
            r = (nt(t) ? n.getPropertyValue(t) : n[t]) || 0;
          return typeof r == `string` ? r.trim() : r;
        }
      }
      measureInstanceViewportBox(e, { transformPagePoint: t }) {
        return Co(e, t);
      }
      build(e, t, n) {
        Oo(e, t, n.transformTemplate);
      }
      scrapeMotionValuesFromProps(e, t, n) {
        return Fo(e, t, n);
      }
    },
    Ro = { offset: `stroke-dashoffset`, array: `stroke-dasharray` },
    zo = { offset: `strokeDashoffset`, array: `strokeDasharray` };
  function Bo(e, t, n = 1, r = 0, i = !0) {
    e.pathLength = 1;
    let a = i ? Ro : zo;
    ((e[a.offset] = `${-r}`), (e[a.array] = `${t} ${n}`));
  }
  var Vo = [`offsetDistance`, `offsetPath`, `offsetRotate`, `offsetAnchor`];
  function Ho(
    e,
    {
      attrX: t,
      attrY: n,
      attrScale: r,
      pathLength: i,
      pathSpacing: a = 1,
      pathOffset: o = 0,
      ...s
    },
    c,
    l,
    u,
  ) {
    if ((Oo(e, s, l), c)) {
      e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
      return;
    }
    ((e.attrs = e.style), (e.style = {}));
    let { attrs: d, style: f } = e;
    (d.transform && ((f.transform = d.transform), delete d.transform),
      (f.transform || d.transformOrigin) &&
        ((f.transformOrigin = d.transformOrigin ?? `50% 50%`),
        delete d.transformOrigin),
      f.transform &&
        ((f.transformBox = u?.transformBox ?? `fill-box`),
        delete d.transformBox));
    for (let e of Vo) d[e] !== void 0 && ((f[e] = d[e]), delete d[e]);
    (t !== void 0 && (d.x = t),
      n !== void 0 && (d.y = n),
      r !== void 0 && (d.scale = r),
      i !== void 0 && Bo(d, i, a, o, !1));
  }
  var Uo = new Set([
      `baseFrequency`,
      `diffuseConstant`,
      `kernelMatrix`,
      `kernelUnitLength`,
      `keySplines`,
      `keyTimes`,
      `limitingConeAngle`,
      `markerHeight`,
      `markerWidth`,
      `numOctaves`,
      `targetX`,
      `targetY`,
      `surfaceScale`,
      `specularConstant`,
      `specularExponent`,
      `stdDeviation`,
      `tableValues`,
      `viewBox`,
      `gradientTransform`,
      `pathLength`,
      `startOffset`,
      `textLength`,
      `lengthAdjust`,
    ]),
    Wo = (e) => typeof e == `string` && e.toLowerCase() === `svg`;
  function Go(e, t, n, r) {
    ko(e, t, void 0, r);
    for (let n in t.attrs) e.setAttribute(Uo.has(n) ? n : wi(n), t.attrs[n]);
  }
  function Ko(e, t, n) {
    let r = Fo(e, t, n);
    for (let n in e)
      if (xi(e[n]) || xi(t[n])) {
        let t =
          nr.indexOf(n) === -1
            ? n
            : `attr` + n.charAt(0).toUpperCase() + n.substring(1);
        r[t] = e[n];
      }
    return r;
  }
  var qo = class extends no {
      constructor() {
        (super(...arguments),
          (this.type = `svg`),
          (this.isSVGTag = !1),
          (this.measureInstanceViewportBox = Ra));
      }
      getBaseTargetFromProps(e, t) {
        return e[t];
      }
      readValueFromInstance(e, t) {
        if (rr.has(t)) {
          let e = Wi(t);
          return (e && e.default) || 0;
        }
        return ((t = Uo.has(t) ? t : wi(t)), e.getAttribute(t));
      }
      scrapeMotionValuesFromProps(e, t, n) {
        return Ko(e, t, n);
      }
      build(e, t, n) {
        Ho(e, t, this.isSVGTag, n.transformTemplate, n.style);
      }
      renderInstance(e, t, n, r) {
        Go(e, t, n, r);
      }
      mount(e) {
        ((this.isSVGTag = Wo(e.tagName)), super.mount(e));
      }
    },
    Jo = Ua.length;
  function Yo(e) {
    if (!e) return;
    if (!e.isControllingVariants) {
      let t = (e.parent && Yo(e.parent)) || {};
      return (e.props.initial !== void 0 && (t.initial = e.props.initial), t);
    }
    let t = {};
    for (let n = 0; n < Jo; n++) {
      let r = Ua[n],
        i = e.props[r];
      (Va(i) || i === !1) && (t[r] = i);
    }
    return t;
  }
  function Xo(e, t) {
    if (!Array.isArray(t)) return !1;
    let n = t.length;
    if (n !== e.length) return !1;
    for (let r = 0; r < n; r++) if (t[r] !== e[r]) return !1;
    return !0;
  }
  var Zo = [...Ha].reverse(),
    Qo = Ha.length;
  function $o(e) {
    return (t) =>
      Promise.all(t.map(({ animation: t, options: n }) => ji(e, t, n)));
  }
  function es(e) {
    let t = $o(e),
      n = rs(),
      r = !0,
      i = !1,
      a = (t) => (n, r) => {
        let i = hi(e, r, t === `exit` ? e.presenceContext?.custom : void 0);
        if (i) {
          let { transition: e, transitionEnd: t, ...r } = i;
          n = { ...n, ...r, ...t };
        }
        return n;
      };
    function o(n) {
      t = n(e);
    }
    function s(o) {
      let { props: s } = e,
        c = Yo(e.parent) || {},
        l = [],
        u = new Set(),
        d = {},
        f = 1 / 0;
      for (let t = 0; t < Qo; t++) {
        let p = Zo[t],
          m = n[p],
          h = s[p] === void 0 ? c[p] : s[p],
          g = Va(h),
          _ = p === o ? m.isActive : null;
        _ === !1 && (f = t);
        let v = h === c[p] && h !== s[p] && g;
        if (
          (v && (r || i) && e.manuallyAnimateOnMount && (v = !1),
          (m.protectedKeys = { ...d }),
          (!m.isActive && _ === null) ||
            (!h && !m.prevProp) ||
            Ba(h) ||
            typeof h == `boolean`)
        )
          continue;
        if (p === `exit` && m.isActive && _ !== !0) {
          m.prevResolvedValues && (d = { ...d, ...m.prevResolvedValues });
          continue;
        }
        let y = ts(m.prevProp, h),
          b = y || (p === o && m.isActive && !v && g) || (t > f && g),
          x = !1,
          ee = Array.isArray(h) ? h : [h],
          te = ee.reduce(a(p), {});
        _ === !1 && (te = {});
        let { prevResolvedValues: S = {} } = m,
          ne = { ...S, ...te },
          re = (t) => {
            ((b = !0),
              u.has(t) && ((x = !0), u.delete(t)),
              (m.needsAnimating[t] = !0));
            let n = e.getValue(t);
            n && (n.liveStyle = !1);
          };
        for (let e in ne) {
          let t = te[e],
            n = S[e];
          if (d.hasOwnProperty(e)) continue;
          let r = !1;
          ((r = _i(t) && _i(n) ? !Xo(t, n) || y : t !== n),
            r
              ? t == null
                ? u.add(e)
                : re(e)
              : t !== void 0 && u.has(e)
                ? re(e)
                : (m.protectedKeys[e] = !0));
        }
        ((m.prevProp = h),
          (m.prevResolvedValues = te),
          m.isActive && (d = { ...d, ...te }),
          (r || i) && e.blockInitialAnimation && (b = !1));
        let C = v && y;
        b &&
          (!C || x) &&
          l.push(
            ...ee.map((t) => {
              let n = { type: p };
              if (
                typeof t == `string` &&
                (r || i) &&
                !C &&
                e.manuallyAnimateOnMount &&
                e.parent
              ) {
                let { parent: r } = e,
                  i = hi(r, t);
                if (r.enteringChildren && i) {
                  let { delayChildren: t } = i.transition || {};
                  n.delay = qr(r.enteringChildren, e, t);
                }
              }
              return { animation: t, options: n };
            }),
          );
      }
      if (u.size) {
        let t = {};
        if (typeof s.initial != `boolean`) {
          let n = hi(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
          n && n.transition && (t.transition = n.transition);
        }
        (u.forEach((n) => {
          let r = e.getBaseTarget(n),
            i = e.getValue(n);
          (i && (i.liveStyle = !0), (t[n] = r ?? null));
        }),
          l.push({ animation: t }));
      }
      let p = !!l.length;
      return (
        r &&
          (s.initial === !1 || s.initial === s.animate) &&
          !e.manuallyAnimateOnMount &&
          (p = !1),
        (r = !1),
        (i = !1),
        p ? t(l) : Promise.resolve()
      );
    }
    function c(t, r) {
      if (n[t].isActive === r) return Promise.resolve();
      (e.variantChildren?.forEach((e) => e.animationState?.setActive(t, r)),
        (n[t].isActive = r));
      let i = s(t);
      for (let e in n) n[e].protectedKeys = {};
      return i;
    }
    return {
      animateChanges: s,
      setActive: c,
      setAnimateFunction: o,
      getState: () => n,
      reset: () => {
        ((n = rs()), (i = !0));
      },
    };
  }
  function ts(e, t) {
    return typeof t == `string` ? t !== e : Array.isArray(t) ? !Xo(t, e) : !1;
  }
  function ns(e = !1) {
    return {
      isActive: e,
      protectedKeys: {},
      needsAnimating: {},
      prevResolvedValues: {},
    };
  }
  function rs() {
    return {
      animate: ns(!0),
      whileInView: ns(),
      whileHover: ns(),
      whileTap: ns(),
      whileDrag: ns(),
      whileFocus: ns(),
      exit: ns(),
    };
  }
  function is(e, t) {
    ((e.min = t.min), (e.max = t.max));
  }
  function as(e, t) {
    (is(e.x, t.x), is(e.y, t.y));
  }
  function os(e, t) {
    ((e.translate = t.translate),
      (e.scale = t.scale),
      (e.originPoint = t.originPoint),
      (e.origin = t.origin));
  }
  var ss = 0.9999,
    cs = 1.0001,
    ls = -0.01,
    us = 0.01;
  function ds(e) {
    return e.max - e.min;
  }
  function fs(e, t, n) {
    return Math.abs(e - t) <= n;
  }
  function ps(e, t, n, r = 0.5) {
    ((e.origin = r),
      (e.originPoint = Jt(t.min, t.max, e.origin)),
      (e.scale = ds(n) / ds(t)),
      (e.translate = Jt(n.min, n.max, e.origin) - e.originPoint),
      ((e.scale >= ss && e.scale <= cs) || isNaN(e.scale)) && (e.scale = 1),
      ((e.translate >= ls && e.translate <= us) || isNaN(e.translate)) &&
        (e.translate = 0));
  }
  function ms(e, t, n, r) {
    (ps(e.x, t.x, n.x, r ? r.originX : void 0),
      ps(e.y, t.y, n.y, r ? r.originY : void 0));
  }
  function hs(e, t, n, r = 0) {
    ((e.min = (r ? Jt(n.min, n.max, r) : n.min) + t.min),
      (e.max = e.min + ds(t)));
  }
  function gs(e, t, n, r) {
    (hs(e.x, t.x, n.x, r?.x), hs(e.y, t.y, n.y, r?.y));
  }
  function _s(e, t, n, r = 0) {
    let i = r ? Jt(n.min, n.max, r) : n.min;
    ((e.min = t.min - i), (e.max = e.min + ds(t)));
  }
  function vs(e, t, n, r) {
    (_s(e.x, t.x, n.x, r?.x), _s(e.y, t.y, n.y, r?.y));
  }
  function ys(e, t, n, r, i) {
    return (
      (e -= t),
      (e = po(e, 1 / n, r)),
      i !== void 0 && (e = po(e, 1 / i, r)),
      e
    );
  }
  function bs(e, t = 0, n = 1, r = 0.5, i, a = e, o = e) {
    if (
      (Ct.test(t) &&
        ((t = parseFloat(t)), (t = Jt(o.min, o.max, t / 100) - o.min)),
      typeof t != `number`)
    )
      return;
    let s = Jt(a.min, a.max, r);
    (e === a && (s -= t),
      (e.min = ys(e.min, t, n, s, i)),
      (e.max = ys(e.max, t, n, s, i)));
  }
  function xs(e, t, [n, r, i], a, o) {
    bs(e, t[n], t[r], t[i], t.scale, a, o);
  }
  var Ss = [`x`, `scaleX`, `originX`],
    Cs = [`y`, `scaleY`, `originY`];
  function ws(e, t, n, r) {
    (xs(e.x, t, Ss, n ? n.x : void 0, r ? r.x : void 0),
      xs(e.y, t, Cs, n ? n.y : void 0, r ? r.y : void 0));
  }
  function Ts(e) {
    return e.translate === 0 && e.scale === 1;
  }
  function Es(e) {
    return Ts(e.x) && Ts(e.y);
  }
  function Ds(e, t) {
    return e.min === t.min && e.max === t.max;
  }
  function Os(e, t) {
    return Ds(e.x, t.x) && Ds(e.y, t.y);
  }
  function ks(e, t) {
    return (
      Math.round(e.min) === Math.round(t.min) &&
      Math.round(e.max) === Math.round(t.max)
    );
  }
  function As(e, t) {
    return ks(e.x, t.x) && ks(e.y, t.y);
  }
  function js(e) {
    return ds(e.x) / ds(e.y);
  }
  function Ms(e, t) {
    return (
      e.translate === t.translate &&
      e.scale === t.scale &&
      e.originPoint === t.originPoint
    );
  }
  function Ns(e) {
    return [e(`x`), e(`y`)];
  }
  function Ps(e, t, n) {
    let r = ``,
      i = e.x.translate / t.x,
      a = e.y.translate / t.y,
      o = n?.z || 0;
    if (
      ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `),
      (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `),
      n)
    ) {
      let {
        transformPerspective: e,
        rotate: t,
        pathRotation: i,
        rotateX: a,
        rotateY: o,
        skewX: s,
        skewY: c,
      } = n;
      (e && (r = `perspective(${e}px) ${r}`),
        t && (r += `rotate(${t}deg) `),
        i && (r += `rotate(${i}deg) `),
        a && (r += `rotateX(${a}deg) `),
        o && (r += `rotateY(${o}deg) `),
        s && (r += `skewX(${s}deg) `),
        c && (r += `skewY(${c}deg) `));
    }
    let s = e.x.scale * t.x,
      c = e.y.scale * t.y;
    return ((s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || `none`);
  }
  var Fs = [
      `borderTopLeftRadius`,
      `borderTopRightRadius`,
      `borderBottomLeftRadius`,
      `borderBottomRightRadius`,
    ],
    Is = Fs.length,
    Ls = (e) => (typeof e == `string` ? parseFloat(e) : e),
    Rs = (e) => typeof e == `number` || M.test(e);
  function zs(e, t, n, r, i, a) {
    i
      ? ((e.opacity = Jt(0, n.opacity ?? 1, Vs(r))),
        (e.opacityExit = Jt(t.opacity ?? 1, 0, Hs(r))))
      : a && (e.opacity = Jt(t.opacity ?? 1, n.opacity ?? 1, r));
    for (let i = 0; i < Is; i++) {
      let a = Fs[i],
        o = Bs(t, a),
        s = Bs(n, a);
      (o === void 0 && s === void 0) ||
        ((o ||= 0),
        (s ||= 0),
        o === 0 || s === 0 || Rs(o) === Rs(s)
          ? ((e[a] = Math.max(Jt(Ls(o), Ls(s), r), 0)),
            (Ct.test(s) || Ct.test(o)) && (e[a] += `%`))
          : (e[a] = s));
    }
    (t.rotate || n.rotate) && (e.rotate = Jt(t.rotate || 0, n.rotate || 0, r));
  }
  function Bs(e, t) {
    return e[t] === void 0 ? e.borderRadius : e[t];
  }
  var Vs = Us(0, 0.5, Me),
    Hs = Us(0.5, 0.95, k);
  function Us(e, t, n) {
    return (r) => (r < e ? 0 : r > t ? 1 : n(he(e, t, r)));
  }
  function Ws(e, t, n) {
    let r = xi(e) ? e : Qr(e);
    return (r.start(ci(``, r, t, n)), r.animation);
  }
  function Gs(e, t, n, r = { passive: !0 }) {
    return (e.addEventListener(t, n, r), () => e.removeEventListener(t, n));
  }
  var Ks = (e, t) => e.depth - t.depth,
    qs = class {
      constructor() {
        ((this.children = []), (this.isDirty = !1));
      }
      add(e) {
        (oe(this.children, e), (this.isDirty = !0));
      }
      remove(e) {
        (E(this.children, e), (this.isDirty = !0));
      }
      forEach(e) {
        (this.isDirty && this.children.sort(Ks),
          (this.isDirty = !1),
          this.children.forEach(e));
      }
    };
  function Js(e, t) {
    let n = $e.now(),
      r = ({ timestamp: i }) => {
        let a = i - n;
        a >= t && (Je(r), e(a - t));
      };
    return (qe.setup(r, !0), () => Je(r));
  }
  function Ys(e) {
    return xi(e) ? e.get() : e;
  }
  var Xs = class {
      constructor() {
        this.members = [];
      }
      add(e) {
        oe(this.members, e);
        for (let t = this.members.length - 1; t >= 0; t--) {
          let n = this.members[t];
          if (n === e || n === this.lead || n === this.prevLead) continue;
          let r = n.instance;
          (!r || r.isConnected === !1) &&
            !n.snapshot &&
            (E(this.members, n), n.unmount());
        }
        e.scheduleRender();
      }
      remove(e) {
        if (
          (E(this.members, e),
          e === this.prevLead && (this.prevLead = void 0),
          e === this.lead)
        ) {
          let e = this.members[this.members.length - 1];
          e && this.promote(e);
        }
      }
      relegate(e) {
        for (let t = this.members.indexOf(e) - 1; t >= 0; t--) {
          let e = this.members[t];
          if (e.isPresent !== !1 && e.instance?.isConnected !== !1)
            return (this.promote(e), !0);
        }
        return !1;
      }
      promote(e, t) {
        let n = this.lead;
        if (e !== n && ((this.prevLead = n), (this.lead = e), e.show(), n)) {
          (n.updateSnapshot(), e.scheduleRender());
          let { layoutDependency: r } = n.options,
            { layoutDependency: i } = e.options;
          ((r === void 0 || r !== i) &&
            ((e.resumeFrom = n),
            t && (n.preserveOpacity = !0),
            n.snapshot &&
              ((e.snapshot = n.snapshot),
              (e.snapshot.latestValues = n.animationValues || n.latestValues)),
            e.root?.isUpdating && (e.isLayoutDirty = !0)),
            e.options.crossfade === !1 && n.hide());
        }
      }
      exitAnimationComplete() {
        this.members.forEach((e) => {
          (e.options.onExitComplete?.(),
            e.resumingFrom?.options.onExitComplete?.());
        });
      }
      scheduleRender() {
        this.members.forEach((e) => e.instance && e.scheduleRender(!1));
      }
      removeLeadSnapshot() {
        this.lead?.snapshot && (this.lead.snapshot = void 0);
      }
    },
    Zs = { hasAnimatedSinceResize: !0, hasEverUpdated: !1 },
    Qs = { nodes: 0, calculatedTargetDeltas: 0, calculatedProjections: 0 },
    $s = [``, `X`, `Y`, `Z`],
    ec = 1e3,
    tc = 0;
  function nc(e, t, n, r) {
    let { latestValues: i } = t;
    i[e] && ((n[e] = i[e]), t.setStaticValue(e, 0), r && (r[e] = 0));
  }
  function rc(e) {
    if (((e.hasCheckedOptimisedAppear = !0), e.root === e)) return;
    let { visualElement: t } = e.options;
    if (!t) return;
    let n = Ei(t);
    if (window.MotionHasOptimisedAnimation(n, `transform`)) {
      let { layout: t, layoutId: r } = e.options;
      window.MotionCancelOptimisedAnimation(n, `transform`, qe, !(t || r));
    }
    let { parent: r } = e;
    r && !r.hasCheckedOptimisedAppear && rc(r);
  }
  function ic({
    attachResizeListener: e,
    defaultParent: t,
    measureScroll: n,
    checkIsScrollRoot: r,
    resetTransform: i,
  }) {
    return class {
      constructor(e = {}, n = t?.()) {
        ((this.id = tc++),
          (this.animationId = 0),
          (this.animationCommitId = 0),
          (this.children = new Set()),
          (this.options = {}),
          (this.isTreeAnimating = !1),
          (this.isAnimationBlocked = !1),
          (this.isLayoutDirty = !1),
          (this.isProjectionDirty = !1),
          (this.isSharedProjectionDirty = !1),
          (this.isTransformDirty = !1),
          (this.updateManuallyBlocked = !1),
          (this.updateBlockedByResize = !1),
          (this.isUpdating = !1),
          (this.isSVG = !1),
          (this.needsReset = !1),
          (this.shouldResetTransform = !1),
          (this.hasCheckedOptimisedAppear = !1),
          (this.treeScale = { x: 1, y: 1 }),
          (this.eventHandlers = new Map()),
          (this.hasTreeAnimated = !1),
          (this.layoutVersion = 0),
          (this.updateScheduled = !1),
          (this.scheduleUpdate = () => this.update()),
          (this.projectionUpdateScheduled = !1),
          (this.checkUpdateFailed = () => {
            this.isUpdating &&
              ((this.isUpdating = !1), this.clearAllSnapshots());
          }),
          (this.updateProjection = () => {
            ((this.projectionUpdateScheduled = !1),
              Ue.value &&
                (Qs.nodes =
                  Qs.calculatedTargetDeltas =
                  Qs.calculatedProjections =
                    0),
              this.nodes.forEach(sc),
              this.nodes.forEach(gc),
              this.nodes.forEach(_c),
              this.nodes.forEach(cc),
              Ue.addProjectionMetrics && Ue.addProjectionMetrics(Qs));
          }),
          (this.resolvedRelativeTargetAt = 0),
          (this.linkedParentVersion = 0),
          (this.hasProjected = !1),
          (this.isVisible = !0),
          (this.animationProgress = 0),
          (this.sharedNodes = new Map()),
          (this.latestValues = e),
          (this.root = n ? n.root || n : this),
          (this.path = n ? [...n.path, n] : []),
          (this.parent = n),
          (this.depth = n ? n.depth + 1 : 0));
        for (let e = 0; e < this.path.length; e++)
          this.path[e].shouldResetTransform = !0;
        this.root === this && (this.nodes = new qs());
      }
      addEventListener(e, t) {
        return (
          this.eventHandlers.has(e) || this.eventHandlers.set(e, new ge()),
          this.eventHandlers.get(e).add(t)
        );
      }
      notifyListeners(e, ...t) {
        let n = this.eventHandlers.get(e);
        n && n.notify(...t);
      }
      hasListeners(e) {
        return this.eventHandlers.has(e);
      }
      mount(t) {
        if (this.instance) return;
        ((this.isSVG = va(t) && !Ma(t)), (this.instance = t));
        let { layoutId: n, layout: r, visualElement: i } = this.options;
        if (
          (i && !i.current && i.mount(t),
          this.root.nodes.add(this),
          this.parent && this.parent.children.add(this),
          this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0),
          e)
        ) {
          let n,
            r = 0,
            i = () => (this.root.updateBlockedByResize = !1);
          (qe.read(() => {
            r = window.innerWidth;
          }),
            e(t, () => {
              let e = window.innerWidth;
              e !== r &&
                ((r = e),
                (this.root.updateBlockedByResize = !0),
                n && n(),
                (n = Js(i, 250)),
                Zs.hasAnimatedSinceResize &&
                  ((Zs.hasAnimatedSinceResize = !1), this.nodes.forEach(hc)));
            }));
        }
        (n && this.root.registerSharedNode(n, this),
          this.options.animate !== !1 &&
            i &&
            (n || r) &&
            this.addEventListener(
              `didUpdate`,
              ({
                delta: e,
                hasLayoutChanged: t,
                hasRelativeLayoutChanged: n,
                layout: r,
              }) => {
                if (this.isTreeAnimationBlocked()) {
                  ((this.target = void 0), (this.relativeTarget = void 0));
                  return;
                }
                let a =
                    this.options.transition || i.getDefaultTransition() || wc,
                  { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } =
                    i.getProps(),
                  c = !this.targetLayout || !As(this.targetLayout, r),
                  l = !t && n;
                if (
                  this.options.layoutRoot ||
                  this.resumeFrom ||
                  l ||
                  (t && (c || !this.currentAnimation))
                ) {
                  this.resumeFrom &&
                    ((this.resumingFrom = this.resumeFrom),
                    (this.resumingFrom.resumingFrom = void 0));
                  let t = { ...ei(a, `layout`), onPlay: o, onComplete: s };
                  ((i.shouldReduceMotion || this.options.layoutRoot) &&
                    ((t.delay = 0), (t.type = !1)),
                    this.startAnimation(t),
                    this.setAnimationOrigin(e, l, t.path));
                } else
                  (t || hc(this),
                    this.isLead() &&
                      this.options.onExitComplete &&
                      this.options.onExitComplete());
                this.targetLayout = r;
              },
            ));
      }
      unmount() {
        (this.options.layoutId && this.willUpdate(),
          this.root.nodes.remove(this));
        let e = this.getStack();
        (e && e.remove(this),
          this.parent && this.parent.children.delete(this),
          (this.instance = void 0),
          this.eventHandlers.clear(),
          Je(this.updateProjection));
      }
      blockUpdate() {
        this.updateManuallyBlocked = !0;
      }
      unblockUpdate() {
        this.updateManuallyBlocked = !1;
      }
      isUpdateBlocked() {
        return this.updateManuallyBlocked || this.updateBlockedByResize;
      }
      isTreeAnimationBlocked() {
        return (
          this.isAnimationBlocked ||
          (this.parent && this.parent.isTreeAnimationBlocked()) ||
          !1
        );
      }
      startUpdate() {
        this.isUpdateBlocked() ||
          ((this.isUpdating = !0),
          this.nodes && this.nodes.forEach(vc),
          this.animationId++);
      }
      getTransformTemplate() {
        let { visualElement: e } = this.options;
        return e && e.getProps().transformTemplate;
      }
      willUpdate(e = !0) {
        if (((this.root.hasTreeAnimated = !0), this.root.isUpdateBlocked())) {
          this.options.onExitComplete && this.options.onExitComplete();
          return;
        }
        if (
          (window.MotionCancelOptimisedAnimation &&
            !this.hasCheckedOptimisedAppear &&
            rc(this),
          !this.root.isUpdating && this.root.startUpdate(),
          this.isLayoutDirty)
        )
          return;
        this.isLayoutDirty = !0;
        for (let e = 0; e < this.path.length; e++) {
          let t = this.path[e];
          ((t.shouldResetTransform = !0),
            (typeof t.latestValues.x == `string` ||
              typeof t.latestValues.y == `string`) &&
              (t.isLayoutDirty = !0),
            t.updateScroll(`snapshot`),
            t.options.layoutRoot && t.willUpdate(!1));
        }
        let { layoutId: t, layout: n } = this.options;
        if (t === void 0 && !n) return;
        let r = this.getTransformTemplate();
        ((this.prevTransformTemplateValue = r
          ? r(this.latestValues, ``)
          : void 0),
          this.updateSnapshot(),
          e && this.notifyListeners(`willUpdate`));
      }
      update() {
        if (((this.updateScheduled = !1), this.isUpdateBlocked())) {
          let e = this.updateBlockedByResize;
          (this.unblockUpdate(),
            (this.updateBlockedByResize = !1),
            this.clearAllSnapshots(),
            e && this.nodes.forEach(dc),
            this.nodes.forEach(uc));
          return;
        }
        if (this.animationId <= this.animationCommitId) {
          this.nodes.forEach(fc);
          return;
        }
        ((this.animationCommitId = this.animationId),
          this.isUpdating
            ? ((this.isUpdating = !1),
              this.nodes.forEach(pc),
              this.nodes.forEach(mc),
              this.nodes.forEach(ac),
              this.nodes.forEach(oc))
            : this.nodes.forEach(fc),
          this.clearAllSnapshots());
        let e = $e.now();
        ((Ye.delta = se(0, 1e3 / 60, e - Ye.timestamp)),
          (Ye.timestamp = e),
          (Ye.isProcessing = !0),
          Xe.update.process(Ye),
          Xe.preRender.process(Ye),
          Xe.render.process(Ye),
          (Ye.isProcessing = !1));
      }
      didUpdate() {
        this.updateScheduled ||
          ((this.updateScheduled = !0), $i.read(this.scheduleUpdate));
      }
      clearAllSnapshots() {
        (this.nodes.forEach(lc), this.sharedNodes.forEach(yc));
      }
      scheduleUpdateProjection() {
        this.projectionUpdateScheduled ||
          ((this.projectionUpdateScheduled = !0),
          qe.preRender(this.updateProjection, !1, !0));
      }
      scheduleCheckAfterUnmount() {
        qe.postRender(() => {
          this.isLayoutDirty
            ? this.root.didUpdate()
            : this.root.checkUpdateFailed();
        });
      }
      updateSnapshot() {
        this.snapshot ||
          !this.instance ||
          ((this.snapshot = this.measure()),
          this.snapshot &&
            !ds(this.snapshot.measuredBox.x) &&
            !ds(this.snapshot.measuredBox.y) &&
            (this.snapshot = void 0));
      }
      updateLayout() {
        if (
          !this.instance ||
          (this.updateScroll(),
          !(this.options.alwaysMeasureLayout && this.isLead()) &&
            !this.isLayoutDirty)
        )
          return;
        if (this.resumeFrom && !this.resumeFrom.instance)
          for (let e = 0; e < this.path.length; e++)
            this.path[e].updateScroll();
        let e = this.layout;
        ((this.layout = this.measure(!1)),
          this.layoutVersion++,
          (this.layoutCorrected ||= Ra()),
          (this.isLayoutDirty = !1),
          (this.projectionDelta = void 0),
          this.notifyListeners(`measure`, this.layout.layoutBox));
        let { visualElement: t } = this.options;
        t &&
          t.notify(
            `LayoutMeasure`,
            this.layout.layoutBox,
            e ? e.layoutBox : void 0,
          );
      }
      updateScroll(e = `measure`) {
        let t = !!(this.options.layoutScroll && this.instance);
        if (
          (this.scroll &&
            this.scroll.animationId === this.root.animationId &&
            this.scroll.phase === e &&
            (t = !1),
          t && this.instance)
        ) {
          let t = r(this.instance);
          this.scroll = {
            animationId: this.root.animationId,
            phase: e,
            isRoot: t,
            offset: n(this.instance),
            wasRoot: this.scroll ? this.scroll.isRoot : t,
          };
        }
      }
      resetTransform() {
        if (!i) return;
        let e =
            this.isLayoutDirty ||
            this.shouldResetTransform ||
            this.options.alwaysMeasureLayout,
          t = this.projectionDelta && !Es(this.projectionDelta),
          n = this.getTransformTemplate(),
          r = n ? n(this.latestValues, ``) : void 0,
          a = r !== this.prevTransformTemplateValue;
        e &&
          this.instance &&
          (t || lo(this.latestValues) || a) &&
          (i(this.instance, r),
          (this.shouldResetTransform = !1),
          this.scheduleRender());
      }
      measure(e = !0) {
        let t = this.measurePageBox(),
          n = this.removeElementScroll(t);
        return (
          e && (n = this.removeTransform(n)),
          Oc(n),
          {
            animationId: this.root.animationId,
            measuredBox: t,
            layoutBox: n,
            latestValues: {},
            source: this.id,
          }
        );
      }
      measurePageBox() {
        let { visualElement: e } = this.options;
        if (!e) return Ra();
        let t = e.measureViewportBox();
        if (!(this.scroll?.wasRoot || this.path.some(Ac))) {
          let { scroll: e } = this.root;
          e && (yo(t.x, e.offset.x), yo(t.y, e.offset.y));
        }
        return t;
      }
      removeElementScroll(e) {
        let t = Ra();
        if ((as(t, e), this.scroll?.wasRoot)) return t;
        for (let n = 0; n < this.path.length; n++) {
          let r = this.path[n],
            { scroll: i, options: a } = r;
          r !== this.root &&
            i &&
            a.layoutScroll &&
            (i.wasRoot && as(t, e), yo(t.x, i.offset.x), yo(t.y, i.offset.y));
        }
        return t;
      }
      applyTransform(e, t = !1, n) {
        let r = n || Ra();
        as(r, e);
        for (let e = 0; e < this.path.length; e++) {
          let n = this.path[e];
          (!t &&
            n.options.layoutScroll &&
            n.scroll &&
            n !== n.root &&
            (yo(r.x, -n.scroll.offset.x), yo(r.y, -n.scroll.offset.y)),
            lo(n.latestValues) && So(r, n.latestValues, n.layout?.layoutBox));
        }
        return (
          lo(this.latestValues) &&
            So(r, this.latestValues, this.layout?.layoutBox),
          r
        );
      }
      removeTransform(e) {
        let t = Ra();
        as(t, e);
        for (let e = 0; e < this.path.length; e++) {
          let n = this.path[e];
          if (!lo(n.latestValues)) continue;
          let r;
          (n.instance &&
            (co(n.latestValues) && n.updateSnapshot(),
            (r = Ra()),
            as(r, n.measurePageBox())),
            ws(t, n.latestValues, n.snapshot?.layoutBox, r));
        }
        return (lo(this.latestValues) && ws(t, this.latestValues), t);
      }
      setTargetDelta(e) {
        ((this.targetDelta = e),
          this.root.scheduleUpdateProjection(),
          (this.isProjectionDirty = !0));
      }
      setOptions(e) {
        this.options = {
          ...this.options,
          ...e,
          crossfade: e.crossfade === void 0 ? !0 : e.crossfade,
        };
      }
      clearMeasurements() {
        ((this.scroll = void 0),
          (this.layout = void 0),
          (this.snapshot = void 0),
          (this.prevTransformTemplateValue = void 0),
          (this.targetDelta = void 0),
          (this.target = void 0),
          (this.isLayoutDirty = !1));
      }
      forceRelativeParentToResolveTarget() {
        this.relativeParent &&
          this.relativeParent.resolvedRelativeTargetAt !== Ye.timestamp &&
          this.relativeParent.resolveTargetDelta(!0);
      }
      resolveTargetDelta(e = !1) {
        let t = this.getLead();
        ((this.isProjectionDirty ||= t.isProjectionDirty),
          (this.isTransformDirty ||= t.isTransformDirty),
          (this.isSharedProjectionDirty ||= t.isSharedProjectionDirty));
        let n = !!this.resumingFrom || this !== t;
        if (!(
          e ||
          (n && this.isSharedProjectionDirty) ||
          this.isProjectionDirty ||
          this.parent?.isProjectionDirty ||
          this.attemptToResolveRelativeTarget ||
          this.root.updateBlockedByResize
        ))
          return;
        let { layout: r, layoutId: i } = this.options;
        if (!this.layout || !(r || i)) return;
        this.resolvedRelativeTargetAt = Ye.timestamp;
        let a = this.getClosestProjectingParent();
        (a &&
          this.linkedParentVersion !== a.layoutVersion &&
          !a.options.layoutRoot &&
          this.removeRelativeTarget(),
          !this.targetDelta &&
            !this.relativeTarget &&
            (this.options.layoutAnchor !== !1 && a && a.layout
              ? this.createRelativeTarget(
                  a,
                  this.layout.layoutBox,
                  a.layout.layoutBox,
                )
              : this.removeRelativeTarget()),
          !(!this.relativeTarget && !this.targetDelta) &&
            (this.target ||
              ((this.target = Ra()), (this.targetWithTransforms = Ra())),
            this.relativeTarget &&
            this.relativeTargetOrigin &&
            this.relativeParent &&
            this.relativeParent.target
              ? (this.forceRelativeParentToResolveTarget(),
                gs(
                  this.target,
                  this.relativeTarget,
                  this.relativeParent.target,
                  this.options.layoutAnchor || void 0,
                ))
              : this.targetDelta
                ? (this.resumingFrom
                    ? this.applyTransform(
                        this.layout.layoutBox,
                        !1,
                        this.target,
                      )
                    : as(this.target, this.layout.layoutBox),
                  go(this.target, this.targetDelta))
                : as(this.target, this.layout.layoutBox),
            this.attemptToResolveRelativeTarget &&
              ((this.attemptToResolveRelativeTarget = !1),
              this.options.layoutAnchor !== !1 &&
              a &&
              !!a.resumingFrom == !!this.resumingFrom &&
              !a.options.layoutScroll &&
              a.target &&
              this.animationProgress !== 1
                ? this.createRelativeTarget(a, this.target, a.target)
                : (this.relativeParent = this.relativeTarget = void 0)),
            Ue.value && Qs.calculatedTargetDeltas++));
      }
      getClosestProjectingParent() {
        if (!(
          !this.parent ||
          co(this.parent.latestValues) ||
          uo(this.parent.latestValues)
        ))
          return this.parent.isProjecting()
            ? this.parent
            : this.parent.getClosestProjectingParent();
      }
      isProjecting() {
        return !!(
          (this.relativeTarget ||
            this.targetDelta ||
            this.options.layoutRoot) &&
          this.layout
        );
      }
      createRelativeTarget(e, t, n) {
        ((this.relativeParent = e),
          (this.linkedParentVersion = e.layoutVersion),
          this.forceRelativeParentToResolveTarget(),
          (this.relativeTarget = Ra()),
          (this.relativeTargetOrigin = Ra()),
          vs(
            this.relativeTargetOrigin,
            t,
            n,
            this.options.layoutAnchor || void 0,
          ),
          as(this.relativeTarget, this.relativeTargetOrigin));
      }
      removeRelativeTarget() {
        this.relativeParent = this.relativeTarget = void 0;
      }
      calcProjection() {
        let e = this.getLead(),
          t = !!this.resumingFrom || this !== e,
          n = !0;
        if (
          ((this.isProjectionDirty || this.parent?.isProjectionDirty) &&
            (n = !1),
          t &&
            (this.isSharedProjectionDirty || this.isTransformDirty) &&
            (n = !1),
          this.resolvedRelativeTargetAt === Ye.timestamp && (n = !1),
          n)
        )
          return;
        let { layout: r, layoutId: i } = this.options;
        if (
          ((this.isTreeAnimating = !!(
            (this.parent && this.parent.isTreeAnimating) ||
            this.currentAnimation ||
            this.pendingAnimation
          )),
          this.isTreeAnimating ||
            (this.targetDelta = this.relativeTarget = void 0),
          !this.layout || !(r || i))
        )
          return;
        as(this.layoutCorrected, this.layout.layoutBox);
        let a = this.treeScale.x,
          o = this.treeScale.y;
        (vo(this.layoutCorrected, this.treeScale, this.path, t),
          e.layout &&
            !e.target &&
            (this.treeScale.x !== 1 || this.treeScale.y !== 1) &&
            ((e.target = e.layout.layoutBox), (e.targetWithTransforms = Ra())));
        let { target: s } = e;
        if (!s) {
          this.prevProjectionDelta &&
            (this.createProjectionDeltas(), this.scheduleRender());
          return;
        }
        (!this.projectionDelta || !this.prevProjectionDelta
          ? this.createProjectionDeltas()
          : (os(this.prevProjectionDelta.x, this.projectionDelta.x),
            os(this.prevProjectionDelta.y, this.projectionDelta.y)),
          ms(this.projectionDelta, this.layoutCorrected, s, this.latestValues),
          (this.treeScale.x !== a ||
            this.treeScale.y !== o ||
            !Ms(this.projectionDelta.x, this.prevProjectionDelta.x) ||
            !Ms(this.projectionDelta.y, this.prevProjectionDelta.y)) &&
            ((this.hasProjected = !0),
            this.scheduleRender(),
            this.notifyListeners(`projectionUpdate`, s)),
          Ue.value && Qs.calculatedProjections++);
      }
      hide() {
        this.isVisible = !1;
      }
      show() {
        this.isVisible = !0;
      }
      scheduleRender(e = !0) {
        if ((this.options.visualElement?.scheduleRender(), e)) {
          let e = this.getStack();
          e && e.scheduleRender();
        }
        this.resumingFrom &&
          !this.resumingFrom.instance &&
          (this.resumingFrom = void 0);
      }
      createProjectionDeltas() {
        ((this.prevProjectionDelta = Ia()),
          (this.projectionDelta = Ia()),
          (this.projectionDeltaWithTransform = Ia()));
      }
      setAnimationOrigin(e, t = !1, n) {
        let r = this.snapshot,
          i = r ? r.latestValues : {},
          a = { ...this.latestValues },
          o = Ia();
        ((!this.relativeParent || !this.relativeParent.options.layoutRoot) &&
          (this.relativeTarget = this.relativeTargetOrigin = void 0),
          (this.attemptToResolveRelativeTarget = !t));
        let s = Ra(),
          c =
            (r ? r.source : void 0) !==
            (this.layout ? this.layout.source : void 0),
          l = this.getStack(),
          u = !l || l.members.length <= 1,
          d = !!(
            c &&
            !u &&
            this.options.crossfade === !0 &&
            !this.path.some(Cc)
          );
        this.animationProgress = 0;
        let f,
          p = n?.interpolateProjection(e);
        ((this.mixTargetDelta = (t) => {
          let n = t / 1e3,
            r = p?.(n);
          (r
            ? ((o.x.translate = r.x),
              (o.x.scale = Jt(e.x.scale, 1, n)),
              (o.x.origin = e.x.origin),
              (o.x.originPoint = e.x.originPoint),
              (o.y.translate = r.y),
              (o.y.scale = Jt(e.y.scale, 1, n)),
              (o.y.origin = e.y.origin),
              (o.y.originPoint = e.y.originPoint))
            : (bc(o.x, e.x, n), bc(o.y, e.y, n)),
            this.setTargetDelta(o),
            this.relativeTarget &&
              this.relativeTargetOrigin &&
              this.layout &&
              this.relativeParent &&
              this.relativeParent.layout &&
              (vs(
                s,
                this.layout.layoutBox,
                this.relativeParent.layout.layoutBox,
                this.options.layoutAnchor || void 0,
              ),
              Sc(this.relativeTarget, this.relativeTargetOrigin, s, n),
              f && Os(this.relativeTarget, f) && (this.isProjectionDirty = !1),
              (f ||= Ra()),
              as(f, this.relativeTarget)),
            c &&
              ((this.animationValues = a),
              zs(a, i, this.latestValues, n, d, u)),
            r &&
              r.rotate !== void 0 &&
              ((this.animationValues ||= a),
              (this.animationValues.pathRotation = r.rotate)),
            this.root.scheduleUpdateProjection(),
            this.scheduleRender(),
            (this.animationProgress = n));
        }),
          this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0));
      }
      startAnimation(e) {
        (this.notifyListeners(`animationStart`),
          this.currentAnimation?.stop(),
          this.resumingFrom?.currentAnimation?.stop(),
          (this.pendingAnimation &&= (Je(this.pendingAnimation), void 0)),
          (this.pendingAnimation = qe.update(() => {
            ((Zs.hasAnimatedSinceResize = !0),
              et.layout++,
              (this.motionValue ||= Qr(0)),
              this.motionValue.jump(0, !1),
              (this.currentAnimation = Ws(this.motionValue, [0, 1e3], {
                ...e,
                velocity: 0,
                isSync: !0,
                onUpdate: (t) => {
                  (this.mixTargetDelta(t), e.onUpdate && e.onUpdate(t));
                },
                onStop: () => {
                  et.layout--;
                },
                onComplete: () => {
                  (et.layout--,
                    e.onComplete && e.onComplete(),
                    this.completeAnimation());
                },
              })),
              this.resumingFrom &&
                (this.resumingFrom.currentAnimation = this.currentAnimation),
              (this.pendingAnimation = void 0));
          })));
      }
      completeAnimation() {
        this.resumingFrom &&
          ((this.resumingFrom.currentAnimation = void 0),
          (this.resumingFrom.preserveOpacity = void 0));
        let e = this.getStack();
        (e && e.exitAnimationComplete(),
          (this.resumingFrom =
            this.currentAnimation =
            this.animationValues =
              void 0),
          this.notifyListeners(`animationComplete`));
      }
      finishAnimation() {
        (this.currentAnimation &&
          (this.mixTargetDelta && this.mixTargetDelta(ec),
          this.currentAnimation.stop()),
          this.completeAnimation());
      }
      applyTransformsToTarget() {
        let e = this.getLead(),
          {
            targetWithTransforms: t,
            target: n,
            layout: r,
            latestValues: i,
          } = e;
        if (!(!t || !n || !r)) {
          if (
            this !== e &&
            this.layout &&
            r &&
            kc(this.options.animationType, this.layout.layoutBox, r.layoutBox)
          ) {
            n = this.target || Ra();
            let t = ds(this.layout.layoutBox.x);
            ((n.x.min = e.target.x.min), (n.x.max = n.x.min + t));
            let r = ds(this.layout.layoutBox.y);
            ((n.y.min = e.target.y.min), (n.y.max = n.y.min + r));
          }
          (as(t, n),
            So(t, i),
            ms(this.projectionDeltaWithTransform, this.layoutCorrected, t, i));
        }
      }
      registerSharedNode(e, t) {
        (this.sharedNodes.has(e) || this.sharedNodes.set(e, new Xs()),
          this.sharedNodes.get(e).add(t));
        let n = t.options.initialPromotionConfig;
        t.promote({
          transition: n ? n.transition : void 0,
          preserveFollowOpacity:
            n && n.shouldPreserveFollowOpacity
              ? n.shouldPreserveFollowOpacity(t)
              : void 0,
        });
      }
      isLead() {
        let e = this.getStack();
        return e ? e.lead === this : !0;
      }
      getLead() {
        let { layoutId: e } = this.options;
        return (e && this.getStack()?.lead) || this;
      }
      getPrevLead() {
        let { layoutId: e } = this.options;
        return e ? this.getStack()?.prevLead : void 0;
      }
      getStack() {
        let { layoutId: e } = this.options;
        if (e) return this.root.sharedNodes.get(e);
      }
      promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) {
        let r = this.getStack();
        (r && r.promote(this, n),
          e && ((this.projectionDelta = void 0), (this.needsReset = !0)),
          t && this.setOptions({ transition: t }));
      }
      relegate() {
        let e = this.getStack();
        return e ? e.relegate(this) : !1;
      }
      resetSkewAndRotation() {
        let { visualElement: e } = this.options;
        if (!e) return;
        let t = !1,
          { latestValues: n } = e;
        if (
          ((n.z ||
            n.rotate ||
            n.rotateX ||
            n.rotateY ||
            n.rotateZ ||
            n.skewX ||
            n.skewY) &&
            (t = !0),
          !t)
        )
          return;
        let r = {};
        n.z && nc(`z`, e, r, this.animationValues);
        for (let t = 0; t < $s.length; t++)
          (nc(`rotate${$s[t]}`, e, r, this.animationValues),
            nc(`skew${$s[t]}`, e, r, this.animationValues));
        e.render();
        for (let t in r)
          (e.setStaticValue(t, r[t]),
            this.animationValues && (this.animationValues[t] = r[t]));
        e.scheduleRender();
      }
      applyProjectionStyles(e, t) {
        if (!this.instance || this.isSVG) return;
        if (!this.isVisible) {
          e.visibility = `hidden`;
          return;
        }
        let n = this.getTransformTemplate();
        if (this.needsReset) {
          ((this.needsReset = !1),
            (e.visibility = ``),
            (e.opacity = ``),
            (e.pointerEvents = Ys(t?.pointerEvents) || ``),
            (e.transform = n ? n(this.latestValues, ``) : `none`));
          return;
        }
        let r = this.getLead();
        if (!this.projectionDelta || !this.layout || !r.target) {
          (this.options.layoutId &&
            ((e.opacity =
              this.latestValues.opacity === void 0
                ? 1
                : this.latestValues.opacity),
            (e.pointerEvents = Ys(t?.pointerEvents) || ``)),
            this.hasProjected &&
              !lo(this.latestValues) &&
              ((e.transform = n ? n({}, ``) : `none`),
              (this.hasProjected = !1)));
          return;
        }
        e.visibility = ``;
        let i = r.animationValues || r.latestValues;
        this.applyTransformsToTarget();
        let a = Ps(this.projectionDeltaWithTransform, this.treeScale, i);
        (n && (a = n(i, a)), (e.transform = a));
        let { x: o, y: s } = this.projectionDelta;
        ((e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`),
          r.animationValues
            ? (e.opacity =
                r === this
                  ? (i.opacity ?? this.latestValues.opacity ?? 1)
                  : this.preserveOpacity
                    ? this.latestValues.opacity
                    : i.opacityExit)
            : (e.opacity =
                r === this
                  ? i.opacity === void 0
                    ? ``
                    : i.opacity
                  : i.opacityExit === void 0
                    ? 0
                    : i.opacityExit));
        for (let t in No) {
          if (i[t] === void 0) continue;
          let { correct: n, applyTo: o, isCSSVariable: s } = No[t],
            c = a === `none` ? i[t] : n(i[t], r);
          if (o) {
            let t = o.length;
            for (let n = 0; n < t; n++) e[o[n]] = c;
          } else
            s
              ? (this.options.visualElement.renderState.vars[t] = c)
              : (e[t] = c);
        }
        this.options.layoutId &&
          (e.pointerEvents = r === this ? Ys(t?.pointerEvents) || `` : `none`);
      }
      clearSnapshot() {
        this.resumeFrom = this.snapshot = void 0;
      }
      resetTree() {
        (this.root.nodes.forEach((e) => e.currentAnimation?.stop()),
          this.root.nodes.forEach(uc),
          this.root.sharedNodes.clear());
      }
    };
  }
  function ac(e) {
    e.updateLayout();
  }
  function oc(e) {
    let t = e.resumeFrom?.snapshot || e.snapshot;
    if (e.isLead() && e.layout && t && e.hasListeners(`didUpdate`)) {
      let { layoutBox: n, measuredBox: r } = e.layout,
        { animationType: i } = e.options,
        a = t.source !== e.layout.source;
      if (i === `size`)
        Ns((e) => {
          let r = a ? t.measuredBox[e] : t.layoutBox[e],
            i = ds(r);
          ((r.min = n[e].min), (r.max = r.min + i));
        });
      else if (i === `x` || i === `y`) {
        let e = i === `x` ? `y` : `x`;
        is(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
      } else
        kc(i, t.layoutBox, n) &&
          Ns((r) => {
            let i = a ? t.measuredBox[r] : t.layoutBox[r],
              o = ds(n[r]);
            ((i.max = i.min + o),
              e.relativeTarget &&
                !e.currentAnimation &&
                ((e.isProjectionDirty = !0),
                (e.relativeTarget[r].max = e.relativeTarget[r].min + o)));
          });
      let o = Ia();
      ms(o, n, t.layoutBox);
      let s = Ia();
      a ? ms(s, e.applyTransform(r, !0), t.measuredBox) : ms(s, n, t.layoutBox);
      let c = !Es(o),
        l = !1;
      if (!e.resumeFrom) {
        let r = e.getClosestProjectingParent();
        if (r && !r.resumeFrom) {
          let { snapshot: i, layout: a } = r;
          if (i && a) {
            let o = e.options.layoutAnchor || void 0,
              s = Ra();
            vs(s, t.layoutBox, i.layoutBox, o);
            let c = Ra();
            (vs(c, n, a.layoutBox, o),
              As(s, c) || (l = !0),
              r.options.layoutRoot &&
                ((e.relativeTarget = c),
                (e.relativeTargetOrigin = s),
                (e.relativeParent = r)));
          }
        }
      }
      e.notifyListeners(`didUpdate`, {
        layout: n,
        snapshot: t,
        delta: s,
        layoutDelta: o,
        hasLayoutChanged: c,
        hasRelativeLayoutChanged: l,
      });
    } else if (e.isLead()) {
      let { onExitComplete: t } = e.options;
      t && t();
    }
    e.options.transition = void 0;
  }
  function sc(e) {
    (Ue.value && Qs.nodes++,
      e.parent &&
        (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty),
        (e.isSharedProjectionDirty ||= !!(
          e.isProjectionDirty ||
          e.parent.isProjectionDirty ||
          e.parent.isSharedProjectionDirty
        )),
        (e.isTransformDirty ||= e.parent.isTransformDirty)));
  }
  function cc(e) {
    e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
  }
  function lc(e) {
    e.clearSnapshot();
  }
  function uc(e) {
    e.clearMeasurements();
  }
  function dc(e) {
    ((e.isLayoutDirty = !0), e.updateLayout());
  }
  function fc(e) {
    e.isLayoutDirty = !1;
  }
  function pc(e) {
    e.isAnimationBlocked &&
      e.layout &&
      !e.isLayoutDirty &&
      ((e.snapshot = e.layout), (e.isLayoutDirty = !0));
  }
  function mc(e) {
    let { visualElement: t } = e.options;
    (t && t.getProps().onBeforeLayoutMeasure && t.notify(`BeforeLayoutMeasure`),
      e.resetTransform());
  }
  function hc(e) {
    (e.finishAnimation(),
      (e.targetDelta = e.relativeTarget = e.target = void 0),
      (e.isProjectionDirty = !0));
  }
  function gc(e) {
    e.resolveTargetDelta();
  }
  function _c(e) {
    e.calcProjection();
  }
  function vc(e) {
    e.resetSkewAndRotation();
  }
  function yc(e) {
    e.removeLeadSnapshot();
  }
  function bc(e, t, n) {
    ((e.translate = Jt(t.translate, 0, n)),
      (e.scale = Jt(t.scale, 1, n)),
      (e.origin = t.origin),
      (e.originPoint = t.originPoint));
  }
  function xc(e, t, n, r) {
    ((e.min = Jt(t.min, n.min, r)), (e.max = Jt(t.max, n.max, r)));
  }
  function Sc(e, t, n, r) {
    (xc(e.x, t.x, n.x, r), xc(e.y, t.y, n.y, r));
  }
  function Cc(e) {
    return e.animationValues && e.animationValues.opacityExit !== void 0;
  }
  var wc = { duration: 0.45, ease: [0.4, 0, 0.1, 1] },
    Tc = (e) =>
      typeof navigator < `u` &&
      navigator.userAgent &&
      navigator.userAgent.toLowerCase().includes(e),
    Ec = Tc(`applewebkit/`) && !Tc(`chrome/`) ? Math.round : k;
  function Dc(e) {
    ((e.min = Ec(e.min)), (e.max = Ec(e.max)));
  }
  function Oc(e) {
    (Dc(e.x), Dc(e.y));
  }
  function kc(e, t, n) {
    return (
      e === `position` || (e === `preserve-aspect` && !fs(js(t), js(n), 0.2))
    );
  }
  function Ac(e) {
    return e !== e.root && e.scroll?.wasRoot;
  }
  var jc = ic({
      attachResizeListener: (e, t) => Gs(e, `resize`, t),
      measureScroll: () => ({
        x:
          document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
        y: document.documentElement.scrollTop || document.body?.scrollTop || 0,
      }),
      checkIsScrollRoot: () => !0,
    }),
    Mc = { current: void 0 },
    Nc = ic({
      measureScroll: (e) => ({ x: e.scrollLeft, y: e.scrollTop }),
      defaultParent: () => {
        if (!Mc.current) {
          let e = new jc({});
          (e.mount(window),
            e.setOptions({ layoutScroll: !0 }),
            (Mc.current = e));
        }
        return Mc.current;
      },
      resetTransform: (e, t) => {
        e.style.transform = t === void 0 ? `none` : t;
      },
      checkIsScrollRoot: (e) => window.getComputedStyle(e).position === `fixed`,
    }),
    Pc = (0, C.createContext)({
      transformPagePoint: (e) => e,
      isStatic: !1,
      reducedMotion: `never`,
    });
  function Fc(e = !0) {
    let t = (0, C.useContext)(ae);
    if (t === null) return [!0, null];
    let { isPresent: n, onExitComplete: r, register: i } = t,
      a = (0, C.useId)();
    (0, C.useEffect)(() => {
      if (e) return i(a);
    }, [e]);
    let o = (0, C.useCallback)(() => e && r && r(a), [a, r, e]);
    return !n && r ? [!1, o] : [!0];
  }
  var Ic = (0, C.createContext)({ strict: !1 }),
    Lc = {
      animation: [
        `animate`,
        `variants`,
        `whileHover`,
        `whileTap`,
        `exit`,
        `whileInView`,
        `whileFocus`,
        `whileDrag`,
      ],
      exit: [`exit`],
      drag: [`drag`, `dragControls`],
      focus: [`whileFocus`],
      hover: [`whileHover`, `onHoverStart`, `onHoverEnd`],
      tap: [`whileTap`, `onTap`, `onTapStart`, `onTapCancel`],
      pan: [`onPan`, `onPanStart`, `onPanSessionStart`, `onPanEnd`],
      inView: [`whileInView`, `onViewportEnter`, `onViewportLeave`],
      layout: [`layout`, `layoutId`],
    },
    Rc = !1;
  function zc() {
    if (Rc) return;
    let e = {};
    for (let t in Lc) e[t] = { isEnabled: (e) => Lc[t].some((t) => !!e[t]) };
    ($a(e), (Rc = !0));
  }
  function Bc() {
    return (zc(), eo());
  }
  function Vc(e) {
    let t = Bc();
    for (let n in e) t[n] = { ...t[n], ...e[n] };
    $a(t);
  }
  var Hc = new Set(
    `animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(
      `.`,
    ),
  );
  function Uc(e) {
    return (
      e.startsWith(`while`) ||
      (e.startsWith(`drag`) && e !== `draggable`) ||
      e.startsWith(`layout`) ||
      e.startsWith(`onTap`) ||
      e.startsWith(`onPan`) ||
      e.startsWith(`onLayout`) ||
      Hc.has(e)
    );
  }
  var Wc = c({ default: () => Gc }),
    Gc,
    Kc = o(() => {
      throw (
        (Gc = {}),
        Error(
          `Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`,
        )
      );
    }),
    qc = (e) => !Uc(e);
  function Jc(e) {
    typeof e == `function` &&
      (qc = (t) => (t.startsWith(`on`) ? !Uc(t) : e(t)));
  }
  try {
    Jc((Kc(), d(Wc)).default);
  } catch {}
  function Yc(e, t, n) {
    let r = {};
    for (let i in e)
      (i === `values` && typeof e.values == `object`) ||
        xi(e[i]) ||
        ((qc(i) ||
          (n === !0 && Uc(i)) ||
          (!t && !Uc(i)) ||
          (e.draggable && i.startsWith(`onDrag`))) &&
          (r[i] = e[i]));
    return r;
  }
  var Xc = (0, C.createContext)({});
  function Zc(e, t) {
    if (Wa(e)) {
      let { initial: t, animate: n } = e;
      return {
        initial: t === !1 || Va(t) ? t : void 0,
        animate: Va(n) ? n : void 0,
      };
    }
    return e.inherit === !1 ? {} : t;
  }
  function Qc(e) {
    let { initial: t, animate: n } = Zc(e, (0, C.useContext)(Xc));
    return (0, C.useMemo)(() => ({ initial: t, animate: n }), [$c(t), $c(n)]);
  }
  function $c(e) {
    return Array.isArray(e) ? e.join(` `) : e;
  }
  var el = () => ({ style: {}, transform: {}, transformOrigin: {}, vars: {} });
  function tl(e, t, n) {
    for (let r in t) !xi(t[r]) && !Po(r, n) && (e[r] = t[r]);
  }
  function nl({ transformTemplate: e }, t) {
    return (0, C.useMemo)(() => {
      let n = el();
      return (Oo(n, t, e), Object.assign({}, n.vars, n.style));
    }, [t]);
  }
  function rl(e, t) {
    let n = e.style || {},
      r = {};
    return (tl(r, n, e), Object.assign(r, nl(e, t)), r);
  }
  function il(e, t) {
    let n = {},
      r = rl(e, t);
    return (
      e.drag &&
        e.dragListener !== !1 &&
        ((n.draggable = !1),
        (r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = `none`),
        (r.touchAction =
          e.drag === !0 ? `none` : `pan-${e.drag === `x` ? `y` : `x`}`)),
      e.tabIndex === void 0 &&
        (e.onTap || e.onTapStart || e.whileTap) &&
        (n.tabIndex = 0),
      (n.style = r),
      n
    );
  }
  var al = () => ({ ...el(), attrs: {} });
  function ol(e, t, n, r) {
    let i = (0, C.useMemo)(() => {
      let n = al();
      return (
        Ho(n, t, Wo(r), e.transformTemplate, e.style),
        { ...n.attrs, style: { ...n.style } }
      );
    }, [t]);
    if (e.style) {
      let t = {};
      (tl(t, e.style, e), (i.style = { ...t, ...i.style }));
    }
    return i;
  }
  var sl = [
    `animate`,
    `circle`,
    `defs`,
    `desc`,
    `ellipse`,
    `g`,
    `image`,
    `line`,
    `filter`,
    `marker`,
    `mask`,
    `metadata`,
    `path`,
    `pattern`,
    `polygon`,
    `polyline`,
    `rect`,
    `stop`,
    `switch`,
    `symbol`,
    `svg`,
    `text`,
    `tspan`,
    `use`,
    `view`,
  ];
  function cl(e) {
    return typeof e != `string` || e.includes(`-`)
      ? !1
      : !!(sl.indexOf(e) > -1 || /[A-Z]/u.test(e));
  }
  function ll(e, t, n, { latestValues: r }, i, a = !1, o) {
    let s = ((o ?? cl(e)) ? ol : il)(t, r, i, e),
      c = Yc(t, typeof e == `string`, a),
      l = e === C.Fragment ? {} : { ...c, ...s, ref: n },
      { children: u } = t,
      d = (0, C.useMemo)(() => (xi(u) ? u.get() : u), [u]);
    return (0, C.createElement)(e, { ...l, children: d });
  }
  function ul(
    { scrapeMotionValuesFromProps: e, createRenderState: t },
    n,
    r,
    i,
  ) {
    return { latestValues: dl(n, r, i, e), renderState: t() };
  }
  function dl(e, t, n, r) {
    let i = {},
      a = r(e, {});
    for (let e in a) i[e] = Ys(a[e]);
    let { initial: o, animate: s } = e,
      c = Wa(e),
      l = Ga(e);
    t &&
      l &&
      !c &&
      e.inherit !== !1 &&
      (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
    let u = n ? n.initial === !1 : !1;
    u ||= o === !1;
    let d = u ? s : o;
    if (d && typeof d != `boolean` && !Ba(d)) {
      let t = Array.isArray(d) ? d : [d];
      for (let n = 0; n < t.length; n++) {
        let r = mi(e, t[n]);
        if (r) {
          let { transitionEnd: e, transition: t, ...n } = r;
          for (let e in n) {
            let t = n[e];
            if (Array.isArray(t)) {
              let e = u ? t.length - 1 : 0;
              t = t[e];
            }
            t !== null && (i[e] = t);
          }
          for (let t in e) i[t] = e[t];
        }
      }
    }
    return i;
  }
  var fl = (e) => (t, n) => {
      let r = (0, C.useContext)(Xc),
        i = (0, C.useContext)(ae),
        a = () => ul(e, t, r, i);
      return n ? a() : ie(a);
    },
    pl = fl({ scrapeMotionValuesFromProps: Fo, createRenderState: el }),
    ml = fl({ scrapeMotionValuesFromProps: Ko, createRenderState: al }),
    hl = Symbol.for(`motionComponentSymbol`);
  function gl(e, t, n) {
    let r = (0, C.useRef)(n);
    (0, C.useInsertionEffect)(() => {
      r.current = n;
    });
    let i = (0, C.useRef)(null);
    return (0, C.useCallback)(
      (n) => {
        (n && e.onMount?.(n), t && (n ? t.mount(n) : t.unmount()));
        let a = r.current;
        if (typeof a == `function`)
          if (n) {
            let e = a(n);
            typeof e == `function` && (i.current = e);
          } else i.current ? (i.current(), (i.current = null)) : a(n);
        else a && (a.current = n);
      },
      [t],
    );
  }
  var _l = (0, C.createContext)({});
  function vl(e) {
    return (
      e &&
      typeof e == `object` &&
      Object.prototype.hasOwnProperty.call(e, `current`)
    );
  }
  function yl(e, t, n, r, i, a) {
    let { visualElement: o } = (0, C.useContext)(Xc),
      s = (0, C.useContext)(Ic),
      c = (0, C.useContext)(ae),
      l = (0, C.useContext)(Pc),
      u = l.reducedMotion,
      d = l.skipAnimations,
      f = (0, C.useRef)(null),
      p = (0, C.useRef)(!1);
    ((r ||= s.renderer),
      !f.current &&
        r &&
        ((f.current = r(e, {
          visualState: t,
          parent: o,
          props: n,
          presenceContext: c,
          blockInitialAnimation: c ? c.initial === !1 : !1,
          reducedMotionConfig: u,
          skipAnimations: d,
          isSVG: a,
        })),
        p.current && f.current && (f.current.manuallyAnimateOnMount = !0)));
    let m = f.current,
      h = (0, C.useContext)(_l);
    m &&
      !m.projection &&
      i &&
      (m.type === `html` || m.type === `svg`) &&
      bl(f.current, n, i, h);
    let g = (0, C.useRef)(!1);
    (0, C.useInsertionEffect)(() => {
      m && g.current && m.update(n, c);
    });
    let _ = n[Ti],
      v = (0, C.useRef)(
        !!_ &&
          typeof window < `u` &&
          !window.MotionHandoffIsComplete?.(_) &&
          window.MotionHasOptimisedAnimation?.(_),
      );
    return (
      T(() => {
        ((p.current = !0),
          m &&
            ((g.current = !0),
            (window.MotionIsMounted = !0),
            m.updateFeatures(),
            m.scheduleRenderMicrotask(),
            v.current &&
              m.animationState &&
              m.animationState.animateChanges()));
      }),
      (0, C.useEffect)(() => {
        m &&
          (!v.current && m.animationState && m.animationState.animateChanges(),
          (v.current &&=
            (queueMicrotask(() => {
              window.MotionHandoffMarkAsComplete?.(_);
            }),
            !1)),
          (m.enteringChildren = void 0));
      }),
      m
    );
  }
  function bl(e, t, n, r) {
    let {
      layoutId: i,
      layout: a,
      drag: o,
      dragConstraints: s,
      layoutScroll: c,
      layoutRoot: l,
      layoutAnchor: u,
      layoutCrossfade: d,
    } = t;
    ((e.projection = new n(
      e.latestValues,
      t[`data-framer-portal-id`] ? void 0 : xl(e.parent),
    )),
      e.projection.setOptions({
        layoutId: i,
        layout: a,
        alwaysMeasureLayout: !!o || (s && vl(s)),
        visualElement: e,
        animationType: typeof a == `string` ? a : `both`,
        initialPromotionConfig: r,
        crossfade: d,
        layoutScroll: c,
        layoutRoot: l,
        layoutAnchor: u,
      }));
  }
  function xl(e) {
    if (e)
      return e.options.allowProjection === !1 ? xl(e.parent) : e.projection;
  }
  var Sl = re();
  function Cl(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
    r && Vc(r);
    let a = n ? n === `svg` : cl(e),
      o = a ? ml : pl;
    function s(n, s) {
      let c,
        l = { ...(0, C.useContext)(Pc), ...n, layoutId: wl(n) },
        { isStatic: u } = l,
        d = Qc(n),
        f = o(n, u);
      if (!u && typeof window < `u`) {
        Tl(l, r);
        let t = El(l);
        ((c = t.MeasureLayout),
          (d.visualElement = yl(e, f, l, i, t.ProjectionNode, a)));
      }
      return (0, Sl.jsxs)(Xc.Provider, {
        value: d,
        children: [
          c && d.visualElement
            ? (0, Sl.jsx)(c, { visualElement: d.visualElement, ...l })
            : null,
          ll(e, n, gl(f, d.visualElement, s), f, u, t, a),
        ],
      });
    }
    s.displayName = `motion.${typeof e == `string` ? e : `create(${e.displayName ?? e.name ?? ``})`}`;
    let c = (0, C.forwardRef)(s);
    return ((c[hl] = e), c);
  }
  function wl({ layoutId: e }) {
    let t = (0, C.useContext)(w).id;
    return t && e !== void 0 ? t + `-` + e : e;
  }
  function Tl(e, t) {
    let n = (0, C.useContext)(Ic).strict;
    if (process.env.NODE_ENV !== `production` && t && n) {
      let t =
        "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
      e.ignoreStrict
        ? D(!1, t, `lazy-strict-mode`)
        : O(!1, t, `lazy-strict-mode`);
    }
  }
  function El(e) {
    let { drag: t, layout: n } = Bc();
    if (!t && !n) return {};
    let r = { ...t, ...n };
    return {
      MeasureLayout:
        t?.isEnabled(e) || n?.isEnabled(e) ? r.MeasureLayout : void 0,
      ProjectionNode: r.ProjectionNode,
    };
  }
  function Dl(e, t) {
    if (typeof Proxy > `u`) return Cl;
    let n = new Map(),
      r = (n, r) => Cl(n, r, e, t);
    return new Proxy(
      (e, t) => (
        process.env.NODE_ENV !== `production` &&
          A(!1, `motion() is deprecated. Use motion.create() instead.`),
        r(e, t)
      ),
      {
        get: (i, a) =>
          a === `create`
            ? r
            : (n.has(a) || n.set(a, Cl(a, void 0, e, t)), n.get(a)),
      },
    );
  }
  var Ol = (e, t) =>
      (t.isSVG ?? cl(e))
        ? new qo(t)
        : new Lo(t, { allowProjection: e !== C.Fragment }),
    kl = class extends ro {
      constructor(e) {
        (super(e), (e.animationState ||= es(e)));
      }
      updateAnimationControlsSubscription() {
        let { animate: e } = this.node.getProps();
        Ba(e) && (this.unmountControls = e.subscribe(this.node));
      }
      mount() {
        this.updateAnimationControlsSubscription();
      }
      update() {
        let { animate: e } = this.node.getProps(),
          { animate: t } = this.node.prevProps || {};
        e !== t && this.updateAnimationControlsSubscription();
      }
      unmount() {
        (this.node.animationState.reset(), this.unmountControls?.());
      }
    },
    Al = 0,
    jl = {
      animation: { Feature: kl },
      exit: {
        Feature: class extends ro {
          constructor() {
            (super(...arguments), (this.id = Al++), (this.isExitComplete = !1));
          }
          update() {
            if (!this.node.presenceContext) return;
            let { isPresent: e, onExitComplete: t } = this.node.presenceContext,
              { isPresent: n } = this.node.prevPresenceContext || {};
            if (!this.node.animationState || e === n) return;
            if (e && n === !1) {
              if (this.isExitComplete) {
                let { initial: e, custom: t } = this.node.getProps();
                if (
                  typeof e == `string` ||
                  (typeof e == `object` && e && !Array.isArray(e))
                ) {
                  let n = hi(this.node, e, t);
                  if (n) {
                    let { transition: e, transitionEnd: t, ...r } = n;
                    for (let e in r) this.node.getValue(e)?.jump(r[e]);
                  }
                }
                (this.node.animationState.reset(),
                  this.node.animationState.animateChanges());
              } else this.node.animationState.setActive(`exit`, !1);
              this.isExitComplete = !1;
              return;
            }
            let r = this.node.animationState.setActive(`exit`, !e);
            t &&
              !e &&
              r.then(() => {
                ((this.isExitComplete = !0), t(this.id));
              });
          }
          mount() {
            let { register: e, onExitComplete: t } =
              this.node.presenceContext || {};
            (t && t(this.id), e && (this.unmount = e(this.id)));
          }
          unmount() {}
        },
      },
    };
  function Ml(e) {
    return { point: { x: e.pageX, y: e.pageY } };
  }
  var Nl = (e) => (t) => ca(t) && e(t, Ml(t));
  function Pl(e, t, n, r) {
    return Gs(e, t, Nl(n), r);
  }
  var R = ({ current: e }) => (e ? e.ownerDocument.defaultView : null),
    Fl = (e, t) => Math.abs(e - t);
  function Il(e, t) {
    let n = Fl(e.x, t.x),
      r = Fl(e.y, t.y);
    return Math.sqrt(n ** 2 + r ** 2);
  }
  var Ll = new Set([`auto`, `scroll`]),
    Rl = class {
      constructor(
        e,
        t,
        {
          transformPagePoint: n,
          contextWindow: r = window,
          dragSnapToOrigin: i = !1,
          distanceThreshold: a = 3,
          element: o,
        } = {},
      ) {
        if (
          ((this.startEvent = null),
          (this.lastMoveEvent = null),
          (this.lastMoveEventInfo = null),
          (this.lastRawMoveEventInfo = null),
          (this.handlers = {}),
          (this.contextWindow = window),
          (this.scrollPositions = new Map()),
          (this.removeScrollListeners = null),
          (this.onElementScroll = (e) => {
            this.handleScroll(e.target);
          }),
          (this.onWindowScroll = () => {
            this.handleScroll(window);
          }),
          (this.updatePoint = () => {
            if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
            this.lastRawMoveEventInfo &&
              (this.lastMoveEventInfo = zl(
                this.lastRawMoveEventInfo,
                this.transformPagePoint,
              ));
            let e = Vl(this.lastMoveEventInfo, this.history),
              t = this.startEvent !== null,
              n = Il(e.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
            if (!t && !n) return;
            let { point: r } = e,
              { timestamp: i } = Ye;
            this.history.push({ ...r, timestamp: i });
            let { onStart: a, onMove: o } = this.handlers;
            (t ||
              (a && a(this.lastMoveEvent, e),
              (this.startEvent = this.lastMoveEvent)),
              o && o(this.lastMoveEvent, e));
          }),
          (this.handlePointerMove = (e, t) => {
            ((this.lastMoveEvent = e),
              (this.lastRawMoveEventInfo = t),
              (this.lastMoveEventInfo = zl(t, this.transformPagePoint)),
              qe.update(this.updatePoint, !0));
          }),
          (this.handlePointerUp = (e, t) => {
            this.end();
            let {
              onEnd: n,
              onSessionEnd: r,
              resumeAnimation: i,
            } = this.handlers;
            if (
              ((this.dragSnapToOrigin || !this.startEvent) && i && i(),
              !(this.lastMoveEvent && this.lastMoveEventInfo))
            )
              return;
            let a = Vl(
              e.type === `pointercancel`
                ? this.lastMoveEventInfo
                : zl(t, this.transformPagePoint),
              this.history,
            );
            (this.startEvent && n && n(e, a), r && r(e, a));
          }),
          !ca(e))
        )
          return;
        ((this.dragSnapToOrigin = i),
          (this.handlers = t),
          (this.transformPagePoint = n),
          (this.distanceThreshold = a),
          (this.contextWindow = r || window));
        let s = zl(Ml(e), this.transformPagePoint),
          { point: c } = s,
          { timestamp: l } = Ye;
        this.history = [{ ...c, timestamp: l }];
        let { onSessionStart: u } = t;
        (u && u(e, Vl(s, this.history)),
          (this.removeListeners = me(
            Pl(this.contextWindow, `pointermove`, this.handlePointerMove),
            Pl(this.contextWindow, `pointerup`, this.handlePointerUp),
            Pl(this.contextWindow, `pointercancel`, this.handlePointerUp),
          )),
          o && this.startScrollTracking(o));
      }
      startScrollTracking(e) {
        let t = e.parentElement;
        for (; t;) {
          let e = getComputedStyle(t);
          ((Ll.has(e.overflowX) || Ll.has(e.overflowY)) &&
            this.scrollPositions.set(t, { x: t.scrollLeft, y: t.scrollTop }),
            (t = t.parentElement));
        }
        (this.scrollPositions.set(window, {
          x: window.scrollX,
          y: window.scrollY,
        }),
          window.addEventListener(`scroll`, this.onElementScroll, {
            capture: !0,
          }),
          window.addEventListener(`scroll`, this.onWindowScroll),
          (this.removeScrollListeners = () => {
            (window.removeEventListener(`scroll`, this.onElementScroll, {
              capture: !0,
            }),
              window.removeEventListener(`scroll`, this.onWindowScroll));
          }));
      }
      handleScroll(e) {
        let t = this.scrollPositions.get(e);
        if (!t) return;
        let n = e === window,
          r = n
            ? { x: window.scrollX, y: window.scrollY }
            : { x: e.scrollLeft, y: e.scrollTop },
          i = { x: r.x - t.x, y: r.y - t.y };
        (i.x === 0 && i.y === 0) ||
          (n
            ? this.lastMoveEventInfo &&
              ((this.lastMoveEventInfo.point.x += i.x),
              (this.lastMoveEventInfo.point.y += i.y))
            : this.history.length > 0 &&
              ((this.history[0].x -= i.x), (this.history[0].y -= i.y)),
          this.scrollPositions.set(e, r),
          qe.update(this.updatePoint, !0));
      }
      updateHandlers(e) {
        this.handlers = e;
      }
      end() {
        (this.removeListeners && this.removeListeners(),
          this.removeScrollListeners && this.removeScrollListeners(),
          this.scrollPositions.clear(),
          Je(this.updatePoint));
      }
    };
  function zl(e, t) {
    return t ? { point: t(e.point) } : e;
  }
  function Bl(e, t) {
    return { x: e.x - t.x, y: e.y - t.y };
  }
  function Vl({ point: e }, t) {
    return {
      point: e,
      delta: Bl(e, Ul(t)),
      offset: Bl(e, Hl(t)),
      velocity: Wl(t, 0.1),
    };
  }
  function Hl(e) {
    return e[0];
  }
  function Ul(e) {
    return e[e.length - 1];
  }
  function Wl(e, t) {
    if (e.length < 2) return { x: 0, y: 0 };
    let n = e.length - 1,
      r = null,
      i = Ul(e);
    for (; n >= 0 && ((r = e[n]), !(i.timestamp - r.timestamp > _e(t)));) n--;
    if (!r) return { x: 0, y: 0 };
    r === e[0] &&
      e.length > 2 &&
      i.timestamp - r.timestamp > _e(t) * 2 &&
      (r = e[1]);
    let a = ve(i.timestamp - r.timestamp);
    if (a === 0) return { x: 0, y: 0 };
    let o = { x: (i.x - r.x) / a, y: (i.y - r.y) / a };
    return (o.x === 1 / 0 && (o.x = 0), o.y === 1 / 0 && (o.y = 0), o);
  }
  function Gl(e, { min: t, max: n }, r) {
    return (
      t !== void 0 && e < t
        ? (e = r ? Jt(t, e, r.min) : Math.max(e, t))
        : n !== void 0 && e > n && (e = r ? Jt(n, e, r.max) : Math.min(e, n)),
      e
    );
  }
  function Kl(e, t, n) {
    return {
      min: t === void 0 ? void 0 : e.min + t,
      max: n === void 0 ? void 0 : e.max + n - (e.max - e.min),
    };
  }
  function ql(e, { top: t, left: n, bottom: r, right: i }) {
    return { x: Kl(e.x, n, i), y: Kl(e.y, t, r) };
  }
  function z(e, t) {
    let n = t.min - e.min,
      r = t.max - e.max;
    return (
      t.max - t.min < e.max - e.min && ([n, r] = [r, n]),
      { min: n, max: r }
    );
  }
  function Jl(e, t) {
    return { x: z(e.x, t.x), y: z(e.y, t.y) };
  }
  function Yl(e, t) {
    let n = 0.5,
      r = ds(e),
      i = ds(t);
    return (
      i > r
        ? (n = he(t.min, t.max - r, e.min))
        : r > i && (n = he(e.min, e.max - i, t.min)),
      se(0, 1, n)
    );
  }
  function Xl(e, t) {
    let n = {};
    return (
      t.min !== void 0 && (n.min = t.min - e.min),
      t.max !== void 0 && (n.max = t.max - e.min),
      n
    );
  }
  var Zl = 0.35;
  function Ql(e = Zl) {
    return (
      e === !1 ? (e = 0) : e === !0 && (e = Zl),
      { x: $l(e, `left`, `right`), y: $l(e, `top`, `bottom`) }
    );
  }
  function $l(e, t, n) {
    return { min: eu(e, t), max: eu(e, n) };
  }
  function eu(e, t) {
    return typeof e == `number` ? e : e[t] || 0;
  }
  var tu = new WeakMap(),
    nu = class {
      constructor(e) {
        ((this.openDragLock = null),
          (this.isDragging = !1),
          (this.currentDirection = null),
          (this.originPoint = { x: 0, y: 0 }),
          (this.constraints = !1),
          (this.hasMutatedConstraints = !1),
          (this.elastic = Ra()),
          (this.latestPointerEvent = null),
          (this.latestPanInfo = null),
          (this.visualElement = e));
      }
      start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
        let { presenceContext: r } = this.visualElement;
        if (r && r.isPresent === !1) return;
        let i = (e) => {
            (t && this.snapToCursor(Ml(e).point), this.stopAnimation());
          },
          a = (e, t) => {
            let {
              drag: n,
              dragPropagation: r,
              onDragStart: i,
            } = this.getProps();
            if (
              n &&
              !r &&
              (this.openDragLock && this.openDragLock(),
              (this.openDragLock = ra(n)),
              !this.openDragLock)
            )
              return;
            ((this.latestPointerEvent = e),
              (this.latestPanInfo = t),
              (this.isDragging = !0),
              (this.currentDirection = null),
              this.resolveConstraints(),
              this.visualElement.projection &&
                ((this.visualElement.projection.isAnimationBlocked = !0),
                (this.visualElement.projection.target = void 0)),
              Ns((e) => {
                let t = this.getAxisMotionValue(e).get() || 0;
                if (Ct.test(t)) {
                  let { projection: n } = this.visualElement;
                  if (n && n.layout) {
                    let r = n.layout.layoutBox[e];
                    r && (t = ds(r) * (parseFloat(t) / 100));
                  }
                }
                this.originPoint[e] = t;
              }),
              i && qe.update(() => i(e, t), !1, !0),
              Ci(this.visualElement, `transform`));
            let { animationState: a } = this.visualElement;
            a && a.setActive(`whileDrag`, !0);
          },
          o = (e, t) => {
            ((this.latestPointerEvent = e), (this.latestPanInfo = t));
            let {
              dragPropagation: n,
              dragDirectionLock: r,
              onDirectionLock: i,
              onDrag: a,
            } = this.getProps();
            if (!n && !this.openDragLock) return;
            let { offset: o } = t;
            if (r && this.currentDirection === null) {
              ((this.currentDirection = ou(o)),
                this.currentDirection !== null &&
                  i &&
                  i(this.currentDirection));
              return;
            }
            (this.updateAxis(`x`, t.point, o),
              this.updateAxis(`y`, t.point, o),
              this.visualElement.render(),
              a && qe.update(() => a(e, t), !1, !0));
          },
          s = (e, t) => {
            ((this.latestPointerEvent = e),
              (this.latestPanInfo = t),
              this.stop(e, t),
              (this.latestPointerEvent = null),
              (this.latestPanInfo = null));
          },
          c = () => {
            let { dragSnapToOrigin: e } = this.getProps();
            (e || this.constraints) && this.startAnimation({ x: 0, y: 0 });
          },
          { dragSnapToOrigin: l } = this.getProps();
        this.panSession = new Rl(
          e,
          {
            onSessionStart: i,
            onStart: a,
            onMove: o,
            onSessionEnd: s,
            resumeAnimation: c,
          },
          {
            transformPagePoint: this.visualElement.getTransformPagePoint(),
            dragSnapToOrigin: l,
            distanceThreshold: n,
            contextWindow: R(this.visualElement),
            element: this.visualElement.current,
          },
        );
      }
      stop(e, t) {
        let n = e || this.latestPointerEvent,
          r = t || this.latestPanInfo,
          i = this.isDragging;
        if ((this.cancel(), !i || !r || !n)) return;
        let { velocity: a } = r;
        this.startAnimation(a);
        let { onDragEnd: o } = this.getProps();
        o && qe.postRender(() => o(n, r));
      }
      cancel() {
        this.isDragging = !1;
        let { projection: e, animationState: t } = this.visualElement;
        (e && (e.isAnimationBlocked = !1), this.endPanSession());
        let { dragPropagation: n } = this.getProps();
        (!n &&
          this.openDragLock &&
          (this.openDragLock(), (this.openDragLock = null)),
          t && t.setActive(`whileDrag`, !1));
      }
      endPanSession() {
        (this.panSession && this.panSession.end(), (this.panSession = void 0));
      }
      updateAxis(e, t, n) {
        let { drag: r } = this.getProps();
        if (!n || !au(e, r, this.currentDirection)) return;
        let i = this.getAxisMotionValue(e),
          a = this.originPoint[e] + n[e];
        (this.constraints &&
          this.constraints[e] &&
          (a = Gl(a, this.constraints[e], this.elastic[e])),
          i.set(a));
      }
      resolveConstraints() {
        let { dragConstraints: e, dragElastic: t } = this.getProps(),
          n =
            this.visualElement.projection &&
            !this.visualElement.projection.layout
              ? this.visualElement.projection.measure(!1)
              : this.visualElement.projection?.layout,
          r = this.constraints;
        (e && vl(e)
          ? (this.constraints ||= this.resolveRefConstraints())
          : e && n
            ? (this.constraints = ql(n.layoutBox, e))
            : (this.constraints = !1),
          (this.elastic = Ql(t)),
          r !== this.constraints &&
            !vl(e) &&
            n &&
            this.constraints &&
            !this.hasMutatedConstraints &&
            Ns((e) => {
              this.constraints !== !1 &&
                this.getAxisMotionValue(e) &&
                (this.constraints[e] = Xl(n.layoutBox[e], this.constraints[e]));
            }));
      }
      resolveRefConstraints() {
        let { dragConstraints: e, onMeasureDragConstraints: t } =
          this.getProps();
        if (!e || !vl(e)) return !1;
        let n = e.current;
        O(
          n !== null,
          "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.",
          `drag-constraints-ref`,
        );
        let { projection: r } = this.visualElement;
        if (!r || !r.layout) return !1;
        r.root && ((r.root.scroll = void 0), r.root.updateScroll());
        let i = wo(n, r.root, this.visualElement.getTransformPagePoint()),
          a = Jl(r.layout.layoutBox, i);
        if (t) {
          let e = t(ao(a));
          ((this.hasMutatedConstraints = !!e), e && (a = io(e)));
        }
        return a;
      }
      startAnimation(e) {
        let {
            drag: t,
            dragMomentum: n,
            dragElastic: r,
            dragTransition: i,
            dragSnapToOrigin: a,
            onDragTransitionEnd: o,
          } = this.getProps(),
          s = this.constraints || {},
          c = Ns((o) => {
            if (!au(o, t, this.currentDirection)) return;
            let c = (s && s[o]) || {};
            (a === !0 || a === o) && (c = { min: 0, max: 0 });
            let l = r ? 200 : 1e6,
              u = r ? 40 : 1e7,
              d = {
                type: `inertia`,
                velocity: n ? e[o] : 0,
                bounceStiffness: l,
                bounceDamping: u,
                timeConstant: 750,
                restDelta: 1,
                restSpeed: 10,
                ...i,
                ...c,
              };
            return this.startAxisValueAnimation(o, d);
          });
        return Promise.all(c).then(o);
      }
      startAxisValueAnimation(e, t) {
        let n = this.getAxisMotionValue(e);
        return (
          Ci(this.visualElement, e),
          n.start(ci(e, n, 0, t, this.visualElement, !1))
        );
      }
      stopAnimation() {
        Ns((e) => this.getAxisMotionValue(e).stop());
      }
      getAxisMotionValue(e) {
        let t = `_drag${e.toUpperCase()}`;
        return (
          this.visualElement.getProps()[t] ||
          this.visualElement.getValue(
            e,
            this.visualElement.latestValues[e] ?? 0,
          )
        );
      }
      snapToCursor(e) {
        Ns((t) => {
          let { drag: n } = this.getProps();
          if (!au(t, n, this.currentDirection)) return;
          let { projection: r } = this.visualElement,
            i = this.getAxisMotionValue(t);
          if (r && r.layout) {
            let { min: n, max: a } = r.layout.layoutBox[t],
              o = i.get() || 0;
            i.set(e[t] - Jt(n, a, 0.5) + o);
          }
        });
      }
      scalePositionWithinConstraints() {
        if (!this.visualElement.current) return;
        let { drag: e, dragConstraints: t } = this.getProps(),
          { projection: n } = this.visualElement;
        if (!vl(t) || !n || !this.constraints) return;
        this.stopAnimation();
        let r = { x: 0, y: 0 };
        Ns((e) => {
          let t = this.getAxisMotionValue(e);
          if (t && this.constraints !== !1) {
            let n = t.get();
            r[e] = Yl({ min: n, max: n }, this.constraints[e]);
          }
        });
        let { transformTemplate: i } = this.visualElement.getProps();
        ((this.visualElement.current.style.transform = i ? i({}, ``) : `none`),
          n.root && n.root.updateScroll(),
          n.updateLayout(),
          (this.constraints = !1),
          this.resolveConstraints(),
          Ns((t) => {
            if (!au(t, e, null)) return;
            let n = this.getAxisMotionValue(t),
              { min: i, max: a } = this.constraints[t];
            n.set(Jt(i, a, r[t]));
          }),
          this.visualElement.render());
      }
      addListeners() {
        if (!this.visualElement.current) return;
        tu.set(this.visualElement, this);
        let e = this.visualElement.current,
          t = Pl(e, `pointerdown`, (t) => {
            let { drag: n, dragListener: r = !0 } = this.getProps(),
              i = t.target,
              a = i !== e && fa(i);
            n && r && !a && this.start(t);
          }),
          n,
          r = () => {
            let { dragConstraints: t } = this.getProps();
            vl(t) &&
              t.current &&
              ((this.constraints = this.resolveRefConstraints()),
              (n ||= iu(e, t.current, () =>
                this.scalePositionWithinConstraints(),
              )));
          },
          { projection: i } = this.visualElement,
          a = i.addEventListener(`measure`, r);
        (i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()),
          qe.read(r));
        let o = Gs(window, `resize`, () =>
            this.scalePositionWithinConstraints(),
          ),
          s = i.addEventListener(
            `didUpdate`,
            ({ delta: e, hasLayoutChanged: t }) => {
              this.isDragging &&
                t &&
                (Ns((t) => {
                  let n = this.getAxisMotionValue(t);
                  n &&
                    ((this.originPoint[t] += e[t].translate),
                    n.set(n.get() + e[t].translate));
                }),
                this.visualElement.render());
            },
          );
        return () => {
          (o(), t(), a(), s && s(), n && n());
        };
      }
      getProps() {
        let e = this.visualElement.getProps(),
          {
            drag: t = !1,
            dragDirectionLock: n = !1,
            dragPropagation: r = !1,
            dragConstraints: i = !1,
            dragElastic: a = Zl,
            dragMomentum: o = !0,
          } = e;
        return {
          ...e,
          drag: t,
          dragDirectionLock: n,
          dragPropagation: r,
          dragConstraints: i,
          dragElastic: a,
          dragMomentum: o,
        };
      }
    };
  function ru(e) {
    let t = !0;
    return () => {
      if (t) {
        t = !1;
        return;
      }
      e();
    };
  }
  function iu(e, t, n) {
    let r = ja(e, ru(n)),
      i = ja(t, ru(n));
    return () => {
      (r(), i());
    };
  }
  function au(e, t, n) {
    return (t === !0 || t === e) && (n === null || n === e);
  }
  function ou(e, t = 10) {
    let n = null;
    return (Math.abs(e.y) > t ? (n = `y`) : Math.abs(e.x) > t && (n = `x`), n);
  }
  var B = class extends ro {
      constructor(e) {
        (super(e),
          (this.removeGroupControls = k),
          (this.removeListeners = k),
          (this.controls = new nu(e)));
      }
      mount() {
        let { dragControls: e } = this.node.getProps();
        (e && (this.removeGroupControls = e.subscribe(this.controls)),
          (this.removeListeners = this.controls.addListeners() || k));
      }
      update() {
        let { dragControls: e } = this.node.getProps(),
          { dragControls: t } = this.node.prevProps || {};
        e !== t &&
          (this.removeGroupControls(),
          e && (this.removeGroupControls = e.subscribe(this.controls)));
      }
      unmount() {
        (this.removeGroupControls(),
          this.removeListeners(),
          this.controls.isDragging || this.controls.endPanSession());
      }
    },
    su = (e) => (t, n) => {
      e && qe.update(() => e(t, n), !1, !0);
    },
    cu = class extends ro {
      constructor() {
        (super(...arguments), (this.removePointerDownListener = k));
      }
      onPointerDown(e) {
        this.session = new Rl(e, this.createPanHandlers(), {
          transformPagePoint: this.node.getTransformPagePoint(),
          contextWindow: R(this.node),
        });
      }
      createPanHandlers() {
        let {
          onPanSessionStart: e,
          onPanStart: t,
          onPan: n,
          onPanEnd: r,
        } = this.node.getProps();
        return {
          onSessionStart: su(e),
          onStart: su(t),
          onMove: su(n),
          onEnd: (e, t) => {
            (delete this.session, r && qe.postRender(() => r(e, t)));
          },
        };
      }
      mount() {
        this.removePointerDownListener = Pl(
          this.node.current,
          `pointerdown`,
          (e) => this.onPointerDown(e),
        );
      }
      update() {
        this.session && this.session.updateHandlers(this.createPanHandlers());
      }
      unmount() {
        (this.removePointerDownListener(), this.session && this.session.end());
      }
    },
    lu = !1,
    uu = class extends C.Component {
      componentDidMount() {
        let {
            visualElement: e,
            layoutGroup: t,
            switchLayoutGroup: n,
            layoutId: r,
          } = this.props,
          { projection: i } = e;
        (i &&
          (t.group && t.group.add(i),
          n && n.register && r && n.register(i),
          lu && i.root.didUpdate(),
          i.addEventListener(`animationComplete`, () => {
            this.safeToRemove();
          }),
          i.setOptions({
            ...i.options,
            layoutDependency: this.props.layoutDependency,
            onExitComplete: () => this.safeToRemove(),
          })),
          (Zs.hasEverUpdated = !0));
      }
      getSnapshotBeforeUpdate(e) {
        let {
            layoutDependency: t,
            visualElement: n,
            drag: r,
            isPresent: i,
          } = this.props,
          { projection: a } = n;
        return a
          ? ((a.isPresent = i),
            e.layoutDependency !== t &&
              a.setOptions({ ...a.options, layoutDependency: t }),
            (lu = !0),
            r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i
              ? a.willUpdate()
              : this.safeToRemove(),
            e.isPresent !== i &&
              (i
                ? a.promote()
                : a.relegate() ||
                  qe.postRender(() => {
                    let e = a.getStack();
                    (!e || !e.members.length) && this.safeToRemove();
                  })),
            null)
          : null;
      }
      componentDidUpdate() {
        let { visualElement: e, layoutAnchor: t } = this.props,
          { projection: n } = e;
        n &&
          ((n.options.layoutAnchor = t),
          n.root.didUpdate(),
          $i.postRender(() => {
            !n.currentAnimation && n.isLead() && this.safeToRemove();
          }));
      }
      componentWillUnmount() {
        let {
            visualElement: e,
            layoutGroup: t,
            switchLayoutGroup: n,
          } = this.props,
          { projection: r } = e;
        ((lu = !0),
          r &&
            (r.scheduleCheckAfterUnmount(),
            t && t.group && t.group.remove(r),
            n && n.deregister && n.deregister(r)));
      }
      safeToRemove() {
        let { safeToRemove: e } = this.props;
        e && e();
      }
      render() {
        return null;
      }
    };
  function du(e) {
    let [t, n] = Fc(),
      r = (0, C.useContext)(w);
    return (0, Sl.jsx)(uu, {
      ...e,
      layoutGroup: r,
      switchLayoutGroup: (0, C.useContext)(_l),
      isPresent: t,
      safeToRemove: n,
    });
  }
  var fu = {
    pan: { Feature: cu },
    drag: { Feature: B, ProjectionNode: Nc, MeasureLayout: du },
  };
  function pu(e, t, n) {
    let { props: r } = e;
    e.animationState &&
      r.whileHover &&
      e.animationState.setActive(`whileHover`, n === `Start`);
    let i = r[`onHover` + n];
    i && qe.postRender(() => i(t, Ml(t)));
  }
  var mu = class extends ro {
      mount() {
        let { current: e } = this.node;
        e &&
          (this.unmount = oa(
            e,
            (e, t) => (
              pu(this.node, t, `Start`),
              (e) => pu(this.node, e, `End`)
            ),
          ));
      }
      unmount() {}
    },
    hu = class extends ro {
      constructor() {
        (super(...arguments), (this.isActive = !1));
      }
      onFocus() {
        let e = !1;
        try {
          e = this.node.current.matches(`:focus-visible`);
        } catch {
          e = !0;
        }
        !e ||
          !this.node.animationState ||
          (this.node.animationState.setActive(`whileFocus`, !0),
          (this.isActive = !0));
      }
      onBlur() {
        !this.isActive ||
          !this.node.animationState ||
          (this.node.animationState.setActive(`whileFocus`, !1),
          (this.isActive = !1));
      }
      mount() {
        this.unmount = me(
          Gs(this.node.current, `focus`, () => this.onFocus()),
          Gs(this.node.current, `blur`, () => this.onBlur()),
        );
      }
      unmount() {}
    };
  function gu(e, t, n) {
    let { props: r } = e;
    if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
    e.animationState &&
      r.whileTap &&
      e.animationState.setActive(`whileTap`, n === `Start`);
    let i = r[`onTap` + (n === `End` ? `` : n)];
    i && qe.postRender(() => i(t, Ml(t)));
  }
  var _u = class extends ro {
      mount() {
        let { current: e } = this.node;
        if (!e) return;
        let { globalTapTarget: t, propagate: n } = this.node.props;
        this.unmount = _a(
          e,
          (e, t) => (
            gu(this.node, t, `Start`),
            (e, { success: t }) => gu(this.node, e, t ? `End` : `Cancel`)
          ),
          { useGlobalTarget: t, stopPropagation: n?.tap === !1 },
        );
      }
      unmount() {}
    },
    vu = new WeakMap(),
    yu = new WeakMap(),
    bu = (e) => {
      let t = vu.get(e.target);
      t && t(e);
    },
    xu = (e) => {
      e.forEach(bu);
    };
  function Su({ root: e, ...t }) {
    let n = e || document;
    yu.has(n) || yu.set(n, {});
    let r = yu.get(n),
      i = JSON.stringify(t);
    return (
      r[i] || (r[i] = new IntersectionObserver(xu, { root: e, ...t })),
      r[i]
    );
  }
  function Cu(e, t, n) {
    let r = Su(t);
    return (
      vu.set(e, n),
      r.observe(e),
      () => {
        (vu.delete(e), r.unobserve(e));
      }
    );
  }
  var wu = { some: 0, all: 1 },
    Tu = class extends ro {
      constructor() {
        (super(...arguments), (this.hasEnteredView = !1), (this.isInView = !1));
      }
      startObserver() {
        this.stopObserver?.();
        let { viewport: e = {} } = this.node.getProps(),
          { root: t, margin: n, amount: r = `some`, once: i } = e,
          a = {
            root: t ? t.current : void 0,
            rootMargin: n,
            threshold: typeof r == `number` ? r : wu[r],
          },
          o = (e) => {
            let { isIntersecting: t } = e;
            if (
              this.isInView === t ||
              ((this.isInView = t), i && !t && this.hasEnteredView)
            )
              return;
            (t && (this.hasEnteredView = !0),
              this.node.animationState &&
                this.node.animationState.setActive(`whileInView`, t));
            let { onViewportEnter: n, onViewportLeave: r } =
                this.node.getProps(),
              a = t ? n : r;
            a && a(e);
          };
        this.stopObserver = Cu(this.node.current, a, o);
      }
      mount() {
        this.startObserver();
      }
      update() {
        if (typeof IntersectionObserver > `u`) return;
        let { props: e, prevProps: t } = this.node;
        [`amount`, `margin`, `root`].some(Eu(e, t)) && this.startObserver();
      }
      unmount() {
        (this.stopObserver?.(),
          (this.hasEnteredView = !1),
          (this.isInView = !1));
      }
    };
  function Eu({ viewport: e = {} }, { viewport: t = {} } = {}) {
    return (n) => e[n] !== t[n];
  }
  var Du = {
      inView: { Feature: Tu },
      tap: { Feature: _u },
      focus: { Feature: hu },
      hover: { Feature: mu },
    },
    Ou = { layout: { ProjectionNode: Nc, MeasureLayout: du } },
    ku = Dl({ ...jl, ...Du, ...fu, ...Ou }, Ol),
    Au = u(te(), 1),
    ju = [
      {
        id: `anime-000`,
        type: `anime`,
        display_name: `Todos los Animes`,
        file_name: `all`,
        url_path: `./assets/anime-logos/todos-animes.webp`,
      },
      {
        id: `anime-001`,
        type: `anime`,
        display_name: `Attack on Titan`,
        file_name: `attack-on-titan`,
        url_path: `./assets/anime-logos/attack-on-titan.webp`,
      },
      {
        id: `anime-002`,
        type: `anime`,
        display_name: `Baki`,
        file_name: `baki`,
        url_path: `./assets/anime-logos/baki.webp`,
      },
      {
        id: `anime-003`,
        type: `anime`,
        display_name: `Chainsaw Man`,
        file_name: `chainsaw-man`,
        url_path: `./assets/anime-logos/chainsaw-man.webp`,
      },
      {
        id: `anime-004`,
        type: `anime`,
        display_name: `Dandadan`,
        file_name: `dandadan`,
        url_path: `./assets/anime-logos/dandadan.webp`,
      },
      {
        id: `anime-005`,
        type: `anime`,
        display_name: `Dragon Ball Z`,
        file_name: `dragon-ball`,
        url_path: `./assets/anime-logos/dragon-ball.webp`,
      },
      {
        id: `anime-006`,
        type: `anime`,
        display_name: `Jujutsu Kaisen`,
        file_name: `jujutsu-kaisen`,
        url_path: `./assets/anime-logos/jujutsu-kaisen.webp`,
      },
      {
        id: `anime-007`,
        type: `anime`,
        display_name: `My Hero Academia`,
        file_name: `my-hero-academia`,
        url_path: `./assets/anime-logos/my-hero-academia.webp`,
      },
      {
        id: `anime-008`,
        type: `anime`,
        display_name: `Naruto Shippuden`,
        file_name: `naruto`,
        url_path: `./assets/anime-logos/naruto.webp`,
      },
      {
        id: `anime-009`,
        type: `anime`,
        display_name: `One Piece`,
        file_name: `one-piece`,
        url_path: `./assets/anime-logos/one-piece.webp`,
      },
      {
        id: `anime-010`,
        type: `anime`,
        display_name: `One Punch Man`,
        file_name: `one-punch-man`,
        url_path: `./assets/anime-logos/one-punch-man.webp`,
      },
      {
        id: `anime-011`,
        type: `anime`,
        display_name: `The Seven Deadly Sins`,
        file_name: `seven-deadly-sins`,
        url_path: `./assets/anime-logos/seven-deadly-sins.webp`,
      },
      {
        id: `anime-012`,
        type: `anime`,
        display_name: `Solo Leveling`,
        file_name: `solo-leveling`,
        url_path: `./assets/anime-logos/solo-leveling.webp`,
      },
    ];
  function Mu({ onSelectAnime: e }) {
    let [t, n] = (0, C.useState)(0);
    (0, C.useEffect)(() => {
      e && e(ju[t]);
    }, [t]);
    let r = (0, C.useRef)(!1),
      i = ju.length,
      a = (e) => {
        let n = e - t;
        return (n > i / 2 && (n -= i), n < -i / 2 && (n += i), n);
      },
      o = () => {
        n((e) => (e + 1) % i);
      },
      s = () => {
        n((e) => (e - 1 + i) % i);
      };
    return (0, Sl.jsxs)(`div`, {
      className: `vitrina-container`,
      children: [
        (0, Sl.jsx)(`button`, {
          className: `nav-btn left`,
          onClick: s,
          children: `‹`,
        }),
        (0, Sl.jsx)(ku.div, {
          className: `vitrina`,
          drag: `x`,
          dragMomentum: !1,
          dragConstraints: { left: 0, right: 0 },
          dragElastic: 0.05,
          onDrag: (e, t) => {
            r.current ||
              (t.offset.x <= -100 && (o(), (r.current = !0)),
              t.offset.x >= 100 && (s(), (r.current = !0)));
          },
          onDragEnd: () => {
            r.current = !1;
          },
          children: ju.map((t, r) => {
            let i = a(r),
              o = Math.abs(i);
            if (o > 4) return null;
            let s = i * 220,
              c =
                i === 0
                  ? 1.3
                  : o === 1
                    ? 0.92
                    : o === 2
                      ? 0.78
                      : o === 3
                        ? 0.65
                        : 0.55,
              l =
                o === 0
                  ? 1
                  : o === 1
                    ? 0.9
                    : o === 2
                      ? 0.7
                      : o === 3
                        ? 0.4
                        : 0.15,
              u = o === 0 || o === 1 ? 0 : o === 2 ? 1 : o === 3 ? 2 : 4,
              d = i * -22,
              f = 100 - o;
            return (0, Sl.jsx)(
              ku.div,
              {
                className: `anime-card-wrapper`,
                animate: { x: s, scale: c, opacity: l, rotateY: d },
                transition: { duration: 0.6, ease: `easeInOut` },
                style: { zIndex: f, filter: `blur(${u}px)` },
                children: (0, Sl.jsx)(`button`, {
                  className: `anime-btn ${i === 0 ? `active` : ``}`,
                  onClick: () => {
                    n(r);
                  },
                  children: (0, Sl.jsx)(`img`, {
                    src: t.url_path,
                    alt: t.display_name,
                  }),
                }),
              },
              t.id,
            );
          }),
        }),
        (0, Sl.jsx)(`button`, {
          className: `nav-btn right`,
          onClick: o,
          children: `›`,
        }),
      ],
    });
  }
  window.renderAnimeGallery = function (e, t = {}) {
    let n = document.getElementById(e);
    if (!n) {
      console.error(`Container ${e} not found`);
      return;
    }
    Au.createRoot(n).render(
      (0, Sl.jsx)(Mu, { onSelectAnime: t.onSelectAnime }),
    );
  };
})();
