UNPKG

react-palm

Version:

Elm-like architecture for React apps

6,698 lines 163 kB
/** @license React v16.8.4+patch
 * react-dom.profiling.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.
 */

/*
 Modernizr 3.0.0pre (Custom Build) | MIT
*/
'use strict';

function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

var aa = require("react"),
    n = require("object-assign"),
    r = require("scheduler"),
    v = require("scheduler/tracing");

function ba(a, b, c, d, e, f, g, h) {
  if (!a) {
    a = void 0;
    if (void 0 === b) a = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else {
      var k = [c, d, e, f, g, h],
          l = 0;
      a = Error(b.replace(/%s/g, function () {
        return k[l++];
      }));
      a.name = "Invariant Violation";
    }
    a.framesToPop = 1;
    throw a;
  }
}

function x(a) {
  for (var b = arguments.length - 1, c = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, d = 0; d < b; d++) {
    c += "&args[]=" + encodeURIComponent(arguments[d + 1]);
  }

  ba(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", c);
}

aa ? void 0 : x("227");

function ca(a, b, c, d, e, f, g, h, k) {
  var l = Array.prototype.slice.call(arguments, 3);

  try {
    return b.apply(c, l);
  } catch (m) {
    this.onError(m);
  }
}

var da = !1,
    ea = null,
    fa = !1,
    ha = null,
    ia = {
  onError: function onError(a) {
    da = !0;
    ea = a;
  }
};

function ja(a, b, c, d, e, f, g, h, k) {
  da = !1;
  ea = null;
  return ca.apply(ia, arguments);
}

function ka(a, b, c, d, e, f, g, h, k) {
  var l = ja.apply(this, arguments);

  if (da) {
    if (da) {
      var m = ea;
      da = !1;
      ea = null;
    } else x("198"), m = void 0;

    fa || (fa = !0, ha = m);
  }

  return l;
}

function la() {
  if (fa) {
    var a = ha;
    fa = !1;
    ha = null;
    throw a;
  }
}

var ma = null,
    na = {};

function oa() {
  if (ma) for (var a in na) {
    var b = na[a],
        c = ma.indexOf(a);
    -1 < c ? void 0 : x("96", a);

    if (!pa[c]) {
      b.extractEvents ? void 0 : x("97", a);
      pa[c] = b;
      c = b.eventTypes;

      for (var d in c) {
        var e = void 0;
        var f = c[d],
            g = b,
            h = d;
        qa.hasOwnProperty(h) ? x("99", h) : void 0;
        qa[h] = f;
        var k = f.phasedRegistrationNames;

        if (k) {
          for (e in k) {
            k.hasOwnProperty(e) && ra(k[e], g, h);
          }

          e = !0;
        } else f.registrationName ? (ra(f.registrationName, g, h), e = !0) : e = !1;

        e ? void 0 : x("98", d, a);
      }
    }
  }
}

function ra(a, b, c) {
  sa[a] ? x("100", a) : void 0;
  sa[a] = b;
  ta[a] = b.eventTypes[c].dependencies;
}

var pa = [],
    qa = {},
    sa = {},
    ta = {},
    ua = null,
    va = null,
    wa = null;

function xa(a, b, c) {
  var d = a.type || "unknown-event";
  a.currentTarget = wa(c);
  b = ka(d, b, void 0, a);
  a.currentTarget = null;
  return b;
}

function ya(a, b) {
  null == b ? x("30") : void 0;
  if (null == a) return b;

  if (Array.isArray(a)) {
    if (Array.isArray(b)) return a.push.apply(a, b), a;
    a.push(b);
    return a;
  }

  return Array.isArray(b) ? [a].concat(b) : [a, b];
}

function za(a, b, c) {
  Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);
}

var Aa = null;

function Ba() {}

function Ca(a) {
  if (a) {
    var b = a._dispatchListeners,
        c = a._dispatchInstances,
        d = [];
    if (Array.isArray(b)) for (var e = 0; e < b.length && !a.isPropagationStopped(); e++) {
      d.push(xa(a, b[e], c[e]));
    } else b && d.push(xa(a, b, c));
    a._dispatchListeners = null;
    a._dispatchInstances = null;
    a.isPersistent() || a.constructor.release(a);
    return d;
  }

  return [];
}

var Da = {
  injectEventPluginOrder: function injectEventPluginOrder(a) {
    ma ? x("101") : void 0;
    ma = Array.prototype.slice.call(a);
    oa();
  },
  injectEventPluginsByName: function injectEventPluginsByName(a) {
    var b = !1,
        c;

    for (c in a) {
      if (a.hasOwnProperty(c)) {
        var d = a[c];
        na.hasOwnProperty(c) && na[c] === d || (na[c] ? x("102", c) : void 0, na[c] = d, b = !0);
      }
    }

    b && oa();
  },
  injectListenToHandlers: function injectListenToHandlers(a) {
    Ba = a;
  }
};

function Ea(a, b) {
  var c = a.stateNode;
  if (!c) return null;
  var d = ua(c);
  if (!d) return null;
  c = d[b];

  a: switch (b) {
    case "onClick":
    case "onClickCapture":
    case "onDoubleClick":
    case "onDoubleClickCapture":
    case "onMouseDown":
    case "onMouseDownCapture":
    case "onMouseMove":
    case "onMouseMoveCapture":
    case "onMouseUp":
    case "onMouseUpCapture":
      (d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
      a = !d;
      break a;

    default:
      a = !1;
  }

  if (a) return null;
  c && "function" !== typeof c ? x("231", b, _typeof(c)) : void 0;
  return c;
}

function Fa(a) {
  null !== a && (Aa = ya(Aa, a));
  a = Aa;
  Aa = null;
  var b = [];
  a && (za(a, function (a) {
    b = b.concat(Ca(a));
  }), 0 < b.length && Ba(b), Aa ? x("95") : void 0, la());
}

var Ga = Math.random().toString(36).slice(2),
    Ha = "__reactInternalInstance$" + Ga,
    Ia = "__reactEventHandlers$" + Ga;

function Ja(a) {
  if (a[Ha]) return a[Ha];

  for (; !a[Ha];) {
    if (a.parentNode) a = a.parentNode;else return null;
  }

  a = a[Ha];
  return 5 === a.tag || 6 === a.tag ? a : null;
}

function Ka(a) {
  a = a[Ha];
  return !a || 5 !== a.tag && 6 !== a.tag ? null : a;
}

function Ma(a) {
  if (5 === a.tag || 6 === a.tag) return a.stateNode;
  x("33");
}

function Na(a) {
  return a[Ia] || null;
}

function Oa(a) {
  do {
    a = a.return;
  } while (a && 5 !== a.tag);

  return a ? a : null;
}

function Pa(a, b, c) {
  if (b = Ea(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = ya(c._dispatchListeners, b), c._dispatchInstances = ya(c._dispatchInstances, a);
}

function Qa(a) {
  if (a && a.dispatchConfig.phasedRegistrationNames) {
    for (var b = a._targetInst, c = []; b;) {
      c.push(b), b = Oa(b);
    }

    for (b = c.length; 0 < b--;) {
      Pa(c[b], "captured", a);
    }

    for (b = 0; b < c.length; b++) {
      Pa(c[b], "bubbled", a);
    }
  }
}

function Ra(a, b, c) {
  a && c && c.dispatchConfig.registrationName && (b = Ea(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = ya(c._dispatchListeners, b), c._dispatchInstances = ya(c._dispatchInstances, a));
}

function Sa(a) {
  a && a.dispatchConfig.registrationName && Ra(a._targetInst, null, a);
}

function Ta(a) {
  za(a, Qa);
}

var Ua = !("undefined" === typeof window || !window.document || !window.document.createElement);

function Va(a, b) {
  var c = {};
  c[a.toLowerCase()] = b.toLowerCase();
  c["Webkit" + a] = "webkit" + b;
  c["Moz" + a] = "moz" + b;
  return c;
}

var Wa = {
  animationend: Va("Animation", "AnimationEnd"),
  animationiteration: Va("Animation", "AnimationIteration"),
  animationstart: Va("Animation", "AnimationStart"),
  transitionend: Va("Transition", "TransitionEnd")
},
    Xa = {},
    Ya = {};
Ua && (Ya = document.createElement("div").style, "AnimationEvent" in window || (delete Wa.animationend.animation, delete Wa.animationiteration.animation, delete Wa.animationstart.animation), "TransitionEvent" in window || delete Wa.transitionend.transition);

function Za(a) {
  if (Xa[a]) return Xa[a];
  if (!Wa[a]) return a;
  var b = Wa[a],
      c;

  for (c in b) {
    if (b.hasOwnProperty(c) && c in Ya) return Xa[a] = b[c];
  }

  return a;
}

var $a = Za("animationend"),
    ab = Za("animationiteration"),
    bb = Za("animationstart"),
    cb = Za("transitionend"),
    db = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
    eb = null,
    fb = null,
    hb = null;

function ib() {
  if (hb) return hb;
  var a,
      b = fb,
      c = b.length,
      d,
      e = "value" in eb ? eb.value : eb.textContent,
      f = e.length;

  for (a = 0; a < c && b[a] === e[a]; a++) {
    ;
  }

  var g = c - a;

  for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {
    ;
  }

  return hb = e.slice(a, 1 < d ? 1 - d : void 0);
}

function jb() {
  return !0;
}

function kb() {
  return !1;
}

function y(a, b, c, d) {
  this.dispatchConfig = a;
  this._targetInst = b;
  this.nativeEvent = c;
  a = this.constructor.Interface;

  for (var e in a) {
    a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
  }

  this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? jb : kb;
  this.isPropagationStopped = kb;
  return this;
}

n(y.prototype, {
  preventDefault: function preventDefault() {
    this.defaultPrevented = !0;
    var a = this.nativeEvent;
    a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = jb);
  },
  stopPropagation: function stopPropagation() {
    var a = this.nativeEvent;
    a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = jb);
  },
  persist: function persist() {
    this.isPersistent = jb;
  },
  isPersistent: kb,
  destructor: function destructor() {
    var a = this.constructor.Interface,
        b;

    for (b in a) {
      this[b] = null;
    }

    this.nativeEvent = this._targetInst = this.dispatchConfig = null;
    this.isPropagationStopped = this.isDefaultPrevented = kb;
    this._dispatchInstances = this._dispatchListeners = null;
  }
});
y.Interface = {
  type: null,
  target: null,
  currentTarget: function currentTarget() {
    return null;
  },
  eventPhase: null,
  bubbles: null,
  cancelable: null,
  timeStamp: function timeStamp(a) {
    return a.timeStamp || Date.now();
  },
  defaultPrevented: null,
  isTrusted: null
};

y.extend = function (a) {
  function b() {}

  function c() {
    return d.apply(this, arguments);
  }

  var d = this;
  b.prototype = d.prototype;
  var e = new b();
  n(e, c.prototype);
  c.prototype = e;
  c.prototype.constructor = c;
  c.Interface = n({}, d.Interface, a);
  c.extend = d.extend;
  lb(c);
  return c;
};

lb(y);

function mb(a, b, c, d) {
  if (this.eventPool.length) {
    var e = this.eventPool.pop();
    this.call(e, a, b, c, d);
    return e;
  }

  return new this(a, b, c, d);
}

function nb(a) {
  a instanceof this ? void 0 : x("279");
  a.destructor();
  10 > this.eventPool.length && this.eventPool.push(a);
}

function lb(a) {
  a.eventPool = [];
  a.getPooled = mb;
  a.release = nb;
}

var ob = y.extend({
  data: null
}),
    pb = y.extend({
  data: null
}),
    qb = [9, 13, 27, 32],
    rb = Ua && "CompositionEvent" in window,
    sb = null;
Ua && "documentMode" in document && (sb = document.documentMode);
var tb = Ua && "TextEvent" in window && !sb,
    ub = Ua && (!rb || sb && 8 < sb && 11 >= sb),
    vb = String.fromCharCode(32),
    wb = {
  beforeInput: {
    phasedRegistrationNames: {
      bubbled: "onBeforeInput",
      captured: "onBeforeInputCapture"
    },
    dependencies: ["compositionend", "keypress", "textInput", "paste"]
  },
  compositionEnd: {
    phasedRegistrationNames: {
      bubbled: "onCompositionEnd",
      captured: "onCompositionEndCapture"
    },
    dependencies: "blur compositionend keydown keypress keyup mousedown".split(" ")
  },
  compositionStart: {
    phasedRegistrationNames: {
      bubbled: "onCompositionStart",
      captured: "onCompositionStartCapture"
    },
    dependencies: "blur compositionstart keydown keypress keyup mousedown".split(" ")
  },
  compositionUpdate: {
    phasedRegistrationNames: {
      bubbled: "onCompositionUpdate",
      captured: "onCompositionUpdateCapture"
    },
    dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ")
  }
},
    xb = !1;

function yb(a, b) {
  switch (a) {
    case "keyup":
      return -1 !== qb.indexOf(b.keyCode);

    case "keydown":
      return 229 !== b.keyCode;

    case "keypress":
    case "mousedown":
    case "blur":
      return !0;

    default:
      return !1;
  }
}

function zb(a) {
  a = a.detail;
  return "object" === _typeof(a) && "data" in a ? a.data : null;
}

var Ab = !1;

function Bb(a, b) {
  switch (a) {
    case "compositionend":
      return zb(b);

    case "keypress":
      if (32 !== b.which) return null;
      xb = !0;
      return vb;

    case "textInput":
      return a = b.data, a === vb && xb ? null : a;

    default:
      return null;
  }
}

function Cb(a, b) {
  if (Ab) return "compositionend" === a || !rb && yb(a, b) ? (a = ib(), hb = fb = eb = null, Ab = !1, a) : null;

  switch (a) {
    case "paste":
      return null;

    case "keypress":
      if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
        if (b.char && 1 < b.char.length) return b.char;
        if (b.which) return String.fromCharCode(b.which);
      }

      return null;

    case "compositionend":
      return ub && "ko" !== b.locale ? null : b.data;

    default:
      return null;
  }
}

var Db = {
  eventTypes: wb,
  extractEvents: function extractEvents(a, b, c, d) {
    var e = void 0;
    var f = void 0;
    if (rb) b: {
      switch (a) {
        case "compositionstart":
          e = wb.compositionStart;
          break b;

        case "compositionend":
          e = wb.compositionEnd;
          break b;

        case "compositionupdate":
          e = wb.compositionUpdate;
          break b;
      }

      e = void 0;
    } else Ab ? yb(a, c) && (e = wb.compositionEnd) : "keydown" === a && 229 === c.keyCode && (e = wb.compositionStart);
    e ? (ub && "ko" !== c.locale && (Ab || e !== wb.compositionStart ? e === wb.compositionEnd && Ab && (f = ib()) : (eb = d, fb = "value" in eb ? eb.value : eb.textContent, Ab = !0)), e = ob.getPooled(e, b, c, d), f ? e.data = f : (f = zb(c), null !== f && (e.data = f)), Ta(e), f = e) : f = null;
    (a = tb ? Bb(a, c) : Cb(a, c)) ? (b = pb.getPooled(wb.beforeInput, b, c, d), b.data = a, Ta(b)) : b = null;
    return null === f ? b : null === b ? f : [f, b];
  }
},
    Eb = null,
    Fb = null,
    Gb = null;

function Hb(a) {
  if (a = va(a)) {
    "function" !== typeof Eb ? x("280") : void 0;
    var b = ua(a.stateNode);
    Eb(a.stateNode, a.type, b);
  }
}

function Ib(a) {
  Fb ? Gb ? Gb.push(a) : Gb = [a] : Fb = a;
}

function Jb() {
  if (Fb) {
    var a = Fb,
        b = Gb;
    Gb = Fb = null;
    Hb(a);
    if (b) for (a = 0; a < b.length; a++) {
      Hb(b[a]);
    }
  }
}

function Kb(a, b) {
  return a(b);
}

function Lb(a, b, c) {
  return a(b, c);
}

function Mb() {}

var Ob = !1;

function Pb(a, b) {
  if (Ob) return a(b);
  Ob = !0;

  try {
    return Kb(a, b);
  } finally {
    if (Ob = !1, null !== Fb || null !== Gb) Mb(), Jb();
  }
}

var Qb = {
  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 Rb(a) {
  var b = a && a.nodeName && a.nodeName.toLowerCase();
  return "input" === b ? !!Qb[a.type] : "textarea" === b ? !0 : !1;
}

function Sb(a) {
  a = a.target || a.srcElement || window;
  a.correspondingUseElement && (a = a.correspondingUseElement);
  return 3 === a.nodeType ? a.parentNode : a;
}

function Tb(a) {
  if (!Ua) return !1;
  a = "on" + a;
  var b = a in document;
  b || (b = document.createElement("div"), b.setAttribute(a, "return;"), b = "function" === typeof b[a]);
  return b;
}

function Ub(a) {
  var b = a.type;
  return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
}

function Vb(a) {
  var b = Ub(a) ? "checked" : "value",
      c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),
      d = "" + a[b];

  if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
    var e = c.get,
        f = c.set;
    Object.defineProperty(a, b, {
      configurable: !0,
      get: function get() {
        return e.call(this);
      },
      set: function set(a) {
        d = "" + a;
        f.call(this, a);
      }
    });
    Object.defineProperty(a, b, {
      enumerable: c.enumerable
    });
    return {
      getValue: function getValue() {
        return d;
      },
      setValue: function setValue(a) {
        d = "" + a;
      },
      stopTracking: function stopTracking() {
        a._valueTracker = null;
        delete a[b];
      }
    };
  }
}

function Wb(a) {
  a._valueTracker || (a._valueTracker = Vb(a));
}

function Xb(a) {
  if (!a) return !1;
  var b = a._valueTracker;
  if (!b) return !0;
  var c = b.getValue();
  var d = "";
  a && (d = Ub(a) ? a.checked ? "true" : "false" : a.value);
  a = d;
  return a !== c ? (b.setValue(a), !0) : !1;
}

var Yb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
Yb.hasOwnProperty("ReactCurrentDispatcher") || (Yb.ReactCurrentDispatcher = {
  current: null
});
var Zb = /^(.*)[\\\/]/,
    A = "function" === typeof Symbol && Symbol.for,
    $b = A ? Symbol.for("react.element") : 60103,
    ac = A ? Symbol.for("react.portal") : 60106,
    bc = A ? Symbol.for("react.fragment") : 60107,
    cc = A ? Symbol.for("react.strict_mode") : 60108,
    dc = A ? Symbol.for("react.profiler") : 60114,
    ec = A ? Symbol.for("react.provider") : 60109,
    fc = A ? Symbol.for("react.context") : 60110,
    gc = A ? Symbol.for("react.concurrent_mode") : 60111,
    hc = A ? Symbol.for("react.forward_ref") : 60112,
    ic = A ? Symbol.for("react.suspense") : 60113,
    jc = A ? Symbol.for("react.memo") : 60115,
    kc = A ? Symbol.for("react.lazy") : 60116,
    lc = "function" === typeof Symbol && Symbol.iterator;

function mc(a) {
  if (null === a || "object" !== _typeof(a)) return null;
  a = lc && a[lc] || a["@@iterator"];
  return "function" === typeof a ? a : null;
}

function nc(a) {
  if (null == a) return null;
  if ("function" === typeof a) return a.displayName || a.name || null;
  if ("string" === typeof a) return a;

  switch (a) {
    case gc:
      return "ConcurrentMode";

    case bc:
      return "Fragment";

    case ac:
      return "Portal";

    case dc:
      return "Profiler";

    case cc:
      return "StrictMode";

    case ic:
      return "Suspense";
  }

  if ("object" === _typeof(a)) switch (a.$$typeof) {
    case fc:
      return "Context.Consumer";

    case ec:
      return "Context.Provider";

    case hc:
      var b = a.render;
      b = b.displayName || b.name || "";
      return a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef");

    case jc:
      return nc(a.type);

    case kc:
      if (a = 1 === a._status ? a._result : null) return nc(a);
  }
  return null;
}

function oc(a) {
  var b = "";

  do {
    a: switch (a.tag) {
      case 3:
      case 4:
      case 6:
      case 7:
      case 10:
      case 9:
        var c = "";
        break a;

      default:
        var d = a._debugOwner,
            e = a._debugSource,
            f = nc(a.type);
        c = null;
        d && (c = nc(d.type));
        d = f;
        f = "";
        e ? f = " (at " + e.fileName.replace(Zb, "") + ":" + e.lineNumber + ")" : c && (f = " (created by " + c + ")");
        c = "\n    in " + (d || "Unknown") + f;
    }

    b += c;
    a = a.return;
  } while (a);

  return b;
}

var pc = /^[: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]*$/,
    qc = Object.prototype.hasOwnProperty,
    rc = {},
    sc = {};

