import { __exports as z } from "./accelbyte-widgets645.mjs";
import { __require as Ge } from "./accelbyte-widgets646.mjs";
import Ke from "react";
/** @license React v17.0.2
 * react-dom-server.browser.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 Ee;
function rt() {
  if (Ee)
    return z;
  Ee = 1;
  var _ = Ge(), E = Ke;
  function f(e) {
    for (var r = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, t = 1; t < arguments.length; t++)
      r += "&args[]=" + encodeURIComponent(arguments[t]);
    return "Minified React error #" + e + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  var Z = 60106, W = 60107, B = 60108, X = 60114, q = 60109, Y = 60110, Q = 60112, j = 60113, G = 60120, K = 60115, J = 60116, ue = 60121, se = 60117, ae = 60119, ce = 60129, fe = 60131;
  if (typeof Symbol == "function" && Symbol.for) {
    var m = Symbol.for;
    Z = m("react.portal"), W = m("react.fragment"), B = m("react.strict_mode"), X = m("react.profiler"), q = m("react.provider"), Y = m("react.context"), Q = m("react.forward_ref"), j = m("react.suspense"), G = m("react.suspense_list"), K = m("react.memo"), J = m("react.lazy"), ue = m("react.block"), se = m("react.fundamental"), ae = m("react.scope"), ce = m("react.debug_trace_mode"), fe = m("react.legacy_hidden");
  }
  function R(e) {
    if (e == null)
      return null;
    if (typeof e == "function")
      return e.displayName || e.name || null;
    if (typeof e == "string")
      return e;
    switch (e) {
      case W:
        return "Fragment";
      case Z:
        return "Portal";
      case X:
        return "Profiler";
      case B:
        return "StrictMode";
      case j:
        return "Suspense";
      case G:
        return "SuspenseList";
    }
    if (typeof e == "object")
      switch (e.$$typeof) {
        case Y:
          return (e.displayName || "Context") + ".Consumer";
        case q:
          return (e._context.displayName || "Context") + ".Provider";
        case Q:
          var r = e.render;
          return r = r.displayName || r.name || "", e.displayName || (r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef");
        case K:
          return R(e.type);
        case ue:
          return R(e._render);
        case J:
          r = e._payload, e = e._init;
          try {
            return R(e(r));
          } catch {
          }
      }
    return null;
  }
  var Ce = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, pe = {};
  function T(e, r) {
    for (var t = e._threadCount | 0; t <= r; t++)
      e[t] = e._currentValue2, e._threadCount = t + 1;
  }
  function Ne(e, r, t, o) {
    if (o && (o = e.contextType, typeof o == "object" && o !== null))
      return T(o, t), o[t];
    if (e = e.contextTypes) {
      t = {};
      for (var u in e)
        t[u] = r[u];
      r = t;
    } else
      r = pe;
    return r;
  }
  for (var y = new Uint16Array(16), U = 0; 15 > U; U++)
    y[U] = U + 1;
  y[15] = 0;
  var Oe = /^[: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]*$/, he = Object.prototype.hasOwnProperty, de = {}, me = {};
  function ye(e) {
    return he.call(me, e) ? !0 : he.call(de, e) ? !1 : Oe.test(e) ? me[e] = !0 : (de[e] = !0, !1);
  }
  function Me(e, r, t, o) {
    if (t !== null && t.type === 0)
      return !1;
    switch (typeof r) {
      case "function":
      case "symbol":
        return !0;
      case "boolean":
        return o ? !1 : t !== null ? !t.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-");
      default:
        return !1;
    }
  }
  function be(e, r, t, o) {
    if (r === null || typeof r > "u" || Me(e, r, t, o))
      return !0;
    if (o)
      return !1;
    if (t !== null)
      switch (t.type) {
        case 3:
          return !r;
        case 4:
          return r === !1;
        case 5:
          return isNaN(r);
        case 6:
          return isNaN(r) || 1 > r;
      }
    return !1;
  }
  function w(e, r, t, o, u, l, i) {
    this.acceptsBooleans = r === 2 || r === 3 || r === 4, this.attributeName = o, this.attributeNamespace = u, this.mustUseProperty = t, this.propertyName = e, this.type = r, this.sanitizeURL = l, this.removeEmptyString = i;
  }
  var h = {};
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) {
    h[e] = new w(e, 0, !1, e, null, !1, !1);
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
    var r = e[0];
    h[r] = new w(r, 1, !1, e[1], null, !1, !1);
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
    h[e] = new w(e, 2, !1, e.toLowerCase(), null, !1, !1);
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
    h[e] = new w(e, 2, !1, e, 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(e) {
    h[e] = new w(e, 3, !1, e.toLowerCase(), null, !1, !1);
  }), ["checked", "multiple", "muted", "selected"].forEach(function(e) {
    h[e] = new w(e, 3, !0, e, null, !1, !1);
  }), ["capture", "download"].forEach(function(e) {
    h[e] = new w(e, 4, !1, e, null, !1, !1);
  }), ["cols", "rows", "size", "span"].forEach(function(e) {
    h[e] = new w(e, 6, !1, e, null, !1, !1);
  }), ["rowSpan", "start"].forEach(function(e) {
    h[e] = new w(e, 5, !1, e.toLowerCase(), null, !1, !1);
  });
  var ee = /[\-:]([a-z])/g;
  function te(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".split(" ").forEach(function(e) {
    var r = e.replace(
      ee,
      te
    );
    h[r] = new w(r, 1, !1, e, null, !1, !1);
  }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) {
    var r = e.replace(ee, te);
    h[r] = new w(r, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
  }), ["xml:base", "xml:lang", "xml:space"].forEach(function(e) {
    var r = e.replace(ee, te);
    h[r] = new w(r, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1);
  }), ["tabIndex", "crossOrigin"].forEach(function(e) {
    h[e] = new w(e, 1, !1, e.toLowerCase(), null, !1, !1);
  }), h.xlinkHref = new w("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(e) {
    h[e] = new w(e, 1, !1, e.toLowerCase(), null, !0, !0);
  });
  var Pe = /["'&<>]/;
  function M(e) {
    if (typeof e == "boolean" || typeof e == "number")
      return "" + e;
    e = "" + e;
    var r = Pe.exec(e);
    if (r) {
      var t = "", o, u = 0;
      for (o = r.index; o < e.length; o++) {
        switch (e.charCodeAt(o)) {
          case 34:
            r = "&quot;";
            break;
          case 38:
            r = "&amp;";
            break;
          case 39:
            r = "&#x27;";
            break;
          case 60:
            r = "&lt;";
            break;
          case 62:
            r = "&gt;";
            break;
          default:
            continue;
        }
        u !== o && (t += e.substring(u, o)), u = o + 1, t += r;
      }
      e = u !== o ? t + e.substring(u, o) : t;
    }
    return e;
  }
  function ze(e, r) {
    var t = h.hasOwnProperty(e) ? h[e] : null, o;
    return (o = e !== "style") && (o = t !== null ? t.type === 0 : !(!(2 < e.length) || e[0] !== "o" && e[0] !== "O" || e[1] !== "n" && e[1] !== "N")), o || be(e, r, t, !1) ? "" : t !== null ? (e = t.attributeName, o = t.type, o === 3 || o === 4 && r === !0 ? e + '=""' : (t.sanitizeURL && (r = "" + r), e + '="' + (M(r) + '"'))) : ye(e) ? e + '="' + (M(r) + '"') : "";
  }
  function Re(e, r) {
    return e === r && (e !== 0 || 1 / e === 1 / r) || e !== e && r !== r;
  }
  var Te = typeof Object.is == "function" ? Object.is : Re, I = null, A = null, c = null, V = !1, $ = !1, C = null, H = 0;
  function b() {
    if (I === null)
      throw Error(f(321));
    return I;
  }
  function ve() {
    if (0 < H)
      throw Error(f(312));
    return { memoizedState: null, queue: null, next: null };
  }
  function re() {
    return c === null ? A === null ? (V = !1, A = c = ve()) : (V = !0, c = A) : c.next === null ? (V = !1, c = c.next = ve()) : (V = !0, c = c.next), c;
  }
  function we(e, r, t, o) {
    for (; $; )
      $ = !1, H += 1, c = null, t = e(r, o);
    return xe(), t;
  }
  function xe() {
    I = null, $ = !1, A = null, H = 0, c = C = null;
  }
  function ge(e, r) {
    return typeof r == "function" ? r(e) : r;
  }
  function Se(e, r, t) {
    if (I = b(), c = re(), V) {
      var o = c.queue;
      if (r = o.dispatch, C !== null && (t = C.get(o), t !== void 0)) {
        C.delete(o), o = c.memoizedState;
        do
          o = e(o, t.action), t = t.next;
        while (t !== null);
        return c.memoizedState = o, [o, r];
      }
      return [c.memoizedState, r];
    }
    return e = e === ge ? typeof r == "function" ? r() : r : t !== void 0 ? t(r) : r, c.memoizedState = e, e = c.queue = { last: null, dispatch: null }, e = e.dispatch = Ve.bind(null, I, e), [c.memoizedState, e];
  }
  function ke(e, r) {
    if (I = b(), c = re(), r = r === void 0 ? null : r, c !== null) {
      var t = c.memoizedState;
      if (t !== null && r !== null) {
        var o = t[1];
        e:
          if (o === null)
            o = !1;
          else {
            for (var u = 0; u < o.length && u < r.length; u++)
              if (!Te(r[u], o[u])) {
                o = !1;
                break e;
              }
            o = !0;
          }
        if (o)
          return t[0];
      }
    }
    return e = e(), c.memoizedState = [e, r], e;
  }
  function Ve(e, r, t) {
    if (!(25 > H))
      throw Error(f(301));
    if (e === I)
      if ($ = !0, e = { action: t, next: null }, C === null && (C = /* @__PURE__ */ new Map()), t = C.get(r), t === void 0)
        C.set(r, e);
      else {
        for (r = t; r.next !== null; )
          r = r.next;
        r.next = e;
      }
  }
  function ne() {
  }
  var P = null, Le = { readContext: function(e) {
    var r = P.threadID;
    return T(e, r), e[r];
  }, useContext: function(e) {
    b();
    var r = P.threadID;
    return T(e, r), e[r];
  }, useMemo: ke, useReducer: Se, useRef: function(e) {
    I = b(), c = re();
    var r = c.memoizedState;
    return r === null ? (e = { current: e }, c.memoizedState = e) : r;
  }, useState: function(e) {
    return Se(ge, e);
  }, useLayoutEffect: function() {
  }, useCallback: function(e, r) {
    return ke(function() {
      return e;
    }, r);
  }, useImperativeHandle: ne, useEffect: ne, useDebugValue: ne, useDeferredValue: function(e) {
    return b(), e;
  }, useTransition: function() {
    return b(), [function(e) {
      e();
    }, !1];
  }, useOpaqueIdentifier: function() {
    return (P.identifierPrefix || "") + "R:" + (P.uniqueID++).toString(36);
  }, useMutableSource: function(e, r) {
    return b(), r(e._source);
  } }, We = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" };
  function qe(e) {
    switch (e) {
      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";
    }
  }
  var Fe = { 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 }, je = _({ menuitem: !0 }, Fe), L = {
    animationIterationCount: !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
  }, Ue = ["Webkit", "ms", "Moz", "O"];
  Object.keys(L).forEach(function(e) {
    Ue.forEach(function(r) {
      r = r + e.charAt(0).toUpperCase() + e.substring(1), L[r] = L[e];
    });
  });
  var Ae = /([A-Z])/g, $e = /^ms-/, N = E.Children.toArray, oe = Ce.ReactCurrentDispatcher, He = { listing: !0, pre: !0, textarea: !0 }, Ze = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, _e = {}, ie = {};
  function Be(e) {
    if (e == null)
      return e;
    var r = "";
    return E.Children.forEach(e, function(t) {
      t != null && (r += t);
    }), r;
  }
  var Xe = Object.prototype.hasOwnProperty, Ye = { children: null, dangerouslySetInnerHTML: null, suppressContentEditableWarning: null, suppressHydrationWarning: null };
  function De(e, r) {
    if (e === void 0)
      throw Error(f(152, R(r) || "Component"));
  }
  function Qe(e, r, t) {
    function o(i, s) {
      var n = s.prototype && s.prototype.isReactComponent, S = Ne(s, r, t, n), d = [], g = !1, p = { isMounted: function() {
        return !1;
      }, enqueueForceUpdate: function() {
        if (d === null)
          return null;
      }, enqueueReplaceState: function(le, v) {
        g = !0, d = [v];
      }, enqueueSetState: function(le, v) {
        if (d === null)
          return null;
        d.push(v);
      } };
      if (n) {
        if (n = new s(i.props, S, p), typeof s.getDerivedStateFromProps == "function") {
          var a = s.getDerivedStateFromProps.call(null, i.props, n.state);
          a != null && (n.state = _({}, n.state, a));
        }
      } else if (I = {}, n = s(
        i.props,
        S,
        p
      ), n = we(s, i.props, n, S), n == null || n.render == null) {
        e = n, De(e, s);
        return;
      }
      if (n.props = i.props, n.context = S, n.updater = p, p = n.state, p === void 0 && (n.state = p = null), typeof n.UNSAFE_componentWillMount == "function" || typeof n.componentWillMount == "function")
        if (typeof n.componentWillMount == "function" && typeof s.getDerivedStateFromProps != "function" && n.componentWillMount(), typeof n.UNSAFE_componentWillMount == "function" && typeof s.getDerivedStateFromProps != "function" && n.UNSAFE_componentWillMount(), d.length) {
          p = d;
          var x = g;
          if (d = null, g = !1, x && p.length === 1)
            n.state = p[0];
          else {
            a = x ? p[0] : n.state;
            var O = !0;
            for (x = x ? 1 : 0; x < p.length; x++) {
              var k = p[x];
              k = typeof k == "function" ? k.call(n, a, i.props, S) : k, k != null && (O ? (O = !1, a = _({}, a, k)) : _(a, k));
            }
            n.state = a;
          }
        } else
          d = null;
      if (e = n.render(), De(e, s), typeof n.getChildContext == "function" && (i = s.childContextTypes, typeof i == "object")) {
        var F = n.getChildContext();
        for (var D in F)
          if (!(D in i))
            throw Error(f(108, R(s) || "Unknown", D));
      }
      F && (r = _({}, r, F));
    }
    for (; E.isValidElement(e); ) {
      var u = e, l = u.type;
      if (typeof l != "function")
        break;
      o(u, l);
    }
    return { child: e, context: r };
  }
  var Ie = function() {
    function e(t, o, u) {
      E.isValidElement(t) ? t.type !== W ? t = [t] : (t = t.props.children, t = E.isValidElement(t) ? [t] : N(t)) : t = N(t), t = { type: null, domNamespace: We.html, children: t, childIndex: 0, context: pe, footer: "" };
      var l = y[0];
      if (l === 0) {
        var i = y;
        l = i.length;
        var s = 2 * l;
        if (!(65536 >= s))
          throw Error(f(304));
        var n = new Uint16Array(s);
        for (n.set(i), y = n, y[0] = l + 1, i = l; i < s - 1; i++)
          y[i] = i + 1;
        y[s - 1] = 0;
      } else
        y[0] = y[l];
      this.threadID = l, this.stack = [t], this.exhausted = !1, this.currentSelectValue = null, this.previousWasTextNode = !1, this.makeStaticMarkup = o, this.suspenseDepth = 0, this.contextIndex = -1, this.contextStack = [], this.contextValueStack = [], this.uniqueID = 0, this.identifierPrefix = u && u.identifierPrefix || "";
    }
    var r = e.prototype;
    return r.destroy = function() {
      if (!this.exhausted) {
        this.exhausted = !0, this.clearProviders();
        var t = this.threadID;
        y[t] = y[0], y[0] = t;
      }
    }, r.pushProvider = function(t) {
      var o = ++this.contextIndex, u = t.type._context, l = this.threadID;
      T(u, l);
      var i = u[l];
      this.contextStack[o] = u, this.contextValueStack[o] = i, u[l] = t.props.value;
    }, r.popProvider = function() {
      var t = this.contextIndex, o = this.contextStack[t], u = this.contextValueStack[t];
      this.contextStack[t] = null, this.contextValueStack[t] = null, this.contextIndex--, o[this.threadID] = u;
    }, r.clearProviders = function() {
      for (var t = this.contextIndex; 0 <= t; t--)
        this.contextStack[t][this.threadID] = this.contextValueStack[t];
    }, r.read = function(t) {
      if (this.exhausted)
        return null;
      var o = P;
      P = this;
      var u = oe.current;
      oe.current = Le;
      try {
        for (var l = [""], i = !1; l[0].length < t; ) {
          if (this.stack.length === 0) {
            this.exhausted = !0;
            var s = this.threadID;
            y[s] = y[0], y[0] = s;
            break;
          }
          var n = this.stack[this.stack.length - 1];
          if (i || n.childIndex >= n.children.length) {
            var S = n.footer;
            if (S !== "" && (this.previousWasTextNode = !1), this.stack.pop(), n.type === "select")
              this.currentSelectValue = null;
            else if (n.type != null && n.type.type != null && n.type.type.$$typeof === q)
              this.popProvider(n.type);
            else if (n.type === j) {
              this.suspenseDepth--;
              var d = l.pop();
              if (i) {
                i = !1;
                var g = n.fallbackFrame;
                if (!g)
                  throw Error(f(303));
                this.stack.push(g), l[this.suspenseDepth] += "<!--$!-->";
                continue;
              } else
                l[this.suspenseDepth] += d;
            }
            l[this.suspenseDepth] += S;
          } else {
            var p = n.children[n.childIndex++], a = "";
            try {
              a += this.render(p, n.context, n.domNamespace);
            } catch (x) {
              throw x != null && typeof x.then == "function" ? Error(f(294)) : x;
            } finally {
            }
            l.length <= this.suspenseDepth && l.push(""), l[this.suspenseDepth] += a;
          }
        }
        return l[0];
      } finally {
        oe.current = u, P = o, xe();
      }
    }, r.render = function(t, o, u) {
      if (typeof t == "string" || typeof t == "number")
        return u = "" + t, u === "" ? "" : this.makeStaticMarkup ? M(u) : this.previousWasTextNode ? "<!-- -->" + M(u) : (this.previousWasTextNode = !0, M(u));
      if (o = Qe(t, o, this.threadID), t = o.child, o = o.context, t === null || t === !1)
        return "";
      if (!E.isValidElement(t)) {
        if (t != null && t.$$typeof != null)
          throw u = t.$$typeof, Error(u === Z ? f(257) : f(258, u.toString()));
        return t = N(t), this.stack.push({ type: null, domNamespace: u, children: t, childIndex: 0, context: o, footer: "" }), "";
      }
      var l = t.type;
      if (typeof l == "string")
        return this.renderDOM(t, o, u);
      switch (l) {
        case fe:
        case ce:
        case B:
        case X:
        case G:
        case W:
          return t = N(t.props.children), this.stack.push({
            type: null,
            domNamespace: u,
            children: t,
            childIndex: 0,
            context: o,
            footer: ""
          }), "";
        case j:
          throw Error(f(294));
        case ae:
          throw Error(f(343));
      }
      if (typeof l == "object" && l !== null)
        switch (l.$$typeof) {
          case Q:
            I = {};
            var i = l.render(t.props, t.ref);
            return i = we(l.render, t.props, i, t.ref), i = N(i), this.stack.push({ type: null, domNamespace: u, children: i, childIndex: 0, context: o, footer: "" }), "";
          case K:
            return t = [E.createElement(l.type, _({ ref: t.ref }, t.props))], this.stack.push({ type: null, domNamespace: u, children: t, childIndex: 0, context: o, footer: "" }), "";
          case q:
            return l = N(t.props.children), u = { type: t, domNamespace: u, children: l, childIndex: 0, context: o, footer: "" }, this.pushProvider(t), this.stack.push(u), "";
          case Y:
            l = t.type, i = t.props;
            var s = this.threadID;
            return T(l, s), l = N(i.children(l[s])), this.stack.push({ type: t, domNamespace: u, children: l, childIndex: 0, context: o, footer: "" }), "";
          case se:
            throw Error(f(338));
          case J:
            return l = t.type, i = l._init, l = i(l._payload), t = [E.createElement(l, _({ ref: t.ref }, t.props))], this.stack.push({
              type: null,
              domNamespace: u,
              children: t,
              childIndex: 0,
              context: o,
              footer: ""
            }), "";
        }
      throw Error(f(130, l == null ? l : typeof l, ""));
    }, r.renderDOM = function(t, o, u) {
      var l = t.type.toLowerCase();
      if (!_e.hasOwnProperty(l)) {
        if (!Ze.test(l))
          throw Error(f(65, l));
        _e[l] = !0;
      }
      var i = t.props;
      if (l === "input")
        i = _({ type: void 0 }, i, { defaultChecked: void 0, defaultValue: void 0, value: i.value != null ? i.value : i.defaultValue, checked: i.checked != null ? i.checked : i.defaultChecked });
      else if (l === "textarea") {
        var s = i.value;
        if (s == null) {
          s = i.defaultValue;
          var n = i.children;
          if (n != null) {
            if (s != null)
              throw Error(f(92));
            if (Array.isArray(n)) {
              if (!(1 >= n.length))
                throw Error(f(93));
              n = n[0];
            }
            s = "" + n;
          }
          s == null && (s = "");
        }
        i = _({}, i, { value: void 0, children: "" + s });
      } else if (l === "select")
        this.currentSelectValue = i.value != null ? i.value : i.defaultValue, i = _({}, i, { value: void 0 });
      else if (l === "option") {
        n = this.currentSelectValue;
        var S = Be(i.children);
        if (n != null) {
          var d = i.value != null ? i.value + "" : S;
          if (s = !1, Array.isArray(n)) {
            for (var g = 0; g < n.length; g++)
              if ("" + n[g] === d) {
                s = !0;
                break;
              }
          } else
            s = "" + n === d;
          i = _(
            { selected: void 0, children: void 0 },
            i,
            { selected: s, children: S }
          );
        }
      }
      if (s = i) {
        if (je[l] && (s.children != null || s.dangerouslySetInnerHTML != null))
          throw Error(f(137, l));
        if (s.dangerouslySetInnerHTML != null) {
          if (s.children != null)
            throw Error(f(60));
          if (!(typeof s.dangerouslySetInnerHTML == "object" && "__html" in s.dangerouslySetInnerHTML))
            throw Error(f(61));
        }
        if (s.style != null && typeof s.style != "object")
          throw Error(f(62));
      }
      s = i, n = this.makeStaticMarkup, S = this.stack.length === 1, d = "<" + t.type;
      e:
        if (l.indexOf("-") === -1)
          g = typeof s.is == "string";
        else
          switch (l) {
            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":
              g = !1;
              break e;
            default:
              g = !0;
          }
      for (v in s)
        if (Xe.call(s, v)) {
          var p = s[v];
          if (p != null) {
            if (v === "style") {
              var a = void 0, x = "", O = "";
              for (a in p)
                if (p.hasOwnProperty(a)) {
                  var k = a.indexOf("--") === 0, F = p[a];
                  if (F != null) {
                    if (k)
                      var D = a;
                    else if (D = a, ie.hasOwnProperty(D))
                      D = ie[D];
                    else {
                      var le = D.replace(Ae, "-$1").toLowerCase().replace($e, "-ms-");
                      D = ie[D] = le;
                    }
                    x += O + D + ":", O = a, k = F == null || typeof F == "boolean" || F === "" ? "" : k || typeof F != "number" || F === 0 || L.hasOwnProperty(O) && L[O] ? ("" + F).trim() : F + "px", x += k, O = ";";
                  }
                }
              p = x || null;
            }
            a = null, g ? Ye.hasOwnProperty(v) || (a = v, a = ye(a) && p != null ? a + '="' + (M(p) + '"') : "") : a = ze(v, p), a && (d += " " + a);
          }
        }
      n || S && (d += ' data-reactroot=""');
      var v = d;
      s = "", Fe.hasOwnProperty(l) ? v += "/>" : (v += ">", s = "</" + t.type + ">");
      e: {
        if (n = i.dangerouslySetInnerHTML, n != null) {
          if (n.__html != null) {
            n = n.__html;
            break e;
          }
        } else if (n = i.children, typeof n == "string" || typeof n == "number") {
          n = M(n);
          break e;
        }
        n = null;
      }
      return n != null ? (i = [], He.hasOwnProperty(l) && n.charAt(0) === `
` && (v += `
`), v += n) : i = N(i.children), t = t.type, u = u == null || u === "http://www.w3.org/1999/xhtml" ? qe(t) : u === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : u, this.stack.push({ domNamespace: u, type: l, children: i, childIndex: 0, context: o, footer: s }), this.previousWasTextNode = !1, v;
    }, e;
  }();
  return z.renderToNodeStream = function() {
    throw Error(f(207));
  }, z.renderToStaticMarkup = function(e, r) {
    e = new Ie(e, !0, r);
    try {
      return e.read(1 / 0);
    } finally {
      e.destroy();
    }
  }, z.renderToStaticNodeStream = function() {
    throw Error(f(208));
  }, z.renderToString = function(e, r) {
    e = new Ie(e, !1, r);
    try {
      return e.read(1 / 0);
    } finally {
      e.destroy();
    }
  }, z.version = "17.0.2", z;
}
export {
  rt as __require
};
