Jhayase's picture
Update tokenizers
cafb8f5
(function() {
const t = document.createElement("link").relList;
if (t && t.supports && t.supports("modulepreload")) return;
for (const l of document.querySelectorAll('link[rel="modulepreload"]')) r(l);
new MutationObserver(l => {
for (const o of l)
if (o.type === "childList")
for (const u of o.addedNodes) u.tagName === "LINK" && u.rel === "modulepreload" && r(u)
}).observe(document, {
childList: !0,
subtree: !0
});
function n(l) {
const o = {};
return l.integrity && (o.integrity = l.integrity), l.referrerPolicy && (o.referrerPolicy = l.referrerPolicy), l.crossOrigin === "use-credentials" ? o.credentials = "include" : l.crossOrigin === "anonymous" ? o.credentials = "omit" : o.credentials = "same-origin", o
}
function r(l) {
if (l.ep) return;
l.ep = !0;
const o = n(l);
fetch(l.href, o)
}
})();
function lc(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e
}
var Qi = {
exports: {}
},
el = {},
Ki = {
exports: {}
},
T = {};
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Yn = Symbol.for("react.element"),
oc = Symbol.for("react.portal"),
uc = Symbol.for("react.fragment"),
ic = Symbol.for("react.strict_mode"),
sc = Symbol.for("react.profiler"),
ac = Symbol.for("react.provider"),
cc = Symbol.for("react.context"),
fc = Symbol.for("react.forward_ref"),
dc = Symbol.for("react.suspense"),
pc = Symbol.for("react.memo"),
mc = Symbol.for("react.lazy"),
Du = Symbol.iterator;
function hc(e) {
return e === null || typeof e != "object" ? null : (e = Du && e[Du] || e["@@iterator"], typeof e == "function" ? e : null)
}
var Xi = {
isMounted: function() {
return !1
},
enqueueForceUpdate: function() {},
enqueueReplaceState: function() {},
enqueueSetState: function() {}
},
Yi = Object.assign,
Gi = {};
function ln(e, t, n) {
this.props = e, this.context = t, this.refs = Gi, this.updater = n || Xi
}
ln.prototype.isReactComponent = {};
ln.prototype.setState = function(e, t) {
if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, e, t, "setState")
};
ln.prototype.forceUpdate = function(e) {
this.updater.enqueueForceUpdate(this, e, "forceUpdate")
};
function Zi() {}
Zi.prototype = ln.prototype;
function Vo(e, t, n) {
this.props = e, this.context = t, this.refs = Gi, this.updater = n || Xi
}
var Ao = Vo.prototype = new Zi;
Ao.constructor = Vo;
Yi(Ao, ln.prototype);
Ao.isPureReactComponent = !0;
var Iu = Array.isArray,
Ji = Object.prototype.hasOwnProperty,
Bo = {
current: null
},
qi = {
key: !0,
ref: !0,
__self: !0,
__source: !0
};
function bi(e, t, n) {
var r, l = {},
o = null,
u = null;
if (t != null)
for (r in t.ref !== void 0 && (u = t.ref), t.key !== void 0 && (o = "" + t.key), t) Ji.call(t, r) && !qi.hasOwnProperty(r) && (l[r] = t[r]);
var i = arguments.length - 2;
if (i === 1) l.children = n;
else if (1 < i) {
for (var s = Array(i), f = 0; f < i; f++) s[f] = arguments[f + 2];
l.children = s
}
if (e && e.defaultProps)
for (r in i = e.defaultProps, i) l[r] === void 0 && (l[r] = i[r]);
return {
$$typeof: Yn,
type: e,
key: o,
ref: u,
props: l,
_owner: Bo.current
}
}
function vc(e, t) {
return {
$$typeof: Yn,
type: e.type,
key: t,
ref: e.ref,
props: e.props,
_owner: e._owner
}
}
function Ho(e) {
return typeof e == "object" && e !== null && e.$$typeof === Yn
}
function yc(e) {
var t = {
"=": "=0",
":": "=2"
};
return "$" + e.replace(/[=:]/g, function(n) {
return t[n]
})
}
var Fu = /\/+/g;
function wl(e, t) {
return typeof e == "object" && e !== null && e.key != null ? yc("" + e.key) : t.toString(36)
}
function gr(e, t, n, r, l) {
var o = typeof e;
(o === "undefined" || o === "boolean") && (e = null);
var u = !1;
if (e === null) u = !0;
else switch (o) {
case "string":
case "number":
u = !0;
break;
case "object":
switch (e.$$typeof) {
case Yn:
case oc:
u = !0
}
}
if (u) return u = e, l = l(u), e = r === "" ? "." + wl(u, 0) : r, Iu(l) ? (n = "", e != null && (n = e.replace(Fu, "$&/") + "/"), gr(l, t, n, "", function(f) {
return f
})) : l != null && (Ho(l) && (l = vc(l, n + (!l.key || u && u.key === l.key ? "" : ("" + l.key).replace(Fu, "$&/") + "/") + e)), t.push(l)), 1;
if (u = 0, r = r === "" ? "." : r + ":", Iu(e))
for (var i = 0; i < e.length; i++) {
o = e[i];
var s = r + wl(o, i);
u += gr(o, t, n, s, l)
} else if (s = hc(e), typeof s == "function")
for (e = s.call(e), i = 0; !(o = e.next()).done;) o = o.value, s = r + wl(o, i++), u += gr(o, t, n, s, l);
else if (o === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
return u
}
function tr(e, t, n) {
if (e == null) return e;
var r = [],
l = 0;
return gr(e, r, "", "", function(o) {
return t.call(n, o, l++)
}), r
}
function gc(e) {
if (e._status === -1) {
var t = e._result;
t = t(), t.then(function(n) {
(e._status === 0 || e._status === -1) && (e._status = 1, e._result = n)
}, function(n) {
(e._status === 0 || e._status === -1) && (e._status = 2, e._result = n)
}), e._status === -1 && (e._status = 0, e._result = t)
}
if (e._status === 1) return e._result.default;
throw e._result
}
var se = {
current: null
},
wr = {
transition: null
},
wc = {
ReactCurrentDispatcher: se,
ReactCurrentBatchConfig: wr,
ReactCurrentOwner: Bo
};
function es() {
throw Error("act(...) is not supported in production builds of React.")
}
T.Children = {
map: tr,
forEach: function(e, t, n) {
tr(e, function() {
t.apply(this, arguments)
}, n)
},
count: function(e) {
var t = 0;
return tr(e, function() {
t++
}), t
},
toArray: function(e) {
return tr(e, function(t) {
return t
}) || []
},
only: function(e) {
if (!Ho(e)) throw Error("React.Children.only expected to receive a single React element child.");
return e
}
};
T.Component = ln;
T.Fragment = uc;
T.Profiler = sc;
T.PureComponent = Vo;
T.StrictMode = ic;
T.Suspense = dc;
T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = wc;
T.act = es;
T.cloneElement = function(e, t, n) {
if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
var r = Yi({}, e.props),
l = e.key,
o = e.ref,
u = e._owner;
if (t != null) {
if (t.ref !== void 0 && (o = t.ref, u = Bo.current), t.key !== void 0 && (l = "" + t.key), e.type && e.type.defaultProps) var i = e.type.defaultProps;
for (s in t) Ji.call(t, s) && !qi.hasOwnProperty(s) && (r[s] = t[s] === void 0 && i !== void 0 ? i[s] : t[s])
}
var s = arguments.length - 2;
if (s === 1) r.children = n;
else if (1 < s) {
i = Array(s);
for (var f = 0; f < s; f++) i[f] = arguments[f + 2];
r.children = i
}
return {
$$typeof: Yn,
type: e.type,
key: l,
ref: o,
props: r,
_owner: u
}
};
T.createContext = function(e) {
return e = {
$$typeof: cc,
_currentValue: e,
_currentValue2: e,
_threadCount: 0,
Provider: null,
Consumer: null,
_defaultValue: null,
_globalName: null
}, e.Provider = {
$$typeof: ac,
_context: e
}, e.Consumer = e
};
T.createElement = bi;
T.createFactory = function(e) {
var t = bi.bind(null, e);
return t.type = e, t
};
T.createRef = function() {
return {
current: null
}
};
T.forwardRef = function(e) {
return {
$$typeof: fc,
render: e
}
};
T.isValidElement = Ho;
T.lazy = function(e) {
return {
$$typeof: mc,
_payload: {
_status: -1,
_result: e
},
_init: gc
}
};
T.memo = function(e, t) {
return {
$$typeof: pc,
type: e,
compare: t === void 0 ? null : t
}
};
T.startTransition = function(e) {
var t = wr.transition;
wr.transition = {};
try {
e()
} finally {
wr.transition = t
}
};
T.unstable_act = es;
T.useCallback = function(e, t) {
return se.current.useCallback(e, t)
};
T.useContext = function(e) {
return se.current.useContext(e)
};
T.useDebugValue = function() {};
T.useDeferredValue = function(e) {
return se.current.useDeferredValue(e)
};
T.useEffect = function(e, t) {
return se.current.useEffect(e, t)
};
T.useId = function() {
return se.current.useId()
};
T.useImperativeHandle = function(e, t, n) {
return se.current.useImperativeHandle(e, t, n)
};
T.useInsertionEffect = function(e, t) {
return se.current.useInsertionEffect(e, t)
};
T.useLayoutEffect = function(e, t) {
return se.current.useLayoutEffect(e, t)
};
T.useMemo = function(e, t) {
return se.current.useMemo(e, t)
};
T.useReducer = function(e, t, n) {
return se.current.useReducer(e, t, n)
};
T.useRef = function(e) {
return se.current.useRef(e)
};
T.useState = function(e) {
return se.current.useState(e)
};
T.useSyncExternalStore = function(e, t, n) {
return se.current.useSyncExternalStore(e, t, n)
};
T.useTransition = function() {
return se.current.useTransition()
};
T.version = "18.3.1";
Ki.exports = T;
var Z = Ki.exports;
const kc = lc(Z);
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Sc = Z,
xc = Symbol.for("react.element"),
Ec = Symbol.for("react.fragment"),
Cc = Object.prototype.hasOwnProperty,
_c = Sc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
Nc = {
key: !0,
ref: !0,
__self: !0,
__source: !0
};
function ts(e, t, n) {
var r, l = {},
o = null,
u = null;
n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (u = t.ref);
for (r in t) Cc.call(t, r) && !Nc.hasOwnProperty(r) && (l[r] = t[r]);
if (e && e.defaultProps)
for (r in t = e.defaultProps, t) l[r] === void 0 && (l[r] = t[r]);
return {
$$typeof: xc,
type: e,
key: o,
ref: u,
props: l,
_owner: _c.current
}
}
el.Fragment = Ec;
el.jsx = ts;
el.jsxs = ts;
Qi.exports = el;
var R = Qi.exports,
Kl = {},
ns = {
exports: {}
},
we = {},
rs = {
exports: {}
},
ls = {};
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
(function(e) {
function t(_, P) {
var z = _.length;
_.push(P);
e: for (; 0 < z;) {
var W = z - 1 >>> 1,
G = _[W];
if (0 < l(G, P)) _[W] = P, _[z] = G, z = W;
else break e
}
}
function n(_) {
return _.length === 0 ? null : _[0]
}
function r(_) {
if (_.length === 0) return null;
var P = _[0],
z = _.pop();
if (z !== P) {
_[0] = z;
e: for (var W = 0, G = _.length, bn = G >>> 1; W < bn;) {
var vt = 2 * (W + 1) - 1,
gl = _[vt],
yt = vt + 1,
er = _[yt];
if (0 > l(gl, z)) yt < G && 0 > l(er, gl) ? (_[W] = er, _[yt] = z, W = yt) : (_[W] = gl, _[vt] = z, W = vt);
else if (yt < G && 0 > l(er, z)) _[W] = er, _[yt] = z, W = yt;
else break e
}
}
return P
}
function l(_, P) {
var z = _.sortIndex - P.sortIndex;
return z !== 0 ? z : _.id - P.id
}
if (typeof performance == "object" && typeof performance.now == "function") {
var o = performance;
e.unstable_now = function() {
return o.now()
}
} else {
var u = Date,
i = u.now();
e.unstable_now = function() {
return u.now() - i
}
}
var s = [],
f = [],
h = 1,
m = null,
p = 3,
g = !1,
w = !1,
S = !1,
M = typeof setTimeout == "function" ? setTimeout : null,
c = typeof clearTimeout == "function" ? clearTimeout : null,
a = typeof setImmediate < "u" ? setImmediate : null;
typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
function d(_) {
for (var P = n(f); P !== null;) {
if (P.callback === null) r(f);
else if (P.startTime <= _) r(f), P.sortIndex = P.expirationTime, t(s, P);
else break;
P = n(f)
}
}
function v(_) {
if (S = !1, d(_), !w)
if (n(s) !== null) w = !0, vl(E);
else {
var P = n(f);
P !== null && yl(v, P.startTime - _)
}
}
function E(_, P) {
w = !1, S && (S = !1, c(x), x = -1), g = !0;
var z = p;
try {
for (d(P), m = n(s); m !== null && (!(m.expirationTime > P) || _ && !Pe());) {
var W = m.callback;
if (typeof W == "function") {
m.callback = null, p = m.priorityLevel;
var G = W(m.expirationTime <= P);
P = e.unstable_now(), typeof G == "function" ? m.callback = G : m === n(s) && r(s), d(P)
} else r(s);
m = n(s)
}
if (m !== null) var bn = !0;
else {
var vt = n(f);
vt !== null && yl(v, vt.startTime - P), bn = !1
}
return bn
} finally {
m = null, p = z, g = !1
}
}
var N = !1,
k = null,
x = -1,
U = 5,
L = -1;
function Pe() {
return !(e.unstable_now() - L < U)
}
function sn() {
if (k !== null) {
var _ = e.unstable_now();
L = _;
var P = !0;
try {
P = k(!0, _)
} finally {
P ? an() : (N = !1, k = null)
}
} else N = !1
}
var an;
if (typeof a == "function") an = function() {
a(sn)
};
else if (typeof MessageChannel < "u") {
var Mu = new MessageChannel,
rc = Mu.port2;
Mu.port1.onmessage = sn, an = function() {
rc.postMessage(null)
}
} else an = function() {
M(sn, 0)
};
function vl(_) {
k = _, N || (N = !0, an())
}
function yl(_, P) {
x = M(function() {
_(e.unstable_now())
}, P)
}
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(_) {
_.callback = null
}, e.unstable_continueExecution = function() {
w || g || (w = !0, vl(E))
}, e.unstable_forceFrameRate = function(_) {
0 > _ || 125 < _ ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : U = 0 < _ ? Math.floor(1e3 / _) : 5
}, e.unstable_getCurrentPriorityLevel = function() {
return p
}, e.unstable_getFirstCallbackNode = function() {
return n(s)
}, e.unstable_next = function(_) {
switch (p) {
case 1:
case 2:
case 3:
var P = 3;
break;
default:
P = p
}
var z = p;
p = P;
try {
return _()
} finally {
p = z
}
}, e.unstable_pauseExecution = function() {}, e.unstable_requestPaint = function() {}, e.unstable_runWithPriority = function(_, P) {
switch (_) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
_ = 3
}
var z = p;
p = _;
try {
return P()
} finally {
p = z
}
}, e.unstable_scheduleCallback = function(_, P, z) {
var W = e.unstable_now();
switch (typeof z == "object" && z !== null ? (z = z.delay, z = typeof z == "number" && 0 < z ? W + z : W) : z = W, _) {
case 1:
var G = -1;
break;
case 2:
G = 250;
break;
case 5:
G = 1073741823;
break;
case 4:
G = 1e4;
break;
default:
G = 5e3
}
return G = z + G, _ = {
id: h++,
callback: P,
priorityLevel: _,
startTime: z,
expirationTime: G,
sortIndex: -1
}, z > W ? (_.sortIndex = z, t(f, _), n(s) === null && _ === n(f) && (S ? (c(x), x = -1) : S = !0, yl(v, z - W))) : (_.sortIndex = G, t(s, _), w || g || (w = !0, vl(E))), _
}, e.unstable_shouldYield = Pe, e.unstable_wrapCallback = function(_) {
var P = p;
return function() {
var z = p;
p = P;
try {
return _.apply(this, arguments)
} finally {
p = z
}
}
}
})(ls);
rs.exports = ls;
var Pc = rs.exports;
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var zc = Z,
ge = Pc;
function y(e) {
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
}
var os = new Set,
Rn = {};
function Lt(e, t) {
Jt(e, t), Jt(e + "Capture", t)
}
function Jt(e, t) {
for (Rn[e] = t, e = 0; e < t.length; e++) os.add(t[e])
}
var Qe = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"),
Xl = Object.prototype.hasOwnProperty,
Tc = /^[: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]*$/,
Uu = {},
$u = {};
function Lc(e) {
return Xl.call($u, e) ? !0 : Xl.call(Uu, e) ? !1 : Tc.test(e) ? $u[e] = !0 : (Uu[e] = !0, !1)
}
function Rc(e, t, n, r) {
if (n !== null && n.type === 0) return !1;
switch (typeof t) {
case "function":
case "symbol":
return !0;
case "boolean":
return r ? !1 : n !== null ? !n.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-");
default:
return !1
}
}
function Oc(e, t, n, r) {
if (t === null || typeof t > "u" || Rc(e, t, n, r)) return !0;
if (r) return !1;
if (n !== null) switch (n.type) {
case 3:
return !t;
case 4:
return t === !1;
case 5:
return isNaN(t);
case 6:
return isNaN(t) || 1 > t
}
return !1
}
function ae(e, t, n, r, l, o, u) {
this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = l, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = u
}
var te = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) {
te[e] = new ae(e, 0, !1, e, null, !1, !1)
});
[
["acceptCharset", "accept-charset"],
["className", "class"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"]
].forEach(function(e) {
var t = e[0];
te[t] = new ae(t, 1, !1, e[1], null, !1, !1)
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
te[e] = new ae(e, 2, !1, e.toLowerCase(), null, !1, !1)
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
te[e] = new ae(e, 2, !1, e, null, !1, !1)
});
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) {
te[e] = new ae(e, 3, !1, e.toLowerCase(), null, !1, !1)
});
["checked", "multiple", "muted", "selected"].forEach(function(e) {
te[e] = new ae(e, 3, !0, e, null, !1, !1)
});
["capture", "download"].forEach(function(e) {
te[e] = new ae(e, 4, !1, e, null, !1, !1)
});
["cols", "rows", "size", "span"].forEach(function(e) {
te[e] = new ae(e, 6, !1, e, null, !1, !1)
});
["rowSpan", "start"].forEach(function(e) {
te[e] = new ae(e, 5, !1, e.toLowerCase(), null, !1, !1)
});
var Wo = /[\-:]([a-z])/g;
function Qo(e) {
return e[1].toUpperCase()
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) {
var t = e.replace(Wo, Qo);
te[t] = new ae(t, 1, !1, e, null, !1, !1)
});
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) {
var t = e.replace(Wo, Qo);
te[t] = new ae(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1)
});
["xml:base", "xml:lang", "xml:space"].forEach(function(e) {
var t = e.replace(Wo, Qo);
te[t] = new ae(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1)
});
["tabIndex", "crossOrigin"].forEach(function(e) {
te[e] = new ae(e, 1, !1, e.toLowerCase(), null, !1, !1)
});
te.xlinkHref = new ae("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
["src", "href", "action", "formAction"].forEach(function(e) {
te[e] = new ae(e, 1, !1, e.toLowerCase(), null, !0, !0)
});
function Ko(e, t, n, r) {
var l = te.hasOwnProperty(t) ? te[t] : null;
(l !== null ? l.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (Oc(t, n, l, r) && (n = null), r || l === null ? Lc(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : l.mustUseProperty ? e[l.propertyName] = n === null ? l.type === 3 ? !1 : "" : n : (t = l.attributeName, r = l.attributeNamespace, n === null ? e.removeAttribute(t) : (l = l.type, n = l === 3 || l === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))))
}
var Ge = zc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
nr = Symbol.for("react.element"),
jt = Symbol.for("react.portal"),
Mt = Symbol.for("react.fragment"),
Xo = Symbol.for("react.strict_mode"),
Yl = Symbol.for("react.profiler"),
us = Symbol.for("react.provider"),
is = Symbol.for("react.context"),
Yo = Symbol.for("react.forward_ref"),
Gl = Symbol.for("react.suspense"),
Zl = Symbol.for("react.suspense_list"),
Go = Symbol.for("react.memo"),
Je = Symbol.for("react.lazy"),
ss = Symbol.for("react.offscreen"),
Vu = Symbol.iterator;
function cn(e) {
return e === null || typeof e != "object" ? null : (e = Vu && e[Vu] || e["@@iterator"], typeof e == "function" ? e : null)
}
var B = Object.assign,
kl;
function gn(e) {
if (kl === void 0) try {
throw Error()
} catch (n) {
var t = n.stack.trim().match(/\n( *(at )?)/);
kl = t && t[1] || ""
}
return `
` + kl + e
}
var Sl = !1;
function xl(e, t) {
if (!e || Sl) return "";
Sl = !0;
var n = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
if (t)
if (t = function() {
throw Error()
}, Object.defineProperty(t.prototype, "props", {
set: function() {
throw Error()
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(t, [])
} catch (f) {
var r = f
}
Reflect.construct(e, [], t)
} else {
try {
t.call()
} catch (f) {
r = f
}
e.call(t.prototype)
}
else {
try {
throw Error()
} catch (f) {
r = f
}
e()
}
} catch (f) {
if (f && r && typeof f.stack == "string") {
for (var l = f.stack.split(`
`), o = r.stack.split(`
`), u = l.length - 1, i = o.length - 1; 1 <= u && 0 <= i && l[u] !== o[i];) i--;
for (; 1 <= u && 0 <= i; u--, i--)
if (l[u] !== o[i]) {
if (u !== 1 || i !== 1)
do
if (u--, i--, 0 > i || l[u] !== o[i]) {
var s = `
` + l[u].replace(" at new ", " at ");
return e.displayName && s.includes("<anonymous>") && (s = s.replace("<anonymous>", e.displayName)), s
} while (1 <= u && 0 <= i);
break
}
}
} finally {
Sl = !1, Error.prepareStackTrace = n
}
return (e = e ? e.displayName || e.name : "") ? gn(e) : ""
}
function jc(e) {
switch (e.tag) {
case 5:
return gn(e.type);
case 16:
return gn("Lazy");
case 13:
return gn("Suspense");
case 19:
return gn("SuspenseList");
case 0:
case 2:
case 15:
return e = xl(e.type, !1), e;
case 11:
return e = xl(e.type.render, !1), e;
case 1:
return e = xl(e.type, !0), e;
default:
return ""
}
}
function Jl(e) {
if (e == null) return null;
if (typeof e == "function") return e.displayName || e.name || null;
if (typeof e == "string") return e;
switch (e) {
case Mt:
return "Fragment";
case jt:
return "Portal";
case Yl:
return "Profiler";
case Xo:
return "StrictMode";
case Gl:
return "Suspense";
case Zl:
return "SuspenseList"
}
if (typeof e == "object") switch (e.$$typeof) {
case is:
return (e.displayName || "Context") + ".Consumer";
case us:
return (e._context.displayName || "Context") + ".Provider";
case Yo:
var t = e.render;
return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
case Go:
return t = e.displayName || null, t !== null ? t : Jl(e.type) || "Memo";
case Je:
t = e._payload, e = e._init;
try {
return Jl(e(t))
} catch {}
}
return null
}
function Mc(e) {
var t = e.type;
switch (e.tag) {
case 24:
return "Cache";
case 9:
return (t.displayName || "Context") + ".Consumer";
case 10:
return (t._context.displayName || "Context") + ".Provider";
case 18:
return "DehydratedFragment";
case 11:
return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef");
case 7:
return "Fragment";
case 5:
return t;
case 4:
return "Portal";
case 3:
return "Root";
case 6:
return "Text";
case 16:
return Jl(t);
case 8:
return t === Xo ? "StrictMode" : "Mode";
case 22:
return "Offscreen";
case 12:
return "Profiler";
case 21:
return "Scope";
case 13:
return "Suspense";
case 19:
return "SuspenseList";
case 25:
return "TracingMarker";
case 1:
case 0:
case 17:
case 2:
case 14:
case 15:
if (typeof t == "function") return t.displayName || t.name || null;
if (typeof t == "string") return t
}
return null
}
function ft(e) {
switch (typeof e) {
case "boolean":
case "number":
case "string":
case "undefined":
return e;
case "object":
return e;
default:
return ""
}
}
function as(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio")
}
function Dc(e) {
var t = as(e) ? "checked" : "value",
n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
r = "" + e[t];
if (!e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function") {
var l = n.get,
o = n.set;
return Object.defineProperty(e, t, {
configurable: !0,
get: function() {
return l.call(this)
},
set: function(u) {
r = "" + u, o.call(this, u)
}
}), Object.defineProperty(e, t, {
enumerable: n.enumerable
}), {
getValue: function() {
return r
},
setValue: function(u) {
r = "" + u
},
stopTracking: function() {
e._valueTracker = null, delete e[t]
}
}
}
}
function rr(e) {
e._valueTracker || (e._valueTracker = Dc(e))
}
function cs(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(),
r = "";
return e && (r = as(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n ? (t.setValue(e), !0) : !1
}
function Lr(e) {
if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null;
try {
return e.activeElement || e.body
} catch {
return e.body
}
}
function ql(e, t) {
var n = t.checked;
return B({}, t, {
defaultChecked: void 0,
defaultValue: void 0,
value: void 0,
checked: n ?? e._wrapperState.initialChecked
})
}
function Au(e, t) {
var n = t.defaultValue == null ? "" : t.defaultValue,
r = t.checked != null ? t.checked : t.defaultChecked;
n = ft(t.value != null ? t.value : n), e._wrapperState = {
initialChecked: r,
initialValue: n,
controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null
}
}
function fs(e, t) {
t = t.checked, t != null && Ko(e, "checked", t, !1)
}
function bl(e, t) {
fs(e, t);
var n = ft(t.value),
r = t.type;
if (n != null) r === "number" ? (n === 0 && e.value === "" || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n);
else if (r === "submit" || r === "reset") {
e.removeAttribute("value");
return
}
t.hasOwnProperty("value") ? eo(e, t.type, n) : t.hasOwnProperty("defaultValue") && eo(e, t.type, ft(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked)
}
function Bu(e, t, n) {
if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
var r = t.type;
if (!(r !== "submit" && r !== "reset" || t.value !== void 0 && t.value !== null)) return;
t = "" + e._wrapperState.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t
}
n = e.name, n !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, n !== "" && (e.name = n)
}
function eo(e, t, n) {
(t !== "number" || Lr(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n))
}
var wn = Array.isArray;
function Qt(e, t, n, r) {
if (e = e.options, t) {
t = {};
for (var l = 0; l < n.length; l++) t["$" + n[l]] = !0;
for (n = 0; n < e.length; n++) l = t.hasOwnProperty("$" + e[n].value), e[n].selected !== l && (e[n].selected = l), l && r && (e[n].defaultSelected = !0)
} else {
for (n = "" + ft(n), t = null, l = 0; l < e.length; l++) {
if (e[l].value === n) {
e[l].selected = !0, r && (e[l].defaultSelected = !0);
return
}
t !== null || e[l].disabled || (t = e[l])
}
t !== null && (t.selected = !0)
}
}
function to(e, t) {
if (t.dangerouslySetInnerHTML != null) throw Error(y(91));
return B({}, t, {
value: void 0,
defaultValue: void 0,
children: "" + e._wrapperState.initialValue
})
}
function Hu(e, t) {
var n = t.value;
if (n == null) {
if (n = t.children, t = t.defaultValue, n != null) {
if (t != null) throw Error(y(92));
if (wn(n)) {
if (1 < n.length) throw Error(y(93));
n = n[0]
}
t = n
}
t == null && (t = ""), n = t
}
e._wrapperState = {
initialValue: ft(n)
}
}
function ds(e, t) {
var n = ft(t.value),
r = ft(t.defaultValue);
n != null && (n = "" + n, n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r)
}
function Wu(e) {
var t = e.textContent;
t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t)
}
function ps(e) {
switch (e) {
case "svg":
return "http://www.w3.org/2000/svg";
case "math":
return "http://www.w3.org/1998/Math/MathML";
default:
return "http://www.w3.org/1999/xhtml"
}
}
function no(e, t) {
return e == null || e === "http://www.w3.org/1999/xhtml" ? ps(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e
}
var lr, ms = function(e) {
return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, n, r, l) {
MSApp.execUnsafeLocalFunction(function() {
return e(t, n, r, l)
})
} : e
}(function(e, t) {
if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t;
else {
for (lr = lr || document.createElement("div"), lr.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = lr.firstChild; e.firstChild;) e.removeChild(e.firstChild);
for (; t.firstChild;) e.appendChild(t.firstChild)
}
});
function On(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
n.nodeValue = t;
return
}
}
e.textContent = t
}
var xn = {
animationIterationCount: !0,
aspectRatio: !0,
borderImageOutset: !0,
borderImageSlice: !0,
borderImageWidth: !0,
boxFlex: !0,
boxFlexGroup: !0,
boxOrdinalGroup: !0,
columnCount: !0,
columns: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
gridArea: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
gridRowStart: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnSpan: !0,
gridColumnStart: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
floodOpacity: !0,
stopOpacity: !0,
strokeDasharray: !0,
strokeDashoffset: !0,
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0
},
Ic = ["Webkit", "ms", "Moz", "O"];
Object.keys(xn).forEach(function(e) {
Ic.forEach(function(t) {
t = t + e.charAt(0).toUpperCase() + e.substring(1), xn[t] = xn[e]
})
});
function hs(e, t, n) {
return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || xn.hasOwnProperty(e) && xn[e] ? ("" + t).trim() : t + "px"
}
function vs(e, t) {
e = e.style;
for (var n in t)
if (t.hasOwnProperty(n)) {
var r = n.indexOf("--") === 0,
l = hs(n, t[n], r);
n === "float" && (n = "cssFloat"), r ? e.setProperty(n, l) : e[n] = l
}
}
var Fc = B({
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 ro(e, t) {
if (t) {
if (Fc[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(y(137, e));
if (t.dangerouslySetInnerHTML != null) {
if (t.children != null) throw Error(y(60));
if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(y(61))
}
if (t.style != null && typeof t.style != "object") throw Error(y(62))
}
}
function lo(e, t) {
if (e.indexOf("-") === -1) return typeof t.is == "string";
switch (e) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0
}
}
var oo = null;
function Zo(e) {
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e
}
var uo = null,
Kt = null,
Xt = null;
function Qu(e) {
if (e = Jn(e)) {
if (typeof uo != "function") throw Error(y(280));
var t = e.stateNode;
t && (t = ol(t), uo(e.stateNode, e.type, t))
}
}
function ys(e) {
Kt ? Xt ? Xt.push(e) : Xt = [e] : Kt = e
}
function gs() {
if (Kt) {
var e = Kt,
t = Xt;
if (Xt = Kt = null, Qu(e), t)
for (e = 0; e < t.length; e++) Qu(t[e])
}
}
function ws(e, t) {
return e(t)
}
function ks() {}
var El = !1;
function Ss(e, t, n) {
if (El) return e(t, n);
El = !0;
try {
return ws(e, t, n)
} finally {
El = !1, (Kt !== null || Xt !== null) && (ks(), gs())
}
}
function jn(e, t) {
var n = e.stateNode;
if (n === null) return null;
var r = ol(n);
if (r === null) return null;
n = r[t];
e: switch (t) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
(r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r;
break e;
default:
e = !1
}
if (e) return null;
if (n && typeof n != "function") throw Error(y(231, t, typeof n));
return n
}
var io = !1;
if (Qe) try {
var fn = {};
Object.defineProperty(fn, "passive", {
get: function() {
io = !0
}
}), window.addEventListener("test", fn, fn), window.removeEventListener("test", fn, fn)
} catch {
io = !1
}
function Uc(e, t, n, r, l, o, u, i, s) {
var f = Array.prototype.slice.call(arguments, 3);
try {
t.apply(n, f)
} catch (h) {
this.onError(h)
}
}
var En = !1,
Rr = null,
Or = !1,
so = null,
$c = {
onError: function(e) {
En = !0, Rr = e
}
};
function Vc(e, t, n, r, l, o, u, i, s) {
En = !1, Rr = null, Uc.apply($c, arguments)
}
function Ac(e, t, n, r, l, o, u, i, s) {
if (Vc.apply(this, arguments), En) {
if (En) {
var f = Rr;
En = !1, Rr = null
} else throw Error(y(198));
Or || (Or = !0, so = f)
}
}
function Rt(e) {
var t = e,
n = e;
if (e.alternate)
for (; t.return;) t = t.return;
else {
e = t;
do t = e, t.flags & 4098 && (n = t.return), e = t.return; while (e)
}
return t.tag === 3 ? n : null
}
function xs(e) {
if (e.tag === 13) {
var t = e.memoizedState;
if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated
}
return null
}
function Ku(e) {
if (Rt(e) !== e) throw Error(y(188))
}
function Bc(e) {
var t = e.alternate;
if (!t) {
if (t = Rt(e), t === null) throw Error(y(188));
return t !== e ? null : e
}
for (var n = e, r = t;;) {
var l = n.return;
if (l === null) break;
var o = l.alternate;
if (o === null) {
if (r = l.return, r !== null) {
n = r;
continue
}
break
}
if (l.child === o.child) {
for (o = l.child; o;) {
if (o === n) return Ku(l), e;
if (o === r) return Ku(l), t;
o = o.sibling
}
throw Error(y(188))
}
if (n.return !== r.return) n = l, r = o;
else {
for (var u = !1, i = l.child; i;) {
if (i === n) {
u = !0, n = l, r = o;
break
}
if (i === r) {
u = !0, r = l, n = o;
break
}
i = i.sibling
}
if (!u) {
for (i = o.child; i;) {
if (i === n) {
u = !0, n = o, r = l;
break
}
if (i === r) {
u = !0, r = o, n = l;
break
}
i = i.sibling
}
if (!u) throw Error(y(189))
}
}
if (n.alternate !== r) throw Error(y(190))
}
if (n.tag !== 3) throw Error(y(188));
return n.stateNode.current === n ? e : t
}
function Es(e) {
return e = Bc(e), e !== null ? Cs(e) : null
}
function Cs(e) {
if (e.tag === 5 || e.tag === 6) return e;
for (e = e.child; e !== null;) {
var t = Cs(e);
if (t !== null) return t;
e = e.sibling
}
return null
}
var _s = ge.unstable_scheduleCallback,
Xu = ge.unstable_cancelCallback,
Hc = ge.unstable_shouldYield,
Wc = ge.unstable_requestPaint,
Q = ge.unstable_now,
Qc = ge.unstable_getCurrentPriorityLevel,
Jo = ge.unstable_ImmediatePriority,
Ns = ge.unstable_UserBlockingPriority,
jr = ge.unstable_NormalPriority,
Kc = ge.unstable_LowPriority,
Ps = ge.unstable_IdlePriority,
tl = null,
Ue = null;
function Xc(e) {
if (Ue && typeof Ue.onCommitFiberRoot == "function") try {
Ue.onCommitFiberRoot(tl, e, void 0, (e.current.flags & 128) === 128)
} catch {}
}
var Oe = Math.clz32 ? Math.clz32 : Zc,
Yc = Math.log,
Gc = Math.LN2;
function Zc(e) {
return e >>>= 0, e === 0 ? 32 : 31 - (Yc(e) / Gc | 0) | 0
}
var or = 64,
ur = 4194304;
function kn(e) {
switch (e & -e) {
case 1:
return 1;
case 2:
return 2;
case 4:
return 4;
case 8:
return 8;
case 16:
return 16;
case 32:
return 32;
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return e & 4194240;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return e & 130023424;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 1073741824;
default:
return e
}
}
function Mr(e, t) {
var n = e.pendingLanes;
if (n === 0) return 0;
var r = 0,
l = e.suspendedLanes,
o = e.pingedLanes,
u = n & 268435455;
if (u !== 0) {
var i = u & ~l;
i !== 0 ? r = kn(i) : (o &= u, o !== 0 && (r = kn(o)))
} else u = n & ~l, u !== 0 ? r = kn(u) : o !== 0 && (r = kn(o));
if (r === 0) return 0;
if (t !== 0 && t !== r && !(t & l) && (l = r & -r, o = t & -t, l >= o || l === 16 && (o & 4194240) !== 0)) return t;
if (r & 4 && (r |= n & 16), t = e.entangledLanes, t !== 0)
for (e = e.entanglements, t &= r; 0 < t;) n = 31 - Oe(t), l = 1 << n, r |= e[n], t &= ~l;
return r
}
function Jc(e, t) {
switch (e) {
case 1:
case 2:
case 4:
return t + 250;
case 8:
case 16:
case 32:
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
return t + 5e3;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
return -1;
case 134217728:
case 268435456:
case 536870912:
case 1073741824:
return -1;
default:
return -1
}
}
function qc(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, l = e.expirationTimes, o = e.pendingLanes; 0 < o;) {
var u = 31 - Oe(o),
i = 1 << u,
s = l[u];
s === -1 ? (!(i & n) || i & r) && (l[u] = Jc(i, t)) : s <= t && (e.expiredLanes |= i), o &= ~i
}
}
function ao(e) {
return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0
}
function zs() {
var e = or;
return or <<= 1, !(or & 4194240) && (or = 64), e
}
function Cl(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t
}
function Gn(e, t, n) {
e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - Oe(t), e[t] = n
}
function bc(e, t) {
var n = e.pendingLanes & ~t;
e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.entanglements;
var r = e.eventTimes;
for (e = e.expirationTimes; 0 < n;) {
var l = 31 - Oe(n),
o = 1 << l;
t[l] = 0, r[l] = -1, e[l] = -1, n &= ~o
}
}
function qo(e, t) {
var n = e.entangledLanes |= t;
for (e = e.entanglements; n;) {
var r = 31 - Oe(n),
l = 1 << r;
l & t | e[r] & t && (e[r] |= t), n &= ~l
}
}
var j = 0;
function Ts(e) {
return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1
}
var Ls, bo, Rs, Os, js, co = !1,
ir = [],
rt = null,
lt = null,
ot = null,
Mn = new Map,
Dn = new Map,
be = [],
ef = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
function Yu(e, t) {
switch (e) {
case "focusin":
case "focusout":
rt = null;
break;
case "dragenter":
case "dragleave":
lt = null;
break;
case "mouseover":
case "mouseout":
ot = null;
break;
case "pointerover":
case "pointerout":
Mn.delete(t.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
Dn.delete(t.pointerId)
}
}
function dn(e, t, n, r, l, o) {
return e === null || e.nativeEvent !== o ? (e = {
blockedOn: t,
domEventName: n,
eventSystemFlags: r,
nativeEvent: o,
targetContainers: [l]
}, t !== null && (t = Jn(t), t !== null && bo(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, l !== null && t.indexOf(l) === -1 && t.push(l), e)
}
function tf(e, t, n, r, l) {
switch (t) {
case "focusin":
return rt = dn(rt, e, t, n, r, l), !0;
case "dragenter":
return lt = dn(lt, e, t, n, r, l), !0;
case "mouseover":
return ot = dn(ot, e, t, n, r, l), !0;
case "pointerover":
var o = l.pointerId;
return Mn.set(o, dn(Mn.get(o) || null, e, t, n, r, l)), !0;
case "gotpointercapture":
return o = l.pointerId, Dn.set(o, dn(Dn.get(o) || null, e, t, n, r, l)), !0
}
return !1
}
function Ms(e) {
var t = kt(e.target);
if (t !== null) {
var n = Rt(t);
if (n !== null) {
if (t = n.tag, t === 13) {
if (t = xs(n), t !== null) {
e.blockedOn = t, js(e.priority, function() {
Rs(n)
});
return
}
} else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {
e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;
return
}
}
}
e.blockedOn = null
}
function kr(e) {
if (e.blockedOn !== null) return !1;
for (var t = e.targetContainers; 0 < t.length;) {
var n = fo(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
oo = r, n.target.dispatchEvent(r), oo = null
} else return t = Jn(n), t !== null && bo(t), e.blockedOn = n, !1;
t.shift()
}
return !0
}
function Gu(e, t, n) {
kr(e) && n.delete(t)
}
function nf() {
co = !1, rt !== null && kr(rt) && (rt = null), lt !== null && kr(lt) && (lt = null), ot !== null && kr(ot) && (ot = null), Mn.forEach(Gu), Dn.forEach(Gu)
}
function pn(e, t) {
e.blockedOn === t && (e.blockedOn = null, co || (co = !0, ge.unstable_scheduleCallback(ge.unstable_NormalPriority, nf)))
}
function In(e) {
function t(l) {
return pn(l, e)
}
if (0 < ir.length) {
pn(ir[0], e);
for (var n = 1; n < ir.length; n++) {
var r = ir[n];
r.blockedOn === e && (r.blockedOn = null)
}
}
for (rt !== null && pn(rt, e), lt !== null && pn(lt, e), ot !== null && pn(ot, e), Mn.forEach(t), Dn.forEach(t), n = 0; n < be.length; n++) r = be[n], r.blockedOn === e && (r.blockedOn = null);
for (; 0 < be.length && (n = be[0], n.blockedOn === null);) Ms(n), n.blockedOn === null && be.shift()
}
var Yt = Ge.ReactCurrentBatchConfig,
Dr = !0;
function rf(e, t, n, r) {
var l = j,
o = Yt.transition;
Yt.transition = null;
try {
j = 1, eu(e, t, n, r)
} finally {
j = l, Yt.transition = o
}
}
function lf(e, t, n, r) {
var l = j,
o = Yt.transition;
Yt.transition = null;
try {
j = 4, eu(e, t, n, r)
} finally {
j = l, Yt.transition = o
}
}
function eu(e, t, n, r) {
if (Dr) {
var l = fo(e, t, n, r);
if (l === null) Ml(e, t, r, Ir, n), Yu(e, r);
else if (tf(l, e, t, n, r)) r.stopPropagation();
else if (Yu(e, r), t & 4 && -1 < ef.indexOf(e)) {
for (; l !== null;) {
var o = Jn(l);
if (o !== null && Ls(o), o = fo(e, t, n, r), o === null && Ml(e, t, r, Ir, n), o === l) break;
l = o
}
l !== null && r.stopPropagation()
} else Ml(e, t, r, null, n)
}
}
var Ir = null;
function fo(e, t, n, r) {
if (Ir = null, e = Zo(r), e = kt(e), e !== null)
if (t = Rt(e), t === null) e = null;
else if (n = t.tag, n === 13) {
if (e = xs(t), e !== null) return e;
e = null
} else if (n === 3) {
if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;
e = null
} else t !== e && (e = null);
return Ir = e, null
}
function Ds(e) {
switch (e) {
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "auxclick":
case "dblclick":
case "dragend":
case "dragstart":
case "drop":
case "focusin":
case "focusout":
case "input":
case "invalid":
case "keydown":
case "keypress":
case "keyup":
case "mousedown":
case "mouseup":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "ratechange":
case "reset":
case "resize":
case "seeked":
case "submit":
case "touchcancel":
case "touchend":
case "touchstart":
case "volumechange":
case "change":
case "selectionchange":
case "textInput":
case "compositionstart":
case "compositionend":
case "compositionupdate":
case "beforeblur":
case "afterblur":
case "beforeinput":
case "blur":
case "fullscreenchange":
case "focus":
case "hashchange":
case "popstate":
case "select":
case "selectstart":
return 1;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "mousemove":
case "mouseout":
case "mouseover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "toggle":
case "touchmove":
case "wheel":
case "mouseenter":
case "mouseleave":
case "pointerenter":
case "pointerleave":
return 4;
case "message":
switch (Qc()) {
case Jo:
return 1;
case Ns:
return 4;
case jr:
case Kc:
return 16;
case Ps:
return 536870912;
default:
return 16
}
default:
return 16
}
}
var tt = null,
tu = null,
Sr = null;
function Is() {
if (Sr) return Sr;
var e, t = tu,
n = t.length,
r, l = "value" in tt ? tt.value : tt.textContent,
o = l.length;
for (e = 0; e < n && t[e] === l[e]; e++);
var u = n - e;
for (r = 1; r <= u && t[n - r] === l[o - r]; r++);
return Sr = l.slice(e, 1 < r ? 1 - r : void 0)
}
function xr(e) {
var t = e.keyCode;
return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0
}
function sr() {
return !0
}
function Zu() {
return !1
}
function ke(e) {
function t(n, r, l, o, u) {
this._reactName = n, this._targetInst = l, this.type = r, this.nativeEvent = o, this.target = u, this.currentTarget = null;
for (var i in e) e.hasOwnProperty(i) && (n = e[i], this[i] = n ? n(o) : o[i]);
return this.isDefaultPrevented = (o.defaultPrevented != null ? o.defaultPrevented : o.returnValue === !1) ? sr : Zu, this.isPropagationStopped = Zu, this
}
return B(t.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var n = this.nativeEvent;
n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), this.isDefaultPrevented = sr)
},
stopPropagation: function() {
var n = this.nativeEvent;
n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), this.isPropagationStopped = sr)
},
persist: function() {},
isPersistent: sr
}), t
}
var on = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
timeStamp: function(e) {
return e.timeStamp || Date.now()
},
defaultPrevented: 0,
isTrusted: 0
},
nu = ke(on),
Zn = B({}, on, {
view: 0,
detail: 0
}),
of = ke(Zn),
_l, Nl, mn, nl = B({}, Zn, {
screenX: 0,
screenY: 0,
clientX: 0,
clientY: 0,
pageX: 0,
pageY: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
getModifierState: ru,
button: 0,
buttons: 0,
relatedTarget: function(e) {
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget
},
movementX: function(e) {
return "movementX" in e ? e.movementX : (e !== mn && (mn && e.type === "mousemove" ? (_l = e.screenX - mn.screenX, Nl = e.screenY - mn.screenY) : Nl = _l = 0, mn = e), _l)
},
movementY: function(e) {
return "movementY" in e ? e.movementY : Nl
}
}),
Ju = ke(nl),
uf = B({}, nl, {
dataTransfer: 0
}),
sf = ke(uf),
af = B({}, Zn, {
relatedTarget: 0
}),
Pl = ke(af),
cf = B({}, on, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
}),
ff = ke(cf),
df = B({}, on, {
clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData
}
}),
pf = ke(df),
mf = B({}, on, {
data: 0
}),
qu = ke(mf),
hf = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
},
vf = {
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"
},
yf = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
function gf(e) {
var t = this.nativeEvent;
return t.getModifierState ? t.getModifierState(e) : (e = yf[e]) ? !!t[e] : !1
}
function ru() {
return gf
}
var wf = B({}, Zn, {
key: function(e) {
if (e.key) {
var t = hf[e.key] || e.key;
if (t !== "Unidentified") return t
}
return e.type === "keypress" ? (e = xr(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? vf[e.keyCode] || "Unidentified" : ""
},
code: 0,
location: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
repeat: 0,
locale: 0,
getModifierState: ru,
charCode: function(e) {
return e.type === "keypress" ? xr(e) : 0
},
keyCode: function(e) {
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0
},
which: function(e) {
return e.type === "keypress" ? xr(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0
}
}),
kf = ke(wf),
Sf = B({}, nl, {
pointerId: 0,
width: 0,
height: 0,
pressure: 0,
tangentialPressure: 0,
tiltX: 0,
tiltY: 0,
twist: 0,
pointerType: 0,
isPrimary: 0
}),
bu = ke(Sf),
xf = B({}, Zn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
altKey: 0,
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
getModifierState: ru
}),
Ef = ke(xf),
Cf = B({}, on, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
}),
_f = ke(Cf),
Nf = B({}, nl, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0
},
deltaY: function(e) {
return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0
},
deltaZ: 0,
deltaMode: 0
}),
Pf = ke(Nf),
zf = [9, 13, 27, 32],
lu = Qe && "CompositionEvent" in window,
Cn = null;
Qe && "documentMode" in document && (Cn = document.documentMode);
var Tf = Qe && "TextEvent" in window && !Cn,
Fs = Qe && (!lu || Cn && 8 < Cn && 11 >= Cn),
ei = " ",
ti = !1;
function Us(e, t) {
switch (e) {
case "keyup":
return zf.indexOf(t.keyCode) !== -1;
case "keydown":
return t.keyCode !== 229;
case "keypress":
case "mousedown":
case "focusout":
return !0;
default:
return !1
}
}
function $s(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null
}
var Dt = !1;
function Lf(e, t) {
switch (e) {
case "compositionend":
return $s(t);
case "keypress":
return t.which !== 32 ? null : (ti = !0, ei);
case "textInput":
return e = t.data, e === ei && ti ? null : e;
default:
return null
}
}
function Rf(e, t) {
if (Dt) return e === "compositionend" || !lu && Us(e, t) ? (e = Is(), Sr = tu = tt = null, Dt = !1, e) : null;
switch (e) {
case "paste":
return null;
case "keypress":
if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
if (t.char && 1 < t.char.length) return t.char;
if (t.which) return String.fromCharCode(t.which)
}
return null;
case "compositionend":
return Fs && t.locale !== "ko" ? null : t.data;
default:
return null
}
}
var Of = {
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 ni(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return t === "input" ? !!Of[e.type] : t === "textarea"
}
function Vs(e, t, n, r) {
ys(r), t = Fr(t, "onChange"), 0 < t.length && (n = new nu("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}))
}
var _n = null,
Fn = null;
function jf(e) {
Js(e, 0)
}
function rl(e) {
var t = Ut(e);
if (cs(t)) return e
}
function Mf(e, t) {
if (e === "change") return t
}
var As = !1;
if (Qe) {
var zl;
if (Qe) {
var Tl = "oninput" in document;
if (!Tl) {
var ri = document.createElement("div");
ri.setAttribute("oninput", "return;"), Tl = typeof ri.oninput == "function"
}
zl = Tl
} else zl = !1;
As = zl && (!document.documentMode || 9 < document.documentMode)
}
function li() {
_n && (_n.detachEvent("onpropertychange", Bs), Fn = _n = null)
}
function Bs(e) {
if (e.propertyName === "value" && rl(Fn)) {
var t = [];
Vs(t, Fn, e, Zo(e)), Ss(jf, t)
}
}
function Df(e, t, n) {
e === "focusin" ? (li(), _n = t, Fn = n, _n.attachEvent("onpropertychange", Bs)) : e === "focusout" && li()
}
function If(e) {
if (e === "selectionchange" || e === "keyup" || e === "keydown") return rl(Fn)
}
function Ff(e, t) {
if (e === "click") return rl(t)
}
function Uf(e, t) {
if (e === "input" || e === "change") return rl(t)
}
function $f(e, t) {
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t
}
var Me = typeof Object.is == "function" ? Object.is : $f;
function Un(e, t) {
if (Me(e, t)) return !0;
if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
var n = Object.keys(e),
r = Object.keys(t);
if (n.length !== r.length) return !1;
for (r = 0; r < n.length; r++) {
var l = n[r];
if (!Xl.call(t, l) || !Me(e[l], t[l])) return !1
}
return !0
}
function oi(e) {
for (; e && e.firstChild;) e = e.firstChild;
return e
}
function ui(e, t) {
var n = oi(e);
e = 0;
for (var r; n;) {
if (n.nodeType === 3) {
if (r = e + n.textContent.length, e <= t && r >= t) return {
node: n,
offset: t - e
};
e = r
}
e: {
for (; n;) {
if (n.nextSibling) {
n = n.nextSibling;
break e
}
n = n.parentNode
}
n = void 0
}
n = oi(n)
}
}
function Hs(e, t) {
return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hs(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1
}
function Ws() {
for (var e = window, t = Lr(); t instanceof e.HTMLIFrameElement;) {
try {
var n = typeof t.contentWindow.location.href == "string"
} catch {
n = !1
}
if (n) e = t.contentWindow;
else break;
t = Lr(e.document)
}
return t
}
function ou(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true")
}
function Vf(e) {
var t = Ws(),
n = e.focusedElem,
r = e.selectionRange;
if (t !== n && n && n.ownerDocument && Hs(n.ownerDocument.documentElement, n)) {
if (r !== null && ou(n)) {
if (t = r.start, e = r.end, e === void 0 && (e = t), "selectionStart" in n) n.selectionStart = t, n.selectionEnd = Math.min(e, n.value.length);
else if (e = (t = n.ownerDocument || document) && t.defaultView || window, e.getSelection) {
e = e.getSelection();
var l = n.textContent.length,
o = Math.min(r.start, l);
r = r.end === void 0 ? o : Math.min(r.end, l), !e.extend && o > r && (l = r, r = o, o = l), l = ui(n, o);
var u = ui(n, r);
l && u && (e.rangeCount !== 1 || e.anchorNode !== l.node || e.anchorOffset !== l.offset || e.focusNode !== u.node || e.focusOffset !== u.offset) && (t = t.createRange(), t.setStart(l.node, l.offset), e.removeAllRanges(), o > r ? (e.addRange(t), e.extend(u.node, u.offset)) : (t.setEnd(u.node, u.offset), e.addRange(t)))
}
}
for (t = [], e = n; e = e.parentNode;) e.nodeType === 1 && t.push({
element: e,
left: e.scrollLeft,
top: e.scrollTop
});
for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top
}
}
var Af = Qe && "documentMode" in document && 11 >= document.documentMode,
It = null,
po = null,
Nn = null,
mo = !1;
function ii(e, t, n) {
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
mo || It == null || It !== Lr(r) || (r = It, "selectionStart" in r && ou(r) ? r = {
start: r.selectionStart,
end: r.selectionEnd
} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {
anchorNode: r.anchorNode,
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
}), Nn && Un(Nn, r) || (Nn = r, r = Fr(po, "onSelect"), 0 < r.length && (t = new nu("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
}), t.target = It)))
}
function ar(e, t) {
var n = {};
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n
}
var Ft = {
animationend: ar("Animation", "AnimationEnd"),
animationiteration: ar("Animation", "AnimationIteration"),
animationstart: ar("Animation", "AnimationStart"),
transitionend: ar("Transition", "TransitionEnd")
},
Ll = {},
Qs = {};
Qe && (Qs = document.createElement("div").style, "AnimationEvent" in window || (delete Ft.animationend.animation, delete Ft.animationiteration.animation, delete Ft.animationstart.animation), "TransitionEvent" in window || delete Ft.transitionend.transition);
function ll(e) {
if (Ll[e]) return Ll[e];
if (!Ft[e]) return e;
var t = Ft[e],
n;
for (n in t)
if (t.hasOwnProperty(n) && n in Qs) return Ll[e] = t[n];
return e
}
var Ks = ll("animationend"),
Xs = ll("animationiteration"),
Ys = ll("animationstart"),
Gs = ll("transitionend"),
Zs = new Map,
si = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
function pt(e, t) {
Zs.set(e, t), Lt(t, [e])
}
for (var Rl = 0; Rl < si.length; Rl++) {
var Ol = si[Rl],
Bf = Ol.toLowerCase(),
Hf = Ol[0].toUpperCase() + Ol.slice(1);
pt(Bf, "on" + Hf)
}
pt(Ks, "onAnimationEnd");
pt(Xs, "onAnimationIteration");
pt(Ys, "onAnimationStart");
pt("dblclick", "onDoubleClick");
pt("focusin", "onFocus");
pt("focusout", "onBlur");
pt(Gs, "onTransitionEnd");
Jt("onMouseEnter", ["mouseout", "mouseover"]);
Jt("onMouseLeave", ["mouseout", "mouseover"]);
Jt("onPointerEnter", ["pointerout", "pointerover"]);
Jt("onPointerLeave", ["pointerout", "pointerover"]);
Lt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
Lt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
Lt("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
Lt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
Lt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
Lt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var Sn = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
Wf = new Set("cancel close invalid load scroll toggle".split(" ").concat(Sn));
function ai(e, t, n) {
var r = e.type || "unknown-event";
e.currentTarget = n, Ac(r, t, void 0, e), e.currentTarget = null
}
function Js(e, t) {
t = (t & 4) !== 0;
for (var n = 0; n < e.length; n++) {
var r = e[n],
l = r.event;
r = r.listeners;
e: {
var o = void 0;
if (t)
for (var u = r.length - 1; 0 <= u; u--) {
var i = r[u],
s = i.instance,
f = i.currentTarget;
if (i = i.listener, s !== o && l.isPropagationStopped()) break e;
ai(l, i, f), o = s
} else
for (u = 0; u < r.length; u++) {
if (i = r[u], s = i.instance, f = i.currentTarget, i = i.listener, s !== o && l.isPropagationStopped()) break e;
ai(l, i, f), o = s
}
}
}
if (Or) throw e = so, Or = !1, so = null, e
}
function I(e, t) {
var n = t[wo];
n === void 0 && (n = t[wo] = new Set);
var r = e + "__bubble";
n.has(r) || (qs(t, e, 2, !1), n.add(r))
}
function jl(e, t, n) {
var r = 0;
t && (r |= 4), qs(n, e, r, t)
}
var cr = "_reactListening" + Math.random().toString(36).slice(2);
function $n(e) {
if (!e[cr]) {
e[cr] = !0, os.forEach(function(n) {
n !== "selectionchange" && (Wf.has(n) || jl(n, !1, e), jl(n, !0, e))
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
t === null || t[cr] || (t[cr] = !0, jl("selectionchange", !1, t))
}
}
function qs(e, t, n, r) {
switch (Ds(t)) {
case 1:
var l = rf;
break;
case 4:
l = lf;
break;
default:
l = eu
}
n = l.bind(null, t, n, e), l = void 0, !io || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (l = !0), r ? l !== void 0 ? e.addEventListener(t, n, {
capture: !0,
passive: l
}) : e.addEventListener(t, n, !0) : l !== void 0 ? e.addEventListener(t, n, {
passive: l
}) : e.addEventListener(t, n, !1)
}
function Ml(e, t, n, r, l) {
var o = r;
if (!(t & 1) && !(t & 2) && r !== null) e: for (;;) {
if (r === null) return;
var u = r.tag;
if (u === 3 || u === 4) {
var i = r.stateNode.containerInfo;
if (i === l || i.nodeType === 8 && i.parentNode === l) break;
if (u === 4)
for (u = r.return; u !== null;) {
var s = u.tag;
if ((s === 3 || s === 4) && (s = u.stateNode.containerInfo, s === l || s.nodeType === 8 && s.parentNode === l)) return;
u = u.return
}
for (; i !== null;) {
if (u = kt(i), u === null) return;
if (s = u.tag, s === 5 || s === 6) {
r = o = u;
continue e
}
i = i.parentNode
}
}
r = r.return
}
Ss(function() {
var f = o,
h = Zo(n),
m = [];
e: {
var p = Zs.get(e);
if (p !== void 0) {
var g = nu,
w = e;
switch (e) {
case "keypress":
if (xr(n) === 0) break e;
case "keydown":
case "keyup":
g = kf;
break;
case "focusin":
w = "focus", g = Pl;
break;
case "focusout":
w = "blur", g = Pl;
break;
case "beforeblur":
case "afterblur":
g = Pl;
break;
case "click":
if (n.button === 2) break e;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
g = Ju;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
g = sf;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
g = Ef;
break;
case Ks:
case Xs:
case Ys:
g = ff;
break;
case Gs:
g = _f;
break;
case "scroll":
g = of;
break;
case "wheel":
g = Pf;
break;
case "copy":
case "cut":
case "paste":
g = pf;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
g = bu
}
var S = (t & 4) !== 0,
M = !S && e === "scroll",
c = S ? p !== null ? p + "Capture" : null : p;
S = [];
for (var a = f, d; a !== null;) {
d = a;
var v = d.stateNode;
if (d.tag === 5 && v !== null && (d = v, c !== null && (v = jn(a, c), v != null && S.push(Vn(a, v, d)))), M) break;
a = a.return
}
0 < S.length && (p = new g(p, w, null, n, h), m.push({
event: p,
listeners: S
}))
}
}
if (!(t & 7)) {
e: {
if (p = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", p && n !== oo && (w = n.relatedTarget || n.fromElement) && (kt(w) || w[Ke])) break e;
if ((g || p) && (p = h.window === h ? h : (p = h.ownerDocument) ? p.defaultView || p.parentWindow : window, g ? (w = n.relatedTarget || n.toElement, g = f, w = w ? kt(w) : null, w !== null && (M = Rt(w), w !== M || w.tag !== 5 && w.tag !== 6) && (w = null)) : (g = null, w = f), g !== w)) {
if (S = Ju, v = "onMouseLeave", c = "onMouseEnter", a = "mouse", (e === "pointerout" || e === "pointerover") && (S = bu, v = "onPointerLeave", c = "onPointerEnter", a = "pointer"), M = g == null ? p : Ut(g), d = w == null ? p : Ut(w), p = new S(v, a + "leave", g, n, h), p.target = M, p.relatedTarget = d, v = null, kt(h) === f && (S = new S(c, a + "enter", w, n, h), S.target = d, S.relatedTarget = M, v = S), M = v, g && w) t: {
for (S = g, c = w, a = 0, d = S; d; d = Ot(d)) a++;
for (d = 0, v = c; v; v = Ot(v)) d++;
for (; 0 < a - d;) S = Ot(S),
a--;
for (; 0 < d - a;) c = Ot(c),
d--;
for (; a--;) {
if (S === c || c !== null && S === c.alternate) break t;
S = Ot(S), c = Ot(c)
}
S = null
}
else S = null;
g !== null && ci(m, p, g, S, !1), w !== null && M !== null && ci(m, M, w, S, !0)
}
}
e: {
if (p = f ? Ut(f) : window, g = p.nodeName && p.nodeName.toLowerCase(), g === "select" || g === "input" && p.type === "file") var E = Mf;
else if (ni(p))
if (As) E = Uf;
else {
E = If;
var N = Df
}
else(g = p.nodeName) && g.toLowerCase() === "input" && (p.type === "checkbox" || p.type === "radio") && (E = Ff);
if (E && (E = E(e, f))) {
Vs(m, E, n, h);
break e
}
N && N(e, p, f),
e === "focusout" && (N = p._wrapperState) && N.controlled && p.type === "number" && eo(p, "number", p.value)
}
switch (N = f ? Ut(f) : window, e) {
case "focusin":
(ni(N) || N.contentEditable === "true") && (It = N, po = f, Nn = null);
break;
case "focusout":
Nn = po = It = null;
break;
case "mousedown":
mo = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
mo = !1, ii(m, n, h);
break;
case "selectionchange":
if (Af) break;
case "keydown":
case "keyup":
ii(m, n, h)
}
var k;
if (lu) e: {
switch (e) {
case "compositionstart":
var x = "onCompositionStart";
break e;
case "compositionend":
x = "onCompositionEnd";
break e;
case "compositionupdate":
x = "onCompositionUpdate";
break e
}
x = void 0
}
else Dt ? Us(e, n) && (x = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (x = "onCompositionStart");x && (Fs && n.locale !== "ko" && (Dt || x !== "onCompositionStart" ? x === "onCompositionEnd" && Dt && (k = Is()) : (tt = h, tu = "value" in tt ? tt.value : tt.textContent, Dt = !0)), N = Fr(f, x), 0 < N.length && (x = new qu(x, e, null, n, h), m.push({
event: x,
listeners: N
}), k ? x.data = k : (k = $s(n), k !== null && (x.data = k)))),
(k = Tf ? Lf(e, n) : Rf(e, n)) && (f = Fr(f, "onBeforeInput"), 0 < f.length && (h = new qu("onBeforeInput", "beforeinput", null, n, h), m.push({
event: h,
listeners: f
}), h.data = k))
}
Js(m, t)
})
}
function Vn(e, t, n) {
return {
instance: e,
listener: t,
currentTarget: n
}
}
function Fr(e, t) {
for (var n = t + "Capture", r = []; e !== null;) {
var l = e,
o = l.stateNode;
l.tag === 5 && o !== null && (l = o, o = jn(e, n), o != null && r.unshift(Vn(e, o, l)), o = jn(e, t), o != null && r.push(Vn(e, o, l))), e = e.return
}
return r
}
function Ot(e) {
if (e === null) return null;
do e = e.return; while (e && e.tag !== 5);
return e || null
}
function ci(e, t, n, r, l) {
for (var o = t._reactName, u = []; n !== null && n !== r;) {
var i = n,
s = i.alternate,
f = i.stateNode;
if (s !== null && s === r) break;
i.tag === 5 && f !== null && (i = f, l ? (s = jn(n, o), s != null && u.unshift(Vn(n, s, i))) : l || (s = jn(n, o), s != null && u.push(Vn(n, s, i)))), n = n.return
}
u.length !== 0 && e.push({
event: t,
listeners: u
})
}
var Qf = /\r\n?/g,
Kf = /\u0000|\uFFFD/g;
function fi(e) {
return (typeof e == "string" ? e : "" + e).replace(Qf, `
`).replace(Kf, "")
}
function fr(e, t, n) {
if (t = fi(t), fi(e) !== t && n) throw Error(y(425))
}
function Ur() {}
var ho = null,
vo = null;
function yo(e, t) {
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null
}
var go = typeof setTimeout == "function" ? setTimeout : void 0,
Xf = typeof clearTimeout == "function" ? clearTimeout : void 0,
di = typeof Promise == "function" ? Promise : void 0,
Yf = typeof queueMicrotask == "function" ? queueMicrotask : typeof di < "u" ? function(e) {
return di.resolve(null).then(e).catch(Gf)
} : go;
function Gf(e) {
setTimeout(function() {
throw e
})
}
function Dl(e, t) {
var n = t,
r = 0;
do {
var l = n.nextSibling;
if (e.removeChild(n), l && l.nodeType === 8)
if (n = l.data, n === "/$") {
if (r === 0) {
e.removeChild(l), In(t);
return
}
r--
} else n !== "$" && n !== "$?" && n !== "$!" || r++;
n = l
} while (n);
In(t)
}
function ut(e) {
for (; e != null; e = e.nextSibling) {
var t = e.nodeType;
if (t === 1 || t === 3) break;
if (t === 8) {
if (t = e.data, t === "$" || t === "$!" || t === "$?") break;
if (t === "/$") return null
}
}
return e
}
function pi(e) {
e = e.previousSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
var n = e.data;
if (n === "$" || n === "$!" || n === "$?") {
if (t === 0) return e;
t--
} else n === "/$" && t++
}
e = e.previousSibling
}
return null
}
var un = Math.random().toString(36).slice(2),
Fe = "__reactFiber$" + un,
An = "__reactProps$" + un,
Ke = "__reactContainer$" + un,
wo = "__reactEvents$" + un,
Zf = "__reactListeners$" + un,
Jf = "__reactHandles$" + un;
function kt(e) {
var t = e[Fe];
if (t) return t;
for (var n = e.parentNode; n;) {
if (t = n[Ke] || n[Fe]) {
if (n = t.alternate, t.child !== null || n !== null && n.child !== null)
for (e = pi(e); e !== null;) {
if (n = e[Fe]) return n;
e = pi(e)
}
return t
}
e = n, n = e.parentNode
}
return null
}
function Jn(e) {
return e = e[Fe] || e[Ke], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e
}
function Ut(e) {
if (e.tag === 5 || e.tag === 6) return e.stateNode;
throw Error(y(33))
}
function ol(e) {
return e[An] || null
}
var ko = [],
$t = -1;
function mt(e) {
return {
current: e
}
}
function F(e) {
0 > $t || (e.current = ko[$t], ko[$t] = null, $t--)
}
function D(e, t) {
$t++, ko[$t] = e.current, e.current = t
}
var dt = {},
oe = mt(dt),
de = mt(!1),
_t = dt;
function qt(e, t) {
var n = e.type.contextTypes;
if (!n) return dt;
var r = e.stateNode;
if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext;
var l = {},
o;
for (o in n) l[o] = t[o];
return r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = l), l
}
function pe(e) {
return e = e.childContextTypes, e != null
}
function $r() {
F(de), F(oe)
}
function mi(e, t, n) {
if (oe.current !== dt) throw Error(y(168));
D(oe, t), D(de, n)
}
function bs(e, t, n) {
var r = e.stateNode;
if (t = t.childContextTypes, typeof r.getChildContext != "function") return n;
r = r.getChildContext();
for (var l in r)
if (!(l in t)) throw Error(y(108, Mc(e) || "Unknown", l));
return B({}, n, r)
}
function Vr(e) {
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || dt, _t = oe.current, D(oe, e), D(de, de.current), !0
}
function hi(e, t, n) {
var r = e.stateNode;
if (!r) throw Error(y(169));
n ? (e = bs(e, t, _t), r.__reactInternalMemoizedMergedChildContext = e, F(de), F(oe), D(oe, e)) : F(de), D(de, n)
}
var Ae = null,
ul = !1,
Il = !1;
function ea(e) {
Ae === null ? Ae = [e] : Ae.push(e)
}
function qf(e) {
ul = !0, ea(e)
}
function ht() {
if (!Il && Ae !== null) {
Il = !0;
var e = 0,
t = j;
try {
var n = Ae;
for (j = 1; e < n.length; e++) {
var r = n[e];
do r = r(!0); while (r !== null)
}
Ae = null, ul = !1
} catch (l) {
throw Ae !== null && (Ae = Ae.slice(e + 1)), _s(Jo, ht), l
} finally {
j = t, Il = !1
}
}
return null
}
var Vt = [],
At = 0,
Ar = null,
Br = 0,
Se = [],
xe = 0,
Nt = null,
Be = 1,
He = "";
function gt(e, t) {
Vt[At++] = Br, Vt[At++] = Ar, Ar = e, Br = t
}
function ta(e, t, n) {
Se[xe++] = Be, Se[xe++] = He, Se[xe++] = Nt, Nt = e;
var r = Be;
e = He;
var l = 32 - Oe(r) - 1;
r &= ~(1 << l), n += 1;
var o = 32 - Oe(t) + l;
if (30 < o) {
var u = l - l % 5;
o = (r & (1 << u) - 1).toString(32), r >>= u, l -= u, Be = 1 << 32 - Oe(t) + l | n << l | r, He = o + e
} else Be = 1 << o | n << l | r, He = e
}
function uu(e) {
e.return !== null && (gt(e, 1), ta(e, 1, 0))
}
function iu(e) {
for (; e === Ar;) Ar = Vt[--At], Vt[At] = null, Br = Vt[--At], Vt[At] = null;
for (; e === Nt;) Nt = Se[--xe], Se[xe] = null, He = Se[--xe], Se[xe] = null, Be = Se[--xe], Se[xe] = null
}
var ye = null,
ve = null,
$ = !1,
Re = null;
function na(e, t) {
var n = Ee(5, null, null, 0);
n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n)
}
function vi(e, t) {
switch (e.tag) {
case 5:
var n = e.type;
return t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, ye = e, ve = ut(t.firstChild), !0) : !1;
case 6:
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, ye = e, ve = null, !0) : !1;
case 13:
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = Nt !== null ? {
id: Be,
overflow: He
} : null, e.memoizedState = {
dehydrated: t,
treeContext: n,
retryLane: 1073741824
}, n = Ee(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, ye = e, ve = null, !0) : !1;
default:
return !1
}
}
function So(e) {
return (e.mode & 1) !== 0 && (e.flags & 128) === 0
}
function xo(e) {
if ($) {
var t = ve;
if (t) {
var n = t;
if (!vi(e, t)) {
if (So(e)) throw Error(y(418));
t = ut(n.nextSibling);
var r = ye;
t && vi(e, t) ? na(r, n) : (e.flags = e.flags & -4097 | 2, $ = !1, ye = e)
}
} else {
if (So(e)) throw Error(y(418));
e.flags = e.flags & -4097 | 2, $ = !1, ye = e
}
}
}
function yi(e) {
for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13;) e = e.return;
ye = e
}
function dr(e) {
if (e !== ye) return !1;
if (!$) return yi(e), $ = !0, !1;
var t;
if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !yo(e.type, e.memoizedProps)), t && (t = ve)) {
if (So(e)) throw ra(), Error(y(418));
for (; t;) na(e, t), t = ut(t.nextSibling)
}
if (yi(e), e.tag === 13) {
if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(y(317));
e: {
for (e = e.nextSibling, t = 0; e;) {
if (e.nodeType === 8) {
var n = e.data;
if (n === "/$") {
if (t === 0) {
ve = ut(e.nextSibling);
break e
}
t--
} else n !== "$" && n !== "$!" && n !== "$?" || t++
}
e = e.nextSibling
}
ve = null
}
} else ve = ye ? ut(e.stateNode.nextSibling) : null;
return !0
}
function ra() {
for (var e = ve; e;) e = ut(e.nextSibling)
}
function bt() {
ve = ye = null, $ = !1
}
function su(e) {
Re === null ? Re = [e] : Re.push(e)
}
var bf = Ge.ReactCurrentBatchConfig;
function hn(e, t, n) {
if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
if (n._owner) {
if (n = n._owner, n) {
if (n.tag !== 1) throw Error(y(309));
var r = n.stateNode
}
if (!r) throw Error(y(147, e));
var l = r,
o = "" + e;
return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === o ? t.ref : (t = function(u) {
var i = l.refs;
u === null ? delete i[o] : i[o] = u
}, t._stringRef = o, t)
}
if (typeof e != "string") throw Error(y(284));
if (!n._owner) throw Error(y(290, e))
}
return e
}
function pr(e, t) {
throw e = Object.prototype.toString.call(t), Error(y(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e))
}
function gi(e) {
var t = e._init;
return t(e._payload)
}
function la(e) {
function t(c, a) {
if (e) {
var d = c.deletions;
d === null ? (c.deletions = [a], c.flags |= 16) : d.push(a)
}
}
function n(c, a) {
if (!e) return null;
for (; a !== null;) t(c, a), a = a.sibling;
return null
}
function r(c, a) {
for (c = new Map; a !== null;) a.key !== null ? c.set(a.key, a) : c.set(a.index, a), a = a.sibling;
return c
}
function l(c, a) {
return c = ct(c, a), c.index = 0, c.sibling = null, c
}
function o(c, a, d) {
return c.index = d, e ? (d = c.alternate, d !== null ? (d = d.index, d < a ? (c.flags |= 2, a) : d) : (c.flags |= 2, a)) : (c.flags |= 1048576, a)
}
function u(c) {
return e && c.alternate === null && (c.flags |= 2), c
}
function i(c, a, d, v) {
return a === null || a.tag !== 6 ? (a = Hl(d, c.mode, v), a.return = c, a) : (a = l(a, d), a.return = c, a)
}
function s(c, a, d, v) {
var E = d.type;
return E === Mt ? h(c, a, d.props.children, v, d.key) : a !== null && (a.elementType === E || typeof E == "object" && E !== null && E.$$typeof === Je && gi(E) === a.type) ? (v = l(a, d.props), v.ref = hn(c, a, d), v.return = c, v) : (v = Tr(d.type, d.key, d.props, null, c.mode, v), v.ref = hn(c, a, d), v.return = c, v)
}
function f(c, a, d, v) {
return a === null || a.tag !== 4 || a.stateNode.containerInfo !== d.containerInfo || a.stateNode.implementation !== d.implementation ? (a = Wl(d, c.mode, v), a.return = c, a) : (a = l(a, d.children || []), a.return = c, a)
}
function h(c, a, d, v, E) {
return a === null || a.tag !== 7 ? (a = Ct(d, c.mode, v, E), a.return = c, a) : (a = l(a, d), a.return = c, a)
}
function m(c, a, d) {
if (typeof a == "string" && a !== "" || typeof a == "number") return a = Hl("" + a, c.mode, d), a.return = c, a;
if (typeof a == "object" && a !== null) {
switch (a.$$typeof) {
case nr:
return d = Tr(a.type, a.key, a.props, null, c.mode, d), d.ref = hn(c, null, a), d.return = c, d;
case jt:
return a = Wl(a, c.mode, d), a.return = c, a;
case Je:
var v = a._init;
return m(c, v(a._payload), d)
}
if (wn(a) || cn(a)) return a = Ct(a, c.mode, d, null), a.return = c, a;
pr(c, a)
}
return null
}
function p(c, a, d, v) {
var E = a !== null ? a.key : null;
if (typeof d == "string" && d !== "" || typeof d == "number") return E !== null ? null : i(c, a, "" + d, v);
if (typeof d == "object" && d !== null) {
switch (d.$$typeof) {
case nr:
return d.key === E ? s(c, a, d, v) : null;
case jt:
return d.key === E ? f(c, a, d, v) : null;
case Je:
return E = d._init, p(c, a, E(d._payload), v)
}
if (wn(d) || cn(d)) return E !== null ? null : h(c, a, d, v, null);
pr(c, d)
}
return null
}
function g(c, a, d, v, E) {
if (typeof v == "string" && v !== "" || typeof v == "number") return c = c.get(d) || null, i(a, c, "" + v, E);
if (typeof v == "object" && v !== null) {
switch (v.$$typeof) {
case nr:
return c = c.get(v.key === null ? d : v.key) || null, s(a, c, v, E);
case jt:
return c = c.get(v.key === null ? d : v.key) || null, f(a, c, v, E);
case Je:
var N = v._init;
return g(c, a, d, N(v._payload), E)
}
if (wn(v) || cn(v)) return c = c.get(d) || null, h(a, c, v, E, null);
pr(a, v)
}
return null
}
function w(c, a, d, v) {
for (var E = null, N = null, k = a, x = a = 0, U = null; k !== null && x < d.length; x++) {
k.index > x ? (U = k, k = null) : U = k.sibling;
var L = p(c, k, d[x], v);
if (L === null) {
k === null && (k = U);
break
}
e && k && L.alternate === null && t(c, k), a = o(L, a, x), N === null ? E = L : N.sibling = L, N = L, k = U
}
if (x === d.length) return n(c, k), $ && gt(c, x), E;
if (k === null) {
for (; x < d.length; x++) k = m(c, d[x], v), k !== null && (a = o(k, a, x), N === null ? E = k : N.sibling = k, N = k);
return $ && gt(c, x), E
}
for (k = r(c, k); x < d.length; x++) U = g(k, c, x, d[x], v), U !== null && (e && U.alternate !== null && k.delete(U.key === null ? x : U.key), a = o(U, a, x), N === null ? E = U : N.sibling = U, N = U);
return e && k.forEach(function(Pe) {
return t(c, Pe)
}), $ && gt(c, x), E
}
function S(c, a, d, v) {
var E = cn(d);
if (typeof E != "function") throw Error(y(150));
if (d = E.call(d), d == null) throw Error(y(151));
for (var N = E = null, k = a, x = a = 0, U = null, L = d.next(); k !== null && !L.done; x++, L = d.next()) {
k.index > x ? (U = k, k = null) : U = k.sibling;
var Pe = p(c, k, L.value, v);
if (Pe === null) {
k === null && (k = U);
break
}
e && k && Pe.alternate === null && t(c, k), a = o(Pe, a, x), N === null ? E = Pe : N.sibling = Pe, N = Pe, k = U
}
if (L.done) return n(c, k), $ && gt(c, x), E;
if (k === null) {
for (; !L.done; x++, L = d.next()) L = m(c, L.value, v), L !== null && (a = o(L, a, x), N === null ? E = L : N.sibling = L, N = L);
return $ && gt(c, x), E
}
for (k = r(c, k); !L.done; x++, L = d.next()) L = g(k, c, x, L.value, v), L !== null && (e && L.alternate !== null && k.delete(L.key === null ? x : L.key), a = o(L, a, x), N === null ? E = L : N.sibling = L, N = L);
return e && k.forEach(function(sn) {
return t(c, sn)
}), $ && gt(c, x), E
}
function M(c, a, d, v) {
if (typeof d == "object" && d !== null && d.type === Mt && d.key === null && (d = d.props.children), typeof d == "object" && d !== null) {
switch (d.$$typeof) {
case nr:
e: {
for (var E = d.key, N = a; N !== null;) {
if (N.key === E) {
if (E = d.type, E === Mt) {
if (N.tag === 7) {
n(c, N.sibling), a = l(N, d.props.children), a.return = c, c = a;
break e
}
} else if (N.elementType === E || typeof E == "object" && E !== null && E.$$typeof === Je && gi(E) === N.type) {
n(c, N.sibling), a = l(N, d.props), a.ref = hn(c, N, d), a.return = c, c = a;
break e
}
n(c, N);
break
} else t(c, N);
N = N.sibling
}
d.type === Mt ? (a = Ct(d.props.children, c.mode, v, d.key), a.return = c, c = a) : (v = Tr(d.type, d.key, d.props, null, c.mode, v), v.ref = hn(c, a, d), v.return = c, c = v)
}
return u(c);
case jt:
e: {
for (N = d.key; a !== null;) {
if (a.key === N)
if (a.tag === 4 && a.stateNode.containerInfo === d.containerInfo && a.stateNode.implementation === d.implementation) {
n(c, a.sibling), a = l(a, d.children || []), a.return = c, c = a;
break e
} else {
n(c, a);
break
}
else t(c, a);
a = a.sibling
}
a = Wl(d, c.mode, v),
a.return = c,
c = a
}
return u(c);
case Je:
return N = d._init, M(c, a, N(d._payload), v)
}
if (wn(d)) return w(c, a, d, v);
if (cn(d)) return S(c, a, d, v);
pr(c, d)
}
return typeof d == "string" && d !== "" || typeof d == "number" ? (d = "" + d, a !== null && a.tag === 6 ? (n(c, a.sibling), a = l(a, d), a.return = c, c = a) : (n(c, a), a = Hl(d, c.mode, v), a.return = c, c = a), u(c)) : n(c, a)
}
return M
}
var en = la(!0),
oa = la(!1),
Hr = mt(null),
Wr = null,
Bt = null,
au = null;
function cu() {
au = Bt = Wr = null
}
function fu(e) {
var t = Hr.current;
F(Hr), e._currentValue = t
}
function Eo(e, t, n) {
for (; e !== null;) {
var r = e.alternate;
if ((e.childLanes & t) !== t ? (e.childLanes |= t, r !== null && (r.childLanes |= t)) : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), e === n) break;
e = e.return
}
}
function Gt(e, t) {
Wr = e, au = Bt = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (fe = !0), e.firstContext = null)
}
function _e(e) {
var t = e._currentValue;
if (au !== e)
if (e = {
context: e,
memoizedValue: t,
next: null
}, Bt === null) {
if (Wr === null) throw Error(y(308));
Bt = e, Wr.dependencies = {
lanes: 0,
firstContext: e
}
} else Bt = Bt.next = e;
return t
}
var St = null;
function du(e) {
St === null ? St = [e] : St.push(e)
}
function ua(e, t, n, r) {
var l = t.interleaved;
return l === null ? (n.next = n, du(t)) : (n.next = l.next, l.next = n), t.interleaved = n, Xe(e, r)
}
function Xe(e, t) {
e.lanes |= t;
var n = e.alternate;
for (n !== null && (n.lanes |= t), n = e, e = e.return; e !== null;) e.childLanes |= t, n = e.alternate, n !== null && (n.childLanes |= t), n = e, e = e.return;
return n.tag === 3 ? n.stateNode : null
}
var qe = !1;
function pu(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
lastBaseUpdate: null,
shared: {
pending: null,
interleaved: null,
lanes: 0
},
effects: null
}
}
function ia(e, t) {
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
baseState: e.baseState,
firstBaseUpdate: e.firstBaseUpdate,
lastBaseUpdate: e.lastBaseUpdate,
shared: e.shared,
effects: e.effects
})
}
function We(e, t) {
return {
eventTime: e,
lane: t,
tag: 0,
payload: null,
callback: null,
next: null
}
}
function it(e, t, n) {
var r = e.updateQueue;
if (r === null) return null;
if (r = r.shared, O & 2) {
var l = r.pending;
return l === null ? t.next = t : (t.next = l.next, l.next = t), r.pending = t, Xe(e, n)
}
return l = r.interleaved, l === null ? (t.next = t, du(r)) : (t.next = l.next, l.next = t), r.interleaved = t, Xe(e, n)
}
function Er(e, t, n) {
if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) {
var r = t.lanes;
r &= e.pendingLanes, n |= r, t.lanes = n, qo(e, n)
}
}
function wi(e, t) {
var n = e.updateQueue,
r = e.alternate;
if (r !== null && (r = r.updateQueue, n === r)) {
var l = null,
o = null;
if (n = n.firstBaseUpdate, n !== null) {
do {
var u = {
eventTime: n.eventTime,
lane: n.lane,
tag: n.tag,
payload: n.payload,
callback: n.callback,
next: null
};
o === null ? l = o = u : o = o.next = u, n = n.next
} while (n !== null);
o === null ? l = o = t : o = o.next = t
} else l = o = t;
n = {
baseState: r.baseState,
firstBaseUpdate: l,
lastBaseUpdate: o,
shared: r.shared,
effects: r.effects
}, e.updateQueue = n;
return
}
e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t
}
function Qr(e, t, n, r) {
var l = e.updateQueue;
qe = !1;
var o = l.firstBaseUpdate,
u = l.lastBaseUpdate,
i = l.shared.pending;
if (i !== null) {
l.shared.pending = null;
var s = i,
f = s.next;
s.next = null, u === null ? o = f : u.next = f, u = s;
var h = e.alternate;
h !== null && (h = h.updateQueue, i = h.lastBaseUpdate, i !== u && (i === null ? h.firstBaseUpdate = f : i.next = f, h.lastBaseUpdate = s))
}
if (o !== null) {
var m = l.baseState;
u = 0, h = f = s = null, i = o;
do {
var p = i.lane,
g = i.eventTime;
if ((r & p) === p) {
h !== null && (h = h.next = {
eventTime: g,
lane: 0,
tag: i.tag,
payload: i.payload,
callback: i.callback,
next: null
});
e: {
var w = e,
S = i;
switch (p = t, g = n, S.tag) {
case 1:
if (w = S.payload, typeof w == "function") {
m = w.call(g, m, p);
break e
}
m = w;
break e;
case 3:
w.flags = w.flags & -65537 | 128;
case 0:
if (w = S.payload, p = typeof w == "function" ? w.call(g, m, p) : w, p == null) break e;
m = B({}, m, p);
break e;
case 2:
qe = !0
}
}
i.callback !== null && i.lane !== 0 && (e.flags |= 64, p = l.effects, p === null ? l.effects = [i] : p.push(i))
} else g = {
eventTime: g,
lane: p,
tag: i.tag,
payload: i.payload,
callback: i.callback,
next: null
}, h === null ? (f = h = g, s = m) : h = h.next = g, u |= p;
if (i = i.next, i === null) {
if (i = l.shared.pending, i === null) break;
p = i, i = p.next, p.next = null, l.lastBaseUpdate = p, l.shared.pending = null
}
} while (!0);
if (h === null && (s = m), l.baseState = s, l.firstBaseUpdate = f, l.lastBaseUpdate = h, t = l.shared.interleaved, t !== null) {
l = t;
do u |= l.lane, l = l.next; while (l !== t)
} else o === null && (l.shared.lanes = 0);
zt |= u, e.lanes = u, e.memoizedState = m
}
}
function ki(e, t, n) {
if (e = t.effects, t.effects = null, e !== null)
for (t = 0; t < e.length; t++) {
var r = e[t],
l = r.callback;
if (l !== null) {
if (r.callback = null, r = n, typeof l != "function") throw Error(y(191, l));
l.call(r)
}
}
}
var qn = {},
$e = mt(qn),
Bn = mt(qn),
Hn = mt(qn);
function xt(e) {
if (e === qn) throw Error(y(174));
return e
}
function mu(e, t) {
switch (D(Hn, t), D(Bn, e), D($e, qn), e = t.nodeType, e) {
case 9:
case 11:
t = (t = t.documentElement) ? t.namespaceURI : no(null, "");
break;
default:
e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = no(t, e)
}
F($e), D($e, t)
}
function tn() {
F($e), F(Bn), F(Hn)
}
function sa(e) {
xt(Hn.current);
var t = xt($e.current),
n = no(t, e.type);
t !== n && (D(Bn, e), D($e, n))
}
function hu(e) {
Bn.current === e && (F($e), F(Bn))
}
var V = mt(0);
function Kr(e) {
for (var t = e; t !== null;) {
if (t.tag === 13) {
var n = t.memoizedState;
if (n !== null && (n = n.dehydrated, n === null || n.data === "$?" || n.data === "$!")) return t
} else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) {
if (t.flags & 128) return t
} else if (t.child !== null) {
t.child.return = t, t = t.child;
continue
}
if (t === e) break;
for (; t.sibling === null;) {
if (t.return === null || t.return === e) return null;
t = t.return
}
t.sibling.return = t.return, t = t.sibling
}
return null
}
var Fl = [];
function vu() {
for (var e = 0; e < Fl.length; e++) Fl[e]._workInProgressVersionPrimary = null;
Fl.length = 0
}
var Cr = Ge.ReactCurrentDispatcher,
Ul = Ge.ReactCurrentBatchConfig,
Pt = 0,
A = null,
X = null,
J = null,
Xr = !1,
Pn = !1,
Wn = 0,
ed = 0;
function ne() {
throw Error(y(321))
}
function yu(e, t) {
if (t === null) return !1;
for (var n = 0; n < t.length && n < e.length; n++)
if (!Me(e[n], t[n])) return !1;
return !0
}
function gu(e, t, n, r, l, o) {
if (Pt = o, A = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Cr.current = e === null || e.memoizedState === null ? ld : od, e = n(r, l), Pn) {
o = 0;
do {
if (Pn = !1, Wn = 0, 25 <= o) throw Error(y(301));
o += 1, J = X = null, t.updateQueue = null, Cr.current = ud, e = n(r, l)
} while (Pn)
}
if (Cr.current = Yr, t = X !== null && X.next !== null, Pt = 0, J = X = A = null, Xr = !1, t) throw Error(y(300));
return e
}
function wu() {
var e = Wn !== 0;
return Wn = 0, e
}
function Ie() {
var e = {
memoizedState: null,
baseState: null,
baseQueue: null,
queue: null,
next: null
};
return J === null ? A.memoizedState = J = e : J = J.next = e, J
}
function Ne() {
if (X === null) {
var e = A.alternate;
e = e !== null ? e.memoizedState : null
} else e = X.next;
var t = J === null ? A.memoizedState : J.next;
if (t !== null) J = t, X = e;
else {
if (e === null) throw Error(y(310));
X = e, e = {
memoizedState: X.memoizedState,
baseState: X.baseState,
baseQueue: X.baseQueue,
queue: X.queue,
next: null
}, J === null ? A.memoizedState = J = e : J = J.next = e
}
return J
}
function Qn(e, t) {
return typeof t == "function" ? t(e) : t
}
function $l(e) {
var t = Ne(),
n = t.queue;
if (n === null) throw Error(y(311));
n.lastRenderedReducer = e;
var r = X,
l = r.baseQueue,
o = n.pending;
if (o !== null) {
if (l !== null) {
var u = l.next;
l.next = o.next, o.next = u
}
r.baseQueue = l = o, n.pending = null
}
if (l !== null) {
o = l.next, r = r.baseState;
var i = u = null,
s = null,
f = o;
do {
var h = f.lane;
if ((Pt & h) === h) s !== null && (s = s.next = {
lane: 0,
action: f.action,
hasEagerState: f.hasEagerState,
eagerState: f.eagerState,
next: null
}), r = f.hasEagerState ? f.eagerState : e(r, f.action);
else {
var m = {
lane: h,
action: f.action,
hasEagerState: f.hasEagerState,
eagerState: f.eagerState,
next: null
};
s === null ? (i = s = m, u = r) : s = s.next = m, A.lanes |= h, zt |= h
}
f = f.next
} while (f !== null && f !== o);
s === null ? u = r : s.next = i, Me(r, t.memoizedState) || (fe = !0), t.memoizedState = r, t.baseState = u, t.baseQueue = s, n.lastRenderedState = r
}
if (e = n.interleaved, e !== null) {
l = e;
do o = l.lane, A.lanes |= o, zt |= o, l = l.next; while (l !== e)
} else l === null && (n.lanes = 0);
return [t.memoizedState, n.dispatch]
}
function Vl(e) {
var t = Ne(),
n = t.queue;
if (n === null) throw Error(y(311));
n.lastRenderedReducer = e;
var r = n.dispatch,
l = n.pending,
o = t.memoizedState;
if (l !== null) {
n.pending = null;
var u = l = l.next;
do o = e(o, u.action), u = u.next; while (u !== l);
Me(o, t.memoizedState) || (fe = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o
}
return [o, r]
}
function aa() {}
function ca(e, t) {
var n = A,
r = Ne(),
l = t(),
o = !Me(r.memoizedState, l);
if (o && (r.memoizedState = l, fe = !0), r = r.queue, ku(pa.bind(null, n, r, e), [e]), r.getSnapshot !== t || o || J !== null && J.memoizedState.tag & 1) {
if (n.flags |= 2048, Kn(9, da.bind(null, n, r, l, t), void 0, null), q === null) throw Error(y(349));
Pt & 30 || fa(n, t, l)
}
return l
}
function fa(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
}, t = A.updateQueue, t === null ? (t = {
lastEffect: null,
stores: null
}, A.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e))
}
function da(e, t, n, r) {
t.value = n, t.getSnapshot = r, ma(t) && ha(e)
}
function pa(e, t, n) {
return n(function() {
ma(t) && ha(e)
})
}
function ma(e) {
var t = e.getSnapshot;
e = e.value;
try {
var n = t();
return !Me(e, n)
} catch {
return !0
}
}
function ha(e) {
var t = Xe(e, 1);
t !== null && je(t, e, 1, -1)
}
function Si(e) {
var t = Ie();
return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = {
pending: null,
interleaved: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Qn,
lastRenderedState: e
}, t.queue = e, e = e.dispatch = rd.bind(null, A, e), [t.memoizedState, e]
}
function Kn(e, t, n, r) {
return e = {
tag: e,
create: t,
destroy: n,
deps: r,
next: null
}, t = A.updateQueue, t === null ? (t = {
lastEffect: null,
stores: null
}, A.updateQueue = t, t.lastEffect = e.next = e) : (n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e)), e
}
function va() {
return Ne().memoizedState
}
function _r(e, t, n, r) {
var l = Ie();
A.flags |= e, l.memoizedState = Kn(1 | t, n, void 0, r === void 0 ? null : r)
}
function il(e, t, n, r) {
var l = Ne();
r = r === void 0 ? null : r;
var o = void 0;
if (X !== null) {
var u = X.memoizedState;
if (o = u.destroy, r !== null && yu(r, u.deps)) {
l.memoizedState = Kn(t, n, o, r);
return
}
}
A.flags |= e, l.memoizedState = Kn(1 | t, n, o, r)
}
function xi(e, t) {
return _r(8390656, 8, e, t)
}
function ku(e, t) {
return il(2048, 8, e, t)
}
function ya(e, t) {
return il(4, 2, e, t)
}
function ga(e, t) {
return il(4, 4, e, t)
}
function wa(e, t) {
if (typeof t == "function") return e = e(), t(e),
function() {
t(null)
};
if (t != null) return e = e(), t.current = e,
function() {
t.current = null
}
}
function ka(e, t, n) {
return n = n != null ? n.concat([e]) : null, il(4, 4, wa.bind(null, t, e), n)
}
function Su() {}
function Sa(e, t) {
var n = Ne();
t = t === void 0 ? null : t;
var r = n.memoizedState;
return r !== null && t !== null && yu(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e)
}
function xa(e, t) {
var n = Ne();
t = t === void 0 ? null : t;
var r = n.memoizedState;
return r !== null && t !== null && yu(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e)
}
function Ea(e, t, n) {
return Pt & 21 ? (Me(n, t) || (n = zs(), A.lanes |= n, zt |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, fe = !0), e.memoizedState = n)
}
function td(e, t) {
var n = j;
j = n !== 0 && 4 > n ? n : 4, e(!0);
var r = Ul.transition;
Ul.transition = {};
try {
e(!1), t()
} finally {
j = n, Ul.transition = r
}
}
function Ca() {
return Ne().memoizedState
}
function nd(e, t, n) {
var r = at(e);
if (n = {
lane: r,
action: n,
hasEagerState: !1,
eagerState: null,
next: null
}, _a(e)) Na(t, n);
else if (n = ua(e, t, n, r), n !== null) {
var l = ie();
je(n, e, r, l), Pa(n, t, r)
}
}
function rd(e, t, n) {
var r = at(e),
l = {
lane: r,
action: n,
hasEagerState: !1,
eagerState: null,
next: null
};
if (_a(e)) Na(t, l);
else {
var o = e.alternate;
if (e.lanes === 0 && (o === null || o.lanes === 0) && (o = t.lastRenderedReducer, o !== null)) try {
var u = t.lastRenderedState,
i = o(u, n);
if (l.hasEagerState = !0, l.eagerState = i, Me(i, u)) {
var s = t.interleaved;
s === null ? (l.next = l, du(t)) : (l.next = s.next, s.next = l), t.interleaved = l;
return
}
} catch {} finally {}
n = ua(e, t, l, r), n !== null && (l = ie(), je(n, e, r, l), Pa(n, t, r))
}
}
function _a(e) {
var t = e.alternate;
return e === A || t !== null && t === A
}
function Na(e, t) {
Pn = Xr = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t
}
function Pa(e, t, n) {
if (n & 4194240) {
var r = t.lanes;
r &= e.pendingLanes, n |= r, t.lanes = n, qo(e, n)
}
}
var Yr = {
readContext: _e,
useCallback: ne,
useContext: ne,
useEffect: ne,
useImperativeHandle: ne,
useInsertionEffect: ne,
useLayoutEffect: ne,
useMemo: ne,
useReducer: ne,
useRef: ne,
useState: ne,
useDebugValue: ne,
useDeferredValue: ne,
useTransition: ne,
useMutableSource: ne,
useSyncExternalStore: ne,
useId: ne,
unstable_isNewReconciler: !1
},
ld = {
readContext: _e,
useCallback: function(e, t) {
return Ie().memoizedState = [e, t === void 0 ? null : t], e
},
useContext: _e,
useEffect: xi,
useImperativeHandle: function(e, t, n) {
return n = n != null ? n.concat([e]) : null, _r(4194308, 4, wa.bind(null, t, e), n)
},
useLayoutEffect: function(e, t) {
return _r(4194308, 4, e, t)
},
useInsertionEffect: function(e, t) {
return _r(4, 2, e, t)
},
useMemo: function(e, t) {
var n = Ie();
return t = t === void 0 ? null : t, e = e(), n.memoizedState = [e, t], e
},
useReducer: function(e, t, n) {
var r = Ie();
return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = {
pending: null,
interleaved: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: t
}, r.queue = e, e = e.dispatch = nd.bind(null, A, e), [r.memoizedState, e]
},
useRef: function(e) {
var t = Ie();
return e = {
current: e
}, t.memoizedState = e
},
useState: Si,
useDebugValue: Su,
useDeferredValue: function(e) {
return Ie().memoizedState = e
},
useTransition: function() {
var e = Si(!1),
t = e[0];
return e = td.bind(null, e[1]), Ie().memoizedState = e, [t, e]
},
useMutableSource: function() {},
useSyncExternalStore: function(e, t, n) {
var r = A,
l = Ie();
if ($) {
if (n === void 0) throw Error(y(407));
n = n()
} else {
if (n = t(), q === null) throw Error(y(349));
Pt & 30 || fa(r, t, n)
}
l.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
return l.queue = o, xi(pa.bind(null, r, o, e), [e]), r.flags |= 2048, Kn(9, da.bind(null, r, o, n, t), void 0, null), n
},
useId: function() {
var e = Ie(),
t = q.identifierPrefix;
if ($) {
var n = He,
r = Be;
n = (r & ~(1 << 32 - Oe(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Wn++, 0 < n && (t += "H" + n.toString(32)), t += ":"
} else n = ed++, t = ":" + t + "r" + n.toString(32) + ":";
return e.memoizedState = t
},
unstable_isNewReconciler: !1
},
od = {
readContext: _e,
useCallback: Sa,
useContext: _e,
useEffect: ku,
useImperativeHandle: ka,
useInsertionEffect: ya,
useLayoutEffect: ga,
useMemo: xa,
useReducer: $l,
useRef: va,
useState: function() {
return $l(Qn)
},
useDebugValue: Su,
useDeferredValue: function(e) {
var t = Ne();
return Ea(t, X.memoizedState, e)
},
useTransition: function() {
var e = $l(Qn)[0],
t = Ne().memoizedState;
return [e, t]
},
useMutableSource: aa,
useSyncExternalStore: ca,
useId: Ca,
unstable_isNewReconciler: !1
},
ud = {
readContext: _e,
useCallback: Sa,
useContext: _e,
useEffect: ku,
useImperativeHandle: ka,
useInsertionEffect: ya,
useLayoutEffect: ga,
useMemo: xa,
useReducer: Vl,
useRef: va,
useState: function() {
return Vl(Qn)
},
useDebugValue: Su,
useDeferredValue: function(e) {
var t = Ne();
return X === null ? t.memoizedState = e : Ea(t, X.memoizedState, e)
},
useTransition: function() {
var e = Vl(Qn)[0],
t = Ne().memoizedState;
return [e, t]
},
useMutableSource: aa,
useSyncExternalStore: ca,
useId: Ca,
unstable_isNewReconciler: !1
};
function Te(e, t) {
if (e && e.defaultProps) {
t = B({}, t), e = e.defaultProps;
for (var n in e) t[n] === void 0 && (t[n] = e[n]);
return t
}
return t
}
function Co(e, t, n, r) {
t = e.memoizedState, n = n(r, t), n = n == null ? t : B({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n)
}
var sl = {
isMounted: function(e) {
return (e = e._reactInternals) ? Rt(e) === e : !1
},
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
var r = ie(),
l = at(e),
o = We(r, l);
o.payload = t, n != null && (o.callback = n), t = it(e, o, l), t !== null && (je(t, e, l, r), Er(t, e, l))
},
enqueueReplaceState: function(e, t, n) {
e = e._reactInternals;
var r = ie(),
l = at(e),
o = We(r, l);
o.tag = 1, o.payload = t, n != null && (o.callback = n), t = it(e, o, l), t !== null && (je(t, e, l, r), Er(t, e, l))
},
enqueueForceUpdate: function(e, t) {
e = e._reactInternals;
var n = ie(),
r = at(e),
l = We(n, r);
l.tag = 2, t != null && (l.callback = t), t = it(e, l, r), t !== null && (je(t, e, r, n), Er(t, e, r))
}
};
function Ei(e, t, n, r, l, o, u) {
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, o, u) : t.prototype && t.prototype.isPureReactComponent ? !Un(n, r) || !Un(l, o) : !0
}
function za(e, t, n) {
var r = !1,
l = dt,
o = t.contextType;
return typeof o == "object" && o !== null ? o = _e(o) : (l = pe(t) ? _t : oe.current, r = t.contextTypes, o = (r = r != null) ? qt(e, l) : dt), t = new t(n, o), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = sl, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = l, e.__reactInternalMemoizedMaskedChildContext = o), t
}
function Ci(e, t, n, r) {
e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && sl.enqueueReplaceState(t, t.state, null)
}
function _o(e, t, n, r) {
var l = e.stateNode;
l.props = n, l.state = e.memoizedState, l.refs = {}, pu(e);
var o = t.contextType;
typeof o == "object" && o !== null ? l.context = _e(o) : (o = pe(t) ? _t : oe.current, l.context = qt(e, o)), l.state = e.memoizedState, o = t.getDerivedStateFromProps, typeof o == "function" && (Co(e, t, o, n), l.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof l.getSnapshotBeforeUpdate == "function" || typeof l.UNSAFE_componentWillMount != "function" && typeof l.componentWillMount != "function" || (t = l.state, typeof l.componentWillMount == "function" && l.componentWillMount(), typeof l.UNSAFE_componentWillMount == "function" && l.UNSAFE_componentWillMount(), t !== l.state && sl.enqueueReplaceState(l, l.state, null), Qr(e, n, l, r), l.state = e.memoizedState), typeof l.componentDidMount == "function" && (e.flags |= 4194308)
}
function nn(e, t) {
try {
var n = "",
r = t;
do n += jc(r), r = r.return; while (r);
var l = n
} catch (o) {
l = `
Error generating stack: ` + o.message + `
` + o.stack
}
return {
value: e,
source: t,
stack: l,
digest: null
}
}
function Al(e, t, n) {
return {
value: e,
source: null,
stack: n ?? null,
digest: t ?? null
}
}
function No(e, t) {
try {
console.error(t.value)
} catch (n) {
setTimeout(function() {
throw n
})
}
}
var id = typeof WeakMap == "function" ? WeakMap : Map;
function Ta(e, t, n) {
n = We(-1, n), n.tag = 3, n.payload = {
element: null
};
var r = t.value;
return n.callback = function() {
Zr || (Zr = !0, Io = r), No(e, t)
}, n
}
function La(e, t, n) {
n = We(-1, n), n.tag = 3;
var r = e.type.getDerivedStateFromError;
if (typeof r == "function") {
var l = t.value;
n.payload = function() {
return r(l)
}, n.callback = function() {
No(e, t)
}
}
var o = e.stateNode;
return o !== null && typeof o.componentDidCatch == "function" && (n.callback = function() {
No(e, t), typeof r != "function" && (st === null ? st = new Set([this]) : st.add(this));
var u = t.stack;
this.componentDidCatch(t.value, {
componentStack: u !== null ? u : ""
})
}), n
}
function _i(e, t, n) {
var r = e.pingCache;
if (r === null) {
r = e.pingCache = new id;
var l = new Set;
r.set(t, l)
} else l = r.get(t), l === void 0 && (l = new Set, r.set(t, l));
l.has(n) || (l.add(n), e = Sd.bind(null, e, t, n), t.then(e, e))
}
function Ni(e) {
do {
var t;
if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e;
e = e.return
} while (e !== null);
return null
}
function Pi(e, t, n, r, l) {
return e.mode & 1 ? (e.flags |= 65536, e.lanes = l, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = We(-1, 1), t.tag = 2, it(n, t, 1))), n.lanes |= 1), e)
}
var sd = Ge.ReactCurrentOwner,
fe = !1;
function ue(e, t, n, r) {
t.child = e === null ? oa(t, null, n, r) : en(t, e.child, n, r)
}
function zi(e, t, n, r, l) {
n = n.render;
var o = t.ref;
return Gt(t, l), r = gu(e, t, n, r, o, l), n = wu(), e !== null && !fe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Ye(e, t, l)) : ($ && n && uu(t), t.flags |= 1, ue(e, t, r, l), t.child)
}
function Ti(e, t, n, r, l) {
if (e === null) {
var o = n.type;
return typeof o == "function" && !Tu(o) && o.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? (t.tag = 15, t.type = o, Ra(e, t, o, r, l)) : (e = Tr(n.type, null, r, t, t.mode, l), e.ref = t.ref, e.return = t, t.child = e)
}
if (o = e.child, !(e.lanes & l)) {
var u = o.memoizedProps;
if (n = n.compare, n = n !== null ? n : Un, n(u, r) && e.ref === t.ref) return Ye(e, t, l)
}
return t.flags |= 1, e = ct(o, r), e.ref = t.ref, e.return = t, t.child = e
}
function Ra(e, t, n, r, l) {
if (e !== null) {
var o = e.memoizedProps;
if (Un(o, r) && e.ref === t.ref)
if (fe = !1, t.pendingProps = r = o, (e.lanes & l) !== 0) e.flags & 131072 && (fe = !0);
else return t.lanes = e.lanes, Ye(e, t, l)
}
return Po(e, t, n, r, l)
}
function Oa(e, t, n) {
var r = t.pendingProps,
l = r.children,
o = e !== null ? e.memoizedState : null;
if (r.mode === "hidden")
if (!(t.mode & 1)) t.memoizedState = {
baseLanes: 0,
cachePool: null,
transitions: null
}, D(Wt, he), he |= n;
else {
if (!(n & 1073741824)) return e = o !== null ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = {
baseLanes: e,
cachePool: null,
transitions: null
}, t.updateQueue = null, D(Wt, he), he |= e, null;
t.memoizedState = {
baseLanes: 0,
cachePool: null,
transitions: null
}, r = o !== null ? o.baseLanes : n, D(Wt, he), he |= r
}
else o !== null ? (r = o.baseLanes | n, t.memoizedState = null) : r = n, D(Wt, he), he |= r;
return ue(e, t, l, n), t.child
}
function ja(e, t) {
var n = t.ref;
(e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152)
}
function Po(e, t, n, r, l) {
var o = pe(n) ? _t : oe.current;
return o = qt(t, o), Gt(t, l), n = gu(e, t, n, r, o, l), r = wu(), e !== null && !fe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~l, Ye(e, t, l)) : ($ && r && uu(t), t.flags |= 1, ue(e, t, n, l), t.child)
}
function Li(e, t, n, r, l) {
if (pe(n)) {
var o = !0;
Vr(t)
} else o = !1;
if (Gt(t, l), t.stateNode === null) Nr(e, t), za(t, n, r), _o(t, n, r, l), r = !0;
else if (e === null) {
var u = t.stateNode,
i = t.memoizedProps;
u.props = i;
var s = u.context,
f = n.contextType;
typeof f == "object" && f !== null ? f = _e(f) : (f = pe(n) ? _t : oe.current, f = qt(t, f));
var h = n.getDerivedStateFromProps,
m = typeof h == "function" || typeof u.getSnapshotBeforeUpdate == "function";
m || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof u.componentWillReceiveProps != "function" || (i !== r || s !== f) && Ci(t, u, r, f), qe = !1;
var p = t.memoizedState;
u.state = p, Qr(t, r, u, l), s = t.memoizedState, i !== r || p !== s || de.current || qe ? (typeof h == "function" && (Co(t, n, h, r), s = t.memoizedState), (i = qe || Ei(t, n, i, r, p, s, f)) ? (m || typeof u.UNSAFE_componentWillMount != "function" && typeof u.componentWillMount != "function" || (typeof u.componentWillMount == "function" && u.componentWillMount(), typeof u.UNSAFE_componentWillMount == "function" && u.UNSAFE_componentWillMount()), typeof u.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof u.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = s), u.props = r, u.state = s, u.context = f, r = i) : (typeof u.componentDidMount == "function" && (t.flags |= 4194308), r = !1)
} else {
u = t.stateNode, ia(e, t), i = t.memoizedProps, f = t.type === t.elementType ? i : Te(t.type, i), u.props = f, m = t.pendingProps, p = u.context, s = n.contextType, typeof s == "object" && s !== null ? s = _e(s) : (s = pe(n) ? _t : oe.current, s = qt(t, s));
var g = n.getDerivedStateFromProps;
(h = typeof g == "function" || typeof u.getSnapshotBeforeUpdate == "function") || typeof u.UNSAFE_componentWillReceiveProps != "function" && typeof u.componentWillReceiveProps != "function" || (i !== m || p !== s) && Ci(t, u, r, s), qe = !1, p = t.memoizedState, u.state = p, Qr(t, r, u, l);
var w = t.memoizedState;
i !== m || p !== w || de.current || qe ? (typeof g == "function" && (Co(t, n, g, r), w = t.memoizedState), (f = qe || Ei(t, n, f, r, p, w, s) || !1) ? (h || typeof u.UNSAFE_componentWillUpdate != "function" && typeof u.componentWillUpdate != "function" || (typeof u.componentWillUpdate == "function" && u.componentWillUpdate(r, w, s), typeof u.UNSAFE_componentWillUpdate == "function" && u.UNSAFE_componentWillUpdate(r, w, s)), typeof u.componentDidUpdate == "function" && (t.flags |= 4), typeof u.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof u.componentDidUpdate != "function" || i === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof u.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = w), u.props = r, u.state = w, u.context = s, r = f) : (typeof u.componentDidUpdate != "function" || i === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof u.getSnapshotBeforeUpdate != "function" || i === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), r = !1)
}
return zo(e, t, n, r, o, l)
}
function zo(e, t, n, r, l, o) {
ja(e, t);
var u = (t.flags & 128) !== 0;
if (!r && !u) return l && hi(t, n, !1), Ye(e, t, o);
r = t.stateNode, sd.current = t;
var i = u && typeof n.getDerivedStateFromError != "function" ? null : r.render();
return t.flags |= 1, e !== null && u ? (t.child = en(t, e.child, null, o), t.child = en(t, null, i, o)) : ue(e, t, i, o), t.memoizedState = r.state, l && hi(t, n, !0), t.child
}
function Ma(e) {
var t = e.stateNode;
t.pendingContext ? mi(e, t.pendingContext, t.pendingContext !== t.context) : t.context && mi(e, t.context, !1), mu(e, t.containerInfo)
}
function Ri(e, t, n, r, l) {
return bt(), su(l), t.flags |= 256, ue(e, t, n, r), t.child
}
var To = {
dehydrated: null,
treeContext: null,
retryLane: 0
};
function Lo(e) {
return {
baseLanes: e,
cachePool: null,
transitions: null
}
}
function Da(e, t, n) {
var r = t.pendingProps,
l = V.current,
o = !1,
u = (t.flags & 128) !== 0,
i;
if ((i = u) || (i = e !== null && e.memoizedState === null ? !1 : (l & 2) !== 0), i ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (l |= 1), D(V, l & 1), e === null) return xo(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (u = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, u = {
mode: "hidden",
children: u
}, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = u) : o = fl(u, r, 0, null), e = Ct(e, r, n, null), o.return = t, e.return = t, o.sibling = e, t.child = o, t.child.memoizedState = Lo(n), t.memoizedState = To, e) : xu(t, u));
if (l = e.memoizedState, l !== null && (i = l.dehydrated, i !== null)) return ad(e, t, u, r, i, l, n);
if (o) {
o = r.fallback, u = t.mode, l = e.child, i = l.sibling;
var s = {
mode: "hidden",
children: r.children
};
return !(u & 1) && t.child !== l ? (r = t.child, r.childLanes = 0, r.pendingProps = s, t.deletions = null) : (r = ct(l, s), r.subtreeFlags = l.subtreeFlags & 14680064), i !== null ? o = ct(i, o) : (o = Ct(o, u, n, null), o.flags |= 2), o.return = t, r.return = t, r.sibling = o, t.child = r, r = o, o = t.child, u = e.child.memoizedState, u = u === null ? Lo(n) : {
baseLanes: u.baseLanes | n,
cachePool: null,
transitions: u.transitions
}, o.memoizedState = u, o.childLanes = e.childLanes & ~n, t.memoizedState = To, r
}
return o = e.child, e = o.sibling, r = ct(o, {
mode: "visible",
children: r.children
}), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r
}
function xu(e, t) {
return t = fl({
mode: "visible",
children: t
}, e.mode, 0, null), t.return = e, e.child = t
}
function mr(e, t, n, r) {
return r !== null && su(r), en(t, e.child, null, n), e = xu(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e
}
function ad(e, t, n, r, l, o, u) {
if (n) return t.flags & 256 ? (t.flags &= -257, r = Al(Error(y(422))), mr(e, t, u, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (o = r.fallback, l = t.mode, r = fl({
mode: "visible",
children: r.children
}, l, 0, null), o = Ct(o, l, u, null), o.flags |= 2, r.return = t, o.return = t, r.sibling = o, t.child = r, t.mode & 1 && en(t, e.child, null, u), t.child.memoizedState = Lo(u), t.memoizedState = To, o);
if (!(t.mode & 1)) return mr(e, t, u, null);
if (l.data === "$!") {
if (r = l.nextSibling && l.nextSibling.dataset, r) var i = r.dgst;
return r = i, o = Error(y(419)), r = Al(o, r, void 0), mr(e, t, u, r)
}
if (i = (u & e.childLanes) !== 0, fe || i) {
if (r = q, r !== null) {
switch (u & -u) {
case 4:
l = 2;
break;
case 16:
l = 8;
break;
case 64:
case 128:
case 256:
case 512:
case 1024:
case 2048:
case 4096:
case 8192:
case 16384:
case 32768:
case 65536:
case 131072:
case 262144:
case 524288:
case 1048576:
case 2097152:
case 4194304:
case 8388608:
case 16777216:
case 33554432:
case 67108864:
l = 32;
break;
case 536870912:
l = 268435456;
break;
default:
l = 0
}
l = l & (r.suspendedLanes | u) ? 0 : l, l !== 0 && l !== o.retryLane && (o.retryLane = l, Xe(e, l), je(r, e, l, -1))
}
return zu(), r = Al(Error(y(421))), mr(e, t, u, r)
}
return l.data === "$?" ? (t.flags |= 128, t.child = e.child, t = xd.bind(null, e), l._reactRetry = t, null) : (e = o.treeContext, ve = ut(l.nextSibling), ye = t, $ = !0, Re = null, e !== null && (Se[xe++] = Be, Se[xe++] = He, Se[xe++] = Nt, Be = e.id, He = e.overflow, Nt = t), t = xu(t, r.children), t.flags |= 4096, t)
}
function Oi(e, t, n) {
e.lanes |= t;
var r = e.alternate;
r !== null && (r.lanes |= t), Eo(e.return, t, n)
}
function Bl(e, t, n, r, l) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
rendering: null,
renderingStartTime: 0,
last: r,
tail: n,
tailMode: l
} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = l)
}
function Ia(e, t, n) {
var r = t.pendingProps,
l = r.revealOrder,
o = r.tail;
if (ue(e, t, r.children, n), r = V.current, r & 2) r = r & 1 | 2, t.flags |= 128;
else {
if (e !== null && e.flags & 128) e: for (e = t.child; e !== null;) {
if (e.tag === 13) e.memoizedState !== null && Oi(e, n, t);
else if (e.tag === 19) Oi(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue
}
if (e === t) break e;
for (; e.sibling === null;) {
if (e.return === null || e.return === t) break e;
e = e.return
}
e.sibling.return = e.return, e = e.sibling
}
r &= 1
}
if (D(V, r), !(t.mode & 1)) t.memoizedState = null;
else switch (l) {
case "forwards":
for (n = t.child, l = null; n !== null;) e = n.alternate, e !== null && Kr(e) === null && (l = n), n = n.sibling;
n = l, n === null ? (l = t.child, t.child = null) : (l = n.sibling, n.sibling = null), Bl(t, !1, l, n, o);
break;
case "backwards":
for (n = null, l = t.child, t.child = null; l !== null;) {
if (e = l.alternate, e !== null && Kr(e) === null) {
t.child = l;
break
}
e = l.sibling, l.sibling = n, n = l, l = e
}
Bl(t, !0, n, null, o);
break;
case "together":
Bl(t, !1, null, null, void 0);
break;
default:
t.memoizedState = null
}
return t.child
}
function Nr(e, t) {
!(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2)
}
function Ye(e, t, n) {
if (e !== null && (t.dependencies = e.dependencies), zt |= t.lanes, !(n & t.childLanes)) return null;
if (e !== null && t.child !== e.child) throw Error(y(153));
if (t.child !== null) {
for (e = t.child, n = ct(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ct(e, e.pendingProps), n.return = t;
n.sibling = null
}
return t.child
}
function cd(e, t, n) {
switch (t.tag) {
case 3:
Ma(t), bt();
break;
case 5:
sa(t);
break;
case 1:
pe(t.type) && Vr(t);
break;
case 4:
mu(t, t.stateNode.containerInfo);
break;
case 10:
var r = t.type._context,
l = t.memoizedProps.value;
D(Hr, r._currentValue), r._currentValue = l;
break;
case 13:
if (r = t.memoizedState, r !== null) return r.dehydrated !== null ? (D(V, V.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? Da(e, t, n) : (D(V, V.current & 1), e = Ye(e, t, n), e !== null ? e.sibling : null);
D(V, V.current & 1);
break;
case 19:
if (r = (n & t.childLanes) !== 0, e.flags & 128) {
if (r) return Ia(e, t, n);
t.flags |= 128
}
if (l = t.memoizedState, l !== null && (l.rendering = null, l.tail = null, l.lastEffect = null), D(V, V.current), r) break;
return null;
case 22:
case 23:
return t.lanes = 0, Oa(e, t, n)
}
return Ye(e, t, n)
}
var Fa, Ro, Ua, $a;
Fa = function(e, t) {
for (var n = t.child; n !== null;) {
if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode);
else if (n.tag !== 4 && n.child !== null) {
n.child.return = n, n = n.child;
continue
}
if (n === t) break;
for (; n.sibling === null;) {
if (n.return === null || n.return === t) return;
n = n.return
}
n.sibling.return = n.return, n = n.sibling
}
};
Ro = function() {};
Ua = function(e, t, n, r) {
var l = e.memoizedProps;
if (l !== r) {
e = t.stateNode, xt($e.current);
var o = null;
switch (n) {
case "input":
l = ql(e, l), r = ql(e, r), o = [];
break;
case "select":
l = B({}, l, {
value: void 0
}), r = B({}, r, {
value: void 0
}), o = [];
break;
case "textarea":
l = to(e, l), r = to(e, r), o = [];
break;
default:
typeof l.onClick != "function" && typeof r.onClick == "function" && (e.onclick = Ur)
}
ro(n, r);
var u;
n = null;
for (f in l)
if (!r.hasOwnProperty(f) && l.hasOwnProperty(f) && l[f] != null)
if (f === "style") {
var i = l[f];
for (u in i) i.hasOwnProperty(u) && (n || (n = {}), n[u] = "")
} else f !== "dangerouslySetInnerHTML" && f !== "children" && f !== "suppressContentEditableWarning" && f !== "suppressHydrationWarning" && f !== "autoFocus" && (Rn.hasOwnProperty(f) ? o || (o = []) : (o = o || []).push(f, null));
for (f in r) {
var s = r[f];
if (i = l != null ? l[f] : void 0, r.hasOwnProperty(f) && s !== i && (s != null || i != null))
if (f === "style")
if (i) {
for (u in i) !i.hasOwnProperty(u) || s && s.hasOwnProperty(u) || (n || (n = {}), n[u] = "");
for (u in s) s.hasOwnProperty(u) && i[u] !== s[u] && (n || (n = {}), n[u] = s[u])
} else n || (o || (o = []), o.push(f, n)), n = s;
else f === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, i = i ? i.__html : void 0, s != null && i !== s && (o = o || []).push(f, s)) : f === "children" ? typeof s != "string" && typeof s != "number" || (o = o || []).push(f, "" + s) : f !== "suppressContentEditableWarning" && f !== "suppressHydrationWarning" && (Rn.hasOwnProperty(f) ? (s != null && f === "onScroll" && I("scroll", e), o || i === s || (o = [])) : (o = o || []).push(f, s))
}
n && (o = o || []).push("style", n);
var f = o;
(t.updateQueue = f) && (t.flags |= 4)
}
};
$a = function(e, t, n, r) {
n !== r && (t.flags |= 4)
};
function vn(e, t) {
if (!$) switch (e.tailMode) {
case "hidden":
t = e.tail;
for (var n = null; t !== null;) t.alternate !== null && (n = t), t = t.sibling;
n === null ? e.tail = null : n.sibling = null;
break;
case "collapsed":
n = e.tail;
for (var r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;
r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null
}
}
function re(e) {
var t = e.alternate !== null && e.alternate.child === e.child,
n = 0,
r = 0;
if (t)
for (var l = e.child; l !== null;) n |= l.lanes | l.childLanes, r |= l.subtreeFlags & 14680064, r |= l.flags & 14680064, l.return = e, l = l.sibling;
else
for (l = e.child; l !== null;) n |= l.lanes | l.childLanes, r |= l.subtreeFlags, r |= l.flags, l.return = e, l = l.sibling;
return e.subtreeFlags |= r, e.childLanes = n, t
}
function fd(e, t, n) {
var r = t.pendingProps;
switch (iu(t), t.tag) {
case 2:
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return re(t), null;
case 1:
return pe(t.type) && $r(), re(t), null;
case 3:
return r = t.stateNode, tn(), F(de), F(oe), vu(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (dr(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, Re !== null && ($o(Re), Re = null))), Ro(e, t), re(t), null;
case 5:
hu(t);
var l = xt(Hn.current);
if (n = t.type, e !== null && t.stateNode != null) Ua(e, t, n, r, l), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152);
else {
if (!r) {
if (t.stateNode === null) throw Error(y(166));
return re(t), null
}
if (e = xt($e.current), dr(t)) {
r = t.stateNode, n = t.type;
var o = t.memoizedProps;
switch (r[Fe] = t, r[An] = o, e = (t.mode & 1) !== 0, n) {
case "dialog":
I("cancel", r), I("close", r);
break;
case "iframe":
case "object":
case "embed":
I("load", r);
break;
case "video":
case "audio":
for (l = 0; l < Sn.length; l++) I(Sn[l], r);
break;
case "source":
I("error", r);
break;
case "img":
case "image":
case "link":
I("error", r), I("load", r);
break;
case "details":
I("toggle", r);
break;
case "input":
Au(r, o), I("invalid", r);
break;
case "select":
r._wrapperState = {
wasMultiple: !!o.multiple
}, I("invalid", r);
break;
case "textarea":
Hu(r, o), I("invalid", r)
}
ro(n, o), l = null;
for (var u in o)
if (o.hasOwnProperty(u)) {
var i = o[u];
u === "children" ? typeof i == "string" ? r.textContent !== i && (o.suppressHydrationWarning !== !0 && fr(r.textContent, i, e), l = ["children", i]) : typeof i == "number" && r.textContent !== "" + i && (o.suppressHydrationWarning !== !0 && fr(r.textContent, i, e), l = ["children", "" + i]) : Rn.hasOwnProperty(u) && i != null && u === "onScroll" && I("scroll", r)
} switch (n) {
case "input":
rr(r), Bu(r, o, !0);
break;
case "textarea":
rr(r), Wu(r);
break;
case "select":
case "option":
break;
default:
typeof o.onClick == "function" && (r.onclick = Ur)
}
r = l, t.updateQueue = r, r !== null && (t.flags |= 4)
} else {
u = l.nodeType === 9 ? l : l.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = ps(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = u.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof r.is == "string" ? e = u.createElement(n, {
is: r.is
}) : (e = u.createElement(n), n === "select" && (u = e, r.multiple ? u.multiple = !0 : r.size && (u.size = r.size))) : e = u.createElementNS(e, n), e[Fe] = t, e[An] = r, Fa(e, t, !1, !1), t.stateNode = e;
e: {
switch (u = lo(n, r), n) {
case "dialog":
I("cancel", e), I("close", e), l = r;
break;
case "iframe":
case "object":
case "embed":
I("load", e), l = r;
break;
case "video":
case "audio":
for (l = 0; l < Sn.length; l++) I(Sn[l], e);
l = r;
break;
case "source":
I("error", e), l = r;
break;
case "img":
case "image":
case "link":
I("error", e), I("load", e), l = r;
break;
case "details":
I("toggle", e), l = r;
break;
case "input":
Au(e, r), l = ql(e, r), I("invalid", e);
break;
case "option":
l = r;
break;
case "select":
e._wrapperState = {
wasMultiple: !!r.multiple
}, l = B({}, r, {
value: void 0
}), I("invalid", e);
break;
case "textarea":
Hu(e, r), l = to(e, r), I("invalid", e);
break;
default:
l = r
}
ro(n, l),
i = l;
for (o in i)
if (i.hasOwnProperty(o)) {
var s = i[o];
o === "style" ? vs(e, s) : o === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, s != null && ms(e, s)) : o === "children" ? typeof s == "string" ? (n !== "textarea" || s !== "") && On(e, s) : typeof s == "number" && On(e, "" + s) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (Rn.hasOwnProperty(o) ? s != null && o === "onScroll" && I("scroll", e) : s != null && Ko(e, o, s, u))
} switch (n) {
case "input":
rr(e), Bu(e, r, !1);
break;
case "textarea":
rr(e), Wu(e);
break;
case "option":
r.value != null && e.setAttribute("value", "" + ft(r.value));
break;
case "select":
e.multiple = !!r.multiple, o = r.value, o != null ? Qt(e, !!r.multiple, o, !1) : r.defaultValue != null && Qt(e, !!r.multiple, r.defaultValue, !0);
break;
default:
typeof l.onClick == "function" && (e.onclick = Ur)
}
switch (n) {
case "button":
case "input":
case "select":
case "textarea":
r = !!r.autoFocus;
break e;
case "img":
r = !0;
break e;
default:
r = !1
}
}
r && (t.flags |= 4)
}
t.ref !== null && (t.flags |= 512, t.flags |= 2097152)
}
return re(t), null;
case 6:
if (e && t.stateNode != null) $a(e, t, e.memoizedProps, r);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(y(166));
if (n = xt(Hn.current), xt($e.current), dr(t)) {
if (r = t.stateNode, n = t.memoizedProps, r[Fe] = t, (o = r.nodeValue !== n) && (e = ye, e !== null)) switch (e.tag) {
case 3:
fr(r.nodeValue, n, (e.mode & 1) !== 0);
break;
case 5:
e.memoizedProps.suppressHydrationWarning !== !0 && fr(r.nodeValue, n, (e.mode & 1) !== 0)
}
o && (t.flags |= 4)
} else r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r), r[Fe] = t, t.stateNode = r
}
return re(t), null;
case 13:
if (F(V), r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
if ($ && ve !== null && t.mode & 1 && !(t.flags & 128)) ra(), bt(), t.flags |= 98560, o = !1;
else if (o = dr(t), r !== null && r.dehydrated !== null) {
if (e === null) {
if (!o) throw Error(y(318));
if (o = t.memoizedState, o = o !== null ? o.dehydrated : null, !o) throw Error(y(317));
o[Fe] = t
} else bt(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
re(t), o = !1
} else Re !== null && ($o(Re), Re = null), o = !0;
if (!o) return t.flags & 65536 ? t : null
}
return t.flags & 128 ? (t.lanes = n, t) : (r = r !== null, r !== (e !== null && e.memoizedState !== null) && r && (t.child.flags |= 8192, t.mode & 1 && (e === null || V.current & 1 ? Y === 0 && (Y = 3) : zu())), t.updateQueue !== null && (t.flags |= 4), re(t), null);
case 4:
return tn(), Ro(e, t), e === null && $n(t.stateNode.containerInfo), re(t), null;
case 10:
return fu(t.type._context), re(t), null;
case 17:
return pe(t.type) && $r(), re(t), null;
case 19:
if (F(V), o = t.memoizedState, o === null) return re(t), null;
if (r = (t.flags & 128) !== 0, u = o.rendering, u === null)
if (r) vn(o, !1);
else {
if (Y !== 0 || e !== null && e.flags & 128)
for (e = t.child; e !== null;) {
if (u = Kr(e), u !== null) {
for (t.flags |= 128, vn(o, !1), r = u.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), t.subtreeFlags = 0, r = n, n = t.child; n !== null;) o = n, e = r, o.flags &= 14680066, u = o.alternate, u === null ? (o.childLanes = 0, o.lanes = e, o.child = null, o.subtreeFlags = 0, o.memoizedProps = null, o.memoizedState = null, o.updateQueue = null, o.dependencies = null, o.stateNode = null) : (o.childLanes = u.childLanes, o.lanes = u.lanes, o.child = u.child, o.subtreeFlags = 0, o.deletions = null, o.memoizedProps = u.memoizedProps, o.memoizedState = u.memoizedState, o.updateQueue = u.updateQueue, o.type = u.type, e = u.dependencies, o.dependencies = e === null ? null : {
lanes: e.lanes,
firstContext: e.firstContext
}), n = n.sibling;
return D(V, V.current & 1 | 2), t.child
}
e = e.sibling
}
o.tail !== null && Q() > rn && (t.flags |= 128, r = !0, vn(o, !1), t.lanes = 4194304)
}
else {
if (!r)
if (e = Kr(u), e !== null) {
if (t.flags |= 128, r = !0, n = e.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), vn(o, !0), o.tail === null && o.tailMode === "hidden" && !u.alternate && !$) return re(t), null
} else 2 * Q() - o.renderingStartTime > rn && n !== 1073741824 && (t.flags |= 128, r = !0, vn(o, !1), t.lanes = 4194304);
o.isBackwards ? (u.sibling = t.child, t.child = u) : (n = o.last, n !== null ? n.sibling = u : t.child = u, o.last = u)
}
return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime = Q(), t.sibling = null, n = V.current, D(V, r ? n & 1 | 2 : n & 1), t) : (re(t), null);
case 22:
case 23:
return Pu(), r = t.memoizedState !== null, e !== null && e.memoizedState !== null !== r && (t.flags |= 8192), r && t.mode & 1 ? he & 1073741824 && (re(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : re(t), null;
case 24:
return null;
case 25:
return null
}
throw Error(y(156, t.tag))
}
function dd(e, t) {
switch (iu(t), t.tag) {
case 1:
return pe(t.type) && $r(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 3:
return tn(), F(de), F(oe), vu(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
case 5:
return hu(t), null;
case 13:
if (F(V), e = t.memoizedState, e !== null && e.dehydrated !== null) {
if (t.alternate === null) throw Error(y(340));
bt()
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 19:
return F(V), null;
case 4:
return tn(), null;
case 10:
return fu(t.type._context), null;
case 22:
case 23:
return Pu(), null;
case 24:
return null;
default:
return null
}
}
var hr = !1,
le = !1,
pd = typeof WeakSet == "function" ? WeakSet : Set,
C = null;
function Ht(e, t) {
var n = e.ref;
if (n !== null)
if (typeof n == "function") try {
n(null)
} catch (r) {
H(e, t, r)
} else n.current = null
}
function Oo(e, t, n) {
try {
n()
} catch (r) {
H(e, t, r)
}
}
var ji = !1;
function md(e, t) {
if (ho = Dr, e = Ws(), ou(e)) {
if ("selectionStart" in e) var n = {
start: e.selectionStart,
end: e.selectionEnd
};
else e: {
n = (n = e.ownerDocument) && n.defaultView || window;
var r = n.getSelection && n.getSelection();
if (r && r.rangeCount !== 0) {
n = r.anchorNode;
var l = r.anchorOffset,
o = r.focusNode;
r = r.focusOffset;
try {
n.nodeType, o.nodeType
} catch {
n = null;
break e
}
var u = 0,
i = -1,
s = -1,
f = 0,
h = 0,
m = e,
p = null;
t: for (;;) {
for (var g; m !== n || l !== 0 && m.nodeType !== 3 || (i = u + l), m !== o || r !== 0 && m.nodeType !== 3 || (s = u + r), m.nodeType === 3 && (u += m.nodeValue.length), (g = m.firstChild) !== null;) p = m, m = g;
for (;;) {
if (m === e) break t;
if (p === n && ++f === l && (i = u), p === o && ++h === r && (s = u), (g = m.nextSibling) !== null) break;
m = p, p = m.parentNode
}
m = g
}
n = i === -1 || s === -1 ? null : {
start: i,
end: s
}
} else n = null
}
n = n || {
start: 0,
end: 0
}
} else n = null;
for (vo = {
focusedElem: e,
selectionRange: n
}, Dr = !1, C = t; C !== null;)
if (t = C, e = t.child, (t.subtreeFlags & 1028) !== 0 && e !== null) e.return = t, C = e;
else
for (; C !== null;) {
t = C;
try {
var w = t.alternate;
if (t.flags & 1024) switch (t.tag) {
case 0:
case 11:
case 15:
break;
case 1:
if (w !== null) {
var S = w.memoizedProps,
M = w.memoizedState,
c = t.stateNode,
a = c.getSnapshotBeforeUpdate(t.elementType === t.type ? S : Te(t.type, S), M);
c.__reactInternalSnapshotBeforeUpdate = a
}
break;
case 3:
var d = t.stateNode.containerInfo;
d.nodeType === 1 ? d.textContent = "" : d.nodeType === 9 && d.documentElement && d.removeChild(d.documentElement);
break;
case 5:
case 6:
case 4:
case 17:
break;
default:
throw Error(y(163))
}
} catch (v) {
H(t, t.return, v)
}
if (e = t.sibling, e !== null) {
e.return = t.return, C = e;
break
}
C = t.return
}
return w = ji, ji = !1, w
}
function zn(e, t, n) {
var r = t.updateQueue;
if (r = r !== null ? r.lastEffect : null, r !== null) {
var l = r = r.next;
do {
if ((l.tag & e) === e) {
var o = l.destroy;
l.destroy = void 0, o !== void 0 && Oo(t, n, o)
}
l = l.next
} while (l !== r)
}
}
function al(e, t) {
if (t = t.updateQueue, t = t !== null ? t.lastEffect : null, t !== null) {
var n = t = t.next;
do {
if ((n.tag & e) === e) {
var r = n.create;
n.destroy = r()
}
n = n.next
} while (n !== t)
}
}
function jo(e) {
var t = e.ref;
if (t !== null) {
var n = e.stateNode;
switch (e.tag) {
case 5:
e = n;
break;
default:
e = n
}
typeof t == "function" ? t(e) : t.current = e
}
}
function Va(e) {
var t = e.alternate;
t !== null && (e.alternate = null, Va(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[Fe], delete t[An], delete t[wo], delete t[Zf], delete t[Jf])), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null
}
function Aa(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 4
}
function Mi(e) {
e: for (;;) {
for (; e.sibling === null;) {
if (e.return === null || Aa(e.return)) return null;
e = e.return
}
for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
if (e.flags & 2 || e.child === null || e.tag === 4) continue e;
e.child.return = e, e = e.child
}
if (!(e.flags & 2)) return e.stateNode
}
}
function Mo(e, t, n) {
var r = e.tag;
if (r === 5 || r === 6) e = e.stateNode, t ? n.nodeType === 8 ? n.parentNode.insertBefore(e, t) : n.insertBefore(e, t) : (n.nodeType === 8 ? (t = n.parentNode, t.insertBefore(e, n)) : (t = n, t.appendChild(e)), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = Ur));
else if (r !== 4 && (e = e.child, e !== null))
for (Mo(e, t, n), e = e.sibling; e !== null;) Mo(e, t, n), e = e.sibling
}
function Do(e, t, n) {
var r = e.tag;
if (r === 5 || r === 6) e = e.stateNode, t ? n.insertBefore(e, t) : n.appendChild(e);
else if (r !== 4 && (e = e.child, e !== null))
for (Do(e, t, n), e = e.sibling; e !== null;) Do(e, t, n), e = e.sibling
}
var b = null,
Le = !1;
function Ze(e, t, n) {
for (n = n.child; n !== null;) Ba(e, t, n), n = n.sibling
}
function Ba(e, t, n) {
if (Ue && typeof Ue.onCommitFiberUnmount == "function") try {
Ue.onCommitFiberUnmount(tl, n)
} catch {}
switch (n.tag) {
case 5:
le || Ht(n, t);
case 6:
var r = b,
l = Le;
b = null, Ze(e, t, n), b = r, Le = l, b !== null && (Le ? (e = b, n = n.stateNode, e.nodeType === 8 ? e.parentNode.removeChild(n) : e.removeChild(n)) : b.removeChild(n.stateNode));
break;
case 18:
b !== null && (Le ? (e = b, n = n.stateNode, e.nodeType === 8 ? Dl(e.parentNode, n) : e.nodeType === 1 && Dl(e, n), In(e)) : Dl(b, n.stateNode));
break;
case 4:
r = b, l = Le, b = n.stateNode.containerInfo, Le = !0, Ze(e, t, n), b = r, Le = l;
break;
case 0:
case 11:
case 14:
case 15:
if (!le && (r = n.updateQueue, r !== null && (r = r.lastEffect, r !== null))) {
l = r = r.next;
do {
var o = l,
u = o.destroy;
o = o.tag, u !== void 0 && (o & 2 || o & 4) && Oo(n, t, u), l = l.next
} while (l !== r)
}
Ze(e, t, n);
break;
case 1:
if (!le && (Ht(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function")) try {
r.props = n.memoizedProps, r.state = n.memoizedState, r.componentWillUnmount()
} catch (i) {
H(n, t, i)
}
Ze(e, t, n);
break;
case 21:
Ze(e, t, n);
break;
case 22:
n.mode & 1 ? (le = (r = le) || n.memoizedState !== null, Ze(e, t, n), le = r) : Ze(e, t, n);
break;
default:
Ze(e, t, n)
}
}
function Di(e) {
var t = e.updateQueue;
if (t !== null) {
e.updateQueue = null;
var n = e.stateNode;
n === null && (n = e.stateNode = new pd), t.forEach(function(r) {
var l = Ed.bind(null, e, r);
n.has(r) || (n.add(r), r.then(l, l))
})
}
}
function ze(e, t) {
var n = t.deletions;
if (n !== null)
for (var r = 0; r < n.length; r++) {
var l = n[r];
try {
var o = e,
u = t,
i = u;
e: for (; i !== null;) {
switch (i.tag) {
case 5:
b = i.stateNode, Le = !1;
break e;
case 3:
b = i.stateNode.containerInfo, Le = !0;
break e;
case 4:
b = i.stateNode.containerInfo, Le = !0;
break e
}
i = i.return
}
if (b === null) throw Error(y(160));
Ba(o, u, l), b = null, Le = !1;
var s = l.alternate;
s !== null && (s.return = null), l.return = null
} catch (f) {
H(l, t, f)
}
}
if (t.subtreeFlags & 12854)
for (t = t.child; t !== null;) Ha(t, e), t = t.sibling
}
function Ha(e, t) {
var n = e.alternate,
r = e.flags;
switch (e.tag) {
case 0:
case 11:
case 14:
case 15:
if (ze(t, e), De(e), r & 4) {
try {
zn(3, e, e.return), al(3, e)
} catch (S) {
H(e, e.return, S)
}
try {
zn(5, e, e.return)
} catch (S) {
H(e, e.return, S)
}
}
break;
case 1:
ze(t, e), De(e), r & 512 && n !== null && Ht(n, n.return);
break;
case 5:
if (ze(t, e), De(e), r & 512 && n !== null && Ht(n, n.return), e.flags & 32) {
var l = e.stateNode;
try {
On(l, "")
} catch (S) {
H(e, e.return, S)
}
}
if (r & 4 && (l = e.stateNode, l != null)) {
var o = e.memoizedProps,
u = n !== null ? n.memoizedProps : o,
i = e.type,
s = e.updateQueue;
if (e.updateQueue = null, s !== null) try {
i === "input" && o.type === "radio" && o.name != null && fs(l, o), lo(i, u);
var f = lo(i, o);
for (u = 0; u < s.length; u += 2) {
var h = s[u],
m = s[u + 1];
h === "style" ? vs(l, m) : h === "dangerouslySetInnerHTML" ? ms(l, m) : h === "children" ? On(l, m) : Ko(l, h, m, f)
}
switch (i) {
case "input":
bl(l, o);
break;
case "textarea":
ds(l, o);
break;
case "select":
var p = l._wrapperState.wasMultiple;
l._wrapperState.wasMultiple = !!o.multiple;
var g = o.value;
g != null ? Qt(l, !!o.multiple, g, !1) : p !== !!o.multiple && (o.defaultValue != null ? Qt(l, !!o.multiple, o.defaultValue, !0) : Qt(l, !!o.multiple, o.multiple ? [] : "", !1))
}
l[An] = o
} catch (S) {
H(e, e.return, S)
}
}
break;
case 6:
if (ze(t, e), De(e), r & 4) {
if (e.stateNode === null) throw Error(y(162));
l = e.stateNode, o = e.memoizedProps;
try {
l.nodeValue = o
} catch (S) {
H(e, e.return, S)
}
}
break;
case 3:
if (ze(t, e), De(e), r & 4 && n !== null && n.memoizedState.isDehydrated) try {
In(t.containerInfo)
} catch (S) {
H(e, e.return, S)
}
break;
case 4:
ze(t, e), De(e);
break;
case 13:
ze(t, e), De(e), l = e.child, l.flags & 8192 && (o = l.memoizedState !== null, l.stateNode.isHidden = o, !o || l.alternate !== null && l.alternate.memoizedState !== null || (_u = Q())), r & 4 && Di(e);
break;
case 22:
if (h = n !== null && n.memoizedState !== null, e.mode & 1 ? (le = (f = le) || h, ze(t, e), le = f) : ze(t, e), De(e), r & 8192) {
if (f = e.memoizedState !== null, (e.stateNode.isHidden = f) && !h && e.mode & 1)
for (C = e, h = e.child; h !== null;) {
for (m = C = h; C !== null;) {
switch (p = C, g = p.child, p.tag) {
case 0:
case 11:
case 14:
case 15:
zn(4, p, p.return);
break;
case 1:
Ht(p, p.return);
var w = p.stateNode;
if (typeof w.componentWillUnmount == "function") {
r = p, n = p.return;
try {
t = r, w.props = t.memoizedProps, w.state = t.memoizedState, w.componentWillUnmount()
} catch (S) {
H(r, n, S)
}
}
break;
case 5:
Ht(p, p.return);
break;
case 22:
if (p.memoizedState !== null) {
Fi(m);
continue
}
}
g !== null ? (g.return = p, C = g) : Fi(m)
}
h = h.sibling
}
e: for (h = null, m = e;;) {
if (m.tag === 5) {
if (h === null) {
h = m;
try {
l = m.stateNode, f ? (o = l.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (i = m.stateNode, s = m.memoizedProps.style, u = s != null && s.hasOwnProperty("display") ? s.display : null, i.style.display = hs("display", u))
} catch (S) {
H(e, e.return, S)
}
}
} else if (m.tag === 6) {
if (h === null) try {
m.stateNode.nodeValue = f ? "" : m.memoizedProps
} catch (S) {
H(e, e.return, S)
}
} else if ((m.tag !== 22 && m.tag !== 23 || m.memoizedState === null || m === e) && m.child !== null) {
m.child.return = m, m = m.child;
continue
}
if (m === e) break e;
for (; m.sibling === null;) {
if (m.return === null || m.return === e) break e;
h === m && (h = null), m = m.return
}
h === m && (h = null), m.sibling.return = m.return, m = m.sibling
}
}
break;
case 19:
ze(t, e), De(e), r & 4 && Di(e);
break;
case 21:
break;
default:
ze(t, e), De(e)
}
}
function De(e) {
var t = e.flags;
if (t & 2) {
try {
e: {
for (var n = e.return; n !== null;) {
if (Aa(n)) {
var r = n;
break e
}
n = n.return
}
throw Error(y(160))
}
switch (r.tag) {
case 5:
var l = r.stateNode;
r.flags & 32 && (On(l, ""), r.flags &= -33);
var o = Mi(e);
Do(e, o, l);
break;
case 3:
case 4:
var u = r.stateNode.containerInfo,
i = Mi(e);
Mo(e, i, u);
break;
default:
throw Error(y(161))
}
}
catch (s) {
H(e, e.return, s)
}
e.flags &= -3
}
t & 4096 && (e.flags &= -4097)
}
function hd(e, t, n) {
C = e, Wa(e)
}
function Wa(e, t, n) {
for (var r = (e.mode & 1) !== 0; C !== null;) {
var l = C,
o = l.child;
if (l.tag === 22 && r) {
var u = l.memoizedState !== null || hr;
if (!u) {
var i = l.alternate,
s = i !== null && i.memoizedState !== null || le;
i = hr;
var f = le;
if (hr = u, (le = s) && !f)
for (C = l; C !== null;) u = C, s = u.child, u.tag === 22 && u.memoizedState !== null ? Ui(l) : s !== null ? (s.return = u, C = s) : Ui(l);
for (; o !== null;) C = o, Wa(o), o = o.sibling;
C = l, hr = i, le = f
}
Ii(e)
} else l.subtreeFlags & 8772 && o !== null ? (o.return = l, C = o) : Ii(e)
}
}
function Ii(e) {
for (; C !== null;) {
var t = C;
if (t.flags & 8772) {
var n = t.alternate;
try {
if (t.flags & 8772) switch (t.tag) {
case 0:
case 11:
case 15:
le || al(5, t);
break;
case 1:
var r = t.stateNode;
if (t.flags & 4 && !le)
if (n === null) r.componentDidMount();
else {
var l = t.elementType === t.type ? n.memoizedProps : Te(t.type, n.memoizedProps);
r.componentDidUpdate(l, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate)
} var o = t.updateQueue;
o !== null && ki(t, o, r);
break;
case 3:
var u = t.updateQueue;
if (u !== null) {
if (n = null, t.child !== null) switch (t.child.tag) {
case 5:
n = t.child.stateNode;
break;
case 1:
n = t.child.stateNode
}
ki(t, u, n)
}
break;
case 5:
var i = t.stateNode;
if (n === null && t.flags & 4) {
n = i;
var s = t.memoizedProps;
switch (t.type) {
case "button":
case "input":
case "select":
case "textarea":
s.autoFocus && n.focus();
break;
case "img":
s.src && (n.src = s.src)
}
}
break;
case 6:
break;
case 4:
break;
case 12:
break;
case 13:
if (t.memoizedState === null) {
var f = t.alternate;
if (f !== null) {
var h = f.memoizedState;
if (h !== null) {
var m = h.dehydrated;
m !== null && In(m)
}
}
}
break;
case 19:
case 17:
case 21:
case 22:
case 23:
case 25:
break;
default:
throw Error(y(163))
}
le || t.flags & 512 && jo(t)
} catch (p) {
H(t, t.return, p)
}
}
if (t === e) {
C = null;
break
}
if (n = t.sibling, n !== null) {
n.return = t.return, C = n;
break
}
C = t.return
}
}
function Fi(e) {
for (; C !== null;) {
var t = C;
if (t === e) {
C = null;
break
}
var n = t.sibling;
if (n !== null) {
n.return = t.return, C = n;
break
}
C = t.return
}
}
function Ui(e) {
for (; C !== null;) {
var t = C;
try {
switch (t.tag) {
case 0:
case 11:
case 15:
var n = t.return;
try {
al(4, t)
} catch (s) {
H(t, n, s)
}
break;
case 1:
var r = t.stateNode;
if (typeof r.componentDidMount == "function") {
var l = t.return;
try {
r.componentDidMount()
} catch (s) {
H(t, l, s)
}
}
var o = t.return;
try {
jo(t)
} catch (s) {
H(t, o, s)
}
break;
case 5:
var u = t.return;
try {
jo(t)
} catch (s) {
H(t, u, s)
}
}
} catch (s) {
H(t, t.return, s)
}
if (t === e) {
C = null;
break
}
var i = t.sibling;
if (i !== null) {
i.return = t.return, C = i;
break
}
C = t.return
}
}
var vd = Math.ceil,
Gr = Ge.ReactCurrentDispatcher,
Eu = Ge.ReactCurrentOwner,
Ce = Ge.ReactCurrentBatchConfig,
O = 0,
q = null,
K = null,
ee = 0,
he = 0,
Wt = mt(0),
Y = 0,
Xn = null,
zt = 0,
cl = 0,
Cu = 0,
Tn = null,
ce = null,
_u = 0,
rn = 1 / 0,
Ve = null,
Zr = !1,
Io = null,
st = null,
vr = !1,
nt = null,
Jr = 0,
Ln = 0,
Fo = null,
Pr = -1,
zr = 0;
function ie() {
return O & 6 ? Q() : Pr !== -1 ? Pr : Pr = Q()
}
function at(e) {
return e.mode & 1 ? O & 2 && ee !== 0 ? ee & -ee : bf.transition !== null ? (zr === 0 && (zr = zs()), zr) : (e = j, e !== 0 || (e = window.event, e = e === void 0 ? 16 : Ds(e.type)), e) : 1
}
function je(e, t, n, r) {
if (50 < Ln) throw Ln = 0, Fo = null, Error(y(185));
Gn(e, n, r), (!(O & 2) || e !== q) && (e === q && (!(O & 2) && (cl |= n), Y === 4 && et(e, ee)), me(e, r), n === 1 && O === 0 && !(t.mode & 1) && (rn = Q() + 500, ul && ht()))
}
function me(e, t) {
var n = e.callbackNode;
qc(e, t);
var r = Mr(e, e === q ? ee : 0);
if (r === 0) n !== null && Xu(n), e.callbackNode = null, e.callbackPriority = 0;
else if (t = r & -r, e.callbackPriority !== t) {
if (n != null && Xu(n), t === 1) e.tag === 0 ? qf($i.bind(null, e)) : ea($i.bind(null, e)), Yf(function() {
!(O & 6) && ht()
}), n = null;
else {
switch (Ts(r)) {
case 1:
n = Jo;
break;
case 4:
n = Ns;
break;
case 16:
n = jr;
break;
case 536870912:
n = Ps;
break;
default:
n = jr
}
n = qa(n, Qa.bind(null, e))
}
e.callbackPriority = t, e.callbackNode = n
}
}
function Qa(e, t) {
if (Pr = -1, zr = 0, O & 6) throw Error(y(327));
var n = e.callbackNode;
if (Zt() && e.callbackNode !== n) return null;
var r = Mr(e, e === q ? ee : 0);
if (r === 0) return null;
if (r & 30 || r & e.expiredLanes || t) t = qr(e, r);
else {
t = r;
var l = O;
O |= 2;
var o = Xa();
(q !== e || ee !== t) && (Ve = null, rn = Q() + 500, Et(e, t));
do try {
wd();
break
} catch (i) {
Ka(e, i)
}
while (!0);
cu(), Gr.current = o, O = l, K !== null ? t = 0 : (q = null, ee = 0, t = Y)
}
if (t !== 0) {
if (t === 2 && (l = ao(e), l !== 0 && (r = l, t = Uo(e, l))), t === 1) throw n = Xn, Et(e, 0), et(e, r), me(e, Q()), n;
if (t === 6) et(e, r);
else {
if (l = e.current.alternate, !(r & 30) && !yd(l) && (t = qr(e, r), t === 2 && (o = ao(e), o !== 0 && (r = o, t = Uo(e, o))), t === 1)) throw n = Xn, Et(e, 0), et(e, r), me(e, Q()), n;
switch (e.finishedWork = l, e.finishedLanes = r, t) {
case 0:
case 1:
throw Error(y(345));
case 2:
wt(e, ce, Ve);
break;
case 3:
if (et(e, r), (r & 130023424) === r && (t = _u + 500 - Q(), 10 < t)) {
if (Mr(e, 0) !== 0) break;
if (l = e.suspendedLanes, (l & r) !== r) {
ie(), e.pingedLanes |= e.suspendedLanes & l;
break
}
e.timeoutHandle = go(wt.bind(null, e, ce, Ve), t);
break
}
wt(e, ce, Ve);
break;
case 4:
if (et(e, r), (r & 4194240) === r) break;
for (t = e.eventTimes, l = -1; 0 < r;) {
var u = 31 - Oe(r);
o = 1 << u, u = t[u], u > l && (l = u), r &= ~o
}
if (r = l, r = Q() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * vd(r / 1960)) - r, 10 < r) {
e.timeoutHandle = go(wt.bind(null, e, ce, Ve), r);
break
}
wt(e, ce, Ve);
break;
case 5:
wt(e, ce, Ve);
break;
default:
throw Error(y(329))
}
}
}
return me(e, Q()), e.callbackNode === n ? Qa.bind(null, e) : null
}
function Uo(e, t) {
var n = Tn;
return e.current.memoizedState.isDehydrated && (Et(e, t).flags |= 256), e = qr(e, t), e !== 2 && (t = ce, ce = n, t !== null && $o(t)), e
}
function $o(e) {
ce === null ? ce = e : ce.push.apply(ce, e)
}
function yd(e) {
for (var t = e;;) {
if (t.flags & 16384) {
var n = t.updateQueue;
if (n !== null && (n = n.stores, n !== null))
for (var r = 0; r < n.length; r++) {
var l = n[r],
o = l.getSnapshot;
l = l.value;
try {
if (!Me(o(), l)) return !1
} catch {
return !1
}
}
}
if (n = t.child, t.subtreeFlags & 16384 && n !== null) n.return = t, t = n;
else {
if (t === e) break;
for (; t.sibling === null;) {
if (t.return === null || t.return === e) return !0;
t = t.return
}
t.sibling.return = t.return, t = t.sibling
}
}
return !0
}
function et(e, t) {
for (t &= ~Cu, t &= ~cl, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t;) {
var n = 31 - Oe(t),
r = 1 << n;
e[n] = -1, t &= ~r
}
}
function $i(e) {
if (O & 6) throw Error(y(327));
Zt();
var t = Mr(e, 0);
if (!(t & 1)) return me(e, Q()), null;
var n = qr(e, t);
if (e.tag !== 0 && n === 2) {
var r = ao(e);
r !== 0 && (t = r, n = Uo(e, r))
}
if (n === 1) throw n = Xn, Et(e, 0), et(e, t), me(e, Q()), n;
if (n === 6) throw Error(y(345));
return e.finishedWork = e.current.alternate, e.finishedLanes = t, wt(e, ce, Ve), me(e, Q()), null
}
function Nu(e, t) {
var n = O;
O |= 1;
try {
return e(t)
} finally {
O = n, O === 0 && (rn = Q() + 500, ul && ht())
}
}
function Tt(e) {
nt !== null && nt.tag === 0 && !(O & 6) && Zt();
var t = O;
O |= 1;
var n = Ce.transition,
r = j;
try {
if (Ce.transition = null, j = 1, e) return e()
} finally {
j = r, Ce.transition = n, O = t, !(O & 6) && ht()
}
}
function Pu() {
he = Wt.current, F(Wt)
}
function Et(e, t) {
e.finishedWork = null, e.finishedLanes = 0;
var n = e.timeoutHandle;
if (n !== -1 && (e.timeoutHandle = -1, Xf(n)), K !== null)
for (n = K.return; n !== null;) {
var r = n;
switch (iu(r), r.tag) {
case 1:
r = r.type.childContextTypes, r != null && $r();
break;
case 3:
tn(), F(de), F(oe), vu();
break;
case 5:
hu(r);
break;
case 4:
tn();
break;
case 13:
F(V);
break;
case 19:
F(V);
break;
case 10:
fu(r.type._context);
break;
case 22:
case 23:
Pu()
}
n = n.return
}
if (q = e, K = e = ct(e.current, null), ee = he = t, Y = 0, Xn = null, Cu = cl = zt = 0, ce = Tn = null, St !== null) {
for (t = 0; t < St.length; t++)
if (n = St[t], r = n.interleaved, r !== null) {
n.interleaved = null;
var l = r.next,
o = n.pending;
if (o !== null) {
var u = o.next;
o.next = l, r.next = u
}
n.pending = r
} St = null
}
return e
}
function Ka(e, t) {
do {
var n = K;
try {
if (cu(), Cr.current = Yr, Xr) {
for (var r = A.memoizedState; r !== null;) {
var l = r.queue;
l !== null && (l.pending = null), r = r.next
}
Xr = !1
}
if (Pt = 0, J = X = A = null, Pn = !1, Wn = 0, Eu.current = null, n === null || n.return === null) {
Y = 1, Xn = t, K = null;
break
}
e: {
var o = e,
u = n.return,
i = n,
s = t;
if (t = ee, i.flags |= 32768, s !== null && typeof s == "object" && typeof s.then == "function") {
var f = s,
h = i,
m = h.tag;
if (!(h.mode & 1) && (m === 0 || m === 11 || m === 15)) {
var p = h.alternate;
p ? (h.updateQueue = p.updateQueue, h.memoizedState = p.memoizedState, h.lanes = p.lanes) : (h.updateQueue = null, h.memoizedState = null)
}
var g = Ni(u);
if (g !== null) {
g.flags &= -257, Pi(g, u, i, o, t), g.mode & 1 && _i(o, f, t), t = g, s = f;
var w = t.updateQueue;
if (w === null) {
var S = new Set;
S.add(s), t.updateQueue = S
} else w.add(s);
break e
} else {
if (!(t & 1)) {
_i(o, f, t), zu();
break e
}
s = Error(y(426))
}
} else if ($ && i.mode & 1) {
var M = Ni(u);
if (M !== null) {
!(M.flags & 65536) && (M.flags |= 256), Pi(M, u, i, o, t), su(nn(s, i));
break e
}
}
o = s = nn(s, i),
Y !== 4 && (Y = 2),
Tn === null ? Tn = [o] : Tn.push(o),
o = u;do {
switch (o.tag) {
case 3:
o.flags |= 65536, t &= -t, o.lanes |= t;
var c = Ta(o, s, t);
wi(o, c);
break e;
case 1:
i = s;
var a = o.type,
d = o.stateNode;
if (!(o.flags & 128) && (typeof a.getDerivedStateFromError == "function" || d !== null && typeof d.componentDidCatch == "function" && (st === null || !st.has(d)))) {
o.flags |= 65536, t &= -t, o.lanes |= t;
var v = La(o, i, t);
wi(o, v);
break e
}
}
o = o.return
} while (o !== null)
}
Ga(n)
} catch (E) {
t = E, K === n && n !== null && (K = n = n.return);
continue
}
break
} while (!0)
}
function Xa() {
var e = Gr.current;
return Gr.current = Yr, e === null ? Yr : e
}
function zu() {
(Y === 0 || Y === 3 || Y === 2) && (Y = 4), q === null || !(zt & 268435455) && !(cl & 268435455) || et(q, ee)
}
function qr(e, t) {
var n = O;
O |= 2;
var r = Xa();
(q !== e || ee !== t) && (Ve = null, Et(e, t));
do try {
gd();
break
} catch (l) {
Ka(e, l)
}
while (!0);
if (cu(), O = n, Gr.current = r, K !== null) throw Error(y(261));
return q = null, ee = 0, Y
}
function gd() {
for (; K !== null;) Ya(K)
}
function wd() {
for (; K !== null && !Hc();) Ya(K)
}
function Ya(e) {
var t = Ja(e.alternate, e, he);
e.memoizedProps = e.pendingProps, t === null ? Ga(e) : K = t, Eu.current = null
}
function Ga(e) {
var t = e;
do {
var n = t.alternate;
if (e = t.return, t.flags & 32768) {
if (n = dd(n, t), n !== null) {
n.flags &= 32767, K = n;
return
}
if (e !== null) e.flags |= 32768, e.subtreeFlags = 0, e.deletions = null;
else {
Y = 6, K = null;
return
}
} else if (n = fd(n, t, he), n !== null) {
K = n;
return
}
if (t = t.sibling, t !== null) {
K = t;
return
}
K = t = e
} while (t !== null);
Y === 0 && (Y = 5)
}
function wt(e, t, n) {
var r = j,
l = Ce.transition;
try {
Ce.transition = null, j = 1, kd(e, t, n, r)
} finally {
Ce.transition = l, j = r
}
return null
}
function kd(e, t, n, r) {
do Zt(); while (nt !== null);
if (O & 6) throw Error(y(327));
n = e.finishedWork;
var l = e.finishedLanes;
if (n === null) return null;
if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(y(177));
e.callbackNode = null, e.callbackPriority = 0;
var o = n.lanes | n.childLanes;
if (bc(e, o), e === q && (K = q = null, ee = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || vr || (vr = !0, qa(jr, function() {
return Zt(), null
})), o = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || o) {
o = Ce.transition, Ce.transition = null;
var u = j;
j = 1;
var i = O;
O |= 4, Eu.current = null, md(e, n), Ha(n, e), Vf(vo), Dr = !!ho, vo = ho = null, e.current = n, hd(n), Wc(), O = i, j = u, Ce.transition = o
} else e.current = n;
if (vr && (vr = !1, nt = e, Jr = l), o = e.pendingLanes, o === 0 && (st = null), Xc(n.stateNode), me(e, Q()), t !== null)
for (r = e.onRecoverableError, n = 0; n < t.length; n++) l = t[n], r(l.value, {
componentStack: l.stack,
digest: l.digest
});
if (Zr) throw Zr = !1, e = Io, Io = null, e;
return Jr & 1 && e.tag !== 0 && Zt(), o = e.pendingLanes, o & 1 ? e === Fo ? Ln++ : (Ln = 0, Fo = e) : Ln = 0, ht(), null
}
function Zt() {
if (nt !== null) {
var e = Ts(Jr),
t = Ce.transition,
n = j;
try {
if (Ce.transition = null, j = 16 > e ? 16 : e, nt === null) var r = !1;
else {
if (e = nt, nt = null, Jr = 0, O & 6) throw Error(y(331));
var l = O;
for (O |= 4, C = e.current; C !== null;) {
var o = C,
u = o.child;
if (C.flags & 16) {
var i = o.deletions;
if (i !== null) {
for (var s = 0; s < i.length; s++) {
var f = i[s];
for (C = f; C !== null;) {
var h = C;
switch (h.tag) {
case 0:
case 11:
case 15:
zn(8, h, o)
}
var m = h.child;
if (m !== null) m.return = h, C = m;
else
for (; C !== null;) {
h = C;
var p = h.sibling,
g = h.return;
if (Va(h), h === f) {
C = null;
break
}
if (p !== null) {
p.return = g, C = p;
break
}
C = g
}
}
}
var w = o.alternate;
if (w !== null) {
var S = w.child;
if (S !== null) {
w.child = null;
do {
var M = S.sibling;
S.sibling = null, S = M
} while (S !== null)
}
}
C = o
}
}
if (o.subtreeFlags & 2064 && u !== null) u.return = o, C = u;
else e: for (; C !== null;) {
if (o = C, o.flags & 2048) switch (o.tag) {
case 0:
case 11:
case 15:
zn(9, o, o.return)
}
var c = o.sibling;
if (c !== null) {
c.return = o.return, C = c;
break e
}
C = o.return
}
}
var a = e.current;
for (C = a; C !== null;) {
u = C;
var d = u.child;
if (u.subtreeFlags & 2064 && d !== null) d.return = u, C = d;
else e: for (u = a; C !== null;) {
if (i = C, i.flags & 2048) try {
switch (i.tag) {
case 0:
case 11:
case 15:
al(9, i)
}
} catch (E) {
H(i, i.return, E)
}
if (i === u) {
C = null;
break e
}
var v = i.sibling;
if (v !== null) {
v.return = i.return, C = v;
break e
}
C = i.return
}
}
if (O = l, ht(), Ue && typeof Ue.onPostCommitFiberRoot == "function") try {
Ue.onPostCommitFiberRoot(tl, e)
} catch {}
r = !0
}
return r
} finally {
j = n, Ce.transition = t
}
}
return !1
}
function Vi(e, t, n) {
t = nn(n, t), t = Ta(e, t, 1), e = it(e, t, 1), t = ie(), e !== null && (Gn(e, 1, t), me(e, t))
}
function H(e, t, n) {
if (e.tag === 3) Vi(e, e, n);
else
for (; t !== null;) {
if (t.tag === 3) {
Vi(t, e, n);
break
} else if (t.tag === 1) {
var r = t.stateNode;
if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (st === null || !st.has(r))) {
e = nn(n, e), e = La(t, e, 1), t = it(t, e, 1), e = ie(), t !== null && (Gn(t, 1, e), me(t, e));
break
}
}
t = t.return
}
}
function Sd(e, t, n) {
var r = e.pingCache;
r !== null && r.delete(t), t = ie(), e.pingedLanes |= e.suspendedLanes & n, q === e && (ee & n) === n && (Y === 4 || Y === 3 && (ee & 130023424) === ee && 500 > Q() - _u ? Et(e, 0) : Cu |= n), me(e, t)
}
function Za(e, t) {
t === 0 && (e.mode & 1 ? (t = ur, ur <<= 1, !(ur & 130023424) && (ur = 4194304)) : t = 1);
var n = ie();
e = Xe(e, t), e !== null && (Gn(e, t, n), me(e, n))
}
function xd(e) {
var t = e.memoizedState,
n = 0;
t !== null && (n = t.retryLane), Za(e, n)
}
function Ed(e, t) {
var n = 0;
switch (e.tag) {
case 13:
var r = e.stateNode,
l = e.memoizedState;
l !== null && (n = l.retryLane);
break;
case 19:
r = e.stateNode;
break;
default:
throw Error(y(314))
}
r !== null && r.delete(t), Za(e, n)
}
var Ja;
Ja = function(e, t, n) {
if (e !== null)
if (e.memoizedProps !== t.pendingProps || de.current) fe = !0;
else {
if (!(e.lanes & n) && !(t.flags & 128)) return fe = !1, cd(e, t, n);
fe = !!(e.flags & 131072)
}
else fe = !1, $ && t.flags & 1048576 && ta(t, Br, t.index);
switch (t.lanes = 0, t.tag) {
case 2:
var r = t.type;
Nr(e, t), e = t.pendingProps;
var l = qt(t, oe.current);
Gt(t, n), l = gu(null, t, r, e, l, n);
var o = wu();
return t.flags |= 1, typeof l == "object" && l !== null && typeof l.render == "function" && l.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, pe(r) ? (o = !0, Vr(t)) : o = !1, t.memoizedState = l.state !== null && l.state !== void 0 ? l.state : null, pu(t), l.updater = sl, t.stateNode = l, l._reactInternals = t, _o(t, r, e, n), t = zo(null, t, r, !0, o, n)) : (t.tag = 0, $ && o && uu(t), ue(null, t, l, n), t = t.child), t;
case 16:
r = t.elementType;
e: {
switch (Nr(e, t), e = t.pendingProps, l = r._init, r = l(r._payload), t.type = r, l = t.tag = _d(r), e = Te(r, e), l) {
case 0:
t = Po(null, t, r, e, n);
break e;
case 1:
t = Li(null, t, r, e, n);
break e;
case 11:
t = zi(null, t, r, e, n);
break e;
case 14:
t = Ti(null, t, r, Te(r.type, e), n);
break e
}
throw Error(y(306, r, ""))
}
return t;
case 0:
return r = t.type, l = t.pendingProps, l = t.elementType === r ? l : Te(r, l), Po(e, t, r, l, n);
case 1:
return r = t.type, l = t.pendingProps, l = t.elementType === r ? l : Te(r, l), Li(e, t, r, l, n);
case 3:
e: {
if (Ma(t), e === null) throw Error(y(387));r = t.pendingProps,
o = t.memoizedState,
l = o.element,
ia(e, t),
Qr(t, r, null, n);
var u = t.memoizedState;
if (r = u.element, o.isDehydrated)
if (o = {
element: r,
isDehydrated: !1,
cache: u.cache,
pendingSuspenseBoundaries: u.pendingSuspenseBoundaries,
transitions: u.transitions
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
l = nn(Error(y(423)), t), t = Ri(e, t, r, n, l);
break e
} else if (r !== l) {
l = nn(Error(y(424)), t), t = Ri(e, t, r, n, l);
break e
} else
for (ve = ut(t.stateNode.containerInfo.firstChild), ye = t, $ = !0, Re = null, n = oa(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 4096, n = n.sibling;
else {
if (bt(), r === l) {
t = Ye(e, t, n);
break e
}
ue(e, t, r, n)
}
t = t.child
}
return t;
case 5:
return sa(t), e === null && xo(t), r = t.type, l = t.pendingProps, o = e !== null ? e.memoizedProps : null, u = l.children, yo(r, l) ? u = null : o !== null && yo(r, o) && (t.flags |= 32), ja(e, t), ue(e, t, u, n), t.child;
case 6:
return e === null && xo(t), null;
case 13:
return Da(e, t, n);
case 4:
return mu(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = en(t, null, r, n) : ue(e, t, r, n), t.child;
case 11:
return r = t.type, l = t.pendingProps, l = t.elementType === r ? l : Te(r, l), zi(e, t, r, l, n);
case 7:
return ue(e, t, t.pendingProps, n), t.child;
case 8:
return ue(e, t, t.pendingProps.children, n), t.child;
case 12:
return ue(e, t, t.pendingProps.children, n), t.child;
case 10:
e: {
if (r = t.type._context, l = t.pendingProps, o = t.memoizedProps, u = l.value, D(Hr, r._currentValue), r._currentValue = u, o !== null)
if (Me(o.value, u)) {
if (o.children === l.children && !de.current) {
t = Ye(e, t, n);
break e
}
} else
for (o = t.child, o !== null && (o.return = t); o !== null;) {
var i = o.dependencies;
if (i !== null) {
u = o.child;
for (var s = i.firstContext; s !== null;) {
if (s.context === r) {
if (o.tag === 1) {
s = We(-1, n & -n), s.tag = 2;
var f = o.updateQueue;
if (f !== null) {
f = f.shared;
var h = f.pending;
h === null ? s.next = s : (s.next = h.next, h.next = s), f.pending = s
}
}
o.lanes |= n, s = o.alternate, s !== null && (s.lanes |= n), Eo(o.return, n, t), i.lanes |= n;
break
}
s = s.next
}
} else if (o.tag === 10) u = o.type === t.type ? null : o.child;
else if (o.tag === 18) {
if (u = o.return, u === null) throw Error(y(341));
u.lanes |= n, i = u.alternate, i !== null && (i.lanes |= n), Eo(u, n, t), u = o.sibling
} else u = o.child;
if (u !== null) u.return = o;
else
for (u = o; u !== null;) {
if (u === t) {
u = null;
break
}
if (o = u.sibling, o !== null) {
o.return = u.return, u = o;
break
}
u = u.return
}
o = u
}
ue(e, t, l.children, n),
t = t.child
}
return t;
case 9:
return l = t.type, r = t.pendingProps.children, Gt(t, n), l = _e(l), r = r(l), t.flags |= 1, ue(e, t, r, n), t.child;
case 14:
return r = t.type, l = Te(r, t.pendingProps), l = Te(r.type, l), Ti(e, t, r, l, n);
case 15:
return Ra(e, t, t.type, t.pendingProps, n);
case 17:
return r = t.type, l = t.pendingProps, l = t.elementType === r ? l : Te(r, l), Nr(e, t), t.tag = 1, pe(r) ? (e = !0, Vr(t)) : e = !1, Gt(t, n), za(t, r, l), _o(t, r, l, n), zo(null, t, r, !0, e, n);
case 19:
return Ia(e, t, n);
case 22:
return Oa(e, t, n)
}
throw Error(y(156, t.tag))
};
function qa(e, t) {
return _s(e, t)
}
function Cd(e, t, n, r) {
this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null
}
function Ee(e, t, n, r) {
return new Cd(e, t, n, r)
}
function Tu(e) {
return e = e.prototype, !(!e || !e.isReactComponent)
}
function _d(e) {
if (typeof e == "function") return Tu(e) ? 1 : 0;
if (e != null) {
if (e = e.$$typeof, e === Yo) return 11;
if (e === Go) return 14
}
return 2
}
function ct(e, t) {
var n = e.alternate;
return n === null ? (n = Ee(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 14680064, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
lanes: t.lanes,
firstContext: t.firstContext
}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n
}
function Tr(e, t, n, r, l, o) {
var u = 2;
if (r = e, typeof e == "function") Tu(e) && (u = 1);
else if (typeof e == "string") u = 5;
else e: switch (e) {
case Mt:
return Ct(n.children, l, o, t);
case Xo:
u = 8, l |= 8;
break;
case Yl:
return e = Ee(12, n, t, l | 2), e.elementType = Yl, e.lanes = o, e;
case Gl:
return e = Ee(13, n, t, l), e.elementType = Gl, e.lanes = o, e;
case Zl:
return e = Ee(19, n, t, l), e.elementType = Zl, e.lanes = o, e;
case ss:
return fl(n, l, o, t);
default:
if (typeof e == "object" && e !== null) switch (e.$$typeof) {
case us:
u = 10;
break e;
case is:
u = 9;
break e;
case Yo:
u = 11;
break e;
case Go:
u = 14;
break e;
case Je:
u = 16, r = null;
break e
}
throw Error(y(130, e == null ? e : typeof e, ""))
}
return t = Ee(u, n, t, l), t.elementType = e, t.type = r, t.lanes = o, t
}
function Ct(e, t, n, r) {
return e = Ee(7, e, r, t), e.lanes = n, e
}
function fl(e, t, n, r) {
return e = Ee(22, e, r, t), e.elementType = ss, e.lanes = n, e.stateNode = {
isHidden: !1
}, e
}
function Hl(e, t, n) {
return e = Ee(6, e, null, t), e.lanes = n, e
}
function Wl(e, t, n) {
return t = Ee(4, e.children !== null ? e.children : [], e.key, t), t.lanes = n, t.stateNode = {
containerInfo: e.containerInfo,
pendingChildren: null,
implementation: e.implementation
}, t
}
function Nd(e, t, n, r, l) {
this.tag = t, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Cl(0), this.expirationTimes = Cl(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Cl(0), this.identifierPrefix = r, this.onRecoverableError = l, this.mutableSourceEagerHydrationData = null
}
function Lu(e, t, n, r, l, o, u, i, s) {
return e = new Nd(e, t, n, i, s), t === 1 ? (t = 1, o === !0 && (t |= 8)) : t = 0, o = Ee(3, null, null, t), e.current = o, o.stateNode = e, o.memoizedState = {
element: r,
isDehydrated: n,
cache: null,
transitions: null,
pendingSuspenseBoundaries: null
}, pu(o), e
}
function Pd(e, t, n) {
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$$typeof: jt,
key: r == null ? null : "" + r,
children: e,
containerInfo: t,
implementation: n
}
}
function ba(e) {
if (!e) return dt;
e = e._reactInternals;
e: {
if (Rt(e) !== e || e.tag !== 1) throw Error(y(170));
var t = e;do {
switch (t.tag) {
case 3:
t = t.stateNode.context;
break e;
case 1:
if (pe(t.type)) {
t = t.stateNode.__reactInternalMemoizedMergedChildContext;
break e
}
}
t = t.return
} while (t !== null);
throw Error(y(171))
}
if (e.tag === 1) {
var n = e.type;
if (pe(n)) return bs(e, n, t)
}
return t
}
function ec(e, t, n, r, l, o, u, i, s) {
return e = Lu(n, r, !0, e, l, o, u, i, s), e.context = ba(null), n = e.current, r = ie(), l = at(n), o = We(r, l), o.callback = t ?? null, it(n, o, l), e.current.lanes = l, Gn(e, l, r), me(e, r), e
}
function dl(e, t, n, r) {
var l = t.current,
o = ie(),
u = at(l);
return n = ba(n), t.context === null ? t.context = n : t.pendingContext = n, t = We(o, u), t.payload = {
element: e
}, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = it(l, t, u), e !== null && (je(e, l, u, o), Er(e, l, u)), u
}
function br(e) {
if (e = e.current, !e.child) return null;
switch (e.child.tag) {
case 5:
return e.child.stateNode;
default:
return e.child.stateNode
}
}
function Ai(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
var n = e.retryLane;
e.retryLane = n !== 0 && n < t ? n : t
}
}
function Ru(e, t) {
Ai(e, t), (e = e.alternate) && Ai(e, t)
}
function zd() {
return null
}
var tc = typeof reportError == "function" ? reportError : function(e) {
console.error(e)
};
function Ou(e) {
this._internalRoot = e
}
pl.prototype.render = Ou.prototype.render = function(e) {
var t = this._internalRoot;
if (t === null) throw Error(y(409));
dl(e, t, null, null)
};
pl.prototype.unmount = Ou.prototype.unmount = function() {
var e = this._internalRoot;
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
Tt(function() {
dl(null, e, null, null)
}), t[Ke] = null
}
};
function pl(e) {
this._internalRoot = e
}
pl.prototype.unstable_scheduleHydration = function(e) {
if (e) {
var t = Os();
e = {
blockedOn: null,
target: e,
priority: t
};
for (var n = 0; n < be.length && t !== 0 && t < be[n].priority; n++);
be.splice(n, 0, e), n === 0 && Ms(e)
}
};
function ju(e) {
return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
}
function ml(e) {
return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-unstable "))
}
function Bi() {}
function Td(e, t, n, r, l) {
if (l) {
if (typeof r == "function") {
var o = r;
r = function() {
var f = br(u);
o.call(f)
}
}
var u = ec(t, r, e, 0, null, !1, !1, "", Bi);
return e._reactRootContainer = u, e[Ke] = u.current, $n(e.nodeType === 8 ? e.parentNode : e), Tt(), u
}
for (; l = e.lastChild;) e.removeChild(l);
if (typeof r == "function") {
var i = r;
r = function() {
var f = br(s);
i.call(f)
}
}
var s = Lu(e, 0, !1, null, null, !1, !1, "", Bi);
return e._reactRootContainer = s, e[Ke] = s.current, $n(e.nodeType === 8 ? e.parentNode : e), Tt(function() {
dl(t, s, n, r)
}), s
}
function hl(e, t, n, r, l) {
var o = n._reactRootContainer;
if (o) {
var u = o;
if (typeof l == "function") {
var i = l;
l = function() {
var s = br(u);
i.call(s)
}
}
dl(t, u, e, l)
} else u = Td(n, t, e, l, r);
return br(u)
}
Ls = function(e) {
switch (e.tag) {
case 3:
var t = e.stateNode;
if (t.current.memoizedState.isDehydrated) {
var n = kn(t.pendingLanes);
n !== 0 && (qo(t, n | 1), me(t, Q()), !(O & 6) && (rn = Q() + 500, ht()))
}
break;
case 13:
Tt(function() {
var r = Xe(e, 1);
if (r !== null) {
var l = ie();
je(r, e, 1, l)
}
}), Ru(e, 1)
}
};
bo = function(e) {
if (e.tag === 13) {
var t = Xe(e, 134217728);
if (t !== null) {
var n = ie();
je(t, e, 134217728, n)
}
Ru(e, 134217728)
}
};
Rs = function(e) {
if (e.tag === 13) {
var t = at(e),
n = Xe(e, t);
if (n !== null) {
var r = ie();
je(n, e, t, r)
}
Ru(e, t)
}
};
Os = function() {
return j
};
js = function(e, t) {
var n = j;
try {
return j = e, t()
} finally {
j = n
}
};
uo = function(e, t, n) {
switch (t) {
case "input":
if (bl(e, n), t = n.name, n.type === "radio" && t != null) {
for (n = e; n.parentNode;) n = n.parentNode;
for (n = n.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
var l = ol(r);
if (!l) throw Error(y(90));
cs(r), bl(r, l)
}
}
}
break;
case "textarea":
ds(e, n);
break;
case "select":
t = n.value, t != null && Qt(e, !!n.multiple, t, !1)
}
};
ws = Nu;
ks = Tt;
var Ld = {
usingClientEntryPoint: !1,
Events: [Jn, Ut, ol, ys, gs, Nu]
},
yn = {
findFiberByHostInstance: kt,
bundleType: 0,
version: "18.3.1",
rendererPackageName: "react-dom"
},
Rd = {
bundleType: yn.bundleType,
version: yn.version,
rendererPackageName: yn.rendererPackageName,
rendererConfig: yn.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
overrideProps: null,
overridePropsDeletePath: null,
overridePropsRenamePath: null,
setErrorHandler: null,
setSuspenseHandler: null,
scheduleUpdate: null,
currentDispatcherRef: Ge.ReactCurrentDispatcher,
findHostInstanceByFiber: function(e) {
return e = Es(e), e === null ? null : e.stateNode
},
findFiberByHostInstance: yn.findFiberByHostInstance || zd,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.1-next-f1338f8080-20240426"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
var yr = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!yr.isDisabled && yr.supportsFiber) try {
tl = yr.inject(Rd), Ue = yr
} catch {}
}
we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ld;
we.createPortal = function(e, t) {
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!ju(t)) throw Error(y(200));
return Pd(e, t, null, n)
};
we.createRoot = function(e, t) {
if (!ju(e)) throw Error(y(299));
var n = !1,
r = "",
l = tc;
return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (l = t.onRecoverableError)), t = Lu(e, 1, !1, null, null, n, !1, r, l), e[Ke] = t.current, $n(e.nodeType === 8 ? e.parentNode : e), new Ou(t)
};
we.findDOMNode = function(e) {
if (e == null) return null;
if (e.nodeType === 1) return e;
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(y(188)) : (e = Object.keys(e).join(","), Error(y(268, e)));
return e = Es(t), e = e === null ? null : e.stateNode, e
};
we.flushSync = function(e) {
return Tt(e)
};
we.hydrate = function(e, t, n) {
if (!ml(t)) throw Error(y(200));
return hl(null, e, t, !0, n)
};
we.hydrateRoot = function(e, t, n) {
if (!ju(e)) throw Error(y(405));
var r = n != null && n.hydratedSources || null,
l = !1,
o = "",
u = tc;
if (n != null && (n.unstable_strictMode === !0 && (l = !0), n.identifierPrefix !== void 0 && (o = n.identifierPrefix), n.onRecoverableError !== void 0 && (u = n.onRecoverableError)), t = ec(t, null, e, 1, n ?? null, l, !1, o, u), e[Ke] = t.current, $n(e), r)
for (e = 0; e < r.length; e++) n = r[e], l = n._getVersion, l = l(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, l] : t.mutableSourceEagerHydrationData.push(n, l);
return new pl(t)
};
we.render = function(e, t, n) {
if (!ml(t)) throw Error(y(200));
return hl(null, e, t, !1, n)
};
we.unmountComponentAtNode = function(e) {
if (!ml(e)) throw Error(y(40));
return e._reactRootContainer ? (Tt(function() {
hl(null, null, e, !1, function() {
e._reactRootContainer = null, e[Ke] = null
})
}), !0) : !1
};
we.unstable_batchedUpdates = Nu;
we.unstable_renderSubtreeIntoContainer = function(e, t, n, r) {
if (!ml(n)) throw Error(y(200));
if (e == null || e._reactInternals === void 0) throw Error(y(38));
return hl(e, t, n, !1, r)
};
we.version = "18.3.1-next-f1338f8080-20240426";
function nc() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nc)
} catch (e) {
console.error(e)
}
}
nc(), ns.exports = we;
var Od = ns.exports,
Hi = Od;
Kl.createRoot = Hi.createRoot, Kl.hydrateRoot = Hi.hydrateRoot;
const Wi = ["bg-purple-300", "bg-green-300", "bg-yellow-300", "bg-red-300", "bg-blue-300"];
function jd({
text: e,
position: t,
margin: n
}) {
const r = e.split(`
`).map((l, o, u) => R.jsxs(Z.Fragment, {
children: [l, o !== u.length - 1 && R.jsx("br", {})]
}, o));
return R.jsx("span", {
style: {
marginLeft: n
},
className: `leading-5 ${r.length===1?"inline-block ":""}${Wi[t%Wi.length]}`,
children: r
})
}
const Ql = Object.freeze({
"UW/OLMo2-8B-SuperBPE-t180k": "SuperBPE 200k (t=180k, best on evals)",
"UW/OLMo2-8B-SuperBPE-t80k": "SuperBPE 200k (t=80k, most efficient)",
"UW/OLMo2-8B-BPE": "BPE 200k (baseline)",
"Xenova/gpt-4o": "GPT-4o",
"Xenova/llama-3-tokenizer": "Llama 3",
"": "Custom"
});
function Md() {
var E, N;
const e = new URLSearchParams(window.location.search),
t = e.get("tokenizer"),
n = e.get("text"),
[r, l] = Z.useState([]),
[o, u] = Z.useState([]),
[i, s] = Z.useState([]),
[f, h] = Z.useState("text"),
[m, p] = Z.useState(t ?? "UW/OLMo2-8B-SuperBPE-t180k"),
[g, w] = Z.useState(""),
S = Z.useRef(null),
M = Z.useRef(null),
c = Z.useRef(null);
Z.useEffect(() => {
c.current ?? (c.current = new Worker(new URL("/assets/worker-BY3sBfmC.js", import.meta.url), {
type: "module"
}));
const k = x => {
l(x.data.token_ids), u(x.data.decoded), s(x.data.margins)
};
if (S.current) {
S.current.value = "By the way, I am a fan of the Milky Way!";
}
c.current.postMessage({
model_id: m,
text: S.current.value
})
return c.current.addEventListener("message", k), () => c.current.removeEventListener("message", k)
}, []);
const a = Z.useCallback(() => {
h("text"), l([]), u([]), s([])
}, []),
d = Z.useCallback(k => {
const x = m,
U = k.target.value;
U.length > 1e4 && (h(null), console.log("User most likely pasted in a large body of text (> 10k chars), so we hide the output (until specifically requested by the user).")), c.current.postMessage({
model_id: x,
text: U
})
}, [m]);
Z.useEffect(() => {
n && d({
target: {
value: n
}
})
}, [d, n]);
const v = Z.useCallback(k => {
const x = k.target.value;
p(x), x && c.current.postMessage({
model_id: x,
text: S.current.value
})
}, []);
const textEncoder = new TextEncoder();
return R.jsxs("div", {
className: "w-full flex flex-col gap-4",
children: [R.jsxs("div", {
children: [R.jsxs("h2", {
className: "text-lg font-normal",
children: ["Experiment with our tokenizers (running", " ", R.jsx("a", {
className: "text-gray-900 underline",
href: "https://github.com/huggingface/transformers.js",
children: "locally"
}), " ", "in your browser)!"]
})]
}), R.jsxs("div", {
children: [R.jsx("select", {
value: m in Ql && !g ? m : "",
onChange: k => {
a(), w(""), v(k)
},
className: "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2",
children: Object.entries(Ql).map(([k, x]) => R.jsx("option", {
value: k,
children: x
}, k))
}), (!(m in Ql) || g || m === "") && R.jsx("input", {
type: "text",
placeholder: "Enter a HuggingFace repo",
defaultValue: g || m,
onChange: k => {
w(k.target.value), v(k)
},
className: "bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block py-1 px-2 mt-1"
})]
}), R.jsx("textarea", {
ref: S,
onChange: d,
rows: "8",
className: "font-mono text-lg block w-full p-2.5 h-[200px] text-gray-900 bg-gray-50 rounded-lg border border-gray-200",
placeholder: "Enter some text",
defaultValue: n ?? ((E = S.current) == null ? void 0 : E.value) ?? ""
}), R.jsxs("div", {
className: "",
children: [R.jsxs("span", {
className: "",
children: [R.jsx("span", {
className: "font-semibold",
children: (((N = S.current) == null ? void 0 : textEncoder.encode(N.value).length) ?? 0).toLocaleString()
}), R.jsx("span", {
className: "font-semibold uppercase leading-4",
children: " Bytes, "
})]
}), R.jsxs("span", {
className: "",
children: [R.jsx("span", {
className: "font-semibold",
children: r.length.toLocaleString()
}), R.jsx("span", {
className: "font-semibold uppercase leading-4",
children: " Tokens: "
})]
}), R.jsxs("span", {
className: "",
children: [R.jsx("span", {
className: "font-bold",
children: ((((N = S.current) == null ? void 0 : textEncoder.encode(N.value).length) ?? 0) / r.length || 0).toLocaleString()
}), R.jsx("span", {
className: "font-semibold uppercase leading-4",
children: " Bytes/token"
})]
})]
}), R.jsx("div", {
ref: M,
className: "font-mono text-lg p-2.5 w-full bg-gray-100 rounded-lg border border-gray-200 whitespace-pre-wrap text-left h-[200px] overflow-y-auto",
children: f === "text" ? o.map((k, x) => R.jsx(jd, {
text: k,
position: x,
margin: i[x]
}, x)) : f === "token_ids" ? `[${r.join(", ")}]` : null
}), R.jsxs("div", {
className: "flex items-center gap-2 self-end",
children: [R.jsxs("div", {
className: "flex items-center",
children: [R.jsx("input", {
checked: f === "text",
onChange: () => h("text"),
id: "output-radio-1",
type: "radio",
value: "",
name: "output-radio",
className: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"
}), R.jsx("label", {
htmlFor: "output-radio-1",
className: "ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",
children: "Text"
})]
}), R.jsxs("div", {
className: "flex items-center",
children: [R.jsx("input", {
checked: f === "token_ids",
onChange: () => h("token_ids"),
id: "output-radio-2",
type: "radio",
value: "",
name: "output-radio",
className: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"
}), R.jsx("label", {
htmlFor: "output-radio-2",
className: "ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",
children: "Token IDs"
})]
}), R.jsxs("div", {
className: "flex items-center",
children: [R.jsx("input", {
checked: f === null,
onChange: () => h(null),
id: "output-radio-3",
type: "radio",
value: "",
name: "output-radio",
className: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"
}), R.jsx("label", {
htmlFor: "output-radio-3",
className: "ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",
children: "Hide"
})]
})]
})]
})
}
Kl.createRoot(document.getElementById("root")).render(R.jsx(kc.StrictMode, {
children: R.jsx(Md, {})
}));