function tc(a) {
  if (qc.call(sc, a)) return !0;
  if (qc.call(rc, a)) return !1;
  if (pc.test(a)) return sc[a] = !0;
  rc[a] = !0;
  return !1;
}

function uc(a, b, c, d) {
  if (null !== c && 0 === c.type) return !1;

  switch (_typeof(b)) {
    case "function":
    case "symbol":
      return !0;

    case "boolean":
      if (d) return !1;
      if (null !== c) return !c.acceptsBooleans;
      a = a.toLowerCase().slice(0, 5);
      return "data-" !== a && "aria-" !== a;

    default:
      return !1;
  }
}

function vc(a, b, c, d) {
  if (null === b || "undefined" === typeof b || uc(a, b, c, d)) return !0;
  if (d) return !1;
  if (null !== c) switch (c.type) {
    case 3:
      return !b;

    case 4:
      return !1 === b;

    case 5:
      return isNaN(b);

    case 6:
      return isNaN(b) || 1 > b;
  }
  return !1;
}

function B(a, b, c, d, e) {
  this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
  this.attributeName = d;
  this.attributeNamespace = e;
  this.mustUseProperty = c;
  this.propertyName = a;
  this.type = b;
}

var C = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (a) {
  C[a] = new B(a, 0, !1, a, null);
});
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (a) {
  var b = a[0];
  C[b] = new B(b, 1, !1, a[1], null);
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function (a) {
  C[a] = new B(a, 2, !1, a.toLowerCase(), null);
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (a) {
  C[a] = new B(a, 2, !1, a, null);
});
"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function (a) {
  C[a] = new B(a, 3, !1, a.toLowerCase(), null);
});
["checked", "multiple", "muted", "selected"].forEach(function (a) {
  C[a] = new B(a, 3, !0, a, null);
});
["capture", "download"].forEach(function (a) {
  C[a] = new B(a, 4, !1, a, null);
});
["cols", "rows", "size", "span"].forEach(function (a) {
  C[a] = new B(a, 6, !1, a, null);
});
["rowSpan", "start"].forEach(function (a) {
  C[a] = new B(a, 5, !1, a.toLowerCase(), null);
});
var wc = /[\-:]([a-z])/g;

function xc(a) {
  return a[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 (a) {
  var b = a.replace(wc, xc);
  C[b] = new B(b, 1, !1, a, null);
});
"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (a) {
  var b = a.replace(wc, xc);
  C[b] = new B(b, 1, !1, a, "http://www.w3.org/1999/xlink");
});
["xml:base", "xml:lang", "xml:space"].forEach(function (a) {
  var b = a.replace(wc, xc);
  C[b] = new B(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace");
});
["tabIndex", "crossOrigin"].forEach(function (a) {
  C[a] = new B(a, 1, !1, a.toLowerCase(), null);
});

function yc(a, b, c, d) {
  var e = C.hasOwnProperty(b) ? C[b] : null;
  var f = null !== e ? 0 === e.type : d ? !1 : !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1] ? !1 : !0;
  f || (vc(b, c, e, d) && (c = null), d || null === e ? tc(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? !1 : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && !0 === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));
}

function zc(a) {
  switch (_typeof(a)) {
    case "boolean":
    case "number":
    case "object":
    case "string":
    case "undefined":
      return a;

    default:
      return "";
  }
}

function Ac(a, b) {
  var c = b.checked;
  return n({}, b, {
    defaultChecked: void 0,
    defaultValue: void 0,
    value: void 0,
    checked: null != c ? c : a._wrapperState.initialChecked
  });
}

function Bc(a, b) {
  var c = null == b.defaultValue ? "" : b.defaultValue,
      d = null != b.checked ? b.checked : b.defaultChecked;
  c = zc(null != b.value ? b.value : c);
  a._wrapperState = {
    initialChecked: d,
    initialValue: c,
    controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
  };
}

function Cc(a, b) {
  b = b.checked;
  null != b && yc(a, "checked", b, !1);
}

function Dc(a, b) {
  Cc(a, b);
  var c = zc(b.value),
      d = b.type;
  if (null != c) {
    if ("number" === d) {
      if (0 === c && "" === a.value || a.value != c) a.value = "" + c;
    } else a.value !== "" + c && (a.value = "" + c);
  } else if ("submit" === d || "reset" === d) {
    a.removeAttribute("value");
    return;
  }
  b.hasOwnProperty("value") ? Ec(a, b.type, c) : b.hasOwnProperty("defaultValue") && Ec(a, b.type, zc(b.defaultValue));
  null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
}

function Fc(a, b, c) {
  if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
    var d = b.type;
    if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) return;
    b = "" + a._wrapperState.initialValue;
    c || b === a.value || (a.value = b);
    a.defaultValue = b;
  }

  c = a.name;
  "" !== c && (a.name = "");
  a.defaultChecked = !a.defaultChecked;
  a.defaultChecked = !!a._wrapperState.initialChecked;
  "" !== c && (a.name = c);
}

function Ec(a, b, c) {
  if ("number" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
}

var Gc = {
  change: {
    phasedRegistrationNames: {
      bubbled: "onChange",
      captured: "onChangeCapture"
    },
    dependencies: "blur change click focus input keydown keyup selectionchange".split(" ")
  }
};

function Hc(a, b, c) {
  a = y.getPooled(Gc.change, a, b, c);
  a.type = "change";
  Ib(c);
  Ta(a);
  return a;
}

var Ic = null,
    Jc = null;

function Kc(a) {
  Fa(a);
}

function Lc(a) {
  var b = Ma(a);
  if (Xb(b)) return a;
}

function Mc(a, b) {
  if ("change" === a) return b;
}

var Nc = !1;
Ua && (Nc = Tb("input") && (!document.documentMode || 9 < document.documentMode));

function Oc() {
  Ic && (Ic.detachEvent("onpropertychange", Pc), Jc = Ic = null);
}

function Pc(a) {
  "value" === a.propertyName && Lc(Jc) && (a = Hc(Jc, a, Sb(a)), Pb(Kc, a));
}

function Qc(a, b, c) {
  "focus" === a ? (Oc(), Ic = b, Jc = c, Ic.attachEvent("onpropertychange", Pc)) : "blur" === a && Oc();
}

function Rc(a) {
  if ("selectionchange" === a || "keyup" === a || "keydown" === a) return Lc(Jc);
}

function Sc(a, b) {
  if ("click" === a) return Lc(b);
}

function Tc(a, b) {
  if ("input" === a || "change" === a) return Lc(b);
}

var Uc = {
  eventTypes: Gc,
  _isInputEventSupported: Nc,
  extractEvents: function extractEvents(a, b, c, d) {
    var e = b ? Ma(b) : window,
        f = void 0,
        g = void 0,
        h = e.nodeName && e.nodeName.toLowerCase();
    "select" === h || "input" === h && "file" === e.type ? f = Mc : Rb(e) ? Nc ? f = Tc : (f = Rc, g = Qc) : (h = e.nodeName) && "input" === h.toLowerCase() && ("checkbox" === e.type || "radio" === e.type) && (f = Sc);
    if (f && (f = f(a, b))) return Hc(f, c, d);
    g && g(a, e, b);
    "blur" === a && (a = e._wrapperState) && a.controlled && "number" === e.type && Ec(e, "number", e.value);
  }
},
    Vc = y.extend({
  view: null,
  detail: null
}),
    Wc = {
  Alt: "altKey",
  Control: "ctrlKey",
  Meta: "metaKey",
  Shift: "shiftKey"
};

function Xc(a) {
  var b = this.nativeEvent;
  return b.getModifierState ? b.getModifierState(a) : (a = Wc[a]) ? !!b[a] : !1;
}

function Yc() {
  return Xc;
}

var Zc = 0,
    $c = 0,
    ad = !1,
    bd = !1,
    cd = Vc.extend({
  screenX: null,
  screenY: null,
  clientX: null,
  clientY: null,
  pageX: null,
  pageY: null,
  ctrlKey: null,
  shiftKey: null,
  altKey: null,
  metaKey: null,
  getModifierState: Yc,
  button: null,
  buttons: null,
  relatedTarget: function relatedTarget(a) {
    return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);
  },
  movementX: function movementX(a) {
    if ("movementX" in a) return a.movementX;
    var b = Zc;
    Zc = a.screenX;
    return ad ? "mousemove" === a.type ? a.screenX - b : 0 : (ad = !0, 0);
  },
  movementY: function movementY(a) {
    if ("movementY" in a) return a.movementY;
    var b = $c;
    $c = a.screenY;
    return bd ? "mousemove" === a.type ? a.screenY - b : 0 : (bd = !0, 0);
  }
}),
    dd = cd.extend({
  pointerId: null,
  width: null,
  height: null,
  pressure: null,
  tangentialPressure: null,
  tiltX: null,
  tiltY: null,
  twist: null,
  pointerType: null,
  isPrimary: null
}),
    ed = {
  mouseEnter: {
    registrationName: "onMouseEnter",
    dependencies: ["mouseout", "mouseover"]
  },
  mouseLeave: {
    registrationName: "onMouseLeave",
    dependencies: ["mouseout", "mouseover"]
  },
  pointerEnter: {
    registrationName: "onPointerEnter",
    dependencies: ["pointerout", "pointerover"]
  },
  pointerLeave: {
    registrationName: "onPointerLeave",
    dependencies: ["pointerout", "pointerover"]
  }
},
    fd = {
  eventTypes: ed,
  extractEvents: function extractEvents(a, b, c, d) {
    var e = "mouseover" === a || "pointerover" === a,
        f = "mouseout" === a || "pointerout" === a;
    if (e && (c.relatedTarget || c.fromElement) || !f && !e) return null;
    e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window;
    f ? (f = b, b = (b = c.relatedTarget || c.toElement) ? Ja(b) : null) : f = null;
    if (f === b) return null;
    var g = void 0,
        h = void 0,
        k = void 0,
        l = void 0;
    if ("mouseout" === a || "mouseover" === a) g = cd, h = ed.mouseLeave, k = ed.mouseEnter, l = "mouse";else if ("pointerout" === a || "pointerover" === a) g = dd, h = ed.pointerLeave, k = ed.pointerEnter, l = "pointer";
    var m = null == f ? e : Ma(f);
    e = null == b ? e : Ma(b);
    a = g.getPooled(h, f, c, d);
    a.type = l + "leave";
    a.target = m;
    a.relatedTarget = e;
    c = g.getPooled(k, b, c, d);
    c.type = l + "enter";
    c.target = e;
    c.relatedTarget = m;
    d = b;
    if (f && d) a: {
      b = f;
      e = d;
      l = 0;

      for (g = b; g; g = Oa(g)) {
        l++;
      }

      g = 0;

      for (k = e; k; k = Oa(k)) {
        g++;
      }

      for (; 0 < l - g;) {
        b = Oa(b), l--;
      }

      for (; 0 < g - l;) {
        e = Oa(e), g--;
      }

      for (; l--;) {
        if (b === e || b === e.alternate) break a;
        b = Oa(b);
        e = Oa(e);
      }

      b = null;
    } else b = null;
    e = b;

    for (b = []; f && f !== e;) {
      l = f.alternate;
      if (null !== l && l === e) break;
      b.push(f);
      f = Oa(f);
    }

    for (f = []; d && d !== e;) {
      l = d.alternate;
      if (null !== l && l === e) break;
      f.push(d);
      d = Oa(d);
    }

    for (d = 0; d < b.length; d++) {
      Ra(b[d], "bubbled", a);
    }

    for (d = f.length; 0 < d--;) {
      Ra(f[d], "captured", c);
    }

    return [a, c];
  }
};

function gd(a, b) {
  return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
}

var hd = Object.prototype.hasOwnProperty;

function id(a, b) {
  if (gd(a, b)) return !0;
  if ("object" !== _typeof(a) || null === a || "object" !== _typeof(b) || null === b) return !1;
  var c = Object.keys(a),
      d = Object.keys(b);
  if (c.length !== d.length) return !1;

  for (d = 0; d < c.length; d++) {
    if (!hd.call(b, c[d]) || !gd(a[c[d]], b[c[d]])) return !1;
  }

  return !0;
}

function jd(a) {
  var b = a;
  if (a.alternate) for (; b.return;) {
    b = b.return;
  } else {
    if (0 !== (b.effectTag & 2)) return 1;

    for (; b.return;) {
      if (b = b.return, 0 !== (b.effectTag & 2)) return 1;
    }
  }
  return 3 === b.tag ? 2 : 3;
}

function kd(a) {
  2 !== jd(a) ? x("188") : void 0;
}

function ld(a) {
  var b = a.alternate;
  if (!b) return b = jd(a), 3 === b ? x("188") : void 0, 1 === b ? null : a;

  for (var c = a, d = b;;) {
    var e = c.return,
        f = e ? e.alternate : null;
    if (!e || !f) break;

    if (e.child === f.child) {
      for (var g = e.child; g;) {
        if (g === c) return kd(e), a;
        if (g === d) return kd(e), b;
        g = g.sibling;
      }

      x("188");
    }

    if (c.return !== d.return) c = e, d = f;else {
      g = !1;

      for (var h = e.child; h;) {
        if (h === c) {
          g = !0;
          c = e;
          d = f;
          break;
        }

        if (h === d) {
          g = !0;
          d = e;
          c = f;
          break;
        }

        h = h.sibling;
      }

      if (!g) {
        for (h = f.child; h;) {
          if (h === c) {
            g = !0;
            c = f;
            d = e;
            break;
          }

          if (h === d) {
            g = !0;
            d = f;
            c = e;
            break;
          }

          h = h.sibling;
        }

        g ? void 0 : x("189");
      }
    }
    c.alternate !== d ? x("190") : void 0;
  }

  3 !== c.tag ? x("188") : void 0;
  return c.stateNode.current === c ? a : b;
}

function md(a) {
  a = ld(a);
  if (!a) return null;

  for (var b = a;;) {
    if (5 === b.tag || 6 === b.tag) return b;
    if (b.child) b.child.return = b, b = b.child;else {
      if (b === a) break;

      for (; !b.sibling;) {
        if (!b.return || b.return === a) return null;
        b = b.return;
      }

      b.sibling.return = b.return;
      b = b.sibling;
    }
  }

  return null;
}

var nd = y.extend({
  animationName: null,
  elapsedTime: null,
  pseudoElement: null
}),
    od = y.extend({
  clipboardData: function clipboardData(a) {
    return "clipboardData" in a ? a.clipboardData : window.clipboardData;
  }
}),
    pd = Vc.extend({
  relatedTarget: null
});

function qd(a) {
  var b = a.keyCode;
  "charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
  10 === a && (a = 13);
  return 32 <= a || 13 === a ? a : 0;
}

