Skip to content

Instantly share code, notes, and snippets.

@JosephJoshua
Last active January 11, 2023 19:54
Show Gist options
  • Save JosephJoshua/125524d8ba50b7ac9c24eaa51fe3e6c6 to your computer and use it in GitHub Desktop.
Save JosephJoshua/125524d8ba50b7ac9c24eaa51fe3e6c6 to your computer and use it in GitHub Desktop.
Anacreon's text hooker page with reading speed hidden by default
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Clipboard Insertion Page - Anacreon Edition</title>
<style>
body,
html {
margin: 0;
}
#textlog {
height: 100%;
overflow-wrap: anywhere;
}
.dragger {
display: inline-block;
width: 1em;
opacity: 0.1;
text-align: center;
}
.logline-select {
user-select: all;
}
.dragger:hover {
opacity: 0.5;
}
.dragger::before {
content: "•";
}
div:hover > .delete_button {
color: inherit;
}
.delete_button {
cursor: pointer;
color: transparent;
}
#menu {
font-size: 16px;
line-height: 25px;
user-select: none;
position: fixed;
top: 0;
right: 0;
padding: 15px;
background-color: rgba(0, 0, 0, 0.2);
}
#menu:hover {
background-color: rgba(0, 0, 0, 0.7);
}
.menuitem {
display: inline-block;
}
.menuitem:hover {
transform: scale(1.1);
transform-origin: 50% 50%;
cursor: pointer;
}
.distracting-stats {
display: inline-block;
-webkit-filter: blur(4px);
filter: blur(4px);
-webkit-transition: filter 0.25s ease-in-out;
-moz-transition: filter 0.25s ease-in-out;
-o-transition: filter 0.25s ease-in-out;
transition: filter 0.25s ease-in-out;
}
.distracting-stats:hover {
filter: none;
}
</style>
<style>
@font-face {
font-family: anacreon;
font-weight: 400;
font-style: normal;
src: url(data:application/octet-stream;base64,d09GMgABAAAAAA2QAA8AAAAAG9QAAA06AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGVgCDRAgOCZwMEQgKi0iKJAsSAAE2AiQDIAQgBYVNB14MgRwbFBojEXaDkiKR/UWCbUz6sWedjKxjIdY00kiFNNL8H8+klIqycy8tlz47QpJZeJ6vq75znyJSLCiKbFU5GkSWs7/gAZg58nJmRy5zO2JN5VwpeMrMoi4rmHpOLOXM5IVLcvJPX8x9gefRptqFYQJS4au/QLoCBVCmli8uSUUpvniYM8y3TU8X9unX9d+CKWypKBHiWdPPt/y1BDHNTCb/DvYVFWIPMdk9mR6aEv//50r77k9+J0VUuORWyJJk55KfyTTvZxY4M8s4WwBUgEKh2rPHl4Bshe7p8bVVrXNVvsa1KmPzcsKIGHmN7n/2Qa49BV59gL8lAkQZYx61a8+hUyRvLN15M40YAECgu7zcWF4r4TfrMRiAn+sIN9QX5VUsqPvVt4AXl99e/si4KFBYzeiKx1Z3L/O9GjWnT2xUc2Ep4W3skkBDkwtDZErkGpEvgECaozXRkYaRUQZTW3MbGwtwlY1d3MUu9/7yQByjQXGGLNPhQY22hciahZI1Cy1rFkbWLKysWThZ2wde5R/T3itA4CmMosiHY0buPuAefgU2L9L3lubSnn5FRT7xpU+aM9021sIbUIcdKkzeISDIc4eCWrUODWn29NSFnh+Qo6Tki5oa+NLdSRS/7QpxR3GQG8ztbqc6Opg87e1rlpDaJaf7B9fkTFHf5XQSn0/hNuzErqgd3Mik6ESBge1wKnrUpzXSCN+rMdWvrk+HOZqNcEfBoiNOfwfPVNOeM47dvjmsCplcd0y+RSlQmxv6hLdnu8SYHktF3+shc2mfLydFOX10QNbRtdhKW8MUo981UEGcM7gPcNFk+/SNEK29Wy/ycVpm6BmPrTRibHJE0uYpT/E9UqT66LCQkWAiN4LHOuC5x3dvrI1Idjhb20yprXgNLxSla9zIruYh5KIWu24t74bSBv8VTWWsOzDVVki1ydMYNNoohA8BScYlnhwXcnggwkcdHT4m/51F3KuA+4xqzJEmkvHWHRGIjIQkZ8dGGpK7jjBHelEaKnq5KLrIiHDkH9qgodimQRSPM7i5JAViIsmo7SzSWLqQRW90EywSWitEhzM+LH5vElkL6EoAW6xRUmnzzvYSQ9J5VAdr1MaH1pFCUR1HLJehIw0ki5Di+8zO3uY+kt7DPdK1jgwq1yJvUI6NNNvOQoZJ2mtGxr06svjwLRTTGsbbJNq668h9GrbCh6/tAmMLI5c5j8LE4LufXa6NFE8mRSAqfEnVkL4yMqOCjjoUESZMnmyfN57Lp9etImUbNxgpZ3J7PSMpTkiTAzbjqa3x33ULktMhQtjpRLX7zgroFTqOvgWy7mVE0j0Jh+wlHdXP9WW8d67nvTee8neMlJLvS7yQFm9FRxGF6UeOuk0I1QtFDUJTozDUJCw1C0ctwqNW4VObiFQNQl1/Tlz+8C2oVMjXOeVIxxAlUjR/ZxyO9Jh//RagRyqZ2ICUg7aCTUxDOwwdMHTC0AVDNww9MPTC0AdDPwwDsPoRyEqw0mhqoj7LQO/BwJ91khmJ1/wxOPxU+OtHv4xDZCIlWad5QS/Utx7VxnCaiLbqSrLnKNrOx/h6sTo9Ck+jgfFNttl6vH4z5JXSlVvQgz0ciatCkhqbJ12TmX0E2LWmC2WzTpvZL1shKzJRPQTq78ixDdWlFcdksnwEOr4rT6EombkjlUqCn1Pe47v2+ROfaJawbWxE3HeTqtPnHzqmATPUuccEJpJcucTlgBgf7bQjLrLSTmazmCmSqtklOPcpk8K1y5OVw7uwZ+ysmaWtOrsQ/aVse5TSdqYOdZz0sYhSXF3SRa+RzmCYGsUyN9q5FWTDOl3KbTZ9IqsEXr/ScV4wSpRjVBClgP0mqWkFVshp6zM2MpZhElNJIIL14l2KbiSmKTpm3cACSmwFoa4s/Efmiohi/pgUR87VgHlXk6iT7U+2x1DJilqzuF0tWD8kcPHY5d3tlqgHtxjpXklpD/fchaHreK930kSQ552Yf9tCqFQO/MFj6hhqM41BVmJVxnTqkWM7sujU1HvekW+rU5/2TjCduPXcBWZSG1Qqvg6wnUyWgmPFWDDtLmImNuOV0zsycfd6q+D01b9RKl1gnboHJdoVnrZ7OP8RkwhW5qjLsONXdMHYWCmxUUXaW8XGI4fwvoddlVit70MX9Mf++PRZvrDj3O2fQ9bW9Tk50HIQBb0VsI1rD4GplQ5fipmRSiXjtrM4qvAIgtm2OGfKUXTIHoVjQun4IBGcEKpP4tgrTimg04NEcEZozVnsUWEnn6sMpfODWQAYhmhzKERYQoQtRDhCtCsOu4WH3cLHbhFgtw5x7BORWlE8CCAREqQqYZfI3C7lgwEKQ6gcRRBUhlA9GKAxpLt1rJJZ7wXdXkFFNWYPTQ8WdyvQG0fHKnCaJIxZgpYyMscQK3MOa3MuvtlApy0AFTuPSnsJOpSReVY4mvM4mfM4m/O4eEBXCbpJ8J0iC3iYC3iaC3iZC3h7QB8J+krU/4Y6+VZtj4pr+gKjjluf62xvaj9/fsdgRVip6K5j915Rn2MYQTY2AIwG+dwgDRRB+kDexegSeVAG0HxD2Y2RRDyeiPmmL5LXhUI6MrpS6wMv/Ih69Id08vkfD6173XGz2fA2fEDT1pdYevSnePrM9vaZoV8wmxUPHp1svvDz+IpPv2AlITES3GtTRsu9yDUXTNAnHyJGb/xMNvjECFHwsmM2/N4T0vit/5siT43J4CazPbS1sUF5ZwHlgEohqRCpULQBIiJTTnANgzaHEYNwY8Q03hoxRLYL85i5HtrX00Q9iP/EOfS0NpZce/ROC4mZB5fvZw/NMOzguWkJWs0azhqvXPJg8PO0NYa35ykXhwwInnyPsULkzr4M2kJP02z7fSf7L457jl8wd2q3Rofwy/Nbpk/40/Pd2q8dcfZ7Dl8o9Ol5+PJs75Nn3VRahE2EddoUlRZESDchVw6P8kFQkHdaRktQ0FG+eddxs8T/iWbHXdfB7X+361Qvs+Cgu6C1trY1f1wA7GXALt5tza+tLWjtPmCBYzDfObrg3mK+MFErWKmTX8gLzMjoHr9oZwbqEmWkhUjcP71R/ie9ca2nV5qUIMjL/2u6fPuy1kmCg3MU261T0iLYw/p8nxxPrxyffM4nzysnx+uez+UV5DXFO4/zzvc96Yz1azjOIcbOLsY+7rHIbBcdYxdn/9jJzWjEvAOHRfGA1tcTl3i3GTNu6HitdrVG9W1jWlAXNDlN/q4Pza17avCxN5Sl6oPPN/lhV76Ocpzh02DlJ/MgFG7EHy5StRj/Hs5w9tcPJ8pMjE+0PfEf/LY2658m/vTcpefem9N27Fj8TPv/bLUAbFzVr+gWAPm5WgwXfDFYZeyaJwqN0mtOEOGsE5CrCHK0sSGZEIKWhq7GznwmUZ+s8y1xiUVccTBsy4uojFWIOoQS9RSCPAXc3VTs0K5h8GAlU58LexCQWzHaamMf9cTaJ5WgNWeVgL7mRKOPNYXdebcpzcrnw7zvgx8bJkQjeH6GP7bvGgbD2Uw6lfScNb6mkBeM0t1dnR1NjQ31vih9CDRPoZV+StLnlbtHRwYH2lobjasbDENrRCspFrKZqO88rTRinUSP/psRhayhjdFn0dpctWK0OQrkyGUy9VnnGgfDVwt90B66jIdvPb8cEUvU2Wg5J7G8xE0sXsbViUk4s0aCZDaRLJMhm8pky6RIq1S6XBQlos4XRSkpIUqODw0UC8I9d99x+803XS+vLJeuXbp47uzJE0ePHNi/Z/f2cG526+aJ8YGpoamgrdBf7I9FyUu+vnyu0NRSTDqDkkNaFEzyi3B3vjGfM65xEAEEzH8yjl8Fs3/zga4B/Pan/2pd5m9UA0ufmISPyoSAPlEEKdWcZNOR9okF+lOaPzBhEjU8TcOW/LwIYTXyPqI3A8UY13gJ+Egynr86y+9Z0hZvmyb4bElTeMyxRnIXG5KH0iwxTrEjeTUtyiBrN4+R43U0YiLAdT4KaUJaUmmKpLSxJjnMhuRcmqUoh9mRXEqLckbuOC5Gj/zgv7Ind/YHvys59syB97pHHb7VQD35pZ4U8EtFuHT7ysv7MoBYI7b0XgdQNT4yVt3khZ2977h7beLOO1efzc/ZwzL2bU/ec6ibiHpr7OQWbuU+bqfMGuvcSUAfO+knYIIxJhgnYNHJQZCbwqEpN1PixkSJu4KDdSLfQa0hAasPvhnwipNvvBIjLC3lN1HKwUtBwQqKE4k17tLHLHE7svl9PrMp9kG52veAcUYYS4G9wc2pgpLwvGW1E3dwt+IJYOtgVcHgdoWOFbBH1fKAW8l8/cNLKBhxCN8JwmlGh60zrVgxmoso9+KLEi1GrDjxxJcI5hmaM9jF2++6Y93eeXtpadNLt6yZZ7AC+9TcLv7/UH+A4XHg4Nf4/onMqsjL55/LfcS1b63i7ajCwHLm6PFfB2JNW1xDw65qV//Z45mVcPLcPi2Lvoqv+dR7set8U1Vp9viG/yhiQkqX4Ek1OnOV5MDXsPFUxbxUVd/eX7TLjl27AA==);
}
[class*=" icon-"]:before,
[class^="icon-"]:before {
font-family: anacreon;
font-style: normal;
font-weight: 400;
speak: never;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: 0.2em;
text-align: center;
font-feature-settings: normal;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: 0.2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-menu:before {
content: "\e800";
}
.icon-brush:before {
content: "\e801";
}
.icon-trash:before {
content: "\e802";
}
.icon-cog:before {
content: "\e803";
}
.icon-edit:before {
content: "\e804";
}
.icon-clock:before {
content: "\e805";
}
.icon-cancel-1:before {
content: "\e806";
}
</style>
</head>
<body>
<script type="text/javascript">
!(function (a) {
function e(e) {
for (
var r, t, n = e[0], o = e[1], u = e[2], p = 0, l = [];
p < n.length;
p++
)
(t = n[p]),
Object.prototype.hasOwnProperty.call(i, t) &&
i[t] &&
l.push(i[t][0]),
(i[t] = 0);
for (r in o)
Object.prototype.hasOwnProperty.call(o, r) && (a[r] = o[r]);
for (s && s(e); l.length; ) l.shift()();
return c.push.apply(c, u || []), f();
}
function f() {
for (var e, r = 0; r < c.length; r++) {
for (var t = c[r], n = !0, o = 1; o < t.length; o++) {
var u = t[o];
0 !== i[u] && (n = !1);
}
n && (c.splice(r--, 1), (e = p((p.s = t[0]))));
}
return e;
}
var t = {},
i = { 1: 0 },
c = [];
function p(e) {
if (t[e]) return t[e].exports;
var r = (t[e] = { i: e, l: !1, exports: {} });
return a[e].call(r.exports, r, r.exports, p), (r.l = !0), r.exports;
}
(p.m = a),
(p.c = t),
(p.d = function (e, r, t) {
p.o(e, r) ||
Object.defineProperty(e, r, { enumerable: !0, get: t });
}),
(p.r = function (e) {
"undefined" != typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(e, "__esModule", { value: !0 });
}),
(p.t = function (r, e) {
if ((1 & e && (r = p(r)), 8 & e)) return r;
if (4 & e && "object" == typeof r && r && r.__esModule) return r;
var t = Object.create(null);
if (
(p.r(t),
Object.defineProperty(t, "default", { enumerable: !0, value: r }),
2 & e && "string" != typeof r)
)
for (var n in r)
p.d(
t,
n,
function (e) {
return r[e];
}.bind(null, n)
);
return t;
}),
(p.n = function (e) {
var r =
e && e.__esModule
? function () {
return e.default;
}
: function () {
return e;
};
return p.d(r, "a", r), r;
}),
(p.o = function (e, r) {
return Object.prototype.hasOwnProperty.call(e, r);
}),
(p.p = "/");
var r = (this["webpackJsonpmy-app"] = this["webpackJsonpmy-app"] || []),
n = r.push.bind(r);
(r.push = e), (r = r.slice());
for (var o = 0; o < r.length; o++) e(r[o]);
var s = n;
f();
})([]);
</script>
<script type="text/javascript">
(this["webpackJsonpmy-app"] = this["webpackJsonpmy-app"] || []).push([
[2],
[
function (e, t, n) {
"use strict";
e.exports = n(14);
},
function (e, t, n) {
"use strict";
n.d(t, "a", function () {
return l;
});
var r = n(5);
function l(e, t) {
return (
(function (e) {
if (Array.isArray(e)) return e;
})(e) ||
(function (e, t) {
if (
"undefined" != typeof Symbol &&
Symbol.iterator in Object(e)
) {
var n = [],
r = !0,
l = !1,
a = void 0;
try {
for (
var o, u = e[Symbol.iterator]();
!(r = (o = u.next()).done) &&
(n.push(o.value), !t || n.length !== t);
r = !0
);
} catch (e) {
(l = !0), (a = e);
} finally {
try {
r || null == u.return || u.return();
} finally {
if (l) throw a;
}
}
return n;
}
})(e, t) ||
Object(r.a)(e, t) ||
(function () {
throw new TypeError(
"Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
})()
);
}
},
function (e, t, n) {
"use strict";
e.exports = n(9);
},
function (e, t, n) {
"use strict";
n.d(t, "a", function () {
return a;
});
var r = n(4),
l = n(5);
function a(e) {
return (
(function (e) {
if (Array.isArray(e)) return Object(r.a)(e);
})(e) ||
(function (e) {
if (
"undefined" != typeof Symbol &&
Symbol.iterator in Object(e)
)
return Array.from(e);
})(e) ||
Object(l.a)(e) ||
(function () {
throw new TypeError(
"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
);
})()
);
}
},
function (e, t, n) {
"use strict";
function r(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
return r;
}
n.d(t, "a", function () {
return r;
});
},
function (e, t, n) {
"use strict";
n.d(t, "a", function () {
return l;
});
var r = n(4);
function l(e, t) {
if (e) {
if ("string" == typeof e) return Object(r.a)(e, t);
var n = Object.prototype.toString.call(e).slice(8, -1);
return (
"Object" === n && e.constructor && (n = e.constructor.name),
"Map" === n || "Set" === n
? Array.from(e)
: "Arguments" === n ||
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
? Object(r.a)(e, t)
: void 0
);
}
}
},
function (e, t, n) {
"use strict";
var i = Object.getOwnPropertySymbols,
s = Object.prototype.hasOwnProperty,
c = Object.prototype.propertyIsEnumerable;
e.exports = (function () {
try {
if (!Object.assign) return !1;
var e = new String("abc");
if (((e[5] = "de"), "5" === Object.getOwnPropertyNames(e)[0]))
return !1;
for (var t = {}, n = 0; n < 10; n++)
t["_" + String.fromCharCode(n)] = n;
if (
"0123456789" !==
Object.getOwnPropertyNames(t)
.map(function (e) {
return t[e];
})
.join("")
)
return !1;
var r = {};
return (
"abcdefghijklmnopqrst".split("").forEach(function (e) {
r[e] = e;
}),
"abcdefghijklmnopqrst" ===
Object.keys(Object.assign({}, r)).join("")
);
} catch (e) {
return !1;
}
})()
? Object.assign
: function (e, t) {
for (
var n,
r,
l = (function (e) {
if (null == e)
throw new TypeError(
"Object.assign cannot be called with null or undefined"
);
return Object(e);
})(e),
a = 1;
a < arguments.length;
a++
) {
for (var o in (n = Object(arguments[a])))
s.call(n, o) && (l[o] = n[o]);
if (i) {
r = i(n);
for (var u = 0; u < r.length; u++)
c.call(n, r[u]) && (l[r[u]] = n[r[u]]);
}
}
return l;
};
},
function (e, t, n) {
"use strict";
!(function e() {
if (
"undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE
)
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
} catch (e) {
console.error(e);
}
})(),
(e.exports = n(10));
},
,
function (e, t, n) {
"use strict";
var c = n(6),
p = 60103,
h = 60106;
(t.Fragment = 60107), (t.StrictMode = 60108), (t.Profiler = 60114);
var r = 60109,
l = 60110,
a = 60112;
t.Suspense = 60113;
var o = 60115,
u = 60116;
if ("function" == typeof Symbol && Symbol.for) {
var i = Symbol.for;
(p = i("react.element")),
(h = i("react.portal")),
(t.Fragment = i("react.fragment")),
(t.StrictMode = i("react.strict_mode")),
(t.Profiler = i("react.profiler")),
(r = i("react.provider")),
(l = i("react.context")),
(a = i("react.forward_ref")),
(t.Suspense = i("react.suspense")),
(o = i("react.memo")),
(u = i("react.lazy"));
}
var m = "function" == typeof Symbol && Symbol.iterator;
function v(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 s = {
isMounted: function () {
return !1;
},
enqueueForceUpdate: function () {},
enqueueReplaceState: function () {},
enqueueSetState: function () {},
},
f = {};
function d(e, t, n) {
(this.props = e),
(this.context = t),
(this.refs = f),
(this.updater = n || s);
}
function y() {}
function g(e, t, n) {
(this.props = e),
(this.context = t),
(this.refs = f),
(this.updater = n || s);
}
(d.prototype.isReactComponent = {}),
(d.prototype.setState = function (e, t) {
if ("object" != typeof e && "function" != typeof e && null != e)
throw Error(v(85));
this.updater.enqueueSetState(this, e, t, "setState");
}),
(d.prototype.forceUpdate = function (e) {
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
}),
(y.prototype = d.prototype);
var b = (g.prototype = new y());
(b.constructor = g),
c(b, d.prototype),
(b.isPureReactComponent = !0);
var w = { current: null },
k = Object.prototype.hasOwnProperty,
S = { key: !0, ref: !0, __self: !0, __source: !0 };
function E(e, t, n) {
var r,
l = {},
a = null,
o = null;
if (null != t)
for (r in (void 0 !== t.ref && (o = t.ref),
void 0 !== t.key && (a = "" + t.key),
t))
k.call(t, r) && !S.hasOwnProperty(r) && (l[r] = t[r]);
var u = arguments.length - 2;
if (1 === u) l.children = n;
else if (1 < u) {
for (var i = Array(u), s = 0; s < u; s++)
i[s] = arguments[s + 2];
l.children = i;
}
if (e && e.defaultProps)
for (r in (u = e.defaultProps))
void 0 === l[r] && (l[r] = u[r]);
return {
$$typeof: p,
type: e,
key: a,
ref: o,
props: l,
_owner: w.current,
};
}
function _(e) {
return "object" == typeof e && null !== e && e.$$typeof === p;
}
var x = /\/+/g;
function C(e, t) {
return "object" == typeof e && null !== e && null != e.key
? ((n = "" + e.key),
(r = { "=": "=0", ":": "=2" }),
"$" +
n.replace(/[=:]/g, function (e) {
return r[e];
}))
: t.toString(36);
var n, r;
}
function P(e, t, n) {
if (null == e) return e;
var r = [],
l = 0;
return (
(function e(t, n, r, l, a) {
var o = typeof t;
("undefined" !== o && "boolean" !== o) || (t = null);
var u,
i,
s,
c = !1;
if (null === t) c = !0;
else
switch (o) {
case "string":
case "number":
c = !0;
break;
case "object":
switch (t.$$typeof) {
case p:
case h:
c = !0;
}
}
if (c)
return (
(a = a((c = t))),
(t = "" === l ? "." + C(c, 0) : l),
Array.isArray(a)
? ((r = ""),
null != t && (r = t.replace(x, "$&/") + "/"),
e(a, n, r, "", function (e) {
return e;
}))
: null != a &&
(_(a) &&
((i =
r +
(!(u = a).key || (c && c.key === a.key)
? ""
: ("" + a.key).replace(x, "$&/") + "/") +
t),
(a = {
$$typeof: p,
type: u.type,
key: i,
ref: u.ref,
props: u.props,
_owner: u._owner,
})),
n.push(a)),
1
);
if (
((c = 0), (l = "" === l ? "." : l + ":"), Array.isArray(t))
)
for (var f = 0; f < t.length; f++) {
var d = l + C((o = t[f]), f);
c += e(o, n, r, d, a);
}
else if (
"function" ==
typeof (d =
null === (s = t) || "object" != typeof s
? null
: "function" ==
typeof (s = (m && s[m]) || s["@@iterator"])
? s
: null)
)
for (t = d.call(t), f = 0; !(o = t.next()).done; )
c += e((o = o.value), n, r, (d = l + C(o, f++)), a);
else if ("object" === o)
throw (
((n = "" + t),
Error(
v(
31,
"[object Object]" === n
? "object with keys {" +
Object.keys(t).join(", ") +
"}"
: n
)
))
);
return c;
})(e, r, "", "", function (e) {
return t.call(n, e, l++);
}),
r
);
}
function N(t) {
if (-1 === t._status) {
var e = t._result;
(e = e()),
(t._status = 0),
(t._result = e).then(
function (e) {
0 === t._status &&
((e = e.default), (t._status = 1), (t._result = e));
},
function (e) {
0 === t._status && ((t._status = 2), (t._result = e));
}
);
}
if (1 === t._status) return t._result;
throw t._result;
}
var T = { current: null };
function L() {
var e = T.current;
if (null === e) throw Error(v(321));
return e;
}
var z = {
ReactCurrentDispatcher: T,
ReactCurrentBatchConfig: { transition: 0 },
ReactCurrentOwner: w,
IsSomeRendererActing: { current: !1 },
assign: c,
};
(t.Children = {
map: P,
forEach: function (e, t, n) {
P(
e,
function () {
t.apply(this, arguments);
},
n
);
},
count: function (e) {
var t = 0;
return (
P(e, function () {
t++;
}),
t
);
},
toArray: function (e) {
return (
P(e, function (e) {
return e;
}) || []
);
},
only: function (e) {
if (!_(e)) throw Error(v(143));
return e;
},
}),
(t.Component = d),
(t.PureComponent = g),
(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = z),
(t.cloneElement = function (e, t, n) {
if (null == e) throw Error(v(267, e));
var r = c({}, e.props),
l = e.key,
a = e.ref,
o = e._owner;
if (null != t) {
if (
(void 0 !== t.ref && ((a = t.ref), (o = w.current)),
void 0 !== t.key && (l = "" + t.key),
e.type && e.type.defaultProps)
)
var u = e.type.defaultProps;
for (i in t)
k.call(t, i) &&
!S.hasOwnProperty(i) &&
(r[i] = void 0 === t[i] && void 0 !== u ? u[i] : t[i]);
}
var i = arguments.length - 2;
if (1 === i) r.children = n;
else if (1 < i) {
u = Array(i);
for (var s = 0; s < i; s++) u[s] = arguments[s + 2];
r.children = u;
}
return {
$$typeof: p,
type: e.type,
key: l,
ref: a,
props: r,
_owner: o,
};
}),
(t.createContext = function (e, t) {
return (
void 0 === t && (t = null),
((e = {
$$typeof: l,
_calculateChangedBits: t,
_currentValue: e,
_currentValue2: e,
_threadCount: 0,
Provider: null,
Consumer: null,
}).Provider = { $$typeof: r, _context: e }),
(e.Consumer = e)
);
}),
(t.createElement = E),
(t.createFactory = function (e) {
var t = E.bind(null, e);
return (t.type = e), t;
}),
(t.createRef = function () {
return { current: null };
}),
(t.forwardRef = function (e) {
return { $$typeof: a, render: e };
}),
(t.isValidElement = _),
(t.lazy = function (e) {
return {
$$typeof: u,
_payload: { _status: -1, _result: e },
_init: N,
};
}),
(t.memo = function (e, t) {
return {
$$typeof: o,
type: e,
compare: void 0 === t ? null : t,
};
}),
(t.useCallback = function (e, t) {
return L().useCallback(e, t);
}),
(t.useContext = function (e, t) {
return L().useContext(e, t);
}),
(t.useDebugValue = function () {}),
(t.useEffect = function (e, t) {
return L().useEffect(e, t);
}),
(t.useImperativeHandle = function (e, t, n) {
return L().useImperativeHandle(e, t, n);
}),
(t.useLayoutEffect = function (e, t) {
return L().useLayoutEffect(e, t);
}),
(t.useMemo = function (e, t) {
return L().useMemo(e, t);
}),
(t.useReducer = function (e, t, n) {
return L().useReducer(e, t, n);
}),
(t.useRef = function (e) {
return L().useRef(e);
}),
(t.useState = function (e) {
return L().useState(e);
}),
(t.version = "17.0.1");
},
function (e, t, n) {
"use strict";
var l = n(2),
m = n(6),
r = n(11);
function x(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."
);
}
if (!l) throw Error(x(227));
var a = new Set(),
c = {};
function o(e, t) {
u(e, t), u(e + "Capture", t);
}
function u(e, t) {
for (c[e] = t, e = 0; e < t.length; e++) a.add(t[e]);
}
var i = !(
"undefined" == typeof window ||
void 0 === window.document ||
void 0 === window.document.createElement
),
s =
/^[: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]*$/,
f = Object.prototype.hasOwnProperty,
d = {},
p = {};
function h(e, t, n, r, l, a, o) {
(this.acceptsBooleans = 2 === t || 3 === t || 4 === t),
(this.attributeName = r),
(this.attributeNamespace = l),
(this.mustUseProperty = n),
(this.propertyName = e),
(this.type = t),
(this.sanitizeURL = a),
(this.removeEmptyString = o);
}
var v = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style"
.split(" ")
.forEach(function (e) {
v[e] = new h(e, 0, !1, e, null, !1, !1);
}),
[
["acceptCharset", "accept-charset"],
["className", "class"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
].forEach(function (e) {
var t = e[0];
v[t] = new h(t, 1, !1, e[1], null, !1, !1);
}),
["contentEditable", "draggable", "spellCheck", "value"].forEach(
function (e) {
v[e] = new h(e, 2, !1, e.toLowerCase(), null, !1, !1);
}
),
[
"autoReverse",
"externalResourcesRequired",
"focusable",
"preserveAlpha",
].forEach(function (e) {
v[e] = new h(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) {
v[e] = new h(e, 3, !1, e.toLowerCase(), null, !1, !1);
}),
["checked", "multiple", "muted", "selected"].forEach(function (
e
) {
v[e] = new h(e, 3, !0, e, null, !1, !1);
}),
["capture", "download"].forEach(function (e) {
v[e] = new h(e, 4, !1, e, null, !1, !1);
}),
["cols", "rows", "size", "span"].forEach(function (e) {
v[e] = new h(e, 6, !1, e, null, !1, !1);
}),
["rowSpan", "start"].forEach(function (e) {
v[e] = new h(e, 5, !1, e.toLowerCase(), null, !1, !1);
});
var y = /[\-:]([a-z])/g;
function g(e) {
return e[1].toUpperCase();
}
function b(e, l, t, n) {
var r,
a = v.hasOwnProperty(l) ? v[l] : null;
(null !== a
? 0 === a.type
: !n &&
2 < l.length &&
("o" === l[0] || "O" === l[0]) &&
("n" === l[1] || "N" === l[1])) ||
((function (e, t, n, r) {
if (
null == t ||
(function (e, t, n, r) {
if (null !== n && 0 === n.type) return !1;
switch (typeof t) {
case "function":
case "symbol":
return !0;
case "boolean":
return (
!r &&
(null !== n
? !n.acceptsBooleans
: "data-" !== (e = e.toLowerCase().slice(0, 5)) &&
"aria-" !== e)
);
default:
return !1;
}
})(l, t, n, r)
)
return !0;
if (r) return !1;
if (null !== n)
switch (n.type) {
case 3:
return !t;
case 4:
return !1 === t;
case 5:
return isNaN(t);
case 6:
return isNaN(t) || t < 1;
}
return !1;
})(0, t, a, n) && (t = null),
n || null === a
? ((r = l),
(f.call(p, r) ||
(!f.call(d, r) &&
(s.test(r) ? (p[r] = !0) : !(d[r] = !0)))) &&
(null === t
? e.removeAttribute(l)
: e.setAttribute(l, "" + t)))
: a.mustUseProperty
? (e[a.propertyName] = null === t ? 3 !== a.type && "" : t)
: ((l = a.attributeName),
(n = a.attributeNamespace),
null === t
? e.removeAttribute(l)
: ((t =
3 === (a = a.type) || (4 === a && !0 === t)
? ""
: "" + t),
n ? e.setAttributeNS(n, l, t) : e.setAttribute(l, t))));
}
"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(y, g);
v[t] = new h(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(y, g);
v[t] = new h(
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(y, g);
v[t] = new h(
t,
1,
!1,
e,
"http://www.w3.org/XML/1998/namespace",
!1,
!1
);
}),
["tabIndex", "crossOrigin"].forEach(function (e) {
v[e] = new h(e, 1, !1, e.toLowerCase(), null, !1, !1);
}),
(v.xlinkHref = new h(
"xlinkHref",
1,
!1,
"xlink:href",
"http://www.w3.org/1999/xlink",
!0,
!1
)),
["src", "href", "action", "formAction"].forEach(function (e) {
v[e] = new h(e, 1, !1, e.toLowerCase(), null, !0, !0);
});
var w = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
k = 60103,
S = 60106,
E = 60107,
_ = 60108,
C = 60114,
P = 60109,
N = 60110,
T = 60112,
L = 60113,
z = 60120,
O = 60115,
R = 60116,
M = 60121,
I = 60128,
F = 60129,
D = 60130,
U = 60131;
if ("function" == typeof Symbol && Symbol.for) {
var j = Symbol.for;
(k = j("react.element")),
(S = j("react.portal")),
(E = j("react.fragment")),
(_ = j("react.strict_mode")),
(C = j("react.profiler")),
(P = j("react.provider")),
(N = j("react.context")),
(T = j("react.forward_ref")),
(L = j("react.suspense")),
(z = j("react.suspense_list")),
(O = j("react.memo")),
(R = j("react.lazy")),
(M = j("react.block")),
j("react.scope"),
(I = j("react.opaque.id")),
(F = j("react.debug_trace_mode")),
(D = j("react.offscreen")),
(U = j("react.legacy_hidden"));
}
var A,
V = "function" == typeof Symbol && Symbol.iterator;
function B(e) {
return null === e || "object" != typeof e
? null
: "function" == typeof (e = (V && e[V]) || e["@@iterator"])
? e
: null;
}
function $(e) {
if (void 0 === A)
try {
throw Error();
} catch (e) {
var t = e.stack.trim().match(/\n( *(at )?)/);
A = (t && t[1]) || "";
}
return "\n" + A + e;
}
var W = !1;
function H(e, t) {
if (!e || W) return "";
W = !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();
},
}),
"object" == typeof Reflect && Reflect.construct)
) {
try {
Reflect.construct(t, []);
} catch (e) {
var r = e;
}
Reflect.construct(e, [], t);
} else {
try {
t.call();
} catch (e) {
r = e;
}
e.call(t.prototype);
}
else {
try {
throw Error();
} catch (e) {
r = e;
}
e();
}
} catch (e) {
if (e && r && "string" == typeof e.stack) {
for (
var l = e.stack.split("\n"),
a = r.stack.split("\n"),
o = l.length - 1,
u = a.length - 1;
1 <= o && 0 <= u && l[o] !== a[u];
)
u--;
for (; 1 <= o && 0 <= u; o--, u--)
if (l[o] !== a[u]) {
if (1 !== o || 1 !== u)
do {
if ((o--, --u < 0 || l[o] !== a[u]))
return "\n" + l[o].replace(" at new ", " at ");
} while (1 <= o && 0 <= u);
break;
}
}
} finally {
(W = !1), (Error.prepareStackTrace = n);
}
return (e = e ? e.displayName || e.name : "") ? $(e) : "";
}
function Q(e) {
switch (e.tag) {
case 5:
return $(e.type);
case 16:
return $("Lazy");
case 13:
return $("Suspense");
case 19:
return $("SuspenseList");
case 0:
case 2:
case 15:
return H(e.type, !1);
case 11:
return H(e.type.render, !1);
case 22:
return H(e.type._render, !1);
case 1:
return H(e.type, !0);
default:
return "";
}
}
function q(e) {
if (null == e) return null;
if ("function" == typeof e)
return e.displayName || e.name || null;
if ("string" == typeof e) return e;
switch (e) {
case E:
return "Fragment";
case S:
return "Portal";
case C:
return "Profiler";
case _:
return "StrictMode";
case L:
return "Suspense";
case z:
return "SuspenseList";
}
if ("object" == typeof e)
switch (e.$$typeof) {
case N:
return (e.displayName || "Context") + ".Consumer";
case P:
return (e._context.displayName || "Context") + ".Provider";
case T:
var t = e.render;
return (
(t = t.displayName || t.name || ""),
e.displayName ||
("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef")
);
case O:
return q(e.type);
case M:
return q(e._render);
case R:
(t = e._payload), (e = e._init);
try {
return q(e(t));
} catch (e) {}
}
return null;
}
function K(e) {
switch (typeof e) {
case "boolean":
case "number":
case "object":
case "string":
case "undefined":
return e;
default:
return "";
}
}
function Y(e) {
var t = e.type;
return (
(e = e.nodeName) &&
"input" === e.toLowerCase() &&
("checkbox" === t || "radio" === t)
);
}
function X(e) {
e._valueTracker ||
(e._valueTracker = (function (e) {
var t = Y(e) ? "checked" : "value",
n = Object.getOwnPropertyDescriptor(
e.constructor.prototype,
t
),
r = "" + e[t];
if (
!e.hasOwnProperty(t) &&
void 0 !== n &&
"function" == typeof n.get &&
"function" == typeof n.set
) {
var l = n.get,
a = n.set;
return (
Object.defineProperty(e, t, {
configurable: !0,
get: function () {
return l.call(this);
},
set: function (e) {
(r = "" + e), a.call(this, e);
},
}),
Object.defineProperty(e, t, { enumerable: n.enumerable }),
{
getValue: function () {
return r;
},
setValue: function (e) {
r = "" + e;
},
stopTracking: function () {
(e._valueTracker = null), delete e[t];
},
}
);
}
})(e));
}
function G(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(),
r = "";
return (
e && (r = Y(e) ? (e.checked ? "true" : "false") : e.value),
(e = r) !== n && (t.setValue(e), !0)
);
}
function J(t) {
if (
void 0 ===
(t = t || ("undefined" != typeof document ? document : void 0))
)
return null;
try {
return t.activeElement || t.body;
} catch (e) {
return t.body;
}
}
function Z(e, t) {
var n = t.checked;
return m({}, t, {
defaultChecked: void 0,
defaultValue: void 0,
value: void 0,
checked: null != n ? n : e._wrapperState.initialChecked,
});
}
function ee(e, t) {
var n = null == t.defaultValue ? "" : t.defaultValue,
r = null != t.checked ? t.checked : t.defaultChecked;
(n = K(null != t.value ? t.value : n)),
(e._wrapperState = {
initialChecked: r,
initialValue: n,
controlled:
"checkbox" === t.type || "radio" === t.type
? null != t.checked
: null != t.value,
});
}
function te(e, t) {
null != (t = t.checked) && b(e, "checked", t, !1);
}
function ne(e, t) {
te(e, t);
var n = K(t.value),
r = t.type;
if (null != n)
"number" === r
? ((0 === n && "" === e.value) || e.value != n) &&
(e.value = "" + n)
: e.value !== "" + n && (e.value = "" + n);
else if ("submit" === r || "reset" === r)
return void e.removeAttribute("value");
t.hasOwnProperty("value")
? le(e, t.type, n)
: t.hasOwnProperty("defaultValue") &&
le(e, t.type, K(t.defaultValue)),
null == t.checked &&
null != t.defaultChecked &&
(e.defaultChecked = !!t.defaultChecked);
}
function re(e, t, n) {
if (
t.hasOwnProperty("value") ||
t.hasOwnProperty("defaultValue")
) {
var r = t.type;
if (
!(
("submit" !== r && "reset" !== r) ||
(void 0 !== t.value && null !== t.value)
)
)
return;
(t = "" + e._wrapperState.initialValue),
n || t === e.value || (e.value = t),
(e.defaultValue = t);
}
"" !== (n = e.name) && (e.name = ""),
(e.defaultChecked = !!e._wrapperState.initialChecked),
"" !== n && (e.name = n);
}
function le(e, t, n) {
("number" === t && J(e.ownerDocument) === e) ||
(null == n
? (e.defaultValue = "" + e._wrapperState.initialValue)
: e.defaultValue !== "" + n && (e.defaultValue = "" + n));
}
function ae(e, t) {
return (
(e = m({ children: void 0 }, t)),
(n = t.children),
(r = ""),
l.Children.forEach(n, function (e) {
null != e && (r += e);
}),
(t = r) && (e.children = t),
e
);
var n, r;
}
function oe(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 = "" + K(n), t = null, l = 0; l < e.length; l++) {
if (e[l].value === n)
return (
(e[l].selected = !0),
void (r && (e[l].defaultSelected = !0))
);
null !== t || e[l].disabled || (t = e[l]);
}
null !== t && (t.selected = !0);
}
}
function ue(e, t) {
if (null != t.dangerouslySetInnerHTML) throw Error(x(91));
return m({}, t, {
value: void 0,
defaultValue: void 0,
children: "" + e._wrapperState.initialValue,
});
}
function ie(e, t) {
var n = t.value;
if (null == n) {
if (((n = t.children), (t = t.defaultValue), null != n)) {
if (null != t) throw Error(x(92));
if (Array.isArray(n)) {
if (!(n.length <= 1)) throw Error(x(93));
n = n[0];
}
t = n;
}
null == t && (t = ""), (n = t);
}
e._wrapperState = { initialValue: K(n) };
}
function se(e, t) {
var n = K(t.value),
r = K(t.defaultValue);
null != n &&
((n = "" + n) !== e.value && (e.value = n),
null == t.defaultValue &&
e.defaultValue !== n &&
(e.defaultValue = n)),
null != r && (e.defaultValue = "" + r);
}
function ce(e) {
var t = e.textContent;
t === e._wrapperState.initialValue &&
"" !== t &&
null !== t &&
(e.value = t);
}
var fe = "http://www.w3.org/1999/xhtml";
function de(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 pe(e, t) {
return null == e || "http://www.w3.org/1999/xhtml" === e
? de(t)
: "http://www.w3.org/2000/svg" === e && "foreignObject" === t
? "http://www.w3.org/1999/xhtml"
: e;
}
var he,
me,
ve =
((me = function (e, t) {
if (
"http://www.w3.org/2000/svg" !== e.namespaceURI ||
"innerHTML" in e
)
e.innerHTML = t;
else {
for (
(he = he || document.createElement("div")).innerHTML =
"<svg>" + t.valueOf().toString() + "</svg>",
t = he.firstChild;
e.firstChild;
)
e.removeChild(e.firstChild);
for (; t.firstChild; ) e.appendChild(t.firstChild);
}
}),
"undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction
? function (e, t, n, r) {
MSApp.execUnsafeLocalFunction(function () {
return me(e, t);
});
}
: me);
function ye(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && 3 === n.nodeType)
return void (n.nodeValue = t);
}
e.textContent = t;
}
var ge = {
animationIterationCount: !0,
borderImageOutset: !0,
borderImageSlice: !0,
borderImageWidth: !0,
boxFlex: !0,
boxFlexGroup: !0,
boxOrdinalGroup: !0,
columnCount: !0,
columns: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
gridArea: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
gridRowStart: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnSpan: !0,
gridColumnStart: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
floodOpacity: !0,
stopOpacity: !0,
strokeDasharray: !0,
strokeDashoffset: !0,
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0,
},
be = ["Webkit", "ms", "Moz", "O"];
function we(e, t, n) {
return null == t || "boolean" == typeof t || "" === t
? ""
: n ||
"number" != typeof t ||
0 === t ||
(ge.hasOwnProperty(e) && ge[e])
? ("" + t).trim()
: t + "px";
}
function ke(e, t) {
for (var n in ((e = e.style), t))
if (t.hasOwnProperty(n)) {
var r = 0 === n.indexOf("--"),
l = we(n, t[n], r);
"float" === n && (n = "cssFloat"),
r ? e.setProperty(n, l) : (e[n] = l);
}
}
Object.keys(ge).forEach(function (t) {
be.forEach(function (e) {
(e = e + t.charAt(0).toUpperCase() + t.substring(1)),
(ge[e] = ge[t]);
});
});
var Se = m(
{ 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 Ee(e, t) {
if (t) {
if (
Se[e] &&
(null != t.children || null != t.dangerouslySetInnerHTML)
)
throw Error(x(137, e));
if (null != t.dangerouslySetInnerHTML) {
if (null != t.children) throw Error(x(60));
if (
"object" != typeof t.dangerouslySetInnerHTML ||
!("__html" in t.dangerouslySetInnerHTML)
)
throw Error(x(61));
}
if (null != t.style && "object" != typeof t.style)
throw Error(x(62));
}
}
function _e(e, t) {
if (-1 === e.indexOf("-")) return "string" == typeof t.is;
switch (e) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0;
}
}
function xe(e) {
return (
(e = e.target || e.srcElement || window)
.correspondingUseElement && (e = e.correspondingUseElement),
3 === e.nodeType ? e.parentNode : e
);
}
var Ce = null,
Pe = null,
Ne = null;
function Te(e) {
if ((e = Gr(e))) {
if ("function" != typeof Ce) throw Error(x(280));
var t = e.stateNode;
t && ((t = Zr(t)), Ce(e.stateNode, e.type, t));
}
}
function Le(e) {
Pe ? (Ne ? Ne.push(e) : (Ne = [e])) : (Pe = e);
}
function ze() {
if (Pe) {
var e = Pe,
t = Ne;
if (((Ne = Pe = null), Te(e), t))
for (e = 0; e < t.length; e++) Te(t[e]);
}
}
function Oe(e, t) {
return e(t);
}
function Re(e, t, n, r, l) {
return e(t, n, r, l);
}
function Me() {}
var Ie = Oe,
Fe = !1,
De = !1;
function Ue() {
(null === Pe && null === Ne) || (Me(), ze());
}
function je(e, t) {
var n = e.stateNode;
if (null === n) return null;
var r = Zr(n);
if (null === r) 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) ||
(r = !(
"button" === (e = e.type) ||
"input" === e ||
"select" === e ||
"textarea" === e
)),
(e = !r);
break e;
default:
e = !1;
}
if (e) return null;
if (n && "function" != typeof n) throw Error(x(231, t, typeof n));
return n;
}
var Ae = !1;
if (i)
try {
var Ve = {};
Object.defineProperty(Ve, "passive", {
get: function () {
Ae = !0;
},
}),
window.addEventListener("test", Ve, Ve),
window.removeEventListener("test", Ve, Ve);
} catch (me) {
Ae = !1;
}
var Be = !1,
$e = null,
We = !1,
He = null,
Qe = {
onError: function (e) {
(Be = !0), ($e = e);
},
};
function qe(e, t, n, r, l, a, o, u, i) {
(Be = !1),
($e = null),
function (e, t, n, r, l, a, o, u, i) {
var s = Array.prototype.slice.call(arguments, 3);
try {
t.apply(n, s);
} catch (e) {
this.onError(e);
}
}.apply(Qe, arguments);
}
function Ke(e) {
var t = e,
n = e;
if (e.alternate) for (; t.return; ) t = t.return;
else
for (
e = t;
0 != (1026 & (t = e).flags) && (n = t.return), (e = t.return);
);
return 3 === t.tag ? n : null;
}
function Ye(e) {
if (13 === e.tag) {
var t = e.memoizedState;
if (
(null === t &&
null !== (e = e.alternate) &&
(t = e.memoizedState),
null !== t)
)
return t.dehydrated;
}
return null;
}
function Xe(e) {
if (Ke(e) !== e) throw Error(x(188));
}
function Ge(e) {
if (
!(e = (function (e) {
var t = e.alternate;
if (!t) {
if (null === (t = Ke(e))) throw Error(x(188));
return t !== e ? null : e;
}
for (var n = e, r = t; ; ) {
var l = n.return;
if (null === l) break;
var a = l.alternate;
if (null !== a) {
if (l.child === a.child) {
for (a = l.child; a; ) {
if (a === n) return Xe(l), e;
if (a === r) return Xe(l), t;
a = a.sibling;
}
throw Error(x(188));
}
if (n.return !== r.return) (n = l), (r = a);
else {
for (var o = !1, u = l.child; u; ) {
if (u === n) {
(o = !0), (n = l), (r = a);
break;
}
if (u === r) {
(o = !0), (r = l), (n = a);
break;
}
u = u.sibling;
}
if (!o) {
for (u = a.child; u; ) {
if (u === n) {
(o = !0), (n = a), (r = l);
break;
}
if (u === r) {
(o = !0), (r = a), (n = l);
break;
}
u = u.sibling;
}
if (!o) throw Error(x(189));
}
}
if (n.alternate !== r) throw Error(x(190));
} else {
if (null === (r = l.return)) break;
n = r;
}
}
if (3 !== n.tag) throw Error(x(188));
return n.stateNode.current === n ? e : t;
})(e))
)
return null;
for (var t = e; ; ) {
if (5 === t.tag || 6 === t.tag) return t;
if (t.child) t = (t.child.return = t).child;
else {
if (t === e) break;
for (; !t.sibling; ) {
if (!t.return || t.return === e) return null;
t = t.return;
}
(t.sibling.return = t.return), (t = t.sibling);
}
}
return null;
}
function Je(e, t) {
for (var n = e.alternate; null !== t; ) {
if (t === e || t === n) return !0;
t = t.return;
}
return !1;
}
var Ze,
et,
tt,
nt,
rt = !1,
lt = [],
at = null,
ot = null,
ut = null,
it = new Map(),
st = new Map(),
ct = [],
ft =
"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 dt(e, t, n, r, l) {
return {
blockedOn: e,
domEventName: t,
eventSystemFlags: 16 | n,
nativeEvent: l,
targetContainers: [r],
};
}
function pt(e, t) {
switch (e) {
case "focusin":
case "focusout":
at = null;
break;
case "dragenter":
case "dragleave":
ot = null;
break;
case "mouseover":
case "mouseout":
ut = null;
break;
case "pointerover":
case "pointerout":
it.delete(t.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
st.delete(t.pointerId);
}
}
function ht(e, t, n, r, l, a) {
return (
null === e || e.nativeEvent !== a
? ((e = dt(t, n, r, l, a)),
null !== t && null !== (t = Gr(t)) && et(t))
: ((e.eventSystemFlags |= r),
(t = e.targetContainers),
null !== l && -1 === t.indexOf(l) && t.push(l)),
e
);
}
function mt(e) {
var t = Xr(e.target);
if (null !== t) {
var n = Ke(t);
if (null !== n)
if (13 === (t = n.tag)) {
if (null !== (t = Ye(n)))
return (
(e.blockedOn = t),
void nt(e.lanePriority, function () {
r.unstable_runWithPriority(e.priority, function () {
tt(n);
});
})
);
} else if (3 === t && n.stateNode.hydrate)
return void (e.blockedOn =
3 === n.tag ? n.stateNode.containerInfo : null);
}
e.blockedOn = null;
}
function vt(e) {
if (null !== e.blockedOn) return !1;
for (var t = e.targetContainers; 0 < t.length; ) {
var n = Gt(
e.domEventName,
e.eventSystemFlags,
t[0],
e.nativeEvent
);
if (null !== n)
return null !== (t = Gr(n)) && et(t), (e.blockedOn = n), !1;
t.shift();
}
return !0;
}
function yt(e, t, n) {
vt(e) && n.delete(t);
}
function gt() {
for (rt = !1; 0 < lt.length; ) {
var e = lt[0];
if (null !== e.blockedOn) {
null !== (e = Gr(e.blockedOn)) && Ze(e);
break;
}
for (var t = e.targetContainers; 0 < t.length; ) {
var n = Gt(
e.domEventName,
e.eventSystemFlags,
t[0],
e.nativeEvent
);
if (null !== n) {
e.blockedOn = n;
break;
}
t.shift();
}
null === e.blockedOn && lt.shift();
}
null !== at && vt(at) && (at = null),
null !== ot && vt(ot) && (ot = null),
null !== ut && vt(ut) && (ut = null),
it.forEach(yt),
st.forEach(yt);
}
function bt(e, t) {
e.blockedOn === t &&
((e.blockedOn = null),
rt ||
((rt = !0),
r.unstable_scheduleCallback(r.unstable_NormalPriority, gt)));
}
function wt(t) {
function e(e) {
return bt(e, t);
}
if (0 < lt.length) {
bt(lt[0], t);
for (var n = 1; n < lt.length; n++) {
var r = lt[n];
r.blockedOn === t && (r.blockedOn = null);
}
}
for (
null !== at && bt(at, t),
null !== ot && bt(ot, t),
null !== ut && bt(ut, t),
it.forEach(e),
st.forEach(e),
n = 0;
n < ct.length;
n++
)
(r = ct[n]).blockedOn === t && (r.blockedOn = null);
for (; 0 < ct.length && null === (n = ct[0]).blockedOn; )
mt(n), null === n.blockedOn && ct.shift();
}
function kt(e, t) {
var n = {};
return (
(n[e.toLowerCase()] = t.toLowerCase()),
(n["Webkit" + e] = "webkit" + t),
(n["Moz" + e] = "moz" + t),
n
);
}
var St = {
animationend: kt("Animation", "AnimationEnd"),
animationiteration: kt("Animation", "AnimationIteration"),
animationstart: kt("Animation", "AnimationStart"),
transitionend: kt("Transition", "TransitionEnd"),
},
Et = {},
_t = {};
function xt(e) {
if (Et[e]) return Et[e];
if (!St[e]) return e;
var t,
n = St[e];
for (t in n)
if (n.hasOwnProperty(t) && t in _t) return (Et[e] = n[t]);
return e;
}
i &&
((_t = document.createElement("div").style),
"AnimationEvent" in window ||
(delete St.animationend.animation,
delete St.animationiteration.animation,
delete St.animationstart.animation),
"TransitionEvent" in window ||
delete St.transitionend.transition);
var Ct = xt("animationend"),
Pt = xt("animationiteration"),
Nt = xt("animationstart"),
Tt = xt("transitionend"),
Lt = new Map(),
zt = new Map(),
Ot = [
"abort",
"abort",
Ct,
"animationEnd",
Pt,
"animationIteration",
Nt,
"animationStart",
"canplay",
"canPlay",
"canplaythrough",
"canPlayThrough",
"durationchange",
"durationChange",
"emptied",
"emptied",
"encrypted",
"encrypted",
"ended",
"ended",
"error",
"error",
"gotpointercapture",
"gotPointerCapture",
"load",
"load",
"loadeddata",
"loadedData",
"loadedmetadata",
"loadedMetadata",
"loadstart",
"loadStart",
"lostpointercapture",
"lostPointerCapture",
"playing",
"playing",
"progress",
"progress",
"seeking",
"seeking",
"stalled",
"stalled",
"suspend",
"suspend",
"timeupdate",
"timeUpdate",
Tt,
"transitionEnd",
"waiting",
"waiting",
];
function Rt(e, t) {
for (var n = 0; n < e.length; n += 2) {
var r = e[n],
l = e[n + 1];
(l = "on" + (l[0].toUpperCase() + l.slice(1))),
zt.set(r, t),
Lt.set(r, l),
o(l, [r]);
}
}
(0, r.unstable_now)();
var Mt = 8;
function It(e) {
if (0 != (1 & e)) return (Mt = 15), 1;
if (0 != (2 & e)) return (Mt = 14), 2;
if (0 != (4 & e)) return (Mt = 13), 4;
var t = 24 & e;
return 0 !== t
? ((Mt = 12), t)
: 0 != (32 & e)
? ((Mt = 11), 32)
: 0 != (t = 192 & e)
? ((Mt = 10), t)
: 0 != (256 & e)
? ((Mt = 9), 256)
: 0 != (t = 3584 & e)
? ((Mt = 8), t)
: 0 != (4096 & e)
? ((Mt = 7), 4096)
: 0 != (t = 4186112 & e)
? ((Mt = 6), t)
: 0 != (t = 62914560 & e)
? ((Mt = 5), t)
: 67108864 & e
? ((Mt = 4), 67108864)
: 0 != (134217728 & e)
? ((Mt = 3), 134217728)
: 0 != (t = 805306368 & e)
? ((Mt = 2), t)
: 0 != (1073741824 & e)
? ((Mt = 1), 1073741824)
: ((Mt = 8), e);
}
function Ft(e, t) {
var n = e.pendingLanes;
if (0 === n) return (Mt = 0);
var r = 0,
l = 0,
a = e.expiredLanes,
o = e.suspendedLanes,
u = e.pingedLanes;
if (0 !== a) (r = a), (l = Mt = 15);
else if (0 != (a = 134217727 & n)) {
var i = a & ~o;
0 !== i
? ((r = It(i)), (l = Mt))
: 0 != (u &= a) && ((r = It(u)), (l = Mt));
} else
0 != (a = n & ~o)
? ((r = It(a)), (l = Mt))
: 0 !== u && ((r = It(u)), (l = Mt));
if (0 === r) return 0;
if (
((r = n & ((((r = 31 - Bt(r)) < 0 ? 0 : 1 << r) << 1) - 1)),
0 !== t && t !== r && 0 == (t & o))
) {
if ((It(t), l <= Mt)) return t;
Mt = l;
}
if (0 !== (t = e.entangledLanes))
for (e = e.entanglements, t &= r; 0 < t; )
(l = 1 << (n = 31 - Bt(t))), (r |= e[n]), (t &= ~l);
return r;
}
function Dt(e) {
return 0 != (e = -1073741825 & e.pendingLanes)
? e
: 1073741824 & e
? 1073741824
: 0;
}
function Ut(e, t) {
switch (e) {
case 15:
return 1;
case 14:
return 2;
case 12:
return 0 === (e = jt(24 & ~t)) ? Ut(10, t) : e;
case 10:
return 0 === (e = jt(192 & ~t)) ? Ut(8, t) : e;
case 8:
return (
0 === (e = jt(3584 & ~t)) &&
0 === (e = jt(4186112 & ~t)) &&
(e = 512),
e
);
case 2:
return 0 === (t = jt(805306368 & ~t)) && (t = 268435456), t;
}
throw Error(x(358, e));
}
function jt(e) {
return e & -e;
}
function At(e) {
for (var t = [], n = 0; n < 31; n++) t.push(e);
return t;
}
function Vt(e, t, n) {
e.pendingLanes |= t;
var r = t - 1;
(e.suspendedLanes &= r),
(e.pingedLanes &= r),
((e = e.eventTimes)[(t = 31 - Bt(t))] = n);
}
var Bt = Math.clz32
? Math.clz32
: function (e) {
return 0 === e ? 32 : (31 - (($t(e) / Wt) | 0)) | 0;
},
$t = Math.log,
Wt = Math.LN2,
Ht = r.unstable_UserBlockingPriority,
Qt = r.unstable_runWithPriority,
qt = !0;
function Kt(e, t, n, r) {
Fe || Me();
var l = Xt,
a = Fe;
Fe = !0;
try {
Re(l, e, t, n, r);
} finally {
(Fe = a) || Ue();
}
}
function Yt(e, t, n, r) {
Qt(Ht, Xt.bind(null, e, t, n, r));
}
function Xt(e, t, n, r) {
var l;
if (qt)
if ((l = 0 == (4 & t)) && 0 < lt.length && -1 < ft.indexOf(e))
(e = dt(null, e, t, n, r)), lt.push(e);
else {
var a = Gt(e, t, n, r);
if (null === a) l && pt(e, r);
else {
if (l) {
if (-1 < ft.indexOf(e))
return (e = dt(a, e, t, n, r)), void lt.push(e);
if (
(function (e, t, n, r, l) {
switch (t) {
case "focusin":
return (at = ht(at, e, t, n, r, l)), !0;
case "dragenter":
return (ot = ht(ot, e, t, n, r, l)), !0;
case "mouseover":
return (ut = ht(ut, e, t, n, r, l)), !0;
case "pointerover":
var a = l.pointerId;
return (
it.set(a, ht(it.get(a) || null, e, t, n, r, l)),
!0
);
case "gotpointercapture":
return (
(a = l.pointerId),
st.set(a, ht(st.get(a) || null, e, t, n, r, l)),
!0
);
}
return !1;
})(a, e, t, n, r)
)
return;
pt(e, r);
}
Tr(e, t, r, null, n);
}
}
}
function Gt(e, t, n, r) {
var l = xe(r);
if (null !== (l = Xr(l))) {
var a = Ke(l);
if (null === a) l = null;
else {
var o = a.tag;
if (13 === o) {
if (null !== (l = Ye(a))) return l;
l = null;
} else if (3 === o) {
if (a.stateNode.hydrate)
return 3 === a.tag ? a.stateNode.containerInfo : null;
l = null;
} else a !== l && (l = null);
}
}
return Tr(e, t, r, l, n), null;
}
var Jt = null,
Zt = null,
en = null;
function tn() {
if (en) return en;
var e,
t,
n = Zt,
r = n.length,
l = "value" in Jt ? Jt.value : Jt.textContent,
a = l.length;
for (e = 0; e < r && n[e] === l[e]; e++);
var o = r - e;
for (t = 1; t <= o && n[r - t] === l[a - t]; t++);
return (en = l.slice(e, 1 < t ? 1 - t : void 0));
}
function nn(e) {
var t = e.keyCode;
return (
"charCode" in e
? 0 === (e = e.charCode) && 13 === t && (e = 13)
: (e = t),
10 === e && (e = 13),
32 <= e || 13 === e ? e : 0
);
}
function rn() {
return !0;
}
function ln() {
return !1;
}
function an(o) {
function e(e, t, n, r, l) {
for (var a in ((this._reactName = e),
(this._targetInst = n),
(this.type = t),
(this.nativeEvent = r),
(this.target = l),
(this.currentTarget = null),
o))
o.hasOwnProperty(a) &&
((e = o[a]), (this[a] = e ? e(r) : r[a]));
return (
(this.isDefaultPrevented = (
null != r.defaultPrevented
? r.defaultPrevented
: !1 === r.returnValue
)
? rn
: ln),
(this.isPropagationStopped = ln),
this
);
}
return (
m(e.prototype, {
preventDefault: function () {
this.defaultPrevented = !0;
var e = this.nativeEvent;
e &&
(e.preventDefault
? e.preventDefault()
: "unknown" != typeof e.returnValue &&
(e.returnValue = !1),
(this.isDefaultPrevented = rn));
},
stopPropagation: function () {
var e = this.nativeEvent;
e &&
(e.stopPropagation
? e.stopPropagation()
: "unknown" != typeof e.cancelBubble &&
(e.cancelBubble = !0),
(this.isPropagationStopped = rn));
},
persist: function () {},
isPersistent: rn,
}),
e
);
}
var on,
un,
sn,
cn = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
timeStamp: function (e) {
return e.timeStamp || Date.now();
},
defaultPrevented: 0,
isTrusted: 0,
},
fn = an(cn),
dn = m({}, cn, { view: 0, detail: 0 }),
pn = an(dn),
hn = m({}, dn, {
screenX: 0,
screenY: 0,
clientX: 0,
clientY: 0,
pageX: 0,
pageY: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
getModifierState: xn,
button: 0,
buttons: 0,
relatedTarget: function (e) {
return void 0 === e.relatedTarget
? e.fromElement === e.srcElement
? e.toElement
: e.fromElement
: e.relatedTarget;
},
movementX: function (e) {
return "movementX" in e
? e.movementX
: (e !== sn &&
((un =
sn && "mousemove" === e.type
? ((on = e.screenX - sn.screenX),
e.screenY - sn.screenY)
: (on = 0)),
(sn = e)),
on);
},
movementY: function (e) {
return "movementY" in e ? e.movementY : un;
},
}),
mn = an(hn),
vn = an(m({}, hn, { dataTransfer: 0 })),
yn = an(m({}, dn, { relatedTarget: 0 })),
gn = an(
m({}, cn, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0,
})
),
bn = an(
m({}, cn, {
clipboardData: function (e) {
return "clipboardData" in e
? e.clipboardData
: window.clipboardData;
},
})
),
wn = an(m({}, cn, { data: 0 })),
kn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified",
},
Sn = {
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",
},
En = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey",
};
function _n(e) {
var t = this.nativeEvent;
return t.getModifierState
? t.getModifierState(e)
: !!(e = En[e]) && !!t[e];
}
function xn() {
return _n;
}
var Cn = an(
m({}, dn, {
key: function (e) {
if (e.key) {
var t = kn[e.key] || e.key;
if ("Unidentified" !== t) return t;
}
return "keypress" === e.type
? 13 === (e = nn(e))
? "Enter"
: String.fromCharCode(e)
: "keydown" === e.type || "keyup" === e.type
? Sn[e.keyCode] || "Unidentified"
: "";
},
code: 0,
location: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
repeat: 0,
locale: 0,
getModifierState: xn,
charCode: function (e) {
return "keypress" === e.type ? nn(e) : 0;
},
keyCode: function (e) {
return "keydown" === e.type || "keyup" === e.type
? e.keyCode
: 0;
},
which: function (e) {
return "keypress" === e.type
? nn(e)
: "keydown" === e.type || "keyup" === e.type
? e.keyCode
: 0;
},
})
),
Pn = an(
m({}, hn, {
pointerId: 0,
width: 0,
height: 0,
pressure: 0,
tangentialPressure: 0,
tiltX: 0,
tiltY: 0,
twist: 0,
pointerType: 0,
isPrimary: 0,
})
),
Nn = an(
m({}, dn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
altKey: 0,
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
getModifierState: xn,
})
),
Tn = an(
m({}, cn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 })
),
Ln = an(
m({}, hn, {
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,
})
),
zn = [9, 13, 27, 32],
On = i && "CompositionEvent" in window,
Rn = null;
i && "documentMode" in document && (Rn = document.documentMode);
var Mn = i && "TextEvent" in window && !Rn,
In = i && (!On || (Rn && 8 < Rn && Rn <= 11)),
Fn = String.fromCharCode(32),
Dn = !1;
function Un(e, t) {
switch (e) {
case "keyup":
return -1 !== zn.indexOf(t.keyCode);
case "keydown":
return 229 !== t.keyCode;
case "keypress":
case "mousedown":
case "focusout":
return !0;
default:
return !1;
}
}
function jn(e) {
return "object" == typeof (e = e.detail) && "data" in e
? e.data
: null;
}
var An = !1,
Vn = {
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 Bn(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return "input" === t ? !!Vn[e.type] : "textarea" === t;
}
function $n(e, t, n, r) {
Le(r),
0 < (t = zr(t, "onChange")).length &&
((n = new fn("onChange", "change", null, n, r)),
e.push({ event: n, listeners: t }));
}
var Wn = null,
Hn = null;
function Qn(e) {
Er(e, 0);
}
function qn(e) {
if (G(Jr(e))) return e;
}
function Kn(e, t) {
if ("change" === e) return t;
}
var Yn = !1;
if (i) {
var Xn;
if (i) {
var Gn = "oninput" in document;
if (!Gn) {
var Jn = document.createElement("div");
Jn.setAttribute("oninput", "return;"),
(Gn = "function" == typeof Jn.oninput);
}
Xn = Gn;
} else Xn = !1;
Yn = Xn && (!document.documentMode || 9 < document.documentMode);
}
function Zn() {
Wn && (Wn.detachEvent("onpropertychange", er), (Hn = Wn = null));
}
function er(e) {
if ("value" === e.propertyName && qn(Hn)) {
var t = [];
if (($n(t, Hn, e, xe(e)), (e = Qn), Fe)) e(t);
else {
Fe = !0;
try {
Oe(e, t);
} finally {
(Fe = !1), Ue();
}
}
}
}
function tr(e, t, n) {
"focusin" === e
? (Zn(), (Hn = n), (Wn = t).attachEvent("onpropertychange", er))
: "focusout" === e && Zn();
}
function nr(e) {
if ("selectionchange" === e || "keyup" === e || "keydown" === e)
return qn(Hn);
}
function rr(e, t) {
if ("click" === e) return qn(t);
}
function lr(e, t) {
if ("input" === e || "change" === e) return qn(t);
}
var ar =
"function" == typeof Object.is
? Object.is
: function (e, t) {
return (
(e === t && (0 !== e || 1 / e == 1 / t)) ||
(e != e && t != t)
);
},
or = Object.prototype.hasOwnProperty;
function ur(e, t) {
if (ar(e, t)) return !0;
if (
"object" != typeof e ||
null === e ||
"object" != typeof t ||
null === t
)
return !1;
var n = Object.keys(e),
r = Object.keys(t);
if (n.length !== r.length) return !1;
for (r = 0; r < n.length; r++)
if (!or.call(t, n[r]) || !ar(e[n[r]], t[n[r]])) return !1;
return !0;
}
function ir(e) {
for (; e && e.firstChild; ) e = e.firstChild;
return e;
}
function sr(e, t) {
var n,
r = ir(e);
for (e = 0; r; ) {
if (3 === r.nodeType) {
if (((n = e + r.textContent.length), e <= t && t <= n))
return { node: r, offset: t - e };
e = n;
}
e: {
for (; r; ) {
if (r.nextSibling) {
r = r.nextSibling;
break e;
}
r = r.parentNode;
}
r = void 0;
}
r = ir(r);
}
}
function cr() {
for (
var e = window, t = J();
t instanceof e.HTMLIFrameElement;
) {
try {
var n = "string" == typeof t.contentWindow.location.href;
} catch (e) {
n = !1;
}
if (!n) break;
t = J((e = t.contentWindow).document);
}
return t;
}
function fr(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return (
t &&
(("input" === t &&
("text" === e.type ||
"search" === e.type ||
"tel" === e.type ||
"url" === e.type ||
"password" === e.type)) ||
"textarea" === t ||
"true" === e.contentEditable)
);
}
var dr =
i && "documentMode" in document && document.documentMode <= 11,
pr = null,
hr = null,
mr = null,
vr = !1;
function yr(e, t, n) {
var r =
n.window === n
? n.document
: 9 === n.nodeType
? n
: n.ownerDocument;
vr ||
null == pr ||
pr !== J(r) ||
((r =
"selectionStart" in (r = pr) && fr(r)
? { start: r.selectionStart, end: r.selectionEnd }
: {
anchorNode: (r = (
(r.ownerDocument && r.ownerDocument.defaultView) ||
window
).getSelection()).anchorNode,
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset,
}),
(mr && ur(mr, r)) ||
((mr = r),
0 < (r = zr(hr, "onSelect")).length &&
((t = new fn("onSelect", "select", null, t, n)),
e.push({ event: t, listeners: r }),
(t.target = pr))));
}
Rt(
"cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(
" "
),
0
),
Rt(
"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(
" "
),
1
),
Rt(Ot, 2);
for (
var gr =
"change selectionchange textInput compositionstart compositionend compositionupdate".split(
" "
),
br = 0;
br < gr.length;
br++
)
zt.set(gr[br], 0);
u("onMouseEnter", ["mouseout", "mouseover"]),
u("onMouseLeave", ["mouseout", "mouseover"]),
u("onPointerEnter", ["pointerout", "pointerover"]),
u("onPointerLeave", ["pointerout", "pointerover"]),
o(
"onChange",
"change click focusin focusout input keydown keyup selectionchange".split(
" "
)
),
o(
"onSelect",
"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
" "
)
),
o("onBeforeInput", [
"compositionend",
"keypress",
"textInput",
"paste",
]),
o(
"onCompositionEnd",
"compositionend focusout keydown keypress keyup mousedown".split(
" "
)
),
o(
"onCompositionStart",
"compositionstart focusout keydown keypress keyup mousedown".split(
" "
)
),
o(
"onCompositionUpdate",
"compositionupdate focusout keydown keypress keyup mousedown".split(
" "
)
);
var wr =
"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(
" "
),
kr = new Set(
"cancel close invalid load scroll toggle".split(" ").concat(wr)
);
function Sr(e, t, n) {
var r = e.type || "unknown-event";
(e.currentTarget = n),
(function (e, t, n, r, l, a, o, u, i) {
if ((qe.apply(this, arguments), Be)) {
if (!Be) throw Error(x(198));
var s = $e;
(Be = !1), ($e = null), We || ((We = !0), (He = s));
}
})(r, t, void 0, e),
(e.currentTarget = null);
}
function Er(e, t) {
t = 0 != (4 & t);
for (var n = 0; n < e.length; n++) {
var r = e[n],
l = r.event;
r = r.listeners;
e: {
var a = void 0;
if (t)
for (var o = r.length - 1; 0 <= o; o--) {
var u = r[o],
i = u.instance,
s = u.currentTarget;
if (
((u = u.listener), i !== a && l.isPropagationStopped())
)
break e;
Sr(l, u, s), (a = i);
}
else
for (o = 0; o < r.length; o++) {
if (
((i = (u = r[o]).instance),
(s = u.currentTarget),
(u = u.listener),
i !== a && l.isPropagationStopped())
)
break e;
Sr(l, u, s), (a = i);
}
}
}
if (We) throw ((e = He), (We = !1), (He = null), e);
}
function _r(e, t) {
var n = el(t),
r = e + "__bubble";
n.has(r) || (Nr(t, e, 2, !1), n.add(r));
}
var xr = "_reactListening" + Math.random().toString(36).slice(2);
function Cr(t) {
t[xr] ||
((t[xr] = !0),
a.forEach(function (e) {
kr.has(e) || Pr(e, !1, t, null), Pr(e, !0, t, null);
}));
}
function Pr(e, t, n, r) {
var l =
4 < arguments.length && void 0 !== arguments[4]
? arguments[4]
: 0,
a = n;
if (
("selectionchange" === e &&
9 !== n.nodeType &&
(a = n.ownerDocument),
null !== r && !t && kr.has(e))
) {
if ("scroll" !== e) return;
(l |= 2), (a = r);
}
var o = el(a),
u = e + "__" + (t ? "capture" : "bubble");
o.has(u) || (t && (l |= 4), Nr(a, e, l, t), o.add(u));
}
function Nr(e, t, n, r) {
var l = zt.get(t);
switch (void 0 === l ? 2 : l) {
case 0:
l = Kt;
break;
case 1:
l = Yt;
break;
default:
l = Xt;
}
(n = l.bind(null, t, n, e)),
(l = void 0),
!Ae ||
("touchstart" !== t && "touchmove" !== t && "wheel" !== t) ||
(l = !0),
r
? void 0 !== l
? e.addEventListener(t, n, { capture: !0, passive: l })
: e.addEventListener(t, n, !0)
: void 0 !== l
? e.addEventListener(t, n, { passive: l })
: e.addEventListener(t, n, !1);
}
function Tr(v, y, g, e, t) {
var b = e;
if (0 == (1 & y) && 0 == (2 & y) && null !== e)
e: for (;;) {
if (null === e) return;
var n = e.tag;
if (3 === n || 4 === n) {
var r = e.stateNode.containerInfo;
if (r === t || (8 === r.nodeType && r.parentNode === t))
break;
if (4 === n)
for (n = e.return; null !== n; ) {
var l = n.tag;
if (
(3 === l || 4 === l) &&
((l = n.stateNode.containerInfo) === t ||
(8 === l.nodeType && l.parentNode === t))
)
return;
n = n.return;
}
for (; null !== r; ) {
if (null === (n = Xr(r))) return;
if (5 === (l = n.tag) || 6 === l) {
e = b = n;
continue e;
}
r = r.parentNode;
}
}
e = e.return;
}
!(function (e, t, n) {
if (De) return e();
De = !0;
try {
Ie(e, void 0, void 0);
} finally {
(De = !1), Ue();
}
})(function () {
var e = b,
t = xe(g),
n = [];
e: {
var r = Lt.get(v);
if (void 0 !== r) {
var l = fn,
a = v;
switch (v) {
case "keypress":
if (0 === nn(g)) break e;
case "keydown":
case "keyup":
l = Cn;
break;
case "focusin":
(a = "focus"), (l = yn);
break;
case "focusout":
(a = "blur"), (l = yn);
break;
case "beforeblur":
case "afterblur":
l = yn;
break;
case "click":
if (2 === g.button) break e;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
l = mn;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
l = vn;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
l = Nn;
break;
case Ct:
case Pt:
case Nt:
l = gn;
break;
case Tt:
l = Tn;
break;
case "scroll":
l = pn;
break;
case "wheel":
l = Ln;
break;
case "copy":
case "cut":
case "paste":
l = bn;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
l = Pn;
}
var o = 0 != (4 & y),
u = !o && "scroll" === v,
i = o ? (null !== r ? r + "Capture" : null) : r;
o = [];
for (var s, c = e; null !== c; ) {
var f = (s = c).stateNode;
if (
(5 === s.tag &&
null !== f &&
((s = f),
null !== i &&
null != (f = je(c, i)) &&
o.push(Lr(c, f, s))),
u)
)
break;
c = c.return;
}
0 < o.length &&
((r = new l(r, a, null, g, t)),
n.push({ event: r, listeners: o }));
}
}
if (0 == (7 & y)) {
if (
((l = "mouseout" === v || "pointerout" === v),
(!(r = "mouseover" === v || "pointerover" === v) ||
0 != (16 & y) ||
!(a = g.relatedTarget || g.fromElement) ||
(!Xr(a) && !a[Kr])) &&
(l || r) &&
((r =
t.window === t
? t
: (r = t.ownerDocument)
? r.defaultView || r.parentWindow
: window),
l
? ((l = e),
null !==
(a = (a = g.relatedTarget || g.toElement)
? Xr(a)
: null) &&
(a !== (u = Ke(a)) ||
(5 !== a.tag && 6 !== a.tag)) &&
(a = null))
: ((l = null), (a = e)),
l !== a))
) {
if (
((o = mn),
(f = "onMouseLeave"),
(i = "onMouseEnter"),
(c = "mouse"),
("pointerout" !== v && "pointerover" !== v) ||
((o = Pn),
(f = "onPointerLeave"),
(i = "onPointerEnter"),
(c = "pointer")),
(u = null == l ? r : Jr(l)),
(s = null == a ? r : Jr(a)),
((r = new o(f, c + "leave", l, g, t)).target = u),
(r.relatedTarget = s),
(f = null),
Xr(t) === e &&
(((o = new o(i, c + "enter", a, g, t)).target = s),
(o.relatedTarget = u),
(f = o)),
(u = f),
l && a)
)
e: {
for (i = a, c = 0, s = o = l; s; s = Or(s)) c++;
for (s = 0, f = i; f; f = Or(f)) s++;
for (; 0 < c - s; ) (o = Or(o)), c--;
for (; 0 < s - c; ) (i = Or(i)), s--;
for (; c--; ) {
if (o === i || (null !== i && o === i.alternate))
break e;
(o = Or(o)), (i = Or(i));
}
o = null;
}
else o = null;
null !== l && Rr(n, r, l, o, !1),
null !== a && null !== u && Rr(n, u, a, o, !0);
}
if (
"select" ===
(l =
(r = e ? Jr(e) : window).nodeName &&
r.nodeName.toLowerCase()) ||
("input" === l && "file" === r.type)
)
var d = Kn;
else if (Bn(r))
if (Yn) d = lr;
else {
d = nr;
var p = tr;
}
else
(l = r.nodeName) &&
"input" === l.toLowerCase() &&
("checkbox" === r.type || "radio" === r.type) &&
(d = rr);
switch (
(d && (d = d(v, e))
? $n(n, d, g, t)
: (p && p(v, r, e),
"focusout" === v &&
(p = r._wrapperState) &&
p.controlled &&
"number" === r.type &&
le(r, "number", r.value)),
(p = e ? Jr(e) : window),
v)
) {
case "focusin":
(Bn(p) || "true" === p.contentEditable) &&
((pr = p), (hr = e), (mr = null));
break;
case "focusout":
mr = hr = pr = null;
break;
case "mousedown":
vr = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
(vr = !1), yr(n, g, t);
break;
case "selectionchange":
if (dr) break;
case "keydown":
case "keyup":
yr(n, g, t);
}
var h;
if (On)
e: {
switch (v) {
case "compositionstart":
var m = "onCompositionStart";
break e;
case "compositionend":
m = "onCompositionEnd";
break e;
case "compositionupdate":
m = "onCompositionUpdate";
break e;
}
m = void 0;
}
else
An
? Un(v, g) && (m = "onCompositionEnd")
: "keydown" === v &&
229 === g.keyCode &&
(m = "onCompositionStart");
m &&
(In &&
"ko" !== g.locale &&
(An || "onCompositionStart" !== m
? "onCompositionEnd" === m && An && (h = tn())
: ((Zt =
"value" in (Jt = t) ? Jt.value : Jt.textContent),
(An = !0))),
0 < (p = zr(e, m)).length &&
((m = new wn(m, v, null, g, t)),
n.push({ event: m, listeners: p }),
h ? (m.data = h) : null !== (h = jn(g)) && (m.data = h))),
(h = Mn
? (function (e, t) {
switch (e) {
case "compositionend":
return jn(t);
case "keypress":
return 32 !== t.which ? null : ((Dn = !0), Fn);
case "textInput":
return (e = t.data) === Fn && Dn ? null : e;
default:
return null;
}
})(v, g)
: (function (e, t) {
if (An)
return "compositionend" === e || (!On && Un(e, t))
? ((e = tn()),
(en = Zt = Jt = null),
(An = !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 In && "ko" !== t.locale ? null : t.data;
default:
return null;
}
})(v, g)) &&
0 < (e = zr(e, "onBeforeInput")).length &&
((t = new wn("onBeforeInput", "beforeinput", null, g, t)),
n.push({ event: t, listeners: e }),
(t.data = h));
}
Er(n, y);
});
}
function Lr(e, t, n) {
return { instance: e, listener: t, currentTarget: n };
}
function zr(e, t) {
for (var n = t + "Capture", r = []; null !== e; ) {
var l = e,
a = l.stateNode;
5 === l.tag &&
null !== a &&
((l = a),
null != (a = je(e, n)) && r.unshift(Lr(e, a, l)),
null != (a = je(e, t)) && r.push(Lr(e, a, l))),
(e = e.return);
}
return r;
}
function Or(e) {
if (null === e) return null;
for (; (e = e.return) && 5 !== e.tag; );
return e || null;
}
function Rr(e, t, n, r, l) {
for (var a = t._reactName, o = []; null !== n && n !== r; ) {
var u = n,
i = u.alternate,
s = u.stateNode;
if (null !== i && i === r) break;
5 === u.tag &&
null !== s &&
((u = s),
l
? null != (i = je(n, a)) && o.unshift(Lr(n, i, u))
: l || (null != (i = je(n, a)) && o.push(Lr(n, i, u)))),
(n = n.return);
}
0 !== o.length && e.push({ event: t, listeners: o });
}
function Mr() {}
var Ir = null,
Fr = null;
function Dr(e, t) {
switch (e) {
case "button":
case "input":
case "select":
case "textarea":
return !!t.autoFocus;
}
return !1;
}
function Ur(e, t) {
return (
"textarea" === e ||
"option" === e ||
"noscript" === e ||
"string" == typeof t.children ||
"number" == typeof t.children ||
("object" == typeof t.dangerouslySetInnerHTML &&
null !== t.dangerouslySetInnerHTML &&
null != t.dangerouslySetInnerHTML.__html)
);
}
var jr = "function" == typeof setTimeout ? setTimeout : void 0,
Ar = "function" == typeof clearTimeout ? clearTimeout : void 0;
function Vr(e) {
1 === e.nodeType
? (e.textContent = "")
: 9 === e.nodeType &&
null != (e = e.body) &&
(e.textContent = "");
}
function Br(e) {
for (; null != e; e = e.nextSibling) {
var t = e.nodeType;
if (1 === t || 3 === t) break;
}
return e;
}
function $r(e) {
e = e.previousSibling;
for (var t = 0; e; ) {
if (8 === e.nodeType) {
var n = e.data;
if ("$" === n || "$!" === n || "$?" === n) {
if (0 === t) return e;
t--;
} else "/$" === n && t++;
}
e = e.previousSibling;
}
return null;
}
var Wr = 0,
Hr = Math.random().toString(36).slice(2),
Qr = "__reactFiber$" + Hr,
qr = "__reactProps$" + Hr,
Kr = "__reactContainer$" + Hr,
Yr = "__reactEvents$" + Hr;
function Xr(e) {
var t = e[Qr];
if (t) return t;
for (var n = e.parentNode; n; ) {
if ((t = n[Kr] || n[Qr])) {
if (
((n = t.alternate),
null !== t.child || (null !== n && null !== n.child))
)
for (e = $r(e); null !== e; ) {
if ((n = e[Qr])) return n;
e = $r(e);
}
return t;
}
n = (e = n).parentNode;
}
return null;
}
function Gr(e) {
return !(e = e[Qr] || e[Kr]) ||
(5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag)
? null
: e;
}
function Jr(e) {
if (5 === e.tag || 6 === e.tag) return e.stateNode;
throw Error(x(33));
}
function Zr(e) {
return e[qr] || null;
}
function el(e) {
var t = e[Yr];
return void 0 === t && (t = e[Yr] = new Set()), t;
}
var tl = [],
nl = -1;
function rl(e) {
return { current: e };
}
function ll(e) {
nl < 0 || ((e.current = tl[nl]), (tl[nl] = null), nl--);
}
function al(e, t) {
(tl[++nl] = e.current), (e.current = t);
}
var ol = {},
ul = rl(ol),
il = rl(!1),
sl = ol;
function cl(e, t) {
var n = e.type.contextTypes;
if (!n) return ol;
var r = e.stateNode;
if (r && r.__reactInternalMemoizedUnmaskedChildContext === t)
return r.__reactInternalMemoizedMaskedChildContext;
var l,
a = {};
for (l in n) a[l] = t[l];
return (
r &&
(((e =
e.stateNode).__reactInternalMemoizedUnmaskedChildContext =
t),
(e.__reactInternalMemoizedMaskedChildContext = a)),
a
);
}
function fl(e) {
return null !== (e = e.childContextTypes) && void 0 !== e;
}
function dl() {
ll(il), ll(ul);
}
function pl(e, t, n) {
if (ul.current !== ol) throw Error(x(168));
al(ul, t), al(il, n);
}
function hl(e, t, n) {
var r = e.stateNode;
if (
((e = t.childContextTypes),
"function" != typeof r.getChildContext)
)
return n;
for (var l in (r = r.getChildContext()))
if (!(l in e)) throw Error(x(108, q(t) || "Unknown", l));
return m({}, n, r);
}
function ml(e) {
return (
(e =
((e = e.stateNode) &&
e.__reactInternalMemoizedMergedChildContext) ||
ol),
(sl = ul.current),
al(ul, e),
al(il, il.current),
!0
);
}
function vl(e, t, n) {
var r = e.stateNode;
if (!r) throw Error(x(169));
n
? ((e = hl(e, t, sl)),
(r.__reactInternalMemoizedMergedChildContext = e),
ll(il),
ll(ul),
al(ul, e))
: ll(il),
al(il, n);
}
var yl = null,
gl = null,
bl = r.unstable_runWithPriority,
wl = r.unstable_scheduleCallback,
kl = r.unstable_cancelCallback,
Sl = r.unstable_shouldYield,
El = r.unstable_requestPaint,
_l = r.unstable_now,
xl = r.unstable_getCurrentPriorityLevel,
Cl = r.unstable_ImmediatePriority,
Pl = r.unstable_UserBlockingPriority,
Nl = r.unstable_NormalPriority,
Tl = r.unstable_LowPriority,
Ll = r.unstable_IdlePriority,
zl = {},
Ol = void 0 !== El ? El : function () {},
Rl = null,
Ml = null,
Il = !1,
Fl = _l(),
Dl =
Fl < 1e4
? _l
: function () {
return _l() - Fl;
};
function Ul() {
switch (xl()) {
case Cl:
return 99;
case Pl:
return 98;
case Nl:
return 97;
case Tl:
return 96;
case Ll:
return 95;
default:
throw Error(x(332));
}
}
function jl(e) {
switch (e) {
case 99:
return Cl;
case 98:
return Pl;
case 97:
return Nl;
case 96:
return Tl;
case 95:
return Ll;
default:
throw Error(x(332));
}
}
function Al(e, t) {
return (e = jl(e)), bl(e, t);
}
function Vl(e, t, n) {
return (e = jl(e)), wl(e, t, n);
}
function Bl() {
if (null !== Ml) {
var e = Ml;
(Ml = null), kl(e);
}
$l();
}
function $l() {
if (!Il && null !== Rl) {
Il = !0;
var t = 0;
try {
var n = Rl;
Al(99, function () {
for (; t < n.length; t++)
for (var e = n[t]; null !== (e = e(!0)); );
}),
(Rl = null);
} catch (e) {
throw (null !== Rl && (Rl = Rl.slice(t + 1)), wl(Cl, Bl), e);
} finally {
Il = !1;
}
}
}
var Wl = w.ReactCurrentBatchConfig;
function Hl(e, t) {
if (e && e.defaultProps) {
for (var n in ((t = m({}, t)), (e = e.defaultProps)))
void 0 === t[n] && (t[n] = e[n]);
return t;
}
return t;
}
var Ql = rl(null),
ql = null,
Kl = null,
Yl = null;
function Xl() {
Yl = Kl = ql = null;
}
function Gl(e) {
var t = Ql.current;
ll(Ql), (e.type._context._currentValue = t);
}
function Jl(e, t) {
for (; null !== e; ) {
var n = e.alternate;
if ((e.childLanes & t) === t) {
if (null === n || (n.childLanes & t) === t) break;
n.childLanes |= t;
} else (e.childLanes |= t), null !== n && (n.childLanes |= t);
e = e.return;
}
}
function Zl(e, t) {
(Yl = Kl = null),
null !== (e = (ql = e).dependencies) &&
null !== e.firstContext &&
(0 != (e.lanes & t) && (Lo = !0), (e.firstContext = null));
}
function ea(e, t) {
if (Yl !== e && !1 !== t && 0 !== t)
if (
(("number" == typeof t && 1073741823 !== t) ||
((Yl = e), (t = 1073741823)),
(t = { context: e, observedBits: t, next: null }),
null === Kl)
) {
if (null === ql) throw Error(x(308));
(Kl = t),
(ql.dependencies = {
lanes: 0,
firstContext: t,
responders: null,
});
} else Kl = Kl.next = t;
return e._currentValue;
}
var ta = !1;
function na(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
lastBaseUpdate: null,
shared: { pending: null },
effects: null,
};
}
function ra(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 la(e, t) {
return {
eventTime: e,
lane: t,
tag: 0,
payload: null,
callback: null,
next: null,
};
}
function aa(e, t) {
if (null !== (e = e.updateQueue)) {
var n = (e = e.shared).pending;
null === n ? (t.next = t) : ((t.next = n.next), (n.next = t)),
(e.pending = t);
}
}
function oa(e, t) {
var n = e.updateQueue,
r = e.alternate;
if (null !== r && n === (r = r.updateQueue)) {
var l = null,
a = null;
if (null !== (n = n.firstBaseUpdate)) {
do {
var o = {
eventTime: n.eventTime,
lane: n.lane,
tag: n.tag,
payload: n.payload,
callback: n.callback,
next: null,
};
null === a ? (l = a = o) : (a = a.next = o), (n = n.next);
} while (null !== n);
null === a ? (l = a = t) : (a = a.next = t);
} else l = a = t;
return (
(n = {
baseState: r.baseState,
firstBaseUpdate: l,
lastBaseUpdate: a,
shared: r.shared,
effects: r.effects,
}),
void (e.updateQueue = n)
);
}
null === (e = n.lastBaseUpdate)
? (n.firstBaseUpdate = t)
: (e.next = t),
(n.lastBaseUpdate = t);
}
function ua(e, t, n, r) {
var l = e.updateQueue;
ta = !1;
var a = l.firstBaseUpdate,
o = l.lastBaseUpdate,
u = l.shared.pending;
if (null !== u) {
l.shared.pending = null;
var i = u,
s = i.next;
(i.next = null) === o ? (a = s) : (o.next = s), (o = i);
var c = e.alternate;
if (null !== c) {
var f = (c = c.updateQueue).lastBaseUpdate;
f !== o &&
(null === f ? (c.firstBaseUpdate = s) : (f.next = s),
(c.lastBaseUpdate = i));
}
}
if (null !== a) {
for (f = l.baseState, o = 0, c = s = i = null; ; ) {
u = a.lane;
var d = a.eventTime;
if ((r & u) === u) {
null !== c &&
(c = c.next =
{
eventTime: d,
lane: 0,
tag: a.tag,
payload: a.payload,
callback: a.callback,
next: null,
});
e: {
var p = e,
h = a;
switch (((u = t), (d = n), h.tag)) {
case 1:
if ("function" == typeof (p = h.payload)) {
f = p.call(d, f, u);
break e;
}
f = p;
break e;
case 3:
p.flags = (-4097 & p.flags) | 64;
case 0:
if (
null ===
(u =
"function" == typeof (p = h.payload)
? p.call(d, f, u)
: p) ||
void 0 === u
)
break e;
f = m({}, f, u);
break e;
case 2:
ta = !0;
}
}
null !== a.callback &&
((e.flags |= 32),
null === (u = l.effects) ? (l.effects = [a]) : u.push(a));
} else
(d = {
eventTime: d,
lane: u,
tag: a.tag,
payload: a.payload,
callback: a.callback,
next: null,
}),
null === c ? ((s = c = d), (i = f)) : (c = c.next = d),
(o |= u);
if (null === (a = a.next)) {
if (null === (u = l.shared.pending)) break;
(a = u.next),
(u.next = null),
(l.lastBaseUpdate = u),
(l.shared.pending = null);
}
}
null === c && (i = f),
(l.baseState = i),
(l.firstBaseUpdate = s),
(l.lastBaseUpdate = c),
(Tu |= o),
(e.lanes = o),
(e.memoizedState = f);
}
}
function ia(e, t, n) {
if (((e = t.effects), (t.effects = null) !== e))
for (t = 0; t < e.length; t++) {
var r = e[t],
l = r.callback;
if (null !== l) {
if (((r.callback = null), (r = n), "function" != typeof l))
throw Error(x(191, l));
l.call(r);
}
}
}
var sa = new l.Component().refs;
function ca(e, t, n, r) {
(n =
null === (n = n(r, (t = e.memoizedState))) || void 0 === n
? t
: m({}, t, n)),
(e.memoizedState = n),
0 === e.lanes && (e.updateQueue.baseState = n);
}
var fa = {
isMounted: function (e) {
return !!(e = e._reactInternals) && Ke(e) === e;
},
enqueueSetState: function (e, t, n) {
e = e._reactInternals;
var r = ei(),
l = ti(e),
a = la(r, l);
(a.payload = t),
null != n && (a.callback = n),
aa(e, a),
ni(e, l, r);
},
enqueueReplaceState: function (e, t, n) {
e = e._reactInternals;
var r = ei(),
l = ti(e),
a = la(r, l);
(a.tag = 1),
(a.payload = t),
null != n && (a.callback = n),
aa(e, a),
ni(e, l, r);
},
enqueueForceUpdate: function (e, t) {
e = e._reactInternals;
var n = ei(),
r = ti(e),
l = la(n, r);
(l.tag = 2),
null != t && (l.callback = t),
aa(e, l),
ni(e, r, n);
},
};
function da(e, t, n, r, l, a, o) {
return "function" ==
typeof (e = e.stateNode).shouldComponentUpdate
? e.shouldComponentUpdate(r, a, o)
: !(
t.prototype &&
t.prototype.isPureReactComponent &&
ur(n, r) &&
ur(l, a)
);
}
function pa(e, t, n) {
var r = !1,
l = ol,
a = t.contextType;
return (
(t = new t(
n,
(a =
"object" == typeof a && null !== a
? ea(a)
: ((l = fl(t) ? sl : ul.current),
(r = null !== (r = t.contextTypes) && void 0 !== r)
? cl(e, l)
: ol))
)),
(e.memoizedState =
null !== t.state && void 0 !== t.state ? t.state : null),
(t.updater = fa),
((e.stateNode = t)._reactInternals = e),
r &&
(((e =
e.stateNode).__reactInternalMemoizedUnmaskedChildContext =
l),
(e.__reactInternalMemoizedMaskedChildContext = a)),
t
);
}
function ha(e, t, n, r) {
(e = t.state),
"function" == typeof t.componentWillReceiveProps &&
t.componentWillReceiveProps(n, r),
"function" == typeof t.UNSAFE_componentWillReceiveProps &&
t.UNSAFE_componentWillReceiveProps(n, r),
t.state !== e && fa.enqueueReplaceState(t, t.state, null);
}
function ma(e, t, n, r) {
var l = e.stateNode;
(l.props = n), (l.state = e.memoizedState), (l.refs = sa), na(e);
var a = t.contextType;
"object" == typeof a && null !== a
? (l.context = ea(a))
: ((a = fl(t) ? sl : ul.current), (l.context = cl(e, a))),
ua(e, n, l, r),
(l.state = e.memoizedState),
"function" == typeof (a = t.getDerivedStateFromProps) &&
(ca(e, t, a, n), (l.state = e.memoizedState)),
"function" == typeof t.getDerivedStateFromProps ||
"function" == typeof l.getSnapshotBeforeUpdate ||
("function" != typeof l.UNSAFE_componentWillMount &&
"function" != typeof l.componentWillMount) ||
((t = l.state),
"function" == typeof l.componentWillMount &&
l.componentWillMount(),
"function" == typeof l.UNSAFE_componentWillMount &&
l.UNSAFE_componentWillMount(),
t !== l.state && fa.enqueueReplaceState(l, l.state, null),
ua(e, n, l, r),
(l.state = e.memoizedState)),
"function" == typeof l.componentDidMount && (e.flags |= 4);
}
var va = Array.isArray;
function ya(e, t, n) {
if (
null !== (e = n.ref) &&
"function" != typeof e &&
"object" != typeof e
) {
if (n._owner) {
if ((n = n._owner)) {
if (1 !== n.tag) throw Error(x(309));
var r = n.stateNode;
}
if (!r) throw Error(x(147, e));
var l = "" + e;
return null !== t &&
null !== t.ref &&
"function" == typeof t.ref &&
t.ref._stringRef === l
? t.ref
: (((t = function (e) {
var t = r.refs;
t === sa && (t = r.refs = {}),
null === e ? delete t[l] : (t[l] = e);
})._stringRef = l),
t);
}
if ("string" != typeof e) throw Error(x(284));
if (!n._owner) throw Error(x(290, e));
}
return e;
}
function ga(e, t) {
if ("textarea" !== e.type)
throw Error(
x(
31,
"[object Object]" === Object.prototype.toString.call(t)
? "object with keys {" + Object.keys(t).join(", ") + "}"
: t
)
);
}
function ba(f) {
function d(e, t) {
if (f) {
var n = e.lastEffect;
null !== n
? ((n.nextEffect = t), (e.lastEffect = t))
: (e.firstEffect = e.lastEffect = t),
(t.nextEffect = null),
(t.flags = 8);
}
}
function p(e, t) {
if (!f) return null;
for (; null !== t; ) d(e, t), (t = t.sibling);
return null;
}
function h(e, t) {
for (e = new Map(); null !== t; )
null !== t.key ? e.set(t.key, t) : e.set(t.index, t),
(t = t.sibling);
return e;
}
function o(e, t) {
return ((e = Li(e, t)).index = 0), (e.sibling = null), e;
}
function m(e, t, n) {
return (
(e.index = n),
f
? null !== (n = e.alternate)
? (n = n.index) < t
? ((e.flags = 2), t)
: n
: ((e.flags = 2), t)
: t
);
}
function u(e) {
return f && null === e.alternate && (e.flags = 2), e;
}
function a(e, t, n, r) {
return (
null === t || 6 !== t.tag
? ((t = Mi(n, e.mode, r)).return = e)
: ((t = o(t, n)).return = e),
t
);
}
function i(e, t, n, r) {
return (
null !== t && t.elementType === n.type
? ((r = o(t, n.props)).ref = ya(e, t, n))
: ((r = zi(n.type, n.key, n.props, null, e.mode, r)).ref =
ya(e, t, n)),
(r.return = e),
r
);
}
function s(e, t, n, r) {
return (
null === t ||
4 !== t.tag ||
t.stateNode.containerInfo !== n.containerInfo ||
t.stateNode.implementation !== n.implementation
? ((t = Ii(n, e.mode, r)).return = e)
: ((t = o(t, n.children || [])).return = e),
t
);
}
function c(e, t, n, r, l) {
return (
null === t || 7 !== t.tag
? ((t = Oi(n, e.mode, r, l)).return = e)
: ((t = o(t, n)).return = e),
t
);
}
function v(e, t, n) {
if ("string" == typeof t || "number" == typeof t)
return ((t = Mi("" + t, e.mode, n)).return = e), t;
if ("object" == typeof t && null !== t) {
switch (t.$$typeof) {
case k:
return (
((n = zi(t.type, t.key, t.props, null, e.mode, n)).ref =
ya(e, null, t)),
(n.return = e),
n
);
case S:
return ((t = Ii(t, e.mode, n)).return = e), t;
}
if (va(t) || B(t))
return ((t = Oi(t, e.mode, n, null)).return = e), t;
ga(e, t);
}
return null;
}
function y(e, t, n, r) {
var l = null !== t ? t.key : null;
if ("string" == typeof n || "number" == typeof n)
return null !== l ? null : a(e, t, "" + n, r);
if ("object" == typeof n && null !== n) {
switch (n.$$typeof) {
case k:
return n.key === l
? n.type === E
? c(e, t, n.props.children, r, l)
: i(e, t, n, r)
: null;
case S:
return n.key === l ? s(e, t, n, r) : null;
}
if (va(n) || B(n))
return null !== l ? null : c(e, t, n, r, null);
ga(e, n);
}
return null;
}
function g(e, t, n, r, l) {
if ("string" == typeof r || "number" == typeof r)
return a(t, (e = e.get(n) || null), "" + r, l);
if ("object" == typeof r && null !== r) {
switch (r.$$typeof) {
case k:
return (
(e = e.get(null === r.key ? n : r.key) || null),
r.type === E
? c(t, e, r.props.children, l, r.key)
: i(t, e, r, l)
);
case S:
return s(
t,
(e = e.get(null === r.key ? n : r.key) || null),
r,
l
);
}
if (va(r) || B(r))
return c(t, (e = e.get(n) || null), r, l, null);
ga(t, r);
}
return null;
}
return function (e, t, n, r) {
var l =
"object" == typeof n &&
null !== n &&
n.type === E &&
null === n.key;
l && (n = n.props.children);
var a = "object" == typeof n && null !== n;
if (a)
switch (n.$$typeof) {
case k:
e: {
for (a = n.key, l = t; null !== l; ) {
if (l.key === a) {
switch (l.tag) {
case 7:
if (n.type !== E) break;
p(e, l.sibling),
((t = o(l, n.props.children)).return = e),
(e = t);
break e;
default:
if (l.elementType === n.type) {
p(e, l.sibling),
((t = o(l, n.props)).ref = ya(e, l, n)),
(t.return = e),
(e = t);
break e;
}
}
p(e, l);
break;
}
d(e, l), (l = l.sibling);
}
e =
n.type === E
? (((t = Oi(
n.props.children,
e.mode,
r,
n.key
)).return = e),
t)
: (((r = zi(
n.type,
n.key,
n.props,
null,
e.mode,
r
)).ref = ya(e, t, n)),
(r.return = e),
r);
}
return u(e);
case S:
e: {
for (l = n.key; null !== t; ) {
if (t.key === l) {
if (
4 === t.tag &&
t.stateNode.containerInfo === n.containerInfo &&
t.stateNode.implementation === n.implementation
) {
p(e, t.sibling),
((t = o(t, n.children || [])).return = e),
(e = t);
break e;
}
p(e, t);
break;
}
d(e, t), (t = t.sibling);
}
((t = Ii(n, e.mode, r)).return = e), (e = t);
}
return u(e);
}
if ("string" == typeof n || "number" == typeof n)
return (
(n = "" + n),
u(
(e =
(null !== t && 6 === t.tag
? (p(e, t.sibling), ((t = o(t, n)).return = e))
: (p(e, t), ((t = Mi(n, e.mode, r)).return = e)),
t))
)
);
if (va(n))
return (function (t, e, n, r) {
for (
var l = null, a = null, o = e, u = (e = 0), i = null;
null !== o && u < n.length;
u++
) {
o.index > u ? ((i = o), (o = null)) : (i = o.sibling);
var s = y(t, o, n[u], r);
if (null === s) {
null === o && (o = i);
break;
}
f && o && null === s.alternate && d(t, o),
(e = m(s, e, u)),
null === a ? (l = s) : (a.sibling = s),
(a = s),
(o = i);
}
if (u === n.length) return p(t, o), l;
if (null === o) {
for (; u < n.length; u++)
null !== (o = v(t, n[u], r)) &&
((e = m(o, e, u)),
null === a ? (l = o) : (a.sibling = o),
(a = o));
return l;
}
for (o = h(t, o); u < n.length; u++)
null !== (i = g(o, t, u, n[u], r)) &&
(f &&
null !== i.alternate &&
o.delete(null === i.key ? u : i.key),
(e = m(i, e, u)),
null === a ? (l = i) : (a.sibling = i),
(a = i));
return (
f &&
o.forEach(function (e) {
return d(t, e);
}),
l
);
})(e, t, n, r);
if (B(n))
return (function (t, e, n, r) {
var l = B(n);
if ("function" != typeof l) throw Error(x(150));
if (null == (n = l.call(n))) throw Error(x(151));
for (
var a = (l = null),
o = e,
u = (e = 0),
i = null,
s = n.next();
null !== o && !s.done;
u++, s = n.next()
) {
o.index > u ? ((i = o), (o = null)) : (i = o.sibling);
var c = y(t, o, s.value, r);
if (null === c) {
null === o && (o = i);
break;
}
f && o && null === c.alternate && d(t, o),
(e = m(c, e, u)),
null === a ? (l = c) : (a.sibling = c),
(a = c),
(o = i);
}
if (s.done) return p(t, o), l;
if (null === o) {
for (; !s.done; u++, s = n.next())
null !== (s = v(t, s.value, r)) &&
((e = m(s, e, u)),
null === a ? (l = s) : (a.sibling = s),
(a = s));
return l;
}
for (o = h(t, o); !s.done; u++, s = n.next())
null !== (s = g(o, t, u, s.value, r)) &&
(f &&
null !== s.alternate &&
o.delete(null === s.key ? u : s.key),
(e = m(s, e, u)),
null === a ? (l = s) : (a.sibling = s),
(a = s));
return (
f &&
o.forEach(function (e) {
return d(t, e);
}),
l
);
})(e, t, n, r);
if ((a && ga(e, n), void 0 === n && !l))
switch (e.tag) {
case 1:
case 22:
case 0:
case 11:
case 15:
throw Error(x(152, q(e.type) || "Component"));
}
return p(e, t);
};
}
var wa = ba(!0),
ka = ba(!1),
Sa = {},
Ea = rl(Sa),
_a = rl(Sa),
xa = rl(Sa);
function Ca(e) {
if (e === Sa) throw Error(x(174));
return e;
}
function Pa(e, t) {
switch ((al(xa, t), al(_a, e), al(Ea, Sa), (e = t.nodeType))) {
case 9:
case 11:
t = (t = t.documentElement) ? t.namespaceURI : pe(null, "");
break;
default:
t = pe(
(t = (e = 8 === e ? t.parentNode : t).namespaceURI || null),
(e = e.tagName)
);
}
ll(Ea), al(Ea, t);
}
function Na() {
ll(Ea), ll(_a), ll(xa);
}
function Ta(e) {
Ca(xa.current);
var t = Ca(Ea.current),
n = pe(t, e.type);
t !== n && (al(_a, e), al(Ea, n));
}
function La(e) {
_a.current === e && (ll(Ea), ll(_a));
}
var za = rl(0);
function Oa(e) {
for (var t = e; null !== t; ) {
if (13 === t.tag) {
var n = t.memoizedState;
if (
null !== n &&
(null === (n = n.dehydrated) ||
"$?" === n.data ||
"$!" === n.data)
)
return t;
} else if (
19 === t.tag &&
void 0 !== t.memoizedProps.revealOrder
) {
if (0 != (64 & t.flags)) return t;
} else if (null !== t.child) {
t = (t.child.return = t).child;
continue;
}
if (t === e) break;
for (; null === t.sibling; ) {
if (null === t.return || t.return === e) return null;
t = t.return;
}
(t.sibling.return = t.return), (t = t.sibling);
}
return null;
}
var Ra = null,
Ma = null,
Ia = !1;
function Fa(e, t) {
var n = Ni(5, null, null, 0);
(n.elementType = "DELETED"),
(n.type = "DELETED"),
(n.stateNode = t),
(n.return = e),
(n.flags = 8),
null !== e.lastEffect
? ((e.lastEffect.nextEffect = n), (e.lastEffect = n))
: (e.firstEffect = e.lastEffect = n);
}
function Da(e, t) {
switch (e.tag) {
case 5:
var n = e.type;
return (
null !==
(t =
1 !== t.nodeType ||
n.toLowerCase() !== t.nodeName.toLowerCase()
? null
: t) && ((e.stateNode = t), !0)
);
case 6:
return (
null !==
(t =
"" === e.pendingProps || 3 !== t.nodeType ? null : t) &&
((e.stateNode = t), !0)
);
case 13:
default:
return !1;
}
}
function Ua(e) {
if (Ia) {
var t = Ma;
if (t) {
var n = t;
if (!Da(e, t)) {
if (!(t = Br(n.nextSibling)) || !Da(e, t))
return (
(e.flags = (-1025 & e.flags) | 2),
(Ia = !1),
void (Ra = e)
);
Fa(Ra, n);
}
(Ra = e), (Ma = Br(t.firstChild));
} else (e.flags = (-1025 & e.flags) | 2), (Ia = !1), (Ra = e);
}
}
function ja(e) {
for (
e = e.return;
null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;
)
e = e.return;
Ra = e;
}
function Aa(e) {
if (e !== Ra) return !1;
if (!Ia) return ja(e), !(Ia = !0);
var t = e.type;
if (
5 !== e.tag ||
("head" !== t && "body" !== t && !Ur(t, e.memoizedProps))
)
for (t = Ma; t; ) Fa(e, t), (t = Br(t.nextSibling));
if ((ja(e), 13 === e.tag)) {
if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null))
throw Error(x(317));
e: {
for (e = e.nextSibling, t = 0; e; ) {
if (8 === e.nodeType) {
var n = e.data;
if ("/$" === n) {
if (0 === t) {
Ma = Br(e.nextSibling);
break e;
}
t--;
} else ("$" !== n && "$!" !== n && "$?" !== n) || t++;
}
e = e.nextSibling;
}
Ma = null;
}
} else Ma = Ra ? Br(e.stateNode.nextSibling) : null;
return !0;
}
function Va() {
(Ma = Ra = null), (Ia = !1);
}
var Ba = [];
function $a() {
for (var e = 0; e < Ba.length; e++)
Ba[e]._workInProgressVersionPrimary = null;
Ba.length = 0;
}
var Wa = w.ReactCurrentDispatcher,
Ha = w.ReactCurrentBatchConfig,
Qa = 0,
qa = null,
Ka = null,
Ya = null,
Xa = !1,
Ga = !1;
function Ja() {
throw Error(x(321));
}
function Za(e, t) {
if (null === t) return !1;
for (var n = 0; n < t.length && n < e.length; n++)
if (!ar(e[n], t[n])) return !1;
return !0;
}
function eo(e, t, n, r, l, a) {
if (
((Qa = a),
((qa = t).memoizedState = null),
(t.updateQueue = null),
(t.lanes = 0),
(Wa.current = null === e || null === e.memoizedState ? Co : Po),
(e = n(r, l)),
Ga)
) {
a = 0;
do {
if (((Ga = !1), !(a < 25))) throw Error(x(301));
(a += 1),
(Ya = Ka = null),
(t.updateQueue = null),
(Wa.current = No),
(e = n(r, l));
} while (Ga);
}
if (
((Wa.current = xo),
(t = null !== Ka && null !== Ka.next),
(Qa = 0),
(Ya = Ka = qa = null),
(Xa = !1),
t)
)
throw Error(x(300));
return e;
}
function to() {
var e = {
memoizedState: null,
baseState: null,
baseQueue: null,
queue: null,
next: null,
};
return (
null === Ya ? (qa.memoizedState = Ya = e) : (Ya = Ya.next = e),
Ya
);
}
function no() {
if (null === Ka) {
var e = qa.alternate;
e = null !== e ? e.memoizedState : null;
} else e = Ka.next;
var t = null === Ya ? qa.memoizedState : Ya.next;
if (null !== t) (Ya = t), (Ka = e);
else {
if (null === e) throw Error(x(310));
(e = {
memoizedState: (Ka = e).memoizedState,
baseState: Ka.baseState,
baseQueue: Ka.baseQueue,
queue: Ka.queue,
next: null,
}),
null === Ya
? (qa.memoizedState = Ya = e)
: (Ya = Ya.next = e);
}
return Ya;
}
function ro(e, t) {
return "function" == typeof t ? t(e) : t;
}
function lo(e) {
var t = no(),
n = t.queue;
if (null === n) throw Error(x(311));
n.lastRenderedReducer = e;
var r = Ka,
l = r.baseQueue,
a = n.pending;
if (null !== a) {
if (null !== l) {
var o = l.next;
(l.next = a.next), (a.next = o);
}
(r.baseQueue = l = a), (n.pending = null);
}
if (null !== l) {
(l = l.next), (r = r.baseState);
var u = (o = a = null),
i = l;
do {
var s = i.lane;
if ((Qa & s) === s)
null !== u &&
(u = u.next =
{
lane: 0,
action: i.action,
eagerReducer: i.eagerReducer,
eagerState: i.eagerState,
next: null,
}),
(r =
i.eagerReducer === e ? i.eagerState : e(r, i.action));
else {
var c = {
lane: s,
action: i.action,
eagerReducer: i.eagerReducer,
eagerState: i.eagerState,
next: null,
};
null === u ? ((o = u = c), (a = r)) : (u = u.next = c),
(qa.lanes |= s),
(Tu |= s);
}
i = i.next;
} while (null !== i && i !== l);
null === u ? (a = r) : (u.next = o),
ar(r, t.memoizedState) || (Lo = !0),
(t.memoizedState = r),
(t.baseState = a),
(t.baseQueue = u),
(n.lastRenderedState = r);
}
return [t.memoizedState, n.dispatch];
}
function ao(e) {
var t = no(),
n = t.queue;
if (null === n) throw Error(x(311));
n.lastRenderedReducer = e;
var r = n.dispatch,
l = n.pending,
a = t.memoizedState;
if (null !== l) {
n.pending = null;
for (
var o = (l = l.next);
(a = e(a, o.action)), (o = o.next) !== l;
);
ar(a, t.memoizedState) || (Lo = !0),
(t.memoizedState = a),
null === t.baseQueue && (t.baseState = a),
(n.lastRenderedState = a);
}
return [a, r];
}
function oo(e, t, n) {
var r = t._getVersion;
r = r(t._source);
var l = t._workInProgressVersionPrimary;
if (
(null !== l
? (e = l === r)
: ((e = e.mutableReadLanes),
(e = (Qa & e) === e) &&
((t._workInProgressVersionPrimary = r), Ba.push(t))),
e)
)
return n(t._source);
throw (Ba.push(t), Error(x(350)));
}
function uo(e, a, o, t) {
var u = ku;
if (null === u) throw Error(x(349));
var i = a._getVersion,
s = i(a._source),
n = Wa.current,
r = n.useState(function () {
return oo(u, a, o);
}),
c = r[1],
f = r[0];
r = Ya;
var l = e.memoizedState,
d = l.refs,
p = d.getSnapshot,
h = l.source;
l = l.subscribe;
var m = qa;
return (
(e.memoizedState = { refs: d, source: a, subscribe: t }),
n.useEffect(
function () {
(d.getSnapshot = o), (d.setSnapshot = c);
var e = i(a._source);
if (!ar(s, e)) {
(e = o(a._source)),
ar(f, e) ||
(c(e),
(e = ti(m)),
(u.mutableReadLanes |= e & u.pendingLanes)),
(e = u.mutableReadLanes),
(u.entangledLanes |= e);
for (var t = u.entanglements, n = e; 0 < n; ) {
var r = 31 - Bt(n),
l = 1 << r;
(t[r] |= e), (n &= ~l);
}
}
},
[o, a, t]
),
n.useEffect(
function () {
return t(a._source, function () {
var e = d.getSnapshot,
t = d.setSnapshot;
try {
t(e(a._source));
var n = ti(m);
u.mutableReadLanes |= n & u.pendingLanes;
} catch (e) {
t(function () {
throw e;
});
}
});
},
[a, t]
),
(ar(p, o) && ar(h, a) && ar(l, t)) ||
(((e = {
pending: null,
dispatch: null,
lastRenderedReducer: ro,
lastRenderedState: f,
}).dispatch = c =
_o.bind(null, qa, e)),
(r.queue = e),
(r.baseQueue = null),
(f = oo(u, a, o)),
(r.memoizedState = r.baseState = f)),
f
);
}
function io(e, t, n) {
return uo(no(), e, t, n);
}
function so(e) {
var t = to();
return (
"function" == typeof e && (e = e()),
(t.memoizedState = t.baseState = e),
(e = (e = t.queue =
{
pending: null,
dispatch: null,
lastRenderedReducer: ro,
lastRenderedState: e,
}).dispatch =
_o.bind(null, qa, e)),
[t.memoizedState, e]
);
}
function co(e, t, n, r) {
return (
(e = { tag: e, create: t, destroy: n, deps: r, next: null }),
null === (t = qa.updateQueue)
? ((t = { lastEffect: null }),
((qa.updateQueue = t).lastEffect = e.next = e))
: null === (n = t.lastEffect)
? (t.lastEffect = e.next = e)
: ((r = n.next), ((n.next = e).next = r), (t.lastEffect = e)),
e
);
}
function fo(e) {
return (e = { current: e }), (to().memoizedState = e);
}
function po() {
return no().memoizedState;
}
function ho(e, t, n, r) {
var l = to();
(qa.flags |= e),
(l.memoizedState = co(
1 | t,
n,
void 0,
void 0 === r ? null : r
));
}
function mo(e, t, n, r) {
var l = no();
r = void 0 === r ? null : r;
var a = void 0;
if (null !== Ka) {
var o = Ka.memoizedState;
if (((a = o.destroy), null !== r && Za(r, o.deps)))
return void co(t, n, a, r);
}
(qa.flags |= e), (l.memoizedState = co(1 | t, n, a, r));
}
function vo(e, t) {
return ho(516, 4, e, t);
}
function yo(e, t) {
return mo(516, 4, e, t);
}
function go(e, t) {
return mo(4, 2, e, t);
}
function bo(e, t) {
return "function" == typeof t
? ((e = e()),
t(e),
function () {
t(null);
})
: null != t
? ((e = e()),
(t.current = e),
function () {
t.current = null;
})
: void 0;
}
function wo(e, t, n) {
return (
(n = null != n ? n.concat([e]) : null),
mo(4, 2, bo.bind(null, t, e), n)
);
}
function ko() {}
function So(e, t) {
var n = no();
t = void 0 === t ? null : t;
var r = n.memoizedState;
return null !== r && null !== t && Za(t, r[1])
? r[0]
: ((n.memoizedState = [e, t]), e);
}
function Eo(e, t) {
var n = no();
t = void 0 === t ? null : t;
var r = n.memoizedState;
return null !== r && null !== t && Za(t, r[1])
? r[0]
: ((e = e()), (n.memoizedState = [e, t]), e);
}
function _o(e, t, n) {
var r = ei(),
l = ti(e),
a = {
lane: l,
action: n,
eagerReducer: null,
eagerState: null,
next: null,
},
o = t.pending;
if (
(null === o ? (a.next = a) : ((a.next = o.next), (o.next = a)),
(t.pending = a),
(o = e.alternate),
e === qa || (null !== o && o === qa))
)
Ga = Xa = !0;
else {
if (
0 === e.lanes &&
(null === o || 0 === o.lanes) &&
null !== (o = t.lastRenderedReducer)
)
try {
var u = t.lastRenderedState,
i = o(u, n);
if (((a.eagerReducer = o), (a.eagerState = i), ar(i, u)))
return;
} catch (e) {}
ni(e, l, r);
}
}
var xo = {
readContext: ea,
useCallback: Ja,
useContext: Ja,
useEffect: Ja,
useImperativeHandle: Ja,
useLayoutEffect: Ja,
useMemo: Ja,
useReducer: Ja,
useRef: Ja,
useState: Ja,
useDebugValue: Ja,
useDeferredValue: Ja,
useTransition: Ja,
useMutableSource: Ja,
useOpaqueIdentifier: Ja,
unstable_isNewReconciler: !1,
},
Co = {
readContext: ea,
useCallback: function (e, t) {
return (to().memoizedState = [e, void 0 === t ? null : t]), e;
},
useContext: ea,
useEffect: vo,
useImperativeHandle: function (e, t, n) {
return (
(n = null != n ? n.concat([e]) : null),
ho(4, 2, bo.bind(null, t, e), n)
);
},
useLayoutEffect: function (e, t) {
return ho(4, 2, e, t);
},
useMemo: function (e, t) {
var n = to();
return (
(t = void 0 === t ? null : t),
(e = e()),
(n.memoizedState = [e, t]),
e
);
},
useReducer: function (e, t, n) {
var r = to();
return (
(t = void 0 !== n ? n(t) : t),
(r.memoizedState = r.baseState = t),
(e = (e = r.queue =
{
pending: null,
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: t,
}).dispatch =
_o.bind(null, qa, e)),
[r.memoizedState, e]
);
},
useRef: fo,
useState: so,
useDebugValue: ko,
useDeferredValue: function (t) {
var e = so(t),
n = e[0],
r = e[1];
return (
vo(
function () {
var e = Ha.transition;
Ha.transition = 1;
try {
r(t);
} finally {
Ha.transition = e;
}
},
[t]
),
n
);
},
useTransition: function () {
var e = so(!1),
t = e[0];
return (
fo(
(e = function (t, n) {
var e = Ul();
Al(e < 98 ? 98 : e, function () {
t(!0);
}),
Al(97 < e ? 97 : e, function () {
var e = Ha.transition;
Ha.transition = 1;
try {
t(!1), n();
} finally {
Ha.transition = e;
}
});
}.bind(null, e[1]))
),
[e, t]
);
},
useMutableSource: function (e, t, n) {
var r = to();
return (
(r.memoizedState = {
refs: { getSnapshot: t, setSnapshot: null },
source: e,
subscribe: n,
}),
uo(r, e, t, n)
);
},
useOpaqueIdentifier: function () {
if (Ia) {
var e = !1,
t = {
$$typeof: I,
toString: (r = function () {
throw (
(e || ((e = !0), n("r:" + (Wr++).toString(36))),
Error(x(355)))
);
}),
valueOf: r,
},
n = so(t)[1];
return (
0 == (2 & qa.mode) &&
((qa.flags |= 516),
co(
5,
function () {
n("r:" + (Wr++).toString(36));
},
void 0,
null
)),
t
);
}
var r;
return so((t = "r:" + (Wr++).toString(36))), t;
},
unstable_isNewReconciler: !1,
},
Po = {
readContext: ea,
useCallback: So,
useContext: ea,
useEffect: yo,
useImperativeHandle: wo,
useLayoutEffect: go,
useMemo: Eo,
useReducer: lo,
useRef: po,
useState: function () {
return lo(ro);
},
useDebugValue: ko,
useDeferredValue: function (t) {
var e = lo(ro),
n = e[0],
r = e[1];
return (
yo(
function () {
var e = Ha.transition;
Ha.transition = 1;
try {
r(t);
} finally {
Ha.transition = e;
}
},
[t]
),
n
);
},
useTransition: function () {
var e = lo(ro)[0];
return [po().current, e];
},
useMutableSource: io,
useOpaqueIdentifier: function () {
return lo(ro)[0];
},
unstable_isNewReconciler: !1,
},
No = {
readContext: ea,
useCallback: So,
useContext: ea,
useEffect: yo,
useImperativeHandle: wo,
useLayoutEffect: go,
useMemo: Eo,
useReducer: ao,
useRef: po,
useState: function () {
return ao(ro);
},
useDebugValue: ko,
useDeferredValue: function (t) {
var e = ao(ro),
n = e[0],
r = e[1];
return (
yo(
function () {
var e = Ha.transition;
Ha.transition = 1;
try {
r(t);
} finally {
Ha.transition = e;
}
},
[t]
),
n
);
},
useTransition: function () {
var e = ao(ro)[0];
return [po().current, e];
},
useMutableSource: io,
useOpaqueIdentifier: function () {
return ao(ro)[0];
},
unstable_isNewReconciler: !1,
},
To = w.ReactCurrentOwner,
Lo = !1;
function zo(e, t, n, r) {
t.child = null === e ? ka(t, null, n, r) : wa(t, e.child, n, r);
}
function Oo(e, t, n, r, l) {
n = n.render;
var a = t.ref;
return (
Zl(t, l),
(r = eo(e, t, n, r, a, l)),
null === e || Lo
? ((t.flags |= 1), zo(e, t, r, l), t.child)
: ((t.updateQueue = e.updateQueue),
(t.flags &= -517),
(e.lanes &= ~l),
Xo(e, t, l))
);
}
function Ro(e, t, n, r, l, a) {
if (null !== e)
return (
(o = e.child),
0 == (l & a) &&
((l = o.memoizedProps),
(n = null !== (n = n.compare) ? n : ur)(l, r) &&
e.ref === t.ref)
? Xo(e, t, a)
: ((t.flags |= 1),
((e = Li(o, r)).ref = t.ref),
((e.return = t).child = e))
);
var o = n.type;
return "function" != typeof o ||
Ti(o) ||
void 0 !== o.defaultProps ||
null !== n.compare ||
void 0 !== n.defaultProps
? (((e = zi(n.type, null, r, t, t.mode, a)).ref = t.ref),
((e.return = t).child = e))
: ((t.tag = 15), (t.type = o), Mo(e, t, o, r, l, a));
}
function Mo(e, t, n, r, l, a) {
if (null !== e && ur(e.memoizedProps, r) && e.ref === t.ref) {
if (((Lo = !1), 0 == (a & l)))
return (t.lanes = e.lanes), Xo(e, t, a);
0 != (16384 & e.flags) && (Lo = !0);
}
return Do(e, t, n, r, a);
}
function Io(e, t, n) {
var r = t.pendingProps,
l = r.children,
a = null !== e ? e.memoizedState : null;
if (
"hidden" === r.mode ||
"unstable-defer-without-hiding" === r.mode
)
if (0 == (4 & t.mode))
(t.memoizedState = { baseLanes: 0 }), si(t, n);
else {
if (0 == (1073741824 & n))
return (
(e = null !== a ? a.baseLanes | n : n),
(t.lanes = t.childLanes = 1073741824),
(t.memoizedState = { baseLanes: e }),
si(t, e),
null
);
(t.memoizedState = { baseLanes: 0 }),
si(t, null !== a ? a.baseLanes : n);
}
else
null !== a
? ((r = a.baseLanes | n), (t.memoizedState = null))
: (r = n),
si(t, r);
return zo(e, t, l, n), t.child;
}
function Fo(e, t) {
var n = t.ref;
((null === e && null !== n) || (null !== e && e.ref !== n)) &&
(t.flags |= 128);
}
function Do(e, t, n, r, l) {
var a = fl(n) ? sl : ul.current;
return (
(a = cl(t, a)),
Zl(t, l),
(n = eo(e, t, n, r, a, l)),
null === e || Lo
? ((t.flags |= 1), zo(e, t, n, l), t.child)
: ((t.updateQueue = e.updateQueue),
(t.flags &= -517),
(e.lanes &= ~l),
Xo(e, t, l))
);
}
function Uo(e, t, n, r, l) {
if (fl(n)) {
var a = !0;
ml(t);
} else a = !1;
if ((Zl(t, l), null === t.stateNode))
null !== e &&
((e.alternate = null), (t.alternate = null), (t.flags |= 2)),
pa(t, n, r),
ma(t, n, r, l),
(r = !0);
else if (null === e) {
var o = t.stateNode,
u = t.memoizedProps;
o.props = u;
var i = o.context,
s = n.contextType;
s =
"object" == typeof s && null !== s
? ea(s)
: cl(t, (s = fl(n) ? sl : ul.current));
var c = n.getDerivedStateFromProps,
f =
"function" == typeof c ||
"function" == typeof o.getSnapshotBeforeUpdate;
f ||
("function" != typeof o.UNSAFE_componentWillReceiveProps &&
"function" != typeof o.componentWillReceiveProps) ||
((u !== r || i !== s) && ha(t, o, r, s)),
(ta = !1);
var d = t.memoizedState;
(o.state = d),
ua(t, r, o, l),
(i = t.memoizedState),
(r =
u !== r || d !== i || il.current || ta
? ("function" == typeof c &&
(ca(t, n, c, r), (i = t.memoizedState)),
(u = ta || da(t, n, u, r, d, i, s))
? (f ||
("function" !=
typeof o.UNSAFE_componentWillMount &&
"function" != typeof o.componentWillMount) ||
("function" == typeof o.componentWillMount &&
o.componentWillMount(),
"function" ==
typeof o.UNSAFE_componentWillMount &&
o.UNSAFE_componentWillMount()),
"function" == typeof o.componentDidMount &&
(t.flags |= 4))
: ("function" == typeof o.componentDidMount &&
(t.flags |= 4),
(t.memoizedProps = r),
(t.memoizedState = i)),
(o.props = r),
(o.state = i),
(o.context = s),
u)
: ("function" == typeof o.componentDidMount &&
(t.flags |= 4),
!1));
} else {
(o = t.stateNode),
ra(e, t),
(u = t.memoizedProps),
(s = t.type === t.elementType ? u : Hl(t.type, u)),
(o.props = s),
(f = t.pendingProps),
(d = o.context),
(i =
"object" == typeof (i = n.contextType) && null !== i
? ea(i)
: cl(t, (i = fl(n) ? sl : ul.current)));
var p = n.getDerivedStateFromProps;
(c =
"function" == typeof p ||
"function" == typeof o.getSnapshotBeforeUpdate) ||
("function" != typeof o.UNSAFE_componentWillReceiveProps &&
"function" != typeof o.componentWillReceiveProps) ||
((u !== f || d !== i) && ha(t, o, r, i)),
(ta = !1),
(d = t.memoizedState),
(o.state = d),
ua(t, r, o, l);
var h = t.memoizedState;
r =
u !== f || d !== h || il.current || ta
? ("function" == typeof p &&
(ca(t, n, p, r), (h = t.memoizedState)),
(s = ta || da(t, n, s, r, d, h, i))
? (c ||
("function" !=
typeof o.UNSAFE_componentWillUpdate &&
"function" != typeof o.componentWillUpdate) ||
("function" == typeof o.componentWillUpdate &&
o.componentWillUpdate(r, h, i),
"function" == typeof o.UNSAFE_componentWillUpdate &&
o.UNSAFE_componentWillUpdate(r, h, i)),
"function" == typeof o.componentDidUpdate &&
(t.flags |= 4),
"function" == typeof o.getSnapshotBeforeUpdate &&
(t.flags |= 256))
: ("function" != typeof o.componentDidUpdate ||
(u === e.memoizedProps && d === e.memoizedState) ||
(t.flags |= 4),
"function" != typeof o.getSnapshotBeforeUpdate ||
(u === e.memoizedProps && d === e.memoizedState) ||
(t.flags |= 256),
(t.memoizedProps = r),
(t.memoizedState = h)),
(o.props = r),
(o.state = h),
(o.context = i),
s)
: ("function" != typeof o.componentDidUpdate ||
(u === e.memoizedProps && d === e.memoizedState) ||
(t.flags |= 4),
"function" != typeof o.getSnapshotBeforeUpdate ||
(u === e.memoizedProps && d === e.memoizedState) ||
(t.flags |= 256),
!1);
}
return jo(e, t, n, r, a, l);
}
function jo(e, t, n, r, l, a) {
Fo(e, t);
var o = 0 != (64 & t.flags);
if (!r && !o) return l && vl(t, n, !1), Xo(e, t, a);
(r = t.stateNode), (To.current = t);
var u =
o && "function" != typeof n.getDerivedStateFromError
? null
: r.render();
return (
(t.flags |= 1),
null !== e && o
? ((t.child = wa(t, e.child, null, a)),
(t.child = wa(t, null, u, a)))
: zo(e, t, u, a),
(t.memoizedState = r.state),
l && vl(t, n, !0),
t.child
);
}
function Ao(e) {
var t = e.stateNode;
t.pendingContext
? pl(0, t.pendingContext, t.pendingContext !== t.context)
: t.context && pl(0, t.context, !1),
Pa(e, t.containerInfo);
}
var Vo,
Bo,
$o,
Wo = { dehydrated: null, retryLane: 0 };
function Ho(e, t, n) {
var r,
l,
a,
o,
u,
i,
s = t.pendingProps,
c = za.current,
f = !1;
return (
(r = 0 != (64 & t.flags)) ||
(r =
(null === e || null !== e.memoizedState) && 0 != (2 & c)),
r
? ((f = !0), (t.flags &= -65))
: (null !== e && null === e.memoizedState) ||
void 0 === s.fallback ||
!0 === s.unstable_avoidThisFallback ||
(c |= 1),
al(za, 1 & c),
null === e
? (void 0 !== s.fallback && Ua(t),
(e = s.children),
(c = s.fallback),
f
? ((e = Qo(t, e, c, n)),
(t.child.memoizedState = { baseLanes: n }),
(t.memoizedState = Wo),
e)
: "number" == typeof s.unstable_expectedLoadTime
? ((e = Qo(t, e, c, n)),
(t.child.memoizedState = { baseLanes: n }),
(t.memoizedState = Wo),
(t.lanes = 33554432),
e)
: (((n = Ri(
{ mode: "visible", children: e },
t.mode,
n,
null
)).return = t).child = n))
: (e.memoizedState,
f
? ((s = (function (e, t, n, r, l) {
var a = t.mode,
o = e.child;
e = o.sibling;
var u = { mode: "hidden", children: n };
return (
0 == (2 & a) && t.child !== o
? (((n = t.child).childLanes = 0),
(n.pendingProps = u),
null !== (o = n.lastEffect)
? ((t.firstEffect = n.firstEffect),
((t.lastEffect = o).nextEffect = null))
: (t.firstEffect = t.lastEffect = null))
: (n = Li(o, u)),
null !== e
? (r = Li(e, r))
: ((r = Oi(r, a, l, null)).flags |= 2),
(r.return = t),
(n.return = t),
(n.sibling = r),
(t.child = n),
r
);
})(e, t, s.children, s.fallback, n)),
(f = t.child),
(c = e.child.memoizedState),
(f.memoizedState =
null === c
? { baseLanes: n }
: { baseLanes: c.baseLanes | n }),
(f.childLanes = e.childLanes & ~n),
(t.memoizedState = Wo),
s)
: ((l = e),
(a = t),
(o = s.children),
(u = n),
(i = l.child),
(l = i.sibling),
(o = Li(i, { mode: "visible", children: o })),
0 == (2 & a.mode) && (o.lanes = u),
(o.return = a),
(o.sibling = null) !== l &&
((l.nextEffect = null),
(l.flags = 8),
(a.firstEffect = a.lastEffect = l)),
(n = a.child = o),
(t.memoizedState = null),
n))
);
}
function Qo(e, t, n, r) {
var l = e.mode,
a = e.child;
return (
(t = { mode: "hidden", children: t }),
0 == (2 & l) && null !== a
? ((a.childLanes = 0), (a.pendingProps = t))
: (a = Ri(t, l, 0, null)),
(n = Oi(n, l, r, null)),
(a.return = e),
(n.return = e),
(a.sibling = n),
(e.child = a),
n
);
}
function qo(e, t) {
e.lanes |= t;
var n = e.alternate;
null !== n && (n.lanes |= t), Jl(e.return, t);
}
function Ko(e, t, n, r, l, a) {
var o = e.memoizedState;
null === o
? (e.memoizedState = {
isBackwards: t,
rendering: null,
renderingStartTime: 0,
last: r,
tail: n,
tailMode: l,
lastEffect: a,
})
: ((o.isBackwards = t),
(o.rendering = null),
(o.renderingStartTime = 0),
(o.last = r),
(o.tail = n),
(o.tailMode = l),
(o.lastEffect = a));
}
function Yo(e, t, n) {
var r = t.pendingProps,
l = r.revealOrder,
a = r.tail;
if ((zo(e, t, r.children, n), 0 != (2 & (r = za.current))))
(r = (1 & r) | 2), (t.flags |= 64);
else {
if (null !== e && 0 != (64 & e.flags))
e: for (e = t.child; null !== e; ) {
if (13 === e.tag) null !== e.memoizedState && qo(e, n);
else if (19 === e.tag) qo(e, n);
else if (null !== e.child) {
e = (e.child.return = e).child;
continue;
}
if (e === t) break e;
for (; null === e.sibling; ) {
if (null === e.return || e.return === t) break e;
e = e.return;
}
(e.sibling.return = e.return), (e = e.sibling);
}
r &= 1;
}
if ((al(za, r), 0 == (2 & t.mode))) t.memoizedState = null;
else
switch (l) {
case "forwards":
for (n = t.child, l = null; null !== n; )
null !== (e = n.alternate) && null === Oa(e) && (l = n),
(n = n.sibling);
null === (n = l)
? ((l = t.child), (t.child = null))
: ((l = n.sibling), (n.sibling = null)),
Ko(t, !1, l, n, a, t.lastEffect);
break;
case "backwards":
for (n = null, l = t.child, t.child = null; null !== l; ) {
if (null !== (e = l.alternate) && null === Oa(e)) {
t.child = l;
break;
}
(e = l.sibling), (l.sibling = n), (n = l), (l = e);
}
Ko(t, !0, n, null, a, t.lastEffect);
break;
case "together":
Ko(t, !1, null, null, void 0, t.lastEffect);
break;
default:
t.memoizedState = null;
}
return t.child;
}
function Xo(e, t, n) {
if (
(null !== e && (t.dependencies = e.dependencies),
(Tu |= t.lanes),
0 == (n & t.childLanes))
)
return null;
if (null !== e && t.child !== e.child) throw Error(x(153));
if (null !== t.child) {
for (
n = Li((e = t.child), e.pendingProps),
(t.child = n).return = t;
null !== e.sibling;
)
(e = e.sibling),
((n = n.sibling = Li(e, e.pendingProps)).return = t);
n.sibling = null;
}
return t.child;
}
function Go(e, t) {
if (!Ia)
switch (e.tailMode) {
case "hidden":
t = e.tail;
for (var n = null; null !== t; )
null !== t.alternate && (n = t), (t = t.sibling);
null === n ? (e.tail = null) : (n.sibling = null);
break;
case "collapsed":
n = e.tail;
for (var r = null; null !== n; )
null !== n.alternate && (r = n), (n = n.sibling);
null === r
? t || null === e.tail
? (e.tail = null)
: (e.tail.sibling = null)
: (r.sibling = null);
}
}
function Jo(e, t, n) {
var r = t.pendingProps;
switch (t.tag) {
case 2:
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return null;
case 1:
return fl(t.type) && dl(), null;
case 3:
return (
Na(),
ll(il),
ll(ul),
$a(),
(r = t.stateNode).pendingContext &&
((r.context = r.pendingContext),
(r.pendingContext = null)),
(null !== e && null !== e.child) ||
(Aa(t) ? (t.flags |= 4) : r.hydrate || (t.flags |= 256)),
null
);
case 5:
La(t);
var l = Ca(xa.current);
if (((n = t.type), null !== e && null != t.stateNode))
Bo(e, t, n, r), e.ref !== t.ref && (t.flags |= 128);
else {
if (!r) {
if (null === t.stateNode) throw Error(x(166));
return null;
}
if (((e = Ca(Ea.current)), Aa(t))) {
(r = t.stateNode), (n = t.type);
var a = t.memoizedProps;
switch (((r[Qr] = t), (r[qr] = a), n)) {
case "dialog":
_r("cancel", r), _r("close", r);
break;
case "iframe":
case "object":
case "embed":
_r("load", r);
break;
case "video":
case "audio":
for (e = 0; e < wr.length; e++) _r(wr[e], r);
break;
case "source":
_r("error", r);
break;
case "img":
case "image":
case "link":
_r("error", r), _r("load", r);
break;
case "details":
_r("toggle", r);
break;
case "input":
ee(r, a), _r("invalid", r);
break;
case "select":
(r._wrapperState = { wasMultiple: !!a.multiple }),
_r("invalid", r);
break;
case "textarea":
ie(r, a), _r("invalid", r);
}
for (var o in (Ee(n, a), (e = null), a))
a.hasOwnProperty(o) &&
((l = a[o]),
"children" === o
? "string" == typeof l
? r.textContent !== l && (e = ["children", l])
: "number" == typeof l &&
r.textContent !== "" + l &&
(e = ["children", "" + l])
: c.hasOwnProperty(o) &&
null != l &&
"onScroll" === o &&
_r("scroll", r));
switch (n) {
case "input":
X(r), re(r, a, !0);
break;
case "textarea":
X(r), ce(r);
break;
case "select":
case "option":
break;
default:
"function" == typeof a.onClick && (r.onclick = Mr);
}
(r = e), null !== (t.updateQueue = r) && (t.flags |= 4);
} else {
switch (
((o = 9 === l.nodeType ? l : l.ownerDocument),
e === fe && (e = de(n)),
e === fe
? "script" === n
? (((e = o.createElement("div")).innerHTML =
"<script><\/script>"),
(e = e.removeChild(e.firstChild)))
: "string" == typeof r.is
? (e = o.createElement(n, { is: r.is }))
: ((e = o.createElement(n)),
"select" === n &&
((o = e),
r.multiple
? (o.multiple = !0)
: r.size && (o.size = r.size)))
: (e = o.createElementNS(e, n)),
(e[Qr] = t),
(e[qr] = r),
Vo(e, t),
(t.stateNode = e),
(o = _e(n, r)),
n)
) {
case "dialog":
_r("cancel", e), _r("close", e), (l = r);
break;
case "iframe":
case "object":
case "embed":
_r("load", e), (l = r);
break;
case "video":
case "audio":
for (l = 0; l < wr.length; l++) _r(wr[l], e);
l = r;
break;
case "source":
_r("error", e), (l = r);
break;
case "img":
case "image":
case "link":
_r("error", e), _r("load", e), (l = r);
break;
case "details":
_r("toggle", e), (l = r);
break;
case "input":
ee(e, r), (l = Z(e, r)), _r("invalid", e);
break;
case "option":
l = ae(e, r);
break;
case "select":
(e._wrapperState = { wasMultiple: !!r.multiple }),
(l = m({}, r, { value: void 0 })),
_r("invalid", e);
break;
case "textarea":
ie(e, r), (l = ue(e, r)), _r("invalid", e);
break;
default:
l = r;
}
Ee(n, l);
var u = l;
for (a in u)
if (u.hasOwnProperty(a)) {
var i = u[a];
"style" === a
? ke(e, i)
: "dangerouslySetInnerHTML" === a
? null != (i = i ? i.__html : void 0) && ve(e, i)
: "children" === a
? "string" == typeof i
? ("textarea" !== n || "" !== i) && ye(e, i)
: "number" == typeof i && ye(e, "" + i)
: "suppressContentEditableWarning" !== a &&
"suppressHydrationWarning" !== a &&
"autoFocus" !== a &&
(c.hasOwnProperty(a)
? null != i &&
"onScroll" === a &&
_r("scroll", e)
: null != i && b(e, a, i, o));
}
switch (n) {
case "input":
X(e), re(e, r, !1);
break;
case "textarea":
X(e), ce(e);
break;
case "option":
null != r.value &&
e.setAttribute("value", "" + K(r.value));
break;
case "select":
(e.multiple = !!r.multiple),
null != (a = r.value)
? oe(e, !!r.multiple, a, !1)
: null != r.defaultValue &&
oe(e, !!r.multiple, r.defaultValue, !0);
break;
default:
"function" == typeof l.onClick && (e.onclick = Mr);
}
Dr(n, r) && (t.flags |= 4);
}
null !== t.ref && (t.flags |= 128);
}
return null;
case 6:
if (e && null != t.stateNode) $o(0, t, e.memoizedProps, r);
else {
if ("string" != typeof r && null === t.stateNode)
throw Error(x(166));
(n = Ca(xa.current)),
Ca(Ea.current),
Aa(t)
? ((r = t.stateNode),
(n = t.memoizedProps),
(r[Qr] = t),
r.nodeValue !== n && (t.flags |= 4))
: (((r = (
9 === n.nodeType ? n : n.ownerDocument
).createTextNode(r))[Qr] = t).stateNode = r);
}
return null;
case 13:
return (
ll(za),
(r = t.memoizedState),
0 != (64 & t.flags)
? ((t.lanes = n), t)
: ((r = null !== r),
(n = !1),
null === e
? void 0 !== t.memoizedProps.fallback && Aa(t)
: (n = null !== e.memoizedState),
r &&
!n &&
0 != (2 & t.mode) &&
((null === e &&
!0 !==
t.memoizedProps.unstable_avoidThisFallback) ||
0 != (1 & za.current)
? 0 === Cu && (Cu = 3)
: ((0 !== Cu && 3 !== Cu) || (Cu = 4),
null === ku ||
(0 == (134217727 & Tu) &&
0 == (134217727 & Lu)) ||
ai(ku, Eu))),
(r || n) && (t.flags |= 4),
null)
);
case 4:
return (
Na(), null === e && Cr(t.stateNode.containerInfo), null
);
case 10:
return Gl(t), null;
case 17:
return fl(t.type) && dl(), null;
case 19:
if ((ll(za), null === (r = t.memoizedState))) return null;
if (((a = 0 != (64 & t.flags)), null === (o = r.rendering)))
if (a) Go(r, !1);
else {
if (0 !== Cu || (null !== e && 0 != (64 & e.flags)))
for (e = t.child; null !== e; ) {
if (null !== (o = Oa(e))) {
for (
t.flags |= 64,
Go(r, !1),
null !== (a = o.updateQueue) &&
((t.updateQueue = a), (t.flags |= 4)),
null === r.lastEffect && (t.firstEffect = null),
t.lastEffect = r.lastEffect,
r = n,
n = t.child;
null !== n;
)
(e = r),
((a = n).flags &= 2),
(a.nextEffect = null),
(a.firstEffect = null),
(a.lastEffect = null) === (o = a.alternate)
? ((a.childLanes = 0),
(a.lanes = e),
(a.child = null),
(a.memoizedProps = null),
(a.memoizedState = null),
(a.updateQueue = null),
(a.dependencies = null),
(a.stateNode = null))
: ((a.childLanes = o.childLanes),
(a.lanes = o.lanes),
(a.child = o.child),
(a.memoizedProps = o.memoizedProps),
(a.memoizedState = o.memoizedState),
(a.updateQueue = o.updateQueue),
(a.type = o.type),
(e = o.dependencies),
(a.dependencies =
null === e
? null
: {
lanes: e.lanes,
firstContext: e.firstContext,
})),
(n = n.sibling);
return al(za, (1 & za.current) | 2), t.child;
}
e = e.sibling;
}
null !== r.tail &&
Dl() > Mu &&
((t.flags |= 64),
Go(r, !(a = !0)),
(t.lanes = 33554432));
}
else {
if (!a)
if (null !== (e = Oa(o))) {
if (
((t.flags |= 64),
(a = !0),
null !== (n = e.updateQueue) &&
((t.updateQueue = n), (t.flags |= 4)),
Go(r, !0),
null === r.tail &&
"hidden" === r.tailMode &&
!o.alternate &&
!Ia)
)
return (
null !== (t = t.lastEffect = r.lastEffect) &&
(t.nextEffect = null),
null
);
} else
2 * Dl() - r.renderingStartTime > Mu &&
1073741824 !== n &&
((t.flags |= 64),
Go(r, !(a = !0)),
(t.lanes = 33554432));
r.isBackwards
? ((o.sibling = t.child), (t.child = o))
: (null !== (n = r.last)
? (n.sibling = o)
: (t.child = o),
(r.last = o));
}
return null !== r.tail
? ((n = r.tail),
(r.rendering = n),
(r.tail = n.sibling),
(r.lastEffect = t.lastEffect),
(r.renderingStartTime = Dl()),
(n.sibling = null),
(t = za.current),
al(za, a ? (1 & t) | 2 : 1 & t),
n)
: null;
case 23:
case 24:
return (
ci(),
null !== e &&
(null !== e.memoizedState) !=
(null !== t.memoizedState) &&
"unstable-defer-without-hiding" !== r.mode &&
(t.flags |= 4),
null
);
}
throw Error(x(156, t.tag));
}
function Zo(e) {
switch (e.tag) {
case 1:
fl(e.type) && dl();
var t = e.flags;
return 4096 & t ? ((e.flags = (-4097 & t) | 64), e) : null;
case 3:
if ((Na(), ll(il), ll(ul), $a(), 0 != (64 & (t = e.flags))))
throw Error(x(285));
return (e.flags = (-4097 & t) | 64), e;
case 5:
return La(e), null;
case 13:
return (
ll(za),
4096 & (t = e.flags)
? ((e.flags = (-4097 & t) | 64), e)
: null
);
case 19:
return ll(za), null;
case 4:
return Na(), null;
case 10:
return Gl(e), null;
case 23:
case 24:
return ci(), null;
default:
return null;
}
}
function eu(e, t) {
try {
for (var n = "", r = t; (n += Q(r)), (r = r.return); );
var l = n;
} catch (e) {
l = "\nError generating stack: " + e.message + "\n" + e.stack;
}
return { value: e, source: t, stack: l };
}
function tu(e, t) {
try {
console.error(t.value);
} catch (e) {
setTimeout(function () {
throw e;
});
}
}
(Vo = function (e, t) {
for (var n = t.child; null !== n; ) {
if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode);
else if (4 !== n.tag && null !== n.child) {
n = (n.child.return = n).child;
continue;
}
if (n === t) break;
for (; null === n.sibling; ) {
if (null === n.return || n.return === t) return;
n = n.return;
}
(n.sibling.return = n.return), (n = n.sibling);
}
}),
(Bo = function (e, t, n, r) {
var l = e.memoizedProps;
if (l !== r) {
(e = t.stateNode), Ca(Ea.current);
var a,
o = null;
switch (n) {
case "input":
(l = Z(e, l)), (r = Z(e, r)), (o = []);
break;
case "option":
(l = ae(e, l)), (r = ae(e, r)), (o = []);
break;
case "select":
(l = m({}, l, { value: void 0 })),
(r = m({}, r, { value: void 0 })),
(o = []);
break;
case "textarea":
(l = ue(e, l)), (r = ue(e, r)), (o = []);
break;
default:
"function" != typeof l.onClick &&
"function" == typeof r.onClick &&
(e.onclick = Mr);
}
for (s in (Ee(n, r), (n = null), l))
if (
!r.hasOwnProperty(s) &&
l.hasOwnProperty(s) &&
null != l[s]
)
if ("style" === s) {
var u = l[s];
for (a in u)
u.hasOwnProperty(a) && (n || (n = {}), (n[a] = ""));
} else
"dangerouslySetInnerHTML" !== s &&
"children" !== s &&
"suppressContentEditableWarning" !== s &&
"suppressHydrationWarning" !== s &&
"autoFocus" !== s &&
(c.hasOwnProperty(s)
? o || (o = [])
: (o = o || []).push(s, null));
for (s in r) {
var i = r[s];
if (
((u = null != l ? l[s] : void 0),
r.hasOwnProperty(s) &&
i !== u &&
(null != i || null != u))
)
if ("style" === s)
if (u) {
for (a in u)
!u.hasOwnProperty(a) ||
(i && i.hasOwnProperty(a)) ||
(n || (n = {}), (n[a] = ""));
for (a in i)
i.hasOwnProperty(a) &&
u[a] !== i[a] &&
(n || (n = {}), (n[a] = i[a]));
} else n || (o || (o = []), o.push(s, n)), (n = i);
else
"dangerouslySetInnerHTML" === s
? ((i = i ? i.__html : void 0),
(u = u ? u.__html : void 0),
null != i && u !== i && (o = o || []).push(s, i))
: "children" === s
? ("string" != typeof i && "number" != typeof i) ||
(o = o || []).push(s, "" + i)
: "suppressContentEditableWarning" !== s &&
"suppressHydrationWarning" !== s &&
(c.hasOwnProperty(s)
? (null != i &&
"onScroll" === s &&
_r("scroll", e),
o || u === i || (o = []))
: "object" == typeof i &&
null !== i &&
i.$$typeof === I
? i.toString()
: (o = o || []).push(s, i));
}
n && (o = o || []).push("style", n);
var s = o;
(t.updateQueue = s) && (t.flags |= 4);
}
}),
($o = function (e, t, n, r) {
n !== r && (t.flags |= 4);
});
var nu = "function" == typeof WeakMap ? WeakMap : Map;
function ru(e, t, n) {
((n = la(-1, n)).tag = 3), (n.payload = { element: null });
var r = t.value;
return (
(n.callback = function () {
Uu || ((Uu = !0), (ju = r)), tu(0, t);
}),
n
);
}
function lu(e, t, n) {
(n = la(-1, n)).tag = 3;
var r = e.type.getDerivedStateFromError;
if ("function" == typeof r) {
var l = t.value;
n.payload = function () {
return tu(0, t), r(l);
};
}
var a = e.stateNode;
return (
null !== a &&
"function" == typeof a.componentDidCatch &&
(n.callback = function () {
"function" != typeof r &&
(null === Au ? (Au = new Set([this])) : Au.add(this),
tu(0, t));
var e = t.stack;
this.componentDidCatch(t.value, {
componentStack: null !== e ? e : "",
});
}),
n
);
}
var au = "function" == typeof WeakSet ? WeakSet : Set;
function ou(t) {
var e = t.ref;
if (null !== e)
if ("function" == typeof e)
try {
e(null);
} catch (e) {
xi(t, e);
}
else e.current = null;
}
function uu(e, t) {
switch (t.tag) {
case 0:
case 11:
case 15:
case 22:
return;
case 1:
if (256 & t.flags && null !== e) {
var n = e.memoizedProps,
r = e.memoizedState;
(t = (e = t.stateNode).getSnapshotBeforeUpdate(
t.elementType === t.type ? n : Hl(t.type, n),
r
)),
(e.__reactInternalSnapshotBeforeUpdate = t);
}
return;
case 3:
return void (256 & t.flags && Vr(t.stateNode.containerInfo));
case 5:
case 6:
case 4:
case 17:
return;
}
throw Error(x(163));
}
function iu(e, t, n) {
switch (n.tag) {
case 0:
case 11:
case 15:
case 22:
if (
null !==
(t = null !== (t = n.updateQueue) ? t.lastEffect : null)
) {
e = t = t.next;
do {
if (3 == (3 & e.tag)) {
var r = e.create;
e.destroy = r();
}
e = e.next;
} while (e !== t);
}
if (
null !==
(t = null !== (t = n.updateQueue) ? t.lastEffect : null)
) {
e = t = t.next;
do {
var l = e;
(r = l.next),
0 != (4 & (l = l.tag)) &&
0 != (1 & l) &&
(Si(n, e),
(a = n),
(o = e),
Wu.push(o, a),
Vu ||
((Vu = !0),
Vl(97, function () {
return ki(), null;
}))),
(e = r);
} while (e !== t);
}
return;
case 1:
return (
(e = n.stateNode),
4 & n.flags &&
(null === t
? e.componentDidMount()
: ((r =
n.elementType === n.type
? t.memoizedProps
: Hl(n.type, t.memoizedProps)),
e.componentDidUpdate(
r,
t.memoizedState,
e.__reactInternalSnapshotBeforeUpdate
))),
void (null !== (t = n.updateQueue) && ia(n, t, e))
);
case 3:
if (null !== (t = n.updateQueue)) {
if ((e = null) !== n.child)
switch (n.child.tag) {
case 5:
e = n.child.stateNode;
break;
case 1:
e = n.child.stateNode;
}
ia(n, t, e);
}
return;
case 5:
return (
(e = n.stateNode),
void (
null === t &&
4 & n.flags &&
Dr(n.type, n.memoizedProps) &&
e.focus()
)
);
case 6:
case 4:
case 12:
return;
case 13:
return void (
null === n.memoizedState &&
null !== (n = n.alternate) &&
null !== (n = n.memoizedState) &&
null !== (n = n.dehydrated) &&
wt(n)
);
case 19:
case 17:
case 20:
case 21:
case 23:
case 24:
return;
}
var a, o;
throw Error(x(163));
}
function su(e, t) {
for (var n = e; ; ) {
if (5 === n.tag) {
var r = n.stateNode;
if (t)
"function" == typeof (r = r.style).setProperty
? r.setProperty("display", "none", "important")
: (r.display = "none");
else {
r = n.stateNode;
var l = n.memoizedProps.style;
(l =
null != l && l.hasOwnProperty("display")
? l.display
: null),
(r.style.display = we("display", l));
}
} else if (6 === n.tag)
n.stateNode.nodeValue = t ? "" : n.memoizedProps;
else if (
((23 !== n.tag && 24 !== n.tag) ||
null === n.memoizedState ||
n === e) &&
null !== n.child
) {
n = (n.child.return = n).child;
continue;
}
if (n === e) break;
for (; null === n.sibling; ) {
if (null === n.return || n.return === e) return;
n = n.return;
}
(n.sibling.return = n.return), (n = n.sibling);
}
}
function cu(e, t) {
if (gl && "function" == typeof gl.onCommitFiberUnmount)
try {
gl.onCommitFiberUnmount(yl, t);
} catch (e) {}
switch (t.tag) {
case 0:
case 11:
case 14:
case 15:
case 22:
if (
null !== (e = t.updateQueue) &&
null !== (e = e.lastEffect)
) {
var n = (e = e.next);
do {
var r = n,
l = r.destroy;
if (((r = r.tag), void 0 !== l))
if (0 != (4 & r)) Si(t, n);
else {
r = t;
try {
l();
} catch (e) {
xi(r, e);
}
}
n = n.next;
} while (n !== e);
}
break;
case 1:
if (
(ou(t),
"function" == typeof (e = t.stateNode).componentWillUnmount)
)
try {
(e.props = t.memoizedProps),
(e.state = t.memoizedState),
e.componentWillUnmount();
} catch (e) {
xi(t, e);
}
break;
case 5:
ou(t);
break;
case 4:
hu(e, t);
}
}
function fu(e) {
(e.alternate = null),
(e.child = null),
(e.dependencies = null),
(e.firstEffect = null),
(e.lastEffect = null),
(e.memoizedProps = null),
(e.memoizedState = null),
(e.pendingProps = null),
(e.return = null),
(e.updateQueue = null);
}
function du(e) {
return 5 === e.tag || 3 === e.tag || 4 === e.tag;
}
function pu(e) {
e: {
for (var t = e.return; null !== t; ) {
if (du(t)) break e;
t = t.return;
}
throw Error(x(160));
}
var n = t;
switch (((t = n.stateNode), n.tag)) {
case 5:
var r = !1;
break;
case 3:
case 4:
(t = t.containerInfo), (r = !0);
break;
default:
throw Error(x(161));
}
16 & n.flags && (ye(t, ""), (n.flags &= -17));
e: t: for (n = e; ; ) {
for (; null === n.sibling; ) {
if (null === n.return || du(n.return)) {
n = null;
break e;
}
n = n.return;
}
for (
n.sibling.return = n.return, n = n.sibling;
5 !== n.tag && 6 !== n.tag && 18 !== n.tag;
) {
if (2 & n.flags) continue t;
if (null === n.child || 4 === n.tag) continue t;
n = (n.child.return = n).child;
}
if (!(2 & n.flags)) {
n = n.stateNode;
break e;
}
}
r
? (function e(t, n, r) {
var l = t.tag,
a = 5 === l || 6 === l;
if (a)
(t = a ? t.stateNode : t.stateNode.instance),
n
? 8 === r.nodeType
? r.parentNode.insertBefore(t, n)
: r.insertBefore(t, n)
: (8 === r.nodeType
? (n = r.parentNode).insertBefore(t, r)
: (n = r).appendChild(t),
(null !== (r = r._reactRootContainer) &&
void 0 !== r) ||
null !== n.onclick ||
(n.onclick = Mr));
else if (4 !== l && null !== (t = t.child))
for (e(t, n, r), t = t.sibling; null !== t; )
e(t, n, r), (t = t.sibling);
})(e, n, t)
: (function e(t, n, r) {
var l = t.tag,
a = 5 === l || 6 === l;
if (a)
(t = a ? t.stateNode : t.stateNode.instance),
n ? r.insertBefore(t, n) : r.appendChild(t);
else if (4 !== l && null !== (t = t.child))
for (e(t, n, r), t = t.sibling; null !== t; )
e(t, n, r), (t = t.sibling);
})(e, n, t);
}
function hu(e, t) {
for (var n, r, l = t, a = !1; ; ) {
if (!a) {
a = l.return;
e: for (;;) {
if (null === a) throw Error(x(160));
switch (((n = a.stateNode), a.tag)) {
case 5:
r = !1;
break e;
case 3:
case 4:
(n = n.containerInfo), (r = !0);
break e;
}
a = a.return;
}
a = !0;
}
if (5 === l.tag || 6 === l.tag) {
e: for (var o = e, u = l, i = u; ; )
if ((cu(o, i), null !== i.child && 4 !== i.tag))
(i.child.return = i), (i = i.child);
else {
if (i === u) break e;
for (; null === i.sibling; ) {
if (null === i.return || i.return === u) break e;
i = i.return;
}
(i.sibling.return = i.return), (i = i.sibling);
}
r
? ((o = n),
(u = l.stateNode),
8 === o.nodeType
? o.parentNode.removeChild(u)
: o.removeChild(u))
: n.removeChild(l.stateNode);
} else if (4 === l.tag) {
if (null !== l.child) {
(n = l.stateNode.containerInfo),
(r = !0),
(l = (l.child.return = l).child);
continue;
}
} else if ((cu(e, l), null !== l.child)) {
l = (l.child.return = l).child;
continue;
}
if (l === t) break;
for (; null === l.sibling; ) {
if (null === l.return || l.return === t) return;
4 === (l = l.return).tag && (a = !1);
}
(l.sibling.return = l.return), (l = l.sibling);
}
}
function mu(e, t) {
switch (t.tag) {
case 0:
case 11:
case 14:
case 15:
case 22:
var n = t.updateQueue;
if (null !== (n = null !== n ? n.lastEffect : null))
for (
var r = (n = n.next);
3 == (3 & r.tag) &&
((e = r.destroy), (r.destroy = void 0) !== e && e()),
(r = r.next) !== n;
);
return;
case 1:
return;
case 5:
if (null != (n = t.stateNode)) {
r = t.memoizedProps;
var l = null !== e ? e.memoizedProps : r;
e = t.type;
var a = t.updateQueue;
if ((t.updateQueue = null) !== a) {
for (
n[qr] = r,
"input" === e &&
"radio" === r.type &&
null != r.name &&
te(n, r),
_e(e, l),
t = _e(e, r),
l = 0;
l < a.length;
l += 2
) {
var o = a[l],
u = a[l + 1];
"style" === o
? ke(n, u)
: "dangerouslySetInnerHTML" === o
? ve(n, u)
: "children" === o
? ye(n, u)
: b(n, o, u, t);
}
switch (e) {
case "input":
ne(n, r);
break;
case "textarea":
se(n, r);
break;
case "select":
(e = n._wrapperState.wasMultiple),
(n._wrapperState.wasMultiple = !!r.multiple),
null != (a = r.value)
? oe(n, !!r.multiple, a, !1)
: e !== !!r.multiple &&
(null != r.defaultValue
? oe(n, !!r.multiple, r.defaultValue, !0)
: oe(
n,
!!r.multiple,
r.multiple ? [] : "",
!1
));
}
}
}
return;
case 6:
if (null === t.stateNode) throw Error(x(162));
return void (t.stateNode.nodeValue = t.memoizedProps);
case 3:
return void (
(n = t.stateNode).hydrate &&
((n.hydrate = !1), wt(n.containerInfo))
);
case 12:
return;
case 13:
return (
null !== t.memoizedState && ((Ru = Dl()), su(t.child, !0)),
void vu(t)
);
case 19:
return void vu(t);
case 17:
return;
case 23:
case 24:
return void su(t, null !== t.memoizedState);
}
throw Error(x(163));
}
function vu(n) {
var e = n.updateQueue;
if (null !== e) {
n.updateQueue = null;
var r = n.stateNode;
null === r && (r = n.stateNode = new au()),
e.forEach(function (e) {
var t = function (e, t) {
var n = e.stateNode;
null !== n && n.delete(t),
0 == (t = 0) &&
(0 == (2 & (t = e.mode))
? (t = 1)
: 0 == (4 & t)
? (t = 99 === Ul() ? 1 : 2)
: (0 === Xu && (Xu = Nu),
0 === (t = jt(62914560 & ~Xu)) && (t = 4194304))),
(n = ei()),
null !== (e = ri(e, t)) && (Vt(e, t, n), li(e, n));
}.bind(null, n, e);
r.has(e) || (r.add(e), e.then(t, t));
});
}
}
var yu = Math.ceil,
gu = w.ReactCurrentDispatcher,
bu = w.ReactCurrentOwner,
wu = 0,
ku = null,
Su = null,
Eu = 0,
_u = 0,
xu = rl(0),
Cu = 0,
Pu = null,
Nu = 0,
Tu = 0,
Lu = 0,
zu = 0,
Ou = null,
Ru = 0,
Mu = 1 / 0;
function Iu() {
Mu = Dl() + 500;
}
var Fu,
Du = null,
Uu = !1,
ju = null,
Au = null,
Vu = !1,
Bu = null,
$u = 90,
Wu = [],
Hu = [],
Qu = null,
qu = 0,
Ku = null,
Yu = -1,
Xu = 0,
Gu = 0,
Ju = null,
Zu = !1;
function ei() {
return 0 != (48 & wu) ? Dl() : -1 !== Yu ? Yu : (Yu = Dl());
}
function ti(t) {
if (0 == (2 & (t = t.mode))) return 1;
if (0 == (4 & t)) return 99 === Ul() ? 1 : 2;
if ((0 === Xu && (Xu = Nu), 0 === Wl.transition))
return (
(t = Ul()),
(t = Ut(
0 != (4 & wu) && 98 === t
? 12
: (t = (function (e) {
switch (t) {
case 99:
return 15;
case 98:
return 10;
case 97:
case 96:
return 8;
case 95:
return 2;
default:
return 0;
}
})()),
Xu
))
);
0 !== Gu && (Gu = null !== Ou ? Ou.pendingLanes : 0), (t = Xu);
var e = 4186112 & ~Gu;
return (
0 == (e &= -e) &&
0 == (e = (t = 4186112 & ~t) & -t) &&
(e = 8192),
e
);
}
function ni(e, t, n) {
if (50 < qu) throw ((qu = 0), (Ku = null), Error(x(185)));
if (null === (e = ri(e, t))) return null;
Vt(e, t, n), e === ku && ((Lu |= t), 4 === Cu && ai(e, Eu));
var r = Ul();
1 === t
? 0 != (8 & wu) && 0 == (48 & wu)
? oi(e)
: (li(e, n), 0 === wu && (Iu(), Bl()))
: (0 == (4 & wu) ||
(98 !== r && 99 !== r) ||
(null === Qu ? (Qu = new Set([e])) : Qu.add(e)),
li(e, n)),
(Ou = e);
}
function ri(e, t) {
e.lanes |= t;
var n = e.alternate;
for (
null !== n && (n.lanes |= t), e = (n = e).return;
null !== e;
)
(e.childLanes |= t),
null !== (n = e.alternate) && (n.childLanes |= t),
(e = (n = e).return);
return 3 === n.tag ? n.stateNode : null;
}
function li(e, t) {
for (
var n = e.callbackNode,
r = e.suspendedLanes,
l = e.pingedLanes,
a = e.expirationTimes,
o = e.pendingLanes;
0 < o;
) {
var u = 31 - Bt(o),
i = 1 << u,
s = a[u];
if (-1 === s) {
if (0 == (i & r) || 0 != (i & l)) {
(s = t), It(i);
var c = Mt;
a[u] = 10 <= c ? s + 250 : 6 <= c ? s + 5e3 : -1;
}
} else s <= t && (e.expiredLanes |= i);
o &= ~i;
}
if (((r = Ft(e, e === ku ? Eu : 0)), (t = Mt), 0 === r))
null !== n &&
(n !== zl && kl(n),
(e.callbackNode = null),
(e.callbackPriority = 0));
else {
if (null !== n) {
if (e.callbackPriority === t) return;
n !== zl && kl(n);
}
(n =
15 === t
? ((n = oi.bind(null, e)),
null === Rl
? ((Rl = [n]), (Ml = wl(Cl, $l)))
: Rl.push(n),
zl)
: 14 === t
? Vl(99, oi.bind(null, e))
: Vl(
(n = (function (e) {
switch (e) {
case 15:
case 14:
return 99;
case 13:
case 12:
case 11:
case 10:
return 98;
case 9:
case 8:
case 7:
case 6:
case 4:
case 5:
return 97;
case 3:
case 2:
case 1:
return 95;
case 0:
return 90;
default:
throw Error(x(358, e));
}
})(t)),
function e(t) {
if (((Yu = -1), (Gu = Xu = 0), 0 != (48 & wu)))
throw Error(x(327));
var n = t.callbackNode;
if (ki() && t.callbackNode !== n) return null;
var r = Ft(t, t === ku ? Eu : 0);
if (0 === r) return null;
var l = r,
a = wu;
wu |= 16;
var o = pi();
for ((ku === t && Eu === l) || (Iu(), fi(t, l)); ; )
try {
vi();
break;
} catch (e) {
di(t, e);
}
if (
(Xl(),
(gu.current = o),
(wu = a),
(l = null !== Su ? 0 : ((ku = null), (Eu = 0), Cu)),
0 != (Nu & Lu))
)
fi(t, 0);
else if (0 !== l) {
if (
(2 === l &&
((wu |= 64),
t.hydrate &&
((t.hydrate = !1), Vr(t.containerInfo)),
0 !== (r = Dt(t)) && (l = hi(t, r))),
1 === l)
)
throw (
((n = Pu), fi(t, 0), ai(t, r), li(t, Dl()), n)
);
switch (
((t.finishedWork = t.current.alternate),
(t.finishedLanes = r),
l)
) {
case 0:
case 1:
throw Error(x(345));
case 2:
bi(t);
break;
case 3:
if (
(ai(t, r),
(62914560 & r) === r &&
10 < (l = Ru + 500 - Dl()))
) {
if (0 !== Ft(t, 0)) break;
if (((a = t.suspendedLanes) & r) !== r) {
ei(),
(t.pingedLanes |= t.suspendedLanes & a);
break;
}
t.timeoutHandle = jr(bi.bind(null, t), l);
break;
}
bi(t);
break;
case 4:
if ((ai(t, r), (4186112 & r) === r)) break;
for (l = t.eventTimes, a = -1; 0 < r; ) {
var u = 31 - Bt(r);
(o = 1 << u),
(u = l[u]) > a && (a = u),
(r &= ~o);
}
if (
((r = a),
10 <
(r =
((r = Dl() - r) < 120
? 120
: r < 480
? 480
: r < 1080
? 1080
: r < 1920
? 1920
: r < 3e3
? 3e3
: r < 4320
? 4320
: 1960 * yu(r / 1960)) - r))
) {
t.timeoutHandle = jr(bi.bind(null, t), r);
break;
}
bi(t);
break;
case 5:
bi(t);
break;
default:
throw Error(x(329));
}
}
return (
li(t, Dl()),
t.callbackNode === n ? e.bind(null, t) : null
);
}.bind(null, e)
)),
(e.callbackPriority = t),
(e.callbackNode = n);
}
}
function ai(e, t) {
for (
t &= ~zu,
t &= ~Lu,
e.suspendedLanes |= t,
e.pingedLanes &= ~t,
e = e.expirationTimes;
0 < t;
) {
var n = 31 - Bt(t),
r = 1 << n;
(e[n] = -1), (t &= ~r);
}
}
function oi(e) {
if (0 != (48 & wu)) throw Error(x(327));
if ((ki(), e === ku && 0 != (e.expiredLanes & Eu))) {
var t = Eu,
n = hi(e, t);
0 != (Nu & Lu) && (n = hi(e, (t = Ft(e, t))));
} else n = hi(e, (t = Ft(e, 0)));
if (
(0 !== e.tag &&
2 === n &&
((wu |= 64),
e.hydrate && ((e.hydrate = !1), Vr(e.containerInfo)),
0 !== (t = Dt(e)) && (n = hi(e, t))),
1 === n)
)
throw ((n = Pu), fi(e, 0), ai(e, t), li(e, Dl()), n);
return (
(e.finishedWork = e.current.alternate),
(e.finishedLanes = t),
bi(e),
li(e, Dl()),
null
);
}
function ui(e, t) {
var n = wu;
wu |= 1;
try {
return e(t);
} finally {
0 === (wu = n) && (Iu(), Bl());
}
}
function ii(e, t) {
var n = wu;
(wu &= -2), (wu |= 8);
try {
return e(t);
} finally {
0 === (wu = n) && (Iu(), Bl());
}
}
function si(e, t) {
al(xu, _u), (_u |= t), (Nu |= t);
}
function ci() {
(_u = xu.current), ll(xu);
}
function fi(e, t) {
(e.finishedWork = null), (e.finishedLanes = 0);
var n = e.timeoutHandle;
if ((-1 !== n && ((e.timeoutHandle = -1), Ar(n)), null !== Su))
for (n = Su.return; null !== n; ) {
var r = n;
switch (r.tag) {
case 1:
null !== (r = r.type.childContextTypes) &&
void 0 !== r &&
dl();
break;
case 3:
Na(), ll(il), ll(ul), $a();
break;
case 5:
La(r);
break;
case 4:
Na();
break;
case 13:
case 19:
ll(za);
break;
case 10:
Gl(r);
break;
case 23:
case 24:
ci();
}
n = n.return;
}
(Su = Li((ku = e).current, null)),
(Eu = _u = Nu = t),
(Pu = null),
(zu = Lu = Tu = Cu = 0);
}
function di(e, t) {
for (;;) {
var n = Su;
try {
if ((Xl(), (Wa.current = xo), Xa)) {
for (var r = qa.memoizedState; null !== r; ) {
var l = r.queue;
null !== l && (l.pending = null), (r = r.next);
}
Xa = !1;
}
if (
((Qa = 0),
(Ya = Ka = qa = null),
(Ga = !1),
(bu.current = null) === n || null === n.return)
) {
(Cu = 1), (Pu = t), (Su = null);
break;
}
e: {
var a = e,
o = n.return,
u = n,
i = t;
if (
((t = Eu),
(u.flags |= 2048),
(u.firstEffect = u.lastEffect = null),
null !== i &&
"object" == typeof i &&
"function" == typeof i.then)
) {
var s = i;
if (0 == (2 & u.mode)) {
var c = u.alternate;
c
? ((u.updateQueue = c.updateQueue),
(u.memoizedState = c.memoizedState),
(u.lanes = c.lanes))
: ((u.updateQueue = null), (u.memoizedState = null));
}
var f = 0 != (1 & za.current),
d = o;
do {
var p;
if ((p = 13 === d.tag)) {
var h = d.memoizedState;
if (null !== h) p = null !== h.dehydrated;
else {
var m = d.memoizedProps;
p =
void 0 !== m.fallback &&
(!0 !== m.unstable_avoidThisFallback || !f);
}
}
if (p) {
var v = d.updateQueue;
if (null === v) {
var y = new Set();
y.add(s), (d.updateQueue = y);
} else v.add(s);
if (0 == (2 & d.mode)) {
if (
((d.flags |= 64),
(u.flags |= 16384),
(u.flags &= -2981),
1 === u.tag)
)
if (null === u.alternate) u.tag = 17;
else {
var g = la(-1, 1);
(g.tag = 2), aa(u, g);
}
u.lanes |= 1;
break e;
}
(i = void 0), (u = t);
var b = a.pingCache;
if (
(null === b
? ((b = a.pingCache = new nu()),
(i = new Set()),
b.set(s, i))
: void 0 === (i = b.get(s)) &&
((i = new Set()), b.set(s, i)),
!i.has(u))
) {
i.add(u);
var w = Ci.bind(null, a, s, u);
s.then(w, w);
}
(d.flags |= 4096), (d.lanes = t);
break e;
}
d = d.return;
} while (null !== d);
i = Error(
(q(u.type) || "A React component") +
" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."
);
}
5 !== Cu && (Cu = 2), (i = eu(i, u)), (d = o);
do {
switch (d.tag) {
case 3:
(a = i),
(d.flags |= 4096),
(t &= -t),
(d.lanes |= t),
oa(d, ru(0, a, t));
break e;
case 1:
a = i;
var k = d.type,
S = d.stateNode;
if (
0 == (64 & d.flags) &&
("function" == typeof k.getDerivedStateFromError ||
(null !== S &&
"function" == typeof S.componentDidCatch &&
(null === Au || !Au.has(S))))
) {
(d.flags |= 4096),
(t &= -t),
(d.lanes |= t),
oa(d, lu(d, a, t));
break e;
}
}
d = d.return;
} while (null !== d);
}
gi(n);
} catch (e) {
(t = e), Su === n && null !== n && (Su = n = n.return);
continue;
}
break;
}
}
function pi() {
var e = gu.current;
return (gu.current = xo), null === e ? xo : e;
}
function hi(t, e) {
var n = wu;
wu |= 16;
var r = pi();
for ((ku === t && Eu === e) || fi(t, e); ; )
try {
mi();
break;
} catch (e) {
di(t, e);
}
if ((Xl(), (wu = n), (gu.current = r), null !== Su))
throw Error(x(261));
return (ku = null), (Eu = 0), Cu;
}
function mi() {
for (; null !== Su; ) yi(Su);
}
function vi() {
for (; null !== Su && !Sl(); ) yi(Su);
}
function yi(e) {
var t = Fu(e.alternate, e, _u);
(e.memoizedProps = e.pendingProps),
null === t ? gi(e) : (Su = t),
(bu.current = null);
}
function gi(e) {
var t = e;
do {
var n = t.alternate;
if (((e = t.return), 0 == (2048 & t.flags))) {
if (null !== (n = Jo(n, t, _u))) return void (Su = n);
if (
(24 !== (n = t).tag && 23 !== n.tag) ||
null === n.memoizedState ||
0 != (1073741824 & _u) ||
0 == (4 & n.mode)
) {
for (var r = 0, l = n.child; null !== l; )
(r |= l.lanes | l.childLanes), (l = l.sibling);
n.childLanes = r;
}
null !== e &&
0 == (2048 & e.flags) &&
(null === e.firstEffect && (e.firstEffect = t.firstEffect),
null !== t.lastEffect &&
(null !== e.lastEffect &&
(e.lastEffect.nextEffect = t.firstEffect),
(e.lastEffect = t.lastEffect)),
1 < t.flags &&
(null !== e.lastEffect
? (e.lastEffect.nextEffect = t)
: (e.firstEffect = t),
(e.lastEffect = t)));
} else {
if (null !== (n = Zo(t)))
return (n.flags &= 2047), void (Su = n);
null !== e &&
((e.firstEffect = e.lastEffect = null), (e.flags |= 2048));
}
if (null !== (t = t.sibling)) return void (Su = t);
Su = t = e;
} while (null !== t);
0 === Cu && (Cu = 5);
}
function bi(e) {
var t = Ul();
return (
Al(
99,
function (e, t) {
for (; ki(), null !== Bu; );
if (0 != (48 & wu)) throw Error(x(327));
var n = e.finishedWork;
if (null === n) return null;
if (
((e.finishedWork = null),
(e.finishedLanes = 0),
n === e.current)
)
throw Error(x(177));
e.callbackNode = null;
var r = n.lanes | n.childLanes,
l = r,
a = e.pendingLanes & ~l;
(e.pendingLanes = l),
(e.suspendedLanes = 0),
(e.pingedLanes = 0),
(e.expiredLanes &= l),
(e.mutableReadLanes &= l),
(e.entangledLanes &= l),
(l = e.entanglements);
for (var o = e.eventTimes, u = e.expirationTimes; 0 < a; ) {
var i = 31 - Bt(a),
s = 1 << i;
(l[i] = 0), (o[i] = -1), (u[i] = -1), (a &= ~s);
}
if (
(null !== Qu &&
0 == (24 & r) &&
Qu.has(e) &&
Qu.delete(e),
e === ku && ((Su = ku = null), (Eu = 0)),
(r =
1 < n.flags
? null !== n.lastEffect
? ((n.lastEffect.nextEffect = n), n.firstEffect)
: n
: n.firstEffect),
null !== r)
) {
if (
((l = wu),
(wu |= 32),
(bu.current = null),
(Ir = qt),
fr((o = cr())))
) {
if ("selectionStart" in o)
u = { start: o.selectionStart, end: o.selectionEnd };
else
e: if (
((u =
((u = o.ownerDocument) && u.defaultView) ||
window),
(s = u.getSelection && u.getSelection()) &&
0 !== s.rangeCount)
) {
(u = s.anchorNode),
(a = s.anchorOffset),
(i = s.focusNode),
(s = s.focusOffset);
try {
u.nodeType, i.nodeType;
} catch (e) {
u = null;
break e;
}
var c = 0,
f = -1,
d = -1,
p = 0,
h = 0,
m = o,
v = null;
t: for (;;) {
for (
var y;
m !== u ||
(0 !== a && 3 !== m.nodeType) ||
(f = c + a),
m !== i ||
(0 !== s && 3 !== m.nodeType) ||
(d = c + s),
3 === m.nodeType && (c += m.nodeValue.length),
null !== (y = m.firstChild);
)
(v = m), (m = y);
for (;;) {
if (m === o) break t;
if (
(v === u && ++p === a && (f = c),
v === i && ++h === s && (d = c),
null !== (y = m.nextSibling))
)
break;
v = (m = v).parentNode;
}
m = y;
}
u =
-1 === f || -1 === d
? null
: { start: f, end: d };
} else u = null;
u = u || { start: 0, end: 0 };
} else u = null;
(Ju = null),
(Zu = qt =
!(Fr = { focusedElem: o, selectionRange: u })),
(Du = r);
do {
try {
wi();
} catch (e) {
if (null === Du) throw Error(x(330));
xi(Du, e), (Du = Du.nextEffect);
}
} while (null !== Du);
(Ju = null), (Du = r);
do {
try {
for (o = e; null !== Du; ) {
var g = Du.flags;
if ((16 & g && ye(Du.stateNode, ""), 128 & g)) {
var b = Du.alternate;
if (null !== b) {
var w = b.ref;
null !== w &&
("function" == typeof w
? w(null)
: (w.current = null));
}
}
switch (1038 & g) {
case 2:
pu(Du), (Du.flags &= -3);
break;
case 6:
pu(Du), (Du.flags &= -3), mu(Du.alternate, Du);
break;
case 1024:
Du.flags &= -1025;
break;
case 1028:
(Du.flags &= -1025), mu(Du.alternate, Du);
break;
case 4:
mu(Du.alternate, Du);
break;
case 8:
hu(o, (u = Du));
var k = u.alternate;
fu(u), null !== k && fu(k);
}
Du = Du.nextEffect;
}
} catch (e) {
if (null === Du) throw Error(x(330));
xi(Du, e), (Du = Du.nextEffect);
}
} while (null !== Du);
if (
((w = Fr),
(b = cr()),
(g = w.focusedElem),
(o = w.selectionRange),
b !== g &&
g &&
g.ownerDocument &&
(function e(t, n) {
return (
!(!t || !n) &&
(t === n ||
((!t || 3 !== t.nodeType) &&
(n && 3 === n.nodeType
? e(t, n.parentNode)
: "contains" in t
? t.contains(n)
: !!t.compareDocumentPosition &&
!!(16 & t.compareDocumentPosition(n)))))
);
})(g.ownerDocument.documentElement, g))
) {
null !== o &&
fr(g) &&
((b = o.start),
void 0 === (w = o.end) && (w = b),
"selectionStart" in g
? ((g.selectionStart = b),
(g.selectionEnd = Math.min(w, g.value.length)))
: (w =
((b = g.ownerDocument || document) &&
b.defaultView) ||
window).getSelection &&
((w = w.getSelection()),
(u = g.textContent.length),
(k = Math.min(o.start, u)),
(o = void 0 === o.end ? k : Math.min(o.end, u)),
!w.extend && o < k && ((u = o), (o = k), (k = u)),
(u = sr(g, k)),
(a = sr(g, o)),
u &&
a &&
(1 !== w.rangeCount ||
w.anchorNode !== u.node ||
w.anchorOffset !== u.offset ||
w.focusNode !== a.node ||
w.focusOffset !== a.offset) &&
((b = b.createRange()).setStart(
u.node,
u.offset
),
w.removeAllRanges(),
o < k
? (w.addRange(b), w.extend(a.node, a.offset))
: (b.setEnd(a.node, a.offset),
w.addRange(b))))),
(b = []);
for (w = g; (w = w.parentNode); )
1 === w.nodeType &&
b.push({
element: w,
left: w.scrollLeft,
top: w.scrollTop,
});
for (
"function" == typeof g.focus && g.focus(), g = 0;
g < b.length;
g++
)
((w = b[g]).element.scrollLeft = w.left),
(w.element.scrollTop = w.top);
}
(qt = !!Ir), (Fr = Ir = null), (e.current = n), (Du = r);
do {
try {
for (g = e; null !== Du; ) {
var S = Du.flags;
if ((36 & S && iu(g, Du.alternate, Du), 128 & S)) {
b = void 0;
var E = Du.ref;
if (null !== E) {
var _ = Du.stateNode;
switch (Du.tag) {
case 5:
b = _;
break;
default:
b = _;
}
"function" == typeof E ? E(b) : (E.current = b);
}
}
Du = Du.nextEffect;
}
} catch (e) {
if (null === Du) throw Error(x(330));
xi(Du, e), (Du = Du.nextEffect);
}
} while (null !== Du);
(Du = null), Ol(), (wu = l);
} else e.current = n;
if (Vu) (Vu = !1), (Bu = e), ($u = t);
else
for (Du = r; null !== Du; )
(t = Du.nextEffect),
(Du.nextEffect = null),
8 & Du.flags &&
(((S = Du).sibling = null), (S.stateNode = null)),
(Du = t);
if (
(0 === (r = e.pendingLanes) && (Au = null),
1 === r
? e === Ku
? qu++
: ((qu = 0), (Ku = e))
: (qu = 0),
(n = n.stateNode),
gl && "function" == typeof gl.onCommitFiberRoot)
)
try {
gl.onCommitFiberRoot(
yl,
n,
void 0,
64 == (64 & n.current.flags)
);
} catch (e) {}
if ((li(e, Dl()), Uu))
throw ((Uu = !1), (e = ju), (ju = null), e);
return 0 != (8 & wu) || Bl(), null;
}.bind(null, e, t)
),
null
);
}
function wi() {
for (; null !== Du; ) {
var e = Du.alternate;
Zu ||
null === Ju ||
(0 != (8 & Du.flags)
? Je(Du, Ju) && (Zu = !0)
: 13 === Du.tag &&
((r = Du),
null !== (n = e) &&
(null === (n = n.memoizedState) ||
null !== n.dehydrated) &&
null !== (r = r.memoizedState) &&
null === r.dehydrated) &&
Je(Du, Ju) &&
(Zu = !0));
var t = Du.flags;
0 != (256 & t) && uu(e, Du),
0 == (512 & t) ||
Vu ||
((Vu = !0),
Vl(97, function () {
return ki(), null;
})),
(Du = Du.nextEffect);
}
var n, r;
}
function ki() {
if (90 === $u) return !1;
var e = 97 < $u ? 97 : $u;
return ($u = 90), Al(e, Ei);
}
function Si(e, t) {
Hu.push(t, e),
Vu ||
((Vu = !0),
Vl(97, function () {
return ki(), null;
}));
}
function Ei() {
if (null === Bu) return !1;
var e = Bu;
if (((Bu = null), 0 != (48 & wu))) throw Error(x(331));
var t = wu;
wu |= 32;
var n = Hu;
Hu = [];
for (var r = 0; r < n.length; r += 2) {
var l = n[r],
a = n[r + 1],
o = l.destroy;
if (((l.destroy = void 0), "function" == typeof o))
try {
o();
} catch (e) {
if (null === a) throw Error(x(330));
xi(a, e);
}
}
for (n = Wu, Wu = [], r = 0; r < n.length; r += 2) {
(l = n[r]), (a = n[r + 1]);
try {
var u = l.create;
l.destroy = u();
} catch (e) {
if (null === a) throw Error(x(330));
xi(a, e);
}
}
for (u = e.current.firstEffect; null !== u; )
(e = u.nextEffect),
(u.nextEffect = null),
8 & u.flags && ((u.sibling = null), (u.stateNode = null)),
(u = e);
return (wu = t), Bl(), !0;
}
function _i(e, t, n) {
aa(e, (t = ru(0, (t = eu(n, t)), 1))),
(t = ei()),
null !== (e = ri(e, 1)) && (Vt(e, 1, t), li(e, t));
}
function xi(e, t) {
if (3 === e.tag) _i(e, e, t);
else
for (var n = e.return; null !== n; ) {
if (3 === n.tag) {
_i(n, e, t);
break;
}
if (1 === n.tag) {
var r = n.stateNode;
if (
"function" == typeof n.type.getDerivedStateFromError ||
("function" == typeof r.componentDidCatch &&
(null === Au || !Au.has(r)))
) {
var l = lu(n, (e = eu(t, e)), 1);
if ((aa(n, l), (l = ei()), null !== (n = ri(n, 1))))
Vt(n, 1, l), li(n, l);
else if (
"function" == typeof r.componentDidCatch &&
(null === Au || !Au.has(r))
)
try {
r.componentDidCatch(t, e);
} catch (e) {}
break;
}
}
n = n.return;
}
}
function Ci(e, t, n) {
var r = e.pingCache;
null !== r && r.delete(t),
(t = ei()),
(e.pingedLanes |= e.suspendedLanes & n),
ku === e &&
(Eu & n) === n &&
(4 === Cu ||
(3 === Cu && (62914560 & Eu) === Eu && Dl() - Ru < 500)
? fi(e, 0)
: (zu |= n)),
li(e, t);
}
function Pi(e, t, n, r) {
(this.tag = e),
(this.key = n),
(this.sibling =
this.child =
this.return =
this.stateNode =
this.type =
this.elementType =
null),
(this.index = 0),
(this.ref = null),
(this.pendingProps = t),
(this.dependencies =
this.memoizedState =
this.updateQueue =
this.memoizedProps =
null),
(this.mode = r),
(this.flags = 0),
(this.lastEffect = this.firstEffect = this.nextEffect = null),
(this.childLanes = this.lanes = 0),
(this.alternate = null);
}
function Ni(e, t, n, r) {
return new Pi(e, t, n, r);
}
function Ti(e) {
return !(!(e = e.prototype) || !e.isReactComponent);
}
function Li(e, t) {
var n = e.alternate;
return (
null === n
? (((n = Ni(e.tag, t, e.key, e.mode)).elementType =
e.elementType),
(n.type = e.type),
(n.stateNode = e.stateNode),
((n.alternate = e).alternate = n))
: ((n.pendingProps = t),
(n.type = e.type),
(n.flags = 0),
(n.nextEffect = null),
(n.firstEffect = null),
(n.lastEffect = null)),
(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 =
null === t
? null
: { lanes: t.lanes, firstContext: t.firstContext }),
(n.sibling = e.sibling),
(n.index = e.index),
(n.ref = e.ref),
n
);
}
function zi(e, t, n, r, l, a) {
var o = 2;
if ("function" == typeof (r = e)) Ti(e) && (o = 1);
else if ("string" == typeof e) o = 5;
else
e: switch (e) {
case E:
return Oi(n.children, l, a, t);
case F:
(o = 8), (l |= 16);
break;
case _:
(o = 8), (l |= 1);
break;
case C:
return (
((e = Ni(12, n, t, 8 | l)).elementType = C),
(e.type = C),
(e.lanes = a),
e
);
case L:
return (
((e = Ni(13, n, t, l)).type = L),
(e.elementType = L),
(e.lanes = a),
e
);
case z:
return (
((e = Ni(19, n, t, l)).elementType = z), (e.lanes = a), e
);
case D:
return Ri(n, l, a, t);
case U:
return (
((e = Ni(24, n, t, l)).elementType = U), (e.lanes = a), e
);
default:
if ("object" == typeof e && null !== e)
switch (e.$$typeof) {
case P:
o = 10;
break e;
case N:
o = 9;
break e;
case T:
o = 11;
break e;
case O:
o = 14;
break e;
case R:
(o = 16), (r = null);
break e;
case M:
o = 22;
break e;
}
throw Error(x(130, null == e ? e : typeof e, ""));
}
return (
((t = Ni(o, n, t, l)).elementType = e),
(t.type = r),
(t.lanes = a),
t
);
}
function Oi(e, t, n, r) {
return ((e = Ni(7, e, r, t)).lanes = n), e;
}
function Ri(e, t, n, r) {
return ((e = Ni(23, e, r, t)).elementType = D), (e.lanes = n), e;
}
function Mi(e, t, n) {
return ((e = Ni(6, e, null, t)).lanes = n), e;
}
function Ii(e, t, n) {
return (
((t = Ni(
4,
null !== e.children ? e.children : [],
e.key,
t
)).lanes = n),
(t.stateNode = {
containerInfo: e.containerInfo,
pendingChildren: null,
implementation: e.implementation,
}),
t
);
}
function Fi(e, t, n) {
(this.tag = t),
(this.containerInfo = e),
(this.finishedWork =
this.pingCache =
this.current =
this.pendingChildren =
null),
(this.timeoutHandle = -1),
(this.pendingContext = this.context = null),
(this.hydrate = n),
(this.callbackNode = null),
(this.callbackPriority = 0),
(this.eventTimes = At(0)),
(this.expirationTimes = At(-1)),
(this.entangledLanes =
this.finishedLanes =
this.mutableReadLanes =
this.expiredLanes =
this.pingedLanes =
this.suspendedLanes =
this.pendingLanes =
0),
(this.entanglements = At(0)),
(this.mutableSourceEagerHydrationData = null);
}
function Di(e, t, n, r) {
var l = t.current,
a = ei(),
o = ti(l);
e: if (n) {
t: {
if (Ke((n = n._reactInternals)) !== n || 1 !== n.tag)
throw Error(x(170));
var u = n;
do {
switch (u.tag) {
case 3:
u = u.stateNode.context;
break t;
case 1:
if (fl(u.type)) {
u =
u.stateNode
.__reactInternalMemoizedMergedChildContext;
break t;
}
}
u = u.return;
} while (null !== u);
throw Error(x(171));
}
if (1 === n.tag) {
var i = n.type;
if (fl(i)) {
n = hl(n, i, u);
break e;
}
}
n = u;
} else n = ol;
return (
null === t.context ? (t.context = n) : (t.pendingContext = n),
((t = la(a, o)).payload = { element: e }),
null !== (r = void 0 === r ? null : r) && (t.callback = r),
aa(l, t),
ni(l, o, a),
o
);
}
function Ui(e) {
if (!(e = e.current).child) return null;
switch (e.child.tag) {
case 5:
default:
return e.child.stateNode;
}
}
function ji(e, t) {
if (null !== (e = e.memoizedState) && null !== e.dehydrated) {
var n = e.retryLane;
e.retryLane = 0 !== n && n < t ? n : t;
}
}
function Ai(e, t) {
ji(e, t), (e = e.alternate) && ji(e, t);
}
function Vi(e, t, n) {
var r =
(null != n &&
null != n.hydrationOptions &&
n.hydrationOptions.mutableSources) ||
null;
if (
((n = new Fi(e, t, null != n && !0 === n.hydrate)),
(t = Ni(3, null, null, 2 === t ? 7 : 1 === t ? 3 : 0)),
((n.current = t).stateNode = n),
na(t),
(e[Kr] = n.current),
Cr(8 === e.nodeType ? e.parentNode : e),
r)
)
for (e = 0; e < r.length; e++) {
var l = (t = r[e])._getVersion;
(l = l(t._source)),
null == n.mutableSourceEagerHydrationData
? (n.mutableSourceEagerHydrationData = [t, l])
: n.mutableSourceEagerHydrationData.push(t, l);
}
this._internalRoot = n;
}
function Bi(e) {
return !(
!e ||
(1 !== e.nodeType &&
9 !== e.nodeType &&
11 !== e.nodeType &&
(8 !== e.nodeType ||
" react-mount-point-unstable " !== e.nodeValue))
);
}
function $i(e, t, n, r, l) {
var a = n._reactRootContainer;
if (a) {
var o = a._internalRoot;
if ("function" == typeof l) {
var u = l;
l = function () {
var e = Ui(o);
u.call(e);
};
}
Di(t, o, e, l);
} else {
if (
((a = n._reactRootContainer =
(function (e, t) {
if (
(t ||
(t = !(
!(t = e
? 9 === e.nodeType
? e.documentElement
: e.firstChild
: null) ||
1 !== t.nodeType ||
!t.hasAttribute("data-reactroot")
)),
!t)
)
for (var n; (n = e.lastChild); ) e.removeChild(n);
return new Vi(e, 0, t ? { hydrate: !0 } : void 0);
})(n, r)),
(o = a._internalRoot),
"function" == typeof l)
) {
var i = l;
l = function () {
var e = Ui(o);
i.call(e);
};
}
ii(function () {
Di(t, o, e, l);
});
}
return Ui(o);
}
function Wi(e, t) {
var n =
2 < arguments.length && void 0 !== arguments[2]
? arguments[2]
: null;
if (!Bi(t)) throw Error(x(200));
return (function (e, t, n) {
var r =
3 < arguments.length && void 0 !== arguments[3]
? arguments[3]
: null;
return {
$$typeof: S,
key: null == r ? null : "" + r,
children: e,
containerInfo: t,
implementation: n,
};
})(e, t, null, n);
}
(Fu = function (e, t, n) {
var r = t.lanes;
if (null !== e)
if (e.memoizedProps !== t.pendingProps || il.current) Lo = !0;
else {
if (0 == (n & r)) {
switch (((Lo = !1), t.tag)) {
case 3:
Ao(t), Va();
break;
case 5:
Ta(t);
break;
case 1:
fl(t.type) && ml(t);
break;
case 4:
Pa(t, t.stateNode.containerInfo);
break;
case 10:
r = t.memoizedProps.value;
var l = t.type._context;
al(Ql, l._currentValue), (l._currentValue = r);
break;
case 13:
if (null !== t.memoizedState)
return 0 != (n & t.child.childLanes)
? Ho(e, t, n)
: (al(za, 1 & za.current),
null !== (t = Xo(e, t, n)) ? t.sibling : null);
al(za, 1 & za.current);
break;
case 19:
if (
((r = 0 != (n & t.childLanes)), 0 != (64 & e.flags))
) {
if (r) return Yo(e, t, n);
t.flags |= 64;
}
if (
(null !== (l = t.memoizedState) &&
((l.rendering = null),
(l.tail = null),
(l.lastEffect = null)),
al(za, za.current),
r)
)
break;
return null;
case 23:
case 24:
return (t.lanes = 0), Io(e, t, n);
}
return Xo(e, t, n);
}
Lo = 0 != (16384 & e.flags);
}
else Lo = !1;
switch (((t.lanes = 0), t.tag)) {
case 2:
if (
((r = t.type),
null !== e &&
((e.alternate = null),
(t.alternate = null),
(t.flags |= 2)),
(e = t.pendingProps),
(l = cl(t, ul.current)),
Zl(t, n),
(l = eo(null, t, r, e, l, n)),
(t.flags |= 1),
"object" == typeof l &&
null !== l &&
"function" == typeof l.render &&
void 0 === l.$$typeof)
) {
if (
((t.tag = 1),
(t.memoizedState = null),
(t.updateQueue = null),
fl(r))
) {
var a = !0;
ml(t);
} else a = !1;
(t.memoizedState =
null !== l.state && void 0 !== l.state ? l.state : null),
na(t);
var o = r.getDerivedStateFromProps;
"function" == typeof o && ca(t, r, o, e),
(l.updater = fa),
ma(((t.stateNode = l)._reactInternals = t), r, e, n),
(t = jo(null, t, r, !0, a, n));
} else (t.tag = 0), zo(null, t, l, n), (t = t.child);
return t;
case 16:
l = t.elementType;
e: {
switch (
(null !== e &&
((e.alternate = null),
(t.alternate = null),
(t.flags |= 2)),
(e = t.pendingProps),
(l = (a = l._init)(l._payload)),
(t.type = l),
(a = t.tag =
(function (e) {
if ("function" == typeof e) return Ti(e) ? 1 : 0;
if (null != e) {
if ((e = e.$$typeof) === T) return 11;
if (e === O) return 14;
}
return 2;
})(l)),
(e = Hl(l, e)),
a)
) {
case 0:
t = Do(null, t, l, e, n);
break e;
case 1:
t = Uo(null, t, l, e, n);
break e;
case 11:
t = Oo(null, t, l, e, n);
break e;
case 14:
t = Ro(null, t, l, Hl(l.type, e), r, n);
break e;
}
throw Error(x(306, l, ""));
}
return t;
case 0:
return (
(r = t.type),
(l = t.pendingProps),
Do(e, t, r, (l = t.elementType === r ? l : Hl(r, l)), n)
);
case 1:
return (
(r = t.type),
(l = t.pendingProps),
Uo(e, t, r, (l = t.elementType === r ? l : Hl(r, l)), n)
);
case 3:
if ((Ao(t), (r = t.updateQueue), null === e || null === r))
throw Error(x(282));
if (
((r = t.pendingProps),
(l = null !== (l = t.memoizedState) ? l.element : null),
ra(e, t),
ua(t, r, null, n),
(r = t.memoizedState.element) === l)
)
Va(), (t = Xo(e, t, n));
else {
if (
((a = (l = t.stateNode).hydrate) &&
((Ma = Br(t.stateNode.containerInfo.firstChild)),
(Ra = t),
(a = Ia = !0)),
a)
) {
if (null != (e = l.mutableSourceEagerHydrationData))
for (l = 0; l < e.length; l += 2)
((a = e[l])._workInProgressVersionPrimary = e[l + 1]),
Ba.push(a);
for (n = ka(t, null, r, n), t.child = n; n; )
(n.flags = (-3 & n.flags) | 1024), (n = n.sibling);
} else zo(e, t, r, n), Va();
t = t.child;
}
return t;
case 5:
return (
Ta(t),
null === e && Ua(t),
(r = t.type),
(l = t.pendingProps),
(a = null !== e ? e.memoizedProps : null),
(o = l.children),
Ur(r, l)
? (o = null)
: null !== a && Ur(r, a) && (t.flags |= 16),
Fo(e, t),
zo(e, t, o, n),
t.child
);
case 6:
return null === e && Ua(t), null;
case 13:
return Ho(e, t, n);
case 4:
return (
Pa(t, t.stateNode.containerInfo),
(r = t.pendingProps),
null === e ? (t.child = wa(t, null, r, n)) : zo(e, t, r, n),
t.child
);
case 11:
return (
(r = t.type),
(l = t.pendingProps),
Oo(e, t, r, (l = t.elementType === r ? l : Hl(r, l)), n)
);
case 7:
return zo(e, t, t.pendingProps, n), t.child;
case 8:
case 12:
return zo(e, t, t.pendingProps.children, n), t.child;
case 10:
e: {
(r = t.type._context),
(l = t.pendingProps),
(o = t.memoizedProps),
(a = l.value);
var u = t.type._context;
if (
(al(Ql, u._currentValue),
(u._currentValue = a),
null !== o)
)
if (
((u = o.value),
0 ==
(a = ar(u, a)
? 0
: 0 |
("function" == typeof r._calculateChangedBits
? r._calculateChangedBits(u, a)
: 1073741823)))
) {
if (o.children === l.children && !il.current) {
t = Xo(e, t, n);
break e;
}
} else
for (
null !== (u = t.child) && (u.return = t);
null !== u;
) {
var i = u.dependencies;
if (null !== i) {
o = u.child;
for (var s = i.firstContext; null !== s; ) {
if (
s.context === r &&
0 != (s.observedBits & a)
) {
1 === u.tag &&
(((s = la(-1, n & -n)).tag = 2), aa(u, s)),
(u.lanes |= n),
null !== (s = u.alternate) && (s.lanes |= n),
Jl(u.return, n),
(i.lanes |= n);
break;
}
s = s.next;
}
} else
o =
10 === u.tag && u.type === t.type
? null
: u.child;
if (null !== o) o.return = u;
else
for (o = u; null !== o; ) {
if (o === t) {
o = null;
break;
}
if (null !== (u = o.sibling)) {
(u.return = o.return), (o = u);
break;
}
o = o.return;
}
u = o;
}
zo(e, t, l.children, n), (t = t.child);
}
return t;
case 9:
return (
(l = t.type),
(r = (a = t.pendingProps).children),
Zl(t, n),
(r = r((l = ea(l, a.unstable_observedBits)))),
(t.flags |= 1),
zo(e, t, r, n),
t.child
);
case 14:
return (
(a = Hl((l = t.type), t.pendingProps)),
Ro(e, t, l, (a = Hl(l.type, a)), r, n)
);
case 15:
return Mo(e, t, t.type, t.pendingProps, r, n);
case 17:
return (
(r = t.type),
(l = t.pendingProps),
(l = t.elementType === r ? l : Hl(r, l)),
null !== e &&
((e.alternate = null),
(t.alternate = null),
(t.flags |= 2)),
(t.tag = 1),
fl(r) ? ((e = !0), ml(t)) : (e = !1),
Zl(t, n),
pa(t, r, l),
ma(t, r, l, n),
jo(null, t, r, !0, e, n)
);
case 19:
return Yo(e, t, n);
case 23:
case 24:
return Io(e, t, n);
}
throw Error(x(156, t.tag));
}),
(Vi.prototype.render = function (e) {
Di(e, this._internalRoot, null, null);
}),
(Vi.prototype.unmount = function () {
var e = this._internalRoot,
t = e.containerInfo;
Di(null, e, null, function () {
t[Kr] = null;
});
}),
(Ze = function (e) {
13 === e.tag && (ni(e, 4, ei()), Ai(e, 4));
}),
(et = function (e) {
13 === e.tag && (ni(e, 67108864, ei()), Ai(e, 67108864));
}),
(tt = function (e) {
if (13 === e.tag) {
var t = ei(),
n = ti(e);
ni(e, n, t), Ai(e, n);
}
}),
(nt = function (e, t) {
return t();
}),
(Ce = function (e, t, n) {
switch (t) {
case "input":
if (
(ne(e, n), (t = n.name), "radio" === n.type && null != t)
) {
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 = Zr(r);
if (!l) throw Error(x(90));
G(r), ne(r, l);
}
}
}
break;
case "textarea":
se(e, n);
break;
case "select":
null != (t = n.value) && oe(e, !!n.multiple, t, !1);
}
}),
(Oe = ui),
(Re = function (e, t, n, r, l) {
var a = wu;
wu |= 4;
try {
return Al(98, e.bind(null, t, n, r, l));
} finally {
0 === (wu = a) && (Iu(), Bl());
}
}),
(Me = function () {
0 == (49 & wu) &&
((function () {
if (null !== Qu) {
var e = Qu;
(Qu = null),
e.forEach(function (e) {
(e.expiredLanes |= 24 & e.pendingLanes), li(e, Dl());
});
}
Bl();
})(),
ki());
});
var Hi = {
Events: [
Gr,
Jr,
Zr,
Le,
ze,
ki,
{
current: !(Ie = function (e, t) {
var n = wu;
wu |= 2;
try {
return e(t);
} finally {
0 === (wu = n) && (Iu(), Bl());
}
}),
},
],
},
Qi = {
findFiberByHostInstance: Xr,
bundleType: 0,
version: "17.0.1",
rendererPackageName: "react-dom",
},
qi = {
bundleType: Qi.bundleType,
version: Qi.version,
rendererPackageName: Qi.rendererPackageName,
rendererConfig: Qi.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
overrideProps: null,
overridePropsDeletePath: null,
overridePropsRenamePath: null,
setSuspenseHandler: null,
scheduleUpdate: null,
currentDispatcherRef: w.ReactCurrentDispatcher,
findHostInstanceByFiber: function (e) {
return null === (e = Ge(e)) ? null : e.stateNode;
},
findFiberByHostInstance:
Qi.findFiberByHostInstance ||
function () {
return null;
},
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
};
if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var Ki = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!Ki.isDisabled && Ki.supportsFiber)
try {
(yl = Ki.inject(qi)), (gl = Ki);
} catch (me) {}
}
(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Hi),
(t.createPortal = Wi),
(t.findDOMNode = function (e) {
if (null == e) return null;
if (1 === e.nodeType) return e;
var t = e._reactInternals;
if (void 0 !== t)
return null === (e = Ge(t)) ? null : e.stateNode;
if ("function" == typeof e.render) throw Error(x(188));
throw Error(x(268, Object.keys(e)));
}),
(t.flushSync = function (e, t) {
var n = wu;
if (0 != (48 & n)) return e(t);
wu |= 1;
try {
if (e) return Al(99, e.bind(null, t));
} finally {
(wu = n), Bl();
}
}),
(t.hydrate = function (e, t, n) {
if (!Bi(t)) throw Error(x(200));
return $i(null, e, t, !0, n);
}),
(t.render = function (e, t, n) {
if (!Bi(t)) throw Error(x(200));
return $i(null, e, t, !1, n);
}),
(t.unmountComponentAtNode = function (e) {
if (!Bi(e)) throw Error(x(40));
return (
!!e._reactRootContainer &&
(ii(function () {
$i(null, null, e, !1, function () {
(e._reactRootContainer = null), (e[Kr] = null);
});
}),
!0)
);
}),
(t.unstable_batchedUpdates = ui),
(t.unstable_createPortal = function (e, t) {
return Wi(
e,
t,
2 < arguments.length && void 0 !== arguments[2]
? arguments[2]
: null
);
}),
(t.unstable_renderSubtreeIntoContainer = function (e, t, n, r) {
if (!Bi(n)) throw Error(x(200));
if (null == e || void 0 === e._reactInternals)
throw Error(x(38));
return $i(e, t, n, !1, r);
}),
(t.version = "17.0.1");
},
function (e, t, n) {
"use strict";
e.exports = n(12);
},
function (e, u, t) {
"use strict";
var a, i, s, n;
if (
"object" == typeof performance &&
"function" == typeof performance.now
) {
var r = performance;
u.unstable_now = function () {
return r.now();
};
} else {
var l = Date,
o = l.now();
u.unstable_now = function () {
return l.now() - o;
};
}
if (
"undefined" == typeof window ||
"function" != typeof MessageChannel
) {
var c = null,
f = null,
d = function t() {
if (null !== c)
try {
var e = u.unstable_now();
c(!0, e), (c = null);
} catch (e) {
throw (setTimeout(t, 0), e);
}
};
(a = function (e) {
null !== c ? setTimeout(a, 0, e) : ((c = e), setTimeout(d, 0));
}),
(i = function (e, t) {
f = setTimeout(e, t);
}),
(s = function () {
clearTimeout(f);
}),
(u.unstable_shouldYield = function () {
return !1;
}),
(n = u.unstable_forceFrameRate = function () {});
} else {
var p = window.setTimeout,
h = window.clearTimeout;
if ("undefined" != typeof console) {
var m = window.cancelAnimationFrame;
"function" != typeof window.requestAnimationFrame &&
console.error(
"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
),
"function" != typeof m &&
console.error(
"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
);
}
var v = !1,
y = null,
g = -1,
b = 5,
w = 0;
(u.unstable_shouldYield = function () {
return u.unstable_now() >= w;
}),
(n = function () {}),
(u.unstable_forceFrameRate = function (e) {
e < 0 || 125 < e
? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
)
: (b = 0 < e ? Math.floor(1e3 / e) : 5);
});
var k = new MessageChannel(),
S = k.port2;
(k.port1.onmessage = function () {
if (null !== y) {
var e = u.unstable_now();
w = e + b;
try {
y(!0, e) ? S.postMessage(null) : ((v = !1), (y = null));
} catch (e) {
throw (S.postMessage(null), e);
}
} else v = !1;
}),
(a = function (e) {
(y = e), v || ((v = !0), S.postMessage(null));
}),
(i = function (e, t) {
g = p(function () {
e(u.unstable_now());
}, t);
}),
(s = function () {
h(g), (g = -1);
});
}
function E(e, t) {
var n = e.length;
e.push(t);
e: for (;;) {
var r = (n - 1) >>> 1,
l = e[r];
if (!(void 0 !== l && 0 < C(l, t))) break e;
(e[r] = t), (e[n] = l), (n = r);
}
}
function _(e) {
return void 0 === (e = e[0]) ? null : e;
}
function x(e) {
var t = e[0];
if (void 0 === t) return null;
var n = e.pop();
if (n !== t) {
e[0] = n;
e: for (var r = 0, l = e.length; r < l; ) {
var a = 2 * (r + 1) - 1,
o = e[a],
u = a + 1,
i = e[u];
if (void 0 !== o && C(o, n) < 0)
r =
void 0 !== i && C(i, o) < 0
? ((e[r] = i), (e[u] = n), u)
: ((e[r] = o), (e[a] = n), a);
else {
if (!(void 0 !== i && C(i, n) < 0)) break e;
(e[r] = i), (e[u] = n), (r = u);
}
}
}
return t;
}
function C(e, t) {
var n = e.sortIndex - t.sortIndex;
return 0 !== n ? n : e.id - t.id;
}
var P = [],
N = [],
T = 1,
L = null,
z = 3,
O = !1,
R = !1,
M = !1;
function I(e) {
for (var t = _(N); null !== t; ) {
if (null === t.callback) x(N);
else {
if (!(t.startTime <= e)) break;
x(N), (t.sortIndex = t.expirationTime), E(P, t);
}
t = _(N);
}
}
function F(e) {
if (((M = !1), I(e), !R))
if (null !== _(P)) (R = !0), a(D);
else {
var t = _(N);
null !== t && i(F, t.startTime - e);
}
}
function D(e, t) {
(R = !1), M && ((M = !1), s()), (O = !0);
var n = z;
try {
for (
I(t), L = _(P);
null !== L &&
(!(L.expirationTime > t) || (e && !u.unstable_shouldYield()));
) {
var r = L.callback;
if ("function" == typeof r) {
(L.callback = null), (z = L.priorityLevel);
var l = r(L.expirationTime <= t);
(t = u.unstable_now()),
"function" == typeof l
? (L.callback = l)
: L === _(P) && x(P),
I(t);
} else x(P);
L = _(P);
}
if (null !== L) var a = !0;
else {
var o = _(N);
null !== o && i(F, o.startTime - t), (a = !1);
}
return a;
} finally {
(L = null), (z = n), (O = !1);
}
}
var U = n;
(u.unstable_IdlePriority = 5),
(u.unstable_ImmediatePriority = 1),
(u.unstable_LowPriority = 4),
(u.unstable_NormalPriority = 3),
(u.unstable_Profiling = null),
(u.unstable_UserBlockingPriority = 2),
(u.unstable_cancelCallback = function (e) {
e.callback = null;
}),
(u.unstable_continueExecution = function () {
R || O || ((R = !0), a(D));
}),
(u.unstable_getCurrentPriorityLevel = function () {
return z;
}),
(u.unstable_getFirstCallbackNode = function () {
return _(P);
}),
(u.unstable_next = function (e) {
switch (z) {
case 1:
case 2:
case 3:
var t = 3;
break;
default:
t = z;
}
var n = z;
z = t;
try {
return e();
} finally {
z = n;
}
}),
(u.unstable_pauseExecution = function () {}),
(u.unstable_requestPaint = U),
(u.unstable_runWithPriority = function (e, t) {
switch (e) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
e = 3;
}
var n = z;
z = e;
try {
return t();
} finally {
z = n;
}
}),
(u.unstable_scheduleCallback = function (e, t, n) {
var r = u.unstable_now();
switch (
((n =
"object" == typeof n &&
null !== n &&
"number" == typeof (n = n.delay) &&
0 < n
? r + n
: r),
e)
) {
case 1:
var l = -1;
break;
case 2:
l = 250;
break;
case 5:
l = 1073741823;
break;
case 4:
l = 1e4;
break;
default:
l = 5e3;
}
return (
(e = {
id: T++,
callback: t,
priorityLevel: e,
startTime: n,
expirationTime: (l = n + l),
sortIndex: -1,
}),
r < n
? ((e.sortIndex = n),
E(N, e),
null === _(P) &&
e === _(N) &&
(M ? s() : (M = !0), i(F, n - r)))
: ((e.sortIndex = l), E(P, e), R || O || ((R = !0), a(D))),
e
);
}),
(u.unstable_wrapCallback = function (t) {
var n = z;
return function () {
var e = z;
z = n;
try {
return t.apply(this, arguments);
} finally {
z = e;
}
};
});
},
,
function (e, t, n) {
"use strict";
n(6);
var r = n(2),
u = 60103;
if (
((t.Fragment = 60107), "function" == typeof Symbol && Symbol.for)
) {
var l = Symbol.for;
(u = l("react.element")), (t.Fragment = l("react.fragment"));
}
var i =
r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
.ReactCurrentOwner,
s = Object.prototype.hasOwnProperty,
c = { key: !0, ref: !0, __self: !0, __source: !0 };
function a(e, t, n) {
var r,
l = {},
a = null,
o = null;
for (r in (void 0 !== n && (a = "" + n),
void 0 !== t.key && (a = "" + t.key),
void 0 !== t.ref && (o = t.ref),
t))
s.call(t, r) && !c.hasOwnProperty(r) && (l[r] = t[r]);
if (e && e.defaultProps)
for (r in (t = e.defaultProps))
void 0 === l[r] && (l[r] = t[r]);
return {
$$typeof: u,
type: e,
key: a,
ref: o,
props: l,
_owner: i.current,
};
}
(t.jsx = a), (t.jsxs = a);
},
],
]);
</script>
<script type="text/javascript">
(this["webpackJsonpmy-app"] = this["webpackJsonpmy-app"] || []).push([
[0],
{
13: function (e, t, n) {},
8: function (e, t, n) {
"use strict";
n.r(t);
var te = n(3),
ne = n(1),
c = n(2),
ce = n.n(c),
s = n(7),
o = n.n(s),
se = (n(13), n(0));
function oe() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
/[xy]/g,
function (e) {
var t = (16 * Math.random()) | 0;
return ("x" == e ? t : (3 & t) | 8).toString(16);
}
);
}
function le(t, n) {
var e =
!(2 < arguments.length && void 0 !== arguments[2]) ||
arguments[2],
c = ce.a.useState(function () {
var e = window.localStorage.getItem(n);
return null !== e ? JSON.parse(e) : t;
}),
s = Object(ne.a)(c, 2),
o = s[0],
l = s[1];
return (
ce.a.useEffect(
function () {
e && window.localStorage.setItem(n, JSON.stringify(o));
},
[n, o]
),
[o, l]
);
}
function ae(c) {
var e,
t,
n,
s,
o = le(0, "elapsedTime"),
l = Object(ne.a)(o, 2),
a = l[0],
i = l[1],
r = ce.a.useState(!1),
u = Object(ne.a)(r, 2),
d = u[0],
m = u[1],
h = ce.a.useState(!1),
b = Object(ne.a)(h, 2),
j = b[0],
x = b[1],
f = ce.a.useState(!1),
O = Object(ne.a)(f, 2),
y = O[0],
g = O[1],
p = le("", "notepad"),
w = Object(ne.a)(p, 2),
v = w[0],
S = w[1],
C = le(!1, "countSpecial"),
k = Object(ne.a)(C, 2),
T = k[0],
N = k[1],
E = c.state.logItems.length,
I = "《》「」『』[]()〈〉≪≫。、.,':!?!?…――─ー~→♪\" \t";
(e = T
? c.state.logItems.reduce(function (e, t) {
return t.text.length + e;
}, 0)
: c.state.logItems.reduce(function (e, t) {
for (
var n = t.text
.replace(/(\r\n|\n|\r)/gm, "")
.split(" ")
.join(""),
c = 0;
c < I.length;
c++
)
n = n.split(I[c]).join("");
return n.length + e;
}, 0)),
(n = function () {
d || i(a + 1e4);
}),
(s = ce.a.useRef()),
ce.a.useEffect(
function () {
s.current = n;
},
[n]
),
ce.a.useEffect(
function () {
var e = setInterval(function () {
s.current();
}, 1e4);
return function () {
return clearInterval(e);
};
},
[1e4]
),
(t = j
? Object(se.jsxs)("div", {
children: [
Object(se.jsx)("div", {
onClick: function () {
return x(!j);
},
className: "icon-edit menuitem",
children: "Hide notepad",
}),
Object(se.jsx)("br", {}),
Object(se.jsx)("textarea", {
style: {
fontSize: "inherit",
fontFamily: "inherit",
width: window.innerWidth / 2,
height: window.innerHeight / 4,
resize: "none",
},
onChange: function (e) {
return S(e.target.value);
},
value: v,
}),
],
})
: Object(se.jsx)("div", {
children: Object(se.jsx)("span", {
onClick: function () {
return x(!j);
},
className: "icon-edit menuitem",
children: "Show notepad",
}),
}));
var L = Math.round(e / (a / 1e3 / 60 / 60)),
H = "STOP";
return (
d && (H = "RESUME"),
Object(se.jsxs)("div", {
id: "menu",
children: [
Object(se.jsxs)("div", {
style: { textAlign: "right" },
children: [
Object(se.jsxs)("span", {
onClick: function () {
return m(!d);
},
title:
"Click to " + (d ? "resume" : "pause") + " timer",
class: "menuitem",
style: {
marginRight: "1.5em",
display: c.state.showTimer
? "inline-block"
: "none",
color: d ? "#18FFFF" : "#FF5722",
},
children: H,
}),
Object(se.jsxs)("span", {
title: "Total time read / Reading speed",
class: "distracting-stats",
style: {
marginRight: "0.5em",
display: c.state.showTimer
? "inline-block"
: "none",
},
children: [
(function (e) {
Math.floor((e % 1e3) / 100);
var t = Math.floor((e / 1e3) % 60),
n = Math.floor((e / 6e4) % 60),
c = Math.floor((e / 36e5) % 24);
return (
(c = c < 10 ? "0" + c : c) +
":" +
(n = n < 10 ? "0" + n : n) +
":" +
(t < 10 ? "0" + t : t)
);
})(a),
" (",
L,
"/hr) ",
],
}),
Object(se.jsxs)("span", {
style: {
display: c.state.showCharCount ? "inline" : "none",
},
title: "Total characters / Total lines",
children: [e, " / ", E],
}),
Object(se.jsx)("span", {
title: "Delete last line",
onClick: function () {
var e = document.querySelectorAll(".delete_button");
e[e.length - 1].click();
},
className: "icon-cancel-1 menuitem",
children: " ",
}),
Object(se.jsx)("span", {
style: { marginRight: "0.2em", fontWeight: "bold" },
title: "Undo last line deletion",
onClick: function () {
var e = Object(ne.a)(
c.state.delHistory.slice(-1)[0],
2
),
t = e[0],
n = e[1];
c.state.setDelHistory(
c.state.delHistory.filter(function (e) {
return e[1].id !== n.id;
})
),
c.state.setLogItems(
[].concat(
Object(te.a)(c.state.logItems.slice(0, t)),
[n],
Object(te.a)(c.state.logItems.slice(t))
)
);
},
className: "menuitem",
children: "⟳",
}),
Object(se.jsx)("span", {
title: "Toggle menu",
onClick: function () {
return g(!y);
},
className: "icon-menu menuitem",
}),
],
}),
y && [
Object(se.jsx)("div", {
onClick: function () {
window.confirm("Clear all lines?") &&
(c.state.setLogItems([]),
window.localStorage.setItem("logItems", "[]"));
},
className: "icon-trash menuitem",
children: "Clear all lines",
}),
Object(se.jsx)("br", {}),
Object(se.jsx)("div", {
onClick: function () {
return i(0);
},
className: "icon-clock menuitem",
children: "Reset timer",
}),
t,
Object(se.jsx)("div", {
className: "icon-cog",
children: "Options",
}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.showCharCount,
onChange: function () {
return c.state.setShowCharCount(
!c.state.showCharCount
);
},
}),
"Show character / line count",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.showTimer,
onChange: function () {
return c.state.setShowTimer(!c.state.showTimer);
},
}),
"Show timer and chars/hour",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.verticalText,
onChange: function () {
return c.state.setVerticalText(
!c.state.verticalText
);
},
}),
"Display text vertically",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.removeWS,
onChange: function () {
return c.state.setRemoveWS(!c.state.removeWS);
},
}),
"Remove all whitespace characters",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.alwaysInsert,
onChange: function () {
return c.state.setAlwaysInsert(
!c.state.alwaysInsert
);
},
}),
"Insert copies made on this page",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: !c.state.alwaysScroll,
onChange: function () {
return c.state.setAlwaysScroll(
!c.state.alwaysScroll
);
},
}),
"Only autoscroll when near bottom",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.showXs,
onChange: function () {
return c.state.setShowXs(!c.state.showXs);
},
}),
"Show line delete Xs",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.storeLines,
onChange: function () {
return c.state.setStoreLines(!c.state.storeLines);
},
}),
"Store lines persistently",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: c.state.selectAll,
onChange: function () {
return c.state.setSelectAll(!c.state.selectAll);
},
}),
"Always select entire line",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("label", {
className: "menuitem",
children: [
Object(se.jsx)("input", {
type: "checkbox",
checked: !T,
onChange: function () {
return N(!T);
},
}),
"Don't count special chars",
],
}),
Object(se.jsx)("br", {}),
Object(se.jsxs)("div", {
className: "icon-brush",
children: [
"Custom CSS",
Object(se.jsx)("textarea", {
style: {
height: 100,
display: "block",
fontSize: "inherit",
fontFamily: "inherit",
width: 256,
},
spellCheck: "false",
onChange: function (e) {
return c.state.setCss(e.target.value);
},
value: c.state.css,
}),
],
}),
Object(se.jsx)("div", {
onClick: function () {
window.confirm(
"Are you sure you wish to reset everything?"
) &&
(window.localStorage.clear(),
window.location.reload());
},
className: "icon-trash menuitem",
children: "Reset everything to default",
}),
],
],
})
);
}
o.a.render(
Object(se.jsx)(function (e) {
var t = le(!0, "showCharCount"),
n = Object(ne.a)(t, 2),
c = n[0],
s = n[1],
o = le(!0, "showTimer"),
l = Object(ne.a)(o, 2),
a = l[0],
i = l[1],
r = le(!1, "verticalText"),
u = Object(ne.a)(r, 2),
d = u[0],
m = u[1],
h = le(!1, "alwaysScroll"),
b = Object(ne.a)(h, 2),
j = b[0],
x = b[1],
f = le(!1, "alwaysInsert"),
O = Object(ne.a)(f, 2),
y = O[0],
g = O[1],
p = le(!1, "removeWS"),
w = Object(ne.a)(p, 2),
v = w[0],
S = w[1],
C = ce.a.useState(0),
k = Object(ne.a)(C, 2),
T = k[0],
N = k[1],
E = le(!1, "selectAll"),
I = Object(ne.a)(E, 2),
L = I[0],
H = I[1],
A = le(!0, "showXs"),
X = Object(ne.a)(A, 2),
M = X[0],
W = X[1],
D = le(!0, "storeLines"),
R = Object(ne.a)(D, 2),
z = R[0],
P = R[1],
J = le([], "logItemsList", z),
Y = Object(ne.a)(J, 2),
F = Y[0],
G = Y[1],
U = ce.a.useState([]),
V = Object(ne.a)(U, 2),
_ = V[0],
q = V[1],
K = le(
'color: #bdbdbd;\nbackground-color: #202020;\nfont-size: 1.75em;\nline-height: 200%;\nmargin: 5%;\nfont-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;',
"css"
),
B = Object(ne.a)(K, 2),
Q = B[0],
Z = B[1],
$ = function (e) {
e.forEach(function (e) {
e.addedNodes.forEach(function (t) {
var e, n, c, s, o, l, a;
"P" === t.tagName &&
((1e3 < Date.now() - T || y) &&
(G(
v
? function (e) {
return [].concat(Object(te.a)(e), [
{
id: oe(),
text: t.textContent.replace(
/\s+/gm,
""
),
},
]);
}
: function (e) {
return [].concat(Object(te.a)(e), [
{ id: oe(), text: t.textContent },
]);
}
),
d
? ((o = document.documentElement),
(l = document.body),
((o[(a = "scrollLeft")] || l[a]) < 300 || j) &&
(document.body.scrollTo(0, 0),
document.documentElement.scrollTo(0, 0)))
: ((e = document.documentElement),
(n = document.body),
(s = "scrollHeight"),
(-(e[(c = "scrollTop")] || n[c]) +
((e[s] || n[s]) - e.clientHeight) <
300 ||
j) &&
(document.body.scrollTo(
0,
document.body.scrollHeight +
document.body.clientHeight
),
document.documentElement.scrollTo(
0,
document.documentElement.scrollHeight +
document.documentElement.clientHeight
)))),
t.remove());
});
});
};
ce.a.useEffect(function () {
var e = function (e) {
return e.preventDefault();
};
return (
document.body.addEventListener("wheel", e, { passive: !1 }),
function () {
document.body.removeEventListener("wheel", e);
}
);
}, []),
ce.a.useEffect(
function () {
var e = new MutationObserver($);
return (
e.observe(document.body, {
childList: !0,
attributes: !1,
}),
function () {
e.disconnect();
}
);
},
[F, T]
),
ce.a.useEffect(function () {
setTimeout(function () {
d
? (document.body.scrollTo(0, 0),
document.documentElement.scrollTo(0, 0))
: (document.body.scrollTo(
0,
document.body.scrollHeight +
document.body.clientHeight
),
document.documentElement.scrollTo(
0,
document.documentElement.scrollHeight +
document.documentElement.clientHeight
)),
document.body.addEventListener("copy", function (e) {
N(Date.now());
});
}, 0);
}, []),
ce.a.useEffect(
function () {
document.body.setAttribute("style", Q);
},
[Q]
);
var ee = "";
return (
L && (ee = "logline-select"),
Object(se.jsxs)(ce.a.Fragment, {
children: [
Object(se.jsx)(ae, {
state: {
logItems: F,
setLogItems: G,
showXs: M,
setShowXs: W,
storeLines: z,
setStoreLines: P,
css: Q,
setCss: Z,
selectAll: L,
setSelectAll: H,
removeWS: v,
setRemoveWS: S,
alwaysInsert: y,
setAlwaysInsert: g,
alwaysScroll: j,
setAlwaysScroll: x,
showCharCount: c,
setShowCharCount: s,
showTimer: a,
setShowTimer: i,
verticalText: d,
setVerticalText: m,
delHistory: _,
setDelHistory: q,
},
}),
Object(se.jsx)("div", {
onWheel: function (e) {
d
? ((document.body.scrollLeft -= e.deltaY),
(document.body.scrollTop += e.deltaX),
(document.documentElement.scrollLeft -= e.deltaY),
(document.documentElement.scrollTop += e.deltaX))
: ((document.body.scrollLeft += e.deltaX),
(document.body.scrollTop += e.deltaY),
(document.documentElement.scrollLeft += e.deltaX),
(document.documentElement.scrollTop += e.deltaY));
},
style: {
writingMode: d ? "vertical-rl" : "horizontal-tb",
},
id: "textlog",
children: F.map(function (t, n) {
return Object(se.jsxs)(
"div",
{
className: "textline",
style: { height: d ? "85%" : "" },
children: [
Object(se.jsx)("span", {
className: "dragger",
}),
Object(se.jsx)("span", {
className: ee,
children: t.text + "\n",
}),
Object(se.jsx)("span", {
style: { display: M ? "inline" : "none" },
className: "delete_button icon-cancel-1",
onClick: function () {
q(function (e) {
return [].concat(Object(te.a)(e), [
[n, t],
]);
}),
G(
F.filter(function (e, t) {
return t !== n;
})
);
},
}),
],
},
t.id
);
}),
}),
],
})
);
}, {}),
document.body
);
},
},
[[8, 1, 2]],
]);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment