var eF = Object.defineProperty;
var tF = (r, a, l) => a in r ? eF(r, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : r[a] = l;
var nF = (r, a) => () => (a || r((a = { exports: {} }).exports, a), a.exports);
var vE = (r, a, l) => tF(r, typeof a != "symbol" ? a + "" : a, l);
var iI = nF((cI, C0) => {
  function H_(r, a) {
    for (var l = 0; l < a.length; l++) {
      const s = a[l];
      if (typeof s != "string" && !Array.isArray(s)) {
        for (const f in s)
          if (f !== "default" && !(f in r)) {
            const m = Object.getOwnPropertyDescriptor(s, f);
            m && Object.defineProperty(r, f, m.get ? m : {
              enumerable: !0,
              get: () => s[f]
            });
          }
      }
    }
    return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
  }
  function N0(r) {
    return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
  }
  var qy = { exports: {} }, Nh = {}, Gy = { exports: {} }, Xt = {};
  /**
   * @license React
   * react.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var JT;
  function rF() {
    if (JT) return Xt;
    JT = 1;
    var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), p = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), T = Symbol.iterator;
    function _(z) {
      return z === null || typeof z != "object" ? null : (z = T && z[T] || z["@@iterator"], typeof z == "function" ? z : null);
    }
    var A = { isMounted: function() {
      return !1;
    }, enqueueForceUpdate: function() {
    }, enqueueReplaceState: function() {
    }, enqueueSetState: function() {
    } }, P = Object.assign, L = {};
    function M(z, K, Re) {
      this.props = z, this.context = K, this.refs = L, this.updater = Re || A;
    }
    M.prototype.isReactComponent = {}, M.prototype.setState = function(z, K) {
      if (typeof z != "object" && typeof z != "function" && z != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
      this.updater.enqueueSetState(this, z, K, "setState");
    }, M.prototype.forceUpdate = function(z) {
      this.updater.enqueueForceUpdate(this, z, "forceUpdate");
    };
    function V() {
    }
    V.prototype = M.prototype;
    function $(z, K, Re) {
      this.props = z, this.context = K, this.refs = L, this.updater = Re || A;
    }
    var j = $.prototype = new V();
    j.constructor = $, P(j, M.prototype), j.isPureReactComponent = !0;
    var W = Array.isArray, I = Object.prototype.hasOwnProperty, ee = { current: null }, Y = { key: !0, ref: !0, __self: !0, __source: !0 };
    function ne(z, K, Re) {
      var we, Ue = {}, Ke = null, Be = null;
      if (K != null) for (we in K.ref !== void 0 && (Be = K.ref), K.key !== void 0 && (Ke = "" + K.key), K) I.call(K, we) && !Y.hasOwnProperty(we) && (Ue[we] = K[we]);
      var vt = arguments.length - 2;
      if (vt === 1) Ue.children = Re;
      else if (1 < vt) {
        for (var ut = Array(vt), Tt = 0; Tt < vt; Tt++) ut[Tt] = arguments[Tt + 2];
        Ue.children = ut;
      }
      if (z && z.defaultProps) for (we in vt = z.defaultProps, vt) Ue[we] === void 0 && (Ue[we] = vt[we]);
      return { $$typeof: r, type: z, key: Ke, ref: Be, props: Ue, _owner: ee.current };
    }
    function ae(z, K) {
      return { $$typeof: r, type: z.type, key: K, ref: z.ref, props: z.props, _owner: z._owner };
    }
    function ve(z) {
      return typeof z == "object" && z !== null && z.$$typeof === r;
    }
    function ye(z) {
      var K = { "=": "=0", ":": "=2" };
      return "$" + z.replace(/[=:]/g, function(Re) {
        return K[Re];
      });
    }
    var Oe = /\/+/g;
    function ge(z, K) {
      return typeof z == "object" && z !== null && z.key != null ? ye("" + z.key) : K.toString(36);
    }
    function me(z, K, Re, we, Ue) {
      var Ke = typeof z;
      (Ke === "undefined" || Ke === "boolean") && (z = null);
      var Be = !1;
      if (z === null) Be = !0;
      else switch (Ke) {
        case "string":
        case "number":
          Be = !0;
          break;
        case "object":
          switch (z.$$typeof) {
            case r:
            case a:
              Be = !0;
          }
      }
      if (Be) return Be = z, Ue = Ue(Be), z = we === "" ? "." + ge(Be, 0) : we, W(Ue) ? (Re = "", z != null && (Re = z.replace(Oe, "$&/") + "/"), me(Ue, K, Re, "", function(Tt) {
        return Tt;
      })) : Ue != null && (ve(Ue) && (Ue = ae(Ue, Re + (!Ue.key || Be && Be.key === Ue.key ? "" : ("" + Ue.key).replace(Oe, "$&/") + "/") + z)), K.push(Ue)), 1;
      if (Be = 0, we = we === "" ? "." : we + ":", W(z)) for (var vt = 0; vt < z.length; vt++) {
        Ke = z[vt];
        var ut = we + ge(Ke, vt);
        Be += me(Ke, K, Re, ut, Ue);
      }
      else if (ut = _(z), typeof ut == "function") for (z = ut.call(z), vt = 0; !(Ke = z.next()).done; ) Ke = Ke.value, ut = we + ge(Ke, vt++), Be += me(Ke, K, Re, ut, Ue);
      else if (Ke === "object") throw K = String(z), Error("Objects are not valid as a React child (found: " + (K === "[object Object]" ? "object with keys {" + Object.keys(z).join(", ") + "}" : K) + "). If you meant to render a collection of children, use an array instead.");
      return Be;
    }
    function Te(z, K, Re) {
      if (z == null) return z;
      var we = [], Ue = 0;
      return me(z, we, "", "", function(Ke) {
        return K.call(Re, Ke, Ue++);
      }), we;
    }
    function re(z) {
      if (z._status === -1) {
        var K = z._result;
        K = K(), K.then(function(Re) {
          (z._status === 0 || z._status === -1) && (z._status = 1, z._result = Re);
        }, function(Re) {
          (z._status === 0 || z._status === -1) && (z._status = 2, z._result = Re);
        }), z._status === -1 && (z._status = 0, z._result = K);
      }
      if (z._status === 1) return z._result.default;
      throw z._result;
    }
    var Q = { current: null }, q = { transition: null }, se = { ReactCurrentDispatcher: Q, ReactCurrentBatchConfig: q, ReactCurrentOwner: ee };
    function te() {
      throw Error("act(...) is not supported in production builds of React.");
    }
    return Xt.Children = { map: Te, forEach: function(z, K, Re) {
      Te(z, function() {
        K.apply(this, arguments);
      }, Re);
    }, count: function(z) {
      var K = 0;
      return Te(z, function() {
        K++;
      }), K;
    }, toArray: function(z) {
      return Te(z, function(K) {
        return K;
      }) || [];
    }, only: function(z) {
      if (!ve(z)) throw Error("React.Children.only expected to receive a single React element child.");
      return z;
    } }, Xt.Component = M, Xt.Fragment = l, Xt.Profiler = f, Xt.PureComponent = $, Xt.StrictMode = s, Xt.Suspense = C, Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = se, Xt.act = te, Xt.cloneElement = function(z, K, Re) {
      if (z == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + z + ".");
      var we = P({}, z.props), Ue = z.key, Ke = z.ref, Be = z._owner;
      if (K != null) {
        if (K.ref !== void 0 && (Ke = K.ref, Be = ee.current), K.key !== void 0 && (Ue = "" + K.key), z.type && z.type.defaultProps) var vt = z.type.defaultProps;
        for (ut in K) I.call(K, ut) && !Y.hasOwnProperty(ut) && (we[ut] = K[ut] === void 0 && vt !== void 0 ? vt[ut] : K[ut]);
      }
      var ut = arguments.length - 2;
      if (ut === 1) we.children = Re;
      else if (1 < ut) {
        vt = Array(ut);
        for (var Tt = 0; Tt < ut; Tt++) vt[Tt] = arguments[Tt + 2];
        we.children = vt;
      }
      return { $$typeof: r, type: z.type, key: Ue, ref: Ke, props: we, _owner: Be };
    }, Xt.createContext = function(z) {
      return z = { $$typeof: p, _currentValue: z, _currentValue2: z, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, z.Provider = { $$typeof: m, _context: z }, z.Consumer = z;
    }, Xt.createElement = ne, Xt.createFactory = function(z) {
      var K = ne.bind(null, z);
      return K.type = z, K;
    }, Xt.createRef = function() {
      return { current: null };
    }, Xt.forwardRef = function(z) {
      return { $$typeof: S, render: z };
    }, Xt.isValidElement = ve, Xt.lazy = function(z) {
      return { $$typeof: R, _payload: { _status: -1, _result: z }, _init: re };
    }, Xt.memo = function(z, K) {
      return { $$typeof: E, type: z, compare: K === void 0 ? null : K };
    }, Xt.startTransition = function(z) {
      var K = q.transition;
      q.transition = {};
      try {
        z();
      } finally {
        q.transition = K;
      }
    }, Xt.unstable_act = te, Xt.useCallback = function(z, K) {
      return Q.current.useCallback(z, K);
    }, Xt.useContext = function(z) {
      return Q.current.useContext(z);
    }, Xt.useDebugValue = function() {
    }, Xt.useDeferredValue = function(z) {
      return Q.current.useDeferredValue(z);
    }, Xt.useEffect = function(z, K) {
      return Q.current.useEffect(z, K);
    }, Xt.useId = function() {
      return Q.current.useId();
    }, Xt.useImperativeHandle = function(z, K, Re) {
      return Q.current.useImperativeHandle(z, K, Re);
    }, Xt.useInsertionEffect = function(z, K) {
      return Q.current.useInsertionEffect(z, K);
    }, Xt.useLayoutEffect = function(z, K) {
      return Q.current.useLayoutEffect(z, K);
    }, Xt.useMemo = function(z, K) {
      return Q.current.useMemo(z, K);
    }, Xt.useReducer = function(z, K, Re) {
      return Q.current.useReducer(z, K, Re);
    }, Xt.useRef = function(z) {
      return Q.current.useRef(z);
    }, Xt.useState = function(z) {
      return Q.current.useState(z);
    }, Xt.useSyncExternalStore = function(z, K, Re) {
      return Q.current.useSyncExternalStore(z, K, Re);
    }, Xt.useTransition = function() {
      return Q.current.useTransition();
    }, Xt.version = "18.3.1", Xt;
  }
  var Ph = { exports: {} };
  /**
   * @license React
   * react.development.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  Ph.exports;
  var eO;
  function aF() {
    return eO || (eO = 1, function(r, a) {
      process.env.NODE_ENV !== "production" && function() {
        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
        var l = "18.3.1", s = Symbol.for("react.element"), f = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), E = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), M = Symbol.iterator, V = "@@iterator";
        function $(O) {
          if (O === null || typeof O != "object")
            return null;
          var U = M && O[M] || O[V];
          return typeof U == "function" ? U : null;
        }
        var j = {
          /**
           * @internal
           * @type {ReactComponent}
           */
          current: null
        }, W = {
          transition: null
        }, I = {
          current: null,
          // Used to reproduce behavior of `batchedUpdates` in legacy mode.
          isBatchingLegacy: !1,
          didScheduleLegacyUpdate: !1
        }, ee = {
          /**
           * @internal
           * @type {ReactComponent}
           */
          current: null
        }, Y = {}, ne = null;
        function ae(O) {
          ne = O;
        }
        Y.setExtraStackFrame = function(O) {
          ne = O;
        }, Y.getCurrentStack = null, Y.getStackAddendum = function() {
          var O = "";
          ne && (O += ne);
          var U = Y.getCurrentStack;
          return U && (O += U() || ""), O;
        };
        var ve = !1, ye = !1, Oe = !1, ge = !1, me = !1, Te = {
          ReactCurrentDispatcher: j,
          ReactCurrentBatchConfig: W,
          ReactCurrentOwner: ee
        };
        Te.ReactDebugCurrentFrame = Y, Te.ReactCurrentActQueue = I;
        function re(O) {
          {
            for (var U = arguments.length, de = new Array(U > 1 ? U - 1 : 0), Se = 1; Se < U; Se++)
              de[Se - 1] = arguments[Se];
            q("warn", O, de);
          }
        }
        function Q(O) {
          {
            for (var U = arguments.length, de = new Array(U > 1 ? U - 1 : 0), Se = 1; Se < U; Se++)
              de[Se - 1] = arguments[Se];
            q("error", O, de);
          }
        }
        function q(O, U, de) {
          {
            var Se = Te.ReactDebugCurrentFrame, Pe = Se.getStackAddendum();
            Pe !== "" && (U += "%s", de = de.concat([Pe]));
            var yt = de.map(function(Ve) {
              return String(Ve);
            });
            yt.unshift("Warning: " + U), Function.prototype.apply.call(console[O], console, yt);
          }
        }
        var se = {};
        function te(O, U) {
          {
            var de = O.constructor, Se = de && (de.displayName || de.name) || "ReactClass", Pe = Se + "." + U;
            if (se[Pe])
              return;
            Q("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.", U, Se), se[Pe] = !0;
          }
        }
        var z = {
          /**
           * Checks whether or not this composite component is mounted.
           * @param {ReactClass} publicInstance The instance we want to test.
           * @return {boolean} True if mounted, false otherwise.
           * @protected
           * @final
           */
          isMounted: function(O) {
            return !1;
          },
          /**
           * Forces an update. This should only be invoked when it is known with
           * certainty that we are **not** in a DOM transaction.
           *
           * You may want to call this when you know that some deeper aspect of the
           * component's state has changed but `setState` was not called.
           *
           * This will not invoke `shouldComponentUpdate`, but it will invoke
           * `componentWillUpdate` and `componentDidUpdate`.
           *
           * @param {ReactClass} publicInstance The instance that should rerender.
           * @param {?function} callback Called after component is updated.
           * @param {?string} callerName name of the calling function in the public API.
           * @internal
           */
          enqueueForceUpdate: function(O, U, de) {
            te(O, "forceUpdate");
          },
          /**
           * Replaces all of the state. Always use this or `setState` to mutate state.
           * You should treat `this.state` as immutable.
           *
           * There is no guarantee that `this.state` will be immediately updated, so
           * accessing `this.state` after calling this method may return the old value.
           *
           * @param {ReactClass} publicInstance The instance that should rerender.
           * @param {object} completeState Next state.
           * @param {?function} callback Called after component is updated.
           * @param {?string} callerName name of the calling function in the public API.
           * @internal
           */
          enqueueReplaceState: function(O, U, de, Se) {
            te(O, "replaceState");
          },
          /**
           * Sets a subset of the state. This only exists because _pendingState is
           * internal. This provides a merging strategy that is not available to deep
           * properties which is confusing. TODO: Expose pendingState or don't use it
           * during the merge.
           *
           * @param {ReactClass} publicInstance The instance that should rerender.
           * @param {object} partialState Next partial state to be merged with state.
           * @param {?function} callback Called after component is updated.
           * @param {?string} Name of the calling function in the public API.
           * @internal
           */
          enqueueSetState: function(O, U, de, Se) {
            te(O, "setState");
          }
        }, K = Object.assign, Re = {};
        Object.freeze(Re);
        function we(O, U, de) {
          this.props = O, this.context = U, this.refs = Re, this.updater = de || z;
        }
        we.prototype.isReactComponent = {}, we.prototype.setState = function(O, U) {
          if (typeof O != "object" && typeof O != "function" && O != null)
            throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
          this.updater.enqueueSetState(this, O, U, "setState");
        }, we.prototype.forceUpdate = function(O) {
          this.updater.enqueueForceUpdate(this, O, "forceUpdate");
        };
        {
          var Ue = {
            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)."]
          }, Ke = function(O, U) {
            Object.defineProperty(we.prototype, O, {
              get: function() {
                re("%s(...) is deprecated in plain JavaScript React classes. %s", U[0], U[1]);
              }
            });
          };
          for (var Be in Ue)
            Ue.hasOwnProperty(Be) && Ke(Be, Ue[Be]);
        }
        function vt() {
        }
        vt.prototype = we.prototype;
        function ut(O, U, de) {
          this.props = O, this.context = U, this.refs = Re, this.updater = de || z;
        }
        var Tt = ut.prototype = new vt();
        Tt.constructor = ut, K(Tt, we.prototype), Tt.isPureReactComponent = !0;
        function pn() {
          var O = {
            current: null
          };
          return Object.seal(O), O;
        }
        var on = Array.isArray;
        function Ut(O) {
          return on(O);
        }
        function ze(O) {
          {
            var U = typeof Symbol == "function" && Symbol.toStringTag, de = U && O[Symbol.toStringTag] || O.constructor.name || "Object";
            return de;
          }
        }
        function bt(O) {
          try {
            return $t(O), !1;
          } catch {
            return !0;
          }
        }
        function $t(O) {
          return "" + O;
        }
        function un(O) {
          if (bt(O))
            return Q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(O)), $t(O);
        }
        function er(O, U, de) {
          var Se = O.displayName;
          if (Se)
            return Se;
          var Pe = U.displayName || U.name || "";
          return Pe !== "" ? de + "(" + Pe + ")" : de;
        }
        function tr(O) {
          return O.displayName || "Context";
        }
        function On(O) {
          if (O == null)
            return null;
          if (typeof O.tag == "number" && Q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
            return O.displayName || O.name || null;
          if (typeof O == "string")
            return O;
          switch (O) {
            case m:
              return "Fragment";
            case f:
              return "Portal";
            case S:
              return "Profiler";
            case p:
              return "StrictMode";
            case T:
              return "Suspense";
            case _:
              return "SuspenseList";
          }
          if (typeof O == "object")
            switch (O.$$typeof) {
              case E:
                var U = O;
                return tr(U) + ".Consumer";
              case C:
                var de = O;
                return tr(de._context) + ".Provider";
              case R:
                return er(O, O.render, "ForwardRef");
              case A:
                var Se = O.displayName || null;
                return Se !== null ? Se : On(O.type) || "Memo";
              case P: {
                var Pe = O, yt = Pe._payload, Ve = Pe._init;
                try {
                  return On(Ve(yt));
                } catch {
                  return null;
                }
              }
            }
          return null;
        }
        var Zt = Object.prototype.hasOwnProperty, qt = {
          key: !0,
          ref: !0,
          __self: !0,
          __source: !0
        }, sn, nr, bn;
        bn = {};
        function Er(O) {
          if (Zt.call(O, "ref")) {
            var U = Object.getOwnPropertyDescriptor(O, "ref").get;
            if (U && U.isReactWarning)
              return !1;
          }
          return O.ref !== void 0;
        }
        function zn(O) {
          if (Zt.call(O, "key")) {
            var U = Object.getOwnPropertyDescriptor(O, "key").get;
            if (U && U.isReactWarning)
              return !1;
          }
          return O.key !== void 0;
        }
        function xr(O, U) {
          var de = function() {
            sn || (sn = !0, Q("%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://reactjs.org/link/special-props)", U));
          };
          de.isReactWarning = !0, Object.defineProperty(O, "key", {
            get: de,
            configurable: !0
          });
        }
        function wa(O, U) {
          var de = function() {
            nr || (nr = !0, Q("%s: `ref` 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://reactjs.org/link/special-props)", U));
          };
          de.isReactWarning = !0, Object.defineProperty(O, "ref", {
            get: de,
            configurable: !0
          });
        }
        function Nr(O) {
          if (typeof O.ref == "string" && ee.current && O.__self && ee.current.stateNode !== O.__self) {
            var U = On(ee.current.type);
            bn[U] || (Q('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U, O.ref), bn[U] = !0);
          }
        }
        var $e = function(O, U, de, Se, Pe, yt, Ve) {
          var gt = {
            // This tag allows us to uniquely identify this as a React Element
            $$typeof: s,
            // Built-in properties that belong on the element
            type: O,
            key: U,
            ref: de,
            props: Ve,
            // Record the component responsible for creating this element.
            _owner: yt
          };
          return gt._store = {}, Object.defineProperty(gt._store, "validated", {
            configurable: !1,
            enumerable: !1,
            writable: !0,
            value: !1
          }), Object.defineProperty(gt, "_self", {
            configurable: !1,
            enumerable: !1,
            writable: !1,
            value: Se
          }), Object.defineProperty(gt, "_source", {
            configurable: !1,
            enumerable: !1,
            writable: !1,
            value: Pe
          }), Object.freeze && (Object.freeze(gt.props), Object.freeze(gt)), gt;
        };
        function nt(O, U, de) {
          var Se, Pe = {}, yt = null, Ve = null, gt = null, Ht = null;
          if (U != null) {
            Er(U) && (Ve = U.ref, Nr(U)), zn(U) && (un(U.key), yt = "" + U.key), gt = U.__self === void 0 ? null : U.__self, Ht = U.__source === void 0 ? null : U.__source;
            for (Se in U)
              Zt.call(U, Se) && !qt.hasOwnProperty(Se) && (Pe[Se] = U[Se]);
          }
          var rn = arguments.length - 2;
          if (rn === 1)
            Pe.children = de;
          else if (rn > 1) {
            for (var _n = Array(rn), Cn = 0; Cn < rn; Cn++)
              _n[Cn] = arguments[Cn + 2];
            Object.freeze && Object.freeze(_n), Pe.children = _n;
          }
          if (O && O.defaultProps) {
            var kn = O.defaultProps;
            for (Se in kn)
              Pe[Se] === void 0 && (Pe[Se] = kn[Se]);
          }
          if (yt || Ve) {
            var An = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
            yt && xr(Pe, An), Ve && wa(Pe, An);
          }
          return $e(O, yt, Ve, gt, Ht, ee.current, Pe);
        }
        function rt(O, U) {
          var de = $e(O.type, U, O.ref, O._self, O._source, O._owner, O.props);
          return de;
        }
        function Pt(O, U, de) {
          if (O == null)
            throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + O + ".");
          var Se, Pe = K({}, O.props), yt = O.key, Ve = O.ref, gt = O._self, Ht = O._source, rn = O._owner;
          if (U != null) {
            Er(U) && (Ve = U.ref, rn = ee.current), zn(U) && (un(U.key), yt = "" + U.key);
            var _n;
            O.type && O.type.defaultProps && (_n = O.type.defaultProps);
            for (Se in U)
              Zt.call(U, Se) && !qt.hasOwnProperty(Se) && (U[Se] === void 0 && _n !== void 0 ? Pe[Se] = _n[Se] : Pe[Se] = U[Se]);
          }
          var Cn = arguments.length - 2;
          if (Cn === 1)
            Pe.children = de;
          else if (Cn > 1) {
            for (var kn = Array(Cn), An = 0; An < Cn; An++)
              kn[An] = arguments[An + 2];
            Pe.children = kn;
          }
          return $e(O.type, yt, Ve, gt, Ht, rn, Pe);
        }
        function Gt(O) {
          return typeof O == "object" && O !== null && O.$$typeof === s;
        }
        var Qn = ".", jn = ":";
        function mr(O) {
          var U = /[=:]/g, de = {
            "=": "=0",
            ":": "=2"
          }, Se = O.replace(U, function(Pe) {
            return de[Pe];
          });
          return "$" + Se;
        }
        var hn = !1, fr = /\/+/g;
        function mn(O) {
          return O.replace(fr, "$&/");
        }
        function Jt(O, U) {
          return typeof O == "object" && O !== null && O.key != null ? (un(O.key), mr("" + O.key)) : U.toString(36);
        }
        function la(O, U, de, Se, Pe) {
          var yt = typeof O;
          (yt === "undefined" || yt === "boolean") && (O = null);
          var Ve = !1;
          if (O === null)
            Ve = !0;
          else
            switch (yt) {
              case "string":
              case "number":
                Ve = !0;
                break;
              case "object":
                switch (O.$$typeof) {
                  case s:
                  case f:
                    Ve = !0;
                }
            }
          if (Ve) {
            var gt = O, Ht = Pe(gt), rn = Se === "" ? Qn + Jt(gt, 0) : Se;
            if (Ut(Ht)) {
              var _n = "";
              rn != null && (_n = mn(rn) + "/"), la(Ht, U, _n, "", function(Nv) {
                return Nv;
              });
            } else Ht != null && (Gt(Ht) && (Ht.key && (!gt || gt.key !== Ht.key) && un(Ht.key), Ht = rt(
              Ht,
              // Keep both the (mapped) and old keys if they differ, just as
              // traverseAllChildren used to do for objects as children
              de + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
              (Ht.key && (!gt || gt.key !== Ht.key) ? (
                // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
                // eslint-disable-next-line react-internal/safe-string-coercion
                mn("" + Ht.key) + "/"
              ) : "") + rn
            )), U.push(Ht));
            return 1;
          }
          var Cn, kn, An = 0, Kt = Se === "" ? Qn : Se + jn;
          if (Ut(O))
            for (var Eo = 0; Eo < O.length; Eo++)
              Cn = O[Eo], kn = Kt + Jt(Cn, Eo), An += la(Cn, U, de, kn, Pe);
          else {
            var Vu = $(O);
            if (typeof Vu == "function") {
              var nc = O;
              Vu === nc.entries && (hn || re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), hn = !0);
              for (var kv = Vu.call(nc), zi, rc = 0; !(zi = kv.next()).done; )
                Cn = zi.value, kn = Kt + Jt(Cn, rc++), An += la(Cn, U, de, kn, Pe);
            } else if (yt === "object") {
              var ac = String(O);
              throw new Error("Objects are not valid as a React child (found: " + (ac === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : ac) + "). If you meant to render a collection of children, use an array instead.");
            }
          }
          return An;
        }
        function Jr(O, U, de) {
          if (O == null)
            return O;
          var Se = [], Pe = 0;
          return la(O, Se, "", "", function(yt) {
            return U.call(de, yt, Pe++);
          }), Se;
        }
        function Ya(O) {
          var U = 0;
          return Jr(O, function() {
            U++;
          }), U;
        }
        function qa(O, U, de) {
          Jr(O, function() {
            U.apply(this, arguments);
          }, de);
        }
        function Ta(O) {
          return Jr(O, function(U) {
            return U;
          }) || [];
        }
        function Ai(O) {
          if (!Gt(O))
            throw new Error("React.Children.only expected to receive a single React element child.");
          return O;
        }
        function Hn(O) {
          var U = {
            $$typeof: E,
            // As a workaround to support multiple concurrent renderers, we categorize
            // some renderers as primary and others as secondary. We only expect
            // there to be two concurrent renderers at most: React Native (primary) and
            // Fabric (secondary); React DOM (primary) and React ART (secondary).
            // Secondary renderers store their context values on separate fields.
            _currentValue: O,
            _currentValue2: O,
            // Used to track how many concurrent renderers this context currently
            // supports within in a single renderer. Such as parallel server rendering.
            _threadCount: 0,
            // These are circular
            Provider: null,
            Consumer: null,
            // Add these to use same hidden class in VM as ServerContext
            _defaultValue: null,
            _globalName: null
          };
          U.Provider = {
            $$typeof: C,
            _context: U
          };
          var de = !1, Se = !1, Pe = !1;
          {
            var yt = {
              $$typeof: E,
              _context: U
            };
            Object.defineProperties(yt, {
              Provider: {
                get: function() {
                  return Se || (Se = !0, Q("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), U.Provider;
                },
                set: function(Ve) {
                  U.Provider = Ve;
                }
              },
              _currentValue: {
                get: function() {
                  return U._currentValue;
                },
                set: function(Ve) {
                  U._currentValue = Ve;
                }
              },
              _currentValue2: {
                get: function() {
                  return U._currentValue2;
                },
                set: function(Ve) {
                  U._currentValue2 = Ve;
                }
              },
              _threadCount: {
                get: function() {
                  return U._threadCount;
                },
                set: function(Ve) {
                  U._threadCount = Ve;
                }
              },
              Consumer: {
                get: function() {
                  return de || (de = !0, Q("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), U.Consumer;
                }
              },
              displayName: {
                get: function() {
                  return U.displayName;
                },
                set: function(Ve) {
                  Pe || (re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", Ve), Pe = !0);
                }
              }
            }), U.Consumer = yt;
          }
          return U._currentRenderer = null, U._currentRenderer2 = null, U;
        }
        var ea = -1, Ga = 0, nn = 1, En = 2;
        function Mn(O) {
          if (O._status === ea) {
            var U = O._result, de = U();
            if (de.then(function(yt) {
              if (O._status === Ga || O._status === ea) {
                var Ve = O;
                Ve._status = nn, Ve._result = yt;
              }
            }, function(yt) {
              if (O._status === Ga || O._status === ea) {
                var Ve = O;
                Ve._status = En, Ve._result = yt;
              }
            }), O._status === ea) {
              var Se = O;
              Se._status = Ga, Se._result = de;
            }
          }
          if (O._status === nn) {
            var Pe = O._result;
            return Pe === void 0 && Q(`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?`, Pe), "default" in Pe || Q(`lazy: Expected the result of a dynamic import() call. Instead received: %s

Your code should look like: 
  const MyComponent = lazy(() => import('./MyComponent'))`, Pe), Pe.default;
          } else
            throw O._result;
        }
        function Wn(O) {
          var U = {
            // We use these fields to store the result.
            _status: ea,
            _result: O
          }, de = {
            $$typeof: P,
            _payload: U,
            _init: Mn
          };
          {
            var Se, Pe;
            Object.defineProperties(de, {
              defaultProps: {
                configurable: !0,
                get: function() {
                  return Se;
                },
                set: function(yt) {
                  Q("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Se = yt, Object.defineProperty(de, "defaultProps", {
                    enumerable: !0
                  });
                }
              },
              propTypes: {
                configurable: !0,
                get: function() {
                  return Pe;
                },
                set: function(yt) {
                  Q("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Pe = yt, Object.defineProperty(de, "propTypes", {
                    enumerable: !0
                  });
                }
              }
            });
          }
          return de;
        }
        function ua(O) {
          O != null && O.$$typeof === A ? Q("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof O != "function" ? Q("forwardRef requires a render function but was given %s.", O === null ? "null" : typeof O) : O.length !== 0 && O.length !== 2 && Q("forwardRef render functions accept exactly two parameters: props and ref. %s", O.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), O != null && (O.defaultProps != null || O.propTypes != null) && Q("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
          var U = {
            $$typeof: R,
            render: O
          };
          {
            var de;
            Object.defineProperty(U, "displayName", {
              enumerable: !1,
              configurable: !0,
              get: function() {
                return de;
              },
              set: function(Se) {
                de = Se, !O.name && !O.displayName && (O.displayName = Se);
              }
            });
          }
          return U;
        }
        var B;
        B = Symbol.for("react.module.reference");
        function Ne(O) {
          return !!(typeof O == "string" || typeof O == "function" || O === m || O === S || me || O === p || O === T || O === _ || ge || O === L || ve || ye || Oe || typeof O == "object" && O !== null && (O.$$typeof === P || O.$$typeof === A || O.$$typeof === C || O.$$typeof === E || O.$$typeof === R || // This needs to include all possible module reference object
          // types supported by any Flight configuration anywhere since
          // we don't know which Flight build this will end up being used
          // with.
          O.$$typeof === B || O.getModuleId !== void 0));
        }
        function je(O, U) {
          Ne(O) || Q("memo: The first argument must be a component. Instead received: %s", O === null ? "null" : typeof O);
          var de = {
            $$typeof: A,
            type: O,
            compare: U === void 0 ? null : U
          };
          {
            var Se;
            Object.defineProperty(de, "displayName", {
              enumerable: !1,
              configurable: !0,
              get: function() {
                return Se;
              },
              set: function(Pe) {
                Se = Pe, !O.name && !O.displayName && (O.displayName = Pe);
              }
            });
          }
          return de;
        }
        function Ye() {
          var O = j.current;
          return O === null && Q(`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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), O;
        }
        function Nt(O) {
          var U = Ye();
          if (O._context !== void 0) {
            var de = O._context;
            de.Consumer === O ? Q("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : de.Provider === O && Q("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
          }
          return U.useContext(O);
        }
        function Vt(O) {
          var U = Ye();
          return U.useState(O);
        }
        function Mt(O, U, de) {
          var Se = Ye();
          return Se.useReducer(O, U, de);
        }
        function Je(O) {
          var U = Ye();
          return U.useRef(O);
        }
        function gr(O, U) {
          var de = Ye();
          return de.useEffect(O, U);
        }
        function Dn(O, U) {
          var de = Ye();
          return de.useInsertionEffect(O, U);
        }
        function Ln(O, U) {
          var de = Ye();
          return de.useLayoutEffect(O, U);
        }
        function jr(O, U) {
          var de = Ye();
          return de.useCallback(O, U);
        }
        function Ki(O, U) {
          var de = Ye();
          return de.useMemo(O, U);
        }
        function Pi(O, U, de) {
          var Se = Ye();
          return Se.useImperativeHandle(O, U, de);
        }
        function jt(O, U) {
          {
            var de = Ye();
            return de.useDebugValue(O, U);
          }
        }
        function jl() {
          var O = Ye();
          return O.useTransition();
        }
        function Qa(O) {
          var U = Ye();
          return U.useDeferredValue(O);
        }
        function zt() {
          var O = Ye();
          return O.useId();
        }
        function Xi(O, U, de) {
          var Se = Ye();
          return Se.useSyncExternalStore(O, U, de);
        }
        var Jo = 0, Lu, el, Oa, Zs, sa, Js, ec;
        function gf() {
        }
        gf.__reactDisabledLog = !0;
        function Au() {
          {
            if (Jo === 0) {
              Lu = console.log, el = console.info, Oa = console.warn, Zs = console.error, sa = console.group, Js = console.groupCollapsed, ec = console.groupEnd;
              var O = {
                configurable: !0,
                enumerable: !0,
                value: gf,
                writable: !0
              };
              Object.defineProperties(console, {
                info: O,
                log: O,
                warn: O,
                error: O,
                group: O,
                groupCollapsed: O,
                groupEnd: O
              });
            }
            Jo++;
          }
        }
        function tl() {
          {
            if (Jo--, Jo === 0) {
              var O = {
                configurable: !0,
                enumerable: !0,
                writable: !0
              };
              Object.defineProperties(console, {
                log: K({}, O, {
                  value: Lu
                }),
                info: K({}, O, {
                  value: el
                }),
                warn: K({}, O, {
                  value: Oa
                }),
                error: K({}, O, {
                  value: Zs
                }),
                group: K({}, O, {
                  value: sa
                }),
                groupCollapsed: K({}, O, {
                  value: Js
                }),
                groupEnd: K({}, O, {
                  value: ec
                })
              });
            }
            Jo < 0 && Q("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
          }
        }
        var Fi = Te.ReactCurrentDispatcher, ca;
        function nl(O, U, de) {
          {
            if (ca === void 0)
              try {
                throw Error();
              } catch (Pe) {
                var Se = Pe.stack.trim().match(/\n( *(at )?)/);
                ca = Se && Se[1] || "";
              }
            return `
` + ca + O;
          }
        }
        var rl = !1, al;
        {
          var Pu = typeof WeakMap == "function" ? WeakMap : Map;
          al = new Pu();
        }
        function Fu(O, U) {
          if (!O || rl)
            return "";
          {
            var de = al.get(O);
            if (de !== void 0)
              return de;
          }
          var Se;
          rl = !0;
          var Pe = Error.prepareStackTrace;
          Error.prepareStackTrace = void 0;
          var yt;
          yt = Fi.current, Fi.current = null, Au();
          try {
            if (U) {
              var Ve = function() {
                throw Error();
              };
              if (Object.defineProperty(Ve.prototype, "props", {
                set: function() {
                  throw Error();
                }
              }), typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(Ve, []);
                } catch (Kt) {
                  Se = Kt;
                }
                Reflect.construct(O, [], Ve);
              } else {
                try {
                  Ve.call();
                } catch (Kt) {
                  Se = Kt;
                }
                O.call(Ve.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (Kt) {
                Se = Kt;
              }
              O();
            }
          } catch (Kt) {
            if (Kt && Se && typeof Kt.stack == "string") {
              for (var gt = Kt.stack.split(`
`), Ht = Se.stack.split(`
`), rn = gt.length - 1, _n = Ht.length - 1; rn >= 1 && _n >= 0 && gt[rn] !== Ht[_n]; )
                _n--;
              for (; rn >= 1 && _n >= 0; rn--, _n--)
                if (gt[rn] !== Ht[_n]) {
                  if (rn !== 1 || _n !== 1)
                    do
                      if (rn--, _n--, _n < 0 || gt[rn] !== Ht[_n]) {
                        var Cn = `
` + gt[rn].replace(" at new ", " at ");
                        return O.displayName && Cn.includes("<anonymous>") && (Cn = Cn.replace("<anonymous>", O.displayName)), typeof O == "function" && al.set(O, Cn), Cn;
                      }
                    while (rn >= 1 && _n >= 0);
                  break;
                }
            }
          } finally {
            rl = !1, Fi.current = yt, tl(), Error.prepareStackTrace = Pe;
          }
          var kn = O ? O.displayName || O.name : "", An = kn ? nl(kn) : "";
          return typeof O == "function" && al.set(O, An), An;
        }
        function So(O, U, de) {
          return Fu(O, !1);
        }
        function _v(O) {
          var U = O.prototype;
          return !!(U && U.isReactComponent);
        }
        function Zi(O, U, de) {
          if (O == null)
            return "";
          if (typeof O == "function")
            return Fu(O, _v(O));
          if (typeof O == "string")
            return nl(O);
          switch (O) {
            case T:
              return nl("Suspense");
            case _:
              return nl("SuspenseList");
          }
          if (typeof O == "object")
            switch (O.$$typeof) {
              case R:
                return So(O.render);
              case A:
                return Zi(O.type, U, de);
              case P: {
                var Se = O, Pe = Se._payload, yt = Se._init;
                try {
                  return Zi(yt(Pe), U, de);
                } catch {
                }
              }
            }
          return "";
        }
        var cn = {}, $u = Te.ReactDebugCurrentFrame;
        function Hl(O) {
          if (O) {
            var U = O._owner, de = Zi(O.type, O._source, U ? U.type : null);
            $u.setExtraStackFrame(de);
          } else
            $u.setExtraStackFrame(null);
        }
        function zu(O, U, de, Se, Pe) {
          {
            var yt = Function.call.bind(Zt);
            for (var Ve in O)
              if (yt(O, Ve)) {
                var gt = void 0;
                try {
                  if (typeof O[Ve] != "function") {
                    var Ht = Error((Se || "React class") + ": " + de + " type `" + Ve + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof O[Ve] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
                    throw Ht.name = "Invariant Violation", Ht;
                  }
                  gt = O[Ve](U, Ve, Se, de, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
                } catch (rn) {
                  gt = rn;
                }
                gt && !(gt instanceof Error) && (Hl(Pe), Q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Se || "React class", de, Ve, typeof gt), Hl(null)), gt instanceof Error && !(gt.message in cn) && (cn[gt.message] = !0, Hl(Pe), Q("Failed %s type: %s", de, gt.message), Hl(null));
              }
          }
        }
        function Qt(O) {
          if (O) {
            var U = O._owner, de = Zi(O.type, O._source, U ? U.type : null);
            ae(de);
          } else
            ae(null);
        }
        var ju;
        ju = !1;
        function Hu() {
          if (ee.current) {
            var O = On(ee.current.type);
            if (O)
              return `

Check the render method of \`` + O + "`.";
          }
          return "";
        }
        function Ot(O) {
          if (O !== void 0) {
            var U = O.fileName.replace(/^.*[\\\/]/, ""), de = O.lineNumber;
            return `

Check your code at ` + U + ":" + de + ".";
          }
          return "";
        }
        function Il(O) {
          return O != null ? Ot(O.__source) : "";
        }
        var Kn = {};
        function _a(O) {
          var U = Hu();
          if (!U) {
            var de = typeof O == "string" ? O : O.displayName || O.name;
            de && (U = `

Check the top-level render call using <` + de + ">.");
          }
          return U;
        }
        function fa(O, U) {
          if (!(!O._store || O._store.validated || O.key != null)) {
            O._store.validated = !0;
            var de = _a(U);
            if (!Kn[de]) {
              Kn[de] = !0;
              var Se = "";
              O && O._owner && O._owner !== ee.current && (Se = " It was passed a child from " + On(O._owner.type) + "."), Qt(O), Q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', de, Se), Qt(null);
            }
          }
        }
        function il(O, U) {
          if (typeof O == "object") {
            if (Ut(O))
              for (var de = 0; de < O.length; de++) {
                var Se = O[de];
                Gt(Se) && fa(Se, U);
              }
            else if (Gt(O))
              O._store && (O._store.validated = !0);
            else if (O) {
              var Pe = $(O);
              if (typeof Pe == "function" && Pe !== O.entries)
                for (var yt = Pe.call(O), Ve; !(Ve = yt.next()).done; )
                  Gt(Ve.value) && fa(Ve.value, U);
            }
          }
        }
        function rr(O) {
          {
            var U = O.type;
            if (U == null || typeof U == "string")
              return;
            var de;
            if (typeof U == "function")
              de = U.propTypes;
            else if (typeof U == "object" && (U.$$typeof === R || // Note: Memo only checks outer props here.
            // Inner props are checked in the reconciler.
            U.$$typeof === A))
              de = U.propTypes;
            else
              return;
            if (de) {
              var Se = On(U);
              zu(de, O.props, "prop", Se, O);
            } else if (U.PropTypes !== void 0 && !ju) {
              ju = !0;
              var Pe = On(U);
              Q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Pe || "Unknown");
            }
            typeof U.getDefaultProps == "function" && !U.getDefaultProps.isReactClassApproved && Q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
          }
        }
        function gn(O) {
          {
            for (var U = Object.keys(O.props), de = 0; de < U.length; de++) {
              var Se = U[de];
              if (Se !== "children" && Se !== "key") {
                Qt(O), Q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Se), Qt(null);
                break;
              }
            }
            O.ref !== null && (Qt(O), Q("Invalid attribute `ref` supplied to `React.Fragment`."), Qt(null));
          }
        }
        function yf(O, U, de) {
          var Se = Ne(O);
          if (!Se) {
            var Pe = "";
            (O === void 0 || typeof O == "object" && O !== null && Object.keys(O).length === 0) && (Pe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
            var yt = Il(U);
            yt ? Pe += yt : Pe += Hu();
            var Ve;
            O === null ? Ve = "null" : Ut(O) ? Ve = "array" : O !== void 0 && O.$$typeof === s ? (Ve = "<" + (On(O.type) || "Unknown") + " />", Pe = " Did you accidentally export a JSX literal instead of a component?") : Ve = typeof O, Q("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ve, Pe);
          }
          var gt = nt.apply(this, arguments);
          if (gt == null)
            return gt;
          if (Se)
            for (var Ht = 2; Ht < arguments.length; Ht++)
              il(arguments[Ht], O);
          return O === m ? gn(gt) : rr(gt), gt;
        }
        var ka = !1;
        function Mr(O) {
          var U = yf.bind(null, O);
          return U.type = O, ka || (ka = !0, re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(U, "type", {
            enumerable: !1,
            get: function() {
              return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
                value: O
              }), O;
            }
          }), U;
        }
        function Ji(O, U, de) {
          for (var Se = Pt.apply(this, arguments), Pe = 2; Pe < arguments.length; Pe++)
            il(arguments[Pe], Se.type);
          return rr(Se), Se;
        }
        function Sf(O, U) {
          var de = W.transition;
          W.transition = {};
          var Se = W.transition;
          W.transition._updatedFibers = /* @__PURE__ */ new Set();
          try {
            O();
          } finally {
            if (W.transition = de, de === null && Se._updatedFibers) {
              var Pe = Se._updatedFibers.size;
              Pe > 10 && re("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."), Se._updatedFibers.clear();
            }
          }
        }
        var Co = !1, ol = null;
        function Cf(O) {
          if (ol === null)
            try {
              var U = ("require" + Math.random()).slice(0, 7), de = r && r[U];
              ol = de.call(r, "timers").setImmediate;
            } catch {
              ol = function(Pe) {
                Co === !1 && (Co = !0, typeof MessageChannel > "u" && Q("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 yt = new MessageChannel();
                yt.port1.onmessage = Pe, yt.port2.postMessage(void 0);
              };
            }
          return ol(O);
        }
        var fi = 0, ll = !1;
        function bo(O) {
          {
            var U = fi;
            fi++, I.current === null && (I.current = []);
            var de = I.isBatchingLegacy, Se;
            try {
              if (I.isBatchingLegacy = !0, Se = O(), !de && I.didScheduleLegacyUpdate) {
                var Pe = I.current;
                Pe !== null && (I.didScheduleLegacyUpdate = !1, sl(Pe));
              }
            } catch (kn) {
              throw di(U), kn;
            } finally {
              I.isBatchingLegacy = de;
            }
            if (Se !== null && typeof Se == "object" && typeof Se.then == "function") {
              var yt = Se, Ve = !1, gt = {
                then: function(kn, An) {
                  Ve = !0, yt.then(function(Kt) {
                    di(U), fi === 0 ? Iu(Kt, kn, An) : kn(Kt);
                  }, function(Kt) {
                    di(U), An(Kt);
                  });
                }
              };
              return !ll && typeof Promise < "u" && Promise.resolve().then(function() {
              }).then(function() {
                Ve || (ll = !0, Q("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 () => ...);"));
              }), gt;
            } else {
              var Ht = Se;
              if (di(U), fi === 0) {
                var rn = I.current;
                rn !== null && (sl(rn), I.current = null);
                var _n = {
                  then: function(kn, An) {
                    I.current === null ? (I.current = [], Iu(Ht, kn, An)) : kn(Ht);
                  }
                };
                return _n;
              } else {
                var Cn = {
                  then: function(kn, An) {
                    kn(Ht);
                  }
                };
                return Cn;
              }
            }
          }
        }
        function di(O) {
          O !== fi - 1 && Q("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), fi = O;
        }
        function Iu(O, U, de) {
          {
            var Se = I.current;
            if (Se !== null)
              try {
                sl(Se), Cf(function() {
                  Se.length === 0 ? (I.current = null, U(O)) : Iu(O, U, de);
                });
              } catch (Pe) {
                de(Pe);
              }
            else
              U(O);
          }
        }
        var ul = !1;
        function sl(O) {
          if (!ul) {
            ul = !0;
            var U = 0;
            try {
              for (; U < O.length; U++) {
                var de = O[U];
                do
                  de = de(!0);
                while (de !== null);
              }
              O.length = 0;
            } catch (Se) {
              throw O = O.slice(U + 1), Se;
            } finally {
              ul = !1;
            }
          }
        }
        var Ul = yf, Uu = Ji, tc = Mr, $i = {
          map: Jr,
          forEach: qa,
          count: Ya,
          toArray: Ta,
          only: Ai
        };
        a.Children = $i, a.Component = we, a.Fragment = m, a.Profiler = S, a.PureComponent = ut, a.StrictMode = p, a.Suspense = T, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Te, a.act = bo, a.cloneElement = Uu, a.createContext = Hn, a.createElement = Ul, a.createFactory = tc, a.createRef = pn, a.forwardRef = ua, a.isValidElement = Gt, a.lazy = Wn, a.memo = je, a.startTransition = Sf, a.unstable_act = bo, a.useCallback = jr, a.useContext = Nt, a.useDebugValue = jt, a.useDeferredValue = Qa, a.useEffect = gr, a.useId = zt, a.useImperativeHandle = Pi, a.useInsertionEffect = Dn, a.useLayoutEffect = Ln, a.useMemo = Ki, a.useReducer = Mt, a.useRef = Je, a.useState = Vt, a.useSyncExternalStore = Xi, a.useTransition = jl, a.version = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
      }();
    }(Ph, Ph.exports)), Ph.exports;
  }
  var tO;
  function Kh() {
    return tO || (tO = 1, process.env.NODE_ENV === "production" ? Gy.exports = rF() : Gy.exports = aF()), Gy.exports;
  }
  /**
   * @license React
   * react-jsx-runtime.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var nO;
  function iF() {
    if (nO) return Nh;
    nO = 1;
    var r = Kh(), a = Symbol.for("react.element"), l = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, f = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
    function p(S, C, E) {
      var R, T = {}, _ = null, A = null;
      E !== void 0 && (_ = "" + E), C.key !== void 0 && (_ = "" + C.key), C.ref !== void 0 && (A = C.ref);
      for (R in C) s.call(C, R) && !m.hasOwnProperty(R) && (T[R] = C[R]);
      if (S && S.defaultProps) for (R in C = S.defaultProps, C) T[R] === void 0 && (T[R] = C[R]);
      return { $$typeof: a, type: S, key: _, ref: A, props: T, _owner: f.current };
    }
    return Nh.Fragment = l, Nh.jsx = p, Nh.jsxs = p, Nh;
  }
  var Mh = {};
  /**
   * @license React
   * react-jsx-runtime.development.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var rO;
  function oF() {
    return rO || (rO = 1, process.env.NODE_ENV !== "production" && function() {
      var r = Kh(), a = Symbol.for("react.element"), l = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), P = Symbol.iterator, L = "@@iterator";
      function M(B) {
        if (B === null || typeof B != "object")
          return null;
        var Ne = P && B[P] || B[L];
        return typeof Ne == "function" ? Ne : null;
      }
      var V = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
      function $(B) {
        {
          for (var Ne = arguments.length, je = new Array(Ne > 1 ? Ne - 1 : 0), Ye = 1; Ye < Ne; Ye++)
            je[Ye - 1] = arguments[Ye];
          j("error", B, je);
        }
      }
      function j(B, Ne, je) {
        {
          var Ye = V.ReactDebugCurrentFrame, Nt = Ye.getStackAddendum();
          Nt !== "" && (Ne += "%s", je = je.concat([Nt]));
          var Vt = je.map(function(Mt) {
            return String(Mt);
          });
          Vt.unshift("Warning: " + Ne), Function.prototype.apply.call(console[B], console, Vt);
        }
      }
      var W = !1, I = !1, ee = !1, Y = !1, ne = !1, ae;
      ae = Symbol.for("react.module.reference");
      function ve(B) {
        return !!(typeof B == "string" || typeof B == "function" || B === s || B === m || ne || B === f || B === E || B === R || Y || B === A || W || I || ee || typeof B == "object" && B !== null && (B.$$typeof === _ || B.$$typeof === T || B.$$typeof === p || B.$$typeof === S || B.$$typeof === C || // This needs to include all possible module reference object
        // types supported by any Flight configuration anywhere since
        // we don't know which Flight build this will end up being used
        // with.
        B.$$typeof === ae || B.getModuleId !== void 0));
      }
      function ye(B, Ne, je) {
        var Ye = B.displayName;
        if (Ye)
          return Ye;
        var Nt = Ne.displayName || Ne.name || "";
        return Nt !== "" ? je + "(" + Nt + ")" : je;
      }
      function Oe(B) {
        return B.displayName || "Context";
      }
      function ge(B) {
        if (B == null)
          return null;
        if (typeof B.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof B == "function")
          return B.displayName || B.name || null;
        if (typeof B == "string")
          return B;
        switch (B) {
          case s:
            return "Fragment";
          case l:
            return "Portal";
          case m:
            return "Profiler";
          case f:
            return "StrictMode";
          case E:
            return "Suspense";
          case R:
            return "SuspenseList";
        }
        if (typeof B == "object")
          switch (B.$$typeof) {
            case S:
              var Ne = B;
              return Oe(Ne) + ".Consumer";
            case p:
              var je = B;
              return Oe(je._context) + ".Provider";
            case C:
              return ye(B, B.render, "ForwardRef");
            case T:
              var Ye = B.displayName || null;
              return Ye !== null ? Ye : ge(B.type) || "Memo";
            case _: {
              var Nt = B, Vt = Nt._payload, Mt = Nt._init;
              try {
                return ge(Mt(Vt));
              } catch {
                return null;
              }
            }
          }
        return null;
      }
      var me = Object.assign, Te = 0, re, Q, q, se, te, z, K;
      function Re() {
      }
      Re.__reactDisabledLog = !0;
      function we() {
        {
          if (Te === 0) {
            re = console.log, Q = console.info, q = console.warn, se = console.error, te = console.group, z = console.groupCollapsed, K = console.groupEnd;
            var B = {
              configurable: !0,
              enumerable: !0,
              value: Re,
              writable: !0
            };
            Object.defineProperties(console, {
              info: B,
              log: B,
              warn: B,
              error: B,
              group: B,
              groupCollapsed: B,
              groupEnd: B
            });
          }
          Te++;
        }
      }
      function Ue() {
        {
          if (Te--, Te === 0) {
            var B = {
              configurable: !0,
              enumerable: !0,
              writable: !0
            };
            Object.defineProperties(console, {
              log: me({}, B, {
                value: re
              }),
              info: me({}, B, {
                value: Q
              }),
              warn: me({}, B, {
                value: q
              }),
              error: me({}, B, {
                value: se
              }),
              group: me({}, B, {
                value: te
              }),
              groupCollapsed: me({}, B, {
                value: z
              }),
              groupEnd: me({}, B, {
                value: K
              })
            });
          }
          Te < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
        }
      }
      var Ke = V.ReactCurrentDispatcher, Be;
      function vt(B, Ne, je) {
        {
          if (Be === void 0)
            try {
              throw Error();
            } catch (Nt) {
              var Ye = Nt.stack.trim().match(/\n( *(at )?)/);
              Be = Ye && Ye[1] || "";
            }
          return `
` + Be + B;
        }
      }
      var ut = !1, Tt;
      {
        var pn = typeof WeakMap == "function" ? WeakMap : Map;
        Tt = new pn();
      }
      function on(B, Ne) {
        if (!B || ut)
          return "";
        {
          var je = Tt.get(B);
          if (je !== void 0)
            return je;
        }
        var Ye;
        ut = !0;
        var Nt = Error.prepareStackTrace;
        Error.prepareStackTrace = void 0;
        var Vt;
        Vt = Ke.current, Ke.current = null, we();
        try {
          if (Ne) {
            var Mt = function() {
              throw Error();
            };
            if (Object.defineProperty(Mt.prototype, "props", {
              set: function() {
                throw Error();
              }
            }), typeof Reflect == "object" && Reflect.construct) {
              try {
                Reflect.construct(Mt, []);
              } catch (jt) {
                Ye = jt;
              }
              Reflect.construct(B, [], Mt);
            } else {
              try {
                Mt.call();
              } catch (jt) {
                Ye = jt;
              }
              B.call(Mt.prototype);
            }
          } else {
            try {
              throw Error();
            } catch (jt) {
              Ye = jt;
            }
            B();
          }
        } catch (jt) {
          if (jt && Ye && typeof jt.stack == "string") {
            for (var Je = jt.stack.split(`
`), gr = Ye.stack.split(`
`), Dn = Je.length - 1, Ln = gr.length - 1; Dn >= 1 && Ln >= 0 && Je[Dn] !== gr[Ln]; )
              Ln--;
            for (; Dn >= 1 && Ln >= 0; Dn--, Ln--)
              if (Je[Dn] !== gr[Ln]) {
                if (Dn !== 1 || Ln !== 1)
                  do
                    if (Dn--, Ln--, Ln < 0 || Je[Dn] !== gr[Ln]) {
                      var jr = `
` + Je[Dn].replace(" at new ", " at ");
                      return B.displayName && jr.includes("<anonymous>") && (jr = jr.replace("<anonymous>", B.displayName)), typeof B == "function" && Tt.set(B, jr), jr;
                    }
                  while (Dn >= 1 && Ln >= 0);
                break;
              }
          }
        } finally {
          ut = !1, Ke.current = Vt, Ue(), Error.prepareStackTrace = Nt;
        }
        var Ki = B ? B.displayName || B.name : "", Pi = Ki ? vt(Ki) : "";
        return typeof B == "function" && Tt.set(B, Pi), Pi;
      }
      function Ut(B, Ne, je) {
        return on(B, !1);
      }
      function ze(B) {
        var Ne = B.prototype;
        return !!(Ne && Ne.isReactComponent);
      }
      function bt(B, Ne, je) {
        if (B == null)
          return "";
        if (typeof B == "function")
          return on(B, ze(B));
        if (typeof B == "string")
          return vt(B);
        switch (B) {
          case E:
            return vt("Suspense");
          case R:
            return vt("SuspenseList");
        }
        if (typeof B == "object")
          switch (B.$$typeof) {
            case C:
              return Ut(B.render);
            case T:
              return bt(B.type, Ne, je);
            case _: {
              var Ye = B, Nt = Ye._payload, Vt = Ye._init;
              try {
                return bt(Vt(Nt), Ne, je);
              } catch {
              }
            }
          }
        return "";
      }
      var $t = Object.prototype.hasOwnProperty, un = {}, er = V.ReactDebugCurrentFrame;
      function tr(B) {
        if (B) {
          var Ne = B._owner, je = bt(B.type, B._source, Ne ? Ne.type : null);
          er.setExtraStackFrame(je);
        } else
          er.setExtraStackFrame(null);
      }
      function On(B, Ne, je, Ye, Nt) {
        {
          var Vt = Function.call.bind($t);
          for (var Mt in B)
            if (Vt(B, Mt)) {
              var Je = void 0;
              try {
                if (typeof B[Mt] != "function") {
                  var gr = Error((Ye || "React class") + ": " + je + " type `" + Mt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof B[Mt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
                  throw gr.name = "Invariant Violation", gr;
                }
                Je = B[Mt](Ne, Mt, Ye, je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
              } catch (Dn) {
                Je = Dn;
              }
              Je && !(Je instanceof Error) && (tr(Nt), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ye || "React class", je, Mt, typeof Je), tr(null)), Je instanceof Error && !(Je.message in un) && (un[Je.message] = !0, tr(Nt), $("Failed %s type: %s", je, Je.message), tr(null));
            }
        }
      }
      var Zt = Array.isArray;
      function qt(B) {
        return Zt(B);
      }
      function sn(B) {
        {
          var Ne = typeof Symbol == "function" && Symbol.toStringTag, je = Ne && B[Symbol.toStringTag] || B.constructor.name || "Object";
          return je;
        }
      }
      function nr(B) {
        try {
          return bn(B), !1;
        } catch {
          return !0;
        }
      }
      function bn(B) {
        return "" + B;
      }
      function Er(B) {
        if (nr(B))
          return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sn(B)), bn(B);
      }
      var zn = V.ReactCurrentOwner, xr = {
        key: !0,
        ref: !0,
        __self: !0,
        __source: !0
      }, wa, Nr;
      function $e(B) {
        if ($t.call(B, "ref")) {
          var Ne = Object.getOwnPropertyDescriptor(B, "ref").get;
          if (Ne && Ne.isReactWarning)
            return !1;
        }
        return B.ref !== void 0;
      }
      function nt(B) {
        if ($t.call(B, "key")) {
          var Ne = Object.getOwnPropertyDescriptor(B, "key").get;
          if (Ne && Ne.isReactWarning)
            return !1;
        }
        return B.key !== void 0;
      }
      function rt(B, Ne) {
        typeof B.ref == "string" && zn.current;
      }
      function Pt(B, Ne) {
        {
          var je = function() {
            wa || (wa = !0, $("%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://reactjs.org/link/special-props)", Ne));
          };
          je.isReactWarning = !0, Object.defineProperty(B, "key", {
            get: je,
            configurable: !0
          });
        }
      }
      function Gt(B, Ne) {
        {
          var je = function() {
            Nr || (Nr = !0, $("%s: `ref` 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://reactjs.org/link/special-props)", Ne));
          };
          je.isReactWarning = !0, Object.defineProperty(B, "ref", {
            get: je,
            configurable: !0
          });
        }
      }
      var Qn = function(B, Ne, je, Ye, Nt, Vt, Mt) {
        var Je = {
          // This tag allows us to uniquely identify this as a React Element
          $$typeof: a,
          // Built-in properties that belong on the element
          type: B,
          key: Ne,
          ref: je,
          props: Mt,
          // Record the component responsible for creating this element.
          _owner: Vt
        };
        return Je._store = {}, Object.defineProperty(Je._store, "validated", {
          configurable: !1,
          enumerable: !1,
          writable: !0,
          value: !1
        }), Object.defineProperty(Je, "_self", {
          configurable: !1,
          enumerable: !1,
          writable: !1,
          value: Ye
        }), Object.defineProperty(Je, "_source", {
          configurable: !1,
          enumerable: !1,
          writable: !1,
          value: Nt
        }), Object.freeze && (Object.freeze(Je.props), Object.freeze(Je)), Je;
      };
      function jn(B, Ne, je, Ye, Nt) {
        {
          var Vt, Mt = {}, Je = null, gr = null;
          je !== void 0 && (Er(je), Je = "" + je), nt(Ne) && (Er(Ne.key), Je = "" + Ne.key), $e(Ne) && (gr = Ne.ref, rt(Ne, Nt));
          for (Vt in Ne)
            $t.call(Ne, Vt) && !xr.hasOwnProperty(Vt) && (Mt[Vt] = Ne[Vt]);
          if (B && B.defaultProps) {
            var Dn = B.defaultProps;
            for (Vt in Dn)
              Mt[Vt] === void 0 && (Mt[Vt] = Dn[Vt]);
          }
          if (Je || gr) {
            var Ln = typeof B == "function" ? B.displayName || B.name || "Unknown" : B;
            Je && Pt(Mt, Ln), gr && Gt(Mt, Ln);
          }
          return Qn(B, Je, gr, Nt, Ye, zn.current, Mt);
        }
      }
      var mr = V.ReactCurrentOwner, hn = V.ReactDebugCurrentFrame;
      function fr(B) {
        if (B) {
          var Ne = B._owner, je = bt(B.type, B._source, Ne ? Ne.type : null);
          hn.setExtraStackFrame(je);
        } else
          hn.setExtraStackFrame(null);
      }
      var mn;
      mn = !1;
      function Jt(B) {
        return typeof B == "object" && B !== null && B.$$typeof === a;
      }
      function la() {
        {
          if (mr.current) {
            var B = ge(mr.current.type);
            if (B)
              return `

Check the render method of \`` + B + "`.";
          }
          return "";
        }
      }
      function Jr(B) {
        return "";
      }
      var Ya = {};
      function qa(B) {
        {
          var Ne = la();
          if (!Ne) {
            var je = typeof B == "string" ? B : B.displayName || B.name;
            je && (Ne = `

Check the top-level render call using <` + je + ">.");
          }
          return Ne;
        }
      }
      function Ta(B, Ne) {
        {
          if (!B._store || B._store.validated || B.key != null)
            return;
          B._store.validated = !0;
          var je = qa(Ne);
          if (Ya[je])
            return;
          Ya[je] = !0;
          var Ye = "";
          B && B._owner && B._owner !== mr.current && (Ye = " It was passed a child from " + ge(B._owner.type) + "."), fr(B), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', je, Ye), fr(null);
        }
      }
      function Ai(B, Ne) {
        {
          if (typeof B != "object")
            return;
          if (qt(B))
            for (var je = 0; je < B.length; je++) {
              var Ye = B[je];
              Jt(Ye) && Ta(Ye, Ne);
            }
          else if (Jt(B))
            B._store && (B._store.validated = !0);
          else if (B) {
            var Nt = M(B);
            if (typeof Nt == "function" && Nt !== B.entries)
              for (var Vt = Nt.call(B), Mt; !(Mt = Vt.next()).done; )
                Jt(Mt.value) && Ta(Mt.value, Ne);
          }
        }
      }
      function Hn(B) {
        {
          var Ne = B.type;
          if (Ne == null || typeof Ne == "string")
            return;
          var je;
          if (typeof Ne == "function")
            je = Ne.propTypes;
          else if (typeof Ne == "object" && (Ne.$$typeof === C || // Note: Memo only checks outer props here.
          // Inner props are checked in the reconciler.
          Ne.$$typeof === T))
            je = Ne.propTypes;
          else
            return;
          if (je) {
            var Ye = ge(Ne);
            On(je, B.props, "prop", Ye, B);
          } else if (Ne.PropTypes !== void 0 && !mn) {
            mn = !0;
            var Nt = ge(Ne);
            $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Nt || "Unknown");
          }
          typeof Ne.getDefaultProps == "function" && !Ne.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
        }
      }
      function ea(B) {
        {
          for (var Ne = Object.keys(B.props), je = 0; je < Ne.length; je++) {
            var Ye = Ne[je];
            if (Ye !== "children" && Ye !== "key") {
              fr(B), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Ye), fr(null);
              break;
            }
          }
          B.ref !== null && (fr(B), $("Invalid attribute `ref` supplied to `React.Fragment`."), fr(null));
        }
      }
      var Ga = {};
      function nn(B, Ne, je, Ye, Nt, Vt) {
        {
          var Mt = ve(B);
          if (!Mt) {
            var Je = "";
            (B === void 0 || typeof B == "object" && B !== null && Object.keys(B).length === 0) && (Je += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
            var gr = Jr();
            gr ? Je += gr : Je += la();
            var Dn;
            B === null ? Dn = "null" : qt(B) ? Dn = "array" : B !== void 0 && B.$$typeof === a ? (Dn = "<" + (ge(B.type) || "Unknown") + " />", Je = " Did you accidentally export a JSX literal instead of a component?") : Dn = typeof B, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Dn, Je);
          }
          var Ln = jn(B, Ne, je, Nt, Vt);
          if (Ln == null)
            return Ln;
          if (Mt) {
            var jr = Ne.children;
            if (jr !== void 0)
              if (Ye)
                if (qt(jr)) {
                  for (var Ki = 0; Ki < jr.length; Ki++)
                    Ai(jr[Ki], B);
                  Object.freeze && Object.freeze(jr);
                } else
                  $("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
                Ai(jr, B);
          }
          if ($t.call(Ne, "key")) {
            var Pi = ge(B), jt = Object.keys(Ne).filter(function(zt) {
              return zt !== "key";
            }), jl = jt.length > 0 ? "{key: someKey, " + jt.join(": ..., ") + ": ...}" : "{key: someKey}";
            if (!Ga[Pi + jl]) {
              var Qa = jt.length > 0 ? "{" + jt.join(": ..., ") + ": ...}" : "{}";
              $(`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} />`, jl, Pi, Qa, Pi), Ga[Pi + jl] = !0;
            }
          }
          return B === s ? ea(Ln) : Hn(Ln), Ln;
        }
      }
      function En(B, Ne, je) {
        return nn(B, Ne, je, !0);
      }
      function Mn(B, Ne, je) {
        return nn(B, Ne, je, !1);
      }
      var Wn = Mn, ua = En;
      Mh.Fragment = s, Mh.jsx = Wn, Mh.jsxs = ua;
    }()), Mh;
  }
  var aO;
  function lF() {
    return aO || (aO = 1, process.env.NODE_ENV === "production" ? qy.exports = iF() : qy.exports = oF()), qy.exports;
  }
  var cv = lF(), ov = {}, Qy = { exports: {} }, Di = {}, Ky = { exports: {} }, pE = {};
  /**
   * @license React
   * scheduler.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var iO;
  function uF() {
    return iO || (iO = 1, function(r) {
      function a(q, se) {
        var te = q.length;
        q.push(se);
        e: for (; 0 < te; ) {
          var z = te - 1 >>> 1, K = q[z];
          if (0 < f(K, se)) q[z] = se, q[te] = K, te = z;
          else break e;
        }
      }
      function l(q) {
        return q.length === 0 ? null : q[0];
      }
      function s(q) {
        if (q.length === 0) return null;
        var se = q[0], te = q.pop();
        if (te !== se) {
          q[0] = te;
          e: for (var z = 0, K = q.length, Re = K >>> 1; z < Re; ) {
            var we = 2 * (z + 1) - 1, Ue = q[we], Ke = we + 1, Be = q[Ke];
            if (0 > f(Ue, te)) Ke < K && 0 > f(Be, Ue) ? (q[z] = Be, q[Ke] = te, z = Ke) : (q[z] = Ue, q[we] = te, z = we);
            else if (Ke < K && 0 > f(Be, te)) q[z] = Be, q[Ke] = te, z = Ke;
            else break e;
          }
        }
        return se;
      }
      function f(q, se) {
        var te = q.sortIndex - se.sortIndex;
        return te !== 0 ? te : q.id - se.id;
      }
      if (typeof performance == "object" && typeof performance.now == "function") {
        var m = performance;
        r.unstable_now = function() {
          return m.now();
        };
      } else {
        var p = Date, S = p.now();
        r.unstable_now = function() {
          return p.now() - S;
        };
      }
      var C = [], E = [], R = 1, T = null, _ = 3, A = !1, P = !1, L = !1, M = typeof setTimeout == "function" ? setTimeout : null, V = typeof clearTimeout == "function" ? clearTimeout : null, $ = typeof setImmediate < "u" ? setImmediate : null;
      typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
      function j(q) {
        for (var se = l(E); se !== null; ) {
          if (se.callback === null) s(E);
          else if (se.startTime <= q) s(E), se.sortIndex = se.expirationTime, a(C, se);
          else break;
          se = l(E);
        }
      }
      function W(q) {
        if (L = !1, j(q), !P) if (l(C) !== null) P = !0, re(I);
        else {
          var se = l(E);
          se !== null && Q(W, se.startTime - q);
        }
      }
      function I(q, se) {
        P = !1, L && (L = !1, V(ne), ne = -1), A = !0;
        var te = _;
        try {
          for (j(se), T = l(C); T !== null && (!(T.expirationTime > se) || q && !ye()); ) {
            var z = T.callback;
            if (typeof z == "function") {
              T.callback = null, _ = T.priorityLevel;
              var K = z(T.expirationTime <= se);
              se = r.unstable_now(), typeof K == "function" ? T.callback = K : T === l(C) && s(C), j(se);
            } else s(C);
            T = l(C);
          }
          if (T !== null) var Re = !0;
          else {
            var we = l(E);
            we !== null && Q(W, we.startTime - se), Re = !1;
          }
          return Re;
        } finally {
          T = null, _ = te, A = !1;
        }
      }
      var ee = !1, Y = null, ne = -1, ae = 5, ve = -1;
      function ye() {
        return !(r.unstable_now() - ve < ae);
      }
      function Oe() {
        if (Y !== null) {
          var q = r.unstable_now();
          ve = q;
          var se = !0;
          try {
            se = Y(!0, q);
          } finally {
            se ? ge() : (ee = !1, Y = null);
          }
        } else ee = !1;
      }
      var ge;
      if (typeof $ == "function") ge = function() {
        $(Oe);
      };
      else if (typeof MessageChannel < "u") {
        var me = new MessageChannel(), Te = me.port2;
        me.port1.onmessage = Oe, ge = function() {
          Te.postMessage(null);
        };
      } else ge = function() {
        M(Oe, 0);
      };
      function re(q) {
        Y = q, ee || (ee = !0, ge());
      }
      function Q(q, se) {
        ne = M(function() {
          q(r.unstable_now());
        }, se);
      }
      r.unstable_IdlePriority = 5, r.unstable_ImmediatePriority = 1, r.unstable_LowPriority = 4, r.unstable_NormalPriority = 3, r.unstable_Profiling = null, r.unstable_UserBlockingPriority = 2, r.unstable_cancelCallback = function(q) {
        q.callback = null;
      }, r.unstable_continueExecution = function() {
        P || A || (P = !0, re(I));
      }, r.unstable_forceFrameRate = function(q) {
        0 > q || 125 < q ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : ae = 0 < q ? Math.floor(1e3 / q) : 5;
      }, r.unstable_getCurrentPriorityLevel = function() {
        return _;
      }, r.unstable_getFirstCallbackNode = function() {
        return l(C);
      }, r.unstable_next = function(q) {
        switch (_) {
          case 1:
          case 2:
          case 3:
            var se = 3;
            break;
          default:
            se = _;
        }
        var te = _;
        _ = se;
        try {
          return q();
        } finally {
          _ = te;
        }
      }, r.unstable_pauseExecution = function() {
      }, r.unstable_requestPaint = function() {
      }, r.unstable_runWithPriority = function(q, se) {
        switch (q) {
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
            break;
          default:
            q = 3;
        }
        var te = _;
        _ = q;
        try {
          return se();
        } finally {
          _ = te;
        }
      }, r.unstable_scheduleCallback = function(q, se, te) {
        var z = r.unstable_now();
        switch (typeof te == "object" && te !== null ? (te = te.delay, te = typeof te == "number" && 0 < te ? z + te : z) : te = z, q) {
          case 1:
            var K = -1;
            break;
          case 2:
            K = 250;
            break;
          case 5:
            K = 1073741823;
            break;
          case 4:
            K = 1e4;
            break;
          default:
            K = 5e3;
        }
        return K = te + K, q = { id: R++, callback: se, priorityLevel: q, startTime: te, expirationTime: K, sortIndex: -1 }, te > z ? (q.sortIndex = te, a(E, q), l(C) === null && q === l(E) && (L ? (V(ne), ne = -1) : L = !0, Q(W, te - z))) : (q.sortIndex = K, a(C, q), P || A || (P = !0, re(I))), q;
      }, r.unstable_shouldYield = ye, r.unstable_wrapCallback = function(q) {
        var se = _;
        return function() {
          var te = _;
          _ = se;
          try {
            return q.apply(this, arguments);
          } finally {
            _ = te;
          }
        };
      };
    }(pE)), pE;
  }
  var hE = {};
  /**
   * @license React
   * scheduler.development.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var oO;
  function sF() {
    return oO || (oO = 1, function(r) {
      process.env.NODE_ENV !== "production" && function() {
        typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
        var a = !1, l = !1, s = 5;
        function f($e, nt) {
          var rt = $e.length;
          $e.push(nt), S($e, nt, rt);
        }
        function m($e) {
          return $e.length === 0 ? null : $e[0];
        }
        function p($e) {
          if ($e.length === 0)
            return null;
          var nt = $e[0], rt = $e.pop();
          return rt !== nt && ($e[0] = rt, C($e, rt, 0)), nt;
        }
        function S($e, nt, rt) {
          for (var Pt = rt; Pt > 0; ) {
            var Gt = Pt - 1 >>> 1, Qn = $e[Gt];
            if (E(Qn, nt) > 0)
              $e[Gt] = nt, $e[Pt] = Qn, Pt = Gt;
            else
              return;
          }
        }
        function C($e, nt, rt) {
          for (var Pt = rt, Gt = $e.length, Qn = Gt >>> 1; Pt < Qn; ) {
            var jn = (Pt + 1) * 2 - 1, mr = $e[jn], hn = jn + 1, fr = $e[hn];
            if (E(mr, nt) < 0)
              hn < Gt && E(fr, mr) < 0 ? ($e[Pt] = fr, $e[hn] = nt, Pt = hn) : ($e[Pt] = mr, $e[jn] = nt, Pt = jn);
            else if (hn < Gt && E(fr, nt) < 0)
              $e[Pt] = fr, $e[hn] = nt, Pt = hn;
            else
              return;
          }
        }
        function E($e, nt) {
          var rt = $e.sortIndex - nt.sortIndex;
          return rt !== 0 ? rt : $e.id - nt.id;
        }
        var R = 1, T = 2, _ = 3, A = 4, P = 5;
        function L($e, nt) {
        }
        var M = typeof performance == "object" && typeof performance.now == "function";
        if (M) {
          var V = performance;
          r.unstable_now = function() {
            return V.now();
          };
        } else {
          var $ = Date, j = $.now();
          r.unstable_now = function() {
            return $.now() - j;
          };
        }
        var W = 1073741823, I = -1, ee = 250, Y = 5e3, ne = 1e4, ae = W, ve = [], ye = [], Oe = 1, ge = null, me = _, Te = !1, re = !1, Q = !1, q = typeof setTimeout == "function" ? setTimeout : null, se = typeof clearTimeout == "function" ? clearTimeout : null, te = typeof setImmediate < "u" ? setImmediate : null;
        typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
        function z($e) {
          for (var nt = m(ye); nt !== null; ) {
            if (nt.callback === null)
              p(ye);
            else if (nt.startTime <= $e)
              p(ye), nt.sortIndex = nt.expirationTime, f(ve, nt);
            else
              return;
            nt = m(ye);
          }
        }
        function K($e) {
          if (Q = !1, z($e), !re)
            if (m(ve) !== null)
              re = !0, Er(Re);
            else {
              var nt = m(ye);
              nt !== null && zn(K, nt.startTime - $e);
            }
        }
        function Re($e, nt) {
          re = !1, Q && (Q = !1, xr()), Te = !0;
          var rt = me;
          try {
            var Pt;
            if (!l) return we($e, nt);
          } finally {
            ge = null, me = rt, Te = !1;
          }
        }
        function we($e, nt) {
          var rt = nt;
          for (z(rt), ge = m(ve); ge !== null && !a && !(ge.expirationTime > rt && (!$e || tr())); ) {
            var Pt = ge.callback;
            if (typeof Pt == "function") {
              ge.callback = null, me = ge.priorityLevel;
              var Gt = ge.expirationTime <= rt, Qn = Pt(Gt);
              rt = r.unstable_now(), typeof Qn == "function" ? ge.callback = Qn : ge === m(ve) && p(ve), z(rt);
            } else
              p(ve);
            ge = m(ve);
          }
          if (ge !== null)
            return !0;
          var jn = m(ye);
          return jn !== null && zn(K, jn.startTime - rt), !1;
        }
        function Ue($e, nt) {
          switch ($e) {
            case R:
            case T:
            case _:
            case A:
            case P:
              break;
            default:
              $e = _;
          }
          var rt = me;
          me = $e;
          try {
            return nt();
          } finally {
            me = rt;
          }
        }
        function Ke($e) {
          var nt;
          switch (me) {
            case R:
            case T:
            case _:
              nt = _;
              break;
            default:
              nt = me;
              break;
          }
          var rt = me;
          me = nt;
          try {
            return $e();
          } finally {
            me = rt;
          }
        }
        function Be($e) {
          var nt = me;
          return function() {
            var rt = me;
            me = nt;
            try {
              return $e.apply(this, arguments);
            } finally {
              me = rt;
            }
          };
        }
        function vt($e, nt, rt) {
          var Pt = r.unstable_now(), Gt;
          if (typeof rt == "object" && rt !== null) {
            var Qn = rt.delay;
            typeof Qn == "number" && Qn > 0 ? Gt = Pt + Qn : Gt = Pt;
          } else
            Gt = Pt;
          var jn;
          switch ($e) {
            case R:
              jn = I;
              break;
            case T:
              jn = ee;
              break;
            case P:
              jn = ae;
              break;
            case A:
              jn = ne;
              break;
            case _:
            default:
              jn = Y;
              break;
          }
          var mr = Gt + jn, hn = {
            id: Oe++,
            callback: nt,
            priorityLevel: $e,
            startTime: Gt,
            expirationTime: mr,
            sortIndex: -1
          };
          return Gt > Pt ? (hn.sortIndex = Gt, f(ye, hn), m(ve) === null && hn === m(ye) && (Q ? xr() : Q = !0, zn(K, Gt - Pt))) : (hn.sortIndex = mr, f(ve, hn), !re && !Te && (re = !0, Er(Re))), hn;
        }
        function ut() {
        }
        function Tt() {
          !re && !Te && (re = !0, Er(Re));
        }
        function pn() {
          return m(ve);
        }
        function on($e) {
          $e.callback = null;
        }
        function Ut() {
          return me;
        }
        var ze = !1, bt = null, $t = -1, un = s, er = -1;
        function tr() {
          var $e = r.unstable_now() - er;
          return !($e < un);
        }
        function On() {
        }
        function Zt($e) {
          if ($e < 0 || $e > 125) {
            console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");
            return;
          }
          $e > 0 ? un = Math.floor(1e3 / $e) : un = s;
        }
        var qt = function() {
          if (bt !== null) {
            var $e = r.unstable_now();
            er = $e;
            var nt = !0, rt = !0;
            try {
              rt = bt(nt, $e);
            } finally {
              rt ? sn() : (ze = !1, bt = null);
            }
          } else
            ze = !1;
        }, sn;
        if (typeof te == "function")
          sn = function() {
            te(qt);
          };
        else if (typeof MessageChannel < "u") {
          var nr = new MessageChannel(), bn = nr.port2;
          nr.port1.onmessage = qt, sn = function() {
            bn.postMessage(null);
          };
        } else
          sn = function() {
            q(qt, 0);
          };
        function Er($e) {
          bt = $e, ze || (ze = !0, sn());
        }
        function zn($e, nt) {
          $t = q(function() {
            $e(r.unstable_now());
          }, nt);
        }
        function xr() {
          se($t), $t = -1;
        }
        var wa = On, Nr = null;
        r.unstable_IdlePriority = P, r.unstable_ImmediatePriority = R, r.unstable_LowPriority = A, r.unstable_NormalPriority = _, r.unstable_Profiling = Nr, r.unstable_UserBlockingPriority = T, r.unstable_cancelCallback = on, r.unstable_continueExecution = Tt, r.unstable_forceFrameRate = Zt, r.unstable_getCurrentPriorityLevel = Ut, r.unstable_getFirstCallbackNode = pn, r.unstable_next = Ke, r.unstable_pauseExecution = ut, r.unstable_requestPaint = wa, r.unstable_runWithPriority = Ue, r.unstable_scheduleCallback = vt, r.unstable_shouldYield = tr, r.unstable_wrapCallback = Be, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
      }();
    }(hE)), hE;
  }
  var lO;
  function I_() {
    return lO || (lO = 1, process.env.NODE_ENV === "production" ? Ky.exports = uF() : Ky.exports = sF()), Ky.exports;
  }
  /**
   * @license React
   * react-dom.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var uO;
  function cF() {
    if (uO) return Di;
    uO = 1;
    var r = Kh(), a = I_();
    function l(n) {
      for (var i = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, c = 1; c < arguments.length; c++) i += "&args[]=" + encodeURIComponent(arguments[c]);
      return "Minified React error #" + n + "; visit " + i + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
    }
    var s = /* @__PURE__ */ new Set(), f = {};
    function m(n, i) {
      p(n, i), p(n + "Capture", i);
    }
    function p(n, i) {
      for (f[n] = i, n = 0; n < i.length; n++) s.add(i[n]);
    }
    var S = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), C = Object.prototype.hasOwnProperty, E = /^[: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]*$/, R = {}, T = {};
    function _(n) {
      return C.call(T, n) ? !0 : C.call(R, n) ? !1 : E.test(n) ? T[n] = !0 : (R[n] = !0, !1);
    }
    function A(n, i, c, v) {
      if (c !== null && c.type === 0) return !1;
      switch (typeof i) {
        case "function":
        case "symbol":
          return !0;
        case "boolean":
          return v ? !1 : c !== null ? !c.acceptsBooleans : (n = n.toLowerCase().slice(0, 5), n !== "data-" && n !== "aria-");
        default:
          return !1;
      }
    }
    function P(n, i, c, v) {
      if (i === null || typeof i > "u" || A(n, i, c, v)) return !0;
      if (v) return !1;
      if (c !== null) switch (c.type) {
        case 3:
          return !i;
        case 4:
          return i === !1;
        case 5:
          return isNaN(i);
        case 6:
          return isNaN(i) || 1 > i;
      }
      return !1;
    }
    function L(n, i, c, v, g, b, k) {
      this.acceptsBooleans = i === 2 || i === 3 || i === 4, this.attributeName = v, this.attributeNamespace = g, this.mustUseProperty = c, this.propertyName = n, this.type = i, this.sanitizeURL = b, this.removeEmptyString = k;
    }
    var M = {};
    "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n) {
      M[n] = new L(n, 0, !1, n, null, !1, !1);
    }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(n) {
      var i = n[0];
      M[i] = new L(i, 1, !1, n[1], null, !1, !1);
    }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(n) {
      M[n] = new L(n, 2, !1, n.toLowerCase(), null, !1, !1);
    }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(n) {
      M[n] = new L(n, 2, !1, n, null, !1, !1);
    }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n) {
      M[n] = new L(n, 3, !1, n.toLowerCase(), null, !1, !1);
    }), ["checked", "multiple", "muted", "selected"].forEach(function(n) {
      M[n] = new L(n, 3, !0, n, null, !1, !1);
    }), ["capture", "download"].forEach(function(n) {
      M[n] = new L(n, 4, !1, n, null, !1, !1);
    }), ["cols", "rows", "size", "span"].forEach(function(n) {
      M[n] = new L(n, 6, !1, n, null, !1, !1);
    }), ["rowSpan", "start"].forEach(function(n) {
      M[n] = new L(n, 5, !1, n.toLowerCase(), null, !1, !1);
    });
    var V = /[\-:]([a-z])/g;
    function $(n) {
      return n[1].toUpperCase();
    }
    "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n) {
      var i = n.replace(
        V,
        $
      );
      M[i] = new L(i, 1, !1, n, null, !1, !1);
    }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n) {
      var i = n.replace(V, $);
      M[i] = new L(i, 1, !1, n, "http://www.w3.org/1999/xlink", !1, !1);
    }), ["xml:base", "xml:lang", "xml:space"].forEach(function(n) {
      var i = n.replace(V, $);
      M[i] = new L(i, 1, !1, n, "http://www.w3.org/XML/1998/namespace", !1, !1);
    }), ["tabIndex", "crossOrigin"].forEach(function(n) {
      M[n] = new L(n, 1, !1, n.toLowerCase(), null, !1, !1);
    }), M.xlinkHref = new L("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(n) {
      M[n] = new L(n, 1, !1, n.toLowerCase(), null, !0, !0);
    });
    function j(n, i, c, v) {
      var g = M.hasOwnProperty(i) ? M[i] : null;
      (g !== null ? g.type !== 0 : v || !(2 < i.length) || i[0] !== "o" && i[0] !== "O" || i[1] !== "n" && i[1] !== "N") && (P(i, c, g, v) && (c = null), v || g === null ? _(i) && (c === null ? n.removeAttribute(i) : n.setAttribute(i, "" + c)) : g.mustUseProperty ? n[g.propertyName] = c === null ? g.type === 3 ? !1 : "" : c : (i = g.attributeName, v = g.attributeNamespace, c === null ? n.removeAttribute(i) : (g = g.type, c = g === 3 || g === 4 && c === !0 ? "" : "" + c, v ? n.setAttributeNS(v, i, c) : n.setAttribute(i, c))));
    }
    var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, I = Symbol.for("react.element"), ee = Symbol.for("react.portal"), Y = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), ae = Symbol.for("react.profiler"), ve = Symbol.for("react.provider"), ye = Symbol.for("react.context"), Oe = Symbol.for("react.forward_ref"), ge = Symbol.for("react.suspense"), me = Symbol.for("react.suspense_list"), Te = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), Q = Symbol.for("react.offscreen"), q = Symbol.iterator;
    function se(n) {
      return n === null || typeof n != "object" ? null : (n = q && n[q] || n["@@iterator"], typeof n == "function" ? n : null);
    }
    var te = Object.assign, z;
    function K(n) {
      if (z === void 0) try {
        throw Error();
      } catch (c) {
        var i = c.stack.trim().match(/\n( *(at )?)/);
        z = i && i[1] || "";
      }
      return `
` + z + n;
    }
    var Re = !1;
    function we(n, i) {
      if (!n || Re) return "";
      Re = !0;
      var c = Error.prepareStackTrace;
      Error.prepareStackTrace = void 0;
      try {
        if (i) if (i = function() {
          throw Error();
        }, Object.defineProperty(i.prototype, "props", { set: function() {
          throw Error();
        } }), typeof Reflect == "object" && Reflect.construct) {
          try {
            Reflect.construct(i, []);
          } catch (pe) {
            var v = pe;
          }
          Reflect.construct(n, [], i);
        } else {
          try {
            i.call();
          } catch (pe) {
            v = pe;
          }
          n.call(i.prototype);
        }
        else {
          try {
            throw Error();
          } catch (pe) {
            v = pe;
          }
          n();
        }
      } catch (pe) {
        if (pe && v && typeof pe.stack == "string") {
          for (var g = pe.stack.split(`
`), b = v.stack.split(`
`), k = g.length - 1, H = b.length - 1; 1 <= k && 0 <= H && g[k] !== b[H]; ) H--;
          for (; 1 <= k && 0 <= H; k--, H--) if (g[k] !== b[H]) {
            if (k !== 1 || H !== 1)
              do
                if (k--, H--, 0 > H || g[k] !== b[H]) {
                  var G = `
` + g[k].replace(" at new ", " at ");
                  return n.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", n.displayName)), G;
                }
              while (1 <= k && 0 <= H);
            break;
          }
        }
      } finally {
        Re = !1, Error.prepareStackTrace = c;
      }
      return (n = n ? n.displayName || n.name : "") ? K(n) : "";
    }
    function Ue(n) {
      switch (n.tag) {
        case 5:
          return K(n.type);
        case 16:
          return K("Lazy");
        case 13:
          return K("Suspense");
        case 19:
          return K("SuspenseList");
        case 0:
        case 2:
        case 15:
          return n = we(n.type, !1), n;
        case 11:
          return n = we(n.type.render, !1), n;
        case 1:
          return n = we(n.type, !0), n;
        default:
          return "";
      }
    }
    function Ke(n) {
      if (n == null) return null;
      if (typeof n == "function") return n.displayName || n.name || null;
      if (typeof n == "string") return n;
      switch (n) {
        case Y:
          return "Fragment";
        case ee:
          return "Portal";
        case ae:
          return "Profiler";
        case ne:
          return "StrictMode";
        case ge:
          return "Suspense";
        case me:
          return "SuspenseList";
      }
      if (typeof n == "object") switch (n.$$typeof) {
        case ye:
          return (n.displayName || "Context") + ".Consumer";
        case ve:
          return (n._context.displayName || "Context") + ".Provider";
        case Oe:
          var i = n.render;
          return n = n.displayName, n || (n = i.displayName || i.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
        case Te:
          return i = n.displayName || null, i !== null ? i : Ke(n.type) || "Memo";
        case re:
          i = n._payload, n = n._init;
          try {
            return Ke(n(i));
          } catch {
          }
      }
      return null;
    }
    function Be(n) {
      var i = n.type;
      switch (n.tag) {
        case 24:
          return "Cache";
        case 9:
          return (i.displayName || "Context") + ".Consumer";
        case 10:
          return (i._context.displayName || "Context") + ".Provider";
        case 18:
          return "DehydratedFragment";
        case 11:
          return n = i.render, n = n.displayName || n.name || "", i.displayName || (n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef");
        case 7:
          return "Fragment";
        case 5:
          return i;
        case 4:
          return "Portal";
        case 3:
          return "Root";
        case 6:
          return "Text";
        case 16:
          return Ke(i);
        case 8:
          return i === ne ? "StrictMode" : "Mode";
        case 22:
          return "Offscreen";
        case 12:
          return "Profiler";
        case 21:
          return "Scope";
        case 13:
          return "Suspense";
        case 19:
          return "SuspenseList";
        case 25:
          return "TracingMarker";
        case 1:
        case 0:
        case 17:
        case 2:
        case 14:
        case 15:
          if (typeof i == "function") return i.displayName || i.name || null;
          if (typeof i == "string") return i;
      }
      return null;
    }
    function vt(n) {
      switch (typeof n) {
        case "boolean":
        case "number":
        case "string":
        case "undefined":
          return n;
        case "object":
          return n;
        default:
          return "";
      }
    }
    function ut(n) {
      var i = n.type;
      return (n = n.nodeName) && n.toLowerCase() === "input" && (i === "checkbox" || i === "radio");
    }
    function Tt(n) {
      var i = ut(n) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(n.constructor.prototype, i), v = "" + n[i];
      if (!n.hasOwnProperty(i) && typeof c < "u" && typeof c.get == "function" && typeof c.set == "function") {
        var g = c.get, b = c.set;
        return Object.defineProperty(n, i, { configurable: !0, get: function() {
          return g.call(this);
        }, set: function(k) {
          v = "" + k, b.call(this, k);
        } }), Object.defineProperty(n, i, { enumerable: c.enumerable }), { getValue: function() {
          return v;
        }, setValue: function(k) {
          v = "" + k;
        }, stopTracking: function() {
          n._valueTracker = null, delete n[i];
        } };
      }
    }
    function pn(n) {
      n._valueTracker || (n._valueTracker = Tt(n));
    }
    function on(n) {
      if (!n) return !1;
      var i = n._valueTracker;
      if (!i) return !0;
      var c = i.getValue(), v = "";
      return n && (v = ut(n) ? n.checked ? "true" : "false" : n.value), n = v, n !== c ? (i.setValue(n), !0) : !1;
    }
    function Ut(n) {
      if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null;
      try {
        return n.activeElement || n.body;
      } catch {
        return n.body;
      }
    }
    function ze(n, i) {
      var c = i.checked;
      return te({}, i, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c ?? n._wrapperState.initialChecked });
    }
    function bt(n, i) {
      var c = i.defaultValue == null ? "" : i.defaultValue, v = i.checked != null ? i.checked : i.defaultChecked;
      c = vt(i.value != null ? i.value : c), n._wrapperState = { initialChecked: v, initialValue: c, controlled: i.type === "checkbox" || i.type === "radio" ? i.checked != null : i.value != null };
    }
    function $t(n, i) {
      i = i.checked, i != null && j(n, "checked", i, !1);
    }
    function un(n, i) {
      $t(n, i);
      var c = vt(i.value), v = i.type;
      if (c != null) v === "number" ? (c === 0 && n.value === "" || n.value != c) && (n.value = "" + c) : n.value !== "" + c && (n.value = "" + c);
      else if (v === "submit" || v === "reset") {
        n.removeAttribute("value");
        return;
      }
      i.hasOwnProperty("value") ? tr(n, i.type, c) : i.hasOwnProperty("defaultValue") && tr(n, i.type, vt(i.defaultValue)), i.checked == null && i.defaultChecked != null && (n.defaultChecked = !!i.defaultChecked);
    }
    function er(n, i, c) {
      if (i.hasOwnProperty("value") || i.hasOwnProperty("defaultValue")) {
        var v = i.type;
        if (!(v !== "submit" && v !== "reset" || i.value !== void 0 && i.value !== null)) return;
        i = "" + n._wrapperState.initialValue, c || i === n.value || (n.value = i), n.defaultValue = i;
      }
      c = n.name, c !== "" && (n.name = ""), n.defaultChecked = !!n._wrapperState.initialChecked, c !== "" && (n.name = c);
    }
    function tr(n, i, c) {
      (i !== "number" || Ut(n.ownerDocument) !== n) && (c == null ? n.defaultValue = "" + n._wrapperState.initialValue : n.defaultValue !== "" + c && (n.defaultValue = "" + c));
    }
    var On = Array.isArray;
    function Zt(n, i, c, v) {
      if (n = n.options, i) {
        i = {};
        for (var g = 0; g < c.length; g++) i["$" + c[g]] = !0;
        for (c = 0; c < n.length; c++) g = i.hasOwnProperty("$" + n[c].value), n[c].selected !== g && (n[c].selected = g), g && v && (n[c].defaultSelected = !0);
      } else {
        for (c = "" + vt(c), i = null, g = 0; g < n.length; g++) {
          if (n[g].value === c) {
            n[g].selected = !0, v && (n[g].defaultSelected = !0);
            return;
          }
          i !== null || n[g].disabled || (i = n[g]);
        }
        i !== null && (i.selected = !0);
      }
    }
    function qt(n, i) {
      if (i.dangerouslySetInnerHTML != null) throw Error(l(91));
      return te({}, i, { value: void 0, defaultValue: void 0, children: "" + n._wrapperState.initialValue });
    }
    function sn(n, i) {
      var c = i.value;
      if (c == null) {
        if (c = i.children, i = i.defaultValue, c != null) {
          if (i != null) throw Error(l(92));
          if (On(c)) {
            if (1 < c.length) throw Error(l(93));
            c = c[0];
          }
          i = c;
        }
        i == null && (i = ""), c = i;
      }
      n._wrapperState = { initialValue: vt(c) };
    }
    function nr(n, i) {
      var c = vt(i.value), v = vt(i.defaultValue);
      c != null && (c = "" + c, c !== n.value && (n.value = c), i.defaultValue == null && n.defaultValue !== c && (n.defaultValue = c)), v != null && (n.defaultValue = "" + v);
    }
    function bn(n) {
      var i = n.textContent;
      i === n._wrapperState.initialValue && i !== "" && i !== null && (n.value = i);
    }
    function Er(n) {
      switch (n) {
        case "svg":
          return "http://www.w3.org/2000/svg";
        case "math":
          return "http://www.w3.org/1998/Math/MathML";
        default:
          return "http://www.w3.org/1999/xhtml";
      }
    }
    function zn(n, i) {
      return n == null || n === "http://www.w3.org/1999/xhtml" ? Er(i) : n === "http://www.w3.org/2000/svg" && i === "foreignObject" ? "http://www.w3.org/1999/xhtml" : n;
    }
    var xr, wa = function(n) {
      return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(i, c, v, g) {
        MSApp.execUnsafeLocalFunction(function() {
          return n(i, c, v, g);
        });
      } : n;
    }(function(n, i) {
      if (n.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in n) n.innerHTML = i;
      else {
        for (xr = xr || document.createElement("div"), xr.innerHTML = "<svg>" + i.valueOf().toString() + "</svg>", i = xr.firstChild; n.firstChild; ) n.removeChild(n.firstChild);
        for (; i.firstChild; ) n.appendChild(i.firstChild);
      }
    });
    function Nr(n, i) {
      if (i) {
        var c = n.firstChild;
        if (c && c === n.lastChild && c.nodeType === 3) {
          c.nodeValue = i;
          return;
        }
      }
      n.textContent = i;
    }
    var $e = {
      animationIterationCount: !0,
      aspectRatio: !0,
      borderImageOutset: !0,
      borderImageSlice: !0,
      borderImageWidth: !0,
      boxFlex: !0,
      boxFlexGroup: !0,
      boxOrdinalGroup: !0,
      columnCount: !0,
      columns: !0,
      flex: !0,
      flexGrow: !0,
      flexPositive: !0,
      flexShrink: !0,
      flexNegative: !0,
      flexOrder: !0,
      gridArea: !0,
      gridRow: !0,
      gridRowEnd: !0,
      gridRowSpan: !0,
      gridRowStart: !0,
      gridColumn: !0,
      gridColumnEnd: !0,
      gridColumnSpan: !0,
      gridColumnStart: !0,
      fontWeight: !0,
      lineClamp: !0,
      lineHeight: !0,
      opacity: !0,
      order: !0,
      orphans: !0,
      tabSize: !0,
      widows: !0,
      zIndex: !0,
      zoom: !0,
      fillOpacity: !0,
      floodOpacity: !0,
      stopOpacity: !0,
      strokeDasharray: !0,
      strokeDashoffset: !0,
      strokeMiterlimit: !0,
      strokeOpacity: !0,
      strokeWidth: !0
    }, nt = ["Webkit", "ms", "Moz", "O"];
    Object.keys($e).forEach(function(n) {
      nt.forEach(function(i) {
        i = i + n.charAt(0).toUpperCase() + n.substring(1), $e[i] = $e[n];
      });
    });
    function rt(n, i, c) {
      return i == null || typeof i == "boolean" || i === "" ? "" : c || typeof i != "number" || i === 0 || $e.hasOwnProperty(n) && $e[n] ? ("" + i).trim() : i + "px";
    }
    function Pt(n, i) {
      n = n.style;
      for (var c in i) if (i.hasOwnProperty(c)) {
        var v = c.indexOf("--") === 0, g = rt(c, i[c], v);
        c === "float" && (c = "cssFloat"), v ? n.setProperty(c, g) : n[c] = g;
      }
    }
    var Gt = te({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
    function Qn(n, i) {
      if (i) {
        if (Gt[n] && (i.children != null || i.dangerouslySetInnerHTML != null)) throw Error(l(137, n));
        if (i.dangerouslySetInnerHTML != null) {
          if (i.children != null) throw Error(l(60));
          if (typeof i.dangerouslySetInnerHTML != "object" || !("__html" in i.dangerouslySetInnerHTML)) throw Error(l(61));
        }
        if (i.style != null && typeof i.style != "object") throw Error(l(62));
      }
    }
    function jn(n, i) {
      if (n.indexOf("-") === -1) return typeof i.is == "string";
      switch (n) {
        case "annotation-xml":
        case "color-profile":
        case "font-face":
        case "font-face-src":
        case "font-face-uri":
        case "font-face-format":
        case "font-face-name":
        case "missing-glyph":
          return !1;
        default:
          return !0;
      }
    }
    var mr = null;
    function hn(n) {
      return n = n.target || n.srcElement || window, n.correspondingUseElement && (n = n.correspondingUseElement), n.nodeType === 3 ? n.parentNode : n;
    }
    var fr = null, mn = null, Jt = null;
    function la(n) {
      if (n = hc(n)) {
        if (typeof fr != "function") throw Error(l(280));
        var i = n.stateNode;
        i && (i = pt(i), fr(n.stateNode, n.type, i));
      }
    }
    function Jr(n) {
      mn ? Jt ? Jt.push(n) : Jt = [n] : mn = n;
    }
    function Ya() {
      if (mn) {
        var n = mn, i = Jt;
        if (Jt = mn = null, la(n), i) for (n = 0; n < i.length; n++) la(i[n]);
      }
    }
    function qa(n, i) {
      return n(i);
    }
    function Ta() {
    }
    var Ai = !1;
    function Hn(n, i, c) {
      if (Ai) return n(i, c);
      Ai = !0;
      try {
        return qa(n, i, c);
      } finally {
        Ai = !1, (mn !== null || Jt !== null) && (Ta(), Ya());
      }
    }
    function ea(n, i) {
      var c = n.stateNode;
      if (c === null) return null;
      var v = pt(c);
      if (v === null) return null;
      c = v[i];
      e: switch (i) {
        case "onClick":
        case "onClickCapture":
        case "onDoubleClick":
        case "onDoubleClickCapture":
        case "onMouseDown":
        case "onMouseDownCapture":
        case "onMouseMove":
        case "onMouseMoveCapture":
        case "onMouseUp":
        case "onMouseUpCapture":
        case "onMouseEnter":
          (v = !v.disabled) || (n = n.type, v = !(n === "button" || n === "input" || n === "select" || n === "textarea")), n = !v;
          break e;
        default:
          n = !1;
      }
      if (n) return null;
      if (c && typeof c != "function") throw Error(l(231, i, typeof c));
      return c;
    }
    var Ga = !1;
    if (S) try {
      var nn = {};
      Object.defineProperty(nn, "passive", { get: function() {
        Ga = !0;
      } }), window.addEventListener("test", nn, nn), window.removeEventListener("test", nn, nn);
    } catch {
      Ga = !1;
    }
    function En(n, i, c, v, g, b, k, H, G) {
      var pe = Array.prototype.slice.call(arguments, 3);
      try {
        i.apply(c, pe);
      } catch (De) {
        this.onError(De);
      }
    }
    var Mn = !1, Wn = null, ua = !1, B = null, Ne = { onError: function(n) {
      Mn = !0, Wn = n;
    } };
    function je(n, i, c, v, g, b, k, H, G) {
      Mn = !1, Wn = null, En.apply(Ne, arguments);
    }
    function Ye(n, i, c, v, g, b, k, H, G) {
      if (je.apply(this, arguments), Mn) {
        if (Mn) {
          var pe = Wn;
          Mn = !1, Wn = null;
        } else throw Error(l(198));
        ua || (ua = !0, B = pe);
      }
    }
    function Nt(n) {
      var i = n, c = n;
      if (n.alternate) for (; i.return; ) i = i.return;
      else {
        n = i;
        do
          i = n, i.flags & 4098 && (c = i.return), n = i.return;
        while (n);
      }
      return i.tag === 3 ? c : null;
    }
    function Vt(n) {
      if (n.tag === 13) {
        var i = n.memoizedState;
        if (i === null && (n = n.alternate, n !== null && (i = n.memoizedState)), i !== null) return i.dehydrated;
      }
      return null;
    }
    function Mt(n) {
      if (Nt(n) !== n) throw Error(l(188));
    }
    function Je(n) {
      var i = n.alternate;
      if (!i) {
        if (i = Nt(n), i === null) throw Error(l(188));
        return i !== n ? null : n;
      }
      for (var c = n, v = i; ; ) {
        var g = c.return;
        if (g === null) break;
        var b = g.alternate;
        if (b === null) {
          if (v = g.return, v !== null) {
            c = v;
            continue;
          }
          break;
        }
        if (g.child === b.child) {
          for (b = g.child; b; ) {
            if (b === c) return Mt(g), n;
            if (b === v) return Mt(g), i;
            b = b.sibling;
          }
          throw Error(l(188));
        }
        if (c.return !== v.return) c = g, v = b;
        else {
          for (var k = !1, H = g.child; H; ) {
            if (H === c) {
              k = !0, c = g, v = b;
              break;
            }
            if (H === v) {
              k = !0, v = g, c = b;
              break;
            }
            H = H.sibling;
          }
          if (!k) {
            for (H = b.child; H; ) {
              if (H === c) {
                k = !0, c = b, v = g;
                break;
              }
              if (H === v) {
                k = !0, v = b, c = g;
                break;
              }
              H = H.sibling;
            }
            if (!k) throw Error(l(189));
          }
        }
        if (c.alternate !== v) throw Error(l(190));
      }
      if (c.tag !== 3) throw Error(l(188));
      return c.stateNode.current === c ? n : i;
    }
    function gr(n) {
      return n = Je(n), n !== null ? Dn(n) : null;
    }
    function Dn(n) {
      if (n.tag === 5 || n.tag === 6) return n;
      for (n = n.child; n !== null; ) {
        var i = Dn(n);
        if (i !== null) return i;
        n = n.sibling;
      }
      return null;
    }
    var Ln = a.unstable_scheduleCallback, jr = a.unstable_cancelCallback, Ki = a.unstable_shouldYield, Pi = a.unstable_requestPaint, jt = a.unstable_now, jl = a.unstable_getCurrentPriorityLevel, Qa = a.unstable_ImmediatePriority, zt = a.unstable_UserBlockingPriority, Xi = a.unstable_NormalPriority, Jo = a.unstable_LowPriority, Lu = a.unstable_IdlePriority, el = null, Oa = null;
    function Zs(n) {
      if (Oa && typeof Oa.onCommitFiberRoot == "function") try {
        Oa.onCommitFiberRoot(el, n, void 0, (n.current.flags & 128) === 128);
      } catch {
      }
    }
    var sa = Math.clz32 ? Math.clz32 : gf, Js = Math.log, ec = Math.LN2;
    function gf(n) {
      return n >>>= 0, n === 0 ? 32 : 31 - (Js(n) / ec | 0) | 0;
    }
    var Au = 64, tl = 4194304;
    function Fi(n) {
      switch (n & -n) {
        case 1:
          return 1;
        case 2:
          return 2;
        case 4:
          return 4;
        case 8:
          return 8;
        case 16:
          return 16;
        case 32:
          return 32;
        case 64:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return n & 4194240;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
        case 67108864:
          return n & 130023424;
        case 134217728:
          return 134217728;
        case 268435456:
          return 268435456;
        case 536870912:
          return 536870912;
        case 1073741824:
          return 1073741824;
        default:
          return n;
      }
    }
    function ca(n, i) {
      var c = n.pendingLanes;
      if (c === 0) return 0;
      var v = 0, g = n.suspendedLanes, b = n.pingedLanes, k = c & 268435455;
      if (k !== 0) {
        var H = k & ~g;
        H !== 0 ? v = Fi(H) : (b &= k, b !== 0 && (v = Fi(b)));
      } else k = c & ~g, k !== 0 ? v = Fi(k) : b !== 0 && (v = Fi(b));
      if (v === 0) return 0;
      if (i !== 0 && i !== v && !(i & g) && (g = v & -v, b = i & -i, g >= b || g === 16 && (b & 4194240) !== 0)) return i;
      if (v & 4 && (v |= c & 16), i = n.entangledLanes, i !== 0) for (n = n.entanglements, i &= v; 0 < i; ) c = 31 - sa(i), g = 1 << c, v |= n[c], i &= ~g;
      return v;
    }
    function nl(n, i) {
      switch (n) {
        case 1:
        case 2:
        case 4:
          return i + 250;
        case 8:
        case 16:
        case 32:
        case 64:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return i + 5e3;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
        case 67108864:
          return -1;
        case 134217728:
        case 268435456:
        case 536870912:
        case 1073741824:
          return -1;
        default:
          return -1;
      }
    }
    function rl(n, i) {
      for (var c = n.suspendedLanes, v = n.pingedLanes, g = n.expirationTimes, b = n.pendingLanes; 0 < b; ) {
        var k = 31 - sa(b), H = 1 << k, G = g[k];
        G === -1 ? (!(H & c) || H & v) && (g[k] = nl(H, i)) : G <= i && (n.expiredLanes |= H), b &= ~H;
      }
    }
    function al(n) {
      return n = n.pendingLanes & -1073741825, n !== 0 ? n : n & 1073741824 ? 1073741824 : 0;
    }
    function Pu() {
      var n = Au;
      return Au <<= 1, !(Au & 4194240) && (Au = 64), n;
    }
    function Fu(n) {
      for (var i = [], c = 0; 31 > c; c++) i.push(n);
      return i;
    }
    function So(n, i, c) {
      n.pendingLanes |= i, i !== 536870912 && (n.suspendedLanes = 0, n.pingedLanes = 0), n = n.eventTimes, i = 31 - sa(i), n[i] = c;
    }
    function _v(n, i) {
      var c = n.pendingLanes & ~i;
      n.pendingLanes = i, n.suspendedLanes = 0, n.pingedLanes = 0, n.expiredLanes &= i, n.mutableReadLanes &= i, n.entangledLanes &= i, i = n.entanglements;
      var v = n.eventTimes;
      for (n = n.expirationTimes; 0 < c; ) {
        var g = 31 - sa(c), b = 1 << g;
        i[g] = 0, v[g] = -1, n[g] = -1, c &= ~b;
      }
    }
    function Zi(n, i) {
      var c = n.entangledLanes |= i;
      for (n = n.entanglements; c; ) {
        var v = 31 - sa(c), g = 1 << v;
        g & i | n[v] & i && (n[v] |= i), c &= ~g;
      }
    }
    var cn = 0;
    function $u(n) {
      return n &= -n, 1 < n ? 4 < n ? n & 268435455 ? 16 : 536870912 : 4 : 1;
    }
    var Hl, zu, Qt, ju, Hu, Ot = !1, Il = [], Kn = null, _a = null, fa = null, il = /* @__PURE__ */ new Map(), rr = /* @__PURE__ */ new Map(), gn = [], yf = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
    function ka(n, i) {
      switch (n) {
        case "focusin":
        case "focusout":
          Kn = null;
          break;
        case "dragenter":
        case "dragleave":
          _a = null;
          break;
        case "mouseover":
        case "mouseout":
          fa = null;
          break;
        case "pointerover":
        case "pointerout":
          il.delete(i.pointerId);
          break;
        case "gotpointercapture":
        case "lostpointercapture":
          rr.delete(i.pointerId);
      }
    }
    function Mr(n, i, c, v, g, b) {
      return n === null || n.nativeEvent !== b ? (n = { blockedOn: i, domEventName: c, eventSystemFlags: v, nativeEvent: b, targetContainers: [g] }, i !== null && (i = hc(i), i !== null && zu(i)), n) : (n.eventSystemFlags |= v, i = n.targetContainers, g !== null && i.indexOf(g) === -1 && i.push(g), n);
    }
    function Ji(n, i, c, v, g) {
      switch (i) {
        case "focusin":
          return Kn = Mr(Kn, n, i, c, v, g), !0;
        case "dragenter":
          return _a = Mr(_a, n, i, c, v, g), !0;
        case "mouseover":
          return fa = Mr(fa, n, i, c, v, g), !0;
        case "pointerover":
          var b = g.pointerId;
          return il.set(b, Mr(il.get(b) || null, n, i, c, v, g)), !0;
        case "gotpointercapture":
          return b = g.pointerId, rr.set(b, Mr(rr.get(b) || null, n, i, c, v, g)), !0;
      }
      return !1;
    }
    function Sf(n) {
      var i = pi(n.target);
      if (i !== null) {
        var c = Nt(i);
        if (c !== null) {
          if (i = c.tag, i === 13) {
            if (i = Vt(c), i !== null) {
              n.blockedOn = i, Hu(n.priority, function() {
                Qt(c);
              });
              return;
            }
          } else if (i === 3 && c.stateNode.current.memoizedState.isDehydrated) {
            n.blockedOn = c.tag === 3 ? c.stateNode.containerInfo : null;
            return;
          }
        }
      }
      n.blockedOn = null;
    }
    function Co(n) {
      if (n.blockedOn !== null) return !1;
      for (var i = n.targetContainers; 0 < i.length; ) {
        var c = Uu(n.domEventName, n.eventSystemFlags, i[0], n.nativeEvent);
        if (c === null) {
          c = n.nativeEvent;
          var v = new c.constructor(c.type, c);
          mr = v, c.target.dispatchEvent(v), mr = null;
        } else return i = hc(c), i !== null && zu(i), n.blockedOn = c, !1;
        i.shift();
      }
      return !0;
    }
    function ol(n, i, c) {
      Co(n) && c.delete(i);
    }
    function Cf() {
      Ot = !1, Kn !== null && Co(Kn) && (Kn = null), _a !== null && Co(_a) && (_a = null), fa !== null && Co(fa) && (fa = null), il.forEach(ol), rr.forEach(ol);
    }
    function fi(n, i) {
      n.blockedOn === i && (n.blockedOn = null, Ot || (Ot = !0, a.unstable_scheduleCallback(a.unstable_NormalPriority, Cf)));
    }
    function ll(n) {
      function i(g) {
        return fi(g, n);
      }
      if (0 < Il.length) {
        fi(Il[0], n);
        for (var c = 1; c < Il.length; c++) {
          var v = Il[c];
          v.blockedOn === n && (v.blockedOn = null);
        }
      }
      for (Kn !== null && fi(Kn, n), _a !== null && fi(_a, n), fa !== null && fi(fa, n), il.forEach(i), rr.forEach(i), c = 0; c < gn.length; c++) v = gn[c], v.blockedOn === n && (v.blockedOn = null);
      for (; 0 < gn.length && (c = gn[0], c.blockedOn === null); ) Sf(c), c.blockedOn === null && gn.shift();
    }
    var bo = W.ReactCurrentBatchConfig, di = !0;
    function Iu(n, i, c, v) {
      var g = cn, b = bo.transition;
      bo.transition = null;
      try {
        cn = 1, sl(n, i, c, v);
      } finally {
        cn = g, bo.transition = b;
      }
    }
    function ul(n, i, c, v) {
      var g = cn, b = bo.transition;
      bo.transition = null;
      try {
        cn = 4, sl(n, i, c, v);
      } finally {
        cn = g, bo.transition = b;
      }
    }
    function sl(n, i, c, v) {
      if (di) {
        var g = Uu(n, i, c, v);
        if (g === null) kf(n, i, v, Ul, c), ka(n, v);
        else if (Ji(g, n, i, c, v)) v.stopPropagation();
        else if (ka(n, v), i & 4 && -1 < yf.indexOf(n)) {
          for (; g !== null; ) {
            var b = hc(g);
            if (b !== null && Hl(b), b = Uu(n, i, c, v), b === null && kf(n, i, v, Ul, c), b === g) break;
            g = b;
          }
          g !== null && v.stopPropagation();
        } else kf(n, i, v, null, c);
      }
    }
    var Ul = null;
    function Uu(n, i, c, v) {
      if (Ul = null, n = hn(v), n = pi(n), n !== null) if (i = Nt(n), i === null) n = null;
      else if (c = i.tag, c === 13) {
        if (n = Vt(i), n !== null) return n;
        n = null;
      } else if (c === 3) {
        if (i.stateNode.current.memoizedState.isDehydrated) return i.tag === 3 ? i.stateNode.containerInfo : null;
        n = null;
      } else i !== n && (n = null);
      return Ul = n, null;
    }
    function tc(n) {
      switch (n) {
        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 "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 1;
        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 "toggle":
        case "touchmove":
        case "wheel":
        case "mouseenter":
        case "mouseleave":
        case "pointerenter":
        case "pointerleave":
          return 4;
        case "message":
          switch (jl()) {
            case Qa:
              return 1;
            case zt:
              return 4;
            case Xi:
            case Jo:
              return 16;
            case Lu:
              return 536870912;
            default:
              return 16;
          }
        default:
          return 16;
      }
    }
    var $i = null, O = null, U = null;
    function de() {
      if (U) return U;
      var n, i = O, c = i.length, v, g = "value" in $i ? $i.value : $i.textContent, b = g.length;
      for (n = 0; n < c && i[n] === g[n]; n++) ;
      var k = c - n;
      for (v = 1; v <= k && i[c - v] === g[b - v]; v++) ;
      return U = g.slice(n, 1 < v ? 1 - v : void 0);
    }
    function Se(n) {
      var i = n.keyCode;
      return "charCode" in n ? (n = n.charCode, n === 0 && i === 13 && (n = 13)) : n = i, n === 10 && (n = 13), 32 <= n || n === 13 ? n : 0;
    }
    function Pe() {
      return !0;
    }
    function yt() {
      return !1;
    }
    function Ve(n) {
      function i(c, v, g, b, k) {
        this._reactName = c, this._targetInst = g, this.type = v, this.nativeEvent = b, this.target = k, this.currentTarget = null;
        for (var H in n) n.hasOwnProperty(H) && (c = n[H], this[H] = c ? c(b) : b[H]);
        return this.isDefaultPrevented = (b.defaultPrevented != null ? b.defaultPrevented : b.returnValue === !1) ? Pe : yt, this.isPropagationStopped = yt, this;
      }
      return te(i.prototype, { preventDefault: function() {
        this.defaultPrevented = !0;
        var c = this.nativeEvent;
        c && (c.preventDefault ? c.preventDefault() : typeof c.returnValue != "unknown" && (c.returnValue = !1), this.isDefaultPrevented = Pe);
      }, stopPropagation: function() {
        var c = this.nativeEvent;
        c && (c.stopPropagation ? c.stopPropagation() : typeof c.cancelBubble != "unknown" && (c.cancelBubble = !0), this.isPropagationStopped = Pe);
      }, persist: function() {
      }, isPersistent: Pe }), i;
    }
    var gt = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(n) {
      return n.timeStamp || Date.now();
    }, defaultPrevented: 0, isTrusted: 0 }, Ht = Ve(gt), rn = te({}, gt, { view: 0, detail: 0 }), _n = Ve(rn), Cn, kn, An, Kt = te({}, rn, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Lv, button: 0, buttons: 0, relatedTarget: function(n) {
      return n.relatedTarget === void 0 ? n.fromElement === n.srcElement ? n.toElement : n.fromElement : n.relatedTarget;
    }, movementX: function(n) {
      return "movementX" in n ? n.movementX : (n !== An && (An && n.type === "mousemove" ? (Cn = n.screenX - An.screenX, kn = n.screenY - An.screenY) : kn = Cn = 0, An = n), Cn);
    }, movementY: function(n) {
      return "movementY" in n ? n.movementY : kn;
    } }), Eo = Ve(Kt), Vu = te({}, Kt, { dataTransfer: 0 }), nc = Ve(Vu), kv = te({}, rn, { relatedTarget: 0 }), zi = Ve(kv), rc = te({}, gt, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), ac = Ve(rc), Nv = te({}, gt, { clipboardData: function(n) {
      return "clipboardData" in n ? n.clipboardData : window.clipboardData;
    } }), W0 = Ve(Nv), Y0 = te({}, gt, { data: 0 }), Mv = Ve(Y0), Dv = {
      Esc: "Escape",
      Spacebar: " ",
      Left: "ArrowLeft",
      Up: "ArrowUp",
      Right: "ArrowRight",
      Down: "ArrowDown",
      Del: "Delete",
      Win: "OS",
      Menu: "ContextMenu",
      Apps: "ContextMenu",
      Scroll: "ScrollLock",
      MozPrintableKey: "Unidentified"
    }, rm = {
      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"
    }, am = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
    function im(n) {
      var i = this.nativeEvent;
      return i.getModifierState ? i.getModifierState(n) : (n = am[n]) ? !!i[n] : !1;
    }
    function Lv() {
      return im;
    }
    var xo = te({}, rn, { key: function(n) {
      if (n.key) {
        var i = Dv[n.key] || n.key;
        if (i !== "Unidentified") return i;
      }
      return n.type === "keypress" ? (n = Se(n), n === 13 ? "Enter" : String.fromCharCode(n)) : n.type === "keydown" || n.type === "keyup" ? rm[n.keyCode] || "Unidentified" : "";
    }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Lv, charCode: function(n) {
      return n.type === "keypress" ? Se(n) : 0;
    }, keyCode: function(n) {
      return n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0;
    }, which: function(n) {
      return n.type === "keypress" ? Se(n) : n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0;
    } }), q0 = Ve(xo), Av = te({}, Kt, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), bf = Ve(Av), Pv = te({}, rn, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Lv }), G0 = Ve(Pv), Ef = te({}, gt, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), om = Ve(Ef), Na = te({}, Kt, {
      deltaX: function(n) {
        return "deltaX" in n ? n.deltaX : "wheelDeltaX" in n ? -n.wheelDeltaX : 0;
      },
      deltaY: function(n) {
        return "deltaY" in n ? n.deltaY : "wheelDeltaY" in n ? -n.wheelDeltaY : "wheelDelta" in n ? -n.wheelDelta : 0;
      },
      deltaZ: 0,
      deltaMode: 0
    }), Ro = Ve(Na), yr = [9, 13, 27, 32], ji = S && "CompositionEvent" in window, Vl = null;
    S && "documentMode" in document && (Vl = document.documentMode);
    var xf = S && "TextEvent" in window && !Vl, lm = S && (!ji || Vl && 8 < Vl && 11 >= Vl), Bu = " ", um = !1;
    function sm(n, i) {
      switch (n) {
        case "keyup":
          return yr.indexOf(i.keyCode) !== -1;
        case "keydown":
          return i.keyCode !== 229;
        case "keypress":
        case "mousedown":
        case "focusout":
          return !0;
        default:
          return !1;
      }
    }
    function Rf(n) {
      return n = n.detail, typeof n == "object" && "data" in n ? n.data : null;
    }
    var Wu = !1;
    function Q0(n, i) {
      switch (n) {
        case "compositionend":
          return Rf(i);
        case "keypress":
          return i.which !== 32 ? null : (um = !0, Bu);
        case "textInput":
          return n = i.data, n === Bu && um ? null : n;
        default:
          return null;
      }
    }
    function K0(n, i) {
      if (Wu) return n === "compositionend" || !ji && sm(n, i) ? (n = de(), U = O = $i = null, Wu = !1, n) : null;
      switch (n) {
        case "paste":
          return null;
        case "keypress":
          if (!(i.ctrlKey || i.altKey || i.metaKey) || i.ctrlKey && i.altKey) {
            if (i.char && 1 < i.char.length) return i.char;
            if (i.which) return String.fromCharCode(i.which);
          }
          return null;
        case "compositionend":
          return lm && i.locale !== "ko" ? null : i.data;
        default:
          return null;
      }
    }
    var cm = { 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 fm(n) {
      var i = n && n.nodeName && n.nodeName.toLowerCase();
      return i === "input" ? !!cm[n.type] : i === "textarea";
    }
    function dm(n, i, c, v) {
      Jr(v), i = dc(i, "onChange"), 0 < i.length && (c = new Ht("onChange", "change", null, c, v), n.push({ event: c, listeners: i }));
    }
    var ic = null, Yu = null;
    function qu(n) {
      _f(n, 0);
    }
    function Gu(n) {
      var i = Ku(n);
      if (on(i)) return n;
    }
    function vm(n, i) {
      if (n === "change") return i;
    }
    var Fv = !1;
    if (S) {
      var $v;
      if (S) {
        var zv = "oninput" in document;
        if (!zv) {
          var pm = document.createElement("div");
          pm.setAttribute("oninput", "return;"), zv = typeof pm.oninput == "function";
        }
        $v = zv;
      } else $v = !1;
      Fv = $v && (!document.documentMode || 9 < document.documentMode);
    }
    function hm() {
      ic && (ic.detachEvent("onpropertychange", mm), Yu = ic = null);
    }
    function mm(n) {
      if (n.propertyName === "value" && Gu(Yu)) {
        var i = [];
        dm(i, Yu, n, hn(n)), Hn(qu, i);
      }
    }
    function X0(n, i, c) {
      n === "focusin" ? (hm(), ic = i, Yu = c, ic.attachEvent("onpropertychange", mm)) : n === "focusout" && hm();
    }
    function Z0(n) {
      if (n === "selectionchange" || n === "keyup" || n === "keydown") return Gu(Yu);
    }
    function J0(n, i) {
      if (n === "click") return Gu(i);
    }
    function gm(n, i) {
      if (n === "input" || n === "change") return Gu(i);
    }
    function eS(n, i) {
      return n === i && (n !== 0 || 1 / n === 1 / i) || n !== n && i !== i;
    }
    var vi = typeof Object.is == "function" ? Object.is : eS;
    function oc(n, i) {
      if (vi(n, i)) return !0;
      if (typeof n != "object" || n === null || typeof i != "object" || i === null) return !1;
      var c = Object.keys(n), v = Object.keys(i);
      if (c.length !== v.length) return !1;
      for (v = 0; v < c.length; v++) {
        var g = c[v];
        if (!C.call(i, g) || !vi(n[g], i[g])) return !1;
      }
      return !0;
    }
    function ym(n) {
      for (; n && n.firstChild; ) n = n.firstChild;
      return n;
    }
    function Sm(n, i) {
      var c = ym(n);
      n = 0;
      for (var v; c; ) {
        if (c.nodeType === 3) {
          if (v = n + c.textContent.length, n <= i && v >= i) return { node: c, offset: i - n };
          n = v;
        }
        e: {
          for (; c; ) {
            if (c.nextSibling) {
              c = c.nextSibling;
              break e;
            }
            c = c.parentNode;
          }
          c = void 0;
        }
        c = ym(c);
      }
    }
    function Cm(n, i) {
      return n && i ? n === i ? !0 : n && n.nodeType === 3 ? !1 : i && i.nodeType === 3 ? Cm(n, i.parentNode) : "contains" in n ? n.contains(i) : n.compareDocumentPosition ? !!(n.compareDocumentPosition(i) & 16) : !1 : !1;
    }
    function wf() {
      for (var n = window, i = Ut(); i instanceof n.HTMLIFrameElement; ) {
        try {
          var c = typeof i.contentWindow.location.href == "string";
        } catch {
          c = !1;
        }
        if (c) n = i.contentWindow;
        else break;
        i = Ut(n.document);
      }
      return i;
    }
    function wo(n) {
      var i = n && n.nodeName && n.nodeName.toLowerCase();
      return i && (i === "input" && (n.type === "text" || n.type === "search" || n.type === "tel" || n.type === "url" || n.type === "password") || i === "textarea" || n.contentEditable === "true");
    }
    function Tf(n) {
      var i = wf(), c = n.focusedElem, v = n.selectionRange;
      if (i !== c && c && c.ownerDocument && Cm(c.ownerDocument.documentElement, c)) {
        if (v !== null && wo(c)) {
          if (i = v.start, n = v.end, n === void 0 && (n = i), "selectionStart" in c) c.selectionStart = i, c.selectionEnd = Math.min(n, c.value.length);
          else if (n = (i = c.ownerDocument || document) && i.defaultView || window, n.getSelection) {
            n = n.getSelection();
            var g = c.textContent.length, b = Math.min(v.start, g);
            v = v.end === void 0 ? b : Math.min(v.end, g), !n.extend && b > v && (g = v, v = b, b = g), g = Sm(c, b);
            var k = Sm(
              c,
              v
            );
            g && k && (n.rangeCount !== 1 || n.anchorNode !== g.node || n.anchorOffset !== g.offset || n.focusNode !== k.node || n.focusOffset !== k.offset) && (i = i.createRange(), i.setStart(g.node, g.offset), n.removeAllRanges(), b > v ? (n.addRange(i), n.extend(k.node, k.offset)) : (i.setEnd(k.node, k.offset), n.addRange(i)));
          }
        }
        for (i = [], n = c; n = n.parentNode; ) n.nodeType === 1 && i.push({ element: n, left: n.scrollLeft, top: n.scrollTop });
        for (typeof c.focus == "function" && c.focus(), c = 0; c < i.length; c++) n = i[c], n.element.scrollLeft = n.left, n.element.scrollTop = n.top;
      }
    }
    var bm = S && "documentMode" in document && 11 >= document.documentMode, Hi = null, jv = null, lc = null, Hv = !1;
    function Em(n, i, c) {
      var v = c.window === c ? c.document : c.nodeType === 9 ? c : c.ownerDocument;
      Hv || Hi == null || Hi !== Ut(v) || (v = Hi, "selectionStart" in v && wo(v) ? v = { start: v.selectionStart, end: v.selectionEnd } : (v = (v.ownerDocument && v.ownerDocument.defaultView || window).getSelection(), v = { anchorNode: v.anchorNode, anchorOffset: v.anchorOffset, focusNode: v.focusNode, focusOffset: v.focusOffset }), lc && oc(lc, v) || (lc = v, v = dc(jv, "onSelect"), 0 < v.length && (i = new Ht("onSelect", "select", null, i, c), n.push({ event: i, listeners: v }), i.target = Hi)));
    }
    function Of(n, i) {
      var c = {};
      return c[n.toLowerCase()] = i.toLowerCase(), c["Webkit" + n] = "webkit" + i, c["Moz" + n] = "moz" + i, c;
    }
    var Bl = { animationend: Of("Animation", "AnimationEnd"), animationiteration: Of("Animation", "AnimationIteration"), animationstart: Of("Animation", "AnimationStart"), transitionend: Of("Transition", "TransitionEnd") }, Iv = {}, Uv = {};
    S && (Uv = document.createElement("div").style, "AnimationEvent" in window || (delete Bl.animationend.animation, delete Bl.animationiteration.animation, delete Bl.animationstart.animation), "TransitionEvent" in window || delete Bl.transitionend.transition);
    function Dr(n) {
      if (Iv[n]) return Iv[n];
      if (!Bl[n]) return n;
      var i = Bl[n], c;
      for (c in i) if (i.hasOwnProperty(c) && c in Uv) return Iv[n] = i[c];
      return n;
    }
    var Vv = Dr("animationend"), xm = Dr("animationiteration"), Rm = Dr("animationstart"), wm = Dr("transitionend"), Tm = /* @__PURE__ */ new Map(), Om = "abort auxClick 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(" ");
    function To(n, i) {
      Tm.set(n, i), m(i, [n]);
    }
    for (var uc = 0; uc < Om.length; uc++) {
      var Wl = Om[uc], tS = Wl.toLowerCase(), sc = Wl[0].toUpperCase() + Wl.slice(1);
      To(tS, "on" + sc);
    }
    To(Vv, "onAnimationEnd"), To(xm, "onAnimationIteration"), To(Rm, "onAnimationStart"), To("dblclick", "onDoubleClick"), To("focusin", "onFocus"), To("focusout", "onBlur"), To(wm, "onTransitionEnd"), p("onMouseEnter", ["mouseout", "mouseover"]), p("onMouseLeave", ["mouseout", "mouseover"]), p("onPointerEnter", ["pointerout", "pointerover"]), p("onPointerLeave", ["pointerout", "pointerover"]), m("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), m("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), m("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), m("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), m("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), m("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
    var cc = "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(" "), nS = new Set("cancel close invalid load scroll toggle".split(" ").concat(cc));
    function _m(n, i, c) {
      var v = n.type || "unknown-event";
      n.currentTarget = c, Ye(v, i, void 0, n), n.currentTarget = null;
    }
    function _f(n, i) {
      i = (i & 4) !== 0;
      for (var c = 0; c < n.length; c++) {
        var v = n[c], g = v.event;
        v = v.listeners;
        e: {
          var b = void 0;
          if (i) for (var k = v.length - 1; 0 <= k; k--) {
            var H = v[k], G = H.instance, pe = H.currentTarget;
            if (H = H.listener, G !== b && g.isPropagationStopped()) break e;
            _m(g, H, pe), b = G;
          }
          else for (k = 0; k < v.length; k++) {
            if (H = v[k], G = H.instance, pe = H.currentTarget, H = H.listener, G !== b && g.isPropagationStopped()) break e;
            _m(g, H, pe), b = G;
          }
        }
      }
      if (ua) throw n = B, ua = !1, B = null, n;
    }
    function Nn(n, i) {
      var c = i[Kv];
      c === void 0 && (c = i[Kv] = /* @__PURE__ */ new Set());
      var v = n + "__bubble";
      c.has(v) || (km(i, n, 2, !1), c.add(v));
    }
    function cl(n, i, c) {
      var v = 0;
      i && (v |= 4), km(c, n, v, i);
    }
    var Oo = "_reactListening" + Math.random().toString(36).slice(2);
    function Qu(n) {
      if (!n[Oo]) {
        n[Oo] = !0, s.forEach(function(c) {
          c !== "selectionchange" && (nS.has(c) || cl(c, !1, n), cl(c, !0, n));
        });
        var i = n.nodeType === 9 ? n : n.ownerDocument;
        i === null || i[Oo] || (i[Oo] = !0, cl("selectionchange", !1, i));
      }
    }
    function km(n, i, c, v) {
      switch (tc(i)) {
        case 1:
          var g = Iu;
          break;
        case 4:
          g = ul;
          break;
        default:
          g = sl;
      }
      c = g.bind(null, i, c, n), g = void 0, !Ga || i !== "touchstart" && i !== "touchmove" && i !== "wheel" || (g = !0), v ? g !== void 0 ? n.addEventListener(i, c, { capture: !0, passive: g }) : n.addEventListener(i, c, !0) : g !== void 0 ? n.addEventListener(i, c, { passive: g }) : n.addEventListener(i, c, !1);
    }
    function kf(n, i, c, v, g) {
      var b = v;
      if (!(i & 1) && !(i & 2) && v !== null) e: for (; ; ) {
        if (v === null) return;
        var k = v.tag;
        if (k === 3 || k === 4) {
          var H = v.stateNode.containerInfo;
          if (H === g || H.nodeType === 8 && H.parentNode === g) break;
          if (k === 4) for (k = v.return; k !== null; ) {
            var G = k.tag;
            if ((G === 3 || G === 4) && (G = k.stateNode.containerInfo, G === g || G.nodeType === 8 && G.parentNode === g)) return;
            k = k.return;
          }
          for (; H !== null; ) {
            if (k = pi(H), k === null) return;
            if (G = k.tag, G === 5 || G === 6) {
              v = b = k;
              continue e;
            }
            H = H.parentNode;
          }
        }
        v = v.return;
      }
      Hn(function() {
        var pe = b, De = hn(c), Le = [];
        e: {
          var Me = Tm.get(n);
          if (Me !== void 0) {
            var Ge = Ht, et = n;
            switch (n) {
              case "keypress":
                if (Se(c) === 0) break e;
              case "keydown":
              case "keyup":
                Ge = q0;
                break;
              case "focusin":
                et = "focus", Ge = zi;
                break;
              case "focusout":
                et = "blur", Ge = zi;
                break;
              case "beforeblur":
              case "afterblur":
                Ge = zi;
                break;
              case "click":
                if (c.button === 2) break e;
              case "auxclick":
              case "dblclick":
              case "mousedown":
              case "mousemove":
              case "mouseup":
              case "mouseout":
              case "mouseover":
              case "contextmenu":
                Ge = Eo;
                break;
              case "drag":
              case "dragend":
              case "dragenter":
              case "dragexit":
              case "dragleave":
              case "dragover":
              case "dragstart":
              case "drop":
                Ge = nc;
                break;
              case "touchcancel":
              case "touchend":
              case "touchmove":
              case "touchstart":
                Ge = G0;
                break;
              case Vv:
              case xm:
              case Rm:
                Ge = ac;
                break;
              case wm:
                Ge = om;
                break;
              case "scroll":
                Ge = _n;
                break;
              case "wheel":
                Ge = Ro;
                break;
              case "copy":
              case "cut":
              case "paste":
                Ge = W0;
                break;
              case "gotpointercapture":
              case "lostpointercapture":
              case "pointercancel":
              case "pointerdown":
              case "pointermove":
              case "pointerout":
              case "pointerover":
              case "pointerup":
                Ge = bf;
            }
            var at = (i & 4) !== 0, pr = !at && n === "scroll", ie = at ? Me !== null ? Me + "Capture" : null : Me;
            at = [];
            for (var Z = pe, ce; Z !== null; ) {
              ce = Z;
              var Fe = ce.stateNode;
              if (ce.tag === 5 && Fe !== null && (ce = Fe, ie !== null && (Fe = ea(Z, ie), Fe != null && at.push(fc(Z, Fe, ce)))), pr) break;
              Z = Z.return;
            }
            0 < at.length && (Me = new Ge(Me, et, null, c, De), Le.push({ event: Me, listeners: at }));
          }
        }
        if (!(i & 7)) {
          e: {
            if (Me = n === "mouseover" || n === "pointerover", Ge = n === "mouseout" || n === "pointerout", Me && c !== mr && (et = c.relatedTarget || c.fromElement) && (pi(et) || et[_o])) break e;
            if ((Ge || Me) && (Me = De.window === De ? De : (Me = De.ownerDocument) ? Me.defaultView || Me.parentWindow : window, Ge ? (et = c.relatedTarget || c.toElement, Ge = pe, et = et ? pi(et) : null, et !== null && (pr = Nt(et), et !== pr || et.tag !== 5 && et.tag !== 6) && (et = null)) : (Ge = null, et = pe), Ge !== et)) {
              if (at = Eo, Fe = "onMouseLeave", ie = "onMouseEnter", Z = "mouse", (n === "pointerout" || n === "pointerover") && (at = bf, Fe = "onPointerLeave", ie = "onPointerEnter", Z = "pointer"), pr = Ge == null ? Me : Ku(Ge), ce = et == null ? Me : Ku(et), Me = new at(Fe, Z + "leave", Ge, c, De), Me.target = pr, Me.relatedTarget = ce, Fe = null, pi(De) === pe && (at = new at(ie, Z + "enter", et, c, De), at.target = ce, at.relatedTarget = pr, Fe = at), pr = Fe, Ge && et) t: {
                for (at = Ge, ie = et, Z = 0, ce = at; ce; ce = Yl(ce)) Z++;
                for (ce = 0, Fe = ie; Fe; Fe = Yl(Fe)) ce++;
                for (; 0 < Z - ce; ) at = Yl(at), Z--;
                for (; 0 < ce - Z; ) ie = Yl(ie), ce--;
                for (; Z--; ) {
                  if (at === ie || ie !== null && at === ie.alternate) break t;
                  at = Yl(at), ie = Yl(ie);
                }
                at = null;
              }
              else at = null;
              Ge !== null && Bv(Le, Me, Ge, at, !1), et !== null && pr !== null && Bv(Le, pr, et, at, !0);
            }
          }
          e: {
            if (Me = pe ? Ku(pe) : window, Ge = Me.nodeName && Me.nodeName.toLowerCase(), Ge === "select" || Ge === "input" && Me.type === "file") var ot = vm;
            else if (fm(Me)) if (Fv) ot = gm;
            else {
              ot = Z0;
              var St = X0;
            }
            else (Ge = Me.nodeName) && Ge.toLowerCase() === "input" && (Me.type === "checkbox" || Me.type === "radio") && (ot = J0);
            if (ot && (ot = ot(n, pe))) {
              dm(Le, ot, c, De);
              break e;
            }
            St && St(n, Me, pe), n === "focusout" && (St = Me._wrapperState) && St.controlled && Me.type === "number" && tr(Me, "number", Me.value);
          }
          switch (St = pe ? Ku(pe) : window, n) {
            case "focusin":
              (fm(St) || St.contentEditable === "true") && (Hi = St, jv = pe, lc = null);
              break;
            case "focusout":
              lc = jv = Hi = null;
              break;
            case "mousedown":
              Hv = !0;
              break;
            case "contextmenu":
            case "mouseup":
            case "dragend":
              Hv = !1, Em(Le, c, De);
              break;
            case "selectionchange":
              if (bm) break;
            case "keydown":
            case "keyup":
              Em(Le, c, De);
          }
          var Ct;
          if (ji) e: {
            switch (n) {
              case "compositionstart":
                var ct = "onCompositionStart";
                break e;
              case "compositionend":
                ct = "onCompositionEnd";
                break e;
              case "compositionupdate":
                ct = "onCompositionUpdate";
                break e;
            }
            ct = void 0;
          }
          else Wu ? sm(n, c) && (ct = "onCompositionEnd") : n === "keydown" && c.keyCode === 229 && (ct = "onCompositionStart");
          ct && (lm && c.locale !== "ko" && (Wu || ct !== "onCompositionStart" ? ct === "onCompositionEnd" && Wu && (Ct = de()) : ($i = De, O = "value" in $i ? $i.value : $i.textContent, Wu = !0)), St = dc(pe, ct), 0 < St.length && (ct = new Mv(ct, n, null, c, De), Le.push({ event: ct, listeners: St }), Ct ? ct.data = Ct : (Ct = Rf(c), Ct !== null && (ct.data = Ct)))), (Ct = xf ? Q0(n, c) : K0(n, c)) && (pe = dc(pe, "onBeforeInput"), 0 < pe.length && (De = new Mv("onBeforeInput", "beforeinput", null, c, De), Le.push({ event: De, listeners: pe }), De.data = Ct));
        }
        _f(Le, i);
      });
    }
    function fc(n, i, c) {
      return { instance: n, listener: i, currentTarget: c };
    }
    function dc(n, i) {
      for (var c = i + "Capture", v = []; n !== null; ) {
        var g = n, b = g.stateNode;
        g.tag === 5 && b !== null && (g = b, b = ea(n, c), b != null && v.unshift(fc(n, b, g)), b = ea(n, i), b != null && v.push(fc(n, b, g))), n = n.return;
      }
      return v;
    }
    function Yl(n) {
      if (n === null) return null;
      do
        n = n.return;
      while (n && n.tag !== 5);
      return n || null;
    }
    function Bv(n, i, c, v, g) {
      for (var b = i._reactName, k = []; c !== null && c !== v; ) {
        var H = c, G = H.alternate, pe = H.stateNode;
        if (G !== null && G === v) break;
        H.tag === 5 && pe !== null && (H = pe, g ? (G = ea(c, b), G != null && k.unshift(fc(c, G, H))) : g || (G = ea(c, b), G != null && k.push(fc(c, G, H)))), c = c.return;
      }
      k.length !== 0 && n.push({ event: i, listeners: k });
    }
    var Wv = /\r\n?/g, rS = /\u0000|\uFFFD/g;
    function Yv(n) {
      return (typeof n == "string" ? n : "" + n).replace(Wv, `
`).replace(rS, "");
    }
    function Nf(n, i, c) {
      if (i = Yv(i), Yv(n) !== i && c) throw Error(l(425));
    }
    function Mf() {
    }
    var qv = null, ql = null;
    function vc(n, i) {
      return n === "textarea" || n === "noscript" || typeof i.children == "string" || typeof i.children == "number" || typeof i.dangerouslySetInnerHTML == "object" && i.dangerouslySetInnerHTML !== null && i.dangerouslySetInnerHTML.__html != null;
    }
    var Gl = typeof setTimeout == "function" ? setTimeout : void 0, Nm = typeof clearTimeout == "function" ? clearTimeout : void 0, Gv = typeof Promise == "function" ? Promise : void 0, Qv = typeof queueMicrotask == "function" ? queueMicrotask : typeof Gv < "u" ? function(n) {
      return Gv.resolve(null).then(n).catch(aS);
    } : Gl;
    function aS(n) {
      setTimeout(function() {
        throw n;
      });
    }
    function fl(n, i) {
      var c = i, v = 0;
      do {
        var g = c.nextSibling;
        if (n.removeChild(c), g && g.nodeType === 8) if (c = g.data, c === "/$") {
          if (v === 0) {
            n.removeChild(g), ll(i);
            return;
          }
          v--;
        } else c !== "$" && c !== "$?" && c !== "$!" || v++;
        c = g;
      } while (c);
      ll(i);
    }
    function Ii(n) {
      for (; n != null; n = n.nextSibling) {
        var i = n.nodeType;
        if (i === 1 || i === 3) break;
        if (i === 8) {
          if (i = n.data, i === "$" || i === "$!" || i === "$?") break;
          if (i === "/$") return null;
        }
      }
      return n;
    }
    function pc(n) {
      n = n.previousSibling;
      for (var i = 0; n; ) {
        if (n.nodeType === 8) {
          var c = n.data;
          if (c === "$" || c === "$!" || c === "$?") {
            if (i === 0) return n;
            i--;
          } else c === "/$" && i++;
        }
        n = n.previousSibling;
      }
      return null;
    }
    var dl = Math.random().toString(36).slice(2), eo = "__reactFiber$" + dl, Ql = "__reactProps$" + dl, _o = "__reactContainer$" + dl, Kv = "__reactEvents$" + dl, iS = "__reactListeners$" + dl, Xv = "__reactHandles$" + dl;
    function pi(n) {
      var i = n[eo];
      if (i) return i;
      for (var c = n.parentNode; c; ) {
        if (i = c[_o] || c[eo]) {
          if (c = i.alternate, i.child !== null || c !== null && c.child !== null) for (n = pc(n); n !== null; ) {
            if (c = n[eo]) return c;
            n = pc(n);
          }
          return i;
        }
        n = c, c = n.parentNode;
      }
      return null;
    }
    function hc(n) {
      return n = n[eo] || n[_o], !n || n.tag !== 5 && n.tag !== 6 && n.tag !== 13 && n.tag !== 3 ? null : n;
    }
    function Ku(n) {
      if (n.tag === 5 || n.tag === 6) return n.stateNode;
      throw Error(l(33));
    }
    function pt(n) {
      return n[Ql] || null;
    }
    var vl = [], In = -1;
    function Ft(n) {
      return { current: n };
    }
    function vn(n) {
      0 > In || (n.current = vl[In], vl[In] = null, In--);
    }
    function yn(n, i) {
      In++, vl[In] = n.current, n.current = i;
    }
    var to = {}, xt = Ft(to), ar = Ft(!1), Ma = to;
    function hi(n, i) {
      var c = n.type.contextTypes;
      if (!c) return to;
      var v = n.stateNode;
      if (v && v.__reactInternalMemoizedUnmaskedChildContext === i) return v.__reactInternalMemoizedMaskedChildContext;
      var g = {}, b;
      for (b in c) g[b] = i[b];
      return v && (n = n.stateNode, n.__reactInternalMemoizedUnmaskedChildContext = i, n.__reactInternalMemoizedMaskedChildContext = g), g;
    }
    function Yn(n) {
      return n = n.childContextTypes, n != null;
    }
    function mi() {
      vn(ar), vn(xt);
    }
    function pl(n, i, c) {
      if (xt.current !== to) throw Error(l(168));
      yn(xt, i), yn(ar, c);
    }
    function mc(n, i, c) {
      var v = n.stateNode;
      if (i = i.childContextTypes, typeof v.getChildContext != "function") return c;
      v = v.getChildContext();
      for (var g in v) if (!(g in i)) throw Error(l(108, Be(n) || "Unknown", g));
      return te({}, c, v);
    }
    function Df(n) {
      return n = (n = n.stateNode) && n.__reactInternalMemoizedMergedChildContext || to, Ma = xt.current, yn(xt, n), yn(ar, ar.current), !0;
    }
    function Mm(n, i, c) {
      var v = n.stateNode;
      if (!v) throw Error(l(169));
      c ? (n = mc(n, i, Ma), v.__reactInternalMemoizedMergedChildContext = n, vn(ar), vn(xt), yn(xt, n)) : vn(ar), yn(ar, c);
    }
    var Ka = null, Lr = !1, gc = !1;
    function Zv(n) {
      Ka === null ? Ka = [n] : Ka.push(n);
    }
    function Jv(n) {
      Lr = !0, Zv(n);
    }
    function Da() {
      if (!gc && Ka !== null) {
        gc = !0;
        var n = 0, i = cn;
        try {
          var c = Ka;
          for (cn = 1; n < c.length; n++) {
            var v = c[n];
            do
              v = v(!0);
            while (v !== null);
          }
          Ka = null, Lr = !1;
        } catch (g) {
          throw Ka !== null && (Ka = Ka.slice(n + 1)), Ln(Qa, Da), g;
        } finally {
          cn = i, gc = !1;
        }
      }
      return null;
    }
    var hl = [], La = 0, Kl = null, Xu = 0, Aa = [], ta = 0, gi = null, Hr = 1, ko = "";
    function Xa(n, i) {
      hl[La++] = Xu, hl[La++] = Kl, Kl = n, Xu = i;
    }
    function ep(n, i, c) {
      Aa[ta++] = Hr, Aa[ta++] = ko, Aa[ta++] = gi, gi = n;
      var v = Hr;
      n = ko;
      var g = 32 - sa(v) - 1;
      v &= ~(1 << g), c += 1;
      var b = 32 - sa(i) + g;
      if (30 < b) {
        var k = g - g % 5;
        b = (v & (1 << k) - 1).toString(32), v >>= k, g -= k, Hr = 1 << 32 - sa(i) + g | c << g | v, ko = b + n;
      } else Hr = 1 << b | c << g | v, ko = n;
    }
    function Lf(n) {
      n.return !== null && (Xa(n, 1), ep(n, 1, 0));
    }
    function tp(n) {
      for (; n === Kl; ) Kl = hl[--La], hl[La] = null, Xu = hl[--La], hl[La] = null;
      for (; n === gi; ) gi = Aa[--ta], Aa[ta] = null, ko = Aa[--ta], Aa[ta] = null, Hr = Aa[--ta], Aa[ta] = null;
    }
    var Za = null, Pa = null, Un = !1, yi = null;
    function np(n, i) {
      var c = Ti(5, null, null, 0);
      c.elementType = "DELETED", c.stateNode = i, c.return = n, i = n.deletions, i === null ? (n.deletions = [c], n.flags |= 16) : i.push(c);
    }
    function Dm(n, i) {
      switch (n.tag) {
        case 5:
          var c = n.type;
          return i = i.nodeType !== 1 || c.toLowerCase() !== i.nodeName.toLowerCase() ? null : i, i !== null ? (n.stateNode = i, Za = n, Pa = Ii(i.firstChild), !0) : !1;
        case 6:
          return i = n.pendingProps === "" || i.nodeType !== 3 ? null : i, i !== null ? (n.stateNode = i, Za = n, Pa = null, !0) : !1;
        case 13:
          return i = i.nodeType !== 8 ? null : i, i !== null ? (c = gi !== null ? { id: Hr, overflow: ko } : null, n.memoizedState = { dehydrated: i, treeContext: c, retryLane: 1073741824 }, c = Ti(18, null, null, 0), c.stateNode = i, c.return = n, n.child = c, Za = n, Pa = null, !0) : !1;
        default:
          return !1;
      }
    }
    function Af(n) {
      return (n.mode & 1) !== 0 && (n.flags & 128) === 0;
    }
    function Pf(n) {
      if (Un) {
        var i = Pa;
        if (i) {
          var c = i;
          if (!Dm(n, i)) {
            if (Af(n)) throw Error(l(418));
            i = Ii(c.nextSibling);
            var v = Za;
            i && Dm(n, i) ? np(v, c) : (n.flags = n.flags & -4097 | 2, Un = !1, Za = n);
          }
        } else {
          if (Af(n)) throw Error(l(418));
          n.flags = n.flags & -4097 | 2, Un = !1, Za = n;
        }
      }
    }
    function Lm(n) {
      for (n = n.return; n !== null && n.tag !== 5 && n.tag !== 3 && n.tag !== 13; ) n = n.return;
      Za = n;
    }
    function Ff(n) {
      if (n !== Za) return !1;
      if (!Un) return Lm(n), Un = !0, !1;
      var i;
      if ((i = n.tag !== 3) && !(i = n.tag !== 5) && (i = n.type, i = i !== "head" && i !== "body" && !vc(n.type, n.memoizedProps)), i && (i = Pa)) {
        if (Af(n)) throw Am(), Error(l(418));
        for (; i; ) np(n, i), i = Ii(i.nextSibling);
      }
      if (Lm(n), n.tag === 13) {
        if (n = n.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(l(317));
        e: {
          for (n = n.nextSibling, i = 0; n; ) {
            if (n.nodeType === 8) {
              var c = n.data;
              if (c === "/$") {
                if (i === 0) {
                  Pa = Ii(n.nextSibling);
                  break e;
                }
                i--;
              } else c !== "$" && c !== "$!" && c !== "$?" || i++;
            }
            n = n.nextSibling;
          }
          Pa = null;
        }
      } else Pa = Za ? Ii(n.stateNode.nextSibling) : null;
      return !0;
    }
    function Am() {
      for (var n = Pa; n; ) n = Ii(n.nextSibling);
    }
    function Xn() {
      Pa = Za = null, Un = !1;
    }
    function rp(n) {
      yi === null ? yi = [n] : yi.push(n);
    }
    var $f = W.ReactCurrentBatchConfig;
    function Xl(n, i, c) {
      if (n = c.ref, n !== null && typeof n != "function" && typeof n != "object") {
        if (c._owner) {
          if (c = c._owner, c) {
            if (c.tag !== 1) throw Error(l(309));
            var v = c.stateNode;
          }
          if (!v) throw Error(l(147, n));
          var g = v, b = "" + n;
          return i !== null && i.ref !== null && typeof i.ref == "function" && i.ref._stringRef === b ? i.ref : (i = function(k) {
            var H = g.refs;
            k === null ? delete H[b] : H[b] = k;
          }, i._stringRef = b, i);
        }
        if (typeof n != "string") throw Error(l(284));
        if (!c._owner) throw Error(l(290, n));
      }
      return n;
    }
    function no(n, i) {
      throw n = Object.prototype.toString.call(i), Error(l(31, n === "[object Object]" ? "object with keys {" + Object.keys(i).join(", ") + "}" : n));
    }
    function Pm(n) {
      var i = n._init;
      return i(n._payload);
    }
    function zf(n) {
      function i(ie, Z) {
        if (n) {
          var ce = ie.deletions;
          ce === null ? (ie.deletions = [Z], ie.flags |= 16) : ce.push(Z);
        }
      }
      function c(ie, Z) {
        if (!n) return null;
        for (; Z !== null; ) i(ie, Z), Z = Z.sibling;
        return null;
      }
      function v(ie, Z) {
        for (ie = /* @__PURE__ */ new Map(); Z !== null; ) Z.key !== null ? ie.set(Z.key, Z) : ie.set(Z.index, Z), Z = Z.sibling;
        return ie;
      }
      function g(ie, Z) {
        return ie = xl(ie, Z), ie.index = 0, ie.sibling = null, ie;
      }
      function b(ie, Z, ce) {
        return ie.index = ce, n ? (ce = ie.alternate, ce !== null ? (ce = ce.index, ce < Z ? (ie.flags |= 2, Z) : ce) : (ie.flags |= 2, Z)) : (ie.flags |= 1048576, Z);
      }
      function k(ie) {
        return n && ie.alternate === null && (ie.flags |= 2), ie;
      }
      function H(ie, Z, ce, Fe) {
        return Z === null || Z.tag !== 6 ? (Z = wd(ce, ie.mode, Fe), Z.return = ie, Z) : (Z = g(Z, ce), Z.return = ie, Z);
      }
      function G(ie, Z, ce, Fe) {
        var ot = ce.type;
        return ot === Y ? De(ie, Z, ce.props.children, Fe, ce.key) : Z !== null && (Z.elementType === ot || typeof ot == "object" && ot !== null && ot.$$typeof === re && Pm(ot) === Z.type) ? (Fe = g(Z, ce.props), Fe.ref = Xl(ie, Z, ce), Fe.return = ie, Fe) : (Fe = xd(ce.type, ce.key, ce.props, null, ie.mode, Fe), Fe.ref = Xl(ie, Z, ce), Fe.return = ie, Fe);
      }
      function pe(ie, Z, ce, Fe) {
        return Z === null || Z.tag !== 4 || Z.stateNode.containerInfo !== ce.containerInfo || Z.stateNode.implementation !== ce.implementation ? (Z = Pc(ce, ie.mode, Fe), Z.return = ie, Z) : (Z = g(Z, ce.children || []), Z.return = ie, Z);
      }
      function De(ie, Z, ce, Fe, ot) {
        return Z === null || Z.tag !== 7 ? (Z = du(ce, ie.mode, Fe, ot), Z.return = ie, Z) : (Z = g(Z, ce), Z.return = ie, Z);
      }
      function Le(ie, Z, ce) {
        if (typeof Z == "string" && Z !== "" || typeof Z == "number") return Z = wd("" + Z, ie.mode, ce), Z.return = ie, Z;
        if (typeof Z == "object" && Z !== null) {
          switch (Z.$$typeof) {
            case I:
              return ce = xd(Z.type, Z.key, Z.props, null, ie.mode, ce), ce.ref = Xl(ie, null, Z), ce.return = ie, ce;
            case ee:
              return Z = Pc(Z, ie.mode, ce), Z.return = ie, Z;
            case re:
              var Fe = Z._init;
              return Le(ie, Fe(Z._payload), ce);
          }
          if (On(Z) || se(Z)) return Z = du(Z, ie.mode, ce, null), Z.return = ie, Z;
          no(ie, Z);
        }
        return null;
      }
      function Me(ie, Z, ce, Fe) {
        var ot = Z !== null ? Z.key : null;
        if (typeof ce == "string" && ce !== "" || typeof ce == "number") return ot !== null ? null : H(ie, Z, "" + ce, Fe);
        if (typeof ce == "object" && ce !== null) {
          switch (ce.$$typeof) {
            case I:
              return ce.key === ot ? G(ie, Z, ce, Fe) : null;
            case ee:
              return ce.key === ot ? pe(ie, Z, ce, Fe) : null;
            case re:
              return ot = ce._init, Me(
                ie,
                Z,
                ot(ce._payload),
                Fe
              );
          }
          if (On(ce) || se(ce)) return ot !== null ? null : De(ie, Z, ce, Fe, null);
          no(ie, ce);
        }
        return null;
      }
      function Ge(ie, Z, ce, Fe, ot) {
        if (typeof Fe == "string" && Fe !== "" || typeof Fe == "number") return ie = ie.get(ce) || null, H(Z, ie, "" + Fe, ot);
        if (typeof Fe == "object" && Fe !== null) {
          switch (Fe.$$typeof) {
            case I:
              return ie = ie.get(Fe.key === null ? ce : Fe.key) || null, G(Z, ie, Fe, ot);
            case ee:
              return ie = ie.get(Fe.key === null ? ce : Fe.key) || null, pe(Z, ie, Fe, ot);
            case re:
              var St = Fe._init;
              return Ge(ie, Z, ce, St(Fe._payload), ot);
          }
          if (On(Fe) || se(Fe)) return ie = ie.get(ce) || null, De(Z, ie, Fe, ot, null);
          no(Z, Fe);
        }
        return null;
      }
      function et(ie, Z, ce, Fe) {
        for (var ot = null, St = null, Ct = Z, ct = Z = 0, ur = null; Ct !== null && ct < ce.length; ct++) {
          Ct.index > ct ? (ur = Ct, Ct = null) : ur = Ct.sibling;
          var ln = Me(ie, Ct, ce[ct], Fe);
          if (ln === null) {
            Ct === null && (Ct = ur);
            break;
          }
          n && Ct && ln.alternate === null && i(ie, Ct), Z = b(ln, Z, ct), St === null ? ot = ln : St.sibling = ln, St = ln, Ct = ur;
        }
        if (ct === ce.length) return c(ie, Ct), Un && Xa(ie, ct), ot;
        if (Ct === null) {
          for (; ct < ce.length; ct++) Ct = Le(ie, ce[ct], Fe), Ct !== null && (Z = b(Ct, Z, ct), St === null ? ot = Ct : St.sibling = Ct, St = Ct);
          return Un && Xa(ie, ct), ot;
        }
        for (Ct = v(ie, Ct); ct < ce.length; ct++) ur = Ge(Ct, ie, ct, ce[ct], Fe), ur !== null && (n && ur.alternate !== null && Ct.delete(ur.key === null ? ct : ur.key), Z = b(ur, Z, ct), St === null ? ot = ur : St.sibling = ur, St = ur);
        return n && Ct.forEach(function(Rl) {
          return i(ie, Rl);
        }), Un && Xa(ie, ct), ot;
      }
      function at(ie, Z, ce, Fe) {
        var ot = se(ce);
        if (typeof ot != "function") throw Error(l(150));
        if (ce = ot.call(ce), ce == null) throw Error(l(151));
        for (var St = ot = null, Ct = Z, ct = Z = 0, ur = null, ln = ce.next(); Ct !== null && !ln.done; ct++, ln = ce.next()) {
          Ct.index > ct ? (ur = Ct, Ct = null) : ur = Ct.sibling;
          var Rl = Me(ie, Ct, ln.value, Fe);
          if (Rl === null) {
            Ct === null && (Ct = ur);
            break;
          }
          n && Ct && Rl.alternate === null && i(ie, Ct), Z = b(Rl, Z, ct), St === null ? ot = Rl : St.sibling = Rl, St = Rl, Ct = ur;
        }
        if (ln.done) return c(
          ie,
          Ct
        ), Un && Xa(ie, ct), ot;
        if (Ct === null) {
          for (; !ln.done; ct++, ln = ce.next()) ln = Le(ie, ln.value, Fe), ln !== null && (Z = b(ln, Z, ct), St === null ? ot = ln : St.sibling = ln, St = ln);
          return Un && Xa(ie, ct), ot;
        }
        for (Ct = v(ie, Ct); !ln.done; ct++, ln = ce.next()) ln = Ge(Ct, ie, ct, ln.value, Fe), ln !== null && (n && ln.alternate !== null && Ct.delete(ln.key === null ? ct : ln.key), Z = b(ln, Z, ct), St === null ? ot = ln : St.sibling = ln, St = ln);
        return n && Ct.forEach(function(mg) {
          return i(ie, mg);
        }), Un && Xa(ie, ct), ot;
      }
      function pr(ie, Z, ce, Fe) {
        if (typeof ce == "object" && ce !== null && ce.type === Y && ce.key === null && (ce = ce.props.children), typeof ce == "object" && ce !== null) {
          switch (ce.$$typeof) {
            case I:
              e: {
                for (var ot = ce.key, St = Z; St !== null; ) {
                  if (St.key === ot) {
                    if (ot = ce.type, ot === Y) {
                      if (St.tag === 7) {
                        c(ie, St.sibling), Z = g(St, ce.props.children), Z.return = ie, ie = Z;
                        break e;
                      }
                    } else if (St.elementType === ot || typeof ot == "object" && ot !== null && ot.$$typeof === re && Pm(ot) === St.type) {
                      c(ie, St.sibling), Z = g(St, ce.props), Z.ref = Xl(ie, St, ce), Z.return = ie, ie = Z;
                      break e;
                    }
                    c(ie, St);
                    break;
                  } else i(ie, St);
                  St = St.sibling;
                }
                ce.type === Y ? (Z = du(ce.props.children, ie.mode, Fe, ce.key), Z.return = ie, ie = Z) : (Fe = xd(ce.type, ce.key, ce.props, null, ie.mode, Fe), Fe.ref = Xl(ie, Z, ce), Fe.return = ie, ie = Fe);
              }
              return k(ie);
            case ee:
              e: {
                for (St = ce.key; Z !== null; ) {
                  if (Z.key === St) if (Z.tag === 4 && Z.stateNode.containerInfo === ce.containerInfo && Z.stateNode.implementation === ce.implementation) {
                    c(ie, Z.sibling), Z = g(Z, ce.children || []), Z.return = ie, ie = Z;
                    break e;
                  } else {
                    c(ie, Z);
                    break;
                  }
                  else i(ie, Z);
                  Z = Z.sibling;
                }
                Z = Pc(ce, ie.mode, Fe), Z.return = ie, ie = Z;
              }
              return k(ie);
            case re:
              return St = ce._init, pr(ie, Z, St(ce._payload), Fe);
          }
          if (On(ce)) return et(ie, Z, ce, Fe);
          if (se(ce)) return at(ie, Z, ce, Fe);
          no(ie, ce);
        }
        return typeof ce == "string" && ce !== "" || typeof ce == "number" ? (ce = "" + ce, Z !== null && Z.tag === 6 ? (c(ie, Z.sibling), Z = g(Z, ce), Z.return = ie, ie = Z) : (c(ie, Z), Z = wd(ce, ie.mode, Fe), Z.return = ie, ie = Z), k(ie)) : c(ie, Z);
      }
      return pr;
    }
    var Zu = zf(!0), Fm = zf(!1), No = Ft(null), Rr = null, He = null, Si = null;
    function Ja() {
      Si = He = Rr = null;
    }
    function ap(n) {
      var i = No.current;
      vn(No), n._currentValue = i;
    }
    function ip(n, i, c) {
      for (; n !== null; ) {
        var v = n.alternate;
        if ((n.childLanes & i) !== i ? (n.childLanes |= i, v !== null && (v.childLanes |= i)) : v !== null && (v.childLanes & i) !== i && (v.childLanes |= i), n === c) break;
        n = n.return;
      }
    }
    function Ju(n, i) {
      Rr = n, Si = He = null, n = n.dependencies, n !== null && n.firstContext !== null && (n.lanes & i && (za = !0), n.firstContext = null);
    }
    function Ci(n) {
      var i = n._currentValue;
      if (Si !== n) if (n = { context: n, memoizedValue: i, next: null }, He === null) {
        if (Rr === null) throw Error(l(308));
        He = n, Rr.dependencies = { lanes: 0, firstContext: n };
      } else He = He.next = n;
      return i;
    }
    var Zl = null;
    function Sr(n) {
      Zl === null ? Zl = [n] : Zl.push(n);
    }
    function $m(n, i, c, v) {
      var g = i.interleaved;
      return g === null ? (c.next = c, Sr(i)) : (c.next = g.next, g.next = c), i.interleaved = c, Mo(n, v);
    }
    function Mo(n, i) {
      n.lanes |= i;
      var c = n.alternate;
      for (c !== null && (c.lanes |= i), c = n, n = n.return; n !== null; ) n.childLanes |= i, c = n.alternate, c !== null && (c.childLanes |= i), c = n, n = n.return;
      return c.tag === 3 ? c.stateNode : null;
    }
    var ml = !1;
    function jf(n) {
      n.updateQueue = { baseState: n.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
    }
    function es(n, i) {
      n = n.updateQueue, i.updateQueue === n && (i.updateQueue = { baseState: n.baseState, firstBaseUpdate: n.firstBaseUpdate, lastBaseUpdate: n.lastBaseUpdate, shared: n.shared, effects: n.effects });
    }
    function Fa(n, i) {
      return { eventTime: n, lane: i, tag: 0, payload: null, callback: null, next: null };
    }
    function gl(n, i, c) {
      var v = n.updateQueue;
      if (v === null) return null;
      if (v = v.shared, Bt & 2) {
        var g = v.pending;
        return g === null ? i.next = i : (i.next = g.next, g.next = i), v.pending = i, Mo(n, c);
      }
      return g = v.interleaved, g === null ? (i.next = i, Sr(v)) : (i.next = g.next, g.next = i), v.interleaved = i, Mo(n, c);
    }
    function Hf(n, i, c) {
      if (i = i.updateQueue, i !== null && (i = i.shared, (c & 4194240) !== 0)) {
        var v = i.lanes;
        v &= n.pendingLanes, c |= v, i.lanes = c, Zi(n, c);
      }
    }
    function zm(n, i) {
      var c = n.updateQueue, v = n.alternate;
      if (v !== null && (v = v.updateQueue, c === v)) {
        var g = null, b = null;
        if (c = c.firstBaseUpdate, c !== null) {
          do {
            var k = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null };
            b === null ? g = b = k : b = b.next = k, c = c.next;
          } while (c !== null);
          b === null ? g = b = i : b = b.next = i;
        } else g = b = i;
        c = { baseState: v.baseState, firstBaseUpdate: g, lastBaseUpdate: b, shared: v.shared, effects: v.effects }, n.updateQueue = c;
        return;
      }
      n = c.lastBaseUpdate, n === null ? c.firstBaseUpdate = i : n.next = i, c.lastBaseUpdate = i;
    }
    function If(n, i, c, v) {
      var g = n.updateQueue;
      ml = !1;
      var b = g.firstBaseUpdate, k = g.lastBaseUpdate, H = g.shared.pending;
      if (H !== null) {
        g.shared.pending = null;
        var G = H, pe = G.next;
        G.next = null, k === null ? b = pe : k.next = pe, k = G;
        var De = n.alternate;
        De !== null && (De = De.updateQueue, H = De.lastBaseUpdate, H !== k && (H === null ? De.firstBaseUpdate = pe : H.next = pe, De.lastBaseUpdate = G));
      }
      if (b !== null) {
        var Le = g.baseState;
        k = 0, De = pe = G = null, H = b;
        do {
          var Me = H.lane, Ge = H.eventTime;
          if ((v & Me) === Me) {
            De !== null && (De = De.next = {
              eventTime: Ge,
              lane: 0,
              tag: H.tag,
              payload: H.payload,
              callback: H.callback,
              next: null
            });
            e: {
              var et = n, at = H;
              switch (Me = i, Ge = c, at.tag) {
                case 1:
                  if (et = at.payload, typeof et == "function") {
                    Le = et.call(Ge, Le, Me);
                    break e;
                  }
                  Le = et;
                  break e;
                case 3:
                  et.flags = et.flags & -65537 | 128;
                case 0:
                  if (et = at.payload, Me = typeof et == "function" ? et.call(Ge, Le, Me) : et, Me == null) break e;
                  Le = te({}, Le, Me);
                  break e;
                case 2:
                  ml = !0;
              }
            }
            H.callback !== null && H.lane !== 0 && (n.flags |= 64, Me = g.effects, Me === null ? g.effects = [H] : Me.push(H));
          } else Ge = { eventTime: Ge, lane: Me, tag: H.tag, payload: H.payload, callback: H.callback, next: null }, De === null ? (pe = De = Ge, G = Le) : De = De.next = Ge, k |= Me;
          if (H = H.next, H === null) {
            if (H = g.shared.pending, H === null) break;
            Me = H, H = Me.next, Me.next = null, g.lastBaseUpdate = Me, g.shared.pending = null;
          }
        } while (!0);
        if (De === null && (G = Le), g.baseState = G, g.firstBaseUpdate = pe, g.lastBaseUpdate = De, i = g.shared.interleaved, i !== null) {
          g = i;
          do
            k |= g.lane, g = g.next;
          while (g !== i);
        } else b === null && (g.shared.lanes = 0);
        uu |= k, n.lanes = k, n.memoizedState = Le;
      }
    }
    function jm(n, i, c) {
      if (n = i.effects, i.effects = null, n !== null) for (i = 0; i < n.length; i++) {
        var v = n[i], g = v.callback;
        if (g !== null) {
          if (v.callback = null, v = c, typeof g != "function") throw Error(l(191, g));
          g.call(v);
        }
      }
    }
    var yc = {}, Ui = Ft(yc), ts = Ft(yc), Sc = Ft(yc);
    function Jl(n) {
      if (n === yc) throw Error(l(174));
      return n;
    }
    function op(n, i) {
      switch (yn(Sc, i), yn(ts, n), yn(Ui, yc), n = i.nodeType, n) {
        case 9:
        case 11:
          i = (i = i.documentElement) ? i.namespaceURI : zn(null, "");
          break;
        default:
          n = n === 8 ? i.parentNode : i, i = n.namespaceURI || null, n = n.tagName, i = zn(i, n);
      }
      vn(Ui), yn(Ui, i);
    }
    function ns() {
      vn(Ui), vn(ts), vn(Sc);
    }
    function Hm(n) {
      Jl(Sc.current);
      var i = Jl(Ui.current), c = zn(i, n.type);
      i !== c && (yn(ts, n), yn(Ui, c));
    }
    function lp(n) {
      ts.current === n && (vn(Ui), vn(ts));
    }
    var qn = Ft(0);
    function Uf(n) {
      for (var i = n; i !== null; ) {
        if (i.tag === 13) {
          var c = i.memoizedState;
          if (c !== null && (c = c.dehydrated, c === null || c.data === "$?" || c.data === "$!")) return i;
        } else if (i.tag === 19 && i.memoizedProps.revealOrder !== void 0) {
          if (i.flags & 128) return i;
        } else if (i.child !== null) {
          i.child.return = i, i = i.child;
          continue;
        }
        if (i === n) break;
        for (; i.sibling === null; ) {
          if (i.return === null || i.return === n) return null;
          i = i.return;
        }
        i.sibling.return = i.return, i = i.sibling;
      }
      return null;
    }
    var Vf = [];
    function up() {
      for (var n = 0; n < Vf.length; n++) Vf[n]._workInProgressVersionPrimary = null;
      Vf.length = 0;
    }
    var Bf = W.ReactCurrentDispatcher, Cc = W.ReactCurrentBatchConfig, it = 0, st = null, Rt = null, It = null, ei = !1, rs = !1, bc = 0, oS = 0;
    function na() {
      throw Error(l(321));
    }
    function Ec(n, i) {
      if (i === null) return !1;
      for (var c = 0; c < i.length && c < n.length; c++) if (!vi(n[c], i[c])) return !1;
      return !0;
    }
    function ke(n, i, c, v, g, b) {
      if (it = b, st = i, i.memoizedState = null, i.updateQueue = null, i.lanes = 0, Bf.current = n === null || n.memoizedState === null ? lS : Pn, n = c(v, g), rs) {
        b = 0;
        do {
          if (rs = !1, bc = 0, 25 <= b) throw Error(l(301));
          b += 1, It = Rt = null, i.updateQueue = null, Bf.current = id, n = c(v, g);
        } while (rs);
      }
      if (Bf.current = ra, i = Rt !== null && Rt.next !== null, it = 0, It = Rt = st = null, ei = !1, i) throw Error(l(300));
      return n;
    }
    function Cr() {
      var n = bc !== 0;
      return bc = 0, n;
    }
    function dt() {
      var n = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
      return It === null ? st.memoizedState = It = n : It = It.next = n, It;
    }
    function Ir() {
      if (Rt === null) {
        var n = st.alternate;
        n = n !== null ? n.memoizedState : null;
      } else n = Rt.next;
      var i = It === null ? st.memoizedState : It.next;
      if (i !== null) It = i, Rt = n;
      else {
        if (n === null) throw Error(l(310));
        Rt = n, n = { memoizedState: Rt.memoizedState, baseState: Rt.baseState, baseQueue: Rt.baseQueue, queue: Rt.queue, next: null }, It === null ? st.memoizedState = It = n : It = It.next = n;
      }
      return It;
    }
    function ti(n, i) {
      return typeof i == "function" ? i(n) : i;
    }
    function Do(n) {
      var i = Ir(), c = i.queue;
      if (c === null) throw Error(l(311));
      c.lastRenderedReducer = n;
      var v = Rt, g = v.baseQueue, b = c.pending;
      if (b !== null) {
        if (g !== null) {
          var k = g.next;
          g.next = b.next, b.next = k;
        }
        v.baseQueue = g = b, c.pending = null;
      }
      if (g !== null) {
        b = g.next, v = v.baseState;
        var H = k = null, G = null, pe = b;
        do {
          var De = pe.lane;
          if ((it & De) === De) G !== null && (G = G.next = { lane: 0, action: pe.action, hasEagerState: pe.hasEagerState, eagerState: pe.eagerState, next: null }), v = pe.hasEagerState ? pe.eagerState : n(v, pe.action);
          else {
            var Le = {
              lane: De,
              action: pe.action,
              hasEagerState: pe.hasEagerState,
              eagerState: pe.eagerState,
              next: null
            };
            G === null ? (H = G = Le, k = v) : G = G.next = Le, st.lanes |= De, uu |= De;
          }
          pe = pe.next;
        } while (pe !== null && pe !== b);
        G === null ? k = v : G.next = H, vi(v, i.memoizedState) || (za = !0), i.memoizedState = v, i.baseState = k, i.baseQueue = G, c.lastRenderedState = v;
      }
      if (n = c.interleaved, n !== null) {
        g = n;
        do
          b = g.lane, st.lanes |= b, uu |= b, g = g.next;
        while (g !== n);
      } else g === null && (c.lanes = 0);
      return [i.memoizedState, c.dispatch];
    }
    function bi(n) {
      var i = Ir(), c = i.queue;
      if (c === null) throw Error(l(311));
      c.lastRenderedReducer = n;
      var v = c.dispatch, g = c.pending, b = i.memoizedState;
      if (g !== null) {
        c.pending = null;
        var k = g = g.next;
        do
          b = n(b, k.action), k = k.next;
        while (k !== g);
        vi(b, i.memoizedState) || (za = !0), i.memoizedState = b, i.baseQueue === null && (i.baseState = b), c.lastRenderedState = b;
      }
      return [b, v];
    }
    function as() {
    }
    function eu(n, i) {
      var c = st, v = Ir(), g = i(), b = !vi(v.memoizedState, g);
      if (b && (v.memoizedState = g, za = !0), v = v.queue, xc(Yf.bind(null, c, v, n), [n]), v.getSnapshot !== i || b || It !== null && It.memoizedState.tag & 1) {
        if (c.flags |= 2048, tu(9, Wf.bind(null, c, v, g, i), void 0, null), or === null) throw Error(l(349));
        it & 30 || is(c, i, g);
      }
      return g;
    }
    function is(n, i, c) {
      n.flags |= 16384, n = { getSnapshot: i, value: c }, i = st.updateQueue, i === null ? (i = { lastEffect: null, stores: null }, st.updateQueue = i, i.stores = [n]) : (c = i.stores, c === null ? i.stores = [n] : c.push(n));
    }
    function Wf(n, i, c, v) {
      i.value = c, i.getSnapshot = v, qf(i) && Gf(n);
    }
    function Yf(n, i, c) {
      return c(function() {
        qf(i) && Gf(n);
      });
    }
    function qf(n) {
      var i = n.getSnapshot;
      n = n.value;
      try {
        var c = i();
        return !vi(n, c);
      } catch {
        return !0;
      }
    }
    function Gf(n) {
      var i = Mo(n, 1);
      i !== null && Zn(i, n, 1, -1);
    }
    function Qf(n) {
      var i = dt();
      return typeof n == "function" && (n = n()), i.memoizedState = i.baseState = n, n = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: ti, lastRenderedState: n }, i.queue = n, n = n.dispatch = Rc.bind(null, st, n), [i.memoizedState, n];
    }
    function tu(n, i, c, v) {
      return n = { tag: n, create: i, destroy: c, deps: v, next: null }, i = st.updateQueue, i === null ? (i = { lastEffect: null, stores: null }, st.updateQueue = i, i.lastEffect = n.next = n) : (c = i.lastEffect, c === null ? i.lastEffect = n.next = n : (v = c.next, c.next = n, n.next = v, i.lastEffect = n)), n;
    }
    function Kf() {
      return Ir().memoizedState;
    }
    function os(n, i, c, v) {
      var g = dt();
      st.flags |= n, g.memoizedState = tu(1 | i, c, void 0, v === void 0 ? null : v);
    }
    function ls(n, i, c, v) {
      var g = Ir();
      v = v === void 0 ? null : v;
      var b = void 0;
      if (Rt !== null) {
        var k = Rt.memoizedState;
        if (b = k.destroy, v !== null && Ec(v, k.deps)) {
          g.memoizedState = tu(i, c, b, v);
          return;
        }
      }
      st.flags |= n, g.memoizedState = tu(1 | i, c, b, v);
    }
    function Xf(n, i) {
      return os(8390656, 8, n, i);
    }
    function xc(n, i) {
      return ls(2048, 8, n, i);
    }
    function Zf(n, i) {
      return ls(4, 2, n, i);
    }
    function Jf(n, i) {
      return ls(4, 4, n, i);
    }
    function ed(n, i) {
      if (typeof i == "function") return n = n(), i(n), function() {
        i(null);
      };
      if (i != null) return n = n(), i.current = n, function() {
        i.current = null;
      };
    }
    function td(n, i, c) {
      return c = c != null ? c.concat([n]) : null, ls(4, 4, ed.bind(null, i, n), c);
    }
    function us() {
    }
    function nu(n, i) {
      var c = Ir();
      i = i === void 0 ? null : i;
      var v = c.memoizedState;
      return v !== null && i !== null && Ec(i, v[1]) ? v[0] : (c.memoizedState = [n, i], n);
    }
    function nd(n, i) {
      var c = Ir();
      i = i === void 0 ? null : i;
      var v = c.memoizedState;
      return v !== null && i !== null && Ec(i, v[1]) ? v[0] : (n = n(), c.memoizedState = [n, i], n);
    }
    function rd(n, i, c) {
      return it & 21 ? (vi(c, i) || (c = Pu(), st.lanes |= c, uu |= c, n.baseState = !0), i) : (n.baseState && (n.baseState = !1, za = !0), n.memoizedState = c);
    }
    function sp(n, i) {
      var c = cn;
      cn = c !== 0 && 4 > c ? c : 4, n(!0);
      var v = Cc.transition;
      Cc.transition = {};
      try {
        n(!1), i();
      } finally {
        cn = c, Cc.transition = v;
      }
    }
    function ad() {
      return Ir().memoizedState;
    }
    function Im(n, i, c) {
      var v = Po(n);
      if (c = { lane: v, action: c, hasEagerState: !1, eagerState: null, next: null }, cp(n)) ss(i, c);
      else if (c = $m(n, i, c, v), c !== null) {
        var g = Fr();
        Zn(c, n, v, g), yl(c, i, v);
      }
    }
    function Rc(n, i, c) {
      var v = Po(n), g = { lane: v, action: c, hasEagerState: !1, eagerState: null, next: null };
      if (cp(n)) ss(i, g);
      else {
        var b = n.alternate;
        if (n.lanes === 0 && (b === null || b.lanes === 0) && (b = i.lastRenderedReducer, b !== null)) try {
          var k = i.lastRenderedState, H = b(k, c);
          if (g.hasEagerState = !0, g.eagerState = H, vi(H, k)) {
            var G = i.interleaved;
            G === null ? (g.next = g, Sr(i)) : (g.next = G.next, G.next = g), i.interleaved = g;
            return;
          }
        } catch {
        } finally {
        }
        c = $m(n, i, g, v), c !== null && (g = Fr(), Zn(c, n, v, g), yl(c, i, v));
      }
    }
    function cp(n) {
      var i = n.alternate;
      return n === st || i !== null && i === st;
    }
    function ss(n, i) {
      rs = ei = !0;
      var c = n.pending;
      c === null ? i.next = i : (i.next = c.next, c.next = i), n.pending = i;
    }
    function yl(n, i, c) {
      if (c & 4194240) {
        var v = i.lanes;
        v &= n.pendingLanes, c |= v, i.lanes = c, Zi(n, c);
      }
    }
    var ra = { readContext: Ci, useCallback: na, useContext: na, useEffect: na, useImperativeHandle: na, useInsertionEffect: na, useLayoutEffect: na, useMemo: na, useReducer: na, useRef: na, useState: na, useDebugValue: na, useDeferredValue: na, useTransition: na, useMutableSource: na, useSyncExternalStore: na, useId: na, unstable_isNewReconciler: !1 }, lS = { readContext: Ci, useCallback: function(n, i) {
      return dt().memoizedState = [n, i === void 0 ? null : i], n;
    }, useContext: Ci, useEffect: Xf, useImperativeHandle: function(n, i, c) {
      return c = c != null ? c.concat([n]) : null, os(
        4194308,
        4,
        ed.bind(null, i, n),
        c
      );
    }, useLayoutEffect: function(n, i) {
      return os(4194308, 4, n, i);
    }, useInsertionEffect: function(n, i) {
      return os(4, 2, n, i);
    }, useMemo: function(n, i) {
      var c = dt();
      return i = i === void 0 ? null : i, n = n(), c.memoizedState = [n, i], n;
    }, useReducer: function(n, i, c) {
      var v = dt();
      return i = c !== void 0 ? c(i) : i, v.memoizedState = v.baseState = i, n = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: n, lastRenderedState: i }, v.queue = n, n = n.dispatch = Im.bind(null, st, n), [v.memoizedState, n];
    }, useRef: function(n) {
      var i = dt();
      return n = { current: n }, i.memoizedState = n;
    }, useState: Qf, useDebugValue: us, useDeferredValue: function(n) {
      return dt().memoizedState = n;
    }, useTransition: function() {
      var n = Qf(!1), i = n[0];
      return n = sp.bind(null, n[1]), dt().memoizedState = n, [i, n];
    }, useMutableSource: function() {
    }, useSyncExternalStore: function(n, i, c) {
      var v = st, g = dt();
      if (Un) {
        if (c === void 0) throw Error(l(407));
        c = c();
      } else {
        if (c = i(), or === null) throw Error(l(349));
        it & 30 || is(v, i, c);
      }
      g.memoizedState = c;
      var b = { value: c, getSnapshot: i };
      return g.queue = b, Xf(Yf.bind(
        null,
        v,
        b,
        n
      ), [n]), v.flags |= 2048, tu(9, Wf.bind(null, v, b, c, i), void 0, null), c;
    }, useId: function() {
      var n = dt(), i = or.identifierPrefix;
      if (Un) {
        var c = ko, v = Hr;
        c = (v & ~(1 << 32 - sa(v) - 1)).toString(32) + c, i = ":" + i + "R" + c, c = bc++, 0 < c && (i += "H" + c.toString(32)), i += ":";
      } else c = oS++, i = ":" + i + "r" + c.toString(32) + ":";
      return n.memoizedState = i;
    }, unstable_isNewReconciler: !1 }, Pn = {
      readContext: Ci,
      useCallback: nu,
      useContext: Ci,
      useEffect: xc,
      useImperativeHandle: td,
      useInsertionEffect: Zf,
      useLayoutEffect: Jf,
      useMemo: nd,
      useReducer: Do,
      useRef: Kf,
      useState: function() {
        return Do(ti);
      },
      useDebugValue: us,
      useDeferredValue: function(n) {
        var i = Ir();
        return rd(i, Rt.memoizedState, n);
      },
      useTransition: function() {
        var n = Do(ti)[0], i = Ir().memoizedState;
        return [n, i];
      },
      useMutableSource: as,
      useSyncExternalStore: eu,
      useId: ad,
      unstable_isNewReconciler: !1
    }, id = { readContext: Ci, useCallback: nu, useContext: Ci, useEffect: xc, useImperativeHandle: td, useInsertionEffect: Zf, useLayoutEffect: Jf, useMemo: nd, useReducer: bi, useRef: Kf, useState: function() {
      return bi(ti);
    }, useDebugValue: us, useDeferredValue: function(n) {
      var i = Ir();
      return Rt === null ? i.memoizedState = n : rd(i, Rt.memoizedState, n);
    }, useTransition: function() {
      var n = bi(ti)[0], i = Ir().memoizedState;
      return [n, i];
    }, useMutableSource: as, useSyncExternalStore: eu, useId: ad, unstable_isNewReconciler: !1 };
    function $a(n, i) {
      if (n && n.defaultProps) {
        i = te({}, i), n = n.defaultProps;
        for (var c in n) i[c] === void 0 && (i[c] = n[c]);
        return i;
      }
      return i;
    }
    function ru(n, i, c, v) {
      i = n.memoizedState, c = c(v, i), c = c == null ? i : te({}, i, c), n.memoizedState = c, n.lanes === 0 && (n.updateQueue.baseState = c);
    }
    var au = { isMounted: function(n) {
      return (n = n._reactInternals) ? Nt(n) === n : !1;
    }, enqueueSetState: function(n, i, c) {
      n = n._reactInternals;
      var v = Fr(), g = Po(n), b = Fa(v, g);
      b.payload = i, c != null && (b.callback = c), i = gl(n, b, g), i !== null && (Zn(i, n, g, v), Hf(i, n, g));
    }, enqueueReplaceState: function(n, i, c) {
      n = n._reactInternals;
      var v = Fr(), g = Po(n), b = Fa(v, g);
      b.tag = 1, b.payload = i, c != null && (b.callback = c), i = gl(n, b, g), i !== null && (Zn(i, n, g, v), Hf(i, n, g));
    }, enqueueForceUpdate: function(n, i) {
      n = n._reactInternals;
      var c = Fr(), v = Po(n), g = Fa(c, v);
      g.tag = 2, i != null && (g.callback = i), i = gl(n, g, v), i !== null && (Zn(i, n, v, c), Hf(i, n, v));
    } };
    function Um(n, i, c, v, g, b, k) {
      return n = n.stateNode, typeof n.shouldComponentUpdate == "function" ? n.shouldComponentUpdate(v, b, k) : i.prototype && i.prototype.isPureReactComponent ? !oc(c, v) || !oc(g, b) : !0;
    }
    function Vm(n, i, c) {
      var v = !1, g = to, b = i.contextType;
      return typeof b == "object" && b !== null ? b = Ci(b) : (g = Yn(i) ? Ma : xt.current, v = i.contextTypes, b = (v = v != null) ? hi(n, g) : to), i = new i(c, b), n.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null, i.updater = au, n.stateNode = i, i._reactInternals = n, v && (n = n.stateNode, n.__reactInternalMemoizedUnmaskedChildContext = g, n.__reactInternalMemoizedMaskedChildContext = b), i;
    }
    function Bm(n, i, c, v) {
      n = i.state, typeof i.componentWillReceiveProps == "function" && i.componentWillReceiveProps(c, v), typeof i.UNSAFE_componentWillReceiveProps == "function" && i.UNSAFE_componentWillReceiveProps(c, v), i.state !== n && au.enqueueReplaceState(i, i.state, null);
    }
    function fp(n, i, c, v) {
      var g = n.stateNode;
      g.props = c, g.state = n.memoizedState, g.refs = {}, jf(n);
      var b = i.contextType;
      typeof b == "object" && b !== null ? g.context = Ci(b) : (b = Yn(i) ? Ma : xt.current, g.context = hi(n, b)), g.state = n.memoizedState, b = i.getDerivedStateFromProps, typeof b == "function" && (ru(n, i, b, c), g.state = n.memoizedState), typeof i.getDerivedStateFromProps == "function" || typeof g.getSnapshotBeforeUpdate == "function" || typeof g.UNSAFE_componentWillMount != "function" && typeof g.componentWillMount != "function" || (i = g.state, typeof g.componentWillMount == "function" && g.componentWillMount(), typeof g.UNSAFE_componentWillMount == "function" && g.UNSAFE_componentWillMount(), i !== g.state && au.enqueueReplaceState(g, g.state, null), If(n, c, g, v), g.state = n.memoizedState), typeof g.componentDidMount == "function" && (n.flags |= 4194308);
    }
    function Sl(n, i) {
      try {
        var c = "", v = i;
        do
          c += Ue(v), v = v.return;
        while (v);
        var g = c;
      } catch (b) {
        g = `
Error generating stack: ` + b.message + `
` + b.stack;
      }
      return { value: n, source: i, stack: g, digest: null };
    }
    function dp(n, i, c) {
      return { value: n, source: null, stack: c ?? null, digest: i ?? null };
    }
    function wc(n, i) {
      try {
        console.error(i.value);
      } catch (c) {
        setTimeout(function() {
          throw c;
        });
      }
    }
    var Wm = typeof WeakMap == "function" ? WeakMap : Map;
    function Ym(n, i, c) {
      c = Fa(-1, c), c.tag = 3, c.payload = { element: null };
      var v = i.value;
      return c.callback = function() {
        gd || (gd = !0, bp = v), wc(n, i);
      }, c;
    }
    function qm(n, i, c) {
      c = Fa(-1, c), c.tag = 3;
      var v = n.type.getDerivedStateFromError;
      if (typeof v == "function") {
        var g = i.value;
        c.payload = function() {
          return v(g);
        }, c.callback = function() {
          wc(n, i);
        };
      }
      var b = n.stateNode;
      return b !== null && typeof b.componentDidCatch == "function" && (c.callback = function() {
        wc(n, i), typeof v != "function" && (Ri === null ? Ri = /* @__PURE__ */ new Set([this]) : Ri.add(this));
        var k = i.stack;
        this.componentDidCatch(i.value, { componentStack: k !== null ? k : "" });
      }), c;
    }
    function Tc(n, i, c) {
      var v = n.pingCache;
      if (v === null) {
        v = n.pingCache = new Wm();
        var g = /* @__PURE__ */ new Set();
        v.set(i, g);
      } else g = v.get(i), g === void 0 && (g = /* @__PURE__ */ new Set(), v.set(i, g));
      g.has(c) || (g.add(c), n = gS.bind(null, n, i, c), i.then(n, n));
    }
    function Gm(n) {
      do {
        var i;
        if ((i = n.tag === 13) && (i = n.memoizedState, i = i !== null ? i.dehydrated !== null : !0), i) return n;
        n = n.return;
      } while (n !== null);
      return null;
    }
    function vp(n, i, c, v, g) {
      return n.mode & 1 ? (n.flags |= 65536, n.lanes = g, n) : (n === i ? n.flags |= 65536 : (n.flags |= 128, c.flags |= 131072, c.flags &= -52805, c.tag === 1 && (c.alternate === null ? c.tag = 17 : (i = Fa(-1, 1), i.tag = 2, gl(c, i, 1))), c.lanes |= 1), n);
    }
    var Qm = W.ReactCurrentOwner, za = !1;
    function dr(n, i, c, v) {
      i.child = n === null ? Fm(i, null, c, v) : Zu(i, n.child, c, v);
    }
    function cs(n, i, c, v, g) {
      c = c.render;
      var b = i.ref;
      return Ju(i, g), v = ke(n, i, c, v, b, g), c = Cr(), n !== null && !za ? (i.updateQueue = n.updateQueue, i.flags &= -2053, n.lanes &= ~g, vr(n, i, g)) : (Un && c && Lf(i), i.flags |= 1, dr(n, i, v, g), i.child);
    }
    function Cl(n, i, c, v, g) {
      if (n === null) {
        var b = c.type;
        return typeof b == "function" && !Tp(b) && b.defaultProps === void 0 && c.compare === null && c.defaultProps === void 0 ? (i.tag = 15, i.type = b, od(n, i, b, v, g)) : (n = xd(c.type, null, v, i, i.mode, g), n.ref = i.ref, n.return = i, i.child = n);
      }
      if (b = n.child, !(n.lanes & g)) {
        var k = b.memoizedProps;
        if (c = c.compare, c = c !== null ? c : oc, c(k, v) && n.ref === i.ref) return vr(n, i, g);
      }
      return i.flags |= 1, n = xl(b, v), n.ref = i.ref, n.return = i, i.child = n;
    }
    function od(n, i, c, v, g) {
      if (n !== null) {
        var b = n.memoizedProps;
        if (oc(b, v) && n.ref === i.ref) if (za = !1, i.pendingProps = v = b, (n.lanes & g) !== 0) n.flags & 131072 && (za = !0);
        else return i.lanes = n.lanes, vr(n, i, g);
      }
      return At(n, i, c, v, g);
    }
    function ja(n, i, c) {
      var v = i.pendingProps, g = v.children, b = n !== null ? n.memoizedState : null;
      if (v.mode === "hidden") if (!(i.mode & 1)) i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, yn(Cs, Ha), Ha |= c;
      else {
        if (!(c & 1073741824)) return n = b !== null ? b.baseLanes | c : c, i.lanes = i.childLanes = 1073741824, i.memoizedState = { baseLanes: n, cachePool: null, transitions: null }, i.updateQueue = null, yn(Cs, Ha), Ha |= n, null;
        i.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, v = b !== null ? b.baseLanes : c, yn(Cs, Ha), Ha |= v;
      }
      else b !== null ? (v = b.baseLanes | c, i.memoizedState = null) : v = c, yn(Cs, Ha), Ha |= v;
      return dr(n, i, g, c), i.child;
    }
    function iu(n, i) {
      var c = i.ref;
      (n === null && c !== null || n !== null && n.ref !== c) && (i.flags |= 512, i.flags |= 2097152);
    }
    function At(n, i, c, v, g) {
      var b = Yn(c) ? Ma : xt.current;
      return b = hi(i, b), Ju(i, g), c = ke(n, i, c, v, b, g), v = Cr(), n !== null && !za ? (i.updateQueue = n.updateQueue, i.flags &= -2053, n.lanes &= ~g, vr(n, i, g)) : (Un && v && Lf(i), i.flags |= 1, dr(n, i, c, g), i.child);
    }
    function Oc(n, i, c, v, g) {
      if (Yn(c)) {
        var b = !0;
        Df(i);
      } else b = !1;
      if (Ju(i, g), i.stateNode === null) kc(n, i), Vm(i, c, v), fp(i, c, v, g), v = !0;
      else if (n === null) {
        var k = i.stateNode, H = i.memoizedProps;
        k.props = H;
        var G = k.context, pe = c.contextType;
        typeof pe == "object" && pe !== null ? pe = Ci(pe) : (pe = Yn(c) ? Ma : xt.current, pe = hi(i, pe));
        var De = c.getDerivedStateFromProps, Le = typeof De == "function" || typeof k.getSnapshotBeforeUpdate == "function";
        Le || typeof k.UNSAFE_componentWillReceiveProps != "function" && typeof k.componentWillReceiveProps != "function" || (H !== v || G !== pe) && Bm(i, k, v, pe), ml = !1;
        var Me = i.memoizedState;
        k.state = Me, If(i, v, k, g), G = i.memoizedState, H !== v || Me !== G || ar.current || ml ? (typeof De == "function" && (ru(i, c, De, v), G = i.memoizedState), (H = ml || Um(i, c, H, v, Me, G, pe)) ? (Le || typeof k.UNSAFE_componentWillMount != "function" && typeof k.componentWillMount != "function" || (typeof k.componentWillMount == "function" && k.componentWillMount(), typeof k.UNSAFE_componentWillMount == "function" && k.UNSAFE_componentWillMount()), typeof k.componentDidMount == "function" && (i.flags |= 4194308)) : (typeof k.componentDidMount == "function" && (i.flags |= 4194308), i.memoizedProps = v, i.memoizedState = G), k.props = v, k.state = G, k.context = pe, v = H) : (typeof k.componentDidMount == "function" && (i.flags |= 4194308), v = !1);
      } else {
        k = i.stateNode, es(n, i), H = i.memoizedProps, pe = i.type === i.elementType ? H : $a(i.type, H), k.props = pe, Le = i.pendingProps, Me = k.context, G = c.contextType, typeof G == "object" && G !== null ? G = Ci(G) : (G = Yn(c) ? Ma : xt.current, G = hi(i, G));
        var Ge = c.getDerivedStateFromProps;
        (De = typeof Ge == "function" || typeof k.getSnapshotBeforeUpdate == "function") || typeof k.UNSAFE_componentWillReceiveProps != "function" && typeof k.componentWillReceiveProps != "function" || (H !== Le || Me !== G) && Bm(i, k, v, G), ml = !1, Me = i.memoizedState, k.state = Me, If(i, v, k, g);
        var et = i.memoizedState;
        H !== Le || Me !== et || ar.current || ml ? (typeof Ge == "function" && (ru(i, c, Ge, v), et = i.memoizedState), (pe = ml || Um(i, c, pe, v, Me, et, G) || !1) ? (De || typeof k.UNSAFE_componentWillUpdate != "function" && typeof k.componentWillUpdate != "function" || (typeof k.componentWillUpdate == "function" && k.componentWillUpdate(v, et, G), typeof k.UNSAFE_componentWillUpdate == "function" && k.UNSAFE_componentWillUpdate(v, et, G)), typeof k.componentDidUpdate == "function" && (i.flags |= 4), typeof k.getSnapshotBeforeUpdate == "function" && (i.flags |= 1024)) : (typeof k.componentDidUpdate != "function" || H === n.memoizedProps && Me === n.memoizedState || (i.flags |= 4), typeof k.getSnapshotBeforeUpdate != "function" || H === n.memoizedProps && Me === n.memoizedState || (i.flags |= 1024), i.memoizedProps = v, i.memoizedState = et), k.props = v, k.state = et, k.context = G, v = pe) : (typeof k.componentDidUpdate != "function" || H === n.memoizedProps && Me === n.memoizedState || (i.flags |= 4), typeof k.getSnapshotBeforeUpdate != "function" || H === n.memoizedProps && Me === n.memoizedState || (i.flags |= 1024), v = !1);
      }
      return ld(n, i, c, v, b, g);
    }
    function ld(n, i, c, v, g, b) {
      iu(n, i);
      var k = (i.flags & 128) !== 0;
      if (!v && !k) return g && Mm(i, c, !1), vr(n, i, b);
      v = i.stateNode, Qm.current = i;
      var H = k && typeof c.getDerivedStateFromError != "function" ? null : v.render();
      return i.flags |= 1, n !== null && k ? (i.child = Zu(i, n.child, null, b), i.child = Zu(i, null, H, b)) : dr(n, i, H, b), i.memoizedState = v.state, g && Mm(i, c, !0), i.child;
    }
    function uS(n) {
      var i = n.stateNode;
      i.pendingContext ? pl(n, i.pendingContext, i.pendingContext !== i.context) : i.context && pl(n, i.context, !1), op(n, i.containerInfo);
    }
    function Km(n, i, c, v, g) {
      return Xn(), rp(g), i.flags |= 256, dr(n, i, c, v), i.child;
    }
    var _c = { dehydrated: null, treeContext: null, retryLane: 0 };
    function ou(n) {
      return { baseLanes: n, cachePool: null, transitions: null };
    }
    function Xm(n, i, c) {
      var v = i.pendingProps, g = qn.current, b = !1, k = (i.flags & 128) !== 0, H;
      if ((H = k) || (H = n !== null && n.memoizedState === null ? !1 : (g & 2) !== 0), H ? (b = !0, i.flags &= -129) : (n === null || n.memoizedState !== null) && (g |= 1), yn(qn, g & 1), n === null)
        return Pf(i), n = i.memoizedState, n !== null && (n = n.dehydrated, n !== null) ? (i.mode & 1 ? n.data === "$!" ? i.lanes = 8 : i.lanes = 1073741824 : i.lanes = 1, null) : (k = v.children, n = v.fallback, b ? (v = i.mode, b = i.child, k = { mode: "hidden", children: k }, !(v & 1) && b !== null ? (b.childLanes = 0, b.pendingProps = k) : b = Rd(k, v, 0, null), n = du(n, v, c, null), b.return = i, n.return = i, b.sibling = n, i.child = b, i.child.memoizedState = ou(c), i.memoizedState = _c, n) : ud(i, k));
      if (g = n.memoizedState, g !== null && (H = g.dehydrated, H !== null)) return pp(n, i, k, v, H, g, c);
      if (b) {
        b = v.fallback, k = i.mode, g = n.child, H = g.sibling;
        var G = { mode: "hidden", children: v.children };
        return !(k & 1) && i.child !== g ? (v = i.child, v.childLanes = 0, v.pendingProps = G, i.deletions = null) : (v = xl(g, G), v.subtreeFlags = g.subtreeFlags & 14680064), H !== null ? b = xl(H, b) : (b = du(b, k, c, null), b.flags |= 2), b.return = i, v.return = i, v.sibling = b, i.child = v, v = b, b = i.child, k = n.child.memoizedState, k = k === null ? ou(c) : { baseLanes: k.baseLanes | c, cachePool: null, transitions: k.transitions }, b.memoizedState = k, b.childLanes = n.childLanes & ~c, i.memoizedState = _c, v;
      }
      return b = n.child, n = b.sibling, v = xl(b, { mode: "visible", children: v.children }), !(i.mode & 1) && (v.lanes = c), v.return = i, v.sibling = null, n !== null && (c = i.deletions, c === null ? (i.deletions = [n], i.flags |= 16) : c.push(n)), i.child = v, i.memoizedState = null, v;
    }
    function ud(n, i) {
      return i = Rd({ mode: "visible", children: i }, n.mode, 0, null), i.return = n, n.child = i;
    }
    function sd(n, i, c, v) {
      return v !== null && rp(v), Zu(i, n.child, null, c), n = ud(i, i.pendingProps.children), n.flags |= 2, i.memoizedState = null, n;
    }
    function pp(n, i, c, v, g, b, k) {
      if (c)
        return i.flags & 256 ? (i.flags &= -257, v = dp(Error(l(422))), sd(n, i, k, v)) : i.memoizedState !== null ? (i.child = n.child, i.flags |= 128, null) : (b = v.fallback, g = i.mode, v = Rd({ mode: "visible", children: v.children }, g, 0, null), b = du(b, g, k, null), b.flags |= 2, v.return = i, b.return = i, v.sibling = b, i.child = v, i.mode & 1 && Zu(i, n.child, null, k), i.child.memoizedState = ou(k), i.memoizedState = _c, b);
      if (!(i.mode & 1)) return sd(n, i, k, null);
      if (g.data === "$!") {
        if (v = g.nextSibling && g.nextSibling.dataset, v) var H = v.dgst;
        return v = H, b = Error(l(419)), v = dp(b, v, void 0), sd(n, i, k, v);
      }
      if (H = (k & n.childLanes) !== 0, za || H) {
        if (v = or, v !== null) {
          switch (k & -k) {
            case 4:
              g = 2;
              break;
            case 16:
              g = 8;
              break;
            case 64:
            case 128:
            case 256:
            case 512:
            case 1024:
            case 2048:
            case 4096:
            case 8192:
            case 16384:
            case 32768:
            case 65536:
            case 131072:
            case 262144:
            case 524288:
            case 1048576:
            case 2097152:
            case 4194304:
            case 8388608:
            case 16777216:
            case 33554432:
            case 67108864:
              g = 32;
              break;
            case 536870912:
              g = 268435456;
              break;
            default:
              g = 0;
          }
          g = g & (v.suspendedLanes | k) ? 0 : g, g !== 0 && g !== b.retryLane && (b.retryLane = g, Mo(n, g), Zn(v, n, g, -1));
        }
        return Ac(), v = dp(Error(l(421))), sd(n, i, k, v);
      }
      return g.data === "$?" ? (i.flags |= 128, i.child = n.child, i = wp.bind(null, n), g._reactRetry = i, null) : (n = b.treeContext, Pa = Ii(g.nextSibling), Za = i, Un = !0, yi = null, n !== null && (Aa[ta++] = Hr, Aa[ta++] = ko, Aa[ta++] = gi, Hr = n.id, ko = n.overflow, gi = i), i = ud(i, v.children), i.flags |= 4096, i);
    }
    function Zm(n, i, c) {
      n.lanes |= i;
      var v = n.alternate;
      v !== null && (v.lanes |= i), ip(n.return, i, c);
    }
    function cd(n, i, c, v, g) {
      var b = n.memoizedState;
      b === null ? n.memoizedState = { isBackwards: i, rendering: null, renderingStartTime: 0, last: v, tail: c, tailMode: g } : (b.isBackwards = i, b.rendering = null, b.renderingStartTime = 0, b.last = v, b.tail = c, b.tailMode = g);
    }
    function hp(n, i, c) {
      var v = i.pendingProps, g = v.revealOrder, b = v.tail;
      if (dr(n, i, v.children, c), v = qn.current, v & 2) v = v & 1 | 2, i.flags |= 128;
      else {
        if (n !== null && n.flags & 128) e: for (n = i.child; n !== null; ) {
          if (n.tag === 13) n.memoizedState !== null && Zm(n, c, i);
          else if (n.tag === 19) Zm(n, c, i);
          else if (n.child !== null) {
            n.child.return = n, n = n.child;
            continue;
          }
          if (n === i) break e;
          for (; n.sibling === null; ) {
            if (n.return === null || n.return === i) break e;
            n = n.return;
          }
          n.sibling.return = n.return, n = n.sibling;
        }
        v &= 1;
      }
      if (yn(qn, v), !(i.mode & 1)) i.memoizedState = null;
      else switch (g) {
        case "forwards":
          for (c = i.child, g = null; c !== null; ) n = c.alternate, n !== null && Uf(n) === null && (g = c), c = c.sibling;
          c = g, c === null ? (g = i.child, i.child = null) : (g = c.sibling, c.sibling = null), cd(i, !1, g, c, b);
          break;
        case "backwards":
          for (c = null, g = i.child, i.child = null; g !== null; ) {
            if (n = g.alternate, n !== null && Uf(n) === null) {
              i.child = g;
              break;
            }
            n = g.sibling, g.sibling = c, c = g, g = n;
          }
          cd(i, !0, c, null, b);
          break;
        case "together":
          cd(i, !1, null, null, void 0);
          break;
        default:
          i.memoizedState = null;
      }
      return i.child;
    }
    function kc(n, i) {
      !(i.mode & 1) && n !== null && (n.alternate = null, i.alternate = null, i.flags |= 2);
    }
    function vr(n, i, c) {
      if (n !== null && (i.dependencies = n.dependencies), uu |= i.lanes, !(c & i.childLanes)) return null;
      if (n !== null && i.child !== n.child) throw Error(l(153));
      if (i.child !== null) {
        for (n = i.child, c = xl(n, n.pendingProps), i.child = c, c.return = i; n.sibling !== null; ) n = n.sibling, c = c.sibling = xl(n, n.pendingProps), c.return = i;
        c.sibling = null;
      }
      return i.child;
    }
    function Lo(n, i, c) {
      switch (i.tag) {
        case 3:
          uS(i), Xn();
          break;
        case 5:
          Hm(i);
          break;
        case 1:
          Yn(i.type) && Df(i);
          break;
        case 4:
          op(i, i.stateNode.containerInfo);
          break;
        case 10:
          var v = i.type._context, g = i.memoizedProps.value;
          yn(No, v._currentValue), v._currentValue = g;
          break;
        case 13:
          if (v = i.memoizedState, v !== null)
            return v.dehydrated !== null ? (yn(qn, qn.current & 1), i.flags |= 128, null) : c & i.child.childLanes ? Xm(n, i, c) : (yn(qn, qn.current & 1), n = vr(n, i, c), n !== null ? n.sibling : null);
          yn(qn, qn.current & 1);
          break;
        case 19:
          if (v = (c & i.childLanes) !== 0, n.flags & 128) {
            if (v) return hp(n, i, c);
            i.flags |= 128;
          }
          if (g = i.memoizedState, g !== null && (g.rendering = null, g.tail = null, g.lastEffect = null), yn(qn, qn.current), v) break;
          return null;
        case 22:
        case 23:
          return i.lanes = 0, ja(n, i, c);
      }
      return vr(n, i, c);
    }
    var ro, fs, ds, Ei;
    ro = function(n, i) {
      for (var c = i.child; c !== null; ) {
        if (c.tag === 5 || c.tag === 6) n.appendChild(c.stateNode);
        else if (c.tag !== 4 && c.child !== null) {
          c.child.return = c, c = c.child;
          continue;
        }
        if (c === i) break;
        for (; c.sibling === null; ) {
          if (c.return === null || c.return === i) return;
          c = c.return;
        }
        c.sibling.return = c.return, c = c.sibling;
      }
    }, fs = function() {
    }, ds = function(n, i, c, v) {
      var g = n.memoizedProps;
      if (g !== v) {
        n = i.stateNode, Jl(Ui.current);
        var b = null;
        switch (c) {
          case "input":
            g = ze(n, g), v = ze(n, v), b = [];
            break;
          case "select":
            g = te({}, g, { value: void 0 }), v = te({}, v, { value: void 0 }), b = [];
            break;
          case "textarea":
            g = qt(n, g), v = qt(n, v), b = [];
            break;
          default:
            typeof g.onClick != "function" && typeof v.onClick == "function" && (n.onclick = Mf);
        }
        Qn(c, v);
        var k;
        c = null;
        for (pe in g) if (!v.hasOwnProperty(pe) && g.hasOwnProperty(pe) && g[pe] != null) if (pe === "style") {
          var H = g[pe];
          for (k in H) H.hasOwnProperty(k) && (c || (c = {}), c[k] = "");
        } else pe !== "dangerouslySetInnerHTML" && pe !== "children" && pe !== "suppressContentEditableWarning" && pe !== "suppressHydrationWarning" && pe !== "autoFocus" && (f.hasOwnProperty(pe) ? b || (b = []) : (b = b || []).push(pe, null));
        for (pe in v) {
          var G = v[pe];
          if (H = g != null ? g[pe] : void 0, v.hasOwnProperty(pe) && G !== H && (G != null || H != null)) if (pe === "style") if (H) {
            for (k in H) !H.hasOwnProperty(k) || G && G.hasOwnProperty(k) || (c || (c = {}), c[k] = "");
            for (k in G) G.hasOwnProperty(k) && H[k] !== G[k] && (c || (c = {}), c[k] = G[k]);
          } else c || (b || (b = []), b.push(
            pe,
            c
          )), c = G;
          else pe === "dangerouslySetInnerHTML" ? (G = G ? G.__html : void 0, H = H ? H.__html : void 0, G != null && H !== G && (b = b || []).push(pe, G)) : pe === "children" ? typeof G != "string" && typeof G != "number" || (b = b || []).push(pe, "" + G) : pe !== "suppressContentEditableWarning" && pe !== "suppressHydrationWarning" && (f.hasOwnProperty(pe) ? (G != null && pe === "onScroll" && Nn("scroll", n), b || H === G || (b = [])) : (b = b || []).push(pe, G));
        }
        c && (b = b || []).push("style", c);
        var pe = b;
        (i.updateQueue = pe) && (i.flags |= 4);
      }
    }, Ei = function(n, i, c, v) {
      c !== v && (i.flags |= 4);
    };
    function ir(n, i) {
      if (!Un) switch (n.tailMode) {
        case "hidden":
          i = n.tail;
          for (var c = null; i !== null; ) i.alternate !== null && (c = i), i = i.sibling;
          c === null ? n.tail = null : c.sibling = null;
          break;
        case "collapsed":
          c = n.tail;
          for (var v = null; c !== null; ) c.alternate !== null && (v = c), c = c.sibling;
          v === null ? i || n.tail === null ? n.tail = null : n.tail.sibling = null : v.sibling = null;
      }
    }
    function aa(n) {
      var i = n.alternate !== null && n.alternate.child === n.child, c = 0, v = 0;
      if (i) for (var g = n.child; g !== null; ) c |= g.lanes | g.childLanes, v |= g.subtreeFlags & 14680064, v |= g.flags & 14680064, g.return = n, g = g.sibling;
      else for (g = n.child; g !== null; ) c |= g.lanes | g.childLanes, v |= g.subtreeFlags, v |= g.flags, g.return = n, g = g.sibling;
      return n.subtreeFlags |= v, n.childLanes = c, i;
    }
    function sS(n, i, c) {
      var v = i.pendingProps;
      switch (tp(i), i.tag) {
        case 2:
        case 16:
        case 15:
        case 0:
        case 11:
        case 7:
        case 8:
        case 12:
        case 9:
        case 14:
          return aa(i), null;
        case 1:
          return Yn(i.type) && mi(), aa(i), null;
        case 3:
          return v = i.stateNode, ns(), vn(ar), vn(xt), up(), v.pendingContext && (v.context = v.pendingContext, v.pendingContext = null), (n === null || n.child === null) && (Ff(i) ? i.flags |= 4 : n === null || n.memoizedState.isDehydrated && !(i.flags & 256) || (i.flags |= 1024, yi !== null && (Ep(yi), yi = null))), fs(n, i), aa(i), null;
        case 5:
          lp(i);
          var g = Jl(Sc.current);
          if (c = i.type, n !== null && i.stateNode != null) ds(n, i, c, v, g), n.ref !== i.ref && (i.flags |= 512, i.flags |= 2097152);
          else {
            if (!v) {
              if (i.stateNode === null) throw Error(l(166));
              return aa(i), null;
            }
            if (n = Jl(Ui.current), Ff(i)) {
              v = i.stateNode, c = i.type;
              var b = i.memoizedProps;
              switch (v[eo] = i, v[Ql] = b, n = (i.mode & 1) !== 0, c) {
                case "dialog":
                  Nn("cancel", v), Nn("close", v);
                  break;
                case "iframe":
                case "object":
                case "embed":
                  Nn("load", v);
                  break;
                case "video":
                case "audio":
                  for (g = 0; g < cc.length; g++) Nn(cc[g], v);
                  break;
                case "source":
                  Nn("error", v);
                  break;
                case "img":
                case "image":
                case "link":
                  Nn(
                    "error",
                    v
                  ), Nn("load", v);
                  break;
                case "details":
                  Nn("toggle", v);
                  break;
                case "input":
                  bt(v, b), Nn("invalid", v);
                  break;
                case "select":
                  v._wrapperState = { wasMultiple: !!b.multiple }, Nn("invalid", v);
                  break;
                case "textarea":
                  sn(v, b), Nn("invalid", v);
              }
              Qn(c, b), g = null;
              for (var k in b) if (b.hasOwnProperty(k)) {
                var H = b[k];
                k === "children" ? typeof H == "string" ? v.textContent !== H && (b.suppressHydrationWarning !== !0 && Nf(v.textContent, H, n), g = ["children", H]) : typeof H == "number" && v.textContent !== "" + H && (b.suppressHydrationWarning !== !0 && Nf(
                  v.textContent,
                  H,
                  n
                ), g = ["children", "" + H]) : f.hasOwnProperty(k) && H != null && k === "onScroll" && Nn("scroll", v);
              }
              switch (c) {
                case "input":
                  pn(v), er(v, b, !0);
                  break;
                case "textarea":
                  pn(v), bn(v);
                  break;
                case "select":
                case "option":
                  break;
                default:
                  typeof b.onClick == "function" && (v.onclick = Mf);
              }
              v = g, i.updateQueue = v, v !== null && (i.flags |= 4);
            } else {
              k = g.nodeType === 9 ? g : g.ownerDocument, n === "http://www.w3.org/1999/xhtml" && (n = Er(c)), n === "http://www.w3.org/1999/xhtml" ? c === "script" ? (n = k.createElement("div"), n.innerHTML = "<script><\/script>", n = n.removeChild(n.firstChild)) : typeof v.is == "string" ? n = k.createElement(c, { is: v.is }) : (n = k.createElement(c), c === "select" && (k = n, v.multiple ? k.multiple = !0 : v.size && (k.size = v.size))) : n = k.createElementNS(n, c), n[eo] = i, n[Ql] = v, ro(n, i, !1, !1), i.stateNode = n;
              e: {
                switch (k = jn(c, v), c) {
                  case "dialog":
                    Nn("cancel", n), Nn("close", n), g = v;
                    break;
                  case "iframe":
                  case "object":
                  case "embed":
                    Nn("load", n), g = v;
                    break;
                  case "video":
                  case "audio":
                    for (g = 0; g < cc.length; g++) Nn(cc[g], n);
                    g = v;
                    break;
                  case "source":
                    Nn("error", n), g = v;
                    break;
                  case "img":
                  case "image":
                  case "link":
                    Nn(
                      "error",
                      n
                    ), Nn("load", n), g = v;
                    break;
                  case "details":
                    Nn("toggle", n), g = v;
                    break;
                  case "input":
                    bt(n, v), g = ze(n, v), Nn("invalid", n);
                    break;
                  case "option":
                    g = v;
                    break;
                  case "select":
                    n._wrapperState = { wasMultiple: !!v.multiple }, g = te({}, v, { value: void 0 }), Nn("invalid", n);
                    break;
                  case "textarea":
                    sn(n, v), g = qt(n, v), Nn("invalid", n);
                    break;
                  default:
                    g = v;
                }
                Qn(c, g), H = g;
                for (b in H) if (H.hasOwnProperty(b)) {
                  var G = H[b];
                  b === "style" ? Pt(n, G) : b === "dangerouslySetInnerHTML" ? (G = G ? G.__html : void 0, G != null && wa(n, G)) : b === "children" ? typeof G == "string" ? (c !== "textarea" || G !== "") && Nr(n, G) : typeof G == "number" && Nr(n, "" + G) : b !== "suppressContentEditableWarning" && b !== "suppressHydrationWarning" && b !== "autoFocus" && (f.hasOwnProperty(b) ? G != null && b === "onScroll" && Nn("scroll", n) : G != null && j(n, b, G, k));
                }
                switch (c) {
                  case "input":
                    pn(n), er(n, v, !1);
                    break;
                  case "textarea":
                    pn(n), bn(n);
                    break;
                  case "option":
                    v.value != null && n.setAttribute("value", "" + vt(v.value));
                    break;
                  case "select":
                    n.multiple = !!v.multiple, b = v.value, b != null ? Zt(n, !!v.multiple, b, !1) : v.defaultValue != null && Zt(
                      n,
                      !!v.multiple,
                      v.defaultValue,
                      !0
                    );
                    break;
                  default:
                    typeof g.onClick == "function" && (n.onclick = Mf);
                }
                switch (c) {
                  case "button":
                  case "input":
                  case "select":
                  case "textarea":
                    v = !!v.autoFocus;
                    break e;
                  case "img":
                    v = !0;
                    break e;
                  default:
                    v = !1;
                }
              }
              v && (i.flags |= 4);
            }
            i.ref !== null && (i.flags |= 512, i.flags |= 2097152);
          }
          return aa(i), null;
        case 6:
          if (n && i.stateNode != null) Ei(n, i, n.memoizedProps, v);
          else {
            if (typeof v != "string" && i.stateNode === null) throw Error(l(166));
            if (c = Jl(Sc.current), Jl(Ui.current), Ff(i)) {
              if (v = i.stateNode, c = i.memoizedProps, v[eo] = i, (b = v.nodeValue !== c) && (n = Za, n !== null)) switch (n.tag) {
                case 3:
                  Nf(v.nodeValue, c, (n.mode & 1) !== 0);
                  break;
                case 5:
                  n.memoizedProps.suppressHydrationWarning !== !0 && Nf(v.nodeValue, c, (n.mode & 1) !== 0);
              }
              b && (i.flags |= 4);
            } else v = (c.nodeType === 9 ? c : c.ownerDocument).createTextNode(v), v[eo] = i, i.stateNode = v;
          }
          return aa(i), null;
        case 13:
          if (vn(qn), v = i.memoizedState, n === null || n.memoizedState !== null && n.memoizedState.dehydrated !== null) {
            if (Un && Pa !== null && i.mode & 1 && !(i.flags & 128)) Am(), Xn(), i.flags |= 98560, b = !1;
            else if (b = Ff(i), v !== null && v.dehydrated !== null) {
              if (n === null) {
                if (!b) throw Error(l(318));
                if (b = i.memoizedState, b = b !== null ? b.dehydrated : null, !b) throw Error(l(317));
                b[eo] = i;
              } else Xn(), !(i.flags & 128) && (i.memoizedState = null), i.flags |= 4;
              aa(i), b = !1;
            } else yi !== null && (Ep(yi), yi = null), b = !0;
            if (!b) return i.flags & 65536 ? i : null;
          }
          return i.flags & 128 ? (i.lanes = c, i) : (v = v !== null, v !== (n !== null && n.memoizedState !== null) && v && (i.child.flags |= 8192, i.mode & 1 && (n === null || qn.current & 1 ? Tr === 0 && (Tr = 3) : Ac())), i.updateQueue !== null && (i.flags |= 4), aa(i), null);
        case 4:
          return ns(), fs(n, i), n === null && Qu(i.stateNode.containerInfo), aa(i), null;
        case 10:
          return ap(i.type._context), aa(i), null;
        case 17:
          return Yn(i.type) && mi(), aa(i), null;
        case 19:
          if (vn(qn), b = i.memoizedState, b === null) return aa(i), null;
          if (v = (i.flags & 128) !== 0, k = b.rendering, k === null) if (v) ir(b, !1);
          else {
            if (Tr !== 0 || n !== null && n.flags & 128) for (n = i.child; n !== null; ) {
              if (k = Uf(n), k !== null) {
                for (i.flags |= 128, ir(b, !1), v = k.updateQueue, v !== null && (i.updateQueue = v, i.flags |= 4), i.subtreeFlags = 0, v = c, c = i.child; c !== null; ) b = c, n = v, b.flags &= 14680066, k = b.alternate, k === null ? (b.childLanes = 0, b.lanes = n, b.child = null, b.subtreeFlags = 0, b.memoizedProps = null, b.memoizedState = null, b.updateQueue = null, b.dependencies = null, b.stateNode = null) : (b.childLanes = k.childLanes, b.lanes = k.lanes, b.child = k.child, b.subtreeFlags = 0, b.deletions = null, b.memoizedProps = k.memoizedProps, b.memoizedState = k.memoizedState, b.updateQueue = k.updateQueue, b.type = k.type, n = k.dependencies, b.dependencies = n === null ? null : { lanes: n.lanes, firstContext: n.firstContext }), c = c.sibling;
                return yn(qn, qn.current & 1 | 2), i.child;
              }
              n = n.sibling;
            }
            b.tail !== null && jt() > Es && (i.flags |= 128, v = !0, ir(b, !1), i.lanes = 4194304);
          }
          else {
            if (!v) if (n = Uf(k), n !== null) {
              if (i.flags |= 128, v = !0, c = n.updateQueue, c !== null && (i.updateQueue = c, i.flags |= 4), ir(b, !0), b.tail === null && b.tailMode === "hidden" && !k.alternate && !Un) return aa(i), null;
            } else 2 * jt() - b.renderingStartTime > Es && c !== 1073741824 && (i.flags |= 128, v = !0, ir(b, !1), i.lanes = 4194304);
            b.isBackwards ? (k.sibling = i.child, i.child = k) : (c = b.last, c !== null ? c.sibling = k : i.child = k, b.last = k);
          }
          return b.tail !== null ? (i = b.tail, b.rendering = i, b.tail = i.sibling, b.renderingStartTime = jt(), i.sibling = null, c = qn.current, yn(qn, v ? c & 1 | 2 : c & 1), i) : (aa(i), null);
        case 22:
        case 23:
          return bd(), v = i.memoizedState !== null, n !== null && n.memoizedState !== null !== v && (i.flags |= 8192), v && i.mode & 1 ? Ha & 1073741824 && (aa(i), i.subtreeFlags & 6 && (i.flags |= 8192)) : aa(i), null;
        case 24:
          return null;
        case 25:
          return null;
      }
      throw Error(l(156, i.tag));
    }
    function cS(n, i) {
      switch (tp(i), i.tag) {
        case 1:
          return Yn(i.type) && mi(), n = i.flags, n & 65536 ? (i.flags = n & -65537 | 128, i) : null;
        case 3:
          return ns(), vn(ar), vn(xt), up(), n = i.flags, n & 65536 && !(n & 128) ? (i.flags = n & -65537 | 128, i) : null;
        case 5:
          return lp(i), null;
        case 13:
          if (vn(qn), n = i.memoizedState, n !== null && n.dehydrated !== null) {
            if (i.alternate === null) throw Error(l(340));
            Xn();
          }
          return n = i.flags, n & 65536 ? (i.flags = n & -65537 | 128, i) : null;
        case 19:
          return vn(qn), null;
        case 4:
          return ns(), null;
        case 10:
          return ap(i.type._context), null;
        case 22:
        case 23:
          return bd(), null;
        case 24:
          return null;
        default:
          return null;
      }
    }
    var vs = !1, Ur = !1, fd = typeof WeakSet == "function" ? WeakSet : Set, Ze = null;
    function ps(n, i) {
      var c = n.ref;
      if (c !== null) if (typeof c == "function") try {
        c(null);
      } catch (v) {
        lr(n, i, v);
      }
      else c.current = null;
    }
    function mp(n, i, c) {
      try {
        c();
      } catch (v) {
        lr(n, i, v);
      }
    }
    var dd = !1;
    function fS(n, i) {
      if (qv = di, n = wf(), wo(n)) {
        if ("selectionStart" in n) var c = { start: n.selectionStart, end: n.selectionEnd };
        else e: {
          c = (c = n.ownerDocument) && c.defaultView || window;
          var v = c.getSelection && c.getSelection();
          if (v && v.rangeCount !== 0) {
            c = v.anchorNode;
            var g = v.anchorOffset, b = v.focusNode;
            v = v.focusOffset;
            try {
              c.nodeType, b.nodeType;
            } catch {
              c = null;
              break e;
            }
            var k = 0, H = -1, G = -1, pe = 0, De = 0, Le = n, Me = null;
            t: for (; ; ) {
              for (var Ge; Le !== c || g !== 0 && Le.nodeType !== 3 || (H = k + g), Le !== b || v !== 0 && Le.nodeType !== 3 || (G = k + v), Le.nodeType === 3 && (k += Le.nodeValue.length), (Ge = Le.firstChild) !== null; )
                Me = Le, Le = Ge;
              for (; ; ) {
                if (Le === n) break t;
                if (Me === c && ++pe === g && (H = k), Me === b && ++De === v && (G = k), (Ge = Le.nextSibling) !== null) break;
                Le = Me, Me = Le.parentNode;
              }
              Le = Ge;
            }
            c = H === -1 || G === -1 ? null : { start: H, end: G };
          } else c = null;
        }
        c = c || { start: 0, end: 0 };
      } else c = null;
      for (ql = { focusedElem: n, selectionRange: c }, di = !1, Ze = i; Ze !== null; ) if (i = Ze, n = i.child, (i.subtreeFlags & 1028) !== 0 && n !== null) n.return = i, Ze = n;
      else for (; Ze !== null; ) {
        i = Ze;
        try {
          var et = i.alternate;
          if (i.flags & 1024) switch (i.tag) {
            case 0:
            case 11:
            case 15:
              break;
            case 1:
              if (et !== null) {
                var at = et.memoizedProps, pr = et.memoizedState, ie = i.stateNode, Z = ie.getSnapshotBeforeUpdate(i.elementType === i.type ? at : $a(i.type, at), pr);
                ie.__reactInternalSnapshotBeforeUpdate = Z;
              }
              break;
            case 3:
              var ce = i.stateNode.containerInfo;
              ce.nodeType === 1 ? ce.textContent = "" : ce.nodeType === 9 && ce.documentElement && ce.removeChild(ce.documentElement);
              break;
            case 5:
            case 6:
            case 4:
            case 17:
              break;
            default:
              throw Error(l(163));
          }
        } catch (Fe) {
          lr(i, i.return, Fe);
        }
        if (n = i.sibling, n !== null) {
          n.return = i.return, Ze = n;
          break;
        }
        Ze = i.return;
      }
      return et = dd, dd = !1, et;
    }
    function hs(n, i, c) {
      var v = i.updateQueue;
      if (v = v !== null ? v.lastEffect : null, v !== null) {
        var g = v = v.next;
        do {
          if ((g.tag & n) === n) {
            var b = g.destroy;
            g.destroy = void 0, b !== void 0 && mp(i, c, b);
          }
          g = g.next;
        } while (g !== v);
      }
    }
    function vd(n, i) {
      if (i = i.updateQueue, i = i !== null ? i.lastEffect : null, i !== null) {
        var c = i = i.next;
        do {
          if ((c.tag & n) === n) {
            var v = c.create;
            c.destroy = v();
          }
          c = c.next;
        } while (c !== i);
      }
    }
    function pd(n) {
      var i = n.ref;
      if (i !== null) {
        var c = n.stateNode;
        switch (n.tag) {
          case 5:
            n = c;
            break;
          default:
            n = c;
        }
        typeof i == "function" ? i(n) : i.current = n;
      }
    }
    function Jm(n) {
      var i = n.alternate;
      i !== null && (n.alternate = null, Jm(i)), n.child = null, n.deletions = null, n.sibling = null, n.tag === 5 && (i = n.stateNode, i !== null && (delete i[eo], delete i[Ql], delete i[Kv], delete i[iS], delete i[Xv])), n.stateNode = null, n.return = null, n.dependencies = null, n.memoizedProps = null, n.memoizedState = null, n.pendingProps = null, n.stateNode = null, n.updateQueue = null;
    }
    function gp(n) {
      return n.tag === 5 || n.tag === 3 || n.tag === 4;
    }
    function eg(n) {
      e: for (; ; ) {
        for (; n.sibling === null; ) {
          if (n.return === null || gp(n.return)) return null;
          n = n.return;
        }
        for (n.sibling.return = n.return, n = n.sibling; n.tag !== 5 && n.tag !== 6 && n.tag !== 18; ) {
          if (n.flags & 2 || n.child === null || n.tag === 4) continue e;
          n.child.return = n, n = n.child;
        }
        if (!(n.flags & 2)) return n.stateNode;
      }
    }
    function Nc(n, i, c) {
      var v = n.tag;
      if (v === 5 || v === 6) n = n.stateNode, i ? c.nodeType === 8 ? c.parentNode.insertBefore(n, i) : c.insertBefore(n, i) : (c.nodeType === 8 ? (i = c.parentNode, i.insertBefore(n, c)) : (i = c, i.appendChild(n)), c = c._reactRootContainer, c != null || i.onclick !== null || (i.onclick = Mf));
      else if (v !== 4 && (n = n.child, n !== null)) for (Nc(n, i, c), n = n.sibling; n !== null; ) Nc(n, i, c), n = n.sibling;
    }
    function ms(n, i, c) {
      var v = n.tag;
      if (v === 5 || v === 6) n = n.stateNode, i ? c.insertBefore(n, i) : c.appendChild(n);
      else if (v !== 4 && (n = n.child, n !== null)) for (ms(n, i, c), n = n.sibling; n !== null; ) ms(n, i, c), n = n.sibling;
    }
    var Gn = null, Ar = !1;
    function da(n, i, c) {
      for (c = c.child; c !== null; ) gs(n, i, c), c = c.sibling;
    }
    function gs(n, i, c) {
      if (Oa && typeof Oa.onCommitFiberUnmount == "function") try {
        Oa.onCommitFiberUnmount(el, c);
      } catch {
      }
      switch (c.tag) {
        case 5:
          Ur || ps(c, i);
        case 6:
          var v = Gn, g = Ar;
          Gn = null, da(n, i, c), Gn = v, Ar = g, Gn !== null && (Ar ? (n = Gn, c = c.stateNode, n.nodeType === 8 ? n.parentNode.removeChild(c) : n.removeChild(c)) : Gn.removeChild(c.stateNode));
          break;
        case 18:
          Gn !== null && (Ar ? (n = Gn, c = c.stateNode, n.nodeType === 8 ? fl(n.parentNode, c) : n.nodeType === 1 && fl(n, c), ll(n)) : fl(Gn, c.stateNode));
          break;
        case 4:
          v = Gn, g = Ar, Gn = c.stateNode.containerInfo, Ar = !0, da(n, i, c), Gn = v, Ar = g;
          break;
        case 0:
        case 11:
        case 14:
        case 15:
          if (!Ur && (v = c.updateQueue, v !== null && (v = v.lastEffect, v !== null))) {
            g = v = v.next;
            do {
              var b = g, k = b.destroy;
              b = b.tag, k !== void 0 && (b & 2 || b & 4) && mp(c, i, k), g = g.next;
            } while (g !== v);
          }
          da(n, i, c);
          break;
        case 1:
          if (!Ur && (ps(c, i), v = c.stateNode, typeof v.componentWillUnmount == "function")) try {
            v.props = c.memoizedProps, v.state = c.memoizedState, v.componentWillUnmount();
          } catch (H) {
            lr(c, i, H);
          }
          da(n, i, c);
          break;
        case 21:
          da(n, i, c);
          break;
        case 22:
          c.mode & 1 ? (Ur = (v = Ur) || c.memoizedState !== null, da(n, i, c), Ur = v) : da(n, i, c);
          break;
        default:
          da(n, i, c);
      }
    }
    function ys(n) {
      var i = n.updateQueue;
      if (i !== null) {
        n.updateQueue = null;
        var c = n.stateNode;
        c === null && (c = n.stateNode = new fd()), i.forEach(function(v) {
          var g = yS.bind(null, n, v);
          c.has(v) || (c.add(v), v.then(g, g));
        });
      }
    }
    function Pr(n, i) {
      var c = i.deletions;
      if (c !== null) for (var v = 0; v < c.length; v++) {
        var g = c[v];
        try {
          var b = n, k = i, H = k;
          e: for (; H !== null; ) {
            switch (H.tag) {
              case 5:
                Gn = H.stateNode, Ar = !1;
                break e;
              case 3:
                Gn = H.stateNode.containerInfo, Ar = !0;
                break e;
              case 4:
                Gn = H.stateNode.containerInfo, Ar = !0;
                break e;
            }
            H = H.return;
          }
          if (Gn === null) throw Error(l(160));
          gs(b, k, g), Gn = null, Ar = !1;
          var G = g.alternate;
          G !== null && (G.return = null), g.return = null;
        } catch (pe) {
          lr(g, i, pe);
        }
      }
      if (i.subtreeFlags & 12854) for (i = i.child; i !== null; ) tg(i, n), i = i.sibling;
    }
    function tg(n, i) {
      var c = n.alternate, v = n.flags;
      switch (n.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          if (Pr(i, n), ao(n), v & 4) {
            try {
              hs(3, n, n.return), vd(3, n);
            } catch (at) {
              lr(n, n.return, at);
            }
            try {
              hs(5, n, n.return);
            } catch (at) {
              lr(n, n.return, at);
            }
          }
          break;
        case 1:
          Pr(i, n), ao(n), v & 512 && c !== null && ps(c, c.return);
          break;
        case 5:
          if (Pr(i, n), ao(n), v & 512 && c !== null && ps(c, c.return), n.flags & 32) {
            var g = n.stateNode;
            try {
              Nr(g, "");
            } catch (at) {
              lr(n, n.return, at);
            }
          }
          if (v & 4 && (g = n.stateNode, g != null)) {
            var b = n.memoizedProps, k = c !== null ? c.memoizedProps : b, H = n.type, G = n.updateQueue;
            if (n.updateQueue = null, G !== null) try {
              H === "input" && b.type === "radio" && b.name != null && $t(g, b), jn(H, k);
              var pe = jn(H, b);
              for (k = 0; k < G.length; k += 2) {
                var De = G[k], Le = G[k + 1];
                De === "style" ? Pt(g, Le) : De === "dangerouslySetInnerHTML" ? wa(g, Le) : De === "children" ? Nr(g, Le) : j(g, De, Le, pe);
              }
              switch (H) {
                case "input":
                  un(g, b);
                  break;
                case "textarea":
                  nr(g, b);
                  break;
                case "select":
                  var Me = g._wrapperState.wasMultiple;
                  g._wrapperState.wasMultiple = !!b.multiple;
                  var Ge = b.value;
                  Ge != null ? Zt(g, !!b.multiple, Ge, !1) : Me !== !!b.multiple && (b.defaultValue != null ? Zt(
                    g,
                    !!b.multiple,
                    b.defaultValue,
                    !0
                  ) : Zt(g, !!b.multiple, b.multiple ? [] : "", !1));
              }
              g[Ql] = b;
            } catch (at) {
              lr(n, n.return, at);
            }
          }
          break;
        case 6:
          if (Pr(i, n), ao(n), v & 4) {
            if (n.stateNode === null) throw Error(l(162));
            g = n.stateNode, b = n.memoizedProps;
            try {
              g.nodeValue = b;
            } catch (at) {
              lr(n, n.return, at);
            }
          }
          break;
        case 3:
          if (Pr(i, n), ao(n), v & 4 && c !== null && c.memoizedState.isDehydrated) try {
            ll(i.containerInfo);
          } catch (at) {
            lr(n, n.return, at);
          }
          break;
        case 4:
          Pr(i, n), ao(n);
          break;
        case 13:
          Pr(i, n), ao(n), g = n.child, g.flags & 8192 && (b = g.memoizedState !== null, g.stateNode.isHidden = b, !b || g.alternate !== null && g.alternate.memoizedState !== null || (md = jt())), v & 4 && ys(n);
          break;
        case 22:
          if (De = c !== null && c.memoizedState !== null, n.mode & 1 ? (Ur = (pe = Ur) || De, Pr(i, n), Ur = pe) : Pr(i, n), ao(n), v & 8192) {
            if (pe = n.memoizedState !== null, (n.stateNode.isHidden = pe) && !De && n.mode & 1) for (Ze = n, De = n.child; De !== null; ) {
              for (Le = Ze = De; Ze !== null; ) {
                switch (Me = Ze, Ge = Me.child, Me.tag) {
                  case 0:
                  case 11:
                  case 14:
                  case 15:
                    hs(4, Me, Me.return);
                    break;
                  case 1:
                    ps(Me, Me.return);
                    var et = Me.stateNode;
                    if (typeof et.componentWillUnmount == "function") {
                      v = Me, c = Me.return;
                      try {
                        i = v, et.props = i.memoizedProps, et.state = i.memoizedState, et.componentWillUnmount();
                      } catch (at) {
                        lr(v, c, at);
                      }
                    }
                    break;
                  case 5:
                    ps(Me, Me.return);
                    break;
                  case 22:
                    if (Me.memoizedState !== null) {
                      ng(Le);
                      continue;
                    }
                }
                Ge !== null ? (Ge.return = Me, Ze = Ge) : ng(Le);
              }
              De = De.sibling;
            }
            e: for (De = null, Le = n; ; ) {
              if (Le.tag === 5) {
                if (De === null) {
                  De = Le;
                  try {
                    g = Le.stateNode, pe ? (b = g.style, typeof b.setProperty == "function" ? b.setProperty("display", "none", "important") : b.display = "none") : (H = Le.stateNode, G = Le.memoizedProps.style, k = G != null && G.hasOwnProperty("display") ? G.display : null, H.style.display = rt("display", k));
                  } catch (at) {
                    lr(n, n.return, at);
                  }
                }
              } else if (Le.tag === 6) {
                if (De === null) try {
                  Le.stateNode.nodeValue = pe ? "" : Le.memoizedProps;
                } catch (at) {
                  lr(n, n.return, at);
                }
              } else if ((Le.tag !== 22 && Le.tag !== 23 || Le.memoizedState === null || Le === n) && Le.child !== null) {
                Le.child.return = Le, Le = Le.child;
                continue;
              }
              if (Le === n) break e;
              for (; Le.sibling === null; ) {
                if (Le.return === null || Le.return === n) break e;
                De === Le && (De = null), Le = Le.return;
              }
              De === Le && (De = null), Le.sibling.return = Le.return, Le = Le.sibling;
            }
          }
          break;
        case 19:
          Pr(i, n), ao(n), v & 4 && ys(n);
          break;
        case 21:
          break;
        default:
          Pr(
            i,
            n
          ), ao(n);
      }
    }
    function ao(n) {
      var i = n.flags;
      if (i & 2) {
        try {
          e: {
            for (var c = n.return; c !== null; ) {
              if (gp(c)) {
                var v = c;
                break e;
              }
              c = c.return;
            }
            throw Error(l(160));
          }
          switch (v.tag) {
            case 5:
              var g = v.stateNode;
              v.flags & 32 && (Nr(g, ""), v.flags &= -33);
              var b = eg(n);
              ms(n, b, g);
              break;
            case 3:
            case 4:
              var k = v.stateNode.containerInfo, H = eg(n);
              Nc(n, H, k);
              break;
            default:
              throw Error(l(161));
          }
        } catch (G) {
          lr(n, n.return, G);
        }
        n.flags &= -3;
      }
      i & 4096 && (n.flags &= -4097);
    }
    function dS(n, i, c) {
      Ze = n, yp(n);
    }
    function yp(n, i, c) {
      for (var v = (n.mode & 1) !== 0; Ze !== null; ) {
        var g = Ze, b = g.child;
        if (g.tag === 22 && v) {
          var k = g.memoizedState !== null || vs;
          if (!k) {
            var H = g.alternate, G = H !== null && H.memoizedState !== null || Ur;
            H = vs;
            var pe = Ur;
            if (vs = k, (Ur = G) && !pe) for (Ze = g; Ze !== null; ) k = Ze, G = k.child, k.tag === 22 && k.memoizedState !== null ? Sp(g) : G !== null ? (G.return = k, Ze = G) : Sp(g);
            for (; b !== null; ) Ze = b, yp(b), b = b.sibling;
            Ze = g, vs = H, Ur = pe;
          }
          Ss(n);
        } else g.subtreeFlags & 8772 && b !== null ? (b.return = g, Ze = b) : Ss(n);
      }
    }
    function Ss(n) {
      for (; Ze !== null; ) {
        var i = Ze;
        if (i.flags & 8772) {
          var c = i.alternate;
          try {
            if (i.flags & 8772) switch (i.tag) {
              case 0:
              case 11:
              case 15:
                Ur || vd(5, i);
                break;
              case 1:
                var v = i.stateNode;
                if (i.flags & 4 && !Ur) if (c === null) v.componentDidMount();
                else {
                  var g = i.elementType === i.type ? c.memoizedProps : $a(i.type, c.memoizedProps);
                  v.componentDidUpdate(g, c.memoizedState, v.__reactInternalSnapshotBeforeUpdate);
                }
                var b = i.updateQueue;
                b !== null && jm(i, b, v);
                break;
              case 3:
                var k = i.updateQueue;
                if (k !== null) {
                  if (c = null, i.child !== null) switch (i.child.tag) {
                    case 5:
                      c = i.child.stateNode;
                      break;
                    case 1:
                      c = i.child.stateNode;
                  }
                  jm(i, k, c);
                }
                break;
              case 5:
                var H = i.stateNode;
                if (c === null && i.flags & 4) {
                  c = H;
                  var G = i.memoizedProps;
                  switch (i.type) {
                    case "button":
                    case "input":
                    case "select":
                    case "textarea":
                      G.autoFocus && c.focus();
                      break;
                    case "img":
                      G.src && (c.src = G.src);
                  }
                }
                break;
              case 6:
                break;
              case 4:
                break;
              case 12:
                break;
              case 13:
                if (i.memoizedState === null) {
                  var pe = i.alternate;
                  if (pe !== null) {
                    var De = pe.memoizedState;
                    if (De !== null) {
                      var Le = De.dehydrated;
                      Le !== null && ll(Le);
                    }
                  }
                }
                break;
              case 19:
              case 17:
              case 21:
              case 22:
              case 23:
              case 25:
                break;
              default:
                throw Error(l(163));
            }
            Ur || i.flags & 512 && pd(i);
          } catch (Me) {
            lr(i, i.return, Me);
          }
        }
        if (i === n) {
          Ze = null;
          break;
        }
        if (c = i.sibling, c !== null) {
          c.return = i.return, Ze = c;
          break;
        }
        Ze = i.return;
      }
    }
    function ng(n) {
      for (; Ze !== null; ) {
        var i = Ze;
        if (i === n) {
          Ze = null;
          break;
        }
        var c = i.sibling;
        if (c !== null) {
          c.return = i.return, Ze = c;
          break;
        }
        Ze = i.return;
      }
    }
    function Sp(n) {
      for (; Ze !== null; ) {
        var i = Ze;
        try {
          switch (i.tag) {
            case 0:
            case 11:
            case 15:
              var c = i.return;
              try {
                vd(4, i);
              } catch (G) {
                lr(i, c, G);
              }
              break;
            case 1:
              var v = i.stateNode;
              if (typeof v.componentDidMount == "function") {
                var g = i.return;
                try {
                  v.componentDidMount();
                } catch (G) {
                  lr(i, g, G);
                }
              }
              var b = i.return;
              try {
                pd(i);
              } catch (G) {
                lr(i, b, G);
              }
              break;
            case 5:
              var k = i.return;
              try {
                pd(i);
              } catch (G) {
                lr(i, k, G);
              }
          }
        } catch (G) {
          lr(i, i.return, G);
        }
        if (i === n) {
          Ze = null;
          break;
        }
        var H = i.sibling;
        if (H !== null) {
          H.return = i.return, Ze = H;
          break;
        }
        Ze = i.return;
      }
    }
    var vS = Math.ceil, lu = W.ReactCurrentDispatcher, hd = W.ReactCurrentOwner, xi = W.ReactCurrentBatchConfig, Bt = 0, or = null, Vn = null, wr = 0, Ha = 0, Cs = Ft(0), Tr = 0, Mc = null, uu = 0, bs = 0, Cp = 0, bl = null, ia = null, md = 0, Es = 1 / 0, Ao = null, gd = !1, bp = null, Ri = null, xs = !1, wi = null, yd = 0, Dc = 0, Sd = null, Lc = -1, su = 0;
    function Fr() {
      return Bt & 6 ? jt() : Lc !== -1 ? Lc : Lc = jt();
    }
    function Po(n) {
      return n.mode & 1 ? Bt & 2 && wr !== 0 ? wr & -wr : $f.transition !== null ? (su === 0 && (su = Pu()), su) : (n = cn, n !== 0 || (n = window.event, n = n === void 0 ? 16 : tc(n.type)), n) : 1;
    }
    function Zn(n, i, c, v) {
      if (50 < Dc) throw Dc = 0, Sd = null, Error(l(185));
      So(n, c, v), (!(Bt & 2) || n !== or) && (n === or && (!(Bt & 2) && (bs |= c), Tr === 4 && io(n, wr)), Or(n, v), c === 1 && Bt === 0 && !(i.mode & 1) && (Es = jt() + 500, Lr && Da()));
    }
    function Or(n, i) {
      var c = n.callbackNode;
      rl(n, i);
      var v = ca(n, n === or ? wr : 0);
      if (v === 0) c !== null && jr(c), n.callbackNode = null, n.callbackPriority = 0;
      else if (i = v & -v, n.callbackPriority !== i) {
        if (c != null && jr(c), i === 1) n.tag === 0 ? Jv(Rs.bind(null, n)) : Zv(Rs.bind(null, n)), Qv(function() {
          !(Bt & 6) && Da();
        }), c = null;
        else {
          switch ($u(v)) {
            case 1:
              c = Qa;
              break;
            case 4:
              c = zt;
              break;
            case 16:
              c = Xi;
              break;
            case 536870912:
              c = Lu;
              break;
            default:
              c = Xi;
          }
          c = cg(c, Cd.bind(null, n));
        }
        n.callbackPriority = i, n.callbackNode = c;
      }
    }
    function Cd(n, i) {
      if (Lc = -1, su = 0, Bt & 6) throw Error(l(327));
      var c = n.callbackNode;
      if (ws() && n.callbackNode !== c) return null;
      var v = ca(n, n === or ? wr : 0);
      if (v === 0) return null;
      if (v & 30 || v & n.expiredLanes || i) i = Ed(n, v);
      else {
        i = v;
        var g = Bt;
        Bt |= 2;
        var b = ag();
        (or !== n || wr !== i) && (Ao = null, Es = jt() + 500, fu(n, i));
        do
          try {
            hS();
            break;
          } catch (H) {
            rg(n, H);
          }
        while (!0);
        Ja(), lu.current = b, Bt = g, Vn !== null ? i = 0 : (or = null, wr = 0, i = Tr);
      }
      if (i !== 0) {
        if (i === 2 && (g = al(n), g !== 0 && (v = g, i = cu(n, g))), i === 1) throw c = Mc, fu(n, 0), io(n, v), Or(n, jt()), c;
        if (i === 6) io(n, v);
        else {
          if (g = n.current.alternate, !(v & 30) && !xp(g) && (i = Ed(n, v), i === 2 && (b = al(n), b !== 0 && (v = b, i = cu(n, b))), i === 1)) throw c = Mc, fu(n, 0), io(n, v), Or(n, jt()), c;
          switch (n.finishedWork = g, n.finishedLanes = v, i) {
            case 0:
            case 1:
              throw Error(l(345));
            case 2:
              El(n, ia, Ao);
              break;
            case 3:
              if (io(n, v), (v & 130023424) === v && (i = md + 500 - jt(), 10 < i)) {
                if (ca(n, 0) !== 0) break;
                if (g = n.suspendedLanes, (g & v) !== v) {
                  Fr(), n.pingedLanes |= n.suspendedLanes & g;
                  break;
                }
                n.timeoutHandle = Gl(El.bind(null, n, ia, Ao), i);
                break;
              }
              El(n, ia, Ao);
              break;
            case 4:
              if (io(n, v), (v & 4194240) === v) break;
              for (i = n.eventTimes, g = -1; 0 < v; ) {
                var k = 31 - sa(v);
                b = 1 << k, k = i[k], k > g && (g = k), v &= ~b;
              }
              if (v = g, v = jt() - v, v = (120 > v ? 120 : 480 > v ? 480 : 1080 > v ? 1080 : 1920 > v ? 1920 : 3e3 > v ? 3e3 : 4320 > v ? 4320 : 1960 * vS(v / 1960)) - v, 10 < v) {
                n.timeoutHandle = Gl(El.bind(null, n, ia, Ao), v);
                break;
              }
              El(n, ia, Ao);
              break;
            case 5:
              El(n, ia, Ao);
              break;
            default:
              throw Error(l(329));
          }
        }
      }
      return Or(n, jt()), n.callbackNode === c ? Cd.bind(null, n) : null;
    }
    function cu(n, i) {
      var c = bl;
      return n.current.memoizedState.isDehydrated && (fu(n, i).flags |= 256), n = Ed(n, i), n !== 2 && (i = ia, ia = c, i !== null && Ep(i)), n;
    }
    function Ep(n) {
      ia === null ? ia = n : ia.push.apply(ia, n);
    }
    function xp(n) {
      for (var i = n; ; ) {
        if (i.flags & 16384) {
          var c = i.updateQueue;
          if (c !== null && (c = c.stores, c !== null)) for (var v = 0; v < c.length; v++) {
            var g = c[v], b = g.getSnapshot;
            g = g.value;
            try {
              if (!vi(b(), g)) return !1;
            } catch {
              return !1;
            }
          }
        }
        if (c = i.child, i.subtreeFlags & 16384 && c !== null) c.return = i, i = c;
        else {
          if (i === n) break;
          for (; i.sibling === null; ) {
            if (i.return === null || i.return === n) return !0;
            i = i.return;
          }
          i.sibling.return = i.return, i = i.sibling;
        }
      }
      return !0;
    }
    function io(n, i) {
      for (i &= ~Cp, i &= ~bs, n.suspendedLanes |= i, n.pingedLanes &= ~i, n = n.expirationTimes; 0 < i; ) {
        var c = 31 - sa(i), v = 1 << c;
        n[c] = -1, i &= ~v;
      }
    }
    function Rs(n) {
      if (Bt & 6) throw Error(l(327));
      ws();
      var i = ca(n, 0);
      if (!(i & 1)) return Or(n, jt()), null;
      var c = Ed(n, i);
      if (n.tag !== 0 && c === 2) {
        var v = al(n);
        v !== 0 && (i = v, c = cu(n, v));
      }
      if (c === 1) throw c = Mc, fu(n, 0), io(n, i), Or(n, jt()), c;
      if (c === 6) throw Error(l(345));
      return n.finishedWork = n.current.alternate, n.finishedLanes = i, El(n, ia, Ao), Or(n, jt()), null;
    }
    function Rp(n, i) {
      var c = Bt;
      Bt |= 1;
      try {
        return n(i);
      } finally {
        Bt = c, Bt === 0 && (Es = jt() + 500, Lr && Da());
      }
    }
    function oo(n) {
      wi !== null && wi.tag === 0 && !(Bt & 6) && ws();
      var i = Bt;
      Bt |= 1;
      var c = xi.transition, v = cn;
      try {
        if (xi.transition = null, cn = 1, n) return n();
      } finally {
        cn = v, xi.transition = c, Bt = i, !(Bt & 6) && Da();
      }
    }
    function bd() {
      Ha = Cs.current, vn(Cs);
    }
    function fu(n, i) {
      n.finishedWork = null, n.finishedLanes = 0;
      var c = n.timeoutHandle;
      if (c !== -1 && (n.timeoutHandle = -1, Nm(c)), Vn !== null) for (c = Vn.return; c !== null; ) {
        var v = c;
        switch (tp(v), v.tag) {
          case 1:
            v = v.type.childContextTypes, v != null && mi();
            break;
          case 3:
            ns(), vn(ar), vn(xt), up();
            break;
          case 5:
            lp(v);
            break;
          case 4:
            ns();
            break;
          case 13:
            vn(qn);
            break;
          case 19:
            vn(qn);
            break;
          case 10:
            ap(v.type._context);
            break;
          case 22:
          case 23:
            bd();
        }
        c = c.return;
      }
      if (or = n, Vn = n = xl(n.current, null), wr = Ha = i, Tr = 0, Mc = null, Cp = bs = uu = 0, ia = bl = null, Zl !== null) {
        for (i = 0; i < Zl.length; i++) if (c = Zl[i], v = c.interleaved, v !== null) {
          c.interleaved = null;
          var g = v.next, b = c.pending;
          if (b !== null) {
            var k = b.next;
            b.next = g, v.next = k;
          }
          c.pending = v;
        }
        Zl = null;
      }
      return n;
    }
    function rg(n, i) {
      do {
        var c = Vn;
        try {
          if (Ja(), Bf.current = ra, ei) {
            for (var v = st.memoizedState; v !== null; ) {
              var g = v.queue;
              g !== null && (g.pending = null), v = v.next;
            }
            ei = !1;
          }
          if (it = 0, It = Rt = st = null, rs = !1, bc = 0, hd.current = null, c === null || c.return === null) {
            Tr = 1, Mc = i, Vn = null;
            break;
          }
          e: {
            var b = n, k = c.return, H = c, G = i;
            if (i = wr, H.flags |= 32768, G !== null && typeof G == "object" && typeof G.then == "function") {
              var pe = G, De = H, Le = De.tag;
              if (!(De.mode & 1) && (Le === 0 || Le === 11 || Le === 15)) {
                var Me = De.alternate;
                Me ? (De.updateQueue = Me.updateQueue, De.memoizedState = Me.memoizedState, De.lanes = Me.lanes) : (De.updateQueue = null, De.memoizedState = null);
              }
              var Ge = Gm(k);
              if (Ge !== null) {
                Ge.flags &= -257, vp(Ge, k, H, b, i), Ge.mode & 1 && Tc(b, pe, i), i = Ge, G = pe;
                var et = i.updateQueue;
                if (et === null) {
                  var at = /* @__PURE__ */ new Set();
                  at.add(G), i.updateQueue = at;
                } else et.add(G);
                break e;
              } else {
                if (!(i & 1)) {
                  Tc(b, pe, i), Ac();
                  break e;
                }
                G = Error(l(426));
              }
            } else if (Un && H.mode & 1) {
              var pr = Gm(k);
              if (pr !== null) {
                !(pr.flags & 65536) && (pr.flags |= 256), vp(pr, k, H, b, i), rp(Sl(G, H));
                break e;
              }
            }
            b = G = Sl(G, H), Tr !== 4 && (Tr = 2), bl === null ? bl = [b] : bl.push(b), b = k;
            do {
              switch (b.tag) {
                case 3:
                  b.flags |= 65536, i &= -i, b.lanes |= i;
                  var ie = Ym(b, G, i);
                  zm(b, ie);
                  break e;
                case 1:
                  H = G;
                  var Z = b.type, ce = b.stateNode;
                  if (!(b.flags & 128) && (typeof Z.getDerivedStateFromError == "function" || ce !== null && typeof ce.componentDidCatch == "function" && (Ri === null || !Ri.has(ce)))) {
                    b.flags |= 65536, i &= -i, b.lanes |= i;
                    var Fe = qm(b, H, i);
                    zm(b, Fe);
                    break e;
                  }
              }
              b = b.return;
            } while (b !== null);
          }
          og(c);
        } catch (ot) {
          i = ot, Vn === c && c !== null && (Vn = c = c.return);
          continue;
        }
        break;
      } while (!0);
    }
    function ag() {
      var n = lu.current;
      return lu.current = ra, n === null ? ra : n;
    }
    function Ac() {
      (Tr === 0 || Tr === 3 || Tr === 2) && (Tr = 4), or === null || !(uu & 268435455) && !(bs & 268435455) || io(or, wr);
    }
    function Ed(n, i) {
      var c = Bt;
      Bt |= 2;
      var v = ag();
      (or !== n || wr !== i) && (Ao = null, fu(n, i));
      do
        try {
          pS();
          break;
        } catch (g) {
          rg(n, g);
        }
      while (!0);
      if (Ja(), Bt = c, lu.current = v, Vn !== null) throw Error(l(261));
      return or = null, wr = 0, Tr;
    }
    function pS() {
      for (; Vn !== null; ) ig(Vn);
    }
    function hS() {
      for (; Vn !== null && !Ki(); ) ig(Vn);
    }
    function ig(n) {
      var i = sg(n.alternate, n, Ha);
      n.memoizedProps = n.pendingProps, i === null ? og(n) : Vn = i, hd.current = null;
    }
    function og(n) {
      var i = n;
      do {
        var c = i.alternate;
        if (n = i.return, i.flags & 32768) {
          if (c = cS(c, i), c !== null) {
            c.flags &= 32767, Vn = c;
            return;
          }
          if (n !== null) n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null;
          else {
            Tr = 6, Vn = null;
            return;
          }
        } else if (c = sS(c, i, Ha), c !== null) {
          Vn = c;
          return;
        }
        if (i = i.sibling, i !== null) {
          Vn = i;
          return;
        }
        Vn = i = n;
      } while (i !== null);
      Tr === 0 && (Tr = 5);
    }
    function El(n, i, c) {
      var v = cn, g = xi.transition;
      try {
        xi.transition = null, cn = 1, mS(n, i, c, v);
      } finally {
        xi.transition = g, cn = v;
      }
      return null;
    }
    function mS(n, i, c, v) {
      do
        ws();
      while (wi !== null);
      if (Bt & 6) throw Error(l(327));
      c = n.finishedWork;
      var g = n.finishedLanes;
      if (c === null) return null;
      if (n.finishedWork = null, n.finishedLanes = 0, c === n.current) throw Error(l(177));
      n.callbackNode = null, n.callbackPriority = 0;
      var b = c.lanes | c.childLanes;
      if (_v(n, b), n === or && (Vn = or = null, wr = 0), !(c.subtreeFlags & 2064) && !(c.flags & 2064) || xs || (xs = !0, cg(Xi, function() {
        return ws(), null;
      })), b = (c.flags & 15990) !== 0, c.subtreeFlags & 15990 || b) {
        b = xi.transition, xi.transition = null;
        var k = cn;
        cn = 1;
        var H = Bt;
        Bt |= 4, hd.current = null, fS(n, c), tg(c, n), Tf(ql), di = !!qv, ql = qv = null, n.current = c, dS(c), Pi(), Bt = H, cn = k, xi.transition = b;
      } else n.current = c;
      if (xs && (xs = !1, wi = n, yd = g), b = n.pendingLanes, b === 0 && (Ri = null), Zs(c.stateNode), Or(n, jt()), i !== null) for (v = n.onRecoverableError, c = 0; c < i.length; c++) g = i[c], v(g.value, { componentStack: g.stack, digest: g.digest });
      if (gd) throw gd = !1, n = bp, bp = null, n;
      return yd & 1 && n.tag !== 0 && ws(), b = n.pendingLanes, b & 1 ? n === Sd ? Dc++ : (Dc = 0, Sd = n) : Dc = 0, Da(), null;
    }
    function ws() {
      if (wi !== null) {
        var n = $u(yd), i = xi.transition, c = cn;
        try {
          if (xi.transition = null, cn = 16 > n ? 16 : n, wi === null) var v = !1;
          else {
            if (n = wi, wi = null, yd = 0, Bt & 6) throw Error(l(331));
            var g = Bt;
            for (Bt |= 4, Ze = n.current; Ze !== null; ) {
              var b = Ze, k = b.child;
              if (Ze.flags & 16) {
                var H = b.deletions;
                if (H !== null) {
                  for (var G = 0; G < H.length; G++) {
                    var pe = H[G];
                    for (Ze = pe; Ze !== null; ) {
                      var De = Ze;
                      switch (De.tag) {
                        case 0:
                        case 11:
                        case 15:
                          hs(8, De, b);
                      }
                      var Le = De.child;
                      if (Le !== null) Le.return = De, Ze = Le;
                      else for (; Ze !== null; ) {
                        De = Ze;
                        var Me = De.sibling, Ge = De.return;
                        if (Jm(De), De === pe) {
                          Ze = null;
                          break;
                        }
                        if (Me !== null) {
                          Me.return = Ge, Ze = Me;
                          break;
                        }
                        Ze = Ge;
                      }
                    }
                  }
                  var et = b.alternate;
                  if (et !== null) {
                    var at = et.child;
                    if (at !== null) {
                      et.child = null;
                      do {
                        var pr = at.sibling;
                        at.sibling = null, at = pr;
                      } while (at !== null);
                    }
                  }
                  Ze = b;
                }
              }
              if (b.subtreeFlags & 2064 && k !== null) k.return = b, Ze = k;
              else e: for (; Ze !== null; ) {
                if (b = Ze, b.flags & 2048) switch (b.tag) {
                  case 0:
                  case 11:
                  case 15:
                    hs(9, b, b.return);
                }
                var ie = b.sibling;
                if (ie !== null) {
                  ie.return = b.return, Ze = ie;
                  break e;
                }
                Ze = b.return;
              }
            }
            var Z = n.current;
            for (Ze = Z; Ze !== null; ) {
              k = Ze;
              var ce = k.child;
              if (k.subtreeFlags & 2064 && ce !== null) ce.return = k, Ze = ce;
              else e: for (k = Z; Ze !== null; ) {
                if (H = Ze, H.flags & 2048) try {
                  switch (H.tag) {
                    case 0:
                    case 11:
                    case 15:
                      vd(9, H);
                  }
                } catch (ot) {
                  lr(H, H.return, ot);
                }
                if (H === k) {
                  Ze = null;
                  break e;
                }
                var Fe = H.sibling;
                if (Fe !== null) {
                  Fe.return = H.return, Ze = Fe;
                  break e;
                }
                Ze = H.return;
              }
            }
            if (Bt = g, Da(), Oa && typeof Oa.onPostCommitFiberRoot == "function") try {
              Oa.onPostCommitFiberRoot(el, n);
            } catch {
            }
            v = !0;
          }
          return v;
        } finally {
          cn = c, xi.transition = i;
        }
      }
      return !1;
    }
    function lg(n, i, c) {
      i = Sl(c, i), i = Ym(n, i, 1), n = gl(n, i, 1), i = Fr(), n !== null && (So(n, 1, i), Or(n, i));
    }
    function lr(n, i, c) {
      if (n.tag === 3) lg(n, n, c);
      else for (; i !== null; ) {
        if (i.tag === 3) {
          lg(i, n, c);
          break;
        } else if (i.tag === 1) {
          var v = i.stateNode;
          if (typeof i.type.getDerivedStateFromError == "function" || typeof v.componentDidCatch == "function" && (Ri === null || !Ri.has(v))) {
            n = Sl(c, n), n = qm(i, n, 1), i = gl(i, n, 1), n = Fr(), i !== null && (So(i, 1, n), Or(i, n));
            break;
          }
        }
        i = i.return;
      }
    }
    function gS(n, i, c) {
      var v = n.pingCache;
      v !== null && v.delete(i), i = Fr(), n.pingedLanes |= n.suspendedLanes & c, or === n && (wr & c) === c && (Tr === 4 || Tr === 3 && (wr & 130023424) === wr && 500 > jt() - md ? fu(n, 0) : Cp |= c), Or(n, i);
    }
    function ug(n, i) {
      i === 0 && (n.mode & 1 ? (i = tl, tl <<= 1, !(tl & 130023424) && (tl = 4194304)) : i = 1);
      var c = Fr();
      n = Mo(n, i), n !== null && (So(n, i, c), Or(n, c));
    }
    function wp(n) {
      var i = n.memoizedState, c = 0;
      i !== null && (c = i.retryLane), ug(n, c);
    }
    function yS(n, i) {
      var c = 0;
      switch (n.tag) {
        case 13:
          var v = n.stateNode, g = n.memoizedState;
          g !== null && (c = g.retryLane);
          break;
        case 19:
          v = n.stateNode;
          break;
        default:
          throw Error(l(314));
      }
      v !== null && v.delete(i), ug(n, c);
    }
    var sg;
    sg = function(n, i, c) {
      if (n !== null) if (n.memoizedProps !== i.pendingProps || ar.current) za = !0;
      else {
        if (!(n.lanes & c) && !(i.flags & 128)) return za = !1, Lo(n, i, c);
        za = !!(n.flags & 131072);
      }
      else za = !1, Un && i.flags & 1048576 && ep(i, Xu, i.index);
      switch (i.lanes = 0, i.tag) {
        case 2:
          var v = i.type;
          kc(n, i), n = i.pendingProps;
          var g = hi(i, xt.current);
          Ju(i, c), g = ke(null, i, v, n, g, c);
          var b = Cr();
          return i.flags |= 1, typeof g == "object" && g !== null && typeof g.render == "function" && g.$$typeof === void 0 ? (i.tag = 1, i.memoizedState = null, i.updateQueue = null, Yn(v) ? (b = !0, Df(i)) : b = !1, i.memoizedState = g.state !== null && g.state !== void 0 ? g.state : null, jf(i), g.updater = au, i.stateNode = g, g._reactInternals = i, fp(i, v, n, c), i = ld(null, i, v, !0, b, c)) : (i.tag = 0, Un && b && Lf(i), dr(null, i, g, c), i = i.child), i;
        case 16:
          v = i.elementType;
          e: {
            switch (kc(n, i), n = i.pendingProps, g = v._init, v = g(v._payload), i.type = v, g = i.tag = SS(v), n = $a(v, n), g) {
              case 0:
                i = At(null, i, v, n, c);
                break e;
              case 1:
                i = Oc(null, i, v, n, c);
                break e;
              case 11:
                i = cs(null, i, v, n, c);
                break e;
              case 14:
                i = Cl(null, i, v, $a(v.type, n), c);
                break e;
            }
            throw Error(l(
              306,
              v,
              ""
            ));
          }
          return i;
        case 0:
          return v = i.type, g = i.pendingProps, g = i.elementType === v ? g : $a(v, g), At(n, i, v, g, c);
        case 1:
          return v = i.type, g = i.pendingProps, g = i.elementType === v ? g : $a(v, g), Oc(n, i, v, g, c);
        case 3:
          e: {
            if (uS(i), n === null) throw Error(l(387));
            v = i.pendingProps, b = i.memoizedState, g = b.element, es(n, i), If(i, v, null, c);
            var k = i.memoizedState;
            if (v = k.element, b.isDehydrated) if (b = { element: v, isDehydrated: !1, cache: k.cache, pendingSuspenseBoundaries: k.pendingSuspenseBoundaries, transitions: k.transitions }, i.updateQueue.baseState = b, i.memoizedState = b, i.flags & 256) {
              g = Sl(Error(l(423)), i), i = Km(n, i, v, c, g);
              break e;
            } else if (v !== g) {
              g = Sl(Error(l(424)), i), i = Km(n, i, v, c, g);
              break e;
            } else for (Pa = Ii(i.stateNode.containerInfo.firstChild), Za = i, Un = !0, yi = null, c = Fm(i, null, v, c), i.child = c; c; ) c.flags = c.flags & -3 | 4096, c = c.sibling;
            else {
              if (Xn(), v === g) {
                i = vr(n, i, c);
                break e;
              }
              dr(n, i, v, c);
            }
            i = i.child;
          }
          return i;
        case 5:
          return Hm(i), n === null && Pf(i), v = i.type, g = i.pendingProps, b = n !== null ? n.memoizedProps : null, k = g.children, vc(v, g) ? k = null : b !== null && vc(v, b) && (i.flags |= 32), iu(n, i), dr(n, i, k, c), i.child;
        case 6:
          return n === null && Pf(i), null;
        case 13:
          return Xm(n, i, c);
        case 4:
          return op(i, i.stateNode.containerInfo), v = i.pendingProps, n === null ? i.child = Zu(i, null, v, c) : dr(n, i, v, c), i.child;
        case 11:
          return v = i.type, g = i.pendingProps, g = i.elementType === v ? g : $a(v, g), cs(n, i, v, g, c);
        case 7:
          return dr(n, i, i.pendingProps, c), i.child;
        case 8:
          return dr(n, i, i.pendingProps.children, c), i.child;
        case 12:
          return dr(n, i, i.pendingProps.children, c), i.child;
        case 10:
          e: {
            if (v = i.type._context, g = i.pendingProps, b = i.memoizedProps, k = g.value, yn(No, v._currentValue), v._currentValue = k, b !== null) if (vi(b.value, k)) {
              if (b.children === g.children && !ar.current) {
                i = vr(n, i, c);
                break e;
              }
            } else for (b = i.child, b !== null && (b.return = i); b !== null; ) {
              var H = b.dependencies;
              if (H !== null) {
                k = b.child;
                for (var G = H.firstContext; G !== null; ) {
                  if (G.context === v) {
                    if (b.tag === 1) {
                      G = Fa(-1, c & -c), G.tag = 2;
                      var pe = b.updateQueue;
                      if (pe !== null) {
                        pe = pe.shared;
                        var De = pe.pending;
                        De === null ? G.next = G : (G.next = De.next, De.next = G), pe.pending = G;
                      }
                    }
                    b.lanes |= c, G = b.alternate, G !== null && (G.lanes |= c), ip(
                      b.return,
                      c,
                      i
                    ), H.lanes |= c;
                    break;
                  }
                  G = G.next;
                }
              } else if (b.tag === 10) k = b.type === i.type ? null : b.child;
              else if (b.tag === 18) {
                if (k = b.return, k === null) throw Error(l(341));
                k.lanes |= c, H = k.alternate, H !== null && (H.lanes |= c), ip(k, c, i), k = b.sibling;
              } else k = b.child;
              if (k !== null) k.return = b;
              else for (k = b; k !== null; ) {
                if (k === i) {
                  k = null;
                  break;
                }
                if (b = k.sibling, b !== null) {
                  b.return = k.return, k = b;
                  break;
                }
                k = k.return;
              }
              b = k;
            }
            dr(n, i, g.children, c), i = i.child;
          }
          return i;
        case 9:
          return g = i.type, v = i.pendingProps.children, Ju(i, c), g = Ci(g), v = v(g), i.flags |= 1, dr(n, i, v, c), i.child;
        case 14:
          return v = i.type, g = $a(v, i.pendingProps), g = $a(v.type, g), Cl(n, i, v, g, c);
        case 15:
          return od(n, i, i.type, i.pendingProps, c);
        case 17:
          return v = i.type, g = i.pendingProps, g = i.elementType === v ? g : $a(v, g), kc(n, i), i.tag = 1, Yn(v) ? (n = !0, Df(i)) : n = !1, Ju(i, c), Vm(i, v, g), fp(i, v, g, c), ld(null, i, v, !0, n, c);
        case 19:
          return hp(n, i, c);
        case 22:
          return ja(n, i, c);
      }
      throw Error(l(156, i.tag));
    };
    function cg(n, i) {
      return Ln(n, i);
    }
    function fg(n, i, c, v) {
      this.tag = n, this.key = c, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = i, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = v, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
    }
    function Ti(n, i, c, v) {
      return new fg(n, i, c, v);
    }
    function Tp(n) {
      return n = n.prototype, !(!n || !n.isReactComponent);
    }
    function SS(n) {
      if (typeof n == "function") return Tp(n) ? 1 : 0;
      if (n != null) {
        if (n = n.$$typeof, n === Oe) return 11;
        if (n === Te) return 14;
      }
      return 2;
    }
    function xl(n, i) {
      var c = n.alternate;
      return c === null ? (c = Ti(n.tag, i, n.key, n.mode), c.elementType = n.elementType, c.type = n.type, c.stateNode = n.stateNode, c.alternate = n, n.alternate = c) : (c.pendingProps = i, c.type = n.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null), c.flags = n.flags & 14680064, c.childLanes = n.childLanes, c.lanes = n.lanes, c.child = n.child, c.memoizedProps = n.memoizedProps, c.memoizedState = n.memoizedState, c.updateQueue = n.updateQueue, i = n.dependencies, c.dependencies = i === null ? null : { lanes: i.lanes, firstContext: i.firstContext }, c.sibling = n.sibling, c.index = n.index, c.ref = n.ref, c;
    }
    function xd(n, i, c, v, g, b) {
      var k = 2;
      if (v = n, typeof n == "function") Tp(n) && (k = 1);
      else if (typeof n == "string") k = 5;
      else e: switch (n) {
        case Y:
          return du(c.children, g, b, i);
        case ne:
          k = 8, g |= 8;
          break;
        case ae:
          return n = Ti(12, c, i, g | 2), n.elementType = ae, n.lanes = b, n;
        case ge:
          return n = Ti(13, c, i, g), n.elementType = ge, n.lanes = b, n;
        case me:
          return n = Ti(19, c, i, g), n.elementType = me, n.lanes = b, n;
        case Q:
          return Rd(c, g, b, i);
        default:
          if (typeof n == "object" && n !== null) switch (n.$$typeof) {
            case ve:
              k = 10;
              break e;
            case ye:
              k = 9;
              break e;
            case Oe:
              k = 11;
              break e;
            case Te:
              k = 14;
              break e;
            case re:
              k = 16, v = null;
              break e;
          }
          throw Error(l(130, n == null ? n : typeof n, ""));
      }
      return i = Ti(k, c, i, g), i.elementType = n, i.type = v, i.lanes = b, i;
    }
    function du(n, i, c, v) {
      return n = Ti(7, n, v, i), n.lanes = c, n;
    }
    function Rd(n, i, c, v) {
      return n = Ti(22, n, v, i), n.elementType = Q, n.lanes = c, n.stateNode = { isHidden: !1 }, n;
    }
    function wd(n, i, c) {
      return n = Ti(6, n, null, i), n.lanes = c, n;
    }
    function Pc(n, i, c) {
      return i = Ti(4, n.children !== null ? n.children : [], n.key, i), i.lanes = c, i.stateNode = { containerInfo: n.containerInfo, pendingChildren: null, implementation: n.implementation }, i;
    }
    function Fc(n, i, c, v, g) {
      this.tag = i, this.containerInfo = n, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Fu(0), this.expirationTimes = Fu(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Fu(0), this.identifierPrefix = v, this.onRecoverableError = g, this.mutableSourceEagerHydrationData = null;
    }
    function Op(n, i, c, v, g, b, k, H, G) {
      return n = new Fc(n, i, c, H, G), i === 1 ? (i = 1, b === !0 && (i |= 8)) : i = 0, b = Ti(3, null, null, i), n.current = b, b.stateNode = n, b.memoizedState = { element: v, isDehydrated: c, cache: null, transitions: null, pendingSuspenseBoundaries: null }, jf(b), n;
    }
    function dg(n, i, c) {
      var v = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
      return { $$typeof: ee, key: v == null ? null : "" + v, children: n, containerInfo: i, implementation: c };
    }
    function _p(n) {
      if (!n) return to;
      n = n._reactInternals;
      e: {
        if (Nt(n) !== n || n.tag !== 1) throw Error(l(170));
        var i = n;
        do {
          switch (i.tag) {
            case 3:
              i = i.stateNode.context;
              break e;
            case 1:
              if (Yn(i.type)) {
                i = i.stateNode.__reactInternalMemoizedMergedChildContext;
                break e;
              }
          }
          i = i.return;
        } while (i !== null);
        throw Error(l(171));
      }
      if (n.tag === 1) {
        var c = n.type;
        if (Yn(c)) return mc(n, c, i);
      }
      return i;
    }
    function kp(n, i, c, v, g, b, k, H, G) {
      return n = Op(c, v, !0, n, g, b, k, H, G), n.context = _p(null), c = n.current, v = Fr(), g = Po(c), b = Fa(v, g), b.callback = i ?? null, gl(c, b, g), n.current.lanes = g, So(n, g, v), Or(n, v), n;
    }
    function Td(n, i, c, v) {
      var g = i.current, b = Fr(), k = Po(g);
      return c = _p(c), i.context === null ? i.context = c : i.pendingContext = c, i = Fa(b, k), i.payload = { element: n }, v = v === void 0 ? null : v, v !== null && (i.callback = v), n = gl(g, i, k), n !== null && (Zn(n, g, k, b), Hf(n, g, k)), k;
    }
    function $c(n) {
      if (n = n.current, !n.child) return null;
      switch (n.child.tag) {
        case 5:
          return n.child.stateNode;
        default:
          return n.child.stateNode;
      }
    }
    function vg(n, i) {
      if (n = n.memoizedState, n !== null && n.dehydrated !== null) {
        var c = n.retryLane;
        n.retryLane = c !== 0 && c < i ? c : i;
      }
    }
    function Np(n, i) {
      vg(n, i), (n = n.alternate) && vg(n, i);
    }
    var pg = typeof reportError == "function" ? reportError : function(n) {
      console.error(n);
    };
    function Od(n) {
      this._internalRoot = n;
    }
    zc.prototype.render = Od.prototype.render = function(n) {
      var i = this._internalRoot;
      if (i === null) throw Error(l(409));
      Td(n, i, null, null);
    }, zc.prototype.unmount = Od.prototype.unmount = function() {
      var n = this._internalRoot;
      if (n !== null) {
        this._internalRoot = null;
        var i = n.containerInfo;
        oo(function() {
          Td(null, n, null, null);
        }), i[_o] = null;
      }
    };
    function zc(n) {
      this._internalRoot = n;
    }
    zc.prototype.unstable_scheduleHydration = function(n) {
      if (n) {
        var i = ju();
        n = { blockedOn: null, target: n, priority: i };
        for (var c = 0; c < gn.length && i !== 0 && i < gn[c].priority; c++) ;
        gn.splice(c, 0, n), c === 0 && Sf(n);
      }
    };
    function _d(n) {
      return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11);
    }
    function Fo(n) {
      return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11 && (n.nodeType !== 8 || n.nodeValue !== " react-mount-point-unstable "));
    }
    function hg() {
    }
    function CS(n, i, c, v, g) {
      if (g) {
        if (typeof v == "function") {
          var b = v;
          v = function() {
            var pe = $c(k);
            b.call(pe);
          };
        }
        var k = kp(i, v, n, 0, null, !1, !1, "", hg);
        return n._reactRootContainer = k, n[_o] = k.current, Qu(n.nodeType === 8 ? n.parentNode : n), oo(), k;
      }
      for (; g = n.lastChild; ) n.removeChild(g);
      if (typeof v == "function") {
        var H = v;
        v = function() {
          var pe = $c(G);
          H.call(pe);
        };
      }
      var G = Op(n, 0, !1, null, null, !1, !1, "", hg);
      return n._reactRootContainer = G, n[_o] = G.current, Qu(n.nodeType === 8 ? n.parentNode : n), oo(function() {
        Td(i, G, c, v);
      }), G;
    }
    function kd(n, i, c, v, g) {
      var b = c._reactRootContainer;
      if (b) {
        var k = b;
        if (typeof g == "function") {
          var H = g;
          g = function() {
            var G = $c(k);
            H.call(G);
          };
        }
        Td(i, k, n, g);
      } else k = CS(c, i, n, g, v);
      return $c(k);
    }
    Hl = function(n) {
      switch (n.tag) {
        case 3:
          var i = n.stateNode;
          if (i.current.memoizedState.isDehydrated) {
            var c = Fi(i.pendingLanes);
            c !== 0 && (Zi(i, c | 1), Or(i, jt()), !(Bt & 6) && (Es = jt() + 500, Da()));
          }
          break;
        case 13:
          oo(function() {
            var v = Mo(n, 1);
            if (v !== null) {
              var g = Fr();
              Zn(v, n, 1, g);
            }
          }), Np(n, 1);
      }
    }, zu = function(n) {
      if (n.tag === 13) {
        var i = Mo(n, 134217728);
        if (i !== null) {
          var c = Fr();
          Zn(i, n, 134217728, c);
        }
        Np(n, 134217728);
      }
    }, Qt = function(n) {
      if (n.tag === 13) {
        var i = Po(n), c = Mo(n, i);
        if (c !== null) {
          var v = Fr();
          Zn(c, n, i, v);
        }
        Np(n, i);
      }
    }, ju = function() {
      return cn;
    }, Hu = function(n, i) {
      var c = cn;
      try {
        return cn = n, i();
      } finally {
        cn = c;
      }
    }, fr = function(n, i, c) {
      switch (i) {
        case "input":
          if (un(n, c), i = c.name, c.type === "radio" && i != null) {
            for (c = n; c.parentNode; ) c = c.parentNode;
            for (c = c.querySelectorAll("input[name=" + JSON.stringify("" + i) + '][type="radio"]'), i = 0; i < c.length; i++) {
              var v = c[i];
              if (v !== n && v.form === n.form) {
                var g = pt(v);
                if (!g) throw Error(l(90));
                on(v), un(v, g);
              }
            }
          }
          break;
        case "textarea":
          nr(n, c);
          break;
        case "select":
          i = c.value, i != null && Zt(n, !!c.multiple, i, !1);
      }
    }, qa = Rp, Ta = oo;
    var bS = { usingClientEntryPoint: !1, Events: [hc, Ku, pt, Jr, Ya, Rp] }, jc = { findFiberByHostInstance: pi, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, ES = { bundleType: jc.bundleType, version: jc.version, rendererPackageName: jc.rendererPackageName, rendererConfig: jc.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: W.ReactCurrentDispatcher, findHostInstanceByFiber: function(n) {
      return n = gr(n), n === null ? null : n.stateNode;
    }, findFiberByHostInstance: jc.findFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
    if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
      var Hc = __REACT_DEVTOOLS_GLOBAL_HOOK__;
      if (!Hc.isDisabled && Hc.supportsFiber) try {
        el = Hc.inject(ES), Oa = Hc;
      } catch {
      }
    }
    return Di.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = bS, Di.createPortal = function(n, i) {
      var c = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
      if (!_d(i)) throw Error(l(200));
      return dg(n, i, null, c);
    }, Di.createRoot = function(n, i) {
      if (!_d(n)) throw Error(l(299));
      var c = !1, v = "", g = pg;
      return i != null && (i.unstable_strictMode === !0 && (c = !0), i.identifierPrefix !== void 0 && (v = i.identifierPrefix), i.onRecoverableError !== void 0 && (g = i.onRecoverableError)), i = Op(n, 1, !1, null, null, c, !1, v, g), n[_o] = i.current, Qu(n.nodeType === 8 ? n.parentNode : n), new Od(i);
    }, Di.findDOMNode = function(n) {
      if (n == null) return null;
      if (n.nodeType === 1) return n;
      var i = n._reactInternals;
      if (i === void 0)
        throw typeof n.render == "function" ? Error(l(188)) : (n = Object.keys(n).join(","), Error(l(268, n)));
      return n = gr(i), n = n === null ? null : n.stateNode, n;
    }, Di.flushSync = function(n) {
      return oo(n);
    }, Di.hydrate = function(n, i, c) {
      if (!Fo(i)) throw Error(l(200));
      return kd(null, n, i, !0, c);
    }, Di.hydrateRoot = function(n, i, c) {
      if (!_d(n)) throw Error(l(405));
      var v = c != null && c.hydratedSources || null, g = !1, b = "", k = pg;
      if (c != null && (c.unstable_strictMode === !0 && (g = !0), c.identifierPrefix !== void 0 && (b = c.identifierPrefix), c.onRecoverableError !== void 0 && (k = c.onRecoverableError)), i = kp(i, null, n, 1, c ?? null, g, !1, b, k), n[_o] = i.current, Qu(n), v) for (n = 0; n < v.length; n++) c = v[n], g = c._getVersion, g = g(c._source), i.mutableSourceEagerHydrationData == null ? i.mutableSourceEagerHydrationData = [c, g] : i.mutableSourceEagerHydrationData.push(
        c,
        g
      );
      return new zc(i);
    }, Di.render = function(n, i, c) {
      if (!Fo(i)) throw Error(l(200));
      return kd(null, n, i, !1, c);
    }, Di.unmountComponentAtNode = function(n) {
      if (!Fo(n)) throw Error(l(40));
      return n._reactRootContainer ? (oo(function() {
        kd(null, null, n, !1, function() {
          n._reactRootContainer = null, n[_o] = null;
        });
      }), !0) : !1;
    }, Di.unstable_batchedUpdates = Rp, Di.unstable_renderSubtreeIntoContainer = function(n, i, c, v) {
      if (!Fo(c)) throw Error(l(200));
      if (n == null || n._reactInternals === void 0) throw Error(l(38));
      return kd(n, i, c, !1, v);
    }, Di.version = "18.3.1-next-f1338f8080-20240426", Di;
  }
  var Li = {};
  /**
   * @license React
   * react-dom.development.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var sO;
  function fF() {
    return sO || (sO = 1, process.env.NODE_ENV !== "production" && function() {
      typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
      var r = Kh(), a = I_(), l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, s = !1;
      function f(e) {
        s = e;
      }
      function m(e) {
        if (!s) {
          for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
            o[u - 1] = arguments[u];
          S("warn", e, o);
        }
      }
      function p(e) {
        if (!s) {
          for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
            o[u - 1] = arguments[u];
          S("error", e, o);
        }
      }
      function S(e, t, o) {
        {
          var u = l.ReactDebugCurrentFrame, d = u.getStackAddendum();
          d !== "" && (t += "%s", o = o.concat([d]));
          var h = o.map(function(y) {
            return String(y);
          });
          h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
        }
      }
      var C = 0, E = 1, R = 2, T = 3, _ = 4, A = 5, P = 6, L = 7, M = 8, V = 9, $ = 10, j = 11, W = 12, I = 13, ee = 14, Y = 15, ne = 16, ae = 17, ve = 18, ye = 19, Oe = 21, ge = 22, me = 23, Te = 24, re = 25, Q = !0, q = !1, se = !1, te = !1, z = !1, K = !0, Re = !1, we = !0, Ue = !0, Ke = !0, Be = !0, vt = /* @__PURE__ */ new Set(), ut = {}, Tt = {};
      function pn(e, t) {
        on(e, t), on(e + "Capture", t);
      }
      function on(e, t) {
        ut[e] && p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", e), ut[e] = t;
        {
          var o = e.toLowerCase();
          Tt[o] = e, e === "onDoubleClick" && (Tt.ondblclick = e);
        }
        for (var u = 0; u < t.length; u++)
          vt.add(t[u]);
      }
      var Ut = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", ze = Object.prototype.hasOwnProperty;
      function bt(e) {
        {
          var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
          return o;
        }
      }
      function $t(e) {
        try {
          return un(e), !1;
        } catch {
          return !0;
        }
      }
      function un(e) {
        return "" + e;
      }
      function er(e, t) {
        if ($t(e))
          return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", t, bt(e)), un(e);
      }
      function tr(e) {
        if ($t(e))
          return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(e)), un(e);
      }
      function On(e, t) {
        if ($t(e))
          return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", t, bt(e)), un(e);
      }
      function Zt(e, t) {
        if ($t(e))
          return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", t, bt(e)), un(e);
      }
      function qt(e) {
        if ($t(e))
          return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", bt(e)), un(e);
      }
      function sn(e) {
        if ($t(e))
          return p("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", bt(e)), un(e);
      }
      var nr = 0, bn = 1, Er = 2, zn = 3, xr = 4, wa = 5, Nr = 6, $e = ":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", nt = $e + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", rt = new RegExp("^[" + $e + "][" + nt + "]*$"), Pt = {}, Gt = {};
      function Qn(e) {
        return ze.call(Gt, e) ? !0 : ze.call(Pt, e) ? !1 : rt.test(e) ? (Gt[e] = !0, !0) : (Pt[e] = !0, p("Invalid attribute name: `%s`", e), !1);
      }
      function jn(e, t, o) {
        return t !== null ? t.type === nr : o ? !1 : e.length > 2 && (e[0] === "o" || e[0] === "O") && (e[1] === "n" || e[1] === "N");
      }
      function mr(e, t, o, u) {
        if (o !== null && o.type === nr)
          return !1;
        switch (typeof t) {
          case "function":
          // $FlowIssue symbol is perfectly valid here
          case "symbol":
            return !0;
          case "boolean": {
            if (u)
              return !1;
            if (o !== null)
              return !o.acceptsBooleans;
            var d = e.toLowerCase().slice(0, 5);
            return d !== "data-" && d !== "aria-";
          }
          default:
            return !1;
        }
      }
      function hn(e, t, o, u) {
        if (t === null || typeof t > "u" || mr(e, t, o, u))
          return !0;
        if (u)
          return !1;
        if (o !== null)
          switch (o.type) {
            case zn:
              return !t;
            case xr:
              return t === !1;
            case wa:
              return isNaN(t);
            case Nr:
              return isNaN(t) || t < 1;
          }
        return !1;
      }
      function fr(e) {
        return Jt.hasOwnProperty(e) ? Jt[e] : null;
      }
      function mn(e, t, o, u, d, h, y) {
        this.acceptsBooleans = t === Er || t === zn || t === xr, this.attributeName = u, this.attributeNamespace = d, this.mustUseProperty = o, this.propertyName = e, this.type = t, this.sanitizeURL = h, this.removeEmptyString = y;
      }
      var Jt = {}, la = [
        "children",
        "dangerouslySetInnerHTML",
        // TODO: This prevents the assignment of defaultValue to regular
        // elements (not just inputs). Now that ReactDOMInput assigns to the
        // defaultValue property -- do we need this?
        "defaultValue",
        "defaultChecked",
        "innerHTML",
        "suppressContentEditableWarning",
        "suppressHydrationWarning",
        "style"
      ];
      la.forEach(function(e) {
        Jt[e] = new mn(
          e,
          nr,
          !1,
          // mustUseProperty
          e,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
        var t = e[0], o = e[1];
        Jt[t] = new mn(
          t,
          bn,
          !1,
          // mustUseProperty
          o,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
        Jt[e] = new mn(
          e,
          Er,
          !1,
          // mustUseProperty
          e.toLowerCase(),
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
        Jt[e] = new mn(
          e,
          Er,
          !1,
          // mustUseProperty
          e,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "allowFullScreen",
        "async",
        // Note: there is a special case that prevents it from being written to the DOM
        // on the client side because the browsers are inconsistent. Instead we call focus().
        "autoFocus",
        "autoPlay",
        "controls",
        "default",
        "defer",
        "disabled",
        "disablePictureInPicture",
        "disableRemotePlayback",
        "formNoValidate",
        "hidden",
        "loop",
        "noModule",
        "noValidate",
        "open",
        "playsInline",
        "readOnly",
        "required",
        "reversed",
        "scoped",
        "seamless",
        // Microdata
        "itemScope"
      ].forEach(function(e) {
        Jt[e] = new mn(
          e,
          zn,
          !1,
          // mustUseProperty
          e.toLowerCase(),
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "checked",
        // Note: `option.selected` is not updated if `select.multiple` is
        // disabled with `removeAttribute`. We have special logic for handling this.
        "multiple",
        "muted",
        "selected"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        Jt[e] = new mn(
          e,
          zn,
          !0,
          // mustUseProperty
          e,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "capture",
        "download"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        Jt[e] = new mn(
          e,
          xr,
          !1,
          // mustUseProperty
          e,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "cols",
        "rows",
        "size",
        "span"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        Jt[e] = new mn(
          e,
          Nr,
          !1,
          // mustUseProperty
          e,
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), ["rowSpan", "start"].forEach(function(e) {
        Jt[e] = new mn(
          e,
          wa,
          !1,
          // mustUseProperty
          e.toLowerCase(),
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      });
      var Jr = /[\-\:]([a-z])/g, Ya = function(e) {
        return e[1].toUpperCase();
      };
      [
        "accent-height",
        "alignment-baseline",
        "arabic-form",
        "baseline-shift",
        "cap-height",
        "clip-path",
        "clip-rule",
        "color-interpolation",
        "color-interpolation-filters",
        "color-profile",
        "color-rendering",
        "dominant-baseline",
        "enable-background",
        "fill-opacity",
        "fill-rule",
        "flood-color",
        "flood-opacity",
        "font-family",
        "font-size",
        "font-size-adjust",
        "font-stretch",
        "font-style",
        "font-variant",
        "font-weight",
        "glyph-name",
        "glyph-orientation-horizontal",
        "glyph-orientation-vertical",
        "horiz-adv-x",
        "horiz-origin-x",
        "image-rendering",
        "letter-spacing",
        "lighting-color",
        "marker-end",
        "marker-mid",
        "marker-start",
        "overline-position",
        "overline-thickness",
        "paint-order",
        "panose-1",
        "pointer-events",
        "rendering-intent",
        "shape-rendering",
        "stop-color",
        "stop-opacity",
        "strikethrough-position",
        "strikethrough-thickness",
        "stroke-dasharray",
        "stroke-dashoffset",
        "stroke-linecap",
        "stroke-linejoin",
        "stroke-miterlimit",
        "stroke-opacity",
        "stroke-width",
        "text-anchor",
        "text-decoration",
        "text-rendering",
        "underline-position",
        "underline-thickness",
        "unicode-bidi",
        "unicode-range",
        "units-per-em",
        "v-alphabetic",
        "v-hanging",
        "v-ideographic",
        "v-mathematical",
        "vector-effect",
        "vert-adv-y",
        "vert-origin-x",
        "vert-origin-y",
        "word-spacing",
        "writing-mode",
        "xmlns:xlink",
        "x-height"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        var t = e.replace(Jr, Ya);
        Jt[t] = new mn(
          t,
          bn,
          !1,
          // mustUseProperty
          e,
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "xlink:actuate",
        "xlink:arcrole",
        "xlink:role",
        "xlink:show",
        "xlink:title",
        "xlink:type"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        var t = e.replace(Jr, Ya);
        Jt[t] = new mn(
          t,
          bn,
          !1,
          // mustUseProperty
          e,
          "http://www.w3.org/1999/xlink",
          !1,
          // sanitizeURL
          !1
        );
      }), [
        "xml:base",
        "xml:lang",
        "xml:space"
        // NOTE: if you add a camelCased prop to this list,
        // you'll need to set attributeName to name.toLowerCase()
        // instead in the assignment below.
      ].forEach(function(e) {
        var t = e.replace(Jr, Ya);
        Jt[t] = new mn(
          t,
          bn,
          !1,
          // mustUseProperty
          e,
          "http://www.w3.org/XML/1998/namespace",
          !1,
          // sanitizeURL
          !1
        );
      }), ["tabIndex", "crossOrigin"].forEach(function(e) {
        Jt[e] = new mn(
          e,
          bn,
          !1,
          // mustUseProperty
          e.toLowerCase(),
          // attributeName
          null,
          // attributeNamespace
          !1,
          // sanitizeURL
          !1
        );
      });
      var qa = "xlinkHref";
      Jt[qa] = new mn(
        "xlinkHref",
        bn,
        !1,
        // mustUseProperty
        "xlink:href",
        "http://www.w3.org/1999/xlink",
        !0,
        // sanitizeURL
        !1
      ), ["src", "href", "action", "formAction"].forEach(function(e) {
        Jt[e] = new mn(
          e,
          bn,
          !1,
          // mustUseProperty
          e.toLowerCase(),
          // attributeName
          null,
          // attributeNamespace
          !0,
          // sanitizeURL
          !0
        );
      });
      var Ta = /^[\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, Ai = !1;
      function Hn(e) {
        !Ai && Ta.test(e) && (Ai = !0, p("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", JSON.stringify(e)));
      }
      function ea(e, t, o, u) {
        if (u.mustUseProperty) {
          var d = u.propertyName;
          return e[d];
        } else {
          er(o, t), u.sanitizeURL && Hn("" + o);
          var h = u.attributeName, y = null;
          if (u.type === xr) {
            if (e.hasAttribute(h)) {
              var x = e.getAttribute(h);
              return x === "" ? !0 : hn(t, o, u, !1) ? x : x === "" + o ? o : x;
            }
          } else if (e.hasAttribute(h)) {
            if (hn(t, o, u, !1))
              return e.getAttribute(h);
            if (u.type === zn)
              return o;
            y = e.getAttribute(h);
          }
          return hn(t, o, u, !1) ? y === null ? o : y : y === "" + o ? o : y;
        }
      }
      function Ga(e, t, o, u) {
        {
          if (!Qn(t))
            return;
          if (!e.hasAttribute(t))
            return o === void 0 ? void 0 : null;
          var d = e.getAttribute(t);
          return er(o, t), d === "" + o ? o : d;
        }
      }
      function nn(e, t, o, u) {
        var d = fr(t);
        if (!jn(t, d, u)) {
          if (hn(t, o, d, u) && (o = null), u || d === null) {
            if (Qn(t)) {
              var h = t;
              o === null ? e.removeAttribute(h) : (er(o, t), e.setAttribute(h, "" + o));
            }
            return;
          }
          var y = d.mustUseProperty;
          if (y) {
            var x = d.propertyName;
            if (o === null) {
              var w = d.type;
              e[x] = w === zn ? !1 : "";
            } else
              e[x] = o;
            return;
          }
          var D = d.attributeName, F = d.attributeNamespace;
          if (o === null)
            e.removeAttribute(D);
          else {
            var J = d.type, X;
            J === zn || J === xr && o === !0 ? X = "" : (er(o, D), X = "" + o, d.sanitizeURL && Hn(X.toString())), F ? e.setAttributeNS(F, D, X) : e.setAttribute(D, X);
          }
        }
      }
      var En = Symbol.for("react.element"), Mn = Symbol.for("react.portal"), Wn = Symbol.for("react.fragment"), ua = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), Ne = Symbol.for("react.provider"), je = Symbol.for("react.context"), Ye = Symbol.for("react.forward_ref"), Nt = Symbol.for("react.suspense"), Vt = Symbol.for("react.suspense_list"), Mt = Symbol.for("react.memo"), Je = Symbol.for("react.lazy"), gr = Symbol.for("react.scope"), Dn = Symbol.for("react.debug_trace_mode"), Ln = Symbol.for("react.offscreen"), jr = Symbol.for("react.legacy_hidden"), Ki = Symbol.for("react.cache"), Pi = Symbol.for("react.tracing_marker"), jt = Symbol.iterator, jl = "@@iterator";
      function Qa(e) {
        if (e === null || typeof e != "object")
          return null;
        var t = jt && e[jt] || e[jl];
        return typeof t == "function" ? t : null;
      }
      var zt = Object.assign, Xi = 0, Jo, Lu, el, Oa, Zs, sa, Js;
      function ec() {
      }
      ec.__reactDisabledLog = !0;
      function gf() {
        {
          if (Xi === 0) {
            Jo = console.log, Lu = console.info, el = console.warn, Oa = console.error, Zs = console.group, sa = console.groupCollapsed, Js = console.groupEnd;
            var e = {
              configurable: !0,
              enumerable: !0,
              value: ec,
              writable: !0
            };
            Object.defineProperties(console, {
              info: e,
              log: e,
              warn: e,
              error: e,
              group: e,
              groupCollapsed: e,
              groupEnd: e
            });
          }
          Xi++;
        }
      }
      function Au() {
        {
          if (Xi--, Xi === 0) {
            var e = {
              configurable: !0,
              enumerable: !0,
              writable: !0
            };
            Object.defineProperties(console, {
              log: zt({}, e, {
                value: Jo
              }),
              info: zt({}, e, {
                value: Lu
              }),
              warn: zt({}, e, {
                value: el
              }),
              error: zt({}, e, {
                value: Oa
              }),
              group: zt({}, e, {
                value: Zs
              }),
              groupCollapsed: zt({}, e, {
                value: sa
              }),
              groupEnd: zt({}, e, {
                value: Js
              })
            });
          }
          Xi < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
        }
      }
      var tl = l.ReactCurrentDispatcher, Fi;
      function ca(e, t, o) {
        {
          if (Fi === void 0)
            try {
              throw Error();
            } catch (d) {
              var u = d.stack.trim().match(/\n( *(at )?)/);
              Fi = u && u[1] || "";
            }
          return `
` + Fi + e;
        }
      }
      var nl = !1, rl;
      {
        var al = typeof WeakMap == "function" ? WeakMap : Map;
        rl = new al();
      }
      function Pu(e, t) {
        if (!e || nl)
          return "";
        {
          var o = rl.get(e);
          if (o !== void 0)
            return o;
        }
        var u;
        nl = !0;
        var d = Error.prepareStackTrace;
        Error.prepareStackTrace = void 0;
        var h;
        h = tl.current, tl.current = null, gf();
        try {
          if (t) {
            var y = function() {
              throw Error();
            };
            if (Object.defineProperty(y.prototype, "props", {
              set: function() {
                throw Error();
              }
            }), typeof Reflect == "object" && Reflect.construct) {
              try {
                Reflect.construct(y, []);
              } catch (he) {
                u = he;
              }
              Reflect.construct(e, [], y);
            } else {
              try {
                y.call();
              } catch (he) {
                u = he;
              }
              e.call(y.prototype);
            }
          } else {
            try {
              throw Error();
            } catch (he) {
              u = he;
            }
            e();
          }
        } catch (he) {
          if (he && u && typeof he.stack == "string") {
            for (var x = he.stack.split(`
`), w = u.stack.split(`
`), D = x.length - 1, F = w.length - 1; D >= 1 && F >= 0 && x[D] !== w[F]; )
              F--;
            for (; D >= 1 && F >= 0; D--, F--)
              if (x[D] !== w[F]) {
                if (D !== 1 || F !== 1)
                  do
                    if (D--, F--, F < 0 || x[D] !== w[F]) {
                      var J = `
` + x[D].replace(" at new ", " at ");
                      return e.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", e.displayName)), typeof e == "function" && rl.set(e, J), J;
                    }
                  while (D >= 1 && F >= 0);
                break;
              }
          }
        } finally {
          nl = !1, tl.current = h, Au(), Error.prepareStackTrace = d;
        }
        var X = e ? e.displayName || e.name : "", fe = X ? ca(X) : "";
        return typeof e == "function" && rl.set(e, fe), fe;
      }
      function Fu(e, t, o) {
        return Pu(e, !0);
      }
      function So(e, t, o) {
        return Pu(e, !1);
      }
      function _v(e) {
        var t = e.prototype;
        return !!(t && t.isReactComponent);
      }
      function Zi(e, t, o) {
        if (e == null)
          return "";
        if (typeof e == "function")
          return Pu(e, _v(e));
        if (typeof e == "string")
          return ca(e);
        switch (e) {
          case Nt:
            return ca("Suspense");
          case Vt:
            return ca("SuspenseList");
        }
        if (typeof e == "object")
          switch (e.$$typeof) {
            case Ye:
              return So(e.render);
            case Mt:
              return Zi(e.type, t, o);
            case Je: {
              var u = e, d = u._payload, h = u._init;
              try {
                return Zi(h(d), t, o);
              } catch {
              }
            }
          }
        return "";
      }
      function cn(e) {
        switch (e._debugOwner && e._debugOwner.type, e._debugSource, e.tag) {
          case A:
            return ca(e.type);
          case ne:
            return ca("Lazy");
          case I:
            return ca("Suspense");
          case ye:
            return ca("SuspenseList");
          case C:
          case R:
          case Y:
            return So(e.type);
          case j:
            return So(e.type.render);
          case E:
            return Fu(e.type);
          default:
            return "";
        }
      }
      function $u(e) {
        try {
          var t = "", o = e;
          do
            t += cn(o), o = o.return;
          while (o);
          return t;
        } catch (u) {
          return `
Error generating stack: ` + u.message + `
` + u.stack;
        }
      }
      function Hl(e, t, o) {
        var u = e.displayName;
        if (u)
          return u;
        var d = t.displayName || t.name || "";
        return d !== "" ? o + "(" + d + ")" : o;
      }
      function zu(e) {
        return e.displayName || "Context";
      }
      function Qt(e) {
        if (e == null)
          return null;
        if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
          return e.displayName || e.name || null;
        if (typeof e == "string")
          return e;
        switch (e) {
          case Wn:
            return "Fragment";
          case Mn:
            return "Portal";
          case B:
            return "Profiler";
          case ua:
            return "StrictMode";
          case Nt:
            return "Suspense";
          case Vt:
            return "SuspenseList";
        }
        if (typeof e == "object")
          switch (e.$$typeof) {
            case je:
              var t = e;
              return zu(t) + ".Consumer";
            case Ne:
              var o = e;
              return zu(o._context) + ".Provider";
            case Ye:
              return Hl(e, e.render, "ForwardRef");
            case Mt:
              var u = e.displayName || null;
              return u !== null ? u : Qt(e.type) || "Memo";
            case Je: {
              var d = e, h = d._payload, y = d._init;
              try {
                return Qt(y(h));
              } catch {
                return null;
              }
            }
          }
        return null;
      }
      function ju(e, t, o) {
        var u = t.displayName || t.name || "";
        return e.displayName || (u !== "" ? o + "(" + u + ")" : o);
      }
      function Hu(e) {
        return e.displayName || "Context";
      }
      function Ot(e) {
        var t = e.tag, o = e.type;
        switch (t) {
          case Te:
            return "Cache";
          case V:
            var u = o;
            return Hu(u) + ".Consumer";
          case $:
            var d = o;
            return Hu(d._context) + ".Provider";
          case ve:
            return "DehydratedFragment";
          case j:
            return ju(o, o.render, "ForwardRef");
          case L:
            return "Fragment";
          case A:
            return o;
          case _:
            return "Portal";
          case T:
            return "Root";
          case P:
            return "Text";
          case ne:
            return Qt(o);
          case M:
            return o === ua ? "StrictMode" : "Mode";
          case ge:
            return "Offscreen";
          case W:
            return "Profiler";
          case Oe:
            return "Scope";
          case I:
            return "Suspense";
          case ye:
            return "SuspenseList";
          case re:
            return "TracingMarker";
          // The display name for this tags come from the user-provided type:
          case E:
          case C:
          case ae:
          case R:
          case ee:
          case Y:
            if (typeof o == "function")
              return o.displayName || o.name || null;
            if (typeof o == "string")
              return o;
            break;
        }
        return null;
      }
      var Il = l.ReactDebugCurrentFrame, Kn = null, _a = !1;
      function fa() {
        {
          if (Kn === null)
            return null;
          var e = Kn._debugOwner;
          if (e !== null && typeof e < "u")
            return Ot(e);
        }
        return null;
      }
      function il() {
        return Kn === null ? "" : $u(Kn);
      }
      function rr() {
        Il.getCurrentStack = null, Kn = null, _a = !1;
      }
      function gn(e) {
        Il.getCurrentStack = e === null ? null : il, Kn = e, _a = !1;
      }
      function yf() {
        return Kn;
      }
      function ka(e) {
        _a = e;
      }
      function Mr(e) {
        return "" + e;
      }
      function Ji(e) {
        switch (typeof e) {
          case "boolean":
          case "number":
          case "string":
          case "undefined":
            return e;
          case "object":
            return sn(e), e;
          default:
            return "";
        }
      }
      var Sf = {
        button: !0,
        checkbox: !0,
        image: !0,
        hidden: !0,
        radio: !0,
        reset: !0,
        submit: !0
      };
      function Co(e, t) {
        Sf[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || p("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 || p("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 ol(e) {
        var t = e.type, o = e.nodeName;
        return o && o.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
      }
      function Cf(e) {
        return e._valueTracker;
      }
      function fi(e) {
        e._valueTracker = null;
      }
      function ll(e) {
        var t = "";
        return e && (ol(e) ? t = e.checked ? "true" : "false" : t = e.value), t;
      }
      function bo(e) {
        var t = ol(e) ? "checked" : "value", o = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
        sn(e[t]);
        var u = "" + e[t];
        if (!(e.hasOwnProperty(t) || typeof o > "u" || typeof o.get != "function" || typeof o.set != "function")) {
          var d = o.get, h = o.set;
          Object.defineProperty(e, t, {
            configurable: !0,
            get: function() {
              return d.call(this);
            },
            set: function(x) {
              sn(x), u = "" + x, h.call(this, x);
            }
          }), Object.defineProperty(e, t, {
            enumerable: o.enumerable
          });
          var y = {
            getValue: function() {
              return u;
            },
            setValue: function(x) {
              sn(x), u = "" + x;
            },
            stopTracking: function() {
              fi(e), delete e[t];
            }
          };
          return y;
        }
      }
      function di(e) {
        Cf(e) || (e._valueTracker = bo(e));
      }
      function Iu(e) {
        if (!e)
          return !1;
        var t = Cf(e);
        if (!t)
          return !0;
        var o = t.getValue(), u = ll(e);
        return u !== o ? (t.setValue(u), !0) : !1;
      }
      function ul(e) {
        if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u")
          return null;
        try {
          return e.activeElement || e.body;
        } catch {
          return e.body;
        }
      }
      var sl = !1, Ul = !1, Uu = !1, tc = !1;
      function $i(e) {
        var t = e.type === "checkbox" || e.type === "radio";
        return t ? e.checked != null : e.value != null;
      }
      function O(e, t) {
        var o = e, u = t.checked, d = zt({}, t, {
          defaultChecked: void 0,
          defaultValue: void 0,
          value: void 0,
          checked: u ?? o._wrapperState.initialChecked
        });
        return d;
      }
      function U(e, t) {
        Co("input", t), t.checked !== void 0 && t.defaultChecked !== void 0 && !Ul && (p("%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://reactjs.org/link/controlled-components", fa() || "A component", t.type), Ul = !0), t.value !== void 0 && t.defaultValue !== void 0 && !sl && (p("%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://reactjs.org/link/controlled-components", fa() || "A component", t.type), sl = !0);
        var o = e, u = t.defaultValue == null ? "" : t.defaultValue;
        o._wrapperState = {
          initialChecked: t.checked != null ? t.checked : t.defaultChecked,
          initialValue: Ji(t.value != null ? t.value : u),
          controlled: $i(t)
        };
      }
      function de(e, t) {
        var o = e, u = t.checked;
        u != null && nn(o, "checked", u, !1);
      }
      function Se(e, t) {
        var o = e;
        {
          var u = $i(t);
          !o._wrapperState.controlled && u && !tc && (p("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://reactjs.org/link/controlled-components"), tc = !0), o._wrapperState.controlled && !u && !Uu && (p("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://reactjs.org/link/controlled-components"), Uu = !0);
        }
        de(e, t);
        var d = Ji(t.value), h = t.type;
        if (d != null)
          h === "number" ? (d === 0 && o.value === "" || // We explicitly want to coerce to number here if possible.
          // eslint-disable-next-line
          o.value != d) && (o.value = Mr(d)) : o.value !== Mr(d) && (o.value = Mr(d));
        else if (h === "submit" || h === "reset") {
          o.removeAttribute("value");
          return;
        }
        t.hasOwnProperty("value") ? gt(o, t.type, d) : t.hasOwnProperty("defaultValue") && gt(o, t.type, Ji(t.defaultValue)), t.checked == null && t.defaultChecked != null && (o.defaultChecked = !!t.defaultChecked);
      }
      function Pe(e, t, o) {
        var u = e;
        if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
          var d = t.type, h = d === "submit" || d === "reset";
          if (h && (t.value === void 0 || t.value === null))
            return;
          var y = Mr(u._wrapperState.initialValue);
          o || y !== u.value && (u.value = y), u.defaultValue = y;
        }
        var x = u.name;
        x !== "" && (u.name = ""), u.defaultChecked = !u.defaultChecked, u.defaultChecked = !!u._wrapperState.initialChecked, x !== "" && (u.name = x);
      }
      function yt(e, t) {
        var o = e;
        Se(o, t), Ve(o, t);
      }
      function Ve(e, t) {
        var o = t.name;
        if (t.type === "radio" && o != null) {
          for (var u = e; u.parentNode; )
            u = u.parentNode;
          er(o, "name");
          for (var d = u.querySelectorAll("input[name=" + JSON.stringify("" + o) + '][type="radio"]'), h = 0; h < d.length; h++) {
            var y = d[h];
            if (!(y === e || y.form !== e.form)) {
              var x = Lg(y);
              if (!x)
                throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");
              Iu(y), Se(y, x);
            }
          }
        }
      }
      function gt(e, t, o) {
        // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
        (t !== "number" || ul(e.ownerDocument) !== e) && (o == null ? e.defaultValue = Mr(e._wrapperState.initialValue) : e.defaultValue !== Mr(o) && (e.defaultValue = Mr(o)));
      }
      var Ht = !1, rn = !1, _n = !1;
      function Cn(e, t) {
        t.value == null && (typeof t.children == "object" && t.children !== null ? r.Children.forEach(t.children, function(o) {
          o != null && (typeof o == "string" || typeof o == "number" || rn || (rn = !0, p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")));
        }) : t.dangerouslySetInnerHTML != null && (_n || (_n = !0, p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))), t.selected != null && !Ht && (p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), Ht = !0);
      }
      function kn(e, t) {
        t.value != null && e.setAttribute("value", Mr(Ji(t.value)));
      }
      var An = Array.isArray;
      function Kt(e) {
        return An(e);
      }
      var Eo;
      Eo = !1;
      function Vu() {
        var e = fa();
        return e ? `

Check the render method of \`` + e + "`." : "";
      }
      var nc = ["value", "defaultValue"];
      function kv(e) {
        {
          Co("select", e);
          for (var t = 0; t < nc.length; t++) {
            var o = nc[t];
            if (e[o] != null) {
              var u = Kt(e[o]);
              e.multiple && !u ? p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s", o, Vu()) : !e.multiple && u && p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s", o, Vu());
            }
          }
        }
      }
      function zi(e, t, o, u) {
        var d = e.options;
        if (t) {
          for (var h = o, y = {}, x = 0; x < h.length; x++)
            y["$" + h[x]] = !0;
          for (var w = 0; w < d.length; w++) {
            var D = y.hasOwnProperty("$" + d[w].value);
            d[w].selected !== D && (d[w].selected = D), D && u && (d[w].defaultSelected = !0);
          }
        } else {
          for (var F = Mr(Ji(o)), J = null, X = 0; X < d.length; X++) {
            if (d[X].value === F) {
              d[X].selected = !0, u && (d[X].defaultSelected = !0);
              return;
            }
            J === null && !d[X].disabled && (J = d[X]);
          }
          J !== null && (J.selected = !0);
        }
      }
      function rc(e, t) {
        return zt({}, t, {
          value: void 0
        });
      }
      function ac(e, t) {
        var o = e;
        kv(t), o._wrapperState = {
          wasMultiple: !!t.multiple
        }, t.value !== void 0 && t.defaultValue !== void 0 && !Eo && (p("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://reactjs.org/link/controlled-components"), Eo = !0);
      }
      function Nv(e, t) {
        var o = e;
        o.multiple = !!t.multiple;
        var u = t.value;
        u != null ? zi(o, !!t.multiple, u, !1) : t.defaultValue != null && zi(o, !!t.multiple, t.defaultValue, !0);
      }
      function W0(e, t) {
        var o = e, u = o._wrapperState.wasMultiple;
        o._wrapperState.wasMultiple = !!t.multiple;
        var d = t.value;
        d != null ? zi(o, !!t.multiple, d, !1) : u !== !!t.multiple && (t.defaultValue != null ? zi(o, !!t.multiple, t.defaultValue, !0) : zi(o, !!t.multiple, t.multiple ? [] : "", !1));
      }
      function Y0(e, t) {
        var o = e, u = t.value;
        u != null && zi(o, !!t.multiple, u, !1);
      }
      var Mv = !1;
      function Dv(e, t) {
        var o = e;
        if (t.dangerouslySetInnerHTML != null)
          throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
        var u = zt({}, t, {
          value: void 0,
          defaultValue: void 0,
          children: Mr(o._wrapperState.initialValue)
        });
        return u;
      }
      function rm(e, t) {
        var o = e;
        Co("textarea", t), t.value !== void 0 && t.defaultValue !== void 0 && !Mv && (p("%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://reactjs.org/link/controlled-components", fa() || "A component"), Mv = !0);
        var u = t.value;
        if (u == null) {
          var d = t.children, h = t.defaultValue;
          if (d != null) {
            p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");
            {
              if (h != null)
                throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");
              if (Kt(d)) {
                if (d.length > 1)
                  throw new Error("<textarea> can only have at most one child.");
                d = d[0];
              }
              h = d;
            }
          }
          h == null && (h = ""), u = h;
        }
        o._wrapperState = {
          initialValue: Ji(u)
        };
      }
      function am(e, t) {
        var o = e, u = Ji(t.value), d = Ji(t.defaultValue);
        if (u != null) {
          var h = Mr(u);
          h !== o.value && (o.value = h), t.defaultValue == null && o.defaultValue !== h && (o.defaultValue = h);
        }
        d != null && (o.defaultValue = Mr(d));
      }
      function im(e, t) {
        var o = e, u = o.textContent;
        u === o._wrapperState.initialValue && u !== "" && u !== null && (o.value = u);
      }
      function Lv(e, t) {
        am(e, t);
      }
      var xo = "http://www.w3.org/1999/xhtml", q0 = "http://www.w3.org/1998/Math/MathML", Av = "http://www.w3.org/2000/svg";
      function bf(e) {
        switch (e) {
          case "svg":
            return Av;
          case "math":
            return q0;
          default:
            return xo;
        }
      }
      function Pv(e, t) {
        return e == null || e === xo ? bf(t) : e === Av && t === "foreignObject" ? xo : e;
      }
      var G0 = function(e) {
        return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, o, u, d) {
          MSApp.execUnsafeLocalFunction(function() {
            return e(t, o, u, d);
          });
        } : e;
      }, Ef, om = G0(function(e, t) {
        if (e.namespaceURI === Av && !("innerHTML" in e)) {
          Ef = Ef || document.createElement("div"), Ef.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>";
          for (var o = Ef.firstChild; e.firstChild; )
            e.removeChild(e.firstChild);
          for (; o.firstChild; )
            e.appendChild(o.firstChild);
          return;
        }
        e.innerHTML = t;
      }), Na = 1, Ro = 3, yr = 8, ji = 9, Vl = 11, xf = function(e, t) {
        if (t) {
          var o = e.firstChild;
          if (o && o === e.lastChild && o.nodeType === Ro) {
            o.nodeValue = t;
            return;
          }
        }
        e.textContent = t;
      }, lm = {
        animation: ["animationDelay", "animationDirection", "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationTimingFunction"],
        background: ["backgroundAttachment", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPositionX", "backgroundPositionY", "backgroundRepeat", "backgroundSize"],
        backgroundPosition: ["backgroundPositionX", "backgroundPositionY"],
        border: ["borderBottomColor", "borderBottomStyle", "borderBottomWidth", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderTopColor", "borderTopStyle", "borderTopWidth"],
        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"],
        fontVariant: ["fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition"],
        gap: ["columnGap", "rowGap"],
        grid: ["gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows"],
        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"],
        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"]
      }, Bu = {
        animationIterationCount: !0,
        aspectRatio: !0,
        borderImageOutset: !0,
        borderImageSlice: !0,
        borderImageWidth: !0,
        boxFlex: !0,
        boxFlexGroup: !0,
        boxOrdinalGroup: !0,
        columnCount: !0,
        columns: !0,
        flex: !0,
        flexGrow: !0,
        flexPositive: !0,
        flexShrink: !0,
        flexNegative: !0,
        flexOrder: !0,
        gridArea: !0,
        gridRow: !0,
        gridRowEnd: !0,
        gridRowSpan: !0,
        gridRowStart: !0,
        gridColumn: !0,
        gridColumnEnd: !0,
        gridColumnSpan: !0,
        gridColumnStart: !0,
        fontWeight: !0,
        lineClamp: !0,
        lineHeight: !0,
        opacity: !0,
        order: !0,
        orphans: !0,
        tabSize: !0,
        widows: !0,
        zIndex: !0,
        zoom: !0,
        // SVG-related properties
        fillOpacity: !0,
        floodOpacity: !0,
        stopOpacity: !0,
        strokeDasharray: !0,
        strokeDashoffset: !0,
        strokeMiterlimit: !0,
        strokeOpacity: !0,
        strokeWidth: !0
      };
      function um(e, t) {
        return e + t.charAt(0).toUpperCase() + t.substring(1);
      }
      var sm = ["Webkit", "ms", "Moz", "O"];
      Object.keys(Bu).forEach(function(e) {
        sm.forEach(function(t) {
          Bu[um(t, e)] = Bu[e];
        });
      });
      function Rf(e, t, o) {
        var u = t == null || typeof t == "boolean" || t === "";
        return u ? "" : !o && typeof t == "number" && t !== 0 && !(Bu.hasOwnProperty(e) && Bu[e]) ? t + "px" : (Zt(t, e), ("" + t).trim());
      }
      var Wu = /([A-Z])/g, Q0 = /^ms-/;
      function K0(e) {
        return e.replace(Wu, "-$1").toLowerCase().replace(Q0, "-ms-");
      }
      var cm = function() {
      };
      {
        var fm = /^(?:webkit|moz|o)[A-Z]/, dm = /^-ms-/, ic = /-(.)/g, Yu = /;\s*$/, qu = {}, Gu = {}, vm = !1, Fv = !1, $v = function(e) {
          return e.replace(ic, function(t, o) {
            return o.toUpperCase();
          });
        }, zv = function(e) {
          qu.hasOwnProperty(e) && qu[e] || (qu[e] = !0, p(
            "Unsupported style property %s. Did you mean %s?",
            e,
            // As Andi Smith suggests
            // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
            // is converted to lowercase `ms`.
            $v(e.replace(dm, "ms-"))
          ));
        }, pm = function(e) {
          qu.hasOwnProperty(e) && qu[e] || (qu[e] = !0, p("Unsupported vendor-prefixed style property %s. Did you mean %s?", e, e.charAt(0).toUpperCase() + e.slice(1)));
        }, hm = function(e, t) {
          Gu.hasOwnProperty(t) && Gu[t] || (Gu[t] = !0, p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, e, t.replace(Yu, "")));
        }, mm = function(e, t) {
          vm || (vm = !0, p("`NaN` is an invalid value for the `%s` css style property.", e));
        }, X0 = function(e, t) {
          Fv || (Fv = !0, p("`Infinity` is an invalid value for the `%s` css style property.", e));
        };
        cm = function(e, t) {
          e.indexOf("-") > -1 ? zv(e) : fm.test(e) ? pm(e) : Yu.test(t) && hm(e, t), typeof t == "number" && (isNaN(t) ? mm(e, t) : isFinite(t) || X0(e, t));
        };
      }
      var Z0 = cm;
      function J0(e) {
        {
          var t = "", o = "";
          for (var u in e)
            if (e.hasOwnProperty(u)) {
              var d = e[u];
              if (d != null) {
                var h = u.indexOf("--") === 0;
                t += o + (h ? u : K0(u)) + ":", t += Rf(u, d, h), o = ";";
              }
            }
          return t || null;
        }
      }
      function gm(e, t) {
        var o = e.style;
        for (var u in t)
          if (t.hasOwnProperty(u)) {
            var d = u.indexOf("--") === 0;
            d || Z0(u, t[u]);
            var h = Rf(u, t[u], d);
            u === "float" && (u = "cssFloat"), d ? o.setProperty(u, h) : o[u] = h;
          }
      }
      function eS(e) {
        return e == null || typeof e == "boolean" || e === "";
      }
      function vi(e) {
        var t = {};
        for (var o in e)
          for (var u = lm[o] || [o], d = 0; d < u.length; d++)
            t[u[d]] = o;
        return t;
      }
      function oc(e, t) {
        {
          if (!t)
            return;
          var o = vi(e), u = vi(t), d = {};
          for (var h in o) {
            var y = o[h], x = u[h];
            if (x && y !== x) {
              var w = y + "," + x;
              if (d[w])
                continue;
              d[w] = !0, p("%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.", eS(e[y]) ? "Removing" : "Updating", y, x);
            }
          }
        }
      }
      var ym = {
        area: !0,
        base: !0,
        br: !0,
        col: !0,
        embed: !0,
        hr: !0,
        img: !0,
        input: !0,
        keygen: !0,
        link: !0,
        meta: !0,
        param: !0,
        source: !0,
        track: !0,
        wbr: !0
        // NOTE: menuitem's close tag should be omitted, but that causes problems.
      }, Sm = zt({
        menuitem: !0
      }, ym), Cm = "__html";
      function wf(e, t) {
        if (t) {
          if (Sm[e] && (t.children != null || t.dangerouslySetInnerHTML != null))
            throw new Error(e + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
          if (t.dangerouslySetInnerHTML != null) {
            if (t.children != null)
              throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
            if (typeof t.dangerouslySetInnerHTML != "object" || !(Cm in t.dangerouslySetInnerHTML))
              throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");
          }
          if (!t.suppressContentEditableWarning && t.contentEditable && t.children != null && p("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."), t.style != null && typeof t.style != "object")
            throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");
        }
      }
      function wo(e, t) {
        if (e.indexOf("-") === -1)
          return typeof t.is == "string";
        switch (e) {
          // These are reserved SVG and MathML elements.
          // We don't mind this list too much because we expect it to never grow.
          // The alternative is to track the namespace in a few places which is convoluted.
          // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
          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 Tf = {
        // HTML
        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",
        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",
        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",
        // SVG
        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",
        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",
        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"
      }, bm = {
        "aria-current": 0,
        // state
        "aria-description": 0,
        "aria-details": 0,
        "aria-disabled": 0,
        // state
        "aria-hidden": 0,
        // state
        "aria-invalid": 0,
        // state
        "aria-keyshortcuts": 0,
        "aria-label": 0,
        "aria-roledescription": 0,
        // Widget Attributes
        "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,
        // Live Region Attributes
        "aria-atomic": 0,
        "aria-busy": 0,
        "aria-live": 0,
        "aria-relevant": 0,
        // Drag-and-Drop Attributes
        "aria-dropeffect": 0,
        "aria-grabbed": 0,
        // Relationship Attributes
        "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
      }, Hi = {}, jv = new RegExp("^(aria)-[" + nt + "]*$"), lc = new RegExp("^(aria)[A-Z][" + nt + "]*$");
      function Hv(e, t) {
        {
          if (ze.call(Hi, t) && Hi[t])
            return !0;
          if (lc.test(t)) {
            var o = "aria-" + t.slice(4).toLowerCase(), u = bm.hasOwnProperty(o) ? o : null;
            if (u == null)
              return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", t), Hi[t] = !0, !0;
            if (t !== u)
              return p("Invalid ARIA attribute `%s`. Did you mean `%s`?", t, u), Hi[t] = !0, !0;
          }
          if (jv.test(t)) {
            var d = t.toLowerCase(), h = bm.hasOwnProperty(d) ? d : null;
            if (h == null)
              return Hi[t] = !0, !1;
            if (t !== h)
              return p("Unknown ARIA attribute `%s`. Did you mean `%s`?", t, h), Hi[t] = !0, !0;
          }
        }
        return !0;
      }
      function Em(e, t) {
        {
          var o = [];
          for (var u in t) {
            var d = Hv(e, u);
            d || o.push(u);
          }
          var h = o.map(function(y) {
            return "`" + y + "`";
          }).join(", ");
          o.length === 1 ? p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", h, e) : o.length > 1 && p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", h, e);
        }
      }
      function Of(e, t) {
        wo(e, t) || Em(e, t);
      }
      var Bl = !1;
      function Iv(e, t) {
        {
          if (e !== "input" && e !== "textarea" && e !== "select")
            return;
          t != null && t.value === null && !Bl && (Bl = !0, e === "select" && t.multiple ? p("`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) : p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", e));
        }
      }
      var Uv = function() {
      };
      {
        var Dr = {}, Vv = /^on./, xm = /^on[^A-Z]/, Rm = new RegExp("^(aria)-[" + nt + "]*$"), wm = new RegExp("^(aria)[A-Z][" + nt + "]*$");
        Uv = function(e, t, o, u) {
          if (ze.call(Dr, t) && Dr[t])
            return !0;
          var d = t.toLowerCase();
          if (d === "onfocusin" || d === "onfocusout")
            return p("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."), Dr[t] = !0, !0;
          if (u != null) {
            var h = u.registrationNameDependencies, y = u.possibleRegistrationNames;
            if (h.hasOwnProperty(t))
              return !0;
            var x = y.hasOwnProperty(d) ? y[d] : null;
            if (x != null)
              return p("Invalid event handler property `%s`. Did you mean `%s`?", t, x), Dr[t] = !0, !0;
            if (Vv.test(t))
              return p("Unknown event handler property `%s`. It will be ignored.", t), Dr[t] = !0, !0;
          } else if (Vv.test(t))
            return xm.test(t) && p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", t), Dr[t] = !0, !0;
          if (Rm.test(t) || wm.test(t))
            return !0;
          if (d === "innerhtml")
            return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."), Dr[t] = !0, !0;
          if (d === "aria")
            return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."), Dr[t] = !0, !0;
          if (d === "is" && o !== null && o !== void 0 && typeof o != "string")
            return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof o), Dr[t] = !0, !0;
          if (typeof o == "number" && isNaN(o))
            return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", t), Dr[t] = !0, !0;
          var w = fr(t), D = w !== null && w.type === nr;
          if (Tf.hasOwnProperty(d)) {
            var F = Tf[d];
            if (F !== t)
              return p("Invalid DOM property `%s`. Did you mean `%s`?", t, F), Dr[t] = !0, !0;
          } else if (!D && t !== d)
            return p("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, d), Dr[t] = !0, !0;
          return typeof o == "boolean" && mr(t, o, w, !1) ? (o ? p('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()}.', o, t, t, o, t) : p('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\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', o, t, t, o, t, t, t), Dr[t] = !0, !0) : D ? !0 : mr(t, o, w, !1) ? (Dr[t] = !0, !1) : ((o === "false" || o === "true") && w !== null && w.type === zn && (p("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?", o, t, o === "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, o), Dr[t] = !0), !0);
        };
      }
      var Tm = function(e, t, o) {
        {
          var u = [];
          for (var d in t) {
            var h = Uv(e, d, t[d], o);
            h || u.push(d);
          }
          var y = u.map(function(x) {
            return "`" + x + "`";
          }).join(", ");
          u.length === 1 ? p("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://reactjs.org/link/attribute-behavior ", y, e) : u.length > 1 && p("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://reactjs.org/link/attribute-behavior ", y, e);
        }
      };
      function Om(e, t, o) {
        wo(e, t) || Tm(e, t, o);
      }
      var To = 1, uc = 2, Wl = 4, tS = To | uc | Wl, sc = null;
      function cc(e) {
        sc !== null && p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."), sc = e;
      }
      function nS() {
        sc === null && p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."), sc = null;
      }
      function _m(e) {
        return e === sc;
      }
      function _f(e) {
        var t = e.target || e.srcElement || window;
        return t.correspondingUseElement && (t = t.correspondingUseElement), t.nodeType === Ro ? t.parentNode : t;
      }
      var Nn = null, cl = null, Oo = null;
      function Qu(e) {
        var t = _s(e);
        if (t) {
          if (typeof Nn != "function")
            throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");
          var o = t.stateNode;
          if (o) {
            var u = Lg(o);
            Nn(t.stateNode, t.type, u);
          }
        }
      }
      function km(e) {
        Nn = e;
      }
      function kf(e) {
        cl ? Oo ? Oo.push(e) : Oo = [e] : cl = e;
      }
      function fc() {
        return cl !== null || Oo !== null;
      }
      function dc() {
        if (cl) {
          var e = cl, t = Oo;
          if (cl = null, Oo = null, Qu(e), t)
            for (var o = 0; o < t.length; o++)
              Qu(t[o]);
        }
      }
      var Yl = function(e, t) {
        return e(t);
      }, Bv = function() {
      }, Wv = !1;
      function rS() {
        var e = fc();
        e && (Bv(), dc());
      }
      function Yv(e, t, o) {
        if (Wv)
          return e(t, o);
        Wv = !0;
        try {
          return Yl(e, t, o);
        } finally {
          Wv = !1, rS();
        }
      }
      function Nf(e, t, o) {
        Yl = e, Bv = o;
      }
      function Mf(e) {
        return e === "button" || e === "input" || e === "select" || e === "textarea";
      }
      function qv(e, t, o) {
        switch (e) {
          case "onClick":
          case "onClickCapture":
          case "onDoubleClick":
          case "onDoubleClickCapture":
          case "onMouseDown":
          case "onMouseDownCapture":
          case "onMouseMove":
          case "onMouseMoveCapture":
          case "onMouseUp":
          case "onMouseUpCapture":
          case "onMouseEnter":
            return !!(o.disabled && Mf(t));
          default:
            return !1;
        }
      }
      function ql(e, t) {
        var o = e.stateNode;
        if (o === null)
          return null;
        var u = Lg(o);
        if (u === null)
          return null;
        var d = u[t];
        if (qv(t, e.type, u))
          return null;
        if (d && typeof d != "function")
          throw new Error("Expected `" + t + "` listener to be a function, instead got a value of `" + typeof d + "` type.");
        return d;
      }
      var vc = !1;
      if (Ut)
        try {
          var Gl = {};
          Object.defineProperty(Gl, "passive", {
            get: function() {
              vc = !0;
            }
          }), window.addEventListener("test", Gl, Gl), window.removeEventListener("test", Gl, Gl);
        } catch {
          vc = !1;
        }
      function Nm(e, t, o, u, d, h, y, x, w) {
        var D = Array.prototype.slice.call(arguments, 3);
        try {
          t.apply(o, D);
        } catch (F) {
          this.onError(F);
        }
      }
      var Gv = Nm;
      if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
        var Qv = document.createElement("react");
        Gv = function(t, o, u, d, h, y, x, w, D) {
          if (typeof document > "u" || document === null)
            throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
          var F = document.createEvent("Event"), J = !1, X = !0, fe = window.event, he = Object.getOwnPropertyDescriptor(window, "event");
          function be() {
            Qv.removeEventListener(Ee, ht, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = fe);
          }
          var We = Array.prototype.slice.call(arguments, 3);
          function ht() {
            J = !0, be(), o.apply(u, We), X = !1;
          }
          var ft, tn = !1, Wt = !1;
          function oe(le) {
            if (ft = le.error, tn = !0, ft === null && le.colno === 0 && le.lineno === 0 && (Wt = !0), le.defaultPrevented && ft != null && typeof ft == "object")
              try {
                ft._suppressLogging = !0;
              } catch {
              }
          }
          var Ee = "react-" + (t || "invokeguardedcallback");
          if (window.addEventListener("error", oe), Qv.addEventListener(Ee, ht, !1), F.initEvent(Ee, !1, !1), Qv.dispatchEvent(F), he && Object.defineProperty(window, "event", he), J && X && (tn ? Wt && (ft = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : ft = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(ft)), window.removeEventListener("error", oe), !J)
            return be(), Nm.apply(this, arguments);
        };
      }
      var aS = Gv, fl = !1, Ii = null, pc = !1, dl = null, eo = {
        onError: function(e) {
          fl = !0, Ii = e;
        }
      };
      function Ql(e, t, o, u, d, h, y, x, w) {
        fl = !1, Ii = null, aS.apply(eo, arguments);
      }
      function _o(e, t, o, u, d, h, y, x, w) {
        if (Ql.apply(this, arguments), fl) {
          var D = Xv();
          pc || (pc = !0, dl = D);
        }
      }
      function Kv() {
        if (pc) {
          var e = dl;
          throw pc = !1, dl = null, e;
        }
      }
      function iS() {
        return fl;
      }
      function Xv() {
        if (fl) {
          var e = Ii;
          return fl = !1, Ii = null, e;
        } else
          throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
      }
      function pi(e) {
        return e._reactInternals;
      }
      function hc(e) {
        return e._reactInternals !== void 0;
      }
      function Ku(e, t) {
        e._reactInternals = t;
      }
      var pt = (
        /*                      */
        0
      ), vl = (
        /*                */
        1
      ), In = (
        /*                    */
        2
      ), Ft = (
        /*                       */
        4
      ), vn = (
        /*                */
        16
      ), yn = (
        /*                 */
        32
      ), to = (
        /*                     */
        64
      ), xt = (
        /*                   */
        128
      ), ar = (
        /*            */
        256
      ), Ma = (
        /*                          */
        512
      ), hi = (
        /*                     */
        1024
      ), Yn = (
        /*                      */
        2048
      ), mi = (
        /*                    */
        4096
      ), pl = (
        /*                   */
        8192
      ), mc = (
        /*             */
        16384
      ), Df = Yn | Ft | to | Ma | hi | mc, Mm = (
        /*               */
        32767
      ), Ka = (
        /*                   */
        32768
      ), Lr = (
        /*                */
        65536
      ), gc = (
        /* */
        131072
      ), Zv = (
        /*                       */
        1048576
      ), Jv = (
        /*                    */
        2097152
      ), Da = (
        /*                 */
        4194304
      ), hl = (
        /*                */
        8388608
      ), La = (
        /*               */
        16777216
      ), Kl = (
        /*              */
        33554432
      ), Xu = (
        // TODO: Remove Update flag from before mutation phase by re-landing Visibility
        // flag logic (see #20043)
        Ft | hi | 0
      ), Aa = In | Ft | vn | yn | Ma | mi | pl, ta = Ft | to | Ma | pl, gi = Yn | vn, Hr = Da | hl | Jv, ko = l.ReactCurrentOwner;
      function Xa(e) {
        var t = e, o = e;
        if (e.alternate)
          for (; t.return; )
            t = t.return;
        else {
          var u = t;
          do
            t = u, (t.flags & (In | mi)) !== pt && (o = t.return), u = t.return;
          while (u);
        }
        return t.tag === T ? o : null;
      }
      function ep(e) {
        if (e.tag === I) {
          var t = e.memoizedState;
          if (t === null) {
            var o = e.alternate;
            o !== null && (t = o.memoizedState);
          }
          if (t !== null)
            return t.dehydrated;
        }
        return null;
      }
      function Lf(e) {
        return e.tag === T ? e.stateNode.containerInfo : null;
      }
      function tp(e) {
        return Xa(e) === e;
      }
      function Za(e) {
        {
          var t = ko.current;
          if (t !== null && t.tag === E) {
            var o = t, u = o.stateNode;
            u._warnedAboutRefsInRender || p("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", Ot(o) || "A component"), u._warnedAboutRefsInRender = !0;
          }
        }
        var d = pi(e);
        return d ? Xa(d) === d : !1;
      }
      function Pa(e) {
        if (Xa(e) !== e)
          throw new Error("Unable to find node on an unmounted component.");
      }
      function Un(e) {
        var t = e.alternate;
        if (!t) {
          var o = Xa(e);
          if (o === null)
            throw new Error("Unable to find node on an unmounted component.");
          return o !== e ? null : e;
        }
        for (var u = e, d = t; ; ) {
          var h = u.return;
          if (h === null)
            break;
          var y = h.alternate;
          if (y === null) {
            var x = h.return;
            if (x !== null) {
              u = d = x;
              continue;
            }
            break;
          }
          if (h.child === y.child) {
            for (var w = h.child; w; ) {
              if (w === u)
                return Pa(h), e;
              if (w === d)
                return Pa(h), t;
              w = w.sibling;
            }
            throw new Error("Unable to find node on an unmounted component.");
          }
          if (u.return !== d.return)
            u = h, d = y;
          else {
            for (var D = !1, F = h.child; F; ) {
              if (F === u) {
                D = !0, u = h, d = y;
                break;
              }
              if (F === d) {
                D = !0, d = h, u = y;
                break;
              }
              F = F.sibling;
            }
            if (!D) {
              for (F = y.child; F; ) {
                if (F === u) {
                  D = !0, u = y, d = h;
                  break;
                }
                if (F === d) {
                  D = !0, d = y, u = h;
                  break;
                }
                F = F.sibling;
              }
              if (!D)
                throw new 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 (u.alternate !== d)
            throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
        }
        if (u.tag !== T)
          throw new Error("Unable to find node on an unmounted component.");
        return u.stateNode.current === u ? e : t;
      }
      function yi(e) {
        var t = Un(e);
        return t !== null ? np(t) : null;
      }
      function np(e) {
        if (e.tag === A || e.tag === P)
          return e;
        for (var t = e.child; t !== null; ) {
          var o = np(t);
          if (o !== null)
            return o;
          t = t.sibling;
        }
        return null;
      }
      function Dm(e) {
        var t = Un(e);
        return t !== null ? Af(t) : null;
      }
      function Af(e) {
        if (e.tag === A || e.tag === P)
          return e;
        for (var t = e.child; t !== null; ) {
          if (t.tag !== _) {
            var o = Af(t);
            if (o !== null)
              return o;
          }
          t = t.sibling;
        }
        return null;
      }
      var Pf = a.unstable_scheduleCallback, Lm = a.unstable_cancelCallback, Ff = a.unstable_shouldYield, Am = a.unstable_requestPaint, Xn = a.unstable_now, rp = a.unstable_getCurrentPriorityLevel, $f = a.unstable_ImmediatePriority, Xl = a.unstable_UserBlockingPriority, no = a.unstable_NormalPriority, Pm = a.unstable_LowPriority, zf = a.unstable_IdlePriority, Zu = a.unstable_yieldValue, Fm = a.unstable_setDisableYieldValue, No = null, Rr = null, He = null, Si = !1, Ja = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u";
      function ap(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 p("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"), !0;
        try {
          Ue && (e = zt({}, e, {
            getLaneLabelMap: Mo,
            injectProfilingHooks: $m
          })), No = t.inject(e), Rr = t;
        } catch (o) {
          p("React instrumentation encountered an error: %s.", o);
        }
        return !!t.checkDCE;
      }
      function ip(e, t) {
        if (Rr && typeof Rr.onScheduleFiberRoot == "function")
          try {
            Rr.onScheduleFiberRoot(No, e, t);
          } catch (o) {
            Si || (Si = !0, p("React instrumentation encountered an error: %s", o));
          }
      }
      function Ju(e, t) {
        if (Rr && typeof Rr.onCommitFiberRoot == "function")
          try {
            var o = (e.current.flags & xt) === xt;
            if (Ke) {
              var u;
              switch (t) {
                case vr:
                  u = $f;
                  break;
                case Lo:
                  u = Xl;
                  break;
                case ro:
                  u = no;
                  break;
                case fs:
                  u = zf;
                  break;
                default:
                  u = no;
                  break;
              }
              Rr.onCommitFiberRoot(No, e, u, o);
            }
          } catch (d) {
            Si || (Si = !0, p("React instrumentation encountered an error: %s", d));
          }
      }
      function Ci(e) {
        if (Rr && typeof Rr.onPostCommitFiberRoot == "function")
          try {
            Rr.onPostCommitFiberRoot(No, e);
          } catch (t) {
            Si || (Si = !0, p("React instrumentation encountered an error: %s", t));
          }
      }
      function Zl(e) {
        if (Rr && typeof Rr.onCommitFiberUnmount == "function")
          try {
            Rr.onCommitFiberUnmount(No, e);
          } catch (t) {
            Si || (Si = !0, p("React instrumentation encountered an error: %s", t));
          }
      }
      function Sr(e) {
        if (typeof Zu == "function" && (Fm(e), f(e)), Rr && typeof Rr.setStrictMode == "function")
          try {
            Rr.setStrictMode(No, e);
          } catch (t) {
            Si || (Si = !0, p("React instrumentation encountered an error: %s", t));
          }
      }
      function $m(e) {
        He = e;
      }
      function Mo() {
        {
          for (var e = /* @__PURE__ */ new Map(), t = 1, o = 0; o < Ec; o++) {
            var u = lS(t);
            e.set(t, u), t *= 2;
          }
          return e;
        }
      }
      function ml(e) {
        He !== null && typeof He.markCommitStarted == "function" && He.markCommitStarted(e);
      }
      function jf() {
        He !== null && typeof He.markCommitStopped == "function" && He.markCommitStopped();
      }
      function es(e) {
        He !== null && typeof He.markComponentRenderStarted == "function" && He.markComponentRenderStarted(e);
      }
      function Fa() {
        He !== null && typeof He.markComponentRenderStopped == "function" && He.markComponentRenderStopped();
      }
      function gl(e) {
        He !== null && typeof He.markComponentPassiveEffectMountStarted == "function" && He.markComponentPassiveEffectMountStarted(e);
      }
      function Hf() {
        He !== null && typeof He.markComponentPassiveEffectMountStopped == "function" && He.markComponentPassiveEffectMountStopped();
      }
      function zm(e) {
        He !== null && typeof He.markComponentPassiveEffectUnmountStarted == "function" && He.markComponentPassiveEffectUnmountStarted(e);
      }
      function If() {
        He !== null && typeof He.markComponentPassiveEffectUnmountStopped == "function" && He.markComponentPassiveEffectUnmountStopped();
      }
      function jm(e) {
        He !== null && typeof He.markComponentLayoutEffectMountStarted == "function" && He.markComponentLayoutEffectMountStarted(e);
      }
      function yc() {
        He !== null && typeof He.markComponentLayoutEffectMountStopped == "function" && He.markComponentLayoutEffectMountStopped();
      }
      function Ui(e) {
        He !== null && typeof He.markComponentLayoutEffectUnmountStarted == "function" && He.markComponentLayoutEffectUnmountStarted(e);
      }
      function ts() {
        He !== null && typeof He.markComponentLayoutEffectUnmountStopped == "function" && He.markComponentLayoutEffectUnmountStopped();
      }
      function Sc(e, t, o) {
        He !== null && typeof He.markComponentErrored == "function" && He.markComponentErrored(e, t, o);
      }
      function Jl(e, t, o) {
        He !== null && typeof He.markComponentSuspended == "function" && He.markComponentSuspended(e, t, o);
      }
      function op(e) {
        He !== null && typeof He.markLayoutEffectsStarted == "function" && He.markLayoutEffectsStarted(e);
      }
      function ns() {
        He !== null && typeof He.markLayoutEffectsStopped == "function" && He.markLayoutEffectsStopped();
      }
      function Hm(e) {
        He !== null && typeof He.markPassiveEffectsStarted == "function" && He.markPassiveEffectsStarted(e);
      }
      function lp() {
        He !== null && typeof He.markPassiveEffectsStopped == "function" && He.markPassiveEffectsStopped();
      }
      function qn(e) {
        He !== null && typeof He.markRenderStarted == "function" && He.markRenderStarted(e);
      }
      function Uf() {
        He !== null && typeof He.markRenderYielded == "function" && He.markRenderYielded();
      }
      function Vf() {
        He !== null && typeof He.markRenderStopped == "function" && He.markRenderStopped();
      }
      function up(e) {
        He !== null && typeof He.markRenderScheduled == "function" && He.markRenderScheduled(e);
      }
      function Bf(e, t) {
        He !== null && typeof He.markForceUpdateScheduled == "function" && He.markForceUpdateScheduled(e, t);
      }
      function Cc(e, t) {
        He !== null && typeof He.markStateUpdateScheduled == "function" && He.markStateUpdateScheduled(e, t);
      }
      var it = (
        /*                         */
        0
      ), st = (
        /*                 */
        1
      ), Rt = (
        /*                    */
        2
      ), It = (
        /*               */
        8
      ), ei = (
        /*              */
        16
      ), rs = Math.clz32 ? Math.clz32 : na, bc = Math.log, oS = Math.LN2;
      function na(e) {
        var t = e >>> 0;
        return t === 0 ? 32 : 31 - (bc(t) / oS | 0) | 0;
      }
      var Ec = 31, ke = (
        /*                        */
        0
      ), Cr = (
        /*                          */
        0
      ), dt = (
        /*                        */
        1
      ), Ir = (
        /*    */
        2
      ), ti = (
        /*             */
        4
      ), Do = (
        /*            */
        8
      ), bi = (
        /*                     */
        16
      ), as = (
        /*                */
        32
      ), eu = (
        /*                       */
        4194240
      ), is = (
        /*                        */
        64
      ), Wf = (
        /*                        */
        128
      ), Yf = (
        /*                        */
        256
      ), qf = (
        /*                        */
        512
      ), Gf = (
        /*                        */
        1024
      ), Qf = (
        /*                        */
        2048
      ), tu = (
        /*                        */
        4096
      ), Kf = (
        /*                        */
        8192
      ), os = (
        /*                        */
        16384
      ), ls = (
        /*                       */
        32768
      ), Xf = (
        /*                       */
        65536
      ), xc = (
        /*                       */
        131072
      ), Zf = (
        /*                       */
        262144
      ), Jf = (
        /*                       */
        524288
      ), ed = (
        /*                       */
        1048576
      ), td = (
        /*                       */
        2097152
      ), us = (
        /*                            */
        130023424
      ), nu = (
        /*                             */
        4194304
      ), nd = (
        /*                             */
        8388608
      ), rd = (
        /*                             */
        16777216
      ), sp = (
        /*                             */
        33554432
      ), ad = (
        /*                             */
        67108864
      ), Im = nu, Rc = (
        /*          */
        134217728
      ), cp = (
        /*                          */
        268435455
      ), ss = (
        /*               */
        268435456
      ), yl = (
        /*                        */
        536870912
      ), ra = (
        /*                   */
        1073741824
      );
      function lS(e) {
        {
          if (e & dt)
            return "Sync";
          if (e & Ir)
            return "InputContinuousHydration";
          if (e & ti)
            return "InputContinuous";
          if (e & Do)
            return "DefaultHydration";
          if (e & bi)
            return "Default";
          if (e & as)
            return "TransitionHydration";
          if (e & eu)
            return "Transition";
          if (e & us)
            return "Retry";
          if (e & Rc)
            return "SelectiveHydration";
          if (e & ss)
            return "IdleHydration";
          if (e & yl)
            return "Idle";
          if (e & ra)
            return "Offscreen";
        }
      }
      var Pn = -1, id = is, $a = nu;
      function ru(e) {
        switch (dr(e)) {
          case dt:
            return dt;
          case Ir:
            return Ir;
          case ti:
            return ti;
          case Do:
            return Do;
          case bi:
            return bi;
          case as:
            return as;
          case is:
          case Wf:
          case Yf:
          case qf:
          case Gf:
          case Qf:
          case tu:
          case Kf:
          case os:
          case ls:
          case Xf:
          case xc:
          case Zf:
          case Jf:
          case ed:
          case td:
            return e & eu;
          case nu:
          case nd:
          case rd:
          case sp:
          case ad:
            return e & us;
          case Rc:
            return Rc;
          case ss:
            return ss;
          case yl:
            return yl;
          case ra:
            return ra;
          default:
            return p("Should have found matching lanes. This is a bug in React."), e;
        }
      }
      function au(e, t) {
        var o = e.pendingLanes;
        if (o === ke)
          return ke;
        var u = ke, d = e.suspendedLanes, h = e.pingedLanes, y = o & cp;
        if (y !== ke) {
          var x = y & ~d;
          if (x !== ke)
            u = ru(x);
          else {
            var w = y & h;
            w !== ke && (u = ru(w));
          }
        } else {
          var D = o & ~d;
          D !== ke ? u = ru(D) : h !== ke && (u = ru(h));
        }
        if (u === ke)
          return ke;
        if (t !== ke && t !== u && // If we already suspended with a delay, then interrupting is fine. Don't
        // bother waiting until the root is complete.
        (t & d) === ke) {
          var F = dr(u), J = dr(t);
          if (
            // Tests whether the next lane is equal or lower priority than the wip
            // one. This works because the bits decrease in priority as you go left.
            F >= J || // Default priority updates should not interrupt transition updates. The
            // only difference between default updates and transition updates is that
            // default updates do not support refresh transitions.
            F === bi && (J & eu) !== ke
          )
            return t;
        }
        (u & ti) !== ke && (u |= o & bi);
        var X = e.entangledLanes;
        if (X !== ke)
          for (var fe = e.entanglements, he = u & X; he > 0; ) {
            var be = Cl(he), We = 1 << be;
            u |= fe[be], he &= ~We;
          }
        return u;
      }
      function Um(e, t) {
        for (var o = e.eventTimes, u = Pn; t > 0; ) {
          var d = Cl(t), h = 1 << d, y = o[d];
          y > u && (u = y), t &= ~h;
        }
        return u;
      }
      function Vm(e, t) {
        switch (e) {
          case dt:
          case Ir:
          case ti:
            return t + 250;
          case Do:
          case bi:
          case as:
          case is:
          case Wf:
          case Yf:
          case qf:
          case Gf:
          case Qf:
          case tu:
          case Kf:
          case os:
          case ls:
          case Xf:
          case xc:
          case Zf:
          case Jf:
          case ed:
          case td:
            return t + 5e3;
          case nu:
          case nd:
          case rd:
          case sp:
          case ad:
            return Pn;
          case Rc:
          case ss:
          case yl:
          case ra:
            return Pn;
          default:
            return p("Should have found matching lanes. This is a bug in React."), Pn;
        }
      }
      function Bm(e, t) {
        for (var o = e.pendingLanes, u = e.suspendedLanes, d = e.pingedLanes, h = e.expirationTimes, y = o; y > 0; ) {
          var x = Cl(y), w = 1 << x, D = h[x];
          D === Pn ? ((w & u) === ke || (w & d) !== ke) && (h[x] = Vm(w, t)) : D <= t && (e.expiredLanes |= w), y &= ~w;
        }
      }
      function fp(e) {
        return ru(e.pendingLanes);
      }
      function Sl(e) {
        var t = e.pendingLanes & ~ra;
        return t !== ke ? t : t & ra ? ra : ke;
      }
      function dp(e) {
        return (e & dt) !== ke;
      }
      function wc(e) {
        return (e & cp) !== ke;
      }
      function Wm(e) {
        return (e & us) === e;
      }
      function Ym(e) {
        var t = dt | ti | bi;
        return (e & t) === ke;
      }
      function qm(e) {
        return (e & eu) === e;
      }
      function Tc(e, t) {
        var o = Ir | ti | Do | bi;
        return (t & o) !== ke;
      }
      function Gm(e, t) {
        return (t & e.expiredLanes) !== ke;
      }
      function vp(e) {
        return (e & eu) !== ke;
      }
      function Qm() {
        var e = id;
        return id <<= 1, (id & eu) === ke && (id = is), e;
      }
      function za() {
        var e = $a;
        return $a <<= 1, ($a & us) === ke && ($a = nu), e;
      }
      function dr(e) {
        return e & -e;
      }
      function cs(e) {
        return dr(e);
      }
      function Cl(e) {
        return 31 - rs(e);
      }
      function od(e) {
        return Cl(e);
      }
      function ja(e, t) {
        return (e & t) !== ke;
      }
      function iu(e, t) {
        return (e & t) === t;
      }
      function At(e, t) {
        return e | t;
      }
      function Oc(e, t) {
        return e & ~t;
      }
      function ld(e, t) {
        return e & t;
      }
      function uS(e) {
        return e;
      }
      function Km(e, t) {
        return e !== Cr && e < t ? e : t;
      }
      function _c(e) {
        for (var t = [], o = 0; o < Ec; o++)
          t.push(e);
        return t;
      }
      function ou(e, t, o) {
        e.pendingLanes |= t, t !== yl && (e.suspendedLanes = ke, e.pingedLanes = ke);
        var u = e.eventTimes, d = od(t);
        u[d] = o;
      }
      function Xm(e, t) {
        e.suspendedLanes |= t, e.pingedLanes &= ~t;
        for (var o = e.expirationTimes, u = t; u > 0; ) {
          var d = Cl(u), h = 1 << d;
          o[d] = Pn, u &= ~h;
        }
      }
      function ud(e, t, o) {
        e.pingedLanes |= e.suspendedLanes & t;
      }
      function sd(e, t) {
        var o = e.pendingLanes & ~t;
        e.pendingLanes = t, e.suspendedLanes = ke, e.pingedLanes = ke, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t;
        for (var u = e.entanglements, d = e.eventTimes, h = e.expirationTimes, y = o; y > 0; ) {
          var x = Cl(y), w = 1 << x;
          u[x] = ke, d[x] = Pn, h[x] = Pn, y &= ~w;
        }
      }
      function pp(e, t) {
        for (var o = e.entangledLanes |= t, u = e.entanglements, d = o; d; ) {
          var h = Cl(d), y = 1 << h;
          // Is this one of the newly entangled lanes?
          y & t | // Is this lane transitively entangled with the newly entangled lanes?
          u[h] & t && (u[h] |= t), d &= ~y;
        }
      }
      function Zm(e, t) {
        var o = dr(t), u;
        switch (o) {
          case ti:
            u = Ir;
            break;
          case bi:
            u = Do;
            break;
          case is:
          case Wf:
          case Yf:
          case qf:
          case Gf:
          case Qf:
          case tu:
          case Kf:
          case os:
          case ls:
          case Xf:
          case xc:
          case Zf:
          case Jf:
          case ed:
          case td:
          case nu:
          case nd:
          case rd:
          case sp:
          case ad:
            u = as;
            break;
          case yl:
            u = ss;
            break;
          default:
            u = Cr;
            break;
        }
        return (u & (e.suspendedLanes | t)) !== Cr ? Cr : u;
      }
      function cd(e, t, o) {
        if (Ja)
          for (var u = e.pendingUpdatersLaneMap; o > 0; ) {
            var d = od(o), h = 1 << d, y = u[d];
            y.add(t), o &= ~h;
          }
      }
      function hp(e, t) {
        if (Ja)
          for (var o = e.pendingUpdatersLaneMap, u = e.memoizedUpdaters; t > 0; ) {
            var d = od(t), h = 1 << d, y = o[d];
            y.size > 0 && (y.forEach(function(x) {
              var w = x.alternate;
              (w === null || !u.has(w)) && u.add(x);
            }), y.clear()), t &= ~h;
          }
      }
      function kc(e, t) {
        return null;
      }
      var vr = dt, Lo = ti, ro = bi, fs = yl, ds = Cr;
      function Ei() {
        return ds;
      }
      function ir(e) {
        ds = e;
      }
      function aa(e, t) {
        var o = ds;
        try {
          return ds = e, t();
        } finally {
          ds = o;
        }
      }
      function sS(e, t) {
        return e !== 0 && e < t ? e : t;
      }
      function cS(e, t) {
        return e > t ? e : t;
      }
      function vs(e, t) {
        return e !== 0 && e < t;
      }
      function Ur(e) {
        var t = dr(e);
        return vs(vr, t) ? vs(Lo, t) ? wc(t) ? ro : fs : Lo : vr;
      }
      function fd(e) {
        var t = e.current.memoizedState;
        return t.isDehydrated;
      }
      var Ze;
      function ps(e) {
        Ze = e;
      }
      function mp(e) {
        Ze(e);
      }
      var dd;
      function fS(e) {
        dd = e;
      }
      var hs;
      function vd(e) {
        hs = e;
      }
      var pd;
      function Jm(e) {
        pd = e;
      }
      var gp;
      function eg(e) {
        gp = e;
      }
      var Nc = !1, ms = [], Gn = null, Ar = null, da = null, gs = /* @__PURE__ */ new Map(), ys = /* @__PURE__ */ new Map(), Pr = [], tg = [
        "mousedown",
        "mouseup",
        "touchcancel",
        "touchend",
        "touchstart",
        "auxclick",
        "dblclick",
        "pointercancel",
        "pointerdown",
        "pointerup",
        "dragend",
        "dragstart",
        "drop",
        "compositionend",
        "compositionstart",
        "keydown",
        "keypress",
        "keyup",
        "input",
        "textInput",
        // Intentionally camelCase
        "copy",
        "cut",
        "paste",
        "click",
        "change",
        "contextmenu",
        "reset",
        "submit"
      ];
      function ao(e) {
        return tg.indexOf(e) > -1;
      }
      function dS(e, t, o, u, d) {
        return {
          blockedOn: e,
          domEventName: t,
          eventSystemFlags: o,
          nativeEvent: d,
          targetContainers: [u]
        };
      }
      function yp(e, t) {
        switch (e) {
          case "focusin":
          case "focusout":
            Gn = null;
            break;
          case "dragenter":
          case "dragleave":
            Ar = null;
            break;
          case "mouseover":
          case "mouseout":
            da = null;
            break;
          case "pointerover":
          case "pointerout": {
            var o = t.pointerId;
            gs.delete(o);
            break;
          }
          case "gotpointercapture":
          case "lostpointercapture": {
            var u = t.pointerId;
            ys.delete(u);
            break;
          }
        }
      }
      function Ss(e, t, o, u, d, h) {
        if (e === null || e.nativeEvent !== h) {
          var y = dS(t, o, u, d, h);
          if (t !== null) {
            var x = _s(t);
            x !== null && dd(x);
          }
          return y;
        }
        e.eventSystemFlags |= u;
        var w = e.targetContainers;
        return d !== null && w.indexOf(d) === -1 && w.push(d), e;
      }
      function ng(e, t, o, u, d) {
        switch (t) {
          case "focusin": {
            var h = d;
            return Gn = Ss(Gn, e, t, o, u, h), !0;
          }
          case "dragenter": {
            var y = d;
            return Ar = Ss(Ar, e, t, o, u, y), !0;
          }
          case "mouseover": {
            var x = d;
            return da = Ss(da, e, t, o, u, x), !0;
          }
          case "pointerover": {
            var w = d, D = w.pointerId;
            return gs.set(D, Ss(gs.get(D) || null, e, t, o, u, w)), !0;
          }
          case "gotpointercapture": {
            var F = d, J = F.pointerId;
            return ys.set(J, Ss(ys.get(J) || null, e, t, o, u, F)), !0;
          }
        }
        return !1;
      }
      function Sp(e) {
        var t = Vc(e.target);
        if (t !== null) {
          var o = Xa(t);
          if (o !== null) {
            var u = o.tag;
            if (u === I) {
              var d = ep(o);
              if (d !== null) {
                e.blockedOn = d, gp(e.priority, function() {
                  hs(o);
                });
                return;
              }
            } else if (u === T) {
              var h = o.stateNode;
              if (fd(h)) {
                e.blockedOn = Lf(o);
                return;
              }
            }
          }
        }
        e.blockedOn = null;
      }
      function vS(e) {
        for (var t = pd(), o = {
          blockedOn: null,
          target: e,
          priority: t
        }, u = 0; u < Pr.length && vs(t, Pr[u].priority); u++)
          ;
        Pr.splice(u, 0, o), u === 0 && Sp(o);
      }
      function lu(e) {
        if (e.blockedOn !== null)
          return !1;
        for (var t = e.targetContainers; t.length > 0; ) {
          var o = t[0], u = ia(e.domEventName, e.eventSystemFlags, o, e.nativeEvent);
          if (u === null) {
            var d = e.nativeEvent, h = new d.constructor(d.type, d);
            cc(h), d.target.dispatchEvent(h), nS();
          } else {
            var y = _s(u);
            return y !== null && dd(y), e.blockedOn = u, !1;
          }
          t.shift();
        }
        return !0;
      }
      function hd(e, t, o) {
        lu(e) && o.delete(t);
      }
      function xi() {
        Nc = !1, Gn !== null && lu(Gn) && (Gn = null), Ar !== null && lu(Ar) && (Ar = null), da !== null && lu(da) && (da = null), gs.forEach(hd), ys.forEach(hd);
      }
      function Bt(e, t) {
        e.blockedOn === t && (e.blockedOn = null, Nc || (Nc = !0, a.unstable_scheduleCallback(a.unstable_NormalPriority, xi)));
      }
      function or(e) {
        if (ms.length > 0) {
          Bt(ms[0], e);
          for (var t = 1; t < ms.length; t++) {
            var o = ms[t];
            o.blockedOn === e && (o.blockedOn = null);
          }
        }
        Gn !== null && Bt(Gn, e), Ar !== null && Bt(Ar, e), da !== null && Bt(da, e);
        var u = function(x) {
          return Bt(x, e);
        };
        gs.forEach(u), ys.forEach(u);
        for (var d = 0; d < Pr.length; d++) {
          var h = Pr[d];
          h.blockedOn === e && (h.blockedOn = null);
        }
        for (; Pr.length > 0; ) {
          var y = Pr[0];
          if (y.blockedOn !== null)
            break;
          Sp(y), y.blockedOn === null && Pr.shift();
        }
      }
      var Vn = l.ReactCurrentBatchConfig, wr = !0;
      function Ha(e) {
        wr = !!e;
      }
      function Cs() {
        return wr;
      }
      function Tr(e, t, o) {
        var u = md(t), d;
        switch (u) {
          case vr:
            d = Mc;
            break;
          case Lo:
            d = uu;
            break;
          case ro:
          default:
            d = bs;
            break;
        }
        return d.bind(null, t, o, e);
      }
      function Mc(e, t, o, u) {
        var d = Ei(), h = Vn.transition;
        Vn.transition = null;
        try {
          ir(vr), bs(e, t, o, u);
        } finally {
          ir(d), Vn.transition = h;
        }
      }
      function uu(e, t, o, u) {
        var d = Ei(), h = Vn.transition;
        Vn.transition = null;
        try {
          ir(Lo), bs(e, t, o, u);
        } finally {
          ir(d), Vn.transition = h;
        }
      }
      function bs(e, t, o, u) {
        wr && Cp(e, t, o, u);
      }
      function Cp(e, t, o, u) {
        var d = ia(e, t, o, u);
        if (d === null) {
          kS(e, t, u, bl, o), yp(e, u);
          return;
        }
        if (ng(d, e, t, o, u)) {
          u.stopPropagation();
          return;
        }
        if (yp(e, u), t & Wl && ao(e)) {
          for (; d !== null; ) {
            var h = _s(d);
            h !== null && mp(h);
            var y = ia(e, t, o, u);
            if (y === null && kS(e, t, u, bl, o), y === d)
              break;
            d = y;
          }
          d !== null && u.stopPropagation();
          return;
        }
        kS(e, t, u, null, o);
      }
      var bl = null;
      function ia(e, t, o, u) {
        bl = null;
        var d = _f(u), h = Vc(d);
        if (h !== null) {
          var y = Xa(h);
          if (y === null)
            h = null;
          else {
            var x = y.tag;
            if (x === I) {
              var w = ep(y);
              if (w !== null)
                return w;
              h = null;
            } else if (x === T) {
              var D = y.stateNode;
              if (fd(D))
                return Lf(y);
              h = null;
            } else y !== h && (h = null);
          }
        }
        return bl = h, null;
      }
      function md(e) {
        switch (e) {
          // Used by SimpleEventPlugin:
          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 "touchcancel":
          case "touchend":
          case "touchstart":
          case "volumechange":
          // Used by polyfills:
          // eslint-disable-next-line no-fallthrough
          case "change":
          case "selectionchange":
          case "textInput":
          case "compositionstart":
          case "compositionend":
          case "compositionupdate":
          // Only enableCreateEventHandleAPI:
          // eslint-disable-next-line no-fallthrough
          case "beforeblur":
          case "afterblur":
          // Not used by React but could be by user code:
          // eslint-disable-next-line no-fallthrough
          case "beforeinput":
          case "blur":
          case "fullscreenchange":
          case "focus":
          case "hashchange":
          case "popstate":
          case "select":
          case "selectstart":
            return vr;
          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 "toggle":
          case "touchmove":
          case "wheel":
          // Not used by React but could be by user code:
          // eslint-disable-next-line no-fallthrough
          case "mouseenter":
          case "mouseleave":
          case "pointerenter":
          case "pointerleave":
            return Lo;
          case "message": {
            var t = rp();
            switch (t) {
              case $f:
                return vr;
              case Xl:
                return Lo;
              case no:
              case Pm:
                return ro;
              case zf:
                return fs;
              default:
                return ro;
            }
          }
          default:
            return ro;
        }
      }
      function Es(e, t, o) {
        return e.addEventListener(t, o, !1), o;
      }
      function Ao(e, t, o) {
        return e.addEventListener(t, o, !0), o;
      }
      function gd(e, t, o, u) {
        return e.addEventListener(t, o, {
          capture: !0,
          passive: u
        }), o;
      }
      function bp(e, t, o, u) {
        return e.addEventListener(t, o, {
          passive: u
        }), o;
      }
      var Ri = null, xs = null, wi = null;
      function yd(e) {
        return Ri = e, xs = Lc(), !0;
      }
      function Dc() {
        Ri = null, xs = null, wi = null;
      }
      function Sd() {
        if (wi)
          return wi;
        var e, t = xs, o = t.length, u, d = Lc(), h = d.length;
        for (e = 0; e < o && t[e] === d[e]; e++)
          ;
        var y = o - e;
        for (u = 1; u <= y && t[o - u] === d[h - u]; u++)
          ;
        var x = u > 1 ? 1 - u : void 0;
        return wi = d.slice(e, x), wi;
      }
      function Lc() {
        return "value" in Ri ? Ri.value : Ri.textContent;
      }
      function su(e) {
        var t, o = e.keyCode;
        return "charCode" in e ? (t = e.charCode, t === 0 && o === 13 && (t = 13)) : t = o, t === 10 && (t = 13), t >= 32 || t === 13 ? t : 0;
      }
      function Fr() {
        return !0;
      }
      function Po() {
        return !1;
      }
      function Zn(e) {
        function t(o, u, d, h, y) {
          this._reactName = o, this._targetInst = d, this.type = u, this.nativeEvent = h, this.target = y, this.currentTarget = null;
          for (var x in e)
            if (e.hasOwnProperty(x)) {
              var w = e[x];
              w ? this[x] = w(h) : this[x] = h[x];
            }
          var D = h.defaultPrevented != null ? h.defaultPrevented : h.returnValue === !1;
          return D ? this.isDefaultPrevented = Fr : this.isDefaultPrevented = Po, this.isPropagationStopped = Po, this;
        }
        return zt(t.prototype, {
          preventDefault: function() {
            this.defaultPrevented = !0;
            var o = this.nativeEvent;
            o && (o.preventDefault ? o.preventDefault() : typeof o.returnValue != "unknown" && (o.returnValue = !1), this.isDefaultPrevented = Fr);
          },
          stopPropagation: function() {
            var o = this.nativeEvent;
            o && (o.stopPropagation ? o.stopPropagation() : typeof o.cancelBubble != "unknown" && (o.cancelBubble = !0), this.isPropagationStopped = Fr);
          },
          /**
           * We release all dispatched `SyntheticEvent`s after each event loop, adding
           * them back into the pool. This allows a way to hold onto a reference that
           * won't be added back into the pool.
           */
          persist: function() {
          },
          /**
           * Checks if this event should be released back into the pool.
           *
           * @return {boolean} True if this should not be released, false otherwise.
           */
          isPersistent: Fr
        }), t;
      }
      var Or = {
        eventPhase: 0,
        bubbles: 0,
        cancelable: 0,
        timeStamp: function(e) {
          return e.timeStamp || Date.now();
        },
        defaultPrevented: 0,
        isTrusted: 0
      }, Cd = Zn(Or), cu = zt({}, Or, {
        view: 0,
        detail: 0
      }), Ep = Zn(cu), xp, io, Rs;
      function Rp(e) {
        e !== Rs && (Rs && e.type === "mousemove" ? (xp = e.screenX - Rs.screenX, io = e.screenY - Rs.screenY) : (xp = 0, io = 0), Rs = e);
      }
      var oo = zt({}, cu, {
        screenX: 0,
        screenY: 0,
        clientX: 0,
        clientY: 0,
        pageX: 0,
        pageY: 0,
        ctrlKey: 0,
        shiftKey: 0,
        altKey: 0,
        metaKey: 0,
        getModifierState: wp,
        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 : (Rp(e), xp);
        },
        movementY: function(e) {
          return "movementY" in e ? e.movementY : io;
        }
      }), bd = Zn(oo), fu = zt({}, oo, {
        dataTransfer: 0
      }), rg = Zn(fu), ag = zt({}, cu, {
        relatedTarget: 0
      }), Ac = Zn(ag), Ed = zt({}, Or, {
        animationName: 0,
        elapsedTime: 0,
        pseudoElement: 0
      }), pS = Zn(Ed), hS = zt({}, Or, {
        clipboardData: function(e) {
          return "clipboardData" in e ? e.clipboardData : window.clipboardData;
        }
      }), ig = Zn(hS), og = zt({}, Or, {
        data: 0
      }), El = Zn(og), mS = El, ws = {
        Esc: "Escape",
        Spacebar: " ",
        Left: "ArrowLeft",
        Up: "ArrowUp",
        Right: "ArrowRight",
        Down: "ArrowDown",
        Del: "Delete",
        Win: "OS",
        Menu: "ContextMenu",
        Apps: "ContextMenu",
        Scroll: "ScrollLock",
        MozPrintableKey: "Unidentified"
      }, lg = {
        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"
      };
      function lr(e) {
        if (e.key) {
          var t = ws[e.key] || e.key;
          if (t !== "Unidentified")
            return t;
        }
        if (e.type === "keypress") {
          var o = su(e);
          return o === 13 ? "Enter" : String.fromCharCode(o);
        }
        return e.type === "keydown" || e.type === "keyup" ? lg[e.keyCode] || "Unidentified" : "";
      }
      var gS = {
        Alt: "altKey",
        Control: "ctrlKey",
        Meta: "metaKey",
        Shift: "shiftKey"
      };
      function ug(e) {
        var t = this, o = t.nativeEvent;
        if (o.getModifierState)
          return o.getModifierState(e);
        var u = gS[e];
        return u ? !!o[u] : !1;
      }
      function wp(e) {
        return ug;
      }
      var yS = zt({}, cu, {
        key: lr,
        code: 0,
        location: 0,
        ctrlKey: 0,
        shiftKey: 0,
        altKey: 0,
        metaKey: 0,
        repeat: 0,
        locale: 0,
        getModifierState: wp,
        // Legacy Interface
        charCode: function(e) {
          return e.type === "keypress" ? su(e) : 0;
        },
        keyCode: function(e) {
          return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
        },
        which: function(e) {
          return e.type === "keypress" ? su(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
        }
      }), sg = Zn(yS), cg = zt({}, oo, {
        pointerId: 0,
        width: 0,
        height: 0,
        pressure: 0,
        tangentialPressure: 0,
        tiltX: 0,
        tiltY: 0,
        twist: 0,
        pointerType: 0,
        isPrimary: 0
      }), fg = Zn(cg), Ti = zt({}, cu, {
        touches: 0,
        targetTouches: 0,
        changedTouches: 0,
        altKey: 0,
        metaKey: 0,
        ctrlKey: 0,
        shiftKey: 0,
        getModifierState: wp
      }), Tp = Zn(Ti), SS = zt({}, Or, {
        propertyName: 0,
        elapsedTime: 0,
        pseudoElement: 0
      }), xl = Zn(SS), xd = zt({}, oo, {
        deltaX: function(e) {
          return "deltaX" in e ? e.deltaX : (
            // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
            "wheelDeltaX" in e ? -e.wheelDeltaX : 0
          );
        },
        deltaY: function(e) {
          return "deltaY" in e ? e.deltaY : (
            // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
            "wheelDeltaY" in e ? -e.wheelDeltaY : (
              // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
              "wheelDelta" in e ? -e.wheelDelta : 0
            )
          );
        },
        deltaZ: 0,
        // Browsers without "deltaMode" is reporting in raw wheel delta where one
        // notch on the scroll is always +/- 120, roughly equivalent to pixels.
        // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
        // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
        deltaMode: 0
      }), du = Zn(xd), Rd = [9, 13, 27, 32], wd = 229, Pc = Ut && "CompositionEvent" in window, Fc = null;
      Ut && "documentMode" in document && (Fc = document.documentMode);
      var Op = Ut && "TextEvent" in window && !Fc, dg = Ut && (!Pc || Fc && Fc > 8 && Fc <= 11), _p = 32, kp = String.fromCharCode(_p);
      function Td() {
        pn("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), pn("onCompositionEnd", ["compositionend", "focusout", "keydown", "keypress", "keyup", "mousedown"]), pn("onCompositionStart", ["compositionstart", "focusout", "keydown", "keypress", "keyup", "mousedown"]), pn("onCompositionUpdate", ["compositionupdate", "focusout", "keydown", "keypress", "keyup", "mousedown"]);
      }
      var $c = !1;
      function vg(e) {
        return (e.ctrlKey || e.altKey || e.metaKey) && // ctrlKey && altKey is equivalent to AltGr, and is not a command.
        !(e.ctrlKey && e.altKey);
      }
      function Np(e) {
        switch (e) {
          case "compositionstart":
            return "onCompositionStart";
          case "compositionend":
            return "onCompositionEnd";
          case "compositionupdate":
            return "onCompositionUpdate";
        }
      }
      function pg(e, t) {
        return e === "keydown" && t.keyCode === wd;
      }
      function Od(e, t) {
        switch (e) {
          case "keyup":
            return Rd.indexOf(t.keyCode) !== -1;
          case "keydown":
            return t.keyCode !== wd;
          case "keypress":
          case "mousedown":
          case "focusout":
            return !0;
          default:
            return !1;
        }
      }
      function zc(e) {
        var t = e.detail;
        return typeof t == "object" && "data" in t ? t.data : null;
      }
      function _d(e) {
        return e.locale === "ko";
      }
      var Fo = !1;
      function hg(e, t, o, u, d) {
        var h, y;
        if (Pc ? h = Np(t) : Fo ? Od(t, u) && (h = "onCompositionEnd") : pg(t, u) && (h = "onCompositionStart"), !h)
          return null;
        dg && !_d(u) && (!Fo && h === "onCompositionStart" ? Fo = yd(d) : h === "onCompositionEnd" && Fo && (y = Sd()));
        var x = Cg(o, h);
        if (x.length > 0) {
          var w = new El(h, t, null, u, d);
          if (e.push({
            event: w,
            listeners: x
          }), y)
            w.data = y;
          else {
            var D = zc(u);
            D !== null && (w.data = D);
          }
        }
      }
      function CS(e, t) {
        switch (e) {
          case "compositionend":
            return zc(t);
          case "keypress":
            var o = t.which;
            return o !== _p ? null : ($c = !0, kp);
          case "textInput":
            var u = t.data;
            return u === kp && $c ? null : u;
          default:
            return null;
        }
      }
      function kd(e, t) {
        if (Fo) {
          if (e === "compositionend" || !Pc && Od(e, t)) {
            var o = Sd();
            return Dc(), Fo = !1, o;
          }
          return null;
        }
        switch (e) {
          case "paste":
            return null;
          case "keypress":
            if (!vg(t)) {
              if (t.char && t.char.length > 1)
                return t.char;
              if (t.which)
                return String.fromCharCode(t.which);
            }
            return null;
          case "compositionend":
            return dg && !_d(t) ? null : t.data;
          default:
            return null;
        }
      }
      function bS(e, t, o, u, d) {
        var h;
        if (Op ? h = CS(t, u) : h = kd(t, u), !h)
          return null;
        var y = Cg(o, "onBeforeInput");
        if (y.length > 0) {
          var x = new mS("onBeforeInput", "beforeinput", null, u, d);
          e.push({
            event: x,
            listeners: y
          }), x.data = h;
        }
      }
      function jc(e, t, o, u, d, h, y) {
        hg(e, t, o, u, d), bS(e, t, o, u, d);
      }
      var ES = {
        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 Hc(e) {
        var t = e && e.nodeName && e.nodeName.toLowerCase();
        return t === "input" ? !!ES[e.type] : t === "textarea";
      }
      /**
       * Checks if an event is supported in the current execution environment.
       *
       * NOTE: This will not work correctly for non-generic events such as `change`,
       * `reset`, `load`, `error`, and `select`.
       *
       * Borrows from Modernizr.
       *
       * @param {string} eventNameSuffix Event name, e.g. "click".
       * @return {boolean} True if the event is supported.
       * @internal
       * @license Modernizr 3.0.0pre (Custom Build) | MIT
       */
      function n(e) {
        if (!Ut)
          return !1;
        var t = "on" + e, o = t in document;
        if (!o) {
          var u = document.createElement("div");
          u.setAttribute(t, "return;"), o = typeof u[t] == "function";
        }
        return o;
      }
      function i() {
        pn("onChange", ["change", "click", "focusin", "focusout", "input", "keydown", "keyup", "selectionchange"]);
      }
      function c(e, t, o, u) {
        kf(u);
        var d = Cg(t, "onChange");
        if (d.length > 0) {
          var h = new Cd("onChange", "change", null, o, u);
          e.push({
            event: h,
            listeners: d
          });
        }
      }
      var v = null, g = null;
      function b(e) {
        var t = e.nodeName && e.nodeName.toLowerCase();
        return t === "select" || t === "input" && e.type === "file";
      }
      function k(e) {
        var t = [];
        c(t, g, e, _f(e)), Yv(H, t);
      }
      function H(e) {
        Nx(e, 0);
      }
      function G(e) {
        var t = Pd(e);
        if (Iu(t))
          return e;
      }
      function pe(e, t) {
        if (e === "change")
          return t;
      }
      var De = !1;
      Ut && (De = n("input") && (!document.documentMode || document.documentMode > 9));
      function Le(e, t) {
        v = e, g = t, v.attachEvent("onpropertychange", Ge);
      }
      function Me() {
        v && (v.detachEvent("onpropertychange", Ge), v = null, g = null);
      }
      function Ge(e) {
        e.propertyName === "value" && G(g) && k(e);
      }
      function et(e, t, o) {
        e === "focusin" ? (Me(), Le(t, o)) : e === "focusout" && Me();
      }
      function at(e, t) {
        if (e === "selectionchange" || e === "keyup" || e === "keydown")
          return G(g);
      }
      function pr(e) {
        var t = e.nodeName;
        return t && t.toLowerCase() === "input" && (e.type === "checkbox" || e.type === "radio");
      }
      function ie(e, t) {
        if (e === "click")
          return G(t);
      }
      function Z(e, t) {
        if (e === "input" || e === "change")
          return G(t);
      }
      function ce(e) {
        var t = e._wrapperState;
        !t || !t.controlled || e.type !== "number" || gt(e, "number", e.value);
      }
      function Fe(e, t, o, u, d, h, y) {
        var x = o ? Pd(o) : window, w, D;
        if (b(x) ? w = pe : Hc(x) ? De ? w = Z : (w = at, D = et) : pr(x) && (w = ie), w) {
          var F = w(t, o);
          if (F) {
            c(e, F, u, d);
            return;
          }
        }
        D && D(t, x, o), t === "focusout" && ce(x);
      }
      function ot() {
        on("onMouseEnter", ["mouseout", "mouseover"]), on("onMouseLeave", ["mouseout", "mouseover"]), on("onPointerEnter", ["pointerout", "pointerover"]), on("onPointerLeave", ["pointerout", "pointerover"]);
      }
      function St(e, t, o, u, d, h, y) {
        var x = t === "mouseover" || t === "pointerover", w = t === "mouseout" || t === "pointerout";
        if (x && !_m(u)) {
          var D = u.relatedTarget || u.fromElement;
          if (D && (Vc(D) || Bp(D)))
            return;
        }
        if (!(!w && !x)) {
          var F;
          if (d.window === d)
            F = d;
          else {
            var J = d.ownerDocument;
            J ? F = J.defaultView || J.parentWindow : F = window;
          }
          var X, fe;
          if (w) {
            var he = u.relatedTarget || u.toElement;
            if (X = o, fe = he ? Vc(he) : null, fe !== null) {
              var be = Xa(fe);
              (fe !== be || fe.tag !== A && fe.tag !== P) && (fe = null);
            }
          } else
            X = null, fe = o;
          if (X !== fe) {
            var We = bd, ht = "onMouseLeave", ft = "onMouseEnter", tn = "mouse";
            (t === "pointerout" || t === "pointerover") && (We = fg, ht = "onPointerLeave", ft = "onPointerEnter", tn = "pointer");
            var Wt = X == null ? F : Pd(X), oe = fe == null ? F : Pd(fe), Ee = new We(ht, tn + "leave", X, u, d);
            Ee.target = Wt, Ee.relatedTarget = oe;
            var le = null, Ae = Vc(d);
            if (Ae === o) {
              var Xe = new We(ft, tn + "enter", fe, u, d);
              Xe.target = oe, Xe.relatedTarget = Wt, le = Xe;
            }
            DM(e, Ee, le, X, fe);
          }
        }
      }
      function Ct(e, t) {
        return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
      }
      var ct = typeof Object.is == "function" ? Object.is : Ct;
      function ur(e, t) {
        if (ct(e, t))
          return !0;
        if (typeof e != "object" || e === null || typeof t != "object" || t === null)
          return !1;
        var o = Object.keys(e), u = Object.keys(t);
        if (o.length !== u.length)
          return !1;
        for (var d = 0; d < o.length; d++) {
          var h = o[d];
          if (!ze.call(t, h) || !ct(e[h], t[h]))
            return !1;
        }
        return !0;
      }
      function ln(e) {
        for (; e && e.firstChild; )
          e = e.firstChild;
        return e;
      }
      function Rl(e) {
        for (; e; ) {
          if (e.nextSibling)
            return e.nextSibling;
          e = e.parentNode;
        }
      }
      function mg(e, t) {
        for (var o = ln(e), u = 0, d = 0; o; ) {
          if (o.nodeType === Ro) {
            if (d = u + o.textContent.length, u <= t && d >= t)
              return {
                node: o,
                offset: t - u
              };
            u = d;
          }
          o = ln(Rl(o));
        }
      }
      function fM(e) {
        var t = e.ownerDocument, o = t && t.defaultView || window, u = o.getSelection && o.getSelection();
        if (!u || u.rangeCount === 0)
          return null;
        var d = u.anchorNode, h = u.anchorOffset, y = u.focusNode, x = u.focusOffset;
        try {
          d.nodeType, y.nodeType;
        } catch {
          return null;
        }
        return dM(e, d, h, y, x);
      }
      function dM(e, t, o, u, d) {
        var h = 0, y = -1, x = -1, w = 0, D = 0, F = e, J = null;
        e: for (; ; ) {
          for (var X = null; F === t && (o === 0 || F.nodeType === Ro) && (y = h + o), F === u && (d === 0 || F.nodeType === Ro) && (x = h + d), F.nodeType === Ro && (h += F.nodeValue.length), (X = F.firstChild) !== null; )
            J = F, F = X;
          for (; ; ) {
            if (F === e)
              break e;
            if (J === t && ++w === o && (y = h), J === u && ++D === d && (x = h), (X = F.nextSibling) !== null)
              break;
            F = J, J = F.parentNode;
          }
          F = X;
        }
        return y === -1 || x === -1 ? null : {
          start: y,
          end: x
        };
      }
      function vM(e, t) {
        var o = e.ownerDocument || document, u = o && o.defaultView || window;
        if (u.getSelection) {
          var d = u.getSelection(), h = e.textContent.length, y = Math.min(t.start, h), x = t.end === void 0 ? y : Math.min(t.end, h);
          if (!d.extend && y > x) {
            var w = x;
            x = y, y = w;
          }
          var D = mg(e, y), F = mg(e, x);
          if (D && F) {
            if (d.rangeCount === 1 && d.anchorNode === D.node && d.anchorOffset === D.offset && d.focusNode === F.node && d.focusOffset === F.offset)
              return;
            var J = o.createRange();
            J.setStart(D.node, D.offset), d.removeAllRanges(), y > x ? (d.addRange(J), d.extend(F.node, F.offset)) : (J.setEnd(F.node, F.offset), d.addRange(J));
          }
        }
      }
      function yx(e) {
        return e && e.nodeType === Ro;
      }
      function Sx(e, t) {
        return !e || !t ? !1 : e === t ? !0 : yx(e) ? !1 : yx(t) ? Sx(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1;
      }
      function pM(e) {
        return e && e.ownerDocument && Sx(e.ownerDocument.documentElement, e);
      }
      function hM(e) {
        try {
          return typeof e.contentWindow.location.href == "string";
        } catch {
          return !1;
        }
      }
      function Cx() {
        for (var e = window, t = ul(); t instanceof e.HTMLIFrameElement; ) {
          if (hM(t))
            e = t.contentWindow;
          else
            return t;
          t = ul(e.document);
        }
        return t;
      }
      function xS(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 mM() {
        var e = Cx();
        return {
          focusedElem: e,
          selectionRange: xS(e) ? yM(e) : null
        };
      }
      function gM(e) {
        var t = Cx(), o = e.focusedElem, u = e.selectionRange;
        if (t !== o && pM(o)) {
          u !== null && xS(o) && SM(o, u);
          for (var d = [], h = o; h = h.parentNode; )
            h.nodeType === Na && d.push({
              element: h,
              left: h.scrollLeft,
              top: h.scrollTop
            });
          typeof o.focus == "function" && o.focus();
          for (var y = 0; y < d.length; y++) {
            var x = d[y];
            x.element.scrollLeft = x.left, x.element.scrollTop = x.top;
          }
        }
      }
      function yM(e) {
        var t;
        return "selectionStart" in e ? t = {
          start: e.selectionStart,
          end: e.selectionEnd
        } : t = fM(e), t || {
          start: 0,
          end: 0
        };
      }
      function SM(e, t) {
        var o = t.start, u = t.end;
        u === void 0 && (u = o), "selectionStart" in e ? (e.selectionStart = o, e.selectionEnd = Math.min(u, e.value.length)) : vM(e, t);
      }
      var CM = Ut && "documentMode" in document && document.documentMode <= 11;
      function bM() {
        pn("onSelect", ["focusout", "contextmenu", "dragend", "focusin", "keydown", "keyup", "mousedown", "mouseup", "selectionchange"]);
      }
      var Nd = null, RS = null, Mp = null, wS = !1;
      function EM(e) {
        if ("selectionStart" in e && xS(e))
          return {
            start: e.selectionStart,
            end: e.selectionEnd
          };
        var t = e.ownerDocument && e.ownerDocument.defaultView || window, o = t.getSelection();
        return {
          anchorNode: o.anchorNode,
          anchorOffset: o.anchorOffset,
          focusNode: o.focusNode,
          focusOffset: o.focusOffset
        };
      }
      function xM(e) {
        return e.window === e ? e.document : e.nodeType === ji ? e : e.ownerDocument;
      }
      function bx(e, t, o) {
        var u = xM(o);
        if (!(wS || Nd == null || Nd !== ul(u))) {
          var d = EM(Nd);
          if (!Mp || !ur(Mp, d)) {
            Mp = d;
            var h = Cg(RS, "onSelect");
            if (h.length > 0) {
              var y = new Cd("onSelect", "select", null, t, o);
              e.push({
                event: y,
                listeners: h
              }), y.target = Nd;
            }
          }
        }
      }
      function RM(e, t, o, u, d, h, y) {
        var x = o ? Pd(o) : window;
        switch (t) {
          // Track the input node that has focus.
          case "focusin":
            (Hc(x) || x.contentEditable === "true") && (Nd = x, RS = o, Mp = null);
            break;
          case "focusout":
            Nd = null, RS = null, Mp = null;
            break;
          // Don't fire the event while the user is dragging. This matches the
          // semantics of the native select event.
          case "mousedown":
            wS = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            wS = !1, bx(e, u, d);
            break;
          // Chrome and IE fire non-standard event when selection is changed (and
          // sometimes when it hasn't). IE's event fires out of order with respect
          // to key and input events on deletion, so we discard it.
          //
          // Firefox doesn't support selectionchange, so check selection status
          // after each key entry. The selection changes after keydown and before
          // keyup, but we check on keydown as well in the case of holding down a
          // key, when multiple keydown events are fired but only one keyup is.
          // This is also our approach for IE handling, for the reason above.
          case "selectionchange":
            if (CM)
              break;
          // falls through
          case "keydown":
          case "keyup":
            bx(e, u, d);
        }
      }
      function gg(e, t) {
        var o = {};
        return o[e.toLowerCase()] = t.toLowerCase(), o["Webkit" + e] = "webkit" + t, o["Moz" + e] = "moz" + t, o;
      }
      var Md = {
        animationend: gg("Animation", "AnimationEnd"),
        animationiteration: gg("Animation", "AnimationIteration"),
        animationstart: gg("Animation", "AnimationStart"),
        transitionend: gg("Transition", "TransitionEnd")
      }, TS = {}, Ex = {};
      Ut && (Ex = document.createElement("div").style, "AnimationEvent" in window || (delete Md.animationend.animation, delete Md.animationiteration.animation, delete Md.animationstart.animation), "TransitionEvent" in window || delete Md.transitionend.transition);
      function yg(e) {
        if (TS[e])
          return TS[e];
        if (!Md[e])
          return e;
        var t = Md[e];
        for (var o in t)
          if (t.hasOwnProperty(o) && o in Ex)
            return TS[e] = t[o];
        return e;
      }
      var xx = yg("animationend"), Rx = yg("animationiteration"), wx = yg("animationstart"), Tx = yg("transitionend"), Ox = /* @__PURE__ */ new Map(), _x = ["abort", "auxClick", "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"];
      function Ts(e, t) {
        Ox.set(e, t), pn(t, [e]);
      }
      function wM() {
        for (var e = 0; e < _x.length; e++) {
          var t = _x[e], o = t.toLowerCase(), u = t[0].toUpperCase() + t.slice(1);
          Ts(o, "on" + u);
        }
        Ts(xx, "onAnimationEnd"), Ts(Rx, "onAnimationIteration"), Ts(wx, "onAnimationStart"), Ts("dblclick", "onDoubleClick"), Ts("focusin", "onFocus"), Ts("focusout", "onBlur"), Ts(Tx, "onTransitionEnd");
      }
      function TM(e, t, o, u, d, h, y) {
        var x = Ox.get(t);
        if (x !== void 0) {
          var w = Cd, D = t;
          switch (t) {
            case "keypress":
              if (su(u) === 0)
                return;
            /* falls through */
            case "keydown":
            case "keyup":
              w = sg;
              break;
            case "focusin":
              D = "focus", w = Ac;
              break;
            case "focusout":
              D = "blur", w = Ac;
              break;
            case "beforeblur":
            case "afterblur":
              w = Ac;
              break;
            case "click":
              if (u.button === 2)
                return;
            /* falls through */
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            // TODO: Disabled elements should not respond to mouse events
            /* falls through */
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              w = bd;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              w = rg;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              w = Tp;
              break;
            case xx:
            case Rx:
            case wx:
              w = pS;
              break;
            case Tx:
              w = xl;
              break;
            case "scroll":
              w = Ep;
              break;
            case "wheel":
              w = du;
              break;
            case "copy":
            case "cut":
            case "paste":
              w = ig;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              w = fg;
              break;
          }
          var F = (h & Wl) !== 0;
          {
            var J = !F && // TODO: ideally, we'd eventually add all events from
            // nonDelegatedEvents list in DOMPluginEventSystem.
            // Then we can remove this special list.
            // This is a breaking change that can wait until React 18.
            t === "scroll", X = NM(o, x, u.type, F, J);
            if (X.length > 0) {
              var fe = new w(x, D, null, u, d);
              e.push({
                event: fe,
                listeners: X
              });
            }
          }
        }
      }
      wM(), ot(), i(), bM(), Td();
      function OM(e, t, o, u, d, h, y) {
        TM(e, t, o, u, d, h);
        var x = (h & tS) === 0;
        x && (St(e, t, o, u, d), Fe(e, t, o, u, d), RM(e, t, o, u, d), jc(e, t, o, u, d));
      }
      var Dp = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "encrypted", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play", "playing", "progress", "ratechange", "resize", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"], OS = new Set(["cancel", "close", "invalid", "load", "scroll", "toggle"].concat(Dp));
      function kx(e, t, o) {
        var u = e.type || "unknown-event";
        e.currentTarget = o, _o(u, t, void 0, e), e.currentTarget = null;
      }
      function _M(e, t, o) {
        var u;
        if (o)
          for (var d = t.length - 1; d >= 0; d--) {
            var h = t[d], y = h.instance, x = h.currentTarget, w = h.listener;
            if (y !== u && e.isPropagationStopped())
              return;
            kx(e, w, x), u = y;
          }
        else
          for (var D = 0; D < t.length; D++) {
            var F = t[D], J = F.instance, X = F.currentTarget, fe = F.listener;
            if (J !== u && e.isPropagationStopped())
              return;
            kx(e, fe, X), u = J;
          }
      }
      function Nx(e, t) {
        for (var o = (t & Wl) !== 0, u = 0; u < e.length; u++) {
          var d = e[u], h = d.event, y = d.listeners;
          _M(h, y, o);
        }
        Kv();
      }
      function kM(e, t, o, u, d) {
        var h = _f(o), y = [];
        OM(y, e, u, o, h, t), Nx(y, t);
      }
      function Jn(e, t) {
        OS.has(e) || p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.', e);
        var o = !1, u = i2(t), d = LM(e);
        u.has(d) || (Mx(t, e, uc, o), u.add(d));
      }
      function _S(e, t, o) {
        OS.has(e) && !t && p('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.', e);
        var u = 0;
        t && (u |= Wl), Mx(o, e, u, t);
      }
      var Sg = "_reactListening" + Math.random().toString(36).slice(2);
      function Lp(e) {
        if (!e[Sg]) {
          e[Sg] = !0, vt.forEach(function(o) {
            o !== "selectionchange" && (OS.has(o) || _S(o, !1, e), _S(o, !0, e));
          });
          var t = e.nodeType === ji ? e : e.ownerDocument;
          t !== null && (t[Sg] || (t[Sg] = !0, _S("selectionchange", !1, t)));
        }
      }
      function Mx(e, t, o, u, d) {
        var h = Tr(e, t, o), y = void 0;
        vc && (t === "touchstart" || t === "touchmove" || t === "wheel") && (y = !0), e = e, u ? y !== void 0 ? gd(e, t, h, y) : Ao(e, t, h) : y !== void 0 ? bp(e, t, h, y) : Es(e, t, h);
      }
      function Dx(e, t) {
        return e === t || e.nodeType === yr && e.parentNode === t;
      }
      function kS(e, t, o, u, d) {
        var h = u;
        if (!(t & To) && !(t & uc)) {
          var y = d;
          if (u !== null) {
            var x = u;
            e: for (; ; ) {
              if (x === null)
                return;
              var w = x.tag;
              if (w === T || w === _) {
                var D = x.stateNode.containerInfo;
                if (Dx(D, y))
                  break;
                if (w === _)
                  for (var F = x.return; F !== null; ) {
                    var J = F.tag;
                    if (J === T || J === _) {
                      var X = F.stateNode.containerInfo;
                      if (Dx(X, y))
                        return;
                    }
                    F = F.return;
                  }
                for (; D !== null; ) {
                  var fe = Vc(D);
                  if (fe === null)
                    return;
                  var he = fe.tag;
                  if (he === A || he === P) {
                    x = h = fe;
                    continue e;
                  }
                  D = D.parentNode;
                }
              }
              x = x.return;
            }
          }
        }
        Yv(function() {
          return kM(e, t, o, h);
        });
      }
      function Ap(e, t, o) {
        return {
          instance: e,
          listener: t,
          currentTarget: o
        };
      }
      function NM(e, t, o, u, d, h) {
        for (var y = t !== null ? t + "Capture" : null, x = u ? y : t, w = [], D = e, F = null; D !== null; ) {
          var J = D, X = J.stateNode, fe = J.tag;
          if (fe === A && X !== null && (F = X, x !== null)) {
            var he = ql(D, x);
            he != null && w.push(Ap(D, he, F));
          }
          if (d)
            break;
          D = D.return;
        }
        return w;
      }
      function Cg(e, t) {
        for (var o = t + "Capture", u = [], d = e; d !== null; ) {
          var h = d, y = h.stateNode, x = h.tag;
          if (x === A && y !== null) {
            var w = y, D = ql(d, o);
            D != null && u.unshift(Ap(d, D, w));
            var F = ql(d, t);
            F != null && u.push(Ap(d, F, w));
          }
          d = d.return;
        }
        return u;
      }
      function Dd(e) {
        if (e === null)
          return null;
        do
          e = e.return;
        while (e && e.tag !== A);
        return e || null;
      }
      function MM(e, t) {
        for (var o = e, u = t, d = 0, h = o; h; h = Dd(h))
          d++;
        for (var y = 0, x = u; x; x = Dd(x))
          y++;
        for (; d - y > 0; )
          o = Dd(o), d--;
        for (; y - d > 0; )
          u = Dd(u), y--;
        for (var w = d; w--; ) {
          if (o === u || u !== null && o === u.alternate)
            return o;
          o = Dd(o), u = Dd(u);
        }
        return null;
      }
      function Lx(e, t, o, u, d) {
        for (var h = t._reactName, y = [], x = o; x !== null && x !== u; ) {
          var w = x, D = w.alternate, F = w.stateNode, J = w.tag;
          if (D !== null && D === u)
            break;
          if (J === A && F !== null) {
            var X = F;
            if (d) {
              var fe = ql(x, h);
              fe != null && y.unshift(Ap(x, fe, X));
            } else if (!d) {
              var he = ql(x, h);
              he != null && y.push(Ap(x, he, X));
            }
          }
          x = x.return;
        }
        y.length !== 0 && e.push({
          event: t,
          listeners: y
        });
      }
      function DM(e, t, o, u, d) {
        var h = u && d ? MM(u, d) : null;
        u !== null && Lx(e, t, u, h, !1), d !== null && o !== null && Lx(e, o, d, h, !0);
      }
      function LM(e, t) {
        return e + "__bubble";
      }
      var Oi = !1, Pp = "dangerouslySetInnerHTML", bg = "suppressContentEditableWarning", Os = "suppressHydrationWarning", Ax = "autoFocus", Ic = "children", Uc = "style", Eg = "__html", NS, xg, Fp, Px, Rg, Fx, $x;
      NS = {
        // There are working polyfills for <dialog>. Let people use it.
        dialog: !0,
        // Electron ships a custom <webview> tag to display external web content in
        // an isolated frame and process.
        // This tag is not present in non Electron environments such as JSDom which
        // is often used for testing purposes.
        // @see https://electronjs.org/docs/api/webview-tag
        webview: !0
      }, xg = function(e, t) {
        Of(e, t), Iv(e, t), Om(e, t, {
          registrationNameDependencies: ut,
          possibleRegistrationNames: Tt
        });
      }, Fx = Ut && !document.documentMode, Fp = function(e, t, o) {
        if (!Oi) {
          var u = wg(o), d = wg(t);
          d !== u && (Oi = !0, p("Prop `%s` did not match. Server: %s Client: %s", e, JSON.stringify(d), JSON.stringify(u)));
        }
      }, Px = function(e) {
        if (!Oi) {
          Oi = !0;
          var t = [];
          e.forEach(function(o) {
            t.push(o);
          }), p("Extra attributes from the server: %s", t);
        }
      }, Rg = function(e, t) {
        t === !1 ? p("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) : p("Expected `%s` listener to be a function, instead got a value of `%s` type.", e, typeof t);
      }, $x = function(e, t) {
        var o = e.namespaceURI === xo ? e.ownerDocument.createElement(e.tagName) : e.ownerDocument.createElementNS(e.namespaceURI, e.tagName);
        return o.innerHTML = t, o.innerHTML;
      };
      var AM = /\r\n?/g, PM = /\u0000|\uFFFD/g;
      function wg(e) {
        qt(e);
        var t = typeof e == "string" ? e : "" + e;
        return t.replace(AM, `
`).replace(PM, "");
      }
      function Tg(e, t, o, u) {
        var d = wg(t), h = wg(e);
        if (h !== d && (u && (Oi || (Oi = !0, p('Text content did not match. Server: "%s" Client: "%s"', h, d))), o && Q))
          throw new Error("Text content does not match server-rendered HTML.");
      }
      function zx(e) {
        return e.nodeType === ji ? e : e.ownerDocument;
      }
      function FM() {
      }
      function Og(e) {
        e.onclick = FM;
      }
      function $M(e, t, o, u, d) {
        for (var h in u)
          if (u.hasOwnProperty(h)) {
            var y = u[h];
            if (h === Uc)
              y && Object.freeze(y), gm(t, y);
            else if (h === Pp) {
              var x = y ? y[Eg] : void 0;
              x != null && om(t, x);
            } else if (h === Ic)
              if (typeof y == "string") {
                var w = e !== "textarea" || y !== "";
                w && xf(t, y);
              } else typeof y == "number" && xf(t, "" + y);
            else h === bg || h === Os || h === Ax || (ut.hasOwnProperty(h) ? y != null && (typeof y != "function" && Rg(h, y), h === "onScroll" && Jn("scroll", t)) : y != null && nn(t, h, y, d));
          }
      }
      function zM(e, t, o, u) {
        for (var d = 0; d < t.length; d += 2) {
          var h = t[d], y = t[d + 1];
          h === Uc ? gm(e, y) : h === Pp ? om(e, y) : h === Ic ? xf(e, y) : nn(e, h, y, u);
        }
      }
      function jM(e, t, o, u) {
        var d, h = zx(o), y, x = u;
        if (x === xo && (x = bf(e)), x === xo) {
          if (d = wo(e, t), !d && e !== e.toLowerCase() && p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", e), e === "script") {
            var w = h.createElement("div");
            w.innerHTML = "<script><\/script>";
            var D = w.firstChild;
            y = w.removeChild(D);
          } else if (typeof t.is == "string")
            y = h.createElement(e, {
              is: t.is
            });
          else if (y = h.createElement(e), e === "select") {
            var F = y;
            t.multiple ? F.multiple = !0 : t.size && (F.size = t.size);
          }
        } else
          y = h.createElementNS(x, e);
        return x === xo && !d && Object.prototype.toString.call(y) === "[object HTMLUnknownElement]" && !ze.call(NS, e) && (NS[e] = !0, p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.", e)), y;
      }
      function HM(e, t) {
        return zx(t).createTextNode(e);
      }
      function IM(e, t, o, u) {
        var d = wo(t, o);
        xg(t, o);
        var h;
        switch (t) {
          case "dialog":
            Jn("cancel", e), Jn("close", e), h = o;
            break;
          case "iframe":
          case "object":
          case "embed":
            Jn("load", e), h = o;
            break;
          case "video":
          case "audio":
            for (var y = 0; y < Dp.length; y++)
              Jn(Dp[y], e);
            h = o;
            break;
          case "source":
            Jn("error", e), h = o;
            break;
          case "img":
          case "image":
          case "link":
            Jn("error", e), Jn("load", e), h = o;
            break;
          case "details":
            Jn("toggle", e), h = o;
            break;
          case "input":
            U(e, o), h = O(e, o), Jn("invalid", e);
            break;
          case "option":
            Cn(e, o), h = o;
            break;
          case "select":
            ac(e, o), h = rc(e, o), Jn("invalid", e);
            break;
          case "textarea":
            rm(e, o), h = Dv(e, o), Jn("invalid", e);
            break;
          default:
            h = o;
        }
        switch (wf(t, h), $M(t, e, u, h, d), t) {
          case "input":
            di(e), Pe(e, o, !1);
            break;
          case "textarea":
            di(e), im(e);
            break;
          case "option":
            kn(e, o);
            break;
          case "select":
            Nv(e, o);
            break;
          default:
            typeof h.onClick == "function" && Og(e);
            break;
        }
      }
      function UM(e, t, o, u, d) {
        xg(t, u);
        var h = null, y, x;
        switch (t) {
          case "input":
            y = O(e, o), x = O(e, u), h = [];
            break;
          case "select":
            y = rc(e, o), x = rc(e, u), h = [];
            break;
          case "textarea":
            y = Dv(e, o), x = Dv(e, u), h = [];
            break;
          default:
            y = o, x = u, typeof y.onClick != "function" && typeof x.onClick == "function" && Og(e);
            break;
        }
        wf(t, x);
        var w, D, F = null;
        for (w in y)
          if (!(x.hasOwnProperty(w) || !y.hasOwnProperty(w) || y[w] == null))
            if (w === Uc) {
              var J = y[w];
              for (D in J)
                J.hasOwnProperty(D) && (F || (F = {}), F[D] = "");
            } else w === Pp || w === Ic || w === bg || w === Os || w === Ax || (ut.hasOwnProperty(w) ? h || (h = []) : (h = h || []).push(w, null));
        for (w in x) {
          var X = x[w], fe = y != null ? y[w] : void 0;
          if (!(!x.hasOwnProperty(w) || X === fe || X == null && fe == null))
            if (w === Uc)
              if (X && Object.freeze(X), fe) {
                for (D in fe)
                  fe.hasOwnProperty(D) && (!X || !X.hasOwnProperty(D)) && (F || (F = {}), F[D] = "");
                for (D in X)
                  X.hasOwnProperty(D) && fe[D] !== X[D] && (F || (F = {}), F[D] = X[D]);
              } else
                F || (h || (h = []), h.push(w, F)), F = X;
            else if (w === Pp) {
              var he = X ? X[Eg] : void 0, be = fe ? fe[Eg] : void 0;
              he != null && be !== he && (h = h || []).push(w, he);
            } else w === Ic ? (typeof X == "string" || typeof X == "number") && (h = h || []).push(w, "" + X) : w === bg || w === Os || (ut.hasOwnProperty(w) ? (X != null && (typeof X != "function" && Rg(w, X), w === "onScroll" && Jn("scroll", e)), !h && fe !== X && (h = [])) : (h = h || []).push(w, X));
        }
        return F && (oc(F, x[Uc]), (h = h || []).push(Uc, F)), h;
      }
      function VM(e, t, o, u, d) {
        o === "input" && d.type === "radio" && d.name != null && de(e, d);
        var h = wo(o, u), y = wo(o, d);
        switch (zM(e, t, h, y), o) {
          case "input":
            Se(e, d);
            break;
          case "textarea":
            am(e, d);
            break;
          case "select":
            W0(e, d);
            break;
        }
      }
      function BM(e) {
        {
          var t = e.toLowerCase();
          return Tf.hasOwnProperty(t) && Tf[t] || null;
        }
      }
      function WM(e, t, o, u, d, h, y) {
        var x, w;
        switch (x = wo(t, o), xg(t, o), t) {
          case "dialog":
            Jn("cancel", e), Jn("close", e);
            break;
          case "iframe":
          case "object":
          case "embed":
            Jn("load", e);
            break;
          case "video":
          case "audio":
            for (var D = 0; D < Dp.length; D++)
              Jn(Dp[D], e);
            break;
          case "source":
            Jn("error", e);
            break;
          case "img":
          case "image":
          case "link":
            Jn("error", e), Jn("load", e);
            break;
          case "details":
            Jn("toggle", e);
            break;
          case "input":
            U(e, o), Jn("invalid", e);
            break;
          case "option":
            Cn(e, o);
            break;
          case "select":
            ac(e, o), Jn("invalid", e);
            break;
          case "textarea":
            rm(e, o), Jn("invalid", e);
            break;
        }
        wf(t, o);
        {
          w = /* @__PURE__ */ new Set();
          for (var F = e.attributes, J = 0; J < F.length; J++) {
            var X = F[J].name.toLowerCase();
            switch (X) {
              // Controlled attributes are not validated
              // TODO: Only ignore them on controlled tags.
              case "value":
                break;
              case "checked":
                break;
              case "selected":
                break;
              default:
                w.add(F[J].name);
            }
          }
        }
        var fe = null;
        for (var he in o)
          if (o.hasOwnProperty(he)) {
            var be = o[he];
            if (he === Ic)
              typeof be == "string" ? e.textContent !== be && (o[Os] !== !0 && Tg(e.textContent, be, h, y), fe = [Ic, be]) : typeof be == "number" && e.textContent !== "" + be && (o[Os] !== !0 && Tg(e.textContent, be, h, y), fe = [Ic, "" + be]);
            else if (ut.hasOwnProperty(he))
              be != null && (typeof be != "function" && Rg(he, be), he === "onScroll" && Jn("scroll", e));
            else if (y && // Convince Flow we've calculated it (it's DEV-only in this method.)
            typeof x == "boolean") {
              var We = void 0, ht = fr(he);
              if (o[Os] !== !0) {
                if (!(he === bg || he === Os || // Controlled attributes are not validated
                // TODO: Only ignore them on controlled tags.
                he === "value" || he === "checked" || he === "selected")) {
                  if (he === Pp) {
                    var ft = e.innerHTML, tn = be ? be[Eg] : void 0;
                    if (tn != null) {
                      var Wt = $x(e, tn);
                      Wt !== ft && Fp(he, ft, Wt);
                    }
                  } else if (he === Uc) {
                    if (w.delete(he), Fx) {
                      var oe = J0(be);
                      We = e.getAttribute("style"), oe !== We && Fp(he, We, oe);
                    }
                  } else if (x && !Re)
                    w.delete(he.toLowerCase()), We = Ga(e, he, be), be !== We && Fp(he, We, be);
                  else if (!jn(he, ht, x) && !hn(he, be, ht, x)) {
                    var Ee = !1;
                    if (ht !== null)
                      w.delete(ht.attributeName), We = ea(e, he, be, ht);
                    else {
                      var le = u;
                      if (le === xo && (le = bf(t)), le === xo)
                        w.delete(he.toLowerCase());
                      else {
                        var Ae = BM(he);
                        Ae !== null && Ae !== he && (Ee = !0, w.delete(Ae)), w.delete(he);
                      }
                      We = Ga(e, he, be);
                    }
                    var Xe = Re;
                    !Xe && be !== We && !Ee && Fp(he, We, be);
                  }
                }
              }
            }
          }
        switch (y && // $FlowFixMe - Should be inferred as not undefined.
        w.size > 0 && o[Os] !== !0 && Px(w), t) {
          case "input":
            di(e), Pe(e, o, !0);
            break;
          case "textarea":
            di(e), im(e);
            break;
          case "select":
          case "option":
            break;
          default:
            typeof o.onClick == "function" && Og(e);
            break;
        }
        return fe;
      }
      function YM(e, t, o) {
        var u = e.nodeValue !== t;
        return u;
      }
      function MS(e, t) {
        {
          if (Oi)
            return;
          Oi = !0, p("Did not expect server HTML to contain a <%s> in <%s>.", t.nodeName.toLowerCase(), e.nodeName.toLowerCase());
        }
      }
      function DS(e, t) {
        {
          if (Oi)
            return;
          Oi = !0, p('Did not expect server HTML to contain the text node "%s" in <%s>.', t.nodeValue, e.nodeName.toLowerCase());
        }
      }
      function LS(e, t, o) {
        {
          if (Oi)
            return;
          Oi = !0, p("Expected server HTML to contain a matching <%s> in <%s>.", t, e.nodeName.toLowerCase());
        }
      }
      function AS(e, t) {
        {
          if (t === "" || Oi)
            return;
          Oi = !0, p('Expected server HTML to contain a matching text node for "%s" in <%s>.', t, e.nodeName.toLowerCase());
        }
      }
      function qM(e, t, o) {
        switch (t) {
          case "input":
            yt(e, o);
            return;
          case "textarea":
            Lv(e, o);
            return;
          case "select":
            Y0(e, o);
            return;
        }
      }
      var $p = function() {
      }, zp = function() {
      };
      {
        var GM = ["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"], jx = [
          "applet",
          "caption",
          "html",
          "table",
          "td",
          "th",
          "marquee",
          "object",
          "template",
          // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
          // TODO: Distinguish by namespace here -- for <title>, including it here
          // errs on the side of fewer warnings
          "foreignObject",
          "desc",
          "title"
        ], QM = jx.concat(["button"]), KM = ["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"], Hx = {
          current: null,
          formTag: null,
          aTagInScope: null,
          buttonTagInScope: null,
          nobrTagInScope: null,
          pTagInButtonScope: null,
          listItemTagAutoclosing: null,
          dlItemTagAutoclosing: null
        };
        zp = function(e, t) {
          var o = zt({}, e || Hx), u = {
            tag: t
          };
          return jx.indexOf(t) !== -1 && (o.aTagInScope = null, o.buttonTagInScope = null, o.nobrTagInScope = null), QM.indexOf(t) !== -1 && (o.pTagInButtonScope = null), GM.indexOf(t) !== -1 && t !== "address" && t !== "div" && t !== "p" && (o.listItemTagAutoclosing = null, o.dlItemTagAutoclosing = null), o.current = u, t === "form" && (o.formTag = u), t === "a" && (o.aTagInScope = u), t === "button" && (o.buttonTagInScope = u), t === "nobr" && (o.nobrTagInScope = u), t === "p" && (o.pTagInButtonScope = u), t === "li" && (o.listItemTagAutoclosing = u), (t === "dd" || t === "dt") && (o.dlItemTagAutoclosing = u), o;
        };
        var XM = function(e, t) {
          switch (t) {
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
            case "select":
              return e === "option" || e === "optgroup" || e === "#text";
            case "optgroup":
              return e === "option" || e === "#text";
            // Strictly speaking, seeing an <option> doesn't mean we're in a <select>
            // but
            case "option":
              return e === "#text";
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
            // No special behavior since these rules fall back to "in body" mode for
            // all except special table nodes which cause bad parsing behavior anyway.
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
            case "tr":
              return e === "th" || e === "td" || e === "style" || e === "script" || e === "template";
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
            case "tbody":
            case "thead":
            case "tfoot":
              return e === "tr" || e === "style" || e === "script" || e === "template";
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
            case "colgroup":
              return e === "col" || e === "template";
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
            case "table":
              return e === "caption" || e === "colgroup" || e === "tbody" || e === "tfoot" || e === "thead" || e === "style" || e === "script" || e === "template";
            // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
            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";
            // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
            case "html":
              return e === "head" || e === "body" || e === "frameset";
            case "frameset":
              return e === "frame";
            case "#document":
              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 KM.indexOf(t) === -1;
            case "body":
            case "caption":
            case "col":
            case "colgroup":
            case "frameset":
            case "frame":
            case "head":
            case "html":
            case "tbody":
            case "td":
            case "tfoot":
            case "th":
            case "thead":
            case "tr":
              return t == null;
          }
          return !0;
        }, ZM = function(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;
        }, Ix = {};
        $p = function(e, t, o) {
          o = o || Hx;
          var u = o.current, d = u && u.tag;
          t != null && (e != null && p("validateDOMNesting: when childText is passed, childTag should be null"), e = "#text");
          var h = XM(e, d) ? null : u, y = h ? null : ZM(e, o), x = h || y;
          if (x) {
            var w = x.tag, D = !!h + "|" + e + "|" + w;
            if (!Ix[D]) {
              Ix[D] = !0;
              var F = e, J = "";
              if (e === "#text" ? /\S/.test(t) ? F = "Text nodes" : (F = "Whitespace text nodes", J = " Make sure you don't have any extra whitespace between tags on each line of your source code.") : F = "<" + e + ">", h) {
                var X = "";
                w === "table" && e === "tr" && (X += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s", F, w, J, X);
              } else
                p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.", F, w);
            }
          }
        };
      }
      var _g = "suppressHydrationWarning", kg = "$", Ng = "/$", jp = "$?", Hp = "$!", JM = "style", PS = null, FS = null;
      function eD(e) {
        var t, o, u = e.nodeType;
        switch (u) {
          case ji:
          case Vl: {
            t = u === ji ? "#document" : "#fragment";
            var d = e.documentElement;
            o = d ? d.namespaceURI : Pv(null, "");
            break;
          }
          default: {
            var h = u === yr ? e.parentNode : e, y = h.namespaceURI || null;
            t = h.tagName, o = Pv(y, t);
            break;
          }
        }
        {
          var x = t.toLowerCase(), w = zp(null, x);
          return {
            namespace: o,
            ancestorInfo: w
          };
        }
      }
      function tD(e, t, o) {
        {
          var u = e, d = Pv(u.namespace, t), h = zp(u.ancestorInfo, t);
          return {
            namespace: d,
            ancestorInfo: h
          };
        }
      }
      function oI(e) {
        return e;
      }
      function nD(e) {
        PS = Cs(), FS = mM();
        var t = null;
        return Ha(!1), t;
      }
      function rD(e) {
        gM(FS), Ha(PS), PS = null, FS = null;
      }
      function aD(e, t, o, u, d) {
        var h;
        {
          var y = u;
          if ($p(e, null, y.ancestorInfo), typeof t.children == "string" || typeof t.children == "number") {
            var x = "" + t.children, w = zp(y.ancestorInfo, e);
            $p(null, x, w);
          }
          h = y.namespace;
        }
        var D = jM(e, t, o, h);
        return Vp(d, D), BS(D, t), D;
      }
      function iD(e, t) {
        e.appendChild(t);
      }
      function oD(e, t, o, u, d) {
        switch (IM(e, t, o, u), t) {
          case "button":
          case "input":
          case "select":
          case "textarea":
            return !!o.autoFocus;
          case "img":
            return !0;
          default:
            return !1;
        }
      }
      function lD(e, t, o, u, d, h) {
        {
          var y = h;
          if (typeof u.children != typeof o.children && (typeof u.children == "string" || typeof u.children == "number")) {
            var x = "" + u.children, w = zp(y.ancestorInfo, t);
            $p(null, x, w);
          }
        }
        return UM(e, t, o, u);
      }
      function $S(e, t) {
        return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
      }
      function uD(e, t, o, u) {
        {
          var d = o;
          $p(null, e, d.ancestorInfo);
        }
        var h = HM(e, t);
        return Vp(u, h), h;
      }
      function sD() {
        var e = window.event;
        return e === void 0 ? ro : md(e.type);
      }
      var zS = typeof setTimeout == "function" ? setTimeout : void 0, cD = typeof clearTimeout == "function" ? clearTimeout : void 0, jS = -1, Ux = typeof Promise == "function" ? Promise : void 0, fD = typeof queueMicrotask == "function" ? queueMicrotask : typeof Ux < "u" ? function(e) {
        return Ux.resolve(null).then(e).catch(dD);
      } : zS;
      function dD(e) {
        setTimeout(function() {
          throw e;
        });
      }
      function vD(e, t, o, u) {
        switch (t) {
          case "button":
          case "input":
          case "select":
          case "textarea":
            o.autoFocus && e.focus();
            return;
          case "img": {
            o.src && (e.src = o.src);
            return;
          }
        }
      }
      function pD(e, t, o, u, d, h) {
        VM(e, t, o, u, d), BS(e, d);
      }
      function Vx(e) {
        xf(e, "");
      }
      function hD(e, t, o) {
        e.nodeValue = o;
      }
      function mD(e, t) {
        e.appendChild(t);
      }
      function gD(e, t) {
        var o;
        e.nodeType === yr ? (o = e.parentNode, o.insertBefore(t, e)) : (o = e, o.appendChild(t));
        var u = e._reactRootContainer;
        u == null && o.onclick === null && Og(o);
      }
      function yD(e, t, o) {
        e.insertBefore(t, o);
      }
      function SD(e, t, o) {
        e.nodeType === yr ? e.parentNode.insertBefore(t, o) : e.insertBefore(t, o);
      }
      function CD(e, t) {
        e.removeChild(t);
      }
      function bD(e, t) {
        e.nodeType === yr ? e.parentNode.removeChild(t) : e.removeChild(t);
      }
      function HS(e, t) {
        var o = t, u = 0;
        do {
          var d = o.nextSibling;
          if (e.removeChild(o), d && d.nodeType === yr) {
            var h = d.data;
            if (h === Ng)
              if (u === 0) {
                e.removeChild(d), or(t);
                return;
              } else
                u--;
            else (h === kg || h === jp || h === Hp) && u++;
          }
          o = d;
        } while (o);
        or(t);
      }
      function ED(e, t) {
        e.nodeType === yr ? HS(e.parentNode, t) : e.nodeType === Na && HS(e, t), or(e);
      }
      function xD(e) {
        e = e;
        var t = e.style;
        typeof t.setProperty == "function" ? t.setProperty("display", "none", "important") : t.display = "none";
      }
      function RD(e) {
        e.nodeValue = "";
      }
      function wD(e, t) {
        e = e;
        var o = t[JM], u = o != null && o.hasOwnProperty("display") ? o.display : null;
        e.style.display = Rf("display", u);
      }
      function TD(e, t) {
        e.nodeValue = t;
      }
      function OD(e) {
        e.nodeType === Na ? e.textContent = "" : e.nodeType === ji && e.documentElement && e.removeChild(e.documentElement);
      }
      function _D(e, t, o) {
        return e.nodeType !== Na || t.toLowerCase() !== e.nodeName.toLowerCase() ? null : e;
      }
      function kD(e, t) {
        return t === "" || e.nodeType !== Ro ? null : e;
      }
      function ND(e) {
        return e.nodeType !== yr ? null : e;
      }
      function Bx(e) {
        return e.data === jp;
      }
      function IS(e) {
        return e.data === Hp;
      }
      function MD(e) {
        var t = e.nextSibling && e.nextSibling.dataset, o, u, d;
        return t && (o = t.dgst, u = t.msg, d = t.stck), {
          message: u,
          digest: o,
          stack: d
        };
      }
      function DD(e, t) {
        e._reactRetry = t;
      }
      function Mg(e) {
        for (; e != null; e = e.nextSibling) {
          var t = e.nodeType;
          if (t === Na || t === Ro)
            break;
          if (t === yr) {
            var o = e.data;
            if (o === kg || o === Hp || o === jp)
              break;
            if (o === Ng)
              return null;
          }
        }
        return e;
      }
      function Ip(e) {
        return Mg(e.nextSibling);
      }
      function LD(e) {
        return Mg(e.firstChild);
      }
      function AD(e) {
        return Mg(e.firstChild);
      }
      function PD(e) {
        return Mg(e.nextSibling);
      }
      function FD(e, t, o, u, d, h, y) {
        Vp(h, e), BS(e, o);
        var x;
        {
          var w = d;
          x = w.namespace;
        }
        var D = (h.mode & st) !== it;
        return WM(e, t, o, x, u, D, y);
      }
      function $D(e, t, o, u) {
        return Vp(o, e), o.mode & st, YM(e, t);
      }
      function zD(e, t) {
        Vp(t, e);
      }
      function jD(e) {
        for (var t = e.nextSibling, o = 0; t; ) {
          if (t.nodeType === yr) {
            var u = t.data;
            if (u === Ng) {
              if (o === 0)
                return Ip(t);
              o--;
            } else (u === kg || u === Hp || u === jp) && o++;
          }
          t = t.nextSibling;
        }
        return null;
      }
      function Wx(e) {
        for (var t = e.previousSibling, o = 0; t; ) {
          if (t.nodeType === yr) {
            var u = t.data;
            if (u === kg || u === Hp || u === jp) {
              if (o === 0)
                return t;
              o--;
            } else u === Ng && o++;
          }
          t = t.previousSibling;
        }
        return null;
      }
      function HD(e) {
        or(e);
      }
      function ID(e) {
        or(e);
      }
      function UD(e) {
        return e !== "head" && e !== "body";
      }
      function VD(e, t, o, u) {
        var d = !0;
        Tg(t.nodeValue, o, u, d);
      }
      function BD(e, t, o, u, d, h) {
        if (t[_g] !== !0) {
          var y = !0;
          Tg(u.nodeValue, d, h, y);
        }
      }
      function WD(e, t) {
        t.nodeType === Na ? MS(e, t) : t.nodeType === yr || DS(e, t);
      }
      function YD(e, t) {
        {
          var o = e.parentNode;
          o !== null && (t.nodeType === Na ? MS(o, t) : t.nodeType === yr || DS(o, t));
        }
      }
      function qD(e, t, o, u, d) {
        (d || t[_g] !== !0) && (u.nodeType === Na ? MS(o, u) : u.nodeType === yr || DS(o, u));
      }
      function GD(e, t, o) {
        LS(e, t);
      }
      function QD(e, t) {
        AS(e, t);
      }
      function KD(e, t, o) {
        {
          var u = e.parentNode;
          u !== null && LS(u, t);
        }
      }
      function XD(e, t) {
        {
          var o = e.parentNode;
          o !== null && AS(o, t);
        }
      }
      function ZD(e, t, o, u, d, h) {
        (h || t[_g] !== !0) && LS(o, u);
      }
      function JD(e, t, o, u, d) {
        (d || t[_g] !== !0) && AS(o, u);
      }
      function e2(e) {
        p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.", e.nodeName.toLowerCase());
      }
      function t2(e) {
        Lp(e);
      }
      var Ld = Math.random().toString(36).slice(2), Ad = "__reactFiber$" + Ld, US = "__reactProps$" + Ld, Up = "__reactContainer$" + Ld, VS = "__reactEvents$" + Ld, n2 = "__reactListeners$" + Ld, r2 = "__reactHandles$" + Ld;
      function a2(e) {
        delete e[Ad], delete e[US], delete e[VS], delete e[n2], delete e[r2];
      }
      function Vp(e, t) {
        t[Ad] = e;
      }
      function Dg(e, t) {
        t[Up] = e;
      }
      function Yx(e) {
        e[Up] = null;
      }
      function Bp(e) {
        return !!e[Up];
      }
      function Vc(e) {
        var t = e[Ad];
        if (t)
          return t;
        for (var o = e.parentNode; o; ) {
          if (t = o[Up] || o[Ad], t) {
            var u = t.alternate;
            if (t.child !== null || u !== null && u.child !== null)
              for (var d = Wx(e); d !== null; ) {
                var h = d[Ad];
                if (h)
                  return h;
                d = Wx(d);
              }
            return t;
          }
          e = o, o = e.parentNode;
        }
        return null;
      }
      function _s(e) {
        var t = e[Ad] || e[Up];
        return t && (t.tag === A || t.tag === P || t.tag === I || t.tag === T) ? t : null;
      }
      function Pd(e) {
        if (e.tag === A || e.tag === P)
          return e.stateNode;
        throw new Error("getNodeFromInstance: Invalid argument.");
      }
      function Lg(e) {
        return e[US] || null;
      }
      function BS(e, t) {
        e[US] = t;
      }
      function i2(e) {
        var t = e[VS];
        return t === void 0 && (t = e[VS] = /* @__PURE__ */ new Set()), t;
      }
      var qx = {}, Gx = l.ReactDebugCurrentFrame;
      function Ag(e) {
        if (e) {
          var t = e._owner, o = Zi(e.type, e._source, t ? t.type : null);
          Gx.setExtraStackFrame(o);
        } else
          Gx.setExtraStackFrame(null);
      }
      function $o(e, t, o, u, d) {
        {
          var h = Function.call.bind(ze);
          for (var y in e)
            if (h(e, y)) {
              var x = void 0;
              try {
                if (typeof e[y] != "function") {
                  var w = Error((u || "React class") + ": " + o + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
                  throw w.name = "Invariant Violation", w;
                }
                x = e[y](t, y, u, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
              } catch (D) {
                x = D;
              }
              x && !(x instanceof Error) && (Ag(d), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", o, y, typeof x), Ag(null)), x instanceof Error && !(x.message in qx) && (qx[x.message] = !0, Ag(d), p("Failed %s type: %s", o, x.message), Ag(null));
            }
        }
      }
      var WS = [], Pg;
      Pg = [];
      var vu = -1;
      function ks(e) {
        return {
          current: e
        };
      }
      function Ia(e, t) {
        if (vu < 0) {
          p("Unexpected pop.");
          return;
        }
        t !== Pg[vu] && p("Unexpected Fiber popped."), e.current = WS[vu], WS[vu] = null, Pg[vu] = null, vu--;
      }
      function Ua(e, t, o) {
        vu++, WS[vu] = e.current, Pg[vu] = o, e.current = t;
      }
      var YS;
      YS = {};
      var Vi = {};
      Object.freeze(Vi);
      var pu = ks(Vi), wl = ks(!1), qS = Vi;
      function Fd(e, t, o) {
        return o && Tl(t) ? qS : pu.current;
      }
      function Qx(e, t, o) {
        {
          var u = e.stateNode;
          u.__reactInternalMemoizedUnmaskedChildContext = t, u.__reactInternalMemoizedMaskedChildContext = o;
        }
      }
      function $d(e, t) {
        {
          var o = e.type, u = o.contextTypes;
          if (!u)
            return Vi;
          var d = e.stateNode;
          if (d && d.__reactInternalMemoizedUnmaskedChildContext === t)
            return d.__reactInternalMemoizedMaskedChildContext;
          var h = {};
          for (var y in u)
            h[y] = t[y];
          {
            var x = Ot(e) || "Unknown";
            $o(u, h, "context", x);
          }
          return d && Qx(e, t, h), h;
        }
      }
      function Fg() {
        return wl.current;
      }
      function Tl(e) {
        {
          var t = e.childContextTypes;
          return t != null;
        }
      }
      function $g(e) {
        Ia(wl, e), Ia(pu, e);
      }
      function GS(e) {
        Ia(wl, e), Ia(pu, e);
      }
      function Kx(e, t, o) {
        {
          if (pu.current !== Vi)
            throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");
          Ua(pu, t, e), Ua(wl, o, e);
        }
      }
      function Xx(e, t, o) {
        {
          var u = e.stateNode, d = t.childContextTypes;
          if (typeof u.getChildContext != "function") {
            {
              var h = Ot(e) || "Unknown";
              YS[h] || (YS[h] = !0, p("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", h, h));
            }
            return o;
          }
          var y = u.getChildContext();
          for (var x in y)
            if (!(x in d))
              throw new Error((Ot(e) || "Unknown") + '.getChildContext(): key "' + x + '" is not defined in childContextTypes.');
          {
            var w = Ot(e) || "Unknown";
            $o(d, y, "child context", w);
          }
          return zt({}, o, y);
        }
      }
      function zg(e) {
        {
          var t = e.stateNode, o = t && t.__reactInternalMemoizedMergedChildContext || Vi;
          return qS = pu.current, Ua(pu, o, e), Ua(wl, wl.current, e), !0;
        }
      }
      function Zx(e, t, o) {
        {
          var u = e.stateNode;
          if (!u)
            throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");
          if (o) {
            var d = Xx(e, t, qS);
            u.__reactInternalMemoizedMergedChildContext = d, Ia(wl, e), Ia(pu, e), Ua(pu, d, e), Ua(wl, o, e);
          } else
            Ia(wl, e), Ua(wl, o, e);
        }
      }
      function o2(e) {
        {
          if (!tp(e) || e.tag !== E)
            throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");
          var t = e;
          do {
            switch (t.tag) {
              case T:
                return t.stateNode.context;
              case E: {
                var o = t.type;
                if (Tl(o))
                  return t.stateNode.__reactInternalMemoizedMergedChildContext;
                break;
              }
            }
            t = t.return;
          } while (t !== null);
          throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.");
        }
      }
      var Ns = 0, jg = 1, hu = null, QS = !1, KS = !1;
      function Jx(e) {
        hu === null ? hu = [e] : hu.push(e);
      }
      function l2(e) {
        QS = !0, Jx(e);
      }
      function eR() {
        QS && Ms();
      }
      function Ms() {
        if (!KS && hu !== null) {
          KS = !0;
          var e = 0, t = Ei();
          try {
            var o = !0, u = hu;
            for (ir(vr); e < u.length; e++) {
              var d = u[e];
              do
                d = d(o);
              while (d !== null);
            }
            hu = null, QS = !1;
          } catch (h) {
            throw hu !== null && (hu = hu.slice(e + 1)), Pf($f, Ms), h;
          } finally {
            ir(t), KS = !1;
          }
        }
        return null;
      }
      var zd = [], jd = 0, Hg = null, Ig = 0, lo = [], uo = 0, Bc = null, mu = 1, gu = "";
      function u2(e) {
        return Yc(), (e.flags & Zv) !== pt;
      }
      function s2(e) {
        return Yc(), Ig;
      }
      function c2() {
        var e = gu, t = mu, o = t & ~f2(t);
        return o.toString(32) + e;
      }
      function Wc(e, t) {
        Yc(), zd[jd++] = Ig, zd[jd++] = Hg, Hg = e, Ig = t;
      }
      function tR(e, t, o) {
        Yc(), lo[uo++] = mu, lo[uo++] = gu, lo[uo++] = Bc, Bc = e;
        var u = mu, d = gu, h = Ug(u) - 1, y = u & ~(1 << h), x = o + 1, w = Ug(t) + h;
        if (w > 30) {
          var D = h - h % 5, F = (1 << D) - 1, J = (y & F).toString(32), X = y >> D, fe = h - D, he = Ug(t) + fe, be = x << fe, We = be | X, ht = J + d;
          mu = 1 << he | We, gu = ht;
        } else {
          var ft = x << h, tn = ft | y, Wt = d;
          mu = 1 << w | tn, gu = Wt;
        }
      }
      function XS(e) {
        Yc();
        var t = e.return;
        if (t !== null) {
          var o = 1, u = 0;
          Wc(e, o), tR(e, o, u);
        }
      }
      function Ug(e) {
        return 32 - rs(e);
      }
      function f2(e) {
        return 1 << Ug(e) - 1;
      }
      function ZS(e) {
        for (; e === Hg; )
          Hg = zd[--jd], zd[jd] = null, Ig = zd[--jd], zd[jd] = null;
        for (; e === Bc; )
          Bc = lo[--uo], lo[uo] = null, gu = lo[--uo], lo[uo] = null, mu = lo[--uo], lo[uo] = null;
      }
      function d2() {
        return Yc(), Bc !== null ? {
          id: mu,
          overflow: gu
        } : null;
      }
      function v2(e, t) {
        Yc(), lo[uo++] = mu, lo[uo++] = gu, lo[uo++] = Bc, mu = t.id, gu = t.overflow, Bc = e;
      }
      function Yc() {
        pa() || p("Expected to be hydrating. This is a bug in React. Please file an issue.");
      }
      var va = null, so = null, zo = !1, qc = !1, Ds = null;
      function p2() {
        zo && p("We should not be hydrating here. This is a bug in React. Please file a bug.");
      }
      function nR() {
        qc = !0;
      }
      function h2() {
        return qc;
      }
      function m2(e) {
        var t = e.stateNode.containerInfo;
        return so = AD(t), va = e, zo = !0, Ds = null, qc = !1, !0;
      }
      function g2(e, t, o) {
        return so = PD(t), va = e, zo = !0, Ds = null, qc = !1, o !== null && v2(e, o), !0;
      }
      function rR(e, t) {
        switch (e.tag) {
          case T: {
            WD(e.stateNode.containerInfo, t);
            break;
          }
          case A: {
            var o = (e.mode & st) !== it;
            qD(
              e.type,
              e.memoizedProps,
              e.stateNode,
              t,
              // TODO: Delete this argument when we remove the legacy root API.
              o
            );
            break;
          }
          case I: {
            var u = e.memoizedState;
            u.dehydrated !== null && YD(u.dehydrated, t);
            break;
          }
        }
      }
      function aR(e, t) {
        rR(e, t);
        var o = bP();
        o.stateNode = t, o.return = e;
        var u = e.deletions;
        u === null ? (e.deletions = [o], e.flags |= vn) : u.push(o);
      }
      function JS(e, t) {
        {
          if (qc)
            return;
          switch (e.tag) {
            case T: {
              var o = e.stateNode.containerInfo;
              switch (t.tag) {
                case A:
                  var u = t.type;
                  t.pendingProps, GD(o, u);
                  break;
                case P:
                  var d = t.pendingProps;
                  QD(o, d);
                  break;
              }
              break;
            }
            case A: {
              var h = e.type, y = e.memoizedProps, x = e.stateNode;
              switch (t.tag) {
                case A: {
                  var w = t.type, D = t.pendingProps, F = (e.mode & st) !== it;
                  ZD(
                    h,
                    y,
                    x,
                    w,
                    D,
                    // TODO: Delete this argument when we remove the legacy root API.
                    F
                  );
                  break;
                }
                case P: {
                  var J = t.pendingProps, X = (e.mode & st) !== it;
                  JD(
                    h,
                    y,
                    x,
                    J,
                    // TODO: Delete this argument when we remove the legacy root API.
                    X
                  );
                  break;
                }
              }
              break;
            }
            case I: {
              var fe = e.memoizedState, he = fe.dehydrated;
              if (he !== null) switch (t.tag) {
                case A:
                  var be = t.type;
                  t.pendingProps, KD(he, be);
                  break;
                case P:
                  var We = t.pendingProps;
                  XD(he, We);
                  break;
              }
              break;
            }
            default:
              return;
          }
        }
      }
      function iR(e, t) {
        t.flags = t.flags & ~mi | In, JS(e, t);
      }
      function oR(e, t) {
        switch (e.tag) {
          case A: {
            var o = e.type;
            e.pendingProps;
            var u = _D(t, o);
            return u !== null ? (e.stateNode = u, va = e, so = LD(u), !0) : !1;
          }
          case P: {
            var d = e.pendingProps, h = kD(t, d);
            return h !== null ? (e.stateNode = h, va = e, so = null, !0) : !1;
          }
          case I: {
            var y = ND(t);
            if (y !== null) {
              var x = {
                dehydrated: y,
                treeContext: d2(),
                retryLane: ra
              };
              e.memoizedState = x;
              var w = EP(y);
              return w.return = e, e.child = w, va = e, so = null, !0;
            }
            return !1;
          }
          default:
            return !1;
        }
      }
      function eC(e) {
        return (e.mode & st) !== it && (e.flags & xt) === pt;
      }
      function tC(e) {
        throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
      }
      function nC(e) {
        if (zo) {
          var t = so;
          if (!t) {
            eC(e) && (JS(va, e), tC()), iR(va, e), zo = !1, va = e;
            return;
          }
          var o = t;
          if (!oR(e, t)) {
            eC(e) && (JS(va, e), tC()), t = Ip(o);
            var u = va;
            if (!t || !oR(e, t)) {
              iR(va, e), zo = !1, va = e;
              return;
            }
            aR(u, o);
          }
        }
      }
      function y2(e, t, o) {
        var u = e.stateNode, d = !qc, h = FD(u, e.type, e.memoizedProps, t, o, e, d);
        return e.updateQueue = h, h !== null;
      }
      function S2(e) {
        var t = e.stateNode, o = e.memoizedProps, u = $D(t, o, e);
        if (u) {
          var d = va;
          if (d !== null)
            switch (d.tag) {
              case T: {
                var h = d.stateNode.containerInfo, y = (d.mode & st) !== it;
                VD(
                  h,
                  t,
                  o,
                  // TODO: Delete this argument when we remove the legacy root API.
                  y
                );
                break;
              }
              case A: {
                var x = d.type, w = d.memoizedProps, D = d.stateNode, F = (d.mode & st) !== it;
                BD(
                  x,
                  w,
                  D,
                  t,
                  o,
                  // TODO: Delete this argument when we remove the legacy root API.
                  F
                );
                break;
              }
            }
        }
        return u;
      }
      function C2(e) {
        var t = e.memoizedState, o = t !== null ? t.dehydrated : null;
        if (!o)
          throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");
        zD(o, e);
      }
      function b2(e) {
        var t = e.memoizedState, o = t !== null ? t.dehydrated : null;
        if (!o)
          throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");
        return jD(o);
      }
      function lR(e) {
        for (var t = e.return; t !== null && t.tag !== A && t.tag !== T && t.tag !== I; )
          t = t.return;
        va = t;
      }
      function Vg(e) {
        if (e !== va)
          return !1;
        if (!zo)
          return lR(e), zo = !0, !1;
        if (e.tag !== T && (e.tag !== A || UD(e.type) && !$S(e.type, e.memoizedProps))) {
          var t = so;
          if (t)
            if (eC(e))
              uR(e), tC();
            else
              for (; t; )
                aR(e, t), t = Ip(t);
        }
        return lR(e), e.tag === I ? so = b2(e) : so = va ? Ip(e.stateNode) : null, !0;
      }
      function E2() {
        return zo && so !== null;
      }
      function uR(e) {
        for (var t = so; t; )
          rR(e, t), t = Ip(t);
      }
      function Hd() {
        va = null, so = null, zo = !1, qc = !1;
      }
      function sR() {
        Ds !== null && (nT(Ds), Ds = null);
      }
      function pa() {
        return zo;
      }
      function rC(e) {
        Ds === null ? Ds = [e] : Ds.push(e);
      }
      var x2 = l.ReactCurrentBatchConfig, R2 = null;
      function w2() {
        return x2.transition;
      }
      var jo = {
        recordUnsafeLifecycleWarnings: function(e, t) {
        },
        flushPendingUnsafeLifecycleWarnings: function() {
        },
        recordLegacyContextWarning: function(e, t) {
        },
        flushLegacyContextWarning: function() {
        },
        discardPendingWarnings: function() {
        }
      };
      {
        var T2 = function(e) {
          for (var t = null, o = e; o !== null; )
            o.mode & It && (t = o), o = o.return;
          return t;
        }, Gc = function(e) {
          var t = [];
          return e.forEach(function(o) {
            t.push(o);
          }), t.sort().join(", ");
        }, Wp = [], Yp = [], qp = [], Gp = [], Qp = [], Kp = [], Qc = /* @__PURE__ */ new Set();
        jo.recordUnsafeLifecycleWarnings = function(e, t) {
          Qc.has(e.type) || (typeof t.componentWillMount == "function" && // Don't warn about react-lifecycles-compat polyfilled components.
          t.componentWillMount.__suppressDeprecationWarning !== !0 && Wp.push(e), e.mode & It && typeof t.UNSAFE_componentWillMount == "function" && Yp.push(e), typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps.__suppressDeprecationWarning !== !0 && qp.push(e), e.mode & It && typeof t.UNSAFE_componentWillReceiveProps == "function" && Gp.push(e), typeof t.componentWillUpdate == "function" && t.componentWillUpdate.__suppressDeprecationWarning !== !0 && Qp.push(e), e.mode & It && typeof t.UNSAFE_componentWillUpdate == "function" && Kp.push(e));
        }, jo.flushPendingUnsafeLifecycleWarnings = function() {
          var e = /* @__PURE__ */ new Set();
          Wp.length > 0 && (Wp.forEach(function(X) {
            e.add(Ot(X) || "Component"), Qc.add(X.type);
          }), Wp = []);
          var t = /* @__PURE__ */ new Set();
          Yp.length > 0 && (Yp.forEach(function(X) {
            t.add(Ot(X) || "Component"), Qc.add(X.type);
          }), Yp = []);
          var o = /* @__PURE__ */ new Set();
          qp.length > 0 && (qp.forEach(function(X) {
            o.add(Ot(X) || "Component"), Qc.add(X.type);
          }), qp = []);
          var u = /* @__PURE__ */ new Set();
          Gp.length > 0 && (Gp.forEach(function(X) {
            u.add(Ot(X) || "Component"), Qc.add(X.type);
          }), Gp = []);
          var d = /* @__PURE__ */ new Set();
          Qp.length > 0 && (Qp.forEach(function(X) {
            d.add(Ot(X) || "Component"), Qc.add(X.type);
          }), Qp = []);
          var h = /* @__PURE__ */ new Set();
          if (Kp.length > 0 && (Kp.forEach(function(X) {
            h.add(Ot(X) || "Component"), Qc.add(X.type);
          }), Kp = []), t.size > 0) {
            var y = Gc(t);
            p(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/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`, y);
          }
          if (u.size > 0) {
            var x = Gc(u);
            p(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/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://reactjs.org/link/derived-state

Please update the following components: %s`, x);
          }
          if (h.size > 0) {
            var w = Gc(h);
            p(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.

Please update the following components: %s`, w);
          }
          if (e.size > 0) {
            var D = Gc(e);
            m(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/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`, D);
          }
          if (o.size > 0) {
            var F = Gc(o);
            m(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/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://reactjs.org/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`, F);
          }
          if (d.size > 0) {
            var J = Gc(d);
            m(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/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`, J);
          }
        };
        var Bg = /* @__PURE__ */ new Map(), cR = /* @__PURE__ */ new Set();
        jo.recordLegacyContextWarning = function(e, t) {
          var o = T2(e);
          if (o === null) {
            p("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.");
            return;
          }
          if (!cR.has(e.type)) {
            var u = Bg.get(o);
            (e.type.contextTypes != null || e.type.childContextTypes != null || t !== null && typeof t.getChildContext == "function") && (u === void 0 && (u = [], Bg.set(o, u)), u.push(e));
          }
        }, jo.flushLegacyContextWarning = function() {
          Bg.forEach(function(e, t) {
            if (e.length !== 0) {
              var o = e[0], u = /* @__PURE__ */ new Set();
              e.forEach(function(h) {
                u.add(Ot(h) || "Component"), cR.add(h.type);
              });
              var d = Gc(u);
              try {
                gn(o), p(`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://reactjs.org/link/legacy-context`, d);
              } finally {
                rr();
              }
            }
          });
        }, jo.discardPendingWarnings = function() {
          Wp = [], Yp = [], qp = [], Gp = [], Qp = [], Kp = [], Bg = /* @__PURE__ */ new Map();
        };
      }
      var aC, iC, oC, lC, uC, fR = function(e, t) {
      };
      aC = !1, iC = !1, oC = {}, lC = {}, uC = {}, fR = function(e, t) {
        if (!(e === null || typeof e != "object") && !(!e._store || e._store.validated || e.key != null)) {
          if (typeof e._store != "object")
            throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
          e._store.validated = !0;
          var o = Ot(t) || "Component";
          lC[o] || (lC[o] = !0, p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'));
        }
      };
      function O2(e) {
        return e.prototype && e.prototype.isReactComponent;
      }
      function Xp(e, t, o) {
        var u = o.ref;
        if (u !== null && typeof u != "function" && typeof u != "object") {
          if ((e.mode & It || we) && // We warn in ReactElement.js if owner and self are equal for string refs
          // because these cannot be automatically converted to an arrow function
          // using a codemod. Therefore, we don't have to warn about string refs again.
          !(o._owner && o._self && o._owner.stateNode !== o._self) && // Will already throw with "Function components cannot have string refs"
          !(o._owner && o._owner.tag !== E) && // Will already warn with "Function components cannot be given refs"
          !(typeof o.type == "function" && !O2(o.type)) && // Will already throw with "Element ref was specified as a string (someStringRef) but no owner was set"
          o._owner) {
            var d = Ot(e) || "Component";
            oC[d] || (p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', d, u), oC[d] = !0);
          }
          if (o._owner) {
            var h = o._owner, y;
            if (h) {
              var x = h;
              if (x.tag !== E)
                throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");
              y = x.stateNode;
            }
            if (!y)
              throw new Error("Missing owner for string ref " + u + ". This error is likely caused by a bug in React. Please file an issue.");
            var w = y;
            On(u, "ref");
            var D = "" + u;
            if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === D)
              return t.ref;
            var F = function(J) {
              var X = w.refs;
              J === null ? delete X[D] : X[D] = J;
            };
            return F._stringRef = D, F;
          } else {
            if (typeof u != "string")
              throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");
            if (!o._owner)
              throw new Error("Element ref was specified as a string (" + u + `) but no owner was set. This could happen for one of the following reasons:
1. You may be adding a ref to a function component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
See https://reactjs.org/link/refs-must-have-owner for more information.`);
          }
        }
        return u;
      }
      function Wg(e, t) {
        var o = Object.prototype.toString.call(t);
        throw new Error("Objects are not valid as a React child (found: " + (o === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : o) + "). If you meant to render a collection of children, use an array instead.");
      }
      function Yg(e) {
        {
          var t = Ot(e) || "Component";
          if (uC[t])
            return;
          uC[t] = !0, p("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
        }
      }
      function dR(e) {
        var t = e._payload, o = e._init;
        return o(t);
      }
      function vR(e) {
        function t(oe, Ee) {
          if (e) {
            var le = oe.deletions;
            le === null ? (oe.deletions = [Ee], oe.flags |= vn) : le.push(Ee);
          }
        }
        function o(oe, Ee) {
          if (!e)
            return null;
          for (var le = Ee; le !== null; )
            t(oe, le), le = le.sibling;
          return null;
        }
        function u(oe, Ee) {
          for (var le = /* @__PURE__ */ new Map(), Ae = Ee; Ae !== null; )
            Ae.key !== null ? le.set(Ae.key, Ae) : le.set(Ae.index, Ae), Ae = Ae.sibling;
          return le;
        }
        function d(oe, Ee) {
          var le = af(oe, Ee);
          return le.index = 0, le.sibling = null, le;
        }
        function h(oe, Ee, le) {
          if (oe.index = le, !e)
            return oe.flags |= Zv, Ee;
          var Ae = oe.alternate;
          if (Ae !== null) {
            var Xe = Ae.index;
            return Xe < Ee ? (oe.flags |= In, Ee) : Xe;
          } else
            return oe.flags |= In, Ee;
        }
        function y(oe) {
          return e && oe.alternate === null && (oe.flags |= In), oe;
        }
        function x(oe, Ee, le, Ae) {
          if (Ee === null || Ee.tag !== P) {
            var Xe = rE(le, oe.mode, Ae);
            return Xe.return = oe, Xe;
          } else {
            var qe = d(Ee, le);
            return qe.return = oe, qe;
          }
        }
        function w(oe, Ee, le, Ae) {
          var Xe = le.type;
          if (Xe === Wn)
            return F(oe, Ee, le.props.children, Ae, le.key);
          if (Ee !== null && (Ee.elementType === Xe || // Keep this check inline so it only runs on the false path:
          yT(Ee, le) || // Lazy types should reconcile their resolved type.
          // We need to do this after the Hot Reloading check above,
          // because hot reloading has different semantics than prod because
          // it doesn't resuspend. So we can't let the call below suspend.
          typeof Xe == "object" && Xe !== null && Xe.$$typeof === Je && dR(Xe) === Ee.type)) {
            var qe = d(Ee, le.props);
            return qe.ref = Xp(oe, Ee, le), qe.return = oe, qe._debugSource = le._source, qe._debugOwner = le._owner, qe;
          }
          var Et = nE(le, oe.mode, Ae);
          return Et.ref = Xp(oe, Ee, le), Et.return = oe, Et;
        }
        function D(oe, Ee, le, Ae) {
          if (Ee === null || Ee.tag !== _ || Ee.stateNode.containerInfo !== le.containerInfo || Ee.stateNode.implementation !== le.implementation) {
            var Xe = aE(le, oe.mode, Ae);
            return Xe.return = oe, Xe;
          } else {
            var qe = d(Ee, le.children || []);
            return qe.return = oe, qe;
          }
        }
        function F(oe, Ee, le, Ae, Xe) {
          if (Ee === null || Ee.tag !== L) {
            var qe = Vs(le, oe.mode, Ae, Xe);
            return qe.return = oe, qe;
          } else {
            var Et = d(Ee, le);
            return Et.return = oe, Et;
          }
        }
        function J(oe, Ee, le) {
          if (typeof Ee == "string" && Ee !== "" || typeof Ee == "number") {
            var Ae = rE("" + Ee, oe.mode, le);
            return Ae.return = oe, Ae;
          }
          if (typeof Ee == "object" && Ee !== null) {
            switch (Ee.$$typeof) {
              case En: {
                var Xe = nE(Ee, oe.mode, le);
                return Xe.ref = Xp(oe, null, Ee), Xe.return = oe, Xe;
              }
              case Mn: {
                var qe = aE(Ee, oe.mode, le);
                return qe.return = oe, qe;
              }
              case Je: {
                var Et = Ee._payload, Dt = Ee._init;
                return J(oe, Dt(Et), le);
              }
            }
            if (Kt(Ee) || Qa(Ee)) {
              var Rn = Vs(Ee, oe.mode, le, null);
              return Rn.return = oe, Rn;
            }
            Wg(oe, Ee);
          }
          return typeof Ee == "function" && Yg(oe), null;
        }
        function X(oe, Ee, le, Ae) {
          var Xe = Ee !== null ? Ee.key : null;
          if (typeof le == "string" && le !== "" || typeof le == "number")
            return Xe !== null ? null : x(oe, Ee, "" + le, Ae);
          if (typeof le == "object" && le !== null) {
            switch (le.$$typeof) {
              case En:
                return le.key === Xe ? w(oe, Ee, le, Ae) : null;
              case Mn:
                return le.key === Xe ? D(oe, Ee, le, Ae) : null;
              case Je: {
                var qe = le._payload, Et = le._init;
                return X(oe, Ee, Et(qe), Ae);
              }
            }
            if (Kt(le) || Qa(le))
              return Xe !== null ? null : F(oe, Ee, le, Ae, null);
            Wg(oe, le);
          }
          return typeof le == "function" && Yg(oe), null;
        }
        function fe(oe, Ee, le, Ae, Xe) {
          if (typeof Ae == "string" && Ae !== "" || typeof Ae == "number") {
            var qe = oe.get(le) || null;
            return x(Ee, qe, "" + Ae, Xe);
          }
          if (typeof Ae == "object" && Ae !== null) {
            switch (Ae.$$typeof) {
              case En: {
                var Et = oe.get(Ae.key === null ? le : Ae.key) || null;
                return w(Ee, Et, Ae, Xe);
              }
              case Mn: {
                var Dt = oe.get(Ae.key === null ? le : Ae.key) || null;
                return D(Ee, Dt, Ae, Xe);
              }
              case Je:
                var Rn = Ae._payload, fn = Ae._init;
                return fe(oe, Ee, le, fn(Rn), Xe);
            }
            if (Kt(Ae) || Qa(Ae)) {
              var _r = oe.get(le) || null;
              return F(Ee, _r, Ae, Xe, null);
            }
            Wg(Ee, Ae);
          }
          return typeof Ae == "function" && Yg(Ee), null;
        }
        function he(oe, Ee, le) {
          {
            if (typeof oe != "object" || oe === null)
              return Ee;
            switch (oe.$$typeof) {
              case En:
              case Mn:
                fR(oe, le);
                var Ae = oe.key;
                if (typeof Ae != "string")
                  break;
                if (Ee === null) {
                  Ee = /* @__PURE__ */ new Set(), Ee.add(Ae);
                  break;
                }
                if (!Ee.has(Ae)) {
                  Ee.add(Ae);
                  break;
                }
                p("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.", Ae);
                break;
              case Je:
                var Xe = oe._payload, qe = oe._init;
                he(qe(Xe), Ee, le);
                break;
            }
          }
          return Ee;
        }
        function be(oe, Ee, le, Ae) {
          for (var Xe = null, qe = 0; qe < le.length; qe++) {
            var Et = le[qe];
            Xe = he(Et, Xe, oe);
          }
          for (var Dt = null, Rn = null, fn = Ee, _r = 0, dn = 0, br = null; fn !== null && dn < le.length; dn++) {
            fn.index > dn ? (br = fn, fn = null) : br = fn.sibling;
            var Ba = X(oe, fn, le[dn], Ae);
            if (Ba === null) {
              fn === null && (fn = br);
              break;
            }
            e && fn && Ba.alternate === null && t(oe, fn), _r = h(Ba, _r, dn), Rn === null ? Dt = Ba : Rn.sibling = Ba, Rn = Ba, fn = br;
          }
          if (dn === le.length) {
            if (o(oe, fn), pa()) {
              var ba = dn;
              Wc(oe, ba);
            }
            return Dt;
          }
          if (fn === null) {
            for (; dn < le.length; dn++) {
              var Wi = J(oe, le[dn], Ae);
              Wi !== null && (_r = h(Wi, _r, dn), Rn === null ? Dt = Wi : Rn.sibling = Wi, Rn = Wi);
            }
            if (pa()) {
              var ii = dn;
              Wc(oe, ii);
            }
            return Dt;
          }
          for (var oi = u(oe, fn); dn < le.length; dn++) {
            var Wa = fe(oi, oe, dn, le[dn], Ae);
            Wa !== null && (e && Wa.alternate !== null && oi.delete(Wa.key === null ? dn : Wa.key), _r = h(Wa, _r, dn), Rn === null ? Dt = Wa : Rn.sibling = Wa, Rn = Wa);
          }
          if (e && oi.forEach(function(iv) {
            return t(oe, iv);
          }), pa()) {
            var Ru = dn;
            Wc(oe, Ru);
          }
          return Dt;
        }
        function We(oe, Ee, le, Ae) {
          var Xe = Qa(le);
          if (typeof Xe != "function")
            throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
          {
            typeof Symbol == "function" && // $FlowFixMe Flow doesn't know about toStringTag
            le[Symbol.toStringTag] === "Generator" && (iC || p("Using Generators 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. Keep in mind you might need to polyfill these features for older browsers."), iC = !0), le.entries === Xe && (aC || p("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), aC = !0);
            var qe = Xe.call(le);
            if (qe)
              for (var Et = null, Dt = qe.next(); !Dt.done; Dt = qe.next()) {
                var Rn = Dt.value;
                Et = he(Rn, Et, oe);
              }
          }
          var fn = Xe.call(le);
          if (fn == null)
            throw new Error("An iterable object provided no iterator.");
          for (var _r = null, dn = null, br = Ee, Ba = 0, ba = 0, Wi = null, ii = fn.next(); br !== null && !ii.done; ba++, ii = fn.next()) {
            br.index > ba ? (Wi = br, br = null) : Wi = br.sibling;
            var oi = X(oe, br, ii.value, Ae);
            if (oi === null) {
              br === null && (br = Wi);
              break;
            }
            e && br && oi.alternate === null && t(oe, br), Ba = h(oi, Ba, ba), dn === null ? _r = oi : dn.sibling = oi, dn = oi, br = Wi;
          }
          if (ii.done) {
            if (o(oe, br), pa()) {
              var Wa = ba;
              Wc(oe, Wa);
            }
            return _r;
          }
          if (br === null) {
            for (; !ii.done; ba++, ii = fn.next()) {
              var Ru = J(oe, ii.value, Ae);
              Ru !== null && (Ba = h(Ru, Ba, ba), dn === null ? _r = Ru : dn.sibling = Ru, dn = Ru);
            }
            if (pa()) {
              var iv = ba;
              Wc(oe, iv);
            }
            return _r;
          }
          for (var kh = u(oe, br); !ii.done; ba++, ii = fn.next()) {
            var Al = fe(kh, oe, ba, ii.value, Ae);
            Al !== null && (e && Al.alternate !== null && kh.delete(Al.key === null ? ba : Al.key), Ba = h(Al, Ba, ba), dn === null ? _r = Al : dn.sibling = Al, dn = Al);
          }
          if (e && kh.forEach(function(JP) {
            return t(oe, JP);
          }), pa()) {
            var ZP = ba;
            Wc(oe, ZP);
          }
          return _r;
        }
        function ht(oe, Ee, le, Ae) {
          if (Ee !== null && Ee.tag === P) {
            o(oe, Ee.sibling);
            var Xe = d(Ee, le);
            return Xe.return = oe, Xe;
          }
          o(oe, Ee);
          var qe = rE(le, oe.mode, Ae);
          return qe.return = oe, qe;
        }
        function ft(oe, Ee, le, Ae) {
          for (var Xe = le.key, qe = Ee; qe !== null; ) {
            if (qe.key === Xe) {
              var Et = le.type;
              if (Et === Wn) {
                if (qe.tag === L) {
                  o(oe, qe.sibling);
                  var Dt = d(qe, le.props.children);
                  return Dt.return = oe, Dt._debugSource = le._source, Dt._debugOwner = le._owner, Dt;
                }
              } else if (qe.elementType === Et || // Keep this check inline so it only runs on the false path:
              yT(qe, le) || // Lazy types should reconcile their resolved type.
              // We need to do this after the Hot Reloading check above,
              // because hot reloading has different semantics than prod because
              // it doesn't resuspend. So we can't let the call below suspend.
              typeof Et == "object" && Et !== null && Et.$$typeof === Je && dR(Et) === qe.type) {
                o(oe, qe.sibling);
                var Rn = d(qe, le.props);
                return Rn.ref = Xp(oe, qe, le), Rn.return = oe, Rn._debugSource = le._source, Rn._debugOwner = le._owner, Rn;
              }
              o(oe, qe);
              break;
            } else
              t(oe, qe);
            qe = qe.sibling;
          }
          if (le.type === Wn) {
            var fn = Vs(le.props.children, oe.mode, Ae, le.key);
            return fn.return = oe, fn;
          } else {
            var _r = nE(le, oe.mode, Ae);
            return _r.ref = Xp(oe, Ee, le), _r.return = oe, _r;
          }
        }
        function tn(oe, Ee, le, Ae) {
          for (var Xe = le.key, qe = Ee; qe !== null; ) {
            if (qe.key === Xe)
              if (qe.tag === _ && qe.stateNode.containerInfo === le.containerInfo && qe.stateNode.implementation === le.implementation) {
                o(oe, qe.sibling);
                var Et = d(qe, le.children || []);
                return Et.return = oe, Et;
              } else {
                o(oe, qe);
                break;
              }
            else
              t(oe, qe);
            qe = qe.sibling;
          }
          var Dt = aE(le, oe.mode, Ae);
          return Dt.return = oe, Dt;
        }
        function Wt(oe, Ee, le, Ae) {
          var Xe = typeof le == "object" && le !== null && le.type === Wn && le.key === null;
          if (Xe && (le = le.props.children), typeof le == "object" && le !== null) {
            switch (le.$$typeof) {
              case En:
                return y(ft(oe, Ee, le, Ae));
              case Mn:
                return y(tn(oe, Ee, le, Ae));
              case Je:
                var qe = le._payload, Et = le._init;
                return Wt(oe, Ee, Et(qe), Ae);
            }
            if (Kt(le))
              return be(oe, Ee, le, Ae);
            if (Qa(le))
              return We(oe, Ee, le, Ae);
            Wg(oe, le);
          }
          return typeof le == "string" && le !== "" || typeof le == "number" ? y(ht(oe, Ee, "" + le, Ae)) : (typeof le == "function" && Yg(oe), o(oe, Ee));
        }
        return Wt;
      }
      var Id = vR(!0), pR = vR(!1);
      function _2(e, t) {
        if (e !== null && t.child !== e.child)
          throw new Error("Resuming work not yet implemented.");
        if (t.child !== null) {
          var o = t.child, u = af(o, o.pendingProps);
          for (t.child = u, u.return = t; o.sibling !== null; )
            o = o.sibling, u = u.sibling = af(o, o.pendingProps), u.return = t;
          u.sibling = null;
        }
      }
      function k2(e, t) {
        for (var o = e.child; o !== null; )
          mP(o, t), o = o.sibling;
      }
      var sC = ks(null), cC;
      cC = {};
      var qg = null, Ud = null, fC = null, Gg = !1;
      function Qg() {
        qg = null, Ud = null, fC = null, Gg = !1;
      }
      function hR() {
        Gg = !0;
      }
      function mR() {
        Gg = !1;
      }
      function gR(e, t, o) {
        Ua(sC, t._currentValue, e), t._currentValue = o, t._currentRenderer !== void 0 && t._currentRenderer !== null && t._currentRenderer !== cC && p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), t._currentRenderer = cC;
      }
      function dC(e, t) {
        var o = sC.current;
        Ia(sC, t), e._currentValue = o;
      }
      function vC(e, t, o) {
        for (var u = e; u !== null; ) {
          var d = u.alternate;
          if (iu(u.childLanes, t) ? d !== null && !iu(d.childLanes, t) && (d.childLanes = At(d.childLanes, t)) : (u.childLanes = At(u.childLanes, t), d !== null && (d.childLanes = At(d.childLanes, t))), u === o)
            break;
          u = u.return;
        }
        u !== o && p("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 N2(e, t, o) {
        M2(e, t, o);
      }
      function M2(e, t, o) {
        var u = e.child;
        for (u !== null && (u.return = e); u !== null; ) {
          var d = void 0, h = u.dependencies;
          if (h !== null) {
            d = u.child;
            for (var y = h.firstContext; y !== null; ) {
              if (y.context === t) {
                if (u.tag === E) {
                  var x = cs(o), w = yu(Pn, x);
                  w.tag = Xg;
                  var D = u.updateQueue;
                  if (D !== null) {
                    var F = D.shared, J = F.pending;
                    J === null ? w.next = w : (w.next = J.next, J.next = w), F.pending = w;
                  }
                }
                u.lanes = At(u.lanes, o);
                var X = u.alternate;
                X !== null && (X.lanes = At(X.lanes, o)), vC(u.return, o, e), h.lanes = At(h.lanes, o);
                break;
              }
              y = y.next;
            }
          } else if (u.tag === $)
            d = u.type === e.type ? null : u.child;
          else if (u.tag === ve) {
            var fe = u.return;
            if (fe === null)
              throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");
            fe.lanes = At(fe.lanes, o);
            var he = fe.alternate;
            he !== null && (he.lanes = At(he.lanes, o)), vC(fe, o, e), d = u.sibling;
          } else
            d = u.child;
          if (d !== null)
            d.return = u;
          else
            for (d = u; d !== null; ) {
              if (d === e) {
                d = null;
                break;
              }
              var be = d.sibling;
              if (be !== null) {
                be.return = d.return, d = be;
                break;
              }
              d = d.return;
            }
          u = d;
        }
      }
      function Vd(e, t) {
        qg = e, Ud = null, fC = null;
        var o = e.dependencies;
        if (o !== null) {
          var u = o.firstContext;
          u !== null && (ja(o.lanes, t) && dh(), o.firstContext = null);
        }
      }
      function $r(e) {
        Gg && p("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().");
        var t = e._currentValue;
        if (fC !== e) {
          var o = {
            context: e,
            memoizedValue: t,
            next: null
          };
          if (Ud === null) {
            if (qg === null)
              throw new 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().");
            Ud = o, qg.dependencies = {
              lanes: ke,
              firstContext: o
            };
          } else
            Ud = Ud.next = o;
        }
        return t;
      }
      var Kc = null;
      function pC(e) {
        Kc === null ? Kc = [e] : Kc.push(e);
      }
      function D2() {
        if (Kc !== null) {
          for (var e = 0; e < Kc.length; e++) {
            var t = Kc[e], o = t.interleaved;
            if (o !== null) {
              t.interleaved = null;
              var u = o.next, d = t.pending;
              if (d !== null) {
                var h = d.next;
                d.next = u, o.next = h;
              }
              t.pending = o;
            }
          }
          Kc = null;
        }
      }
      function yR(e, t, o, u) {
        var d = t.interleaved;
        return d === null ? (o.next = o, pC(t)) : (o.next = d.next, d.next = o), t.interleaved = o, Kg(e, u);
      }
      function L2(e, t, o, u) {
        var d = t.interleaved;
        d === null ? (o.next = o, pC(t)) : (o.next = d.next, d.next = o), t.interleaved = o;
      }
      function A2(e, t, o, u) {
        var d = t.interleaved;
        return d === null ? (o.next = o, pC(t)) : (o.next = d.next, d.next = o), t.interleaved = o, Kg(e, u);
      }
      function _i(e, t) {
        return Kg(e, t);
      }
      var P2 = Kg;
      function Kg(e, t) {
        e.lanes = At(e.lanes, t);
        var o = e.alternate;
        o !== null && (o.lanes = At(o.lanes, t)), o === null && (e.flags & (In | mi)) !== pt && pT(e);
        for (var u = e, d = e.return; d !== null; )
          d.childLanes = At(d.childLanes, t), o = d.alternate, o !== null ? o.childLanes = At(o.childLanes, t) : (d.flags & (In | mi)) !== pt && pT(e), u = d, d = d.return;
        if (u.tag === T) {
          var h = u.stateNode;
          return h;
        } else
          return null;
      }
      var SR = 0, CR = 1, Xg = 2, hC = 3, Zg = !1, mC, Jg;
      mC = !1, Jg = null;
      function gC(e) {
        var t = {
          baseState: e.memoizedState,
          firstBaseUpdate: null,
          lastBaseUpdate: null,
          shared: {
            pending: null,
            interleaved: null,
            lanes: ke
          },
          effects: null
        };
        e.updateQueue = t;
      }
      function bR(e, t) {
        var o = t.updateQueue, u = e.updateQueue;
        if (o === u) {
          var d = {
            baseState: u.baseState,
            firstBaseUpdate: u.firstBaseUpdate,
            lastBaseUpdate: u.lastBaseUpdate,
            shared: u.shared,
            effects: u.effects
          };
          t.updateQueue = d;
        }
      }
      function yu(e, t) {
        var o = {
          eventTime: e,
          lane: t,
          tag: SR,
          payload: null,
          callback: null,
          next: null
        };
        return o;
      }
      function Ls(e, t, o) {
        var u = e.updateQueue;
        if (u === null)
          return null;
        var d = u.shared;
        if (Jg === d && !mC && (p("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."), mC = !0), LA()) {
          var h = d.pending;
          return h === null ? t.next = t : (t.next = h.next, h.next = t), d.pending = t, P2(e, o);
        } else
          return A2(e, d, t, o);
      }
      function ey(e, t, o) {
        var u = t.updateQueue;
        if (u !== null) {
          var d = u.shared;
          if (vp(o)) {
            var h = d.lanes;
            h = ld(h, e.pendingLanes);
            var y = At(h, o);
            d.lanes = y, pp(e, y);
          }
        }
      }
      function yC(e, t) {
        var o = e.updateQueue, u = e.alternate;
        if (u !== null) {
          var d = u.updateQueue;
          if (o === d) {
            var h = null, y = null, x = o.firstBaseUpdate;
            if (x !== null) {
              var w = x;
              do {
                var D = {
                  eventTime: w.eventTime,
                  lane: w.lane,
                  tag: w.tag,
                  payload: w.payload,
                  callback: w.callback,
                  next: null
                };
                y === null ? h = y = D : (y.next = D, y = D), w = w.next;
              } while (w !== null);
              y === null ? h = y = t : (y.next = t, y = t);
            } else
              h = y = t;
            o = {
              baseState: d.baseState,
              firstBaseUpdate: h,
              lastBaseUpdate: y,
              shared: d.shared,
              effects: d.effects
            }, e.updateQueue = o;
            return;
          }
        }
        var F = o.lastBaseUpdate;
        F === null ? o.firstBaseUpdate = t : F.next = t, o.lastBaseUpdate = t;
      }
      function F2(e, t, o, u, d, h) {
        switch (o.tag) {
          case CR: {
            var y = o.payload;
            if (typeof y == "function") {
              hR();
              var x = y.call(h, u, d);
              {
                if (e.mode & It) {
                  Sr(!0);
                  try {
                    y.call(h, u, d);
                  } finally {
                    Sr(!1);
                  }
                }
                mR();
              }
              return x;
            }
            return y;
          }
          case hC:
            e.flags = e.flags & ~Lr | xt;
          // Intentional fallthrough
          case SR: {
            var w = o.payload, D;
            if (typeof w == "function") {
              hR(), D = w.call(h, u, d);
              {
                if (e.mode & It) {
                  Sr(!0);
                  try {
                    w.call(h, u, d);
                  } finally {
                    Sr(!1);
                  }
                }
                mR();
              }
            } else
              D = w;
            return D == null ? u : zt({}, u, D);
          }
          case Xg:
            return Zg = !0, u;
        }
        return u;
      }
      function ty(e, t, o, u) {
        var d = e.updateQueue;
        Zg = !1, Jg = d.shared;
        var h = d.firstBaseUpdate, y = d.lastBaseUpdate, x = d.shared.pending;
        if (x !== null) {
          d.shared.pending = null;
          var w = x, D = w.next;
          w.next = null, y === null ? h = D : y.next = D, y = w;
          var F = e.alternate;
          if (F !== null) {
            var J = F.updateQueue, X = J.lastBaseUpdate;
            X !== y && (X === null ? J.firstBaseUpdate = D : X.next = D, J.lastBaseUpdate = w);
          }
        }
        if (h !== null) {
          var fe = d.baseState, he = ke, be = null, We = null, ht = null, ft = h;
          do {
            var tn = ft.lane, Wt = ft.eventTime;
            if (iu(u, tn)) {
              if (ht !== null) {
                var Ee = {
                  eventTime: Wt,
                  // This update is going to be committed so we never want uncommit
                  // it. Using NoLane works because 0 is a subset of all bitmasks, so
                  // this will never be skipped by the check above.
                  lane: Cr,
                  tag: ft.tag,
                  payload: ft.payload,
                  callback: ft.callback,
                  next: null
                };
                ht = ht.next = Ee;
              }
              fe = F2(e, d, ft, fe, t, o);
              var le = ft.callback;
              if (le !== null && // If the update was already committed, we should not queue its
              // callback again.
              ft.lane !== Cr) {
                e.flags |= to;
                var Ae = d.effects;
                Ae === null ? d.effects = [ft] : Ae.push(ft);
              }
            } else {
              var oe = {
                eventTime: Wt,
                lane: tn,
                tag: ft.tag,
                payload: ft.payload,
                callback: ft.callback,
                next: null
              };
              ht === null ? (We = ht = oe, be = fe) : ht = ht.next = oe, he = At(he, tn);
            }
            if (ft = ft.next, ft === null) {
              if (x = d.shared.pending, x === null)
                break;
              var Xe = x, qe = Xe.next;
              Xe.next = null, ft = qe, d.lastBaseUpdate = Xe, d.shared.pending = null;
            }
          } while (!0);
          ht === null && (be = fe), d.baseState = be, d.firstBaseUpdate = We, d.lastBaseUpdate = ht;
          var Et = d.shared.interleaved;
          if (Et !== null) {
            var Dt = Et;
            do
              he = At(he, Dt.lane), Dt = Dt.next;
            while (Dt !== Et);
          } else h === null && (d.shared.lanes = ke);
          Rh(he), e.lanes = he, e.memoizedState = fe;
        }
        Jg = null;
      }
      function $2(e, t) {
        if (typeof e != "function")
          throw new Error("Invalid argument passed as callback. Expected a function. Instead " + ("received: " + e));
        e.call(t);
      }
      function ER() {
        Zg = !1;
      }
      function ny() {
        return Zg;
      }
      function xR(e, t, o) {
        var u = t.effects;
        if (t.effects = null, u !== null)
          for (var d = 0; d < u.length; d++) {
            var h = u[d], y = h.callback;
            y !== null && (h.callback = null, $2(y, o));
          }
      }
      var Zp = {}, As = ks(Zp), Jp = ks(Zp), ry = ks(Zp);
      function ay(e) {
        if (e === Zp)
          throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");
        return e;
      }
      function RR() {
        var e = ay(ry.current);
        return e;
      }
      function SC(e, t) {
        Ua(ry, t, e), Ua(Jp, e, e), Ua(As, Zp, e);
        var o = eD(t);
        Ia(As, e), Ua(As, o, e);
      }
      function Bd(e) {
        Ia(As, e), Ia(Jp, e), Ia(ry, e);
      }
      function CC() {
        var e = ay(As.current);
        return e;
      }
      function wR(e) {
        ay(ry.current);
        var t = ay(As.current), o = tD(t, e.type);
        t !== o && (Ua(Jp, e, e), Ua(As, o, e));
      }
      function bC(e) {
        Jp.current === e && (Ia(As, e), Ia(Jp, e));
      }
      var z2 = 0, TR = 1, OR = 1, eh = 2, Ho = ks(z2);
      function EC(e, t) {
        return (e & t) !== 0;
      }
      function Wd(e) {
        return e & TR;
      }
      function xC(e, t) {
        return e & TR | t;
      }
      function j2(e, t) {
        return e | t;
      }
      function Ps(e, t) {
        Ua(Ho, t, e);
      }
      function Yd(e) {
        Ia(Ho, e);
      }
      function H2(e, t) {
        var o = e.memoizedState;
        return o !== null ? o.dehydrated !== null : (e.memoizedProps, !0);
      }
      function iy(e) {
        for (var t = e; t !== null; ) {
          if (t.tag === I) {
            var o = t.memoizedState;
            if (o !== null) {
              var u = o.dehydrated;
              if (u === null || Bx(u) || IS(u))
                return t;
            }
          } else if (t.tag === ye && // revealOrder undefined can't be trusted because it don't
          // keep track of whether it suspended or not.
          t.memoizedProps.revealOrder !== void 0) {
            var d = (t.flags & xt) !== pt;
            if (d)
              return t;
          } else if (t.child !== null) {
            t.child.return = t, t = t.child;
            continue;
          }
          if (t === e)
            return null;
          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 ki = (
        /*   */
        0
      ), Vr = (
        /* */
        1
      ), Ol = (
        /*  */
        2
      ), Br = (
        /*    */
        4
      ), ha = (
        /*   */
        8
      ), RC = [];
      function wC() {
        for (var e = 0; e < RC.length; e++) {
          var t = RC[e];
          t._workInProgressVersionPrimary = null;
        }
        RC.length = 0;
      }
      function I2(e, t) {
        var o = t._getVersion, u = o(t._source);
        e.mutableSourceEagerHydrationData == null ? e.mutableSourceEagerHydrationData = [t, u] : e.mutableSourceEagerHydrationData.push(t, u);
      }
      var Qe = l.ReactCurrentDispatcher, th = l.ReactCurrentBatchConfig, TC, qd;
      TC = /* @__PURE__ */ new Set();
      var Xc = ke, xn = null, Wr = null, Yr = null, oy = !1, nh = !1, rh = 0, U2 = 0, V2 = 25, xe = null, co = null, Fs = -1, OC = !1;
      function Sn() {
        {
          var e = xe;
          co === null ? co = [e] : co.push(e);
        }
      }
      function Ie() {
        {
          var e = xe;
          co !== null && (Fs++, co[Fs] !== e && B2(e));
        }
      }
      function Gd(e) {
        e != null && !Kt(e) && p("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.", xe, typeof e);
      }
      function B2(e) {
        {
          var t = Ot(xn);
          if (!TC.has(t) && (TC.add(t), co !== null)) {
            for (var o = "", u = 30, d = 0; d <= Fs; d++) {
              for (var h = co[d], y = d === Fs ? e : h, x = d + 1 + ". " + h; x.length < u; )
                x += " ";
              x += y + `
`, o += x;
            }
            p(`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://reactjs.org/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`, t, o);
          }
        }
      }
      function Va() {
        throw new 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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);
      }
      function _C(e, t) {
        if (OC)
          return !1;
        if (t === null)
          return p("%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.", xe), !1;
        e.length !== t.length && p(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.

Previous: %s
Incoming: %s`, xe, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
        for (var o = 0; o < t.length && o < e.length; o++)
          if (!ct(e[o], t[o]))
            return !1;
        return !0;
      }
      function Qd(e, t, o, u, d, h) {
        Xc = h, xn = t, co = e !== null ? e._debugHookTypes : null, Fs = -1, OC = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = ke, e !== null && e.memoizedState !== null ? Qe.current = QR : co !== null ? Qe.current = GR : Qe.current = qR;
        var y = o(u, d);
        if (nh) {
          var x = 0;
          do {
            if (nh = !1, rh = 0, x >= V2)
              throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
            x += 1, OC = !1, Wr = null, Yr = null, t.updateQueue = null, Fs = -1, Qe.current = KR, y = o(u, d);
          } while (nh);
        }
        Qe.current = Sy, t._debugHookTypes = co;
        var w = Wr !== null && Wr.next !== null;
        if (Xc = ke, xn = null, Wr = null, Yr = null, xe = null, co = null, Fs = -1, e !== null && (e.flags & Hr) !== (t.flags & Hr) && // Disable this warning in legacy mode, because legacy Suspense is weird
        // and creates false positives. To make this work in legacy mode, we'd
        // need to mark fibers that commit in an incomplete state, somehow. For
        // now I'll disable the warning that most of the bugs that would trigger
        // it are either exclusive to concurrent mode or exist in both.
        (e.mode & st) !== it && p("Internal React error: Expected static flag was missing. Please notify the React team."), oy = !1, w)
          throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
        return y;
      }
      function Kd() {
        var e = rh !== 0;
        return rh = 0, e;
      }
      function _R(e, t, o) {
        t.updateQueue = e.updateQueue, (t.mode & ei) !== it ? t.flags &= ~(Kl | La | Yn | Ft) : t.flags &= ~(Yn | Ft), e.lanes = Oc(e.lanes, o);
      }
      function kR() {
        if (Qe.current = Sy, oy) {
          for (var e = xn.memoizedState; e !== null; ) {
            var t = e.queue;
            t !== null && (t.pending = null), e = e.next;
          }
          oy = !1;
        }
        Xc = ke, xn = null, Wr = null, Yr = null, co = null, Fs = -1, xe = null, UR = !1, nh = !1, rh = 0;
      }
      function _l() {
        var e = {
          memoizedState: null,
          baseState: null,
          baseQueue: null,
          queue: null,
          next: null
        };
        return Yr === null ? xn.memoizedState = Yr = e : Yr = Yr.next = e, Yr;
      }
      function fo() {
        var e;
        if (Wr === null) {
          var t = xn.alternate;
          t !== null ? e = t.memoizedState : e = null;
        } else
          e = Wr.next;
        var o;
        if (Yr === null ? o = xn.memoizedState : o = Yr.next, o !== null)
          Yr = o, o = Yr.next, Wr = e;
        else {
          if (e === null)
            throw new Error("Rendered more hooks than during the previous render.");
          Wr = e;
          var u = {
            memoizedState: Wr.memoizedState,
            baseState: Wr.baseState,
            baseQueue: Wr.baseQueue,
            queue: Wr.queue,
            next: null
          };
          Yr === null ? xn.memoizedState = Yr = u : Yr = Yr.next = u;
        }
        return Yr;
      }
      function NR() {
        return {
          lastEffect: null,
          stores: null
        };
      }
      function kC(e, t) {
        return typeof t == "function" ? t(e) : t;
      }
      function NC(e, t, o) {
        var u = _l(), d;
        o !== void 0 ? d = o(t) : d = t, u.memoizedState = u.baseState = d;
        var h = {
          pending: null,
          interleaved: null,
          lanes: ke,
          dispatch: null,
          lastRenderedReducer: e,
          lastRenderedState: d
        };
        u.queue = h;
        var y = h.dispatch = G2.bind(null, xn, h);
        return [u.memoizedState, y];
      }
      function MC(e, t, o) {
        var u = fo(), d = u.queue;
        if (d === null)
          throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
        d.lastRenderedReducer = e;
        var h = Wr, y = h.baseQueue, x = d.pending;
        if (x !== null) {
          if (y !== null) {
            var w = y.next, D = x.next;
            y.next = D, x.next = w;
          }
          h.baseQueue !== y && p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), h.baseQueue = y = x, d.pending = null;
        }
        if (y !== null) {
          var F = y.next, J = h.baseState, X = null, fe = null, he = null, be = F;
          do {
            var We = be.lane;
            if (iu(Xc, We)) {
              if (he !== null) {
                var ft = {
                  // This update is going to be committed so we never want uncommit
                  // it. Using NoLane works because 0 is a subset of all bitmasks, so
                  // this will never be skipped by the check above.
                  lane: Cr,
                  action: be.action,
                  hasEagerState: be.hasEagerState,
                  eagerState: be.eagerState,
                  next: null
                };
                he = he.next = ft;
              }
              if (be.hasEagerState)
                J = be.eagerState;
              else {
                var tn = be.action;
                J = e(J, tn);
              }
            } else {
              var ht = {
                lane: We,
                action: be.action,
                hasEagerState: be.hasEagerState,
                eagerState: be.eagerState,
                next: null
              };
              he === null ? (fe = he = ht, X = J) : he = he.next = ht, xn.lanes = At(xn.lanes, We), Rh(We);
            }
            be = be.next;
          } while (be !== null && be !== F);
          he === null ? X = J : he.next = fe, ct(J, u.memoizedState) || dh(), u.memoizedState = J, u.baseState = X, u.baseQueue = he, d.lastRenderedState = J;
        }
        var Wt = d.interleaved;
        if (Wt !== null) {
          var oe = Wt;
          do {
            var Ee = oe.lane;
            xn.lanes = At(xn.lanes, Ee), Rh(Ee), oe = oe.next;
          } while (oe !== Wt);
        } else y === null && (d.lanes = ke);
        var le = d.dispatch;
        return [u.memoizedState, le];
      }
      function DC(e, t, o) {
        var u = fo(), d = u.queue;
        if (d === null)
          throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
        d.lastRenderedReducer = e;
        var h = d.dispatch, y = d.pending, x = u.memoizedState;
        if (y !== null) {
          d.pending = null;
          var w = y.next, D = w;
          do {
            var F = D.action;
            x = e(x, F), D = D.next;
          } while (D !== w);
          ct(x, u.memoizedState) || dh(), u.memoizedState = x, u.baseQueue === null && (u.baseState = x), d.lastRenderedState = x;
        }
        return [x, h];
      }
      function lI(e, t, o) {
      }
      function uI(e, t, o) {
      }
      function LC(e, t, o) {
        var u = xn, d = _l(), h, y = pa();
        if (y) {
          if (o === void 0)
            throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
          h = o(), qd || h !== o() && (p("The result of getServerSnapshot should be cached to avoid an infinite loop"), qd = !0);
        } else {
          if (h = t(), !qd) {
            var x = t();
            ct(h, x) || (p("The result of getSnapshot should be cached to avoid an infinite loop"), qd = !0);
          }
          var w = zy();
          if (w === null)
            throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
          Tc(w, Xc) || MR(u, t, h);
        }
        d.memoizedState = h;
        var D = {
          value: h,
          getSnapshot: t
        };
        return d.queue = D, fy(LR.bind(null, u, D, e), [e]), u.flags |= Yn, ah(Vr | ha, DR.bind(null, u, D, h, t), void 0, null), h;
      }
      function ly(e, t, o) {
        var u = xn, d = fo(), h = t();
        if (!qd) {
          var y = t();
          ct(h, y) || (p("The result of getSnapshot should be cached to avoid an infinite loop"), qd = !0);
        }
        var x = d.memoizedState, w = !ct(x, h);
        w && (d.memoizedState = h, dh());
        var D = d.queue;
        if (oh(LR.bind(null, u, D, e), [e]), D.getSnapshot !== t || w || // Check if the susbcribe function changed. We can save some memory by
        // checking whether we scheduled a subscription effect above.
        Yr !== null && Yr.memoizedState.tag & Vr) {
          u.flags |= Yn, ah(Vr | ha, DR.bind(null, u, D, h, t), void 0, null);
          var F = zy();
          if (F === null)
            throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");
          Tc(F, Xc) || MR(u, t, h);
        }
        return h;
      }
      function MR(e, t, o) {
        e.flags |= mc;
        var u = {
          getSnapshot: t,
          value: o
        }, d = xn.updateQueue;
        if (d === null)
          d = NR(), xn.updateQueue = d, d.stores = [u];
        else {
          var h = d.stores;
          h === null ? d.stores = [u] : h.push(u);
        }
      }
      function DR(e, t, o, u) {
        t.value = o, t.getSnapshot = u, AR(t) && PR(e);
      }
      function LR(e, t, o) {
        var u = function() {
          AR(t) && PR(e);
        };
        return o(u);
      }
      function AR(e) {
        var t = e.getSnapshot, o = e.value;
        try {
          var u = t();
          return !ct(o, u);
        } catch {
          return !0;
        }
      }
      function PR(e) {
        var t = _i(e, dt);
        t !== null && Kr(t, e, dt, Pn);
      }
      function uy(e) {
        var t = _l();
        typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e;
        var o = {
          pending: null,
          interleaved: null,
          lanes: ke,
          dispatch: null,
          lastRenderedReducer: kC,
          lastRenderedState: e
        };
        t.queue = o;
        var u = o.dispatch = Q2.bind(null, xn, o);
        return [t.memoizedState, u];
      }
      function AC(e) {
        return MC(kC);
      }
      function PC(e) {
        return DC(kC);
      }
      function ah(e, t, o, u) {
        var d = {
          tag: e,
          create: t,
          destroy: o,
          deps: u,
          // Circular
          next: null
        }, h = xn.updateQueue;
        if (h === null)
          h = NR(), xn.updateQueue = h, h.lastEffect = d.next = d;
        else {
          var y = h.lastEffect;
          if (y === null)
            h.lastEffect = d.next = d;
          else {
            var x = y.next;
            y.next = d, d.next = x, h.lastEffect = d;
          }
        }
        return d;
      }
      function FC(e) {
        var t = _l();
        {
          var o = {
            current: e
          };
          return t.memoizedState = o, o;
        }
      }
      function sy(e) {
        var t = fo();
        return t.memoizedState;
      }
      function ih(e, t, o, u) {
        var d = _l(), h = u === void 0 ? null : u;
        xn.flags |= e, d.memoizedState = ah(Vr | t, o, void 0, h);
      }
      function cy(e, t, o, u) {
        var d = fo(), h = u === void 0 ? null : u, y = void 0;
        if (Wr !== null) {
          var x = Wr.memoizedState;
          if (y = x.destroy, h !== null) {
            var w = x.deps;
            if (_C(h, w)) {
              d.memoizedState = ah(t, o, y, h);
              return;
            }
          }
        }
        xn.flags |= e, d.memoizedState = ah(Vr | t, o, y, h);
      }
      function fy(e, t) {
        return (xn.mode & ei) !== it ? ih(Kl | Yn | hl, ha, e, t) : ih(Yn | hl, ha, e, t);
      }
      function oh(e, t) {
        return cy(Yn, ha, e, t);
      }
      function $C(e, t) {
        return ih(Ft, Ol, e, t);
      }
      function dy(e, t) {
        return cy(Ft, Ol, e, t);
      }
      function zC(e, t) {
        var o = Ft;
        return o |= Da, (xn.mode & ei) !== it && (o |= La), ih(o, Br, e, t);
      }
      function vy(e, t) {
        return cy(Ft, Br, e, t);
      }
      function FR(e, t) {
        if (typeof t == "function") {
          var o = t, u = e();
          return o(u), function() {
            o(null);
          };
        } else if (t != null) {
          var d = t;
          d.hasOwnProperty("current") || p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.", "an object with keys {" + Object.keys(d).join(", ") + "}");
          var h = e();
          return d.current = h, function() {
            d.current = null;
          };
        }
      }
      function jC(e, t, o) {
        typeof t != "function" && p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", t !== null ? typeof t : "null");
        var u = o != null ? o.concat([e]) : null, d = Ft;
        return d |= Da, (xn.mode & ei) !== it && (d |= La), ih(d, Br, FR.bind(null, t, e), u);
      }
      function py(e, t, o) {
        typeof t != "function" && p("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.", t !== null ? typeof t : "null");
        var u = o != null ? o.concat([e]) : null;
        return cy(Ft, Br, FR.bind(null, t, e), u);
      }
      function W2(e, t) {
      }
      var hy = W2;
      function HC(e, t) {
        var o = _l(), u = t === void 0 ? null : t;
        return o.memoizedState = [e, u], e;
      }
      function my(e, t) {
        var o = fo(), u = t === void 0 ? null : t, d = o.memoizedState;
        if (d !== null && u !== null) {
          var h = d[1];
          if (_C(u, h))
            return d[0];
        }
        return o.memoizedState = [e, u], e;
      }
      function IC(e, t) {
        var o = _l(), u = t === void 0 ? null : t, d = e();
        return o.memoizedState = [d, u], d;
      }
      function gy(e, t) {
        var o = fo(), u = t === void 0 ? null : t, d = o.memoizedState;
        if (d !== null && u !== null) {
          var h = d[1];
          if (_C(u, h))
            return d[0];
        }
        var y = e();
        return o.memoizedState = [y, u], y;
      }
      function UC(e) {
        var t = _l();
        return t.memoizedState = e, e;
      }
      function $R(e) {
        var t = fo(), o = Wr, u = o.memoizedState;
        return jR(t, u, e);
      }
      function zR(e) {
        var t = fo();
        if (Wr === null)
          return t.memoizedState = e, e;
        var o = Wr.memoizedState;
        return jR(t, o, e);
      }
      function jR(e, t, o) {
        var u = !Ym(Xc);
        if (u) {
          if (!ct(o, t)) {
            var d = Qm();
            xn.lanes = At(xn.lanes, d), Rh(d), e.baseState = !0;
          }
          return t;
        } else
          return e.baseState && (e.baseState = !1, dh()), e.memoizedState = o, o;
      }
      function Y2(e, t, o) {
        var u = Ei();
        ir(sS(u, Lo)), e(!0);
        var d = th.transition;
        th.transition = {};
        var h = th.transition;
        th.transition._updatedFibers = /* @__PURE__ */ new Set();
        try {
          e(!1), t();
        } finally {
          if (ir(u), th.transition = d, d === null && h._updatedFibers) {
            var y = h._updatedFibers.size;
            y > 10 && m("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."), h._updatedFibers.clear();
          }
        }
      }
      function VC() {
        var e = uy(!1), t = e[0], o = e[1], u = Y2.bind(null, o), d = _l();
        return d.memoizedState = u, [t, u];
      }
      function HR() {
        var e = AC(), t = e[0], o = fo(), u = o.memoizedState;
        return [t, u];
      }
      function IR() {
        var e = PC(), t = e[0], o = fo(), u = o.memoizedState;
        return [t, u];
      }
      var UR = !1;
      function q2() {
        return UR;
      }
      function BC() {
        var e = _l(), t = zy(), o = t.identifierPrefix, u;
        if (pa()) {
          var d = c2();
          u = ":" + o + "R" + d;
          var h = rh++;
          h > 0 && (u += "H" + h.toString(32)), u += ":";
        } else {
          var y = U2++;
          u = ":" + o + "r" + y.toString(32) + ":";
        }
        return e.memoizedState = u, u;
      }
      function yy() {
        var e = fo(), t = e.memoizedState;
        return t;
      }
      function G2(e, t, o) {
        typeof arguments[3] == "function" && p("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().");
        var u = Is(e), d = {
          lane: u,
          action: o,
          hasEagerState: !1,
          eagerState: null,
          next: null
        };
        if (VR(e))
          BR(t, d);
        else {
          var h = yR(e, t, d, u);
          if (h !== null) {
            var y = ai();
            Kr(h, e, u, y), WR(h, t, u);
          }
        }
        YR(e, u);
      }
      function Q2(e, t, o) {
        typeof arguments[3] == "function" && p("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().");
        var u = Is(e), d = {
          lane: u,
          action: o,
          hasEagerState: !1,
          eagerState: null,
          next: null
        };
        if (VR(e))
          BR(t, d);
        else {
          var h = e.alternate;
          if (e.lanes === ke && (h === null || h.lanes === ke)) {
            var y = t.lastRenderedReducer;
            if (y !== null) {
              var x;
              x = Qe.current, Qe.current = Io;
              try {
                var w = t.lastRenderedState, D = y(w, o);
                if (d.hasEagerState = !0, d.eagerState = D, ct(D, w)) {
                  L2(e, t, d, u);
                  return;
                }
              } catch {
              } finally {
                Qe.current = x;
              }
            }
          }
          var F = yR(e, t, d, u);
          if (F !== null) {
            var J = ai();
            Kr(F, e, u, J), WR(F, t, u);
          }
        }
        YR(e, u);
      }
      function VR(e) {
        var t = e.alternate;
        return e === xn || t !== null && t === xn;
      }
      function BR(e, t) {
        nh = oy = !0;
        var o = e.pending;
        o === null ? t.next = t : (t.next = o.next, o.next = t), e.pending = t;
      }
      function WR(e, t, o) {
        if (vp(o)) {
          var u = t.lanes;
          u = ld(u, e.pendingLanes);
          var d = At(u, o);
          t.lanes = d, pp(e, d);
        }
      }
      function YR(e, t, o) {
        Cc(e, t);
      }
      var Sy = {
        readContext: $r,
        useCallback: Va,
        useContext: Va,
        useEffect: Va,
        useImperativeHandle: Va,
        useInsertionEffect: Va,
        useLayoutEffect: Va,
        useMemo: Va,
        useReducer: Va,
        useRef: Va,
        useState: Va,
        useDebugValue: Va,
        useDeferredValue: Va,
        useTransition: Va,
        useMutableSource: Va,
        useSyncExternalStore: Va,
        useId: Va,
        unstable_isNewReconciler: q
      }, qR = null, GR = null, QR = null, KR = null, kl = null, Io = null, Cy = null;
      {
        var WC = function() {
          p("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().");
        }, _t = function() {
          p("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://reactjs.org/link/rules-of-hooks");
        };
        qR = {
          readContext: function(e) {
            return $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", Sn(), Gd(t), HC(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", Sn(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", Sn(), Gd(t), fy(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", Sn(), Gd(o), jC(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", Sn(), Gd(t), $C(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", Sn(), Gd(t), zC(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", Sn(), Gd(t);
            var o = Qe.current;
            Qe.current = kl;
            try {
              return IC(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", Sn();
            var u = Qe.current;
            Qe.current = kl;
            try {
              return NC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", Sn(), FC(e);
          },
          useState: function(e) {
            xe = "useState", Sn();
            var t = Qe.current;
            Qe.current = kl;
            try {
              return uy(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", Sn(), void 0;
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", Sn(), UC(e);
          },
          useTransition: function() {
            return xe = "useTransition", Sn(), VC();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", Sn(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", Sn(), LC(e, t, o);
          },
          useId: function() {
            return xe = "useId", Sn(), BC();
          },
          unstable_isNewReconciler: q
        }, GR = {
          readContext: function(e) {
            return $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", Ie(), HC(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", Ie(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", Ie(), fy(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", Ie(), jC(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", Ie(), $C(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", Ie(), zC(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", Ie();
            var o = Qe.current;
            Qe.current = kl;
            try {
              return IC(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", Ie();
            var u = Qe.current;
            Qe.current = kl;
            try {
              return NC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", Ie(), FC(e);
          },
          useState: function(e) {
            xe = "useState", Ie();
            var t = Qe.current;
            Qe.current = kl;
            try {
              return uy(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", Ie(), void 0;
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", Ie(), UC(e);
          },
          useTransition: function() {
            return xe = "useTransition", Ie(), VC();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", Ie(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", Ie(), LC(e, t, o);
          },
          useId: function() {
            return xe = "useId", Ie(), BC();
          },
          unstable_isNewReconciler: q
        }, QR = {
          readContext: function(e) {
            return $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", Ie(), my(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", Ie(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", Ie(), oh(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", Ie(), py(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", Ie(), dy(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", Ie(), vy(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", Ie();
            var o = Qe.current;
            Qe.current = Io;
            try {
              return gy(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", Ie();
            var u = Qe.current;
            Qe.current = Io;
            try {
              return MC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", Ie(), sy();
          },
          useState: function(e) {
            xe = "useState", Ie();
            var t = Qe.current;
            Qe.current = Io;
            try {
              return AC(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", Ie(), hy();
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", Ie(), $R(e);
          },
          useTransition: function() {
            return xe = "useTransition", Ie(), HR();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", Ie(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", Ie(), ly(e, t);
          },
          useId: function() {
            return xe = "useId", Ie(), yy();
          },
          unstable_isNewReconciler: q
        }, KR = {
          readContext: function(e) {
            return $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", Ie(), my(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", Ie(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", Ie(), oh(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", Ie(), py(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", Ie(), dy(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", Ie(), vy(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", Ie();
            var o = Qe.current;
            Qe.current = Cy;
            try {
              return gy(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", Ie();
            var u = Qe.current;
            Qe.current = Cy;
            try {
              return DC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", Ie(), sy();
          },
          useState: function(e) {
            xe = "useState", Ie();
            var t = Qe.current;
            Qe.current = Cy;
            try {
              return PC(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", Ie(), hy();
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", Ie(), zR(e);
          },
          useTransition: function() {
            return xe = "useTransition", Ie(), IR();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", Ie(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", Ie(), ly(e, t);
          },
          useId: function() {
            return xe = "useId", Ie(), yy();
          },
          unstable_isNewReconciler: q
        }, kl = {
          readContext: function(e) {
            return WC(), $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", _t(), Sn(), HC(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", _t(), Sn(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", _t(), Sn(), fy(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", _t(), Sn(), jC(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", _t(), Sn(), $C(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", _t(), Sn(), zC(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", _t(), Sn();
            var o = Qe.current;
            Qe.current = kl;
            try {
              return IC(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", _t(), Sn();
            var u = Qe.current;
            Qe.current = kl;
            try {
              return NC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", _t(), Sn(), FC(e);
          },
          useState: function(e) {
            xe = "useState", _t(), Sn();
            var t = Qe.current;
            Qe.current = kl;
            try {
              return uy(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", _t(), Sn(), void 0;
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", _t(), Sn(), UC(e);
          },
          useTransition: function() {
            return xe = "useTransition", _t(), Sn(), VC();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", _t(), Sn(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", _t(), Sn(), LC(e, t, o);
          },
          useId: function() {
            return xe = "useId", _t(), Sn(), BC();
          },
          unstable_isNewReconciler: q
        }, Io = {
          readContext: function(e) {
            return WC(), $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", _t(), Ie(), my(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", _t(), Ie(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", _t(), Ie(), oh(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", _t(), Ie(), py(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", _t(), Ie(), dy(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", _t(), Ie(), vy(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", _t(), Ie();
            var o = Qe.current;
            Qe.current = Io;
            try {
              return gy(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", _t(), Ie();
            var u = Qe.current;
            Qe.current = Io;
            try {
              return MC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", _t(), Ie(), sy();
          },
          useState: function(e) {
            xe = "useState", _t(), Ie();
            var t = Qe.current;
            Qe.current = Io;
            try {
              return AC(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", _t(), Ie(), hy();
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", _t(), Ie(), $R(e);
          },
          useTransition: function() {
            return xe = "useTransition", _t(), Ie(), HR();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", _t(), Ie(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", _t(), Ie(), ly(e, t);
          },
          useId: function() {
            return xe = "useId", _t(), Ie(), yy();
          },
          unstable_isNewReconciler: q
        }, Cy = {
          readContext: function(e) {
            return WC(), $r(e);
          },
          useCallback: function(e, t) {
            return xe = "useCallback", _t(), Ie(), my(e, t);
          },
          useContext: function(e) {
            return xe = "useContext", _t(), Ie(), $r(e);
          },
          useEffect: function(e, t) {
            return xe = "useEffect", _t(), Ie(), oh(e, t);
          },
          useImperativeHandle: function(e, t, o) {
            return xe = "useImperativeHandle", _t(), Ie(), py(e, t, o);
          },
          useInsertionEffect: function(e, t) {
            return xe = "useInsertionEffect", _t(), Ie(), dy(e, t);
          },
          useLayoutEffect: function(e, t) {
            return xe = "useLayoutEffect", _t(), Ie(), vy(e, t);
          },
          useMemo: function(e, t) {
            xe = "useMemo", _t(), Ie();
            var o = Qe.current;
            Qe.current = Io;
            try {
              return gy(e, t);
            } finally {
              Qe.current = o;
            }
          },
          useReducer: function(e, t, o) {
            xe = "useReducer", _t(), Ie();
            var u = Qe.current;
            Qe.current = Io;
            try {
              return DC(e, t, o);
            } finally {
              Qe.current = u;
            }
          },
          useRef: function(e) {
            return xe = "useRef", _t(), Ie(), sy();
          },
          useState: function(e) {
            xe = "useState", _t(), Ie();
            var t = Qe.current;
            Qe.current = Io;
            try {
              return PC(e);
            } finally {
              Qe.current = t;
            }
          },
          useDebugValue: function(e, t) {
            return xe = "useDebugValue", _t(), Ie(), hy();
          },
          useDeferredValue: function(e) {
            return xe = "useDeferredValue", _t(), Ie(), zR(e);
          },
          useTransition: function() {
            return xe = "useTransition", _t(), Ie(), IR();
          },
          useMutableSource: function(e, t, o) {
            return xe = "useMutableSource", _t(), Ie(), void 0;
          },
          useSyncExternalStore: function(e, t, o) {
            return xe = "useSyncExternalStore", _t(), Ie(), ly(e, t);
          },
          useId: function() {
            return xe = "useId", _t(), Ie(), yy();
          },
          unstable_isNewReconciler: q
        };
      }
      var $s = a.unstable_now, XR = 0, by = -1, lh = -1, Ey = -1, YC = !1, xy = !1;
      function ZR() {
        return YC;
      }
      function K2() {
        xy = !0;
      }
      function X2() {
        YC = !1, xy = !1;
      }
      function Z2() {
        YC = xy, xy = !1;
      }
      function JR() {
        return XR;
      }
      function ew() {
        XR = $s();
      }
      function qC(e) {
        lh = $s(), e.actualStartTime < 0 && (e.actualStartTime = $s());
      }
      function tw(e) {
        lh = -1;
      }
      function Ry(e, t) {
        if (lh >= 0) {
          var o = $s() - lh;
          e.actualDuration += o, t && (e.selfBaseDuration = o), lh = -1;
        }
      }
      function Nl(e) {
        if (by >= 0) {
          var t = $s() - by;
          by = -1;
          for (var o = e.return; o !== null; ) {
            switch (o.tag) {
              case T:
                var u = o.stateNode;
                u.effectDuration += t;
                return;
              case W:
                var d = o.stateNode;
                d.effectDuration += t;
                return;
            }
            o = o.return;
          }
        }
      }
      function GC(e) {
        if (Ey >= 0) {
          var t = $s() - Ey;
          Ey = -1;
          for (var o = e.return; o !== null; ) {
            switch (o.tag) {
              case T:
                var u = o.stateNode;
                u !== null && (u.passiveEffectDuration += t);
                return;
              case W:
                var d = o.stateNode;
                d !== null && (d.passiveEffectDuration += t);
                return;
            }
            o = o.return;
          }
        }
      }
      function Ml() {
        by = $s();
      }
      function QC() {
        Ey = $s();
      }
      function KC(e) {
        for (var t = e.child; t; )
          e.actualDuration += t.actualDuration, t = t.sibling;
      }
      function Uo(e, t) {
        if (e && e.defaultProps) {
          var o = zt({}, t), u = e.defaultProps;
          for (var d in u)
            o[d] === void 0 && (o[d] = u[d]);
          return o;
        }
        return t;
      }
      var XC = {}, ZC, JC, eb, tb, nb, nw, wy, rb, ab, ib, uh;
      {
        ZC = /* @__PURE__ */ new Set(), JC = /* @__PURE__ */ new Set(), eb = /* @__PURE__ */ new Set(), tb = /* @__PURE__ */ new Set(), rb = /* @__PURE__ */ new Set(), nb = /* @__PURE__ */ new Set(), ab = /* @__PURE__ */ new Set(), ib = /* @__PURE__ */ new Set(), uh = /* @__PURE__ */ new Set();
        var rw = /* @__PURE__ */ new Set();
        wy = function(e, t) {
          if (!(e === null || typeof e == "function")) {
            var o = t + "_" + e;
            rw.has(o) || (rw.add(o), p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e));
          }
        }, nw = function(e, t) {
          if (t === void 0) {
            var o = Qt(e) || "Component";
            nb.has(o) || (nb.add(o), p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", o));
          }
        }, Object.defineProperty(XC, "_processChildContext", {
          enumerable: !1,
          value: function() {
            throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).");
          }
        }), Object.freeze(XC);
      }
      function ob(e, t, o, u) {
        var d = e.memoizedState, h = o(u, d);
        {
          if (e.mode & It) {
            Sr(!0);
            try {
              h = o(u, d);
            } finally {
              Sr(!1);
            }
          }
          nw(t, h);
        }
        var y = h == null ? d : zt({}, d, h);
        if (e.memoizedState = y, e.lanes === ke) {
          var x = e.updateQueue;
          x.baseState = y;
        }
      }
      var lb = {
        isMounted: Za,
        enqueueSetState: function(e, t, o) {
          var u = pi(e), d = ai(), h = Is(u), y = yu(d, h);
          y.payload = t, o != null && (wy(o, "setState"), y.callback = o);
          var x = Ls(u, y, h);
          x !== null && (Kr(x, u, h, d), ey(x, u, h)), Cc(u, h);
        },
        enqueueReplaceState: function(e, t, o) {
          var u = pi(e), d = ai(), h = Is(u), y = yu(d, h);
          y.tag = CR, y.payload = t, o != null && (wy(o, "replaceState"), y.callback = o);
          var x = Ls(u, y, h);
          x !== null && (Kr(x, u, h, d), ey(x, u, h)), Cc(u, h);
        },
        enqueueForceUpdate: function(e, t) {
          var o = pi(e), u = ai(), d = Is(o), h = yu(u, d);
          h.tag = Xg, t != null && (wy(t, "forceUpdate"), h.callback = t);
          var y = Ls(o, h, d);
          y !== null && (Kr(y, o, d, u), ey(y, o, d)), Bf(o, d);
        }
      };
      function aw(e, t, o, u, d, h, y) {
        var x = e.stateNode;
        if (typeof x.shouldComponentUpdate == "function") {
          var w = x.shouldComponentUpdate(u, h, y);
          {
            if (e.mode & It) {
              Sr(!0);
              try {
                w = x.shouldComponentUpdate(u, h, y);
              } finally {
                Sr(!1);
              }
            }
            w === void 0 && p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", Qt(t) || "Component");
          }
          return w;
        }
        return t.prototype && t.prototype.isPureReactComponent ? !ur(o, u) || !ur(d, h) : !0;
      }
      function J2(e, t, o) {
        var u = e.stateNode;
        {
          var d = Qt(t) || "Component", h = u.render;
          h || (t.prototype && typeof t.prototype.render == "function" ? p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", d) : p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", d)), u.getInitialState && !u.getInitialState.isReactClassApproved && !u.state && p("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?", d), u.getDefaultProps && !u.getDefaultProps.isReactClassApproved && p("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.", d), u.propTypes && p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", d), u.contextType && p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", d), t.childContextTypes && !uh.has(t) && // Strict Mode has its own warning for legacy context, so we can skip
          // this one.
          (e.mode & It) === it && (uh.add(t), p(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead

.Learn more about this warning here: https://reactjs.org/link/legacy-context`, d)), t.contextTypes && !uh.has(t) && // Strict Mode has its own warning for legacy context, so we can skip
          // this one.
          (e.mode & It) === it && (uh.add(t), p(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.

Learn more about this warning here: https://reactjs.org/link/legacy-context`, d)), u.contextTypes && p("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", d), t.contextType && t.contextTypes && !ab.has(t) && (ab.add(t), p("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", d)), typeof u.componentShouldUpdate == "function" && p("%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.", d), t.prototype && t.prototype.isPureReactComponent && typeof u.shouldComponentUpdate < "u" && p("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", Qt(t) || "A pure component"), typeof u.componentDidUnmount == "function" && p("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", d), typeof u.componentDidReceiveProps == "function" && p("%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().", d), typeof u.componentWillRecieveProps == "function" && p("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", d), typeof u.UNSAFE_componentWillRecieveProps == "function" && p("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", d);
          var y = u.props !== o;
          u.props !== void 0 && y && p("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", d, d), u.defaultProps && p("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", d, d), typeof u.getSnapshotBeforeUpdate == "function" && typeof u.componentDidUpdate != "function" && !eb.has(t) && (eb.add(t), p("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", Qt(t))), typeof u.getDerivedStateFromProps == "function" && p("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", d), typeof u.getDerivedStateFromError == "function" && p("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", d), typeof t.getSnapshotBeforeUpdate == "function" && p("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", d);
          var x = u.state;
          x && (typeof x != "object" || Kt(x)) && p("%s.state: must be set to an object or null", d), typeof u.getChildContext == "function" && typeof t.childContextTypes != "object" && p("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", d);
        }
      }
      function iw(e, t) {
        t.updater = lb, e.stateNode = t, Ku(t, e), t._reactInternalInstance = XC;
      }
      function ow(e, t, o) {
        var u = !1, d = Vi, h = Vi, y = t.contextType;
        if ("contextType" in t) {
          var x = (
            // Allow null for conditional declaration
            y === null || y !== void 0 && y.$$typeof === je && y._context === void 0
          );
          if (!x && !ib.has(t)) {
            ib.add(t);
            var w = "";
            y === void 0 ? w = " 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 y != "object" ? w = " However, it is set to a " + typeof y + "." : y.$$typeof === Ne ? w = " Did you accidentally pass the Context.Provider instead?" : y._context !== void 0 ? w = " Did you accidentally pass the Context.Consumer instead?" : w = " However, it is set to an object with keys {" + Object.keys(y).join(", ") + "}.", p("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", Qt(t) || "Component", w);
          }
        }
        if (typeof y == "object" && y !== null)
          h = $r(y);
        else {
          d = Fd(e, t, !0);
          var D = t.contextTypes;
          u = D != null, h = u ? $d(e, d) : Vi;
        }
        var F = new t(o, h);
        if (e.mode & It) {
          Sr(!0);
          try {
            F = new t(o, h);
          } finally {
            Sr(!1);
          }
        }
        var J = e.memoizedState = F.state !== null && F.state !== void 0 ? F.state : null;
        iw(e, F);
        {
          if (typeof t.getDerivedStateFromProps == "function" && J === null) {
            var X = Qt(t) || "Component";
            JC.has(X) || (JC.add(X), p("`%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.", X, F.state === null ? "null" : "undefined", X));
          }
          if (typeof t.getDerivedStateFromProps == "function" || typeof F.getSnapshotBeforeUpdate == "function") {
            var fe = null, he = null, be = null;
            if (typeof F.componentWillMount == "function" && F.componentWillMount.__suppressDeprecationWarning !== !0 ? fe = "componentWillMount" : typeof F.UNSAFE_componentWillMount == "function" && (fe = "UNSAFE_componentWillMount"), typeof F.componentWillReceiveProps == "function" && F.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? he = "componentWillReceiveProps" : typeof F.UNSAFE_componentWillReceiveProps == "function" && (he = "UNSAFE_componentWillReceiveProps"), typeof F.componentWillUpdate == "function" && F.componentWillUpdate.__suppressDeprecationWarning !== !0 ? be = "componentWillUpdate" : typeof F.UNSAFE_componentWillUpdate == "function" && (be = "UNSAFE_componentWillUpdate"), fe !== null || he !== null || be !== null) {
              var We = Qt(t) || "Component", ht = typeof t.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
              tb.has(We) || (tb.add(We), p(`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://reactjs.org/link/unsafe-component-lifecycles`, We, ht, fe !== null ? `
  ` + fe : "", he !== null ? `
  ` + he : "", be !== null ? `
  ` + be : ""));
            }
          }
        }
        return u && Qx(e, d, h), F;
      }
      function eL(e, t) {
        var o = t.state;
        typeof t.componentWillMount == "function" && t.componentWillMount(), typeof t.UNSAFE_componentWillMount == "function" && t.UNSAFE_componentWillMount(), o !== t.state && (p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", Ot(e) || "Component"), lb.enqueueReplaceState(t, t.state, null));
      }
      function lw(e, t, o, u) {
        var d = t.state;
        if (typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(o, u), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(o, u), t.state !== d) {
          {
            var h = Ot(e) || "Component";
            ZC.has(h) || (ZC.add(h), p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", h));
          }
          lb.enqueueReplaceState(t, t.state, null);
        }
      }
      function ub(e, t, o, u) {
        J2(e, t, o);
        var d = e.stateNode;
        d.props = o, d.state = e.memoizedState, d.refs = {}, gC(e);
        var h = t.contextType;
        if (typeof h == "object" && h !== null)
          d.context = $r(h);
        else {
          var y = Fd(e, t, !0);
          d.context = $d(e, y);
        }
        {
          if (d.state === o) {
            var x = Qt(t) || "Component";
            rb.has(x) || (rb.add(x), p("%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.", x));
          }
          e.mode & It && jo.recordLegacyContextWarning(e, d), jo.recordUnsafeLifecycleWarnings(e, d);
        }
        d.state = e.memoizedState;
        var w = t.getDerivedStateFromProps;
        if (typeof w == "function" && (ob(e, t, w, o), d.state = e.memoizedState), typeof t.getDerivedStateFromProps != "function" && typeof d.getSnapshotBeforeUpdate != "function" && (typeof d.UNSAFE_componentWillMount == "function" || typeof d.componentWillMount == "function") && (eL(e, d), ty(e, o, d, u), d.state = e.memoizedState), typeof d.componentDidMount == "function") {
          var D = Ft;
          D |= Da, (e.mode & ei) !== it && (D |= La), e.flags |= D;
        }
      }
      function tL(e, t, o, u) {
        var d = e.stateNode, h = e.memoizedProps;
        d.props = h;
        var y = d.context, x = t.contextType, w = Vi;
        if (typeof x == "object" && x !== null)
          w = $r(x);
        else {
          var D = Fd(e, t, !0);
          w = $d(e, D);
        }
        var F = t.getDerivedStateFromProps, J = typeof F == "function" || typeof d.getSnapshotBeforeUpdate == "function";
        !J && (typeof d.UNSAFE_componentWillReceiveProps == "function" || typeof d.componentWillReceiveProps == "function") && (h !== o || y !== w) && lw(e, d, o, w), ER();
        var X = e.memoizedState, fe = d.state = X;
        if (ty(e, o, d, u), fe = e.memoizedState, h === o && X === fe && !Fg() && !ny()) {
          if (typeof d.componentDidMount == "function") {
            var he = Ft;
            he |= Da, (e.mode & ei) !== it && (he |= La), e.flags |= he;
          }
          return !1;
        }
        typeof F == "function" && (ob(e, t, F, o), fe = e.memoizedState);
        var be = ny() || aw(e, t, h, o, X, fe, w);
        if (be) {
          if (!J && (typeof d.UNSAFE_componentWillMount == "function" || typeof d.componentWillMount == "function") && (typeof d.componentWillMount == "function" && d.componentWillMount(), typeof d.UNSAFE_componentWillMount == "function" && d.UNSAFE_componentWillMount()), typeof d.componentDidMount == "function") {
            var We = Ft;
            We |= Da, (e.mode & ei) !== it && (We |= La), e.flags |= We;
          }
        } else {
          if (typeof d.componentDidMount == "function") {
            var ht = Ft;
            ht |= Da, (e.mode & ei) !== it && (ht |= La), e.flags |= ht;
          }
          e.memoizedProps = o, e.memoizedState = fe;
        }
        return d.props = o, d.state = fe, d.context = w, be;
      }
      function nL(e, t, o, u, d) {
        var h = t.stateNode;
        bR(e, t);
        var y = t.memoizedProps, x = t.type === t.elementType ? y : Uo(t.type, y);
        h.props = x;
        var w = t.pendingProps, D = h.context, F = o.contextType, J = Vi;
        if (typeof F == "object" && F !== null)
          J = $r(F);
        else {
          var X = Fd(t, o, !0);
          J = $d(t, X);
        }
        var fe = o.getDerivedStateFromProps, he = typeof fe == "function" || typeof h.getSnapshotBeforeUpdate == "function";
        !he && (typeof h.UNSAFE_componentWillReceiveProps == "function" || typeof h.componentWillReceiveProps == "function") && (y !== w || D !== J) && lw(t, h, u, J), ER();
        var be = t.memoizedState, We = h.state = be;
        if (ty(t, u, h, d), We = t.memoizedState, y === w && be === We && !Fg() && !ny() && !se)
          return typeof h.componentDidUpdate == "function" && (y !== e.memoizedProps || be !== e.memoizedState) && (t.flags |= Ft), typeof h.getSnapshotBeforeUpdate == "function" && (y !== e.memoizedProps || be !== e.memoizedState) && (t.flags |= hi), !1;
        typeof fe == "function" && (ob(t, o, fe, u), We = t.memoizedState);
        var ht = ny() || aw(t, o, x, u, be, We, J) || // TODO: In some cases, we'll end up checking if context has changed twice,
        // both before and after `shouldComponentUpdate` has been called. Not ideal,
        // but I'm loath to refactor this function. This only happens for memoized
        // components so it's not that common.
        se;
        return ht ? (!he && (typeof h.UNSAFE_componentWillUpdate == "function" || typeof h.componentWillUpdate == "function") && (typeof h.componentWillUpdate == "function" && h.componentWillUpdate(u, We, J), typeof h.UNSAFE_componentWillUpdate == "function" && h.UNSAFE_componentWillUpdate(u, We, J)), typeof h.componentDidUpdate == "function" && (t.flags |= Ft), typeof h.getSnapshotBeforeUpdate == "function" && (t.flags |= hi)) : (typeof h.componentDidUpdate == "function" && (y !== e.memoizedProps || be !== e.memoizedState) && (t.flags |= Ft), typeof h.getSnapshotBeforeUpdate == "function" && (y !== e.memoizedProps || be !== e.memoizedState) && (t.flags |= hi), t.memoizedProps = u, t.memoizedState = We), h.props = u, h.state = We, h.context = J, ht;
      }
      function Zc(e, t) {
        return {
          value: e,
          source: t,
          stack: $u(t),
          digest: null
        };
      }
      function sb(e, t, o) {
        return {
          value: e,
          source: null,
          stack: o ?? null,
          digest: t ?? null
        };
      }
      function rL(e, t) {
        return !0;
      }
      function cb(e, t) {
        try {
          var o = rL(e, t);
          if (o === !1)
            return;
          var u = t.value, d = t.source, h = t.stack, y = h !== null ? h : "";
          if (u != null && u._suppressLogging) {
            if (e.tag === E)
              return;
            console.error(u);
          }
          var x = d ? Ot(d) : null, w = x ? "The above error occurred in the <" + x + "> component:" : "The above error occurred in one of your React components:", D;
          if (e.tag === T)
            D = `Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;
          else {
            var F = Ot(e) || "Anonymous";
            D = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + F + ".");
          }
          var J = w + `
` + y + `

` + ("" + D);
          console.error(J);
        } catch (X) {
          setTimeout(function() {
            throw X;
          });
        }
      }
      var aL = typeof WeakMap == "function" ? WeakMap : Map;
      function uw(e, t, o) {
        var u = yu(Pn, o);
        u.tag = hC, u.payload = {
          element: null
        };
        var d = t.value;
        return u.callback = function() {
          KA(d), cb(e, t);
        }, u;
      }
      function fb(e, t, o) {
        var u = yu(Pn, o);
        u.tag = hC;
        var d = e.type.getDerivedStateFromError;
        if (typeof d == "function") {
          var h = t.value;
          u.payload = function() {
            return d(h);
          }, u.callback = function() {
            ST(e), cb(e, t);
          };
        }
        var y = e.stateNode;
        return y !== null && typeof y.componentDidCatch == "function" && (u.callback = function() {
          ST(e), cb(e, t), typeof d != "function" && GA(this);
          var w = t.value, D = t.stack;
          this.componentDidCatch(w, {
            componentStack: D !== null ? D : ""
          }), typeof d != "function" && (ja(e.lanes, dt) || p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", Ot(e) || "Unknown"));
        }), u;
      }
      function sw(e, t, o) {
        var u = e.pingCache, d;
        if (u === null ? (u = e.pingCache = new aL(), d = /* @__PURE__ */ new Set(), u.set(t, d)) : (d = u.get(t), d === void 0 && (d = /* @__PURE__ */ new Set(), u.set(t, d))), !d.has(o)) {
          d.add(o);
          var h = XA.bind(null, e, t, o);
          Ja && wh(e, o), t.then(h, h);
        }
      }
      function iL(e, t, o, u) {
        var d = e.updateQueue;
        if (d === null) {
          var h = /* @__PURE__ */ new Set();
          h.add(o), e.updateQueue = h;
        } else
          d.add(o);
      }
      function oL(e, t) {
        var o = e.tag;
        if ((e.mode & st) === it && (o === C || o === j || o === Y)) {
          var u = e.alternate;
          u ? (e.updateQueue = u.updateQueue, e.memoizedState = u.memoizedState, e.lanes = u.lanes) : (e.updateQueue = null, e.memoizedState = null);
        }
      }
      function cw(e) {
        var t = e;
        do {
          if (t.tag === I && H2(t))
            return t;
          t = t.return;
        } while (t !== null);
        return null;
      }
      function fw(e, t, o, u, d) {
        if ((e.mode & st) === it) {
          if (e === t)
            e.flags |= Lr;
          else {
            if (e.flags |= xt, o.flags |= gc, o.flags &= ~(Df | Ka), o.tag === E) {
              var h = o.alternate;
              if (h === null)
                o.tag = ae;
              else {
                var y = yu(Pn, dt);
                y.tag = Xg, Ls(o, y, dt);
              }
            }
            o.lanes = At(o.lanes, dt);
          }
          return e;
        }
        return e.flags |= Lr, e.lanes = d, e;
      }
      function lL(e, t, o, u, d) {
        if (o.flags |= Ka, Ja && wh(e, d), u !== null && typeof u == "object" && typeof u.then == "function") {
          var h = u;
          oL(o), pa() && o.mode & st && nR();
          var y = cw(t);
          if (y !== null) {
            y.flags &= ~ar, fw(y, t, o, e, d), y.mode & st && sw(e, h, d), iL(y, e, h);
            return;
          } else {
            if (!dp(d)) {
              sw(e, h, d), Bb();
              return;
            }
            var x = new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");
            u = x;
          }
        } else if (pa() && o.mode & st) {
          nR();
          var w = cw(t);
          if (w !== null) {
            (w.flags & Lr) === pt && (w.flags |= ar), fw(w, t, o, e, d), rC(Zc(u, o));
            return;
          }
        }
        u = Zc(u, o), HA(u);
        var D = t;
        do {
          switch (D.tag) {
            case T: {
              var F = u;
              D.flags |= Lr;
              var J = cs(d);
              D.lanes = At(D.lanes, J);
              var X = uw(D, F, J);
              yC(D, X);
              return;
            }
            case E:
              var fe = u, he = D.type, be = D.stateNode;
              if ((D.flags & xt) === pt && (typeof he.getDerivedStateFromError == "function" || be !== null && typeof be.componentDidCatch == "function" && !cT(be))) {
                D.flags |= Lr;
                var We = cs(d);
                D.lanes = At(D.lanes, We);
                var ht = fb(D, fe, We);
                yC(D, ht);
                return;
              }
              break;
          }
          D = D.return;
        } while (D !== null);
      }
      function uL() {
        return null;
      }
      var sh = l.ReactCurrentOwner, Vo = !1, db, ch, vb, pb, hb, Jc, mb, Ty, fh;
      db = {}, ch = {}, vb = {}, pb = {}, hb = {}, Jc = !1, mb = {}, Ty = {}, fh = {};
      function ni(e, t, o, u) {
        e === null ? t.child = pR(t, null, o, u) : t.child = Id(t, e.child, o, u);
      }
      function sL(e, t, o, u) {
        t.child = Id(t, e.child, null, u), t.child = Id(t, null, o, u);
      }
      function dw(e, t, o, u, d) {
        if (t.type !== t.elementType) {
          var h = o.propTypes;
          h && $o(
            h,
            u,
            // Resolved props
            "prop",
            Qt(o)
          );
        }
        var y = o.render, x = t.ref, w, D;
        Vd(t, d), es(t);
        {
          if (sh.current = t, ka(!0), w = Qd(e, t, y, u, x, d), D = Kd(), t.mode & It) {
            Sr(!0);
            try {
              w = Qd(e, t, y, u, x, d), D = Kd();
            } finally {
              Sr(!1);
            }
          }
          ka(!1);
        }
        return Fa(), e !== null && !Vo ? (_R(e, t, d), Su(e, t, d)) : (pa() && D && XS(t), t.flags |= vl, ni(e, t, w, d), t.child);
      }
      function vw(e, t, o, u, d) {
        if (e === null) {
          var h = o.type;
          if (pP(h) && o.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
          o.defaultProps === void 0) {
            var y = h;
            return y = av(h), t.tag = Y, t.type = y, Sb(t, h), pw(e, t, y, u, d);
          }
          {
            var x = h.propTypes;
            if (x && $o(
              x,
              u,
              // Resolved props
              "prop",
              Qt(h)
            ), o.defaultProps !== void 0) {
              var w = Qt(h) || "Unknown";
              fh[w] || (p("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.", w), fh[w] = !0);
            }
          }
          var D = tE(o.type, null, u, t, t.mode, d);
          return D.ref = t.ref, D.return = t, t.child = D, D;
        }
        {
          var F = o.type, J = F.propTypes;
          J && $o(
            J,
            u,
            // Resolved props
            "prop",
            Qt(F)
          );
        }
        var X = e.child, fe = wb(e, d);
        if (!fe) {
          var he = X.memoizedProps, be = o.compare;
          if (be = be !== null ? be : ur, be(he, u) && e.ref === t.ref)
            return Su(e, t, d);
        }
        t.flags |= vl;
        var We = af(X, u);
        return We.ref = t.ref, We.return = t, t.child = We, We;
      }
      function pw(e, t, o, u, d) {
        if (t.type !== t.elementType) {
          var h = t.elementType;
          if (h.$$typeof === Je) {
            var y = h, x = y._payload, w = y._init;
            try {
              h = w(x);
            } catch {
              h = null;
            }
            var D = h && h.propTypes;
            D && $o(
              D,
              u,
              // Resolved (SimpleMemoComponent has no defaultProps)
              "prop",
              Qt(h)
            );
          }
        }
        if (e !== null) {
          var F = e.memoizedProps;
          if (ur(F, u) && e.ref === t.ref && // Prevent bailout if the implementation changed due to hot reload.
          t.type === e.type)
            if (Vo = !1, t.pendingProps = u = F, wb(e, d))
              (e.flags & gc) !== pt && (Vo = !0);
            else return t.lanes = e.lanes, Su(e, t, d);
        }
        return gb(e, t, o, u, d);
      }
      function hw(e, t, o) {
        var u = t.pendingProps, d = u.children, h = e !== null ? e.memoizedState : null;
        if (u.mode === "hidden" || te)
          if ((t.mode & st) === it) {
            var y = {
              baseLanes: ke,
              cachePool: null,
              transitions: null
            };
            t.memoizedState = y, jy(t, o);
          } else if (ja(o, ra)) {
            var J = {
              baseLanes: ke,
              cachePool: null,
              transitions: null
            };
            t.memoizedState = J;
            var X = h !== null ? h.baseLanes : o;
            jy(t, X);
          } else {
            var x = null, w;
            if (h !== null) {
              var D = h.baseLanes;
              w = At(D, o);
            } else
              w = o;
            t.lanes = t.childLanes = ra;
            var F = {
              baseLanes: w,
              cachePool: x,
              transitions: null
            };
            return t.memoizedState = F, t.updateQueue = null, jy(t, w), null;
          }
        else {
          var fe;
          h !== null ? (fe = At(h.baseLanes, o), t.memoizedState = null) : fe = o, jy(t, fe);
        }
        return ni(e, t, d, o), t.child;
      }
      function cL(e, t, o) {
        var u = t.pendingProps;
        return ni(e, t, u, o), t.child;
      }
      function fL(e, t, o) {
        var u = t.pendingProps.children;
        return ni(e, t, u, o), t.child;
      }
      function dL(e, t, o) {
        {
          t.flags |= Ft;
          {
            var u = t.stateNode;
            u.effectDuration = 0, u.passiveEffectDuration = 0;
          }
        }
        var d = t.pendingProps, h = d.children;
        return ni(e, t, h, o), t.child;
      }
      function mw(e, t) {
        var o = t.ref;
        (e === null && o !== null || e !== null && e.ref !== o) && (t.flags |= Ma, t.flags |= Jv);
      }
      function gb(e, t, o, u, d) {
        if (t.type !== t.elementType) {
          var h = o.propTypes;
          h && $o(
            h,
            u,
            // Resolved props
            "prop",
            Qt(o)
          );
        }
        var y;
        {
          var x = Fd(t, o, !0);
          y = $d(t, x);
        }
        var w, D;
        Vd(t, d), es(t);
        {
          if (sh.current = t, ka(!0), w = Qd(e, t, o, u, y, d), D = Kd(), t.mode & It) {
            Sr(!0);
            try {
              w = Qd(e, t, o, u, y, d), D = Kd();
            } finally {
              Sr(!1);
            }
          }
          ka(!1);
        }
        return Fa(), e !== null && !Vo ? (_R(e, t, d), Su(e, t, d)) : (pa() && D && XS(t), t.flags |= vl, ni(e, t, w, d), t.child);
      }
      function gw(e, t, o, u, d) {
        {
          switch (kP(t)) {
            case !1: {
              var h = t.stateNode, y = t.type, x = new y(t.memoizedProps, h.context), w = x.state;
              h.updater.enqueueSetState(h, w, null);
              break;
            }
            case !0: {
              t.flags |= xt, t.flags |= Lr;
              var D = new Error("Simulated error coming from DevTools"), F = cs(d);
              t.lanes = At(t.lanes, F);
              var J = fb(t, Zc(D, t), F);
              yC(t, J);
              break;
            }
          }
          if (t.type !== t.elementType) {
            var X = o.propTypes;
            X && $o(
              X,
              u,
              // Resolved props
              "prop",
              Qt(o)
            );
          }
        }
        var fe;
        Tl(o) ? (fe = !0, zg(t)) : fe = !1, Vd(t, d);
        var he = t.stateNode, be;
        he === null ? (_y(e, t), ow(t, o, u), ub(t, o, u, d), be = !0) : e === null ? be = tL(t, o, u, d) : be = nL(e, t, o, u, d);
        var We = yb(e, t, o, be, fe, d);
        {
          var ht = t.stateNode;
          be && ht.props !== u && (Jc || p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", Ot(t) || "a component"), Jc = !0);
        }
        return We;
      }
      function yb(e, t, o, u, d, h) {
        mw(e, t);
        var y = (t.flags & xt) !== pt;
        if (!u && !y)
          return d && Zx(t, o, !1), Su(e, t, h);
        var x = t.stateNode;
        sh.current = t;
        var w;
        if (y && typeof o.getDerivedStateFromError != "function")
          w = null, tw();
        else {
          es(t);
          {
            if (ka(!0), w = x.render(), t.mode & It) {
              Sr(!0);
              try {
                x.render();
              } finally {
                Sr(!1);
              }
            }
            ka(!1);
          }
          Fa();
        }
        return t.flags |= vl, e !== null && y ? sL(e, t, w, h) : ni(e, t, w, h), t.memoizedState = x.state, d && Zx(t, o, !0), t.child;
      }
      function yw(e) {
        var t = e.stateNode;
        t.pendingContext ? Kx(e, t.pendingContext, t.pendingContext !== t.context) : t.context && Kx(e, t.context, !1), SC(e, t.containerInfo);
      }
      function vL(e, t, o) {
        if (yw(t), e === null)
          throw new Error("Should have a current fiber. This is a bug in React.");
        var u = t.pendingProps, d = t.memoizedState, h = d.element;
        bR(e, t), ty(t, u, null, o);
        var y = t.memoizedState;
        t.stateNode;
        var x = y.element;
        if (d.isDehydrated) {
          var w = {
            element: x,
            isDehydrated: !1,
            cache: y.cache,
            pendingSuspenseBoundaries: y.pendingSuspenseBoundaries,
            transitions: y.transitions
          }, D = t.updateQueue;
          if (D.baseState = w, t.memoizedState = w, t.flags & ar) {
            var F = Zc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
            return Sw(e, t, x, o, F);
          } else if (x !== h) {
            var J = Zc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."), t);
            return Sw(e, t, x, o, J);
          } else {
            m2(t);
            var X = pR(t, null, x, o);
            t.child = X;
            for (var fe = X; fe; )
              fe.flags = fe.flags & ~In | mi, fe = fe.sibling;
          }
        } else {
          if (Hd(), x === h)
            return Su(e, t, o);
          ni(e, t, x, o);
        }
        return t.child;
      }
      function Sw(e, t, o, u, d) {
        return Hd(), rC(d), t.flags |= ar, ni(e, t, o, u), t.child;
      }
      function pL(e, t, o) {
        wR(t), e === null && nC(t);
        var u = t.type, d = t.pendingProps, h = e !== null ? e.memoizedProps : null, y = d.children, x = $S(u, d);
        return x ? y = null : h !== null && $S(u, h) && (t.flags |= yn), mw(e, t), ni(e, t, y, o), t.child;
      }
      function hL(e, t) {
        return e === null && nC(t), null;
      }
      function mL(e, t, o, u) {
        _y(e, t);
        var d = t.pendingProps, h = o, y = h._payload, x = h._init, w = x(y);
        t.type = w;
        var D = t.tag = hP(w), F = Uo(w, d), J;
        switch (D) {
          case C:
            return Sb(t, w), t.type = w = av(w), J = gb(null, t, w, F, u), J;
          case E:
            return t.type = w = Qb(w), J = gw(null, t, w, F, u), J;
          case j:
            return t.type = w = Kb(w), J = dw(null, t, w, F, u), J;
          case ee: {
            if (t.type !== t.elementType) {
              var X = w.propTypes;
              X && $o(
                X,
                F,
                // Resolved for outer only
                "prop",
                Qt(w)
              );
            }
            return J = vw(
              null,
              t,
              w,
              Uo(w.type, F),
              // The inner type can have defaults too
              u
            ), J;
          }
        }
        var fe = "";
        throw w !== null && typeof w == "object" && w.$$typeof === Je && (fe = " Did you wrap a component in React.lazy() more than once?"), new Error("Element type is invalid. Received a promise that resolves to: " + w + ". " + ("Lazy element type must resolve to a class or function." + fe));
      }
      function gL(e, t, o, u, d) {
        _y(e, t), t.tag = E;
        var h;
        return Tl(o) ? (h = !0, zg(t)) : h = !1, Vd(t, d), ow(t, o, u), ub(t, o, u, d), yb(null, t, o, !0, h, d);
      }
      function yL(e, t, o, u) {
        _y(e, t);
        var d = t.pendingProps, h;
        {
          var y = Fd(t, o, !1);
          h = $d(t, y);
        }
        Vd(t, u);
        var x, w;
        es(t);
        {
          if (o.prototype && typeof o.prototype.render == "function") {
            var D = Qt(o) || "Unknown";
            db[D] || (p("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.", D, D), db[D] = !0);
          }
          t.mode & It && jo.recordLegacyContextWarning(t, null), ka(!0), sh.current = t, x = Qd(null, t, o, d, h, u), w = Kd(), ka(!1);
        }
        if (Fa(), t.flags |= vl, typeof x == "object" && x !== null && typeof x.render == "function" && x.$$typeof === void 0) {
          var F = Qt(o) || "Unknown";
          ch[F] || (p("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", F, F, F), ch[F] = !0);
        }
        if (
          // Run these checks in production only if the flag is off.
          // Eventually we'll delete this branch altogether.
          typeof x == "object" && x !== null && typeof x.render == "function" && x.$$typeof === void 0
        ) {
          {
            var J = Qt(o) || "Unknown";
            ch[J] || (p("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", J, J, J), ch[J] = !0);
          }
          t.tag = E, t.memoizedState = null, t.updateQueue = null;
          var X = !1;
          return Tl(o) ? (X = !0, zg(t)) : X = !1, t.memoizedState = x.state !== null && x.state !== void 0 ? x.state : null, gC(t), iw(t, x), ub(t, o, d, u), yb(null, t, o, !0, X, u);
        } else {
          if (t.tag = C, t.mode & It) {
            Sr(!0);
            try {
              x = Qd(null, t, o, d, h, u), w = Kd();
            } finally {
              Sr(!1);
            }
          }
          return pa() && w && XS(t), ni(null, t, x, u), Sb(t, o), t.child;
        }
      }
      function Sb(e, t) {
        {
          if (t && t.childContextTypes && p("%s(...): childContextTypes cannot be defined on a function component.", t.displayName || t.name || "Component"), e.ref !== null) {
            var o = "", u = fa();
            u && (o += `

Check the render method of \`` + u + "`.");
            var d = u || "", h = e._debugSource;
            h && (d = h.fileName + ":" + h.lineNumber), hb[d] || (hb[d] = !0, p("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s", o));
          }
          if (t.defaultProps !== void 0) {
            var y = Qt(t) || "Unknown";
            fh[y] || (p("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", y), fh[y] = !0);
          }
          if (typeof t.getDerivedStateFromProps == "function") {
            var x = Qt(t) || "Unknown";
            pb[x] || (p("%s: Function components do not support getDerivedStateFromProps.", x), pb[x] = !0);
          }
          if (typeof t.contextType == "object" && t.contextType !== null) {
            var w = Qt(t) || "Unknown";
            vb[w] || (p("%s: Function components do not support contextType.", w), vb[w] = !0);
          }
        }
      }
      var Cb = {
        dehydrated: null,
        treeContext: null,
        retryLane: Cr
      };
      function bb(e) {
        return {
          baseLanes: e,
          cachePool: uL(),
          transitions: null
        };
      }
      function SL(e, t) {
        var o = null;
        return {
          baseLanes: At(e.baseLanes, t),
          cachePool: o,
          transitions: e.transitions
        };
      }
      function CL(e, t, o, u) {
        if (t !== null) {
          var d = t.memoizedState;
          if (d === null)
            return !1;
        }
        return EC(e, eh);
      }
      function bL(e, t) {
        return Oc(e.childLanes, t);
      }
      function Cw(e, t, o) {
        var u = t.pendingProps;
        NP(t) && (t.flags |= xt);
        var d = Ho.current, h = !1, y = (t.flags & xt) !== pt;
        if (y || CL(d, e) ? (h = !0, t.flags &= ~xt) : (e === null || e.memoizedState !== null) && (d = j2(d, OR)), d = Wd(d), Ps(t, d), e === null) {
          nC(t);
          var x = t.memoizedState;
          if (x !== null) {
            var w = x.dehydrated;
            if (w !== null)
              return TL(t, w);
          }
          var D = u.children, F = u.fallback;
          if (h) {
            var J = EL(t, D, F, o), X = t.child;
            return X.memoizedState = bb(o), t.memoizedState = Cb, J;
          } else
            return Eb(t, D);
        } else {
          var fe = e.memoizedState;
          if (fe !== null) {
            var he = fe.dehydrated;
            if (he !== null)
              return OL(e, t, y, u, he, fe, o);
          }
          if (h) {
            var be = u.fallback, We = u.children, ht = RL(e, t, We, be, o), ft = t.child, tn = e.child.memoizedState;
            return ft.memoizedState = tn === null ? bb(o) : SL(tn, o), ft.childLanes = bL(e, o), t.memoizedState = Cb, ht;
          } else {
            var Wt = u.children, oe = xL(e, t, Wt, o);
            return t.memoizedState = null, oe;
          }
        }
      }
      function Eb(e, t, o) {
        var u = e.mode, d = {
          mode: "visible",
          children: t
        }, h = xb(d, u);
        return h.return = e, e.child = h, h;
      }
      function EL(e, t, o, u) {
        var d = e.mode, h = e.child, y = {
          mode: "hidden",
          children: t
        }, x, w;
        return (d & st) === it && h !== null ? (x = h, x.childLanes = ke, x.pendingProps = y, e.mode & Rt && (x.actualDuration = 0, x.actualStartTime = -1, x.selfBaseDuration = 0, x.treeBaseDuration = 0), w = Vs(o, d, u, null)) : (x = xb(y, d), w = Vs(o, d, u, null)), x.return = e, w.return = e, x.sibling = w, e.child = x, w;
      }
      function xb(e, t, o) {
        return bT(e, t, ke, null);
      }
      function bw(e, t) {
        return af(e, t);
      }
      function xL(e, t, o, u) {
        var d = e.child, h = d.sibling, y = bw(d, {
          mode: "visible",
          children: o
        });
        if ((t.mode & st) === it && (y.lanes = u), y.return = t, y.sibling = null, h !== null) {
          var x = t.deletions;
          x === null ? (t.deletions = [h], t.flags |= vn) : x.push(h);
        }
        return t.child = y, y;
      }
      function RL(e, t, o, u, d) {
        var h = t.mode, y = e.child, x = y.sibling, w = {
          mode: "hidden",
          children: o
        }, D;
        if (
          // In legacy mode, we commit the primary tree as if it successfully
          // completed, even though it's in an inconsistent state.
          (h & st) === it && // Make sure we're on the second pass, i.e. the primary child fragment was
          // already cloned. In legacy mode, the only case where this isn't true is
          // when DevTools forces us to display a fallback; we skip the first render
          // pass entirely and go straight to rendering the fallback. (In Concurrent
          // Mode, SuspenseList can also trigger this scenario, but this is a legacy-
          // only codepath.)
          t.child !== y
        ) {
          var F = t.child;
          D = F, D.childLanes = ke, D.pendingProps = w, t.mode & Rt && (D.actualDuration = 0, D.actualStartTime = -1, D.selfBaseDuration = y.selfBaseDuration, D.treeBaseDuration = y.treeBaseDuration), t.deletions = null;
        } else
          D = bw(y, w), D.subtreeFlags = y.subtreeFlags & Hr;
        var J;
        return x !== null ? J = af(x, u) : (J = Vs(u, h, d, null), J.flags |= In), J.return = t, D.return = t, D.sibling = J, t.child = D, J;
      }
      function Oy(e, t, o, u) {
        u !== null && rC(u), Id(t, e.child, null, o);
        var d = t.pendingProps, h = d.children, y = Eb(t, h);
        return y.flags |= In, t.memoizedState = null, y;
      }
      function wL(e, t, o, u, d) {
        var h = t.mode, y = {
          mode: "visible",
          children: o
        }, x = xb(y, h), w = Vs(u, h, d, null);
        return w.flags |= In, x.return = t, w.return = t, x.sibling = w, t.child = x, (t.mode & st) !== it && Id(t, e.child, null, d), w;
      }
      function TL(e, t, o) {
        return (e.mode & st) === it ? (p("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), e.lanes = dt) : IS(t) ? e.lanes = Do : e.lanes = ra, null;
      }
      function OL(e, t, o, u, d, h, y) {
        if (o)
          if (t.flags & ar) {
            t.flags &= ~ar;
            var oe = sb(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
            return Oy(e, t, y, oe);
          } else {
            if (t.memoizedState !== null)
              return t.child = e.child, t.flags |= xt, null;
            var Ee = u.children, le = u.fallback, Ae = wL(e, t, Ee, le, y), Xe = t.child;
            return Xe.memoizedState = bb(y), t.memoizedState = Cb, Ae;
          }
        else {
          if (p2(), (t.mode & st) === it)
            return Oy(
              e,
              t,
              y,
              // TODO: When we delete legacy mode, we should make this error argument
              // required — every concurrent mode path that causes hydration to
              // de-opt to client rendering should have an error message.
              null
            );
          if (IS(d)) {
            var x, w, D;
            {
              var F = MD(d);
              x = F.digest, w = F.message, D = F.stack;
            }
            var J;
            w ? J = new Error(w) : J = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
            var X = sb(J, x, D);
            return Oy(e, t, y, X);
          }
          var fe = ja(y, e.childLanes);
          if (Vo || fe) {
            var he = zy();
            if (he !== null) {
              var be = Zm(he, y);
              if (be !== Cr && be !== h.retryLane) {
                h.retryLane = be;
                var We = Pn;
                _i(e, be), Kr(he, e, be, We);
              }
            }
            Bb();
            var ht = sb(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
            return Oy(e, t, y, ht);
          } else if (Bx(d)) {
            t.flags |= xt, t.child = e.child;
            var ft = ZA.bind(null, e);
            return DD(d, ft), null;
          } else {
            g2(t, d, h.treeContext);
            var tn = u.children, Wt = Eb(t, tn);
            return Wt.flags |= mi, Wt;
          }
        }
      }
      function Ew(e, t, o) {
        e.lanes = At(e.lanes, t);
        var u = e.alternate;
        u !== null && (u.lanes = At(u.lanes, t)), vC(e.return, t, o);
      }
      function _L(e, t, o) {
        for (var u = t; u !== null; ) {
          if (u.tag === I) {
            var d = u.memoizedState;
            d !== null && Ew(u, o, e);
          } else if (u.tag === ye)
            Ew(u, o, e);
          else if (u.child !== null) {
            u.child.return = u, u = u.child;
            continue;
          }
          if (u === e)
            return;
          for (; u.sibling === null; ) {
            if (u.return === null || u.return === e)
              return;
            u = u.return;
          }
          u.sibling.return = u.return, u = u.sibling;
        }
      }
      function kL(e) {
        for (var t = e, o = null; t !== null; ) {
          var u = t.alternate;
          u !== null && iy(u) === null && (o = t), t = t.sibling;
        }
        return o;
      }
      function NL(e) {
        if (e !== void 0 && e !== "forwards" && e !== "backwards" && e !== "together" && !mb[e])
          if (mb[e] = !0, typeof e == "string")
            switch (e.toLowerCase()) {
              case "together":
              case "forwards":
              case "backwards": {
                p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.', e, e.toLowerCase());
                break;
              }
              case "forward":
              case "backward": {
                p('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.', e, e.toLowerCase());
                break;
              }
              default:
                p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', e);
                break;
            }
          else
            p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?', e);
      }
      function ML(e, t) {
        e !== void 0 && !Ty[e] && (e !== "collapsed" && e !== "hidden" ? (Ty[e] = !0, p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?', e)) : t !== "forwards" && t !== "backwards" && (Ty[e] = !0, p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?', e)));
      }
      function xw(e, t) {
        {
          var o = Kt(e), u = !o && typeof Qa(e) == "function";
          if (o || u) {
            var d = o ? "array" : "iterable";
            return p("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>", d, t, d), !1;
          }
        }
        return !0;
      }
      function DL(e, t) {
        if ((t === "forwards" || t === "backwards") && e !== void 0 && e !== null && e !== !1)
          if (Kt(e)) {
            for (var o = 0; o < e.length; o++)
              if (!xw(e[o], o))
                return;
          } else {
            var u = Qa(e);
            if (typeof u == "function") {
              var d = u.call(e);
              if (d)
                for (var h = d.next(), y = 0; !h.done; h = d.next()) {
                  if (!xw(h.value, y))
                    return;
                  y++;
                }
            } else
              p('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?', t);
          }
      }
      function Rb(e, t, o, u, d) {
        var h = e.memoizedState;
        h === null ? e.memoizedState = {
          isBackwards: t,
          rendering: null,
          renderingStartTime: 0,
          last: u,
          tail: o,
          tailMode: d
        } : (h.isBackwards = t, h.rendering = null, h.renderingStartTime = 0, h.last = u, h.tail = o, h.tailMode = d);
      }
      function Rw(e, t, o) {
        var u = t.pendingProps, d = u.revealOrder, h = u.tail, y = u.children;
        NL(d), ML(h, d), DL(y, d), ni(e, t, y, o);
        var x = Ho.current, w = EC(x, eh);
        if (w)
          x = xC(x, eh), t.flags |= xt;
        else {
          var D = e !== null && (e.flags & xt) !== pt;
          D && _L(t, t.child, o), x = Wd(x);
        }
        if (Ps(t, x), (t.mode & st) === it)
          t.memoizedState = null;
        else
          switch (d) {
            case "forwards": {
              var F = kL(t.child), J;
              F === null ? (J = t.child, t.child = null) : (J = F.sibling, F.sibling = null), Rb(
                t,
                !1,
                // isBackwards
                J,
                F,
                h
              );
              break;
            }
            case "backwards": {
              var X = null, fe = t.child;
              for (t.child = null; fe !== null; ) {
                var he = fe.alternate;
                if (he !== null && iy(he) === null) {
                  t.child = fe;
                  break;
                }
                var be = fe.sibling;
                fe.sibling = X, X = fe, fe = be;
              }
              Rb(
                t,
                !0,
                // isBackwards
                X,
                null,
                // last
                h
              );
              break;
            }
            case "together": {
              Rb(
                t,
                !1,
                // isBackwards
                null,
                // tail
                null,
                // last
                void 0
              );
              break;
            }
            default:
              t.memoizedState = null;
          }
        return t.child;
      }
      function LL(e, t, o) {
        SC(t, t.stateNode.containerInfo);
        var u = t.pendingProps;
        return e === null ? t.child = Id(t, null, u, o) : ni(e, t, u, o), t.child;
      }
      var ww = !1;
      function AL(e, t, o) {
        var u = t.type, d = u._context, h = t.pendingProps, y = t.memoizedProps, x = h.value;
        {
          "value" in h || ww || (ww = !0, p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));
          var w = t.type.propTypes;
          w && $o(w, h, "prop", "Context.Provider");
        }
        if (gR(t, d, x), y !== null) {
          var D = y.value;
          if (ct(D, x)) {
            if (y.children === h.children && !Fg())
              return Su(e, t, o);
          } else
            N2(t, d, o);
        }
        var F = h.children;
        return ni(e, t, F, o), t.child;
      }
      var Tw = !1;
      function PL(e, t, o) {
        var u = t.type;
        u._context === void 0 ? u !== u.Consumer && (Tw || (Tw = !0, p("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : u = u._context;
        var d = t.pendingProps, h = d.children;
        typeof h != "function" && p("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."), Vd(t, o);
        var y = $r(u);
        es(t);
        var x;
        return sh.current = t, ka(!0), x = h(y), ka(!1), Fa(), t.flags |= vl, ni(e, t, x, o), t.child;
      }
      function dh() {
        Vo = !0;
      }
      function _y(e, t) {
        (t.mode & st) === it && e !== null && (e.alternate = null, t.alternate = null, t.flags |= In);
      }
      function Su(e, t, o) {
        return e !== null && (t.dependencies = e.dependencies), tw(), Rh(t.lanes), ja(o, t.childLanes) ? (_2(e, t), t.child) : null;
      }
      function FL(e, t, o) {
        {
          var u = t.return;
          if (u === null)
            throw new Error("Cannot swap the root fiber.");
          if (e.alternate = null, t.alternate = null, o.index = t.index, o.sibling = t.sibling, o.return = t.return, o.ref = t.ref, t === u.child)
            u.child = o;
          else {
            var d = u.child;
            if (d === null)
              throw new Error("Expected parent to have a child.");
            for (; d.sibling !== t; )
              if (d = d.sibling, d === null)
                throw new Error("Expected to find the previous sibling.");
            d.sibling = o;
          }
          var h = u.deletions;
          return h === null ? (u.deletions = [e], u.flags |= vn) : h.push(e), o.flags |= In, o;
        }
      }
      function wb(e, t) {
        var o = e.lanes;
        return !!ja(o, t);
      }
      function $L(e, t, o) {
        switch (t.tag) {
          case T:
            yw(t), t.stateNode, Hd();
            break;
          case A:
            wR(t);
            break;
          case E: {
            var u = t.type;
            Tl(u) && zg(t);
            break;
          }
          case _:
            SC(t, t.stateNode.containerInfo);
            break;
          case $: {
            var d = t.memoizedProps.value, h = t.type._context;
            gR(t, h, d);
            break;
          }
          case W:
            {
              var y = ja(o, t.childLanes);
              y && (t.flags |= Ft);
              {
                var x = t.stateNode;
                x.effectDuration = 0, x.passiveEffectDuration = 0;
              }
            }
            break;
          case I: {
            var w = t.memoizedState;
            if (w !== null) {
              if (w.dehydrated !== null)
                return Ps(t, Wd(Ho.current)), t.flags |= xt, null;
              var D = t.child, F = D.childLanes;
              if (ja(o, F))
                return Cw(e, t, o);
              Ps(t, Wd(Ho.current));
              var J = Su(e, t, o);
              return J !== null ? J.sibling : null;
            } else
              Ps(t, Wd(Ho.current));
            break;
          }
          case ye: {
            var X = (e.flags & xt) !== pt, fe = ja(o, t.childLanes);
            if (X) {
              if (fe)
                return Rw(e, t, o);
              t.flags |= xt;
            }
            var he = t.memoizedState;
            if (he !== null && (he.rendering = null, he.tail = null, he.lastEffect = null), Ps(t, Ho.current), fe)
              break;
            return null;
          }
          case ge:
          case me:
            return t.lanes = ke, hw(e, t, o);
        }
        return Su(e, t, o);
      }
      function Ow(e, t, o) {
        if (t._debugNeedsRemount && e !== null)
          return FL(e, t, tE(t.type, t.key, t.pendingProps, t._debugOwner || null, t.mode, t.lanes));
        if (e !== null) {
          var u = e.memoizedProps, d = t.pendingProps;
          if (u !== d || Fg() || // Force a re-render if the implementation changed due to hot reload:
          t.type !== e.type)
            Vo = !0;
          else {
            var h = wb(e, o);
            if (!h && // If this is the second pass of an error or suspense boundary, there
            // may not be work scheduled on `current`, so we check for this flag.
            (t.flags & xt) === pt)
              return Vo = !1, $L(e, t, o);
            (e.flags & gc) !== pt ? Vo = !0 : Vo = !1;
          }
        } else if (Vo = !1, pa() && u2(t)) {
          var y = t.index, x = s2();
          tR(t, x, y);
        }
        switch (t.lanes = ke, t.tag) {
          case R:
            return yL(e, t, t.type, o);
          case ne: {
            var w = t.elementType;
            return mL(e, t, w, o);
          }
          case C: {
            var D = t.type, F = t.pendingProps, J = t.elementType === D ? F : Uo(D, F);
            return gb(e, t, D, J, o);
          }
          case E: {
            var X = t.type, fe = t.pendingProps, he = t.elementType === X ? fe : Uo(X, fe);
            return gw(e, t, X, he, o);
          }
          case T:
            return vL(e, t, o);
          case A:
            return pL(e, t, o);
          case P:
            return hL(e, t);
          case I:
            return Cw(e, t, o);
          case _:
            return LL(e, t, o);
          case j: {
            var be = t.type, We = t.pendingProps, ht = t.elementType === be ? We : Uo(be, We);
            return dw(e, t, be, ht, o);
          }
          case L:
            return cL(e, t, o);
          case M:
            return fL(e, t, o);
          case W:
            return dL(e, t, o);
          case $:
            return AL(e, t, o);
          case V:
            return PL(e, t, o);
          case ee: {
            var ft = t.type, tn = t.pendingProps, Wt = Uo(ft, tn);
            if (t.type !== t.elementType) {
              var oe = ft.propTypes;
              oe && $o(
                oe,
                Wt,
                // Resolved for outer only
                "prop",
                Qt(ft)
              );
            }
            return Wt = Uo(ft.type, Wt), vw(e, t, ft, Wt, o);
          }
          case Y:
            return pw(e, t, t.type, t.pendingProps, o);
          case ae: {
            var Ee = t.type, le = t.pendingProps, Ae = t.elementType === Ee ? le : Uo(Ee, le);
            return gL(e, t, Ee, Ae, o);
          }
          case ye:
            return Rw(e, t, o);
          case Oe:
            break;
          case ge:
            return hw(e, t, o);
        }
        throw new Error("Unknown unit of work tag (" + t.tag + "). This error is likely caused by a bug in React. Please file an issue.");
      }
      function Xd(e) {
        e.flags |= Ft;
      }
      function _w(e) {
        e.flags |= Ma, e.flags |= Jv;
      }
      var kw, Tb, Nw, Mw;
      kw = function(e, t, o, u) {
        for (var d = t.child; d !== null; ) {
          if (d.tag === A || d.tag === P)
            iD(e, d.stateNode);
          else if (d.tag !== _) {
            if (d.child !== null) {
              d.child.return = d, d = d.child;
              continue;
            }
          }
          if (d === t)
            return;
          for (; d.sibling === null; ) {
            if (d.return === null || d.return === t)
              return;
            d = d.return;
          }
          d.sibling.return = d.return, d = d.sibling;
        }
      }, Tb = function(e, t) {
      }, Nw = function(e, t, o, u, d) {
        var h = e.memoizedProps;
        if (h !== u) {
          var y = t.stateNode, x = CC(), w = lD(y, o, h, u, d, x);
          t.updateQueue = w, w && Xd(t);
        }
      }, Mw = function(e, t, o, u) {
        o !== u && Xd(t);
      };
      function vh(e, t) {
        if (!pa())
          switch (e.tailMode) {
            case "hidden": {
              for (var o = e.tail, u = null; o !== null; )
                o.alternate !== null && (u = o), o = o.sibling;
              u === null ? e.tail = null : u.sibling = null;
              break;
            }
            case "collapsed": {
              for (var d = e.tail, h = null; d !== null; )
                d.alternate !== null && (h = d), d = d.sibling;
              h === null ? !t && e.tail !== null ? e.tail.sibling = null : e.tail = null : h.sibling = null;
              break;
            }
          }
      }
      function ma(e) {
        var t = e.alternate !== null && e.alternate.child === e.child, o = ke, u = pt;
        if (t) {
          if ((e.mode & Rt) !== it) {
            for (var w = e.selfBaseDuration, D = e.child; D !== null; )
              o = At(o, At(D.lanes, D.childLanes)), u |= D.subtreeFlags & Hr, u |= D.flags & Hr, w += D.treeBaseDuration, D = D.sibling;
            e.treeBaseDuration = w;
          } else
            for (var F = e.child; F !== null; )
              o = At(o, At(F.lanes, F.childLanes)), u |= F.subtreeFlags & Hr, u |= F.flags & Hr, F.return = e, F = F.sibling;
          e.subtreeFlags |= u;
        } else {
          if ((e.mode & Rt) !== it) {
            for (var d = e.actualDuration, h = e.selfBaseDuration, y = e.child; y !== null; )
              o = At(o, At(y.lanes, y.childLanes)), u |= y.subtreeFlags, u |= y.flags, d += y.actualDuration, h += y.treeBaseDuration, y = y.sibling;
            e.actualDuration = d, e.treeBaseDuration = h;
          } else
            for (var x = e.child; x !== null; )
              o = At(o, At(x.lanes, x.childLanes)), u |= x.subtreeFlags, u |= x.flags, x.return = e, x = x.sibling;
          e.subtreeFlags |= u;
        }
        return e.childLanes = o, t;
      }
      function zL(e, t, o) {
        if (E2() && (t.mode & st) !== it && (t.flags & xt) === pt)
          return uR(t), Hd(), t.flags |= ar | Ka | Lr, !1;
        var u = Vg(t);
        if (o !== null && o.dehydrated !== null)
          if (e === null) {
            if (!u)
              throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");
            if (C2(t), ma(t), (t.mode & Rt) !== it) {
              var d = o !== null;
              if (d) {
                var h = t.child;
                h !== null && (t.treeBaseDuration -= h.treeBaseDuration);
              }
            }
            return !1;
          } else {
            if (Hd(), (t.flags & xt) === pt && (t.memoizedState = null), t.flags |= Ft, ma(t), (t.mode & Rt) !== it) {
              var y = o !== null;
              if (y) {
                var x = t.child;
                x !== null && (t.treeBaseDuration -= x.treeBaseDuration);
              }
            }
            return !1;
          }
        else
          return sR(), !0;
      }
      function Dw(e, t, o) {
        var u = t.pendingProps;
        switch (ZS(t), t.tag) {
          case R:
          case ne:
          case Y:
          case C:
          case j:
          case L:
          case M:
          case W:
          case V:
          case ee:
            return ma(t), null;
          case E: {
            var d = t.type;
            return Tl(d) && $g(t), ma(t), null;
          }
          case T: {
            var h = t.stateNode;
            if (Bd(t), GS(t), wC(), h.pendingContext && (h.context = h.pendingContext, h.pendingContext = null), e === null || e.child === null) {
              var y = Vg(t);
              if (y)
                Xd(t);
              else if (e !== null) {
                var x = e.memoizedState;
                // Check if this is a client root
                (!x.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
                (t.flags & ar) !== pt) && (t.flags |= hi, sR());
              }
            }
            return Tb(e, t), ma(t), null;
          }
          case A: {
            bC(t);
            var w = RR(), D = t.type;
            if (e !== null && t.stateNode != null)
              Nw(e, t, D, u, w), e.ref !== t.ref && _w(t);
            else {
              if (!u) {
                if (t.stateNode === null)
                  throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
                return ma(t), null;
              }
              var F = CC(), J = Vg(t);
              if (J)
                y2(t, w, F) && Xd(t);
              else {
                var X = aD(D, u, w, F, t);
                kw(X, t, !1, !1), t.stateNode = X, oD(X, D, u, w) && Xd(t);
              }
              t.ref !== null && _w(t);
            }
            return ma(t), null;
          }
          case P: {
            var fe = u;
            if (e && t.stateNode != null) {
              var he = e.memoizedProps;
              Mw(e, t, he, fe);
            } else {
              if (typeof fe != "string" && t.stateNode === null)
                throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");
              var be = RR(), We = CC(), ht = Vg(t);
              ht ? S2(t) && Xd(t) : t.stateNode = uD(fe, be, We, t);
            }
            return ma(t), null;
          }
          case I: {
            Yd(t);
            var ft = t.memoizedState;
            if (e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
              var tn = zL(e, t, ft);
              if (!tn)
                return t.flags & Lr ? t : null;
            }
            if ((t.flags & xt) !== pt)
              return t.lanes = o, (t.mode & Rt) !== it && KC(t), t;
            var Wt = ft !== null, oe = e !== null && e.memoizedState !== null;
            if (Wt !== oe && Wt) {
              var Ee = t.child;
              if (Ee.flags |= pl, (t.mode & st) !== it) {
                var le = e === null && (t.memoizedProps.unstable_avoidThisFallback !== !0 || !z);
                le || EC(Ho.current, OR) ? jA() : Bb();
              }
            }
            var Ae = t.updateQueue;
            if (Ae !== null && (t.flags |= Ft), ma(t), (t.mode & Rt) !== it && Wt) {
              var Xe = t.child;
              Xe !== null && (t.treeBaseDuration -= Xe.treeBaseDuration);
            }
            return null;
          }
          case _:
            return Bd(t), Tb(e, t), e === null && t2(t.stateNode.containerInfo), ma(t), null;
          case $:
            var qe = t.type._context;
            return dC(qe, t), ma(t), null;
          case ae: {
            var Et = t.type;
            return Tl(Et) && $g(t), ma(t), null;
          }
          case ye: {
            Yd(t);
            var Dt = t.memoizedState;
            if (Dt === null)
              return ma(t), null;
            var Rn = (t.flags & xt) !== pt, fn = Dt.rendering;
            if (fn === null)
              if (Rn)
                vh(Dt, !1);
              else {
                var _r = IA() && (e === null || (e.flags & xt) === pt);
                if (!_r)
                  for (var dn = t.child; dn !== null; ) {
                    var br = iy(dn);
                    if (br !== null) {
                      Rn = !0, t.flags |= xt, vh(Dt, !1);
                      var Ba = br.updateQueue;
                      return Ba !== null && (t.updateQueue = Ba, t.flags |= Ft), t.subtreeFlags = pt, k2(t, o), Ps(t, xC(Ho.current, eh)), t.child;
                    }
                    dn = dn.sibling;
                  }
                Dt.tail !== null && Xn() > Jw() && (t.flags |= xt, Rn = !0, vh(Dt, !1), t.lanes = Im);
              }
            else {
              if (!Rn) {
                var ba = iy(fn);
                if (ba !== null) {
                  t.flags |= xt, Rn = !0;
                  var Wi = ba.updateQueue;
                  if (Wi !== null && (t.updateQueue = Wi, t.flags |= Ft), vh(Dt, !0), Dt.tail === null && Dt.tailMode === "hidden" && !fn.alternate && !pa())
                    return ma(t), null;
                } else // The time it took to render last row is greater than the remaining
                // time we have to render. So rendering one more row would likely
                // exceed it.
                Xn() * 2 - Dt.renderingStartTime > Jw() && o !== ra && (t.flags |= xt, Rn = !0, vh(Dt, !1), t.lanes = Im);
              }
              if (Dt.isBackwards)
                fn.sibling = t.child, t.child = fn;
              else {
                var ii = Dt.last;
                ii !== null ? ii.sibling = fn : t.child = fn, Dt.last = fn;
              }
            }
            if (Dt.tail !== null) {
              var oi = Dt.tail;
              Dt.rendering = oi, Dt.tail = oi.sibling, Dt.renderingStartTime = Xn(), oi.sibling = null;
              var Wa = Ho.current;
              return Rn ? Wa = xC(Wa, eh) : Wa = Wd(Wa), Ps(t, Wa), oi;
            }
            return ma(t), null;
          }
          case Oe:
            break;
          case ge:
          case me: {
            Vb(t);
            var Ru = t.memoizedState, iv = Ru !== null;
            if (e !== null) {
              var kh = e.memoizedState, Al = kh !== null;
              Al !== iv && // LegacyHidden doesn't do any hiding — it only pre-renders.
              !te && (t.flags |= pl);
            }
            return !iv || (t.mode & st) === it ? ma(t) : ja(Ll, ra) && (ma(t), t.subtreeFlags & (In | Ft) && (t.flags |= pl)), null;
          }
          case Te:
            return null;
          case re:
            return null;
        }
        throw new Error("Unknown unit of work tag (" + t.tag + "). This error is likely caused by a bug in React. Please file an issue.");
      }
      function jL(e, t, o) {
        switch (ZS(t), t.tag) {
          case E: {
            var u = t.type;
            Tl(u) && $g(t);
            var d = t.flags;
            return d & Lr ? (t.flags = d & ~Lr | xt, (t.mode & Rt) !== it && KC(t), t) : null;
          }
          case T: {
            t.stateNode, Bd(t), GS(t), wC();
            var h = t.flags;
            return (h & Lr) !== pt && (h & xt) === pt ? (t.flags = h & ~Lr | xt, t) : null;
          }
          case A:
            return bC(t), null;
          case I: {
            Yd(t);
            var y = t.memoizedState;
            if (y !== null && y.dehydrated !== null) {
              if (t.alternate === null)
                throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");
              Hd();
            }
            var x = t.flags;
            return x & Lr ? (t.flags = x & ~Lr | xt, (t.mode & Rt) !== it && KC(t), t) : null;
          }
          case ye:
            return Yd(t), null;
          case _:
            return Bd(t), null;
          case $:
            var w = t.type._context;
            return dC(w, t), null;
          case ge:
          case me:
            return Vb(t), null;
          case Te:
            return null;
          default:
            return null;
        }
      }
      function Lw(e, t, o) {
        switch (ZS(t), t.tag) {
          case E: {
            var u = t.type.childContextTypes;
            u != null && $g(t);
            break;
          }
          case T: {
            t.stateNode, Bd(t), GS(t), wC();
            break;
          }
          case A: {
            bC(t);
            break;
          }
          case _:
            Bd(t);
            break;
          case I:
            Yd(t);
            break;
          case ye:
            Yd(t);
            break;
          case $:
            var d = t.type._context;
            dC(d, t);
            break;
          case ge:
          case me:
            Vb(t);
            break;
        }
      }
      var Aw = null;
      Aw = /* @__PURE__ */ new Set();
      var ky = !1, ga = !1, HL = typeof WeakSet == "function" ? WeakSet : Set, tt = null, Zd = null, Jd = null;
      function IL(e) {
        Ql(null, function() {
          throw e;
        }), Xv();
      }
      var UL = function(e, t) {
        if (t.props = e.memoizedProps, t.state = e.memoizedState, e.mode & Rt)
          try {
            Ml(), t.componentWillUnmount();
          } finally {
            Nl(e);
          }
        else
          t.componentWillUnmount();
      };
      function Pw(e, t) {
        try {
          zs(Br, e);
        } catch (o) {
          Bn(e, t, o);
        }
      }
      function Ob(e, t, o) {
        try {
          UL(e, o);
        } catch (u) {
          Bn(e, t, u);
        }
      }
      function VL(e, t, o) {
        try {
          o.componentDidMount();
        } catch (u) {
          Bn(e, t, u);
        }
      }
      function Fw(e, t) {
        try {
          zw(e);
        } catch (o) {
          Bn(e, t, o);
        }
      }
      function ev(e, t) {
        var o = e.ref;
        if (o !== null)
          if (typeof o == "function") {
            var u;
            try {
              if (Ke && Be && e.mode & Rt)
                try {
                  Ml(), u = o(null);
                } finally {
                  Nl(e);
                }
              else
                u = o(null);
            } catch (d) {
              Bn(e, t, d);
            }
            typeof u == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", Ot(e));
          } else
            o.current = null;
      }
      function Ny(e, t, o) {
        try {
          o();
        } catch (u) {
          Bn(e, t, u);
        }
      }
      var $w = !1;
      function BL(e, t) {
        nD(e.containerInfo), tt = t, WL();
        var o = $w;
        return $w = !1, o;
      }
      function WL() {
        for (; tt !== null; ) {
          var e = tt, t = e.child;
          (e.subtreeFlags & Xu) !== pt && t !== null ? (t.return = e, tt = t) : YL();
        }
      }
      function YL() {
        for (; tt !== null; ) {
          var e = tt;
          gn(e);
          try {
            qL(e);
          } catch (o) {
            Bn(e, e.return, o);
          }
          rr();
          var t = e.sibling;
          if (t !== null) {
            t.return = e.return, tt = t;
            return;
          }
          tt = e.return;
        }
      }
      function qL(e) {
        var t = e.alternate, o = e.flags;
        if ((o & hi) !== pt) {
          switch (gn(e), e.tag) {
            case C:
            case j:
            case Y:
              break;
            case E: {
              if (t !== null) {
                var u = t.memoizedProps, d = t.memoizedState, h = e.stateNode;
                e.type === e.elementType && !Jc && (h.props !== e.memoizedProps && p("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.", Ot(e) || "instance"), h.state !== e.memoizedState && p("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.", Ot(e) || "instance"));
                var y = h.getSnapshotBeforeUpdate(e.elementType === e.type ? u : Uo(e.type, u), d);
                {
                  var x = Aw;
                  y === void 0 && !x.has(e.type) && (x.add(e.type), p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", Ot(e)));
                }
                h.__reactInternalSnapshotBeforeUpdate = y;
              }
              break;
            }
            case T: {
              {
                var w = e.stateNode;
                OD(w.containerInfo);
              }
              break;
            }
            case A:
            case P:
            case _:
            case ae:
              break;
            default:
              throw new 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.");
          }
          rr();
        }
      }
      function Bo(e, t, o) {
        var u = t.updateQueue, d = u !== null ? u.lastEffect : null;
        if (d !== null) {
          var h = d.next, y = h;
          do {
            if ((y.tag & e) === e) {
              var x = y.destroy;
              y.destroy = void 0, x !== void 0 && ((e & ha) !== ki ? zm(t) : (e & Br) !== ki && Ui(t), (e & Ol) !== ki && Th(!0), Ny(t, o, x), (e & Ol) !== ki && Th(!1), (e & ha) !== ki ? If() : (e & Br) !== ki && ts());
            }
            y = y.next;
          } while (y !== h);
        }
      }
      function zs(e, t) {
        var o = t.updateQueue, u = o !== null ? o.lastEffect : null;
        if (u !== null) {
          var d = u.next, h = d;
          do {
            if ((h.tag & e) === e) {
              (e & ha) !== ki ? gl(t) : (e & Br) !== ki && jm(t);
              var y = h.create;
              (e & Ol) !== ki && Th(!0), h.destroy = y(), (e & Ol) !== ki && Th(!1), (e & ha) !== ki ? Hf() : (e & Br) !== ki && yc();
              {
                var x = h.destroy;
                if (x !== void 0 && typeof x != "function") {
                  var w = void 0;
                  (h.tag & Br) !== pt ? w = "useLayoutEffect" : (h.tag & Ol) !== pt ? w = "useInsertionEffect" : w = "useEffect";
                  var D = void 0;
                  x === null ? D = " You returned null. If your effect does not require clean up, return undefined (or nothing)." : typeof x.then == "function" ? D = `

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

` + w + `(() => {
  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://reactjs.org/link/hooks-data-fetching` : D = " You returned: " + x, p("%s must not return anything besides a function, which is used for clean-up.%s", w, D);
                }
              }
            }
            h = h.next;
          } while (h !== d);
        }
      }
      function GL(e, t) {
        if ((t.flags & Ft) !== pt)
          switch (t.tag) {
            case W: {
              var o = t.stateNode.passiveEffectDuration, u = t.memoizedProps, d = u.id, h = u.onPostCommit, y = JR(), x = t.alternate === null ? "mount" : "update";
              ZR() && (x = "nested-update"), typeof h == "function" && h(d, x, o, y);
              var w = t.return;
              e: for (; w !== null; ) {
                switch (w.tag) {
                  case T:
                    var D = w.stateNode;
                    D.passiveEffectDuration += o;
                    break e;
                  case W:
                    var F = w.stateNode;
                    F.passiveEffectDuration += o;
                    break e;
                }
                w = w.return;
              }
              break;
            }
          }
      }
      function QL(e, t, o, u) {
        if ((o.flags & ta) !== pt)
          switch (o.tag) {
            case C:
            case j:
            case Y: {
              if (!ga)
                if (o.mode & Rt)
                  try {
                    Ml(), zs(Br | Vr, o);
                  } finally {
                    Nl(o);
                  }
                else
                  zs(Br | Vr, o);
              break;
            }
            case E: {
              var d = o.stateNode;
              if (o.flags & Ft && !ga)
                if (t === null)
                  if (o.type === o.elementType && !Jc && (d.props !== o.memoizedProps && p("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.", Ot(o) || "instance"), d.state !== o.memoizedState && p("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.", Ot(o) || "instance")), o.mode & Rt)
                    try {
                      Ml(), d.componentDidMount();
                    } finally {
                      Nl(o);
                    }
                  else
                    d.componentDidMount();
                else {
                  var h = o.elementType === o.type ? t.memoizedProps : Uo(o.type, t.memoizedProps), y = t.memoizedState;
                  if (o.type === o.elementType && !Jc && (d.props !== o.memoizedProps && p("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.", Ot(o) || "instance"), d.state !== o.memoizedState && p("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.", Ot(o) || "instance")), o.mode & Rt)
                    try {
                      Ml(), d.componentDidUpdate(h, y, d.__reactInternalSnapshotBeforeUpdate);
                    } finally {
                      Nl(o);
                    }
                  else
                    d.componentDidUpdate(h, y, d.__reactInternalSnapshotBeforeUpdate);
                }
              var x = o.updateQueue;
              x !== null && (o.type === o.elementType && !Jc && (d.props !== o.memoizedProps && p("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.", Ot(o) || "instance"), d.state !== o.memoizedState && p("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.", Ot(o) || "instance")), xR(o, x, d));
              break;
            }
            case T: {
              var w = o.updateQueue;
              if (w !== null) {
                var D = null;
                if (o.child !== null)
                  switch (o.child.tag) {
                    case A:
                      D = o.child.stateNode;
                      break;
                    case E:
                      D = o.child.stateNode;
                      break;
                  }
                xR(o, w, D);
              }
              break;
            }
            case A: {
              var F = o.stateNode;
              if (t === null && o.flags & Ft) {
                var J = o.type, X = o.memoizedProps;
                vD(F, J, X);
              }
              break;
            }
            case P:
              break;
            case _:
              break;
            case W: {
              {
                var fe = o.memoizedProps, he = fe.onCommit, be = fe.onRender, We = o.stateNode.effectDuration, ht = JR(), ft = t === null ? "mount" : "update";
                ZR() && (ft = "nested-update"), typeof be == "function" && be(o.memoizedProps.id, ft, o.actualDuration, o.treeBaseDuration, o.actualStartTime, ht);
                {
                  typeof he == "function" && he(o.memoizedProps.id, ft, We, ht), YA(o);
                  var tn = o.return;
                  e: for (; tn !== null; ) {
                    switch (tn.tag) {
                      case T:
                        var Wt = tn.stateNode;
                        Wt.effectDuration += We;
                        break e;
                      case W:
                        var oe = tn.stateNode;
                        oe.effectDuration += We;
                        break e;
                    }
                    tn = tn.return;
                  }
                }
              }
              break;
            }
            case I: {
              rA(e, o);
              break;
            }
            case ye:
            case ae:
            case Oe:
            case ge:
            case me:
            case re:
              break;
            default:
              throw new 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.");
          }
        ga || o.flags & Ma && zw(o);
      }
      function KL(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            if (e.mode & Rt)
              try {
                Ml(), Pw(e, e.return);
              } finally {
                Nl(e);
              }
            else
              Pw(e, e.return);
            break;
          }
          case E: {
            var t = e.stateNode;
            typeof t.componentDidMount == "function" && VL(e, e.return, t), Fw(e, e.return);
            break;
          }
          case A: {
            Fw(e, e.return);
            break;
          }
        }
      }
      function XL(e, t) {
        for (var o = null, u = e; ; ) {
          if (u.tag === A) {
            if (o === null) {
              o = u;
              try {
                var d = u.stateNode;
                t ? xD(d) : wD(u.stateNode, u.memoizedProps);
              } catch (y) {
                Bn(e, e.return, y);
              }
            }
          } else if (u.tag === P) {
            if (o === null)
              try {
                var h = u.stateNode;
                t ? RD(h) : TD(h, u.memoizedProps);
              } catch (y) {
                Bn(e, e.return, y);
              }
          } else if (!((u.tag === ge || u.tag === me) && u.memoizedState !== null && u !== e)) {
            if (u.child !== null) {
              u.child.return = u, u = u.child;
              continue;
            }
          }
          if (u === e)
            return;
          for (; u.sibling === null; ) {
            if (u.return === null || u.return === e)
              return;
            o === u && (o = null), u = u.return;
          }
          o === u && (o = null), u.sibling.return = u.return, u = u.sibling;
        }
      }
      function zw(e) {
        var t = e.ref;
        if (t !== null) {
          var o = e.stateNode, u;
          switch (e.tag) {
            case A:
              u = o;
              break;
            default:
              u = o;
          }
          if (typeof t == "function") {
            var d;
            if (e.mode & Rt)
              try {
                Ml(), d = t(u);
              } finally {
                Nl(e);
              }
            else
              d = t(u);
            typeof d == "function" && p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.", Ot(e));
          } else
            t.hasOwnProperty("current") || p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().", Ot(e)), t.current = u;
        }
      }
      function ZL(e) {
        var t = e.alternate;
        t !== null && (t.return = null), e.return = null;
      }
      function jw(e) {
        var t = e.alternate;
        t !== null && (e.alternate = null, jw(t));
        {
          if (e.child = null, e.deletions = null, e.sibling = null, e.tag === A) {
            var o = e.stateNode;
            o !== null && a2(o);
          }
          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 JL(e) {
        for (var t = e.return; t !== null; ) {
          if (Hw(t))
            return t;
          t = t.return;
        }
        throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");
      }
      function Hw(e) {
        return e.tag === A || e.tag === T || e.tag === _;
      }
      function Iw(e) {
        var t = e;
        e: for (; ; ) {
          for (; t.sibling === null; ) {
            if (t.return === null || Hw(t.return))
              return null;
            t = t.return;
          }
          for (t.sibling.return = t.return, t = t.sibling; t.tag !== A && t.tag !== P && t.tag !== ve; ) {
            if (t.flags & In || t.child === null || t.tag === _)
              continue e;
            t.child.return = t, t = t.child;
          }
          if (!(t.flags & In))
            return t.stateNode;
        }
      }
      function eA(e) {
        var t = JL(e);
        switch (t.tag) {
          case A: {
            var o = t.stateNode;
            t.flags & yn && (Vx(o), t.flags &= ~yn);
            var u = Iw(e);
            kb(e, u, o);
            break;
          }
          case T:
          case _: {
            var d = t.stateNode.containerInfo, h = Iw(e);
            _b(e, h, d);
            break;
          }
          // eslint-disable-next-line-no-fallthrough
          default:
            throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.");
        }
      }
      function _b(e, t, o) {
        var u = e.tag, d = u === A || u === P;
        if (d) {
          var h = e.stateNode;
          t ? SD(o, h, t) : gD(o, h);
        } else if (u !== _) {
          var y = e.child;
          if (y !== null) {
            _b(y, t, o);
            for (var x = y.sibling; x !== null; )
              _b(x, t, o), x = x.sibling;
          }
        }
      }
      function kb(e, t, o) {
        var u = e.tag, d = u === A || u === P;
        if (d) {
          var h = e.stateNode;
          t ? yD(o, h, t) : mD(o, h);
        } else if (u !== _) {
          var y = e.child;
          if (y !== null) {
            kb(y, t, o);
            for (var x = y.sibling; x !== null; )
              kb(x, t, o), x = x.sibling;
          }
        }
      }
      var ya = null, Wo = !1;
      function tA(e, t, o) {
        {
          var u = t;
          e: for (; u !== null; ) {
            switch (u.tag) {
              case A: {
                ya = u.stateNode, Wo = !1;
                break e;
              }
              case T: {
                ya = u.stateNode.containerInfo, Wo = !0;
                break e;
              }
              case _: {
                ya = u.stateNode.containerInfo, Wo = !0;
                break e;
              }
            }
            u = u.return;
          }
          if (ya === null)
            throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");
          Uw(e, t, o), ya = null, Wo = !1;
        }
        ZL(o);
      }
      function js(e, t, o) {
        for (var u = o.child; u !== null; )
          Uw(e, t, u), u = u.sibling;
      }
      function Uw(e, t, o) {
        switch (Zl(o), o.tag) {
          case A:
            ga || ev(o, t);
          // eslint-disable-next-line-no-fallthrough
          case P: {
            {
              var u = ya, d = Wo;
              ya = null, js(e, t, o), ya = u, Wo = d, ya !== null && (Wo ? bD(ya, o.stateNode) : CD(ya, o.stateNode));
            }
            return;
          }
          case ve: {
            ya !== null && (Wo ? ED(ya, o.stateNode) : HS(ya, o.stateNode));
            return;
          }
          case _: {
            {
              var h = ya, y = Wo;
              ya = o.stateNode.containerInfo, Wo = !0, js(e, t, o), ya = h, Wo = y;
            }
            return;
          }
          case C:
          case j:
          case ee:
          case Y: {
            if (!ga) {
              var x = o.updateQueue;
              if (x !== null) {
                var w = x.lastEffect;
                if (w !== null) {
                  var D = w.next, F = D;
                  do {
                    var J = F, X = J.destroy, fe = J.tag;
                    X !== void 0 && ((fe & Ol) !== ki ? Ny(o, t, X) : (fe & Br) !== ki && (Ui(o), o.mode & Rt ? (Ml(), Ny(o, t, X), Nl(o)) : Ny(o, t, X), ts())), F = F.next;
                  } while (F !== D);
                }
              }
            }
            js(e, t, o);
            return;
          }
          case E: {
            if (!ga) {
              ev(o, t);
              var he = o.stateNode;
              typeof he.componentWillUnmount == "function" && Ob(o, t, he);
            }
            js(e, t, o);
            return;
          }
          case Oe: {
            js(e, t, o);
            return;
          }
          case ge: {
            if (
              // TODO: Remove this dead flag
              o.mode & st
            ) {
              var be = ga;
              ga = be || o.memoizedState !== null, js(e, t, o), ga = be;
            } else
              js(e, t, o);
            break;
          }
          default: {
            js(e, t, o);
            return;
          }
        }
      }
      function nA(e) {
        e.memoizedState;
      }
      function rA(e, t) {
        var o = t.memoizedState;
        if (o === null) {
          var u = t.alternate;
          if (u !== null) {
            var d = u.memoizedState;
            if (d !== null) {
              var h = d.dehydrated;
              h !== null && ID(h);
            }
          }
        }
      }
      function Vw(e) {
        var t = e.updateQueue;
        if (t !== null) {
          e.updateQueue = null;
          var o = e.stateNode;
          o === null && (o = e.stateNode = new HL()), t.forEach(function(u) {
            var d = JA.bind(null, e, u);
            if (!o.has(u)) {
              if (o.add(u), Ja)
                if (Zd !== null && Jd !== null)
                  wh(Jd, Zd);
                else
                  throw Error("Expected finished root and lanes to be set. This is a bug in React.");
              u.then(d, d);
            }
          });
        }
      }
      function aA(e, t, o) {
        Zd = o, Jd = e, gn(t), Bw(t, e), gn(t), Zd = null, Jd = null;
      }
      function Yo(e, t, o) {
        var u = t.deletions;
        if (u !== null)
          for (var d = 0; d < u.length; d++) {
            var h = u[d];
            try {
              tA(e, t, h);
            } catch (w) {
              Bn(h, t, w);
            }
          }
        var y = yf();
        if (t.subtreeFlags & Aa)
          for (var x = t.child; x !== null; )
            gn(x), Bw(x, e), x = x.sibling;
        gn(y);
      }
      function Bw(e, t, o) {
        var u = e.alternate, d = e.flags;
        switch (e.tag) {
          case C:
          case j:
          case ee:
          case Y: {
            if (Yo(t, e), Dl(e), d & Ft) {
              try {
                Bo(Ol | Vr, e, e.return), zs(Ol | Vr, e);
              } catch (Et) {
                Bn(e, e.return, Et);
              }
              if (e.mode & Rt) {
                try {
                  Ml(), Bo(Br | Vr, e, e.return);
                } catch (Et) {
                  Bn(e, e.return, Et);
                }
                Nl(e);
              } else
                try {
                  Bo(Br | Vr, e, e.return);
                } catch (Et) {
                  Bn(e, e.return, Et);
                }
            }
            return;
          }
          case E: {
            Yo(t, e), Dl(e), d & Ma && u !== null && ev(u, u.return);
            return;
          }
          case A: {
            Yo(t, e), Dl(e), d & Ma && u !== null && ev(u, u.return);
            {
              if (e.flags & yn) {
                var h = e.stateNode;
                try {
                  Vx(h);
                } catch (Et) {
                  Bn(e, e.return, Et);
                }
              }
              if (d & Ft) {
                var y = e.stateNode;
                if (y != null) {
                  var x = e.memoizedProps, w = u !== null ? u.memoizedProps : x, D = e.type, F = e.updateQueue;
                  if (e.updateQueue = null, F !== null)
                    try {
                      pD(y, F, D, w, x, e);
                    } catch (Et) {
                      Bn(e, e.return, Et);
                    }
                }
              }
            }
            return;
          }
          case P: {
            if (Yo(t, e), Dl(e), d & Ft) {
              if (e.stateNode === null)
                throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");
              var J = e.stateNode, X = e.memoizedProps, fe = u !== null ? u.memoizedProps : X;
              try {
                hD(J, fe, X);
              } catch (Et) {
                Bn(e, e.return, Et);
              }
            }
            return;
          }
          case T: {
            if (Yo(t, e), Dl(e), d & Ft && u !== null) {
              var he = u.memoizedState;
              if (he.isDehydrated)
                try {
                  HD(t.containerInfo);
                } catch (Et) {
                  Bn(e, e.return, Et);
                }
            }
            return;
          }
          case _: {
            Yo(t, e), Dl(e);
            return;
          }
          case I: {
            Yo(t, e), Dl(e);
            var be = e.child;
            if (be.flags & pl) {
              var We = be.stateNode, ht = be.memoizedState, ft = ht !== null;
              if (We.isHidden = ft, ft) {
                var tn = be.alternate !== null && be.alternate.memoizedState !== null;
                tn || zA();
              }
            }
            if (d & Ft) {
              try {
                nA(e);
              } catch (Et) {
                Bn(e, e.return, Et);
              }
              Vw(e);
            }
            return;
          }
          case ge: {
            var Wt = u !== null && u.memoizedState !== null;
            if (
              // TODO: Remove this dead flag
              e.mode & st
            ) {
              var oe = ga;
              ga = oe || Wt, Yo(t, e), ga = oe;
            } else
              Yo(t, e);
            if (Dl(e), d & pl) {
              var Ee = e.stateNode, le = e.memoizedState, Ae = le !== null, Xe = e;
              if (Ee.isHidden = Ae, Ae && !Wt && (Xe.mode & st) !== it) {
                tt = Xe;
                for (var qe = Xe.child; qe !== null; )
                  tt = qe, oA(qe), qe = qe.sibling;
              }
              XL(Xe, Ae);
            }
            return;
          }
          case ye: {
            Yo(t, e), Dl(e), d & Ft && Vw(e);
            return;
          }
          case Oe:
            return;
          default: {
            Yo(t, e), Dl(e);
            return;
          }
        }
      }
      function Dl(e) {
        var t = e.flags;
        if (t & In) {
          try {
            eA(e);
          } catch (o) {
            Bn(e, e.return, o);
          }
          e.flags &= ~In;
        }
        t & mi && (e.flags &= ~mi);
      }
      function iA(e, t, o) {
        Zd = o, Jd = t, tt = e, Ww(e, t, o), Zd = null, Jd = null;
      }
      function Ww(e, t, o) {
        for (var u = (e.mode & st) !== it; tt !== null; ) {
          var d = tt, h = d.child;
          if (d.tag === ge && u) {
            var y = d.memoizedState !== null, x = y || ky;
            if (x) {
              Nb(e, t, o);
              continue;
            } else {
              var w = d.alternate, D = w !== null && w.memoizedState !== null, F = D || ga, J = ky, X = ga;
              ky = x, ga = F, ga && !X && (tt = d, lA(d));
              for (var fe = h; fe !== null; )
                tt = fe, Ww(
                  fe,
                  // New root; bubble back up to here and stop.
                  t,
                  o
                ), fe = fe.sibling;
              tt = d, ky = J, ga = X, Nb(e, t, o);
              continue;
            }
          }
          (d.subtreeFlags & ta) !== pt && h !== null ? (h.return = d, tt = h) : Nb(e, t, o);
        }
      }
      function Nb(e, t, o) {
        for (; tt !== null; ) {
          var u = tt;
          if ((u.flags & ta) !== pt) {
            var d = u.alternate;
            gn(u);
            try {
              QL(t, d, u, o);
            } catch (y) {
              Bn(u, u.return, y);
            }
            rr();
          }
          if (u === e) {
            tt = null;
            return;
          }
          var h = u.sibling;
          if (h !== null) {
            h.return = u.return, tt = h;
            return;
          }
          tt = u.return;
        }
      }
      function oA(e) {
        for (; tt !== null; ) {
          var t = tt, o = t.child;
          switch (t.tag) {
            case C:
            case j:
            case ee:
            case Y: {
              if (t.mode & Rt)
                try {
                  Ml(), Bo(Br, t, t.return);
                } finally {
                  Nl(t);
                }
              else
                Bo(Br, t, t.return);
              break;
            }
            case E: {
              ev(t, t.return);
              var u = t.stateNode;
              typeof u.componentWillUnmount == "function" && Ob(t, t.return, u);
              break;
            }
            case A: {
              ev(t, t.return);
              break;
            }
            case ge: {
              var d = t.memoizedState !== null;
              if (d) {
                Yw(e);
                continue;
              }
              break;
            }
          }
          o !== null ? (o.return = t, tt = o) : Yw(e);
        }
      }
      function Yw(e) {
        for (; tt !== null; ) {
          var t = tt;
          if (t === e) {
            tt = null;
            return;
          }
          var o = t.sibling;
          if (o !== null) {
            o.return = t.return, tt = o;
            return;
          }
          tt = t.return;
        }
      }
      function lA(e) {
        for (; tt !== null; ) {
          var t = tt, o = t.child;
          if (t.tag === ge) {
            var u = t.memoizedState !== null;
            if (u) {
              qw(e);
              continue;
            }
          }
          o !== null ? (o.return = t, tt = o) : qw(e);
        }
      }
      function qw(e) {
        for (; tt !== null; ) {
          var t = tt;
          gn(t);
          try {
            KL(t);
          } catch (u) {
            Bn(t, t.return, u);
          }
          if (rr(), t === e) {
            tt = null;
            return;
          }
          var o = t.sibling;
          if (o !== null) {
            o.return = t.return, tt = o;
            return;
          }
          tt = t.return;
        }
      }
      function uA(e, t, o, u) {
        tt = t, sA(t, e, o, u);
      }
      function sA(e, t, o, u) {
        for (; tt !== null; ) {
          var d = tt, h = d.child;
          (d.subtreeFlags & gi) !== pt && h !== null ? (h.return = d, tt = h) : cA(e, t, o, u);
        }
      }
      function cA(e, t, o, u) {
        for (; tt !== null; ) {
          var d = tt;
          if ((d.flags & Yn) !== pt) {
            gn(d);
            try {
              fA(t, d, o, u);
            } catch (y) {
              Bn(d, d.return, y);
            }
            rr();
          }
          if (d === e) {
            tt = null;
            return;
          }
          var h = d.sibling;
          if (h !== null) {
            h.return = d.return, tt = h;
            return;
          }
          tt = d.return;
        }
      }
      function fA(e, t, o, u) {
        switch (t.tag) {
          case C:
          case j:
          case Y: {
            if (t.mode & Rt) {
              QC();
              try {
                zs(ha | Vr, t);
              } finally {
                GC(t);
              }
            } else
              zs(ha | Vr, t);
            break;
          }
        }
      }
      function dA(e) {
        tt = e, vA();
      }
      function vA() {
        for (; tt !== null; ) {
          var e = tt, t = e.child;
          if ((tt.flags & vn) !== pt) {
            var o = e.deletions;
            if (o !== null) {
              for (var u = 0; u < o.length; u++) {
                var d = o[u];
                tt = d, mA(d, e);
              }
              {
                var h = e.alternate;
                if (h !== null) {
                  var y = h.child;
                  if (y !== null) {
                    h.child = null;
                    do {
                      var x = y.sibling;
                      y.sibling = null, y = x;
                    } while (y !== null);
                  }
                }
              }
              tt = e;
            }
          }
          (e.subtreeFlags & gi) !== pt && t !== null ? (t.return = e, tt = t) : pA();
        }
      }
      function pA() {
        for (; tt !== null; ) {
          var e = tt;
          (e.flags & Yn) !== pt && (gn(e), hA(e), rr());
          var t = e.sibling;
          if (t !== null) {
            t.return = e.return, tt = t;
            return;
          }
          tt = e.return;
        }
      }
      function hA(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            e.mode & Rt ? (QC(), Bo(ha | Vr, e, e.return), GC(e)) : Bo(ha | Vr, e, e.return);
            break;
          }
        }
      }
      function mA(e, t) {
        for (; tt !== null; ) {
          var o = tt;
          gn(o), yA(o, t), rr();
          var u = o.child;
          u !== null ? (u.return = o, tt = u) : gA(e);
        }
      }
      function gA(e) {
        for (; tt !== null; ) {
          var t = tt, o = t.sibling, u = t.return;
          if (jw(t), t === e) {
            tt = null;
            return;
          }
          if (o !== null) {
            o.return = u, tt = o;
            return;
          }
          tt = u;
        }
      }
      function yA(e, t) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            e.mode & Rt ? (QC(), Bo(ha, e, t), GC(e)) : Bo(ha, e, t);
            break;
          }
        }
      }
      function SA(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            try {
              zs(Br | Vr, e);
            } catch (o) {
              Bn(e, e.return, o);
            }
            break;
          }
          case E: {
            var t = e.stateNode;
            try {
              t.componentDidMount();
            } catch (o) {
              Bn(e, e.return, o);
            }
            break;
          }
        }
      }
      function CA(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            try {
              zs(ha | Vr, e);
            } catch (t) {
              Bn(e, e.return, t);
            }
            break;
          }
        }
      }
      function bA(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y: {
            try {
              Bo(Br | Vr, e, e.return);
            } catch (o) {
              Bn(e, e.return, o);
            }
            break;
          }
          case E: {
            var t = e.stateNode;
            typeof t.componentWillUnmount == "function" && Ob(e, e.return, t);
            break;
          }
        }
      }
      function EA(e) {
        switch (e.tag) {
          case C:
          case j:
          case Y:
            try {
              Bo(ha | Vr, e, e.return);
            } catch (t) {
              Bn(e, e.return, t);
            }
        }
      }
      if (typeof Symbol == "function" && Symbol.for) {
        var ph = Symbol.for;
        ph("selector.component"), ph("selector.has_pseudo_class"), ph("selector.role"), ph("selector.test_id"), ph("selector.text");
      }
      var xA = [];
      function RA() {
        xA.forEach(function(e) {
          return e();
        });
      }
      var wA = l.ReactCurrentActQueue;
      function TA(e) {
        {
          var t = (
            // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
            typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0
          ), o = typeof jest < "u";
          return o && t !== !1;
        }
      }
      function Gw() {
        {
          var e = (
            // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global
            typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0
          );
          return !e && wA.current !== null && p("The current testing environment is not configured to support act(...)"), e;
        }
      }
      var OA = Math.ceil, Mb = l.ReactCurrentDispatcher, Db = l.ReactCurrentOwner, Sa = l.ReactCurrentBatchConfig, qo = l.ReactCurrentActQueue, qr = (
        /*             */
        0
      ), Qw = (
        /*               */
        1
      ), Ca = (
        /*                */
        2
      ), vo = (
        /*                */
        4
      ), Cu = 0, hh = 1, ef = 2, My = 3, mh = 4, Kw = 5, Lb = 6, en = qr, ri = null, hr = null, Gr = ke, Ll = ke, Ab = ks(ke), Qr = Cu, gh = null, Dy = ke, yh = ke, Ly = ke, Sh = null, Ni = null, Pb = 0, Xw = 500, Zw = 1 / 0, _A = 500, bu = null;
      function Ch() {
        Zw = Xn() + _A;
      }
      function Jw() {
        return Zw;
      }
      var Ay = !1, Fb = null, tv = null, tf = !1, Hs = null, bh = ke, $b = [], zb = null, kA = 50, Eh = 0, jb = null, Hb = !1, Py = !1, NA = 50, nv = 0, Fy = null, xh = Pn, $y = ke, eT = !1;
      function zy() {
        return ri;
      }
      function ai() {
        return (en & (Ca | vo)) !== qr ? Xn() : (xh !== Pn || (xh = Xn()), xh);
      }
      function Is(e) {
        var t = e.mode;
        if ((t & st) === it)
          return dt;
        if ((en & Ca) !== qr && Gr !== ke)
          return cs(Gr);
        var o = w2() !== R2;
        if (o) {
          if (Sa.transition !== null) {
            var u = Sa.transition;
            u._updatedFibers || (u._updatedFibers = /* @__PURE__ */ new Set()), u._updatedFibers.add(e);
          }
          return $y === Cr && ($y = Qm()), $y;
        }
        var d = Ei();
        if (d !== Cr)
          return d;
        var h = sD();
        return h;
      }
      function MA(e) {
        var t = e.mode;
        return (t & st) === it ? dt : za();
      }
      function Kr(e, t, o, u) {
        tP(), eT && p("useInsertionEffect must not schedule updates."), Hb && (Py = !0), ou(e, o, u), (en & Ca) !== ke && e === ri ? aP(t) : (Ja && cd(e, t, o), iP(t), e === ri && ((en & Ca) === qr && (yh = At(yh, o)), Qr === mh && Us(e, Gr)), Mi(e, u), o === dt && en === qr && (t.mode & st) === it && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
        !qo.isBatchingLegacy && (Ch(), eR()));
      }
      function DA(e, t, o) {
        var u = e.current;
        u.lanes = t, ou(e, t, o), Mi(e, o);
      }
      function LA(e) {
        return (
          // TODO: Remove outdated deferRenderPhaseUpdateToNextBatch experiment. We
          // decided not to enable it.
          (en & Ca) !== qr
        );
      }
      function Mi(e, t) {
        var o = e.callbackNode;
        Bm(e, t);
        var u = au(e, e === ri ? Gr : ke);
        if (u === ke) {
          o !== null && mT(o), e.callbackNode = null, e.callbackPriority = Cr;
          return;
        }
        var d = dr(u), h = e.callbackPriority;
        if (h === d && // Special case related to `act`. If the currently scheduled task is a
        // Scheduler task, rather than an `act` task, cancel it and re-scheduled
        // on the `act` queue.
        !(qo.current !== null && o !== qb)) {
          o == null && h !== dt && p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
          return;
        }
        o != null && mT(o);
        var y;
        if (d === dt)
          e.tag === Ns ? (qo.isBatchingLegacy !== null && (qo.didScheduleLegacyUpdate = !0), l2(rT.bind(null, e))) : Jx(rT.bind(null, e)), qo.current !== null ? qo.current.push(Ms) : fD(function() {
            (en & (Ca | vo)) === qr && Ms();
          }), y = null;
        else {
          var x;
          switch (Ur(u)) {
            case vr:
              x = $f;
              break;
            case Lo:
              x = Xl;
              break;
            case ro:
              x = no;
              break;
            case fs:
              x = zf;
              break;
            default:
              x = no;
              break;
          }
          y = Gb(x, tT.bind(null, e));
        }
        e.callbackPriority = d, e.callbackNode = y;
      }
      function tT(e, t) {
        if (X2(), xh = Pn, $y = ke, (en & (Ca | vo)) !== qr)
          throw new Error("Should not already be working.");
        var o = e.callbackNode, u = xu();
        if (u && e.callbackNode !== o)
          return null;
        var d = au(e, e === ri ? Gr : ke);
        if (d === ke)
          return null;
        var h = !Tc(e, d) && !Gm(e, d) && !t, y = h ? VA(e, d) : Hy(e, d);
        if (y !== Cu) {
          if (y === ef) {
            var x = Sl(e);
            x !== ke && (d = x, y = Ib(e, x));
          }
          if (y === hh) {
            var w = gh;
            throw nf(e, ke), Us(e, d), Mi(e, Xn()), w;
          }
          if (y === Lb)
            Us(e, d);
          else {
            var D = !Tc(e, d), F = e.current.alternate;
            if (D && !PA(F)) {
              if (y = Hy(e, d), y === ef) {
                var J = Sl(e);
                J !== ke && (d = J, y = Ib(e, J));
              }
              if (y === hh) {
                var X = gh;
                throw nf(e, ke), Us(e, d), Mi(e, Xn()), X;
              }
            }
            e.finishedWork = F, e.finishedLanes = d, AA(e, y, d);
          }
        }
        return Mi(e, Xn()), e.callbackNode === o ? tT.bind(null, e) : null;
      }
      function Ib(e, t) {
        var o = Sh;
        if (fd(e)) {
          var u = nf(e, t);
          u.flags |= ar, e2(e.containerInfo);
        }
        var d = Hy(e, t);
        if (d !== ef) {
          var h = Ni;
          Ni = o, h !== null && nT(h);
        }
        return d;
      }
      function nT(e) {
        Ni === null ? Ni = e : Ni.push.apply(Ni, e);
      }
      function AA(e, t, o) {
        switch (t) {
          case Cu:
          case hh:
            throw new Error("Root did not complete. This is a bug in React.");
          // Flow knows about invariant, so it complains if I add a break
          // statement, but eslint doesn't know about invariant, so it complains
          // if I do. eslint-disable-next-line no-fallthrough
          case ef: {
            rf(e, Ni, bu);
            break;
          }
          case My: {
            if (Us(e, o), Wm(o) && // do not delay if we're inside an act() scope
            !gT()) {
              var u = Pb + Xw - Xn();
              if (u > 10) {
                var d = au(e, ke);
                if (d !== ke)
                  break;
                var h = e.suspendedLanes;
                if (!iu(h, o)) {
                  ai(), ud(e, h);
                  break;
                }
                e.timeoutHandle = zS(rf.bind(null, e, Ni, bu), u);
                break;
              }
            }
            rf(e, Ni, bu);
            break;
          }
          case mh: {
            if (Us(e, o), qm(o))
              break;
            if (!gT()) {
              var y = Um(e, o), x = y, w = Xn() - x, D = eP(w) - w;
              if (D > 10) {
                e.timeoutHandle = zS(rf.bind(null, e, Ni, bu), D);
                break;
              }
            }
            rf(e, Ni, bu);
            break;
          }
          case Kw: {
            rf(e, Ni, bu);
            break;
          }
          default:
            throw new Error("Unknown root exit status.");
        }
      }
      function PA(e) {
        for (var t = e; ; ) {
          if (t.flags & mc) {
            var o = t.updateQueue;
            if (o !== null) {
              var u = o.stores;
              if (u !== null)
                for (var d = 0; d < u.length; d++) {
                  var h = u[d], y = h.getSnapshot, x = h.value;
                  try {
                    if (!ct(y(), x))
                      return !1;
                  } catch {
                    return !1;
                  }
                }
            }
          }
          var w = t.child;
          if (t.subtreeFlags & mc && w !== null) {
            w.return = t, t = w;
            continue;
          }
          if (t === e)
            return !0;
          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 Us(e, t) {
        t = Oc(t, Ly), t = Oc(t, yh), Xm(e, t);
      }
      function rT(e) {
        if (Z2(), (en & (Ca | vo)) !== qr)
          throw new Error("Should not already be working.");
        xu();
        var t = au(e, ke);
        if (!ja(t, dt))
          return Mi(e, Xn()), null;
        var o = Hy(e, t);
        if (e.tag !== Ns && o === ef) {
          var u = Sl(e);
          u !== ke && (t = u, o = Ib(e, u));
        }
        if (o === hh) {
          var d = gh;
          throw nf(e, ke), Us(e, t), Mi(e, Xn()), d;
        }
        if (o === Lb)
          throw new Error("Root did not complete. This is a bug in React.");
        var h = e.current.alternate;
        return e.finishedWork = h, e.finishedLanes = t, rf(e, Ni, bu), Mi(e, Xn()), null;
      }
      function FA(e, t) {
        t !== ke && (pp(e, At(t, dt)), Mi(e, Xn()), (en & (Ca | vo)) === qr && (Ch(), Ms()));
      }
      function Ub(e, t) {
        var o = en;
        en |= Qw;
        try {
          return e(t);
        } finally {
          en = o, en === qr && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
          !qo.isBatchingLegacy && (Ch(), eR());
        }
      }
      function $A(e, t, o, u, d) {
        var h = Ei(), y = Sa.transition;
        try {
          return Sa.transition = null, ir(vr), e(t, o, u, d);
        } finally {
          ir(h), Sa.transition = y, en === qr && Ch();
        }
      }
      function Eu(e) {
        Hs !== null && Hs.tag === Ns && (en & (Ca | vo)) === qr && xu();
        var t = en;
        en |= Qw;
        var o = Sa.transition, u = Ei();
        try {
          return Sa.transition = null, ir(vr), e ? e() : void 0;
        } finally {
          ir(u), Sa.transition = o, en = t, (en & (Ca | vo)) === qr && Ms();
        }
      }
      function aT() {
        return (en & (Ca | vo)) !== qr;
      }
      function jy(e, t) {
        Ua(Ab, Ll, e), Ll = At(Ll, t);
      }
      function Vb(e) {
        Ll = Ab.current, Ia(Ab, e);
      }
      function nf(e, t) {
        e.finishedWork = null, e.finishedLanes = ke;
        var o = e.timeoutHandle;
        if (o !== jS && (e.timeoutHandle = jS, cD(o)), hr !== null)
          for (var u = hr.return; u !== null; ) {
            var d = u.alternate;
            Lw(d, u), u = u.return;
          }
        ri = e;
        var h = af(e.current, null);
        return hr = h, Gr = Ll = t, Qr = Cu, gh = null, Dy = ke, yh = ke, Ly = ke, Sh = null, Ni = null, D2(), jo.discardPendingWarnings(), h;
      }
      function iT(e, t) {
        do {
          var o = hr;
          try {
            if (Qg(), kR(), rr(), Db.current = null, o === null || o.return === null) {
              Qr = hh, gh = t, hr = null;
              return;
            }
            if (Ke && o.mode & Rt && Ry(o, !0), Ue)
              if (Fa(), t !== null && typeof t == "object" && typeof t.then == "function") {
                var u = t;
                Jl(o, u, Gr);
              } else
                Sc(o, t, Gr);
            lL(e, o.return, o, t, Gr), sT(o);
          } catch (d) {
            t = d, hr === o && o !== null ? (o = o.return, hr = o) : o = hr;
            continue;
          }
          return;
        } while (!0);
      }
      function oT() {
        var e = Mb.current;
        return Mb.current = Sy, e === null ? Sy : e;
      }
      function lT(e) {
        Mb.current = e;
      }
      function zA() {
        Pb = Xn();
      }
      function Rh(e) {
        Dy = At(e, Dy);
      }
      function jA() {
        Qr === Cu && (Qr = My);
      }
      function Bb() {
        (Qr === Cu || Qr === My || Qr === ef) && (Qr = mh), ri !== null && (wc(Dy) || wc(yh)) && Us(ri, Gr);
      }
      function HA(e) {
        Qr !== mh && (Qr = ef), Sh === null ? Sh = [e] : Sh.push(e);
      }
      function IA() {
        return Qr === Cu;
      }
      function Hy(e, t) {
        var o = en;
        en |= Ca;
        var u = oT();
        if (ri !== e || Gr !== t) {
          if (Ja) {
            var d = e.memoizedUpdaters;
            d.size > 0 && (wh(e, Gr), d.clear()), hp(e, t);
          }
          bu = kc(), nf(e, t);
        }
        qn(t);
        do
          try {
            UA();
            break;
          } catch (h) {
            iT(e, h);
          }
        while (!0);
        if (Qg(), en = o, lT(u), hr !== null)
          throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");
        return Vf(), ri = null, Gr = ke, Qr;
      }
      function UA() {
        for (; hr !== null; )
          uT(hr);
      }
      function VA(e, t) {
        var o = en;
        en |= Ca;
        var u = oT();
        if (ri !== e || Gr !== t) {
          if (Ja) {
            var d = e.memoizedUpdaters;
            d.size > 0 && (wh(e, Gr), d.clear()), hp(e, t);
          }
          bu = kc(), Ch(), nf(e, t);
        }
        qn(t);
        do
          try {
            BA();
            break;
          } catch (h) {
            iT(e, h);
          }
        while (!0);
        return Qg(), lT(u), en = o, hr !== null ? (Uf(), Cu) : (Vf(), ri = null, Gr = ke, Qr);
      }
      function BA() {
        for (; hr !== null && !Ff(); )
          uT(hr);
      }
      function uT(e) {
        var t = e.alternate;
        gn(e);
        var o;
        (e.mode & Rt) !== it ? (qC(e), o = Wb(t, e, Ll), Ry(e, !0)) : o = Wb(t, e, Ll), rr(), e.memoizedProps = e.pendingProps, o === null ? sT(e) : hr = o, Db.current = null;
      }
      function sT(e) {
        var t = e;
        do {
          var o = t.alternate, u = t.return;
          if ((t.flags & Ka) === pt) {
            gn(t);
            var d = void 0;
            if ((t.mode & Rt) === it ? d = Dw(o, t, Ll) : (qC(t), d = Dw(o, t, Ll), Ry(t, !1)), rr(), d !== null) {
              hr = d;
              return;
            }
          } else {
            var h = jL(o, t);
            if (h !== null) {
              h.flags &= Mm, hr = h;
              return;
            }
            if ((t.mode & Rt) !== it) {
              Ry(t, !1);
              for (var y = t.actualDuration, x = t.child; x !== null; )
                y += x.actualDuration, x = x.sibling;
              t.actualDuration = y;
            }
            if (u !== null)
              u.flags |= Ka, u.subtreeFlags = pt, u.deletions = null;
            else {
              Qr = Lb, hr = null;
              return;
            }
          }
          var w = t.sibling;
          if (w !== null) {
            hr = w;
            return;
          }
          t = u, hr = t;
        } while (t !== null);
        Qr === Cu && (Qr = Kw);
      }
      function rf(e, t, o) {
        var u = Ei(), d = Sa.transition;
        try {
          Sa.transition = null, ir(vr), WA(e, t, o, u);
        } finally {
          Sa.transition = d, ir(u);
        }
        return null;
      }
      function WA(e, t, o, u) {
        do
          xu();
        while (Hs !== null);
        if (nP(), (en & (Ca | vo)) !== qr)
          throw new Error("Should not already be working.");
        var d = e.finishedWork, h = e.finishedLanes;
        if (ml(h), d === null)
          return jf(), null;
        if (h === ke && p("root.finishedLanes should not be empty during a commit. This is a bug in React."), e.finishedWork = null, e.finishedLanes = ke, d === e.current)
          throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
        e.callbackNode = null, e.callbackPriority = Cr;
        var y = At(d.lanes, d.childLanes);
        sd(e, y), e === ri && (ri = null, hr = null, Gr = ke), ((d.subtreeFlags & gi) !== pt || (d.flags & gi) !== pt) && (tf || (tf = !0, zb = o, Gb(no, function() {
          return xu(), null;
        })));
        var x = (d.subtreeFlags & (Xu | Aa | ta | gi)) !== pt, w = (d.flags & (Xu | Aa | ta | gi)) !== pt;
        if (x || w) {
          var D = Sa.transition;
          Sa.transition = null;
          var F = Ei();
          ir(vr);
          var J = en;
          en |= vo, Db.current = null, BL(e, d), ew(), aA(e, d, h), rD(e.containerInfo), e.current = d, op(h), iA(d, e, h), ns(), Am(), en = J, ir(F), Sa.transition = D;
        } else
          e.current = d, ew();
        var X = tf;
        if (tf ? (tf = !1, Hs = e, bh = h) : (nv = 0, Fy = null), y = e.pendingLanes, y === ke && (tv = null), X || vT(e.current, !1), Ju(d.stateNode, u), Ja && e.memoizedUpdaters.clear(), RA(), Mi(e, Xn()), t !== null)
          for (var fe = e.onRecoverableError, he = 0; he < t.length; he++) {
            var be = t[he], We = be.stack, ht = be.digest;
            fe(be.value, {
              componentStack: We,
              digest: ht
            });
          }
        if (Ay) {
          Ay = !1;
          var ft = Fb;
          throw Fb = null, ft;
        }
        return ja(bh, dt) && e.tag !== Ns && xu(), y = e.pendingLanes, ja(y, dt) ? (K2(), e === jb ? Eh++ : (Eh = 0, jb = e)) : Eh = 0, Ms(), jf(), null;
      }
      function xu() {
        if (Hs !== null) {
          var e = Ur(bh), t = cS(ro, e), o = Sa.transition, u = Ei();
          try {
            return Sa.transition = null, ir(t), qA();
          } finally {
            ir(u), Sa.transition = o;
          }
        }
        return !1;
      }
      function YA(e) {
        $b.push(e), tf || (tf = !0, Gb(no, function() {
          return xu(), null;
        }));
      }
      function qA() {
        if (Hs === null)
          return !1;
        var e = zb;
        zb = null;
        var t = Hs, o = bh;
        if (Hs = null, bh = ke, (en & (Ca | vo)) !== qr)
          throw new Error("Cannot flush passive effects while already rendering.");
        Hb = !0, Py = !1, Hm(o);
        var u = en;
        en |= vo, dA(t.current), uA(t, t.current, o, e);
        {
          var d = $b;
          $b = [];
          for (var h = 0; h < d.length; h++) {
            var y = d[h];
            GL(t, y);
          }
        }
        lp(), vT(t.current, !0), en = u, Ms(), Py ? t === Fy ? nv++ : (nv = 0, Fy = t) : nv = 0, Hb = !1, Py = !1, Ci(t);
        {
          var x = t.current.stateNode;
          x.effectDuration = 0, x.passiveEffectDuration = 0;
        }
        return !0;
      }
      function cT(e) {
        return tv !== null && tv.has(e);
      }
      function GA(e) {
        tv === null ? tv = /* @__PURE__ */ new Set([e]) : tv.add(e);
      }
      function QA(e) {
        Ay || (Ay = !0, Fb = e);
      }
      var KA = QA;
      function fT(e, t, o) {
        var u = Zc(o, t), d = uw(e, u, dt), h = Ls(e, d, dt), y = ai();
        h !== null && (ou(h, dt, y), Mi(h, y));
      }
      function Bn(e, t, o) {
        if (IL(o), Th(!1), e.tag === T) {
          fT(e, e, o);
          return;
        }
        var u = null;
        for (u = t; u !== null; ) {
          if (u.tag === T) {
            fT(u, e, o);
            return;
          } else if (u.tag === E) {
            var d = u.type, h = u.stateNode;
            if (typeof d.getDerivedStateFromError == "function" || typeof h.componentDidCatch == "function" && !cT(h)) {
              var y = Zc(o, e), x = fb(u, y, dt), w = Ls(u, x, dt), D = ai();
              w !== null && (ou(w, dt, D), Mi(w, D));
              return;
            }
          }
          u = u.return;
        }
        p(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.

Error message:

%s`, o);
      }
      function XA(e, t, o) {
        var u = e.pingCache;
        u !== null && u.delete(t);
        var d = ai();
        ud(e, o), oP(e), ri === e && iu(Gr, o) && (Qr === mh || Qr === My && Wm(Gr) && Xn() - Pb < Xw ? nf(e, ke) : Ly = At(Ly, o)), Mi(e, d);
      }
      function dT(e, t) {
        t === Cr && (t = MA(e));
        var o = ai(), u = _i(e, t);
        u !== null && (ou(u, t, o), Mi(u, o));
      }
      function ZA(e) {
        var t = e.memoizedState, o = Cr;
        t !== null && (o = t.retryLane), dT(e, o);
      }
      function JA(e, t) {
        var o = Cr, u;
        switch (e.tag) {
          case I:
            u = e.stateNode;
            var d = e.memoizedState;
            d !== null && (o = d.retryLane);
            break;
          case ye:
            u = e.stateNode;
            break;
          default:
            throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.");
        }
        u !== null && u.delete(t), dT(e, o);
      }
      function eP(e) {
        return e < 120 ? 120 : e < 480 ? 480 : e < 1080 ? 1080 : e < 1920 ? 1920 : e < 3e3 ? 3e3 : e < 4320 ? 4320 : OA(e / 1960) * 1960;
      }
      function tP() {
        if (Eh > kA)
          throw Eh = 0, jb = null, new 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.");
        nv > NA && (nv = 0, Fy = null, p("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."));
      }
      function nP() {
        jo.flushLegacyContextWarning(), jo.flushPendingUnsafeLifecycleWarnings();
      }
      function vT(e, t) {
        gn(e), Iy(e, La, bA), t && Iy(e, Kl, EA), Iy(e, La, SA), t && Iy(e, Kl, CA), rr();
      }
      function Iy(e, t, o) {
        for (var u = e, d = null; u !== null; ) {
          var h = u.subtreeFlags & t;
          u !== d && u.child !== null && h !== pt ? u = u.child : ((u.flags & t) !== pt && o(u), u.sibling !== null ? u = u.sibling : u = d = u.return);
        }
      }
      var Uy = null;
      function pT(e) {
        {
          if ((en & Ca) !== qr || !(e.mode & st))
            return;
          var t = e.tag;
          if (t !== R && t !== T && t !== E && t !== C && t !== j && t !== ee && t !== Y)
            return;
          var o = Ot(e) || "ReactComponent";
          if (Uy !== null) {
            if (Uy.has(o))
              return;
            Uy.add(o);
          } else
            Uy = /* @__PURE__ */ new Set([o]);
          var u = Kn;
          try {
            gn(e), p("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 later calls tries to update the component. Move this work to useEffect instead.");
          } finally {
            u ? gn(e) : rr();
          }
        }
      }
      var Wb;
      {
        var rP = null;
        Wb = function(e, t, o) {
          var u = ET(rP, t);
          try {
            return Ow(e, t, o);
          } catch (h) {
            if (h2() || h !== null && typeof h == "object" && typeof h.then == "function")
              throw h;
            if (Qg(), kR(), Lw(e, t), ET(t, u), t.mode & Rt && qC(t), Ql(null, Ow, null, e, t, o), iS()) {
              var d = Xv();
              typeof d == "object" && d !== null && d._suppressLogging && typeof h == "object" && h !== null && !h._suppressLogging && (h._suppressLogging = !0);
            }
            throw h;
          }
        };
      }
      var hT = !1, Yb;
      Yb = /* @__PURE__ */ new Set();
      function aP(e) {
        if (_a && !q2())
          switch (e.tag) {
            case C:
            case j:
            case Y: {
              var t = hr && Ot(hr) || "Unknown", o = t;
              if (!Yb.has(o)) {
                Yb.add(o);
                var u = Ot(e) || "Unknown";
                p("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://reactjs.org/link/setstate-in-render", u, t, t);
              }
              break;
            }
            case E: {
              hT || (p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."), hT = !0);
              break;
            }
          }
      }
      function wh(e, t) {
        if (Ja) {
          var o = e.memoizedUpdaters;
          o.forEach(function(u) {
            cd(e, u, t);
          });
        }
      }
      var qb = {};
      function Gb(e, t) {
        {
          var o = qo.current;
          return o !== null ? (o.push(t), qb) : Pf(e, t);
        }
      }
      function mT(e) {
        if (e !== qb)
          return Lm(e);
      }
      function gT() {
        return qo.current !== null;
      }
      function iP(e) {
        {
          if (e.mode & st) {
            if (!Gw())
              return;
          } else if (!TA() || en !== qr || e.tag !== C && e.tag !== j && e.tag !== Y)
            return;
          if (qo.current === null) {
            var t = Kn;
            try {
              gn(e), p(`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://reactjs.org/link/wrap-tests-with-act`, Ot(e));
            } finally {
              t ? gn(e) : rr();
            }
          }
        }
      }
      function oP(e) {
        e.tag !== Ns && Gw() && qo.current === null && p(`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://reactjs.org/link/wrap-tests-with-act`);
      }
      function Th(e) {
        eT = e;
      }
      var po = null, rv = null, lP = function(e) {
        po = e;
      };
      function av(e) {
        {
          if (po === null)
            return e;
          var t = po(e);
          return t === void 0 ? e : t.current;
        }
      }
      function Qb(e) {
        return av(e);
      }
      function Kb(e) {
        {
          if (po === null)
            return e;
          var t = po(e);
          if (t === void 0) {
            if (e != null && typeof e.render == "function") {
              var o = av(e.render);
              if (e.render !== o) {
                var u = {
                  $$typeof: Ye,
                  render: o
                };
                return e.displayName !== void 0 && (u.displayName = e.displayName), u;
              }
            }
            return e;
          }
          return t.current;
        }
      }
      function yT(e, t) {
        {
          if (po === null)
            return !1;
          var o = e.elementType, u = t.type, d = !1, h = typeof u == "object" && u !== null ? u.$$typeof : null;
          switch (e.tag) {
            case E: {
              typeof u == "function" && (d = !0);
              break;
            }
            case C: {
              (typeof u == "function" || h === Je) && (d = !0);
              break;
            }
            case j: {
              (h === Ye || h === Je) && (d = !0);
              break;
            }
            case ee:
            case Y: {
              (h === Mt || h === Je) && (d = !0);
              break;
            }
            default:
              return !1;
          }
          if (d) {
            var y = po(o);
            if (y !== void 0 && y === po(u))
              return !0;
          }
          return !1;
        }
      }
      function ST(e) {
        {
          if (po === null || typeof WeakSet != "function")
            return;
          rv === null && (rv = /* @__PURE__ */ new WeakSet()), rv.add(e);
        }
      }
      var uP = function(e, t) {
        {
          if (po === null)
            return;
          var o = t.staleFamilies, u = t.updatedFamilies;
          xu(), Eu(function() {
            Xb(e.current, u, o);
          });
        }
      }, sP = function(e, t) {
        {
          if (e.context !== Vi)
            return;
          xu(), Eu(function() {
            Oh(t, e, null, null);
          });
        }
      };
      function Xb(e, t, o) {
        {
          var u = e.alternate, d = e.child, h = e.sibling, y = e.tag, x = e.type, w = null;
          switch (y) {
            case C:
            case Y:
            case E:
              w = x;
              break;
            case j:
              w = x.render;
              break;
          }
          if (po === null)
            throw new Error("Expected resolveFamily to be set during hot reload.");
          var D = !1, F = !1;
          if (w !== null) {
            var J = po(w);
            J !== void 0 && (o.has(J) ? F = !0 : t.has(J) && (y === E ? F = !0 : D = !0));
          }
          if (rv !== null && (rv.has(e) || u !== null && rv.has(u)) && (F = !0), F && (e._debugNeedsRemount = !0), F || D) {
            var X = _i(e, dt);
            X !== null && Kr(X, e, dt, Pn);
          }
          d !== null && !F && Xb(d, t, o), h !== null && Xb(h, t, o);
        }
      }
      var cP = function(e, t) {
        {
          var o = /* @__PURE__ */ new Set(), u = new Set(t.map(function(d) {
            return d.current;
          }));
          return Zb(e.current, u, o), o;
        }
      };
      function Zb(e, t, o) {
        {
          var u = e.child, d = e.sibling, h = e.tag, y = e.type, x = null;
          switch (h) {
            case C:
            case Y:
            case E:
              x = y;
              break;
            case j:
              x = y.render;
              break;
          }
          var w = !1;
          x !== null && t.has(x) && (w = !0), w ? fP(e, o) : u !== null && Zb(u, t, o), d !== null && Zb(d, t, o);
        }
      }
      function fP(e, t) {
        {
          var o = dP(e, t);
          if (o)
            return;
          for (var u = e; ; ) {
            switch (u.tag) {
              case A:
                t.add(u.stateNode);
                return;
              case _:
                t.add(u.stateNode.containerInfo);
                return;
              case T:
                t.add(u.stateNode.containerInfo);
                return;
            }
            if (u.return === null)
              throw new Error("Expected to reach root first.");
            u = u.return;
          }
        }
      }
      function dP(e, t) {
        for (var o = e, u = !1; ; ) {
          if (o.tag === A)
            u = !0, t.add(o.stateNode);
          else if (o.child !== null) {
            o.child.return = o, o = o.child;
            continue;
          }
          if (o === e)
            return u;
          for (; o.sibling === null; ) {
            if (o.return === null || o.return === e)
              return u;
            o = o.return;
          }
          o.sibling.return = o.return, o = o.sibling;
        }
        return !1;
      }
      var Jb;
      {
        Jb = !1;
        try {
          var CT = Object.preventExtensions({});
        } catch {
          Jb = !0;
        }
      }
      function vP(e, t, o, u) {
        this.tag = e, this.key = o, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = t, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = u, this.flags = pt, this.subtreeFlags = pt, this.deletions = null, this.lanes = ke, this.childLanes = ke, this.alternate = null, this.actualDuration = Number.NaN, this.actualStartTime = Number.NaN, this.selfBaseDuration = Number.NaN, this.treeBaseDuration = Number.NaN, this.actualDuration = 0, this.actualStartTime = -1, this.selfBaseDuration = 0, this.treeBaseDuration = 0, this._debugSource = null, this._debugOwner = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, !Jb && typeof Object.preventExtensions == "function" && Object.preventExtensions(this);
      }
      var Bi = function(e, t, o, u) {
        return new vP(e, t, o, u);
      };
      function eE(e) {
        var t = e.prototype;
        return !!(t && t.isReactComponent);
      }
      function pP(e) {
        return typeof e == "function" && !eE(e) && e.defaultProps === void 0;
      }
      function hP(e) {
        if (typeof e == "function")
          return eE(e) ? E : C;
        if (e != null) {
          var t = e.$$typeof;
          if (t === Ye)
            return j;
          if (t === Mt)
            return ee;
        }
        return R;
      }
      function af(e, t) {
        var o = e.alternate;
        o === null ? (o = Bi(e.tag, t, e.key, e.mode), o.elementType = e.elementType, o.type = e.type, o.stateNode = e.stateNode, o._debugSource = e._debugSource, o._debugOwner = e._debugOwner, o._debugHookTypes = e._debugHookTypes, o.alternate = e, e.alternate = o) : (o.pendingProps = t, o.type = e.type, o.flags = pt, o.subtreeFlags = pt, o.deletions = null, o.actualDuration = 0, o.actualStartTime = -1), o.flags = e.flags & Hr, o.childLanes = e.childLanes, o.lanes = e.lanes, o.child = e.child, o.memoizedProps = e.memoizedProps, o.memoizedState = e.memoizedState, o.updateQueue = e.updateQueue;
        var u = e.dependencies;
        switch (o.dependencies = u === null ? null : {
          lanes: u.lanes,
          firstContext: u.firstContext
        }, o.sibling = e.sibling, o.index = e.index, o.ref = e.ref, o.selfBaseDuration = e.selfBaseDuration, o.treeBaseDuration = e.treeBaseDuration, o._debugNeedsRemount = e._debugNeedsRemount, o.tag) {
          case R:
          case C:
          case Y:
            o.type = av(e.type);
            break;
          case E:
            o.type = Qb(e.type);
            break;
          case j:
            o.type = Kb(e.type);
            break;
        }
        return o;
      }
      function mP(e, t) {
        e.flags &= Hr | In;
        var o = e.alternate;
        if (o === null)
          e.childLanes = ke, e.lanes = t, e.child = null, e.subtreeFlags = pt, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null, e.selfBaseDuration = 0, e.treeBaseDuration = 0;
        else {
          e.childLanes = o.childLanes, e.lanes = o.lanes, e.child = o.child, e.subtreeFlags = pt, e.deletions = null, e.memoizedProps = o.memoizedProps, e.memoizedState = o.memoizedState, e.updateQueue = o.updateQueue, e.type = o.type;
          var u = o.dependencies;
          e.dependencies = u === null ? null : {
            lanes: u.lanes,
            firstContext: u.firstContext
          }, e.selfBaseDuration = o.selfBaseDuration, e.treeBaseDuration = o.treeBaseDuration;
        }
        return e;
      }
      function gP(e, t, o) {
        var u;
        return e === jg ? (u = st, t === !0 && (u |= It, u |= ei)) : u = it, Ja && (u |= Rt), Bi(T, null, null, u);
      }
      function tE(e, t, o, u, d, h) {
        var y = R, x = e;
        if (typeof e == "function")
          eE(e) ? (y = E, x = Qb(x)) : x = av(x);
        else if (typeof e == "string")
          y = A;
        else
          e: switch (e) {
            case Wn:
              return Vs(o.children, d, h, t);
            case ua:
              y = M, d |= It, (d & st) !== it && (d |= ei);
              break;
            case B:
              return yP(o, d, h, t);
            case Nt:
              return SP(o, d, h, t);
            case Vt:
              return CP(o, d, h, t);
            case Ln:
              return bT(o, d, h, t);
            case jr:
            // eslint-disable-next-line no-fallthrough
            case gr:
            // eslint-disable-next-line no-fallthrough
            case Ki:
            // eslint-disable-next-line no-fallthrough
            case Pi:
            // eslint-disable-next-line no-fallthrough
            case Dn:
            // eslint-disable-next-line no-fallthrough
            default: {
              if (typeof e == "object" && e !== null)
                switch (e.$$typeof) {
                  case Ne:
                    y = $;
                    break e;
                  case je:
                    y = V;
                    break e;
                  case Ye:
                    y = j, x = Kb(x);
                    break e;
                  case Mt:
                    y = ee;
                    break e;
                  case Je:
                    y = ne, x = null;
                    break e;
                }
              var w = "";
              {
                (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
                var D = u ? Ot(u) : null;
                D && (w += `

Check the render method of \`` + D + "`.");
              }
              throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + w));
            }
          }
        var F = Bi(y, o, t, d);
        return F.elementType = e, F.type = x, F.lanes = h, F._debugOwner = u, F;
      }
      function nE(e, t, o) {
        var u = null;
        u = e._owner;
        var d = e.type, h = e.key, y = e.props, x = tE(d, h, y, u, t, o);
        return x._debugSource = e._source, x._debugOwner = e._owner, x;
      }
      function Vs(e, t, o, u) {
        var d = Bi(L, e, u, t);
        return d.lanes = o, d;
      }
      function yP(e, t, o, u) {
        typeof e.id != "string" && p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.', typeof e.id);
        var d = Bi(W, e, u, t | Rt);
        return d.elementType = B, d.lanes = o, d.stateNode = {
          effectDuration: 0,
          passiveEffectDuration: 0
        }, d;
      }
      function SP(e, t, o, u) {
        var d = Bi(I, e, u, t);
        return d.elementType = Nt, d.lanes = o, d;
      }
      function CP(e, t, o, u) {
        var d = Bi(ye, e, u, t);
        return d.elementType = Vt, d.lanes = o, d;
      }
      function bT(e, t, o, u) {
        var d = Bi(ge, e, u, t);
        d.elementType = Ln, d.lanes = o;
        var h = {
          isHidden: !1
        };
        return d.stateNode = h, d;
      }
      function rE(e, t, o) {
        var u = Bi(P, e, null, t);
        return u.lanes = o, u;
      }
      function bP() {
        var e = Bi(A, null, null, it);
        return e.elementType = "DELETED", e;
      }
      function EP(e) {
        var t = Bi(ve, null, null, it);
        return t.stateNode = e, t;
      }
      function aE(e, t, o) {
        var u = e.children !== null ? e.children : [], d = Bi(_, u, e.key, t);
        return d.lanes = o, d.stateNode = {
          containerInfo: e.containerInfo,
          pendingChildren: null,
          // Used by persistent updates
          implementation: e.implementation
        }, d;
      }
      function ET(e, t) {
        return e === null && (e = Bi(R, null, null, it)), e.tag = t.tag, e.key = t.key, e.elementType = t.elementType, e.type = t.type, e.stateNode = t.stateNode, e.return = t.return, e.child = t.child, e.sibling = t.sibling, e.index = t.index, e.ref = t.ref, e.pendingProps = t.pendingProps, e.memoizedProps = t.memoizedProps, e.updateQueue = t.updateQueue, e.memoizedState = t.memoizedState, e.dependencies = t.dependencies, e.mode = t.mode, e.flags = t.flags, e.subtreeFlags = t.subtreeFlags, e.deletions = t.deletions, e.lanes = t.lanes, e.childLanes = t.childLanes, e.alternate = t.alternate, e.actualDuration = t.actualDuration, e.actualStartTime = t.actualStartTime, e.selfBaseDuration = t.selfBaseDuration, e.treeBaseDuration = t.treeBaseDuration, e._debugSource = t._debugSource, e._debugOwner = t._debugOwner, e._debugNeedsRemount = t._debugNeedsRemount, e._debugHookTypes = t._debugHookTypes, e;
      }
      function xP(e, t, o, u, d) {
        this.tag = t, this.containerInfo = e, this.pendingChildren = null, this.current = null, this.pingCache = null, this.finishedWork = null, this.timeoutHandle = jS, this.context = null, this.pendingContext = null, this.callbackNode = null, this.callbackPriority = Cr, this.eventTimes = _c(ke), this.expirationTimes = _c(Pn), this.pendingLanes = ke, this.suspendedLanes = ke, this.pingedLanes = ke, this.expiredLanes = ke, this.mutableReadLanes = ke, this.finishedLanes = ke, this.entangledLanes = ke, this.entanglements = _c(ke), this.identifierPrefix = u, this.onRecoverableError = d, this.mutableSourceEagerHydrationData = null, this.effectDuration = 0, this.passiveEffectDuration = 0;
        {
          this.memoizedUpdaters = /* @__PURE__ */ new Set();
          for (var h = this.pendingUpdatersLaneMap = [], y = 0; y < Ec; y++)
            h.push(/* @__PURE__ */ new Set());
        }
        switch (t) {
          case jg:
            this._debugRootType = o ? "hydrateRoot()" : "createRoot()";
            break;
          case Ns:
            this._debugRootType = o ? "hydrate()" : "render()";
            break;
        }
      }
      function xT(e, t, o, u, d, h, y, x, w, D) {
        var F = new xP(e, t, o, x, w), J = gP(t, h);
        F.current = J, J.stateNode = F;
        {
          var X = {
            element: u,
            isDehydrated: o,
            cache: null,
            // not enabled yet
            transitions: null,
            pendingSuspenseBoundaries: null
          };
          J.memoizedState = X;
        }
        return gC(J), F;
      }
      var iE = "18.3.1";
      function RP(e, t, o) {
        var u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
        return tr(u), {
          // This tag allow us to uniquely identify this as a React Portal
          $$typeof: Mn,
          key: u == null ? null : "" + u,
          children: e,
          containerInfo: t,
          implementation: o
        };
      }
      var oE, lE;
      oE = !1, lE = {};
      function RT(e) {
        if (!e)
          return Vi;
        var t = pi(e), o = o2(t);
        if (t.tag === E) {
          var u = t.type;
          if (Tl(u))
            return Xx(t, u, o);
        }
        return o;
      }
      function wP(e, t) {
        {
          var o = pi(e);
          if (o === void 0) {
            if (typeof e.render == "function")
              throw new Error("Unable to find node on an unmounted component.");
            var u = Object.keys(e).join(",");
            throw new Error("Argument appears to not be a ReactComponent. Keys: " + u);
          }
          var d = yi(o);
          if (d === null)
            return null;
          if (d.mode & It) {
            var h = Ot(o) || "Component";
            if (!lE[h]) {
              lE[h] = !0;
              var y = Kn;
              try {
                gn(d), o.mode & It ? p("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, h) : p("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, h);
              } finally {
                y ? gn(y) : rr();
              }
            }
          }
          return d.stateNode;
        }
      }
      function wT(e, t, o, u, d, h, y, x) {
        var w = !1, D = null;
        return xT(e, t, w, D, o, u, d, h, y);
      }
      function TT(e, t, o, u, d, h, y, x, w, D) {
        var F = !0, J = xT(o, u, F, e, d, h, y, x, w);
        J.context = RT(null);
        var X = J.current, fe = ai(), he = Is(X), be = yu(fe, he);
        return be.callback = t ?? null, Ls(X, be, he), DA(J, he, fe), J;
      }
      function Oh(e, t, o, u) {
        ip(t, e);
        var d = t.current, h = ai(), y = Is(d);
        up(y);
        var x = RT(o);
        t.context === null ? t.context = x : t.pendingContext = x, _a && Kn !== null && !oE && (oE = !0, p(`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.`, Ot(Kn) || "Unknown"));
        var w = yu(h, y);
        w.payload = {
          element: e
        }, u = u === void 0 ? null : u, u !== null && (typeof u != "function" && p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", u), w.callback = u);
        var D = Ls(d, w, y);
        return D !== null && (Kr(D, d, y, h), ey(D, d, y)), y;
      }
      function Vy(e) {
        var t = e.current;
        if (!t.child)
          return null;
        switch (t.child.tag) {
          case A:
            return t.child.stateNode;
          default:
            return t.child.stateNode;
        }
      }
      function TP(e) {
        switch (e.tag) {
          case T: {
            var t = e.stateNode;
            if (fd(t)) {
              var o = fp(t);
              FA(t, o);
            }
            break;
          }
          case I: {
            Eu(function() {
              var d = _i(e, dt);
              if (d !== null) {
                var h = ai();
                Kr(d, e, dt, h);
              }
            });
            var u = dt;
            uE(e, u);
            break;
          }
        }
      }
      function OT(e, t) {
        var o = e.memoizedState;
        o !== null && o.dehydrated !== null && (o.retryLane = Km(o.retryLane, t));
      }
      function uE(e, t) {
        OT(e, t);
        var o = e.alternate;
        o && OT(o, t);
      }
      function OP(e) {
        if (e.tag === I) {
          var t = Rc, o = _i(e, t);
          if (o !== null) {
            var u = ai();
            Kr(o, e, t, u);
          }
          uE(e, t);
        }
      }
      function _P(e) {
        if (e.tag === I) {
          var t = Is(e), o = _i(e, t);
          if (o !== null) {
            var u = ai();
            Kr(o, e, t, u);
          }
          uE(e, t);
        }
      }
      function _T(e) {
        var t = Dm(e);
        return t === null ? null : t.stateNode;
      }
      var kT = function(e) {
        return null;
      };
      function kP(e) {
        return kT(e);
      }
      var NT = function(e) {
        return !1;
      };
      function NP(e) {
        return NT(e);
      }
      var MT = null, DT = null, LT = null, AT = null, PT = null, FT = null, $T = null, zT = null, jT = null;
      {
        var HT = function(e, t, o) {
          var u = t[o], d = Kt(e) ? e.slice() : zt({}, e);
          return o + 1 === t.length ? (Kt(d) ? d.splice(u, 1) : delete d[u], d) : (d[u] = HT(e[u], t, o + 1), d);
        }, IT = function(e, t) {
          return HT(e, t, 0);
        }, UT = function(e, t, o, u) {
          var d = t[u], h = Kt(e) ? e.slice() : zt({}, e);
          if (u + 1 === t.length) {
            var y = o[u];
            h[y] = h[d], Kt(h) ? h.splice(d, 1) : delete h[d];
          } else
            h[d] = UT(
              // $FlowFixMe number or string is fine here
              e[d],
              t,
              o,
              u + 1
            );
          return h;
        }, VT = function(e, t, o) {
          if (t.length !== o.length) {
            m("copyWithRename() expects paths of the same length");
            return;
          } else
            for (var u = 0; u < o.length - 1; u++)
              if (t[u] !== o[u]) {
                m("copyWithRename() expects paths to be the same except for the deepest key");
                return;
              }
          return UT(e, t, o, 0);
        }, BT = function(e, t, o, u) {
          if (o >= t.length)
            return u;
          var d = t[o], h = Kt(e) ? e.slice() : zt({}, e);
          return h[d] = BT(e[d], t, o + 1, u), h;
        }, WT = function(e, t, o) {
          return BT(e, t, 0, o);
        }, sE = function(e, t) {
          for (var o = e.memoizedState; o !== null && t > 0; )
            o = o.next, t--;
          return o;
        };
        MT = function(e, t, o, u) {
          var d = sE(e, t);
          if (d !== null) {
            var h = WT(d.memoizedState, o, u);
            d.memoizedState = h, d.baseState = h, e.memoizedProps = zt({}, e.memoizedProps);
            var y = _i(e, dt);
            y !== null && Kr(y, e, dt, Pn);
          }
        }, DT = function(e, t, o) {
          var u = sE(e, t);
          if (u !== null) {
            var d = IT(u.memoizedState, o);
            u.memoizedState = d, u.baseState = d, e.memoizedProps = zt({}, e.memoizedProps);
            var h = _i(e, dt);
            h !== null && Kr(h, e, dt, Pn);
          }
        }, LT = function(e, t, o, u) {
          var d = sE(e, t);
          if (d !== null) {
            var h = VT(d.memoizedState, o, u);
            d.memoizedState = h, d.baseState = h, e.memoizedProps = zt({}, e.memoizedProps);
            var y = _i(e, dt);
            y !== null && Kr(y, e, dt, Pn);
          }
        }, AT = function(e, t, o) {
          e.pendingProps = WT(e.memoizedProps, t, o), e.alternate && (e.alternate.pendingProps = e.pendingProps);
          var u = _i(e, dt);
          u !== null && Kr(u, e, dt, Pn);
        }, PT = function(e, t) {
          e.pendingProps = IT(e.memoizedProps, t), e.alternate && (e.alternate.pendingProps = e.pendingProps);
          var o = _i(e, dt);
          o !== null && Kr(o, e, dt, Pn);
        }, FT = function(e, t, o) {
          e.pendingProps = VT(e.memoizedProps, t, o), e.alternate && (e.alternate.pendingProps = e.pendingProps);
          var u = _i(e, dt);
          u !== null && Kr(u, e, dt, Pn);
        }, $T = function(e) {
          var t = _i(e, dt);
          t !== null && Kr(t, e, dt, Pn);
        }, zT = function(e) {
          kT = e;
        }, jT = function(e) {
          NT = e;
        };
      }
      function MP(e) {
        var t = yi(e);
        return t === null ? null : t.stateNode;
      }
      function DP(e) {
        return null;
      }
      function LP() {
        return Kn;
      }
      function AP(e) {
        var t = e.findFiberByHostInstance, o = l.ReactCurrentDispatcher;
        return ap({
          bundleType: e.bundleType,
          version: e.version,
          rendererPackageName: e.rendererPackageName,
          rendererConfig: e.rendererConfig,
          overrideHookState: MT,
          overrideHookStateDeletePath: DT,
          overrideHookStateRenamePath: LT,
          overrideProps: AT,
          overridePropsDeletePath: PT,
          overridePropsRenamePath: FT,
          setErrorHandler: zT,
          setSuspenseHandler: jT,
          scheduleUpdate: $T,
          currentDispatcherRef: o,
          findHostInstanceByFiber: MP,
          findFiberByHostInstance: t || DP,
          // React Refresh
          findHostInstancesForRefresh: cP,
          scheduleRefresh: uP,
          scheduleRoot: sP,
          setRefreshHandler: lP,
          // Enables DevTools to append owner stacks to error messages in DEV mode.
          getCurrentFiber: LP,
          // Enables DevTools to detect reconciler version rather than renderer version
          // which may not match for third party renderers.
          reconcilerVersion: iE
        });
      }
      var YT = typeof reportError == "function" ? (
        // In modern browsers, reportError will dispatch an error event,
        // emulating an uncaught JavaScript error.
        reportError
      ) : function(e) {
        console.error(e);
      };
      function cE(e) {
        this._internalRoot = e;
      }
      By.prototype.render = cE.prototype.render = function(e) {
        var t = this._internalRoot;
        if (t === null)
          throw new Error("Cannot update an unmounted root.");
        {
          typeof arguments[1] == "function" ? p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().") : Wy(arguments[1]) ? p("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.") : typeof arguments[1] < "u" && p("You passed a second argument to root.render(...) but it only accepts one argument.");
          var o = t.containerInfo;
          if (o.nodeType !== yr) {
            var u = _T(t.current);
            u && u.parentNode !== o && p("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.");
          }
        }
        Oh(e, t, null, null);
      }, By.prototype.unmount = cE.prototype.unmount = function() {
        typeof arguments[0] == "function" && p("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");
        var e = this._internalRoot;
        if (e !== null) {
          this._internalRoot = null;
          var t = e.containerInfo;
          aT() && p("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."), Eu(function() {
            Oh(null, e, null, null);
          }), Yx(t);
        }
      };
      function PP(e, t) {
        if (!Wy(e))
          throw new Error("createRoot(...): Target container is not a DOM element.");
        qT(e);
        var o = !1, u = !1, d = "", h = YT;
        t != null && (t.hydrate ? m("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.") : typeof t == "object" && t !== null && t.$$typeof === En && p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:

  let root = createRoot(domContainer);
  root.render(<App />);`), t.unstable_strictMode === !0 && (o = !0), t.identifierPrefix !== void 0 && (d = t.identifierPrefix), t.onRecoverableError !== void 0 && (h = t.onRecoverableError), t.transitionCallbacks !== void 0 && t.transitionCallbacks);
        var y = wT(e, jg, null, o, u, d, h);
        Dg(y.current, e);
        var x = e.nodeType === yr ? e.parentNode : e;
        return Lp(x), new cE(y);
      }
      function By(e) {
        this._internalRoot = e;
      }
      function FP(e) {
        e && vS(e);
      }
      By.prototype.unstable_scheduleHydration = FP;
      function $P(e, t, o) {
        if (!Wy(e))
          throw new Error("hydrateRoot(...): Target container is not a DOM element.");
        qT(e), t === void 0 && p("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");
        var u = o ?? null, d = o != null && o.hydratedSources || null, h = !1, y = !1, x = "", w = YT;
        o != null && (o.unstable_strictMode === !0 && (h = !0), o.identifierPrefix !== void 0 && (x = o.identifierPrefix), o.onRecoverableError !== void 0 && (w = o.onRecoverableError));
        var D = TT(t, null, e, jg, u, h, y, x, w);
        if (Dg(D.current, e), Lp(e), d)
          for (var F = 0; F < d.length; F++) {
            var J = d[F];
            I2(D, J);
          }
        return new By(D);
      }
      function Wy(e) {
        return !!(e && (e.nodeType === Na || e.nodeType === ji || e.nodeType === Vl || !K));
      }
      function _h(e) {
        return !!(e && (e.nodeType === Na || e.nodeType === ji || e.nodeType === Vl || e.nodeType === yr && e.nodeValue === " react-mount-point-unstable "));
      }
      function qT(e) {
        e.nodeType === Na && e.tagName && e.tagName.toUpperCase() === "BODY" && p("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."), Bp(e) && (e._reactRootContainer ? p("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.") : p("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."));
      }
      var zP = l.ReactCurrentOwner, GT;
      GT = function(e) {
        if (e._reactRootContainer && e.nodeType !== yr) {
          var t = _T(e._reactRootContainer.current);
          t && t.parentNode !== e && p("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
        }
        var o = !!e._reactRootContainer, u = fE(e), d = !!(u && _s(u));
        d && !o && p("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."), e.nodeType === Na && e.tagName && e.tagName.toUpperCase() === "BODY" && p("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
      };
      function fE(e) {
        return e ? e.nodeType === ji ? e.documentElement : e.firstChild : null;
      }
      function QT() {
      }
      function jP(e, t, o, u, d) {
        if (d) {
          if (typeof u == "function") {
            var h = u;
            u = function() {
              var X = Vy(y);
              h.call(X);
            };
          }
          var y = TT(
            t,
            u,
            e,
            Ns,
            null,
            // hydrationCallbacks
            !1,
            // isStrictMode
            !1,
            // concurrentUpdatesByDefaultOverride,
            "",
            // identifierPrefix
            QT
          );
          e._reactRootContainer = y, Dg(y.current, e);
          var x = e.nodeType === yr ? e.parentNode : e;
          return Lp(x), Eu(), y;
        } else {
          for (var w; w = e.lastChild; )
            e.removeChild(w);
          if (typeof u == "function") {
            var D = u;
            u = function() {
              var X = Vy(F);
              D.call(X);
            };
          }
          var F = wT(
            e,
            Ns,
            null,
            // hydrationCallbacks
            !1,
            // isStrictMode
            !1,
            // concurrentUpdatesByDefaultOverride,
            "",
            // identifierPrefix
            QT
          );
          e._reactRootContainer = F, Dg(F.current, e);
          var J = e.nodeType === yr ? e.parentNode : e;
          return Lp(J), Eu(function() {
            Oh(t, F, o, u);
          }), F;
        }
      }
      function HP(e, t) {
        e !== null && typeof e != "function" && p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", t, e);
      }
      function Yy(e, t, o, u, d) {
        GT(o), HP(d === void 0 ? null : d, "render");
        var h = o._reactRootContainer, y;
        if (!h)
          y = jP(o, t, e, d, u);
        else {
          if (y = h, typeof d == "function") {
            var x = d;
            d = function() {
              var w = Vy(y);
              x.call(w);
            };
          }
          Oh(t, y, e, d);
        }
        return Vy(y);
      }
      var KT = !1;
      function IP(e) {
        {
          KT || (KT = !0, p("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));
          var t = zP.current;
          if (t !== null && t.stateNode !== null) {
            var o = t.stateNode._warnedAboutRefsInRender;
            o || p("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.", Qt(t.type) || "A component"), t.stateNode._warnedAboutRefsInRender = !0;
          }
        }
        return e == null ? null : e.nodeType === Na ? e : wP(e, "findDOMNode");
      }
      function UP(e, t, o) {
        if (p("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !_h(t))
          throw new Error("Target container is not a DOM element.");
        {
          var u = Bp(t) && t._reactRootContainer === void 0;
          u && p("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?");
        }
        return Yy(null, e, t, !0, o);
      }
      function VP(e, t, o) {
        if (p("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !_h(t))
          throw new Error("Target container is not a DOM element.");
        {
          var u = Bp(t) && t._reactRootContainer === void 0;
          u && p("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?");
        }
        return Yy(null, e, t, !1, o);
      }
      function BP(e, t, o, u) {
        if (p("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"), !_h(o))
          throw new Error("Target container is not a DOM element.");
        if (e == null || !hc(e))
          throw new Error("parentComponent must be a valid React Component");
        return Yy(e, t, o, !1, u);
      }
      var XT = !1;
      function WP(e) {
        if (XT || (XT = !0, p("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")), !_h(e))
          throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");
        {
          var t = Bp(e) && e._reactRootContainer === void 0;
          t && p("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?");
        }
        if (e._reactRootContainer) {
          {
            var o = fE(e), u = o && !_s(o);
            u && p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
          }
          return Eu(function() {
            Yy(null, null, e, !1, function() {
              e._reactRootContainer = null, Yx(e);
            });
          }), !0;
        } else {
          {
            var d = fE(e), h = !!(d && _s(d)), y = e.nodeType === Na && _h(e.parentNode) && !!e.parentNode._reactRootContainer;
            h && p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", y ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
          }
          return !1;
        }
      }
      ps(TP), fS(OP), vd(_P), Jm(Ei), eg(aa), (typeof Map != "function" || // $FlowIssue Flow incorrectly thinks Map has no prototype
      Map.prototype == null || typeof Map.prototype.forEach != "function" || typeof Set != "function" || // $FlowIssue Flow incorrectly thinks Set has no prototype
      Set.prototype == null || typeof Set.prototype.clear != "function" || typeof Set.prototype.forEach != "function") && p("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"), km(qM), Nf(Ub, $A, Eu);
      function YP(e, t) {
        var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
        if (!Wy(t))
          throw new Error("Target container is not a DOM element.");
        return RP(e, t, null, o);
      }
      function qP(e, t, o, u) {
        return BP(e, t, o, u);
      }
      var dE = {
        usingClientEntryPoint: !1,
        // Keep in sync with ReactTestUtils.js.
        // This is an array for better minification.
        Events: [_s, Pd, Lg, kf, dc, Ub]
      };
      function GP(e, t) {
        return dE.usingClientEntryPoint || p('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), PP(e, t);
      }
      function QP(e, t, o) {
        return dE.usingClientEntryPoint || p('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'), $P(e, t, o);
      }
      function KP(e) {
        return aT() && p("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."), Eu(e);
      }
      var XP = AP({
        findFiberByHostInstance: Vc,
        bundleType: 1,
        version: iE,
        rendererPackageName: "react-dom"
      });
      if (!XP && Ut && window.top === window.self && (navigator.userAgent.indexOf("Chrome") > -1 && navigator.userAgent.indexOf("Edge") === -1 || navigator.userAgent.indexOf("Firefox") > -1)) {
        var ZT = window.location.protocol;
        /^(https?|file):$/.test(ZT) && console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools" + (ZT === "file:" ? `
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq` : ""), "font-weight:bold");
      }
      Li.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = dE, Li.createPortal = YP, Li.createRoot = GP, Li.findDOMNode = IP, Li.flushSync = KP, Li.hydrate = UP, Li.hydrateRoot = QP, Li.render = VP, Li.unmountComponentAtNode = WP, Li.unstable_batchedUpdates = Ub, Li.unstable_renderSubtreeIntoContainer = qP, Li.version = iE, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
    }()), Li;
  }
  var cO;
  function U_() {
    if (cO) return Qy.exports;
    cO = 1;
    function r() {
      if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
        if (process.env.NODE_ENV !== "production")
          throw new Error("^_^");
        try {
          __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r);
        } catch (a) {
          console.error(a);
        }
      }
    }
    return process.env.NODE_ENV === "production" ? (r(), Qy.exports = cF()) : Qy.exports = fF(), Qy.exports;
  }
  var fO;
  function dF() {
    if (fO) return ov;
    fO = 1;
    var r = U_();
    if (process.env.NODE_ENV === "production")
      ov.createRoot = r.createRoot, ov.hydrateRoot = r.hydrateRoot;
    else {
      var a = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
      ov.createRoot = function(l, s) {
        a.usingClientEntryPoint = !0;
        try {
          return r.createRoot(l, s);
        } finally {
          a.usingClientEntryPoint = !1;
        }
      }, ov.hydrateRoot = function(l, s, f) {
        a.usingClientEntryPoint = !0;
        try {
          return r.hydrateRoot(l, s, f);
        } finally {
          a.usingClientEntryPoint = !1;
        }
      };
    }
    return ov;
  }
  var vF = dF();
  const pF = /* @__PURE__ */ N0(vF);
  var N = Kh();
  const _e = /* @__PURE__ */ N0(N), M0 = /* @__PURE__ */ H_({
    __proto__: null,
    default: _e
  }, [N]);
  var mE = { exports: {} };
  /*!
  	Copyright (c) 2018 Jed Watson.
  	Licensed under the MIT License (MIT), see
  	http://jedwatson.github.io/classnames
  */
  var dO;
  function hF() {
    return dO || (dO = 1, function(r) {
      (function() {
        var a = {}.hasOwnProperty;
        function l() {
          for (var m = "", p = 0; p < arguments.length; p++) {
            var S = arguments[p];
            S && (m = f(m, s(S)));
          }
          return m;
        }
        function s(m) {
          if (typeof m == "string" || typeof m == "number")
            return m;
          if (typeof m != "object")
            return "";
          if (Array.isArray(m))
            return l.apply(null, m);
          if (m.toString !== Object.prototype.toString && !m.toString.toString().includes("[native code]"))
            return m.toString();
          var p = "";
          for (var S in m)
            a.call(m, S) && m[S] && (p = f(p, S));
          return p;
        }
        function f(m, p) {
          return p ? m ? m + " " + p : m + p : m;
        }
        r.exports ? (l.default = l, r.exports = l) : window.classNames = l;
      })();
    }(mE)), mE.exports;
  }
  var mF = hF();
  const Lt = /* @__PURE__ */ N0(mF);
  function cr() {
    return cr = Object.assign ? Object.assign.bind() : function(r) {
      for (var a = 1; a < arguments.length; a++) {
        var l = arguments[a];
        for (var s in l) ({}).hasOwnProperty.call(l, s) && (r[s] = l[s]);
      }
      return r;
    }, cr.apply(null, arguments);
  }
  function kt(r) {
    "@babel/helpers - typeof";
    return kt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
      return typeof a;
    } : function(a) {
      return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
    }, kt(r);
  }
  var gF = Symbol.for("react.element"), yF = Symbol.for("react.transitional.element"), SF = Symbol.for("react.fragment");
  function V_(r) {
    return (
      // Base object type
      r && kt(r) === "object" && // React Element type
      (r.$$typeof === gF || r.$$typeof === yF) && // React Fragment type
      r.type === SF
    );
  }
  function WE(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = [];
    return _e.Children.forEach(r, function(s) {
      s == null && !a.keepEmpty || (Array.isArray(s) ? l = l.concat(WE(s)) : V_(s) && s.props ? l = l.concat(WE(s.props.children, a)) : l.push(s));
    }), l;
  }
  var YE = {}, V1 = [], CF = function(a) {
    V1.push(a);
  };
  function Hh(r, a) {
    if (process.env.NODE_ENV !== "production" && !r && console !== void 0) {
      var l = V1.reduce(function(s, f) {
        return f(s ?? "", "warning");
      }, a);
      l && console.error("Warning: ".concat(l));
    }
  }
  function bF(r, a) {
    if (process.env.NODE_ENV !== "production" && !r && console !== void 0) {
      var l = V1.reduce(function(s, f) {
        return f(s ?? "", "note");
      }, a);
      l && console.warn("Note: ".concat(l));
    }
  }
  function B_() {
    YE = {};
  }
  function W_(r, a, l) {
    !a && !YE[l] && (r(!1, l), YE[l] = !0);
  }
  function sr(r, a) {
    W_(Hh, r, a);
  }
  function EF(r, a) {
    W_(bF, r, a);
  }
  sr.preMessage = CF;
  sr.resetWarned = B_;
  sr.noteOnce = EF;
  function xF(r, a) {
    if (kt(r) != "object" || !r) return r;
    var l = r[Symbol.toPrimitive];
    if (l !== void 0) {
      var s = l.call(r, a || "default");
      if (kt(s) != "object") return s;
      throw new TypeError("@@toPrimitive must return a primitive value.");
    }
    return (a === "string" ? String : Number)(r);
  }
  function Y_(r) {
    var a = xF(r, "string");
    return kt(a) == "symbol" ? a : a + "";
  }
  function ue(r, a, l) {
    return (a = Y_(a)) in r ? Object.defineProperty(r, a, {
      value: l,
      enumerable: !0,
      configurable: !0,
      writable: !0
    }) : r[a] = l, r;
  }
  function vO(r, a) {
    var l = Object.keys(r);
    if (Object.getOwnPropertySymbols) {
      var s = Object.getOwnPropertySymbols(r);
      a && (s = s.filter(function(f) {
        return Object.getOwnPropertyDescriptor(r, f).enumerable;
      })), l.push.apply(l, s);
    }
    return l;
  }
  function Ce(r) {
    for (var a = 1; a < arguments.length; a++) {
      var l = arguments[a] != null ? arguments[a] : {};
      a % 2 ? vO(Object(l), !0).forEach(function(s) {
        ue(r, s, l[s]);
      }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(l)) : vO(Object(l)).forEach(function(s) {
        Object.defineProperty(r, s, Object.getOwnPropertyDescriptor(l, s));
      });
    }
    return r;
  }
  var B1 = U_();
  const qE = /* @__PURE__ */ N0(B1), RF = /* @__PURE__ */ H_({
    __proto__: null,
    default: qE
  }, [B1]);
  function pO(r) {
    return r instanceof HTMLElement || r instanceof SVGElement;
  }
  function wF(r) {
    return r && kt(r) === "object" && pO(r.nativeElement) ? r.nativeElement : pO(r) ? r : null;
  }
  function TF(r) {
    var a = wF(r);
    if (a)
      return a;
    if (r instanceof _e.Component) {
      var l;
      return (l = qE.findDOMNode) === null || l === void 0 ? void 0 : l.call(qE, r);
    }
    return null;
  }
  var Xy = { exports: {} }, wn = {};
  /**
   * @license React
   * react-is.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var hO;
  function OF() {
    if (hO) return wn;
    hO = 1;
    var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), p = Symbol.for("react.context"), S = Symbol.for("react.server_context"), C = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), P;
    P = Symbol.for("react.module.reference");
    function L(M) {
      if (typeof M == "object" && M !== null) {
        var V = M.$$typeof;
        switch (V) {
          case r:
            switch (M = M.type, M) {
              case l:
              case f:
              case s:
              case E:
              case R:
                return M;
              default:
                switch (M = M && M.$$typeof, M) {
                  case S:
                  case p:
                  case C:
                  case _:
                  case T:
                  case m:
                    return M;
                  default:
                    return V;
                }
            }
          case a:
            return V;
        }
      }
    }
    return wn.ContextConsumer = p, wn.ContextProvider = m, wn.Element = r, wn.ForwardRef = C, wn.Fragment = l, wn.Lazy = _, wn.Memo = T, wn.Portal = a, wn.Profiler = f, wn.StrictMode = s, wn.Suspense = E, wn.SuspenseList = R, wn.isAsyncMode = function() {
      return !1;
    }, wn.isConcurrentMode = function() {
      return !1;
    }, wn.isContextConsumer = function(M) {
      return L(M) === p;
    }, wn.isContextProvider = function(M) {
      return L(M) === m;
    }, wn.isElement = function(M) {
      return typeof M == "object" && M !== null && M.$$typeof === r;
    }, wn.isForwardRef = function(M) {
      return L(M) === C;
    }, wn.isFragment = function(M) {
      return L(M) === l;
    }, wn.isLazy = function(M) {
      return L(M) === _;
    }, wn.isMemo = function(M) {
      return L(M) === T;
    }, wn.isPortal = function(M) {
      return L(M) === a;
    }, wn.isProfiler = function(M) {
      return L(M) === f;
    }, wn.isStrictMode = function(M) {
      return L(M) === s;
    }, wn.isSuspense = function(M) {
      return L(M) === E;
    }, wn.isSuspenseList = function(M) {
      return L(M) === R;
    }, wn.isValidElementType = function(M) {
      return typeof M == "string" || typeof M == "function" || M === l || M === f || M === s || M === E || M === R || M === A || typeof M == "object" && M !== null && (M.$$typeof === _ || M.$$typeof === T || M.$$typeof === m || M.$$typeof === p || M.$$typeof === C || M.$$typeof === P || M.getModuleId !== void 0);
    }, wn.typeOf = L, wn;
  }
  var Tn = {};
  /**
   * @license React
   * react-is.development.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  var mO;
  function _F() {
    return mO || (mO = 1, process.env.NODE_ENV !== "production" && function() {
      var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), p = Symbol.for("react.context"), S = Symbol.for("react.server_context"), C = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), P = !1, L = !1, M = !1, V = !1, $ = !1, j;
      j = Symbol.for("react.module.reference");
      function W(ze) {
        return !!(typeof ze == "string" || typeof ze == "function" || ze === l || ze === f || $ || ze === s || ze === E || ze === R || V || ze === A || P || L || M || typeof ze == "object" && ze !== null && (ze.$$typeof === _ || ze.$$typeof === T || ze.$$typeof === m || ze.$$typeof === p || ze.$$typeof === C || // This needs to include all possible module reference object
        // types supported by any Flight configuration anywhere since
        // we don't know which Flight build this will end up being used
        // with.
        ze.$$typeof === j || ze.getModuleId !== void 0));
      }
      function I(ze) {
        if (typeof ze == "object" && ze !== null) {
          var bt = ze.$$typeof;
          switch (bt) {
            case r:
              var $t = ze.type;
              switch ($t) {
                case l:
                case f:
                case s:
                case E:
                case R:
                  return $t;
                default:
                  var un = $t && $t.$$typeof;
                  switch (un) {
                    case S:
                    case p:
                    case C:
                    case _:
                    case T:
                    case m:
                      return un;
                    default:
                      return bt;
                  }
              }
            case a:
              return bt;
          }
        }
      }
      var ee = p, Y = m, ne = r, ae = C, ve = l, ye = _, Oe = T, ge = a, me = f, Te = s, re = E, Q = R, q = !1, se = !1;
      function te(ze) {
        return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
      }
      function z(ze) {
        return se || (se = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
      }
      function K(ze) {
        return I(ze) === p;
      }
      function Re(ze) {
        return I(ze) === m;
      }
      function we(ze) {
        return typeof ze == "object" && ze !== null && ze.$$typeof === r;
      }
      function Ue(ze) {
        return I(ze) === C;
      }
      function Ke(ze) {
        return I(ze) === l;
      }
      function Be(ze) {
        return I(ze) === _;
      }
      function vt(ze) {
        return I(ze) === T;
      }
      function ut(ze) {
        return I(ze) === a;
      }
      function Tt(ze) {
        return I(ze) === f;
      }
      function pn(ze) {
        return I(ze) === s;
      }
      function on(ze) {
        return I(ze) === E;
      }
      function Ut(ze) {
        return I(ze) === R;
      }
      Tn.ContextConsumer = ee, Tn.ContextProvider = Y, Tn.Element = ne, Tn.ForwardRef = ae, Tn.Fragment = ve, Tn.Lazy = ye, Tn.Memo = Oe, Tn.Portal = ge, Tn.Profiler = me, Tn.StrictMode = Te, Tn.Suspense = re, Tn.SuspenseList = Q, Tn.isAsyncMode = te, Tn.isConcurrentMode = z, Tn.isContextConsumer = K, Tn.isContextProvider = Re, Tn.isElement = we, Tn.isForwardRef = Ue, Tn.isFragment = Ke, Tn.isLazy = Be, Tn.isMemo = vt, Tn.isPortal = ut, Tn.isProfiler = Tt, Tn.isStrictMode = pn, Tn.isSuspense = on, Tn.isSuspenseList = Ut, Tn.isValidElementType = W, Tn.typeOf = I;
    }()), Tn;
  }
  var gO;
  function kF() {
    return gO || (gO = 1, process.env.NODE_ENV === "production" ? Xy.exports = OF() : Xy.exports = _F()), Xy.exports;
  }
  var gE = kF();
  function W1(r, a, l) {
    var s = N.useRef({});
    return (!("value" in s.current) || l(s.current.condition, a)) && (s.current.value = r(), s.current.condition = a), s.current.value;
  }
  var q_ = function(a, l) {
    typeof a == "function" ? a(l) : kt(a) === "object" && a && "current" in a && (a.current = l);
  }, Y1 = function() {
    for (var a = arguments.length, l = new Array(a), s = 0; s < a; s++)
      l[s] = arguments[s];
    var f = l.filter(Boolean);
    return f.length <= 1 ? f[0] : function(m) {
      l.forEach(function(p) {
        q_(p, m);
      });
    };
  }, q1 = function() {
    for (var a = arguments.length, l = new Array(a), s = 0; s < a; s++)
      l[s] = arguments[s];
    return W1(function() {
      return Y1.apply(void 0, l);
    }, l, function(f, m) {
      return f.length !== m.length || f.every(function(p, S) {
        return p !== m[S];
      });
    });
  }, G1 = function(a) {
    var l, s;
    if (!a)
      return !1;
    if (G_(a) && a.props.propertyIsEnumerable("ref"))
      return !0;
    var f = gE.isMemo(a) ? a.type.type : a.type;
    return !(typeof f == "function" && !((l = f.prototype) !== null && l !== void 0 && l.render) && f.$$typeof !== gE.ForwardRef || typeof a == "function" && !((s = a.prototype) !== null && s !== void 0 && s.render) && a.$$typeof !== gE.ForwardRef);
  };
  function G_(r) {
    return /* @__PURE__ */ N.isValidElement(r) && !V_(r);
  }
  var Q_ = function(a) {
    if (a && G_(a)) {
      var l = a;
      return l.props.propertyIsEnumerable("ref") ? l.props.ref : l.ref;
    }
    return null;
  };
  function xa(r, a) {
    if (!(r instanceof a)) throw new TypeError("Cannot call a class as a function");
  }
  function yO(r, a) {
    for (var l = 0; l < a.length; l++) {
      var s = a[l];
      s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(r, Y_(s.key), s);
    }
  }
  function Ra(r, a, l) {
    return a && yO(r.prototype, a), l && yO(r, l), Object.defineProperty(r, "prototype", {
      writable: !1
    }), r;
  }
  function Ih(r, a) {
    return Ih = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(l, s) {
      return l.__proto__ = s, l;
    }, Ih(r, a);
  }
  function df(r, a) {
    if (typeof a != "function" && a !== null) throw new TypeError("Super expression must either be null or a function");
    r.prototype = Object.create(a && a.prototype, {
      constructor: {
        value: r,
        writable: !0,
        configurable: !0
      }
    }), Object.defineProperty(r, "prototype", {
      writable: !1
    }), a && Ih(r, a);
  }
  function Uh(r) {
    return Uh = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(a) {
      return a.__proto__ || Object.getPrototypeOf(a);
    }, Uh(r);
  }
  function Q1() {
    try {
      var r = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
      }));
    } catch {
    }
    return (Q1 = function() {
      return !!r;
    })();
  }
  function Yt(r) {
    if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
    return r;
  }
  function NF(r, a) {
    if (a && (kt(a) == "object" || typeof a == "function")) return a;
    if (a !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
    return Yt(r);
  }
  function vf(r) {
    var a = Q1();
    return function() {
      var l, s = Uh(r);
      if (a) {
        var f = Uh(this).constructor;
        l = Reflect.construct(s, arguments, f);
      } else l = s.apply(this, arguments);
      return NF(this, l);
    };
  }
  function D0(r, a) {
    var l = Object.assign({}, r);
    return Array.isArray(a) && a.forEach(function(s) {
      delete l[s];
    }), l;
  }
  function GE(r, a) {
    (a == null || a > r.length) && (a = r.length);
    for (var l = 0, s = Array(a); l < a; l++) s[l] = r[l];
    return s;
  }
  function MF(r) {
    if (Array.isArray(r)) return GE(r);
  }
  function K_(r) {
    if (typeof Symbol < "u" && r[Symbol.iterator] != null || r["@@iterator"] != null) return Array.from(r);
  }
  function K1(r, a) {
    if (r) {
      if (typeof r == "string") return GE(r, a);
      var l = {}.toString.call(r).slice(8, -1);
      return l === "Object" && r.constructor && (l = r.constructor.name), l === "Map" || l === "Set" ? Array.from(r) : l === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l) ? GE(r, a) : void 0;
    }
  }
  function DF() {
    throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  function mt(r) {
    return MF(r) || K_(r) || K1(r) || DF();
  }
  var X_ = function(a) {
    return +setTimeout(a, 16);
  }, Z_ = function(a) {
    return clearTimeout(a);
  };
  typeof window < "u" && "requestAnimationFrame" in window && (X_ = function(a) {
    return window.requestAnimationFrame(a);
  }, Z_ = function(a) {
    return window.cancelAnimationFrame(a);
  });
  var SO = 0, L0 = /* @__PURE__ */ new Map();
  function J_(r) {
    L0.delete(r);
  }
  var Gs = function(a) {
    var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
    SO += 1;
    var s = SO;
    function f(m) {
      if (m === 0)
        J_(s), a();
      else {
        var p = X_(function() {
          f(m - 1);
        });
        L0.set(s, p);
      }
    }
    return f(l), s;
  };
  Gs.cancel = function(r) {
    var a = L0.get(r);
    return J_(r), Z_(a);
  };
  process.env.NODE_ENV !== "production" && (Gs.ids = function() {
    return L0;
  });
  function ek(r) {
    if (Array.isArray(r)) return r;
  }
  function LF(r, a) {
    var l = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
    if (l != null) {
      var s, f, m, p, S = [], C = !0, E = !1;
      try {
        if (m = (l = l.call(r)).next, a === 0) {
          if (Object(l) !== l) return;
          C = !1;
        } else for (; !(C = (s = m.call(l)).done) && (S.push(s.value), S.length !== a); C = !0) ;
      } catch (R) {
        E = !0, f = R;
      } finally {
        try {
          if (!C && l.return != null && (p = l.return(), Object(p) !== p)) return;
        } finally {
          if (E) throw f;
        }
      }
      return S;
    }
  }
  function tk() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  function lt(r, a) {
    return ek(r) || LF(r, a) || K1(r, a) || tk();
  }
  function Vh(r) {
    for (var a = 0, l, s = 0, f = r.length; f >= 4; ++s, f -= 4)
      l = r.charCodeAt(s) & 255 | (r.charCodeAt(++s) & 255) << 8 | (r.charCodeAt(++s) & 255) << 16 | (r.charCodeAt(++s) & 255) << 24, l = /* Math.imul(k, m): */
      (l & 65535) * 1540483477 + ((l >>> 16) * 59797 << 16), l ^= /* k >>> r: */
      l >>> 24, a = /* Math.imul(k, m): */
      (l & 65535) * 1540483477 + ((l >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
      (a & 65535) * 1540483477 + ((a >>> 16) * 59797 << 16);
    switch (f) {
      case 3:
        a ^= (r.charCodeAt(s + 2) & 255) << 16;
      case 2:
        a ^= (r.charCodeAt(s + 1) & 255) << 8;
      case 1:
        a ^= r.charCodeAt(s) & 255, a = /* Math.imul(h, m): */
        (a & 65535) * 1540483477 + ((a >>> 16) * 59797 << 16);
    }
    return a ^= a >>> 13, a = /* Math.imul(h, m): */
    (a & 65535) * 1540483477 + ((a >>> 16) * 59797 << 16), ((a ^ a >>> 15) >>> 0).toString(36);
  }
  function ui() {
    return !!(typeof window < "u" && window.document && window.document.createElement);
  }
  function QE(r, a) {
    if (!r)
      return !1;
    if (r.contains)
      return r.contains(a);
    for (var l = a; l; ) {
      if (l === r)
        return !0;
      l = l.parentNode;
    }
    return !1;
  }
  var CO = "data-rc-order", bO = "data-rc-priority", AF = "rc-util-key", KE = /* @__PURE__ */ new Map();
  function nk() {
    var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = r.mark;
    return a ? a.startsWith("data-") ? a : "data-".concat(a) : AF;
  }
  function A0(r) {
    if (r.attachTo)
      return r.attachTo;
    var a = document.querySelector("head");
    return a || document.body;
  }
  function PF(r) {
    return r === "queue" ? "prependQueue" : r ? "prepend" : "append";
  }
  function X1(r) {
    return Array.from((KE.get(r) || r).children).filter(function(a) {
      return a.tagName === "STYLE";
    });
  }
  function rk(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
    if (!ui())
      return null;
    var l = a.csp, s = a.prepend, f = a.priority, m = f === void 0 ? 0 : f, p = PF(s), S = p === "prependQueue", C = document.createElement("style");
    C.setAttribute(CO, p), S && m && C.setAttribute(bO, "".concat(m)), l != null && l.nonce && (C.nonce = l == null ? void 0 : l.nonce), C.innerHTML = r;
    var E = A0(a), R = E.firstChild;
    if (s) {
      if (S) {
        var T = (a.styles || X1(E)).filter(function(_) {
          if (!["prepend", "prependQueue"].includes(_.getAttribute(CO)))
            return !1;
          var A = Number(_.getAttribute(bO) || 0);
          return m >= A;
        });
        if (T.length)
          return E.insertBefore(C, T[T.length - 1].nextSibling), C;
      }
      E.insertBefore(C, R);
    } else
      E.appendChild(C);
    return C;
  }
  function ak(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = A0(a);
    return (a.styles || X1(l)).find(function(s) {
      return s.getAttribute(nk(a)) === r;
    });
  }
  function Bh(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = ak(r, a);
    if (l) {
      var s = A0(a);
      s.removeChild(l);
    }
  }
  function FF(r, a) {
    var l = KE.get(r);
    if (!l || !QE(document, l)) {
      var s = rk("", a), f = s.parentNode;
      KE.set(r, f), r.removeChild(s);
    }
  }
  function _u(r, a) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = A0(l), f = X1(s), m = Ce(Ce({}, l), {}, {
      styles: f
    });
    FF(s, m);
    var p = ak(a, m);
    if (p) {
      var S, C;
      if ((S = m.csp) !== null && S !== void 0 && S.nonce && p.nonce !== ((C = m.csp) === null || C === void 0 ? void 0 : C.nonce)) {
        var E;
        p.nonce = (E = m.csp) === null || E === void 0 ? void 0 : E.nonce;
      }
      return p.innerHTML !== r && (p.innerHTML = r), p;
    }
    var R = rk(r, m);
    return R.setAttribute(nk(m), a), R;
  }
  function $F(r, a) {
    if (r == null) return {};
    var l = {};
    for (var s in r) if ({}.hasOwnProperty.call(r, s)) {
      if (a.includes(s)) continue;
      l[s] = r[s];
    }
    return l;
  }
  function $l(r, a) {
    if (r == null) return {};
    var l, s, f = $F(r, a);
    if (Object.getOwnPropertySymbols) {
      var m = Object.getOwnPropertySymbols(r);
      for (s = 0; s < m.length; s++) l = m[s], a.includes(l) || {}.propertyIsEnumerable.call(r, l) && (f[l] = r[l]);
    }
    return f;
  }
  function XE(r, a) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, s = /* @__PURE__ */ new Set();
    function f(m, p) {
      var S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, C = s.has(m);
      if (sr(!C, "Warning: There may be circular references"), C)
        return !1;
      if (m === p)
        return !0;
      if (l && S > 1)
        return !1;
      s.add(m);
      var E = S + 1;
      if (Array.isArray(m)) {
        if (!Array.isArray(p) || m.length !== p.length)
          return !1;
        for (var R = 0; R < m.length; R++)
          if (!f(m[R], p[R], E))
            return !1;
        return !0;
      }
      if (m && p && kt(m) === "object" && kt(p) === "object") {
        var T = Object.keys(m);
        return T.length !== Object.keys(p).length ? !1 : T.every(function(_) {
          return f(m[_], p[_], E);
        });
      }
      return !1;
    }
    return f(r, a);
  }
  var zF = "%";
  function ZE(r) {
    return r.join(zF);
  }
  var jF = /* @__PURE__ */ function() {
    function r(a) {
      xa(this, r), ue(this, "instanceId", void 0), ue(this, "cache", /* @__PURE__ */ new Map()), this.instanceId = a;
    }
    return Ra(r, [{
      key: "get",
      value: function(l) {
        return this.opGet(ZE(l));
      }
      /** A fast get cache with `get` concat. */
    }, {
      key: "opGet",
      value: function(l) {
        return this.cache.get(l) || null;
      }
    }, {
      key: "update",
      value: function(l, s) {
        return this.opUpdate(ZE(l), s);
      }
      /** A fast get cache with `get` concat. */
    }, {
      key: "opUpdate",
      value: function(l, s) {
        var f = this.cache.get(l), m = s(f);
        m === null ? this.cache.delete(l) : this.cache.set(l, m);
      }
    }]), r;
  }(), yv = "data-token-hash", Xo = "data-css-hash", HF = "data-cache-path", Ws = "__cssinjs_instance__";
  function IF() {
    var r = Math.random().toString(12).slice(2);
    if (typeof document < "u" && document.head && document.body) {
      var a = document.body.querySelectorAll("style[".concat(Xo, "]")) || [], l = document.head.firstChild;
      Array.from(a).forEach(function(f) {
        f[Ws] = f[Ws] || r, f[Ws] === r && document.head.insertBefore(f, l);
      });
      var s = {};
      Array.from(document.querySelectorAll("style[".concat(Xo, "]"))).forEach(function(f) {
        var m = f.getAttribute(Xo);
        if (s[m]) {
          if (f[Ws] === r) {
            var p;
            (p = f.parentNode) === null || p === void 0 || p.removeChild(f);
          }
        } else
          s[m] = !0;
      });
    }
    return new jF(r);
  }
  var P0 = /* @__PURE__ */ N.createContext({
    hashPriority: "low",
    cache: IF(),
    defaultCache: !0
  });
  function UF(r, a) {
    if (r.length !== a.length)
      return !1;
    for (var l = 0; l < r.length; l++)
      if (r[l] !== a[l])
        return !1;
    return !0;
  }
  var Z1 = /* @__PURE__ */ function() {
    function r() {
      xa(this, r), ue(this, "cache", void 0), ue(this, "keys", void 0), ue(this, "cacheCallTimes", void 0), this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
    }
    return Ra(r, [{
      key: "size",
      value: function() {
        return this.keys.length;
      }
    }, {
      key: "internalGet",
      value: function(l) {
        var s, f, m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, p = {
          map: this.cache
        };
        return l.forEach(function(S) {
          if (!p)
            p = void 0;
          else {
            var C;
            p = (C = p) === null || C === void 0 || (C = C.map) === null || C === void 0 ? void 0 : C.get(S);
          }
        }), (s = p) !== null && s !== void 0 && s.value && m && (p.value[1] = this.cacheCallTimes++), (f = p) === null || f === void 0 ? void 0 : f.value;
      }
    }, {
      key: "get",
      value: function(l) {
        var s;
        return (s = this.internalGet(l, !0)) === null || s === void 0 ? void 0 : s[0];
      }
    }, {
      key: "has",
      value: function(l) {
        return !!this.internalGet(l);
      }
    }, {
      key: "set",
      value: function(l, s) {
        var f = this;
        if (!this.has(l)) {
          if (this.size() + 1 > r.MAX_CACHE_SIZE + r.MAX_CACHE_OFFSET) {
            var m = this.keys.reduce(function(E, R) {
              var T = lt(E, 2), _ = T[1];
              return f.internalGet(R)[1] < _ ? [R, f.internalGet(R)[1]] : E;
            }, [this.keys[0], this.cacheCallTimes]), p = lt(m, 1), S = p[0];
            this.delete(S);
          }
          this.keys.push(l);
        }
        var C = this.cache;
        l.forEach(function(E, R) {
          if (R === l.length - 1)
            C.set(E, {
              value: [s, f.cacheCallTimes++]
            });
          else {
            var T = C.get(E);
            T ? T.map || (T.map = /* @__PURE__ */ new Map()) : C.set(E, {
              map: /* @__PURE__ */ new Map()
            }), C = C.get(E).map;
          }
        });
      }
    }, {
      key: "deleteByPath",
      value: function(l, s) {
        var f = l.get(s[0]);
        if (s.length === 1) {
          var m;
          return f.map ? l.set(s[0], {
            map: f.map
          }) : l.delete(s[0]), (m = f.value) === null || m === void 0 ? void 0 : m[0];
        }
        var p = this.deleteByPath(f.map, s.slice(1));
        return (!f.map || f.map.size === 0) && !f.value && l.delete(s[0]), p;
      }
    }, {
      key: "delete",
      value: function(l) {
        if (this.has(l))
          return this.keys = this.keys.filter(function(s) {
            return !UF(s, l);
          }), this.deleteByPath(this.cache, l);
      }
    }]), r;
  }();
  ue(Z1, "MAX_CACHE_SIZE", 20);
  ue(Z1, "MAX_CACHE_OFFSET", 5);
  var EO = 0, ik = /* @__PURE__ */ function() {
    function r(a) {
      xa(this, r), ue(this, "derivatives", void 0), ue(this, "id", void 0), this.derivatives = Array.isArray(a) ? a : [a], this.id = EO, a.length === 0 && Hh(a.length > 0, "[Ant Design CSS-in-JS] Theme should have at least one derivative function."), EO += 1;
    }
    return Ra(r, [{
      key: "getDerivativeToken",
      value: function(l) {
        return this.derivatives.reduce(function(s, f) {
          return f(l, s);
        }, void 0);
      }
    }]), r;
  }(), yE = new Z1();
  function JE(r) {
    var a = Array.isArray(r) ? r : [r];
    return yE.has(a) || yE.set(a, new ik(a)), yE.get(a);
  }
  var VF = /* @__PURE__ */ new WeakMap(), SE = {};
  function BF(r, a) {
    for (var l = VF, s = 0; s < a.length; s += 1) {
      var f = a[s];
      l.has(f) || l.set(f, /* @__PURE__ */ new WeakMap()), l = l.get(f);
    }
    return l.has(SE) || l.set(SE, r()), l.get(SE);
  }
  var xO = /* @__PURE__ */ new WeakMap();
  function $h(r) {
    var a = xO.get(r) || "";
    return a || (Object.keys(r).forEach(function(l) {
      var s = r[l];
      a += l, s instanceof ik ? a += s.id : s && kt(s) === "object" ? a += $h(s) : a += s;
    }), a = Vh(a), xO.set(r, a)), a;
  }
  function RO(r, a) {
    return Vh("".concat(a, "_").concat($h(r)));
  }
  var e1 = ui();
  function $n(r) {
    return typeof r == "number" ? "".concat(r, "px") : r;
  }
  function b0(r, a, l) {
    var s, f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, m = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
    if (m)
      return r;
    var p = Ce(Ce({}, f), {}, (s = {}, ue(s, yv, a), ue(s, Xo, l), s)), S = Object.keys(p).map(function(C) {
      var E = p[C];
      return E ? "".concat(C, '="').concat(E, '"') : null;
    }).filter(function(C) {
      return C;
    }).join(" ");
    return "<style ".concat(S, ">").concat(r, "</style>");
  }
  var f0 = function(a) {
    var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
    return "--".concat(l ? "".concat(l, "-") : "").concat(a).replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase();
  }, WF = function(a, l, s) {
    return Object.keys(a).length ? ".".concat(l).concat(s != null && s.scope ? ".".concat(s.scope) : "", "{").concat(Object.entries(a).map(function(f) {
      var m = lt(f, 2), p = m[0], S = m[1];
      return "".concat(p, ":").concat(S, ";");
    }).join(""), "}") : "";
  }, ok = function(a, l, s) {
    var f = {}, m = {};
    return Object.entries(a).forEach(function(p) {
      var S, C, E = lt(p, 2), R = E[0], T = E[1];
      if (s != null && (S = s.preserve) !== null && S !== void 0 && S[R])
        m[R] = T;
      else if ((typeof T == "string" || typeof T == "number") && !(s != null && (C = s.ignore) !== null && C !== void 0 && C[R])) {
        var _, A = f0(R, s == null ? void 0 : s.prefix);
        f[A] = typeof T == "number" && !(s != null && (_ = s.unitless) !== null && _ !== void 0 && _[R]) ? "".concat(T, "px") : String(T), m[R] = "var(".concat(A, ")");
      }
    }), [m, WF(f, l, {
      scope: s == null ? void 0 : s.scope
    })];
  }, wO = process.env.NODE_ENV !== "test" && ui() ? N.useLayoutEffect : N.useEffect, Wh = function(a, l) {
    var s = N.useRef(!0);
    wO(function() {
      return a(s.current);
    }, l), wO(function() {
      return s.current = !1, function() {
        s.current = !0;
      };
    }, []);
  }, TO = function(a, l) {
    Wh(function(s) {
      if (!s)
        return a();
    }, l);
  }, YF = Ce({}, M0), OO = YF.useInsertionEffect, qF = function(a, l, s) {
    N.useMemo(a, s), Wh(function() {
      return l(!0);
    }, s);
  }, GF = OO ? function(r, a, l) {
    return OO(function() {
      return r(), a();
    }, l);
  } : qF, QF = Ce({}, M0), KF = QF.useInsertionEffect, XF = function(a) {
    var l = [], s = !1;
    function f(m) {
      if (s) {
        process.env.NODE_ENV !== "production" && Hh(!1, "[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");
        return;
      }
      l.push(m);
    }
    return N.useEffect(function() {
      return s = !1, function() {
        s = !0, l.length && l.forEach(function(m) {
          return m();
        });
      };
    }, a), f;
  }, ZF = function() {
    return function(a) {
      a();
    };
  }, JF = typeof KF < "u" ? XF : ZF;
  function e$() {
    return !1;
  }
  var t1 = !1;
  function t$() {
    return t1;
  }
  const n$ = process.env.NODE_ENV === "production" ? e$ : t$;
  if (process.env.NODE_ENV !== "production" && typeof C0 < "u" && C0 && C0.hot && typeof window < "u") {
    var Zy = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : null;
    if (Zy && typeof Zy.webpackHotUpdate == "function") {
      var r$ = Zy.webpackHotUpdate;
      Zy.webpackHotUpdate = function() {
        return t1 = !0, setTimeout(function() {
          t1 = !1;
        }, 0), r$.apply(void 0, arguments);
      };
    }
  }
  function J1(r, a, l, s, f) {
    var m = N.useContext(P0), p = m.cache, S = [r].concat(mt(a)), C = ZE(S), E = JF([C]), R = n$(), T = function(L) {
      p.opUpdate(C, function(M) {
        var V = M || [void 0, void 0], $ = lt(V, 2), j = $[0], W = j === void 0 ? 0 : j, I = $[1], ee = I;
        process.env.NODE_ENV !== "production" && I && R && (s == null || s(ee, R), ee = null);
        var Y = ee || l(), ne = [W, Y];
        return L ? L(ne) : ne;
      });
    };
    N.useMemo(
      function() {
        T();
      },
      /* eslint-disable react-hooks/exhaustive-deps */
      [C]
      /* eslint-enable */
    );
    var _ = p.opGet(C);
    process.env.NODE_ENV !== "production" && !_ && (T(), _ = p.opGet(C));
    var A = _[1];
    return GF(function() {
      f == null || f(A);
    }, function(P) {
      return T(function(L) {
        var M = lt(L, 2), V = M[0], $ = M[1];
        return P && V === 0 && (f == null || f(A)), [V + 1, $];
      }), function() {
        p.opUpdate(C, function(L) {
          var M = L || [], V = lt(M, 2), $ = V[0], j = $ === void 0 ? 0 : $, W = V[1], I = j - 1;
          return I === 0 ? (E(function() {
            (P || !p.opGet(C)) && (s == null || s(W, !1));
          }), null) : [j - 1, W];
        });
      };
    }, [C]), A;
  }
  var a$ = {}, i$ = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", of = /* @__PURE__ */ new Map();
  function o$(r) {
    of.set(r, (of.get(r) || 0) + 1);
  }
  function l$(r, a) {
    if (typeof document < "u") {
      var l = document.querySelectorAll("style[".concat(yv, '="').concat(r, '"]'));
      l.forEach(function(s) {
        if (s[Ws] === a) {
          var f;
          (f = s.parentNode) === null || f === void 0 || f.removeChild(s);
        }
      });
    }
  }
  var u$ = 0;
  function s$(r, a) {
    of.set(r, (of.get(r) || 0) - 1);
    var l = Array.from(of.keys()), s = l.filter(function(f) {
      var m = of.get(f) || 0;
      return m <= 0;
    });
    l.length - s.length > u$ && s.forEach(function(f) {
      l$(f, a), of.delete(f);
    });
  }
  var c$ = function(a, l, s, f) {
    var m = s.getDerivativeToken(a), p = Ce(Ce({}, m), l);
    return f && (p = f(p)), p;
  }, lk = "token";
  function f$(r, a) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = N.useContext(P0), f = s.cache.instanceId, m = s.container, p = l.salt, S = p === void 0 ? "" : p, C = l.override, E = C === void 0 ? a$ : C, R = l.formatToken, T = l.getComputedToken, _ = l.cssVar, A = BF(function() {
      return Object.assign.apply(Object, [{}].concat(mt(a)));
    }, a), P = $h(A), L = $h(E), M = _ ? $h(_) : "", V = J1(lk, [S, r.id, P, L, M], function() {
      var $, j = T ? T(A, E, r) : c$(A, E, r, R), W = Ce({}, j), I = "";
      if (_) {
        var ee = ok(j, _.key, {
          prefix: _.prefix,
          ignore: _.ignore,
          unitless: _.unitless,
          preserve: _.preserve
        }), Y = lt(ee, 2);
        j = Y[0], I = Y[1];
      }
      var ne = RO(j, S);
      j._tokenKey = ne, W._tokenKey = RO(W, S);
      var ae = ($ = _ == null ? void 0 : _.key) !== null && $ !== void 0 ? $ : ne;
      j._themeKey = ae, o$(ae);
      var ve = "".concat(i$, "-").concat(Vh(ne));
      return j._hashId = ve, [j, ve, W, I, (_ == null ? void 0 : _.key) || ""];
    }, function($) {
      s$($[0]._themeKey, f);
    }, function($) {
      var j = lt($, 4), W = j[0], I = j[3];
      if (_ && I) {
        var ee = _u(I, Vh("css-variables-".concat(W._themeKey)), {
          mark: Xo,
          prepend: "queue",
          attachTo: m,
          priority: -999
        });
        ee[Ws] = f, ee.setAttribute(yv, W._themeKey);
      }
    });
    return V;
  }
  var d$ = function(a, l, s) {
    var f = lt(a, 5), m = f[2], p = f[3], S = f[4], C = s || {}, E = C.plain;
    if (!p)
      return null;
    var R = m._tokenKey, T = -999, _ = {
      "data-rc-order": "prependQueue",
      "data-rc-priority": "".concat(T)
    }, A = b0(p, S, R, _, E);
    return [T, R, A];
  }, v$ = {
    animationIterationCount: 1,
    borderImageOutset: 1,
    borderImageSlice: 1,
    borderImageWidth: 1,
    boxFlex: 1,
    boxFlexGroup: 1,
    boxOrdinalGroup: 1,
    columnCount: 1,
    columns: 1,
    flex: 1,
    flexGrow: 1,
    flexPositive: 1,
    flexShrink: 1,
    flexNegative: 1,
    flexOrder: 1,
    gridRow: 1,
    gridRowEnd: 1,
    gridRowSpan: 1,
    gridRowStart: 1,
    gridColumn: 1,
    gridColumnEnd: 1,
    gridColumnSpan: 1,
    gridColumnStart: 1,
    msGridRow: 1,
    msGridRowSpan: 1,
    msGridColumn: 1,
    msGridColumnSpan: 1,
    fontWeight: 1,
    lineHeight: 1,
    opacity: 1,
    order: 1,
    orphans: 1,
    tabSize: 1,
    widows: 1,
    zIndex: 1,
    zoom: 1,
    WebkitLineClamp: 1,
    // SVG-related properties
    fillOpacity: 1,
    floodOpacity: 1,
    stopOpacity: 1,
    strokeDasharray: 1,
    strokeDashoffset: 1,
    strokeMiterlimit: 1,
    strokeOpacity: 1,
    strokeWidth: 1
  }, uk = "comm", sk = "rule", ck = "decl", p$ = "@import", h$ = "@keyframes", m$ = "@layer", fk = Math.abs, ex = String.fromCharCode;
  function dk(r) {
    return r.trim();
  }
  function d0(r, a, l) {
    return r.replace(a, l);
  }
  function g$(r, a, l) {
    return r.indexOf(a, l);
  }
  function Yh(r, a) {
    return r.charCodeAt(a) | 0;
  }
  function Sv(r, a, l) {
    return r.slice(a, l);
  }
  function Pl(r) {
    return r.length;
  }
  function y$(r) {
    return r.length;
  }
  function Jy(r, a) {
    return a.push(r), r;
  }
  var F0 = 1, Cv = 1, vk = 0, go = 0, zr = 0, wv = "";
  function tx(r, a, l, s, f, m, p, S) {
    return { value: r, root: a, parent: l, type: s, props: f, children: m, line: F0, column: Cv, length: p, return: "", siblings: S };
  }
  function S$() {
    return zr;
  }
  function C$() {
    return zr = go > 0 ? Yh(wv, --go) : 0, Cv--, zr === 10 && (Cv = 1, F0--), zr;
  }
  function Zo() {
    return zr = go < vk ? Yh(wv, go++) : 0, Cv++, zr === 10 && (Cv = 1, F0++), zr;
  }
  function Ys() {
    return Yh(wv, go);
  }
  function v0() {
    return go;
  }
  function $0(r, a) {
    return Sv(wv, r, a);
  }
  function qh(r) {
    switch (r) {
      // \0 \t \n \r \s whitespace token
      case 0:
      case 9:
      case 10:
      case 13:
      case 32:
        return 5;
      // ! + , / > @ ~ isolate token
      case 33:
      case 43:
      case 44:
      case 47:
      case 62:
      case 64:
      case 126:
      // ; { } breakpoint token
      case 59:
      case 123:
      case 125:
        return 4;
      // : accompanied token
      case 58:
        return 3;
      // " ' ( [ opening delimit token
      case 34:
      case 39:
      case 40:
      case 91:
        return 2;
      // ) ] closing delimit token
      case 41:
      case 93:
        return 1;
    }
    return 0;
  }
  function b$(r) {
    return F0 = Cv = 1, vk = Pl(wv = r), go = 0, [];
  }
  function E$(r) {
    return wv = "", r;
  }
  function CE(r) {
    return dk($0(go - 1, n1(r === 91 ? r + 2 : r === 40 ? r + 1 : r)));
  }
  function x$(r) {
    for (; (zr = Ys()) && zr < 33; )
      Zo();
    return qh(r) > 2 || qh(zr) > 3 ? "" : " ";
  }
  function R$(r, a) {
    for (; --a && Zo() && !(zr < 48 || zr > 102 || zr > 57 && zr < 65 || zr > 70 && zr < 97); )
      ;
    return $0(r, v0() + (a < 6 && Ys() == 32 && Zo() == 32));
  }
  function n1(r) {
    for (; Zo(); )
      switch (zr) {
        // ] ) " '
        case r:
          return go;
        // " '
        case 34:
        case 39:
          r !== 34 && r !== 39 && n1(zr);
          break;
        // (
        case 40:
          r === 41 && n1(r);
          break;
        // \
        case 92:
          Zo();
          break;
      }
    return go;
  }
  function w$(r, a) {
    for (; Zo() && r + zr !== 57; )
      if (r + zr === 84 && Ys() === 47)
        break;
    return "/*" + $0(a, go - 1) + "*" + ex(r === 47 ? r : Zo());
  }
  function T$(r) {
    for (; !qh(Ys()); )
      Zo();
    return $0(r, go);
  }
  function O$(r) {
    return E$(p0("", null, null, null, [""], r = b$(r), 0, [0], r));
  }
  function p0(r, a, l, s, f, m, p, S, C) {
    for (var E = 0, R = 0, T = p, _ = 0, A = 0, P = 0, L = 1, M = 1, V = 1, $ = 0, j = "", W = f, I = m, ee = s, Y = j; M; )
      switch (P = $, $ = Zo()) {
        // (
        case 40:
          if (P != 108 && Yh(Y, T - 1) == 58) {
            g$(Y += d0(CE($), "&", "&\f"), "&\f", fk(E ? S[E - 1] : 0)) != -1 && (V = -1);
            break;
          }
        // " ' [
        case 34:
        case 39:
        case 91:
          Y += CE($);
          break;
        // \t \n \r \s
        case 9:
        case 10:
        case 13:
        case 32:
          Y += x$(P);
          break;
        // \
        case 92:
          Y += R$(v0() - 1, 7);
          continue;
        // /
        case 47:
          switch (Ys()) {
            case 42:
            case 47:
              Jy(_$(w$(Zo(), v0()), a, l, C), C), (qh(P || 1) == 5 || qh(Ys() || 1) == 5) && Pl(Y) && Sv(Y, -1, void 0) !== " " && (Y += " ");
              break;
            default:
              Y += "/";
          }
          break;
        // {
        case 123 * L:
          S[E++] = Pl(Y) * V;
        // } ; \0
        case 125 * L:
        case 59:
        case 0:
          switch ($) {
            // \0 }
            case 0:
            case 125:
              M = 0;
            // ;
            case 59 + R:
              V == -1 && (Y = d0(Y, /\f/g, "")), A > 0 && (Pl(Y) - T || L === 0 && P === 47) && Jy(A > 32 ? kO(Y + ";", s, l, T - 1, C) : kO(d0(Y, " ", "") + ";", s, l, T - 2, C), C);
              break;
            // @ ;
            case 59:
              Y += ";";
            // { rule/at-rule
            default:
              if (Jy(ee = _O(Y, a, l, E, R, f, S, j, W = [], I = [], T, m), m), $ === 123)
                if (R === 0)
                  p0(Y, a, ee, ee, W, m, T, S, I);
                else
                  switch (_ === 99 && Yh(Y, 3) === 110 ? 100 : _) {
                    // d l m s
                    case 100:
                    case 108:
                    case 109:
                    case 115:
                      p0(r, ee, ee, s && Jy(_O(r, ee, ee, 0, 0, f, S, j, f, W = [], T, I), I), f, I, T, S, s ? W : I);
                      break;
                    default:
                      p0(Y, ee, ee, ee, [""], I, 0, S, I);
                  }
          }
          E = R = A = 0, L = V = 1, j = Y = "", T = p;
          break;
        // :
        case 58:
          T = 1 + Pl(Y), A = P;
        default:
          if (L < 1) {
            if ($ == 123)
              --L;
            else if ($ == 125 && L++ == 0 && C$() == 125)
              continue;
          }
          switch (Y += ex($), $ * L) {
            // &
            case 38:
              V = R > 0 ? 1 : (Y += "\f", -1);
              break;
            // ,
            case 44:
              S[E++] = (Pl(Y) - 1) * V, V = 1;
              break;
            // @
            case 64:
              Ys() === 45 && (Y += CE(Zo())), _ = Ys(), R = T = Pl(j = Y += T$(v0())), $++;
              break;
            // -
            case 45:
              P === 45 && Pl(Y) == 2 && (L = 0);
          }
      }
    return m;
  }
  function _O(r, a, l, s, f, m, p, S, C, E, R, T) {
    for (var _ = f - 1, A = f === 0 ? m : [""], P = y$(A), L = 0, M = 0, V = 0; L < s; ++L)
      for (var $ = 0, j = Sv(r, _ + 1, _ = fk(M = p[L])), W = r; $ < P; ++$)
        (W = dk(M > 0 ? A[$] + " " + j : d0(j, /&\f/g, A[$]))) && (C[V++] = W);
    return tx(r, a, l, f === 0 ? sk : S, C, E, R, T);
  }
  function _$(r, a, l, s) {
    return tx(r, a, l, uk, ex(S$()), Sv(r, 2, -2), 0, s);
  }
  function kO(r, a, l, s, f) {
    return tx(r, a, l, ck, Sv(r, 0, s), Sv(r, s + 1, -1), s, f);
  }
  function r1(r, a) {
    for (var l = "", s = 0; s < r.length; s++)
      l += a(r[s], s, r, a) || "";
    return l;
  }
  function k$(r, a, l, s) {
    switch (r.type) {
      case m$:
        if (r.children.length) break;
      case p$:
      case ck:
        return r.return = r.return || r.value;
      case uk:
        return "";
      case h$:
        return r.return = r.value + "{" + r1(r.children, s) + "}";
      case sk:
        if (!Pl(r.value = r.props.join(","))) return "";
    }
    return Pl(l = r1(r.children, s)) ? r.return = r.value + "{" + l + "}" : "";
  }
  function pk(r, a) {
    var l = a.path, s = a.parentSelectors;
    sr(!1, "[Ant Design CSS-in-JS] ".concat(l ? "Error in ".concat(l, ": ") : "").concat(r).concat(s.length ? " Selector: ".concat(s.join(" | ")) : ""));
  }
  var N$ = function(a, l, s) {
    if (a === "content") {
      var f = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, m = ["normal", "none", "initial", "inherit", "unset"];
      (typeof l != "string" || m.indexOf(l) === -1 && !f.test(l) && (l.charAt(0) !== l.charAt(l.length - 1) || l.charAt(0) !== '"' && l.charAt(0) !== "'")) && pk("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(l, "\"'`."), s);
    }
  }, M$ = function(a, l, s) {
    a === "animation" && s.hashId && l !== "none" && pk("You seem to be using hashed animation '".concat(l, "', in which case 'animationName' with Keyframe as value is recommended."), s);
  }, NO = "data-ant-cssinjs-cache-path", hk = "_FILE_STYLE__", cf, mk = !0;
  function D$() {
    if (!cf && (cf = {}, ui())) {
      var r = document.createElement("div");
      r.className = NO, r.style.position = "fixed", r.style.visibility = "hidden", r.style.top = "-9999px", document.body.appendChild(r);
      var a = getComputedStyle(r).content || "";
      a = a.replace(/^"/, "").replace(/"$/, ""), a.split(";").forEach(function(f) {
        var m = f.split(":"), p = lt(m, 2), S = p[0], C = p[1];
        cf[S] = C;
      });
      var l = document.querySelector("style[".concat(NO, "]"));
      if (l) {
        var s;
        mk = !1, (s = l.parentNode) === null || s === void 0 || s.removeChild(l);
      }
      document.body.removeChild(r);
    }
  }
  function L$(r) {
    return D$(), !!cf[r];
  }
  function A$(r) {
    var a = cf[r], l = null;
    if (a && ui())
      if (mk)
        l = hk;
      else {
        var s = document.querySelector("style[".concat(Xo, '="').concat(cf[r], '"]'));
        s ? l = s.innerHTML : delete cf[r];
      }
    return [l, a];
  }
  var gk = "_skip_check_", yk = "_multi_value_";
  function h0(r) {
    var a = r1(O$(r), k$);
    return a.replace(/\{%%%\:[^;];}/g, ";");
  }
  function P$(r) {
    return kt(r) === "object" && r && (gk in r || yk in r);
  }
  function MO(r, a, l) {
    if (!a)
      return r;
    var s = ".".concat(a), f = l === "low" ? ":where(".concat(s, ")") : s, m = r.split(",").map(function(p) {
      var S, C = p.trim().split(/\s+/), E = C[0] || "", R = ((S = E.match(/^\w+/)) === null || S === void 0 ? void 0 : S[0]) || "";
      return E = "".concat(R).concat(f).concat(E.slice(R.length)), [E].concat(mt(C.slice(1))).join(" ");
    });
    return m.join(",");
  }
  var F$ = function r(a) {
    var l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
      root: !0,
      parentSelectors: []
    }, f = s.root, m = s.injectHash, p = s.parentSelectors, S = l.hashId, C = l.layer, E = l.path, R = l.hashPriority, T = l.transformers, _ = T === void 0 ? [] : T, A = l.linters, P = A === void 0 ? [] : A, L = "", M = {};
    function V(W) {
      var I = W.getName(S);
      if (!M[I]) {
        var ee = r(W.style, l, {
          root: !1,
          parentSelectors: p
        }), Y = lt(ee, 1), ne = Y[0];
        M[I] = "@keyframes ".concat(W.getName(S)).concat(ne);
      }
    }
    function $(W) {
      var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
      return W.forEach(function(ee) {
        Array.isArray(ee) ? $(ee, I) : ee && I.push(ee);
      }), I;
    }
    var j = $(Array.isArray(a) ? a : [a]);
    return j.forEach(function(W) {
      var I = typeof W == "string" && !f ? {} : W;
      if (typeof I == "string")
        L += "".concat(I, `
`);
      else if (I._keyframe)
        V(I);
      else {
        var ee = _.reduce(function(Y, ne) {
          var ae;
          return (ne == null || (ae = ne.visit) === null || ae === void 0 ? void 0 : ae.call(ne, Y)) || Y;
        }, I);
        Object.keys(ee).forEach(function(Y) {
          var ne = ee[Y];
          if (kt(ne) === "object" && ne && (Y !== "animationName" || !ne._keyframe) && !P$(ne)) {
            var ae = !1, ve = Y.trim(), ye = !1;
            (f || m) && S ? ve.startsWith("@") ? ae = !0 : ve === "&" ? ve = MO("", S, R) : ve = MO(Y, S, R) : f && !S && (ve === "&" || ve === "") && (ve = "", ye = !0);
            var Oe = r(ne, l, {
              root: ye,
              injectHash: ae,
              parentSelectors: [].concat(mt(p), [ve])
            }), ge = lt(Oe, 2), me = ge[0], Te = ge[1];
            M = Ce(Ce({}, M), Te), L += "".concat(ve).concat(me);
          } else {
            let se = function(te, z) {
              process.env.NODE_ENV !== "production" && (kt(ne) !== "object" || !(ne != null && ne[gk])) && [N$, M$].concat(mt(P)).forEach(function(we) {
                return we(te, z, {
                  path: E,
                  hashId: S,
                  parentSelectors: p
                });
              });
              var K = te.replace(/[A-Z]/g, function(we) {
                return "-".concat(we.toLowerCase());
              }), Re = z;
              !v$[te] && typeof Re == "number" && Re !== 0 && (Re = "".concat(Re, "px")), te === "animationName" && z !== null && z !== void 0 && z._keyframe && (V(z), Re = z.getName(S)), L += "".concat(K, ":").concat(Re, ";");
            };
            var q = se, re, Q = (re = ne == null ? void 0 : ne.value) !== null && re !== void 0 ? re : ne;
            kt(ne) === "object" && ne !== null && ne !== void 0 && ne[yk] && Array.isArray(Q) ? Q.forEach(function(te) {
              se(Y, te);
            }) : se(Y, Q);
          }
        });
      }
    }), f ? C && (L && (L = "@layer ".concat(C.name, " {").concat(L, "}")), C.dependencies && (M["@layer ".concat(C.name)] = C.dependencies.map(function(W) {
      return "@layer ".concat(W, ", ").concat(C.name, ";");
    }).join(`
`))) : L = "{".concat(L, "}"), [L, M];
  };
  function Sk(r, a) {
    return Vh("".concat(r.join("%")).concat(a));
  }
  function $$() {
    return null;
  }
  var Ck = "style";
  function a1(r, a) {
    var l = r.token, s = r.path, f = r.hashId, m = r.layer, p = r.nonce, S = r.clientOnly, C = r.order, E = C === void 0 ? 0 : C, R = N.useContext(P0), T = R.autoClear, _ = R.mock, A = R.defaultCache, P = R.hashPriority, L = R.container, M = R.ssrInline, V = R.transformers, $ = R.linters, j = R.cache, W = R.layer, I = l._tokenKey, ee = [I];
    W && ee.push("layer"), ee.push.apply(ee, mt(s));
    var Y = e1;
    process.env.NODE_ENV !== "production" && _ !== void 0 && (Y = _ === "client");
    var ne = J1(
      Ck,
      ee,
      // Create cache if needed
      function() {
        var ge = ee.join("|");
        if (L$(ge)) {
          var me = A$(ge), Te = lt(me, 2), re = Te[0], Q = Te[1];
          if (re)
            return [re, I, Q, {}, S, E];
        }
        var q = a(), se = F$(q, {
          hashId: f,
          hashPriority: P,
          layer: W ? m : void 0,
          path: s.join("-"),
          transformers: V,
          linters: $
        }), te = lt(se, 2), z = te[0], K = te[1], Re = h0(z), we = Sk(ee, Re);
        return [Re, I, we, K, S, E];
      },
      // Remove cache if no need
      function(ge, me) {
        var Te = lt(ge, 3), re = Te[2];
        (me || T) && e1 && Bh(re, {
          mark: Xo
        });
      },
      // Effect: Inject style here
      function(ge) {
        var me = lt(ge, 4), Te = me[0];
        me[1];
        var re = me[2], Q = me[3];
        if (Y && Te !== hk) {
          var q = {
            mark: Xo,
            prepend: W ? !1 : "queue",
            attachTo: L,
            priority: E
          }, se = typeof p == "function" ? p() : p;
          se && (q.csp = {
            nonce: se
          });
          var te = [], z = [];
          Object.keys(Q).forEach(function(Re) {
            Re.startsWith("@layer") ? te.push(Re) : z.push(Re);
          }), te.forEach(function(Re) {
            _u(h0(Q[Re]), "_layer-".concat(Re), Ce(Ce({}, q), {}, {
              prepend: !0
            }));
          });
          var K = _u(Te, re, q);
          K[Ws] = j.instanceId, K.setAttribute(yv, I), process.env.NODE_ENV !== "production" && K.setAttribute(HF, ee.join("|")), z.forEach(function(Re) {
            _u(h0(Q[Re]), "_effect-".concat(Re), q);
          });
        }
      }
    ), ae = lt(ne, 3), ve = ae[0], ye = ae[1], Oe = ae[2];
    return function(ge) {
      var me;
      if (!M || Y || !A)
        me = /* @__PURE__ */ N.createElement($$, null);
      else {
        var Te;
        me = /* @__PURE__ */ N.createElement("style", cr({}, (Te = {}, ue(Te, yv, ye), ue(Te, Xo, Oe), Te), {
          dangerouslySetInnerHTML: {
            __html: ve
          }
        }));
      }
      return /* @__PURE__ */ N.createElement(N.Fragment, null, me, ge);
    };
  }
  var z$ = function(a, l, s) {
    var f = lt(a, 6), m = f[0], p = f[1], S = f[2], C = f[3], E = f[4], R = f[5], T = s || {}, _ = T.plain;
    if (E)
      return null;
    var A = m, P = {
      "data-rc-order": "prependQueue",
      "data-rc-priority": "".concat(R)
    };
    return A = b0(m, p, S, P, _), C && Object.keys(C).forEach(function(L) {
      if (!l[L]) {
        l[L] = !0;
        var M = h0(C[L]), V = b0(M, p, "_effect-".concat(L), P, _);
        L.startsWith("@layer") ? A = V + A : A += V;
      }
    }), [R, S, A];
  }, bk = "cssVar", j$ = function(a, l) {
    var s = a.key, f = a.prefix, m = a.unitless, p = a.ignore, S = a.token, C = a.scope, E = C === void 0 ? "" : C, R = N.useContext(P0), T = R.cache.instanceId, _ = R.container, A = S._tokenKey, P = [].concat(mt(a.path), [s, E, A]), L = J1(bk, P, function() {
      var M = l(), V = ok(M, s, {
        prefix: f,
        unitless: m,
        ignore: p,
        scope: E
      }), $ = lt(V, 2), j = $[0], W = $[1], I = Sk(P, W);
      return [j, W, I, s];
    }, function(M) {
      var V = lt(M, 3), $ = V[2];
      e1 && Bh($, {
        mark: Xo
      });
    }, function(M) {
      var V = lt(M, 3), $ = V[1], j = V[2];
      if ($) {
        var W = _u($, j, {
          mark: Xo,
          prepend: "queue",
          attachTo: _,
          priority: -999
        });
        W[Ws] = T, W.setAttribute(yv, s);
      }
    });
    return L;
  }, H$ = function(a, l, s) {
    var f = lt(a, 4), m = f[1], p = f[2], S = f[3], C = s || {}, E = C.plain;
    if (!m)
      return null;
    var R = -999, T = {
      "data-rc-order": "prependQueue",
      "data-rc-priority": "".concat(R)
    }, _ = b0(m, S, p, T, E);
    return [R, p, _];
  }, Dh;
  Dh = {}, ue(Dh, Ck, z$), ue(Dh, lk, d$), ue(Dh, bk, H$);
  var ci = /* @__PURE__ */ function() {
    function r(a, l) {
      xa(this, r), ue(this, "name", void 0), ue(this, "style", void 0), ue(this, "_keyframe", !0), this.name = a, this.style = l;
    }
    return Ra(r, [{
      key: "getName",
      value: function() {
        var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
        return l ? "".concat(l, "-").concat(this.name) : this.name;
      }
    }]), r;
  }();
  function lv(r) {
    return r.notSplit = !0, r;
  }
  lv(["borderTop", "borderBottom"]), lv(["borderTop"]), lv(["borderBottom"]), lv(["borderLeft", "borderRight"]), lv(["borderLeft"]), lv(["borderRight"]);
  var nx = /* @__PURE__ */ N.createContext({});
  function I$(r) {
    return ek(r) || K_(r) || K1(r) || tk();
  }
  function Fl(r, a) {
    for (var l = r, s = 0; s < a.length; s += 1) {
      if (l == null)
        return;
      l = l[a[s]];
    }
    return l;
  }
  function Ek(r, a, l, s) {
    if (!a.length)
      return l;
    var f = I$(a), m = f[0], p = f.slice(1), S;
    return !r && typeof m == "number" ? S = [] : Array.isArray(r) ? S = mt(r) : S = Ce({}, r), s && l === void 0 && p.length === 1 ? delete S[m][p[0]] : S[m] = Ek(S[m], p, l, s), S;
  }
  function Qo(r, a, l) {
    var s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
    return a.length && s && l === void 0 && !Fl(r, a.slice(0, -1)) ? r : Ek(r, a, l, s);
  }
  function U$(r) {
    return kt(r) === "object" && r !== null && Object.getPrototypeOf(r) === Object.prototype;
  }
  function DO(r) {
    return Array.isArray(r) ? [] : {};
  }
  var V$ = typeof Reflect > "u" ? Object.keys : Reflect.ownKeys;
  function dv() {
    for (var r = arguments.length, a = new Array(r), l = 0; l < r; l++)
      a[l] = arguments[l];
    var s = DO(a[0]);
    return a.forEach(function(f) {
      function m(p, S) {
        var C = new Set(S), E = Fl(f, p), R = Array.isArray(E);
        if (R || U$(E)) {
          if (!C.has(E)) {
            C.add(E);
            var T = Fl(s, p);
            R ? s = Qo(s, p, []) : (!T || kt(T) !== "object") && (s = Qo(s, p, DO(E))), V$(E).forEach(function(_) {
              m([].concat(mt(p), [_]), C);
            });
          }
        } else
          s = Qo(s, p, E);
      }
      m([]);
    }), s;
  }
  function xk() {
  }
  let Tu = null;
  function B$() {
    Tu = null, B_();
  }
  let Qs = xk;
  process.env.NODE_ENV !== "production" && (Qs = (r, a, l) => {
    sr(r, `[antd: ${a}] ${l}`), process.env.NODE_ENV === "test" && B$();
  });
  const Rk = /* @__PURE__ */ N.createContext({}), zl = process.env.NODE_ENV !== "production" ? (r) => {
    const {
      strict: a
    } = N.useContext(Rk), l = (s, f, m) => {
      if (!s)
        if (a === !1 && f === "deprecated") {
          const p = Tu;
          Tu || (Tu = {}), Tu[r] = Tu[r] || [], Tu[r].includes(m || "") || Tu[r].push(m || ""), p || console.warn("[antd] There exists deprecated usage in your code:", Tu);
        } else
          process.env.NODE_ENV !== "production" && Qs(s, r, m);
    };
    return l.deprecated = (s, f, m, p) => {
      l(s, "deprecated", `\`${f}\` is deprecated. Please use \`${m}\` instead.${p ? ` ${p}` : ""}`);
    }, l;
  } : () => {
    const r = () => {
    };
    return r.deprecated = xk, r;
  }, W$ = /* @__PURE__ */ N.createContext(void 0);
  var Y$ = {
    // Options
    items_per_page: "/ page",
    jump_to: "Go to",
    jump_to_confirm: "confirm",
    page: "Page",
    // Pagination
    prev_page: "Previous Page",
    next_page: "Next Page",
    prev_5: "Previous 5 Pages",
    next_5: "Next 5 Pages",
    prev_3: "Previous 3 Pages",
    next_3: "Next 3 Pages",
    page_size: "Page Size"
  }, q$ = {
    yearFormat: "YYYY",
    dayFormat: "D",
    cellMeridiemFormat: "A",
    monthBeforeYear: !0
  }, G$ = Ce(Ce({}, q$), {}, {
    locale: "en_US",
    today: "Today",
    now: "Now",
    backToToday: "Back to today",
    ok: "OK",
    clear: "Clear",
    month: "Month",
    year: "Year",
    timeSelect: "select time",
    dateSelect: "select date",
    weekSelect: "Choose a week",
    monthSelect: "Choose a month",
    yearSelect: "Choose a year",
    decadeSelect: "Choose a decade",
    dateFormat: "M/D/YYYY",
    dateTimeFormat: "M/D/YYYY HH:mm:ss",
    previousMonth: "Previous month (PageUp)",
    nextMonth: "Next month (PageDown)",
    previousYear: "Last year (Control + left)",
    nextYear: "Next year (Control + right)",
    previousDecade: "Last decade",
    nextDecade: "Next decade",
    previousCentury: "Last century",
    nextCentury: "Next century"
  });
  const wk = {
    placeholder: "Select time",
    rangePlaceholder: ["Start time", "End time"]
  }, LO = {
    lang: Object.assign({
      placeholder: "Select date",
      yearPlaceholder: "Select year",
      quarterPlaceholder: "Select quarter",
      monthPlaceholder: "Select month",
      weekPlaceholder: "Select week",
      rangePlaceholder: ["Start date", "End date"],
      rangeYearPlaceholder: ["Start year", "End year"],
      rangeQuarterPlaceholder: ["Start quarter", "End quarter"],
      rangeMonthPlaceholder: ["Start month", "End month"],
      rangeWeekPlaceholder: ["Start week", "End week"]
    }, G$),
    timePickerLocale: Object.assign({}, wk)
  }, Yi = "${label} is not a valid ${type}", ff = {
    locale: "en",
    Pagination: Y$,
    DatePicker: LO,
    TimePicker: wk,
    Calendar: LO,
    global: {
      placeholder: "Please select"
    },
    Table: {
      filterTitle: "Filter menu",
      filterConfirm: "OK",
      filterReset: "Reset",
      filterEmptyText: "No filters",
      filterCheckall: "Select all items",
      filterSearchPlaceholder: "Search in filters",
      emptyText: "No data",
      selectAll: "Select current page",
      selectInvert: "Invert current page",
      selectNone: "Clear all data",
      selectionAll: "Select all data",
      sortTitle: "Sort",
      expand: "Expand row",
      collapse: "Collapse row",
      triggerDesc: "Click to sort descending",
      triggerAsc: "Click to sort ascending",
      cancelSort: "Click to cancel sorting"
    },
    Tour: {
      Next: "Next",
      Previous: "Previous",
      Finish: "Finish"
    },
    Modal: {
      okText: "OK",
      cancelText: "Cancel",
      justOkText: "OK"
    },
    Popconfirm: {
      okText: "OK",
      cancelText: "Cancel"
    },
    Transfer: {
      titles: ["", ""],
      searchPlaceholder: "Search here",
      itemUnit: "item",
      itemsUnit: "items",
      remove: "Remove",
      selectCurrent: "Select current page",
      removeCurrent: "Remove current page",
      selectAll: "Select all data",
      deselectAll: "Deselect all data",
      removeAll: "Remove all data",
      selectInvert: "Invert current page"
    },
    Upload: {
      uploading: "Uploading...",
      removeFile: "Remove file",
      uploadError: "Upload error",
      previewFile: "Preview file",
      downloadFile: "Download file"
    },
    Empty: {
      description: "No data"
    },
    Icon: {
      icon: "icon"
    },
    Text: {
      edit: "Edit",
      copy: "Copy",
      copied: "Copied",
      expand: "Expand",
      collapse: "Collapse"
    },
    Form: {
      optional: "(optional)",
      defaultValidateMessages: {
        default: "Field validation error for ${label}",
        required: "Please enter ${label}",
        enum: "${label} must be one of [${enum}]",
        whitespace: "${label} cannot be a blank character",
        date: {
          format: "${label} date format is invalid",
          parse: "${label} cannot be converted to a date",
          invalid: "${label} is an invalid date"
        },
        types: {
          string: Yi,
          method: Yi,
          array: Yi,
          object: Yi,
          number: Yi,
          date: Yi,
          boolean: Yi,
          integer: Yi,
          float: Yi,
          regexp: Yi,
          email: Yi,
          url: Yi,
          hex: Yi
        },
        string: {
          len: "${label} must be ${len} characters",
          min: "${label} must be at least ${min} characters",
          max: "${label} must be up to ${max} characters",
          range: "${label} must be between ${min}-${max} characters"
        },
        number: {
          len: "${label} must be equal to ${len}",
          min: "${label} must be minimum ${min}",
          max: "${label} must be maximum ${max}",
          range: "${label} must be between ${min}-${max}"
        },
        array: {
          len: "Must be ${len} ${label}",
          min: "At least ${min} ${label}",
          max: "At most ${max} ${label}",
          range: "The amount of ${label} must be between ${min}-${max}"
        },
        pattern: {
          mismatch: "${label} does not match the pattern ${pattern}"
        }
      }
    },
    Image: {
      preview: "Preview"
    },
    QRCode: {
      expired: "QR code expired",
      refresh: "Refresh",
      scanned: "Scanned"
    },
    ColorPicker: {
      presetEmpty: "Empty",
      transparent: "Transparent",
      singleColor: "Single",
      gradientColor: "Gradient"
    }
  };
  let m0 = Object.assign({}, ff.Modal), g0 = [];
  const AO = () => g0.reduce((r, a) => Object.assign(Object.assign({}, r), a), ff.Modal);
  function Q$(r) {
    if (r) {
      const a = Object.assign({}, r);
      return g0.push(a), m0 = AO(), () => {
        g0 = g0.filter((l) => l !== a), m0 = AO();
      };
    }
    m0 = Object.assign({}, ff.Modal);
  }
  function Tk() {
    return m0;
  }
  const rx = /* @__PURE__ */ N.createContext(void 0), ax = (r, a) => {
    const l = N.useContext(rx), s = N.useMemo(() => {
      var m;
      const p = a || ff[r], S = (m = l == null ? void 0 : l[r]) !== null && m !== void 0 ? m : {};
      return Object.assign(Object.assign({}, typeof p == "function" ? p() : p), S || {});
    }, [r, a, l]), f = N.useMemo(() => {
      const m = l == null ? void 0 : l.locale;
      return l != null && l.exist && !m ? ff.locale : m;
    }, [l]);
    return [s, f];
  }, Ok = "internalMark", _k = (r) => {
    const {
      locale: a = {},
      children: l,
      _ANT_MARK__: s
    } = r;
    if (process.env.NODE_ENV !== "production") {
      const m = zl("LocaleProvider");
      process.env.NODE_ENV !== "production" && m(s === Ok, "deprecated", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale");
    }
    N.useEffect(() => Q$(a == null ? void 0 : a.Modal), [a]);
    const f = N.useMemo(() => Object.assign(Object.assign({}, a), {
      exist: !0
    }), [a]);
    return /* @__PURE__ */ N.createElement(rx.Provider, {
      value: f
    }, l);
  };
  process.env.NODE_ENV !== "production" && (_k.displayName = "LocaleProvider");
  function Ea(r, a) {
    K$(r) && (r = "100%");
    var l = X$(r);
    return r = a === 360 ? r : Math.min(a, Math.max(0, parseFloat(r))), l && (r = parseInt(String(r * a), 10) / 100), Math.abs(r - a) < 1e-6 ? 1 : (a === 360 ? r = (r < 0 ? r % a + a : r % a) / parseFloat(String(a)) : r = r % a / parseFloat(String(a)), r);
  }
  function e0(r) {
    return Math.min(1, Math.max(0, r));
  }
  function K$(r) {
    return typeof r == "string" && r.indexOf(".") !== -1 && parseFloat(r) === 1;
  }
  function X$(r) {
    return typeof r == "string" && r.indexOf("%") !== -1;
  }
  function kk(r) {
    return r = parseFloat(r), (isNaN(r) || r < 0 || r > 1) && (r = 1), r;
  }
  function t0(r) {
    return r <= 1 ? "".concat(Number(r) * 100, "%") : r;
  }
  function lf(r) {
    return r.length === 1 ? "0" + r : String(r);
  }
  function Z$(r, a, l) {
    return {
      r: Ea(r, 255) * 255,
      g: Ea(a, 255) * 255,
      b: Ea(l, 255) * 255
    };
  }
  function PO(r, a, l) {
    r = Ea(r, 255), a = Ea(a, 255), l = Ea(l, 255);
    var s = Math.max(r, a, l), f = Math.min(r, a, l), m = 0, p = 0, S = (s + f) / 2;
    if (s === f)
      p = 0, m = 0;
    else {
      var C = s - f;
      switch (p = S > 0.5 ? C / (2 - s - f) : C / (s + f), s) {
        case r:
          m = (a - l) / C + (a < l ? 6 : 0);
          break;
        case a:
          m = (l - r) / C + 2;
          break;
        case l:
          m = (r - a) / C + 4;
          break;
      }
      m /= 6;
    }
    return { h: m, s: p, l: S };
  }
  function bE(r, a, l) {
    return l < 0 && (l += 1), l > 1 && (l -= 1), l < 1 / 6 ? r + (a - r) * (6 * l) : l < 1 / 2 ? a : l < 2 / 3 ? r + (a - r) * (2 / 3 - l) * 6 : r;
  }
  function J$(r, a, l) {
    var s, f, m;
    if (r = Ea(r, 360), a = Ea(a, 100), l = Ea(l, 100), a === 0)
      f = l, m = l, s = l;
    else {
      var p = l < 0.5 ? l * (1 + a) : l + a - l * a, S = 2 * l - p;
      s = bE(S, p, r + 1 / 3), f = bE(S, p, r), m = bE(S, p, r - 1 / 3);
    }
    return { r: s * 255, g: f * 255, b: m * 255 };
  }
  function i1(r, a, l) {
    r = Ea(r, 255), a = Ea(a, 255), l = Ea(l, 255);
    var s = Math.max(r, a, l), f = Math.min(r, a, l), m = 0, p = s, S = s - f, C = s === 0 ? 0 : S / s;
    if (s === f)
      m = 0;
    else {
      switch (s) {
        case r:
          m = (a - l) / S + (a < l ? 6 : 0);
          break;
        case a:
          m = (l - r) / S + 2;
          break;
        case l:
          m = (r - a) / S + 4;
          break;
      }
      m /= 6;
    }
    return { h: m, s: C, v: p };
  }
  function ez(r, a, l) {
    r = Ea(r, 360) * 6, a = Ea(a, 100), l = Ea(l, 100);
    var s = Math.floor(r), f = r - s, m = l * (1 - a), p = l * (1 - f * a), S = l * (1 - (1 - f) * a), C = s % 6, E = [l, p, m, m, S, l][C], R = [S, l, l, p, m, m][C], T = [m, m, S, l, l, p][C];
    return { r: E * 255, g: R * 255, b: T * 255 };
  }
  function o1(r, a, l, s) {
    var f = [
      lf(Math.round(r).toString(16)),
      lf(Math.round(a).toString(16)),
      lf(Math.round(l).toString(16))
    ];
    return s && f[0].startsWith(f[0].charAt(1)) && f[1].startsWith(f[1].charAt(1)) && f[2].startsWith(f[2].charAt(1)) ? f[0].charAt(0) + f[1].charAt(0) + f[2].charAt(0) : f.join("");
  }
  function tz(r, a, l, s, f) {
    var m = [
      lf(Math.round(r).toString(16)),
      lf(Math.round(a).toString(16)),
      lf(Math.round(l).toString(16)),
      lf(nz(s))
    ];
    return f && m[0].startsWith(m[0].charAt(1)) && m[1].startsWith(m[1].charAt(1)) && m[2].startsWith(m[2].charAt(1)) && m[3].startsWith(m[3].charAt(1)) ? m[0].charAt(0) + m[1].charAt(0) + m[2].charAt(0) + m[3].charAt(0) : m.join("");
  }
  function nz(r) {
    return Math.round(parseFloat(r) * 255).toString(16);
  }
  function FO(r) {
    return Gi(r) / 255;
  }
  function Gi(r) {
    return parseInt(r, 16);
  }
  function rz(r) {
    return {
      r: r >> 16,
      g: (r & 65280) >> 8,
      b: r & 255
    };
  }
  var l1 = {
    aliceblue: "#f0f8ff",
    antiquewhite: "#faebd7",
    aqua: "#00ffff",
    aquamarine: "#7fffd4",
    azure: "#f0ffff",
    beige: "#f5f5dc",
    bisque: "#ffe4c4",
    black: "#000000",
    blanchedalmond: "#ffebcd",
    blue: "#0000ff",
    blueviolet: "#8a2be2",
    brown: "#a52a2a",
    burlywood: "#deb887",
    cadetblue: "#5f9ea0",
    chartreuse: "#7fff00",
    chocolate: "#d2691e",
    coral: "#ff7f50",
    cornflowerblue: "#6495ed",
    cornsilk: "#fff8dc",
    crimson: "#dc143c",
    cyan: "#00ffff",
    darkblue: "#00008b",
    darkcyan: "#008b8b",
    darkgoldenrod: "#b8860b",
    darkgray: "#a9a9a9",
    darkgreen: "#006400",
    darkgrey: "#a9a9a9",
    darkkhaki: "#bdb76b",
    darkmagenta: "#8b008b",
    darkolivegreen: "#556b2f",
    darkorange: "#ff8c00",
    darkorchid: "#9932cc",
    darkred: "#8b0000",
    darksalmon: "#e9967a",
    darkseagreen: "#8fbc8f",
    darkslateblue: "#483d8b",
    darkslategray: "#2f4f4f",
    darkslategrey: "#2f4f4f",
    darkturquoise: "#00ced1",
    darkviolet: "#9400d3",
    deeppink: "#ff1493",
    deepskyblue: "#00bfff",
    dimgray: "#696969",
    dimgrey: "#696969",
    dodgerblue: "#1e90ff",
    firebrick: "#b22222",
    floralwhite: "#fffaf0",
    forestgreen: "#228b22",
    fuchsia: "#ff00ff",
    gainsboro: "#dcdcdc",
    ghostwhite: "#f8f8ff",
    goldenrod: "#daa520",
    gold: "#ffd700",
    gray: "#808080",
    green: "#008000",
    greenyellow: "#adff2f",
    grey: "#808080",
    honeydew: "#f0fff0",
    hotpink: "#ff69b4",
    indianred: "#cd5c5c",
    indigo: "#4b0082",
    ivory: "#fffff0",
    khaki: "#f0e68c",
    lavenderblush: "#fff0f5",
    lavender: "#e6e6fa",
    lawngreen: "#7cfc00",
    lemonchiffon: "#fffacd",
    lightblue: "#add8e6",
    lightcoral: "#f08080",
    lightcyan: "#e0ffff",
    lightgoldenrodyellow: "#fafad2",
    lightgray: "#d3d3d3",
    lightgreen: "#90ee90",
    lightgrey: "#d3d3d3",
    lightpink: "#ffb6c1",
    lightsalmon: "#ffa07a",
    lightseagreen: "#20b2aa",
    lightskyblue: "#87cefa",
    lightslategray: "#778899",
    lightslategrey: "#778899",
    lightsteelblue: "#b0c4de",
    lightyellow: "#ffffe0",
    lime: "#00ff00",
    limegreen: "#32cd32",
    linen: "#faf0e6",
    magenta: "#ff00ff",
    maroon: "#800000",
    mediumaquamarine: "#66cdaa",
    mediumblue: "#0000cd",
    mediumorchid: "#ba55d3",
    mediumpurple: "#9370db",
    mediumseagreen: "#3cb371",
    mediumslateblue: "#7b68ee",
    mediumspringgreen: "#00fa9a",
    mediumturquoise: "#48d1cc",
    mediumvioletred: "#c71585",
    midnightblue: "#191970",
    mintcream: "#f5fffa",
    mistyrose: "#ffe4e1",
    moccasin: "#ffe4b5",
    navajowhite: "#ffdead",
    navy: "#000080",
    oldlace: "#fdf5e6",
    olive: "#808000",
    olivedrab: "#6b8e23",
    orange: "#ffa500",
    orangered: "#ff4500",
    orchid: "#da70d6",
    palegoldenrod: "#eee8aa",
    palegreen: "#98fb98",
    paleturquoise: "#afeeee",
    palevioletred: "#db7093",
    papayawhip: "#ffefd5",
    peachpuff: "#ffdab9",
    peru: "#cd853f",
    pink: "#ffc0cb",
    plum: "#dda0dd",
    powderblue: "#b0e0e6",
    purple: "#800080",
    rebeccapurple: "#663399",
    red: "#ff0000",
    rosybrown: "#bc8f8f",
    royalblue: "#4169e1",
    saddlebrown: "#8b4513",
    salmon: "#fa8072",
    sandybrown: "#f4a460",
    seagreen: "#2e8b57",
    seashell: "#fff5ee",
    sienna: "#a0522d",
    silver: "#c0c0c0",
    skyblue: "#87ceeb",
    slateblue: "#6a5acd",
    slategray: "#708090",
    slategrey: "#708090",
    snow: "#fffafa",
    springgreen: "#00ff7f",
    steelblue: "#4682b4",
    tan: "#d2b48c",
    teal: "#008080",
    thistle: "#d8bfd8",
    tomato: "#ff6347",
    turquoise: "#40e0d0",
    violet: "#ee82ee",
    wheat: "#f5deb3",
    white: "#ffffff",
    whitesmoke: "#f5f5f5",
    yellow: "#ffff00",
    yellowgreen: "#9acd32"
  };
  function fv(r) {
    var a = { r: 0, g: 0, b: 0 }, l = 1, s = null, f = null, m = null, p = !1, S = !1;
    return typeof r == "string" && (r = oz(r)), typeof r == "object" && (wu(r.r) && wu(r.g) && wu(r.b) ? (a = Z$(r.r, r.g, r.b), p = !0, S = String(r.r).substr(-1) === "%" ? "prgb" : "rgb") : wu(r.h) && wu(r.s) && wu(r.v) ? (s = t0(r.s), f = t0(r.v), a = ez(r.h, s, f), p = !0, S = "hsv") : wu(r.h) && wu(r.s) && wu(r.l) && (s = t0(r.s), m = t0(r.l), a = J$(r.h, s, m), p = !0, S = "hsl"), Object.prototype.hasOwnProperty.call(r, "a") && (l = r.a)), l = kk(l), {
      ok: p,
      format: r.format || S,
      r: Math.min(255, Math.max(a.r, 0)),
      g: Math.min(255, Math.max(a.g, 0)),
      b: Math.min(255, Math.max(a.b, 0)),
      a: l
    };
  }
  var az = "[-\\+]?\\d+%?", iz = "[-\\+]?\\d*\\.\\d+%?", qs = "(?:".concat(iz, ")|(?:").concat(az, ")"), EE = "[\\s|\\(]+(".concat(qs, ")[,|\\s]+(").concat(qs, ")[,|\\s]+(").concat(qs, ")\\s*\\)?"), xE = "[\\s|\\(]+(".concat(qs, ")[,|\\s]+(").concat(qs, ")[,|\\s]+(").concat(qs, ")[,|\\s]+(").concat(qs, ")\\s*\\)?"), Go = {
    CSS_UNIT: new RegExp(qs),
    rgb: new RegExp("rgb" + EE),
    rgba: new RegExp("rgba" + xE),
    hsl: new RegExp("hsl" + EE),
    hsla: new RegExp("hsla" + xE),
    hsv: new RegExp("hsv" + EE),
    hsva: new RegExp("hsva" + xE),
    hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
    hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
    hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
    hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
  };
  function oz(r) {
    if (r = r.trim().toLowerCase(), r.length === 0)
      return !1;
    var a = !1;
    if (l1[r])
      r = l1[r], a = !0;
    else if (r === "transparent")
      return { r: 0, g: 0, b: 0, a: 0, format: "name" };
    var l = Go.rgb.exec(r);
    return l ? { r: l[1], g: l[2], b: l[3] } : (l = Go.rgba.exec(r), l ? { r: l[1], g: l[2], b: l[3], a: l[4] } : (l = Go.hsl.exec(r), l ? { h: l[1], s: l[2], l: l[3] } : (l = Go.hsla.exec(r), l ? { h: l[1], s: l[2], l: l[3], a: l[4] } : (l = Go.hsv.exec(r), l ? { h: l[1], s: l[2], v: l[3] } : (l = Go.hsva.exec(r), l ? { h: l[1], s: l[2], v: l[3], a: l[4] } : (l = Go.hex8.exec(r), l ? {
      r: Gi(l[1]),
      g: Gi(l[2]),
      b: Gi(l[3]),
      a: FO(l[4]),
      format: a ? "name" : "hex8"
    } : (l = Go.hex6.exec(r), l ? {
      r: Gi(l[1]),
      g: Gi(l[2]),
      b: Gi(l[3]),
      format: a ? "name" : "hex"
    } : (l = Go.hex4.exec(r), l ? {
      r: Gi(l[1] + l[1]),
      g: Gi(l[2] + l[2]),
      b: Gi(l[3] + l[3]),
      a: FO(l[4] + l[4]),
      format: a ? "name" : "hex8"
    } : (l = Go.hex3.exec(r), l ? {
      r: Gi(l[1] + l[1]),
      g: Gi(l[2] + l[2]),
      b: Gi(l[3] + l[3]),
      format: a ? "name" : "hex"
    } : !1)))))))));
  }
  function wu(r) {
    return !!Go.CSS_UNIT.exec(String(r));
  }
  var li = (
    /** @class */
    function() {
      function r(a, l) {
        a === void 0 && (a = ""), l === void 0 && (l = {});
        var s;
        if (a instanceof r)
          return a;
        typeof a == "number" && (a = rz(a)), this.originalInput = a;
        var f = fv(a);
        this.originalInput = a, this.r = f.r, this.g = f.g, this.b = f.b, this.a = f.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (s = l.format) !== null && s !== void 0 ? s : f.format, this.gradientType = l.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = f.ok;
      }
      return r.prototype.isDark = function() {
        return this.getBrightness() < 128;
      }, r.prototype.isLight = function() {
        return !this.isDark();
      }, r.prototype.getBrightness = function() {
        var a = this.toRgb();
        return (a.r * 299 + a.g * 587 + a.b * 114) / 1e3;
      }, r.prototype.getLuminance = function() {
        var a = this.toRgb(), l, s, f, m = a.r / 255, p = a.g / 255, S = a.b / 255;
        return m <= 0.03928 ? l = m / 12.92 : l = Math.pow((m + 0.055) / 1.055, 2.4), p <= 0.03928 ? s = p / 12.92 : s = Math.pow((p + 0.055) / 1.055, 2.4), S <= 0.03928 ? f = S / 12.92 : f = Math.pow((S + 0.055) / 1.055, 2.4), 0.2126 * l + 0.7152 * s + 0.0722 * f;
      }, r.prototype.getAlpha = function() {
        return this.a;
      }, r.prototype.setAlpha = function(a) {
        return this.a = kk(a), this.roundA = Math.round(100 * this.a) / 100, this;
      }, r.prototype.isMonochrome = function() {
        var a = this.toHsl().s;
        return a === 0;
      }, r.prototype.toHsv = function() {
        var a = i1(this.r, this.g, this.b);
        return { h: a.h * 360, s: a.s, v: a.v, a: this.a };
      }, r.prototype.toHsvString = function() {
        var a = i1(this.r, this.g, this.b), l = Math.round(a.h * 360), s = Math.round(a.s * 100), f = Math.round(a.v * 100);
        return this.a === 1 ? "hsv(".concat(l, ", ").concat(s, "%, ").concat(f, "%)") : "hsva(".concat(l, ", ").concat(s, "%, ").concat(f, "%, ").concat(this.roundA, ")");
      }, r.prototype.toHsl = function() {
        var a = PO(this.r, this.g, this.b);
        return { h: a.h * 360, s: a.s, l: a.l, a: this.a };
      }, r.prototype.toHslString = function() {
        var a = PO(this.r, this.g, this.b), l = Math.round(a.h * 360), s = Math.round(a.s * 100), f = Math.round(a.l * 100);
        return this.a === 1 ? "hsl(".concat(l, ", ").concat(s, "%, ").concat(f, "%)") : "hsla(".concat(l, ", ").concat(s, "%, ").concat(f, "%, ").concat(this.roundA, ")");
      }, r.prototype.toHex = function(a) {
        return a === void 0 && (a = !1), o1(this.r, this.g, this.b, a);
      }, r.prototype.toHexString = function(a) {
        return a === void 0 && (a = !1), "#" + this.toHex(a);
      }, r.prototype.toHex8 = function(a) {
        return a === void 0 && (a = !1), tz(this.r, this.g, this.b, this.a, a);
      }, r.prototype.toHex8String = function(a) {
        return a === void 0 && (a = !1), "#" + this.toHex8(a);
      }, r.prototype.toHexShortString = function(a) {
        return a === void 0 && (a = !1), this.a === 1 ? this.toHexString(a) : this.toHex8String(a);
      }, r.prototype.toRgb = function() {
        return {
          r: Math.round(this.r),
          g: Math.round(this.g),
          b: Math.round(this.b),
          a: this.a
        };
      }, r.prototype.toRgbString = function() {
        var a = Math.round(this.r), l = Math.round(this.g), s = Math.round(this.b);
        return this.a === 1 ? "rgb(".concat(a, ", ").concat(l, ", ").concat(s, ")") : "rgba(".concat(a, ", ").concat(l, ", ").concat(s, ", ").concat(this.roundA, ")");
      }, r.prototype.toPercentageRgb = function() {
        var a = function(l) {
          return "".concat(Math.round(Ea(l, 255) * 100), "%");
        };
        return {
          r: a(this.r),
          g: a(this.g),
          b: a(this.b),
          a: this.a
        };
      }, r.prototype.toPercentageRgbString = function() {
        var a = function(l) {
          return Math.round(Ea(l, 255) * 100);
        };
        return this.a === 1 ? "rgb(".concat(a(this.r), "%, ").concat(a(this.g), "%, ").concat(a(this.b), "%)") : "rgba(".concat(a(this.r), "%, ").concat(a(this.g), "%, ").concat(a(this.b), "%, ").concat(this.roundA, ")");
      }, r.prototype.toName = function() {
        if (this.a === 0)
          return "transparent";
        if (this.a < 1)
          return !1;
        for (var a = "#" + o1(this.r, this.g, this.b, !1), l = 0, s = Object.entries(l1); l < s.length; l++) {
          var f = s[l], m = f[0], p = f[1];
          if (a === p)
            return m;
        }
        return !1;
      }, r.prototype.toString = function(a) {
        var l = !!a;
        a = a ?? this.format;
        var s = !1, f = this.a < 1 && this.a >= 0, m = !l && f && (a.startsWith("hex") || a === "name");
        return m ? a === "name" && this.a === 0 ? this.toName() : this.toRgbString() : (a === "rgb" && (s = this.toRgbString()), a === "prgb" && (s = this.toPercentageRgbString()), (a === "hex" || a === "hex6") && (s = this.toHexString()), a === "hex3" && (s = this.toHexString(!0)), a === "hex4" && (s = this.toHex8String(!0)), a === "hex8" && (s = this.toHex8String()), a === "name" && (s = this.toName()), a === "hsl" && (s = this.toHslString()), a === "hsv" && (s = this.toHsvString()), s || this.toHexString());
      }, r.prototype.toNumber = function() {
        return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);
      }, r.prototype.clone = function() {
        return new r(this.toString());
      }, r.prototype.lighten = function(a) {
        a === void 0 && (a = 10);
        var l = this.toHsl();
        return l.l += a / 100, l.l = e0(l.l), new r(l);
      }, r.prototype.brighten = function(a) {
        a === void 0 && (a = 10);
        var l = this.toRgb();
        return l.r = Math.max(0, Math.min(255, l.r - Math.round(255 * -(a / 100)))), l.g = Math.max(0, Math.min(255, l.g - Math.round(255 * -(a / 100)))), l.b = Math.max(0, Math.min(255, l.b - Math.round(255 * -(a / 100)))), new r(l);
      }, r.prototype.darken = function(a) {
        a === void 0 && (a = 10);
        var l = this.toHsl();
        return l.l -= a / 100, l.l = e0(l.l), new r(l);
      }, r.prototype.tint = function(a) {
        return a === void 0 && (a = 10), this.mix("white", a);
      }, r.prototype.shade = function(a) {
        return a === void 0 && (a = 10), this.mix("black", a);
      }, r.prototype.desaturate = function(a) {
        a === void 0 && (a = 10);
        var l = this.toHsl();
        return l.s -= a / 100, l.s = e0(l.s), new r(l);
      }, r.prototype.saturate = function(a) {
        a === void 0 && (a = 10);
        var l = this.toHsl();
        return l.s += a / 100, l.s = e0(l.s), new r(l);
      }, r.prototype.greyscale = function() {
        return this.desaturate(100);
      }, r.prototype.spin = function(a) {
        var l = this.toHsl(), s = (l.h + a) % 360;
        return l.h = s < 0 ? 360 + s : s, new r(l);
      }, r.prototype.mix = function(a, l) {
        l === void 0 && (l = 50);
        var s = this.toRgb(), f = new r(a).toRgb(), m = l / 100, p = {
          r: (f.r - s.r) * m + s.r,
          g: (f.g - s.g) * m + s.g,
          b: (f.b - s.b) * m + s.b,
          a: (f.a - s.a) * m + s.a
        };
        return new r(p);
      }, r.prototype.analogous = function(a, l) {
        a === void 0 && (a = 6), l === void 0 && (l = 30);
        var s = this.toHsl(), f = 360 / l, m = [this];
        for (s.h = (s.h - (f * a >> 1) + 720) % 360; --a; )
          s.h = (s.h + f) % 360, m.push(new r(s));
        return m;
      }, r.prototype.complement = function() {
        var a = this.toHsl();
        return a.h = (a.h + 180) % 360, new r(a);
      }, r.prototype.monochromatic = function(a) {
        a === void 0 && (a = 6);
        for (var l = this.toHsv(), s = l.h, f = l.s, m = l.v, p = [], S = 1 / a; a--; )
          p.push(new r({ h: s, s: f, v: m })), m = (m + S) % 1;
        return p;
      }, r.prototype.splitcomplement = function() {
        var a = this.toHsl(), l = a.h;
        return [
          this,
          new r({ h: (l + 72) % 360, s: a.s, l: a.l }),
          new r({ h: (l + 216) % 360, s: a.s, l: a.l })
        ];
      }, r.prototype.onBackground = function(a) {
        var l = this.toRgb(), s = new r(a).toRgb(), f = l.a + s.a * (1 - l.a);
        return new r({
          r: (l.r * l.a + s.r * s.a * (1 - l.a)) / f,
          g: (l.g * l.a + s.g * s.a * (1 - l.a)) / f,
          b: (l.b * l.a + s.b * s.a * (1 - l.a)) / f,
          a: f
        });
      }, r.prototype.triad = function() {
        return this.polyad(3);
      }, r.prototype.tetrad = function() {
        return this.polyad(4);
      }, r.prototype.polyad = function(a) {
        for (var l = this.toHsl(), s = l.h, f = [this], m = 360 / a, p = 1; p < a; p++)
          f.push(new r({ h: (s + p * m) % 360, s: l.s, l: l.l }));
        return f;
      }, r.prototype.equals = function(a) {
        return this.toRgbString() === new r(a).toRgbString();
      }, r;
    }()
  ), n0 = 2, $O = 0.16, lz = 0.05, uz = 0.05, sz = 0.15, Nk = 5, Mk = 4, cz = [{
    index: 7,
    opacity: 0.15
  }, {
    index: 6,
    opacity: 0.25
  }, {
    index: 5,
    opacity: 0.3
  }, {
    index: 5,
    opacity: 0.45
  }, {
    index: 5,
    opacity: 0.65
  }, {
    index: 5,
    opacity: 0.85
  }, {
    index: 4,
    opacity: 0.9
  }, {
    index: 3,
    opacity: 0.95
  }, {
    index: 2,
    opacity: 0.97
  }, {
    index: 1,
    opacity: 0.98
  }];
  function zO(r) {
    var a = r.r, l = r.g, s = r.b, f = i1(a, l, s);
    return {
      h: f.h * 360,
      s: f.s,
      v: f.v
    };
  }
  function r0(r) {
    var a = r.r, l = r.g, s = r.b;
    return "#".concat(o1(a, l, s, !1));
  }
  function fz(r, a, l) {
    var s = l / 100, f = {
      r: (a.r - r.r) * s + r.r,
      g: (a.g - r.g) * s + r.g,
      b: (a.b - r.b) * s + r.b
    };
    return f;
  }
  function jO(r, a, l) {
    var s;
    return Math.round(r.h) >= 60 && Math.round(r.h) <= 240 ? s = l ? Math.round(r.h) - n0 * a : Math.round(r.h) + n0 * a : s = l ? Math.round(r.h) + n0 * a : Math.round(r.h) - n0 * a, s < 0 ? s += 360 : s >= 360 && (s -= 360), s;
  }
  function HO(r, a, l) {
    if (r.h === 0 && r.s === 0)
      return r.s;
    var s;
    return l ? s = r.s - $O * a : a === Mk ? s = r.s + $O : s = r.s + lz * a, s > 1 && (s = 1), l && a === Nk && s > 0.1 && (s = 0.1), s < 0.06 && (s = 0.06), Number(s.toFixed(2));
  }
  function IO(r, a, l) {
    var s;
    return l ? s = r.v + uz * a : s = r.v - sz * a, s > 1 && (s = 1), Number(s.toFixed(2));
  }
  function Gh(r) {
    for (var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = [], s = fv(r), f = Nk; f > 0; f -= 1) {
      var m = zO(s), p = r0(fv({
        h: jO(m, f, !0),
        s: HO(m, f, !0),
        v: IO(m, f, !0)
      }));
      l.push(p);
    }
    l.push(r0(s));
    for (var S = 1; S <= Mk; S += 1) {
      var C = zO(s), E = r0(fv({
        h: jO(C, S),
        s: HO(C, S),
        v: IO(C, S)
      }));
      l.push(E);
    }
    return a.theme === "dark" ? cz.map(function(R) {
      var T = R.index, _ = R.opacity, A = r0(fz(fv(a.backgroundColor || "#141414"), fv(l[T]), _ * 100));
      return A;
    }) : l;
  }
  var RE = {
    red: "#F5222D",
    volcano: "#FA541C",
    orange: "#FA8C16",
    gold: "#FAAD14",
    yellow: "#FADB14",
    lime: "#A0D911",
    green: "#52C41A",
    cyan: "#13C2C2",
    blue: "#1677FF",
    geekblue: "#2F54EB",
    purple: "#722ED1",
    magenta: "#EB2F96",
    grey: "#666666"
  }, u1 = ["#fff1f0", "#ffccc7", "#ffa39e", "#ff7875", "#ff4d4f", "#f5222d", "#cf1322", "#a8071a", "#820014", "#5c0011"];
  u1.primary = u1[5];
  var s1 = ["#fff2e8", "#ffd8bf", "#ffbb96", "#ff9c6e", "#ff7a45", "#fa541c", "#d4380d", "#ad2102", "#871400", "#610b00"];
  s1.primary = s1[5];
  var c1 = ["#fff7e6", "#ffe7ba", "#ffd591", "#ffc069", "#ffa940", "#fa8c16", "#d46b08", "#ad4e00", "#873800", "#612500"];
  c1.primary = c1[5];
  var f1 = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"];
  f1.primary = f1[5];
  var d1 = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"];
  d1.primary = d1[5];
  var v1 = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"];
  v1.primary = v1[5];
  var p1 = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"];
  p1.primary = p1[5];
  var h1 = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"];
  h1.primary = h1[5];
  var E0 = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
  E0.primary = E0[5];
  var m1 = ["#f0f5ff", "#d6e4ff", "#adc6ff", "#85a5ff", "#597ef7", "#2f54eb", "#1d39c4", "#10239e", "#061178", "#030852"];
  m1.primary = m1[5];
  var g1 = ["#f9f0ff", "#efdbff", "#d3adf7", "#b37feb", "#9254de", "#722ed1", "#531dab", "#391085", "#22075e", "#120338"];
  g1.primary = g1[5];
  var y1 = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96", "#c41d7f", "#9e1068", "#780650", "#520339"];
  y1.primary = y1[5];
  var S1 = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"];
  S1.primary = S1[5];
  var wE = {
    red: u1,
    volcano: s1,
    orange: c1,
    gold: f1,
    yellow: d1,
    lime: v1,
    green: p1,
    cyan: h1,
    blue: E0,
    geekblue: m1,
    purple: g1,
    magenta: y1,
    grey: S1
  };
  const Dk = {
    blue: "#1677FF",
    purple: "#722ED1",
    cyan: "#13C2C2",
    green: "#52C41A",
    magenta: "#EB2F96",
    /**
     * @deprecated Use magenta instead
     */
    pink: "#EB2F96",
    red: "#F5222D",
    orange: "#FA8C16",
    yellow: "#FADB14",
    volcano: "#FA541C",
    geekblue: "#2F54EB",
    gold: "#FAAD14",
    lime: "#A0D911"
  }, Qh = Object.assign(Object.assign({}, Dk), {
    // Color
    colorPrimary: "#1677ff",
    colorSuccess: "#52c41a",
    colorWarning: "#faad14",
    colorError: "#ff4d4f",
    colorInfo: "#1677ff",
    colorLink: "",
    colorTextBase: "",
    colorBgBase: "",
    // Font
    fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,
    fontFamilyCode: "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
    fontSize: 14,
    // Line
    lineWidth: 1,
    lineType: "solid",
    // Motion
    motionUnit: 0.1,
    motionBase: 0,
    motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)",
    motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)",
    motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)",
    motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)",
    motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)",
    motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)",
    motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
    motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
    // Radius
    borderRadius: 6,
    // Size
    sizeUnit: 4,
    sizeStep: 4,
    sizePopupArrow: 16,
    // Control Base
    controlHeight: 32,
    // zIndex
    zIndexBase: 0,
    zIndexPopupBase: 1e3,
    // Image
    opacityImage: 1,
    // Wireframe
    wireframe: !1,
    // Motion
    motion: !0
  });
  function dz(r, a) {
    let {
      generateColorPalettes: l,
      generateNeutralColorPalettes: s
    } = a;
    const {
      colorSuccess: f,
      colorWarning: m,
      colorError: p,
      colorInfo: S,
      colorPrimary: C,
      colorBgBase: E,
      colorTextBase: R
    } = r, T = l(C), _ = l(f), A = l(m), P = l(p), L = l(S), M = s(E, R), V = r.colorLink || r.colorInfo, $ = l(V), j = new li(P[1]).mix(new li(P[3]), 50).toHexString();
    return Object.assign(Object.assign({}, M), {
      colorPrimaryBg: T[1],
      colorPrimaryBgHover: T[2],
      colorPrimaryBorder: T[3],
      colorPrimaryBorderHover: T[4],
      colorPrimaryHover: T[5],
      colorPrimary: T[6],
      colorPrimaryActive: T[7],
      colorPrimaryTextHover: T[8],
      colorPrimaryText: T[9],
      colorPrimaryTextActive: T[10],
      colorSuccessBg: _[1],
      colorSuccessBgHover: _[2],
      colorSuccessBorder: _[3],
      colorSuccessBorderHover: _[4],
      colorSuccessHover: _[4],
      colorSuccess: _[6],
      colorSuccessActive: _[7],
      colorSuccessTextHover: _[8],
      colorSuccessText: _[9],
      colorSuccessTextActive: _[10],
      colorErrorBg: P[1],
      colorErrorBgHover: P[2],
      colorErrorBgFilledHover: j,
      colorErrorBgActive: P[3],
      colorErrorBorder: P[3],
      colorErrorBorderHover: P[4],
      colorErrorHover: P[5],
      colorError: P[6],
      colorErrorActive: P[7],
      colorErrorTextHover: P[8],
      colorErrorText: P[9],
      colorErrorTextActive: P[10],
      colorWarningBg: A[1],
      colorWarningBgHover: A[2],
      colorWarningBorder: A[3],
      colorWarningBorderHover: A[4],
      colorWarningHover: A[4],
      colorWarning: A[6],
      colorWarningActive: A[7],
      colorWarningTextHover: A[8],
      colorWarningText: A[9],
      colorWarningTextActive: A[10],
      colorInfoBg: L[1],
      colorInfoBgHover: L[2],
      colorInfoBorder: L[3],
      colorInfoBorderHover: L[4],
      colorInfoHover: L[4],
      colorInfo: L[6],
      colorInfoActive: L[7],
      colorInfoTextHover: L[8],
      colorInfoText: L[9],
      colorInfoTextActive: L[10],
      colorLinkHover: $[4],
      colorLink: $[6],
      colorLinkActive: $[7],
      colorBgMask: new li("#000").setAlpha(0.45).toRgbString(),
      colorWhite: "#fff"
    });
  }
  const vz = (r) => {
    let a = r, l = r, s = r, f = r;
    return r < 6 && r >= 5 ? a = r + 1 : r < 16 && r >= 6 ? a = r + 2 : r >= 16 && (a = 16), r < 7 && r >= 5 ? l = 4 : r < 8 && r >= 7 ? l = 5 : r < 14 && r >= 8 ? l = 6 : r < 16 && r >= 14 ? l = 7 : r >= 16 && (l = 8), r < 6 && r >= 2 ? s = 1 : r >= 6 && (s = 2), r > 4 && r < 8 ? f = 4 : r >= 8 && (f = 6), {
      borderRadius: r,
      borderRadiusXS: s,
      borderRadiusSM: l,
      borderRadiusLG: a,
      borderRadiusOuter: f
    };
  };
  function pz(r) {
    const {
      motionUnit: a,
      motionBase: l,
      borderRadius: s,
      lineWidth: f
    } = r;
    return Object.assign({
      // motion
      motionDurationFast: `${(l + a).toFixed(1)}s`,
      motionDurationMid: `${(l + a * 2).toFixed(1)}s`,
      motionDurationSlow: `${(l + a * 3).toFixed(1)}s`,
      // line
      lineWidthBold: f + 1
    }, vz(s));
  }
  const hz = (r) => {
    const {
      controlHeight: a
    } = r;
    return {
      controlHeightSM: a * 0.75,
      controlHeightXS: a * 0.5,
      controlHeightLG: a * 1.25
    };
  };
  function y0(r) {
    return (r + 8) / r;
  }
  function mz(r) {
    const a = new Array(10).fill(null).map((l, s) => {
      const f = s - 1, m = r * Math.pow(Math.E, f / 5), p = s > 1 ? Math.floor(m) : Math.ceil(m);
      return Math.floor(p / 2) * 2;
    });
    return a[1] = r, a.map((l) => ({
      size: l,
      lineHeight: y0(l)
    }));
  }
  const gz = (r) => {
    const a = mz(r), l = a.map((R) => R.size), s = a.map((R) => R.lineHeight), f = l[1], m = l[0], p = l[2], S = s[1], C = s[0], E = s[2];
    return {
      fontSizeSM: m,
      fontSize: f,
      fontSizeLG: p,
      fontSizeXL: l[3],
      fontSizeHeading1: l[6],
      fontSizeHeading2: l[5],
      fontSizeHeading3: l[4],
      fontSizeHeading4: l[3],
      fontSizeHeading5: l[2],
      lineHeight: S,
      lineHeightLG: E,
      lineHeightSM: C,
      fontHeight: Math.round(S * f),
      fontHeightLG: Math.round(E * p),
      fontHeightSM: Math.round(C * m),
      lineHeightHeading1: s[6],
      lineHeightHeading2: s[5],
      lineHeightHeading3: s[4],
      lineHeightHeading4: s[3],
      lineHeightHeading5: s[2]
    };
  };
  function yz(r) {
    const {
      sizeUnit: a,
      sizeStep: l
    } = r;
    return {
      sizeXXL: a * (l + 8),
      // 48
      sizeXL: a * (l + 4),
      // 32
      sizeLG: a * (l + 2),
      // 24
      sizeMD: a * (l + 1),
      // 20
      sizeMS: a * l,
      // 16
      size: a * l,
      // 16
      sizeSM: a * (l - 1),
      // 12
      sizeXS: a * (l - 2),
      // 8
      sizeXXS: a * (l - 3)
      // 4
    };
  }
  const ho = (r, a) => new li(r).setAlpha(a).toRgbString(), Lh = (r, a) => new li(r).darken(a).toHexString(), Sz = (r) => {
    const a = Gh(r);
    return {
      1: a[0],
      2: a[1],
      3: a[2],
      4: a[3],
      5: a[4],
      6: a[5],
      7: a[6],
      8: a[4],
      9: a[5],
      10: a[6]
      // 8: colors[7],
      // 9: colors[8],
      // 10: colors[9],
    };
  }, Cz = (r, a) => {
    const l = r || "#fff", s = a || "#000";
    return {
      colorBgBase: l,
      colorTextBase: s,
      colorText: ho(s, 0.88),
      colorTextSecondary: ho(s, 0.65),
      colorTextTertiary: ho(s, 0.45),
      colorTextQuaternary: ho(s, 0.25),
      colorFill: ho(s, 0.15),
      colorFillSecondary: ho(s, 0.06),
      colorFillTertiary: ho(s, 0.04),
      colorFillQuaternary: ho(s, 0.02),
      colorBgSolid: ho(s, 1),
      colorBgSolidHover: ho(s, 0.75),
      colorBgSolidActive: ho(s, 0.95),
      colorBgLayout: Lh(l, 4),
      colorBgContainer: Lh(l, 0),
      colorBgElevated: Lh(l, 0),
      colorBgSpotlight: ho(s, 0.85),
      colorBgBlur: "transparent",
      colorBorder: Lh(l, 15),
      colorBorderSecondary: Lh(l, 6)
    };
  };
  function bz(r) {
    RE.pink = RE.magenta, wE.pink = wE.magenta;
    const a = Object.keys(Dk).map((l) => {
      const s = r[l] === RE[l] ? wE[l] : Gh(r[l]);
      return new Array(10).fill(1).reduce((f, m, p) => (f[`${l}-${p + 1}`] = s[p], f[`${l}${p + 1}`] = s[p], f), {});
    }).reduce((l, s) => (l = Object.assign(Object.assign({}, l), s), l), {});
    return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, r), a), dz(r, {
      generateColorPalettes: Sz,
      generateNeutralColorPalettes: Cz
    })), gz(r.fontSize)), yz(r)), hz(r)), pz(r));
  }
  const Lk = JE(bz), C1 = {
    token: Qh,
    override: {
      override: Qh
    },
    hashed: !0
  }, Ak = /* @__PURE__ */ _e.createContext(C1), x0 = "ant", z0 = "anticon", Ez = (r, a) => a || (r ? `${x0}-${r}` : x0), Xr = /* @__PURE__ */ N.createContext({
    // We provide a default function for Context without provider
    getPrefixCls: Ez,
    iconPrefixCls: z0
  }), xz = `-ant-${Date.now()}-${Math.random()}`;
  function Rz(r, a) {
    const l = {}, s = (p, S) => {
      let C = p.clone();
      return C = (S == null ? void 0 : S(C)) || C, C.toRgbString();
    }, f = (p, S) => {
      const C = new li(p), E = Gh(C.toRgbString());
      l[`${S}-color`] = s(C), l[`${S}-color-disabled`] = E[1], l[`${S}-color-hover`] = E[4], l[`${S}-color-active`] = E[6], l[`${S}-color-outline`] = C.clone().setAlpha(0.2).toRgbString(), l[`${S}-color-deprecated-bg`] = E[0], l[`${S}-color-deprecated-border`] = E[2];
    };
    if (a.primaryColor) {
      f(a.primaryColor, "primary");
      const p = new li(a.primaryColor), S = Gh(p.toRgbString());
      S.forEach((E, R) => {
        l[`primary-${R + 1}`] = E;
      }), l["primary-color-deprecated-l-35"] = s(p, (E) => E.lighten(35)), l["primary-color-deprecated-l-20"] = s(p, (E) => E.lighten(20)), l["primary-color-deprecated-t-20"] = s(p, (E) => E.tint(20)), l["primary-color-deprecated-t-50"] = s(p, (E) => E.tint(50)), l["primary-color-deprecated-f-12"] = s(p, (E) => E.setAlpha(E.getAlpha() * 0.12));
      const C = new li(S[0]);
      l["primary-color-active-deprecated-f-30"] = s(C, (E) => E.setAlpha(E.getAlpha() * 0.3)), l["primary-color-active-deprecated-d-02"] = s(C, (E) => E.darken(2));
    }
    return a.successColor && f(a.successColor, "success"), a.warningColor && f(a.warningColor, "warning"), a.errorColor && f(a.errorColor, "error"), a.infoColor && f(a.infoColor, "info"), `
  :root {
    ${Object.keys(l).map((p) => `--${r}-${p}: ${l[p]};`).join(`
`)}
  }
  `.trim();
  }
  function wz(r, a) {
    const l = Rz(r, a);
    ui() ? _u(l, `${xz}-dynamic-theme`) : process.env.NODE_ENV !== "production" && Qs(!1, "ConfigProvider", "SSR do not support dynamic theme with css variables.");
  }
  const R0 = /* @__PURE__ */ N.createContext(!1), Pk = (r) => {
    let {
      children: a,
      disabled: l
    } = r;
    const s = N.useContext(R0);
    return /* @__PURE__ */ N.createElement(R0.Provider, {
      value: l ?? s
    }, a);
  }, bv = /* @__PURE__ */ N.createContext(void 0), Tz = (r) => {
    let {
      children: a,
      size: l
    } = r;
    const s = N.useContext(bv);
    return /* @__PURE__ */ N.createElement(bv.Provider, {
      value: l || s
    }, a);
  };
  function Oz() {
    const r = N.useContext(R0), a = N.useContext(bv);
    return {
      componentDisabled: r,
      componentSize: a
    };
  }
  var Fk = /* @__PURE__ */ Ra(function r() {
    xa(this, r);
  }), $k = "CALC_UNIT", _z = new RegExp($k, "g");
  function TE(r) {
    return typeof r == "number" ? "".concat(r).concat($k) : r;
  }
  var kz = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l(s, f) {
      var m;
      xa(this, l), m = a.call(this), ue(Yt(m), "result", ""), ue(Yt(m), "unitlessCssVar", void 0), ue(Yt(m), "lowPriority", void 0);
      var p = kt(s);
      return m.unitlessCssVar = f, s instanceof l ? m.result = "(".concat(s.result, ")") : p === "number" ? m.result = TE(s) : p === "string" && (m.result = s), m;
    }
    return Ra(l, [{
      key: "add",
      value: function(f) {
        return f instanceof l ? this.result = "".concat(this.result, " + ").concat(f.getResult()) : (typeof f == "number" || typeof f == "string") && (this.result = "".concat(this.result, " + ").concat(TE(f))), this.lowPriority = !0, this;
      }
    }, {
      key: "sub",
      value: function(f) {
        return f instanceof l ? this.result = "".concat(this.result, " - ").concat(f.getResult()) : (typeof f == "number" || typeof f == "string") && (this.result = "".concat(this.result, " - ").concat(TE(f))), this.lowPriority = !0, this;
      }
    }, {
      key: "mul",
      value: function(f) {
        return this.lowPriority && (this.result = "(".concat(this.result, ")")), f instanceof l ? this.result = "".concat(this.result, " * ").concat(f.getResult(!0)) : (typeof f == "number" || typeof f == "string") && (this.result = "".concat(this.result, " * ").concat(f)), this.lowPriority = !1, this;
      }
    }, {
      key: "div",
      value: function(f) {
        return this.lowPriority && (this.result = "(".concat(this.result, ")")), f instanceof l ? this.result = "".concat(this.result, " / ").concat(f.getResult(!0)) : (typeof f == "number" || typeof f == "string") && (this.result = "".concat(this.result, " / ").concat(f)), this.lowPriority = !1, this;
      }
    }, {
      key: "getResult",
      value: function(f) {
        return this.lowPriority || f ? "(".concat(this.result, ")") : this.result;
      }
    }, {
      key: "equal",
      value: function(f) {
        var m = this, p = f || {}, S = p.unit, C = !0;
        return typeof S == "boolean" ? C = S : Array.from(this.unitlessCssVar).some(function(E) {
          return m.result.includes(E);
        }) && (C = !1), this.result = this.result.replace(_z, C ? "px" : ""), typeof this.lowPriority < "u" ? "calc(".concat(this.result, ")") : this.result;
      }
    }]), l;
  }(Fk), Nz = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l(s) {
      var f;
      return xa(this, l), f = a.call(this), ue(Yt(f), "result", 0), s instanceof l ? f.result = s.result : typeof s == "number" && (f.result = s), f;
    }
    return Ra(l, [{
      key: "add",
      value: function(f) {
        return f instanceof l ? this.result += f.result : typeof f == "number" && (this.result += f), this;
      }
    }, {
      key: "sub",
      value: function(f) {
        return f instanceof l ? this.result -= f.result : typeof f == "number" && (this.result -= f), this;
      }
    }, {
      key: "mul",
      value: function(f) {
        return f instanceof l ? this.result *= f.result : typeof f == "number" && (this.result *= f), this;
      }
    }, {
      key: "div",
      value: function(f) {
        return f instanceof l ? this.result /= f.result : typeof f == "number" && (this.result /= f), this;
      }
    }, {
      key: "equal",
      value: function() {
        return this.result;
      }
    }]), l;
  }(Fk), Mz = function(a, l) {
    var s = a === "css" ? kz : Nz;
    return function(f) {
      return new s(f, l);
    };
  }, UO = function(a, l) {
    return "".concat([l, a.replace(/([A-Z]+)([A-Z][a-z]+)/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2")].filter(Boolean).join("-"));
  };
  function ku(r) {
    var a = N.useRef();
    a.current = r;
    var l = N.useCallback(function() {
      for (var s, f = arguments.length, m = new Array(f), p = 0; p < f; p++)
        m[p] = arguments[p];
      return (s = a.current) === null || s === void 0 ? void 0 : s.call.apply(s, [a].concat(m));
    }, []);
    return l;
  }
  function Ev(r) {
    var a = N.useRef(!1), l = N.useState(r), s = lt(l, 2), f = s[0], m = s[1];
    N.useEffect(function() {
      return a.current = !1, function() {
        a.current = !0;
      };
    }, []);
    function p(S, C) {
      C && a.current || m(S);
    }
    return [f, p];
  }
  function OE(r) {
    return r !== void 0;
  }
  function Dz(r, a) {
    var l = a, s = l.defaultValue, f = l.value, m = l.onChange, p = l.postState, S = Ev(function() {
      return OE(f) ? f : OE(s) ? typeof s == "function" ? s() : s : typeof r == "function" ? r() : r;
    }), C = lt(S, 2), E = C[0], R = C[1], T = f !== void 0 ? f : E, _ = p ? p(T) : T, A = ku(m), P = Ev([T]), L = lt(P, 2), M = L[0], V = L[1];
    TO(function() {
      var j = M[0];
      E !== j && A(E, j);
    }, [M]), TO(function() {
      OE(f) || R(f);
    }, [f]);
    var $ = ku(function(j, W) {
      R(j, W), V([T], W);
    });
    return [_, $];
  }
  function VO(r, a, l, s) {
    var f = Ce({}, a[r]);
    if (s != null && s.deprecatedTokens) {
      var m = s.deprecatedTokens;
      m.forEach(function(S) {
        var C = lt(S, 2), E = C[0], R = C[1];
        if (process.env.NODE_ENV !== "production" && sr(!(f != null && f[E]), "Component Token `".concat(String(E), "` of ").concat(String(r), " is deprecated. Please use `").concat(String(R), "` instead.")), f != null && f[E] || f != null && f[R]) {
          var T;
          (T = f[R]) !== null && T !== void 0 || (f[R] = f == null ? void 0 : f[E]);
        }
      });
    }
    var p = Ce(Ce({}, l), f);
    return Object.keys(p).forEach(function(S) {
      p[S] === a[S] && delete p[S];
    }), p;
  }
  var zk = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u", b1 = !0;
  function Ks() {
    for (var r = arguments.length, a = new Array(r), l = 0; l < r; l++)
      a[l] = arguments[l];
    if (!zk)
      return Object.assign.apply(Object, [{}].concat(a));
    b1 = !1;
    var s = {};
    return a.forEach(function(f) {
      if (kt(f) === "object") {
        var m = Object.keys(f);
        m.forEach(function(p) {
          Object.defineProperty(s, p, {
            configurable: !0,
            enumerable: !0,
            get: function() {
              return f[p];
            }
          });
        });
      }
    }), b1 = !0, s;
  }
  var BO = {};
  function Lz() {
  }
  var Az = function(a) {
    var l, s = a, f = Lz;
    return zk && typeof Proxy < "u" && (l = /* @__PURE__ */ new Set(), s = new Proxy(a, {
      get: function(p, S) {
        if (b1) {
          var C;
          (C = l) === null || C === void 0 || C.add(S);
        }
        return p[S];
      }
    }), f = function(p, S) {
      var C;
      BO[p] = {
        global: Array.from(l),
        component: Ce(Ce({}, (C = BO[p]) === null || C === void 0 ? void 0 : C.component), S)
      };
    }), {
      token: s,
      keys: l,
      flush: f
    };
  };
  function WO(r, a, l) {
    if (typeof l == "function") {
      var s;
      return l(Ks(a, (s = a[r]) !== null && s !== void 0 ? s : {}));
    }
    return l ?? {};
  }
  function Pz(r) {
    return r === "js" ? {
      max: Math.max,
      min: Math.min
    } : {
      max: function() {
        for (var l = arguments.length, s = new Array(l), f = 0; f < l; f++)
          s[f] = arguments[f];
        return "max(".concat(s.map(function(m) {
          return $n(m);
        }).join(","), ")");
      },
      min: function() {
        for (var l = arguments.length, s = new Array(l), f = 0; f < l; f++)
          s[f] = arguments[f];
        return "min(".concat(s.map(function(m) {
          return $n(m);
        }).join(","), ")");
      }
    };
  }
  var Fz = 1e3 * 60 * 10, $z = /* @__PURE__ */ function() {
    function r() {
      xa(this, r), ue(this, "map", /* @__PURE__ */ new Map()), ue(this, "objectIDMap", /* @__PURE__ */ new WeakMap()), ue(this, "nextID", 0), ue(this, "lastAccessBeat", /* @__PURE__ */ new Map()), ue(this, "accessBeat", 0);
    }
    return Ra(r, [{
      key: "set",
      value: function(l, s) {
        this.clear();
        var f = this.getCompositeKey(l);
        this.map.set(f, s), this.lastAccessBeat.set(f, Date.now());
      }
    }, {
      key: "get",
      value: function(l) {
        var s = this.getCompositeKey(l), f = this.map.get(s);
        return this.lastAccessBeat.set(s, Date.now()), this.accessBeat += 1, f;
      }
    }, {
      key: "getCompositeKey",
      value: function(l) {
        var s = this, f = l.map(function(m) {
          return m && kt(m) === "object" ? "obj_".concat(s.getObjectID(m)) : "".concat(kt(m), "_").concat(m);
        });
        return f.join("|");
      }
    }, {
      key: "getObjectID",
      value: function(l) {
        if (this.objectIDMap.has(l))
          return this.objectIDMap.get(l);
        var s = this.nextID;
        return this.objectIDMap.set(l, s), this.nextID += 1, s;
      }
    }, {
      key: "clear",
      value: function() {
        var l = this;
        if (this.accessBeat > 1e4) {
          var s = Date.now();
          this.lastAccessBeat.forEach(function(f, m) {
            s - f > Fz && (l.map.delete(m), l.lastAccessBeat.delete(m));
          }), this.accessBeat = 0;
        }
      }
    }]), r;
  }(), YO = new $z();
  function zz(r, a) {
    return _e.useMemo(function() {
      var l = YO.get(a);
      if (l)
        return l;
      var s = r();
      return YO.set(a, s), s;
    }, a);
  }
  var jz = function() {
    return {};
  };
  function Hz(r) {
    var a = r.useCSP, l = a === void 0 ? jz : a, s = r.useToken, f = r.usePrefix, m = r.getResetStyles, p = r.getCommonStyle, S = r.getCompUnitless;
    function C(_, A, P, L) {
      var M = Array.isArray(_) ? _[0] : _;
      function V(ne) {
        return "".concat(String(M)).concat(ne.slice(0, 1).toUpperCase()).concat(ne.slice(1));
      }
      var $ = (L == null ? void 0 : L.unitless) || {}, j = typeof S == "function" ? S(_) : {}, W = Ce(Ce({}, j), {}, ue({}, V("zIndexPopup"), !0));
      Object.keys($).forEach(function(ne) {
        W[V(ne)] = $[ne];
      });
      var I = Ce(Ce({}, L), {}, {
        unitless: W,
        prefixToken: V
      }), ee = R(_, A, P, I), Y = E(M, P, I);
      return function(ne) {
        var ae = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ne, ve = ee(ne, ae), ye = lt(ve, 2), Oe = ye[1], ge = Y(ae), me = lt(ge, 2), Te = me[0], re = me[1];
        return [Te, Oe, re];
      };
    }
    function E(_, A, P) {
      var L = P.unitless, M = P.injectStyle, V = M === void 0 ? !0 : M, $ = P.prefixToken, j = P.ignore, W = function(Y) {
        var ne = Y.rootCls, ae = Y.cssVar, ve = ae === void 0 ? {} : ae, ye = s(), Oe = ye.realToken;
        return j$({
          path: [_],
          prefix: ve.prefix,
          key: ve.key,
          unitless: L,
          ignore: j,
          token: Oe,
          scope: ne
        }, function() {
          var ge = WO(_, Oe, A), me = VO(_, Oe, ge, {
            deprecatedTokens: P == null ? void 0 : P.deprecatedTokens
          });
          return Object.keys(ge).forEach(function(Te) {
            me[$(Te)] = me[Te], delete me[Te];
          }), me;
        }), null;
      }, I = function(Y) {
        var ne = s(), ae = ne.cssVar;
        return [function(ve) {
          return V && ae ? /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement(W, {
            rootCls: Y,
            cssVar: ae,
            component: _
          }), ve) : ve;
        }, ae == null ? void 0 : ae.key];
      };
      return I;
    }
    function R(_, A, P) {
      var L = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, M = Array.isArray(_) ? _ : [_, _], V = lt(M, 1), $ = V[0], j = M.join("-"), W = r.layer || {
        name: "antd"
      };
      return function(I) {
        var ee = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : I, Y = s(), ne = Y.theme, ae = Y.realToken, ve = Y.hashId, ye = Y.token, Oe = Y.cssVar, ge = f(), me = ge.rootPrefixCls, Te = ge.iconPrefixCls, re = l(), Q = Oe ? "css" : "js", q = zz(function() {
          var we = /* @__PURE__ */ new Set();
          return Oe && Object.keys(L.unitless || {}).forEach(function(Ue) {
            we.add(f0(Ue, Oe.prefix)), we.add(f0(Ue, UO($, Oe.prefix)));
          }), Mz(Q, we);
        }, [Q, $, Oe == null ? void 0 : Oe.prefix]), se = Pz(Q), te = se.max, z = se.min, K = {
          theme: ne,
          token: ye,
          hashId: ve,
          nonce: function() {
            return re.nonce;
          },
          clientOnly: L.clientOnly,
          layer: W,
          // antd is always at top of styles
          order: L.order || -999
        };
        typeof m == "function" && a1(Ce(Ce({}, K), {}, {
          clientOnly: !1,
          path: ["Shared", me]
        }), function() {
          return m(ye, {
            prefix: {
              rootPrefixCls: me,
              iconPrefixCls: Te
            },
            csp: re
          });
        });
        var Re = a1(Ce(Ce({}, K), {}, {
          path: [j, I, Te]
        }), function() {
          if (L.injectStyle === !1)
            return [];
          var we = Az(ye), Ue = we.token, Ke = we.flush, Be = WO($, ae, P), vt = ".".concat(I), ut = VO($, ae, Be, {
            deprecatedTokens: L.deprecatedTokens
          });
          Oe && Be && kt(Be) === "object" && Object.keys(Be).forEach(function(Ut) {
            Be[Ut] = "var(".concat(f0(Ut, UO($, Oe.prefix)), ")");
          });
          var Tt = Ks(Ue, {
            componentCls: vt,
            prefixCls: I,
            iconCls: ".".concat(Te),
            antCls: ".".concat(me),
            calc: q,
            // @ts-ignore
            max: te,
            // @ts-ignore
            min: z
          }, Oe ? Be : ut), pn = A(Tt, {
            hashId: ve,
            prefixCls: I,
            rootPrefixCls: me,
            iconPrefixCls: Te
          });
          Ke($, ut);
          var on = typeof p == "function" ? p(Tt, I, ee, L.resetFont) : null;
          return [L.resetStyle === !1 ? null : on, pn];
        });
        return [Re, ve];
      };
    }
    function T(_, A, P) {
      var L = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, M = R(_, A, P, Ce({
        resetStyle: !1,
        // Sub Style should default after root one
        order: -998
      }, L)), V = function(j) {
        var W = j.prefixCls, I = j.rootCls, ee = I === void 0 ? W : I;
        return M(W, ee), null;
      };
      return process.env.NODE_ENV !== "production" && (V.displayName = "SubStyle_".concat(String(Array.isArray(_) ? _.join(".") : _))), V;
    }
    return {
      genStyleHooks: C,
      genSubStyleComponent: T,
      genComponentStyleHook: R
    };
  }
  const Iz = "5.22.6";
  function _E(r) {
    return r >= 0 && r <= 255;
  }
  function a0(r, a) {
    const {
      r: l,
      g: s,
      b: f,
      a: m
    } = new li(r).toRgb();
    if (m < 1)
      return r;
    const {
      r: p,
      g: S,
      b: C
    } = new li(a).toRgb();
    for (let E = 0.01; E <= 1; E += 0.01) {
      const R = Math.round((l - p * (1 - E)) / E), T = Math.round((s - S * (1 - E)) / E), _ = Math.round((f - C * (1 - E)) / E);
      if (_E(R) && _E(T) && _E(_))
        return new li({
          r: R,
          g: T,
          b: _,
          a: Math.round(E * 100) / 100
        }).toRgbString();
    }
    return new li({
      r: l,
      g: s,
      b: f,
      a: 1
    }).toRgbString();
  }
  var Uz = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  function jk(r) {
    const {
      override: a
    } = r, l = Uz(r, ["override"]), s = Object.assign({}, a);
    Object.keys(Qh).forEach((_) => {
      delete s[_];
    });
    const f = Object.assign(Object.assign({}, l), s), m = 480, p = 576, S = 768, C = 992, E = 1200, R = 1600;
    if (f.motion === !1) {
      const _ = "0s";
      f.motionDurationFast = _, f.motionDurationMid = _, f.motionDurationSlow = _;
    }
    return Object.assign(Object.assign(Object.assign({}, f), {
      // ============== Background ============== //
      colorFillContent: f.colorFillSecondary,
      colorFillContentHover: f.colorFill,
      colorFillAlter: f.colorFillQuaternary,
      colorBgContainerDisabled: f.colorFillTertiary,
      // ============== Split ============== //
      colorBorderBg: f.colorBgContainer,
      colorSplit: a0(f.colorBorderSecondary, f.colorBgContainer),
      // ============== Text ============== //
      colorTextPlaceholder: f.colorTextQuaternary,
      colorTextDisabled: f.colorTextQuaternary,
      colorTextHeading: f.colorText,
      colorTextLabel: f.colorTextSecondary,
      colorTextDescription: f.colorTextTertiary,
      colorTextLightSolid: f.colorWhite,
      colorHighlight: f.colorError,
      colorBgTextHover: f.colorFillSecondary,
      colorBgTextActive: f.colorFill,
      colorIcon: f.colorTextTertiary,
      colorIconHover: f.colorText,
      colorErrorOutline: a0(f.colorErrorBg, f.colorBgContainer),
      colorWarningOutline: a0(f.colorWarningBg, f.colorBgContainer),
      // Font
      fontSizeIcon: f.fontSizeSM,
      // Line
      lineWidthFocus: f.lineWidth * 3,
      // Control
      lineWidth: f.lineWidth,
      controlOutlineWidth: f.lineWidth * 2,
      // Checkbox size and expand icon size
      controlInteractiveSize: f.controlHeight / 2,
      controlItemBgHover: f.colorFillTertiary,
      controlItemBgActive: f.colorPrimaryBg,
      controlItemBgActiveHover: f.colorPrimaryBgHover,
      controlItemBgActiveDisabled: f.colorFill,
      controlTmpOutline: f.colorFillQuaternary,
      controlOutline: a0(f.colorPrimaryBg, f.colorBgContainer),
      lineType: f.lineType,
      borderRadius: f.borderRadius,
      borderRadiusXS: f.borderRadiusXS,
      borderRadiusSM: f.borderRadiusSM,
      borderRadiusLG: f.borderRadiusLG,
      fontWeightStrong: 600,
      opacityLoading: 0.65,
      linkDecoration: "none",
      linkHoverDecoration: "none",
      linkFocusDecoration: "none",
      controlPaddingHorizontal: 12,
      controlPaddingHorizontalSM: 8,
      paddingXXS: f.sizeXXS,
      paddingXS: f.sizeXS,
      paddingSM: f.sizeSM,
      padding: f.size,
      paddingMD: f.sizeMD,
      paddingLG: f.sizeLG,
      paddingXL: f.sizeXL,
      paddingContentHorizontalLG: f.sizeLG,
      paddingContentVerticalLG: f.sizeMS,
      paddingContentHorizontal: f.sizeMS,
      paddingContentVertical: f.sizeSM,
      paddingContentHorizontalSM: f.size,
      paddingContentVerticalSM: f.sizeXS,
      marginXXS: f.sizeXXS,
      marginXS: f.sizeXS,
      marginSM: f.sizeSM,
      margin: f.size,
      marginMD: f.sizeMD,
      marginLG: f.sizeLG,
      marginXL: f.sizeXL,
      marginXXL: f.sizeXXL,
      boxShadow: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowSecondary: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowTertiary: `
      0 1px 2px 0 rgba(0, 0, 0, 0.03),
      0 1px 6px -1px rgba(0, 0, 0, 0.02),
      0 2px 4px 0 rgba(0, 0, 0, 0.02)
    `,
      screenXS: m,
      screenXSMin: m,
      screenXSMax: p - 1,
      screenSM: p,
      screenSMMin: p,
      screenSMMax: S - 1,
      screenMD: S,
      screenMDMin: S,
      screenMDMax: C - 1,
      screenLG: C,
      screenLGMin: C,
      screenLGMax: E - 1,
      screenXL: E,
      screenXLMin: E,
      screenXLMax: R - 1,
      screenXXL: R,
      screenXXLMin: R,
      boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
      boxShadowCard: `
      0 1px 2px -2px ${new li("rgba(0, 0, 0, 0.16)").toRgbString()},
      0 3px 6px 0 ${new li("rgba(0, 0, 0, 0.12)").toRgbString()},
      0 5px 12px 4px ${new li("rgba(0, 0, 0, 0.09)").toRgbString()}
    `,
      boxShadowDrawerRight: `
      -6px 0 16px 0 rgba(0, 0, 0, 0.08),
      -3px 0 6px -4px rgba(0, 0, 0, 0.12),
      -9px 0 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowDrawerLeft: `
      6px 0 16px 0 rgba(0, 0, 0, 0.08),
      3px 0 6px -4px rgba(0, 0, 0, 0.12),
      9px 0 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowDrawerUp: `
      0 6px 16px 0 rgba(0, 0, 0, 0.08),
      0 3px 6px -4px rgba(0, 0, 0, 0.12),
      0 9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowDrawerDown: `
      0 -6px 16px 0 rgba(0, 0, 0, 0.08),
      0 -3px 6px -4px rgba(0, 0, 0, 0.12),
      0 -9px 28px 8px rgba(0, 0, 0, 0.05)
    `,
      boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
      boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
      boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
      boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
    }), s);
  }
  var qO = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  const Hk = {
    lineHeight: !0,
    lineHeightSM: !0,
    lineHeightLG: !0,
    lineHeightHeading1: !0,
    lineHeightHeading2: !0,
    lineHeightHeading3: !0,
    lineHeightHeading4: !0,
    lineHeightHeading5: !0,
    opacityLoading: !0,
    fontWeightStrong: !0,
    zIndexPopupBase: !0,
    zIndexBase: !0,
    opacityImage: !0
  }, Vz = {
    size: !0,
    sizeSM: !0,
    sizeLG: !0,
    sizeMD: !0,
    sizeXS: !0,
    sizeXXS: !0,
    sizeMS: !0,
    sizeXL: !0,
    sizeXXL: !0,
    sizeUnit: !0,
    sizeStep: !0,
    motionBase: !0,
    motionUnit: !0
  }, Bz = {
    screenXS: !0,
    screenXSMin: !0,
    screenXSMax: !0,
    screenSM: !0,
    screenSMMin: !0,
    screenSMMax: !0,
    screenMD: !0,
    screenMDMin: !0,
    screenMDMax: !0,
    screenLG: !0,
    screenLGMin: !0,
    screenLGMax: !0,
    screenXL: !0,
    screenXLMin: !0,
    screenXLMax: !0,
    screenXXL: !0,
    screenXXLMin: !0
  }, Ik = (r, a, l) => {
    const s = l.getDerivativeToken(r), {
      override: f
    } = a, m = qO(a, ["override"]);
    let p = Object.assign(Object.assign({}, s), {
      override: f
    });
    return p = jk(p), m && Object.entries(m).forEach((S) => {
      let [C, E] = S;
      const {
        theme: R
      } = E, T = qO(E, ["theme"]);
      let _ = T;
      R && (_ = Ik(Object.assign(Object.assign({}, p), T), {
        override: T
      }, R)), p[C] = _;
    }), p;
  };
  function Xs() {
    const {
      token: r,
      hashed: a,
      theme: l,
      override: s,
      cssVar: f
    } = _e.useContext(Ak), m = `${Iz}-${a || ""}`, p = l || Lk, [S, C, E] = f$(p, [Qh, r], {
      salt: m,
      override: s,
      getComputedToken: Ik,
      // formatToken will not be consumed after 1.15.0 with getComputedToken.
      // But token will break if @ant-design/cssinjs is under 1.15.0 without it
      formatToken: jk,
      cssVar: f && {
        prefix: f.prefix,
        key: f.key,
        unitless: Hk,
        ignore: Vz,
        preserve: Bz
      }
    });
    return [p, E, a ? C : "", S, f];
  }
  const Wz = function(r) {
    let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
    return {
      boxSizing: "border-box",
      margin: 0,
      padding: 0,
      color: r.colorText,
      fontSize: r.fontSize,
      // font-variant: @font-variant-base;
      lineHeight: r.lineHeight,
      listStyle: "none",
      // font-feature-settings: @font-feature-settings-base;
      fontFamily: a ? "inherit" : r.fontFamily
    };
  }, Yz = () => ({
    display: "inline-flex",
    alignItems: "center",
    color: "inherit",
    fontStyle: "normal",
    lineHeight: 0,
    textAlign: "center",
    textTransform: "none",
    // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
    verticalAlign: "-0.125em",
    textRendering: "optimizeLegibility",
    "-webkit-font-smoothing": "antialiased",
    "-moz-osx-font-smoothing": "grayscale",
    "> *": {
      lineHeight: 1
    },
    svg: {
      display: "inline-block"
    }
  }), qz = () => ({
    // https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
    "&::before": {
      display: "table",
      content: '""'
    },
    "&::after": {
      // https://github.com/ant-design/ant-design/issues/21864
      display: "table",
      clear: "both",
      content: '""'
    }
  }), Gz = (r) => ({
    a: {
      color: r.colorLink,
      textDecoration: r.linkDecoration,
      backgroundColor: "transparent",
      // remove the gray background on active links in IE 10.
      outline: "none",
      cursor: "pointer",
      transition: `color ${r.motionDurationSlow}`,
      "-webkit-text-decoration-skip": "objects",
      // remove gaps in links underline in iOS 8+ and Safari 8+.
      "&:hover": {
        color: r.colorLinkHover
      },
      "&:active": {
        color: r.colorLinkActive
      },
      "&:active, &:hover": {
        textDecoration: r.linkHoverDecoration,
        outline: 0
      },
      // https://github.com/ant-design/ant-design/issues/22503
      "&:focus": {
        textDecoration: r.linkFocusDecoration,
        outline: 0
      },
      "&[disabled]": {
        color: r.colorTextDisabled,
        cursor: "not-allowed"
      }
    }
  }), Qz = (r, a, l, s) => {
    const f = `[class^="${a}"], [class*=" ${a}"]`, m = l ? `.${l}` : f, p = {
      boxSizing: "border-box",
      "&::before, &::after": {
        boxSizing: "border-box"
      }
    };
    let S = {};
    return s !== !1 && (S = {
      fontFamily: r.fontFamily,
      fontSize: r.fontSize
    }), {
      [m]: Object.assign(Object.assign(Object.assign({}, S), p), {
        [f]: p
      })
    };
  }, Kz = (r) => ({
    outline: `${$n(r.lineWidthFocus)} solid ${r.colorPrimaryBorder}`,
    outlineOffset: 1,
    transition: "outline-offset 0s, outline 0s"
  }), Uk = (r) => ({
    "&:focus-visible": Object.assign({}, Kz(r))
  }), Vk = (r) => ({
    [`.${r}`]: Object.assign(Object.assign({}, Yz()), {
      [`.${r} .${r}-icon`]: {
        display: "block"
      }
    })
  }), {
    genStyleHooks: ix,
    genComponentStyleHook: Xz,
    genSubStyleComponent: Bk
  } = Hz({
    usePrefix: () => {
      const {
        getPrefixCls: r,
        iconPrefixCls: a
      } = N.useContext(Xr);
      return {
        rootPrefixCls: r(),
        iconPrefixCls: a
      };
    },
    useToken: () => {
      const [r, a, l, s, f] = Xs();
      return {
        theme: r,
        realToken: a,
        hashId: l,
        token: s,
        cssVar: f
      };
    },
    useCSP: () => {
      const {
        csp: r
      } = N.useContext(Xr);
      return r ?? {};
    },
    getResetStyles: (r, a) => {
      var l;
      return [{
        "&": Gz(r)
      }, Vk((l = a == null ? void 0 : a.prefix.iconPrefixCls) !== null && l !== void 0 ? l : z0)];
    },
    getCommonStyle: Qz,
    getCompUnitless: () => Hk
  }), Zz = (r, a) => {
    const [l, s] = Xs();
    return a1({
      theme: l,
      token: s,
      hashId: "",
      path: ["ant-design-icons", r],
      nonce: () => a == null ? void 0 : a.nonce,
      layer: {
        name: "antd"
      }
    }, () => [Vk(r)]);
  }, Jz = Object.assign({}, M0), {
    useId: GO
  } = Jz, ej = () => "", tj = typeof GO > "u" ? ej : GO;
  function nj(r, a, l) {
    var s, f;
    const m = zl("ConfigProvider"), p = r || {}, S = p.inherit === !1 || !a ? Object.assign(Object.assign({}, C1), {
      hashed: (s = a == null ? void 0 : a.hashed) !== null && s !== void 0 ? s : C1.hashed,
      cssVar: a == null ? void 0 : a.cssVar
    }) : a, C = tj();
    if (process.env.NODE_ENV !== "production") {
      const E = p.cssVar || S.cssVar, R = !!(typeof p.cssVar == "object" && (!((f = p.cssVar) === null || f === void 0) && f.key) || C);
      process.env.NODE_ENV !== "production" && m(!E || R, "breaking", "Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");
    }
    return W1(() => {
      var E, R;
      if (!r)
        return a;
      const T = Object.assign({}, S.components);
      Object.keys(r.components || {}).forEach((P) => {
        T[P] = Object.assign(Object.assign({}, T[P]), r.components[P]);
      });
      const _ = `css-var-${C.replace(/:/g, "")}`, A = ((E = p.cssVar) !== null && E !== void 0 ? E : S.cssVar) && Object.assign(Object.assign(Object.assign({
        prefix: l == null ? void 0 : l.prefixCls
      }, typeof S.cssVar == "object" ? S.cssVar : {}), typeof p.cssVar == "object" ? p.cssVar : {}), {
        key: typeof p.cssVar == "object" && ((R = p.cssVar) === null || R === void 0 ? void 0 : R.key) || _
      });
      return Object.assign(Object.assign(Object.assign({}, S), p), {
        token: Object.assign(Object.assign({}, S.token), p.token),
        components: T,
        cssVar: A
      });
    }, [p, S], (E, R) => E.some((T, _) => {
      const A = R[_];
      return !XE(T, A, !0);
    }));
  }
  var rj = ["children"], Wk = /* @__PURE__ */ N.createContext({});
  function aj(r) {
    var a = r.children, l = $l(r, rj);
    return /* @__PURE__ */ N.createElement(Wk.Provider, {
      value: l
    }, a);
  }
  var ij = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l() {
      return xa(this, l), a.apply(this, arguments);
    }
    return Ra(l, [{
      key: "render",
      value: function() {
        return this.props.children;
      }
    }]), l;
  }(N.Component);
  function oj(r) {
    var a = N.useReducer(function(S) {
      return S + 1;
    }, 0), l = lt(a, 2), s = l[1], f = N.useRef(r), m = ku(function() {
      return f.current;
    }), p = ku(function(S) {
      f.current = typeof S == "function" ? S(f.current) : S, s();
    });
    return [m, p];
  }
  var Bs = "none", i0 = "appear", o0 = "enter", l0 = "leave", QO = "none", Ko = "prepare", vv = "start", pv = "active", ox = "end", Yk = "prepared";
  function KO(r, a) {
    var l = {};
    return l[r.toLowerCase()] = a.toLowerCase(), l["Webkit".concat(r)] = "webkit".concat(a), l["Moz".concat(r)] = "moz".concat(a), l["ms".concat(r)] = "MS".concat(a), l["O".concat(r)] = "o".concat(a.toLowerCase()), l;
  }
  function lj(r, a) {
    var l = {
      animationend: KO("Animation", "AnimationEnd"),
      transitionend: KO("Transition", "TransitionEnd")
    };
    return r && ("AnimationEvent" in a || delete l.animationend.animation, "TransitionEvent" in a || delete l.transitionend.transition), l;
  }
  var uj = lj(ui(), typeof window < "u" ? window : {}), qk = {};
  if (ui()) {
    var sj = document.createElement("div");
    qk = sj.style;
  }
  var u0 = {};
  function Gk(r) {
    if (u0[r])
      return u0[r];
    var a = uj[r];
    if (a)
      for (var l = Object.keys(a), s = l.length, f = 0; f < s; f += 1) {
        var m = l[f];
        if (Object.prototype.hasOwnProperty.call(a, m) && m in qk)
          return u0[r] = a[m], u0[r];
      }
    return "";
  }
  var Qk = Gk("animationend"), Kk = Gk("transitionend"), Xk = !!(Qk && Kk), XO = Qk || "animationend", ZO = Kk || "transitionend";
  function JO(r, a) {
    if (!r) return null;
    if (kt(r) === "object") {
      var l = a.replace(/-\w/g, function(s) {
        return s[1].toUpperCase();
      });
      return r[l];
    }
    return "".concat(r, "-").concat(a);
  }
  const cj = function(r) {
    var a = N.useRef();
    function l(f) {
      f && (f.removeEventListener(ZO, r), f.removeEventListener(XO, r));
    }
    function s(f) {
      a.current && a.current !== f && l(a.current), f && f !== a.current && (f.addEventListener(ZO, r), f.addEventListener(XO, r), a.current = f);
    }
    return N.useEffect(function() {
      return function() {
        l(a.current);
      };
    }, []), [s, l];
  };
  var Zk = ui() ? N.useLayoutEffect : N.useEffect;
  const fj = function() {
    var r = N.useRef(null);
    function a() {
      Gs.cancel(r.current);
    }
    function l(s) {
      var f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
      a();
      var m = Gs(function() {
        f <= 1 ? s({
          isCanceled: function() {
            return m !== r.current;
          }
        }) : l(s, f - 1);
      });
      r.current = m;
    }
    return N.useEffect(function() {
      return function() {
        a();
      };
    }, []), [l, a];
  };
  var dj = [Ko, vv, pv, ox], vj = [Ko, Yk], Jk = !1, pj = !0;
  function eN(r) {
    return r === pv || r === ox;
  }
  const hj = function(r, a, l) {
    var s = Ev(QO), f = lt(s, 2), m = f[0], p = f[1], S = fj(), C = lt(S, 2), E = C[0], R = C[1];
    function T() {
      p(Ko, !0);
    }
    var _ = a ? vj : dj;
    return Zk(function() {
      if (m !== QO && m !== ox) {
        var A = _.indexOf(m), P = _[A + 1], L = l(m);
        L === Jk ? p(P, !0) : P && E(function(M) {
          function V() {
            M.isCanceled() || p(P, !0);
          }
          L === !0 ? V() : Promise.resolve(L).then(V);
        });
      }
    }, [r, m]), N.useEffect(function() {
      return function() {
        R();
      };
    }, []), [T, m];
  };
  function mj(r, a, l, s) {
    var f = s.motionEnter, m = f === void 0 ? !0 : f, p = s.motionAppear, S = p === void 0 ? !0 : p, C = s.motionLeave, E = C === void 0 ? !0 : C, R = s.motionDeadline, T = s.motionLeaveImmediately, _ = s.onAppearPrepare, A = s.onEnterPrepare, P = s.onLeavePrepare, L = s.onAppearStart, M = s.onEnterStart, V = s.onLeaveStart, $ = s.onAppearActive, j = s.onEnterActive, W = s.onLeaveActive, I = s.onAppearEnd, ee = s.onEnterEnd, Y = s.onLeaveEnd, ne = s.onVisibleChanged, ae = Ev(), ve = lt(ae, 2), ye = ve[0], Oe = ve[1], ge = oj(Bs), me = lt(ge, 2), Te = me[0], re = me[1], Q = Ev(null), q = lt(Q, 2), se = q[0], te = q[1], z = Te(), K = N.useRef(!1), Re = N.useRef(null);
    function we() {
      return l();
    }
    var Ue = N.useRef(!1);
    function Ke() {
      re(Bs), te(null, !0);
    }
    var Be = ku(function(Zt) {
      var qt = Te();
      if (qt !== Bs) {
        var sn = we();
        if (!(Zt && !Zt.deadline && Zt.target !== sn)) {
          var nr = Ue.current, bn;
          qt === i0 && nr ? bn = I == null ? void 0 : I(sn, Zt) : qt === o0 && nr ? bn = ee == null ? void 0 : ee(sn, Zt) : qt === l0 && nr && (bn = Y == null ? void 0 : Y(sn, Zt)), nr && bn !== !1 && Ke();
        }
      }
    }), vt = cj(Be), ut = lt(vt, 1), Tt = ut[0], pn = function(qt) {
      switch (qt) {
        case i0:
          return ue(ue(ue({}, Ko, _), vv, L), pv, $);
        case o0:
          return ue(ue(ue({}, Ko, A), vv, M), pv, j);
        case l0:
          return ue(ue(ue({}, Ko, P), vv, V), pv, W);
        default:
          return {};
      }
    }, on = N.useMemo(function() {
      return pn(z);
    }, [z]), Ut = hj(z, !r, function(Zt) {
      if (Zt === Ko) {
        var qt = on[Ko];
        return qt ? qt(we()) : Jk;
      }
      if ($t in on) {
        var sn;
        te(((sn = on[$t]) === null || sn === void 0 ? void 0 : sn.call(on, we(), null)) || null);
      }
      return $t === pv && z !== Bs && (Tt(we()), R > 0 && (clearTimeout(Re.current), Re.current = setTimeout(function() {
        Be({
          deadline: !0
        });
      }, R))), $t === Yk && Ke(), pj;
    }), ze = lt(Ut, 2), bt = ze[0], $t = ze[1], un = eN($t);
    Ue.current = un;
    var er = N.useRef(null);
    Zk(function() {
      if (!(K.current && er.current === a)) {
        Oe(a);
        var Zt = K.current;
        K.current = !0;
        var qt;
        !Zt && a && S && (qt = i0), Zt && a && m && (qt = o0), (Zt && !a && E || !Zt && T && !a && E) && (qt = l0);
        var sn = pn(qt);
        qt && (r || sn[Ko]) ? (re(qt), bt()) : re(Bs), er.current = a;
      }
    }, [a]), N.useEffect(function() {
      // Cancel appear
      (z === i0 && !S || // Cancel enter
      z === o0 && !m || // Cancel leave
      z === l0 && !E) && re(Bs);
    }, [S, m, E]), N.useEffect(function() {
      return function() {
        K.current = !1, clearTimeout(Re.current);
      };
    }, []);
    var tr = N.useRef(!1);
    N.useEffect(function() {
      ye && (tr.current = !0), ye !== void 0 && z === Bs && ((tr.current || ye) && (ne == null || ne(ye)), tr.current = !0);
    }, [ye, z]);
    var On = se;
    return on[Ko] && $t === vv && (On = Ce({
      transition: "none"
    }, On)), [z, $t, On, ye ?? a];
  }
  function gj(r) {
    var a = r;
    kt(r) === "object" && (a = r.transitionSupport);
    function l(f, m) {
      return !!(f.motionName && a && m !== !1);
    }
    var s = /* @__PURE__ */ N.forwardRef(function(f, m) {
      var p = f.visible, S = p === void 0 ? !0 : p, C = f.removeOnLeave, E = C === void 0 ? !0 : C, R = f.forceRender, T = f.children, _ = f.motionName, A = f.leavedClassName, P = f.eventProps, L = N.useContext(Wk), M = L.motion, V = l(f, M), $ = N.useRef(), j = N.useRef();
      function W() {
        try {
          return $.current instanceof HTMLElement ? $.current : TF(j.current);
        } catch {
          return null;
        }
      }
      var I = mj(V, S, W, f), ee = lt(I, 4), Y = ee[0], ne = ee[1], ae = ee[2], ve = ee[3], ye = N.useRef(ve);
      ve && (ye.current = !0);
      var Oe = N.useCallback(function(q) {
        $.current = q, q_(m, q);
      }, [m]), ge, me = Ce(Ce({}, P), {}, {
        visible: S
      });
      if (!T)
        ge = null;
      else if (Y === Bs)
        ve ? ge = T(Ce({}, me), Oe) : !E && ye.current && A ? ge = T(Ce(Ce({}, me), {}, {
          className: A
        }), Oe) : R || !E && !A ? ge = T(Ce(Ce({}, me), {}, {
          style: {
            display: "none"
          }
        }), Oe) : ge = null;
      else {
        var Te;
        ne === Ko ? Te = "prepare" : eN(ne) ? Te = "active" : ne === vv && (Te = "start");
        var re = JO(_, "".concat(Y, "-").concat(Te));
        ge = T(Ce(Ce({}, me), {}, {
          className: Lt(JO(_, Y), ue(ue({}, re, re && Te), _, typeof _ == "string")),
          style: ae
        }), Oe);
      }
      if (/* @__PURE__ */ N.isValidElement(ge) && G1(ge)) {
        var Q = Q_(ge);
        Q || (ge = /* @__PURE__ */ N.cloneElement(ge, {
          ref: Oe
        }));
      }
      return /* @__PURE__ */ N.createElement(ij, {
        ref: j
      }, ge);
    });
    return s.displayName = "CSSMotion", s;
  }
  const Xh = gj(Xk);
  var E1 = "add", x1 = "keep", R1 = "remove", kE = "removed";
  function yj(r) {
    var a;
    return r && kt(r) === "object" && "key" in r ? a = r : a = {
      key: r
    }, Ce(Ce({}, a), {}, {
      key: String(a.key)
    });
  }
  function w1() {
    var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
    return r.map(yj);
  }
  function Sj() {
    var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], l = [], s = 0, f = a.length, m = w1(r), p = w1(a);
    m.forEach(function(E) {
      for (var R = !1, T = s; T < f; T += 1) {
        var _ = p[T];
        if (_.key === E.key) {
          s < T && (l = l.concat(p.slice(s, T).map(function(A) {
            return Ce(Ce({}, A), {}, {
              status: E1
            });
          })), s = T), l.push(Ce(Ce({}, _), {}, {
            status: x1
          })), s += 1, R = !0;
          break;
        }
      }
      R || l.push(Ce(Ce({}, E), {}, {
        status: R1
      }));
    }), s < f && (l = l.concat(p.slice(s).map(function(E) {
      return Ce(Ce({}, E), {}, {
        status: E1
      });
    })));
    var S = {};
    l.forEach(function(E) {
      var R = E.key;
      S[R] = (S[R] || 0) + 1;
    });
    var C = Object.keys(S).filter(function(E) {
      return S[E] > 1;
    });
    return C.forEach(function(E) {
      l = l.filter(function(R) {
        var T = R.key, _ = R.status;
        return T !== E || _ !== R1;
      }), l.forEach(function(R) {
        R.key === E && (R.status = x1);
      });
    }), l;
  }
  var Cj = ["component", "children", "onVisibleChanged", "onAllRemoved"], bj = ["status"], Ej = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
  function xj(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Xh, l = /* @__PURE__ */ function(s) {
      df(m, s);
      var f = vf(m);
      function m() {
        var p;
        xa(this, m);
        for (var S = arguments.length, C = new Array(S), E = 0; E < S; E++)
          C[E] = arguments[E];
        return p = f.call.apply(f, [this].concat(C)), ue(Yt(p), "state", {
          keyEntities: []
        }), ue(Yt(p), "removeKey", function(R) {
          p.setState(function(T) {
            var _ = T.keyEntities.map(function(A) {
              return A.key !== R ? A : Ce(Ce({}, A), {}, {
                status: kE
              });
            });
            return {
              keyEntities: _
            };
          }, function() {
            var T = p.state.keyEntities, _ = T.filter(function(A) {
              var P = A.status;
              return P !== kE;
            }).length;
            _ === 0 && p.props.onAllRemoved && p.props.onAllRemoved();
          });
        }), p;
      }
      return Ra(m, [{
        key: "render",
        value: function() {
          var S = this, C = this.state.keyEntities, E = this.props, R = E.component, T = E.children, _ = E.onVisibleChanged;
          E.onAllRemoved;
          var A = $l(E, Cj), P = R || N.Fragment, L = {};
          return Ej.forEach(function(M) {
            L[M] = A[M], delete A[M];
          }), delete A.keys, /* @__PURE__ */ N.createElement(P, A, C.map(function(M, V) {
            var $ = M.status, j = $l(M, bj), W = $ === E1 || $ === x1;
            return /* @__PURE__ */ N.createElement(a, cr({}, L, {
              key: j.key,
              visible: W,
              eventProps: j,
              onVisibleChanged: function(ee) {
                _ == null || _(ee, {
                  key: j.key
                }), ee || S.removeKey(j.key);
              }
            }), function(I, ee) {
              return T(Ce(Ce({}, I), {}, {
                index: V
              }), ee);
            });
          }));
        }
      }], [{
        key: "getDerivedStateFromProps",
        value: function(S, C) {
          var E = S.keys, R = C.keyEntities, T = w1(E), _ = Sj(R, T);
          return {
            keyEntities: _.filter(function(A) {
              var P = R.find(function(L) {
                var M = L.key;
                return A.key === M;
              });
              return !(P && P.status === kE && A.status === R1);
            })
          };
        }
      }]), m;
    }(N.Component);
    return ue(l, "defaultProps", {
      component: "div"
    }), l;
  }
  xj(Xk);
  function Rj(r) {
    const {
      children: a
    } = r, [, l] = Xs(), {
      motion: s
    } = l, f = N.useRef(!1);
    return f.current = f.current || s === !1, f.current ? /* @__PURE__ */ N.createElement(aj, {
      motion: s
    }, a) : a;
  }
  const tN = /* @__PURE__ */ N.memo((r) => {
    let {
      dropdownMatchSelectWidth: a
    } = r;
    return zl("ConfigProvider").deprecated(a === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth"), null;
  });
  process.env.NODE_ENV !== "production" && (tN.displayName = "PropWarning");
  const wj = process.env.NODE_ENV !== "production" ? tN : () => null;
  var Tj = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  let T1 = !1;
  const Oj = process.env.NODE_ENV !== "production" ? (r) => {
    process.env.NODE_ENV !== "production" && Qs(!T1, r, "Static function can not consume context like dynamic theme. Please use 'App' component instead.");
  } : (
    /* istanbul ignore next */
    null
  ), _j = ["getTargetContainer", "getPopupContainer", "renderEmpty", "input", "pagination", "form", "select", "button"];
  let w0, nN, rN, aN;
  function S0() {
    return w0 || x0;
  }
  function kj() {
    return nN || z0;
  }
  function Nj(r) {
    return Object.keys(r).some((a) => a.endsWith("Color"));
  }
  const Mj = (r) => {
    const {
      prefixCls: a,
      iconPrefixCls: l,
      theme: s,
      holderRender: f
    } = r;
    a !== void 0 && (w0 = a), l !== void 0 && (nN = l), "holderRender" in r && (aN = f), s && (Nj(s) ? (process.env.NODE_ENV !== "production" && Qs(!1, "ConfigProvider", "`config` of css variable theme is not work in v5. Please use new `theme` config instead."), wz(S0(), s)) : rN = s);
  }, Dj = () => ({
    getPrefixCls: (r, a) => a || (r ? `${S0()}-${r}` : S0()),
    getIconPrefixCls: kj,
    getRootPrefixCls: () => w0 || S0(),
    getTheme: () => rN,
    holderRender: aN
  }), Lj = (r) => {
    const {
      children: a,
      csp: l,
      autoInsertSpaceInButton: s,
      alert: f,
      anchor: m,
      form: p,
      locale: S,
      componentSize: C,
      direction: E,
      space: R,
      splitter: T,
      virtual: _,
      dropdownMatchSelectWidth: A,
      popupMatchSelectWidth: P,
      popupOverflow: L,
      legacyLocale: M,
      parentContext: V,
      iconPrefixCls: $,
      theme: j,
      componentDisabled: W,
      segmented: I,
      statistic: ee,
      spin: Y,
      calendar: ne,
      carousel: ae,
      cascader: ve,
      collapse: ye,
      typography: Oe,
      checkbox: ge,
      descriptions: me,
      divider: Te,
      drawer: re,
      skeleton: Q,
      steps: q,
      image: se,
      layout: te,
      list: z,
      mentions: K,
      modal: Re,
      progress: we,
      result: Ue,
      slider: Ke,
      breadcrumb: Be,
      menu: vt,
      pagination: ut,
      input: Tt,
      textArea: pn,
      empty: on,
      badge: Ut,
      radio: ze,
      rate: bt,
      switch: $t,
      transfer: un,
      avatar: er,
      message: tr,
      tag: On,
      table: Zt,
      card: qt,
      tabs: sn,
      timeline: nr,
      timePicker: bn,
      upload: Er,
      notification: zn,
      tree: xr,
      colorPicker: wa,
      datePicker: Nr,
      rangePicker: $e,
      flex: nt,
      wave: rt,
      dropdown: Pt,
      warning: Gt,
      tour: Qn,
      floatButtonGroup: jn,
      variant: mr,
      inputNumber: hn,
      treeSelect: fr
    } = r, mn = N.useCallback((nn, En) => {
      const {
        prefixCls: Mn
      } = r;
      if (En)
        return En;
      const Wn = Mn || V.getPrefixCls("");
      return nn ? `${Wn}-${nn}` : Wn;
    }, [V.getPrefixCls, r.prefixCls]), Jt = $ || V.iconPrefixCls || z0, la = l || V.csp;
    Zz(Jt, la);
    const Jr = nj(j, V.theme, {
      prefixCls: mn("")
    });
    process.env.NODE_ENV !== "production" && (T1 = T1 || !!Jr);
    const Ya = {
      csp: la,
      autoInsertSpaceInButton: s,
      alert: f,
      anchor: m,
      locale: S || M,
      direction: E,
      space: R,
      splitter: T,
      virtual: _,
      popupMatchSelectWidth: P ?? A,
      popupOverflow: L,
      getPrefixCls: mn,
      iconPrefixCls: Jt,
      theme: Jr,
      segmented: I,
      statistic: ee,
      spin: Y,
      calendar: ne,
      carousel: ae,
      cascader: ve,
      collapse: ye,
      typography: Oe,
      checkbox: ge,
      descriptions: me,
      divider: Te,
      drawer: re,
      skeleton: Q,
      steps: q,
      image: se,
      input: Tt,
      textArea: pn,
      layout: te,
      list: z,
      mentions: K,
      modal: Re,
      progress: we,
      result: Ue,
      slider: Ke,
      breadcrumb: Be,
      menu: vt,
      pagination: ut,
      empty: on,
      badge: Ut,
      radio: ze,
      rate: bt,
      switch: $t,
      transfer: un,
      avatar: er,
      message: tr,
      tag: On,
      table: Zt,
      card: qt,
      tabs: sn,
      timeline: nr,
      timePicker: bn,
      upload: Er,
      notification: zn,
      tree: xr,
      colorPicker: wa,
      datePicker: Nr,
      rangePicker: $e,
      flex: nt,
      wave: rt,
      dropdown: Pt,
      warning: Gt,
      tour: Qn,
      floatButtonGroup: jn,
      variant: mr,
      inputNumber: hn,
      treeSelect: fr
    };
    process.env.NODE_ENV !== "production" && zl("ConfigProvider")(!("autoInsertSpaceInButton" in r), "deprecated", "`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");
    const qa = Object.assign({}, V);
    Object.keys(Ya).forEach((nn) => {
      Ya[nn] !== void 0 && (qa[nn] = Ya[nn]);
    }), _j.forEach((nn) => {
      const En = r[nn];
      En && (qa[nn] = En);
    }), typeof s < "u" && (qa.button = Object.assign({
      autoInsertSpace: s
    }, qa.button));
    const Ta = W1(() => qa, qa, (nn, En) => {
      const Mn = Object.keys(nn), Wn = Object.keys(En);
      return Mn.length !== Wn.length || Mn.some((ua) => nn[ua] !== En[ua]);
    }), Ai = N.useMemo(() => ({
      prefixCls: Jt,
      csp: la
    }), [Jt, la]);
    let Hn = /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(wj, {
      dropdownMatchSelectWidth: A
    }), a);
    const ea = N.useMemo(() => {
      var nn, En, Mn, Wn;
      return dv(((nn = ff.Form) === null || nn === void 0 ? void 0 : nn.defaultValidateMessages) || {}, ((Mn = (En = Ta.locale) === null || En === void 0 ? void 0 : En.Form) === null || Mn === void 0 ? void 0 : Mn.defaultValidateMessages) || {}, ((Wn = Ta.form) === null || Wn === void 0 ? void 0 : Wn.validateMessages) || {}, (p == null ? void 0 : p.validateMessages) || {});
    }, [Ta, p == null ? void 0 : p.validateMessages]);
    Object.keys(ea).length > 0 && (Hn = /* @__PURE__ */ N.createElement(W$.Provider, {
      value: ea
    }, Hn)), S && (Hn = /* @__PURE__ */ N.createElement(_k, {
      locale: S,
      _ANT_MARK__: Ok
    }, Hn)), Hn = /* @__PURE__ */ N.createElement(nx.Provider, {
      value: Ai
    }, Hn), C && (Hn = /* @__PURE__ */ N.createElement(Tz, {
      size: C
    }, Hn)), Hn = /* @__PURE__ */ N.createElement(Rj, null, Hn);
    const Ga = N.useMemo(() => {
      const nn = Jr || {}, {
        algorithm: En,
        token: Mn,
        components: Wn,
        cssVar: ua
      } = nn, B = Tj(nn, ["algorithm", "token", "components", "cssVar"]), Ne = En && (!Array.isArray(En) || En.length > 0) ? JE(En) : Lk, je = {};
      Object.entries(Wn || {}).forEach((Nt) => {
        let [Vt, Mt] = Nt;
        const Je = Object.assign({}, Mt);
        "algorithm" in Je && (Je.algorithm === !0 ? Je.theme = Ne : (Array.isArray(Je.algorithm) || typeof Je.algorithm == "function") && (Je.theme = JE(Je.algorithm)), delete Je.algorithm), je[Vt] = Je;
      });
      const Ye = Object.assign(Object.assign({}, Qh), Mn);
      return Object.assign(Object.assign({}, B), {
        theme: Ne,
        token: Ye,
        components: je,
        override: Object.assign({
          override: Ye
        }, je),
        cssVar: ua
      });
    }, [Jr]);
    return j && (Hn = /* @__PURE__ */ N.createElement(Ak.Provider, {
      value: Ga
    }, Hn)), Ta.warning && (Hn = /* @__PURE__ */ N.createElement(Rk.Provider, {
      value: Ta.warning
    }, Hn)), W !== void 0 && (Hn = /* @__PURE__ */ N.createElement(Pk, {
      disabled: W
    }, Hn)), /* @__PURE__ */ N.createElement(Xr.Provider, {
      value: Ta
    }, Hn);
  }, Mu = (r) => {
    const a = N.useContext(Xr), l = N.useContext(rx);
    return /* @__PURE__ */ N.createElement(Lj, Object.assign({
      parentContext: a,
      legacyLocale: l
    }, r));
  };
  Mu.ConfigContext = Xr;
  Mu.SizeContext = bv;
  Mu.config = Mj;
  Mu.useConfig = Oz;
  Object.defineProperty(Mu, "SizeContext", {
    get: () => (process.env.NODE_ENV !== "production" && Qs(!1, "ConfigProvider", "ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."), bv)
  });
  process.env.NODE_ENV !== "production" && (Mu.displayName = "ConfigProvider");
  var Aj = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, name: "check-circle", theme: "filled" };
  function iN(r) {
    var a;
    return r == null || (a = r.getRootNode) === null || a === void 0 ? void 0 : a.call(r);
  }
  function Pj(r) {
    return iN(r) instanceof ShadowRoot;
  }
  function Fj(r) {
    return Pj(r) ? iN(r) : null;
  }
  function $j(r) {
    return r.replace(/-(.)/g, function(a, l) {
      return l.toUpperCase();
    });
  }
  function zj(r, a) {
    sr(r, "[@ant-design/icons] ".concat(a));
  }
  function e_(r) {
    return kt(r) === "object" && typeof r.name == "string" && typeof r.theme == "string" && (kt(r.icon) === "object" || typeof r.icon == "function");
  }
  function t_() {
    var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
    return Object.keys(r).reduce(function(a, l) {
      var s = r[l];
      switch (l) {
        case "class":
          a.className = s, delete a.class;
          break;
        default:
          delete a[l], a[$j(l)] = s;
      }
      return a;
    }, {});
  }
  function O1(r, a, l) {
    return l ? /* @__PURE__ */ _e.createElement(r.tag, Ce(Ce({
      key: a
    }, t_(r.attrs)), l), (r.children || []).map(function(s, f) {
      return O1(s, "".concat(a, "-").concat(r.tag, "-").concat(f));
    })) : /* @__PURE__ */ _e.createElement(r.tag, Ce({
      key: a
    }, t_(r.attrs)), (r.children || []).map(function(s, f) {
      return O1(s, "".concat(a, "-").concat(r.tag, "-").concat(f));
    }));
  }
  function oN(r) {
    return Gh(r)[0];
  }
  function lN(r) {
    return r ? Array.isArray(r) ? r : [r] : [];
  }
  var jj = `
.anticon {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -0.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.anticon > * {
  line-height: 1;
}

.anticon svg {
  display: inline-block;
}

.anticon::before {
  display: none;
}

.anticon .anticon-icon {
  display: block;
}

.anticon[tabindex] {
  cursor: pointer;
}

.anticon-spin::before,
.anticon-spin {
  display: inline-block;
  -webkit-animation: loadingCircle 1s infinite linear;
  animation: loadingCircle 1s infinite linear;
}

@-webkit-keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loadingCircle {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
`, Hj = function(a) {
    var l = N.useContext(nx), s = l.csp, f = l.prefixCls, m = jj;
    f && (m = m.replace(/anticon/g, f)), N.useEffect(function() {
      var p = a.current, S = Fj(p);
      _u(m, "@ant-design-icons", {
        prepend: !0,
        csp: s,
        attachTo: S
      });
    }, []);
  }, Ij = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], zh = {
    primaryColor: "#333",
    secondaryColor: "#E6E6E6",
    calculated: !1
  };
  function Uj(r) {
    var a = r.primaryColor, l = r.secondaryColor;
    zh.primaryColor = a, zh.secondaryColor = l || oN(a), zh.calculated = !!l;
  }
  function Vj() {
    return Ce({}, zh);
  }
  var Tv = function(a) {
    var l = a.icon, s = a.className, f = a.onClick, m = a.style, p = a.primaryColor, S = a.secondaryColor, C = $l(a, Ij), E = N.useRef(), R = zh;
    if (p && (R = {
      primaryColor: p,
      secondaryColor: S || oN(p)
    }), Hj(E), zj(e_(l), "icon should be icon definiton, but got ".concat(l)), !e_(l))
      return null;
    var T = l;
    return T && typeof T.icon == "function" && (T = Ce(Ce({}, T), {}, {
      icon: T.icon(R.primaryColor, R.secondaryColor)
    })), O1(T.icon, "svg-".concat(T.name), Ce(Ce({
      className: s,
      onClick: f,
      style: m,
      "data-icon": T.name,
      width: "1em",
      height: "1em",
      fill: "currentColor",
      "aria-hidden": "true"
    }, C), {}, {
      ref: E
    }));
  };
  Tv.displayName = "IconReact";
  Tv.getTwoToneColors = Vj;
  Tv.setTwoToneColors = Uj;
  function uN(r) {
    var a = lN(r), l = lt(a, 2), s = l[0], f = l[1];
    return Tv.setTwoToneColors({
      primaryColor: s,
      secondaryColor: f
    });
  }
  function Bj() {
    var r = Tv.getTwoToneColors();
    return r.calculated ? [r.primaryColor, r.secondaryColor] : r.primaryColor;
  }
  var Wj = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
  uN(E0.primary);
  var Du = /* @__PURE__ */ N.forwardRef(function(r, a) {
    var l = r.className, s = r.icon, f = r.spin, m = r.rotate, p = r.tabIndex, S = r.onClick, C = r.twoToneColor, E = $l(r, Wj), R = N.useContext(nx), T = R.prefixCls, _ = T === void 0 ? "anticon" : T, A = R.rootClassName, P = Lt(A, _, ue(ue({}, "".concat(_, "-").concat(s.name), !!s.name), "".concat(_, "-spin"), !!f || s.name === "loading"), l), L = p;
    L === void 0 && S && (L = -1);
    var M = m ? {
      msTransform: "rotate(".concat(m, "deg)"),
      transform: "rotate(".concat(m, "deg)")
    } : void 0, V = lN(C), $ = lt(V, 2), j = $[0], W = $[1];
    return /* @__PURE__ */ N.createElement("span", cr({
      role: "img",
      "aria-label": s.name
    }, E, {
      ref: a,
      tabIndex: L,
      onClick: S,
      className: P
    }), /* @__PURE__ */ N.createElement(Tv, {
      icon: s,
      primaryColor: j,
      secondaryColor: W,
      style: M
    }));
  });
  Du.displayName = "AntdIcon";
  Du.getTwoToneColor = Bj;
  Du.setTwoToneColor = uN;
  var Yj = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: Aj
    }));
  }, sN = /* @__PURE__ */ N.forwardRef(Yj);
  process.env.NODE_ENV !== "production" && (sN.displayName = "CheckCircleFilled");
  var qj = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" }, Gj = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: qj
    }));
  }, cN = /* @__PURE__ */ N.forwardRef(Gj);
  process.env.NODE_ENV !== "production" && (cN.displayName = "CloseCircleFilled");
  var Qj = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" }, Kj = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: Qj
    }));
  }, j0 = /* @__PURE__ */ N.forwardRef(Kj);
  process.env.NODE_ENV !== "production" && (j0.displayName = "CloseOutlined");
  var Xj = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" }, Zj = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: Xj
    }));
  }, fN = /* @__PURE__ */ N.forwardRef(Zj);
  process.env.NODE_ENV !== "production" && (fN.displayName = "ExclamationCircleFilled");
  var Jj = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" }, e4 = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: Jj
    }));
  }, dN = /* @__PURE__ */ N.forwardRef(e4);
  process.env.NODE_ENV !== "production" && (dN.displayName = "InfoCircleFilled");
  var t4 = `accept acceptCharset accessKey action allowFullScreen allowTransparency
    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
    charSet checked classID className colSpan cols content contentEditable contextMenu
    controls coords crossOrigin data dateTime default defer dir disabled download draggable
    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
    mediaGroup method min minLength multiple muted name noValidate nonce open
    optimum pattern placeholder poster preload radioGroup readOnly rel required
    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
    summary tabIndex target title type useMap value width wmode wrap`, n4 = `onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`, r4 = "".concat(t4, " ").concat(n4).split(/[\s\n]+/), a4 = "aria-", i4 = "data-";
  function n_(r, a) {
    return r.indexOf(a) === 0;
  }
  function lx(r) {
    var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, l;
    a === !1 ? l = {
      aria: !0,
      data: !0,
      attr: !0
    } : a === !0 ? l = {
      aria: !0
    } : l = Ce({}, a);
    var s = {};
    return Object.keys(r).forEach(function(f) {
      // Aria
      (l.aria && (f === "role" || n_(f, a4)) || // Data
      l.data && n_(f, i4) || // Attr
      l.attr && r4.includes(f)) && (s[f] = r[f]);
    }), s;
  }
  function o4(r) {
    return r && /* @__PURE__ */ _e.isValidElement(r) && r.type === _e.Fragment;
  }
  const l4 = (r, a, l) => /* @__PURE__ */ _e.isValidElement(r) ? /* @__PURE__ */ _e.cloneElement(r, typeof l == "function" ? l(r.props || {}) : l) : a;
  function vN(r, a) {
    return l4(r, r, a);
  }
  const pN = (r) => {
    const [, , , , a] = Xs();
    return a ? `${r}-css-var` : "";
  };
  var wt = {
    /**
     * MAC_ENTER
     */
    MAC_ENTER: 3,
    /**
     * BACKSPACE
     */
    BACKSPACE: 8,
    /**
     * TAB
     */
    TAB: 9,
    /**
     * NUMLOCK on FF/Safari Mac
     */
    NUM_CENTER: 12,
    // NUMLOCK on FF/Safari Mac
    /**
     * ENTER
     */
    ENTER: 13,
    /**
     * SHIFT
     */
    SHIFT: 16,
    /**
     * CTRL
     */
    CTRL: 17,
    /**
     * ALT
     */
    ALT: 18,
    /**
     * PAUSE
     */
    PAUSE: 19,
    /**
     * CAPS_LOCK
     */
    CAPS_LOCK: 20,
    /**
     * ESC
     */
    ESC: 27,
    /**
     * SPACE
     */
    SPACE: 32,
    /**
     * PAGE_UP
     */
    PAGE_UP: 33,
    // also NUM_NORTH_EAST
    /**
     * PAGE_DOWN
     */
    PAGE_DOWN: 34,
    // also NUM_SOUTH_EAST
    /**
     * END
     */
    END: 35,
    // also NUM_SOUTH_WEST
    /**
     * HOME
     */
    HOME: 36,
    // also NUM_NORTH_WEST
    /**
     * LEFT
     */
    LEFT: 37,
    // also NUM_WEST
    /**
     * UP
     */
    UP: 38,
    // also NUM_NORTH
    /**
     * RIGHT
     */
    RIGHT: 39,
    // also NUM_EAST
    /**
     * DOWN
     */
    DOWN: 40,
    // also NUM_SOUTH
    /**
     * PRINT_SCREEN
     */
    PRINT_SCREEN: 44,
    /**
     * INSERT
     */
    INSERT: 45,
    // also NUM_INSERT
    /**
     * DELETE
     */
    DELETE: 46,
    // also NUM_DELETE
    /**
     * ZERO
     */
    ZERO: 48,
    /**
     * ONE
     */
    ONE: 49,
    /**
     * TWO
     */
    TWO: 50,
    /**
     * THREE
     */
    THREE: 51,
    /**
     * FOUR
     */
    FOUR: 52,
    /**
     * FIVE
     */
    FIVE: 53,
    /**
     * SIX
     */
    SIX: 54,
    /**
     * SEVEN
     */
    SEVEN: 55,
    /**
     * EIGHT
     */
    EIGHT: 56,
    /**
     * NINE
     */
    NINE: 57,
    /**
     * QUESTION_MARK
     */
    QUESTION_MARK: 63,
    // needs localization
    /**
     * A
     */
    A: 65,
    /**
     * B
     */
    B: 66,
    /**
     * C
     */
    C: 67,
    /**
     * D
     */
    D: 68,
    /**
     * E
     */
    E: 69,
    /**
     * F
     */
    F: 70,
    /**
     * G
     */
    G: 71,
    /**
     * H
     */
    H: 72,
    /**
     * I
     */
    I: 73,
    /**
     * J
     */
    J: 74,
    /**
     * K
     */
    K: 75,
    /**
     * L
     */
    L: 76,
    /**
     * M
     */
    M: 77,
    /**
     * N
     */
    N: 78,
    /**
     * O
     */
    O: 79,
    /**
     * P
     */
    P: 80,
    /**
     * Q
     */
    Q: 81,
    /**
     * R
     */
    R: 82,
    /**
     * S
     */
    S: 83,
    /**
     * T
     */
    T: 84,
    /**
     * U
     */
    U: 85,
    /**
     * V
     */
    V: 86,
    /**
     * W
     */
    W: 87,
    /**
     * X
     */
    X: 88,
    /**
     * Y
     */
    Y: 89,
    /**
     * Z
     */
    Z: 90,
    /**
     * META
     */
    META: 91,
    // WIN_KEY_LEFT
    /**
     * WIN_KEY_RIGHT
     */
    WIN_KEY_RIGHT: 92,
    /**
     * CONTEXT_MENU
     */
    CONTEXT_MENU: 93,
    /**
     * NUM_ZERO
     */
    NUM_ZERO: 96,
    /**
     * NUM_ONE
     */
    NUM_ONE: 97,
    /**
     * NUM_TWO
     */
    NUM_TWO: 98,
    /**
     * NUM_THREE
     */
    NUM_THREE: 99,
    /**
     * NUM_FOUR
     */
    NUM_FOUR: 100,
    /**
     * NUM_FIVE
     */
    NUM_FIVE: 101,
    /**
     * NUM_SIX
     */
    NUM_SIX: 102,
    /**
     * NUM_SEVEN
     */
    NUM_SEVEN: 103,
    /**
     * NUM_EIGHT
     */
    NUM_EIGHT: 104,
    /**
     * NUM_NINE
     */
    NUM_NINE: 105,
    /**
     * NUM_MULTIPLY
     */
    NUM_MULTIPLY: 106,
    /**
     * NUM_PLUS
     */
    NUM_PLUS: 107,
    /**
     * NUM_MINUS
     */
    NUM_MINUS: 109,
    /**
     * NUM_PERIOD
     */
    NUM_PERIOD: 110,
    /**
     * NUM_DIVISION
     */
    NUM_DIVISION: 111,
    /**
     * F1
     */
    F1: 112,
    /**
     * F2
     */
    F2: 113,
    /**
     * F3
     */
    F3: 114,
    /**
     * F4
     */
    F4: 115,
    /**
     * F5
     */
    F5: 116,
    /**
     * F6
     */
    F6: 117,
    /**
     * F7
     */
    F7: 118,
    /**
     * F8
     */
    F8: 119,
    /**
     * F9
     */
    F9: 120,
    /**
     * F10
     */
    F10: 121,
    /**
     * F11
     */
    F11: 122,
    /**
     * F12
     */
    F12: 123,
    /**
     * NUMLOCK
     */
    NUMLOCK: 144,
    /**
     * SEMICOLON
     */
    SEMICOLON: 186,
    // needs localization
    /**
     * DASH
     */
    DASH: 189,
    // needs localization
    /**
     * EQUALS
     */
    EQUALS: 187,
    // needs localization
    /**
     * COMMA
     */
    COMMA: 188,
    // needs localization
    /**
     * PERIOD
     */
    PERIOD: 190,
    // needs localization
    /**
     * SLASH
     */
    SLASH: 191,
    // needs localization
    /**
     * APOSTROPHE
     */
    APOSTROPHE: 192,
    // needs localization
    /**
     * SINGLE_QUOTE
     */
    SINGLE_QUOTE: 222,
    // needs localization
    /**
     * OPEN_SQUARE_BRACKET
     */
    OPEN_SQUARE_BRACKET: 219,
    // needs localization
    /**
     * BACKSLASH
     */
    BACKSLASH: 220,
    // needs localization
    /**
     * CLOSE_SQUARE_BRACKET
     */
    CLOSE_SQUARE_BRACKET: 221,
    // needs localization
    /**
     * WIN_KEY
     */
    WIN_KEY: 224,
    /**
     * MAC_FF_META
     */
    MAC_FF_META: 224,
    // Firefox (Gecko) fires this for the meta key instead of 91
    /**
     * WIN_IME
     */
    WIN_IME: 229,
    // ======================== Function ========================
    /**
     * whether text and modified key is entered at the same time.
     */
    isTextModifyingKeyEvent: function(a) {
      var l = a.keyCode;
      if (a.altKey && !a.ctrlKey || a.metaKey || // Function keys don't generate text
      l >= wt.F1 && l <= wt.F12)
        return !1;
      switch (l) {
        case wt.ALT:
        case wt.CAPS_LOCK:
        case wt.CONTEXT_MENU:
        case wt.CTRL:
        case wt.DOWN:
        case wt.END:
        case wt.ESC:
        case wt.HOME:
        case wt.INSERT:
        case wt.LEFT:
        case wt.MAC_FF_META:
        case wt.META:
        case wt.NUMLOCK:
        case wt.NUM_CENTER:
        case wt.PAGE_DOWN:
        case wt.PAGE_UP:
        case wt.PAUSE:
        case wt.PRINT_SCREEN:
        case wt.RIGHT:
        case wt.SHIFT:
        case wt.UP:
        case wt.WIN_KEY:
        case wt.WIN_KEY_RIGHT:
          return !1;
        default:
          return !0;
      }
    },
    /**
     * whether character is entered.
     */
    isCharacterKey: function(a) {
      if (a >= wt.ZERO && a <= wt.NINE || a >= wt.NUM_ZERO && a <= wt.NUM_MULTIPLY || a >= wt.A && a <= wt.Z || window.navigator.userAgent.indexOf("WebKit") !== -1 && a === 0)
        return !0;
      switch (a) {
        case wt.SPACE:
        case wt.QUESTION_MARK:
        case wt.NUM_PLUS:
        case wt.NUM_MINUS:
        case wt.NUM_PERIOD:
        case wt.NUM_DIVISION:
        case wt.SEMICOLON:
        case wt.DASH:
        case wt.EQUALS:
        case wt.COMMA:
        case wt.PERIOD:
        case wt.SLASH:
        case wt.APOSTROPHE:
        case wt.SINGLE_QUOTE:
        case wt.OPEN_SQUARE_BRACKET:
        case wt.BACKSLASH:
        case wt.CLOSE_SQUARE_BRACKET:
          return !0;
        default:
          return !1;
      }
    }
  }, u4 = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" }, s4 = function(a, l) {
    return /* @__PURE__ */ N.createElement(Du, cr({}, a, {
      ref: l,
      icon: u4
    }));
  }, hN = /* @__PURE__ */ N.forwardRef(s4);
  process.env.NODE_ENV !== "production" && (hN.displayName = "LoadingOutlined");
  const ux = /* @__PURE__ */ _e.createContext(void 0);
  process.env.NODE_ENV !== "production" && (ux.displayName = "zIndexContext");
  const Ou = 100, c4 = 10, mN = Ou * c4, f4 = mN + Ou, gN = {
    Modal: Ou,
    Drawer: Ou,
    Popover: Ou,
    Popconfirm: Ou,
    Tooltip: Ou,
    Tour: Ou,
    FloatButton: Ou
  }, d4 = {
    SelectLike: 50,
    Dropdown: 50,
    DatePicker: 50,
    Menu: 50,
    ImagePreview: 1
  };
  function v4(r) {
    return r in gN;
  }
  const p4 = (r, a) => {
    const [, l] = Xs(), s = _e.useContext(ux), f = v4(r);
    let m;
    if (a !== void 0)
      m = [a, a];
    else {
      let p = s ?? 0;
      f ? p += // Use preset token zIndex by default but not stack when has parent container
      (s ? 0 : l.zIndexPopupBase) + // Container offset
      gN[r] : p += d4[r], m = [s === void 0 ? a : p, p];
    }
    if (process.env.NODE_ENV !== "production") {
      const p = zl(r), S = l.zIndexPopupBase + f4, C = m[0] || 0;
      process.env.NODE_ENV !== "production" && p(a !== void 0 || C <= S, "usage", "`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");
    }
    return m;
  };
  function h4() {
    const [r, a] = N.useState([]), l = N.useCallback((s) => (a((f) => [].concat(mt(f), [s])), () => {
      a((f) => f.filter((m) => m !== s));
    }), []);
    return [r, l];
  }
  function si() {
    si = function() {
      return a;
    };
    var r, a = {}, l = Object.prototype, s = l.hasOwnProperty, f = Object.defineProperty || function(re, Q, q) {
      re[Q] = q.value;
    }, m = typeof Symbol == "function" ? Symbol : {}, p = m.iterator || "@@iterator", S = m.asyncIterator || "@@asyncIterator", C = m.toStringTag || "@@toStringTag";
    function E(re, Q, q) {
      return Object.defineProperty(re, Q, {
        value: q,
        enumerable: !0,
        configurable: !0,
        writable: !0
      }), re[Q];
    }
    try {
      E({}, "");
    } catch {
      E = function(q, se, te) {
        return q[se] = te;
      };
    }
    function R(re, Q, q, se) {
      var te = Q && Q.prototype instanceof V ? Q : V, z = Object.create(te.prototype), K = new me(se || []);
      return f(z, "_invoke", {
        value: ve(re, q, K)
      }), z;
    }
    function T(re, Q, q) {
      try {
        return {
          type: "normal",
          arg: re.call(Q, q)
        };
      } catch (se) {
        return {
          type: "throw",
          arg: se
        };
      }
    }
    a.wrap = R;
    var _ = "suspendedStart", A = "suspendedYield", P = "executing", L = "completed", M = {};
    function V() {
    }
    function $() {
    }
    function j() {
    }
    var W = {};
    E(W, p, function() {
      return this;
    });
    var I = Object.getPrototypeOf, ee = I && I(I(Te([])));
    ee && ee !== l && s.call(ee, p) && (W = ee);
    var Y = j.prototype = V.prototype = Object.create(W);
    function ne(re) {
      ["next", "throw", "return"].forEach(function(Q) {
        E(re, Q, function(q) {
          return this._invoke(Q, q);
        });
      });
    }
    function ae(re, Q) {
      function q(te, z, K, Re) {
        var we = T(re[te], re, z);
        if (we.type !== "throw") {
          var Ue = we.arg, Ke = Ue.value;
          return Ke && kt(Ke) == "object" && s.call(Ke, "__await") ? Q.resolve(Ke.__await).then(function(Be) {
            q("next", Be, K, Re);
          }, function(Be) {
            q("throw", Be, K, Re);
          }) : Q.resolve(Ke).then(function(Be) {
            Ue.value = Be, K(Ue);
          }, function(Be) {
            return q("throw", Be, K, Re);
          });
        }
        Re(we.arg);
      }
      var se;
      f(this, "_invoke", {
        value: function(z, K) {
          function Re() {
            return new Q(function(we, Ue) {
              q(z, K, we, Ue);
            });
          }
          return se = se ? se.then(Re, Re) : Re();
        }
      });
    }
    function ve(re, Q, q) {
      var se = _;
      return function(te, z) {
        if (se === P) throw Error("Generator is already running");
        if (se === L) {
          if (te === "throw") throw z;
          return {
            value: r,
            done: !0
          };
        }
        for (q.method = te, q.arg = z; ; ) {
          var K = q.delegate;
          if (K) {
            var Re = ye(K, q);
            if (Re) {
              if (Re === M) continue;
              return Re;
            }
          }
          if (q.method === "next") q.sent = q._sent = q.arg;
          else if (q.method === "throw") {
            if (se === _) throw se = L, q.arg;
            q.dispatchException(q.arg);
          } else q.method === "return" && q.abrupt("return", q.arg);
          se = P;
          var we = T(re, Q, q);
          if (we.type === "normal") {
            if (se = q.done ? L : A, we.arg === M) continue;
            return {
              value: we.arg,
              done: q.done
            };
          }
          we.type === "throw" && (se = L, q.method = "throw", q.arg = we.arg);
        }
      };
    }
    function ye(re, Q) {
      var q = Q.method, se = re.iterator[q];
      if (se === r) return Q.delegate = null, q === "throw" && re.iterator.return && (Q.method = "return", Q.arg = r, ye(re, Q), Q.method === "throw") || q !== "return" && (Q.method = "throw", Q.arg = new TypeError("The iterator does not provide a '" + q + "' method")), M;
      var te = T(se, re.iterator, Q.arg);
      if (te.type === "throw") return Q.method = "throw", Q.arg = te.arg, Q.delegate = null, M;
      var z = te.arg;
      return z ? z.done ? (Q[re.resultName] = z.value, Q.next = re.nextLoc, Q.method !== "return" && (Q.method = "next", Q.arg = r), Q.delegate = null, M) : z : (Q.method = "throw", Q.arg = new TypeError("iterator result is not an object"), Q.delegate = null, M);
    }
    function Oe(re) {
      var Q = {
        tryLoc: re[0]
      };
      1 in re && (Q.catchLoc = re[1]), 2 in re && (Q.finallyLoc = re[2], Q.afterLoc = re[3]), this.tryEntries.push(Q);
    }
    function ge(re) {
      var Q = re.completion || {};
      Q.type = "normal", delete Q.arg, re.completion = Q;
    }
    function me(re) {
      this.tryEntries = [{
        tryLoc: "root"
      }], re.forEach(Oe, this), this.reset(!0);
    }
    function Te(re) {
      if (re || re === "") {
        var Q = re[p];
        if (Q) return Q.call(re);
        if (typeof re.next == "function") return re;
        if (!isNaN(re.length)) {
          var q = -1, se = function te() {
            for (; ++q < re.length; ) if (s.call(re, q)) return te.value = re[q], te.done = !1, te;
            return te.value = r, te.done = !0, te;
          };
          return se.next = se;
        }
      }
      throw new TypeError(kt(re) + " is not iterable");
    }
    return $.prototype = j, f(Y, "constructor", {
      value: j,
      configurable: !0
    }), f(j, "constructor", {
      value: $,
      configurable: !0
    }), $.displayName = E(j, C, "GeneratorFunction"), a.isGeneratorFunction = function(re) {
      var Q = typeof re == "function" && re.constructor;
      return !!Q && (Q === $ || (Q.displayName || Q.name) === "GeneratorFunction");
    }, a.mark = function(re) {
      return Object.setPrototypeOf ? Object.setPrototypeOf(re, j) : (re.__proto__ = j, E(re, C, "GeneratorFunction")), re.prototype = Object.create(Y), re;
    }, a.awrap = function(re) {
      return {
        __await: re
      };
    }, ne(ae.prototype), E(ae.prototype, S, function() {
      return this;
    }), a.AsyncIterator = ae, a.async = function(re, Q, q, se, te) {
      te === void 0 && (te = Promise);
      var z = new ae(R(re, Q, q, se), te);
      return a.isGeneratorFunction(Q) ? z : z.next().then(function(K) {
        return K.done ? K.value : z.next();
      });
    }, ne(Y), E(Y, C, "Generator"), E(Y, p, function() {
      return this;
    }), E(Y, "toString", function() {
      return "[object Generator]";
    }), a.keys = function(re) {
      var Q = Object(re), q = [];
      for (var se in Q) q.push(se);
      return q.reverse(), function te() {
        for (; q.length; ) {
          var z = q.pop();
          if (z in Q) return te.value = z, te.done = !1, te;
        }
        return te.done = !0, te;
      };
    }, a.values = Te, me.prototype = {
      constructor: me,
      reset: function(Q) {
        if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done = !1, this.delegate = null, this.method = "next", this.arg = r, this.tryEntries.forEach(ge), !Q) for (var q in this) q.charAt(0) === "t" && s.call(this, q) && !isNaN(+q.slice(1)) && (this[q] = r);
      },
      stop: function() {
        this.done = !0;
        var Q = this.tryEntries[0].completion;
        if (Q.type === "throw") throw Q.arg;
        return this.rval;
      },
      dispatchException: function(Q) {
        if (this.done) throw Q;
        var q = this;
        function se(Ue, Ke) {
          return K.type = "throw", K.arg = Q, q.next = Ue, Ke && (q.method = "next", q.arg = r), !!Ke;
        }
        for (var te = this.tryEntries.length - 1; te >= 0; --te) {
          var z = this.tryEntries[te], K = z.completion;
          if (z.tryLoc === "root") return se("end");
          if (z.tryLoc <= this.prev) {
            var Re = s.call(z, "catchLoc"), we = s.call(z, "finallyLoc");
            if (Re && we) {
              if (this.prev < z.catchLoc) return se(z.catchLoc, !0);
              if (this.prev < z.finallyLoc) return se(z.finallyLoc);
            } else if (Re) {
              if (this.prev < z.catchLoc) return se(z.catchLoc, !0);
            } else {
              if (!we) throw Error("try statement without catch or finally");
              if (this.prev < z.finallyLoc) return se(z.finallyLoc);
            }
          }
        }
      },
      abrupt: function(Q, q) {
        for (var se = this.tryEntries.length - 1; se >= 0; --se) {
          var te = this.tryEntries[se];
          if (te.tryLoc <= this.prev && s.call(te, "finallyLoc") && this.prev < te.finallyLoc) {
            var z = te;
            break;
          }
        }
        z && (Q === "break" || Q === "continue") && z.tryLoc <= q && q <= z.finallyLoc && (z = null);
        var K = z ? z.completion : {};
        return K.type = Q, K.arg = q, z ? (this.method = "next", this.next = z.finallyLoc, M) : this.complete(K);
      },
      complete: function(Q, q) {
        if (Q.type === "throw") throw Q.arg;
        return Q.type === "break" || Q.type === "continue" ? this.next = Q.arg : Q.type === "return" ? (this.rval = this.arg = Q.arg, this.method = "return", this.next = "end") : Q.type === "normal" && q && (this.next = q), M;
      },
      finish: function(Q) {
        for (var q = this.tryEntries.length - 1; q >= 0; --q) {
          var se = this.tryEntries[q];
          if (se.finallyLoc === Q) return this.complete(se.completion, se.afterLoc), ge(se), M;
        }
      },
      catch: function(Q) {
        for (var q = this.tryEntries.length - 1; q >= 0; --q) {
          var se = this.tryEntries[q];
          if (se.tryLoc === Q) {
            var te = se.completion;
            if (te.type === "throw") {
              var z = te.arg;
              ge(se);
            }
            return z;
          }
        }
        throw Error("illegal catch attempt");
      },
      delegateYield: function(Q, q, se) {
        return this.delegate = {
          iterator: Te(Q),
          resultName: q,
          nextLoc: se
        }, this.method === "next" && (this.arg = r), M;
      }
    }, a;
  }
  function r_(r, a, l, s, f, m, p) {
    try {
      var S = r[m](p), C = S.value;
    } catch (E) {
      return void l(E);
    }
    S.done ? a(C) : Promise.resolve(C).then(s, f);
  }
  function pf(r) {
    return function() {
      var a = this, l = arguments;
      return new Promise(function(s, f) {
        var m = r.apply(a, l);
        function p(C) {
          r_(m, s, f, p, S, "next", C);
        }
        function S(C) {
          r_(m, s, f, p, S, "throw", C);
        }
        p(void 0);
      });
    };
  }
  var Zh = Ce({}, RF), m4 = Zh.version, NE = Zh.render, g4 = Zh.unmountComponentAtNode, H0;
  try {
    var y4 = Number((m4 || "").split(".")[0]);
    y4 >= 18 && (H0 = Zh.createRoot);
  } catch {
  }
  function a_(r) {
    var a = Zh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
    a && kt(a) === "object" && (a.usingClientEntryPoint = r);
  }
  var T0 = "__rc_react_root__";
  function S4(r, a) {
    a_(!0);
    var l = a[T0] || H0(a);
    a_(!1), l.render(r), a[T0] = l;
  }
  function C4(r, a) {
    NE == null || NE(r, a);
  }
  function b4(r, a) {
    if (H0) {
      S4(r, a);
      return;
    }
    C4(r, a);
  }
  function E4(r) {
    return _1.apply(this, arguments);
  }
  function _1() {
    return _1 = pf(/* @__PURE__ */ si().mark(function r(a) {
      return si().wrap(function(s) {
        for (; ; ) switch (s.prev = s.next) {
          case 0:
            return s.abrupt("return", Promise.resolve().then(function() {
              var f;
              (f = a[T0]) === null || f === void 0 || f.unmount(), delete a[T0];
            }));
          case 1:
          case "end":
            return s.stop();
        }
      }, r);
    })), _1.apply(this, arguments);
  }
  function x4(r) {
    g4(r);
  }
  function R4(r) {
    return k1.apply(this, arguments);
  }
  function k1() {
    return k1 = pf(/* @__PURE__ */ si().mark(function r(a) {
      return si().wrap(function(s) {
        for (; ; ) switch (s.prev = s.next) {
          case 0:
            if (H0 === void 0) {
              s.next = 2;
              break;
            }
            return s.abrupt("return", E4(a));
          case 2:
            x4(a);
          case 3:
          case "end":
            return s.stop();
        }
      }, r);
    })), k1.apply(this, arguments);
  }
  const w4 = (r, a) => (b4(r, a), () => R4(a));
  let T4 = w4;
  function yN() {
    return T4;
  }
  const O0 = (r, a, l) => l !== void 0 ? l : `${r}-${a}`, O4 = function(r) {
    if (!r)
      return !1;
    if (r instanceof Element) {
      if (r.offsetParent)
        return !0;
      if (r.getBBox) {
        var a = r.getBBox(), l = a.width, s = a.height;
        if (l || s)
          return !0;
      }
      if (r.getBoundingClientRect) {
        var f = r.getBoundingClientRect(), m = f.width, p = f.height;
        if (m || p)
          return !0;
      }
    }
    return !1;
  }, _4 = (r) => {
    const {
      componentCls: a,
      colorPrimary: l
    } = r;
    return {
      [a]: {
        position: "absolute",
        background: "transparent",
        pointerEvents: "none",
        boxSizing: "border-box",
        color: `var(--wave-color, ${l})`,
        boxShadow: "0 0 0 0 currentcolor",
        opacity: 0.2,
        // =================== Motion ===================
        "&.wave-motion-appear": {
          transition: [`box-shadow 0.4s ${r.motionEaseOutCirc}`, `opacity 2s ${r.motionEaseOutCirc}`].join(","),
          "&-active": {
            boxShadow: "0 0 0 6px currentcolor",
            opacity: 0
          },
          "&.wave-quick": {
            transition: [`box-shadow ${r.motionDurationSlow} ${r.motionEaseInOut}`, `opacity ${r.motionDurationSlow} ${r.motionEaseInOut}`].join(",")
          }
        }
      }
    };
  }, k4 = Xz("Wave", (r) => [_4(r)]), SN = `${x0}-wave-target`;
  function ME(r) {
    return r && r !== "#fff" && r !== "#ffffff" && r !== "rgb(255, 255, 255)" && r !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(r) && // any transparent rgba color
    r !== "transparent";
  }
  function N4(r) {
    const {
      borderTopColor: a,
      borderColor: l,
      backgroundColor: s
    } = getComputedStyle(r);
    return ME(a) ? a : ME(l) ? l : ME(s) ? s : null;
  }
  function DE(r) {
    return Number.isNaN(r) ? 0 : r;
  }
  const M4 = (r) => {
    const {
      className: a,
      target: l,
      component: s,
      registerUnmount: f
    } = r, m = N.useRef(null), p = N.useRef(null);
    N.useEffect(() => {
      p.current = f();
    }, []);
    const [S, C] = N.useState(null), [E, R] = N.useState([]), [T, _] = N.useState(0), [A, P] = N.useState(0), [L, M] = N.useState(0), [V, $] = N.useState(0), [j, W] = N.useState(!1), I = {
      left: T,
      top: A,
      width: L,
      height: V,
      borderRadius: E.map((ne) => `${ne}px`).join(" ")
    };
    S && (I["--wave-color"] = S);
    function ee() {
      const ne = getComputedStyle(l);
      C(N4(l));
      const ae = ne.position === "static", {
        borderLeftWidth: ve,
        borderTopWidth: ye
      } = ne;
      _(ae ? l.offsetLeft : DE(-parseFloat(ve))), P(ae ? l.offsetTop : DE(-parseFloat(ye))), M(l.offsetWidth), $(l.offsetHeight);
      const {
        borderTopLeftRadius: Oe,
        borderTopRightRadius: ge,
        borderBottomLeftRadius: me,
        borderBottomRightRadius: Te
      } = ne;
      R([Oe, ge, Te, me].map((re) => DE(parseFloat(re))));
    }
    if (N.useEffect(() => {
      if (l) {
        const ne = Gs(() => {
          ee(), W(!0);
        });
        let ae;
        return typeof ResizeObserver < "u" && (ae = new ResizeObserver(ee), ae.observe(l)), () => {
          Gs.cancel(ne), ae == null || ae.disconnect();
        };
      }
    }, []), !j)
      return null;
    const Y = (s === "Checkbox" || s === "Radio") && (l == null ? void 0 : l.classList.contains(SN));
    return /* @__PURE__ */ N.createElement(Xh, {
      visible: !0,
      motionAppear: !0,
      motionName: "wave-motion",
      motionDeadline: 5e3,
      onAppearEnd: (ne, ae) => {
        var ve, ye;
        if (ae.deadline || ae.propertyName === "opacity") {
          const Oe = (ve = m.current) === null || ve === void 0 ? void 0 : ve.parentElement;
          (ye = p.current) === null || ye === void 0 || ye.call(p).then(() => {
            Oe == null || Oe.remove();
          });
        }
        return !1;
      }
    }, (ne, ae) => {
      let {
        className: ve
      } = ne;
      return /* @__PURE__ */ N.createElement("div", {
        ref: Y1(m, ae),
        className: Lt(a, ve, {
          "wave-quick": Y
        }),
        style: I
      });
    });
  }, D4 = (r, a) => {
    var l;
    const {
      component: s
    } = a;
    if (s === "Checkbox" && !(!((l = r.querySelector("input")) === null || l === void 0) && l.checked))
      return;
    const f = document.createElement("div");
    f.style.position = "absolute", f.style.left = "0px", f.style.top = "0px", r == null || r.insertBefore(f, r == null ? void 0 : r.firstChild);
    const m = yN();
    let p = null;
    function S() {
      return p;
    }
    p = m(/* @__PURE__ */ N.createElement(M4, Object.assign({}, a, {
      target: r,
      registerUnmount: S
    })), f);
  }, L4 = (r, a, l) => {
    const {
      wave: s
    } = N.useContext(Xr), [, f, m] = Xs(), p = ku((E) => {
      const R = r.current;
      if (s != null && s.disabled || !R)
        return;
      const T = R.querySelector(`.${SN}`) || R, {
        showEffect: _
      } = s || {};
      (_ || D4)(T, {
        className: a,
        token: f,
        component: l,
        event: E,
        hashId: m
      });
    }), S = N.useRef(null);
    return (E) => {
      Gs.cancel(S.current), S.current = Gs(() => {
        p(E);
      });
    };
  }, CN = (r) => {
    const {
      children: a,
      disabled: l,
      component: s
    } = r, {
      getPrefixCls: f
    } = N.useContext(Xr), m = N.useRef(null), p = f("wave"), [, S] = k4(p), C = L4(m, Lt(p, S), s);
    if (_e.useEffect(() => {
      const R = m.current;
      if (!R || R.nodeType !== 1 || l)
        return;
      const T = (_) => {
        !O4(_.target) || // No need wave
        !R.getAttribute || R.getAttribute("disabled") || R.disabled || R.className.includes("disabled") || R.className.includes("-leave") || C(_);
      };
      return R.addEventListener("click", T, !0), () => {
        R.removeEventListener("click", T, !0);
      };
    }, [l]), !/* @__PURE__ */ _e.isValidElement(a))
      return a ?? null;
    const E = G1(a) ? Y1(Q_(a), m) : m;
    return vN(a, {
      ref: E
    });
  };
  process.env.NODE_ENV !== "production" && (CN.displayName = "Wave");
  const A4 = (r) => {
    const a = _e.useContext(bv);
    return _e.useMemo(() => r ? typeof r == "string" ? r ?? a : r instanceof Function ? r(a) : a : a, [r, a]);
  }, bN = /* @__PURE__ */ N.createContext(null), P4 = (r, a) => {
    const l = N.useContext(bN), s = N.useMemo(() => {
      if (!l)
        return "";
      const {
        compactDirection: f,
        isFirstItem: m,
        isLastItem: p
      } = l, S = f === "vertical" ? "-vertical-" : "-";
      return Lt(`${r}-compact${S}item`, {
        [`${r}-compact${S}first-item`]: m,
        [`${r}-compact${S}last-item`]: p,
        [`${r}-compact${S}item-rtl`]: a === "rtl"
      });
    }, [r, a, l]);
    return {
      compactSize: l == null ? void 0 : l.compactSize,
      compactDirection: l == null ? void 0 : l.compactDirection,
      compactItemClassnames: s
    };
  }, F4 = (r) => {
    let {
      children: a
    } = r;
    return /* @__PURE__ */ N.createElement(bN.Provider, {
      value: null
    }, a);
  };
  var $4 = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  const EN = /* @__PURE__ */ N.createContext(void 0), z4 = (r) => {
    const {
      getPrefixCls: a,
      direction: l
    } = N.useContext(Xr), {
      prefixCls: s,
      size: f,
      className: m
    } = r, p = $4(r, ["prefixCls", "size", "className"]), S = a("btn-group", s), [, , C] = Xs();
    let E = "";
    switch (f) {
      case "large":
        E = "lg";
        break;
      case "small":
        E = "sm";
        break;
    }
    if (process.env.NODE_ENV !== "production") {
      const T = zl("Button.Group");
      process.env.NODE_ENV !== "production" && T(!f || ["large", "small", "middle"].includes(f), "usage", "Invalid prop `size`.");
    }
    const R = Lt(S, {
      [`${S}-${E}`]: E,
      [`${S}-rtl`]: l === "rtl"
    }, m, C);
    return /* @__PURE__ */ N.createElement(EN.Provider, {
      value: f
    }, /* @__PURE__ */ N.createElement("div", Object.assign({}, p, {
      className: R
    })));
  }, i_ = /^[\u4E00-\u9FA5]{2}$/, N1 = i_.test.bind(i_);
  function xN(r) {
    return r === "danger" ? {
      danger: !0
    } : {
      type: r
    };
  }
  function o_(r) {
    return typeof r == "string";
  }
  function s0(r) {
    return r === "text" || r === "link";
  }
  function j4(r, a) {
    if (r == null)
      return;
    const l = a ? " " : "";
    return typeof r != "string" && typeof r != "number" && o_(r.type) && N1(r.props.children) ? vN(r, {
      children: r.props.children.split("").join(l)
    }) : o_(r) ? N1(r) ? /* @__PURE__ */ _e.createElement("span", null, r.split("").join(l)) : /* @__PURE__ */ _e.createElement("span", null, r) : o4(r) ? /* @__PURE__ */ _e.createElement("span", null, r) : r;
  }
  function H4(r, a) {
    let l = !1;
    const s = [];
    return _e.Children.forEach(r, (f) => {
      const m = typeof f, p = m === "string" || m === "number";
      if (l && p) {
        const S = s.length - 1, C = s[S];
        s[S] = `${C}${f}`;
      } else
        s.push(f);
      l = p;
    }), _e.Children.map(s, (f) => j4(f, a));
  }
  const RN = /* @__PURE__ */ N.forwardRef((r, a) => {
    const {
      className: l,
      style: s,
      children: f,
      prefixCls: m
    } = r, p = Lt(`${m}-icon`, l);
    return /* @__PURE__ */ _e.createElement("span", {
      ref: a,
      className: p,
      style: s
    }, f);
  }), l_ = /* @__PURE__ */ N.forwardRef((r, a) => {
    const {
      prefixCls: l,
      className: s,
      style: f,
      iconClassName: m
    } = r, p = Lt(`${l}-loading-icon`, s);
    return /* @__PURE__ */ _e.createElement(RN, {
      prefixCls: l,
      className: p,
      style: f,
      ref: a
    }, /* @__PURE__ */ _e.createElement(hN, {
      className: m
    }));
  }), LE = () => ({
    width: 0,
    opacity: 0,
    transform: "scale(0)"
  }), AE = (r) => ({
    width: r.scrollWidth,
    opacity: 1,
    transform: "scale(1)"
  }), I4 = (r) => {
    const {
      prefixCls: a,
      loading: l,
      existIcon: s,
      className: f,
      style: m,
      mount: p
    } = r, S = !!l;
    return s ? /* @__PURE__ */ _e.createElement(l_, {
      prefixCls: a,
      className: f,
      style: m
    }) : /* @__PURE__ */ _e.createElement(Xh, {
      visible: S,
      // Used for minus flex gap style only
      motionName: `${a}-loading-icon-motion`,
      motionAppear: !p,
      motionEnter: !p,
      motionLeave: !p,
      removeOnLeave: !0,
      onAppearStart: LE,
      onAppearActive: AE,
      onEnterStart: LE,
      onEnterActive: AE,
      onLeaveStart: AE,
      onLeaveActive: LE
    }, (C, E) => {
      let {
        className: R,
        style: T
      } = C;
      const _ = Object.assign(Object.assign({}, m), T);
      return /* @__PURE__ */ _e.createElement(l_, {
        prefixCls: a,
        className: Lt(f, R),
        style: _,
        ref: E
      });
    });
  }, u_ = (r, a) => ({
    // Border
    [`> span, > ${r}`]: {
      "&:not(:last-child)": {
        [`&, & > ${r}`]: {
          "&:not(:disabled)": {
            borderInlineEndColor: a
          }
        }
      },
      "&:not(:first-child)": {
        [`&, & > ${r}`]: {
          "&:not(:disabled)": {
            borderInlineStartColor: a
          }
        }
      }
    }
  }), U4 = (r) => {
    const {
      componentCls: a,
      fontSize: l,
      lineWidth: s,
      groupBorderColor: f,
      colorErrorHover: m
    } = r;
    return {
      [`${a}-group`]: [
        {
          position: "relative",
          display: "inline-flex",
          // Border
          [`> span, > ${a}`]: {
            "&:not(:last-child)": {
              [`&, & > ${a}`]: {
                borderStartEndRadius: 0,
                borderEndEndRadius: 0
              }
            },
            "&:not(:first-child)": {
              marginInlineStart: r.calc(s).mul(-1).equal(),
              [`&, & > ${a}`]: {
                borderStartStartRadius: 0,
                borderEndStartRadius: 0
              }
            }
          },
          [a]: {
            position: "relative",
            zIndex: 1,
            "&:hover, &:focus, &:active": {
              zIndex: 2
            },
            "&[disabled]": {
              zIndex: 0
            }
          },
          [`${a}-icon-only`]: {
            fontSize: l
          }
        },
        // Border Color
        u_(`${a}-primary`, f),
        u_(`${a}-danger`, m)
      ]
    };
  }, oa = Math.round;
  function PE(r, a) {
    const l = r.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], s = l.map((f) => parseFloat(f));
    for (let f = 0; f < 3; f += 1)
      s[f] = a(s[f] || 0, l[f] || "", f);
    return l[3] ? s[3] = l[3].includes("%") ? s[3] / 100 : s[3] : s[3] = 1, s;
  }
  const s_ = (r, a, l) => l === 0 ? r : r / 100;
  function Ah(r, a) {
    const l = a || 255;
    return r > l ? l : r < 0 ? 0 : r;
  }
  class I0 {
    constructor(a) {
      ue(this, "isValid", !0), ue(this, "r", 0), ue(this, "g", 0), ue(this, "b", 0), ue(this, "a", 1), ue(this, "_h", void 0), ue(this, "_s", void 0), ue(this, "_l", void 0), ue(this, "_v", void 0), ue(this, "_max", void 0), ue(this, "_min", void 0), ue(this, "_brightness", void 0);
      function l(f) {
        return f[0] in a && f[1] in a && f[2] in a;
      }
      if (a) if (typeof a == "string") {
        let m = function(p) {
          return f.startsWith(p);
        };
        var s = m;
        const f = a.trim();
        /^#?[A-F\d]{3,8}$/i.test(f) ? this.fromHexString(f) : m("rgb") ? this.fromRgbString(f) : m("hsl") ? this.fromHslString(f) : (m("hsv") || m("hsb")) && this.fromHsvString(f);
      } else if (a instanceof I0)
        this.r = a.r, this.g = a.g, this.b = a.b, this.a = a.a, this._h = a._h, this._s = a._s, this._l = a._l, this._v = a._v;
      else if (l("rgb"))
        this.r = Ah(a.r), this.g = Ah(a.g), this.b = Ah(a.b), this.a = typeof a.a == "number" ? Ah(a.a, 1) : 1;
      else if (l("hsl"))
        this.fromHsl(a);
      else if (l("hsv"))
        this.fromHsv(a);
      else
        throw new Error("@ant-design/fast-color: unsupported input " + JSON.stringify(a));
    }
    // ======================= Setter =======================
    setR(a) {
      return this._sc("r", a);
    }
    setG(a) {
      return this._sc("g", a);
    }
    setB(a) {
      return this._sc("b", a);
    }
    setA(a) {
      return this._sc("a", a, 1);
    }
    setHue(a) {
      const l = this.toHsv();
      return l.h = a, this._c(l);
    }
    // ======================= Getter =======================
    /**
     * Returns the perceived luminance of a color, from 0-1.
     * @see http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
     */
    getLuminance() {
      function a(m) {
        const p = m / 255;
        return p <= 0.03928 ? p / 12.92 : Math.pow((p + 0.055) / 1.055, 2.4);
      }
      const l = a(this.r), s = a(this.g), f = a(this.b);
      return 0.2126 * l + 0.7152 * s + 0.0722 * f;
    }
    getHue() {
      if (typeof this._h > "u") {
        const a = this.getMax() - this.getMin();
        a === 0 ? this._h = 0 : this._h = oa(60 * (this.r === this.getMax() ? (this.g - this.b) / a + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / a + 2 : (this.r - this.g) / a + 4));
      }
      return this._h;
    }
    getSaturation() {
      if (typeof this._s > "u") {
        const a = this.getMax() - this.getMin();
        a === 0 ? this._s = 0 : this._s = a / this.getMax();
      }
      return this._s;
    }
    getLightness() {
      return typeof this._l > "u" && (this._l = (this.getMax() + this.getMin()) / 510), this._l;
    }
    getValue() {
      return typeof this._v > "u" && (this._v = this.getMax() / 255), this._v;
    }
    /**
     * Returns the perceived brightness of the color, from 0-255.
     * Note: this is not the b of HSB
     * @see http://www.w3.org/TR/AERT#color-contrast
     */
    getBrightness() {
      return typeof this._brightness > "u" && (this._brightness = (this.r * 299 + this.g * 587 + this.b * 114) / 1e3), this._brightness;
    }
    // ======================== Func ========================
    darken(a = 10) {
      const l = this.getHue(), s = this.getSaturation();
      let f = this.getLightness() - a / 100;
      return f < 0 && (f = 0), this._c({
        h: l,
        s,
        l: f,
        a: this.a
      });
    }
    lighten(a = 10) {
      const l = this.getHue(), s = this.getSaturation();
      let f = this.getLightness() + a / 100;
      return f > 1 && (f = 1), this._c({
        h: l,
        s,
        l: f,
        a: this.a
      });
    }
    /**
     * Mix the current color a given amount with another color, from 0 to 100.
     * 0 means no mixing (return current color).
     */
    mix(a, l = 50) {
      const s = this._c(a), f = l / 100, m = (S) => (s[S] - this[S]) * f + this[S], p = {
        r: oa(m("r")),
        g: oa(m("g")),
        b: oa(m("b")),
        a: oa(m("a") * 100) / 100
      };
      return this._c(p);
    }
    /**
     * Mix the color with pure white, from 0 to 100.
     * Providing 0 will do nothing, providing 100 will always return white.
     */
    tint(a = 10) {
      return this.mix({
        r: 255,
        g: 255,
        b: 255,
        a: 1
      }, a);
    }
    /**
     * Mix the color with pure black, from 0 to 100.
     * Providing 0 will do nothing, providing 100 will always return black.
     */
    shade(a = 10) {
      return this.mix({
        r: 0,
        g: 0,
        b: 0,
        a: 1
      }, a);
    }
    onBackground(a) {
      const l = this._c(a), s = this.a + l.a * (1 - this.a), f = (m) => oa((this[m] * this.a + l[m] * l.a * (1 - this.a)) / s);
      return this._c({
        r: f("r"),
        g: f("g"),
        b: f("b"),
        a: s
      });
    }
    // ======================= Status =======================
    isDark() {
      return this.getBrightness() < 128;
    }
    isLight() {
      return this.getBrightness() >= 128;
    }
    // ======================== MISC ========================
    equals(a) {
      return this.r === a.r && this.g === a.g && this.b === a.b && this.a === a.a;
    }
    clone() {
      return this._c(this);
    }
    // ======================= Format =======================
    toHexString() {
      let a = "#";
      const l = (this.r || 0).toString(16);
      a += l.length === 2 ? l : "0" + l;
      const s = (this.g || 0).toString(16);
      a += s.length === 2 ? s : "0" + s;
      const f = (this.b || 0).toString(16);
      if (a += f.length === 2 ? f : "0" + f, typeof this.a == "number" && this.a >= 0 && this.a < 1) {
        const m = oa(this.a * 255).toString(16);
        a += m.length === 2 ? m : "0" + m;
      }
      return a;
    }
    /** CSS support color pattern */
    toHsl() {
      return {
        h: this.getHue(),
        s: this.getSaturation(),
        l: this.getLightness(),
        a: this.a
      };
    }
    /** CSS support color pattern */
    toHslString() {
      const a = this.getHue(), l = oa(this.getSaturation() * 100), s = oa(this.getLightness() * 100);
      return this.a !== 1 ? `hsla(${a},${l}%,${s}%,${this.a})` : `hsl(${a},${l}%,${s}%)`;
    }
    /** Same as toHsb */
    toHsv() {
      return {
        h: this.getHue(),
        s: this.getSaturation(),
        v: this.getValue(),
        a: this.a
      };
    }
    toRgb() {
      return {
        r: this.r,
        g: this.g,
        b: this.b,
        a: this.a
      };
    }
    toRgbString() {
      return this.a !== 1 ? `rgba(${this.r},${this.g},${this.b},${this.a})` : `rgb(${this.r},${this.g},${this.b})`;
    }
    toString() {
      return this.toRgbString();
    }
    // ====================== Privates ======================
    /** Return a new FastColor object with one channel changed */
    _sc(a, l, s) {
      const f = this.clone();
      return f[a] = Ah(l, s), f;
    }
    _c(a) {
      return new this.constructor(a);
    }
    getMax() {
      return typeof this._max > "u" && (this._max = Math.max(this.r, this.g, this.b)), this._max;
    }
    getMin() {
      return typeof this._min > "u" && (this._min = Math.min(this.r, this.g, this.b)), this._min;
    }
    fromHexString(a) {
      const l = a.replace("#", "");
      function s(f, m) {
        return parseInt(l[f] + l[m || f], 16);
      }
      l.length < 6 ? (this.r = s(0), this.g = s(1), this.b = s(2), this.a = l[3] ? s(3) / 255 : 1) : (this.r = s(0, 1), this.g = s(2, 3), this.b = s(4, 5), this.a = l[6] ? s(6, 7) / 255 : 1);
    }
    fromHsl({
      h: a,
      s: l,
      l: s,
      a: f
    }) {
      if (this._h = a % 360, this._s = l, this._l = s, this.a = typeof f == "number" ? f : 1, l <= 0) {
        const _ = oa(s * 255);
        this.r = _, this.g = _, this.b = _;
      }
      let m = 0, p = 0, S = 0;
      const C = a / 60, E = (1 - Math.abs(2 * s - 1)) * l, R = E * (1 - Math.abs(C % 2 - 1));
      C >= 0 && C < 1 ? (m = E, p = R) : C >= 1 && C < 2 ? (m = R, p = E) : C >= 2 && C < 3 ? (p = E, S = R) : C >= 3 && C < 4 ? (p = R, S = E) : C >= 4 && C < 5 ? (m = R, S = E) : C >= 5 && C < 6 && (m = E, S = R);
      const T = s - E / 2;
      this.r = oa((m + T) * 255), this.g = oa((p + T) * 255), this.b = oa((S + T) * 255);
    }
    fromHsv({
      h: a,
      s: l,
      v: s,
      a: f
    }) {
      this._h = a % 360, this._s = l, this._v = s, this.a = typeof f == "number" ? f : 1;
      const m = oa(s * 255);
      if (this.r = m, this.g = m, this.b = m, l <= 0)
        return;
      const p = a / 60, S = Math.floor(p), C = p - S, E = oa(s * (1 - l) * 255), R = oa(s * (1 - l * C) * 255), T = oa(s * (1 - l * (1 - C)) * 255);
      switch (S) {
        case 0:
          this.g = T, this.b = E;
          break;
        case 1:
          this.r = R, this.b = E;
          break;
        case 2:
          this.r = E, this.b = T;
          break;
        case 3:
          this.r = E, this.g = R;
          break;
        case 4:
          this.r = T, this.g = E;
          break;
        case 5:
        default:
          this.g = E, this.b = R;
          break;
      }
    }
    fromHsvString(a) {
      const l = PE(a, s_);
      this.fromHsv({
        h: l[0],
        s: l[1],
        v: l[2],
        a: l[3]
      });
    }
    fromHslString(a) {
      const l = PE(a, s_);
      this.fromHsl({
        h: l[0],
        s: l[1],
        l: l[2],
        a: l[3]
      });
    }
    fromRgbString(a) {
      const l = PE(a, (s, f) => (
        // Convert percentage to number. e.g. 50% -> 128
        f.includes("%") ? oa(s / 100 * 255) : s
      ));
      this.r = l[0], this.g = l[1], this.b = l[2], this.a = l[3];
    }
  }
  var V4 = ["b"], B4 = ["v"], FE = function(a) {
    return Math.round(Number(a || 0));
  }, W4 = function(a) {
    if (a instanceof I0)
      return a;
    if (a && kt(a) === "object" && "h" in a && "b" in a) {
      var l = a, s = l.b, f = $l(l, V4);
      return Ce(Ce({}, f), {}, {
        v: s
      });
    }
    return typeof a == "string" && /hsb/.test(a) ? a.replace(/hsb/, "hsv") : a;
  }, Nu = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l(s) {
      return xa(this, l), a.call(this, W4(s));
    }
    return Ra(l, [{
      key: "toHsbString",
      value: function() {
        var f = this.toHsb(), m = FE(f.s * 100), p = FE(f.b * 100), S = FE(f.h), C = f.a, E = "hsb(".concat(S, ", ").concat(m, "%, ").concat(p, "%)"), R = "hsba(".concat(S, ", ").concat(m, "%, ").concat(p, "%, ").concat(C.toFixed(C === 0 ? 0 : 2), ")");
        return C === 1 ? E : R;
      }
    }, {
      key: "toHsb",
      value: function() {
        var f = this.toHsv(), m = f.v, p = $l(f, B4);
        return Ce(Ce({}, p), {}, {
          b: m,
          a: this.a
        });
      }
    }]), l;
  }(I0), Y4 = "rc-color-picker", hv = function(a) {
    return a instanceof Nu ? a : new Nu(a);
  }, q4 = hv("#1677ff"), wN = function(a) {
    var l = a.offset, s = a.targetRef, f = a.containerRef, m = a.color, p = a.type, S = f.current.getBoundingClientRect(), C = S.width, E = S.height, R = s.current.getBoundingClientRect(), T = R.width, _ = R.height, A = T / 2, P = _ / 2, L = (l.x + A) / C, M = 1 - (l.y + P) / E, V = m.toHsb(), $ = L, j = (l.x + A) / C * 360;
    if (p)
      switch (p) {
        case "hue":
          return hv(Ce(Ce({}, V), {}, {
            h: j <= 0 ? 0 : j
          }));
        case "alpha":
          return hv(Ce(Ce({}, V), {}, {
            a: $ <= 0 ? 0 : $
          }));
      }
    return hv({
      h: V.h,
      s: L <= 0 ? 0 : L,
      b: M >= 1 ? 1 : M,
      a: V.a
    });
  }, TN = function(a, l) {
    var s = a.toHsb();
    switch (l) {
      case "hue":
        return {
          x: s.h / 360 * 100,
          y: 50
        };
      case "alpha":
        return {
          x: a.a * 100,
          y: 50
        };
      // Picker panel
      default:
        return {
          x: s.s * 100,
          y: (1 - s.b) * 100
        };
    }
  }, G4 = function(a) {
    var l = a.color, s = a.prefixCls, f = a.className, m = a.style, p = a.onClick, S = "".concat(s, "-color-block");
    return /* @__PURE__ */ _e.createElement("div", {
      className: Lt(S, f),
      style: m,
      onClick: p
    }, /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(S, "-inner"),
      style: {
        background: l
      }
    }));
  };
  function Q4(r) {
    var a = "touches" in r ? r.touches[0] : r, l = document.documentElement.scrollLeft || document.body.scrollLeft || window.pageXOffset, s = document.documentElement.scrollTop || document.body.scrollTop || window.pageYOffset;
    return {
      pageX: a.pageX - l,
      pageY: a.pageY - s
    };
  }
  function ON(r) {
    var a = r.targetRef, l = r.containerRef, s = r.direction, f = r.onDragChange, m = r.onDragChangeComplete, p = r.calculate, S = r.color, C = r.disabledDrag, E = N.useState({
      x: 0,
      y: 0
    }), R = lt(E, 2), T = R[0], _ = R[1], A = N.useRef(null), P = N.useRef(null);
    N.useEffect(function() {
      _(p());
    }, [S]), N.useEffect(function() {
      return function() {
        document.removeEventListener("mousemove", A.current), document.removeEventListener("mouseup", P.current), document.removeEventListener("touchmove", A.current), document.removeEventListener("touchend", P.current), A.current = null, P.current = null;
      };
    }, []);
    var L = function(W) {
      var I = Q4(W), ee = I.pageX, Y = I.pageY, ne = l.current.getBoundingClientRect(), ae = ne.x, ve = ne.y, ye = ne.width, Oe = ne.height, ge = a.current.getBoundingClientRect(), me = ge.width, Te = ge.height, re = me / 2, Q = Te / 2, q = Math.max(0, Math.min(ee - ae, ye)) - re, se = Math.max(0, Math.min(Y - ve, Oe)) - Q, te = {
        x: q,
        y: s === "x" ? T.y : se
      };
      if (me === 0 && Te === 0 || me !== Te)
        return !1;
      f == null || f(te);
    }, M = function(W) {
      W.preventDefault(), L(W);
    }, V = function(W) {
      W.preventDefault(), document.removeEventListener("mousemove", A.current), document.removeEventListener("mouseup", P.current), document.removeEventListener("touchmove", A.current), document.removeEventListener("touchend", P.current), A.current = null, P.current = null, m == null || m();
    }, $ = function(W) {
      document.removeEventListener("mousemove", A.current), document.removeEventListener("mouseup", P.current), !C && (L(W), document.addEventListener("mousemove", M), document.addEventListener("mouseup", V), document.addEventListener("touchmove", M), document.addEventListener("touchend", V), A.current = M, P.current = V);
    };
    return [T, $];
  }
  var _N = function(a) {
    var l = a.size, s = l === void 0 ? "default" : l, f = a.color, m = a.prefixCls;
    return /* @__PURE__ */ _e.createElement("div", {
      className: Lt("".concat(m, "-handler"), ue({}, "".concat(m, "-handler-sm"), s === "small")),
      style: {
        backgroundColor: f
      }
    });
  }, kN = function(a) {
    var l = a.children, s = a.style, f = a.prefixCls;
    return /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(f, "-palette"),
      style: Ce({
        position: "relative"
      }, s)
    }, l);
  }, NN = /* @__PURE__ */ N.forwardRef(function(r, a) {
    var l = r.children, s = r.x, f = r.y;
    return /* @__PURE__ */ _e.createElement("div", {
      ref: a,
      style: {
        position: "absolute",
        left: "".concat(s, "%"),
        top: "".concat(f, "%"),
        zIndex: 1,
        transform: "translate(-50%, -50%)"
      }
    }, l);
  }), K4 = function(a) {
    var l = a.color, s = a.onChange, f = a.prefixCls, m = a.onChangeComplete, p = a.disabled, S = N.useRef(), C = N.useRef(), E = N.useRef(l), R = ku(function(L) {
      var M = wN({
        offset: L,
        targetRef: C,
        containerRef: S,
        color: l
      });
      E.current = M, s(M);
    }), T = ON({
      color: l,
      containerRef: S,
      targetRef: C,
      calculate: function() {
        return TN(l);
      },
      onDragChange: R,
      onDragChangeComplete: function() {
        return m == null ? void 0 : m(E.current);
      },
      disabledDrag: p
    }), _ = lt(T, 2), A = _[0], P = _[1];
    return /* @__PURE__ */ _e.createElement("div", {
      ref: S,
      className: "".concat(f, "-select"),
      onMouseDown: P,
      onTouchStart: P
    }, /* @__PURE__ */ _e.createElement(kN, {
      prefixCls: f
    }, /* @__PURE__ */ _e.createElement(NN, {
      x: A.x,
      y: A.y,
      ref: C
    }, /* @__PURE__ */ _e.createElement(_N, {
      color: l.toRgbString(),
      prefixCls: f
    })), /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(f, "-saturation"),
      style: {
        backgroundColor: "hsl(".concat(l.toHsb().h, ",100%, 50%)"),
        backgroundImage: "linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"
      }
    })));
  }, X4 = function(a, l) {
    var s = Dz(a, {
      value: l
    }), f = lt(s, 2), m = f[0], p = f[1], S = N.useMemo(function() {
      return hv(m);
    }, [m]);
    return [S, p];
  }, Z4 = function(a) {
    var l = a.colors, s = a.children, f = a.direction, m = f === void 0 ? "to right" : f, p = a.type, S = a.prefixCls, C = N.useMemo(function() {
      return l.map(function(E, R) {
        var T = hv(E);
        return p === "alpha" && R === l.length - 1 && (T = new Nu(T.setA(1))), T.toRgbString();
      }).join(",");
    }, [l, p]);
    return /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(S, "-gradient"),
      style: {
        position: "absolute",
        inset: 0,
        background: "linear-gradient(".concat(m, ", ").concat(C, ")")
      }
    }, s);
  }, J4 = function(a) {
    var l = a.prefixCls, s = a.colors, f = a.disabled, m = a.onChange, p = a.onChangeComplete, S = a.color, C = a.type, E = N.useRef(), R = N.useRef(), T = N.useRef(S), _ = function(I) {
      return C === "hue" ? I.getHue() : I.a * 100;
    }, A = ku(function(W) {
      var I = wN({
        offset: W,
        targetRef: R,
        containerRef: E,
        color: S,
        type: C
      });
      T.current = I, m(_(I));
    }), P = ON({
      color: S,
      targetRef: R,
      containerRef: E,
      calculate: function() {
        return TN(S, C);
      },
      onDragChange: A,
      onDragChangeComplete: function() {
        p(_(T.current));
      },
      direction: "x",
      disabledDrag: f
    }), L = lt(P, 2), M = L[0], V = L[1], $ = _e.useMemo(function() {
      if (C === "hue") {
        var W = S.toHsb();
        W.s = 1, W.b = 1, W.a = 1;
        var I = new Nu(W);
        return I;
      }
      return S;
    }, [S, C]), j = _e.useMemo(function() {
      return s.map(function(W) {
        return "".concat(W.color, " ").concat(W.percent, "%");
      });
    }, [s]);
    return /* @__PURE__ */ _e.createElement("div", {
      ref: E,
      className: Lt("".concat(l, "-slider"), "".concat(l, "-slider-").concat(C)),
      onMouseDown: V,
      onTouchStart: V
    }, /* @__PURE__ */ _e.createElement(kN, {
      prefixCls: l
    }, /* @__PURE__ */ _e.createElement(NN, {
      x: M.x,
      y: M.y,
      ref: R
    }, /* @__PURE__ */ _e.createElement(_N, {
      size: "small",
      color: $.toHexString(),
      prefixCls: l
    })), /* @__PURE__ */ _e.createElement(Z4, {
      colors: j,
      type: C,
      prefixCls: l
    })));
  };
  function e5(r) {
    return N.useMemo(function() {
      var a = r || {}, l = a.slider;
      return [l || J4];
    }, [r]);
  }
  var t5 = [{
    color: "rgb(255, 0, 0)",
    percent: 0
  }, {
    color: "rgb(255, 255, 0)",
    percent: 17
  }, {
    color: "rgb(0, 255, 0)",
    percent: 33
  }, {
    color: "rgb(0, 255, 255)",
    percent: 50
  }, {
    color: "rgb(0, 0, 255)",
    percent: 67
  }, {
    color: "rgb(255, 0, 255)",
    percent: 83
  }, {
    color: "rgb(255, 0, 0)",
    percent: 100
  }], n5 = /* @__PURE__ */ N.forwardRef(function(r, a) {
    var l = r.value, s = r.defaultValue, f = r.prefixCls, m = f === void 0 ? Y4 : f, p = r.onChange, S = r.onChangeComplete, C = r.className, E = r.style, R = r.panelRender, T = r.disabledAlpha, _ = T === void 0 ? !1 : T, A = r.disabled, P = A === void 0 ? !1 : A, L = r.components, M = e5(L), V = lt(M, 1), $ = V[0], j = X4(s || q4, l), W = lt(j, 2), I = W[0], ee = W[1], Y = N.useMemo(function() {
      return I.setA(1).toRgbString();
    }, [I]), ne = function(se, te) {
      l || ee(se), p == null || p(se, te);
    }, ae = function(se) {
      return new Nu(I.setHue(se));
    }, ve = function(se) {
      return new Nu(I.setA(se / 100));
    }, ye = function(se) {
      ne(ae(se), {
        type: "hue",
        value: se
      });
    }, Oe = function(se) {
      ne(ve(se), {
        type: "alpha",
        value: se
      });
    }, ge = function(se) {
      S && S(ae(se));
    }, me = function(se) {
      S && S(ve(se));
    }, Te = Lt("".concat(m, "-panel"), C, ue({}, "".concat(m, "-panel-disabled"), P)), re = {
      prefixCls: m,
      disabled: P,
      color: I
    }, Q = /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement(K4, cr({
      onChange: ne
    }, re, {
      onChangeComplete: S
    })), /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(m, "-slider-container")
    }, /* @__PURE__ */ _e.createElement("div", {
      className: Lt("".concat(m, "-slider-group"), ue({}, "".concat(m, "-slider-group-disabled-alpha"), _))
    }, /* @__PURE__ */ _e.createElement($, cr({}, re, {
      type: "hue",
      colors: t5,
      min: 0,
      max: 359,
      value: I.getHue(),
      onChange: ye,
      onChangeComplete: ge
    })), !_ && /* @__PURE__ */ _e.createElement($, cr({}, re, {
      type: "alpha",
      colors: [{
        percent: 0,
        color: "rgba(255, 0, 4, 0)"
      }, {
        percent: 100,
        color: Y
      }],
      min: 0,
      max: 100,
      value: I.a * 100,
      onChange: Oe,
      onChangeComplete: me
    }))), /* @__PURE__ */ _e.createElement(G4, {
      color: I.toRgbString(),
      prefixCls: m
    })));
    return /* @__PURE__ */ _e.createElement("div", {
      className: Te,
      style: E,
      ref: a
    }, typeof R == "function" ? R(Q) : Q);
  });
  process.env.NODE_ENV !== "production" && (n5.displayName = "ColorPicker");
  const r5 = (r, a) => (r == null ? void 0 : r.replace(/[^\w/]/g, "").slice(0, a ? 8 : 6)) || "", a5 = (r, a) => r ? r5(r, a) : "";
  let i5 = /* @__PURE__ */ function() {
    function r(a) {
      xa(this, r);
      var l;
      if (this.cleared = !1, a instanceof r) {
        this.metaColor = a.metaColor.clone(), this.colors = (l = a.colors) === null || l === void 0 ? void 0 : l.map((f) => ({
          color: new r(f.color),
          percent: f.percent
        })), this.cleared = a.cleared;
        return;
      }
      const s = Array.isArray(a);
      s && a.length ? (this.colors = a.map((f) => {
        let {
          color: m,
          percent: p
        } = f;
        return {
          color: new r(m),
          percent: p
        };
      }), this.metaColor = new Nu(this.colors[0].color.metaColor)) : this.metaColor = new Nu(s ? "" : a), (!a || s && !this.colors) && (this.metaColor = this.metaColor.setA(0), this.cleared = !0);
    }
    return Ra(r, [{
      key: "toHsb",
      value: function() {
        return this.metaColor.toHsb();
      }
    }, {
      key: "toHsbString",
      value: function() {
        return this.metaColor.toHsbString();
      }
    }, {
      key: "toHex",
      value: function() {
        return a5(this.toHexString(), this.metaColor.a < 1);
      }
    }, {
      key: "toHexString",
      value: function() {
        return this.metaColor.toHexString();
      }
    }, {
      key: "toRgb",
      value: function() {
        return this.metaColor.toRgb();
      }
    }, {
      key: "toRgbString",
      value: function() {
        return this.metaColor.toRgbString();
      }
    }, {
      key: "isGradient",
      value: function() {
        return !!this.colors && !this.cleared;
      }
    }, {
      key: "getColors",
      value: function() {
        return this.colors || [{
          color: this,
          percent: 0
        }];
      }
    }, {
      key: "toCssString",
      value: function() {
        const {
          colors: l
        } = this;
        return l ? `linear-gradient(90deg, ${l.map((f) => `${f.color.toRgbString()} ${f.percent}%`).join(", ")})` : this.metaColor.toRgbString();
      }
    }, {
      key: "equals",
      value: function(l) {
        return !l || this.isGradient() !== l.isGradient() ? !1 : this.isGradient() ? this.colors.length === l.colors.length && this.colors.every((s, f) => {
          const m = l.colors[f];
          return s.percent === m.percent && s.color.equals(m.color);
        }) : this.toHexString() === l.toHexString();
      }
    }]);
  }();
  const o5 = (r) => ({
    animationDuration: r,
    animationFillMode: "both"
  }), l5 = (r) => ({
    animationDuration: r,
    animationFillMode: "both"
  }), MN = function(r, a, l, s) {
    const m = (arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1) ? "&" : "";
    return {
      [`
      ${m}${r}-enter,
      ${m}${r}-appear
    `]: Object.assign(Object.assign({}, o5(s)), {
        animationPlayState: "paused"
      }),
      [`${m}${r}-leave`]: Object.assign(Object.assign({}, l5(s)), {
        animationPlayState: "paused"
      }),
      [`
      ${m}${r}-enter${r}-enter-active,
      ${m}${r}-appear${r}-appear-active
    `]: {
        animationName: a,
        animationPlayState: "running"
      },
      [`${m}${r}-leave${r}-leave-active`]: {
        animationName: l,
        animationPlayState: "running",
        pointerEvents: "none"
      }
    };
  }, u5 = new ci("antFadeIn", {
    "0%": {
      opacity: 0
    },
    "100%": {
      opacity: 1
    }
  }), s5 = new ci("antFadeOut", {
    "0%": {
      opacity: 1
    },
    "100%": {
      opacity: 0
    }
  }), c5 = function(r) {
    let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
    const {
      antCls: l
    } = r, s = `${l}-fade`, f = a ? "&" : "";
    return [MN(s, u5, s5, r.motionDurationMid, a), {
      [`
        ${f}${s}-enter,
        ${f}${s}-appear
      `]: {
        opacity: 0,
        animationTimingFunction: "linear"
      },
      [`${f}${s}-leave`]: {
        animationTimingFunction: "linear"
      }
    }];
  }, f5 = new ci("antZoomIn", {
    "0%": {
      transform: "scale(0.2)",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      opacity: 1
    }
  }), d5 = new ci("antZoomOut", {
    "0%": {
      transform: "scale(1)"
    },
    "100%": {
      transform: "scale(0.2)",
      opacity: 0
    }
  }), c_ = new ci("antZoomBigIn", {
    "0%": {
      transform: "scale(0.8)",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      opacity: 1
    }
  }), f_ = new ci("antZoomBigOut", {
    "0%": {
      transform: "scale(1)"
    },
    "100%": {
      transform: "scale(0.8)",
      opacity: 0
    }
  }), v5 = new ci("antZoomUpIn", {
    "0%": {
      transform: "scale(0.8)",
      transformOrigin: "50% 0%",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      transformOrigin: "50% 0%"
    }
  }), p5 = new ci("antZoomUpOut", {
    "0%": {
      transform: "scale(1)",
      transformOrigin: "50% 0%"
    },
    "100%": {
      transform: "scale(0.8)",
      transformOrigin: "50% 0%",
      opacity: 0
    }
  }), h5 = new ci("antZoomLeftIn", {
    "0%": {
      transform: "scale(0.8)",
      transformOrigin: "0% 50%",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      transformOrigin: "0% 50%"
    }
  }), m5 = new ci("antZoomLeftOut", {
    "0%": {
      transform: "scale(1)",
      transformOrigin: "0% 50%"
    },
    "100%": {
      transform: "scale(0.8)",
      transformOrigin: "0% 50%",
      opacity: 0
    }
  }), g5 = new ci("antZoomRightIn", {
    "0%": {
      transform: "scale(0.8)",
      transformOrigin: "100% 50%",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      transformOrigin: "100% 50%"
    }
  }), y5 = new ci("antZoomRightOut", {
    "0%": {
      transform: "scale(1)",
      transformOrigin: "100% 50%"
    },
    "100%": {
      transform: "scale(0.8)",
      transformOrigin: "100% 50%",
      opacity: 0
    }
  }), S5 = new ci("antZoomDownIn", {
    "0%": {
      transform: "scale(0.8)",
      transformOrigin: "50% 100%",
      opacity: 0
    },
    "100%": {
      transform: "scale(1)",
      transformOrigin: "50% 100%"
    }
  }), C5 = new ci("antZoomDownOut", {
    "0%": {
      transform: "scale(1)",
      transformOrigin: "50% 100%"
    },
    "100%": {
      transform: "scale(0.8)",
      transformOrigin: "50% 100%",
      opacity: 0
    }
  }), b5 = {
    zoom: {
      inKeyframes: f5,
      outKeyframes: d5
    },
    "zoom-big": {
      inKeyframes: c_,
      outKeyframes: f_
    },
    "zoom-big-fast": {
      inKeyframes: c_,
      outKeyframes: f_
    },
    "zoom-left": {
      inKeyframes: h5,
      outKeyframes: m5
    },
    "zoom-right": {
      inKeyframes: g5,
      outKeyframes: y5
    },
    "zoom-up": {
      inKeyframes: v5,
      outKeyframes: p5
    },
    "zoom-down": {
      inKeyframes: S5,
      outKeyframes: C5
    }
  }, E5 = (r, a) => {
    const {
      antCls: l
    } = r, s = `${l}-${a}`, {
      inKeyframes: f,
      outKeyframes: m
    } = b5[a];
    return [MN(s, f, m, r.motionDurationMid), {
      [`
        ${s}-enter,
        ${s}-appear
      `]: {
        transform: "scale(0)",
        opacity: 0,
        animationTimingFunction: r.motionEaseOutCirc,
        "&-prepare": {
          transform: "none"
        }
      },
      [`${s}-leave`]: {
        animationTimingFunction: r.motionEaseInOutCirc
      }
    }];
  }, x5 = (r, a) => {
    const {
      r: l,
      g: s,
      b: f,
      a: m
    } = r.toRgb(), p = new Nu(r.toRgbString()).onBackground(a).toHsv();
    return m <= 0.5 ? p.v > 0.5 : l * 0.299 + s * 0.587 + f * 0.114 > 192;
  }, DN = (r) => {
    const {
      paddingInline: a,
      onlyIconSize: l,
      paddingBlock: s
    } = r;
    return Ks(r, {
      buttonPaddingHorizontal: a,
      buttonPaddingVertical: s,
      buttonIconOnlyFontSize: l
    });
  }, LN = (r) => {
    var a, l, s, f, m, p;
    const S = (a = r.contentFontSize) !== null && a !== void 0 ? a : r.fontSize, C = (l = r.contentFontSizeSM) !== null && l !== void 0 ? l : r.fontSize, E = (s = r.contentFontSizeLG) !== null && s !== void 0 ? s : r.fontSizeLG, R = (f = r.contentLineHeight) !== null && f !== void 0 ? f : y0(S), T = (m = r.contentLineHeightSM) !== null && m !== void 0 ? m : y0(C), _ = (p = r.contentLineHeightLG) !== null && p !== void 0 ? p : y0(E), A = x5(new i5(r.colorBgSolid), "#fff") ? "#000" : "#fff";
    return {
      fontWeight: 400,
      defaultShadow: `0 ${r.controlOutlineWidth}px 0 ${r.controlTmpOutline}`,
      primaryShadow: `0 ${r.controlOutlineWidth}px 0 ${r.controlOutline}`,
      dangerShadow: `0 ${r.controlOutlineWidth}px 0 ${r.colorErrorOutline}`,
      primaryColor: r.colorTextLightSolid,
      dangerColor: r.colorTextLightSolid,
      borderColorDisabled: r.colorBorder,
      defaultGhostColor: r.colorBgContainer,
      ghostBg: "transparent",
      defaultGhostBorderColor: r.colorBgContainer,
      paddingInline: r.paddingContentHorizontal - r.lineWidth,
      paddingInlineLG: r.paddingContentHorizontal - r.lineWidth,
      paddingInlineSM: 8 - r.lineWidth,
      onlyIconSize: r.fontSizeLG,
      onlyIconSizeSM: r.fontSizeLG - 2,
      onlyIconSizeLG: r.fontSizeLG + 2,
      groupBorderColor: r.colorPrimaryHover,
      linkHoverBg: "transparent",
      textTextColor: r.colorText,
      textTextHoverColor: r.colorText,
      textTextActiveColor: r.colorText,
      textHoverBg: r.colorFillTertiary,
      defaultColor: r.colorText,
      defaultBg: r.colorBgContainer,
      defaultBorderColor: r.colorBorder,
      defaultBorderColorDisabled: r.colorBorder,
      defaultHoverBg: r.colorBgContainer,
      defaultHoverColor: r.colorPrimaryHover,
      defaultHoverBorderColor: r.colorPrimaryHover,
      defaultActiveBg: r.colorBgContainer,
      defaultActiveColor: r.colorPrimaryActive,
      defaultActiveBorderColor: r.colorPrimaryActive,
      solidTextColor: A,
      contentFontSize: S,
      contentFontSizeSM: C,
      contentFontSizeLG: E,
      contentLineHeight: R,
      contentLineHeightSM: T,
      contentLineHeightLG: _,
      paddingBlock: Math.max((r.controlHeight - S * R) / 2 - r.lineWidth, 0),
      paddingBlockSM: Math.max((r.controlHeightSM - C * T) / 2 - r.lineWidth, 0),
      paddingBlockLG: Math.max((r.controlHeightLG - E * _) / 2 - r.lineWidth, 0)
    };
  }, R5 = (r) => {
    const {
      componentCls: a,
      iconCls: l,
      fontWeight: s,
      opacityLoading: f,
      motionDurationSlow: m,
      motionEaseInOut: p,
      marginXS: S,
      calc: C
    } = r;
    return {
      [a]: {
        outline: "none",
        position: "relative",
        display: "inline-flex",
        gap: r.marginXS,
        alignItems: "center",
        justifyContent: "center",
        fontWeight: s,
        whiteSpace: "nowrap",
        textAlign: "center",
        backgroundImage: "none",
        background: "transparent",
        border: `${$n(r.lineWidth)} ${r.lineType} transparent`,
        cursor: "pointer",
        transition: `all ${r.motionDurationMid} ${r.motionEaseInOut}`,
        userSelect: "none",
        touchAction: "manipulation",
        color: r.colorText,
        "&:disabled > *": {
          pointerEvents: "none"
        },
        "> span:not(:only-child)": {
          display: "inline-flex",
          alignSelf: "baseline"
        },
        [`> span${a}-icon, > span${l}`]: {
          display: "inline-flex",
          alignSelf: "center"
        },
        "> a": {
          color: "currentColor"
        },
        "&:not(:disabled)": Uk(r),
        [`&${a}-two-chinese-chars::first-letter`]: {
          letterSpacing: "0.34em"
        },
        [`&${a}-two-chinese-chars > *:not(${l})`]: {
          marginInlineEnd: "-0.34em",
          letterSpacing: "0.34em"
        },
        [`&${a}-icon-only`]: {
          paddingInline: 0,
          // make `btn-icon-only` not too narrow
          [`&${a}-compact-item`]: {
            flex: "none"
          },
          [`&${a}-round`]: {
            width: "auto"
          }
        },
        // Loading
        [`&${a}-loading`]: {
          opacity: f,
          cursor: "default"
        },
        [`${a}-loading-icon`]: {
          transition: ["width", "opacity", "margin"].map((E) => `${E} ${m} ${p}`).join(",")
        },
        // iconPosition
        [`&:not(${a}-icon-end)`]: {
          [`${a}-loading-icon-motion`]: {
            "&-appear-start, &-enter-start": {
              marginInlineEnd: C(S).mul(-1).equal()
            },
            "&-appear-active, &-enter-active": {
              marginInlineEnd: 0
            },
            "&-leave-start": {
              marginInlineEnd: 0
            },
            "&-leave-active": {
              marginInlineEnd: C(S).mul(-1).equal()
            }
          }
        },
        "&-icon-end": {
          flexDirection: "row-reverse",
          [`${a}-loading-icon-motion`]: {
            "&-appear-start, &-enter-start": {
              marginInlineStart: C(S).mul(-1).equal()
            },
            "&-appear-active, &-enter-active": {
              marginInlineStart: 0
            },
            "&-leave-start": {
              marginInlineStart: 0
            },
            "&-leave-active": {
              marginInlineStart: C(S).mul(-1).equal()
            }
          }
        }
      }
    };
  }, AN = (r, a, l) => ({
    [`&:not(:disabled):not(${r}-disabled)`]: {
      "&:hover": a,
      "&:active": l
    }
  }), w5 = (r) => ({
    minWidth: r.controlHeight,
    paddingInlineStart: 0,
    paddingInlineEnd: 0,
    borderRadius: "50%"
  }), T5 = (r) => ({
    borderRadius: r.controlHeight,
    paddingInlineStart: r.calc(r.controlHeight).div(2).equal(),
    paddingInlineEnd: r.calc(r.controlHeight).div(2).equal()
  }), O5 = (r) => ({
    cursor: "not-allowed",
    borderColor: r.borderColorDisabled,
    color: r.colorTextDisabled,
    background: r.colorBgContainerDisabled,
    boxShadow: "none"
  }), sx = (r, a, l, s, f, m, p, S) => ({
    [`&${r}-background-ghost`]: Object.assign(Object.assign({
      color: l || void 0,
      background: a,
      borderColor: s || void 0,
      boxShadow: "none"
    }, AN(r, Object.assign({
      background: a
    }, p), Object.assign({
      background: a
    }, S))), {
      "&:disabled": {
        cursor: "not-allowed",
        color: f || void 0,
        borderColor: m || void 0
      }
    })
  }), _5 = (r) => ({
    [`&:disabled, &${r.componentCls}-disabled`]: Object.assign({}, O5(r))
  }), k5 = (r) => ({
    [`&:disabled, &${r.componentCls}-disabled`]: {
      cursor: "not-allowed",
      color: r.colorTextDisabled
    }
  }), U0 = (r, a, l, s) => {
    const m = s && ["link", "text"].includes(s) ? k5 : _5;
    return Object.assign(Object.assign({}, m(r)), AN(r.componentCls, a, l));
  }, cx = (r, a, l, s, f) => ({
    [`&${r.componentCls}-variant-solid`]: Object.assign({
      color: a,
      background: l
    }, U0(r, s, f))
  }), fx = (r, a, l, s, f) => ({
    [`&${r.componentCls}-variant-outlined, &${r.componentCls}-variant-dashed`]: Object.assign({
      borderColor: a,
      background: l
    }, U0(r, s, f))
  }), dx = (r) => ({
    [`&${r.componentCls}-variant-dashed`]: {
      borderStyle: "dashed"
    }
  }), vx = (r, a, l, s) => ({
    [`&${r.componentCls}-variant-filled`]: Object.assign({
      boxShadow: "none",
      background: a
    }, U0(r, l, s))
  }), xv = (r, a, l, s, f) => ({
    [`&${r.componentCls}-variant-${l}`]: Object.assign({
      color: a,
      boxShadow: "none"
    }, U0(r, s, f, l))
  }), N5 = (r) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
    color: r.defaultColor,
    boxShadow: r.defaultShadow
  }, cx(r, r.solidTextColor, r.colorBgSolid, {
    color: r.solidTextColor,
    background: r.colorBgSolidHover
  }, {
    color: r.solidTextColor,
    background: r.colorBgSolidActive
  })), dx(r)), vx(r, r.colorFillTertiary, {
    background: r.colorFillSecondary
  }, {
    background: r.colorFill
  })), xv(r, r.textTextColor, "link", {
    color: r.colorLinkHover,
    background: r.linkHoverBg
  }, {
    color: r.colorLinkActive
  })), sx(r.componentCls, r.ghostBg, r.defaultGhostColor, r.defaultGhostBorderColor, r.colorTextDisabled, r.colorBorder)), M5 = (r) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
    color: r.colorPrimary,
    boxShadow: r.primaryShadow
  }, fx(r, r.colorPrimary, r.colorBgContainer, {
    color: r.colorPrimaryTextHover,
    borderColor: r.colorPrimaryHover,
    background: r.colorBgContainer
  }, {
    color: r.colorPrimaryTextActive,
    borderColor: r.colorPrimaryActive,
    background: r.colorBgContainer
  })), dx(r)), vx(r, r.colorPrimaryBg, {
    background: r.colorPrimaryBgHover
  }, {
    background: r.colorPrimaryBorder
  })), xv(r, r.colorLink, "text", {
    color: r.colorPrimaryTextHover,
    background: r.colorPrimaryBg
  }, {
    color: r.colorPrimaryTextActive,
    background: r.colorPrimaryBorder
  })), sx(r.componentCls, r.ghostBg, r.colorPrimary, r.colorPrimary, r.colorTextDisabled, r.colorBorder, {
    color: r.colorPrimaryHover,
    borderColor: r.colorPrimaryHover
  }, {
    color: r.colorPrimaryActive,
    borderColor: r.colorPrimaryActive
  })), D5 = (r) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
    color: r.colorError,
    boxShadow: r.dangerShadow
  }, cx(r, r.dangerColor, r.colorError, {
    background: r.colorErrorHover
  }, {
    background: r.colorErrorActive
  })), fx(r, r.colorError, r.colorBgContainer, {
    color: r.colorErrorHover,
    borderColor: r.colorErrorBorderHover
  }, {
    color: r.colorErrorActive,
    borderColor: r.colorErrorActive
  })), dx(r)), vx(r, r.colorErrorBg, {
    background: r.colorErrorBgFilledHover
  }, {
    background: r.colorErrorBgActive
  })), xv(r, r.colorError, "text", {
    color: r.colorErrorHover,
    background: r.colorErrorBg
  }, {
    color: r.colorErrorHover,
    background: r.colorErrorBgActive
  })), xv(r, r.colorError, "link", {
    color: r.colorErrorHover
  }, {
    color: r.colorErrorActive
  })), sx(r.componentCls, r.ghostBg, r.colorError, r.colorError, r.colorTextDisabled, r.colorBorder, {
    color: r.colorErrorHover,
    borderColor: r.colorErrorHover
  }, {
    color: r.colorErrorActive,
    borderColor: r.colorErrorActive
  })), L5 = (r) => {
    const {
      componentCls: a
    } = r;
    return {
      [`${a}-color-default`]: N5(r),
      [`${a}-color-primary`]: M5(r),
      [`${a}-color-dangerous`]: D5(r)
    };
  }, A5 = (r) => Object.assign(Object.assign(Object.assign(Object.assign({}, fx(r, r.defaultBorderColor, r.defaultBg, {
    color: r.defaultHoverColor,
    borderColor: r.defaultHoverBorderColor,
    background: r.defaultHoverBg
  }, {
    color: r.defaultActiveColor,
    borderColor: r.defaultActiveBorderColor,
    background: r.defaultActiveBg
  })), xv(r, r.textTextColor, "text", {
    color: r.textTextHoverColor,
    background: r.textHoverBg
  }, {
    color: r.textTextActiveColor,
    background: r.colorBgTextActive
  })), cx(r, r.primaryColor, r.colorPrimary, {
    background: r.colorPrimaryHover,
    color: r.primaryColor
  }, {
    background: r.colorPrimaryActive,
    color: r.primaryColor
  })), xv(r, r.colorLink, "link", {
    color: r.colorLinkHover,
    background: r.linkHoverBg
  }, {
    color: r.colorLinkActive
  })), px = function(r) {
    let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
    const {
      componentCls: l,
      controlHeight: s,
      fontSize: f,
      lineHeight: m,
      borderRadius: p,
      buttonPaddingHorizontal: S,
      iconCls: C,
      buttonPaddingVertical: E,
      buttonIconOnlyFontSize: R
    } = r;
    return [
      {
        [a]: {
          fontSize: f,
          lineHeight: m,
          height: s,
          padding: `${$n(E)} ${$n(S)}`,
          borderRadius: p,
          [`&${l}-icon-only`]: {
            width: s,
            [C]: {
              fontSize: R
            }
          }
        }
      },
      // Shape - patch prefixCls again to override solid border radius style
      {
        [`${l}${l}-circle${a}`]: w5(r)
      },
      {
        [`${l}${l}-round${a}`]: T5(r)
      }
    ];
  }, P5 = (r) => {
    const a = Ks(r, {
      fontSize: r.contentFontSize,
      lineHeight: r.contentLineHeight
    });
    return px(a, r.componentCls);
  }, F5 = (r) => {
    const a = Ks(r, {
      controlHeight: r.controlHeightSM,
      fontSize: r.contentFontSizeSM,
      lineHeight: r.contentLineHeightSM,
      padding: r.paddingXS,
      buttonPaddingHorizontal: r.paddingInlineSM,
      buttonPaddingVertical: r.paddingBlockSM,
      borderRadius: r.borderRadiusSM,
      buttonIconOnlyFontSize: r.onlyIconSizeSM
    });
    return px(a, `${r.componentCls}-sm`);
  }, $5 = (r) => {
    const a = Ks(r, {
      controlHeight: r.controlHeightLG,
      fontSize: r.contentFontSizeLG,
      lineHeight: r.contentLineHeightLG,
      buttonPaddingHorizontal: r.paddingInlineLG,
      buttonPaddingVertical: r.paddingBlockLG,
      borderRadius: r.borderRadiusLG,
      buttonIconOnlyFontSize: r.onlyIconSizeLG
    });
    return px(a, `${r.componentCls}-lg`);
  }, z5 = (r) => {
    const {
      componentCls: a
    } = r;
    return {
      [a]: {
        [`&${a}-block`]: {
          width: "100%"
        }
      }
    };
  }, j5 = ix("Button", (r) => {
    const a = DN(r);
    return [
      // Shared
      R5(a),
      // Size
      P5(a),
      F5(a),
      $5(a),
      // Block
      z5(a),
      // Color
      L5(a),
      // https://github.com/ant-design/ant-design/issues/50969
      A5(a),
      // Button Group
      U4(a)
    ];
  }, LN, {
    unitless: {
      fontWeight: !0,
      contentLineHeight: !0,
      contentLineHeightSM: !0,
      contentLineHeightLG: !0
    }
  });
  function H5(r, a, l) {
    const {
      focusElCls: s,
      focus: f,
      borderElCls: m
    } = l, p = m ? "> *" : "", S = ["hover", f ? "focus" : null, "active"].filter(Boolean).map((C) => `&:${C} ${p}`).join(",");
    return {
      [`&-item:not(${a}-last-item)`]: {
        marginInlineEnd: r.calc(r.lineWidth).mul(-1).equal()
      },
      "&-item": Object.assign(Object.assign({
        [S]: {
          zIndex: 2
        }
      }, s ? {
        [`&${s}`]: {
          zIndex: 2
        }
      } : {}), {
        [`&[disabled] ${p}`]: {
          zIndex: 0
        }
      })
    };
  }
  function I5(r, a, l) {
    const {
      borderElCls: s
    } = l, f = s ? `> ${s}` : "";
    return {
      [`&-item:not(${a}-first-item):not(${a}-last-item) ${f}`]: {
        borderRadius: 0
      },
      [`&-item:not(${a}-last-item)${a}-first-item`]: {
        [`& ${f}, &${r}-sm ${f}, &${r}-lg ${f}`]: {
          borderStartEndRadius: 0,
          borderEndEndRadius: 0
        }
      },
      [`&-item:not(${a}-first-item)${a}-last-item`]: {
        [`& ${f}, &${r}-sm ${f}, &${r}-lg ${f}`]: {
          borderStartStartRadius: 0,
          borderEndStartRadius: 0
        }
      }
    };
  }
  function U5(r) {
    let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
      focus: !0
    };
    const {
      componentCls: l
    } = r, s = `${l}-compact`;
    return {
      [s]: Object.assign(Object.assign({}, H5(r, s, a)), I5(l, s, a))
    };
  }
  function V5(r, a) {
    return {
      // border collapse
      [`&-item:not(${a}-last-item)`]: {
        marginBottom: r.calc(r.lineWidth).mul(-1).equal()
      },
      "&-item": {
        "&:hover,&:focus,&:active": {
          zIndex: 2
        },
        "&[disabled]": {
          zIndex: 0
        }
      }
    };
  }
  function B5(r, a) {
    return {
      [`&-item:not(${a}-first-item):not(${a}-last-item)`]: {
        borderRadius: 0
      },
      [`&-item${a}-first-item:not(${a}-last-item)`]: {
        [`&, &${r}-sm, &${r}-lg`]: {
          borderEndEndRadius: 0,
          borderEndStartRadius: 0
        }
      },
      [`&-item${a}-last-item:not(${a}-first-item)`]: {
        [`&, &${r}-sm, &${r}-lg`]: {
          borderStartStartRadius: 0,
          borderStartEndRadius: 0
        }
      }
    };
  }
  function W5(r) {
    const a = `${r.componentCls}-compact-vertical`;
    return {
      [a]: Object.assign(Object.assign({}, V5(r, a)), B5(r.componentCls, a))
    };
  }
  const Y5 = (r) => {
    const {
      componentCls: a,
      colorPrimaryHover: l,
      lineWidth: s,
      calc: f
    } = r, m = f(s).mul(-1).equal(), p = (S) => ({
      [`${a}-compact${S ? "-vertical" : ""}-item${a}-primary:not([disabled])`]: {
        "& + &::before": {
          position: "absolute",
          top: S ? m : 0,
          insetInlineStart: S ? 0 : m,
          backgroundColor: l,
          content: '""',
          width: S ? "100%" : s,
          height: S ? s : "100%"
        }
      }
    });
    return Object.assign(Object.assign({}, p()), p(!0));
  }, q5 = Bk(["Button", "compact"], (r) => {
    const a = DN(r);
    return [
      // Space Compact
      U5(a),
      W5(a),
      Y5(a)
    ];
  }, LN);
  var G5 = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  function Q5(r) {
    if (typeof r == "object" && r) {
      let a = r == null ? void 0 : r.delay;
      return a = !Number.isNaN(a) && typeof a == "number" ? a : 0, {
        loading: a <= 0,
        delay: a
      };
    }
    return {
      loading: !!r,
      delay: 0
    };
  }
  const K5 = {
    default: ["default", "outlined"],
    primary: ["primary", "solid"],
    dashed: ["default", "dashed"],
    link: ["primary", "link"],
    text: ["default", "text"]
  }, X5 = /* @__PURE__ */ _e.forwardRef((r, a) => {
    var l, s, f, m;
    const {
      loading: p = !1,
      prefixCls: S,
      color: C,
      variant: E,
      type: R,
      danger: T = !1,
      shape: _ = "default",
      size: A,
      styles: P,
      disabled: L,
      className: M,
      rootClassName: V,
      children: $,
      icon: j,
      iconPosition: W = "start",
      ghost: I = !1,
      block: ee = !1,
      // React does not recognize the `htmlType` prop on a DOM element. Here we pick it out of `rest`.
      htmlType: Y = "button",
      classNames: ne,
      style: ae = {},
      autoInsertSpace: ve,
      autoFocus: ye
    } = r, Oe = G5(r, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]), ge = R || "default", [me, Te] = N.useMemo(() => {
      if (C && E)
        return [C, E];
      const rt = K5[ge] || [];
      return T ? ["danger", rt[1]] : rt;
    }, [R, C, E, T]), Q = me === "danger" ? "dangerous" : me, {
      getPrefixCls: q,
      direction: se,
      button: te
    } = N.useContext(Xr), z = (l = ve ?? (te == null ? void 0 : te.autoInsertSpace)) !== null && l !== void 0 ? l : !0, K = q("btn", S), [Re, we, Ue] = j5(K), Ke = N.useContext(R0), Be = L ?? Ke, vt = N.useContext(EN), ut = N.useMemo(() => Q5(p), [p]), [Tt, pn] = N.useState(ut.loading), [on, Ut] = N.useState(!1), ze = N.useRef(null), bt = q1(a, ze), $t = N.Children.count($) === 1 && !j && !s0(Te), un = N.useRef(!0);
    _e.useEffect(() => (un.current = !1, () => {
      un.current = !0;
    }), []), N.useEffect(() => {
      let rt = null;
      ut.delay > 0 ? rt = setTimeout(() => {
        rt = null, pn(!0);
      }, ut.delay) : pn(ut.loading);
      function Pt() {
        rt && (clearTimeout(rt), rt = null);
      }
      return Pt;
    }, [ut]), N.useEffect(() => {
      if (!ze.current || !z)
        return;
      const rt = ze.current.textContent || "";
      $t && N1(rt) ? on || Ut(!0) : on && Ut(!1);
    }), N.useEffect(() => {
      ye && ze.current && ze.current.focus();
    }, []);
    const er = _e.useCallback((rt) => {
      var Pt;
      if (Tt || Be) {
        rt.preventDefault();
        return;
      }
      (Pt = r.onClick) === null || Pt === void 0 || Pt.call(r, rt);
    }, [r.onClick, Tt, Be]);
    if (process.env.NODE_ENV !== "production") {
      const rt = zl("Button");
      process.env.NODE_ENV !== "production" && rt(!(typeof j == "string" && j.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${j}\` at https://ant.design/components/icon`), process.env.NODE_ENV !== "production" && rt(!(I && s0(Te)), "usage", "`link` or `text` button can't be a `ghost` button.");
    }
    const {
      compactSize: tr,
      compactItemClassnames: On
    } = P4(K, se), Zt = {
      large: "lg",
      small: "sm",
      middle: void 0
    }, qt = A4((rt) => {
      var Pt, Gt;
      return (Gt = (Pt = A ?? tr) !== null && Pt !== void 0 ? Pt : vt) !== null && Gt !== void 0 ? Gt : rt;
    }), sn = qt && (s = Zt[qt]) !== null && s !== void 0 ? s : "", nr = Tt ? "loading" : j, bn = D0(Oe, ["navigate"]), Er = Lt(K, we, Ue, {
      [`${K}-${_}`]: _ !== "default" && _,
      // line(253 - 254): Compatible with versions earlier than 5.21.0
      [`${K}-${ge}`]: ge,
      [`${K}-dangerous`]: T,
      [`${K}-color-${Q}`]: Q,
      [`${K}-variant-${Te}`]: Te,
      [`${K}-${sn}`]: sn,
      [`${K}-icon-only`]: !$ && $ !== 0 && !!nr,
      [`${K}-background-ghost`]: I && !s0(Te),
      [`${K}-loading`]: Tt,
      [`${K}-two-chinese-chars`]: on && z && !Tt,
      [`${K}-block`]: ee,
      [`${K}-rtl`]: se === "rtl",
      [`${K}-icon-end`]: W === "end"
    }, On, M, V, te == null ? void 0 : te.className), zn = Object.assign(Object.assign({}, te == null ? void 0 : te.style), ae), xr = Lt(ne == null ? void 0 : ne.icon, (f = te == null ? void 0 : te.classNames) === null || f === void 0 ? void 0 : f.icon), wa = Object.assign(Object.assign({}, (P == null ? void 0 : P.icon) || {}), ((m = te == null ? void 0 : te.styles) === null || m === void 0 ? void 0 : m.icon) || {}), Nr = j && !Tt ? /* @__PURE__ */ _e.createElement(RN, {
      prefixCls: K,
      className: xr,
      style: wa
    }, j) : /* @__PURE__ */ _e.createElement(I4, {
      existIcon: !!j,
      prefixCls: K,
      loading: Tt,
      mount: un.current
    }), $e = $ || $ === 0 ? H4($, $t && z) : null;
    if (bn.href !== void 0)
      return Re(/* @__PURE__ */ _e.createElement("a", Object.assign({}, bn, {
        className: Lt(Er, {
          [`${K}-disabled`]: Be
        }),
        href: Be ? void 0 : bn.href,
        style: zn,
        onClick: er,
        ref: bt,
        tabIndex: Be ? -1 : 0
      }), Nr, $e));
    let nt = /* @__PURE__ */ _e.createElement("button", Object.assign({}, Oe, {
      type: Y,
      className: Er,
      style: zn,
      onClick: er,
      disabled: Be,
      ref: bt
    }), Nr, $e, On && /* @__PURE__ */ _e.createElement(q5, {
      prefixCls: K
    }));
    return s0(Te) || (nt = /* @__PURE__ */ _e.createElement(CN, {
      component: "Button",
      disabled: Tt
    }, nt)), Re(nt);
  }), hf = X5;
  hf.Group = z4;
  hf.__ANT_BUTTON = !0;
  process.env.NODE_ENV !== "production" && (hf.displayName = "Button");
  function $E(r) {
    return !!(r != null && r.then);
  }
  const PN = (r) => {
    const {
      type: a,
      children: l,
      prefixCls: s,
      buttonProps: f,
      close: m,
      autoFocus: p,
      emitEvent: S,
      isSilent: C,
      quitOnNullishReturnValue: E,
      actionFn: R
    } = r, T = N.useRef(!1), _ = N.useRef(null), [A, P] = Ev(!1), L = function() {
      m == null || m.apply(void 0, arguments);
    };
    N.useEffect(() => {
      let $ = null;
      return p && ($ = setTimeout(() => {
        var j;
        (j = _.current) === null || j === void 0 || j.focus({
          preventScroll: !0
        });
      })), () => {
        $ && clearTimeout($);
      };
    }, []);
    const M = ($) => {
      $E($) && (P(!0), $.then(function() {
        P(!1, !0), L.apply(void 0, arguments), T.current = !1;
      }, (j) => {
        if (P(!1, !0), T.current = !1, !(C != null && C()))
          return Promise.reject(j);
      }));
    }, V = ($) => {
      if (T.current)
        return;
      if (T.current = !0, !R) {
        L();
        return;
      }
      let j;
      if (S) {
        if (j = R($), E && !$E(j)) {
          T.current = !1, L($);
          return;
        }
      } else if (R.length)
        j = R(m), T.current = !1;
      else if (j = R(), !$E(j)) {
        L();
        return;
      }
      M(j);
    };
    return /* @__PURE__ */ N.createElement(hf, Object.assign({}, xN(a), {
      onClick: V,
      loading: A,
      prefixCls: s
    }, f, {
      ref: _
    }), l);
  }, Jh = /* @__PURE__ */ _e.createContext({}), {
    Provider: FN
  } = Jh, d_ = () => {
    const {
      autoFocusButton: r,
      cancelButtonProps: a,
      cancelTextLocale: l,
      isSilent: s,
      mergedOkCancel: f,
      rootPrefixCls: m,
      close: p,
      onCancel: S,
      onConfirm: C
    } = N.useContext(Jh);
    return f ? /* @__PURE__ */ _e.createElement(PN, {
      isSilent: s,
      actionFn: S,
      close: function() {
        p == null || p.apply(void 0, arguments), C == null || C(!1);
      },
      autoFocus: r === "cancel",
      buttonProps: a,
      prefixCls: `${m}-btn`
    }, l) : null;
  }, v_ = () => {
    const {
      autoFocusButton: r,
      close: a,
      isSilent: l,
      okButtonProps: s,
      rootPrefixCls: f,
      okTextLocale: m,
      okType: p,
      onConfirm: S,
      onOk: C
    } = N.useContext(Jh);
    return /* @__PURE__ */ _e.createElement(PN, {
      isSilent: l,
      type: p || "primary",
      actionFn: C,
      close: function() {
        a == null || a.apply(void 0, arguments), S == null || S(!0);
      },
      autoFocus: r === "ok",
      buttonProps: s,
      prefixCls: `${f}-btn`
    }, m);
  };
  var $N = /* @__PURE__ */ N.createContext(null), p_ = [];
  function Z5(r, a) {
    var l = N.useState(function() {
      if (!ui())
        return null;
      var P = document.createElement("div");
      return process.env.NODE_ENV !== "production" && a && P.setAttribute("data-debug", a), P;
    }), s = lt(l, 1), f = s[0], m = N.useRef(!1), p = N.useContext($N), S = N.useState(p_), C = lt(S, 2), E = C[0], R = C[1], T = p || (m.current ? void 0 : function(P) {
      R(function(L) {
        var M = [P].concat(mt(L));
        return M;
      });
    });
    function _() {
      f.parentElement || document.body.appendChild(f), m.current = !0;
    }
    function A() {
      var P;
      (P = f.parentElement) === null || P === void 0 || P.removeChild(f), m.current = !1;
    }
    return Wh(function() {
      return r ? p ? p(_) : _() : A(), A;
    }, [r]), Wh(function() {
      E.length && (E.forEach(function(P) {
        return P();
      }), R(p_));
    }, [E]), [f, T];
  }
  function J5(r) {
    var a = "rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)), l = document.createElement("div");
    l.id = a;
    var s = l.style;
    s.position = "absolute", s.left = "0", s.top = "0", s.width = "100px", s.height = "100px", s.overflow = "scroll";
    var f, m;
    if (r) {
      var p = getComputedStyle(r);
      s.scrollbarColor = p.scrollbarColor, s.scrollbarWidth = p.scrollbarWidth;
      var S = getComputedStyle(r, "::-webkit-scrollbar"), C = parseInt(S.width, 10), E = parseInt(S.height, 10);
      try {
        var R = C ? "width: ".concat(S.width, ";") : "", T = E ? "height: ".concat(S.height, ";") : "";
        _u(`
#`.concat(a, `::-webkit-scrollbar {
`).concat(R, `
`).concat(T, `
}`), a);
      } catch (P) {
        console.error(P), f = C, m = E;
      }
    }
    document.body.appendChild(l);
    var _ = r && f && !isNaN(f) ? f : l.offsetWidth - l.clientWidth, A = r && m && !isNaN(m) ? m : l.offsetHeight - l.clientHeight;
    return document.body.removeChild(l), Bh(a), {
      width: _,
      height: A
    };
  }
  function e3(r) {
    return typeof document > "u" || !r || !(r instanceof Element) ? {
      width: 0,
      height: 0
    } : J5(r);
  }
  function t3() {
    return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
  }
  var n3 = "rc-util-locker-".concat(Date.now()), h_ = 0;
  function r3(r) {
    var a = !!r, l = N.useState(function() {
      return h_ += 1, "".concat(n3, "_").concat(h_);
    }), s = lt(l, 1), f = s[0];
    Wh(function() {
      if (a) {
        var m = e3(document.body).width, p = t3();
        _u(`
html body {
  overflow-y: hidden;
  `.concat(p ? "width: calc(100% - ".concat(m, "px);") : "", `
}`), f);
      } else
        Bh(f);
      return function() {
        Bh(f);
      };
    }, [a, f]);
  }
  var a3 = !1;
  function i3(r) {
    return a3;
  }
  var m_ = function(a) {
    return a === !1 ? !1 : !ui() || !a ? null : typeof a == "string" ? document.querySelector(a) : typeof a == "function" ? a() : a;
  }, zN = /* @__PURE__ */ N.forwardRef(function(r, a) {
    var l = r.open, s = r.autoLock, f = r.getContainer, m = r.debug, p = r.autoDestroy, S = p === void 0 ? !0 : p, C = r.children, E = N.useState(l), R = lt(E, 2), T = R[0], _ = R[1], A = T || l;
    process.env.NODE_ENV !== "production" && sr(ui() || !l, "Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."), N.useEffect(function() {
      (S || l) && _(l);
    }, [l, S]);
    var P = N.useState(function() {
      return m_(f);
    }), L = lt(P, 2), M = L[0], V = L[1];
    N.useEffect(function() {
      var Oe = m_(f);
      V(Oe ?? null);
    });
    var $ = Z5(A && !M, m), j = lt($, 2), W = j[0], I = j[1], ee = M ?? W;
    r3(s && l && ui() && (ee === W || ee === document.body));
    var Y = null;
    if (C && G1(C) && a) {
      var ne = C;
      Y = ne.ref;
    }
    var ae = q1(Y, a);
    if (!A || !ui() || M === void 0)
      return null;
    var ve = ee === !1 || i3(), ye = C;
    return a && (ye = /* @__PURE__ */ N.cloneElement(C, {
      ref: ae
    })), /* @__PURE__ */ N.createElement($N.Provider, {
      value: I
    }, ve ? ye : /* @__PURE__ */ B1.createPortal(ye, ee));
  });
  process.env.NODE_ENV !== "production" && (zN.displayName = "Portal");
  var jN = /* @__PURE__ */ N.createContext({});
  function o3() {
    var r = Ce({}, M0);
    return r.useId;
  }
  var g_ = 0, y_ = o3();
  const l3 = y_ ? (
    // Use React `useId`
    function(a) {
      var l = y_();
      return a || (process.env.NODE_ENV === "test" ? "test-id" : l);
    }
  ) : (
    // Use compatible of `useId`
    function(a) {
      var l = N.useState("ssr-id"), s = lt(l, 2), f = s[0], m = s[1];
      return N.useEffect(function() {
        var p = g_;
        g_ += 1, m("rc_unique_".concat(p));
      }, []), a || (process.env.NODE_ENV === "test" ? "test-id" : f);
    }
  );
  function S_(r, a, l) {
    var s = a;
    return !s && l && (s = "".concat(r, "-").concat(l)), s;
  }
  function C_(r, a) {
    var l = r["page".concat(a ? "Y" : "X", "Offset")], s = "scroll".concat(a ? "Top" : "Left");
    if (typeof l != "number") {
      var f = r.document;
      l = f.documentElement[s], typeof l != "number" && (l = f.body[s]);
    }
    return l;
  }
  function u3(r) {
    var a = r.getBoundingClientRect(), l = {
      left: a.left,
      top: a.top
    }, s = r.ownerDocument, f = s.defaultView || s.parentWindow;
    return l.left += C_(f), l.top += C_(f, !0), l;
  }
  const s3 = /* @__PURE__ */ N.memo(function(r) {
    var a = r.children;
    return a;
  }, function(r, a) {
    var l = a.shouldUpdate;
    return !l;
  });
  var c3 = {
    width: 0,
    height: 0,
    overflow: "hidden",
    outline: "none"
  }, f3 = {
    outline: "none"
  }, hx = /* @__PURE__ */ _e.forwardRef(function(r, a) {
    var l = r.prefixCls, s = r.className, f = r.style, m = r.title, p = r.ariaId, S = r.footer, C = r.closable, E = r.closeIcon, R = r.onClose, T = r.children, _ = r.bodyStyle, A = r.bodyProps, P = r.modalRender, L = r.onMouseDown, M = r.onMouseUp, V = r.holderRef, $ = r.visible, j = r.forceRender, W = r.width, I = r.height, ee = r.classNames, Y = r.styles, ne = _e.useContext(jN), ae = ne.panel, ve = q1(V, ae), ye = N.useRef(), Oe = N.useRef();
    _e.useImperativeHandle(a, function() {
      return {
        focus: function() {
          var K;
          (K = ye.current) === null || K === void 0 || K.focus({
            preventScroll: !0
          });
        },
        changeActive: function(K) {
          var Re = document, we = Re.activeElement;
          K && we === Oe.current ? ye.current.focus({
            preventScroll: !0
          }) : !K && we === ye.current && Oe.current.focus({
            preventScroll: !0
          });
        }
      };
    });
    var ge = {};
    W !== void 0 && (ge.width = W), I !== void 0 && (ge.height = I);
    var me = S ? /* @__PURE__ */ _e.createElement("div", {
      className: Lt("".concat(l, "-footer"), ee == null ? void 0 : ee.footer),
      style: Ce({}, Y == null ? void 0 : Y.footer)
    }, S) : null, Te = m ? /* @__PURE__ */ _e.createElement("div", {
      className: Lt("".concat(l, "-header"), ee == null ? void 0 : ee.header),
      style: Ce({}, Y == null ? void 0 : Y.header)
    }, /* @__PURE__ */ _e.createElement("div", {
      className: "".concat(l, "-title"),
      id: p
    }, m)) : null, re = N.useMemo(function() {
      return kt(C) === "object" && C !== null ? C : C ? {
        closeIcon: E ?? /* @__PURE__ */ _e.createElement("span", {
          className: "".concat(l, "-close-x")
        })
      } : {};
    }, [C, E, l]), Q = lx(re, !0), q = kt(C) === "object" && C.disabled, se = C ? /* @__PURE__ */ _e.createElement("button", cr({
      type: "button",
      onClick: R,
      "aria-label": "Close"
    }, Q, {
      className: "".concat(l, "-close"),
      disabled: q
    }), re.closeIcon) : null, te = /* @__PURE__ */ _e.createElement("div", {
      className: Lt("".concat(l, "-content"), ee == null ? void 0 : ee.content),
      style: Y == null ? void 0 : Y.content
    }, se, Te, /* @__PURE__ */ _e.createElement("div", cr({
      className: Lt("".concat(l, "-body"), ee == null ? void 0 : ee.body),
      style: Ce(Ce({}, _), Y == null ? void 0 : Y.body)
    }, A), T), me);
    return /* @__PURE__ */ _e.createElement("div", {
      key: "dialog-element",
      role: "dialog",
      "aria-labelledby": m ? p : null,
      "aria-modal": "true",
      ref: ve,
      style: Ce(Ce({}, f), ge),
      className: Lt(l, s),
      onMouseDown: L,
      onMouseUp: M
    }, /* @__PURE__ */ _e.createElement("div", {
      ref: ye,
      tabIndex: 0,
      style: f3
    }, /* @__PURE__ */ _e.createElement(s3, {
      shouldUpdate: $ || j
    }, P ? P(te) : te)), /* @__PURE__ */ _e.createElement("div", {
      tabIndex: 0,
      ref: Oe,
      style: c3
    }));
  });
  process.env.NODE_ENV !== "production" && (hx.displayName = "Panel");
  var HN = /* @__PURE__ */ N.forwardRef(function(r, a) {
    var l = r.prefixCls, s = r.title, f = r.style, m = r.className, p = r.visible, S = r.forceRender, C = r.destroyOnClose, E = r.motionName, R = r.ariaId, T = r.onVisibleChanged, _ = r.mousePosition, A = N.useRef(), P = N.useState(), L = lt(P, 2), M = L[0], V = L[1], $ = {};
    M && ($.transformOrigin = M);
    function j() {
      var W = u3(A.current);
      V(_ && (_.x || _.y) ? "".concat(_.x - W.left, "px ").concat(_.y - W.top, "px") : "");
    }
    return /* @__PURE__ */ N.createElement(Xh, {
      visible: p,
      onVisibleChanged: T,
      onAppearPrepare: j,
      onEnterPrepare: j,
      forceRender: S,
      motionName: E,
      removeOnLeave: C,
      ref: A
    }, function(W, I) {
      var ee = W.className, Y = W.style;
      return /* @__PURE__ */ N.createElement(hx, cr({}, r, {
        ref: a,
        title: s,
        ariaId: R,
        prefixCls: l,
        holderRef: I,
        style: Ce(Ce(Ce({}, Y), f), $),
        className: Lt(m, ee)
      }));
    });
  });
  HN.displayName = "Content";
  var d3 = function(a) {
    var l = a.prefixCls, s = a.style, f = a.visible, m = a.maskProps, p = a.motionName, S = a.className;
    return /* @__PURE__ */ N.createElement(Xh, {
      key: "mask",
      visible: f,
      motionName: p,
      leavedClassName: "".concat(l, "-mask-hidden")
    }, function(C, E) {
      var R = C.className, T = C.style;
      return /* @__PURE__ */ N.createElement("div", cr({
        ref: E,
        style: Ce(Ce({}, T), s),
        className: Lt("".concat(l, "-mask"), R, S)
      }, m));
    });
  }, v3 = function(a) {
    var l = a.prefixCls, s = l === void 0 ? "rc-dialog" : l, f = a.zIndex, m = a.visible, p = m === void 0 ? !1 : m, S = a.keyboard, C = S === void 0 ? !0 : S, E = a.focusTriggerAfterClose, R = E === void 0 ? !0 : E, T = a.wrapStyle, _ = a.wrapClassName, A = a.wrapProps, P = a.onClose, L = a.afterOpenChange, M = a.afterClose, V = a.transitionName, $ = a.animation, j = a.closable, W = j === void 0 ? !0 : j, I = a.mask, ee = I === void 0 ? !0 : I, Y = a.maskTransitionName, ne = a.maskAnimation, ae = a.maskClosable, ve = ae === void 0 ? !0 : ae, ye = a.maskStyle, Oe = a.maskProps, ge = a.rootClassName, me = a.classNames, Te = a.styles;
    process.env.NODE_ENV !== "production" && (["wrapStyle", "bodyStyle", "maskStyle"].forEach(function(bt) {
      Hh(!(bt in a), "".concat(bt, " is deprecated, please use styles instead."));
    }), "wrapClassName" in a && Hh(!1, "wrapClassName is deprecated, please use classNames instead."));
    var re = N.useRef(), Q = N.useRef(), q = N.useRef(), se = N.useState(p), te = lt(se, 2), z = te[0], K = te[1], Re = l3();
    function we() {
      QE(Q.current, document.activeElement) || (re.current = document.activeElement);
    }
    function Ue() {
      if (!QE(Q.current, document.activeElement)) {
        var bt;
        (bt = q.current) === null || bt === void 0 || bt.focus();
      }
    }
    function Ke(bt) {
      if (bt)
        Ue();
      else {
        if (K(!1), ee && re.current && R) {
          try {
            re.current.focus({
              preventScroll: !0
            });
          } catch {
          }
          re.current = null;
        }
        z && (M == null || M());
      }
      L == null || L(bt);
    }
    function Be(bt) {
      P == null || P(bt);
    }
    var vt = N.useRef(!1), ut = N.useRef(), Tt = function() {
      clearTimeout(ut.current), vt.current = !0;
    }, pn = function() {
      ut.current = setTimeout(function() {
        vt.current = !1;
      });
    }, on = null;
    ve && (on = function($t) {
      vt.current ? vt.current = !1 : Q.current === $t.target && Be($t);
    });
    function Ut(bt) {
      if (C && bt.keyCode === wt.ESC) {
        bt.stopPropagation(), Be(bt);
        return;
      }
      p && bt.keyCode === wt.TAB && q.current.changeActive(!bt.shiftKey);
    }
    N.useEffect(function() {
      p && (K(!0), we());
    }, [p]), N.useEffect(function() {
      return function() {
        clearTimeout(ut.current);
      };
    }, []);
    var ze = Ce(Ce(Ce({
      zIndex: f
    }, T), Te == null ? void 0 : Te.wrapper), {}, {
      display: z ? null : "none"
    });
    return /* @__PURE__ */ N.createElement("div", cr({
      className: Lt("".concat(s, "-root"), ge)
    }, lx(a, {
      data: !0
    })), /* @__PURE__ */ N.createElement(d3, {
      prefixCls: s,
      visible: ee && p,
      motionName: S_(s, Y, ne),
      style: Ce(Ce({
        zIndex: f
      }, ye), Te == null ? void 0 : Te.mask),
      maskProps: Oe,
      className: me == null ? void 0 : me.mask
    }), /* @__PURE__ */ N.createElement("div", cr({
      tabIndex: -1,
      onKeyDown: Ut,
      className: Lt("".concat(s, "-wrap"), _, me == null ? void 0 : me.wrapper),
      ref: Q,
      onClick: on,
      style: ze
    }, A), /* @__PURE__ */ N.createElement(HN, cr({}, a, {
      onMouseDown: Tt,
      onMouseUp: pn,
      ref: q,
      closable: W,
      ariaId: Re,
      prefixCls: s,
      visible: p && z,
      onClose: Be,
      onVisibleChanged: Ke,
      motionName: S_(s, V, $)
    }))));
  }, IN = function(a) {
    var l = a.visible, s = a.getContainer, f = a.forceRender, m = a.destroyOnClose, p = m === void 0 ? !1 : m, S = a.afterClose, C = a.panelRef, E = N.useState(l), R = lt(E, 2), T = R[0], _ = R[1], A = N.useMemo(function() {
      return {
        panel: C
      };
    }, [C]);
    return N.useEffect(function() {
      l && _(!0);
    }, [l]), !f && p && !T ? null : /* @__PURE__ */ N.createElement(jN.Provider, {
      value: A
    }, /* @__PURE__ */ N.createElement(zN, {
      open: l || f || T,
      autoDestroy: !1,
      getContainer: s,
      autoLock: l || T
    }, /* @__PURE__ */ N.createElement(v3, cr({}, a, {
      destroyOnClose: p,
      afterClose: function() {
        S == null || S(), _(!1);
      }
    }))));
  };
  IN.displayName = "Dialog";
  var uf = "RC_FORM_INTERNAL_HOOKS", Fn = function() {
    sr(!1, "Can not find FormContext. Please make sure you wrap Field under Form.");
  }, Rv = /* @__PURE__ */ N.createContext({
    getFieldValue: Fn,
    getFieldsValue: Fn,
    getFieldError: Fn,
    getFieldWarning: Fn,
    getFieldsError: Fn,
    isFieldsTouched: Fn,
    isFieldTouched: Fn,
    isFieldValidating: Fn,
    isFieldsValidating: Fn,
    resetFields: Fn,
    setFields: Fn,
    setFieldValue: Fn,
    setFieldsValue: Fn,
    validateFields: Fn,
    submit: Fn,
    getInternalHooks: function() {
      return Fn(), {
        dispatch: Fn,
        initEntityValue: Fn,
        registerField: Fn,
        useSubscribe: Fn,
        setInitialValues: Fn,
        destroyForm: Fn,
        setCallbacks: Fn,
        registerWatch: Fn,
        getFields: Fn,
        setValidateMessages: Fn,
        setPreserve: Fn,
        getInitialValue: Fn
      };
    }
  }), _0 = /* @__PURE__ */ N.createContext(null);
  function M1(r) {
    return r == null ? [] : Array.isArray(r) ? r : [r];
  }
  function p3(r) {
    return r && !!r._init;
  }
  function D1() {
    return {
      default: "Validation error on field %s",
      required: "%s is required",
      enum: "%s must be one of %s",
      whitespace: "%s cannot be empty",
      date: {
        format: "%s date %s is invalid for format %s",
        parse: "%s date could not be parsed, %s is invalid ",
        invalid: "%s date %s is invalid"
      },
      types: {
        string: "%s is not a %s",
        method: "%s is not a %s (function)",
        array: "%s is not an %s",
        object: "%s is not an %s",
        number: "%s is not a %s",
        date: "%s is not a %s",
        boolean: "%s is not a %s",
        integer: "%s is not an %s",
        float: "%s is not a %s",
        regexp: "%s is not a valid %s",
        email: "%s is not a valid %s",
        url: "%s is not a valid %s",
        hex: "%s is not a valid %s"
      },
      string: {
        len: "%s must be exactly %s characters",
        min: "%s must be at least %s characters",
        max: "%s cannot be longer than %s characters",
        range: "%s must be between %s and %s characters"
      },
      number: {
        len: "%s must equal %s",
        min: "%s cannot be less than %s",
        max: "%s cannot be greater than %s",
        range: "%s must be between %s and %s"
      },
      array: {
        len: "%s must be exactly %s in length",
        min: "%s cannot be less than %s in length",
        max: "%s cannot be greater than %s in length",
        range: "%s must be between %s and %s in length"
      },
      pattern: {
        mismatch: "%s value %s does not match pattern %s"
      },
      clone: function() {
        var a = JSON.parse(JSON.stringify(this));
        return a.clone = this.clone, a;
      }
    };
  }
  var L1 = D1();
  function h3(r) {
    try {
      return Function.toString.call(r).indexOf("[native code]") !== -1;
    } catch {
      return typeof r == "function";
    }
  }
  function m3(r, a, l) {
    if (Q1()) return Reflect.construct.apply(null, arguments);
    var s = [null];
    s.push.apply(s, a);
    var f = new (r.bind.apply(r, s))();
    return l && Ih(f, l.prototype), f;
  }
  function A1(r) {
    var a = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
    return A1 = function(s) {
      if (s === null || !h3(s)) return s;
      if (typeof s != "function") throw new TypeError("Super expression must either be null or a function");
      if (a !== void 0) {
        if (a.has(s)) return a.get(s);
        a.set(s, f);
      }
      function f() {
        return m3(s, arguments, Uh(this).constructor);
      }
      return f.prototype = Object.create(s.prototype, {
        constructor: {
          value: f,
          enumerable: !1,
          writable: !0,
          configurable: !0
        }
      }), Ih(f, s);
    }, A1(r);
  }
  var g3 = /%[sdj%]/g, UN = function() {
  };
  typeof process < "u" && process.env && process.env.NODE_ENV !== "production" && typeof window < "u" && typeof document < "u" && (UN = function(a, l) {
    typeof console < "u" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING > "u" && l.every(function(s) {
      return typeof s == "string";
    }) && console.warn(a, l);
  });
  function P1(r) {
    if (!r || !r.length) return null;
    var a = {};
    return r.forEach(function(l) {
      var s = l.field;
      a[s] = a[s] || [], a[s].push(l);
    }), a;
  }
  function Qi(r) {
    for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++)
      l[s - 1] = arguments[s];
    var f = 0, m = l.length;
    if (typeof r == "function")
      return r.apply(null, l);
    if (typeof r == "string") {
      var p = r.replace(g3, function(S) {
        if (S === "%%")
          return "%";
        if (f >= m)
          return S;
        switch (S) {
          case "%s":
            return String(l[f++]);
          case "%d":
            return Number(l[f++]);
          case "%j":
            try {
              return JSON.stringify(l[f++]);
            } catch {
              return "[Circular]";
            }
            break;
          default:
            return S;
        }
      });
      return p;
    }
    return r;
  }
  function y3(r) {
    return r === "string" || r === "url" || r === "hex" || r === "email" || r === "date" || r === "pattern";
  }
  function Zr(r, a) {
    return !!(r == null || a === "array" && Array.isArray(r) && !r.length || y3(a) && typeof r == "string" && !r);
  }
  function S3(r, a, l) {
    var s = [], f = 0, m = r.length;
    function p(S) {
      s.push.apply(s, mt(S || [])), f++, f === m && l(s);
    }
    r.forEach(function(S) {
      a(S, p);
    });
  }
  function b_(r, a, l) {
    var s = 0, f = r.length;
    function m(p) {
      if (p && p.length) {
        l(p);
        return;
      }
      var S = s;
      s = s + 1, S < f ? a(r[S], m) : l([]);
    }
    m([]);
  }
  function C3(r) {
    var a = [];
    return Object.keys(r).forEach(function(l) {
      a.push.apply(a, mt(r[l] || []));
    }), a;
  }
  var E_ = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l(s, f) {
      var m;
      return xa(this, l), m = a.call(this, "Async Validation Error"), ue(Yt(m), "errors", void 0), ue(Yt(m), "fields", void 0), m.errors = s, m.fields = f, m;
    }
    return Ra(l);
  }(/* @__PURE__ */ A1(Error));
  function b3(r, a, l, s, f) {
    if (a.first) {
      var m = new Promise(function(_, A) {
        var P = function(V) {
          return s(V), V.length ? A(new E_(V, P1(V))) : _(f);
        }, L = C3(r);
        b_(L, l, P);
      });
      return m.catch(function(_) {
        return _;
      }), m;
    }
    var p = a.firstFields === !0 ? Object.keys(r) : a.firstFields || [], S = Object.keys(r), C = S.length, E = 0, R = [], T = new Promise(function(_, A) {
      var P = function(M) {
        if (R.push.apply(R, M), E++, E === C)
          return s(R), R.length ? A(new E_(R, P1(R))) : _(f);
      };
      S.length || (s(R), _(f)), S.forEach(function(L) {
        var M = r[L];
        p.indexOf(L) !== -1 ? b_(M, l, P) : S3(M, l, P);
      });
    });
    return T.catch(function(_) {
      return _;
    }), T;
  }
  function E3(r) {
    return !!(r && r.message !== void 0);
  }
  function x3(r, a) {
    for (var l = r, s = 0; s < a.length; s++) {
      if (l == null)
        return l;
      l = l[a[s]];
    }
    return l;
  }
  function x_(r, a) {
    return function(l) {
      var s;
      return r.fullFields ? s = x3(a, r.fullFields) : s = a[l.field || r.fullField], E3(l) ? (l.field = l.field || r.fullField, l.fieldValue = s, l) : {
        message: typeof l == "function" ? l() : l,
        fieldValue: s,
        field: l.field || r.fullField
      };
    };
  }
  function R_(r, a) {
    if (a) {
      for (var l in a)
        if (a.hasOwnProperty(l)) {
          var s = a[l];
          kt(s) === "object" && kt(r[l]) === "object" ? r[l] = Ce(Ce({}, r[l]), s) : r[l] = s;
        }
    }
    return r;
  }
  var uv = "enum", R3 = function(a, l, s, f, m) {
    a[uv] = Array.isArray(a[uv]) ? a[uv] : [], a[uv].indexOf(l) === -1 && f.push(Qi(m.messages[uv], a.fullField, a[uv].join(", ")));
  }, w3 = function(a, l, s, f, m) {
    if (a.pattern) {
      if (a.pattern instanceof RegExp)
        a.pattern.lastIndex = 0, a.pattern.test(l) || f.push(Qi(m.messages.pattern.mismatch, a.fullField, l, a.pattern));
      else if (typeof a.pattern == "string") {
        var p = new RegExp(a.pattern);
        p.test(l) || f.push(Qi(m.messages.pattern.mismatch, a.fullField, l, a.pattern));
      }
    }
  }, T3 = function(a, l, s, f, m) {
    var p = typeof a.len == "number", S = typeof a.min == "number", C = typeof a.max == "number", E = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, R = l, T = null, _ = typeof l == "number", A = typeof l == "string", P = Array.isArray(l);
    if (_ ? T = "number" : A ? T = "string" : P && (T = "array"), !T)
      return !1;
    P && (R = l.length), A && (R = l.replace(E, "_").length), p ? R !== a.len && f.push(Qi(m.messages[T].len, a.fullField, a.len)) : S && !C && R < a.min ? f.push(Qi(m.messages[T].min, a.fullField, a.min)) : C && !S && R > a.max ? f.push(Qi(m.messages[T].max, a.fullField, a.max)) : S && C && (R < a.min || R > a.max) && f.push(Qi(m.messages[T].range, a.fullField, a.min, a.max));
  }, VN = function(a, l, s, f, m, p) {
    a.required && (!s.hasOwnProperty(a.field) || Zr(l, p || a.type)) && f.push(Qi(m.messages.required, a.fullField));
  }, c0;
  const O3 = function() {
    if (c0)
      return c0;
    var r = "[a-fA-F\\d:]", a = function(ee) {
      return ee && ee.includeBoundaries ? "(?:(?<=\\s|^)(?=".concat(r, ")|(?<=").concat(r, ")(?=\\s|$))") : "";
    }, l = "(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}", s = "[a-fA-F\\d]{1,4}", f = [
      "(?:".concat(s, ":){7}(?:").concat(s, "|:)"),
      // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8
      "(?:".concat(s, ":){6}(?:").concat(l, "|:").concat(s, "|:)"),
      // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::
      "(?:".concat(s, ":){5}(?::").concat(l, "|(?::").concat(s, "){1,2}|:)"),
      // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::
      "(?:".concat(s, ":){4}(?:(?::").concat(s, "){0,1}:").concat(l, "|(?::").concat(s, "){1,3}|:)"),
      // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::
      "(?:".concat(s, ":){3}(?:(?::").concat(s, "){0,2}:").concat(l, "|(?::").concat(s, "){1,4}|:)"),
      // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::
      "(?:".concat(s, ":){2}(?:(?::").concat(s, "){0,3}:").concat(l, "|(?::").concat(s, "){1,5}|:)"),
      // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::
      "(?:".concat(s, ":){1}(?:(?::").concat(s, "){0,4}:").concat(l, "|(?::").concat(s, "){1,6}|:)"),
      // 1::              1::3:4:5:6:7:8   1::8            1::
      "(?::(?:(?::".concat(s, "){0,5}:").concat(l, "|(?::").concat(s, "){1,7}|:))")
      // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::
    ], m = "(?:%[0-9a-zA-Z]{1,})?", p = "(?:".concat(f.join("|"), ")").concat(m), S = new RegExp("(?:^".concat(l, "$)|(?:^").concat(p, "$)")), C = new RegExp("^".concat(l, "$")), E = new RegExp("^".concat(p, "$")), R = function(ee) {
      return ee && ee.exact ? S : new RegExp("(?:".concat(a(ee)).concat(l).concat(a(ee), ")|(?:").concat(a(ee)).concat(p).concat(a(ee), ")"), "g");
    };
    R.v4 = function(I) {
      return I && I.exact ? C : new RegExp("".concat(a(I)).concat(l).concat(a(I)), "g");
    }, R.v6 = function(I) {
      return I && I.exact ? E : new RegExp("".concat(a(I)).concat(p).concat(a(I)), "g");
    };
    var T = "(?:(?:[a-z]+:)?//)", _ = "(?:\\S+(?::\\S*)?@)?", A = R.v4().source, P = R.v6().source, L = "(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)", M = "(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*", V = "(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))", $ = "(?::\\d{2,5})?", j = '(?:[/?#][^\\s"]*)?', W = "(?:".concat(T, "|www\\.)").concat(_, "(?:localhost|").concat(A, "|").concat(P, "|").concat(L).concat(M).concat(V, ")").concat($).concat(j);
    return c0 = new RegExp("(?:^".concat(W, "$)"), "i"), c0;
  };
  var w_ = {
    // http://emailregex.com/
    email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,
    // url: new RegExp(
    //   '^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$',
    //   'i',
    // ),
    hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  }, Fh = {
    integer: function(a) {
      return Fh.number(a) && parseInt(a, 10) === a;
    },
    float: function(a) {
      return Fh.number(a) && !Fh.integer(a);
    },
    array: function(a) {
      return Array.isArray(a);
    },
    regexp: function(a) {
      if (a instanceof RegExp)
        return !0;
      try {
        return !!new RegExp(a);
      } catch {
        return !1;
      }
    },
    date: function(a) {
      return typeof a.getTime == "function" && typeof a.getMonth == "function" && typeof a.getYear == "function" && !isNaN(a.getTime());
    },
    number: function(a) {
      return isNaN(a) ? !1 : typeof a == "number";
    },
    object: function(a) {
      return kt(a) === "object" && !Fh.array(a);
    },
    method: function(a) {
      return typeof a == "function";
    },
    email: function(a) {
      return typeof a == "string" && a.length <= 320 && !!a.match(w_.email);
    },
    url: function(a) {
      return typeof a == "string" && a.length <= 2048 && !!a.match(O3());
    },
    hex: function(a) {
      return typeof a == "string" && !!a.match(w_.hex);
    }
  }, _3 = function(a, l, s, f, m) {
    if (a.required && l === void 0) {
      VN(a, l, s, f, m);
      return;
    }
    var p = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], S = a.type;
    p.indexOf(S) > -1 ? Fh[S](l) || f.push(Qi(m.messages.types[S], a.fullField, a.type)) : S && kt(l) !== a.type && f.push(Qi(m.messages.types[S], a.fullField, a.type));
  }, k3 = function(a, l, s, f, m) {
    (/^\s+$/.test(l) || l === "") && f.push(Qi(m.messages.whitespace, a.fullField));
  };
  const an = {
    required: VN,
    whitespace: k3,
    type: _3,
    range: T3,
    enum: R3,
    pattern: w3
  };
  var N3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m);
    }
    s(p);
  }, M3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (l == null && !a.required)
        return s();
      an.required(a, l, f, p, m, "array"), l != null && (an.type(a, l, f, p, m), an.range(a, l, f, p, m));
    }
    s(p);
  }, D3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && an.type(a, l, f, p, m);
    }
    s(p);
  }, L3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l, "date") && !a.required)
        return s();
      if (an.required(a, l, f, p, m), !Zr(l, "date")) {
        var C;
        l instanceof Date ? C = l : C = new Date(l), an.type(a, C, f, p, m), C && an.range(a, C.getTime(), f, p, m);
      }
    }
    s(p);
  }, A3 = "enum", P3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && an[A3](a, l, f, p, m);
    }
    s(p);
  }, F3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && (an.type(a, l, f, p, m), an.range(a, l, f, p, m));
    }
    s(p);
  }, $3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && (an.type(a, l, f, p, m), an.range(a, l, f, p, m));
    }
    s(p);
  }, z3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && an.type(a, l, f, p, m);
    }
    s(p);
  }, j3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (l === "" && (l = void 0), Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && (an.type(a, l, f, p, m), an.range(a, l, f, p, m));
    }
    s(p);
  }, H3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), l !== void 0 && an.type(a, l, f, p, m);
    }
    s(p);
  }, I3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l, "string") && !a.required)
        return s();
      an.required(a, l, f, p, m), Zr(l, "string") || an.pattern(a, l, f, p, m);
    }
    s(p);
  }, U3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l) && !a.required)
        return s();
      an.required(a, l, f, p, m), Zr(l) || an.type(a, l, f, p, m);
    }
    s(p);
  }, V3 = function(a, l, s, f, m) {
    var p = [], S = Array.isArray(l) ? "array" : kt(l);
    an.required(a, l, f, p, m, S), s(p);
  }, B3 = function(a, l, s, f, m) {
    var p = [], S = a.required || !a.required && f.hasOwnProperty(a.field);
    if (S) {
      if (Zr(l, "string") && !a.required)
        return s();
      an.required(a, l, f, p, m, "string"), Zr(l, "string") || (an.type(a, l, f, p, m), an.range(a, l, f, p, m), an.pattern(a, l, f, p, m), a.whitespace === !0 && an.whitespace(a, l, f, p, m));
    }
    s(p);
  }, zE = function(a, l, s, f, m) {
    var p = a.type, S = [], C = a.required || !a.required && f.hasOwnProperty(a.field);
    if (C) {
      if (Zr(l, p) && !a.required)
        return s();
      an.required(a, l, f, S, m, p), Zr(l, p) || an.type(a, l, f, S, m);
    }
    s(S);
  };
  const jh = {
    string: B3,
    method: z3,
    number: j3,
    boolean: D3,
    regexp: U3,
    integer: $3,
    float: F3,
    array: M3,
    object: H3,
    enum: P3,
    pattern: I3,
    date: L3,
    url: zE,
    hex: zE,
    email: zE,
    required: V3,
    any: N3
  };
  var em = /* @__PURE__ */ function() {
    function r(a) {
      xa(this, r), ue(this, "rules", null), ue(this, "_messages", L1), this.define(a);
    }
    return Ra(r, [{
      key: "define",
      value: function(l) {
        var s = this;
        if (!l)
          throw new Error("Cannot configure a schema with no rules");
        if (kt(l) !== "object" || Array.isArray(l))
          throw new Error("Rules must be an object");
        this.rules = {}, Object.keys(l).forEach(function(f) {
          var m = l[f];
          s.rules[f] = Array.isArray(m) ? m : [m];
        });
      }
    }, {
      key: "messages",
      value: function(l) {
        return l && (this._messages = R_(D1(), l)), this._messages;
      }
    }, {
      key: "validate",
      value: function(l) {
        var s = this, f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function() {
        }, p = l, S = f, C = m;
        if (typeof S == "function" && (C = S, S = {}), !this.rules || Object.keys(this.rules).length === 0)
          return C && C(null, p), Promise.resolve(p);
        function E(P) {
          var L = [], M = {};
          function V(j) {
            if (Array.isArray(j)) {
              var W;
              L = (W = L).concat.apply(W, mt(j));
            } else
              L.push(j);
          }
          for (var $ = 0; $ < P.length; $++)
            V(P[$]);
          L.length ? (M = P1(L), C(L, M)) : C(null, p);
        }
        if (S.messages) {
          var R = this.messages();
          R === L1 && (R = D1()), R_(R, S.messages), S.messages = R;
        } else
          S.messages = this.messages();
        var T = {}, _ = S.keys || Object.keys(this.rules);
        _.forEach(function(P) {
          var L = s.rules[P], M = p[P];
          L.forEach(function(V) {
            var $ = V;
            typeof $.transform == "function" && (p === l && (p = Ce({}, p)), M = p[P] = $.transform(M), M != null && ($.type = $.type || (Array.isArray(M) ? "array" : kt(M)))), typeof $ == "function" ? $ = {
              validator: $
            } : $ = Ce({}, $), $.validator = s.getValidationMethod($), $.validator && ($.field = P, $.fullField = $.fullField || P, $.type = s.getType($), T[P] = T[P] || [], T[P].push({
              rule: $,
              value: M,
              source: p,
              field: P
            }));
          });
        });
        var A = {};
        return b3(T, S, function(P, L) {
          var M = P.rule, V = (M.type === "object" || M.type === "array") && (kt(M.fields) === "object" || kt(M.defaultField) === "object");
          V = V && (M.required || !M.required && P.value), M.field = P.field;
          function $(Y, ne) {
            return Ce(Ce({}, ne), {}, {
              fullField: "".concat(M.fullField, ".").concat(Y),
              fullFields: M.fullFields ? [].concat(mt(M.fullFields), [Y]) : [Y]
            });
          }
          function j() {
            var Y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], ne = Array.isArray(Y) ? Y : [Y];
            !S.suppressWarning && ne.length && r.warning("async-validator:", ne), ne.length && M.message !== void 0 && (ne = [].concat(M.message));
            var ae = ne.map(x_(M, p));
            if (S.first && ae.length)
              return A[M.field] = 1, L(ae);
            if (!V)
              L(ae);
            else {
              if (M.required && !P.value)
                return M.message !== void 0 ? ae = [].concat(M.message).map(x_(M, p)) : S.error && (ae = [S.error(M, Qi(S.messages.required, M.field))]), L(ae);
              var ve = {};
              M.defaultField && Object.keys(P.value).map(function(ge) {
                ve[ge] = M.defaultField;
              }), ve = Ce(Ce({}, ve), P.rule.fields);
              var ye = {};
              Object.keys(ve).forEach(function(ge) {
                var me = ve[ge], Te = Array.isArray(me) ? me : [me];
                ye[ge] = Te.map($.bind(null, ge));
              });
              var Oe = new r(ye);
              Oe.messages(S.messages), P.rule.options && (P.rule.options.messages = S.messages, P.rule.options.error = S.error), Oe.validate(P.value, P.rule.options || S, function(ge) {
                var me = [];
                ae && ae.length && me.push.apply(me, mt(ae)), ge && ge.length && me.push.apply(me, mt(ge)), L(me.length ? me : null);
              });
            }
          }
          var W;
          if (M.asyncValidator)
            W = M.asyncValidator(M, P.value, j, P.source, S);
          else if (M.validator) {
            try {
              W = M.validator(M, P.value, j, P.source, S);
            } catch (Y) {
              var I, ee;
              (I = (ee = console).error) === null || I === void 0 || I.call(ee, Y), S.suppressValidatorError || setTimeout(function() {
                throw Y;
              }, 0), j(Y.message);
            }
            W === !0 ? j() : W === !1 ? j(typeof M.message == "function" ? M.message(M.fullField || M.field) : M.message || "".concat(M.fullField || M.field, " fails")) : W instanceof Array ? j(W) : W instanceof Error && j(W.message);
          }
          W && W.then && W.then(function() {
            return j();
          }, function(Y) {
            return j(Y);
          });
        }, function(P) {
          E(P);
        }, p);
      }
    }, {
      key: "getType",
      value: function(l) {
        if (l.type === void 0 && l.pattern instanceof RegExp && (l.type = "pattern"), typeof l.validator != "function" && l.type && !jh.hasOwnProperty(l.type))
          throw new Error(Qi("Unknown rule type %s", l.type));
        return l.type || "string";
      }
    }, {
      key: "getValidationMethod",
      value: function(l) {
        if (typeof l.validator == "function")
          return l.validator;
        var s = Object.keys(l), f = s.indexOf("message");
        return f !== -1 && s.splice(f, 1), s.length === 1 && s[0] === "required" ? jh.required : jh[this.getType(l)] || void 0;
      }
    }]), r;
  }();
  ue(em, "register", function(a, l) {
    if (typeof l != "function")
      throw new Error("Cannot register a validator by type, validator is not a function");
    jh[a] = l;
  });
  ue(em, "warning", UN);
  ue(em, "messages", L1);
  ue(em, "validators", jh);
  var qi = "'${name}' is not a valid ${type}", BN = {
    default: "Validation error on field '${name}'",
    required: "'${name}' is required",
    enum: "'${name}' must be one of [${enum}]",
    whitespace: "'${name}' cannot be empty",
    date: {
      format: "'${name}' is invalid for format date",
      parse: "'${name}' could not be parsed as date",
      invalid: "'${name}' is invalid date"
    },
    types: {
      string: qi,
      method: qi,
      array: qi,
      object: qi,
      number: qi,
      date: qi,
      boolean: qi,
      integer: qi,
      float: qi,
      regexp: qi,
      email: qi,
      url: qi,
      hex: qi
    },
    string: {
      len: "'${name}' must be exactly ${len} characters",
      min: "'${name}' must be at least ${min} characters",
      max: "'${name}' cannot be longer than ${max} characters",
      range: "'${name}' must be between ${min} and ${max} characters"
    },
    number: {
      len: "'${name}' must equal ${len}",
      min: "'${name}' cannot be less than ${min}",
      max: "'${name}' cannot be greater than ${max}",
      range: "'${name}' must be between ${min} and ${max}"
    },
    array: {
      len: "'${name}' must be exactly ${len} in length",
      min: "'${name}' cannot be less than ${min} in length",
      max: "'${name}' cannot be greater than ${max} in length",
      range: "'${name}' must be between ${min} and ${max} in length"
    },
    pattern: {
      mismatch: "'${name}' does not match pattern ${pattern}"
    }
  }, T_ = em;
  function W3(r, a) {
    return r.replace(/\\?\$\{\w+\}/g, function(l) {
      if (l.startsWith("\\"))
        return l.slice(1);
      var s = l.slice(2, -1);
      return a[s];
    });
  }
  var O_ = "CODE_LOGIC_ERROR";
  function F1(r, a, l, s, f) {
    return $1.apply(this, arguments);
  }
  function $1() {
    return $1 = pf(/* @__PURE__ */ si().mark(function r(a, l, s, f, m) {
      var p, S, C, E, R, T, _, A, P;
      return si().wrap(function(M) {
        for (; ; ) switch (M.prev = M.next) {
          case 0:
            return p = Ce({}, s), delete p.ruleIndex, T_.warning = function() {
            }, p.validator && (S = p.validator, p.validator = function() {
              try {
                return S.apply(void 0, arguments);
              } catch (V) {
                return console.error(V), Promise.reject(O_);
              }
            }), C = null, p && p.type === "array" && p.defaultField && (C = p.defaultField, delete p.defaultField), E = new T_(ue({}, a, [p])), R = dv(BN, f.validateMessages), E.messages(R), T = [], M.prev = 10, M.next = 13, Promise.resolve(E.validate(ue({}, a, l), Ce({}, f)));
          case 13:
            M.next = 18;
            break;
          case 15:
            M.prev = 15, M.t0 = M.catch(10), M.t0.errors && (T = M.t0.errors.map(function(V, $) {
              var j = V.message, W = j === O_ ? R.default : j;
              return /* @__PURE__ */ N.isValidElement(W) ? (
                // Wrap ReactNode with `key`
                /* @__PURE__ */ N.cloneElement(W, {
                  key: "error_".concat($)
                })
              ) : W;
            }));
          case 18:
            if (!(!T.length && C)) {
              M.next = 23;
              break;
            }
            return M.next = 21, Promise.all(l.map(function(V, $) {
              return F1("".concat(a, ".").concat($), V, C, f, m);
            }));
          case 21:
            return _ = M.sent, M.abrupt("return", _.reduce(function(V, $) {
              return [].concat(mt(V), mt($));
            }, []));
          case 23:
            return A = Ce(Ce({}, s), {}, {
              name: a,
              enum: (s.enum || []).join(", ")
            }, m), P = T.map(function(V) {
              return typeof V == "string" ? W3(V, A) : V;
            }), M.abrupt("return", P);
          case 26:
          case "end":
            return M.stop();
        }
      }, r, null, [[10, 15]]);
    })), $1.apply(this, arguments);
  }
  function Y3(r, a, l, s, f, m) {
    var p = r.join("."), S = l.map(function(R, T) {
      var _ = R.validator, A = Ce(Ce({}, R), {}, {
        ruleIndex: T
      });
      return _ && (A.validator = function(P, L, M) {
        var V = !1, $ = function() {
          for (var I = arguments.length, ee = new Array(I), Y = 0; Y < I; Y++)
            ee[Y] = arguments[Y];
          Promise.resolve().then(function() {
            sr(!V, "Your validator function has already return a promise. `callback` will be ignored."), V || M.apply(void 0, ee);
          });
        }, j = _(P, L, $);
        V = j && typeof j.then == "function" && typeof j.catch == "function", sr(V, "`callback` is deprecated. Please return a promise instead."), V && j.then(function() {
          M();
        }).catch(function(W) {
          M(W || " ");
        });
      }), A;
    }).sort(function(R, T) {
      var _ = R.warningOnly, A = R.ruleIndex, P = T.warningOnly, L = T.ruleIndex;
      return !!_ == !!P ? A - L : _ ? 1 : -1;
    }), C;
    if (f === !0)
      C = new Promise(/* @__PURE__ */ function() {
        var R = pf(/* @__PURE__ */ si().mark(function T(_, A) {
          var P, L, M;
          return si().wrap(function($) {
            for (; ; ) switch ($.prev = $.next) {
              case 0:
                P = 0;
              case 1:
                if (!(P < S.length)) {
                  $.next = 12;
                  break;
                }
                return L = S[P], $.next = 5, F1(p, a, L, s, m);
              case 5:
                if (M = $.sent, !M.length) {
                  $.next = 9;
                  break;
                }
                return A([{
                  errors: M,
                  rule: L
                }]), $.abrupt("return");
              case 9:
                P += 1, $.next = 1;
                break;
              case 12:
                _([]);
              case 13:
              case "end":
                return $.stop();
            }
          }, T);
        }));
        return function(T, _) {
          return R.apply(this, arguments);
        };
      }());
    else {
      var E = S.map(function(R) {
        return F1(p, a, R, s, m).then(function(T) {
          return {
            errors: T,
            rule: R
          };
        });
      });
      C = (f ? G3(E) : q3(E)).then(function(R) {
        return Promise.reject(R);
      });
    }
    return C.catch(function(R) {
      return R;
    }), C;
  }
  function q3(r) {
    return z1.apply(this, arguments);
  }
  function z1() {
    return z1 = pf(/* @__PURE__ */ si().mark(function r(a) {
      return si().wrap(function(s) {
        for (; ; ) switch (s.prev = s.next) {
          case 0:
            return s.abrupt("return", Promise.all(a).then(function(f) {
              var m, p = (m = []).concat.apply(m, mt(f));
              return p;
            }));
          case 1:
          case "end":
            return s.stop();
        }
      }, r);
    })), z1.apply(this, arguments);
  }
  function G3(r) {
    return j1.apply(this, arguments);
  }
  function j1() {
    return j1 = pf(/* @__PURE__ */ si().mark(function r(a) {
      var l;
      return si().wrap(function(f) {
        for (; ; ) switch (f.prev = f.next) {
          case 0:
            return l = 0, f.abrupt("return", new Promise(function(m) {
              a.forEach(function(p) {
                p.then(function(S) {
                  S.errors.length && m([S]), l += 1, l === a.length && m([]);
                });
              });
            }));
          case 2:
          case "end":
            return f.stop();
        }
      }, r);
    })), j1.apply(this, arguments);
  }
  function kr(r) {
    return M1(r);
  }
  function __(r, a) {
    var l = {};
    return a.forEach(function(s) {
      var f = Fl(r, s);
      l = Qo(l, s, f);
    }), l;
  }
  function mv(r, a) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
    return r && r.some(function(s) {
      return WN(a, s, l);
    });
  }
  function WN(r, a) {
    var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
    return !r || !a || !l && r.length !== a.length ? !1 : a.every(function(s, f) {
      return r[f] === s;
    });
  }
  function Q3(r, a) {
    if (r === a)
      return !0;
    if (!r && a || !a || !r || !a || kt(r) !== "object" || kt(a) !== "object")
      return !1;
    var l = Object.keys(r), s = Object.keys(a), f = new Set([].concat(l, s));
    return mt(f).every(function(m) {
      var p = r[m], S = a[m];
      return typeof p == "function" && typeof S == "function" ? !0 : p === S;
    });
  }
  function K3(r) {
    var a = arguments.length <= 1 ? void 0 : arguments[1];
    return a && a.target && kt(a.target) === "object" && r in a.target ? a.target[r] : a;
  }
  function k_(r, a, l) {
    var s = r.length;
    if (a < 0 || a >= s || l < 0 || l >= s)
      return r;
    var f = r[a], m = a - l;
    return m > 0 ? [].concat(mt(r.slice(0, l)), [f], mt(r.slice(l, a)), mt(r.slice(a + 1, s))) : m < 0 ? [].concat(mt(r.slice(0, a)), mt(r.slice(a + 1, l + 1)), [f], mt(r.slice(l + 1, s))) : r;
  }
  var X3 = ["name"], mo = [];
  function jE(r, a, l, s, f, m) {
    return typeof r == "function" ? r(a, l, "source" in m ? {
      source: m.source
    } : {}) : s !== f;
  }
  var mx = /* @__PURE__ */ function(r) {
    df(l, r);
    var a = vf(l);
    function l(s) {
      var f;
      if (xa(this, l), f = a.call(this, s), ue(Yt(f), "state", {
        resetCount: 0
      }), ue(Yt(f), "cancelRegisterFunc", null), ue(Yt(f), "mounted", !1), ue(Yt(f), "touched", !1), ue(Yt(f), "dirty", !1), ue(Yt(f), "validatePromise", void 0), ue(Yt(f), "prevValidating", void 0), ue(Yt(f), "errors", mo), ue(Yt(f), "warnings", mo), ue(Yt(f), "cancelRegister", function() {
        var C = f.props, E = C.preserve, R = C.isListField, T = C.name;
        f.cancelRegisterFunc && f.cancelRegisterFunc(R, E, kr(T)), f.cancelRegisterFunc = null;
      }), ue(Yt(f), "getNamePath", function() {
        var C = f.props, E = C.name, R = C.fieldContext, T = R.prefixName, _ = T === void 0 ? [] : T;
        return E !== void 0 ? [].concat(mt(_), mt(E)) : [];
      }), ue(Yt(f), "getRules", function() {
        var C = f.props, E = C.rules, R = E === void 0 ? [] : E, T = C.fieldContext;
        return R.map(function(_) {
          return typeof _ == "function" ? _(T) : _;
        });
      }), ue(Yt(f), "refresh", function() {
        f.mounted && f.setState(function(C) {
          var E = C.resetCount;
          return {
            resetCount: E + 1
          };
        });
      }), ue(Yt(f), "metaCache", null), ue(Yt(f), "triggerMetaEvent", function(C) {
        var E = f.props.onMetaChange;
        if (E) {
          var R = Ce(Ce({}, f.getMeta()), {}, {
            destroy: C
          });
          XE(f.metaCache, R) || E(R), f.metaCache = R;
        } else
          f.metaCache = null;
      }), ue(Yt(f), "onStoreChange", function(C, E, R) {
        var T = f.props, _ = T.shouldUpdate, A = T.dependencies, P = A === void 0 ? [] : A, L = T.onReset, M = R.store, V = f.getNamePath(), $ = f.getValue(C), j = f.getValue(M), W = E && mv(E, V);
        switch (R.type === "valueUpdate" && R.source === "external" && !XE($, j) && (f.touched = !0, f.dirty = !0, f.validatePromise = null, f.errors = mo, f.warnings = mo, f.triggerMetaEvent()), R.type) {
          case "reset":
            if (!E || W) {
              f.touched = !1, f.dirty = !1, f.validatePromise = void 0, f.errors = mo, f.warnings = mo, f.triggerMetaEvent(), L == null || L(), f.refresh();
              return;
            }
            break;
          /**
           * In case field with `preserve = false` nest deps like:
           * - A = 1 => show B
           * - B = 1 => show C
           * - Reset A, need clean B, C
           */
          case "remove": {
            if (_ && jE(_, C, M, $, j, R)) {
              f.reRender();
              return;
            }
            break;
          }
          case "setField": {
            var I = R.data;
            if (W) {
              "touched" in I && (f.touched = I.touched), "validating" in I && !("originRCField" in I) && (f.validatePromise = I.validating ? Promise.resolve([]) : null), "errors" in I && (f.errors = I.errors || mo), "warnings" in I && (f.warnings = I.warnings || mo), f.dirty = !0, f.triggerMetaEvent(), f.reRender();
              return;
            } else if ("value" in I && mv(E, V, !0)) {
              f.reRender();
              return;
            }
            if (_ && !V.length && jE(_, C, M, $, j, R)) {
              f.reRender();
              return;
            }
            break;
          }
          case "dependenciesUpdate": {
            var ee = P.map(kr);
            if (ee.some(function(Y) {
              return mv(R.relatedFields, Y);
            })) {
              f.reRender();
              return;
            }
            break;
          }
          default:
            if (W || (!P.length || V.length || _) && jE(_, C, M, $, j, R)) {
              f.reRender();
              return;
            }
            break;
        }
        _ === !0 && f.reRender();
      }), ue(Yt(f), "validateRules", function(C) {
        var E = f.getNamePath(), R = f.getValue(), T = C || {}, _ = T.triggerName, A = T.validateOnly, P = A === void 0 ? !1 : A, L = Promise.resolve().then(/* @__PURE__ */ pf(/* @__PURE__ */ si().mark(function M() {
          var V, $, j, W, I, ee, Y;
          return si().wrap(function(ae) {
            for (; ; ) switch (ae.prev = ae.next) {
              case 0:
                if (f.mounted) {
                  ae.next = 2;
                  break;
                }
                return ae.abrupt("return", []);
              case 2:
                if (V = f.props, $ = V.validateFirst, j = $ === void 0 ? !1 : $, W = V.messageVariables, I = V.validateDebounce, ee = f.getRules(), _ && (ee = ee.filter(function(ve) {
                  return ve;
                }).filter(function(ve) {
                  var ye = ve.validateTrigger;
                  if (!ye)
                    return !0;
                  var Oe = M1(ye);
                  return Oe.includes(_);
                })), !(I && _)) {
                  ae.next = 10;
                  break;
                }
                return ae.next = 8, new Promise(function(ve) {
                  setTimeout(ve, I);
                });
              case 8:
                if (f.validatePromise === L) {
                  ae.next = 10;
                  break;
                }
                return ae.abrupt("return", []);
              case 10:
                return Y = Y3(E, R, ee, C, j, W), Y.catch(function(ve) {
                  return ve;
                }).then(function() {
                  var ve = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : mo;
                  if (f.validatePromise === L) {
                    var ye;
                    f.validatePromise = null;
                    var Oe = [], ge = [];
                    (ye = ve.forEach) === null || ye === void 0 || ye.call(ve, function(me) {
                      var Te = me.rule.warningOnly, re = me.errors, Q = re === void 0 ? mo : re;
                      Te ? ge.push.apply(ge, mt(Q)) : Oe.push.apply(Oe, mt(Q));
                    }), f.errors = Oe, f.warnings = ge, f.triggerMetaEvent(), f.reRender();
                  }
                }), ae.abrupt("return", Y);
              case 13:
              case "end":
                return ae.stop();
            }
          }, M);
        })));
        return P || (f.validatePromise = L, f.dirty = !0, f.errors = mo, f.warnings = mo, f.triggerMetaEvent(), f.reRender()), L;
      }), ue(Yt(f), "isFieldValidating", function() {
        return !!f.validatePromise;
      }), ue(Yt(f), "isFieldTouched", function() {
        return f.touched;
      }), ue(Yt(f), "isFieldDirty", function() {
        if (f.dirty || f.props.initialValue !== void 0)
          return !0;
        var C = f.props.fieldContext, E = C.getInternalHooks(uf), R = E.getInitialValue;
        return R(f.getNamePath()) !== void 0;
      }), ue(Yt(f), "getErrors", function() {
        return f.errors;
      }), ue(Yt(f), "getWarnings", function() {
        return f.warnings;
      }), ue(Yt(f), "isListField", function() {
        return f.props.isListField;
      }), ue(Yt(f), "isList", function() {
        return f.props.isList;
      }), ue(Yt(f), "isPreserve", function() {
        return f.props.preserve;
      }), ue(Yt(f), "getMeta", function() {
        f.prevValidating = f.isFieldValidating();
        var C = {
          touched: f.isFieldTouched(),
          validating: f.prevValidating,
          errors: f.errors,
          warnings: f.warnings,
          name: f.getNamePath(),
          validated: f.validatePromise === null
        };
        return C;
      }), ue(Yt(f), "getOnlyChild", function(C) {
        if (typeof C == "function") {
          var E = f.getMeta();
          return Ce(Ce({}, f.getOnlyChild(C(f.getControlled(), E, f.props.fieldContext))), {}, {
            isFunction: !0
          });
        }
        var R = WE(C);
        return R.length !== 1 || !/* @__PURE__ */ N.isValidElement(R[0]) ? {
          child: R,
          isFunction: !1
        } : {
          child: R[0],
          isFunction: !1
        };
      }), ue(Yt(f), "getValue", function(C) {
        var E = f.props.fieldContext.getFieldsValue, R = f.getNamePath();
        return Fl(C || E(!0), R);
      }), ue(Yt(f), "getControlled", function() {
        var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = f.props, R = E.name, T = E.trigger, _ = E.validateTrigger, A = E.getValueFromEvent, P = E.normalize, L = E.valuePropName, M = E.getValueProps, V = E.fieldContext, $ = _ !== void 0 ? _ : V.validateTrigger, j = f.getNamePath(), W = V.getInternalHooks, I = V.getFieldsValue, ee = W(uf), Y = ee.dispatch, ne = f.getValue(), ae = M || function(me) {
          return ue({}, L, me);
        }, ve = C[T], ye = R !== void 0 ? ae(ne) : {};
        process.env.NODE_ENV !== "production" && ye && Object.keys(ye).forEach(function(me) {
          sr(typeof ye[me] != "function", "It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(me, ")"));
        });
        var Oe = Ce(Ce({}, C), ye);
        Oe[T] = function() {
          f.touched = !0, f.dirty = !0, f.triggerMetaEvent();
          for (var me, Te = arguments.length, re = new Array(Te), Q = 0; Q < Te; Q++)
            re[Q] = arguments[Q];
          A ? me = A.apply(void 0, re) : me = K3.apply(void 0, [L].concat(re)), P && (me = P(me, ne, I(!0))), me !== ne && Y({
            type: "updateValue",
            namePath: j,
            value: me
          }), ve && ve.apply(void 0, re);
        };
        var ge = M1($ || []);
        return ge.forEach(function(me) {
          var Te = Oe[me];
          Oe[me] = function() {
            Te && Te.apply(void 0, arguments);
            var re = f.props.rules;
            re && re.length && Y({
              type: "validateField",
              namePath: j,
              triggerName: me
            });
          };
        }), Oe;
      }), s.fieldContext) {
        var m = s.fieldContext.getInternalHooks, p = m(uf), S = p.initEntityValue;
        S(Yt(f));
      }
      return f;
    }
    return Ra(l, [{
      key: "componentDidMount",
      value: function() {
        var f = this.props, m = f.shouldUpdate, p = f.fieldContext;
        if (this.mounted = !0, p) {
          var S = p.getInternalHooks, C = S(uf), E = C.registerField;
          this.cancelRegisterFunc = E(this);
        }
        m === !0 && this.reRender();
      }
    }, {
      key: "componentWillUnmount",
      value: function() {
        this.cancelRegister(), this.triggerMetaEvent(!0), this.mounted = !1;
      }
    }, {
      key: "reRender",
      value: function() {
        this.mounted && this.forceUpdate();
      }
    }, {
      key: "render",
      value: function() {
        var f = this.state.resetCount, m = this.props.children, p = this.getOnlyChild(m), S = p.child, C = p.isFunction, E;
        return C ? E = S : /* @__PURE__ */ N.isValidElement(S) ? E = /* @__PURE__ */ N.cloneElement(S, this.getControlled(S.props)) : (sr(!S, "`children` of Field is not validate ReactElement."), E = S), /* @__PURE__ */ N.createElement(N.Fragment, {
          key: f
        }, E);
      }
    }]), l;
  }(N.Component);
  ue(mx, "contextType", Rv);
  ue(mx, "defaultProps", {
    trigger: "onChange",
    valuePropName: "value"
  });
  function YN(r) {
    var a, l = r.name, s = $l(r, X3), f = N.useContext(Rv), m = N.useContext(_0), p = l !== void 0 ? kr(l) : void 0, S = (a = s.isListField) !== null && a !== void 0 ? a : !!m, C = "keep";
    return S || (C = "_".concat((p || []).join("_"))), process.env.NODE_ENV !== "production" && s.preserve === !1 && S && p.length <= 1 && sr(!1, "`preserve` should not apply on Form.List fields."), /* @__PURE__ */ N.createElement(mx, cr({
      key: C,
      name: p,
      isListField: S
    }, s, {
      fieldContext: f
    }));
  }
  function Z3(r) {
    var a = r.name, l = r.initialValue, s = r.children, f = r.rules, m = r.validateTrigger, p = r.isListField, S = N.useContext(Rv), C = N.useContext(_0), E = N.useRef({
      keys: [],
      id: 0
    }), R = E.current, T = N.useMemo(function() {
      var L = kr(S.prefixName) || [];
      return [].concat(mt(L), mt(kr(a)));
    }, [S.prefixName, a]), _ = N.useMemo(function() {
      return Ce(Ce({}, S), {}, {
        prefixName: T
      });
    }, [S, T]), A = N.useMemo(function() {
      return {
        getKey: function(M) {
          var V = T.length, $ = M[V];
          return [R.keys[$], M.slice(V + 1)];
        }
      };
    }, [T]);
    if (typeof s != "function")
      return sr(!1, "Form.List only accepts function as children."), null;
    var P = function(M, V, $) {
      var j = $.source;
      return j === "internal" ? !1 : M !== V;
    };
    return /* @__PURE__ */ N.createElement(_0.Provider, {
      value: A
    }, /* @__PURE__ */ N.createElement(Rv.Provider, {
      value: _
    }, /* @__PURE__ */ N.createElement(YN, {
      name: [],
      shouldUpdate: P,
      rules: f,
      validateTrigger: m,
      initialValue: l,
      isList: !0,
      isListField: p ?? !!C
    }, function(L, M) {
      var V = L.value, $ = V === void 0 ? [] : V, j = L.onChange, W = S.getFieldValue, I = function() {
        var ae = W(T || []);
        return ae || [];
      }, ee = {
        add: function(ae, ve) {
          var ye = I();
          ve >= 0 && ve <= ye.length ? (R.keys = [].concat(mt(R.keys.slice(0, ve)), [R.id], mt(R.keys.slice(ve))), j([].concat(mt(ye.slice(0, ve)), [ae], mt(ye.slice(ve))))) : (process.env.NODE_ENV !== "production" && (ve < 0 || ve > ye.length) && sr(!1, "The second parameter of the add function should be a valid positive number."), R.keys = [].concat(mt(R.keys), [R.id]), j([].concat(mt(ye), [ae]))), R.id += 1;
        },
        remove: function(ae) {
          var ve = I(), ye = new Set(Array.isArray(ae) ? ae : [ae]);
          ye.size <= 0 || (R.keys = R.keys.filter(function(Oe, ge) {
            return !ye.has(ge);
          }), j(ve.filter(function(Oe, ge) {
            return !ye.has(ge);
          })));
        },
        move: function(ae, ve) {
          if (ae !== ve) {
            var ye = I();
            ae < 0 || ae >= ye.length || ve < 0 || ve >= ye.length || (R.keys = k_(R.keys, ae, ve), j(k_(ye, ae, ve)));
          }
        }
      }, Y = $ || [];
      return Array.isArray(Y) || (Y = [], process.env.NODE_ENV !== "production" && sr(!1, "Current value of '".concat(T.join(" > "), "' is not an array type."))), s(Y.map(function(ne, ae) {
        var ve = R.keys[ae];
        return ve === void 0 && (R.keys[ae] = R.id, ve = R.keys[ae], R.id += 1), {
          name: ae,
          key: ve,
          isListField: !0
        };
      }), ee, M);
    })));
  }
  function J3(r) {
    var a = !1, l = r.length, s = [];
    return r.length ? new Promise(function(f, m) {
      r.forEach(function(p, S) {
        p.catch(function(C) {
          return a = !0, C;
        }).then(function(C) {
          l -= 1, s[S] = C, !(l > 0) && (a && m(s), f(s));
        });
      });
    }) : Promise.resolve([]);
  }
  var qN = "__@field_split__";
  function HE(r) {
    return r.map(function(a) {
      return "".concat(kt(a), ":").concat(a);
    }).join(qN);
  }
  var sv = /* @__PURE__ */ function() {
    function r() {
      xa(this, r), ue(this, "kvs", /* @__PURE__ */ new Map());
    }
    return Ra(r, [{
      key: "set",
      value: function(l, s) {
        this.kvs.set(HE(l), s);
      }
    }, {
      key: "get",
      value: function(l) {
        return this.kvs.get(HE(l));
      }
    }, {
      key: "update",
      value: function(l, s) {
        var f = this.get(l), m = s(f);
        m ? this.set(l, m) : this.delete(l);
      }
    }, {
      key: "delete",
      value: function(l) {
        this.kvs.delete(HE(l));
      }
      // Since we only use this in test, let simply realize this
    }, {
      key: "map",
      value: function(l) {
        return mt(this.kvs.entries()).map(function(s) {
          var f = lt(s, 2), m = f[0], p = f[1], S = m.split(qN);
          return l({
            key: S.map(function(C) {
              var E = C.match(/^([^:]*):(.*)$/), R = lt(E, 3), T = R[1], _ = R[2];
              return T === "number" ? Number(_) : _;
            }),
            value: p
          });
        });
      }
    }, {
      key: "toJSON",
      value: function() {
        var l = {};
        return this.map(function(s) {
          var f = s.key, m = s.value;
          return l[f.join(".")] = m, null;
        }), l;
      }
    }]), r;
  }(), eH = ["name"], tH = /* @__PURE__ */ Ra(function r(a) {
    var l = this;
    xa(this, r), ue(this, "formHooked", !1), ue(this, "forceRootUpdate", void 0), ue(this, "subscribable", !0), ue(this, "store", {}), ue(this, "fieldEntities", []), ue(this, "initialValues", {}), ue(this, "callbacks", {}), ue(this, "validateMessages", null), ue(this, "preserve", null), ue(this, "lastValidatePromise", null), ue(this, "getForm", function() {
      return {
        getFieldValue: l.getFieldValue,
        getFieldsValue: l.getFieldsValue,
        getFieldError: l.getFieldError,
        getFieldWarning: l.getFieldWarning,
        getFieldsError: l.getFieldsError,
        isFieldsTouched: l.isFieldsTouched,
        isFieldTouched: l.isFieldTouched,
        isFieldValidating: l.isFieldValidating,
        isFieldsValidating: l.isFieldsValidating,
        resetFields: l.resetFields,
        setFields: l.setFields,
        setFieldValue: l.setFieldValue,
        setFieldsValue: l.setFieldsValue,
        validateFields: l.validateFields,
        submit: l.submit,
        _init: !0,
        getInternalHooks: l.getInternalHooks
      };
    }), ue(this, "getInternalHooks", function(s) {
      return s === uf ? (l.formHooked = !0, {
        dispatch: l.dispatch,
        initEntityValue: l.initEntityValue,
        registerField: l.registerField,
        useSubscribe: l.useSubscribe,
        setInitialValues: l.setInitialValues,
        destroyForm: l.destroyForm,
        setCallbacks: l.setCallbacks,
        setValidateMessages: l.setValidateMessages,
        getFields: l.getFields,
        setPreserve: l.setPreserve,
        getInitialValue: l.getInitialValue,
        registerWatch: l.registerWatch
      }) : (sr(!1, "`getInternalHooks` is internal usage. Should not call directly."), null);
    }), ue(this, "useSubscribe", function(s) {
      l.subscribable = s;
    }), ue(this, "prevWithoutPreserves", null), ue(this, "setInitialValues", function(s, f) {
      if (l.initialValues = s || {}, f) {
        var m, p = dv(s, l.store);
        (m = l.prevWithoutPreserves) === null || m === void 0 || m.map(function(S) {
          var C = S.key;
          p = Qo(p, C, Fl(s, C));
        }), l.prevWithoutPreserves = null, l.updateStore(p);
      }
    }), ue(this, "destroyForm", function(s) {
      if (s)
        l.updateStore({});
      else {
        var f = new sv();
        l.getFieldEntities(!0).forEach(function(m) {
          l.isMergedPreserve(m.isPreserve()) || f.set(m.getNamePath(), !0);
        }), l.prevWithoutPreserves = f;
      }
    }), ue(this, "getInitialValue", function(s) {
      var f = Fl(l.initialValues, s);
      return s.length ? dv(f) : f;
    }), ue(this, "setCallbacks", function(s) {
      l.callbacks = s;
    }), ue(this, "setValidateMessages", function(s) {
      l.validateMessages = s;
    }), ue(this, "setPreserve", function(s) {
      l.preserve = s;
    }), ue(this, "watchList", []), ue(this, "registerWatch", function(s) {
      return l.watchList.push(s), function() {
        l.watchList = l.watchList.filter(function(f) {
          return f !== s;
        });
      };
    }), ue(this, "notifyWatch", function() {
      var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
      if (l.watchList.length) {
        var f = l.getFieldsValue(), m = l.getFieldsValue(!0);
        l.watchList.forEach(function(p) {
          p(f, m, s);
        });
      }
    }), ue(this, "timeoutId", null), ue(this, "warningUnhooked", function() {
      process.env.NODE_ENV !== "production" && !l.timeoutId && typeof window < "u" && (l.timeoutId = setTimeout(function() {
        l.timeoutId = null, l.formHooked || sr(!1, "Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?");
      }));
    }), ue(this, "updateStore", function(s) {
      l.store = s;
    }), ue(this, "getFieldEntities", function() {
      var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
      return s ? l.fieldEntities.filter(function(f) {
        return f.getNamePath().length;
      }) : l.fieldEntities;
    }), ue(this, "getFieldsMap", function() {
      var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, f = new sv();
      return l.getFieldEntities(s).forEach(function(m) {
        var p = m.getNamePath();
        f.set(p, m);
      }), f;
    }), ue(this, "getFieldEntitiesForNamePathList", function(s) {
      if (!s)
        return l.getFieldEntities(!0);
      var f = l.getFieldsMap(!0);
      return s.map(function(m) {
        var p = kr(m);
        return f.get(p) || {
          INVALIDATE_NAME_PATH: kr(m)
        };
      });
    }), ue(this, "getFieldsValue", function(s, f) {
      l.warningUnhooked();
      var m, p, S;
      if (s === !0 || Array.isArray(s) ? (m = s, p = f) : s && kt(s) === "object" && (S = s.strict, p = s.filter), m === !0 && !p)
        return l.store;
      var C = l.getFieldEntitiesForNamePathList(Array.isArray(m) ? m : null), E = [];
      return C.forEach(function(R) {
        var T, _, A = "INVALIDATE_NAME_PATH" in R ? R.INVALIDATE_NAME_PATH : R.getNamePath();
        if (S) {
          var P, L;
          if ((P = (L = R).isList) !== null && P !== void 0 && P.call(L))
            return;
        } else if (!m && (T = (_ = R).isListField) !== null && T !== void 0 && T.call(_))
          return;
        if (!p)
          E.push(A);
        else {
          var M = "getMeta" in R ? R.getMeta() : null;
          p(M) && E.push(A);
        }
      }), __(l.store, E.map(kr));
    }), ue(this, "getFieldValue", function(s) {
      l.warningUnhooked();
      var f = kr(s);
      return Fl(l.store, f);
    }), ue(this, "getFieldsError", function(s) {
      l.warningUnhooked();
      var f = l.getFieldEntitiesForNamePathList(s);
      return f.map(function(m, p) {
        return m && !("INVALIDATE_NAME_PATH" in m) ? {
          name: m.getNamePath(),
          errors: m.getErrors(),
          warnings: m.getWarnings()
        } : {
          name: kr(s[p]),
          errors: [],
          warnings: []
        };
      });
    }), ue(this, "getFieldError", function(s) {
      l.warningUnhooked();
      var f = kr(s), m = l.getFieldsError([f])[0];
      return m.errors;
    }), ue(this, "getFieldWarning", function(s) {
      l.warningUnhooked();
      var f = kr(s), m = l.getFieldsError([f])[0];
      return m.warnings;
    }), ue(this, "isFieldsTouched", function() {
      l.warningUnhooked();
      for (var s = arguments.length, f = new Array(s), m = 0; m < s; m++)
        f[m] = arguments[m];
      var p = f[0], S = f[1], C, E = !1;
      f.length === 0 ? C = null : f.length === 1 ? Array.isArray(p) ? (C = p.map(kr), E = !1) : (C = null, E = p) : (C = p.map(kr), E = S);
      var R = l.getFieldEntities(!0), T = function(M) {
        return M.isFieldTouched();
      };
      if (!C)
        return E ? R.every(function(L) {
          return T(L) || L.isList();
        }) : R.some(T);
      var _ = new sv();
      C.forEach(function(L) {
        _.set(L, []);
      }), R.forEach(function(L) {
        var M = L.getNamePath();
        C.forEach(function(V) {
          V.every(function($, j) {
            return M[j] === $;
          }) && _.update(V, function($) {
            return [].concat(mt($), [L]);
          });
        });
      });
      var A = function(M) {
        return M.some(T);
      }, P = _.map(function(L) {
        var M = L.value;
        return M;
      });
      return E ? P.every(A) : P.some(A);
    }), ue(this, "isFieldTouched", function(s) {
      return l.warningUnhooked(), l.isFieldsTouched([s]);
    }), ue(this, "isFieldsValidating", function(s) {
      l.warningUnhooked();
      var f = l.getFieldEntities();
      if (!s)
        return f.some(function(p) {
          return p.isFieldValidating();
        });
      var m = s.map(kr);
      return f.some(function(p) {
        var S = p.getNamePath();
        return mv(m, S) && p.isFieldValidating();
      });
    }), ue(this, "isFieldValidating", function(s) {
      return l.warningUnhooked(), l.isFieldsValidating([s]);
    }), ue(this, "resetWithFieldInitialValue", function() {
      var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = new sv(), m = l.getFieldEntities(!0);
      m.forEach(function(C) {
        var E = C.props.initialValue, R = C.getNamePath();
        if (E !== void 0) {
          var T = f.get(R) || /* @__PURE__ */ new Set();
          T.add({
            entity: C,
            value: E
          }), f.set(R, T);
        }
      });
      var p = function(E) {
        E.forEach(function(R) {
          var T = R.props.initialValue;
          if (T !== void 0) {
            var _ = R.getNamePath(), A = l.getInitialValue(_);
            if (A !== void 0)
              sr(!1, "Form already set 'initialValues' with path '".concat(_.join("."), "'. Field can not overwrite it."));
            else {
              var P = f.get(_);
              if (P && P.size > 1)
                sr(!1, "Multiple Field with path '".concat(_.join("."), "' set 'initialValue'. Can not decide which one to pick."));
              else if (P) {
                var L = l.getFieldValue(_), M = R.isListField();
                !M && (!s.skipExist || L === void 0) && l.updateStore(Qo(l.store, _, mt(P)[0].value));
              }
            }
          }
        });
      }, S;
      s.entities ? S = s.entities : s.namePathList ? (S = [], s.namePathList.forEach(function(C) {
        var E = f.get(C);
        if (E) {
          var R;
          (R = S).push.apply(R, mt(mt(E).map(function(T) {
            return T.entity;
          })));
        }
      })) : S = m, p(S);
    }), ue(this, "resetFields", function(s) {
      l.warningUnhooked();
      var f = l.store;
      if (!s) {
        l.updateStore(dv(l.initialValues)), l.resetWithFieldInitialValue(), l.notifyObservers(f, null, {
          type: "reset"
        }), l.notifyWatch();
        return;
      }
      var m = s.map(kr);
      m.forEach(function(p) {
        var S = l.getInitialValue(p);
        l.updateStore(Qo(l.store, p, S));
      }), l.resetWithFieldInitialValue({
        namePathList: m
      }), l.notifyObservers(f, m, {
        type: "reset"
      }), l.notifyWatch(m);
    }), ue(this, "setFields", function(s) {
      l.warningUnhooked();
      var f = l.store, m = [];
      s.forEach(function(p) {
        var S = p.name, C = $l(p, eH), E = kr(S);
        m.push(E), "value" in C && l.updateStore(Qo(l.store, E, C.value)), l.notifyObservers(f, [E], {
          type: "setField",
          data: p
        });
      }), l.notifyWatch(m);
    }), ue(this, "getFields", function() {
      var s = l.getFieldEntities(!0), f = s.map(function(m) {
        var p = m.getNamePath(), S = m.getMeta(), C = Ce(Ce({}, S), {}, {
          name: p,
          value: l.getFieldValue(p)
        });
        return Object.defineProperty(C, "originRCField", {
          value: !0
        }), C;
      });
      return f;
    }), ue(this, "initEntityValue", function(s) {
      var f = s.props.initialValue;
      if (f !== void 0) {
        var m = s.getNamePath(), p = Fl(l.store, m);
        p === void 0 && l.updateStore(Qo(l.store, m, f));
      }
    }), ue(this, "isMergedPreserve", function(s) {
      var f = s !== void 0 ? s : l.preserve;
      return f ?? !0;
    }), ue(this, "registerField", function(s) {
      l.fieldEntities.push(s);
      var f = s.getNamePath();
      if (l.notifyWatch([f]), s.props.initialValue !== void 0) {
        var m = l.store;
        l.resetWithFieldInitialValue({
          entities: [s],
          skipExist: !0
        }), l.notifyObservers(m, [s.getNamePath()], {
          type: "valueUpdate",
          source: "internal"
        });
      }
      return function(p, S) {
        var C = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
        if (l.fieldEntities = l.fieldEntities.filter(function(T) {
          return T !== s;
        }), !l.isMergedPreserve(S) && (!p || C.length > 1)) {
          var E = p ? void 0 : l.getInitialValue(f);
          if (f.length && l.getFieldValue(f) !== E && l.fieldEntities.every(function(T) {
            return (
              // Only reset when no namePath exist
              !WN(T.getNamePath(), f)
            );
          })) {
            var R = l.store;
            l.updateStore(Qo(R, f, E, !0)), l.notifyObservers(R, [f], {
              type: "remove"
            }), l.triggerDependenciesUpdate(R, f);
          }
        }
        l.notifyWatch([f]);
      };
    }), ue(this, "dispatch", function(s) {
      switch (s.type) {
        case "updateValue": {
          var f = s.namePath, m = s.value;
          l.updateValue(f, m);
          break;
        }
        case "validateField": {
          var p = s.namePath, S = s.triggerName;
          l.validateFields([p], {
            triggerName: S
          });
          break;
        }
      }
    }), ue(this, "notifyObservers", function(s, f, m) {
      if (l.subscribable) {
        var p = Ce(Ce({}, m), {}, {
          store: l.getFieldsValue(!0)
        });
        l.getFieldEntities().forEach(function(S) {
          var C = S.onStoreChange;
          C(s, f, p);
        });
      } else
        l.forceRootUpdate();
    }), ue(this, "triggerDependenciesUpdate", function(s, f) {
      var m = l.getDependencyChildrenFields(f);
      return m.length && l.validateFields(m), l.notifyObservers(s, m, {
        type: "dependenciesUpdate",
        relatedFields: [f].concat(mt(m))
      }), m;
    }), ue(this, "updateValue", function(s, f) {
      var m = kr(s), p = l.store;
      l.updateStore(Qo(l.store, m, f)), l.notifyObservers(p, [m], {
        type: "valueUpdate",
        source: "internal"
      }), l.notifyWatch([m]);
      var S = l.triggerDependenciesUpdate(p, m), C = l.callbacks.onValuesChange;
      if (C) {
        var E = __(l.store, [m]);
        C(E, l.getFieldsValue());
      }
      l.triggerOnFieldsChange([m].concat(mt(S)));
    }), ue(this, "setFieldsValue", function(s) {
      l.warningUnhooked();
      var f = l.store;
      if (s) {
        var m = dv(l.store, s);
        l.updateStore(m);
      }
      l.notifyObservers(f, null, {
        type: "valueUpdate",
        source: "external"
      }), l.notifyWatch();
    }), ue(this, "setFieldValue", function(s, f) {
      l.setFields([{
        name: s,
        value: f,
        errors: [],
        warnings: []
      }]);
    }), ue(this, "getDependencyChildrenFields", function(s) {
      var f = /* @__PURE__ */ new Set(), m = [], p = new sv();
      l.getFieldEntities().forEach(function(C) {
        var E = C.props.dependencies;
        (E || []).forEach(function(R) {
          var T = kr(R);
          p.update(T, function() {
            var _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : /* @__PURE__ */ new Set();
            return _.add(C), _;
          });
        });
      });
      var S = function C(E) {
        var R = p.get(E) || /* @__PURE__ */ new Set();
        R.forEach(function(T) {
          if (!f.has(T)) {
            f.add(T);
            var _ = T.getNamePath();
            T.isFieldDirty() && _.length && (m.push(_), C(_));
          }
        });
      };
      return S(s), m;
    }), ue(this, "triggerOnFieldsChange", function(s, f) {
      var m = l.callbacks.onFieldsChange;
      if (m) {
        var p = l.getFields();
        if (f) {
          var S = new sv();
          f.forEach(function(E) {
            var R = E.name, T = E.errors;
            S.set(R, T);
          }), p.forEach(function(E) {
            E.errors = S.get(E.name) || E.errors;
          });
        }
        var C = p.filter(function(E) {
          var R = E.name;
          return mv(s, R);
        });
        C.length && m(C, p);
      }
    }), ue(this, "validateFields", function(s, f) {
      l.warningUnhooked();
      var m, p;
      Array.isArray(s) || typeof s == "string" || typeof f == "string" ? (m = s, p = f) : p = s;
      var S = !!m, C = S ? m.map(kr) : [], E = [], R = String(Date.now()), T = /* @__PURE__ */ new Set(), _ = p || {}, A = _.recursive, P = _.dirty;
      l.getFieldEntities(!0).forEach(function($) {
        if (S || C.push($.getNamePath()), !(!$.props.rules || !$.props.rules.length) && !(P && !$.isFieldDirty())) {
          var j = $.getNamePath();
          if (T.add(j.join(R)), !S || mv(C, j, A)) {
            var W = $.validateRules(Ce({
              validateMessages: Ce(Ce({}, BN), l.validateMessages)
            }, p));
            E.push(W.then(function() {
              return {
                name: j,
                errors: [],
                warnings: []
              };
            }).catch(function(I) {
              var ee, Y = [], ne = [];
              return (ee = I.forEach) === null || ee === void 0 || ee.call(I, function(ae) {
                var ve = ae.rule.warningOnly, ye = ae.errors;
                ve ? ne.push.apply(ne, mt(ye)) : Y.push.apply(Y, mt(ye));
              }), Y.length ? Promise.reject({
                name: j,
                errors: Y,
                warnings: ne
              }) : {
                name: j,
                errors: Y,
                warnings: ne
              };
            }));
          }
        }
      });
      var L = J3(E);
      l.lastValidatePromise = L, L.catch(function($) {
        return $;
      }).then(function($) {
        var j = $.map(function(W) {
          var I = W.name;
          return I;
        });
        l.notifyObservers(l.store, j, {
          type: "validateFinish"
        }), l.triggerOnFieldsChange(j, $);
      });
      var M = L.then(function() {
        return l.lastValidatePromise === L ? Promise.resolve(l.getFieldsValue(C)) : Promise.reject([]);
      }).catch(function($) {
        var j = $.filter(function(W) {
          return W && W.errors.length;
        });
        return Promise.reject({
          values: l.getFieldsValue(C),
          errorFields: j,
          outOfDate: l.lastValidatePromise !== L
        });
      });
      M.catch(function($) {
        return $;
      });
      var V = C.filter(function($) {
        return T.has($.join(R));
      });
      return l.triggerOnFieldsChange(V), M;
    }), ue(this, "submit", function() {
      l.warningUnhooked(), l.validateFields().then(function(s) {
        var f = l.callbacks.onFinish;
        if (f)
          try {
            f(s);
          } catch (m) {
            console.error(m);
          }
      }).catch(function(s) {
        var f = l.callbacks.onFinishFailed;
        f && f(s);
      });
    }), this.forceRootUpdate = a;
  });
  function GN(r) {
    var a = N.useRef(), l = N.useState({}), s = lt(l, 2), f = s[1];
    if (!a.current)
      if (r)
        a.current = r;
      else {
        var m = function() {
          f({});
        }, p = new tH(m);
        a.current = p.getForm();
      }
    return [a.current];
  }
  var H1 = /* @__PURE__ */ N.createContext({
    triggerFormChange: function() {
    },
    triggerFormFinish: function() {
    },
    registerForm: function() {
    },
    unregisterForm: function() {
    }
  }), nH = function(a) {
    var l = a.validateMessages, s = a.onFormChange, f = a.onFormFinish, m = a.children, p = N.useContext(H1), S = N.useRef({});
    return /* @__PURE__ */ N.createElement(H1.Provider, {
      value: Ce(Ce({}, p), {}, {
        validateMessages: Ce(Ce({}, p.validateMessages), l),
        // =========================================================
        // =                  Global Form Control                  =
        // =========================================================
        triggerFormChange: function(E, R) {
          s && s(E, {
            changedFields: R,
            forms: S.current
          }), p.triggerFormChange(E, R);
        },
        triggerFormFinish: function(E, R) {
          f && f(E, {
            values: R,
            forms: S.current
          }), p.triggerFormFinish(E, R);
        },
        registerForm: function(E, R) {
          E && (S.current = Ce(Ce({}, S.current), {}, ue({}, E, R))), p.registerForm(E, R);
        },
        unregisterForm: function(E) {
          var R = Ce({}, S.current);
          delete R[E], S.current = R, p.unregisterForm(E);
        }
      })
    }, m);
  }, rH = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed", "clearOnDestroy"], aH = function(a, l) {
    var s = a.name, f = a.initialValues, m = a.fields, p = a.form, S = a.preserve, C = a.children, E = a.component, R = E === void 0 ? "form" : E, T = a.validateMessages, _ = a.validateTrigger, A = _ === void 0 ? "onChange" : _, P = a.onValuesChange, L = a.onFieldsChange, M = a.onFinish, V = a.onFinishFailed, $ = a.clearOnDestroy, j = $l(a, rH), W = N.useRef(null), I = N.useContext(H1), ee = GN(p), Y = lt(ee, 1), ne = Y[0], ae = ne.getInternalHooks(uf), ve = ae.useSubscribe, ye = ae.setInitialValues, Oe = ae.setCallbacks, ge = ae.setValidateMessages, me = ae.setPreserve, Te = ae.destroyForm;
    N.useImperativeHandle(l, function() {
      return Ce(Ce({}, ne), {}, {
        nativeElement: W.current
      });
    }), N.useEffect(function() {
      return I.registerForm(s, ne), function() {
        I.unregisterForm(s);
      };
    }, [I, ne, s]), ge(Ce(Ce({}, I.validateMessages), T)), Oe({
      onValuesChange: P,
      onFieldsChange: function(we) {
        if (I.triggerFormChange(s, we), L) {
          for (var Ue = arguments.length, Ke = new Array(Ue > 1 ? Ue - 1 : 0), Be = 1; Be < Ue; Be++)
            Ke[Be - 1] = arguments[Be];
          L.apply(void 0, [we].concat(Ke));
        }
      },
      onFinish: function(we) {
        I.triggerFormFinish(s, we), M && M(we);
      },
      onFinishFailed: V
    }), me(S);
    var re = N.useRef(null);
    ye(f, !re.current), re.current || (re.current = !0), N.useEffect(
      function() {
        return function() {
          return Te($);
        };
      },
      // eslint-disable-next-line react-hooks/exhaustive-deps
      []
    );
    var Q, q = typeof C == "function";
    if (q) {
      var se = ne.getFieldsValue(!0);
      Q = C(se, ne);
    } else
      Q = C;
    ve(!q);
    var te = N.useRef();
    N.useEffect(function() {
      Q3(te.current || [], m || []) || ne.setFields(m || []), te.current = m;
    }, [m, ne]);
    var z = N.useMemo(function() {
      return Ce(Ce({}, ne), {}, {
        validateTrigger: A
      });
    }, [ne, A]), K = /* @__PURE__ */ N.createElement(_0.Provider, {
      value: null
    }, /* @__PURE__ */ N.createElement(Rv.Provider, {
      value: z
    }, Q));
    return R === !1 ? K : /* @__PURE__ */ N.createElement(R, cr({}, j, {
      ref: W,
      onSubmit: function(we) {
        we.preventDefault(), we.stopPropagation(), ne.submit();
      },
      onReset: function(we) {
        var Ue;
        we.preventDefault(), ne.resetFields(), (Ue = j.onReset) === null || Ue === void 0 || Ue.call(j, we);
      }
    }), K);
  };
  function N_(r) {
    try {
      return JSON.stringify(r);
    } catch {
      return Math.random();
    }
  }
  var iH = process.env.NODE_ENV !== "production" ? function(r) {
    var a = r.join("__RC_FIELD_FORM_SPLIT__"), l = N.useRef(a);
    sr(l.current === a, "`useWatch` is not support dynamic `namePath`. Please provide static instead.");
  } : function() {
  };
  function oH() {
    for (var r = arguments.length, a = new Array(r), l = 0; l < r; l++)
      a[l] = arguments[l];
    var s = a[0], f = a[1], m = f === void 0 ? {} : f, p = p3(m) ? {
      form: m
    } : m, S = p.form, C = N.useState(), E = lt(C, 2), R = E[0], T = E[1], _ = N.useMemo(function() {
      return N_(R);
    }, [R]), A = N.useRef(_);
    A.current = _;
    var P = N.useContext(Rv), L = S || P, M = L && L._init;
    process.env.NODE_ENV !== "production" && sr(a.length === 2 ? S ? M : !0 : M, "useWatch requires a form instance since it can not auto detect from context.");
    var V = kr(s), $ = N.useRef(V);
    return $.current = V, iH(V), N.useEffect(
      function() {
        if (M) {
          var j = L.getFieldsValue, W = L.getInternalHooks, I = W(uf), ee = I.registerWatch, Y = function(ye, Oe) {
            var ge = p.preserve ? Oe : ye;
            return typeof s == "function" ? s(ge) : Fl(ge, $.current);
          }, ne = ee(function(ve, ye) {
            var Oe = Y(ve, ye), ge = N_(Oe);
            A.current !== ge && (A.current = ge, T(Oe));
          }), ae = Y(j(), j(!0));
          return R !== ae && T(ae), ne;
        }
      },
      // We do not need re-register since namePath content is the same
      // eslint-disable-next-line react-hooks/exhaustive-deps
      [M]
    ), R;
  }
  var lH = /* @__PURE__ */ N.forwardRef(aH), tm = lH;
  tm.FormProvider = nH;
  tm.Field = YN;
  tm.List = Z3;
  tm.useForm = GN;
  tm.useWatch = oH;
  const I1 = /* @__PURE__ */ N.createContext({});
  process.env.NODE_ENV !== "production" && (I1.displayName = "FormItemInputContext");
  const uH = (r) => {
    let {
      children: a,
      status: l,
      override: s
    } = r;
    const f = N.useContext(I1), m = N.useMemo(() => {
      const p = Object.assign({}, f);
      return s && delete p.isFormItemInput, l && (delete p.status, delete p.hasFeedback, delete p.feedbackIcon), p;
    }, [l, s, f]);
    return /* @__PURE__ */ N.createElement(I1.Provider, {
      value: m
    }, a);
  }, sH = (r) => {
    const {
      space: a,
      form: l,
      children: s
    } = r;
    if (s == null)
      return null;
    let f = s;
    return l && (f = /* @__PURE__ */ _e.createElement(uH, {
      override: !0,
      status: !0
    }, f)), a && (f = /* @__PURE__ */ _e.createElement(F4, null, f)), f;
  };
  function M_(r) {
    if (r)
      return {
        closable: r.closable,
        closeIcon: r.closeIcon
      };
  }
  function D_(r) {
    const {
      closable: a,
      closeIcon: l
    } = r || {};
    return _e.useMemo(() => {
      if (
        // If `closable`, whatever rest be should be true
        !a && (a === !1 || l === !1 || l === null)
      )
        return !1;
      if (a === void 0 && l === void 0)
        return null;
      let s = {
        closeIcon: typeof l != "boolean" && l !== null ? l : void 0
      };
      return a && typeof a == "object" && (s = Object.assign(Object.assign({}, s), a)), s;
    }, [a, l]);
  }
  function L_() {
    const r = {};
    for (var a = arguments.length, l = new Array(a), s = 0; s < a; s++)
      l[s] = arguments[s];
    return l.forEach((f) => {
      f && Object.keys(f).forEach((m) => {
        f[m] !== void 0 && (r[m] = f[m]);
      });
    }), r;
  }
  const cH = {};
  function fH(r, a) {
    let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : cH;
    const s = D_(r), f = D_(a), m = typeof s != "boolean" ? !!(s != null && s.disabled) : !1, p = _e.useMemo(() => Object.assign({
      closeIcon: /* @__PURE__ */ _e.createElement(j0, null)
    }, l), [l]), S = _e.useMemo(() => s === !1 ? !1 : s ? L_(p, f, s) : f === !1 ? !1 : f ? L_(p, f) : p.closable ? p : !1, [s, f, p]);
    return _e.useMemo(() => {
      if (S === !1)
        return [!1, null, m];
      const {
        closeIconRender: C
      } = p, {
        closeIcon: E
      } = S;
      let R = E;
      if (R != null) {
        C && (R = C(E));
        const T = lx(S, !0);
        Object.keys(T).length && (R = /* @__PURE__ */ _e.isValidElement(R) ? /* @__PURE__ */ _e.cloneElement(R, T) : /* @__PURE__ */ _e.createElement("span", Object.assign({}, T), R));
      }
      return [!0, R, m];
    }, [S, p]);
  }
  const dH = () => ui() && window.document.documentElement, V0 = (r) => {
    const {
      prefixCls: a,
      className: l,
      style: s,
      size: f,
      shape: m
    } = r, p = Lt({
      [`${a}-lg`]: f === "large",
      [`${a}-sm`]: f === "small"
    }), S = Lt({
      [`${a}-circle`]: m === "circle",
      [`${a}-square`]: m === "square",
      [`${a}-round`]: m === "round"
    }), C = N.useMemo(() => typeof f == "number" ? {
      width: f,
      height: f,
      lineHeight: `${f}px`
    } : {}, [f]);
    return /* @__PURE__ */ N.createElement("span", {
      className: Lt(a, p, S, l),
      style: Object.assign(Object.assign({}, C), s)
    });
  }, vH = new ci("ant-skeleton-loading", {
    "0%": {
      backgroundPosition: "100% 50%"
    },
    "100%": {
      backgroundPosition: "0 50%"
    }
  }), B0 = (r) => ({
    height: r,
    lineHeight: $n(r)
  }), gv = (r) => Object.assign({
    width: r
  }, B0(r)), pH = (r) => ({
    background: r.skeletonLoadingBackground,
    backgroundSize: "400% 100%",
    animationName: vH,
    animationDuration: r.skeletonLoadingMotionDuration,
    animationTimingFunction: "ease",
    animationIterationCount: "infinite"
  }), IE = (r, a) => Object.assign({
    width: a(r).mul(5).equal(),
    minWidth: a(r).mul(5).equal()
  }, B0(r)), hH = (r) => {
    const {
      skeletonAvatarCls: a,
      gradientFromColor: l,
      controlHeight: s,
      controlHeightLG: f,
      controlHeightSM: m
    } = r;
    return {
      [a]: Object.assign({
        display: "inline-block",
        verticalAlign: "top",
        background: l
      }, gv(s)),
      [`${a}${a}-circle`]: {
        borderRadius: "50%"
      },
      [`${a}${a}-lg`]: Object.assign({}, gv(f)),
      [`${a}${a}-sm`]: Object.assign({}, gv(m))
    };
  }, mH = (r) => {
    const {
      controlHeight: a,
      borderRadiusSM: l,
      skeletonInputCls: s,
      controlHeightLG: f,
      controlHeightSM: m,
      gradientFromColor: p,
      calc: S
    } = r;
    return {
      [s]: Object.assign({
        display: "inline-block",
        verticalAlign: "top",
        background: p,
        borderRadius: l
      }, IE(a, S)),
      [`${s}-lg`]: Object.assign({}, IE(f, S)),
      [`${s}-sm`]: Object.assign({}, IE(m, S))
    };
  }, A_ = (r) => Object.assign({
    width: r
  }, B0(r)), gH = (r) => {
    const {
      skeletonImageCls: a,
      imageSizeBase: l,
      gradientFromColor: s,
      borderRadiusSM: f,
      calc: m
    } = r;
    return {
      [a]: Object.assign(Object.assign({
        display: "inline-flex",
        alignItems: "center",
        justifyContent: "center",
        verticalAlign: "middle",
        background: s,
        borderRadius: f
      }, A_(m(l).mul(2).equal())), {
        [`${a}-path`]: {
          fill: "#bfbfbf"
        },
        [`${a}-svg`]: Object.assign(Object.assign({}, A_(l)), {
          maxWidth: m(l).mul(4).equal(),
          maxHeight: m(l).mul(4).equal()
        }),
        [`${a}-svg${a}-svg-circle`]: {
          borderRadius: "50%"
        }
      }),
      [`${a}${a}-circle`]: {
        borderRadius: "50%"
      }
    };
  }, UE = (r, a, l) => {
    const {
      skeletonButtonCls: s
    } = r;
    return {
      [`${l}${s}-circle`]: {
        width: a,
        minWidth: a,
        borderRadius: "50%"
      },
      [`${l}${s}-round`]: {
        borderRadius: a
      }
    };
  }, VE = (r, a) => Object.assign({
    width: a(r).mul(2).equal(),
    minWidth: a(r).mul(2).equal()
  }, B0(r)), yH = (r) => {
    const {
      borderRadiusSM: a,
      skeletonButtonCls: l,
      controlHeight: s,
      controlHeightLG: f,
      controlHeightSM: m,
      gradientFromColor: p,
      calc: S
    } = r;
    return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
      [l]: Object.assign({
        display: "inline-block",
        verticalAlign: "top",
        background: p,
        borderRadius: a,
        width: S(s).mul(2).equal(),
        minWidth: S(s).mul(2).equal()
      }, VE(s, S))
    }, UE(r, s, l)), {
      [`${l}-lg`]: Object.assign({}, VE(f, S))
    }), UE(r, f, `${l}-lg`)), {
      [`${l}-sm`]: Object.assign({}, VE(m, S))
    }), UE(r, m, `${l}-sm`));
  }, SH = (r) => {
    const {
      componentCls: a,
      skeletonAvatarCls: l,
      skeletonTitleCls: s,
      skeletonParagraphCls: f,
      skeletonButtonCls: m,
      skeletonInputCls: p,
      skeletonImageCls: S,
      controlHeight: C,
      controlHeightLG: E,
      controlHeightSM: R,
      gradientFromColor: T,
      padding: _,
      marginSM: A,
      borderRadius: P,
      titleHeight: L,
      blockRadius: M,
      paragraphLiHeight: V,
      controlHeightXS: $,
      paragraphMarginTop: j
    } = r;
    return {
      [a]: {
        display: "table",
        width: "100%",
        [`${a}-header`]: {
          display: "table-cell",
          paddingInlineEnd: _,
          verticalAlign: "top",
          // Avatar
          [l]: Object.assign({
            display: "inline-block",
            verticalAlign: "top",
            background: T
          }, gv(C)),
          [`${l}-circle`]: {
            borderRadius: "50%"
          },
          [`${l}-lg`]: Object.assign({}, gv(E)),
          [`${l}-sm`]: Object.assign({}, gv(R))
        },
        [`${a}-content`]: {
          display: "table-cell",
          width: "100%",
          verticalAlign: "top",
          // Title
          [s]: {
            width: "100%",
            height: L,
            background: T,
            borderRadius: M,
            [`+ ${f}`]: {
              marginBlockStart: R
            }
          },
          // paragraph
          [f]: {
            padding: 0,
            "> li": {
              width: "100%",
              height: V,
              listStyle: "none",
              background: T,
              borderRadius: M,
              "+ li": {
                marginBlockStart: $
              }
            }
          },
          [`${f}> li:last-child:not(:first-child):not(:nth-child(2))`]: {
            width: "61%"
          }
        },
        [`&-round ${a}-content`]: {
          [`${s}, ${f} > li`]: {
            borderRadius: P
          }
        }
      },
      [`${a}-with-avatar ${a}-content`]: {
        // Title
        [s]: {
          marginBlockStart: A,
          [`+ ${f}`]: {
            marginBlockStart: j
          }
        }
      },
      // Skeleton element
      [`${a}${a}-element`]: Object.assign(Object.assign(Object.assign(Object.assign({
        display: "inline-block",
        width: "auto"
      }, yH(r)), hH(r)), mH(r)), gH(r)),
      // Skeleton Block Button, Input
      [`${a}${a}-block`]: {
        width: "100%",
        [m]: {
          width: "100%"
        },
        [p]: {
          width: "100%"
        }
      },
      // With active animation
      [`${a}${a}-active`]: {
        [`
        ${s},
        ${f} > li,
        ${l},
        ${m},
        ${p},
        ${S}
      `]: Object.assign({}, pH(r))
      }
    };
  }, CH = (r) => {
    const {
      colorFillContent: a,
      colorFill: l
    } = r, s = a, f = l;
    return {
      color: s,
      colorGradientEnd: f,
      gradientFromColor: s,
      gradientToColor: f,
      titleHeight: r.controlHeight / 2,
      blockRadius: r.borderRadiusSM,
      paragraphMarginTop: r.marginLG + r.marginXXS,
      paragraphLiHeight: r.controlHeight / 2
    };
  }, Ov = ix("Skeleton", (r) => {
    const {
      componentCls: a,
      calc: l
    } = r, s = Ks(r, {
      skeletonAvatarCls: `${a}-avatar`,
      skeletonTitleCls: `${a}-title`,
      skeletonParagraphCls: `${a}-paragraph`,
      skeletonButtonCls: `${a}-button`,
      skeletonInputCls: `${a}-input`,
      skeletonImageCls: `${a}-image`,
      imageSizeBase: l(r.controlHeight).mul(1.5).equal(),
      borderRadius: 100,
      // Large number to make capsule shape
      skeletonLoadingBackground: `linear-gradient(90deg, ${r.gradientFromColor} 25%, ${r.gradientToColor} 37%, ${r.gradientFromColor} 63%)`,
      skeletonLoadingMotionDuration: "1.4s"
    });
    return [SH(s)];
  }, CH, {
    deprecatedTokens: [["color", "gradientFromColor"], ["colorGradientEnd", "gradientToColor"]]
  }), bH = (r) => {
    const {
      prefixCls: a,
      className: l,
      rootClassName: s,
      active: f,
      shape: m = "circle",
      size: p = "default"
    } = r, {
      getPrefixCls: S
    } = N.useContext(Xr), C = S("skeleton", a), [E, R, T] = Ov(C), _ = D0(r, ["prefixCls", "className"]), A = Lt(C, `${C}-element`, {
      [`${C}-active`]: f
    }, l, s, R, T);
    return E(/* @__PURE__ */ N.createElement("div", {
      className: A
    }, /* @__PURE__ */ N.createElement(V0, Object.assign({
      prefixCls: `${C}-avatar`,
      shape: m,
      size: p
    }, _))));
  }, EH = (r) => {
    const {
      prefixCls: a,
      className: l,
      rootClassName: s,
      active: f,
      block: m = !1,
      size: p = "default"
    } = r, {
      getPrefixCls: S
    } = N.useContext(Xr), C = S("skeleton", a), [E, R, T] = Ov(C), _ = D0(r, ["prefixCls"]), A = Lt(C, `${C}-element`, {
      [`${C}-active`]: f,
      [`${C}-block`]: m
    }, l, s, R, T);
    return E(/* @__PURE__ */ N.createElement("div", {
      className: A
    }, /* @__PURE__ */ N.createElement(V0, Object.assign({
      prefixCls: `${C}-button`,
      size: p
    }, _))));
  }, xH = "M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z", RH = (r) => {
    const {
      prefixCls: a,
      className: l,
      rootClassName: s,
      style: f,
      active: m
    } = r, {
      getPrefixCls: p
    } = N.useContext(Xr), S = p("skeleton", a), [C, E, R] = Ov(S), T = Lt(S, `${S}-element`, {
      [`${S}-active`]: m
    }, l, s, E, R);
    return C(/* @__PURE__ */ N.createElement("div", {
      className: T
    }, /* @__PURE__ */ N.createElement("div", {
      className: Lt(`${S}-image`, l),
      style: f
    }, /* @__PURE__ */ N.createElement("svg", {
      viewBox: "0 0 1098 1024",
      xmlns: "http://www.w3.org/2000/svg",
      className: `${S}-image-svg`
    }, /* @__PURE__ */ N.createElement("title", null, "Image placeholder"), /* @__PURE__ */ N.createElement("path", {
      d: xH,
      className: `${S}-image-path`
    })))));
  }, wH = (r) => {
    const {
      prefixCls: a,
      className: l,
      rootClassName: s,
      active: f,
      block: m,
      size: p = "default"
    } = r, {
      getPrefixCls: S
    } = N.useContext(Xr), C = S("skeleton", a), [E, R, T] = Ov(C), _ = D0(r, ["prefixCls"]), A = Lt(C, `${C}-element`, {
      [`${C}-active`]: f,
      [`${C}-block`]: m
    }, l, s, R, T);
    return E(/* @__PURE__ */ N.createElement("div", {
      className: A
    }, /* @__PURE__ */ N.createElement(V0, Object.assign({
      prefixCls: `${C}-input`,
      size: p
    }, _))));
  }, TH = (r) => {
    const {
      prefixCls: a,
      className: l,
      rootClassName: s,
      style: f,
      active: m,
      children: p
    } = r, {
      getPrefixCls: S
    } = N.useContext(Xr), C = S("skeleton", a), [E, R, T] = Ov(C), _ = Lt(C, `${C}-element`, {
      [`${C}-active`]: m
    }, R, l, s, T);
    return E(/* @__PURE__ */ N.createElement("div", {
      className: _
    }, /* @__PURE__ */ N.createElement("div", {
      className: Lt(`${C}-image`, l),
      style: f
    }, p)));
  }, OH = (r, a) => {
    const {
      width: l,
      rows: s = 2
    } = a;
    if (Array.isArray(l))
      return l[r];
    if (s - 1 === r)
      return l;
  }, _H = (r) => {
    const {
      prefixCls: a,
      className: l,
      style: s,
      rows: f
    } = r, m = mt(new Array(f)).map((p, S) => (
      // eslint-disable-next-line react/no-array-index-key
      /* @__PURE__ */ N.createElement("li", {
        key: S,
        style: {
          width: OH(S, r)
        }
      })
    ));
    return /* @__PURE__ */ N.createElement("ul", {
      className: Lt(a, l),
      style: s
    }, m);
  }, kH = (r) => {
    let {
      prefixCls: a,
      className: l,
      width: s,
      style: f
    } = r;
    return (
      // biome-ignore lint/a11y/useHeadingContent: HOC here
      /* @__PURE__ */ N.createElement("h3", {
        className: Lt(a, l),
        style: Object.assign({
          width: s
        }, f)
      })
    );
  };
  function BE(r) {
    return r && typeof r == "object" ? r : {};
  }
  function NH(r, a) {
    return r && !a ? {
      size: "large",
      shape: "square"
    } : {
      size: "large",
      shape: "circle"
    };
  }
  function MH(r, a) {
    return !r && a ? {
      width: "38%"
    } : r && a ? {
      width: "50%"
    } : {};
  }
  function DH(r, a) {
    const l = {};
    return (!r || !a) && (l.width = "61%"), !r && a ? l.rows = 3 : l.rows = 2, l;
  }
  const mf = (r) => {
    const {
      prefixCls: a,
      loading: l,
      className: s,
      rootClassName: f,
      style: m,
      children: p,
      avatar: S = !1,
      title: C = !0,
      paragraph: E = !0,
      active: R,
      round: T
    } = r, {
      getPrefixCls: _,
      direction: A,
      skeleton: P
    } = N.useContext(Xr), L = _("skeleton", a), [M, V, $] = Ov(L);
    if (l || !("loading" in r)) {
      const j = !!S, W = !!C, I = !!E;
      let ee;
      if (j) {
        const ae = Object.assign(Object.assign({
          prefixCls: `${L}-avatar`
        }, NH(W, I)), BE(S));
        ee = /* @__PURE__ */ N.createElement("div", {
          className: `${L}-header`
        }, /* @__PURE__ */ N.createElement(V0, Object.assign({}, ae)));
      }
      let Y;
      if (W || I) {
        let ae;
        if (W) {
          const ye = Object.assign(Object.assign({
            prefixCls: `${L}-title`
          }, MH(j, I)), BE(C));
          ae = /* @__PURE__ */ N.createElement(kH, Object.assign({}, ye));
        }
        let ve;
        if (I) {
          const ye = Object.assign(Object.assign({
            prefixCls: `${L}-paragraph`
          }, DH(j, W)), BE(E));
          ve = /* @__PURE__ */ N.createElement(_H, Object.assign({}, ye));
        }
        Y = /* @__PURE__ */ N.createElement("div", {
          className: `${L}-content`
        }, ae, ve);
      }
      const ne = Lt(L, {
        [`${L}-with-avatar`]: j,
        [`${L}-active`]: R,
        [`${L}-rtl`]: A === "rtl",
        [`${L}-round`]: T
      }, P == null ? void 0 : P.className, s, f, V, $);
      return M(/* @__PURE__ */ N.createElement("div", {
        className: ne,
        style: Object.assign(Object.assign({}, P == null ? void 0 : P.style), m)
      }, ee, Y));
    }
    return p ?? null;
  };
  mf.Button = EH;
  mf.Avatar = bH;
  mf.Input = wH;
  mf.Image = RH;
  mf.Node = TH;
  process.env.NODE_ENV !== "production" && (mf.displayName = "Skeleton");
  function P_() {
  }
  const LH = /* @__PURE__ */ N.createContext({
    add: P_,
    remove: P_
  });
  function AH(r) {
    const a = N.useContext(LH), l = N.useRef(null);
    return ku((f) => {
      if (f) {
        const m = r ? f.querySelector(r) : f;
        a.add(m), l.current = m;
      } else
        a.remove(l.current);
    });
  }
  const F_ = () => {
    const {
      cancelButtonProps: r,
      cancelTextLocale: a,
      onCancel: l
    } = N.useContext(Jh);
    return /* @__PURE__ */ _e.createElement(hf, Object.assign({
      onClick: l
    }, r), a);
  }, $_ = () => {
    const {
      confirmLoading: r,
      okButtonProps: a,
      okType: l,
      okTextLocale: s,
      onOk: f
    } = N.useContext(Jh);
    return /* @__PURE__ */ _e.createElement(hf, Object.assign({}, xN(l), {
      loading: r,
      onClick: f
    }, a), s);
  };
  function QN(r, a) {
    return /* @__PURE__ */ _e.createElement("span", {
      className: `${r}-close-x`
    }, a || /* @__PURE__ */ _e.createElement(j0, {
      className: `${r}-close-icon`
    }));
  }
  const KN = (r) => {
    const {
      okText: a,
      okType: l = "primary",
      cancelText: s,
      confirmLoading: f,
      onOk: m,
      onCancel: p,
      okButtonProps: S,
      cancelButtonProps: C,
      footer: E
    } = r, [R] = ax("Modal", Tk()), T = a || (R == null ? void 0 : R.okText), _ = s || (R == null ? void 0 : R.cancelText), A = {
      confirmLoading: f,
      okButtonProps: S,
      cancelButtonProps: C,
      okTextLocale: T,
      cancelTextLocale: _,
      okType: l,
      onOk: m,
      onCancel: p
    }, P = _e.useMemo(() => A, mt(Object.values(A)));
    let L;
    return typeof E == "function" || typeof E > "u" ? (L = /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement(F_, null), /* @__PURE__ */ _e.createElement($_, null)), typeof E == "function" && (L = E(L, {
      OkBtn: $_,
      CancelBtn: F_
    })), L = /* @__PURE__ */ _e.createElement(FN, {
      value: P
    }, L)) : L = E, /* @__PURE__ */ _e.createElement(Pk, {
      disabled: !1
    }, L);
  };
  function z_(r) {
    return {
      position: r,
      inset: 0
    };
  }
  const PH = (r) => {
    const {
      componentCls: a,
      antCls: l
    } = r;
    return [{
      [`${a}-root`]: {
        [`${a}${l}-zoom-enter, ${a}${l}-zoom-appear`]: {
          // reset scale avoid mousePosition bug
          transform: "none",
          opacity: 0,
          animationDuration: r.motionDurationSlow,
          // https://github.com/ant-design/ant-design/issues/11777
          userSelect: "none"
        },
        // https://github.com/ant-design/ant-design/issues/37329
        // https://github.com/ant-design/ant-design/issues/40272
        [`${a}${l}-zoom-leave ${a}-content`]: {
          pointerEvents: "none"
        },
        [`${a}-mask`]: Object.assign(Object.assign({}, z_("fixed")), {
          zIndex: r.zIndexPopupBase,
          height: "100%",
          backgroundColor: r.colorBgMask,
          pointerEvents: "none",
          [`${a}-hidden`]: {
            display: "none"
          }
        }),
        [`${a}-wrap`]: Object.assign(Object.assign({}, z_("fixed")), {
          zIndex: r.zIndexPopupBase,
          overflow: "auto",
          outline: 0,
          WebkitOverflowScrolling: "touch"
        })
      }
    }, {
      [`${a}-root`]: c5(r)
    }];
  }, FH = (r) => {
    const {
      componentCls: a
    } = r;
    return [
      // ======================== Root =========================
      {
        [`${a}-root`]: {
          [`${a}-wrap-rtl`]: {
            direction: "rtl"
          },
          [`${a}-centered`]: {
            textAlign: "center",
            "&::before": {
              display: "inline-block",
              width: 0,
              height: "100%",
              verticalAlign: "middle",
              content: '""'
            },
            [a]: {
              top: 0,
              display: "inline-block",
              paddingBottom: 0,
              textAlign: "start",
              verticalAlign: "middle"
            }
          },
          [`@media (max-width: ${r.screenSMMax}px)`]: {
            [a]: {
              maxWidth: "calc(100vw - 16px)",
              margin: `${$n(r.marginXS)} auto`
            },
            [`${a}-centered`]: {
              [a]: {
                flex: 1
              }
            }
          }
        }
      },
      // ======================== Modal ========================
      {
        [a]: Object.assign(Object.assign({}, Wz(r)), {
          pointerEvents: "none",
          position: "relative",
          top: 100,
          width: "auto",
          maxWidth: `calc(100vw - ${$n(r.calc(r.margin).mul(2).equal())})`,
          margin: "0 auto",
          paddingBottom: r.paddingLG,
          [`${a}-title`]: {
            margin: 0,
            color: r.titleColor,
            fontWeight: r.fontWeightStrong,
            fontSize: r.titleFontSize,
            lineHeight: r.titleLineHeight,
            wordWrap: "break-word"
          },
          [`${a}-content`]: {
            position: "relative",
            backgroundColor: r.contentBg,
            backgroundClip: "padding-box",
            border: 0,
            borderRadius: r.borderRadiusLG,
            boxShadow: r.boxShadow,
            pointerEvents: "auto",
            padding: r.contentPadding
          },
          [`${a}-close`]: Object.assign({
            position: "absolute",
            top: r.calc(r.modalHeaderHeight).sub(r.modalCloseBtnSize).div(2).equal(),
            insetInlineEnd: r.calc(r.modalHeaderHeight).sub(r.modalCloseBtnSize).div(2).equal(),
            zIndex: r.calc(r.zIndexPopupBase).add(10).equal(),
            padding: 0,
            color: r.modalCloseIconColor,
            fontWeight: r.fontWeightStrong,
            lineHeight: 1,
            textDecoration: "none",
            background: "transparent",
            borderRadius: r.borderRadiusSM,
            width: r.modalCloseBtnSize,
            height: r.modalCloseBtnSize,
            border: 0,
            outline: 0,
            cursor: "pointer",
            transition: `color ${r.motionDurationMid}, background-color ${r.motionDurationMid}`,
            "&-x": {
              display: "flex",
              fontSize: r.fontSizeLG,
              fontStyle: "normal",
              lineHeight: $n(r.modalCloseBtnSize),
              justifyContent: "center",
              textTransform: "none",
              textRendering: "auto"
            },
            "&:disabled": {
              pointerEvents: "none"
            },
            "&:hover": {
              color: r.modalCloseIconHoverColor,
              backgroundColor: r.colorBgTextHover,
              textDecoration: "none"
            },
            "&:active": {
              backgroundColor: r.colorBgTextActive
            }
          }, Uk(r)),
          [`${a}-header`]: {
            color: r.colorText,
            background: r.headerBg,
            borderRadius: `${$n(r.borderRadiusLG)} ${$n(r.borderRadiusLG)} 0 0`,
            marginBottom: r.headerMarginBottom,
            padding: r.headerPadding,
            borderBottom: r.headerBorderBottom
          },
          [`${a}-body`]: {
            fontSize: r.fontSize,
            lineHeight: r.lineHeight,
            wordWrap: "break-word",
            padding: r.bodyPadding,
            [`${a}-body-skeleton`]: {
              width: "100%",
              height: "100%",
              display: "flex",
              justifyContent: "center",
              alignItems: "center",
              margin: `${$n(r.margin)} auto`
            }
          },
          [`${a}-footer`]: {
            textAlign: "end",
            background: r.footerBg,
            marginTop: r.footerMarginTop,
            padding: r.footerPadding,
            borderTop: r.footerBorderTop,
            borderRadius: r.footerBorderRadius,
            [`> ${r.antCls}-btn + ${r.antCls}-btn`]: {
              marginInlineStart: r.marginXS
            }
          },
          [`${a}-open`]: {
            overflow: "hidden"
          }
        })
      },
      // ======================== Pure =========================
      {
        [`${a}-pure-panel`]: {
          top: "auto",
          padding: 0,
          display: "flex",
          flexDirection: "column",
          [`${a}-content,
          ${a}-body,
          ${a}-confirm-body-wrapper`]: {
            display: "flex",
            flexDirection: "column",
            flex: "auto"
          },
          [`${a}-confirm-body`]: {
            marginBottom: "auto"
          }
        }
      }
    ];
  }, $H = (r) => {
    const {
      componentCls: a
    } = r;
    return {
      [`${a}-root`]: {
        [`${a}-wrap-rtl`]: {
          direction: "rtl",
          [`${a}-confirm-body`]: {
            direction: "rtl"
          }
        }
      }
    };
  }, XN = (r) => {
    const a = r.padding, l = r.fontSizeHeading5, s = r.lineHeightHeading5;
    return Ks(r, {
      modalHeaderHeight: r.calc(r.calc(s).mul(l).equal()).add(r.calc(a).mul(2).equal()).equal(),
      modalFooterBorderColorSplit: r.colorSplit,
      modalFooterBorderStyle: r.lineType,
      modalFooterBorderWidth: r.lineWidth,
      modalCloseIconColor: r.colorIcon,
      modalCloseIconHoverColor: r.colorIconHover,
      modalCloseBtnSize: r.controlHeight,
      modalConfirmIconSize: r.fontHeight,
      modalTitleHeight: r.calc(r.titleFontSize).mul(r.titleLineHeight).equal()
    });
  }, ZN = (r) => ({
    footerBg: "transparent",
    headerBg: r.colorBgElevated,
    titleLineHeight: r.lineHeightHeading5,
    titleFontSize: r.fontSizeHeading5,
    contentBg: r.colorBgElevated,
    titleColor: r.colorTextHeading,
    // internal
    contentPadding: r.wireframe ? 0 : `${$n(r.paddingMD)} ${$n(r.paddingContentHorizontalLG)}`,
    headerPadding: r.wireframe ? `${$n(r.padding)} ${$n(r.paddingLG)}` : 0,
    headerBorderBottom: r.wireframe ? `${$n(r.lineWidth)} ${r.lineType} ${r.colorSplit}` : "none",
    headerMarginBottom: r.wireframe ? 0 : r.marginXS,
    bodyPadding: r.wireframe ? r.paddingLG : 0,
    footerPadding: r.wireframe ? `${$n(r.paddingXS)} ${$n(r.padding)}` : 0,
    footerBorderTop: r.wireframe ? `${$n(r.lineWidth)} ${r.lineType} ${r.colorSplit}` : "none",
    footerBorderRadius: r.wireframe ? `0 0 ${$n(r.borderRadiusLG)} ${$n(r.borderRadiusLG)}` : 0,
    footerMarginTop: r.wireframe ? 0 : r.marginSM,
    confirmBodyPadding: r.wireframe ? `${$n(r.padding * 2)} ${$n(r.padding * 2)} ${$n(r.paddingLG)}` : 0,
    confirmIconMarginInlineEnd: r.wireframe ? r.margin : r.marginSM,
    confirmBtnsMarginTop: r.wireframe ? r.marginLG : r.marginSM
  }), JN = ix("Modal", (r) => {
    const a = XN(r);
    return [FH(a), $H(a), PH(a), E5(a, "zoom")];
  }, ZN, {
    unitless: {
      titleLineHeight: !0
    }
  });
  var zH = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  let U1;
  const jH = (r) => {
    U1 = {
      x: r.pageX,
      y: r.pageY
    }, setTimeout(() => {
      U1 = null;
    }, 100);
  };
  dH() && document.documentElement.addEventListener("click", jH, !0);
  const eM = (r) => {
    var a;
    const {
      getPopupContainer: l,
      getPrefixCls: s,
      direction: f,
      modal: m
    } = N.useContext(Xr), p = (Re) => {
      const {
        onCancel: we
      } = r;
      we == null || we(Re);
    }, S = (Re) => {
      const {
        onOk: we
      } = r;
      we == null || we(Re);
    };
    if (process.env.NODE_ENV !== "production") {
      const Re = zl("Modal");
      [["visible", "open"], ["bodyStyle", "styles.body"], ["maskStyle", "styles.mask"]].forEach((we) => {
        let [Ue, Ke] = we;
        Re.deprecated(!(Ue in r), Ue, Ke);
      });
    }
    const {
      prefixCls: C,
      className: E,
      rootClassName: R,
      open: T,
      wrapClassName: _,
      centered: A,
      getContainer: P,
      focusTriggerAfterClose: L = !0,
      style: M,
      // Deprecated
      visible: V,
      width: $ = 520,
      footer: j,
      classNames: W,
      styles: I,
      children: ee,
      loading: Y
    } = r, ne = zH(r, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "focusTriggerAfterClose", "style", "visible", "width", "footer", "classNames", "styles", "children", "loading"]), ae = s("modal", C), ve = s(), ye = pN(ae), [Oe, ge, me] = JN(ae, ye), Te = Lt(_, {
      [`${ae}-centered`]: !!A,
      [`${ae}-wrap-rtl`]: f === "rtl"
    }), re = j !== null && !Y ? /* @__PURE__ */ N.createElement(KN, Object.assign({}, r, {
      onOk: S,
      onCancel: p
    })) : null, [Q, q, se] = fH(M_(r), M_(m), {
      closable: !0,
      closeIcon: /* @__PURE__ */ N.createElement(j0, {
        className: `${ae}-close-icon`
      }),
      closeIconRender: (Re) => QN(ae, Re)
    }), te = AH(`.${ae}-content`), [z, K] = p4("Modal", ne.zIndex);
    return Oe(/* @__PURE__ */ N.createElement(sH, {
      form: !0,
      space: !0
    }, /* @__PURE__ */ N.createElement(ux.Provider, {
      value: K
    }, /* @__PURE__ */ N.createElement(IN, Object.assign({
      width: $
    }, ne, {
      zIndex: z,
      getContainer: P === void 0 ? l : P,
      prefixCls: ae,
      rootClassName: Lt(ge, R, me, ye),
      footer: re,
      visible: T ?? V,
      mousePosition: (a = ne.mousePosition) !== null && a !== void 0 ? a : U1,
      onClose: p,
      closable: Q && {
        disabled: se,
        closeIcon: q
      },
      closeIcon: q,
      focusTriggerAfterClose: L,
      transitionName: O0(ve, "zoom", r.transitionName),
      maskTransitionName: O0(ve, "fade", r.maskTransitionName),
      className: Lt(ge, E, m == null ? void 0 : m.className),
      style: Object.assign(Object.assign({}, m == null ? void 0 : m.style), M),
      classNames: Object.assign(Object.assign(Object.assign({}, m == null ? void 0 : m.classNames), W), {
        wrapper: Lt(Te, W == null ? void 0 : W.wrapper)
      }),
      styles: Object.assign(Object.assign({}, m == null ? void 0 : m.styles), I),
      panelRef: te
    }), Y ? /* @__PURE__ */ N.createElement(mf, {
      active: !0,
      title: !1,
      paragraph: {
        rows: 4
      },
      className: `${ae}-body-skeleton`
    }) : ee))));
  }, HH = (r) => {
    const {
      componentCls: a,
      titleFontSize: l,
      titleLineHeight: s,
      modalConfirmIconSize: f,
      fontSize: m,
      lineHeight: p,
      modalTitleHeight: S,
      fontHeight: C,
      confirmBodyPadding: E
    } = r, R = `${a}-confirm`;
    return {
      [R]: {
        "&-rtl": {
          direction: "rtl"
        },
        [`${r.antCls}-modal-header`]: {
          display: "none"
        },
        [`${R}-body-wrapper`]: Object.assign({}, qz()),
        [`&${a} ${a}-body`]: {
          padding: E
        },
        // ====================== Body ======================
        [`${R}-body`]: {
          display: "flex",
          flexWrap: "nowrap",
          alignItems: "start",
          [`> ${r.iconCls}`]: {
            flex: "none",
            fontSize: f,
            marginInlineEnd: r.confirmIconMarginInlineEnd,
            marginTop: r.calc(r.calc(C).sub(f).equal()).div(2).equal()
          },
          [`&-has-title > ${r.iconCls}`]: {
            marginTop: r.calc(r.calc(S).sub(f).equal()).div(2).equal()
          }
        },
        [`${R}-paragraph`]: {
          display: "flex",
          flexDirection: "column",
          flex: "auto",
          rowGap: r.marginXS,
          // https://github.com/ant-design/ant-design/issues/51912
          maxWidth: `calc(100% - ${$n(r.marginSM)})`
        },
        // https://github.com/ant-design/ant-design/issues/48159
        [`${r.iconCls} + ${R}-paragraph`]: {
          maxWidth: `calc(100% - ${$n(r.calc(r.modalConfirmIconSize).add(r.marginSM).equal())})`
        },
        [`${R}-title`]: {
          color: r.colorTextHeading,
          fontWeight: r.fontWeightStrong,
          fontSize: l,
          lineHeight: s
        },
        [`${R}-content`]: {
          color: r.colorText,
          fontSize: m,
          lineHeight: p
        },
        // ===================== Footer =====================
        [`${R}-btns`]: {
          textAlign: "end",
          marginTop: r.confirmBtnsMarginTop,
          [`${r.antCls}-btn + ${r.antCls}-btn`]: {
            marginBottom: 0,
            marginInlineStart: r.marginXS
          }
        }
      },
      [`${R}-error ${R}-body > ${r.iconCls}`]: {
        color: r.colorError
      },
      [`${R}-warning ${R}-body > ${r.iconCls},
        ${R}-confirm ${R}-body > ${r.iconCls}`]: {
        color: r.colorWarning
      },
      [`${R}-info ${R}-body > ${r.iconCls}`]: {
        color: r.colorInfo
      },
      [`${R}-success ${R}-body > ${r.iconCls}`]: {
        color: r.colorSuccess
      }
    };
  }, IH = Bk(["Modal", "confirm"], (r) => {
    const a = XN(r);
    return [HH(a)];
  }, ZN, {
    // confirm is weak than modal since no conflict here
    order: -1e3
  });
  var UH = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  function tM(r) {
    const {
      prefixCls: a,
      icon: l,
      okText: s,
      cancelText: f,
      confirmPrefixCls: m,
      type: p,
      okCancel: S,
      footer: C,
      // Legacy for static function usage
      locale: E
    } = r, R = UH(r, ["prefixCls", "icon", "okText", "cancelText", "confirmPrefixCls", "type", "okCancel", "footer", "locale"]);
    if (process.env.NODE_ENV !== "production") {
      const Y = zl("Modal");
      process.env.NODE_ENV !== "production" && Y(!(typeof l == "string" && l.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${l}\` at https://ant.design/components/icon`);
    }
    let T = l;
    if (!l && l !== null)
      switch (p) {
        case "info":
          T = /* @__PURE__ */ N.createElement(dN, null);
          break;
        case "success":
          T = /* @__PURE__ */ N.createElement(sN, null);
          break;
        case "error":
          T = /* @__PURE__ */ N.createElement(cN, null);
          break;
        default:
          T = /* @__PURE__ */ N.createElement(fN, null);
      }
    const _ = S ?? p === "confirm", A = r.autoFocusButton === null ? !1 : r.autoFocusButton || "ok", [P] = ax("Modal"), L = E || P, M = s || (_ ? L == null ? void 0 : L.okText : L == null ? void 0 : L.justOkText), V = f || (L == null ? void 0 : L.cancelText), $ = Object.assign({
      autoFocusButton: A,
      cancelTextLocale: V,
      okTextLocale: M,
      mergedOkCancel: _
    }, R), j = N.useMemo(() => $, mt(Object.values($))), W = /* @__PURE__ */ N.createElement(N.Fragment, null, /* @__PURE__ */ N.createElement(d_, null), /* @__PURE__ */ N.createElement(v_, null)), I = r.title !== void 0 && r.title !== null, ee = `${m}-body`;
    return /* @__PURE__ */ N.createElement("div", {
      className: `${m}-body-wrapper`
    }, /* @__PURE__ */ N.createElement("div", {
      className: Lt(ee, {
        [`${ee}-has-title`]: I
      })
    }, T, /* @__PURE__ */ N.createElement("div", {
      className: `${m}-paragraph`
    }, I && /* @__PURE__ */ N.createElement("span", {
      className: `${m}-title`
    }, r.title), /* @__PURE__ */ N.createElement("div", {
      className: `${m}-content`
    }, r.content))), C === void 0 || typeof C == "function" ? /* @__PURE__ */ N.createElement(FN, {
      value: j
    }, /* @__PURE__ */ N.createElement("div", {
      className: `${m}-btns`
    }, typeof C == "function" ? C(W, {
      OkBtn: v_,
      CancelBtn: d_
    }) : W)) : C, /* @__PURE__ */ N.createElement(IH, {
      prefixCls: a
    }));
  }
  const nM = (r) => {
    const {
      close: a,
      zIndex: l,
      afterClose: s,
      open: f,
      keyboard: m,
      centered: p,
      getContainer: S,
      maskStyle: C,
      direction: E,
      prefixCls: R,
      wrapClassName: T,
      rootPrefixCls: _,
      bodyStyle: A,
      closable: P = !1,
      closeIcon: L,
      modalRender: M,
      focusTriggerAfterClose: V,
      onConfirm: $,
      styles: j
    } = r;
    if (process.env.NODE_ENV !== "production") {
      const Oe = zl("Modal");
      [["visible", "open"], ["bodyStyle", "styles.body"], ["maskStyle", "styles.mask"]].forEach((ge) => {
        let [me, Te] = ge;
        Oe.deprecated(!(me in r), me, Te);
      });
    }
    const W = `${R}-confirm`, I = r.width || 416, ee = r.style || {}, Y = r.mask === void 0 ? !0 : r.mask, ne = r.maskClosable === void 0 ? !1 : r.maskClosable, ae = Lt(W, `${W}-${r.type}`, {
      [`${W}-rtl`]: E === "rtl"
    }, r.className), [, ve] = Xs(), ye = N.useMemo(() => l !== void 0 ? l : ve.zIndexPopupBase + mN, [l, ve]);
    return /* @__PURE__ */ N.createElement(eM, {
      prefixCls: R,
      className: ae,
      wrapClassName: Lt({
        [`${W}-centered`]: !!r.centered
      }, T),
      onCancel: () => {
        a == null || a({
          triggerCancel: !0
        }), $ == null || $(!1);
      },
      open: f,
      title: "",
      footer: null,
      transitionName: O0(_ || "", "zoom", r.transitionName),
      maskTransitionName: O0(_ || "", "fade", r.maskTransitionName),
      mask: Y,
      maskClosable: ne,
      style: ee,
      styles: Object.assign({
        body: A,
        mask: C
      }, j),
      width: I,
      zIndex: ye,
      afterClose: s,
      keyboard: m,
      centered: p,
      getContainer: S,
      closable: P,
      closeIcon: L,
      modalRender: M,
      focusTriggerAfterClose: V
    }, /* @__PURE__ */ N.createElement(tM, Object.assign({}, r, {
      confirmPrefixCls: W
    })));
  }, gx = (r) => {
    const {
      rootPrefixCls: a,
      iconPrefixCls: l,
      direction: s,
      theme: f
    } = r;
    return /* @__PURE__ */ N.createElement(Mu, {
      prefixCls: a,
      iconPrefixCls: l,
      direction: s,
      theme: f
    }, /* @__PURE__ */ N.createElement(nM, Object.assign({}, r)));
  };
  process.env.NODE_ENV !== "production" && (nM.displayName = "ConfirmDialog", gx.displayName = "ConfirmDialogWrapper");
  const sf = [];
  let rM = "";
  function aM() {
    return rM;
  }
  const VH = (r) => {
    var a, l;
    const {
      prefixCls: s,
      getContainer: f,
      direction: m
    } = r, p = Tk(), S = N.useContext(Xr), C = aM() || S.getPrefixCls(), E = s || `${C}-modal`;
    let R = f;
    return R === !1 && (R = void 0, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && Qs(!1, "Modal", "Static method not support `getContainer` to be `false` since it do not have context env.")), /* @__PURE__ */ _e.createElement(gx, Object.assign({}, r, {
      rootPrefixCls: C,
      prefixCls: E,
      iconPrefixCls: S.iconPrefixCls,
      theme: S.theme,
      direction: m ?? S.direction,
      locale: (l = (a = S.locale) === null || a === void 0 ? void 0 : a.Modal) !== null && l !== void 0 ? l : p,
      getContainer: R
    }));
  };
  function nm(r) {
    const a = Dj();
    process.env.NODE_ENV !== "production" && !a.holderRender && Oj("Modal");
    const l = document.createDocumentFragment();
    let s = Object.assign(Object.assign({}, r), {
      close: C,
      open: !0
    }), f, m;
    function p() {
      for (var R, T = arguments.length, _ = new Array(T), A = 0; A < T; A++)
        _[A] = arguments[A];
      if (_.some((M) => M == null ? void 0 : M.triggerCancel)) {
        var L;
        (R = r.onCancel) === null || R === void 0 || (L = R).call.apply(L, [r, () => {
        }].concat(mt(_.slice(1))));
      }
      for (let M = 0; M < sf.length; M++)
        if (sf[M] === C) {
          sf.splice(M, 1);
          break;
        }
      m();
    }
    function S(R) {
      clearTimeout(f), f = setTimeout(() => {
        const T = a.getPrefixCls(void 0, aM()), _ = a.getIconPrefixCls(), A = a.getTheme(), P = /* @__PURE__ */ _e.createElement(VH, Object.assign({}, R));
        m = yN()(/* @__PURE__ */ _e.createElement(Mu, {
          prefixCls: T,
          iconPrefixCls: _,
          theme: A
        }, a.holderRender ? a.holderRender(P) : P), l);
      });
    }
    function C() {
      for (var R = arguments.length, T = new Array(R), _ = 0; _ < R; _++)
        T[_] = arguments[_];
      s = Object.assign(Object.assign({}, s), {
        open: !1,
        afterClose: () => {
          typeof r.afterClose == "function" && r.afterClose(), p.apply(this, T);
        }
      }), s.visible && delete s.visible, S(s);
    }
    function E(R) {
      typeof R == "function" ? s = R(s) : s = Object.assign(Object.assign({}, s), R), S(s);
    }
    return S(s), sf.push(C), {
      destroy: C,
      update: E
    };
  }
  function iM(r) {
    return Object.assign(Object.assign({}, r), {
      type: "warning"
    });
  }
  function oM(r) {
    return Object.assign(Object.assign({}, r), {
      type: "info"
    });
  }
  function lM(r) {
    return Object.assign(Object.assign({}, r), {
      type: "success"
    });
  }
  function uM(r) {
    return Object.assign(Object.assign({}, r), {
      type: "error"
    });
  }
  function sM(r) {
    return Object.assign(Object.assign({}, r), {
      type: "confirm"
    });
  }
  function BH(r) {
    let {
      rootPrefixCls: a
    } = r;
    process.env.NODE_ENV !== "production" && Qs(!1, "Modal", "Modal.config is deprecated. Please use ConfigProvider.config instead."), rM = a;
  }
  var WH = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  const YH = (r, a) => {
    var l, {
      afterClose: s,
      config: f
    } = r, m = WH(r, ["afterClose", "config"]);
    const [p, S] = N.useState(!0), [C, E] = N.useState(f), {
      direction: R,
      getPrefixCls: T
    } = N.useContext(Xr), _ = T("modal"), A = T(), P = () => {
      var $;
      s(), ($ = C.afterClose) === null || $ === void 0 || $.call(C);
    }, L = function() {
      var $;
      S(!1);
      for (var j = arguments.length, W = new Array(j), I = 0; I < j; I++)
        W[I] = arguments[I];
      if (W.some((ne) => ne == null ? void 0 : ne.triggerCancel)) {
        var Y;
        ($ = C.onCancel) === null || $ === void 0 || (Y = $).call.apply(Y, [C, () => {
        }].concat(mt(W.slice(1))));
      }
    };
    N.useImperativeHandle(a, () => ({
      destroy: L,
      update: ($) => {
        E((j) => Object.assign(Object.assign({}, j), $));
      }
    }));
    const M = (l = C.okCancel) !== null && l !== void 0 ? l : C.type === "confirm", [V] = ax("Modal", ff.Modal);
    return /* @__PURE__ */ N.createElement(gx, Object.assign({
      prefixCls: _,
      rootPrefixCls: A
    }, C, {
      close: L,
      open: p,
      afterClose: P,
      okText: C.okText || (M ? V == null ? void 0 : V.okText : V == null ? void 0 : V.justOkText),
      direction: C.direction || R,
      cancelText: C.cancelText || (V == null ? void 0 : V.cancelText)
    }, m));
  }, qH = /* @__PURE__ */ N.forwardRef(YH);
  let j_ = 0;
  const GH = /* @__PURE__ */ N.memo(/* @__PURE__ */ N.forwardRef((r, a) => {
    const [l, s] = h4();
    return N.useImperativeHandle(a, () => ({
      patchElement: s
    }), []), /* @__PURE__ */ N.createElement(N.Fragment, null, l);
  }));
  function QH() {
    const r = N.useRef(null), [a, l] = N.useState([]);
    N.useEffect(() => {
      a.length && (mt(a).forEach((p) => {
        p();
      }), l([]));
    }, [a]);
    const s = N.useCallback((m) => function(S) {
      var C;
      j_ += 1;
      const E = /* @__PURE__ */ N.createRef();
      let R;
      const T = new Promise((M) => {
        R = M;
      });
      let _ = !1, A;
      const P = /* @__PURE__ */ N.createElement(qH, {
        key: `modal-${j_}`,
        config: m(S),
        ref: E,
        afterClose: () => {
          A == null || A();
        },
        isSilent: () => _,
        onConfirm: (M) => {
          R(M);
        }
      });
      return A = (C = r.current) === null || C === void 0 ? void 0 : C.patchElement(P), A && sf.push(A), {
        destroy: () => {
          function M() {
            var V;
            (V = E.current) === null || V === void 0 || V.destroy();
          }
          E.current ? M() : l((V) => [].concat(mt(V), [M]));
        },
        update: (M) => {
          function V() {
            var $;
            ($ = E.current) === null || $ === void 0 || $.update(M);
          }
          E.current ? V() : l(($) => [].concat(mt($), [V]));
        },
        then: (M) => (_ = !0, T.then(M))
      };
    }, []);
    return [N.useMemo(() => ({
      info: s(oM),
      success: s(lM),
      error: s(uM),
      warning: s(iM),
      confirm: s(sM)
    }), []), /* @__PURE__ */ N.createElement(GH, {
      key: "modal-holder",
      ref: r
    })];
  }
  function KH(r) {
    return (a) => /* @__PURE__ */ N.createElement(Mu, {
      theme: {
        token: {
          motion: !1,
          zIndexPopupBase: 0
        }
      }
    }, /* @__PURE__ */ N.createElement(r, Object.assign({}, a)));
  }
  var XH = function(r, a) {
    var l = {};
    for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && a.indexOf(s) < 0 && (l[s] = r[s]);
    if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var f = 0, s = Object.getOwnPropertySymbols(r); f < s.length; f++)
      a.indexOf(s[f]) < 0 && Object.prototype.propertyIsEnumerable.call(r, s[f]) && (l[s[f]] = r[s[f]]);
    return l;
  };
  const ZH = (r) => {
    const {
      prefixCls: a,
      className: l,
      closeIcon: s,
      closable: f,
      type: m,
      title: p,
      children: S,
      footer: C
    } = r, E = XH(r, ["prefixCls", "className", "closeIcon", "closable", "type", "title", "children", "footer"]), {
      getPrefixCls: R
    } = N.useContext(Xr), T = R(), _ = a || R("modal"), A = pN(T), [P, L, M] = JN(_, A), V = `${_}-confirm`;
    let $ = {};
    return m ? $ = {
      closable: f ?? !1,
      title: "",
      footer: "",
      children: /* @__PURE__ */ N.createElement(tM, Object.assign({}, r, {
        prefixCls: _,
        confirmPrefixCls: V,
        rootPrefixCls: T,
        content: S
      }))
    } : $ = {
      closable: f ?? !0,
      title: p,
      footer: C !== null && /* @__PURE__ */ N.createElement(KN, Object.assign({}, r)),
      children: S
    }, P(/* @__PURE__ */ N.createElement(hx, Object.assign({
      prefixCls: _,
      className: Lt(L, `${_}-pure-panel`, m && V, m && `${V}-${m}`, l, M, A)
    }, E, {
      closeIcon: QN(_, s),
      closable: f
    }, $)));
  }, JH = KH(ZH);
  function cM(r) {
    return nm(iM(r));
  }
  const yo = eM;
  yo.useModal = QH;
  yo.info = function(a) {
    return nm(oM(a));
  };
  yo.success = function(a) {
    return nm(lM(a));
  };
  yo.error = function(a) {
    return nm(uM(a));
  };
  yo.warning = cM;
  yo.warn = cM;
  yo.confirm = function(a) {
    return nm(sM(a));
  };
  yo.destroyAll = function() {
    for (; sf.length; ) {
      const a = sf.pop();
      a && a();
    }
  };
  yo.config = BH;
  yo._InternalPanelDoNotUseOrYouWillBeFired = JH;
  process.env.NODE_ENV !== "production" && (yo.displayName = "Modal");
  const eI = "_container_3liou_1", tI = "_v_text_color_3liou_5", nI = "_v_text_color_3liou_5", k0 = {
    container: eI,
    v_text_color: tI,
    vTextColor: nI
  }, rI = ({ name: r }) => {
    const [a, l] = N.useState(!1), s = () => {
      l(!0);
    }, f = () => {
      l(!1);
    }, m = () => {
      l(!1);
    };
    return /* @__PURE__ */ cv.jsxs("div", { className: k0.container, children: [
      /* @__PURE__ */ cv.jsxs("h3", { children: [
        "Hello, ",
        r,
        "!"
      ] }),
      /* @__PURE__ */ cv.jsx(hf, { type: "primary", onClick: s, children: "Open Modal" }),
      /* @__PURE__ */ cv.jsx(
        yo,
        {
          title: "Ant Design Modal",
          open: a,
          onOk: f,
          onCancel: m,
          children: /* @__PURE__ */ cv.jsx("p", { className: k0.v_text_color, children: "This is a modal using Ant Design." })
        }
      )
    ] });
  };
  class aI extends HTMLElement {
    constructor() {
      super();
      vE(this, "mountPoint");
      vE(this, "root", null);
      const l = this.attachShadow({ mode: "open" });
      this.mountPoint = document.createElement("div"), l.appendChild(this.mountPoint), this.injectStyles(l);
    }
    injectStyles(l) {
      const s = document.createElement("style");
      s.textContent = `
      /* Ant Design 按需加载样式 */
      ${Array.from(document.styleSheets).filter((f) => !f.href || f.href.includes("antd")).map(
        (f) => Array.from(f.cssRules || []).map((m) => m.cssText).join(`
`)
      ).join(`
`)}
      
      /* CSS Modules 样式 */
      .${k0.container} {
        padding: 20px;
        background-color: #f5f5f5;
      }
      .${k0.v_text_color} {
        color: red;
        font-size: 16px;
      }
    `, l.appendChild(s);
    }
    connectedCallback() {
      const l = this.getAttribute("name") || "";
      this.root = pF.createRoot(this.mountPoint), this.root.render(/* @__PURE__ */ cv.jsx(rI, { name: l }));
    }
    disconnectedCallback() {
      this.root && this.root.unmount();
    }
  }
  customElements.define("my-web-component", aI);
});
export default iI();