var rd = {
  Esc: "Escape",
  Spacebar: " ",
  Left: "ArrowLeft",
  Up: "ArrowUp",
  Right: "ArrowRight",
  Down: "ArrowDown",
  Del: "Delete",
  Win: "OS",
  Menu: "ContextMenu",
  Apps: "ContextMenu",
  Scroll: "ScrollLock",
  MozPrintableKey: "Unidentified"
},
    sd = {
  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"
},
    td = Vc.extend({
  key: function key(a) {
    if (a.key) {
      var b = rd[a.key] || a.key;
      if ("Unidentified" !== b) return b;
    }

    return "keypress" === a.type ? (a = qd(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? sd[a.keyCode] || "Unidentified" : "";
  },
  location: null,
  ctrlKey: null,
  shiftKey: null,
  altKey: null,
  metaKey: null,
  repeat: null,
  locale: null,
  getModifierState: Yc,
  charCode: function charCode(a) {
    return "keypress" === a.type ? qd(a) : 0;
  },
  keyCode: function keyCode(a) {
    return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  },
  which: function which(a) {
    return "keypress" === a.type ? qd(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
  }
}),
    ud = cd.extend({
  dataTransfer: null
}),
    vd = Vc.extend({
  touches: null,
  targetTouches: null,
  changedTouches: null,
  altKey: null,
  metaKey: null,
  ctrlKey: null,
  shiftKey: null,
  getModifierState: Yc
}),
    wd = y.extend({
  propertyName: null,
  elapsedTime: null,
  pseudoElement: null
}),
    xd = cd.extend({
  deltaX: function deltaX(a) {
    return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
  },
  deltaY: function deltaY(a) {
    return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
  },
  deltaZ: null,
  deltaMode: null
}),
    yd = [["abort", "abort"], [$a, "animationEnd"], [ab, "animationIteration"], [bb, "animationStart"], ["canplay", "canPlay"], ["canplaythrough", "canPlayThrough"], ["drag", "drag"], ["dragenter", "dragEnter"], ["dragexit", "dragExit"], ["dragleave", "dragLeave"], ["dragover", "dragOver"], ["durationchange", "durationChange"], ["emptied", "emptied"], ["encrypted", "encrypted"], ["ended", "ended"], ["error", "error"], ["gotpointercapture", "gotPointerCapture"], ["load", "load"], ["loadeddata", "loadedData"], ["loadedmetadata", "loadedMetadata"], ["loadstart", "loadStart"], ["lostpointercapture", "lostPointerCapture"], ["mousemove", "mouseMove"], ["mouseout", "mouseOut"], ["mouseover", "mouseOver"], ["playing", "playing"], ["pointermove", "pointerMove"], ["pointerout", "pointerOut"], ["pointerover", "pointerOver"], ["progress", "progress"], ["scroll", "scroll"], ["seeking", "seeking"], ["stalled", "stalled"], ["suspend", "suspend"], ["timeupdate", "timeUpdate"], ["toggle", "toggle"], ["touchmove", "touchMove"], [cb, "transitionEnd"], ["waiting", "waiting"], ["wheel", "wheel"]],
    zd = {},
    Ad = {};

function Bd(a, b) {
  var c = a[0];
  a = a[1];
  var d = "on" + (a[0].toUpperCase() + a.slice(1));
  b = {
    phasedRegistrationNames: {
      bubbled: d,
      captured: d + "Capture"
    },
    dependencies: [c],
    isInteractive: b
  };
  zd[a] = b;
  Ad[c] = b;
}

[["blur", "blur"], ["cancel", "cancel"], ["click", "click"], ["close", "close"], ["contextmenu", "contextMenu"], ["copy", "copy"], ["cut", "cut"], ["auxclick", "auxClick"], ["dblclick", "doubleClick"], ["dragend", "dragEnd"], ["dragstart", "dragStart"], ["drop", "drop"], ["focus", "focus"], ["input", "input"], ["invalid", "invalid"], ["keydown", "keyDown"], ["keypress", "keyPress"], ["keyup", "keyUp"], ["mousedown", "mouseDown"], ["mouseup", "mouseUp"], ["paste", "paste"], ["pause", "pause"], ["play", "play"], ["pointercancel", "pointerCancel"], ["pointerdown", "pointerDown"], ["pointerup", "pointerUp"], ["ratechange", "rateChange"], ["reset", "reset"], ["seeked", "seeked"], ["submit", "submit"], ["touchcancel", "touchCancel"], ["touchend", "touchEnd"], ["touchstart", "touchStart"], ["volumechange", "volumeChange"]].forEach(function (a) {
  Bd(a, !0);
});
yd.forEach(function (a) {
  Bd(a, !1);
});
var Cd = {
  eventTypes: zd,
  isInteractiveTopLevelEventType: function isInteractiveTopLevelEventType(a) {
    a = Ad[a];
    return void 0 !== a && !0 === a.isInteractive;
  },
  extractEvents: function extractEvents(a, b, c, d) {
    var e = Ad[a];
    if (!e) return null;

    switch (a) {
      case "keypress":
        if (0 === qd(c)) return null;

      case "keydown":
      case "keyup":
        a = td;
        break;

      case "blur":
      case "focus":
        a = pd;
        break;

      case "click":
        if (2 === c.button) return null;

      case "auxclick":
      case "dblclick":
      case "mousedown":
      case "mousemove":
      case "mouseup":
      case "mouseout":
      case "mouseover":
      case "contextmenu":
        a = cd;
        break;

      case "drag":
      case "dragend":
      case "dragenter":
      case "dragexit":
      case "dragleave":
      case "dragover":
      case "dragstart":
      case "drop":
        a = ud;
        break;

      case "touchcancel":
      case "touchend":
      case "touchmove":
      case "touchstart":
        a = vd;
        break;

      case $a:
      case ab:
      case bb:
        a = nd;
        break;

      case cb:
        a = wd;
        break;

      case "scroll":
        a = Vc;
        break;

      case "wheel":
        a = xd;
        break;

      case "copy":
      case "cut":
      case "paste":
        a = od;
        break;

      case "gotpointercapture":
      case "lostpointercapture":
      case "pointercancel":
      case "pointerdown":
      case "pointermove":
      case "pointerout":
      case "pointerover":
      case "pointerup":
        a = dd;
        break;

      default:
        a = y;
    }

    b = a.getPooled(e, b, c, d);
    Ta(b);
    return b;
  }
},
    Dd = Cd.isInteractiveTopLevelEventType,
    Ed = [];

function Fd(a) {
  var b = a.targetInst,
      c = b;

  do {
    if (!c) {
      a.ancestors.push(c);
      break;
    }

    var d;

    for (d = c; d.return;) {
      d = d.return;
    }

    d = 3 !== d.tag ? null : d.stateNode.containerInfo;
    if (!d) break;
    a.ancestors.push(c);
    c = Ja(d);
  } while (c);

  for (c = 0; c < a.ancestors.length; c++) {
    b = a.ancestors[c];
    var e = Sb(a.nativeEvent);
    d = a.topLevelType;

    for (var f = a.nativeEvent, g = null, h = 0; h < pa.length; h++) {
      var k = pa[h];
      k && (k = k.extractEvents(d, b, f, e)) && (g = ya(g, k));
    }

    Fa(g);
  }
}

var Gd = !0;

function D(a, b) {
  if (!b) return null;
  var c = (Dd(a) ? Hd : Id).bind(null, a);
  b.addEventListener(a, c, !1);
}

function Jd(a, b) {
  if (!b) return null;
  var c = (Dd(a) ? Hd : Id).bind(null, a);
  b.addEventListener(a, c, !0);
}

function Hd(a, b) {
  Lb(Id, a, b);
}

function Id(a, b) {
  if (Gd) {
    var c = Sb(b);
    c = Ja(c);
    null === c || "number" !== typeof c.tag || 2 === jd(c) || (c = null);

    if (Ed.length) {
      var d = Ed.pop();
      d.topLevelType = a;
      d.nativeEvent = b;
      d.targetInst = c;
      a = d;
    } else a = {
      topLevelType: a,
      nativeEvent: b,
      targetInst: c,
      ancestors: []
    };

    try {
      Pb(Fd, a);
    } finally {
      a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0, 10 > Ed.length && Ed.push(a);
    }
  }
}

var Kd = {},
    Ld = 0,
    Md = "_reactListenersID" + ("" + Math.random()).slice(2);

function Nd(a) {
  Object.prototype.hasOwnProperty.call(a, Md) || (a[Md] = Ld++, Kd[a[Md]] = {});
  return Kd[a[Md]];
}

function Od(a) {
  a = a || ("undefined" !== typeof document ? document : void 0);
  if ("undefined" === typeof a) return null;

  try {
    return a.activeElement || a.body;
  } catch (b) {
    return a.body;
  }
}

function Pd(a) {
  for (; a && a.firstChild;) {
    a = a.firstChild;
  }

  return a;
}

function Qd(a, b) {
  var c = Pd(a);
  a = 0;

  for (var d; c;) {
    if (3 === c.nodeType) {
      d = a + c.textContent.length;
      if (a <= b && d >= b) return {
        node: c,
        offset: b - a
      };
      a = d;
    }

    a: {
      for (; c;) {
        if (c.nextSibling) {
          c = c.nextSibling;
          break a;
        }

        c = c.parentNode;
      }

      c = void 0;
    }

    c = Pd(c);
  }
}

function Rd(a, b) {
  return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? Rd(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;
}

function Sd() {
  for (var a = window, b = Od(); b instanceof a.HTMLIFrameElement;) {
    try {
      a = b.contentDocument.defaultView;
    } catch (c) {
      break;
    }

    b = Od(a.document);
  }

  return b;
}

function Td(a) {
  var b = a && a.nodeName && a.nodeName.toLowerCase();
  return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
}

function Ud() {
  var a = Sd();

  if (Td(a)) {
    if ("selectionStart" in a) var b = {
      start: a.selectionStart,
      end: a.selectionEnd
    };else a: {
      b = (b = a.ownerDocument) && b.defaultView || window;
      var c = b.getSelection && b.getSelection();

      if (c && 0 !== c.rangeCount) {
        b = c.anchorNode;
        var d = c.anchorOffset,
            e = c.focusNode;
        c = c.focusOffset;

        try {
          b.nodeType, e.nodeType;
        } catch (U) {
          b = null;
          break a;
        }

        var f = 0,
            g = -1,
            h = -1,
            k = 0,
            l = 0,
            m = a,
            p = null;

        b: for (;;) {
          for (var w;;) {
            m !== b || 0 !== d && 3 !== m.nodeType || (g = f + d);
            m !== e || 0 !== c && 3 !== m.nodeType || (h = f + c);
            3 === m.nodeType && (f += m.nodeValue.length);
            if (null === (w = m.firstChild)) break;
            p = m;
            m = w;
          }

          for (;;) {
            if (m === a) break b;
            p === b && ++k === d && (g = f);
            p === e && ++l === c && (h = f);
            if (null !== (w = m.nextSibling)) break;
            m = p;
            p = m.parentNode;
          }

          m = w;
        }

        b = -1 === g || -1 === h ? null : {
          start: g,
          end: h
        };
      } else b = null;
    }
    b = b || {
      start: 0,
      end: 0
    };
  } else b = null;

  return {
    focusedElem: a,
    selectionRange: b
  };
}

function Vd(a) {
  var b = Sd(),
      c = a.focusedElem,
      d = a.selectionRange;

  if (b !== c && c && c.ownerDocument && Rd(c.ownerDocument.documentElement, c)) {
    if (null !== d && Td(c)) if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c) c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
      a = a.getSelection();
      var e = c.textContent.length,
          f = Math.min(d.start, e);
      d = void 0 === d.end ? f : Math.min(d.end, e);
      !a.extend && f > d && (e = d, d = f, f = e);
      e = Qd(c, f);
      var g = Qd(c, d);
      e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
    }
    b = [];

    for (a = c; a = a.parentNode;) {
      1 === a.nodeType && b.push({
        element: a,
        left: a.scrollLeft,
        top: a.scrollTop
      });
    }

    "function" === typeof c.focus && c.focus();

    for (c = 0; c < b.length; c++) {
      a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
    }
  }
}

var Wd = Ua && "documentMode" in document && 11 >= document.documentMode,
    Xd = {
  select: {
    phasedRegistrationNames: {
      bubbled: "onSelect",
      captured: "onSelectCapture"
    },
    dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")
  }
},
    Yd = null,
    Zd = null,
    $d = null,
    ae = !1;

function be(a, b) {
  var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;
  if (ae || null == Yd || Yd !== Od(c)) return null;
  c = Yd;
  "selectionStart" in c && Td(c) ? c = {
    start: c.selectionStart,
    end: c.selectionEnd
  } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {
    anchorNode: c.anchorNode,
    anchorOffset: c.anchorOffset,
    focusNode: c.focusNode,
    focusOffset: c.focusOffset
  });
  return $d && id($d, c) ? null : ($d = c, a = y.getPooled(Xd.select, Zd, a, b), a.type = "select", a.target = Yd, Ta(a), a);
}

var ce = {
  eventTypes: Xd,
  extractEvents: function extractEvents(a, b, c, d) {
    var e = d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument,
        f;

    if (!(f = !e)) {
      a: {
        e = Nd(e);
        f = ta.onSelect;

        for (var g = 0; g < f.length; g++) {
          var h = f[g];

          if (!e.hasOwnProperty(h) || !e[h]) {
            e = !1;
            break a;
          }
        }

        e = !0;
      }

      f = !e;
    }

    if (f) return null;
    e = b ? Ma(b) : window;

    switch (a) {
      case "focus":
        if (Rb(e) || "true" === e.contentEditable) Yd = e, Zd = b, $d = null;
        break;

      case "blur":
        $d = Zd = Yd = null;
        break;

      case "mousedown":
        ae = !0;
        break;

      case "contextmenu":
      case "mouseup":
      case "dragend":
        return ae = !1, be(c, d);

      case "selectionchange":
        if (Wd) break;

      case "keydown":
      case "keyup":
        return be(c, d);
    }

    return null;
  }
};
Da.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));
ua = Na;
va = Ka;
wa = Ma;
Da.injectEventPluginsByName({
  SimpleEventPlugin: Cd,
  EnterLeaveEventPlugin: fd,
  ChangeEventPlugin: Uc,
  SelectEventPlugin: ce,
  BeforeInputEventPlugin: Db
});

function de(a) {
  var b = "";
  aa.Children.forEach(a, function (a) {
    null != a && (b += a);
  });
  return b;
}

function ee(a, b) {
  a = n({
    children: void 0
  }, b);
  if (b = de(b.children)) a.children = b;
  return a;
}

function fe(a, b, c, d) {
  a = a.options;

  if (b) {
    b = {};

    for (var e = 0; e < c.length; e++) {
      b["$" + c[e]] = !0;
    }

    for (c = 0; c < a.length; c++) {
      e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
    }
  } else {
    c = "" + zc(c);
    b = null;

    for (e = 0; e < a.length; e++) {
      if (a[e].value === c) {
        a[e].selected = !0;
        d && (a[e].defaultSelected = !0);
        return;
      }

      null !== b || a[e].disabled || (b = a[e]);
    }

    null !== b && (b.selected = !0);
  }
}

function ge(a, b) {
  null != b.dangerouslySetInnerHTML ? x("91") : void 0;
  return n({}, b, {
    value: void 0,
    defaultValue: void 0,
    children: "" + a._wrapperState.initialValue
  });
}

function he(a, b) {
  var c = b.value;
  null == c && (c = b.defaultValue, b = b.children, null != b && (null != c ? x("92") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : x("93"), b = b[0]), c = b), null == c && (c = ""));
  a._wrapperState = {
    initialValue: zc(c)
  };
}

function ie(a, b) {
  var c = zc(b.value),
      d = zc(b.defaultValue);
  null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
  null != d && (a.defaultValue = "" + d);
}

function je(a) {
  var b = a.textContent;
  b === a._wrapperState.initialValue && (a.value = b);
}

var ke = {
  html: "http://www.w3.org/1999/xhtml",
  mathml: "http://www.w3.org/1998/Math/MathML",
  svg: "http://www.w3.org/2000/svg"
};

function le(a) {
  switch (a) {
    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 me(a, b) {
  return null == a || "http://www.w3.org/1999/xhtml" === a ? le(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
}

var ne = void 0,
    oe = function (a) {
  return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) {
    MSApp.execUnsafeLocalFunction(function () {
      return a(b, c, d, e);
    });
  } : a;
}(function (a, b) {
  if (a.namespaceURI !== ke.svg || "innerHTML" in a) a.innerHTML = b;else {
    ne = ne || document.createElement("div");
    ne.innerHTML = "<svg>" + b + "</svg>";

    for (b = ne.firstChild; a.firstChild;) {
      a.removeChild(a.firstChild);
    }

    for (; b.firstChild;) {
      a.appendChild(b.firstChild);
    }
  }
});

function pe(a, b) {
  if (b) {
    var c = a.firstChild;

    if (c && c === a.lastChild && 3 === c.nodeType) {
      c.nodeValue = b;
      return;
    }
  }

  a.textContent = b;
}

var qe = {
  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
},
    re = ["Webkit", "ms", "Moz", "O"];
Object.keys(qe).forEach(function (a) {
  re.forEach(function (b) {
    b = b + a.charAt(0).toUpperCase() + a.substring(1);
    qe[b] = qe[a];
  });
});

function se(a, b, c) {
  return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || qe.hasOwnProperty(a) && qe[a] ? ("" + b).trim() : b + "px";
}

function te(a, b) {
  a = a.style;

  for (var c in b) {
    if (b.hasOwnProperty(c)) {
      var d = 0 === c.indexOf("--"),
          e = se(c, b[c], d);
      "float" === c && (c = "cssFloat");
      d ? a.setProperty(c, e) : a[c] = e;
    }
  }
}

var ue = n({
  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 ve(a, b) {
  b && (ue[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? x("137", a, "") : void 0), null != b.dangerouslySetInnerHTML && (null != b.children ? x("60") : void 0, "object" === _typeof(b.dangerouslySetInnerHTML) && "__html" in b.dangerouslySetInnerHTML ? void 0 : x("61")), null != b.style && "object" !== _typeof(b.style) ? x("62", "") : void 0);
}

function we(a, b) {
  if (-1 === a.indexOf("-")) return "string" === typeof b.is;

  switch (a) {
    case "annotation-xml":
    case "color-profile":
    case "font-face":
    case "font-face-src":
    case "font-face-uri":
    case "font-face-format":
    case "font-face-name":
    case "missing-glyph":
      return !1;

    default:
      return !0;
  }
}

function xe(a, b) {
  a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;
  var c = Nd(a);
  b = ta[b];

  for (var d = 0; d < b.length; d++) {
    var e = b[d];

    if (!c.hasOwnProperty(e) || !c[e]) {
      switch (e) {
        case "scroll":
          Jd("scroll", a);
          break;

        case "focus":
        case "blur":
          Jd("focus", a);
          Jd("blur", a);
          c.blur = !0;
          c.focus = !0;
          break;

        case "cancel":
        case "close":
          Tb(e) && Jd(e, a);
          break;

        case "invalid":
        case "submit":
        case "reset":
          break;

        default:
          -1 === db.indexOf(e) && D(e, a);
      }

      c[e] = !0;
    }
  }
}

function ye() {}

var ze = null,
    Ae = null;

function Be(a, b) {
  switch (a) {
    case "button":
    case "input":
    case "select":
    case "textarea":
      return !!b.autoFocus;
  }

  return !1;
}

function Ce(a, b) {
  return "textarea" === a || "option" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === _typeof(b.dangerouslySetInnerHTML) && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
}

var De = "function" === typeof setTimeout ? setTimeout : void 0,
    Ee = "function" === typeof clearTimeout ? clearTimeout : void 0,
    Fe = r.unstable_scheduleCallback,
    Ge = r.unstable_cancelCallback;

function He(a, b, c, d, e) {
  a[Ia] = e;
  "input" === c && "radio" === e.type && null != e.name && Cc(a, e);
  we(c, d);
  d = we(c, e);

  for (var f = 0; f < b.length; f += 2) {
    var g = b[f],
        h = b[f + 1];
    "style" === g ? te(a, h) : "dangerouslySetInnerHTML" === g ? oe(a, h) : "children" === g ? pe(a, h) : yc(a, g, h, d);
  }

  switch (c) {
    case "input":
      Dc(a, e);
      break;

    case "textarea":
      ie(a, e);
      break;

    case "select":
      b = a._wrapperState.wasMultiple, a._wrapperState.wasMultiple = !!e.multiple, c = e.value, null != c ? fe(a, !!e.multiple, c, !1) : b !== !!e.multiple && (null != e.defaultValue ? fe(a, !!e.multiple, e.defaultValue, !0) : fe(a, !!e.multiple, e.multiple ? [] : "", !1));
  }
}

function Ie(a) {
  for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType;) {
    a = a.nextSibling;
  }

  return a;
}

function Je(a) {
  for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType;) {
    a = a.nextSibling;
  }

  return a;
}

new Set();
var Ke = [],
    Le = -1;

function E(a) {
  0 > Le || (a.current = Ke[Le], Ke[Le] = null, Le--);
}

function F(a, b) {
  Le++;
  Ke[Le] = a.current;
  a.current = b;
}

var Me = {},
    G = {
  current: Me
},
    H = {
  current: !1
},
    Ne = Me;

function Oe(a, b) {
  var c = a.type.contextTypes;
  if (!c) return Me;
  var d = a.stateNode;
  if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
  var e = {},
      f;

  for (f in c) {
    e[f] = b[f];
  }

  d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
  return e;
}

function I(a) {
  a = a.childContextTypes;
  return null !== a && void 0 !== a;
}

function Pe(a) {
  E(H, a);
  E(G, a);
}

function Qe(a) {
  E(H, a);
  E(G, a);
}

function Re(a, b, c) {
  G.current !== Me ? x("168") : void 0;
  F(G, b, a);
  F(H, c, a);
}

function Se(a, b, c) {
  var d = a.stateNode;
  a = b.childContextTypes;
  if ("function" !== typeof d.getChildContext) return c;
  d = d.getChildContext();

  for (var e in d) {
    e in a ? void 0 : x("108", nc(b) || "Unknown", e);
  }

  return n({}, c, d);
}

function Te(a) {
  var b = a.stateNode;
  b = b && b.__reactInternalMemoizedMergedChildContext || Me;
  Ne = G.current;
  F(G, b, a);
  F(H, H.current, a);
  return !0;
}

function Ue(a, b, c) {
  var d = a.stateNode;
  d ? void 0 : x("169");
  c ? (b = Se(a, b, Ne), d.__reactInternalMemoizedMergedChildContext = b, E(H, a), E(G, a), F(G, b, a)) : E(H, a);
  F(H, c, a);
}

var Ve = null,
    We = null;

function Xe(a) {
  return function (b) {
    try {
      return a(b);
    } catch (c) {}
  };
}

var Ye = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;

function Ze(a) {
  if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
  var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;
  if (b.isDisabled || !b.supportsFiber) return !0;

  try {
    var c = b.inject(a);
    Ve = Xe(function (a) {
      return b.onCommitFiberRoot(c, a);
    });
    We = Xe(function (a) {
      return b.onCommitFiberUnmount(c, a);
    });
  } catch (d) {}

  return !0;
}

function $e(a, b, c, d) {
  this.tag = a;
  this.key = c;
  this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
  this.index = 0;
  this.ref = null;
  this.pendingProps = b;
  this.contextDependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
  this.mode = d;
  this.effectTag = 0;
  this.lastEffect = this.firstEffect = this.nextEffect = null;
  this.childExpirationTime = this.expirationTime = 0;
  this.alternate = null;
  this.treeBaseDuration = this.selfBaseDuration = this.actualStartTime = this.actualDuration = Number.NaN;
  this.actualDuration = 0;
  this.actualStartTime = -1;
  this.treeBaseDuration = this.selfBaseDuration = 0;
}

function J(a, b, c, d) {
  return new $e(a, b, c, d);
}

function af(a) {
  a = a.prototype;
  return !(!a || !a.isReactComponent);
}

function bf(a) {
  if ("function" === typeof a) return af(a) ? 1 : 0;

  if (void 0 !== a && null !== a) {
    a = a.$$typeof;
    if (a === hc) return 11;
    if (a === jc) return 14;
  }

  return 2;
}

function cf(a, b) {
  var c = a.alternate;
  null === c ? (c = J(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null, c.actualDuration = 0, c.actualStartTime = -1);
  c.childExpirationTime = a.childExpirationTime;
  c.expirationTime = a.expirationTime;
  c.child = a.child;
  c.memoizedProps = a.memoizedProps;
  c.memoizedState = a.memoizedState;
  c.updateQueue = a.updateQueue;
  c.contextDependencies = a.contextDependencies;
  c.sibling = a.sibling;
  c.index = a.index;
  c.ref = a.ref;
  c.selfBaseDuration = a.selfBaseDuration;
  c.treeBaseDuration = a.treeBaseDuration;
  return c;
}

function df(a, b, c, d, e, f) {
  var g = 2;
  d = a;
  if ("function" === typeof a) af(a) && (g = 1);else if ("string" === typeof a) g = 5;else a: switch (a) {
    case bc:
      return ef(c.children, e, f, b);

    case gc:
      return ff(c, e | 3, f, b);

    case cc:
      return ff(c, e | 2, f, b);

    case dc:
      return a = J(12, c, b, e | 4), a.elementType = dc, a.type = dc, a.expirationTime = f, a;

    case ic:
      return a = J(13, c, b, e), a.elementType = ic, a.type = ic, a.expirationTime = f, a;

    default:
      if ("object" === _typeof(a) && null !== a) switch (a.$$typeof) {
        case ec:
          g = 10;
          break a;

        case fc:
          g = 9;
          break a;

        case hc:
          g = 11;
          break a;

        case jc:
          g = 14;
          break a;

        case kc:
          g = 16;
          d = null;
          break a;
      }
      x("130", null == a ? a : _typeof(a), "");
  }
  b = J(g, c, b, e);
  b.elementType = a;
  b.type = d;
  b.expirationTime = f;
  return b;
}

function ef(a, b, c, d) {
  a = J(7, a, d, b);
  a.expirationTime = c;
  return a;
}

function ff(a, b, c, d) {
  a = J(8, a, d, b);
  b = 0 === (b & 1) ? cc : gc;
  a.elementType = b;
  a.type = b;
  a.expirationTime = c;
  return a;
}

function gf(a, b, c) {
  a = J(6, a, null, b);
  a.expirationTime = c;
  return a;
}

function hf(a, b, c) {
  b = J(4, null !== a.children ? a.children : [], a.key, b);
  b.expirationTime = c;
  b.stateNode = {
    containerInfo: a.containerInfo,
    pendingChildren: null,
    implementation: a.implementation
  };
  return b;
}

function jf(a, b) {
  a.didError = !1;
  var c = a.earliestPendingTime;
  0 === c ? a.earliestPendingTime = a.latestPendingTime = b : c < b ? a.earliestPendingTime = b : a.latestPendingTime > b && (a.latestPendingTime = b);
  kf(b, a);
}

function lf(a, b) {
  a.didError = !1;
  if (0 === b) a.earliestPendingTime = 0, a.latestPendingTime = 0, a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0;else {
    b < a.latestPingedTime && (a.latestPingedTime = 0);
    var c = a.latestPendingTime;
    0 !== c && (c > b ? a.earliestPendingTime = a.latestPendingTime = 0 : a.earliestPendingTime > b && (a.earliestPendingTime = a.latestPendingTime));
    c = a.earliestSuspendedTime;
    0 === c ? jf(a, b) : b < a.latestSuspendedTime ? (a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0, jf(a, b)) : b > c && jf(a, b);
  }
  kf(0, a);
}

function mf(a, b) {
  var c = a.latestPendingTime,
      d = a.latestSuspendedTime;
  a = a.latestPingedTime;
  return 0 !== c && c < b || 0 !== d && d < b || 0 !== a && a < b;
}

function nf(a, b) {
  a.didError = !1;
  a.latestPingedTime >= b && (a.latestPingedTime = 0);
  var c = a.earliestPendingTime,
      d = a.latestPendingTime;
  c === b ? a.earliestPendingTime = d === b ? a.latestPendingTime = 0 : d : d === b && (a.latestPendingTime = c);
  c = a.earliestSuspendedTime;
  d = a.latestSuspendedTime;
  0 === c ? a.earliestSuspendedTime = a.latestSuspendedTime = b : c < b ? a.earliestSuspendedTime = b : d > b && (a.latestSuspendedTime = b);
  kf(b, a);
}

function of(a, b) {
  var c = a.earliestPendingTime;
  a = a.earliestSuspendedTime;
  c > b && (b = c);
  a > b && (b = a);
  return b;
}

function kf(a, b) {
  var c = b.earliestSuspendedTime,
      d = b.latestSuspendedTime,
      e = b.earliestPendingTime,
      f = b.latestPingedTime;
  e = 0 !== e ? e : f;
  0 === e && (0 === a || d < a) && (e = d);
  a = e;
  0 !== a && c > a && (a = c);
  b.nextExpirationTimeToWorkOn = e;
  b.expirationTime = a;
}

function K(a, b) {
  if (a && a.defaultProps) {
    b = n({}, b);
    a = a.defaultProps;

    for (var c in a) {
      void 0 === b[c] && (b[c] = a[c]);
    }
  }

  return b;
}

function pf(a) {
  var b = a._result;

  switch (a._status) {
    case 1:
      return b;

    case 2:
      throw b;

    case 0:
      throw b;

    default:
      a._status = 0;
      b = a._ctor;
      b = b();
      b.then(function (b) {
        0 === a._status && (b = b.default, a._status = 1, a._result = b);
      }, function (b) {
        0 === a._status && (a._status = 2, a._result = b);
      });

      switch (a._status) {
        case 1:
          return a._result;

        case 2:
          throw a._result;
      }

      a._result = b;
      throw b;
  }
}

var qf = new aa.Component().refs;

function rf(a, b, c, d) {
  b = a.memoizedState;
  c = c(d, b);
  c = null === c || void 0 === c ? b : n({}, b, c);
  a.memoizedState = c;
  d = a.updateQueue;
  null !== d && 0 === a.expirationTime && (d.baseState = c);
}

var Af = {
  isMounted: function isMounted(a) {
    return (a = a._reactInternalFiber) ? 2 === jd(a) : !1;
  },
  enqueueSetState: function enqueueSetState(a, b, c) {
    a = a._reactInternalFiber;
    var d = sf();
    d = tf(d, a);
    var e = uf(d);
    e.payload = b;
    void 0 !== c && null !== c && (e.callback = c);
    vf();
    wf(a, e);
    xf(a, d);
  },
  enqueueReplaceState: function enqueueReplaceState(a, b, c) {
    a = a._reactInternalFiber;
    var d = sf();
    d = tf(d, a);
    var e = uf(d);
    e.tag = yf;
    e.payload = b;
    void 0 !== c && null !== c && (e.callback = c);
    vf();
    wf(a, e);
    xf(a, d);
  },
  enqueueForceUpdate: function enqueueForceUpdate(a, b) {
    a = a._reactInternalFiber;
    var c = sf();
    c = tf(c, a);
    var d = uf(c);
    d.tag = zf;
    void 0 !== b && null !== b && (d.callback = b);
    vf();
    wf(a, d);
    xf(a, c);
  }
};

function Bf(a, b, c, d, e, f, g) {
  a = a.stateNode;
  return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !id(c, d) || !id(e, f) : !0;
}

function Cf(a, b, c) {
  var d = !1,
      e = Me;
  var f = b.contextType;
  "object" === _typeof(f) && null !== f ? f = L(f) : (e = I(b) ? Ne : G.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Oe(a, e) : Me);
  b = new b(c, f);
  a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
  b.updater = Af;
  a.stateNode = b;
  b._reactInternalFiber = a;
  d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
  return b;
}

function Df(a, b, c, d) {
  a = b.state;
  "function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
  "function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
  b.state !== a && Af.enqueueReplaceState(b, b.state, null);
}

function Ef(a, b, c, d) {
  var e = a.stateNode;
  e.props = c;
  e.state = a.memoizedState;
  e.refs = qf;
  var f = b.contextType;
  "object" === _typeof(f) && null !== f ? e.context = L(f) : (f = I(b) ? Ne : G.current, e.context = Oe(a, f));
  f = a.updateQueue;
  null !== f && (Ff(a, f, c, e, d), e.state = a.memoizedState);
  f = b.getDerivedStateFromProps;
  "function" === typeof f && (rf(a, b, f, c), e.state = a.memoizedState);
  "function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && Af.enqueueReplaceState(e, e.state, null), f = a.updateQueue, null !== f && (Ff(a, f, c, e, d), e.state = a.memoizedState));
  "function" === typeof e.componentDidMount && (a.effectTag |= 4);
}

var Gf = Array.isArray;

function Hf(a, b, c) {
  a = c.ref;

  if (null !== a && "function" !== typeof a && "object" !== _typeof(a)) {
    if (c._owner) {
      c = c._owner;
      var d = void 0;
      c && (1 !== c.tag ? x("309") : void 0, d = c.stateNode);
      d ? void 0 : x("147", a);
      var e = "" + a;
      if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === e) return b.ref;

      b = function b(a) {
        var b = d.refs;
        b === qf && (b = d.refs = {});
        null === a ? delete b[e] : b[e] = a;
      };

      b._stringRef = e;
      return b;
    }

    "string" !== typeof a ? x("284") : void 0;
    c._owner ? void 0 : x("290", a);
  }

  return a;
}

function If(a, b) {
  "textarea" !== a.type && x("31", "[object Object]" === Object.prototype.toString.call(b) ? "object with keys {" + Object.keys(b).join(", ") + "}" : b, "");
}

function Jf(a) {
  function b(b, c) {
    if (a) {
      var d = b.lastEffect;
      null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;
      c.nextEffect = null;
      c.effectTag = 8;
    }
  }

  function c(c, d) {
    if (!a) return null;

    for (; null !== d;) {
      b(c, d), d = d.sibling;
    }

    return null;
  }

  function d(a, b) {
    for (a = new Map(); null !== b;) {
      null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
    }

    return a;
  }

  function e(a, b, c) {
    a = cf(a, b, c);
    a.index = 0;
    a.sibling = null;
    return a;
  }

  function f(b, c, d) {
    b.index = d;
    if (!a) return c;
    d = b.alternate;
    if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;
    b.effectTag = 2;
    return c;
  }

  function g(b) {
    a && null === b.alternate && (b.effectTag = 2);
    return b;
  }

  function h(a, b, c, d) {
    if (null === b || 6 !== b.tag) return b = gf(c, a.mode, d), b.return = a, b;
    b = e(b, c, d);
    b.return = a;
    return b;
  }

  function k(a, b, c, d) {
    if (null !== b && b.elementType === c.type) return d = e(b, c.props, d), d.ref = Hf(a, b, c), d.return = a, d;
    d = df(c.type, c.key, c.props, null, a.mode, d);
    d.ref = Hf(a, b, c);
    d.return = a;
    return d;
  }

  function l(a, b, c, d) {
    if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = hf(c, a.mode, d), b.return = a, b;
    b = e(b, c.children || [], d);
    b.return = a;
    return b;
  }

  function m(a, b, c, d, f) {
    if (null === b || 7 !== b.tag) return b = ef(c, a.mode, d, f), b.return = a, b;
    b = e(b, c, d);
    b.return = a;
    return b;
  }

  function p(a, b, c) {
    if ("string" === typeof b || "number" === typeof b) return b = gf("" + b, a.mode, c), b.return = a, b;

    if ("object" === _typeof(b) && null !== b) {
      switch (b.$$typeof) {
        case $b:
          return c = df(b.type, b.key, b.props, null, a.mode, c), c.ref = Hf(a, null, b), c.return = a, c;

        case ac:
          return b = hf(b, a.mode, c), b.return = a, b;
      }

      if (Gf(b) || mc(b)) return b = ef(b, a.mode, c, null), b.return = a, b;
      If(a, b);
    }

    return null;
  }

  function w(a, b, c, d) {
    var e = null !== b ? b.key : null;
    if ("string" === typeof c || "number" === typeof c) return null !== e ? null : h(a, b, "" + c, d);

    if ("object" === _typeof(c) && null !== c) {
      switch (c.$$typeof) {
        case $b:
          return c.key === e ? c.type === bc ? m(a, b, c.props.children, d, e) : k(a, b, c, d) : null;

        case ac:
          return c.key === e ? l(a, b, c, d) : null;
      }

      if (Gf(c) || mc(c)) return null !== e ? null : m(a, b, c, d, null);
      If(a, c);
    }

    return null;
  }

  function U(a, b, c, d, e) {
    if ("string" === typeof d || "number" === typeof d) return a = a.get(c) || null, h(b, a, "" + d, e);

    if ("object" === _typeof(d) && null !== d) {
      switch (d.$$typeof) {
        case $b:
          return a = a.get(null === d.key ? c : d.key) || null, d.type === bc ? m(b, a, d.props.children, e, d.key) : k(b, a, d, e);

        case ac:
          return a = a.get(null === d.key ? c : d.key) || null, l(b, a, d, e);
      }

      if (Gf(d) || mc(d)) return a = a.get(c) || null, m(b, a, d, e, null);
      If(b, d);
    }

    return null;
  }

  function Nb(e, g, h, k) {
    for (var l = null, m = null, q = g, u = g = 0, z = null; null !== q && u < h.length; u++) {
      q.index > u ? (z = q, q = null) : z = q.sibling;
      var t = w(e, q, h[u], k);

      if (null === t) {
        null === q && (q = z);
        break;
      }

      a && q && null === t.alternate && b(e, q);
      g = f(t, g, u);
      null === m ? l = t : m.sibling = t;
      m = t;
      q = z;
    }

    if (u === h.length) return c(e, q), l;

    if (null === q) {
      for (; u < h.length; u++) {
        if (q = p(e, h[u], k)) g = f(q, g, u), null === m ? l = q : m.sibling = q, m = q;
      }

      return l;
    }

    for (q = d(e, q); u < h.length; u++) {
      if (z = U(q, e, u, h[u], k)) a && null !== z.alternate && q.delete(null === z.key ? u : z.key), g = f(z, g, u), null === m ? l = z : m.sibling = z, m = z;
    }

    a && q.forEach(function (a) {
      return b(e, a);
    });
    return l;
  }

  function La(e, g, h, k) {
    var l = mc(h);
    "function" !== typeof l ? x("150") : void 0;
    h = l.call(h);
    null == h ? x("151") : void 0;

    for (var m = l = null, q = g, u = g = 0, z = null, t = h.next(); null !== q && !t.done; u++, t = h.next()) {
      q.index > u ? (z = q, q = null) : z = q.sibling;
      var gb = w(e, q, t.value, k);

      if (null === gb) {
        q || (q = z);
        break;
      }

      a && q && null === gb.alternate && b(e, q);
      g = f(gb, g, u);
      null === m ? l = gb : m.sibling = gb;
      m = gb;
      q = z;
    }

    if (t.done) return c(e, q), l;

    if (null === q) {
      for (; !t.done; u++, t = h.next()) {
        t = p(e, t.value, k), null !== t && (g = f(t, g, u), null === m ? l = t : m.sibling = t, m = t);
      }

      return l;
    }

    for (q = d(e, q); !t.done; u++, t = h.next()) {
      t = U(q, e, u, t.value, k), null !== t && (a && null !== t.alternate && q.delete(null === t.key ? u : t.key), g = f(t, g, u), null === m ? l = t : m.sibling = t, m = t);
    }

    a && q.forEach(function (a) {
      return b(e, a);
    });
    return l;
  }

  return function (a, d, f, h) {
    var k = "object" === _typeof(f) && null !== f && f.type === bc && null === f.key;
    k && (f = f.props.children);
    var l = "object" === _typeof(f) && null !== f;
    if (l) switch (f.$$typeof) {
      case $b:
        a: {
          l = f.key;

          for (k = d; null !== k;) {
            if (k.key === l) {
              if (7 === k.tag ? f.type === bc : k.elementType === f.type) {
                c(a, k.sibling);
                d = e(k, f.type === bc ? f.props.children : f.props, h);
                d.ref = Hf(a, k, f);
                d.return = a;
                a = d;
                break a;
              } else {
                c(a, k);
                break;
              }
            } else b(a, k);
            k = k.sibling;
          }

          f.type === bc ? (d = ef(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = df(f.type, f.key, f.props, null, a.mode, h), h.ref = Hf(a, d, f), h.return = a, a = h);
        }

        return g(a);

      case ac:
        a: {
          for (k = f.key; null !== d;) {
            if (d.key === k) {
              if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {
                c(a, d.sibling);
                d = e(d, f.children || [], h);
                d.return = a;
                a = d;
                break a;
              } else {
                c(a, d);
                break;
              }
            } else b(a, d);
            d = d.sibling;
          }

          d = hf(f, a.mode, h);
          d.return = a;
          a = d;
        }

        return g(a);
    }
    if ("string" === typeof f || "number" === typeof f) return f = "" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f, h), d.return = a, a = d) : (c(a, d), d = gf(f, a.mode, h), d.return = a, a = d), g(a);
    if (Gf(f)) return Nb(a, d, f, h);
    if (mc(f)) return La(a, d, f, h);
    l && If(a, f);
    if ("undefined" === typeof f && !k) switch (a.tag) {
      case 1:
      case 0:
        h = a.type, x("152", h.displayName || h.name || "Component");
    }
    return c(a, d);
  };
}

var Kf = Jf(!0),
    Lf = Jf(!1),
    Mf = {},
    M = {
  current: Mf
},
    Nf = {
  current: Mf
},
    Of = {
  current: Mf
};

function Pf(a) {
  a === Mf ? x("174") : void 0;
  return a;
}

function Qf(a, b) {
  F(Of, b, a);
  F(Nf, a, a);
  F(M, Mf, a);
  var c = b.nodeType;

  switch (c) {
    case 9:
    case 11:
      b = (b = b.documentElement) ? b.namespaceURI : me(null, "");
      break;

    default:
      c = 8 === c ? b.parentNode : b, b = c.namespaceURI || null, c = c.tagName, b = me(b, c);
  }

  E(M, a);
  F(M, b, a);
}

function Rf(a) {
  E(M, a);
  E(Nf, a);
  E(Of, a);
}

function Sf(a) {
  Pf(Of.current);
  var b = Pf(M.current);
  var c = me(b, a.type);
  b !== c && (F(Nf, a, a), F(M, c, a));
}

function Tf(a) {
  Nf.current === a && (E(M, a), E(Nf, a));
}

var Uf = 0,
    Vf = 2,
    Wf = 4,
    Xf = 8,
    Yf = 16,
    Zf = 32,
    $f = 64,
    ag = 128,
    bg = Yb.ReactCurrentDispatcher,
    cg = 0,
    dg = null,
    N = null,
    O = null,
    eg = null,
    P = null,
    fg = null,
    gg = 0,
    hg = null,
    ig = 0,
    jg = !1,
    kg = null,
    lg = 0;

function mg() {
  x("307");
}

function ng(a, b) {
  if (null === b) return !1;

  for (var c = 0; c < b.length && c < a.length; c++) {
    if (!gd(a[c], b[c])) return !1;
  }

  return !0;
}

function og(a, b, c, d, e, f) {
  cg = f;
  dg = b;
  O = null !== a ? a.memoizedState : null;
  bg.current = null === O ? pg : qg;
  b = c(d, e);

  if (jg) {
    do {
      jg = !1, lg += 1, O = null !== a ? a.memoizedState : null, fg = eg, hg = P = N = null, bg.current = qg, b = c(d, e);
    } while (jg);

    kg = null;
    lg = 0;
  }

  bg.current = rg;
  a = dg;
  a.memoizedState = eg;
  a.expirationTime = gg;
  a.updateQueue = hg;
  a.effectTag |= ig;
  a = null !== N && null !== N.next;
  cg = 0;
  fg = P = eg = O = N = dg = null;
  gg = 0;
  hg = null;
  ig = 0;
  a ? x("300") : void 0;
  return b;
}

function sg() {
  bg.current = rg;
  cg = 0;
  fg = P = eg = O = N = dg = null;
  gg = 0;
  hg = null;
  ig = 0;
  jg = !1;
  kg = null;
  lg = 0;
}

function tg() {
  var a = {
    memoizedState: null,
    baseState: null,
    queue: null,
    baseUpdate: null,
    next: null
  };
  null === P ? eg = P = a : P = P.next = a;
  return P;
}

function ug() {
  if (null !== fg) P = fg, fg = P.next, N = O, O = null !== N ? N.next : null;else {
    null === O ? x("310") : void 0;
    N = O;
    var a = {
      memoizedState: N.memoizedState,
      baseState: N.baseState,
      queue: N.queue,
      baseUpdate: N.baseUpdate,
      next: null
    };
    P = null === P ? eg = a : P.next = a;
    O = N.next;
  }
  return P;
}

function vg(a, b) {
  return "function" === typeof b ? b(a) : b;
}

function wg(a) {
  var b = ug(),
      c = b.queue;
  null === c ? x("311") : void 0;

  if (0 < lg) {
    var d = c.dispatch;

    if (null !== kg) {
      var e = kg.get(c);

      if (void 0 !== e) {
        kg.delete(c);
        var f = b.memoizedState;

        do {
          f = a(f, e.action), e = e.next;
        } while (null !== e);

        gd(f, b.memoizedState) || (xg = !0);
        b.memoizedState = f;
        b.baseUpdate === c.last && (b.baseState = f);
        c.eagerReducer = a;
        c.eagerState = f;
        return [f, d];
      }
    }

    return [b.memoizedState, d];
  }

  d = c.last;
  var g = b.baseUpdate;
  f = b.baseState;
  null !== g ? (null !== d && (d.next = null), d = g.next) : d = null !== d ? d.next : null;

  if (null !== d) {
    var h = e = null,
        k = d,
        l = !1;

    do {
      var m = k.expirationTime;
      m < cg ? (l || (l = !0, h = g, e = f), m > gg && (gg = m)) : f = k.eagerReducer === a ? k.eagerState : a(f, k.action);
      g = k;
      k = k.next;
    } while (null !== k && k !== d);

    l || (h = g, e = f);
    gd(f, b.memoizedState) || (xg = !0);
    b.memoizedState = f;
    b.baseUpdate = h;
    b.baseState = e;
    c.eagerReducer = a;
    c.eagerState = f;
  }

  return [b.memoizedState, c.dispatch];
}

function yg(a, b, c, d) {
  a = {
    tag: a,
    create: b,
    destroy: c,
    deps: d,
    next: null
  };
  null === hg ? (hg = {
    lastEffect: null
  }, hg.lastEffect = a.next = a) : (b = hg.lastEffect, null === b ? hg.lastEffect = a.next = a : (c = b.next, b.next = a, a.next = c, hg.lastEffect = a));
  return a;
}

function zg(a, b, c, d) {
  var e = tg();
  ig |= a;
  e.memoizedState = yg(b, c, void 0, void 0 === d ? null : d);
}

function Ag(a, b, c, d) {
  var e = ug();
  d = void 0 === d ? null : d;
  var f = void 0;

  if (null !== N) {
    var g = N.memoizedState;
    f = g.destroy;

    if (null !== d && ng(d, g.deps)) {
      yg(Uf, c, f, d);
      return;
    }
  }

  ig |= a;
  e.memoizedState = yg(b, c, f, d);
}

function Bg(a, b) {
  if ("function" === typeof b) return a = a(), b(a), function () {
    b(null);
  };
  if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {
    b.current = null;
  };
}

function Cg() {}

function Dg(a, b, c) {
  25 > lg ? void 0 : x("301");
  var d = a.alternate;
  if (a === dg || null !== d && d === dg) {
    if (jg = !0, a = {
      expirationTime: cg,
      action: c,
      eagerReducer: null,
      eagerState: null,
      next: null
    }, null === kg && (kg = new Map()), c = kg.get(b), void 0 === c) kg.set(b, a);else {
      for (b = c; null !== b.next;) {
        b = b.next;
      }

      b.next = a;
    }
  } else {
    vf();
    var e = sf();
    e = tf(e, a);
    var f = {
      expirationTime: e,
      action: c,
      eagerReducer: null,
      eagerState: null,
      next: null
    },
        g = b.last;
    if (null === g) f.next = f;else {
      var h = g.next;
      null !== h && (f.next = h);
      g.next = f;
    }
    b.last = f;
    if (0 === a.expirationTime && (null === d || 0 === d.expirationTime) && (d = b.eagerReducer, null !== d)) try {
      var k = b.eagerState,
          l = d(k, c);
      f.eagerReducer = d;
      f.eagerState = l;
      if (gd(l, k)) return;
    } catch (m) {} finally {}
    xf(a, e);
  }
}

var rg = {
  readContext: L,
  useCallback: mg,
  useContext: mg,
  useEffect: mg,
  useImperativeHandle: mg,
  useLayoutEffect: mg,
  useMemo: mg,
  useReducer: mg,
  useRef: mg,
  useState: mg,
  useDebugValue: mg
},
    pg = {
  readContext: L,
  useCallback: function useCallback(a, b) {
    tg().memoizedState = [a, void 0 === b ? null : b];
    return a;
  },
  useContext: L,
  useEffect: function useEffect(a, b) {
    return zg(516, ag | $f, a, b);
  },
  useImperativeHandle: function useImperativeHandle(a, b, c) {
    c = null !== c && void 0 !== c ? c.concat([a]) : null;
    return zg(4, Wf | Zf, Bg.bind(null, b, a), c);
  },
  useLayoutEffect: function useLayoutEffect(a, b) {
    return zg(4, Wf | Zf, a, b);
  },
  useMemo: function useMemo(a, b) {
    var c = tg();
    b = void 0 === b ? null : b;
    a = a();
    c.memoizedState = [a, b];
    return a;
  },
  useReducer: function useReducer(a, b, c) {
    var d = tg();
    b = void 0 !== c ? c(b) : b;
    d.memoizedState = d.baseState = b;
    a = d.queue = {
      last: null,
      dispatch: null,
      eagerReducer: a,
      eagerState: b
    };
    a = a.dispatch = Dg.bind(null, dg, a);
    return [d.memoizedState, a];
  },
  useRef: function useRef(a) {
    var b = tg();
    a = {
      current: a
    };
    return b.memoizedState = a;
  },
  useState: function useState(a) {
    var b = tg();
    "function" === typeof a && (a = a());
    b.memoizedState = b.baseState = a;
    a = b.queue = {
      last: null,
      dispatch: null,
      eagerReducer: vg,
      eagerState: a
    };
    a = a.dispatch = Dg.bind(null, dg, a);
    return [b.memoizedState, a];
  },
  useDebugValue: Cg
},
    qg = {
  readContext: L,
  useCallback: function useCallback(a, b) {
    var c = ug();
    b = void 0 === b ? null : b;
    var d = c.memoizedState;
    if (null !== d && null !== b && ng(b, d[1])) return d[0];
    c.memoizedState = [a, b];
    return a;
  },
  useContext: L,
  useEffect: function useEffect(a, b) {
    return Ag(516, ag | $f, a, b);
  },
  useImperativeHandle: function useImperativeHandle(a, b, c) {
    c = null !== c && void 0 !== c ? c.concat([a]) : null;
    return Ag(4, Wf | Zf, Bg.bind(null, b, a), c);
  },
  useLayoutEffect: function useLayoutEffect(a, b) {
    return Ag(4, Wf | Zf, a, b);
  },
  useMemo: function useMemo(a, b) {
    var c = ug();
    b = void 0 === b ? null : b;
    var d = c.memoizedState;
    if (null !== d && null !== b && ng(b, d[1])) return d[0];
    a = a();
    c.memoizedState = [a, b];
    return a;
  },
  useReducer: wg,
  useRef: function useRef() {
    return ug().memoizedState;
  },
  useState: function useState(a) {
    return wg(vg, a);
  },
  useDebugValue: Cg
},
    Eg = 0,
    Fg = -1;

function Gg(a) {
  Fg = r.unstable_now();
  0 > a.actualStartTime && (a.actualStartTime = r.unstable_now());
}

function Hg(a, b) {
  if (0 <= Fg) {
    var c = r.unstable_now() - Fg;
    a.actualDuration += c;
    b && (a.selfBaseDuration = c);
    Fg = -1;
  }
}

var Ig = null,
    Jg = null,
    Kg = !1;

function Lg(a, b) {
  var c = J(5, null, null, 0);
  c.elementType = "DELETED";
  c.type = "DELETED";
  c.stateNode = b;
  c.return = a;
  c.effectTag = 8;
  null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;
}

function Mg(a, b) {
  switch (a.tag) {
    case 5:
      var c = a.type;
      b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
      return null !== b ? (a.stateNode = b, !0) : !1;

    case 6:
      return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, !0) : !1;

    case 13:
      return !1;

    default:
      return !1;
  }
}

function Ng(a) {
  if (Kg) {
    var b = Jg;

    if (b) {
      var c = b;

      if (!Mg(a, b)) {
        b = Ie(c);

        if (!b || !Mg(a, b)) {
          a.effectTag |= 2;
          Kg = !1;
          Ig = a;
          return;
        }

        Lg(Ig, c);
      }

      Ig = a;
      Jg = Je(b);
    } else a.effectTag |= 2, Kg = !1, Ig = a;
  }
}

function Og(a) {
  for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 18 !== a.tag;) {
    a = a.return;
  }

  Ig = a;
}

function Pg(a) {
  if (a !== Ig) return !1;
  if (!Kg) return Og(a), Kg = !0, !1;
  var b = a.type;
  if (5 !== a.tag || "head" !== b && "body" !== b && !Ce(b, a.memoizedProps)) for (b = Jg; b;) {
    Lg(a, b), b = Ie(b);
  }
  Og(a);
  Jg = Ig ? Ie(a.stateNode) : null;
  return !0;
}

function Qg() {
  Jg = Ig = null;
  Kg = !1;
}

var Rg = Yb.ReactCurrentOwner,
    xg = !1;

function Q(a, b, c, d) {
  b.child = null === a ? Lf(b, null, c, d) : Kf(b, a.child, c, d);
}

function Sg(a, b, c, d, e) {
  c = c.render;
  var f = b.ref;
  Tg(b, e);
  d = og(a, b, c, d, f, e);
  if (null !== a && !xg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Ug(a, b, e);
  b.effectTag |= 1;
  Q(a, b, d, e);
  return b.child;
}

function Vg(a, b, c, d, e, f) {
  if (null === a) {
    var g = c.type;
    if ("function" === typeof g && !af(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, Wg(a, b, g, d, e, f);
    a = df(c.type, null, d, null, b.mode, f);
    a.ref = b.ref;
    a.return = b;
    return b.child = a;
  }

  g = a.child;
  if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : id, c(e, d) && a.ref === b.ref)) return Ug(a, b, f);
  b.effectTag |= 1;
  a = cf(g, d, f);
  a.ref = b.ref;
  a.return = b;
  return b.child = a;
}

function Wg(a, b, c, d, e, f) {
  return null !== a && id(a.memoizedProps, d) && a.ref === b.ref && (xg = !1, e < f) ? Ug(a, b, f) : Xg(a, b, c, d, f);
}

function Yg(a, b) {
  var c = b.ref;
  if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;
}

function Xg(a, b, c, d, e) {
  var f = I(c) ? Ne : G.current;
  f = Oe(b, f);
  Tg(b, e);
  c = og(a, b, c, d, f, e);
  if (null !== a && !xg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Ug(a, b, e);
  b.effectTag |= 1;
  Q(a, b, c, e);
  return b.child;
}

function Zg(a, b, c, d, e) {
  if (I(c)) {
    var f = !0;
    Te(b);
  } else f = !1;

  Tg(b, e);
  if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), Cf(b, c, d, e), Ef(b, c, d, e), d = !0;else if (null === a) {
    var g = b.stateNode,
        h = b.memoizedProps;
    g.props = h;
    var k = g.context,
        l = c.contextType;
    "object" === _typeof(l) && null !== l ? l = L(l) : (l = I(c) ? Ne : G.current, l = Oe(b, l));
    var m = c.getDerivedStateFromProps,
        p = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate;
    p || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Df(b, g, d, l);
    $g = !1;
    var w = b.memoizedState;
    k = g.state = w;
    var U = b.updateQueue;
    null !== U && (Ff(b, U, d, g, e), k = b.memoizedState);
    h !== d || w !== k || H.current || $g ? ("function" === typeof m && (rf(b, c, m, d), k = b.memoizedState), (h = $g || Bf(b, c, h, d, w, k, l)) ? (p || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.effectTag |= 4)) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.effectTag |= 4), d = !1);
  } else g = b.stateNode, h = b.memoizedProps, g.props = b.type === b.elementType ? h : K(b.type, h), k = g.context, l = c.contextType, "object" === _typeof(l) && null !== l ? l = L(l) : (l = I(c) ? Ne : G.current, l = Oe(b, l)), m = c.getDerivedStateFromProps, (p = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && Df(b, g, d, l), $g = !1, k = b.memoizedState, w = g.state = k, U = b.updateQueue, null !== U && (Ff(b, U, d, g, e), w = b.memoizedState), h !== d || k !== w || H.current || $g ? ("function" === typeof m && (rf(b, c, m, d), w = b.memoizedState), (m = $g || Bf(b, c, h, d, k, w, l)) ? (p || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, w, l), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, w, l)), "function" === typeof g.componentDidUpdate && (b.effectTag |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = w), g.props = d, g.state = w, g.context = l, d = m) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && k === a.memoizedState || (b.effectTag |= 256), d = !1);
  return ah(a, b, c, d, f, e);
}

function ah(a, b, c, d, e, f) {
  Yg(a, b);
  var g = 0 !== (b.effectTag & 64);
  if (!d && !g) return e && Ue(b, c, !1), Ug(a, b, f);
  d = b.stateNode;
  Rg.current = b;

  if (g && "function" !== typeof c.getDerivedStateFromError) {
    var h = null;
    Fg = -1;
  } else h = d.render();

  b.effectTag |= 1;
  null !== a && g ? (g = h, b.child = Kf(b, a.child, null, f), b.child = Kf(b, null, g, f)) : Q(a, b, h, f);
  b.memoizedState = d.state;
  e && Ue(b, c, !0);
  return b.child;
}

function bh(a) {
  var b = a.stateNode;
  b.pendingContext ? Re(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Re(a, b.context, !1);
  Qf(a, b.containerInfo);
}

function ch(a, b, c) {
  var d = b.mode,
      e = b.pendingProps,
      f = b.memoizedState;

  if (0 === (b.effectTag & 64)) {
    f = null;
    var g = !1;
  } else f = {
    timedOutAt: null !== f ? f.timedOutAt : 0
  }, g = !0, b.effectTag &= -65;

  if (null === a) {
    if (g) {
      var h = e.fallback;
      a = ef(null, d, 0, null);
      0 === (b.mode & 1) && (a.child = null !== b.memoizedState ? b.child.child : b.child);
      c = ef(h, d, c, null);
      a.sibling = c;
      d = a;
      d.return = c.return = b;
    } else d = c = Lf(b, null, e.children, c);
  } else {
    if (null !== a.memoizedState) {
      if (h = a.child, d = h.sibling, g) {
        e = e.fallback;
        c = cf(h, h.pendingProps, 0);
        0 === (b.mode & 1) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== h.child && (c.child = g));

        if (b.mode & 4) {
          h = 0;

          for (g = c.child; null !== g;) {
            h += g.treeBaseDuration, g = g.sibling;
          }

          c.treeBaseDuration = h;
        }

        h = c.sibling = cf(d, e, d.expirationTime);
        d = c;
        c.childExpirationTime = 0;
        c = h;
        d.return = c.return = b;
      } else d = c = Kf(b, h.child, e.children, c);
    } else {
      var k = a.child;

      if (g) {
        e = e.fallback;
        h = ef(null, d, 0, null);
        h.child = k;
        0 === (b.mode & 1) && (h.child = null !== b.memoizedState ? b.child.child : b.child);

        if (b.mode & 4) {
          g = 0;

          for (k = h.child; null !== k;) {
            g += k.treeBaseDuration, k = k.sibling;
          }

          h.treeBaseDuration = g;
        }

        c = h.sibling = ef(e, d, c, null);
        c.effectTag |= 2;
        d = h;
        h.childExpirationTime = 0;
        d.return = c.return = b;
      } else c = d = Kf(b, k, e.children, c);
    }
    b.stateNode = a.stateNode;
  }
  b.memoizedState = f;
  b.child = d;
  return c;
}

function Ug(a, b, c) {
  null !== a && (b.contextDependencies = a.contextDependencies);
  Fg = -1;
  if (b.childExpirationTime < c) return null;
  null !== a && b.child !== a.child ? x("153") : void 0;

  if (null !== b.child) {
    a = b.child;
    c = cf(a, a.pendingProps, a.expirationTime);
    b.child = c;

    for (c.return = b; null !== a.sibling;) {
      a = a.sibling, c = c.sibling = cf(a, a.pendingProps, a.expirationTime), c.return = b;
    }

    c.sibling = null;
  }

  return b.child;
}

function dh(a, b, c) {
  var d = b.expirationTime;
  if (null !== a) {
    if (a.memoizedProps !== b.pendingProps || H.current) xg = !0;else {
      if (d < c) {
        xg = !1;

        switch (b.tag) {
          case 3:
            bh(b);
            Qg();
            break;

          case 5:
            Sf(b);
            break;

          case 1:
            I(b.type) && Te(b);
            break;

          case 4:
            Qf(b, b.stateNode.containerInfo);
            break;

          case 10:
            eh(b, b.memoizedProps.value);
            break;

          case 12:
            b.effectTag |= 4;
            break;

          case 13:
            if (null !== b.memoizedState) {
              d = b.child.childExpirationTime;
              if (0 !== d && d >= c) return ch(a, b, c);
              b = Ug(a, b, c);
              return null !== b ? b.sibling : null;
            }

        }

        return Ug(a, b, c);
      }
    }
  } else xg = !1;
  b.expirationTime = 0;

  switch (b.tag) {
    case 2:
      d = b.elementType;
      null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
      a = b.pendingProps;
      var e = Oe(b, G.current);
      Tg(b, c);
      e = og(null, b, d, a, e, c);
      b.effectTag |= 1;

      if ("object" === _typeof(e) && null !== e && "function" === typeof e.render && void 0 === e.$$typeof) {
        b.tag = 1;
        sg();

        if (I(d)) {
          var f = !0;
          Te(b);
        } else f = !1;

        b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;
        var g = d.getDerivedStateFromProps;
        "function" === typeof g && rf(b, d, g, a);
        e.updater = Af;
        b.stateNode = e;
        e._reactInternalFiber = b;
        Ef(b, d, a, c);
        b = ah(null, b, d, !0, f, c);
      } else b.tag = 0, Q(null, b, e, c), b = b.child;

      return b;

    case 16:
      e = b.elementType;
      null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);
      f = b.pendingProps;
      a = pf(e);
      b.type = a;
      e = b.tag = bf(a);
      f = K(a, f);
      g = void 0;

      switch (e) {
        case 0:
          g = Xg(null, b, a, f, c);
          break;

        case 1:
          g = Zg(null, b, a, f, c);
          break;

        case 11:
          g = Sg(null, b, a, f, c);
          break;

        case 14:
          g = Vg(null, b, a, K(a.type, f), d, c);
          break;

        default:
          x("306", a, "");
      }

      return g;

    case 0:
      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : K(d, e), Xg(a, b, d, e, c);

    case 1:
      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : K(d, e), Zg(a, b, d, e, c);

    case 3:
      bh(b);
      d = b.updateQueue;
      null === d ? x("282") : void 0;
      e = b.memoizedState;
      e = null !== e ? e.element : null;
      Ff(b, d, b.pendingProps, null, c);
      d = b.memoizedState.element;
      if (d === e) Qg(), b = Ug(a, b, c);else {
        e = b.stateNode;
        if (e = (null === a || null === a.child) && e.hydrate) Jg = Je(b.stateNode.containerInfo), Ig = b, e = Kg = !0;
        e ? (b.effectTag |= 2, b.child = Lf(b, null, d, c)) : (Q(a, b, d, c), Qg());
        b = b.child;
      }
      return b;

    case 5:
      return Sf(b), null === a && Ng(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Ce(d, e) ? g = null : null !== f && Ce(d, f) && (b.effectTag |= 16), Yg(a, b), 1 !== c && b.mode & 1 && e.hidden ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (Q(a, b, g, c), b = b.child), b;

    case 6:
      return null === a && Ng(b), null;

    case 13:
      return ch(a, b, c);

    case 4:
      return Qf(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Kf(b, null, d, c) : Q(a, b, d, c), b.child;

    case 11:
      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : K(d, e), Sg(a, b, d, e, c);

    case 7:
      return Q(a, b, b.pendingProps, c), b.child;

    case 8:
      return Q(a, b, b.pendingProps.children, c), b.child;

    case 12:
      return b.effectTag |= 4, Q(a, b, b.pendingProps.children, c), b.child;

    case 10:
      a: {
        d = b.type._context;
        e = b.pendingProps;
        g = b.memoizedProps;
        f = e.value;
        eh(b, f);

        if (null !== g) {
          var h = g.value;
          f = gd(h, f) ? 0 : ("function" === typeof d._calculateChangedBits ? d._calculateChangedBits(h, f) : 1073741823) | 0;

          if (0 === f) {
            if (g.children === e.children && !H.current) {
              b = Ug(a, b, c);
              break a;
            }
          } else for (h = b.child, null !== h && (h.return = b); null !== h;) {
            var k = h.contextDependencies;

            if (null !== k) {
              g = h.child;

              for (var l = k.first; null !== l;) {
                if (l.context === d && 0 !== (l.observedBits & f)) {
                  1 === h.tag && (l = uf(c), l.tag = zf, wf(h, l));
                  h.expirationTime < c && (h.expirationTime = c);
                  l = h.alternate;
                  null !== l && l.expirationTime < c && (l.expirationTime = c);
                  l = c;

                  for (var m = h.return; null !== m;) {
                    var p = m.alternate;
                    if (m.childExpirationTime < l) m.childExpirationTime = l, null !== p && p.childExpirationTime < l && (p.childExpirationTime = l);else if (null !== p && p.childExpirationTime < l) p.childExpirationTime = l;else break;
                    m = m.return;
                  }

                  k.expirationTime < c && (k.expirationTime = c);
                  break;
                }

                l = l.next;
              }
            } else g = 10 === h.tag ? h.type === b.type ? null : h.child : h.child;

            if (null !== g) g.return = h;else for (g = h; null !== g;) {
              if (g === b) {
                g = null;
                break;
              }

              h = g.sibling;

              if (null !== h) {
                h.return = g.return;
                g = h;
                break;
              }

              g = g.return;
            }
            h = g;
          }
        }

        Q(a, b, e.children, c);
        b = b.child;
      }

      return b;

    case 9:
      return e = b.type, f = b.pendingProps, d = f.children, Tg(b, c), e = L(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, Q(a, b, d, c), b.child;

    case 14:
      return e = b.type, f = K(e, b.pendingProps), f = K(e.type, f), Vg(a, b, e, f, d, c);

    case 15:
      return Wg(a, b, b.type, b.pendingProps, d, c);

    case 17:
      return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : K(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, I(d) ? (a = !0, Te(b)) : a = !1, Tg(b, c), Cf(b, d, e, c), Ef(b, d, e, c), ah(null, b, d, !0, a, c);
  }

  x("156");
}

var fh = {
  current: null
},
    gh = null,
    hh = null,
    ih = null;

function eh(a, b) {
  var c = a.type._context;
  F(fh, c._currentValue, a);
  c._currentValue = b;
}

function jh(a) {
  var b = fh.current;
  E(fh, a);
  a.type._context._currentValue = b;
}

function Tg(a, b) {
  gh = a;
  ih = hh = null;
  var c = a.contextDependencies;
  null !== c && c.expirationTime >= b && (xg = !0);
  a.contextDependencies = null;
}

function L(a, b) {
  if (ih !== a && !1 !== b && 0 !== b) {
    if ("number" !== typeof b || 1073741823 === b) ih = a, b = 1073741823;
    b = {
      context: a,
      observedBits: b,
      next: null
    };
    null === hh ? (null === gh ? x("308") : void 0, hh = b, gh.contextDependencies = {
      first: b,
      expirationTime: 0
    }) : hh = hh.next = b;
  }

  return a._currentValue;
}

var kh = 0,
    yf = 1,
    zf = 2,
    lh = 3,
    $g = !1;

function mh(a) {
  return {
    baseState: a,
    firstUpdate: null,
    lastUpdate: null,
    firstCapturedUpdate: null,
    lastCapturedUpdate: null,
    firstEffect: null,
    lastEffect: null,
    firstCapturedEffect: null,
    lastCapturedEffect: null
  };
}

function nh(a) {
  return {
    baseState: a.baseState,
    firstUpdate: a.firstUpdate,
    lastUpdate: a.lastUpdate,
    firstCapturedUpdate: null,
    lastCapturedUpdate: null,
    firstEffect: null,
    lastEffect: null,
    firstCapturedEffect: null,
    lastCapturedEffect: null
  };
}

function uf(a) {
  return {
    expirationTime: a,
    tag: kh,
    payload: null,
    callback: null,
    next: null,
    nextEffect: null
  };
}

function oh(a, b) {
  null === a.lastUpdate ? a.firstUpdate = a.lastUpdate = b : (a.lastUpdate.next = b, a.lastUpdate = b);
}

function wf(a, b) {
  var c = a.alternate;

  if (null === c) {
    var d = a.updateQueue;
    var e = null;
    null === d && (d = a.updateQueue = mh(a.memoizedState));
  } else d = a.updateQueue, e = c.updateQueue, null === d ? null === e ? (d = a.updateQueue = mh(a.memoizedState), e = c.updateQueue = mh(c.memoizedState)) : d = a.updateQueue = nh(e) : null === e && (e = c.updateQueue = nh(d));

  null === e || d === e ? oh(d, b) : null === d.lastUpdate || null === e.lastUpdate ? (oh(d, b), oh(e, b)) : (oh(d, b), e.lastUpdate = b);
}

function ph(a, b) {
  var c = a.updateQueue;
  c = null === c ? a.updateQueue = mh(a.memoizedState) : qh(a, c);
  null === c.lastCapturedUpdate ? c.firstCapturedUpdate = c.lastCapturedUpdate = b : (c.lastCapturedUpdate.next = b, c.lastCapturedUpdate = b);
}

function qh(a, b) {
  var c = a.alternate;
  null !== c && b === c.updateQueue && (b = a.updateQueue = nh(b));
  return b;
}

function rh(a, b, c, d, e, f) {
  switch (c.tag) {
    case yf:
      return a = c.payload, "function" === typeof a ? a.call(f, d, e) : a;

    case lh:
      a.effectTag = a.effectTag & -2049 | 64;

    case kh:
      a = c.payload;
      e = "function" === typeof a ? a.call(f, d, e) : a;
      if (null === e || void 0 === e) break;
      return n({}, d, e);

    case zf:
      $g = !0;
  }

  return d;
}

function Ff(a, b, c, d, e) {
  $g = !1;
  b = qh(a, b);

  for (var f = b.baseState, g = null, h = 0, k = b.firstUpdate, l = f; null !== k;) {
    var m = k.expirationTime;
    m < e ? (null === g && (g = k, f = l), h < m && (h = m)) : (l = rh(a, b, k, l, c, d), null !== k.callback && (a.effectTag |= 32, k.nextEffect = null, null === b.lastEffect ? b.firstEffect = b.lastEffect = k : (b.lastEffect.nextEffect = k, b.lastEffect = k)));
    k = k.next;
  }

  m = null;

  for (k = b.firstCapturedUpdate; null !== k;) {
    var p = k.expirationTime;
    p < e ? (null === m && (m = k, null === g && (f = l)), h < p && (h = p)) : (l = rh(a, b, k, l, c, d), null !== k.callback && (a.effectTag |= 32, k.nextEffect = null, null === b.lastCapturedEffect ? b.firstCapturedEffect = b.lastCapturedEffect = k : (b.lastCapturedEffect.nextEffect = k, b.lastCapturedEffect = k)));
    k = k.next;
  }

  null === g && (b.lastUpdate = null);
  null === m ? b.lastCapturedUpdate = null : a.effectTag |= 32;
  null === g && null === m && (f = l);
  b.baseState = f;
  b.firstUpdate = g;
  b.firstCapturedUpdate = m;
  a.expirationTime = h;
  a.memoizedState = l;
}

function sh(a, b, c) {
  null !== b.firstCapturedUpdate && (null !== b.lastUpdate && (b.lastUpdate.next = b.firstCapturedUpdate, b.lastUpdate = b.lastCapturedUpdate), b.firstCapturedUpdate = b.lastCapturedUpdate = null);
  th(b.firstEffect, c);
  b.firstEffect = b.lastEffect = null;
  th(b.firstCapturedEffect, c);
  b.firstCapturedEffect = b.lastCapturedEffect = null;
}

function th(a, b) {
  for (; null !== a;) {
    var c = a.callback;

    if (null !== c) {
      a.callback = null;
      var d = b;
      "function" !== typeof c ? x("191", c) : void 0;
      c.call(d);
    }

    a = a.nextEffect;
  }
}

function uh(a, b) {
  return {
    value: a,
    source: b,
    stack: oc(b)
  };
}

function vh(a) {
  a.effectTag |= 4;
}

var wh = void 0,
    xh = void 0,
    yh = void 0,
    zh = void 0;

wh = function wh(a, b) {
  for (var c = b.child; null !== c;) {
    if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) {
      c.child.return = c;
      c = c.child;
      continue;
    }
    if (c === b) break;

    for (; null === c.sibling;) {
      if (null === c.return || c.return === b) return;
      c = c.return;
    }

    c.sibling.return = c.return;
    c = c.sibling;
  }
};

xh = function xh() {};

yh = function yh(a, b, c, d, e) {
  var f = a.memoizedProps;

  if (f !== d) {
    var g = b.stateNode;
    Pf(M.current);
    a = null;

    switch (c) {
      case "input":
        f = Ac(g, f);
        d = Ac(g, d);
        a = [];
        break;

      case "option":
        f = ee(g, f);
        d = ee(g, d);
        a = [];
        break;

      case "select":
        f = n({}, f, {
          value: void 0
        });
        d = n({}, d, {
          value: void 0
        });
        a = [];
        break;

      case "textarea":
        f = ge(g, f);
        d = ge(g, d);
        a = [];
        break;

      default:
        "function" !== typeof f.onClick && "function" === typeof d.onClick && (g.onclick = ye);
    }

    ve(c, d);
    g = c = void 0;
    var h = null;

    for (c in f) {
      if (!d.hasOwnProperty(c) && f.hasOwnProperty(c) && null != f[c]) if ("style" === c) {
        var k = f[c];

        for (g in k) {
          k.hasOwnProperty(g) && (h || (h = {}), h[g] = "");
        }
      } else "dangerouslySetInnerHTML" !== c && "children" !== c && "suppressContentEditableWarning" !== c && "suppressHydrationWarning" !== c && "autoFocus" !== c && (sa.hasOwnProperty(c) ? a || (a = []) : (a = a || []).push(c, null));
    }

    for (c in d) {
      var l = d[c];
      k = null != f ? f[c] : void 0;
      if (d.hasOwnProperty(c) && l !== k && (null != l || null != k)) if ("style" === c) {
        if (k) {
          for (g in k) {
            !k.hasOwnProperty(g) || l && l.hasOwnProperty(g) || (h || (h = {}), h[g] = "");
          }

          for (g in l) {
            l.hasOwnProperty(g) && k[g] !== l[g] && (h || (h = {}), h[g] = l[g]);
          }
        } else h || (a || (a = []), a.push(c, h)), h = l;
      } else "dangerouslySetInnerHTML" === c ? (l = l ? l.__html : void 0, k = k ? k.__html : void 0, null != l && k !== l && (a = a || []).push(c, "" + l)) : "children" === c ? k === l || "string" !== typeof l && "number" !== typeof l || (a = a || []).push(c, "" + l) : "suppressContentEditableWarning" !== c && "suppressHydrationWarning" !== c && (sa.hasOwnProperty(c) ? (null != l && xe(e, c), a || k === l || (a = [])) : (a = a || []).push(c, l));
    }

    h && (a = a || []).push("style", h);
    e = a;
    (b.updateQueue = e) && vh(b);
  }
};

zh = function zh(a, b, c, d) {
  c !== d && vh(b);
};

var Ah = "function" === typeof WeakSet ? WeakSet : Set;

function Bh(a, b) {
  var c = b.source,
      d = b.stack;
  null === d && null !== c && (d = oc(c));
  null !== c && nc(c.type);
  b = b.value;
  null !== a && 1 === a.tag && nc(a.type);

  try {
    console.error(b);
  } catch (e) {
    setTimeout(function () {
      throw e;
    });
  }
}

function Ch(a) {
  var b = a.ref;
  if (null !== b) if ("function" === typeof b) try {
    b(null);
  } catch (c) {
    Dh(a, c);
  } else b.current = null;
}

function Eh(a, b, c) {
  c = c.updateQueue;
  c = null !== c ? c.lastEffect : null;

  if (null !== c) {
    var d = c = c.next;

    do {
      if ((d.tag & a) !== Uf) {
        var e = d.destroy;
        d.destroy = void 0;
        void 0 !== e && e();
      }

      (d.tag & b) !== Uf && (e = d.create, d.destroy = e());
      d = d.next;
    } while (d !== c);
  }
}

function Fh(a, b) {
  for (var c = a;;) {
    if (5 === c.tag) {
      var d = c.stateNode;
      if (b) d.style.display = "none";else {
        d = c.stateNode;
        var e = c.memoizedProps.style;
        e = void 0 !== e && null !== e && e.hasOwnProperty("display") ? e.display : null;
        d.style.display = se("display", e);
      }
    } else if (6 === c.tag) c.stateNode.nodeValue = b ? "" : c.memoizedProps;else if (13 === c.tag && null !== c.memoizedState) {
      d = c.child.sibling;
      d.return = c;
      c = d;
      continue;
    } else if (null !== c.child) {
      c.child.return = c;
      c = c.child;
      continue;
    }

    if (c === a) break;

    for (; null === c.sibling;) {
      if (null === c.return || c.return === a) return;
      c = c.return;
    }

    c.sibling.return = c.return;
    c = c.sibling;
  }
}

function Gh(a) {
  "function" === typeof We && We(a);

  switch (a.tag) {
    case 0:
    case 11:
    case 14:
    case 15:
      var b = a.updateQueue;

      if (null !== b && (b = b.lastEffect, null !== b)) {
        var c = b = b.next;

        do {
          var d = c.destroy;

          if (void 0 !== d) {
            var e = a;

            try {
              d();
            } catch (f) {
              Dh(e, f);
            }
          }

          c = c.next;
        } while (c !== b);
      }

      break;

    case 1:
      Ch(a);
      b = a.stateNode;
      if ("function" === typeof b.componentWillUnmount) try {
        b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();
      } catch (f) {
        Dh(a, f);
      }
      break;

    case 5:
      Ch(a);
      break;

    case 4:
      Hh(a);
  }
}

function Ih(a) {
  return 5 === a.tag || 3 === a.tag || 4 === a.tag;
}

function Jh(a) {
  a: {
    for (var b = a.return; null !== b;) {
      if (Ih(b)) {
        var c = b;
        break a;
      }

      b = b.return;
    }

    x("160");
    c = void 0;
  }

  var d = b = void 0;

  switch (c.tag) {
    case 5:
      b = c.stateNode;
      d = !1;
      break;

    case 3:
      b = c.stateNode.containerInfo;
      d = !0;
      break;

    case 4:
      b = c.stateNode.containerInfo;
      d = !0;
      break;

    default:
      x("161");
  }

  c.effectTag & 16 && (pe(b, ""), c.effectTag &= -17);

  a: b: for (c = a;;) {
    for (; null === c.sibling;) {
      if (null === c.return || Ih(c.return)) {
        c = null;
        break a;
      }

      c = c.return;
    }

    c.sibling.return = c.return;

    for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;) {
      if (c.effectTag & 2) continue b;
      if (null === c.child || 4 === c.tag) continue b;else c.child.return = c, c = c.child;
    }

    if (!(c.effectTag & 2)) {
      c = c.stateNode;
      break a;
    }
  }

  for (var e = a;;) {
    if (5 === e.tag || 6 === e.tag) {
      if (c) {
        if (d) {
          var f = b,
              g = e.stateNode,
              h = c;
          8 === f.nodeType ? f.parentNode.insertBefore(g, h) : f.insertBefore(g, h);
        } else b.insertBefore(e.stateNode, c);
      } else d ? (g = b, h = e.stateNode, 8 === g.nodeType ? (f = g.parentNode, f.insertBefore(h, g)) : (f = g, f.appendChild(h)), g = g._reactRootContainer, null !== g && void 0 !== g || null !== f.onclick || (f.onclick = ye)) : b.appendChild(e.stateNode);
    } else if (4 !== e.tag && null !== e.child) {
      e.child.return = e;
      e = e.child;
      continue;
    }
    if (e === a) break;

    for (; null === e.sibling;) {
      if (null === e.return || e.return === a) return;
      e = e.return;
    }

    e.sibling.return = e.return;
    e = e.sibling;
  }
}

function Hh(a) {
  for (var b = a, c = !1, d = void 0, e = void 0;;) {
    if (!c) {
      c = b.return;

      a: for (;;) {
        null === c ? x("160") : void 0;

        switch (c.tag) {
          case 5:
            d = c.stateNode;
            e = !1;
            break a;

          case 3:
            d = c.stateNode.containerInfo;
            e = !0;
            break a;

          case 4:
            d = c.stateNode.containerInfo;
            e = !0;
            break a;
        }

        c = c.return;
      }

      c = !0;
    }

    if (5 === b.tag || 6 === b.tag) {
      a: for (var f = b, g = f;;) {
        if (Gh(g), null !== g.child && 4 !== g.tag) g.child.return = g, g = g.child;else {
          if (g === f) break;

          for (; null === g.sibling;) {
            if (null === g.return || g.return === f) break a;
            g = g.return;
          }

          g.sibling.return = g.return;
          g = g.sibling;
        }
      }

      e ? (f = d, g = b.stateNode, 8 === f.nodeType ? f.parentNode.removeChild(g) : f.removeChild(g)) : d.removeChild(b.stateNode);
    } else if (4 === b.tag) {
      if (null !== b.child) {
        d = b.stateNode.containerInfo;
        e = !0;
        b.child.return = b;
        b = b.child;
        continue;
      }
    } else if (Gh(b), null !== b.child) {
      b.child.return = b;
      b = b.child;
      continue;
    }

    if (b === a) break;

    for (; null === b.sibling;) {
      if (null === b.return || b.return === a) return;
      b = b.return;
      4 === b.tag && (c = !1);
    }

    b.sibling.return = b.return;
    b = b.sibling;
  }
}

function Kh(a, b) {
  switch (b.tag) {
    case 0:
    case 11:
    case 14:
    case 15:
      Eh(Wf, Xf, b);
      break;

    case 1:
      break;

    case 5:
      var c = b.stateNode;

      if (null != c) {
        var d = b.memoizedProps;
        a = null !== a ? a.memoizedProps : d;
        var e = b.type,
            f = b.updateQueue;
        b.updateQueue = null;
        null !== f && He(c, f, e, a, d, b);
      }

      break;

    case 6:
      null === b.stateNode ? x("162") : void 0;
      b.stateNode.nodeValue = b.memoizedProps;
      break;

    case 3:
      break;

    case 12:
      break;

    case 13:
      c = b.memoizedState;
      d = void 0;
      a = b;
      null === c ? d = !1 : (d = !0, a = b.child, 0 === c.timedOutAt && (c.timedOutAt = sf()));
      null !== a && Fh(a, d);
      c = b.updateQueue;

      if (null !== c) {
        b.updateQueue = null;
        var g = b.stateNode;
        null === g && (g = b.stateNode = new Ah());
        c.forEach(function (a) {
          var c = Lh.bind(null, b, a);
          c = v.unstable_wrap(c);
          g.has(a) || (g.add(a), a.then(c, c));
        });
      }

      break;

    case 17:
      break;

    default:
      x("163");
  }
}

var Mh = "function" === typeof WeakMap ? WeakMap : Map;

function Nh(a, b, c) {
  c = uf(c);
  c.tag = lh;
  c.payload = {
    element: null
  };
  var d = b.value;

  c.callback = function () {
    Oh(d);
    Bh(a, b);
  };

  return c;
}

function Ph(a, b, c) {
  c = uf(c);
  c.tag = lh;
  var d = a.type.getDerivedStateFromError;

  if ("function" === typeof d) {
    var e = b.value;

    c.payload = function () {
      return d(e);
    };
  }

  var f = a.stateNode;
  null !== f && "function" === typeof f.componentDidCatch && (c.callback = function () {
    "function" !== typeof d && (null === Qh ? Qh = new Set([this]) : Qh.add(this));
    var c = b.value,
        e = b.stack;
    Bh(a, b);
    this.componentDidCatch(c, {
      componentStack: null !== e ? e : ""
    });
  });
  return c;
}

function Rh(a, b, c, d, e) {
  c.effectTag |= 1024;
  c.firstEffect = c.lastEffect = null;

  if (null !== d && "object" === _typeof(d) && "function" === typeof d.then) {
    var f = d;
    d = b;
    var g = -1,
        h = -1;

    do {
      if (13 === d.tag) {
        var k = d.alternate;

        if (null !== k && (k = k.memoizedState, null !== k)) {
          h = 10 * (1073741822 - k.timedOutAt);
          break;
        }

        k = d.pendingProps.maxDuration;
        if ("number" === typeof k) if (0 >= k) g = 0;else if (-1 === g || k < g) g = k;
      }

      d = d.return;
    } while (null !== d);

    d = b;

    do {
      if (k = 13 === d.tag) k = void 0 === d.memoizedProps.fallback ? !1 : null === d.memoizedState;

      if (k) {
        b = d.updateQueue;
        null === b ? (b = new Set(), b.add(f), d.updateQueue = b) : b.add(f);

        if (0 === (d.mode & 1)) {
          d.effectTag |= 64;
          c.effectTag &= -1957;
          1 === c.tag && (null === c.alternate ? c.tag = 17 : (e = uf(1073741823), e.tag = zf, wf(c, e)));
          c.expirationTime = 1073741823;
          return;
        }

        c = a;
        b = e;
        var l = c.pingCache;
        null === l ? (l = c.pingCache = new Mh(), k = new Set(), l.set(f, k)) : (k = l.get(f), void 0 === k && (k = new Set(), l.set(f, k)));
        k.has(b) || (k.add(b), c = Sh.bind(null, c, f, b), c = v.unstable_wrap(c), f.then(c, c));
        -1 === g ? a = 1073741823 : (-1 === h && (h = 10 * (1073741822 - of(a, e)) - 5E3), a = h + g);
        0 <= a && Th < a && (Th = a);
        d.effectTag |= 2048;
        d.expirationTime = e;
        return;
      }

      d = d.return;
    } while (null !== d);

    d = Error((nc(c.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display." + oc(c));
  }

  Uh = !0;
  d = uh(d, c);
  a = b;

  do {
    switch (a.tag) {
      case 3:
        a.effectTag |= 2048;
        a.expirationTime = e;
        e = Nh(a, d, e);
        ph(a, e);
        return;

      case 1:
        if (g = d, h = a.type, c = a.stateNode, 0 === (a.effectTag & 64) && ("function" === typeof h.getDerivedStateFromError || null !== c && "function" === typeof c.componentDidCatch && (null === Qh || !Qh.has(c)))) {
          a.effectTag |= 2048;
          a.expirationTime = e;
          e = Ph(a, g, e);
          ph(a, e);
          return;
        }

    }

    a = a.return;
  } while (null !== a);
}

function Vh(a) {
  switch (a.tag) {
    case 1:
      I(a.type) && Pe(a);
      var b = a.effectTag;
      return b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;

    case 3:
      return Rf(a), Qe(a), b = a.effectTag, 0 !== (b & 64) ? x("285") : void 0, a.effectTag = b & -2049 | 64, a;

    case 5:
      return Tf(a), null;

    case 13:
      return b = a.effectTag, b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;

    case 18:
      return null;

    case 4:
      return Rf(a), null;

    case 10:
      return jh(a), null;

    default:
      return null;
  }
}

var Wh = Yb.ReactCurrentDispatcher,
    Xh = Yb.ReactCurrentOwner;
null == v.__interactionsRef || null == v.__interactionsRef.current ? x("302") : void 0;
var Yh = 1073741822,
    Zh = !1,
    R = null,
    $h = null,
    S = 0,
    Th = -1,
    Uh = !1,
    T = null,
    ai = !1,
    bi = null,
    ci = null,
    di = null,
    Qh = null;

function ei() {
  if (null !== R) for (var a = R.return; null !== a;) {
    var b = a;

    switch (b.tag) {
      case 1:
        var c = b.type.childContextTypes;
        null !== c && void 0 !== c && Pe(b);
        break;

      case 3:
        Rf(b);
        Qe(b);
        break;

      case 5:
        Tf(b);
        break;

      case 4:
        Rf(b);
        break;

      case 10:
        jh(b);
    }

    a = a.return;
  }
  $h = null;
  S = 0;
  Th = -1;
  Uh = !1;
  R = null;
}

function fi() {
  for (; null !== T;) {
    var a = T.effectTag;
    a & 16 && pe(T.stateNode, "");

    if (a & 128) {
      var b = T.alternate;
      null !== b && (b = b.ref, null !== b && ("function" === typeof b ? b(null) : b.current = null));
    }

    switch (a & 14) {
      case 2:
        Jh(T);
        T.effectTag &= -3;
        break;

      case 6:
        Jh(T);
        T.effectTag &= -3;
        Kh(T.alternate, T);
        break;

      case 4:
        Kh(T.alternate, T);
        break;

      case 8:
        a = T, Hh(a), a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null, a = a.alternate, null !== a && (a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null);
    }

    T = T.nextEffect;
  }
}

function gi() {
  for (; null !== T;) {
    if (T.effectTag & 256) a: {
      var a = T.alternate,
          b = T;

      switch (b.tag) {
        case 0:
        case 11:
        case 15:
          Eh(Vf, Uf, b);
          break a;

        case 1:
          if (b.effectTag & 256 && null !== a) {
            var c = a.memoizedProps,
                d = a.memoizedState;
            a = b.stateNode;
            b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : K(b.type, c), d);
            a.__reactInternalSnapshotBeforeUpdate = b;
          }

          break a;

        case 3:
        case 5:
        case 6:
        case 4:
        case 17:
          break a;

        default:
          x("163");
      }
    }
    T = T.nextEffect;
  }
}

function hi(a, b) {
  for (; null !== T;) {
    var c = T.effectTag;

    if (c & 36) {
      var d = a,
          e = T.alternate,
          f = T,
          g = b;

      switch (f.tag) {
        case 0:
        case 11:
        case 15:
          Eh(Yf, Zf, f);
          break;

        case 1:
          d = f.stateNode;
          if (f.effectTag & 4) if (null === e) d.componentDidMount();else {
            var h = f.elementType === f.type ? e.memoizedProps : K(f.type, e.memoizedProps);
            d.componentDidUpdate(h, e.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
          }
          e = f.updateQueue;
          null !== e && sh(f, e, d, g);
          break;

        case 3:
          e = f.updateQueue;

          if (null !== e) {
            d = null;
            if (null !== f.child) switch (f.child.tag) {
              case 5:
                d = f.child.stateNode;
                break;

              case 1:
                d = f.child.stateNode;
            }
            sh(f, e, d, g);
          }

          break;

        case 5:
          g = f.stateNode;
          null === e && f.effectTag & 4 && Be(f.type, f.memoizedProps) && g.focus();
          break;

        case 6:
          break;

        case 4:
          break;

        case 12:
          g = f.memoizedProps.onRender;
          g(f.memoizedProps.id, null === e ? "mount" : "update", f.actualDuration, f.treeBaseDuration, f.actualStartTime, Eg, d.memoizedInteractions);
          break;

        case 13:
          break;

        case 17:
          break;

        default:
          x("163");
      }
    }

    c & 128 && (f = T.ref, null !== f && (g = T.stateNode, "function" === typeof f ? f(g) : f.current = g));
    c & 512 && (bi = a);
    T = T.nextEffect;
  }
}

function ii(a, b) {
  di = ci = bi = null;
  var c = V;
  V = !0;

  do {
    if (b.effectTag & 512) {
      var d = !1,
          e = void 0;

      try {
        var f = b;
        Eh(ag, Uf, f);
        Eh(Uf, $f, f);
      } catch (g) {
        d = !0, e = g;
      }

      d && Dh(b, e);
    }

    b = b.nextEffect;
  } while (null !== b);

  V = c;
  c = a.expirationTime;
  0 !== c && ji(a, c);
  W || V || ki(1073741823, !1);
}

function vf() {
  null !== ci && Ge(ci);
  null !== di && di();
}

function li(a, b) {
  ai = Zh = !0;
  a.current === b ? x("177") : void 0;
  var c = a.pendingCommitExpirationTime;
  0 === c ? x("261") : void 0;
  a.pendingCommitExpirationTime = 0;
  var d = b.expirationTime,
      e = b.childExpirationTime;
  lf(a, e > d ? e : d);
  d = null;
  d = v.__interactionsRef.current;
  v.__interactionsRef.current = a.memoizedInteractions;
  Xh.current = null;
  e = void 0;
  1 < b.effectTag ? null !== b.lastEffect ? (b.lastEffect.nextEffect = b, e = b.firstEffect) : e = b : e = b.firstEffect;
  ze = Gd;
  Ae = Ud();
  Gd = !1;

  for (T = e; null !== T;) {
    var f = !1,
        g = void 0;

    try {
      gi();
    } catch (p) {
      f = !0, g = p;
    }

    f && (null === T ? x("178") : void 0, Dh(T, g), null !== T && (T = T.nextEffect));
  }

  Eg = r.unstable_now();

  for (T = e; null !== T;) {
    f = !1;
    g = void 0;

    try {
      fi();
    } catch (p) {
      f = !0, g = p;
    }

    f && (null === T ? x("178") : void 0, Dh(T, g), null !== T && (T = T.nextEffect));
  }

  Vd(Ae);
  Ae = null;
  Gd = !!ze;
  ze = null;
  a.current = b;

  for (T = e; null !== T;) {
    f = !1;
    g = void 0;

    try {
      hi(a, c);
    } catch (p) {
      f = !0, g = p;
    }

    f && (null === T ? x("178") : void 0, Dh(T, g), null !== T && (T = T.nextEffect));
  }

  if (null !== e && null !== bi) {
    var h = ii.bind(null, a, e);
    h = v.unstable_wrap(h);
    ci = r.unstable_runWithPriority(r.unstable_NormalPriority, function () {
      return Fe(h);
    });
    di = h;
  }

  Zh = ai = !1;
  "function" === typeof Ve && Ve(b.stateNode);
  e = b.expirationTime;
  b = b.childExpirationTime;
  var k = b > e ? b : e;
  0 === k && (Qh = null);
  mi(a, k);
  v.__interactionsRef.current = d;
  var l = void 0;

  try {
    if (l = v.__subscriberRef.current, null !== l && 0 < a.memoizedInteractions.size) l.onWorkStopped(a.memoizedInteractions, 1E3 * c + a.interactionThreadID);
  } catch (p) {
    X || (X = !0, ni = p);
  } finally {
    var m = a.pendingInteractionMap;
    m.forEach(function (a, b) {
      b > k && (m.delete(b), a.forEach(function (a) {
        a.__count--;
        if (null !== l && 0 === a.__count) try {
          l.onInteractionScheduledWorkCompleted(a);
        } catch (Nb) {
          X || (X = !0, ni = Nb);
        }
      }));
    });
  }
}

function oi(a) {
  for (;;) {
    var b = a.alternate,
        c = a.return,
        d = a.sibling;

    if (0 === (a.effectTag & 1024)) {
      R = a;
      a.mode & 4 && Gg(a);

      a: {
        var e = b;
        b = a;
        var f = S;
        var g = b.pendingProps;

        switch (b.tag) {
          case 2:
            break;

          case 16:
            break;

          case 15:
          case 0:
            break;

          case 1:
            I(b.type) && Pe(b);
            break;

          case 3:
            Rf(b);
            Qe(b);
            g = b.stateNode;
            g.pendingContext && (g.context = g.pendingContext, g.pendingContext = null);
            if (null === e || null === e.child) Pg(b), b.effectTag &= -3;
            xh(b);
            break;

          case 5:
            Tf(b);
            var h = Pf(Of.current);
            f = b.type;
            if (null !== e && null != b.stateNode) yh(e, b, f, g, h), e.ref !== b.ref && (b.effectTag |= 128);else if (g) {
              var k = Pf(M.current);

              if (Pg(b)) {
                g = b;
                e = g.stateNode;
                var l = g.type,
                    m = g.memoizedProps,
                    p = h;
                e[Ha] = g;
                e[Ia] = m;
                f = void 0;
                h = l;

                switch (h) {
                  case "iframe":
                  case "object":
                    D("load", e);
                    break;

                  case "video":
                  case "audio":
                    for (l = 0; l < db.length; l++) {
                      D(db[l], e);
                    }

                    break;

                  case "source":
                    D("error", e);
                    break;

                  case "img":
                  case "image":
                  case "link":
                    D("error", e);
                    D("load", e);
                    break;

                  case "form":
                    D("reset", e);
                    D("submit", e);
                    break;

                  case "details":
                    D("toggle", e);
                    break;

                  case "input":
                    Bc(e, m);
                    D("invalid", e);
                    xe(p, "onChange");
                    break;

                  case "select":
                    e._wrapperState = {
                      wasMultiple: !!m.multiple
                    };
                    D("invalid", e);
                    xe(p, "onChange");
                    break;

                  case "textarea":
                    he(e, m), D("invalid", e), xe(p, "onChange");
                }

                ve(h, m);
                l = null;

                for (f in m) {
                  m.hasOwnProperty(f) && (k = m[f], "children" === f ? "string" === typeof k ? e.textContent !== k && (l = ["children", k]) : "number" === typeof k && e.textContent !== "" + k && (l = ["children", "" + k]) : sa.hasOwnProperty(f) && null != k && xe(p, f));
                }

                switch (h) {
                  case "input":
                    Wb(e);
                    Fc(e, m, !0);
                    break;

                  case "textarea":
                    Wb(e);
                    je(e, m);
                    break;

                  case "select":
                  case "option":
                    break;

                  default:
                    "function" === typeof m.onClick && (e.onclick = ye);
                }

                f = l;
                g.updateQueue = f;
                g = null !== f ? !0 : !1;
                g && vh(b);
              } else {
                m = b;
                e = f;
                p = g;
                l = 9 === h.nodeType ? h : h.ownerDocument;
                k === ke.html && (k = le(e));
                k === ke.html ? "script" === e ? (e = l.createElement("div"), e.innerHTML = "<script>\x3c/script>", l = e.removeChild(e.firstChild)) : "string" === typeof p.is ? l = l.createElement(e, {
                  is: p.is
                }) : (l = l.createElement(e), "select" === e && p.multiple && (l.multiple = !0)) : l = l.createElementNS(k, e);
                e = l;
                e[Ha] = m;
                e[Ia] = g;
                wh(e, b, !1, !1);
                p = e;
                l = f;
                m = g;
                var w = h,
                    U = we(l, m);

                switch (l) {
                  case "iframe":
                  case "object":
                    D("load", p);
                    h = m;
                    break;

                  case "video":
                  case "audio":
                    for (h = 0; h < db.length; h++) {
                      D(db[h], p);
                    }

                    h = m;
                    break;

                  case "source":
                    D("error", p);
                    h = m;
                    break;

                  case "img":
                  case "image":
                  case "link":
                    D("error", p);
                    D("load", p);
                    h = m;
                    break;

                  case "form":
                    D("reset", p);
                    D("submit", p);
                    h = m;
                    break;

                  case "details":
                    D("toggle", p);
                    h = m;
                    break;

                  case "input":
                    Bc(p, m);
                    h = Ac(p, m);
                    D("invalid", p);
                    xe(w, "onChange");
                    break;

                  case "option":
                    h = ee(p, m);
                    break;

                  case "select":
                    p._wrapperState = {
                      wasMultiple: !!m.multiple
                    };
                    h = n({}, m, {
                      value: void 0
                    });
                    D("invalid", p);
                    xe(w, "onChange");
                    break;

                  case "textarea":
                    he(p, m);
                    h = ge(p, m);
                    D("invalid", p);
                    xe(w, "onChange");
                    break;

                  default:
                    h = m;
                }

                ve(l, h);
                k = void 0;
                var Nb = l,
                    La = p,
                    u = h;

                for (k in u) {
                  if (u.hasOwnProperty(k)) {
                    var q = u[k];
                    "style" === k ? te(La, q) : "dangerouslySetInnerHTML" === k ? (q = q ? q.__html : void 0, null != q && oe(La, q)) : "children" === k ? "string" === typeof q ? ("textarea" !== Nb || "" !== q) && pe(La, q) : "number" === typeof q && pe(La, "" + q) : "suppressContentEditableWarning" !== k && "suppressHydrationWarning" !== k && "autoFocus" !== k && (sa.hasOwnProperty(k) ? null != q && xe(w, k) : null != q && yc(La, k, q, U));
                  }
                }

                switch (l) {
                  case "input":
                    Wb(p);
                    Fc(p, m, !1);
                    break;

                  case "textarea":
                    Wb(p);
                    je(p, m);
                    break;

                  case "option":
                    null != m.value && p.setAttribute("value", "" + zc(m.value));
                    break;

                  case "select":
                    h = p;
                    h.multiple = !!m.multiple;
                    p = m.value;
                    null != p ? fe(h, !!m.multiple, p, !1) : null != m.defaultValue && fe(h, !!m.multiple, m.defaultValue, !0);
                    break;

                  default:
                    "function" === typeof h.onClick && (p.onclick = ye);
                }

                (g = Be(f, g)) && vh(b);
                b.stateNode = e;
              }

              null !== b.ref && (b.effectTag |= 128);
            } else null === b.stateNode ? x("166") : void 0;
            break;

          case 6:
            e && null != b.stateNode ? zh(e, b, e.memoizedProps, g) : ("string" !== typeof g && (null === b.stateNode ? x("166") : void 0), e = Pf(Of.current), Pf(M.current), Pg(b) ? (g = b, f = g.stateNode, e = g.memoizedProps, f[Ha] = g, (g = f.nodeValue !== e) && vh(b)) : (f = b, g = (9 === e.nodeType ? e : e.ownerDocument).createTextNode(g), g[Ha] = b, f.stateNode = g));
            break;

          case 11:
            break;

          case 13:
            g = b.memoizedState;

            if (0 !== (b.effectTag & 64)) {
              b.expirationTime = f;
              R = b;
              break a;
            }

            g = null !== g;
            f = null !== e && null !== e.memoizedState;
            null !== e && !g && f && (e = e.child.sibling, null !== e && (h = b.firstEffect, null !== h ? (b.firstEffect = e, e.nextEffect = h) : (b.firstEffect = b.lastEffect = e, e.nextEffect = null), e.effectTag = 8));
            if (g || f) b.effectTag |= 4;
            break;

          case 7:
            break;

          case 8:
            break;

          case 12:
            break;

          case 4:
            Rf(b);
            xh(b);
            break;

          case 10:
            jh(b);
            break;

          case 9:
            break;

          case 14:
            break;

          case 17:
            I(b.type) && Pe(b);
            break;

          case 18:
            break;

          default:
            x("156");
        }

        R = null;
      }

      a.mode & 4 && Hg(a, !1);
      b = a;

      if (1 === S || 1 !== b.childExpirationTime) {
        g = 0;

        if (b.mode & 4) {
          f = b.actualDuration;
          e = b.selfBaseDuration;
          h = null === b.alternate || b.child !== b.alternate.child;

          for (m = b.child; null !== m;) {
            p = m.expirationTime, l = m.childExpirationTime, p > g && (g = p), l > g && (g = l), h && (f += m.actualDuration), e += m.treeBaseDuration, m = m.sibling;
          }

          b.actualDuration = f;
          b.treeBaseDuration = e;
        } else for (f = b.child; null !== f;) {
          e = f.expirationTime, h = f.childExpirationTime, e > g && (g = e), h > g && (g = h), f = f.sibling;
        }

        b.childExpirationTime = g;
      }

      if (null !== R) return R;
      null !== c && 0 === (c.effectTag & 1024) && (null === c.firstEffect && (c.firstEffect = a.firstEffect), null !== a.lastEffect && (null !== c.lastEffect && (c.lastEffect.nextEffect = a.firstEffect), c.lastEffect = a.lastEffect), 1 < a.effectTag && (null !== c.lastEffect ? c.lastEffect.nextEffect = a : c.firstEffect = a, c.lastEffect = a));
    } else {
      if (a.mode & 4) {
        Hg(a, !1);
        b = a.actualDuration;

        for (g = a.child; null !== g;) {
          b += g.actualDuration, g = g.sibling;
        }

        a.actualDuration = b;
      }

      a = Vh(a, S);
      if (null !== a) return a.effectTag &= 1023, a;
      null !== c && (c.firstEffect = c.lastEffect = null, c.effectTag |= 1024);
    }

    if (null !== d) return d;
    if (null !== c) a = c;else break;
  }

  return null;
}

function pi(a) {
  var b = a.alternate;
  a.mode & 4 && Gg(a);
  b = dh(b, a, S);
  a.memoizedProps = a.pendingProps;
  a.mode & 4 && Hg(a, !0);
  null === b && (b = oi(a));
  Xh.current = null;
  return b;
}

function qi(a, b) {
  Zh ? x("243") : void 0;
  vf();
  Zh = !0;
  var c = Wh.current;
  Wh.current = rg;
  var d = a.nextExpirationTimeToWorkOn;

  if (d !== S || a !== $h || null === R) {
    ei();
    $h = a;
    S = d;
    R = cf($h.current, null, S);
    a.pendingCommitExpirationTime = 0;
    var e = new Set();
    a.pendingInteractionMap.forEach(function (a, b) {
      b >= d && a.forEach(function (a) {
        return e.add(a);
      });
    });
    a.memoizedInteractions = e;

    if (0 < e.size) {
      var f = v.__subscriberRef.current;

      if (null !== f) {
        var g = 1E3 * d + a.interactionThreadID;

        try {
          f.onWorkStarted(e, g);
        } catch (l) {
          X || (X = !0, ni = l);
        }
      }
    }
  }

  f = null;
  f = v.__interactionsRef.current;
  v.__interactionsRef.current = a.memoizedInteractions;
  g = !1;

  do {
    try {
      if (b) for (; null !== R && !ri();) {
        R = pi(R);
      } else for (; null !== R;) {
        R = pi(R);
      }
    } catch (l) {
      if (ih = hh = gh = null, sg(), null === R) g = !0, Oh(l);else {
        R.mode & 4 && Hg(R, !0);
        null === R ? x("271") : void 0;
        var h = R,
            k = h.return;
        if (null === k) g = !0, Oh(l);else {
          Rh(a, k, h, l, S);
          R = oi(h);
          continue;
        }
      }
    }

    break;
  } while (1);

  v.__interactionsRef.current = f;
  Zh = !1;
  Wh.current = c;
  ih = hh = gh = null;
  sg();
  if (g) $h = null, a.finishedWork = null;else if (null !== R) a.finishedWork = null;else {
    c = a.current.alternate;
    null === c ? x("281") : void 0;
    $h = null;

    if (Uh) {
      if (mf(a, d)) {
        nf(a, d);
        si(a, c, d, a.expirationTime, -1);
        return;
      }

      if (!a.didError && b) {
        a.didError = !0;
        b = a.nextExpirationTimeToWorkOn = d;
        f = a.expirationTime = 1073741823;
        si(a, c, b, f, -1);
        return;
      }
    }

    b && -1 !== Th ? (nf(a, d), b = 10 * (1073741822 - of(a, d)), b < Th && (Th = b), b = 10 * (1073741822 - sf()), b = Th - b, si(a, c, d, a.expirationTime, 0 > b ? 0 : b)) : ti(a, c, d);
  }
}

function Dh(a, b) {
  for (var c = a.return; null !== c;) {
    switch (c.tag) {
      case 1:
        var d = c.stateNode;

        if ("function" === typeof c.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Qh || !Qh.has(d))) {
          a = uh(b, a);
          a = Ph(c, a, 1073741823);
          wf(c, a);
          xf(c, 1073741823);
          return;
        }

        break;

      case 3:
        a = uh(b, a);
        a = Nh(c, a, 1073741823);
        wf(c, a);
        xf(c, 1073741823);
        return;
    }

    c = c.return;
  }

  3 === a.tag && (c = uh(b, a), c = Nh(a, c, 1073741823), wf(a, c), xf(a, 1073741823));
}

function tf(a, b) {
  var c = r.unstable_getCurrentPriorityLevel(),
      d = void 0;
  if (0 === (b.mode & 1)) d = 1073741823;else if (Zh && !ai) d = S;else {
    switch (c) {
      case r.unstable_ImmediatePriority:
        d = 1073741823;
        break;

      case r.unstable_UserBlockingPriority:
        d = 1073741822 - 10 * (((1073741822 - a + 15) / 10 | 0) + 1);
        break;

      case r.unstable_NormalPriority:
        d = 1073741822 - 25 * (((1073741822 - a + 500) / 25 | 0) + 1);
        break;

      case r.unstable_LowPriority:
      case r.unstable_IdlePriority:
        d = 1;
        break;

      default:
        x("313");
    }

    null !== $h && d === S && --d;
  }
  c === r.unstable_UserBlockingPriority && (0 === ui || d < ui) && (ui = d);
  return d;
}

function Sh(a, b, c) {
  var d = a.pingCache;
  null !== d && d.delete(b);
  if (null !== $h && S === c) $h = null;else if (b = a.earliestSuspendedTime, d = a.latestSuspendedTime, 0 !== b && c <= b && c >= d) {
    a.didError = !1;
    b = a.latestPingedTime;
    if (0 === b || b > c) a.latestPingedTime = c;
    kf(c, a);
    c = a.expirationTime;
    0 !== c && ji(a, c);
  }
}

function Lh(a, b) {
  var c = a.stateNode;
  null !== c && c.delete(b);
  b = sf();
  b = tf(b, a);
  a = vi(a, b);
  null !== a && (jf(a, b), b = a.expirationTime, 0 !== b && ji(a, b));
}

function vi(a, b) {
  a.expirationTime < b && (a.expirationTime = b);
  var c = a.alternate;
  null !== c && c.expirationTime < b && (c.expirationTime = b);
  var d = a.return,
      e = null;
  if (null === d && 3 === a.tag) e = a.stateNode;else for (; null !== d;) {
    c = d.alternate;
    d.childExpirationTime < b && (d.childExpirationTime = b);
    null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);

    if (null === d.return && 3 === d.tag) {
      e = d.stateNode;
      break;
    }

    d = d.return;
  }

  if (null !== e && (a = v.__interactionsRef.current, 0 < a.size)) {
    c = e.pendingInteractionMap;
    var f = c.get(b);
    null != f ? a.forEach(function (a) {
      f.has(a) || a.__count++;
      f.add(a);
    }) : (c.set(b, new Set(a)), a.forEach(function (a) {
      a.__count++;
    }));
    c = v.__subscriberRef.current;
    if (null !== c) c.onWorkScheduled(a, 1E3 * b + e.interactionThreadID);
  }

  return e;
}

function xf(a, b) {
  a = vi(a, b);
  null !== a && (!Zh && 0 !== S && b > S && ei(), jf(a, b), Zh && !ai && $h === a || ji(a, a.expirationTime), wi > xi && (wi = 0, x("185")));
}

function yi(a, b, c, d, e) {
  return r.unstable_runWithPriority(r.unstable_ImmediatePriority, function () {
    return a(b, c, d, e);
  });
}

var zi = null,
    Y = null,
    Ai = 0,
    Bi = void 0,
    V = !1,
    Ci = null,
    Z = 0,
    ui = 0,
    X = !1,
    ni = null,
    W = !1,
    Di = !1,
    Ei = null,
    Fi = r.unstable_now(),
    Gi = 1073741822 - (Fi / 10 | 0),
    Hi = Gi,
    xi = 50,
    wi = 0,
    Ii = null;

function Ji() {
  Gi = 1073741822 - ((r.unstable_now() - Fi) / 10 | 0);
}

function Ki(a, b) {
  if (0 !== Ai) {
    if (b < Ai) return;
    null !== Bi && r.unstable_cancelCallback(Bi);
  }

  Ai = b;
  a = r.unstable_now() - Fi;
  Bi = r.unstable_scheduleCallback(Li, {
    timeout: 10 * (1073741822 - b) - a
  });
}

function ti(a, b, c) {
  a.pendingCommitExpirationTime = c;
  a.finishedWork = b;
}

function si(a, b, c, d, e) {
  a.expirationTime = d;
  0 !== e || ri() ? 0 < e && (a.timeoutHandle = De(Mi.bind(null, a, b, c), e)) : (a.pendingCommitExpirationTime = c, a.finishedWork = b);
}

function Mi(a, b, c) {
  a.pendingCommitExpirationTime = c;
  a.finishedWork = b;
  Ji();
  Hi = Gi;
  Ni(a, c);
}

function mi(a, b) {
  a.expirationTime = b;
  a.finishedWork = null;
}

function sf() {
  if (V) return Hi;
  Oi();
  if (0 === Z || 1 === Z) Ji(), Hi = Gi;
  return Hi;
}

function ji(a, b) {
  null === a.nextScheduledRoot ? (a.expirationTime = b, null === Y ? (zi = Y = a, a.nextScheduledRoot = a) : (Y = Y.nextScheduledRoot = a, Y.nextScheduledRoot = zi)) : b > a.expirationTime && (a.expirationTime = b);
  V || (W ? Di && (Ci = a, Z = 1073741823, Pi(a, 1073741823, !1)) : 1073741823 === b ? ki(1073741823, !1) : Ki(a, b));
}

function Oi() {
  var a = 0,
      b = null;
  if (null !== Y) for (var c = Y, d = zi; null !== d;) {
    var e = d.expirationTime;

    if (0 === e) {
      null === c || null === Y ? x("244") : void 0;

      if (d === d.nextScheduledRoot) {
        zi = Y = d.nextScheduledRoot = null;
        break;
      } else if (d === zi) zi = e = d.nextScheduledRoot, Y.nextScheduledRoot = e, d.nextScheduledRoot = null;else if (d === Y) {
        Y = c;
        Y.nextScheduledRoot = zi;
        d.nextScheduledRoot = null;
        break;
      } else c.nextScheduledRoot = d.nextScheduledRoot, d.nextScheduledRoot = null;

      d = c.nextScheduledRoot;
    } else {
      e > a && (a = e, b = d);
      if (d === Y) break;
      if (1073741823 === a) break;
      c = d;
      d = d.nextScheduledRoot;
    }
  }
  Ci = b;
  Z = a;
}

var Qi = !1;

function ri() {
  return Qi ? !0 : r.unstable_shouldYield() ? Qi = !0 : !1;
}

function Li() {
  try {
    if (!ri() && null !== zi) {
      Ji();
      var a = zi;

      do {
        var b = a.expirationTime;
        0 !== b && Gi <= b && (a.nextExpirationTimeToWorkOn = Gi);
        a = a.nextScheduledRoot;
      } while (a !== zi);
    }

    ki(0, !0);
  } finally {
    Qi = !1;
  }
}

function ki(a, b) {
  Oi();
  if (b) for (Ji(), Hi = Gi; null !== Ci && 0 !== Z && a <= Z && !(Qi && Gi > Z);) {
    Pi(Ci, Z, Gi > Z), Oi(), Ji(), Hi = Gi;
  } else for (; null !== Ci && 0 !== Z && a <= Z;) {
    Pi(Ci, Z, !1), Oi();
  }
  b && (Ai = 0, Bi = null);
  0 !== Z && Ki(Ci, Z);
  wi = 0;
  Ii = null;
  if (null !== Ei) for (a = Ei, Ei = null, b = 0; b < a.length; b++) {
    var c = a[b];

    try {
      c._onComplete();
    } catch (d) {
      X || (X = !0, ni = d);
    }
  }
  if (X) throw a = ni, ni = null, X = !1, a;
}

function Ni(a, b) {
  V ? x("253") : void 0;
  Ci = a;
  Z = b;
  Pi(a, b, !1);
  ki(1073741823, !1);
}

function Pi(a, b, c) {
  V ? x("245") : void 0;
  V = !0;

  if (c) {
    var d = a.finishedWork;
    null !== d ? Ri(a, d, b) : (a.finishedWork = null, d = a.timeoutHandle, -1 !== d && (a.timeoutHandle = -1, Ee(d)), qi(a, c), d = a.finishedWork, null !== d && (ri() ? a.finishedWork = d : Ri(a, d, b)));
  } else d = a.finishedWork, null !== d ? Ri(a, d, b) : (a.finishedWork = null, d = a.timeoutHandle, -1 !== d && (a.timeoutHandle = -1, Ee(d)), qi(a, c), d = a.finishedWork, null !== d && Ri(a, d, b));

  V = !1;
}

function Ri(a, b, c) {
  var d = a.firstBatch;

  if (null !== d && d._expirationTime >= c && (null === Ei ? Ei = [d] : Ei.push(d), d._defer)) {
    a.finishedWork = b;
    a.expirationTime = 0;
    return;
  }

  a.finishedWork = null;
  a === Ii ? wi++ : (Ii = a, wi = 0);
  r.unstable_runWithPriority(r.unstable_ImmediatePriority, function () {
    li(a, b);
  });
}

function Oh(a) {
  null === Ci ? x("246") : void 0;
  Ci.expirationTime = 0;
  X || (X = !0, ni = a);
}

function Si(a, b) {
  var c = W;
  W = !0;

  try {
    return a(b);
  } finally {
    (W = c) || V || ki(1073741823, !1);
  }
}

function Ti(a, b) {
  if (W && !Di) {
    Di = !0;

    try {
      return a(b);
    } finally {
      Di = !1;
    }
  }

  return a(b);
}

function Ui(a, b, c) {
  W || V || 0 === ui || (ki(ui, !1), ui = 0);
  var d = W;
  W = !0;

  try {
    return r.unstable_runWithPriority(r.unstable_UserBlockingPriority, function () {
      return a(b, c);
    });
  } finally {
    (W = d) || V || ki(1073741823, !1);
  }
}

function Vi(a, b, c, d, e) {
  var f = b.current;

  a: if (c) {
    c = c._reactInternalFiber;

    b: {
      2 === jd(c) && 1 === c.tag ? void 0 : x("170");
      var g = c;

      do {
        switch (g.tag) {
          case 3:
            g = g.stateNode.context;
            break b;

          case 1:
            if (I(g.type)) {
              g = g.stateNode.__reactInternalMemoizedMergedChildContext;
              break b;
            }

        }

        g = g.return;
      } while (null !== g);

      x("171");
      g = void 0;
    }

    if (1 === c.tag) {
      var h = c.type;

      if (I(h)) {
        c = Se(c, h, g);
        break a;
      }
    }

    c = g;
  } else c = Me;

  null === b.context ? b.context = c : b.pendingContext = c;
  b = e;
  e = uf(d);
  e.payload = {
    element: a
  };
  b = void 0 === b ? null : b;
  null !== b && (e.callback = b);
  vf();
  wf(f, e);
  xf(f, d);
  return d;
}

function Wi(a, b, c, d) {
  var e = b.current,
      f = sf();
  e = tf(f, e);
  return Vi(a, b, c, e, d);
}

function Xi(a) {
  a = a.current;
  if (!a.child) return null;

  switch (a.child.tag) {
    case 5:
      return a.child.stateNode;

    default:
      return a.child.stateNode;
  }
}

function Yi(a, b, c) {
  var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
  return {
    $$typeof: ac,
    key: null == d ? null : "" + d,
    children: a,
    containerInfo: b,
    implementation: c
  };
}

Eb = function Eb(a, b, c) {
  switch (b) {
    case "input":
      Dc(a, c);
      b = c.name;

      if ("radio" === c.type && null != b) {
        for (c = a; c.parentNode;) {
          c = c.parentNode;
        }

        c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');

        for (b = 0; b < c.length; b++) {
          var d = c[b];

          if (d !== a && d.form === a.form) {
            var e = Na(d);
            e ? void 0 : x("90");
            Xb(d);
            Dc(d, e);
          }
        }
      }

      break;

    case "textarea":
      ie(a, c);
      break;

    case "select":
      b = c.value, null != b && fe(a, !!c.multiple, b, !1);
  }
};

function Zi(a) {
  var b = 1073741822 - 25 * (((1073741822 - sf() + 500) / 25 | 0) + 1);
  b >= Yh && (b = Yh - 1);
  this._expirationTime = Yh = b;
  this._root = a;
  this._callbacks = this._next = null;
  this._hasChildren = this._didComplete = !1;
  this._children = null;
  this._defer = !0;
}

Zi.prototype.render = function (a) {
  this._defer ? void 0 : x("250");
  this._hasChildren = !0;
  this._children = a;
  var b = this._root._internalRoot,
      c = this._expirationTime,
      d = new $i();
  Vi(a, b, null, c, d._onCommit);
  return d;
};

Zi.prototype.then = function (a) {
  if (this._didComplete) a();else {
    var b = this._callbacks;
    null === b && (b = this._callbacks = []);
    b.push(a);
  }
};

Zi.prototype.commit = function () {
  var a = this._root._internalRoot,
      b = a.firstBatch;
  this._defer && null !== b ? void 0 : x("251");

  if (this._hasChildren) {
    var c = this._expirationTime;

    if (b !== this) {
      this._hasChildren && (c = this._expirationTime = b._expirationTime, this.render(this._children));

      for (var d = null, e = b; e !== this;) {
        d = e, e = e._next;
      }

      null === d ? x("251") : void 0;
      d._next = e._next;
      this._next = b;
      a.firstBatch = this;
    }

    this._defer = !1;
    Ni(a, c);
    b = this._next;
    this._next = null;
    b = a.firstBatch = b;
    null !== b && b._hasChildren && b.render(b._children);
  } else this._next = null, this._defer = !1;
};

Zi.prototype._onComplete = function () {
  if (!this._didComplete) {
    this._didComplete = !0;
    var a = this._callbacks;
    if (null !== a) for (var b = 0; b < a.length; b++) {
      (0, a[b])();
    }
  }
};

function $i() {
  this._callbacks = null;
  this._didCommit = !1;
  this._onCommit = this._onCommit.bind(this);
}

$i.prototype.then = function (a) {
  if (this._didCommit) a();else {
    var b = this._callbacks;
    null === b && (b = this._callbacks = []);
    b.push(a);
  }
};

$i.prototype._onCommit = function () {
  if (!this._didCommit) {
    this._didCommit = !0;
    var a = this._callbacks;
    if (null !== a) for (var b = 0; b < a.length; b++) {
      var c = a[b];
      "function" !== typeof c ? x("191", c) : void 0;
      c();
    }
  }
};

function aj(a, b, c) {
  b = b ? 3 : 0;
  Ye && (b |= 4);
  b = J(3, null, null, b);
  a = {
    current: b,
    containerInfo: a,
    pendingChildren: null,
    earliestPendingTime: 0,
    latestPendingTime: 0,
    earliestSuspendedTime: 0,
    latestSuspendedTime: 0,
    latestPingedTime: 0,
    pingCache: null,
    didError: !1,
    pendingCommitExpirationTime: 0,
    finishedWork: null,
    timeoutHandle: -1,
    context: null,
    pendingContext: null,
    hydrate: c,
    nextExpirationTimeToWorkOn: 0,
    expirationTime: 0,
    firstBatch: null,
    nextScheduledRoot: null,
    interactionThreadID: v.unstable_getThreadID(),
    memoizedInteractions: new Set(),
    pendingInteractionMap: new Map()
  };
  this._internalRoot = b.stateNode = a;
}

aj.prototype.render = function (a, b) {
  var c = this._internalRoot,
      d = new $i();
  b = void 0 === b ? null : b;
  null !== b && d.then(b);
  Wi(a, c, null, d._onCommit);
  return d;
};

aj.prototype.unmount = function (a) {
  var b = this._internalRoot,
      c = new $i();
  a = void 0 === a ? null : a;
  null !== a && c.then(a);
  Wi(null, b, null, c._onCommit);
  return c;
};

aj.prototype.legacy_renderSubtreeIntoContainer = function (a, b, c) {
  var d = this._internalRoot,
      e = new $i();
  c = void 0 === c ? null : c;
  null !== c && e.then(c);
  Wi(b, d, a, e._onCommit);
  return e;
};

aj.prototype.createBatch = function () {
  var a = new Zi(this),
      b = a._expirationTime,
      c = this._internalRoot,
      d = c.firstBatch;
  if (null === d) c.firstBatch = a, a._next = null;else {
    for (c = null; null !== d && d._expirationTime >= b;) {
      c = d, d = d._next;
    }

    a._next = d;
    null !== c && (c._next = a);
  }
  return a;
};

function bj(a) {
  return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
}

Kb = Si;
Lb = Ui;

Mb = function Mb() {
  V || 0 === ui || (ki(ui, !1), ui = 0);
};

function cj(a, b) {
  b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute("data-reactroot")));
  if (!b) for (var c; c = a.lastChild;) {
    a.removeChild(c);
  }
  return new aj(a, !1, b);
}

function dj(a, b, c, d, e) {
  var f = c._reactRootContainer;

  if (f) {
    if ("function" === typeof e) {
      var g = e;

      e = function e() {
        var a = Xi(f._internalRoot);
        g.call(a);
      };
    }

    null != a ? f.legacy_renderSubtreeIntoContainer(a, b, e) : f.render(b, e);
  } else {
    f = c._reactRootContainer = cj(c, d);

    if ("function" === typeof e) {
      var h = e;

      e = function e() {
        var a = Xi(f._internalRoot);
        h.call(a);
      };
    }

    Ti(function () {
      null != a ? f.legacy_renderSubtreeIntoContainer(a, b, e) : f.render(b, e);
    });
  }

  return Xi(f._internalRoot);
}

function ej(a, b) {
  var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
  bj(b) ? void 0 : x("200");
  return Yi(a, b, null, c);
}

var gj = {
  createPortal: ej,
  findDOMNode: function findDOMNode(a) {
    if (null == a) return null;
    if (1 === a.nodeType) return a;
    var b = a._reactInternalFiber;
    void 0 === b && ("function" === typeof a.render ? x("188") : x("268", Object.keys(a)));
    a = md(b);
    a = null === a ? null : a.stateNode;
    return a;
  },
  hydrate: function hydrate(a, b, c) {
    bj(b) ? void 0 : x("200");
    return dj(null, a, b, !0, c);
  },
  render: function render(a, b, c) {
    bj(b) ? void 0 : x("200");
    return dj(null, a, b, !1, c);
  },
  inject: function inject(a) {
    Da.injectListenToHandlers(a);
  },
  unstable_renderSubtreeIntoContainer: function unstable_renderSubtreeIntoContainer(a, b, c, d) {
    bj(c) ? void 0 : x("200");
    null == a || void 0 === a._reactInternalFiber ? x("38") : void 0;
    return dj(a, b, c, !1, d);
  },
  unmountComponentAtNode: function unmountComponentAtNode(a) {
    bj(a) ? void 0 : x("40");
    return a._reactRootContainer ? (Ti(function () {
      dj(null, null, a, !1, function () {
        a._reactRootContainer = null;
      });
    }), !0) : !1;
  },
  unstable_createPortal: function unstable_createPortal() {
    return ej.apply(void 0, arguments);
  },
  unstable_batchedUpdates: Si,
  unstable_interactiveUpdates: Ui,
  flushSync: function flushSync(a, b) {
    V ? x("187") : void 0;
    var c = W;
    W = !0;

    try {
      return yi(a, b);
    } finally {
      W = c, ki(1073741823, !1);
    }
  },
  unstable_createRoot: fj,
  unstable_flushControlled: function unstable_flushControlled(a) {
    var b = W;
    W = !0;

    try {
      yi(a);
    } finally {
      (W = b) || V || ki(1073741823, !1);
    }
  },
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
    Events: [Ka, Ma, Na, Da.injectEventPluginsByName, qa, Ta, function (a) {
      za(a, Sa);
    }, Ib, Jb, Id, Fa]
  }
};

function fj(a, b) {
  bj(a) ? void 0 : x("299", "unstable_createRoot");
  return new aj(a, !0, null != b && !0 === b.hydrate);
}

(function (a) {
  var b = a.findFiberByHostInstance;
  return Ze(n({}, a, {
    overrideProps: null,
    currentDispatcherRef: Yb.ReactCurrentDispatcher,
    findHostInstanceByFiber: function findHostInstanceByFiber(a) {
      a = md(a);
      return null === a ? null : a.stateNode;
    },
    findFiberByHostInstance: function findFiberByHostInstance(a) {
      return b ? b(a) : null;
    }
  }));
})({
  findFiberByHostInstance: Ja,
  bundleType: 0,
  version: "16.8.4",
  rendererPackageName: "react-dom"
});

var hj = {
  default: gj
},
    ij = hj && gj || hj;
module.exports = ij.default || ij;