diff options
Diffstat (limited to 'bench/react-hello-world/react-hello-world.node.js')
-rw-r--r-- | bench/react-hello-world/react-hello-world.node.js | 3285 |
1 files changed, 817 insertions, 2468 deletions
diff --git a/bench/react-hello-world/react-hello-world.node.js b/bench/react-hello-world/react-hello-world.node.js index df9f0eaee..f2c7ae635 100644 --- a/bench/react-hello-world/react-hello-world.node.js +++ b/bench/react-hello-world/react-hello-world.node.js @@ -17,15 +17,9 @@ var Kd = (e, n, i, s) => { return e; }; var Dc = (e, n, i) => ( - (i = e != null ? Gd(Jd(e)) : {}), - Kd( - n || !e || !e.__esModule - ? Ac(i, "default", { value: e, enumerable: !0 }) - : i, - e - ) + (i = e != null ? Gd(Jd(e)) : {}), Kd(n || !e || !e.__esModule ? Ac(i, "default", { value: e, enumerable: !0 }) : i, e) ); -var Nc = an(($) => { +var Nc = an($ => { "use strict"; var Ai = Symbol.for("react.element"), qd = Symbol.for("react.portal"), @@ -42,8 +36,7 @@ var Nc = an(($) => { function up(e) { return e === null || typeof e != "object" ? null - : ((e = (Oc && e[Oc]) || e["@@iterator"]), - typeof e == "function" ? e : null); + : ((e = (Oc && e[Oc]) || e["@@iterator"]), typeof e == "function" ? e : null); } var Bc = { isMounted: function () { @@ -56,16 +49,13 @@ var Nc = an(($) => { Uc = Object.assign, jc = {}; function sa(e, n, i) { - (this.props = e), - (this.context = n), - (this.refs = jc), - (this.updater = i || Bc); + (this.props = e), (this.context = n), (this.refs = jc), (this.updater = i || Bc); } sa.prototype.isReactComponent = {}; sa.prototype.setState = function (e, n) { if (typeof e != "object" && typeof e != "function" && e != null) throw Error( - "setState(...): takes an object of state variables to update or a function which returns an object of state variables." + "setState(...): takes an object of state variables to update or a function which returns an object of state variables.", ); this.updater.enqueueSetState(this, e, n, "setState"); }; @@ -75,10 +65,7 @@ var Nc = an(($) => { function Hc() {} Hc.prototype = sa.prototype; function Hu(e, n, i) { - (this.props = e), - (this.context = n), - (this.refs = jc), - (this.updater = i || Bc); + (this.props = e), (this.context = n), (this.refs = jc), (this.updater = i || Bc); } var Wu = (Hu.prototype = new Hc()); Wu.constructor = Hu; @@ -94,9 +81,7 @@ var Nc = an(($) => { c = null, m = null; if (n != null) - for (s in (n.ref !== void 0 && (m = n.ref), - n.key !== void 0 && (c = "" + n.key), - n)) + for (s in (n.ref !== void 0 && (m = n.ref), n.key !== void 0 && (c = "" + n.key), n)) Wc.call(n, s) && !zc.hasOwnProperty(s) && (v[s] = n[s]); var S = arguments.length - 2; if (S === 1) v.children = i; @@ -104,8 +89,7 @@ var Nc = an(($) => { for (var E = Array(S), x = 0; x < S; x++) E[x] = arguments[x + 2]; v.children = E; } - if (e && e.defaultProps) - for (s in ((S = e.defaultProps), S)) v[s] === void 0 && (v[s] = S[s]); + if (e && e.defaultProps) for (s in ((S = e.defaultProps), S)) v[s] === void 0 && (v[s] = S[s]); return { $$typeof: Ai, type: e, @@ -139,9 +123,7 @@ var Nc = an(($) => { } var Lc = /\/+/g; function ju(e, n) { - return typeof e == "object" && e !== null && e.key != null - ? fp("" + e.key) - : n.toString(36); + return typeof e == "object" && e !== null && e.key != null ? fp("" + e.key) : n.toString(36); } function Ml(e, n, i, s, v) { var c = typeof e; @@ -174,14 +156,7 @@ var Nc = an(($) => { })) : v != null && ($u(v) && - (v = cp( - v, - i + - (!v.key || (m && m.key === v.key) - ? "" - : ("" + v.key).replace(Lc, "$&/") + "/") + - e - )), + (v = cp(v, i + (!v.key || (m && m.key === v.key) ? "" : ("" + v.key).replace(Lc, "$&/") + "/") + e)), n.push(v)), 1 ); @@ -192,17 +167,14 @@ var Nc = an(($) => { m += Ml(c, n, i, E, v); } else if (((E = up(e)), typeof E == "function")) - for (e = E.call(e), S = 0; !(c = e.next()).done; ) - (c = c.value), (E = s + ju(c, S++)), (m += Ml(c, n, i, E, v)); + for (e = E.call(e), S = 0; !(c = e.next()).done; ) (c = c.value), (E = s + ju(c, S++)), (m += Ml(c, n, i, E, v)); else if (c === "object") throw ( ((n = String(e)), Error( "Objects are not valid as a React child (found: " + - (n === "[object Object]" - ? "object with keys {" + Object.keys(e).join(", ") + "}" - : n) + - "). If you meant to render a collection of children, use an array instead." + (n === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : n) + + "). If you meant to render a collection of children, use an array instead.", )) ); return m; @@ -224,13 +196,11 @@ var Nc = an(($) => { (n = n()), n.then( function (i) { - (e._status === 0 || e._status === -1) && - ((e._status = 1), (e._result = i)); + (e._status === 0 || e._status === -1) && ((e._status = 1), (e._result = i)); }, function (i) { - (e._status === 0 || e._status === -1) && - ((e._status = 2), (e._result = i)); - } + (e._status === 0 || e._status === -1) && ((e._status = 2), (e._result = i)); + }, ), e._status === -1 && ((e._status = 0), (e._result = n)); } @@ -252,7 +222,7 @@ var Nc = an(($) => { function () { n.apply(this, arguments); }, - i + i, ); }, count: function (e) { @@ -272,10 +242,7 @@ var Nc = an(($) => { ); }, only: function (e) { - if (!$u(e)) - throw Error( - "React.Children.only expected to receive a single React element child." - ); + if (!$u(e)) throw Error("React.Children.only expected to receive a single React element child."); return e; }, }; @@ -288,11 +255,7 @@ var Nc = an(($) => { $.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = pp; $.cloneElement = function (e, n, i) { if (e == null) - throw Error( - "React.cloneElement(...): The argument must be a React element, but you passed " + - e + - "." - ); + throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); var s = Uc({}, e.props), v = e.key, c = e.ref, @@ -304,10 +267,7 @@ var Nc = an(($) => { e.type && e.type.defaultProps) ) var S = e.type.defaultProps; - for (E in n) - Wc.call(n, E) && - !zc.hasOwnProperty(E) && - (s[E] = n[E] === void 0 && S !== void 0 ? S[E] : n[E]); + for (E in n) Wc.call(n, E) && !zc.hasOwnProperty(E) && (s[E] = n[E] === void 0 && S !== void 0 ? S[E] : n[E]); } var E = arguments.length - 2; if (E === 1) s.children = i; @@ -415,8 +375,7 @@ var Vc = an((N, Bl) => { (function () { "use strict"; typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == - "function" && + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); var e = "18.2.0", n = Symbol.for("react.element"), @@ -475,23 +434,13 @@ var Vc = an((N, Bl) => { (ft.ReactDebugCurrentFrame = _e), (ft.ReactCurrentActQueue = q); function Me(h) { { - for ( - var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), T = 1; - T < b; - T++ - ) - k[T - 1] = arguments[T]; + for (var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), T = 1; T < b; T++) k[T - 1] = arguments[T]; Er("warn", h, k); } } function B(h) { { - for ( - var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), T = 1; - T < b; - T++ - ) - k[T - 1] = arguments[T]; + for (var b = arguments.length, k = new Array(b > 1 ? b - 1 : 0), T = 1; T < b; T++) k[T - 1] = arguments[T]; Er("error", h, k); } } @@ -503,8 +452,7 @@ var Vc = an((N, Bl) => { var U = k.map(function (M) { return String(M); }); - U.unshift("Warning: " + b), - Function.prototype.apply.call(console[h], console, U); + U.unshift("Warning: " + b), Function.prototype.apply.call(console[h], console, U); } } var tt = {}; @@ -517,7 +465,7 @@ var Vc = an((N, Bl) => { B( "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", b, - T + T, ), (tt[I] = !0); } @@ -540,16 +488,13 @@ var Vc = an((N, Bl) => { er = {}; Object.freeze(er); function re(h, b, k) { - (this.props = h), - (this.context = b), - (this.refs = er), - (this.updater = k || bt); + (this.props = h), (this.context = b), (this.refs = er), (this.updater = k || bt); } (re.prototype.isReactComponent = {}), (re.prototype.setState = function (h, b) { if (typeof h != "object" && typeof h != "function" && h != null) throw new Error( - "setState(...): takes an object of state variables to update or a function which returns an object of state variables." + "setState(...): takes an object of state variables to update or a function which returns an object of state variables.", ); this.updater.enqueueSetState(this, h, b, "setState"); }), @@ -570,11 +515,7 @@ var Vc = an((N, Bl) => { tr = function (h, b) { Object.defineProperty(re.prototype, h, { get: function () { - Me( - "%s(...) is deprecated in plain JavaScript React classes. %s", - b[0], - b[1] - ); + Me("%s(...) is deprecated in plain JavaScript React classes. %s", b[0], b[1]); }, }); }; @@ -583,15 +524,10 @@ var Vc = an((N, Bl) => { function nr() {} nr.prototype = re.prototype; function Rr(h, b, k) { - (this.props = h), - (this.context = b), - (this.refs = er), - (this.updater = k || bt); + (this.props = h), (this.context = b), (this.refs = er), (this.updater = k || bt); } var St = (Rr.prototype = new nr()); - (St.constructor = Rr), - Le(St, re.prototype), - (St.isPureReactComponent = !0); + (St.constructor = Rr), Le(St, re.prototype), (St.isPureReactComponent = !0); function so() { var h = { current: null }; return Object.seal(h), h; @@ -622,7 +558,7 @@ var Vc = an((N, Bl) => { return ( B( "The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", - ve(h) + ve(h), ), or(h) ); @@ -641,7 +577,7 @@ var Vc = an((N, Bl) => { if ( (typeof h.tag == "number" && B( - "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.", ), typeof h == "function") ) @@ -713,11 +649,10 @@ var Vc = an((N, Bl) => { ((lr = !0), B( "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", - b + b, )); }; - (k.isReactWarning = !0), - Object.defineProperty(h, "key", { get: k, configurable: !0 }); + (k.isReactWarning = !0), Object.defineProperty(h, "key", { get: k, configurable: !0 }); } function va(h, b) { var k = function () { @@ -725,25 +660,19 @@ var Vc = an((N, Bl) => { ((fn = !0), B( "%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", - b + b, )); }; - (k.isReactWarning = !0), - Object.defineProperty(h, "ref", { get: k, configurable: !0 }); + (k.isReactWarning = !0), Object.defineProperty(h, "ref", { get: k, configurable: !0 }); } function ga(h) { - if ( - typeof h.ref == "string" && - xe.current && - h.__self && - xe.current.stateNode !== h.__self - ) { + if (typeof h.ref == "string" && xe.current && h.__self && xe.current.stateNode !== h.__self) { var b = dt(xe.current.type); sr[b] || (B( 'Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', b, - h.ref + h.ref, ), (sr[b] = !0)); } @@ -799,8 +728,7 @@ var Vc = an((N, Bl) => { for (T in ee) I[T] === void 0 && (I[T] = ee[T]); } if (U || M) { - var fe = - typeof h == "function" ? h.displayName || h.name || "Unknown" : h; + var fe = typeof h == "function" ? h.displayName || h.name || "Unknown" : h; U && po(I, fe), M && va(I, fe); } return dn(h, U, M, H, z, xe.current, I); @@ -811,11 +739,7 @@ var Vc = an((N, Bl) => { } function pn(h, b, k) { if (h == null) - throw new Error( - "React.cloneElement(...): The argument must be a React element, but you passed " + - h + - "." - ); + throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + h + "."); var T, I = Le({}, h.props), U = h.key, @@ -824,20 +748,16 @@ var Vc = an((N, Bl) => { z = h._source, Y = h._owner; if (b != null) { - pt(b) && ((M = b.ref), (Y = xe.current)), - ke(b) && (je(b.key), (U = "" + b.key)); + pt(b) && ((M = b.ref), (Y = xe.current)), ke(b) && (je(b.key), (U = "" + b.key)); var Q; h.type && h.type.defaultProps && (Q = h.type.defaultProps); for (T in b) - ir.call(b, T) && - !fo.hasOwnProperty(T) && - (b[T] === void 0 && Q !== void 0 ? (I[T] = Q[T]) : (I[T] = b[T])); + ir.call(b, T) && !fo.hasOwnProperty(T) && (b[T] === void 0 && Q !== void 0 ? (I[T] = Q[T]) : (I[T] = b[T])); } var K = arguments.length - 2; if (K === 1) I.children = k; else if (K > 1) { - for (var ee = Array(K), fe = 0; fe < K; fe++) - ee[fe] = arguments[fe + 2]; + for (var ee = Array(K), fe = 0; fe < K; fe++) ee[fe] = arguments[fe + 2]; I.children = ee; } return dn(h.type, U, M, H, z, Y, I); @@ -861,9 +781,7 @@ var Vc = an((N, Bl) => { return h.replace(hn, "$&/"); } function Ir(h, b) { - return typeof h == "object" && h !== null && h.key != null - ? (je(h.key), go("" + h.key)) - : b.toString(36); + return typeof h == "object" && h !== null && h.key != null ? (je(h.key), go("" + h.key)) : b.toString(36); } function ur(h, b, k, T, I) { var U = typeof h; @@ -897,14 +815,7 @@ var Vc = an((N, Bl) => { z != null && (wt(z) && (z.key && (!H || H.key !== z.key) && je(z.key), - (z = ma( - z, - k + - (z.key && (!H || H.key !== z.key) - ? vn("" + z.key) + "/" - : "") + - Y - ))), + (z = ma(z, k + (z.key && (!H || H.key !== z.key) ? vn("" + z.key) + "/" : "") + Y))), b.push(z)); return 1; } @@ -912,31 +823,22 @@ var Vc = an((N, Bl) => { ee, fe = 0, Se = T === "" ? Te : T + vo; - if (ye(h)) - for (var yr = 0; yr < h.length; yr++) - (K = h[yr]), (ee = Se + Ir(K, yr)), (fe += ur(K, b, k, ee, I)); + if (ye(h)) for (var yr = 0; yr < h.length; yr++) (K = h[yr]), (ee = Se + Ir(K, yr)), (fe += ur(K, b, k, ee, I)); else { var Pn = P(h); if (typeof Pn == "function") { var Wr = h; Pn === Wr.entries && - (xt || - Me( - "Using Maps as children is not supported. Use an array of keyed ReactElements instead." - ), + (xt || Me("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), (xt = !0)); for (var Co = Pn.call(Wr), zr, Oa = 0; !(zr = Co.next()).done; ) - (K = zr.value), - (ee = Se + Ir(K, Oa++)), - (fe += ur(K, b, k, ee, I)); + (K = zr.value), (ee = Se + Ir(K, Oa++)), (fe += ur(K, b, k, ee, I)); } else if (U === "object") { var Eo = String(h); throw new Error( "Objects are not valid as a React child (found: " + - (Eo === "[object Object]" - ? "object with keys {" + Object.keys(h).join(", ") + "}" - : Eo) + - "). If you meant to render a collection of children, use an array instead." + (Eo === "[object Object]" ? "object with keys {" + Object.keys(h).join(", ") + "}" : Eo) + + "). If you meant to render a collection of children, use an array instead.", ); } } @@ -968,7 +870,7 @@ var Vc = an((N, Bl) => { function () { b.apply(this, arguments); }, - k + k, ); } function mo(h) { @@ -979,10 +881,7 @@ var Vc = an((N, Bl) => { ); } function Ut(h) { - if (!wt(h)) - throw new Error( - "React.Children.only expected to receive a single React element child." - ); + if (!wt(h)) throw new Error("React.Children.only expected to receive a single React element child."); return h; } function gn(h) { @@ -1009,7 +908,7 @@ var Vc = an((N, Bl) => { T || ((T = !0), B( - "Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?" + "Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?", )), b.Provider ); @@ -1048,7 +947,7 @@ var Vc = an((N, Bl) => { k || ((k = !0), B( - "Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?" + "Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?", )), b.Consumer ); @@ -1062,7 +961,7 @@ var Vc = an((N, Bl) => { I || (Me( "Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", - M + M, ), (I = !0)); }, @@ -1093,7 +992,7 @@ var Vc = an((N, Bl) => { var M = h; (M._status = Sa), (M._result = U); } - } + }, ), h._status === jt) ) { @@ -1112,7 +1011,7 @@ Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) Did you accidentally put curly braces around the import?`, - I + I, ), "default" in I || B( @@ -1120,7 +1019,7 @@ Did you accidentally put curly braces around the import?`, Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`, - I + I, ), I.default ); @@ -1139,7 +1038,7 @@ Your code should look like: }, set: function (U) { B( - "React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it." + "React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.", ), (T = U), Object.defineProperty(k, "defaultProps", { enumerable: !0 }); @@ -1152,7 +1051,7 @@ Your code should look like: }, set: function (U) { B( - "React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it." + "React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.", ), (I = U), Object.defineProperty(k, "propTypes", { enumerable: !0 }); @@ -1165,25 +1064,22 @@ Your code should look like: function ka(h) { h != null && h.$$typeof === D ? B( - "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))." + "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).", ) : typeof h != "function" - ? B( - "forwardRef requires a render function but was given %s.", - h === null ? "null" : typeof h - ) + ? B("forwardRef requires a render function but was given %s.", h === null ? "null" : typeof h) : h.length !== 0 && h.length !== 2 && B( "forwardRef render functions accept exactly two parameters: props and ref. %s", h.length === 1 ? "Did you forget to use the ref parameter?" - : "Any additional parameter will be undefined." + : "Any additional parameter will be undefined.", ), h != null && (h.defaultProps != null || h.propTypes != null) && B( - "forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?" + "forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?", ); var b = { $$typeof: E, render: h }; { @@ -1231,10 +1127,7 @@ Your code should look like: } function Ta(h, b) { yo(h) || - B( - "memo: The first argument must be a component. Instead received: %s", - h === null ? "null" : typeof h - ); + B("memo: The first argument must be a component. Instead received: %s", h === null ? "null" : typeof h); var k = { $$typeof: D, type: h, compare: b === void 0 ? null : b }; { var T; @@ -1269,11 +1162,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f var k = h._context; k.Consumer === h ? B( - "Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?" + "Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?", ) : k.Provider === h && B( - "Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?" + "Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?", ); } return b.useContext(h); @@ -1389,10 +1282,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f groupEnd: Le({}, h, { value: Et }), }); } - Tt < 0 && - B( - "disabledDepth fell below zero. This is a bug in React. Please file an issue." - ); + Tt < 0 && B("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var Ee = ft.ReactCurrentDispatcher, @@ -1489,9 +1379,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ` ` + H[Y].replace(" at new ", " at "); return ( - h.displayName && - K.includes("<anonymous>") && - (K = K.replace("<anonymous>", h.displayName)), + h.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", h.displayName)), typeof h == "function" && Br.set(h, K), K ); @@ -1566,18 +1454,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[M] + - "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", ); throw ((z.name = "Invariant Violation"), z); } - H = h[M]( - b, - M, - T, - k, - null, - "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" - ); + H = h[M](b, M, T, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (Y) { H = Y; } @@ -1589,15 +1470,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f T || "React class", k, M, - typeof H + typeof H, ), pr(null)), H instanceof Error && !(H.message in Ce) && - ((Ce[H.message] = !0), - pr(I), - B("Failed %s type: %s", k, H.message), - pr(null)); + ((Ce[H.message] = !0), pr(I), B("Failed %s type: %s", k, H.message), pr(null)); } } } @@ -1665,15 +1543,12 @@ Check the top-level render call using <` + if (!Ur[k]) { Ur[k] = !0; var T = ""; - h && - h._owner && - h._owner !== xe.current && - (T = " It was passed a child from " + dt(h._owner.type) + "."), + h && h._owner && h._owner !== xe.current && (T = " It was passed a child from " + dt(h._owner.type) + "."), It(h), B( 'Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, - T + T, ), It(null); } @@ -1690,8 +1565,7 @@ Check the top-level render call using <` + else if (h) { var I = P(h); if (typeof I == "function" && I !== h.entries) - for (var U = I.call(h), M; !(M = U.next()).done; ) - wt(M.value) && Je(M.value, b); + for (var U = I.call(h), M; !(M = U.next()).done; ) wt(M.value) && Je(M.value, b); } } } @@ -1701,11 +1575,7 @@ Check the top-level render call using <` + if (b == null || typeof b == "string") return; var k; if (typeof b == "function") k = b.propTypes; - else if ( - typeof b == "object" && - (b.$$typeof === E || b.$$typeof === D) - ) - k = b.propTypes; + else if (typeof b == "object" && (b.$$typeof === E || b.$$typeof === D)) k = b.propTypes; else return; if (k) { var T = dt(b); @@ -1715,13 +1585,13 @@ Check the top-level render call using <` + var I = dt(b); B( "Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", - I || "Unknown" + I || "Unknown", ); } typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && B( - "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead." + "getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.", ); } } @@ -1733,26 +1603,20 @@ Check the top-level render call using <` + It(h), B( "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", - T + T, ), It(null); break; } } - h.ref !== null && - (It(h), - B("Invalid attribute `ref` supplied to `React.Fragment`."), - It(null)); + h.ref !== null && (It(h), B("Invalid attribute `ref` supplied to `React.Fragment`."), It(null)); } } function kn(h, b, k) { var T = yo(h); if (!T) { var I = ""; - (h === void 0 || - (typeof h == "object" && - h !== null && - Object.keys(h).length === 0)) && + (h === void 0 || (typeof h == "object" && h !== null && Object.keys(h).length === 0)) && (I += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."); var U = vt(b); @@ -1764,13 +1628,12 @@ Check the top-level render call using <` + ? (M = "array") : h !== void 0 && h.$$typeof === n ? ((M = "<" + (dt(h.type) || "Unknown") + " />"), - (I = - " Did you accidentally export a JSX literal instead of a component?")) + (I = " Did you accidentally export a JSX literal instead of a component?")) : (M = typeof h), B( "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, - I + I, ); } var H = ho.apply(this, arguments); @@ -1786,15 +1649,13 @@ Check the top-level render call using <` + Tn || ((Tn = !0), Me( - "React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead." + "React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.", )), Object.defineProperty(b, "type", { enumerable: !1, get: function () { return ( - Me( - "Factory.type is deprecated. Access the class directly before passing it to createFactory." - ), + Me("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", { value: h }), h ); @@ -1804,12 +1665,7 @@ Check the top-level render call using <` + ); } function ko(h, b, k) { - for ( - var T = pn.apply(this, arguments), I = 2; - I < arguments.length; - I++ - ) - xn(arguments[I], T.type); + for (var T = pn.apply(this, arguments), I = 2; I < arguments.length; I++) xn(arguments[I], T.type); return gr(T), T; } function To(h, b) { @@ -1824,7 +1680,7 @@ Check the top-level render call using <` + var I = T._updatedFibers.size; I > 10 && Me( - "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table." + "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.", ), T._updatedFibers.clear(); } @@ -1844,7 +1700,7 @@ Check the top-level render call using <` + ((Cn = !0), typeof MessageChannel > "u" && B( - "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning." + "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.", )); var U = new MessageChannel(); (U.port1.onmessage = I), U.port2.postMessage(void 0); @@ -1861,11 +1717,7 @@ Check the top-level render call using <` + var k = q.isBatchingLegacy, T; try { - if ( - ((q.isBatchingLegacy = !0), - (T = h()), - !k && q.didScheduleLegacyUpdate) - ) { + if (((q.isBatchingLegacy = !0), (T = h()), !k && q.didScheduleLegacyUpdate)) { var I = q.current; I !== null && ((q.didScheduleLegacyUpdate = !1), Rn(I)); } @@ -1874,11 +1726,7 @@ Check the top-level render call using <` + } finally { q.isBatchingLegacy = k; } - if ( - T !== null && - typeof T == "object" && - typeof T.then == "function" - ) { + if (T !== null && typeof T == "object" && typeof T.then == "function") { var U = T, M = !1, H = { @@ -1890,7 +1738,7 @@ Check the top-level render call using <` + }, function (Se) { mr(b), fe(Se); - } + }, ); }, }; @@ -1903,7 +1751,7 @@ Check the top-level render call using <` + M || ((Hr = !0), B( - "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);" + "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);", )); }), H @@ -1915,9 +1763,7 @@ Check the top-level render call using <` + Y !== null && (Rn(Y), (q.current = null)); var Q = { then: function (ee, fe) { - q.current === null - ? ((q.current = []), Be(z, ee, fe)) - : ee(z); + q.current === null ? ((q.current = []), Be(z, ee, fe)) : ee(z); }, }; return Q; @@ -1935,7 +1781,7 @@ Check the top-level render call using <` + function mr(h) { h !== gt - 1 && B( - "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. " + "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ", ), (gt = h); } @@ -2013,20 +1859,15 @@ Check the top-level render call using <` + (N.useTransition = Ar), (N.version = e), typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == - "function" && - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop( - new Error() - ); + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && + __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); })(); }); var ua = an((_v, Nu) => { "use strict"; - process.env.NODE_ENV === "production" - ? (Nu.exports = Nc()) - : (Nu.exports = Vc()); + process.env.NODE_ENV === "production" ? (Nu.exports = Nc()) : (Nu.exports = Vc()); }); -var Wf = an((ca) => { +var Wf = an(ca => { "use strict"; var pf = ua(), hp = require("stream"), @@ -2036,13 +1877,7 @@ var Wf = an((ca) => { Yc = {}, Gc = {}; function hf(e) { - return qe.call(Gc, e) - ? !0 - : qe.call(Yc, e) - ? !1 - : vp.test(e) - ? (Gc[e] = !0) - : ((Yc[e] = !0), !1); + return qe.call(Gc, e) ? !0 : qe.call(Yc, e) ? !1 : vp.test(e) ? (Gc[e] = !0) : ((Yc[e] = !0), !1); } function Ge(e, n, i, s, v, c, m) { (this.acceptsBooleans = n === 2 || n === 3 || n === 4), @@ -2072,12 +1907,7 @@ var Wf = an((ca) => { ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { Fe[e] = new Ge(e, 2, !1, e.toLowerCase(), null, !1, !1); }); - [ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", - ].forEach(function (e) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (e) { Fe[e] = new Ge(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" @@ -2107,12 +1937,10 @@ var Wf = an((ca) => { var n = e.replace(qu, ec); Fe[n] = new Ge(n, 1, !1, e, null, !1, !1); }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type" - .split(" ") - .forEach(function (e) { - var n = e.replace(qu, ec); - Fe[n] = new Ge(n, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); - }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (e) { + var n = e.replace(qu, ec); + Fe[n] = new Ge(n, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); + }); ["xml:base", "xml:lang", "xml:space"].forEach(function (e) { var n = e.replace(qu, ec); Fe[n] = new Ge(n, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); @@ -2120,15 +1948,7 @@ var Wf = an((ca) => { ["tabIndex", "crossOrigin"].forEach(function (e) { Fe[e] = new Ge(e, 1, !1, e.toLowerCase(), null, !1, !1); }); - Fe.xlinkHref = new Ge( - "xlinkHref", - 1, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1 - ); + Fe.xlinkHref = new Ge("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function (e) { Fe[e] = new Ge(e, 1, !1, e.toLowerCase(), null, !0, !0); }); @@ -2251,7 +2071,7 @@ var Wf = an((ca) => { function vf(e, n, i) { if (typeof i != "object") throw Error( - "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." + "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.", ); n = !0; for (var s in i) @@ -2264,20 +2084,11 @@ var Wf = an((ca) => { } else { c = s; var m = Xc.get(c); - m !== void 0 || - ((m = Ye(c.replace(yp, "-$1").toLowerCase().replace(bp, "-ms-"))), - Xc.set(c, m)), + m !== void 0 || ((m = Ye(c.replace(yp, "-$1").toLowerCase().replace(bp, "-ms-"))), Xc.set(c, m)), (c = m), - (v = - typeof v == "number" - ? v === 0 || qe.call(Hl, s) - ? "" + v - : v + "px" - : Ye(("" + v).trim())); + (v = typeof v == "number" ? (v === 0 || qe.call(Hl, s) ? "" + v : v + "px") : Ye(("" + v).trim())); } - n - ? ((n = !1), e.push(' style="', c, ":", v)) - : e.push(";", c, ":", v); + n ? ((n = !1), e.push(' style="', c, ":", v)) : e.push(";", c, ":", v); } } n || e.push('"'); @@ -2294,11 +2105,7 @@ var Wf = an((ca) => { case "suppressHydrationWarning": return; } - if ( - !(2 < i.length) || - (i[0] !== "o" && i[0] !== "O") || - (i[1] !== "n" && i[1] !== "N") - ) { + if (!(2 < i.length) || (i[0] !== "o" && i[0] !== "O") || (i[1] !== "n" && i[1] !== "N")) { if (((n = Fe.hasOwnProperty(i) ? Fe[i] : null), n !== null)) { switch (typeof s) { case "function": @@ -2312,9 +2119,7 @@ var Wf = an((ca) => { s && e.push(" ", i, '=""'); break; case 4: - s === !0 - ? e.push(" ", i, '=""') - : s !== !1 && e.push(" ", i, '="', Ye(s), '"'); + s === !0 ? e.push(" ", i, '=""') : s !== !1 && e.push(" ", i, '="', Ye(s), '"'); break; case 5: isNaN(s) || e.push(" ", i, '="', Ye(s), '"'); @@ -2331,11 +2136,7 @@ var Wf = an((ca) => { case "symbol": return; case "boolean": - if ( - ((n = i.toLowerCase().slice(0, 5)), - n !== "data-" && n !== "aria-") - ) - return; + if (((n = i.toLowerCase().slice(0, 5)), n !== "data-" && n !== "aria-")) return; } e.push(" ", i, '="', Ye(s), '"'); } @@ -2343,13 +2144,10 @@ var Wf = an((ca) => { } function Wl(e, n, i) { if (n != null) { - if (i != null) - throw Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (i != null) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof n != "object" || !("__html" in n)) throw Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); (n = n.__html), n != null && e.push("" + n); } @@ -2382,9 +2180,7 @@ var Wf = an((ca) => { it(e, s, c, m); } } - return ( - e.push(">"), Wl(e, v, i), typeof i == "string" ? (e.push(Ye(i)), null) : i - ); + return e.push(">"), Wl(e, v, i), typeof i == "string" ? (e.push(Ye(i)), null) : i; } var xp = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, Zc = new Map(); @@ -2471,19 +2267,13 @@ var Wf = an((ca) => { m = E; break; case "dangerouslySetInnerHTML": - throw Error( - "`dangerouslySetInnerHTML` does not make sense on <textarea>." - ); + throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); default: it(e, s, S, E); } if ((c === null && m !== null && (c = m), e.push(">"), R != null)) { - if (c != null) - throw Error( - "If you supply `defaultValue` on a <textarea>, do not pass children." - ); - if (Xu(R) && 1 < R.length) - throw Error("<textarea> can only have at most one child."); + if (c != null) throw Error("If you supply `defaultValue` on a <textarea>, do not pass children."); + if (Xu(R) && 1 < R.length) throw Error("<textarea> can only have at most one child."); c = "" + R; } return ( @@ -2504,7 +2294,7 @@ var Wf = an((ca) => { case "children": case "dangerouslySetInnerHTML": throw Error( - "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); case "defaultChecked": E = x; @@ -2522,12 +2312,8 @@ var Wf = an((ca) => { it(e, s, m, x); } return ( - R !== null - ? it(e, s, "checked", R) - : E !== null && it(e, s, "checked", E), - c !== null - ? it(e, s, "value", c) - : S !== null && it(e, s, "value", S), + R !== null ? it(e, s, "checked", R) : E !== null && it(e, s, "checked", E), + c !== null ? it(e, s, "value", c) : S !== null && it(e, s, "value", S), e.push("/>"), null ); @@ -2538,9 +2324,7 @@ var Wf = an((ca) => { switch (V) { case "children": case "dangerouslySetInnerHTML": - throw Error( - "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." - ); + throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); default: it(e, s, V, c); } @@ -2554,9 +2338,7 @@ var Wf = an((ca) => { c = m; break; case "dangerouslySetInnerHTML": - throw Error( - "`dangerouslySetInnerHTML` does not make sense on <title>." - ); + throw Error("`dangerouslySetInnerHTML` does not make sense on <title>."); default: it(e, s, D, m); } @@ -2577,13 +2359,10 @@ var Wf = an((ca) => { it(e, s, E, S); } if ((e.push(">"), m != null)) { - if (c != null) - throw Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (c != null) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof m != "object" || !("__html" in m)) throw Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); (i = m.__html), i != null && @@ -2595,7 +2374,7 @@ var Wf = an((ca) => { ? e.push( ` `, - i + i, ) : e.push("" + i)); } @@ -2629,8 +2408,7 @@ var Wf = an((ca) => { case "children": case "dangerouslySetInnerHTML": throw Error( - n + - " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + n + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); default: it(e, s, te, c); @@ -2646,12 +2424,9 @@ var Wf = an((ca) => { case "missing-glyph": return Vu(e, i, n, s); case "html": - return ( - v.insertionMode === 0 && e.push("<!DOCTYPE html>"), Vu(e, i, n, s) - ); + return v.insertionMode === 0 && e.push("<!DOCTYPE html>"), Vu(e, i, n, s); default: - if (n.indexOf("-") === -1 && typeof i.is != "string") - return Vu(e, i, n, s); + if (n.indexOf("-") === -1 && typeof i.is != "string") return Vu(e, i, n, s); e.push(Jt(n)), (m = c = null); for (x in i) if (qe.call(i, x) && ((S = i[x]), S != null)) @@ -2669,32 +2444,21 @@ var Wf = an((ca) => { case "suppressHydrationWarning": break; default: - hf(x) && - typeof S != "function" && - typeof S != "symbol" && - e.push(" ", x, '="', Ye(S), '"'); + hf(x) && typeof S != "function" && typeof S != "symbol" && e.push(" ", x, '="', Ye(S), '"'); } return e.push(">"), Wl(e, m, c), c; } } function Jc(e, n, i) { if ((e.push('<!--$?--><template id="'), i === null)) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw Error("An ID must have been assigned before we can complete the boundary."); return e.push(i), e.push('"></template>'); } function Tp(e, n, i, s) { switch (i.insertionMode) { case 0: case 1: - return ( - e.push('<div hidden id="'), - e.push(n.segmentPrefix), - (n = s.toString(16)), - e.push(n), - e.push('">') - ); + return e.push('<div hidden id="'), e.push(n.segmentPrefix), (n = s.toString(16)), e.push(n), e.push('">'); case 2: return ( e.push('<svg aria-hidden="true" style="display:none" id="'), @@ -2712,36 +2476,16 @@ var Wf = an((ca) => { e.push('">') ); case 4: - return ( - e.push('<table hidden id="'), - e.push(n.segmentPrefix), - (n = s.toString(16)), - e.push(n), - e.push('">') - ); + return e.push('<table hidden id="'), e.push(n.segmentPrefix), (n = s.toString(16)), e.push(n), e.push('">'); case 5: return ( - e.push('<table hidden><tbody id="'), - e.push(n.segmentPrefix), - (n = s.toString(16)), - e.push(n), - e.push('">') + e.push('<table hidden><tbody id="'), e.push(n.segmentPrefix), (n = s.toString(16)), e.push(n), e.push('">') ); case 6: - return ( - e.push('<table hidden><tr id="'), - e.push(n.segmentPrefix), - (n = s.toString(16)), - e.push(n), - e.push('">') - ); + return e.push('<table hidden><tr id="'), e.push(n.segmentPrefix), (n = s.toString(16)), e.push(n), e.push('">'); case 7: return ( - e.push('<table hidden><colgroup id="'), - e.push(n.segmentPrefix), - (n = s.toString(16)), - e.push(n), - e.push('">') + e.push('<table hidden><colgroup id="'), e.push(n.segmentPrefix), (n = s.toString(16)), e.push(n), e.push('">') ); default: throw Error("Unknown insertion mode. This is a bug in React."); @@ -2780,7 +2524,7 @@ var Wf = an((ca) => { return "\\u2029"; default: throw Error( - "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" + "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React", ); } }); @@ -2809,10 +2553,7 @@ var Wf = an((ca) => { function Qc(e, n, i, s) { return i.generateStaticMarkup ? (e.push(Ye(n)), !1) - : (n === "" - ? (e = s) - : (s && e.push("<!-- -->"), e.push(Ye(n)), (e = !0)), - e); + : (n === "" ? (e = s) : (s && e.push("<!-- -->"), e.push(Ye(n)), (e = !0)), e); } var Mi = Object.assign, Rp = Symbol.for("react.element"), @@ -2860,15 +2601,11 @@ var Wf = an((ca) => { var n = e.render; return ( (e = e.displayName), - e || - ((e = n.displayName || n.name || ""), - (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), + e || ((e = n.displayName || n.name || ""), (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), e ); case Rf: - return ( - (n = e.displayName || null), n !== null ? n : Zu(e.type) || "Memo" - ); + return (n = e.displayName || null), n !== null ? n : Zu(e.type) || "Memo"; case tc: (n = e._payload), (e = e._init); try { @@ -2891,46 +2628,31 @@ var Wf = an((ca) => { (e.context._currentValue2 = e.parentValue), (e = e.parent); var i = n.parent; if (e === null) { - if (i !== null) - throw Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (i !== null) throw Error("The stacks must reach the root at the same time. This is a bug in React."); } else { - if (i === null) - throw Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (i === null) throw Error("The stacks must reach the root at the same time. This is a bug in React."); Jl(e, i); } n.context._currentValue2 = n.value; } } function _f(e) { - (e.context._currentValue2 = e.parentValue), - (e = e.parent), - e !== null && _f(e); + (e.context._currentValue2 = e.parentValue), (e = e.parent), e !== null && _f(e); } function Pf(e) { var n = e.parent; n !== null && Pf(n), (e.context._currentValue2 = e.value); } function Ff(e, n) { - if ( - ((e.context._currentValue2 = e.parentValue), (e = e.parent), e === null) - ) - throw Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + if (((e.context._currentValue2 = e.parentValue), (e = e.parent), e === null)) + throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); e.depth === n.depth ? Jl(e, n) : Ff(e, n); } function Af(e, n) { var i = n.parent; if (i === null) - throw Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); - e.depth === i.depth ? Jl(e, i) : Af(e, i), - (n.context._currentValue2 = n.value); + throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); + e.depth === i.depth ? Jl(e, i) : Af(e, i), (n.context._currentValue2 = n.value); } function Vl(e) { var n = ro; @@ -2967,35 +2689,21 @@ var Wf = an((ca) => { if ( ((e.context = typeof m == "object" && m !== null ? m._currentValue2 : s), (m = n.getDerivedStateFromProps), - typeof m == "function" && - ((m = m(i, v)), (v = m == null ? v : Mi({}, v, m)), (e.state = v)), + typeof m == "function" && ((m = m(i, v)), (v = m == null ? v : Mi({}, v, m)), (e.state = v)), typeof n.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && - (typeof e.UNSAFE_componentWillMount == "function" || - typeof e.componentWillMount == "function")) + (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) ) if ( ((n = e.state), typeof e.componentWillMount == "function" && e.componentWillMount(), - typeof e.UNSAFE_componentWillMount == "function" && - e.UNSAFE_componentWillMount(), + typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), n !== e.state && ef.enqueueReplaceState(e, e.state, null), c.queue !== null && 0 < c.queue.length) ) - if ( - ((n = c.queue), - (m = c.replace), - (c.queue = null), - (c.replace = !1), - m && n.length === 1) - ) - e.state = n[0]; + if (((n = c.queue), (m = c.replace), (c.queue = null), (c.replace = !1), m && n.length === 1)) e.state = n[0]; else { - for ( - c = m ? n[0] : e.state, v = !0, m = m ? 1 : 0; - m < n.length; - m++ - ) { + for (c = m ? n[0] : e.state, v = !0, m = m ? 1 : 0; m < n.length; m++) { var S = n[m]; (S = typeof S == "function" ? S.call(e, c, i, s) : S), S != null && (v ? ((v = !1), (c = Mi({}, c, S))) : Mi(c, S)); @@ -3051,8 +2759,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return kr; } function rf() { - if (0 < Ql) - throw Error("Rendered more hooks than during the previous render"); + if (0 < Ql) throw Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function nc() { @@ -3085,14 +2792,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return [oe.memoizedState, n]; } return ( - (e = - e === Df - ? typeof n == "function" - ? n() - : n - : i !== void 0 - ? i(n) - : n), + (e = e === Df ? (typeof n == "function" ? n() : n) : i !== void 0 ? i(n) : n), (oe.memoizedState = e), (e = oe.queue = { last: null, dispatch: null }), (e = e.dispatch = Up.bind(null, kr, e)), @@ -3100,9 +2800,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ); } function of(e, n) { - if ( - ((kr = to()), (oe = nc()), (n = n === void 0 ? null : n), oe !== null) - ) { + if (((kr = to()), (oe = nc()), (n = n === void 0 ? null : n), oe !== null)) { var i = oe.memoizedState; if (i !== null && n !== null) { var s = i[1]; @@ -3121,18 +2819,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return (e = e()), (oe.memoizedState = [e, n]), e; } function Up(e, n, i) { - if (25 <= Ql) - throw Error( - "Too many re-renders. React limits the number of renders to prevent an infinite loop." - ); + if (25 <= Ql) throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); if (e === kr) - if ( - ((Yl = !0), - (e = { action: i, next: null }), - ln === null && (ln = new Map()), - (i = ln.get(n)), - i === void 0) - ) + if (((Yl = !0), (e = { action: i, next: null }), ln === null && (ln = new Map()), (i = ln.get(n)), i === void 0)) ln.set(n, e); else { for (n = i; n.next !== null; ) n = n.next; @@ -3182,15 +2871,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (e = e.id), (e = (e & ~(1 << (32 - zl(e) - 1))).toString(32) + n); var i = Nl; if (i === null) - throw Error( - "Invalid hook call. Hooks can only be called inside of the body of a function component." - ); - return ( - (n = Li++), - (e = ":" + i.idPrefix + "R" + e), - 0 < n && (e += "H" + n.toString(32)), - e + ":" - ); + throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component."); + return (n = Li++), (e = ":" + i.idPrefix + "R" + e), 0 < n && (e += "H" + n.toString(32)), e + ":"; }, useMutableSource: function (e, n) { return to(), n(e._source); @@ -3198,15 +2880,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f useSyncExternalStore: function (e, n, i) { if (i === void 0) throw Error( - "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." + "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.", ); return i(); }, }, Nl = null, - Gu = - pf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED - .ReactCurrentDispatcher; + Gu = pf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; function Hp(e) { return console.error(e), null; } @@ -3279,7 +2959,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f throw Error( 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof e + - '" instead' + '" instead', ); return e; } @@ -3288,13 +2968,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f i(n), (i = e.onFatalError), i(n), - e.destination !== null - ? ((e.status = 2), e.destination.destroy(n)) - : ((e.status = 1), (e.fatalError = n)); + e.destination !== null ? ((e.status = 2), e.destination.destroy(n)) : ((e.status = 1), (e.fatalError = n)); } function lf(e, n, i, s, v) { - for (kr = {}, rc = n, Li = 0, e = i(s, v); Yl; ) - (Yl = !1), (Li = 0), (Ql += 1), (oe = null), (e = i(s, v)); + for (kr = {}, rc = n, Li = 0, e = i(s, v); Yl; ) (Yl = !1), (Li = 0), (Ql += 1), (oe = null), (e = i(s, v)); return oc(), e; } function sf(e, n, i, s) { @@ -3308,10 +2985,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f for (var S in i) if (!(S in c)) throw Error( - (Zu(s) || "Unknown") + - '.getChildContext(): key "' + - S + - '" is not defined in childContextTypes.' + (Zu(s) || "Unknown") + '.getChildContext(): key "' + S + '" is not defined in childContextTypes.', ); s = Mi({}, m, i); } @@ -3331,21 +3005,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f if (i.prototype && i.prototype.isReactComponent) { v = qc(i, n.legacyContext); var c = i.contextType; - (c = new i( - s, - typeof c == "object" && c !== null ? c._currentValue2 : v - )), - tf(c, i, s, v), - sf(e, n, c, i); + (c = new i(s, typeof c == "object" && c !== null ? c._currentValue2 : v)), tf(c, i, s, v), sf(e, n, c, i); } else { (c = qc(i, n.legacyContext)), (v = lf(e, n, i, s, c)); var m = Li !== 0; - if ( - typeof v == "object" && - v !== null && - typeof v.render == "function" && - v.$$typeof === void 0 - ) + if (typeof v == "object" && v !== null && typeof v.render == "function" && v.$$typeof === void 0) tf(v, i, s, c), sf(e, n, v, i); else if (m) { (s = n.treeContext), (n.treeContext = Ju(s, 1, 0)); @@ -3403,11 +3067,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f throw Error("ReactDOMServer does not yet support scope components."); case Cf: e: { - (i = n.blockedBoundary), - (v = n.blockedSegment), - (c = s.fallback), - (s = s.children), - (m = new Set()); + (i = n.blockedBoundary), (v = n.blockedSegment), (c = s.fallback), (s = s.children), (m = new Set()); var S = { id: null, rootSegmentID: -1, @@ -3422,30 +3082,23 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f E = Gl(e, v.chunks.length, S, v.formatContext, !1, !1); v.children.push(E), (v.lastPushedText = !1); var x = Gl(e, 0, null, v.formatContext, !1, !1); - (x.parentFlushed = !0), - (n.blockedBoundary = S), - (n.blockedSegment = x); + (x.parentFlushed = !0), (n.blockedBoundary = S), (n.blockedSegment = x); try { if ( (Ku(e, n, s), e.responseState.generateStaticMarkup || - (x.lastPushedText && - x.textEmbedded && - x.chunks.push("<!-- -->")), + (x.lastPushedText && x.textEmbedded && x.chunks.push("<!-- -->")), (x.status = 1), Zl(S, x), S.pendingTasks === 0) ) break e; } catch (R) { - (x.status = 4), - (S.forceClientRender = !0), - (S.errorDigest = Bi(e, R)); + (x.status = 4), (S.forceClientRender = !0), (S.errorDigest = Bi(e, R)); } finally { (n.blockedBoundary = i), (n.blockedSegment = v); } - (n = ac(e, c, i, E, m, n.legacyContext, n.context, n.treeContext)), - e.pingedTasks.push(n); + (n = ac(e, c, i, E, m, n.legacyContext, n.context, n.treeContext)), e.pingedTasks.push(n); } return; } @@ -3485,12 +3138,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (e = ro), e === null) ) - throw Error( - "Tried to pop a Context at the root of the app. This is a bug in React." - ); + throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); (s = e.parentValue), - (e.context._currentValue2 = - s === Fp ? e.context._defaultValue : s), + (e.context._currentValue2 = s === Fp ? e.context._defaultValue : s), (e = ro = e.parent), (n.context = e); return; @@ -3498,15 +3148,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (s = s.children), (s = s(i._currentValue2)), lt(e, n, s); return; case tc: - (v = i._init), - (i = v(i._payload)), - (s = uf(i, s)), - Qu(e, n, i, s, void 0); + (v = i._init), (i = v(i._payload)), (s = uf(i, s)), Qu(e, n, i, s, void 0); return; } throw Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + - ((i == null ? i : typeof i) + ".") + ((i == null ? i : typeof i) + "."), ); } } @@ -3518,7 +3165,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return; case yf: throw Error( - "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." + "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.", ); case tc: var s = i._init; @@ -3532,8 +3179,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f if ( (i === null || typeof i != "object" ? (s = null) - : ((s = (Kc && i[Kc]) || i["@@iterator"]), - (s = typeof s == "function" ? s : null)), + : ((s = (Kc && i[Kc]) || i["@@iterator"]), (s = typeof s == "function" ? s : null)), s && (s = s.call(i))) ) { if (((i = s.next()), !i.done)) { @@ -3548,29 +3194,16 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ((e = Object.prototype.toString.call(i)), Error( "Objects are not valid as a React child (found: " + - (e === "[object Object]" - ? "object with keys {" + Object.keys(i).join(", ") + "}" - : e) + - "). If you meant to render a collection of children, use an array instead." + (e === "[object Object]" ? "object with keys {" + Object.keys(i).join(", ") + "}" : e) + + "). If you meant to render a collection of children, use an array instead.", )) ); } typeof i == "string" - ? ((s = n.blockedSegment), - (s.lastPushedText = Qc( - n.blockedSegment.chunks, - i, - e.responseState, - s.lastPushedText - ))) + ? ((s = n.blockedSegment), (s.lastPushedText = Qc(n.blockedSegment.chunks, i, e.responseState, s.lastPushedText))) : typeof i == "number" && ((s = n.blockedSegment), - (s.lastPushedText = Qc( - n.blockedSegment.chunks, - "" + i, - e.responseState, - s.lastPushedText - ))); + (s.lastPushedText = Qc(n.blockedSegment.chunks, "" + i, e.responseState, s.lastPushedText))); } function cf(e, n, i) { for (var s = i.length, v = 0; v < s; v++) { @@ -3590,45 +3223,19 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f try { return lt(e, n, i); } catch (E) { - if ( - (oc(), - typeof E == "object" && E !== null && typeof E.then == "function") - ) { + if ((oc(), typeof E == "object" && E !== null && typeof E.then == "function")) { i = E; var m = n.blockedSegment, - S = Gl( - e, - m.chunks.length, - null, - m.formatContext, - m.lastPushedText, - !0 - ); + S = Gl(e, m.chunks.length, null, m.formatContext, m.lastPushedText, !0); m.children.push(S), (m.lastPushedText = !1), - (e = ac( - e, - n.node, - n.blockedBoundary, - S, - n.abortSet, - n.legacyContext, - n.context, - n.treeContext - ).ping), + (e = ac(e, n.node, n.blockedBoundary, S, n.abortSet, n.legacyContext, n.context, n.treeContext).ping), i.then(e, e), (n.blockedSegment.formatContext = s), (n.legacyContext = v), (n.context = c), Vl(c); - } else - throw ( - ((n.blockedSegment.formatContext = s), - (n.legacyContext = v), - (n.context = c), - Vl(c), - E) - ); + } else throw ((n.blockedSegment.formatContext = s), (n.legacyContext = v), (n.context = c), Vl(c), E); } } function Wp(e) { @@ -3639,19 +3246,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f var s = e.blockedBoundary; (e.blockedSegment.status = 3), s === null - ? (n.allPendingTasks--, - n.status !== 2 && - ((n.status = 2), - n.destination !== null && n.destination.push(null))) + ? (n.allPendingTasks--, n.status !== 2 && ((n.status = 2), n.destination !== null && n.destination.push(null))) : (s.pendingTasks--, s.forceClientRender || ((s.forceClientRender = !0), (s.errorDigest = n.onError( - i === void 0 - ? Error( - "The render was aborted by the server without a reason." - ) - : i + i === void 0 ? Error("The render was aborted by the server without a reason.") : i, )), s.parentFlushed && n.clientRenderedBoundaries.push(s)), s.fallbackAbortableTasks.forEach(function (v) { @@ -3662,11 +3262,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f n.allPendingTasks === 0 && ((e = n.onAllReady), e())); } function Zl(e, n) { - if ( - n.chunks.length === 0 && - n.children.length === 1 && - n.children[0].boundary === null - ) { + if (n.chunks.length === 0 && n.children.length === 1 && n.children[0].boundary === null) { var i = n.children[0]; (i.id = n.id), (i.parentFlushed = !0), i.status === 1 && Zl(e, i); } else e.completedSegments.push(n); @@ -3674,15 +3270,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f function Lf(e, n, i) { if (n === null) { if (i.parentFlushed) { - if (e.completedRootSegment !== null) - throw Error( - "There can only be one root segment. This is a bug in React." - ); + if (e.completedRootSegment !== null) throw Error("There can only be one root segment. This is a bug in React."); e.completedRootSegment = i; } - e.pendingRootTasks--, - e.pendingRootTasks === 0 && - ((e.onShellError = Oi), (n = e.onShellReady), n()); + e.pendingRootTasks--, e.pendingRootTasks === 0 && ((e.onShellError = Oi), (n = e.onShellReady), n()); } else n.pendingTasks--, n.forceClientRender || @@ -3693,10 +3284,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f n.fallbackAbortableTasks.clear()) : i.parentFlushed && i.status === 1 && - (Zl(n, i), - n.completedSegments.length === 1 && - n.parentFlushed && - e.partialBoundaries.push(n))); + (Zl(n, i), n.completedSegments.length === 1 && n.parentFlushed && e.partialBoundaries.push(n))); e.allPendingTasks--, e.allPendingTasks === 0 && ((e = e.onAllReady), e()); } function ic(e) { @@ -3718,19 +3306,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f try { lt(S, m, m.node), S.responseState.generateStaticMarkup || - (E.lastPushedText && - E.textEmbedded && - E.chunks.push("<!-- -->")), + (E.lastPushedText && E.textEmbedded && E.chunks.push("<!-- -->")), m.abortSet.delete(m), (E.status = 1), Lf(S, m.blockedBoundary, E); } catch (J) { - if ( - (oc(), - typeof J == "object" && - J !== null && - typeof J.then == "function") - ) { + if ((oc(), typeof J == "object" && J !== null && typeof J.then == "function")) { var x = m.ping; J.then(x, x); } else { @@ -3793,7 +3374,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return c < s.length && (v = n.push(s[c])), v; default: throw Error( - "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." + "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.", ); } } @@ -3813,8 +3394,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f e ); if (0 < s.pendingTasks) { - (s.rootSegmentID = e.nextSegmentId++), - 0 < s.completedSegments.length && e.partialBoundaries.push(s); + (s.rootSegmentID = e.nextSegmentId++), 0 < s.completedSegments.length && e.partialBoundaries.push(s); var v = e.responseState, c = v.nextSuspenseID++; return ( @@ -3833,30 +3413,15 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f jl(e, n, i), n.push("<!--/$-->") ); - if ( - (e.responseState.generateStaticMarkup || n.push("<!--$-->"), - (i = s.completedSegments), - i.length !== 1) - ) - throw Error( - "A previously unvisited boundary must have exactly one root segment. This is a bug in React." - ); - return ( - Kl(e, n, i[0]), - (e = e.responseState.generateStaticMarkup ? !0 : n.push("<!--/$-->")), - e - ); + if ((e.responseState.generateStaticMarkup || n.push("<!--$-->"), (i = s.completedSegments), i.length !== 1)) + throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); + return Kl(e, n, i[0]), (e = e.responseState.generateStaticMarkup ? !0 : n.push("<!--/$-->")), e; } function ff(e, n, i) { - return ( - Tp(n, e.responseState, i.formatContext, i.id), - Kl(e, n, i), - Cp(n, i.formatContext) - ); + return Tp(n, e.responseState, i.formatContext, i.id), Kl(e, n, i), Cp(n, i.formatContext); } function df(e, n, i) { - for (var s = i.completedSegments, v = 0; v < s.length; v++) - Bf(e, n, i, s[v]); + for (var s = i.completedSegments, v = 0; v < s.length; v++) Bf(e, n, i, s[v]); if ( ((s.length = 0), (e = e.responseState), @@ -3867,30 +3432,19 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ? n.push('$RC("') : ((e.sentCompleteBoundaryFunction = !0), n.push( - 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("' + 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("', )), s === null) ) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); - return ( - (i = i.toString(16)), - n.push(s), - n.push('","'), - n.push(e.segmentPrefix), - n.push(i), - n.push('")</script>') - ); + throw Error("An ID must have been assigned before we can complete the boundary."); + return (i = i.toString(16)), n.push(s), n.push('","'), n.push(e.segmentPrefix), n.push(i), n.push('")</script>'); } function Bf(e, n, i, s) { if (s.status === 2) return !0; var v = s.id; if (v === -1) { if ((s.id = i.rootSegmentID) === -1) - throw Error( - "A root segment ID must have been assigned by now. This is a bug in React." - ); + throw Error("A root segment ID must have been assigned by now. This is a bug in React."); return ff(e, n, s); } return ( @@ -3901,7 +3455,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ? n.push('$RS("') : ((e.sentCompleteSegmentFunction = !0), n.push( - 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("' + 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("', )), n.push(e.segmentPrefix), (v = v.toString(16)), @@ -3937,13 +3491,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ? s.push('$RX("') : ((S.sentClientRenderFunction = !0), s.push( - 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("' + 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("', )), E === null) ) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw Error("An ID must have been assigned before we can complete the boundary."); if ((s.push(E), s.push('"'), x || R || D)) { s.push(","); var V = Yu(x || ""); @@ -4048,7 +3600,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f S = !0; }, void 0, - void 0 + void 0, )), ic(e), Uf(e, s), @@ -4065,14 +3617,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f throw c; if (!S) throw Error( - "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition." + "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.", ); return m; } function $p(e, n) { - (e.prototype = Object.create(n.prototype)), - (e.prototype.constructor = e), - (e.__proto__ = n); + (e.prototype = Object.create(n.prototype)), (e.prototype.constructor = e), (e.__proto__ = n); } var Np = (function (e) { function n() { @@ -4104,7 +3654,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (i.startedFlowing = !0), sc(s, i); }, void 0, - void 0 + void 0, ); return (i.request = s), ic(s), i; } @@ -4116,7 +3666,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f e, n, !0, - 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' + 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server', ); }; ca.renderToStaticNodeStream = function (e, n) { @@ -4127,12 +3677,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f e, n, !1, - 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' + 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server', ); }; ca.version = "18.2.0"; }); -var jd = an((_c) => { +var jd = an(_c => { "use strict"; var Yp = require("util"), hd = ua(), @@ -4143,36 +3693,22 @@ var jd = an((_c) => { if (typeof n == "string") { if (n.length !== 0) if (2048 < 3 * n.length) - 0 < le && - (Tr(e, pe.subarray(0, le)), (pe = new Uint8Array(2048)), (le = 0)), - Tr(e, ts.encode(n)); + 0 < le && (Tr(e, pe.subarray(0, le)), (pe = new Uint8Array(2048)), (le = 0)), Tr(e, ts.encode(n)); else { var i = pe; 0 < le && (i = pe.subarray(le)), (i = ts.encodeInto(n, i)); var s = i.read; (le += i.written), - s < n.length && - (Tr(e, pe), - (pe = new Uint8Array(2048)), - (le = ts.encodeInto(n.slice(s), pe).written)), + s < n.length && (Tr(e, pe), (pe = new Uint8Array(2048)), (le = ts.encodeInto(n.slice(s), pe).written)), le === 2048 && (Tr(e, pe), (pe = new Uint8Array(2048)), (le = 0)); } } else n.byteLength !== 0 && (2048 < n.byteLength - ? (0 < le && - (Tr(e, pe.subarray(0, le)), - (pe = new Uint8Array(2048)), - (le = 0)), - Tr(e, n)) + ? (0 < le && (Tr(e, pe.subarray(0, le)), (pe = new Uint8Array(2048)), (le = 0)), Tr(e, n)) : ((i = pe.length - le), i < n.byteLength && - (i === 0 - ? Tr(e, pe) - : (pe.set(n.subarray(0, i), le), - (le += i), - Tr(e, pe), - (n = n.subarray(i))), + (i === 0 ? Tr(e, pe) : (pe.set(n.subarray(0, i), le), (le += i), Tr(e, pe), (n = n.subarray(i))), (pe = new Uint8Array(2048)), (le = 0)), pe.set(n, le), @@ -4186,10 +3722,7 @@ var jd = an((_c) => { return L(e, n), da; } function zf(e) { - pe && 0 < le && e.write(pe.subarray(0, le)), - (pe = null), - (le = 0), - (da = !0); + pe && 0 < le && e.write(pe.subarray(0, le)), (pe = null), (le = 0), (da = !0); } var ts = new Yp.TextEncoder(); function A(e) { @@ -4201,13 +3734,7 @@ var jd = an((_c) => { $f = {}, Nf = {}; function vd(e) { - return et.call(Nf, e) - ? !0 - : et.call($f, e) - ? !1 - : Gp.test(e) - ? (Nf[e] = !0) - : (($f[e] = !0), !1); + return et.call(Nf, e) ? !0 : et.call($f, e) ? !1 : Gp.test(e) ? (Nf[e] = !0) : (($f[e] = !0), !1); } function Xe(e, n, i, s, v, c, m) { (this.acceptsBooleans = n === 2 || n === 3 || n === 4), @@ -4237,12 +3764,7 @@ var jd = an((_c) => { ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { De[e] = new Xe(e, 2, !1, e.toLowerCase(), null, !1, !1); }); - [ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", - ].forEach(function (e) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (e) { De[e] = new Xe(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" @@ -4272,12 +3794,10 @@ var jd = an((_c) => { var n = e.replace(Sc, wc); De[n] = new Xe(n, 1, !1, e, null, !1, !1); }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type" - .split(" ") - .forEach(function (e) { - var n = e.replace(Sc, wc); - De[n] = new Xe(n, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); - }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (e) { + var n = e.replace(Sc, wc); + De[n] = new Xe(n, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); + }); ["xml:base", "xml:lang", "xml:space"].forEach(function (e) { var n = e.replace(Sc, wc); De[n] = new Xe(n, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); @@ -4285,15 +3805,7 @@ var jd = an((_c) => { ["tabIndex", "crossOrigin"].forEach(function (e) { De[e] = new Xe(e, 1, !1, e.toLowerCase(), null, !1, !1); }); - De.xlinkHref = new Xe( - "xlinkHref", - 1, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1 - ); + De.xlinkHref = new Xe("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function (e) { De[e] = new Xe(e, 1, !1, e.toLowerCase(), null, !0, !0); }); @@ -4432,7 +3944,7 @@ var jd = an((_c) => { function gd(e, n, i) { if (typeof i != "object") throw Error( - "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." + "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.", ); n = !0; for (var s in i) @@ -4445,18 +3957,9 @@ var jd = an((_c) => { } else { c = s; var m = Gf.get(c); - m !== void 0 || - ((m = A( - Ae(c.replace(Jp, "-$1").toLowerCase().replace(Qp, "-ms-")) - )), - Gf.set(c, m)), + m !== void 0 || ((m = A(Ae(c.replace(Jp, "-$1").toLowerCase().replace(Qp, "-ms-")))), Gf.set(c, m)), (c = m), - (v = - typeof v == "number" - ? v === 0 || et.call(rs, s) - ? "" + v - : v + "px" - : Ae(("" + v).trim())); + (v = typeof v == "number" ? (v === 0 || et.call(rs, s) ? "" + v : v + "px") : Ae(("" + v).trim())); } n ? ((n = !1), e.push(ah, c, Xf, v)) : e.push(ih, c, Xf, v); } @@ -4479,11 +3982,7 @@ var jd = an((_c) => { case "suppressHydrationWarning": return; } - if ( - !(2 < i.length) || - (i[0] !== "o" && i[0] !== "O") || - (i[1] !== "n" && i[1] !== "N") - ) { + if (!(2 < i.length) || (i[0] !== "o" && i[0] !== "O") || (i[1] !== "n" && i[1] !== "N")) { if (((n = De.hasOwnProperty(i) ? De[i] : null), n !== null)) { switch (typeof s) { case "function": @@ -4497,9 +3996,7 @@ var jd = an((_c) => { s && e.push(sn, i, Zf); break; case 4: - s === !0 - ? e.push(sn, i, Zf) - : s !== !1 && e.push(sn, i, fa, Ae(s), no); + s === !0 ? e.push(sn, i, Zf) : s !== !1 && e.push(sn, i, fa, Ae(s), no); break; case 5: isNaN(s) || e.push(sn, i, fa, Ae(s), no); @@ -4516,11 +4013,7 @@ var jd = an((_c) => { case "symbol": return; case "boolean": - if ( - ((n = i.toLowerCase().slice(0, 5)), - n !== "data-" && n !== "aria-") - ) - return; + if (((n = i.toLowerCase().slice(0, 5)), n !== "data-" && n !== "aria-")) return; } e.push(sn, i, fa, Ae(s), no); } @@ -4530,13 +4023,10 @@ var jd = an((_c) => { Jf = A("/>"); function ns(e, n, i) { if (n != null) { - if (i != null) - throw Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (i != null) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof n != "object" || !("__html" in n)) throw Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); (n = n.__html), n != null && e.push("" + n); } @@ -4570,9 +4060,7 @@ var jd = an((_c) => { st(e, s, c, m); } } - return ( - e.push(un), ns(e, v, i), typeof i == "string" ? (e.push(Ae(i)), null) : i - ); + return e.push(un), ns(e, v, i), typeof i == "string" ? (e.push(Ae(i)), null) : i; } var fc = A(` `), @@ -4662,19 +4150,13 @@ var jd = an((_c) => { m = E; break; case "dangerouslySetInnerHTML": - throw Error( - "`dangerouslySetInnerHTML` does not make sense on <textarea>." - ); + throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); default: st(e, s, S, E); } if ((c === null && m !== null && (c = m), e.push(un), R != null)) { - if (c != null) - throw Error( - "If you supply `defaultValue` on a <textarea>, do not pass children." - ); - if (vc(R) && 1 < R.length) - throw Error("<textarea> can only have at most one child."); + if (c != null) throw Error("If you supply `defaultValue` on a <textarea>, do not pass children."); + if (vc(R) && 1 < R.length) throw Error("<textarea> can only have at most one child."); c = "" + R; } return ( @@ -4694,7 +4176,7 @@ var jd = an((_c) => { case "children": case "dangerouslySetInnerHTML": throw Error( - "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); case "defaultChecked": E = x; @@ -4712,12 +4194,8 @@ var jd = an((_c) => { st(e, s, m, x); } return ( - R !== null - ? st(e, s, "checked", R) - : E !== null && st(e, s, "checked", E), - c !== null - ? st(e, s, "value", c) - : S !== null && st(e, s, "value", S), + R !== null ? st(e, s, "checked", R) : E !== null && st(e, s, "checked", E), + c !== null ? st(e, s, "value", c) : S !== null && st(e, s, "value", S), e.push(Jf), null ); @@ -4728,9 +4206,7 @@ var jd = an((_c) => { switch (V) { case "children": case "dangerouslySetInnerHTML": - throw Error( - "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." - ); + throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); default: st(e, s, V, c); } @@ -4744,9 +4220,7 @@ var jd = an((_c) => { c = m; break; case "dangerouslySetInnerHTML": - throw Error( - "`dangerouslySetInnerHTML` does not make sense on <title>." - ); + throw Error("`dangerouslySetInnerHTML` does not make sense on <title>."); default: st(e, s, D, m); } @@ -4767,13 +4241,10 @@ var jd = an((_c) => { st(e, s, E, S); } if ((e.push(un), m != null)) { - if (c != null) - throw Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (c != null) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof m != "object" || !("__html" in m)) throw Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); (i = m.__html), i != null && @@ -4814,8 +4285,7 @@ var jd = an((_c) => { case "children": case "dangerouslySetInnerHTML": throw Error( - n + - " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + n + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); default: st(e, s, te, c); @@ -4833,8 +4303,7 @@ var jd = an((_c) => { case "html": return v.insertionMode === 0 && e.push(uh), cc(e, i, n, s); default: - if (n.indexOf("-") === -1 && typeof i.is != "string") - return cc(e, i, n, s); + if (n.indexOf("-") === -1 && typeof i.is != "string") return cc(e, i, n, s); e.push(Kt(n)), (m = c = null); for (x in i) if (et.call(i, x) && ((S = i[x]), S != null)) @@ -4852,10 +4321,7 @@ var jd = an((_c) => { case "suppressHydrationWarning": break; default: - vd(x) && - typeof S != "function" && - typeof S != "symbol" && - e.push(sn, x, fa, Ae(S), no); + vd(x) && typeof S != "function" && typeof S != "symbol" && e.push(sn, x, fa, Ae(S), no); } return e.push(un), ns(e, m, c), c; } @@ -4876,10 +4342,7 @@ var jd = an((_c) => { A(' data-stck="'); var kh = A("></template>"); function Kf(e, n, i) { - if ((L(e, gh), i === null)) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); + if ((L(e, gh), i === null)) throw Error("An ID must have been assigned before we can complete the boundary."); return L(e, i), se(e, mh); } var Th = A('<div hidden id="'), @@ -4946,19 +4409,19 @@ var jd = an((_c) => { } } var Gh = A( - 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("' + 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("', ), Xh = A('$RS("'), Zh = A('","'), Jh = A('")</script>'), Qh = A( - 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("' + 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("', ), Kh = A('$RC("'), qh = A('","'), ev = A('")</script>'), tv = A( - 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("' + 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("', ), rv = A('$RX("'), nv = A('"'), @@ -4976,7 +4439,7 @@ var jd = an((_c) => { return "\\u2029"; default: throw Error( - "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" + "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React", ); } }); @@ -5027,15 +4490,11 @@ var jd = an((_c) => { var n = e.render; return ( (e = e.displayName), - e || - ((e = n.displayName || n.name || ""), - (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), + e || ((e = n.displayName || n.name || ""), (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), e ); case Ed: - return ( - (n = e.displayName || null), n !== null ? n : gc(e.type) || "Memo" - ); + return (n = e.displayName || null), n !== null ? n : gc(e.type) || "Memo"; case kc: (n = e._payload), (e = e._init); try { @@ -5058,24 +4517,16 @@ var jd = an((_c) => { (e.context._currentValue = e.parentValue), (e = e.parent); var i = n.parent; if (e === null) { - if (i !== null) - throw Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (i !== null) throw Error("The stacks must reach the root at the same time. This is a bug in React."); } else { - if (i === null) - throw Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (i === null) throw Error("The stacks must reach the root at the same time. This is a bug in React."); ds(e, i); } n.context._currentValue = n.value; } } function Id(e) { - (e.context._currentValue = e.parentValue), - (e = e.parent), - e !== null && Id(e); + (e.context._currentValue = e.parentValue), (e = e.parent), e !== null && Id(e); } function _d(e) { var n = e.parent; @@ -5083,19 +4534,14 @@ var jd = an((_c) => { } function Pd(e, n) { if (((e.context._currentValue = e.parentValue), (e = e.parent), e === null)) - throw Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); e.depth === n.depth ? ds(e, n) : Pd(e, n); } function Fd(e, n) { var i = n.parent; if (i === null) - throw Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); - e.depth === i.depth ? ds(e, i) : Fd(e, i), - (n.context._currentValue = n.value); + throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); + e.depth === i.depth ? ds(e, i) : Fd(e, i), (n.context._currentValue = n.value); } function ls(e) { var n = ao; @@ -5132,35 +4578,21 @@ var jd = an((_c) => { if ( ((e.context = typeof m == "object" && m !== null ? m._currentValue : s), (m = n.getDerivedStateFromProps), - typeof m == "function" && - ((m = m(i, v)), (v = m == null ? v : Hi({}, v, m)), (e.state = v)), + typeof m == "function" && ((m = m(i, v)), (v = m == null ? v : Hi({}, v, m)), (e.state = v)), typeof n.getDerivedStateFromProps != "function" && typeof e.getSnapshotBeforeUpdate != "function" && - (typeof e.UNSAFE_componentWillMount == "function" || - typeof e.componentWillMount == "function")) + (typeof e.UNSAFE_componentWillMount == "function" || typeof e.componentWillMount == "function")) ) if ( ((n = e.state), typeof e.componentWillMount == "function" && e.componentWillMount(), - typeof e.UNSAFE_componentWillMount == "function" && - e.UNSAFE_componentWillMount(), + typeof e.UNSAFE_componentWillMount == "function" && e.UNSAFE_componentWillMount(), n !== e.state && td.enqueueReplaceState(e, e.state, null), c.queue !== null && 0 < c.queue.length) ) - if ( - ((n = c.queue), - (m = c.replace), - (c.queue = null), - (c.replace = !1), - m && n.length === 1) - ) - e.state = n[0]; + if (((n = c.queue), (m = c.replace), (c.queue = null), (c.replace = !1), m && n.length === 1)) e.state = n[0]; else { - for ( - c = m ? n[0] : e.state, v = !0, m = m ? 1 : 0; - m < n.length; - m++ - ) { + for (c = m ? n[0] : e.state, v = !0, m = m ? 1 : 0; m < n.length; m++) { var S = n[m]; (S = typeof S == "function" ? S.call(e, c, i, s) : S), S != null && (v ? ((v = !1), (c = Hi({}, c, S))) : Hi(c, S)); @@ -5216,8 +4648,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return Cr; } function nd() { - if (0 < ps) - throw Error("Rendered more hooks than during the previous render"); + if (0 < ps) throw Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function Cc() { @@ -5250,14 +4681,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return [ae.memoizedState, n]; } return ( - (e = - e === Ad - ? typeof n == "function" - ? n() - : n - : i !== void 0 - ? i(n) - : n), + (e = e === Ad ? (typeof n == "function" ? n() : n) : i !== void 0 ? i(n) : n), (ae.memoizedState = e), (e = ae.queue = { last: null, dispatch: null }), (e = e.dispatch = mv.bind(null, Cr, e)), @@ -5265,9 +4689,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ); } function ad(e, n) { - if ( - ((Cr = oo()), (ae = Cc()), (n = n === void 0 ? null : n), ae !== null) - ) { + if (((Cr = oo()), (ae = Cc()), (n = n === void 0 ? null : n), ae !== null)) { var i = ae.memoizedState; if (i !== null && n !== null) { var s = i[1]; @@ -5286,18 +4708,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return (e = e()), (ae.memoizedState = [e, n]), e; } function mv(e, n, i) { - if (25 <= ps) - throw Error( - "Too many re-renders. React limits the number of renders to prevent an infinite loop." - ); + if (25 <= ps) throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); if (e === Cr) - if ( - ((ss = !0), - (e = { action: i, next: null }), - cn === null && (cn = new Map()), - (i = cn.get(n)), - i === void 0) - ) + if (((ss = !0), (e = { action: i, next: null }), cn === null && (cn = new Map()), (i = cn.get(n)), i === void 0)) cn.set(n, e); else { for (n = i; n.next !== null; ) n = n.next; @@ -5347,15 +4760,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (e = e.id), (e = (e & ~(1 << (32 - os(e) - 1))).toString(32) + n); var i = is; if (i === null) - throw Error( - "Invalid hook call. Hooks can only be called inside of the body of a function component." - ); - return ( - (n = Wi++), - (e = ":" + i.idPrefix + "R" + e), - 0 < n && (e += "H" + n.toString(32)), - e + ":" - ); + throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component."); + return (n = Wi++), (e = ":" + i.idPrefix + "R" + e), 0 < n && (e += "H" + n.toString(32)), e + ":"; }, useMutableSource: function (e, n) { return oo(), n(e._source); @@ -5363,15 +4769,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f useSyncExternalStore: function (e, n, i) { if (i === void 0) throw Error( - "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." + "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.", ); return i(); }, }, is = null, - hc = - hd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED - .ReactCurrentDispatcher; + hc = hd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; function bv(e) { return console.error(e), null; } @@ -5419,7 +4823,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f throw Error( 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof e + - '" instead' + '" instead', ); return e; } @@ -5428,13 +4832,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f i(n), (i = e.onFatalError), i(n), - e.destination !== null - ? ((e.status = 2), e.destination.destroy(n)) - : ((e.status = 1), (e.fatalError = n)); + e.destination !== null ? ((e.status = 2), e.destination.destroy(n)) : ((e.status = 1), (e.fatalError = n)); } function ld(e, n, i, s, v) { - for (Cr = {}, Tc = n, Wi = 0, e = i(s, v); ss; ) - (ss = !1), (Wi = 0), (ps += 1), (ae = null), (e = i(s, v)); + for (Cr = {}, Tc = n, Wi = 0, e = i(s, v); ss; ) (ss = !1), (Wi = 0), (ps += 1), (ae = null), (e = i(s, v)); return Ec(), e; } function sd(e, n, i, s) { @@ -5448,10 +4849,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f for (var S in i) if (!(S in c)) throw Error( - (gc(s) || "Unknown") + - '.getChildContext(): key "' + - S + - '" is not defined in childContextTypes.' + (gc(s) || "Unknown") + '.getChildContext(): key "' + S + '" is not defined in childContextTypes.', ); s = Hi({}, m, i); } @@ -5471,21 +4869,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f if (i.prototype && i.prototype.isReactComponent) { v = ed(i, n.legacyContext); var c = i.contextType; - (c = new i( - s, - typeof c == "object" && c !== null ? c._currentValue : v - )), - rd(c, i, s, v), - sd(e, n, c, i); + (c = new i(s, typeof c == "object" && c !== null ? c._currentValue : v)), rd(c, i, s, v), sd(e, n, c, i); } else { (c = ed(i, n.legacyContext)), (v = ld(e, n, i, s, c)); var m = Wi !== 0; - if ( - typeof v == "object" && - v !== null && - typeof v.render == "function" && - v.$$typeof === void 0 - ) + if (typeof v == "object" && v !== null && typeof v.render == "function" && v.$$typeof === void 0) rd(v, i, s, c), sd(e, n, v, i); else if (m) { (s = n.treeContext), (n.treeContext = mc(s, 1, 0)); @@ -5543,11 +4931,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f throw Error("ReactDOMServer does not yet support scope components."); case Td: e: { - (i = n.blockedBoundary), - (v = n.blockedSegment), - (c = s.fallback), - (s = s.children), - (m = new Set()); + (i = n.blockedBoundary), (v = n.blockedSegment), (c = s.fallback), (s = s.children), (m = new Set()); var S = { id: null, rootSegmentID: -1, @@ -5562,9 +4946,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f E = us(e, v.chunks.length, S, v.formatContext, !1, !1); v.children.push(E), (v.lastPushedText = !1); var x = us(e, 0, null, v.formatContext, !1, !1); - (x.parentFlushed = !0), - (n.blockedBoundary = S), - (n.blockedSegment = x); + (x.parentFlushed = !0), (n.blockedBoundary = S), (n.blockedSegment = x); try { if ( (bc(e, n, s), @@ -5575,14 +4957,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ) break e; } catch (R) { - (x.status = 4), - (S.forceClientRender = !0), - (S.errorDigest = zi(e, R)); + (x.status = 4), (S.forceClientRender = !0), (S.errorDigest = zi(e, R)); } finally { (n.blockedBoundary = i), (n.blockedSegment = v); } - (n = Rc(e, c, i, E, m, n.legacyContext, n.context, n.treeContext)), - e.pingedTasks.push(n); + (n = Rc(e, c, i, E, m, n.legacyContext, n.context, n.treeContext)), e.pingedTasks.push(n); } return; } @@ -5622,12 +5001,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (e = ao), e === null) ) - throw Error( - "Tried to pop a Context at the root of the app. This is a bug in React." - ); + throw Error("Tried to pop a Context at the root of the app. This is a bug in React."); (s = e.parentValue), - (e.context._currentValue = - s === cv ? e.context._defaultValue : s), + (e.context._currentValue = s === cv ? e.context._defaultValue : s), (e = ao = e.parent), (n.context = e); return; @@ -5635,15 +5011,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (s = s.children), (s = s(i._currentValue)), ut(e, n, s); return; case kc: - (v = i._init), - (i = v(i._payload)), - (s = ud(i, s)), - yc(e, n, i, s, void 0); + (v = i._init), (i = v(i._payload)), (s = ud(i, s)), yc(e, n, i, s, void 0); return; } throw Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + - ((i == null ? i : typeof i) + ".") + ((i == null ? i : typeof i) + "."), ); } } @@ -5655,7 +5028,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return; case md: throw Error( - "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." + "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.", ); case kc: var s = i._init; @@ -5669,8 +5042,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f if ( (i === null || typeof i != "object" ? (s = null) - : ((s = (qf && i[qf]) || i["@@iterator"]), - (s = typeof s == "function" ? s : null)), + : ((s = (qf && i[qf]) || i["@@iterator"]), (s = typeof s == "function" ? s : null)), s && (s = s.call(i))) ) { if (((i = s.next()), !i.done)) { @@ -5685,29 +5057,16 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f ((e = Object.prototype.toString.call(i)), Error( "Objects are not valid as a React child (found: " + - (e === "[object Object]" - ? "object with keys {" + Object.keys(i).join(", ") + "}" - : e) + - "). If you meant to render a collection of children, use an array instead." + (e === "[object Object]" ? "object with keys {" + Object.keys(i).join(", ") + "}" : e) + + "). If you meant to render a collection of children, use an array instead.", )) ); } typeof i == "string" - ? ((s = n.blockedSegment), - (s.lastPushedText = Yf( - n.blockedSegment.chunks, - i, - e.responseState, - s.lastPushedText - ))) + ? ((s = n.blockedSegment), (s.lastPushedText = Yf(n.blockedSegment.chunks, i, e.responseState, s.lastPushedText))) : typeof i == "number" && ((s = n.blockedSegment), - (s.lastPushedText = Yf( - n.blockedSegment.chunks, - "" + i, - e.responseState, - s.lastPushedText - ))); + (s.lastPushedText = Yf(n.blockedSegment.chunks, "" + i, e.responseState, s.lastPushedText))); } function cd(e, n, i) { for (var s = i.length, v = 0; v < s; v++) { @@ -5727,45 +5086,19 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f try { return ut(e, n, i); } catch (E) { - if ( - (Ec(), - typeof E == "object" && E !== null && typeof E.then == "function") - ) { + if ((Ec(), typeof E == "object" && E !== null && typeof E.then == "function")) { i = E; var m = n.blockedSegment, - S = us( - e, - m.chunks.length, - null, - m.formatContext, - m.lastPushedText, - !0 - ); + S = us(e, m.chunks.length, null, m.formatContext, m.lastPushedText, !0); m.children.push(S), (m.lastPushedText = !1), - (e = Rc( - e, - n.node, - n.blockedBoundary, - S, - n.abortSet, - n.legacyContext, - n.context, - n.treeContext - ).ping), + (e = Rc(e, n.node, n.blockedBoundary, S, n.abortSet, n.legacyContext, n.context, n.treeContext).ping), i.then(e, e), (n.blockedSegment.formatContext = s), (n.legacyContext = v), (n.context = c), ls(c); - } else - throw ( - ((n.blockedSegment.formatContext = s), - (n.legacyContext = v), - (n.context = c), - ls(c), - E) - ); + } else throw ((n.blockedSegment.formatContext = s), (n.legacyContext = v), (n.context = c), ls(c), E); } } function wv(e) { @@ -5776,18 +5109,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f var s = e.blockedBoundary; (e.blockedSegment.status = 3), s === null - ? (n.allPendingTasks--, - n.status !== 2 && - ((n.status = 2), n.destination !== null && n.destination.end())) + ? (n.allPendingTasks--, n.status !== 2 && ((n.status = 2), n.destination !== null && n.destination.end())) : (s.pendingTasks--, s.forceClientRender || ((s.forceClientRender = !0), (s.errorDigest = n.onError( - i === void 0 - ? Error( - "The render was aborted by the server without a reason." - ) - : i + i === void 0 ? Error("The render was aborted by the server without a reason.") : i, )), s.parentFlushed && n.clientRenderedBoundaries.push(s)), s.fallbackAbortableTasks.forEach(function (v) { @@ -5798,11 +5125,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f n.allPendingTasks === 0 && ((e = n.onAllReady), e())); } function fs(e, n) { - if ( - n.chunks.length === 0 && - n.children.length === 1 && - n.children[0].boundary === null - ) { + if (n.chunks.length === 0 && n.children.length === 1 && n.children[0].boundary === null) { var i = n.children[0]; (i.id = n.id), (i.parentFlushed = !0), i.status === 1 && fs(e, i); } else e.completedSegments.push(n); @@ -5810,15 +5133,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f function Od(e, n, i) { if (n === null) { if (i.parentFlushed) { - if (e.completedRootSegment !== null) - throw Error( - "There can only be one root segment. This is a bug in React." - ); + if (e.completedRootSegment !== null) throw Error("There can only be one root segment. This is a bug in React."); e.completedRootSegment = i; } - e.pendingRootTasks--, - e.pendingRootTasks === 0 && - ((e.onShellError = ji), (n = e.onShellReady), n()); + e.pendingRootTasks--, e.pendingRootTasks === 0 && ((e.onShellError = ji), (n = e.onShellReady), n()); } else n.pendingTasks--, n.forceClientRender || @@ -5829,10 +5147,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f n.fallbackAbortableTasks.clear()) : i.parentFlushed && i.status === 1 && - (fs(n, i), - n.completedSegments.length === 1 && - n.parentFlushed && - e.partialBoundaries.push(n))); + (fs(n, i), n.completedSegments.length === 1 && n.parentFlushed && e.partialBoundaries.push(n))); e.allPendingTasks--, e.allPendingTasks === 0 && ((e = e.onAllReady), e()); } function Md(e) { @@ -5858,12 +5173,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f (E.status = 1), Od(S, m.blockedBoundary, E); } catch (J) { - if ( - (Ec(), - typeof J == "object" && - J !== null && - typeof J.then == "function") - ) { + if ((Ec(), typeof J == "object" && J !== null && typeof J.then == "function")) { var x = m.ping; J.then(x, x); } else { @@ -5926,7 +5236,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return c < s.length && (v = se(n, s[c])), v; default: throw Error( - "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." + "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.", ); } } @@ -5934,85 +5244,51 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f var s = i.boundary; if (s === null) return es(e, n, i); if (((s.parentFlushed = !0), s.forceClientRender)) - (s = s.errorDigest), - se(n, yh), - L(n, Sh), - s && (L(n, xh), L(n, Ae(s)), L(n, wh)), - se(n, kh), - es(e, n, i); + (s = s.errorDigest), se(n, yh), L(n, Sh), s && (L(n, xh), L(n, Ae(s)), L(n, wh)), se(n, kh), es(e, n, i); else if (0 < s.pendingTasks) { - (s.rootSegmentID = e.nextSegmentId++), - 0 < s.completedSegments.length && e.partialBoundaries.push(s); + (s.rootSegmentID = e.nextSegmentId++), 0 < s.completedSegments.length && e.partialBoundaries.push(s); var v = e.responseState, c = v.nextSuspenseID++; - (v = A(v.boundaryPrefix + c.toString(16))), - (s = s.id = v), - Kf(n, e.responseState, s), - es(e, n, i); + (v = A(v.boundaryPrefix + c.toString(16))), (s = s.id = v), Kf(n, e.responseState, s), es(e, n, i); } else if (s.byteSize > e.progressiveChunkSize) - (s.rootSegmentID = e.nextSegmentId++), - e.completedBoundaries.push(s), - Kf(n, e.responseState, s.id), - es(e, n, i); + (s.rootSegmentID = e.nextSegmentId++), e.completedBoundaries.push(s), Kf(n, e.responseState, s.id), es(e, n, i); else { if ((se(n, vh), (i = s.completedSegments), i.length !== 1)) - throw Error( - "A previously unvisited boundary must have exactly one root segment. This is a bug in React." - ); + throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React."); hs(e, n, i[0]); } return se(n, bh); } function fd(e, n, i) { - return ( - Vh(n, e.responseState, i.formatContext, i.id), - hs(e, n, i), - Yh(n, i.formatContext) - ); + return Vh(n, e.responseState, i.formatContext, i.id), hs(e, n, i), Yh(n, i.formatContext); } function dd(e, n, i) { - for (var s = i.completedSegments, v = 0; v < s.length; v++) - Ld(e, n, i, s[v]); + for (var s = i.completedSegments, v = 0; v < s.length; v++) Ld(e, n, i, s[v]); if ( ((s.length = 0), (e = e.responseState), (s = i.id), (i = i.rootSegmentID), L(n, e.startInlineScript), - e.sentCompleteBoundaryFunction - ? L(n, Kh) - : ((e.sentCompleteBoundaryFunction = !0), L(n, Qh)), + e.sentCompleteBoundaryFunction ? L(n, Kh) : ((e.sentCompleteBoundaryFunction = !0), L(n, Qh)), s === null) ) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); - return ( - (i = i.toString(16)), - L(n, s), - L(n, qh), - L(n, e.segmentPrefix), - L(n, i), - se(n, ev) - ); + throw Error("An ID must have been assigned before we can complete the boundary."); + return (i = i.toString(16)), L(n, s), L(n, qh), L(n, e.segmentPrefix), L(n, i), se(n, ev); } function Ld(e, n, i, s) { if (s.status === 2) return !0; var v = s.id; if (v === -1) { if ((s.id = i.rootSegmentID) === -1) - throw Error( - "A root segment ID must have been assigned by now. This is a bug in React." - ); + throw Error("A root segment ID must have been assigned by now. This is a bug in React."); return fd(e, n, s); } return ( fd(e, n, s), (e = e.responseState), L(n, e.startInlineScript), - e.sentCompleteSegmentFunction - ? L(n, Xh) - : ((e.sentCompleteSegmentFunction = !0), L(n, Gh)), + e.sentCompleteSegmentFunction ? L(n, Xh) : ((e.sentCompleteSegmentFunction = !0), L(n, Gh)), L(n, e.segmentPrefix), (v = v.toString(16)), L(n, v), @@ -6044,14 +5320,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f D = m.errorComponentStack; if ( (L(s, S.startInlineScript), - S.sentClientRenderFunction - ? L(s, rv) - : ((S.sentClientRenderFunction = !0), L(s, tv)), + S.sentClientRenderFunction ? L(s, rv) : ((S.sentClientRenderFunction = !0), L(s, tv)), E === null) ) - throw Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw Error("An ID must have been assigned before we can complete the boundary."); if ( (L(s, E), L(s, nv), @@ -6153,8 +5425,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f v = n ? n.bootstrapScriptContent : void 0, c = n ? n.bootstrapScripts : void 0, m = n ? n.bootstrapModules : void 0; - (i = i === void 0 ? "" : i), - (s = s === void 0 ? Kp : A('<script nonce="' + Ae(s) + '">')); + (i = i === void 0 ? "" : i), (s = s === void 0 ? Kp : A('<script nonce="' + Ae(s) + '">')); var S = []; if ((v !== void 0 && S.push(s, ("" + v).replace(rh, nh), qp), c !== void 0)) for (v = 0; v < c.length; v++) S.push(eh, Ae(c[v]), Vf); @@ -6172,14 +5443,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f sentClientRenderFunction: !1, }), (c = n ? n.namespaceURI : void 0), - (c = Qt( - c === "http://www.w3.org/2000/svg" - ? 2 - : c === "http://www.w3.org/1998/Math/MathML" - ? 3 - : 0, - null - )), + (c = Qt(c === "http://www.w3.org/2000/svg" ? 2 : c === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null)), (v = n ? n.progressiveChunkSize : void 0), (s = n ? n.onError : void 0), (S = n ? n.onAllReady : void 0); @@ -6223,18 +5487,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f xv(i), { pipe: function (v) { - if (s) - throw Error( - "React currently only supports piping to one writable stream." - ); + if (s) throw Error("React currently only supports piping to one writable stream."); return ( (s = !0), Bd(i, v), v.on("drain", kv(v, i)), - v.on( - "error", - pd(i, Error("The destination stream errored while writing data.")) - ), + v.on("error", pd(i, Error("The destination stream errored while writing data."))), v.on("close", pd(i, Error("The destination stream closed early."))), v ); @@ -6247,7 +5505,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f }; _c.version = "18.2.0"; }); -var Hd = an((pa) => { +var Hd = an(pa => { "use strict"; process.env.NODE_ENV !== "production" && (function () { @@ -6258,23 +5516,13 @@ var Hd = an((pa) => { s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function v(t) { { - for ( - var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), u = 1; - u < r; - u++ - ) - l[u - 1] = arguments[u]; + for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++) l[u - 1] = arguments[u]; m("warn", t, l); } } function c(t) { { - for ( - var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), u = 1; - u < r; - u++ - ) - l[u - 1] = arguments[u]; + for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++) l[u - 1] = arguments[u]; m("error", t, l); } } @@ -6286,8 +5534,7 @@ var Hd = an((pa) => { var g = l.map(function (y) { return String(y); }); - g.unshift("Warning: " + r), - Function.prototype.apply.call(console[t], console, g); + g.unshift("Warning: " + r), Function.prototype.apply.call(console[t], console, g); } } function S(t) { @@ -6336,7 +5583,7 @@ var Hd = an((pa) => { c( "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", r, - P(t) + P(t), ), W(t) ); @@ -6347,7 +5594,7 @@ var Hd = an((pa) => { c( "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", r, - P(t) + P(t), ), W(t) ); @@ -6357,7 +5604,7 @@ var Hd = an((pa) => { return ( c( "The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", - P(t) + P(t), ), W(t) ); @@ -6438,17 +5685,10 @@ var Hd = an((pa) => { l = t[1]; ce[r] = new re(r, ct, !1, l, null, !1, !1); }), - ["contentEditable", "draggable", "spellCheck", "value"].forEach( - function (t) { - ce[t] = new re(t, qt, !1, t.toLowerCase(), null, !1, !1); - } - ), - [ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", - ].forEach(function (t) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (t) { + ce[t] = new re(t, qt, !1, t.toLowerCase(), null, !1, !1); + }), + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (t) { ce[t] = new re(t, qt, !1, t, null, !1, !1); }), [ @@ -6572,42 +5812,21 @@ var Hd = an((pa) => { var r = t.replace(rr, nr); ce[r] = new re(r, ct, !1, t, null, !1, !1); }), - [ - "xlink:actuate", - "xlink:arcrole", - "xlink:role", - "xlink:show", - "xlink:title", - "xlink:type", - ].forEach(function (t) { + ["xlink:actuate", "xlink:arcrole", "xlink:role", "xlink:show", "xlink:title", "xlink:type"].forEach(function ( + t, + ) { var r = t.replace(rr, nr); ce[r] = new re(r, ct, !1, t, "http://www.w3.org/1999/xlink", !1, !1); }), ["xml:base", "xml:lang", "xml:space"].forEach(function (t) { var r = t.replace(rr, nr); - ce[r] = new re( - r, - ct, - !1, - t, - "http://www.w3.org/XML/1998/namespace", - !1, - !1 - ); + ce[r] = new re(r, ct, !1, t, "http://www.w3.org/XML/1998/namespace", !1, !1); }), ["tabIndex", "crossOrigin"].forEach(function (t) { ce[t] = new re(t, ct, !1, t.toLowerCase(), null, !1, !1); }); var Rr = "xlinkHref"; - (ce[Rr] = new re( - "xlinkHref", - ct, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1 - )), + (ce[Rr] = new re("xlinkHref", ct, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1)), ["src", "href", "action", "formAction"].forEach(function (t) { ce[t] = new re(t, ct, !1, t.toLowerCase(), null, !0, !0); }); @@ -6682,14 +5901,14 @@ var Hd = an((pa) => { r.disabled || r.value == null || c( - "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`." + "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.", ), r.onChange || r.readOnly || r.disabled || r.checked == null || c( - "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`." + "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.", ); } function co(t, r) { @@ -6770,30 +5989,17 @@ var Hd = an((pa) => { u = or.hasOwnProperty(l) ? l : null; if (u == null) return ( - c( - "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", - r - ), - (je[r] = !0), - !0 - ); - if (r !== u) - return ( - c("Invalid ARIA attribute `%s`. Did you mean `%s`?", r, u), + c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", r), (je[r] = !0), !0 ); + if (r !== u) return c("Invalid ARIA attribute `%s`. Did you mean `%s`?", r, u), (je[r] = !0), !0; } if (ha.test(r)) { var p = r.toLowerCase(), g = or.hasOwnProperty(p) ? p : null; if (g == null) return (je[r] = !0), !1; - if (r !== g) - return ( - c("Unknown ARIA attribute `%s`. Did you mean `%s`?", r, g), - (je[r] = !0), - !0 - ); + if (r !== g) return c("Unknown ARIA attribute `%s`. Did you mean `%s`?", r, g), (je[r] = !0), !0; } } return !0; @@ -6811,16 +6017,12 @@ var Hd = an((pa) => { }) .join(", "); l.length === 1 - ? c( - "Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", - g, - t - ) + ? c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", g, t) : l.length > 1 && c( "Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", g, - t + t, ); } } @@ -6838,11 +6040,11 @@ var Hd = an((pa) => { t === "select" && r.multiple ? c( "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", - t + t, ) : c( "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", - t + t, )); } } @@ -7346,7 +6548,7 @@ var Hd = an((pa) => { if (p === "onfocusin" || p === "onfocusout") return ( c( - "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React." + "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.", ), (ke[r] = !0), !0 @@ -7356,31 +6558,14 @@ var Hd = an((pa) => { y = u.possibleRegistrationNames; if (g.hasOwnProperty(r)) return !0; var w = y.hasOwnProperty(p) ? y[p] : null; - if (w != null) - return ( - c( - "Invalid event handler property `%s`. Did you mean `%s`?", - r, - w - ), - (ke[r] = !0), - !0 - ); - if (po.test(r)) - return ( - c( - "Unknown event handler property `%s`. It will be ignored.", - r - ), - (ke[r] = !0), - !0 - ); + if (w != null) return c("Invalid event handler property `%s`. Did you mean `%s`?", r, w), (ke[r] = !0), !0; + if (po.test(r)) return c("Unknown event handler property `%s`. It will be ignored.", r), (ke[r] = !0), !0; } else if (po.test(r)) return ( va.test(r) && c( "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", - r + r, ), (ke[r] = !0), !0 @@ -7389,7 +6574,7 @@ var Hd = an((pa) => { if (p === "innerhtml") return ( c( - "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`." + "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.", ), (ke[r] = !0), !0 @@ -7397,7 +6582,7 @@ var Hd = an((pa) => { if (p === "aria") return ( c( - "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead." + "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.", ), (ke[r] = !0), !0 @@ -7406,17 +6591,14 @@ var Hd = an((pa) => { return ( c( "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", - typeof l + typeof l, ), (ke[r] = !0), !0 ); if (typeof l == "number" && isNaN(l)) return ( - c( - "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", - r - ), + c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", r), (ke[r] = !0), !0 ); @@ -7424,18 +6606,13 @@ var Hd = an((pa) => { _ = C !== null && C.type === F; if (sr.hasOwnProperty(p)) { var O = sr[p]; - if (O !== r) - return ( - c("Invalid DOM property `%s`. Did you mean `%s`?", r, O), - (ke[r] = !0), - !0 - ); + if (O !== r) return c("Invalid DOM property `%s`. Did you mean `%s`?", r, O), (ke[r] = !0), !0; } else if (!_ && r !== p) return ( c( "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", r, - p + p, ), (ke[r] = !0), !0 @@ -7448,7 +6625,7 @@ var Hd = an((pa) => { r, r, l, - r + r, ) : c( 'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', @@ -7458,7 +6635,7 @@ var Hd = an((pa) => { l, r, r, - r + r, ), (ke[r] = !0), !0) @@ -7477,7 +6654,7 @@ var Hd = an((pa) => { ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', r, - l + l, ), (ke[r] = !0)), !0); @@ -7499,13 +6676,13 @@ var Hd = an((pa) => { ? c( "Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", y, - t + t, ) : u.length > 1 && c( "Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", y, - t + t, ); } }; @@ -7529,12 +6706,7 @@ var Hd = an((pa) => { }, _r = function (t) { (xt.hasOwnProperty(t) && xt[t]) || - ((xt[t] = !0), - c( - "Unsupported style property %s. Did you mean %s?", - t, - ur(t.replace(Te, "ms-")) - )); + ((xt[t] = !0), c("Unsupported style property %s. Did you mean %s?", t, ur(t.replace(Te, "ms-")))); }, ya = function (t) { (xt.hasOwnProperty(t) && xt[t]) || @@ -7542,42 +6714,23 @@ var Hd = an((pa) => { c( "Unsupported vendor-prefixed style property %s. Did you mean %s?", t, - t.charAt(0).toUpperCase() + t.slice(1) + t.charAt(0).toUpperCase() + t.slice(1), )); }, ba = function (t, r) { (hn.hasOwnProperty(r) && hn[r]) || ((hn[r] = !0), - c( - `Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, - t, - r.replace(go, "") - )); + c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, t, r.replace(go, ""))); }, mo = function (t, r) { - vn || - ((vn = !0), - c( - "`NaN` is an invalid value for the `%s` css style property.", - t - )); + vn || ((vn = !0), c("`NaN` is an invalid value for the `%s` css style property.", t)); }, Ut = function (t, r) { - Ir || - ((Ir = !0), - c( - "`Infinity` is an invalid value for the `%s` css style property.", - t - )); + Ir || ((Ir = !0), c("`Infinity` is an invalid value for the `%s` css style property.", t)); }; pn = function (t, r) { - t.indexOf("-") > -1 - ? _r(t) - : wt.test(t) - ? ya(t) - : go.test(r) && ba(t, r), - typeof r == "number" && - (isNaN(r) ? mo(t, r) : isFinite(r) || Ut(t, r)); + t.indexOf("-") > -1 ? _r(t) : wt.test(t) ? ya(t) : go.test(r) && ba(t, r), + typeof r == "number" && (isNaN(r) ? mo(t, r) : isFinite(r) || Ut(t, r)); }; } var gn = pn, @@ -7632,7 +6785,7 @@ var Hd = an((pa) => { ((mn = !0), c( "A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", - JSON.stringify(t) + JSON.stringify(t), )); } var Ta = Array.isArray; @@ -7657,8 +6810,7 @@ var Hd = an((pa) => { w = []; if ((l !== void 0 && w.push(y, So(l), Ca), u !== void 0)) for (var C = 0; C < u.length; C++) w.push(Ea, ge(u[C]), bo); - if (p !== void 0) - for (var _ = 0; _ < p.length; _++) w.push(Ra, ge(p[_]), bo); + if (p !== void 0) for (var _ = 0; _ < p.length; _++) w.push(Ra, ge(p[_]), bo); return { bootstrapChunks: w, startInlineScript: y, @@ -7704,9 +6856,7 @@ var Hd = an((pa) => { case "tr": return He(Tt, null); } - return t.insertionMode >= fr || t.insertionMode === Fr - ? He(kt, null) - : t; + return t.insertionMode >= fr || t.insertionMode === Fr ? He(kt, null) : t; } var Ct = null; function Wt(t) { @@ -7741,7 +6891,7 @@ var Hd = an((pa) => { function wo(t, r, l) { if (typeof l != "object") throw new Error( - "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." + "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.", ); var u = !0; for (var p in l) @@ -7782,13 +6932,7 @@ var Hd = an((pa) => { case "suppressHydrationWarning": return; } - if ( - !( - l.length > 2 && - (l[0] === "o" || l[0] === "O") && - (l[1] === "n" || l[1] === "N") - ) - ) { + if (!(l.length > 2 && (l[0] === "o" || l[0] === "O") && (l[1] === "n" || l[1] === "N"))) { var p = er(l); if (p !== null) { switch (typeof u) { @@ -7805,9 +6949,7 @@ var Hd = an((pa) => { u && t.push(We, y, $t); return; case Mt: - u === !0 - ? t.push(We, y, $t) - : u === !1 || t.push(We, y, Rt, ge(u), ht); + u === !0 ? t.push(We, y, $t) : u === !1 || t.push(We, y, Rt, ge(u), ht); return; case Lt: isNaN(u) || t.push(We, y, Rt, ge(u), ht); @@ -7816,8 +6958,7 @@ var Hd = an((pa) => { !isNaN(u) && u >= 1 && t.push(We, y, Rt, ge(u), ht); break; default: - p.sanitizeURL && (q(u, g), (u = "" + u), yo(u)), - t.push(We, y, Rt, ge(u), ht); + p.sanitizeURL && (q(u, g), (u = "" + u), yo(u)), t.push(We, y, Rt, ge(u), ht); } } else if (bt(l)) { switch (typeof u) { @@ -7837,13 +6978,10 @@ var Hd = an((pa) => { pr = "/>"; function hr(t, r, l) { if (r != null) { - if (l != null) - throw new Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (l != null) throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof r != "object" || !("__html" in r)) throw new Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); var u = r.__html; u != null && (_e(u), t.push("" + u)); @@ -7862,16 +7000,10 @@ var Hd = an((pa) => { if (l != null) { var u = me(l); t.multiple && !u - ? c( - "The `%s` prop supplied to <select> must be an array if `multiple` is true.", - r - ) + ? c("The `%s` prop supplied to <select> must be an array if `multiple` is true.", r) : !t.multiple && u && - c( - "The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", - r - ); + c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", r); } } } @@ -7883,7 +7015,7 @@ var Hd = an((pa) => { r.defaultValue !== void 0 && !Ze && (c( - "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components" + "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ), (Ze = !0)), t.push(Be("select")); @@ -7921,7 +7053,7 @@ var Hd = an((pa) => { typeof l != "number" && ((vt = !0), c( - "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>." + "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.", ))); }), r @@ -7947,7 +7079,7 @@ var Hd = an((pa) => { (w = O), Re || (c( - "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>." + "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.", ), (Re = !0)); break; @@ -7970,7 +7102,7 @@ var Hd = an((pa) => { (Ur || ((Ur = !0), c( - "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected." + "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.", ))), (j = gr(g))), me(p)) @@ -7995,7 +7127,7 @@ var Hd = an((pa) => { (c( "%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", - r.type + r.type, ), (vr = !0)), r.value !== void 0 && @@ -8004,7 +7136,7 @@ var Hd = an((pa) => { (c( "%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", - r.type + r.type, ), (It = !0)), t.push(Be("input")); @@ -8020,7 +7152,7 @@ var Hd = an((pa) => { case "children": case "dangerouslySetInnerHTML": throw new Error( - "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); case "defaultChecked": y = C; @@ -8040,12 +7172,8 @@ var Hd = an((pa) => { } } return ( - g !== null - ? Ce(t, l, "checked", g) - : y !== null && Ce(t, l, "checked", y), - u !== null - ? Ce(t, l, "value", u) - : p !== null && Ce(t, l, "value", p), + g !== null ? Ce(t, l, "checked", g) : y !== null && Ce(t, l, "checked", y), + u !== null ? Ce(t, l, "value", u) : p !== null && Ce(t, l, "value", p), t.push(pr), null ); @@ -8056,7 +7184,7 @@ var Hd = an((pa) => { r.defaultValue !== void 0 && !_t && (c( - "Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components" + "Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components", ), (_t = !0)), t.push(Be("textarea")); @@ -8078,27 +7206,17 @@ var Hd = an((pa) => { p = w; break; case "dangerouslySetInnerHTML": - throw new Error( - "`dangerouslySetInnerHTML` does not make sense on <textarea>." - ); + throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); default: Ce(t, l, y, w); break; } } if ((u === null && p !== null && (u = p), t.push(rt), g != null)) { - if ( - (c( - "Use the `defaultValue` or `value` props instead of setting children on <textarea>." - ), - u != null) - ) - throw new Error( - "If you supply `defaultValue` on a <textarea>, do not pass children." - ); + if ((c("Use the `defaultValue` or `value` props instead of setting children on <textarea>."), u != null)) + throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children."); if (me(g)) { - if (g.length > 1) - throw new Error("<textarea> can only have at most one child."); + if (g.length > 1) throw new Error("<textarea> can only have at most one child."); _e(g[0]), (u = "" + g[0]); } _e(g), (u = "" + g); @@ -8123,8 +7241,7 @@ var Hd = an((pa) => { case "children": case "dangerouslySetInnerHTML": throw new Error( - l + - " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + l + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); default: Ce(t, u, p, g); @@ -8142,9 +7259,7 @@ var Hd = an((pa) => { switch (u) { case "children": case "dangerouslySetInnerHTML": - throw new Error( - "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." - ); + throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); default: Ce(t, l, u, p); break; @@ -8164,9 +7279,7 @@ var Hd = an((pa) => { u = g; break; case "dangerouslySetInnerHTML": - throw new Error( - "`dangerouslySetInnerHTML` does not make sense on <title>." - ); + throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>."); default: Ce(t, l, p, g); break; @@ -8177,17 +7290,17 @@ var Hd = an((pa) => { var y = Array.isArray(u) && u.length < 2 ? u[0] || null : u; Array.isArray(u) && u.length > 1 ? c( - "A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ) : y != null && y.$$typeof != null ? c( - "A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ) : y != null && typeof y != "string" && typeof y != "number" && c( - "A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ); } return u; @@ -8212,11 +7325,7 @@ var Hd = an((pa) => { break; } } - return ( - t.push(rt), - hr(t, g, p), - typeof p == "string" ? (t.push(Et(p)), null) : p - ); + return t.push(rt), hr(t, g, p), typeof p == "string" ? (t.push(Et(p)), null) : p; } function Pa(t, r, l, u) { t.push(Be(l)); @@ -8240,10 +7349,7 @@ var Hd = an((pa) => { case "suppressHydrationWarning": break; default: - bt(y) && - typeof w != "function" && - typeof w != "symbol" && - t.push(We, y, Rt, ge(w), ht); + bt(y) && typeof w != "function" && typeof w != "symbol" && t.push(We, y, Rt, ge(w), ht); break; } } @@ -8272,13 +7378,10 @@ var Hd = an((pa) => { } } if ((t.push(rt), g != null)) { - if (p != null) - throw new Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (p != null) throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof g != "object" || !("__html" in g)) throw new Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); var C = g.__html; C != null && @@ -8319,7 +7422,7 @@ var Hd = an((pa) => { l.contentEditable && l.children != null && c( - "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional." + "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.", ), p.insertionMode !== Ar && p.insertionMode !== Dr && @@ -8328,7 +7431,7 @@ var Hd = an((pa) => { r.toLowerCase() !== r && c( "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", - r + r, ), r) ) { @@ -8374,9 +7477,7 @@ var Hd = an((pa) => { case "html": return p.insertionMode === Fr && t.push(En), Pt(t, l, r, u); default: - return r.indexOf("-") === -1 && typeof l.is != "string" - ? Pt(t, l, r, u) - : Pa(t, l, r, u); + return r.indexOf("-") === -1 && typeof l.is != "string" ? Pt(t, l, r, u) : Pa(t, l, r, u); } } var Aa = "</", @@ -8404,8 +7505,7 @@ var Hd = an((pa) => { } } function _n(t, r) { - for (var l = r.bootstrapChunks, u = 0; u < l.length - 1; u++) - x(t, l[u]); + for (var l = r.bootstrapChunks, u = 0; u < l.length - 1; u++) x(t, l[u]); return u < l.length ? R(t, l[u]) : !0; } var h = '<template id="', @@ -8431,9 +7531,7 @@ var Hd = an((pa) => { } function yr(t, r, l) { if ((x(t, I), l === null)) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); return x(t, l), R(t, U); } function Pn(t, r, l, u, p) { @@ -8482,33 +7580,19 @@ var Hd = an((pa) => { switch (l.insertionMode) { case Fr: case kt: - return ( - x(t, Oa), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Eo) - ); + return x(t, Oa), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Eo); case Ar: - return ( - x(t, vs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, gs) - ); + return x(t, vs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, gs); case Dr: - return ( - x(t, ms), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, ys) - ); + return x(t, ms), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, ys); case fr: - return ( - x(t, bs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Ss) - ); + return x(t, bs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Ss); case yn: - return ( - x(t, xs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, ks) - ); + return x(t, xs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, ks); case Tt: - return ( - x(t, Cs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Es) - ); + return x(t, Cs), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, Es); case Or: - return ( - x(t, Is), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, _s) - ); + return x(t, Is), x(t, r.segmentPrefix), x(t, u.toString(16)), R(t, _s); default: throw new Error("Unknown insertion mode. This is a bug in React."); } @@ -8546,9 +7630,7 @@ var Hd = an((pa) => { js = '")</script>'; function Hs(t, r, l) { x(t, r.startInlineScript), - r.sentCompleteSegmentFunction - ? x(t, Bs) - : ((r.sentCompleteSegmentFunction = !0), x(t, Ls)), + r.sentCompleteSegmentFunction ? x(t, Bs) : ((r.sentCompleteSegmentFunction = !0), x(t, Ls)), x(t, r.segmentPrefix); var u = l.toString(16); return x(t, u), x(t, Us), x(t, r.placeholderPrefix), x(t, u), R(t, js); @@ -8560,14 +7642,10 @@ var Hd = an((pa) => { function Vs(t, r, l, u) { if ( (x(t, r.startInlineScript), - r.sentCompleteBoundaryFunction - ? x(t, zs) - : ((r.sentCompleteBoundaryFunction = !0), x(t, Ws)), + r.sentCompleteBoundaryFunction ? x(t, zs) : ((r.sentCompleteBoundaryFunction = !0), x(t, Ws)), l === null) ) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); var p = u.toString(16); return x(t, l), x(t, $s), x(t, r.segmentPrefix), x(t, p), R(t, Ns); } @@ -8579,14 +7657,10 @@ var Hd = an((pa) => { function Js(t, r, l, u, p, g) { if ( (x(t, r.startInlineScript), - r.sentClientRenderFunction - ? x(t, Gs) - : ((r.sentClientRenderFunction = !0), x(t, Ys)), + r.sentClientRenderFunction ? x(t, Gs) : ((r.sentClientRenderFunction = !0), x(t, Ys)), l === null) ) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); return ( x(t, l), x(t, Xs), @@ -8609,7 +7683,7 @@ var Hd = an((pa) => { return "\\u2029"; default: throw new Error( - "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" + "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React", ); } }); @@ -8689,7 +7763,7 @@ var Hd = an((pa) => { if ( (typeof t.tag == "number" && c( - "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.", ), typeof t == "function") ) @@ -8788,10 +7862,7 @@ var Hd = an((pa) => { groupEnd: Qe({}, t, { value: Ga }), }); } - Nr < 0 && - c( - "disabledDepth fell below zero. This is a bug in React. Please file an issue." - ); + Nr < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var Za = s.ReactCurrentDispatcher, @@ -8888,9 +7959,7 @@ var Hd = an((pa) => { ` ` + w[_].replace(" at new ", " at "); return ( - t.displayName && - j.includes("<anonymous>") && - (j = j.replace("<anonymous>", t.displayName)), + t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && Nt.set(t, j), j ); @@ -8968,18 +8037,11 @@ var Hd = an((pa) => { y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[y] + - "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", ); throw ((C.name = "Invariant Violation"), C); } - w = t[y]( - r, - y, - u, - l, - null, - "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" - ); + w = t[y](r, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (_) { w = _; } @@ -8991,15 +8053,12 @@ var Hd = an((pa) => { u || "React class", l, y, - typeof w + typeof w, ), Ln(null)), w instanceof Error && !(w.message in rl) && - ((rl[w.message] = !0), - Ln(p), - c("Failed %s type: %s", l, w.message), - Ln(null)); + ((rl[w.message] = !0), Ln(p), c("Failed %s type: %s", l, w.message), Ln(null)); } } } @@ -9030,7 +8089,7 @@ var Hd = an((pa) => { c( "%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", p, - p + p, )); } return l; @@ -9039,10 +8098,7 @@ var Hd = an((pa) => { for (var y in g) if (!(y in u)) throw new Error( - (ie(r) || "Unknown") + - '.getChildContext(): key "' + - y + - '" is not defined in childContextTypes.' + (ie(r) || "Unknown") + '.getChildContext(): key "' + y + '" is not defined in childContextTypes.', ); { var w = ie(r) || "Unknown"; @@ -9067,15 +8123,9 @@ var Hd = an((pa) => { var l = t.parent, u = r.parent; if (l === null) { - if (u !== null) - throw new Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (u !== null) throw new Error("The stacks must reach the root at the same time. This is a bug in React."); } else { - if (u === null) - throw new Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (u === null) throw new Error("The stacks must reach the root at the same time. This is a bug in React."); Zr(l, u); } Ft(r); @@ -9094,17 +8144,13 @@ var Hd = an((pa) => { qa(t); var l = t.parent; if (l === null) - throw new Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); l.depth === r.depth ? Zr(l, r) : ei(l, r); } function ti(t, r) { var l = r.parent; if (l === null) - throw new Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); t.depth === l.depth ? Zr(t, l) : ti(t, l), Ft(r); } function jn(t) { @@ -9130,7 +8176,7 @@ var Hd = an((pa) => { t._currentRenderer2 !== null && t._currentRenderer2 !== Xr && c( - "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported." + "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.", ), (t._currentRenderer2 = Xr); var u = nt, @@ -9145,24 +8191,16 @@ var Hd = an((pa) => { } function Lo(t) { var r = nt; - if (r === null) - throw new Error( - "Tried to pop a Context at the root of the app. This is a bug in React." - ); - r.context !== t && - c( - "The parent context is not the expected context. This is probably a bug in React." - ); + if (r === null) throw new Error("Tried to pop a Context at the root of the app. This is a bug in React."); + r.context !== t && c("The parent context is not the expected context. This is probably a bug in React."); { var l = r.parentValue; - l === ru - ? (r.context._currentValue2 = r.context._defaultValue) - : (r.context._currentValue2 = l), + l === ru ? (r.context._currentValue2 = r.context._defaultValue) : (r.context._currentValue2 = l), t._currentRenderer2 !== void 0 && t._currentRenderer2 !== null && t._currentRenderer2 !== Xr && c( - "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported." + "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.", ), (t._currentRenderer2 = Xr); } @@ -9209,7 +8247,7 @@ var Hd = an((pa) => { c( "%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", r, - t + t, )); } }), @@ -9220,7 +8258,7 @@ var Hd = an((pa) => { ($n.add(l), c( "%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", - l + l, )); } }); @@ -9237,7 +8275,7 @@ var Hd = an((pa) => { Please check the code for the %s component.`, r, r, - u + u, ), (Bo[p] = !0); } @@ -9248,9 +8286,7 @@ Please check the code for the %s component.`, }, enqueueSetState: function (t, r, l) { var u = ri(t); - u.queue === null - ? $o(t, "setState") - : (u.queue.push(r), l != null && Jr(l, "setState")); + u.queue === null ? $o(t, "setState") : (u.queue.push(r), l != null && Jr(l, "setState")); }, enqueueReplaceState: function (t, r, l) { var u = ri(t); @@ -9258,9 +8294,7 @@ Please check the code for the %s component.`, }, enqueueForceUpdate: function (t, r) { var l = ri(t); - l.queue === null - ? $o(t, "forceUpdate") - : r != null && Jr(r, "setState"); + l.queue === null ? $o(t, "forceUpdate") : r != null && Jr(r, "setState"); }, }; function al(t, r, l, u, p) { @@ -9273,9 +8307,7 @@ Please check the code for the %s component.`, var u = Bn, p = t.contextType; if ("contextType" in t) { - var g = - p === null || - (p !== void 0 && p.$$typeof === Io && p._context === void 0); + var g = p === null || (p !== void 0 && p.$$typeof === Io && p._context === void 0); if (!g && !Nn.has(t)) { Nn.add(t); var y = ""; @@ -9288,24 +8320,18 @@ Please check the code for the %s component.`, ? (y = " Did you accidentally pass the Context.Provider instead?") : p._context !== void 0 ? (y = " Did you accidentally pass the Context.Consumer instead?") - : (y = - " However, it is set to an object with keys {" + - Object.keys(p).join(", ") + - "}."), + : (y = " However, it is set to an object with keys {" + Object.keys(p).join(", ") + "}."), c( "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", ie(t) || "Component", - y + y, ); } } typeof p == "object" && p !== null ? (u = Hn(p)) : (u = l); var w = new t(r, u); { - if ( - typeof t.getDerivedStateFromProps == "function" && - (w.state === null || w.state === void 0) - ) { + if (typeof t.getDerivedStateFromProps == "function" && (w.state === null || w.state === void 0)) { var C = ie(t) || "Component"; Uo.has(C) || (Uo.add(C), @@ -9313,32 +8339,24 @@ Please check the code for the %s component.`, "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", C, w.state === null ? "null" : "undefined", - C + C, )); } - if ( - typeof t.getDerivedStateFromProps == "function" || - typeof w.getSnapshotBeforeUpdate == "function" - ) { + if (typeof t.getDerivedStateFromProps == "function" || typeof w.getSnapshotBeforeUpdate == "function") { var _ = null, O = null, j = null; if ( - (typeof w.componentWillMount == "function" && - w.componentWillMount.__suppressDeprecationWarning !== !0 + (typeof w.componentWillMount == "function" && w.componentWillMount.__suppressDeprecationWarning !== !0 ? (_ = "componentWillMount") - : typeof w.UNSAFE_componentWillMount == "function" && - (_ = "UNSAFE_componentWillMount"), + : typeof w.UNSAFE_componentWillMount == "function" && (_ = "UNSAFE_componentWillMount"), typeof w.componentWillReceiveProps == "function" && w.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? (O = "componentWillReceiveProps") - : typeof w.UNSAFE_componentWillReceiveProps == "function" && - (O = "UNSAFE_componentWillReceiveProps"), - typeof w.componentWillUpdate == "function" && - w.componentWillUpdate.__suppressDeprecationWarning !== !0 + : typeof w.UNSAFE_componentWillReceiveProps == "function" && (O = "UNSAFE_componentWillReceiveProps"), + typeof w.componentWillUpdate == "function" && w.componentWillUpdate.__suppressDeprecationWarning !== !0 ? (j = "componentWillUpdate") - : typeof w.UNSAFE_componentWillUpdate == "function" && - (j = "UNSAFE_componentWillUpdate"), + : typeof w.UNSAFE_componentWillUpdate == "function" && (j = "UNSAFE_componentWillUpdate"), _ !== null || O !== null || j !== null) ) { var Z = ie(t) || "Component", @@ -9368,7 +8386,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, j !== null ? ` ` + j - : "" + : "", )); } } @@ -9383,39 +8401,39 @@ https://reactjs.org/link/unsafe-component-lifecycles`, (r.prototype && typeof r.prototype.render == "function" ? c( "%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", - u + u, ) : c( "%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", - u + u, )), t.getInitialState && !t.getInitialState.isReactClassApproved && !t.state && c( "getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", - u + u, ), t.getDefaultProps && !t.getDefaultProps.isReactClassApproved && c( "getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", - u + u, ), t.propTypes && c( "propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", - u + u, ), t.contextType && c( "contextType was defined as an instance property on %s. Use a static property to define contextType instead.", - u + u, ), t.contextTypes && c( "contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", - u + u, ), r.contextType && r.contextTypes && @@ -9423,39 +8441,36 @@ https://reactjs.org/link/unsafe-component-lifecycles`, (Qr.add(r), c( "%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", - u + u, )), typeof t.componentShouldUpdate == "function" && c( "%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", - u + u, ), r.prototype && r.prototype.isPureReactComponent && typeof t.shouldComponentUpdate < "u" && c( "%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", - ie(r) || "A pure component" + ie(r) || "A pure component", ), typeof t.componentDidUnmount == "function" && c( "%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", - u + u, ), typeof t.componentDidReceiveProps == "function" && c( "%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", - u + u, ), typeof t.componentWillRecieveProps == "function" && - c( - "%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", - u - ), + c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", u), typeof t.UNSAFE_componentWillRecieveProps == "function" && c( "%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", - u + u, ); var g = t.props !== l; t.props !== void 0 && @@ -9463,13 +8478,13 @@ https://reactjs.org/link/unsafe-component-lifecycles`, c( "%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", u, - u + u, ), t.defaultProps && c( "Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", u, - u + u, ), typeof t.getSnapshotBeforeUpdate == "function" && typeof t.componentDidUpdate != "function" && @@ -9477,33 +8492,28 @@ https://reactjs.org/link/unsafe-component-lifecycles`, (jo.add(r), c( "%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", - ie(r) + ie(r), )), typeof t.getDerivedStateFromProps == "function" && c( "%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", - u + u, ), typeof t.getDerivedStateFromError == "function" && c( "%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", - u + u, ), typeof r.getSnapshotBeforeUpdate == "function" && c( "%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", - u + u, ); var y = t.state; - y && - (typeof y != "object" || me(y)) && - c("%s.state: must be set to an object or null", u), + y && (typeof y != "object" || me(y)) && c("%s.state: must be set to an object or null", u), typeof t.getChildContext == "function" && typeof r.childContextTypes != "object" && - c( - "%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", - u - ); + c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", u); } } function cu(t, r) { @@ -9518,18 +8528,17 @@ https://reactjs.org/link/unsafe-component-lifecycles`, * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor. Please update the following components: %s`, - u + u, ), (ol[u] = !0)); } r.componentWillMount(); } - typeof r.UNSAFE_componentWillMount == "function" && - r.UNSAFE_componentWillMount(), + typeof r.UNSAFE_componentWillMount == "function" && r.UNSAFE_componentWillMount(), l !== r.state && (c( "%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", - ie(t) || "Component" + ie(t) || "Component", ), ni.enqueueReplaceState(r, r.state, null)); } @@ -9537,14 +8546,9 @@ Please update the following components: %s`, if (t.queue !== null && t.queue.length > 0) { var p = t.queue, g = t.replace; - if (((t.queue = null), (t.replace = !1), g && p.length === 1)) - r.state = p[0]; + if (((t.queue = null), (t.replace = !1), g && p.length === 1)) r.state = p[0]; else { - for ( - var y = g ? p[0] : r.state, w = !0, C = g ? 1 : 0; - C < p.length; - C++ - ) { + for (var y = g ? p[0] : r.state, w = !0, C = g ? 1 : 0; C < p.length; C++) { var _ = p[C], O = typeof _ == "function" ? _.call(r, y, l, u) : _; O != null && (w ? ((w = !1), (y = Qe({}, y, O))) : Qe(y, O)); @@ -9560,26 +8564,20 @@ Please update the following components: %s`, var g = { queue: [], replace: !1 }; Wn(t, g); var y = r.contextType; - if ( - (typeof y == "object" && y !== null - ? (t.context = Hn(y)) - : (t.context = u), - t.state === l) - ) { + if ((typeof y == "object" && y !== null ? (t.context = Hn(y)) : (t.context = u), t.state === l)) { var w = ie(r) || "Component"; Wo.has(w) || (Wo.add(w), c( "%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", - w + w, )); } var C = r.getDerivedStateFromProps; typeof C == "function" && (t.state = al(t, r, C, p, l)), typeof r.getDerivedStateFromProps != "function" && typeof t.getSnapshotBeforeUpdate != "function" && - (typeof t.UNSAFE_componentWillMount == "function" || - typeof t.componentWillMount == "function") && + (typeof t.UNSAFE_componentWillMount == "function" || typeof t.componentWillMount == "function") && (cu(r, t), fu(g, t, l, u)); } var du = { id: 1, overflow: "" }; @@ -9628,9 +8626,7 @@ Please update the following components: %s`, return r === 0 ? 32 : (31 - ((pu(r) / hu) | 0)) | 0; } function gu(t, r) { - return ( - (t === r && (t !== 0 || 1 / t === 1 / r)) || (t !== t && r !== r) - ); + return (t === r && (t !== 0 || 1 / t === 1 / r)) || (t !== t && r !== r); } var mu = typeof Object.is == "function" ? Object.is : gu, At = null, @@ -9655,7 +8651,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return ( $e && c( - "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks" + "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks", ), At ); @@ -9665,7 +8661,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return ( c( "%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", - Kr + Kr, ), !1 ); @@ -9677,17 +8673,13 @@ Previous: %s Incoming: %s`, Kr, "[" + t.join(", ") + "]", - "[" + r.join(", ") + "]" + "[" + r.join(", ") + "]", ); - for (var l = 0; l < r.length && l < t.length; l++) - if (!mu(t[l], r[l])) return !1; + for (var l = 0; l < r.length && l < t.length; l++) if (!mu(t[l], r[l])) return !1; return !0; } function Xt() { - if (Sr > 0) - throw new Error( - "Rendered more hooks than during the previous render" - ); + if (Sr > 0) throw new Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function li() { @@ -9714,20 +8706,13 @@ Incoming: %s`, return t; } function ui() { - ($e = !1), - (At = null), - (ii = null), - (G = !1), - (Ke = null), - (Sr = 0), - (ot = null), - (X = null); + ($e = !1), (At = null), (ii = null), (G = !1), (Ke = null), (Sr = 0), (ot = null), (X = null); } function fl(t) { return ( $e && c( - "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()." + "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().", ), Hn(t) ); @@ -9762,9 +8747,7 @@ Incoming: %s`, } else { $e = !0; var _; - t === fi - ? (_ = typeof r == "function" ? r() : r) - : (_ = l !== void 0 ? l(r) : r), + t === fi ? (_ = typeof r == "function" ? r() : r) : (_ = l !== void 0 ? l(r) : r), ($e = !1), (X.memoizedState = _); var O = (X.queue = { last: null, dispatch: null }), @@ -9797,14 +8780,12 @@ Incoming: %s`, function hl(t, r) { (Kr = "useLayoutEffect"), c( - "useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes." + "useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.", ); } function bu(t, r, l) { if (Sr >= Gt) - throw new Error( - "Too many re-renders. React limits the number of renders to prevent an infinite loop." - ); + throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); if (t === At) { G = !0; var u = { action: l, next: null }; @@ -9828,7 +8809,7 @@ Incoming: %s`, function xu(t, r, l) { if (l === void 0) throw new Error( - "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." + "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.", ); return l(); } @@ -9836,9 +8817,7 @@ Incoming: %s`, return Ie(), t; } function Tu() { - throw new Error( - "startTransition cannot be called during server rendering." - ); + throw new Error("startTransition cannot be called during server rendering."); } function Cu() { return Ie(), [!1, Tu]; @@ -9848,9 +8827,7 @@ Incoming: %s`, r = sl(t.treeContext), l = en; if (l === null) - throw new Error( - "Invalid hook call. Hooks can only be called inside of the body of a function component." - ); + throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component."); var u = Yt++; return zt(l, r, u); } @@ -9974,8 +8951,7 @@ Error generating stack: ` + }; } function mi(t, r, l, u, p, g, y, w) { - t.allPendingTasks++, - l === null ? t.pendingRootTasks++ : l.pendingTasks++; + t.allPendingTasks++, l === null ? t.pendingRootTasks++ : l.pendingTasks++; var C = { node: r, ping: function () { @@ -10006,9 +8982,7 @@ Error generating stack: ` + } var at = null; function nn() { - return at === null || at.componentStack === null - ? "" - : pi(at.componentStack); + return at === null || at.componentStack === null ? "" : pi(at.componentStack); } function Ne(t, r) { t.componentStack = { tag: 0, parent: t.componentStack, type: r }; @@ -10021,20 +8995,14 @@ Error generating stack: ` + } function Dt(t) { t.componentStack === null - ? c( - "Unexpectedly popped too many stack frames. This is a bug in React." - ) + ? c("Unexpectedly popped too many stack frames. This is a bug in React.") : (t.componentStack = t.componentStack.parent); } var Zn = null; function mt(t, r) { { var l; - typeof r == "string" - ? (l = r) - : r && typeof r.message == "string" - ? (l = r.message) - : (l = String(r)); + typeof r == "string" ? (l = r) : r && typeof r.message == "string" ? (l = r.message) : (l = String(r)); var u = Zn || nn(); (Zn = null), (t.errorMessage = l), (t.errorComponentStack = u); } @@ -10045,7 +9013,7 @@ Error generating stack: ` + throw new Error( 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof l + - '" instead' + '" instead', ); return l; } @@ -10053,10 +9021,7 @@ Error generating stack: ` + var l = t.onShellError; l(r); var u = t.onFatalError; - u(r), - t.destination !== null - ? ((t.status = tn), Oe(t.destination, r)) - : ((t.status = gi), (t.fatalError = r)); + u(r), t.destination !== null ? ((t.status = tn), Oe(t.destination, r)) : ((t.status = gi), (t.fatalError = r)); } function Jn(t, r, l) { Ne(r, "Suspense"); @@ -10083,10 +9048,7 @@ Error generating stack: ` + return; } } catch (de) { - (j.status = vi), - (C.forceClientRender = !0), - (C.errorDigest = Ot(t, de)), - mt(C, de); + (j.status = vi), (C.forceClientRender = !0), (C.errorDigest = Ot(t, de)), mt(C, de); } finally { (r.blockedBoundary = u), (r.blockedSegment = p); } @@ -10121,7 +9083,7 @@ Error generating stack: ` + (Si || c( "It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", - ie(u) || "a component" + ie(u) || "a component", ), (Si = !0)); { @@ -10151,44 +9113,30 @@ Error generating stack: ` + ki = !1; function xl(t, r, l, u) { var p; - if ( - ((p = Do(l, r.legacyContext)), - Qo(r, l), - l.prototype && typeof l.prototype.render == "function") - ) { + if (((p = Do(l, r.legacyContext)), Qo(r, l), l.prototype && typeof l.prototype.render == "function")) { var g = ie(l) || "Unknown"; yi[g] || (c( "The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", g, - g + g, ), (yi[g] = !0)); } var y = bl(t, r, l, u, p), w = cl(); - if ( - typeof y == "object" && - y !== null && - typeof y.render == "function" && - y.$$typeof === void 0 - ) { + if (typeof y == "object" && y !== null && typeof y.render == "function" && y.$$typeof === void 0) { var C = ie(l) || "Unknown"; qo[C] || (c( "The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", C, C, - C + C, ), (qo[C] = !0)); } - if ( - typeof y == "object" && - y !== null && - typeof y.render == "function" && - y.$$typeof === void 0 - ) { + if (typeof y == "object" && y !== null && typeof y.render == "function" && y.$$typeof === void 0) { { var _ = ie(l) || "Unknown"; qo[_] || @@ -10196,7 +9144,7 @@ Error generating stack: ` + "The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", _, _, - _ + _, ), (qo[_] = !0)); } @@ -10221,23 +9169,16 @@ Error generating stack: ` + t.childContextTypes && c( "%s(...): childContextTypes cannot be defined on a function component.", - t.displayName || t.name || "Component" + t.displayName || t.name || "Component", ), typeof t.getDerivedStateFromProps == "function") ) { var r = ie(t) || "Unknown"; - Qn[r] || - (c( - "%s: Function components do not support getDerivedStateFromProps.", - r - ), - (Qn[r] = !0)); + Qn[r] || (c("%s: Function components do not support getDerivedStateFromProps.", r), (Qn[r] = !0)); } if (typeof t.contextType == "object" && t.contextType !== null) { var l = ie(t) || "Unknown"; - bi[l] || - (c("%s: Function components do not support contextType.", l), - (bi[l] = !0)); + bi[l] || (c("%s: Function components do not support contextType.", l), (bi[l] = !0)); } } } @@ -10278,13 +9219,13 @@ Error generating stack: ` + (ki || ((ki = !0), c( - "Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?" + "Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?", ))) : (l = l._context); var p = u.children; typeof p != "function" && c( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.", ); var g = Hn(l), y = p(g); @@ -10300,9 +9241,7 @@ Error generating stack: ` + Pe(t, r, y), (r.context = Lo(p)), w !== r.context && - c( - "Popping the context provider did not return back to the original snapshot. This is a bug in React." - ); + c("Popping the context provider did not return back to the original snapshot. This is a bug in React."); } function Au(t, r, l, u, p) { Ne(r, "Lazy"); @@ -10339,9 +9278,7 @@ Error generating stack: ` + return; } case za: - throw new Error( - "ReactDOMServer does not yet support scope components." - ); + throw new Error("ReactDOMServer does not yet support scope components."); case An: { Jn(t, r, u); return; @@ -10372,15 +9309,12 @@ Error generating stack: ` + } var g = ""; throw ( - ((l === void 0 || - (typeof l == "object" && - l !== null && - Object.keys(l).length === 0)) && + ((l === void 0 || (typeof l == "object" && l !== null && Object.keys(l).length === 0)) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), new Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + - ("but got: " + (l == null ? l : typeof l) + "." + g) + ("but got: " + (l == null ? l : typeof l) + "." + g), )) ); } @@ -10389,14 +9323,11 @@ Error generating stack: ` + t[Symbol.toStringTag] === "Generator" && (wi || c( - "Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers." + "Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers.", ), (wi = !0)), t.entries === r && - (xi || - c( - "Using Maps as children is not supported. Use an array of keyed ReactElements instead." - ), + (xi || c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), (xi = !0)); } function Pe(t, r, l) { @@ -10404,11 +9335,7 @@ Error generating stack: ` + return Ou(t, r, l); } catch (u) { throw ( - ((typeof u == "object" && - u !== null && - typeof u.then == "function") || - (Zn = Zn !== null ? Zn : nn()), - u) + ((typeof u == "object" && u !== null && typeof u.then == "function") || (Zn = Zn !== null ? Zn : nn()), u) ); } } @@ -10425,7 +9352,7 @@ Error generating stack: ` + } case ze: throw new Error( - "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." + "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.", ); case $r: { var w = l, @@ -10435,13 +9362,7 @@ Error generating stack: ` + try { O = _(C); } catch (la) { - throw ( - (typeof la == "object" && - la !== null && - typeof la.then == "function" && - Ne(r, "Lazy"), - la) - ); + throw (typeof la == "object" && la !== null && typeof la.then == "function" && Ne(r, "Lazy"), la); } Pe(t, r, O); return; @@ -10470,35 +9391,23 @@ Error generating stack: ` + var aa = Object.prototype.toString.call(l); throw new Error( "Objects are not valid as a React child (found: " + - (aa === "[object Object]" - ? "object with keys {" + Object.keys(l).join(", ") + "}" - : aa) + - "). If you meant to render a collection of children, use an array instead." + (aa === "[object Object]" ? "object with keys {" + Object.keys(l).join(", ") + "}" : aa) + + "). If you meant to render a collection of children, use an array instead.", ); } if (typeof l == "string") { var ia = r.blockedSegment; - ia.lastPushedText = Xi( - r.blockedSegment.chunks, - l, - t.responseState, - ia.lastPushedText - ); + ia.lastPushedText = Xi(r.blockedSegment.chunks, l, t.responseState, ia.lastPushedText); return; } if (typeof l == "number") { var Dl = r.blockedSegment; - Dl.lastPushedText = Xi( - r.blockedSegment.chunks, - "" + l, - t.responseState, - Dl.lastPushedText - ); + Dl.lastPushedText = Xi(r.blockedSegment.chunks, "" + l, t.responseState, Dl.lastPushedText); return; } typeof l == "function" && c( - "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it." + "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.", ); } function Ue(t, r, l) { @@ -10517,18 +9426,8 @@ Error generating stack: ` + p = u.chunks.length, g = Jo(t, p, null, u.formatContext, u.lastPushedText, !0); u.children.push(g), (u.lastPushedText = !1); - var y = mi( - t, - r.node, - r.blockedBoundary, - g, - r.abortSet, - r.legacyContext, - r.context, - r.treeContext - ); - r.componentStack !== null && - (y.componentStack = r.componentStack.parent); + var y = mi(t, r.node, r.blockedBoundary, g, r.abortSet, r.legacyContext, r.context, r.treeContext); + r.componentStack !== null && (y.componentStack = r.componentStack.parent); var w = y.ping; l.then(w, w); } @@ -10541,10 +9440,7 @@ Error generating stack: ` + try { return Pe(t, r, l); } catch (w) { - if ( - (ui(), - typeof w == "object" && w !== null && typeof w.then == "function") - ) { + if ((ui(), typeof w == "object" && w !== null && typeof w.then == "function")) { Mu(t, r, w), (r.blockedSegment.formatContext = u), (r.legacyContext = p), @@ -10591,24 +9487,15 @@ Error generating stack: ` + var u = t.blockedBoundary, p = t.blockedSegment; if (((p.status = wr), u === null)) - r.allPendingTasks--, - r.status !== tn && - ((r.status = tn), r.destination !== null && V(r.destination)); + r.allPendingTasks--, r.status !== tn && ((r.status = tn), r.destination !== null && V(r.destination)); else { if ((u.pendingTasks--, !u.forceClientRender)) { u.forceClientRender = !0; - var g = - l === void 0 - ? new Error( - "The render was aborted by the server without a reason." - ) - : l; + var g = l === void 0 ? new Error("The render was aborted by the server without a reason.") : l; u.errorDigest = r.onError(g); { var y = "The server did not finish this Suspense boundary: "; - g && typeof g.message == "string" - ? (g = y + g.message) - : (g = y + String(g)); + g && typeof g.message == "string" ? (g = y + g.message) : (g = y + String(g)); var w = at; at = t; try { @@ -10633,11 +9520,7 @@ Error generating stack: ` + } } function ta(t, r) { - if ( - r.chunks.length === 0 && - r.children.length === 1 && - r.children[0].boundary === null - ) { + if (r.chunks.length === 0 && r.children.length === 1 && r.children[0].boundary === null) { var l = r.children[0]; (l.id = r.id), (l.parentFlushed = !0), l.status === Zt && ta(t, l); } else { @@ -10649,9 +9532,7 @@ Error generating stack: ` + if (r === null) { if (l.parentFlushed) { if (t.completedRootSegment !== null) - throw new Error( - "There can only be one root segment. This is a bug in React." - ); + throw new Error("There can only be one root segment. This is a bug in React."); t.completedRootSegment = l; } if ((t.pendingRootTasks--, t.pendingRootTasks === 0)) { @@ -10689,16 +9570,10 @@ Error generating stack: ` + (l.status = Zt), Ei(t, r.blockedBoundary, l); } catch (g) { - if ( - (ui(), - typeof g == "object" && g !== null && typeof g.then == "function") - ) { + if ((ui(), typeof g == "object" && g !== null && typeof g.then == "function")) { var p = r.ping; g.then(p, p); - } else - r.abortSet.delete(r), - (l.status = vi), - Lu(t, r.blockedBoundary, l, g); + } else r.abortSet.delete(r), (l.status = vi), Lu(t, r.blockedBoundary, l, g); } finally { at = u; } @@ -10724,10 +9599,7 @@ Error generating stack: ` + } catch (C) { Ot(t, C), on(t, C); } finally { - di(p), - (Xo.current = l), - (hi.getCurrentStack = u), - l === vl && jn(r); + di(p), (Xo.current = l), (hi.getCurrentStack = u), l === vl && jn(r); } } } @@ -10735,19 +9607,11 @@ Error generating stack: ` + switch (((l.parentFlushed = !0), l.status)) { case Vn: { var u = (l.id = t.nextSegmentId++); - return ( - (l.lastPushedText = !1), - (l.textEmbedded = !1), - k(r, t.responseState, u) - ); + return (l.lastPushedText = !1), (l.textEmbedded = !1), k(r, t.responseState, u); } case Zt: { l.status = Zo; - for ( - var p = !0, g = l.chunks, y = 0, w = l.children, C = 0; - C < w.length; - C++ - ) { + for (var p = !0, g = l.chunks, y = 0, w = l.children, C = 0; C < w.length; C++) { for (var _ = w[C]; y < _.index; y++) x(r, g[y]); p = Kn(t, r, _); } @@ -10756,7 +9620,7 @@ Error generating stack: ` + } default: throw new Error( - "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." + "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.", ); } } @@ -10765,19 +9629,12 @@ Error generating stack: ` + if (u === null) return na(t, r, l); if (((u.parentFlushed = !0), u.forceClientRender)) return ( - qs( - r, - t.responseState, - u.errorDigest, - u.errorMessage, - u.errorComponentStack - ), + qs(r, t.responseState, u.errorDigest, u.errorMessage, u.errorComponentStack), na(t, r, l), eu(r, t.responseState) ); if (u.pendingTasks > 0) { - (u.rootSegmentID = t.nextSegmentId++), - u.completedSegments.length > 0 && t.partialBoundaries.push(u); + (u.rootSegmentID = t.nextSegmentId++), u.completedSegments.length > 0 && t.partialBoundaries.push(u); var p = (u.id = Wt(t.responseState)); return yr(r, t.responseState, p), na(t, r, l), Co(r, t.responseState); } else { @@ -10793,28 +9650,17 @@ Error generating stack: ` + var g = u.completedSegments; if (g.length !== 1) throw new Error( - "A previously unvisited boundary must have exactly one root segment. This is a bug in React." + "A previously unvisited boundary must have exactly one root segment. This is a bug in React.", ); var y = g[0]; return Kn(t, r, y), Ua(r, t.responseState); } } function oa(t, r, l) { - return Js( - r, - t.responseState, - l.id, - l.errorDigest, - l.errorMessage, - l.errorComponentStack - ); + return Js(r, t.responseState, l.id, l.errorDigest, l.errorMessage, l.errorComponentStack); } function qn(t, r, l) { - return ( - Fs(r, t.responseState, l.formatContext, l.id), - Kn(t, r, l), - As(r, l.formatContext) - ); + return Fs(r, t.responseState, l.formatContext, l.id), Kn(t, r, l), As(r, l.formatContext); } function Rl(t, r, l) { for (var u = l.completedSegments, p = 0; p < u.length; p++) { @@ -10835,10 +9681,7 @@ Error generating stack: ` + var p = u.id; if (p === -1) { var g = (u.id = l.rootSegmentID); - if (g === -1) - throw new Error( - "A root segment ID must have been assigned by now. This is a bug in React." - ); + if (g === -1) throw new Error("A root segment ID must have been assigned by now. This is a bug in React."); return qn(t, r, u); } else return qn(t, r, u), Hs(r, t.responseState, p); } @@ -10847,9 +9690,7 @@ Error generating stack: ` + var l = t.completedRootSegment; l !== null && t.pendingRootTasks === 0 && - (Kn(t, r, l), - (t.completedRootSegment = null), - _n(r, t.responseState)); + (Kn(t, r, l), (t.completedRootSegment = null), _n(r, t.responseState)); var u = t.clientRenderedBoundaries, p; for (p = 0; p < u.length; p++) { @@ -10893,9 +9734,7 @@ Error generating stack: ` + t.clientRenderedBoundaries.length === 0 && t.completedBoundaries.length === 0 && (t.abortableTasks.size !== 0 && - c( - "There was still abortable task at the root when we closed. This is a bug in React." - ), + c("There was still abortable task at the root when we closed. This is a bug in React."), V(r)); } } @@ -10947,39 +9786,22 @@ Error generating stack: ` + function _() { C = !0; } - var O = yl( - t, - Yi(l, r ? r.identifierPrefix : void 0), - Gi(), - 1 / 0, - Pl, - void 0, - _, - void 0, - void 0 - ); + var O = yl(t, Yi(l, r ? r.identifierPrefix : void 0), Gi(), 1 / 0, Pl, void 0, _, void 0, void 0); if ((Pi(O), _l(O, u), eo(O, w), p)) throw g; if (!C) throw new Error( - "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition." + "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.", ); return y; } function Bu(t, r) { - (t.prototype = Object.create(r.prototype)), - (t.prototype.constructor = t), - (t.__proto__ = r); + (t.prototype = Object.create(r.prototype)), (t.prototype.constructor = t), (t.__proto__ = r); } var Fl = (function (t) { Bu(r, t); function r() { var u; - return ( - (u = t.call(this, {}) || this), - (u.request = null), - (u.startedFlowing = !1), - u - ); + return (u = t.call(this, {}) || this), (u.request = null), (u.startedFlowing = !1), u; } var l = r.prototype; return ( @@ -10998,25 +9820,11 @@ Error generating stack: ` + (p.startedFlowing = !0), eo(g, p); } var p = new Fl(), - g = yl( - t, - Yi(!1, r ? r.identifierPrefix : void 0), - Gi(), - 1 / 0, - Uu, - u, - void 0, - void 0 - ); + g = yl(t, Yi(!1, r ? r.identifierPrefix : void 0), Gi(), 1 / 0, Uu, u, void 0, void 0); return (p.request = g), Pi(g), p; } function o(t, r) { - return ( - c( - "renderToNodeStream is deprecated. Use renderToPipeableStream instead." - ), - Al(t, r) - ); + return c("renderToNodeStream is deprecated. Use renderToPipeableStream instead."), Al(t, r); } function a(t, r) { return Al(t, r); @@ -11026,7 +9834,7 @@ Error generating stack: ` + t, r, !1, - 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' + 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server', ); } function d(t, r) { @@ -11034,7 +9842,7 @@ Error generating stack: ` + t, r, !0, - 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' + 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server', ); } (pa.renderToNodeStream = o), @@ -11044,7 +9852,7 @@ Error generating stack: ` + (pa.version = i); })(); }); -var Wd = an((Pc) => { +var Wd = an(Pc => { "use strict"; process.env.NODE_ENV !== "production" && (function () { @@ -11055,23 +9863,13 @@ var Wd = an((Pc) => { s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; function v(o) { { - for ( - var a = arguments.length, f = new Array(a > 1 ? a - 1 : 0), d = 1; - d < a; - d++ - ) - f[d - 1] = arguments[d]; + for (var a = arguments.length, f = new Array(a > 1 ? a - 1 : 0), d = 1; d < a; d++) f[d - 1] = arguments[d]; m("warn", o, f); } } function c(o) { { - for ( - var a = arguments.length, f = new Array(a > 1 ? a - 1 : 0), d = 1; - d < a; - d++ - ) - f[d - 1] = arguments[d]; + for (var a = arguments.length, f = new Array(a > 1 ? a - 1 : 0), d = 1; d < a; d++) f[d - 1] = arguments[d]; m("error", o, f); } } @@ -11083,8 +9881,7 @@ var Wd = an((Pc) => { var r = f.map(function (l) { return String(l); }); - r.unshift("Warning: " + a), - Function.prototype.apply.call(console[o], console, r); + r.unshift("Warning: " + a), Function.prototype.apply.call(console[o], console, r); } } function S(o) { @@ -11103,9 +9900,7 @@ var Wd = an((Pc) => { function J(o, a) { if (a.length !== 0) { if (a.length * 3 > x) { - D > 0 && - (ue(o, R.subarray(0, D)), (R = new Uint8Array(x)), (D = 0)), - ue(o, _e.encode(a)); + D > 0 && (ue(o, R.subarray(0, D)), (R = new Uint8Array(x)), (D = 0)), ue(o, _e.encode(a)); return; } var f = R; @@ -11114,30 +9909,20 @@ var Wd = an((Pc) => { t = d.read, r = d.written; (D += r), - t < a.length && - (ue(o, R), - (R = new Uint8Array(x)), - (D = _e.encodeInto(a.slice(t), R).written)), + t < a.length && (ue(o, R), (R = new Uint8Array(x)), (D = _e.encodeInto(a.slice(t), R).written)), D === x && (ue(o, R), (R = new Uint8Array(x)), (D = 0)); } } function Oe(o, a) { if (a.byteLength !== 0) { if (a.byteLength > x) { - D > 0 && - (ue(o, R.subarray(0, D)), (R = new Uint8Array(x)), (D = 0)), - ue(o, a); + D > 0 && (ue(o, R.subarray(0, D)), (R = new Uint8Array(x)), (D = 0)), ue(o, a); return; } var f = a, d = R.length - D; d < f.byteLength && - (d === 0 - ? ue(o, R) - : (R.set(f.subarray(0, d), D), - (D += d), - ue(o, R), - (f = f.subarray(d))), + (d === 0 ? ue(o, R) : (R.set(f.subarray(0, d), D), (D += d), ue(o, R), (f = f.subarray(d))), (R = new Uint8Array(x)), (D = 0)), R.set(f, D), @@ -11194,7 +9979,7 @@ var Wd = an((Pc) => { c( "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", a, - qt(o) + qt(o), ), Mt(o) ); @@ -11205,7 +9990,7 @@ var Wd = an((Pc) => { c( "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", a, - qt(o) + qt(o), ), Mt(o) ); @@ -11215,7 +10000,7 @@ var Wd = an((Pc) => { return ( c( "The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", - qt(o) + qt(o), ), Mt(o) ); @@ -11296,17 +10081,10 @@ var Wd = an((Pc) => { f = o[1]; ve[a] = new ye(a, tt, !1, f, null, !1, !1); }), - ["contentEditable", "draggable", "spellCheck", "value"].forEach( - function (o) { - ve[o] = new ye(o, Bt, !1, o.toLowerCase(), null, !1, !1); - } - ), - [ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", - ].forEach(function (o) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (o) { + ve[o] = new ye(o, Bt, !1, o.toLowerCase(), null, !1, !1); + }), + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (o) { ve[o] = new ye(o, Bt, !1, o, null, !1, !1); }), [ @@ -11430,42 +10208,21 @@ var Wd = an((Pc) => { var a = o.replace(or, je); ve[a] = new ye(a, tt, !1, o, null, !1, !1); }), - [ - "xlink:actuate", - "xlink:arcrole", - "xlink:role", - "xlink:show", - "xlink:title", - "xlink:type", - ].forEach(function (o) { + ["xlink:actuate", "xlink:arcrole", "xlink:role", "xlink:show", "xlink:title", "xlink:type"].forEach(function ( + o, + ) { var a = o.replace(or, je); ve[a] = new ye(a, tt, !1, o, "http://www.w3.org/1999/xlink", !1, !1); }), ["xml:base", "xml:lang", "xml:space"].forEach(function (o) { var a = o.replace(or, je); - ve[a] = new ye( - a, - tt, - !1, - o, - "http://www.w3.org/XML/1998/namespace", - !1, - !1 - ); + ve[a] = new ye(a, tt, !1, o, "http://www.w3.org/XML/1998/namespace", !1, !1); }), ["tabIndex", "crossOrigin"].forEach(function (o) { ve[o] = new ye(o, tt, !1, o.toLowerCase(), null, !1, !1); }); var ha = "xlinkHref"; - (ve[ha] = new ye( - "xlinkHref", - tt, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1 - )), + (ve[ha] = new ye("xlinkHref", tt, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1)), ["src", "href", "action", "formAction"].forEach(function (o) { ve[o] = new ye(o, tt, !1, o.toLowerCase(), null, !0, !0); }); @@ -11540,14 +10297,14 @@ var Wd = an((Pc) => { a.disabled || a.value == null || c( - "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`." + "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.", ), a.onChange || a.readOnly || a.disabled || a.checked == null || c( - "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`." + "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.", ); } function fn(o, a) { @@ -11628,30 +10385,17 @@ var Wd = an((Pc) => { d = sr.hasOwnProperty(f) ? f : null; if (d == null) return ( - c( - "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", - a - ), - (pt[a] = !0), - !0 - ); - if (a !== d) - return ( - c("Invalid ARIA attribute `%s`. Did you mean `%s`?", a, d), + c("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", a), (pt[a] = !0), !0 ); + if (a !== d) return c("Invalid ARIA attribute `%s`. Did you mean `%s`?", a, d), (pt[a] = !0), !0; } if (ke.test(a)) { var t = a.toLowerCase(), r = sr.hasOwnProperty(t) ? t : null; if (r == null) return (pt[a] = !0), !1; - if (a !== r) - return ( - c("Unknown ARIA attribute `%s`. Did you mean `%s`?", a, r), - (pt[a] = !0), - !0 - ); + if (a !== r) return c("Unknown ARIA attribute `%s`. Did you mean `%s`?", a, r), (pt[a] = !0), !0; } } return !0; @@ -11669,16 +10413,12 @@ var Wd = an((Pc) => { }) .join(", "); f.length === 1 - ? c( - "Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", - r, - o - ) + ? c("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", r, o) : f.length > 1 && c( "Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props", r, - o + o, ); } } @@ -11696,11 +10436,11 @@ var Wd = an((Pc) => { o === "select" && a.multiple ? c( "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.", - o + o, ) : c( "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.", - o + o, )); } } @@ -12204,7 +10944,7 @@ var Wd = an((Pc) => { if (t === "onfocusin" || t === "onfocusout") return ( c( - "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React." + "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.", ), (Te[a] = !0), !0 @@ -12214,31 +10954,14 @@ var Wd = an((Pc) => { l = d.possibleRegistrationNames; if (r.hasOwnProperty(a)) return !0; var u = l.hasOwnProperty(t) ? l[t] : null; - if (u != null) - return ( - c( - "Invalid event handler property `%s`. Did you mean `%s`?", - a, - u - ), - (Te[a] = !0), - !0 - ); - if (vo.test(a)) - return ( - c( - "Unknown event handler property `%s`. It will be ignored.", - a - ), - (Te[a] = !0), - !0 - ); + if (u != null) return c("Invalid event handler property `%s`. Did you mean `%s`?", a, u), (Te[a] = !0), !0; + if (vo.test(a)) return c("Unknown event handler property `%s`. It will be ignored.", a), (Te[a] = !0), !0; } else if (vo.test(a)) return ( go.test(a) && c( "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.", - a + a, ), (Te[a] = !0), !0 @@ -12247,7 +10970,7 @@ var Wd = an((Pc) => { if (t === "innerhtml") return ( c( - "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`." + "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.", ), (Te[a] = !0), !0 @@ -12255,7 +10978,7 @@ var Wd = an((Pc) => { if (t === "aria") return ( c( - "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead." + "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.", ), (Te[a] = !0), !0 @@ -12264,17 +10987,14 @@ var Wd = an((Pc) => { return ( c( "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", - typeof f + typeof f, ), (Te[a] = !0), !0 ); if (typeof f == "number" && isNaN(f)) return ( - c( - "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", - a - ), + c("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", a), (Te[a] = !0), !0 ); @@ -12282,18 +11002,13 @@ var Wd = an((Pc) => { g = p !== null && p.type === Er; if (pn.hasOwnProperty(t)) { var y = pn[t]; - if (y !== a) - return ( - c("Invalid DOM property `%s`. Did you mean `%s`?", a, y), - (Te[a] = !0), - !0 - ); + if (y !== a) return c("Invalid DOM property `%s`. Did you mean `%s`?", a, y), (Te[a] = !0), !0; } else if (!g && a !== t) return ( c( "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.", a, - t + t, ), (Te[a] = !0), !0 @@ -12306,7 +11021,7 @@ var Wd = an((Pc) => { a, a, f, - a + a, ) : c( 'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.', @@ -12316,7 +11031,7 @@ var Wd = an((Pc) => { f, a, a, - a + a, ), (Te[a] = !0), !0) @@ -12335,7 +11050,7 @@ var Wd = an((Pc) => { ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".', a, - f + f, ), (Te[a] = !0)), !0); @@ -12357,13 +11072,13 @@ var Wd = an((Pc) => { ? c( "Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", l, - o + o, ) : d.length > 1 && c( "Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ", l, - o + o, ); } }; @@ -12387,12 +11102,7 @@ var Wd = an((Pc) => { }, Sa = function (o) { (Ut.hasOwnProperty(o) && Ut[o]) || - ((Ut[o] = !0), - c( - "Unsupported style property %s. Did you mean %s?", - o, - ge(o.replace(ya, "ms-")) - )); + ((Ut[o] = !0), c("Unsupported style property %s. Did you mean %s?", o, ge(o.replace(ya, "ms-")))); }, wa = function (o) { (Ut.hasOwnProperty(o) && Ut[o]) || @@ -12400,42 +11110,23 @@ var Wd = an((Pc) => { c( "Unsupported vendor-prefixed style property %s. Did you mean %s?", o, - o.charAt(0).toUpperCase() + o.slice(1) + o.charAt(0).toUpperCase() + o.slice(1), )); }, xa = function (o, a) { (gn.hasOwnProperty(a) && gn[a]) || ((gn[a] = !0), - c( - `Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, - o, - a.replace(mo, "") - )); + c(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, o, a.replace(mo, ""))); }, ka = function (o, a) { - jt || - ((jt = !0), - c( - "`NaN` is an invalid value for the `%s` css style property.", - o - )); + jt || ((jt = !0), c("`NaN` is an invalid value for the `%s` css style property.", o)); }, mn = function (o, a) { - Pr || - ((Pr = !0), - c( - "`Infinity` is an invalid value for the `%s` css style property.", - o - )); + Pr || ((Pr = !0), c("`Infinity` is an invalid value for the `%s` css style property.", o)); }; ur = function (o, a) { - o.indexOf("-") > -1 - ? Sa(o) - : _r.test(o) - ? wa(o) - : mo.test(a) && xa(o, a), - typeof a == "number" && - (isNaN(a) ? ka(o, a) : isFinite(a) || mn(o, a)); + o.indexOf("-") > -1 ? Sa(o) : _r.test(o) ? wa(o) : mo.test(a) && xa(o, a), + typeof a == "number" && (isNaN(a) ? ka(o, a) : isFinite(a) || mn(o, a)); }; } var yo = ur, @@ -12490,7 +11181,7 @@ var Wd = an((Pc) => { ((So = !0), c( "A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.", - JSON.stringify(o) + JSON.stringify(o), )); } var _a = Array.isArray; @@ -12515,8 +11206,7 @@ var Wd = an((Pc) => { u = []; if ((f !== void 0 && u.push(l, yn(f), kt), d !== void 0)) for (var p = 0; p < d.length; p++) u.push(Ar, be(d[p]), fr); - if (t !== void 0) - for (var g = 0; g < t.length; g++) u.push(Dr, be(t[g]), fr); + if (t !== void 0) for (var g = 0; g < t.length; g++) u.push(Dr, be(t[g]), fr); return { bootstrapChunks: u, startInlineScript: l, @@ -12542,12 +11232,7 @@ var Wd = an((Pc) => { return { insertionMode: o, selectedValue: a }; } function wn(o) { - var a = - o === "http://www.w3.org/2000/svg" - ? Wt - : o === "http://www.w3.org/1998/Math/MathML" - ? zt - : Ht; + var a = o === "http://www.w3.org/2000/svg" ? Wt : o === "http://www.w3.org/1998/Math/MathML" ? zt : Ht; return Ee(a, null); } function Mr(o, a, f) { @@ -12571,9 +11256,7 @@ var Wd = an((Pc) => { case "tr": return Ee(bn, null); } - return o.insertionMode >= Et || o.insertionMode === Ht - ? Ee(Ct, null) - : o; + return o.insertionMode >= Et || o.insertionMode === Ht ? Ee(Ct, null) : o; } var Lr = null; function Br(o) { @@ -12608,7 +11291,7 @@ var Wd = an((Pc) => { function vr(o, a, f) { if (typeof f != "object") throw new Error( - "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." + "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.", ); var d = !0; for (var t in f) @@ -12649,13 +11332,7 @@ var Wd = an((Pc) => { case "suppressHydrationWarning": return; } - if ( - !( - f.length > 2 && - (f[0] === "o" || f[0] === "O") && - (f[1] === "n" || f[1] === "N") - ) - ) { + if (!(f.length > 2 && (f[0] === "o" || f[0] === "O") && (f[1] === "n" || f[1] === "N"))) { var t = uo(f); if (t !== null) { switch (typeof d) { @@ -12672,9 +11349,7 @@ var Wd = an((Pc) => { d && o.push(Ze, l, Ur); return; case Le: - d === !0 - ? o.push(Ze, l, Ur) - : d === !1 || o.push(Ze, l, _t, be(d), vt); + d === !0 ? o.push(Ze, l, Ur) : d === !1 || o.push(Ze, l, _t, be(d), vt); return; case er: isNaN(d) || o.push(Ze, l, _t, be(d), vt); @@ -12683,8 +11358,7 @@ var Wd = an((Pc) => { !isNaN(d) && d >= 1 && o.push(Ze, l, _t, be(d), vt); break; default: - t.sanitizeURL && (Lt(d, r), (d = "" + d), Ia(d)), - o.push(Ze, l, _t, be(d), vt); + t.sanitizeURL && (Lt(d, r), (d = "" + d), Ia(d)), o.push(Ze, l, _t, be(d), vt); } } else if (St(f)) { switch (typeof d) { @@ -12704,13 +11378,10 @@ var Wd = an((Pc) => { xn = F("/>"); function gr(o, a, f) { if (a != null) { - if (f != null) - throw new Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (f != null) throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof a != "object" || !("__html" in a)) throw new Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); var d = a.__html; d != null && (Me(d), o.push("" + d)); @@ -12729,16 +11400,10 @@ var Wd = an((Pc) => { if (f != null) { var d = cr(f); o.multiple && !d - ? c( - "The `%s` prop supplied to <select> must be an array if `multiple` is true.", - a - ) + ? c("The `%s` prop supplied to <select> must be an array if `multiple` is true.", a) : !o.multiple && d && - c( - "The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", - a - ); + c("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.", a); } } } @@ -12750,7 +11415,7 @@ var Wd = an((Pc) => { a.defaultValue !== void 0 && !Tn && (c( - "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components" + "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components", ), (Tn = !0)), o.push(T("select")); @@ -12788,7 +11453,7 @@ var Wd = an((Pc) => { typeof f != "number" && ((ko = !0), c( - "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>." + "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.", ))); }), a @@ -12814,7 +11479,7 @@ var Wd = an((Pc) => { (u = y), Cn || (c( - "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>." + "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.", ), (Cn = !0)); break; @@ -12837,7 +11502,7 @@ var Wd = an((Pc) => { (To || ((To = !0), c( - "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected." + "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.", ))), (w = gt(r))), cr(t)) @@ -12862,7 +11527,7 @@ var Wd = an((Pc) => { (c( "%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", - a.type + a.type, ), (kn = !0)), a.value !== void 0 && @@ -12871,7 +11536,7 @@ var Wd = an((Pc) => { (c( "%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components", "A component", - a.type + a.type, ), (jr = !0)), o.push(T("input")); @@ -12887,7 +11552,7 @@ var Wd = an((Pc) => { case "children": case "dangerouslySetInnerHTML": throw new Error( - "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); case "defaultChecked": l = p; @@ -12907,12 +11572,8 @@ var Wd = an((Pc) => { } } return ( - r !== null - ? Re(o, f, "checked", r) - : l !== null && Re(o, f, "checked", l), - d !== null - ? Re(o, f, "value", d) - : t !== null && Re(o, f, "value", t), + r !== null ? Re(o, f, "checked", r) : l !== null && Re(o, f, "checked", l), + d !== null ? Re(o, f, "value", d) : t !== null && Re(o, f, "value", t), o.push(xn), null ); @@ -12923,7 +11584,7 @@ var Wd = an((Pc) => { a.defaultValue !== void 0 && !xo && (c( - "Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components" + "Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components", ), (xo = !0)), o.push(T("textarea")); @@ -12945,27 +11606,17 @@ var Wd = an((Pc) => { t = u; break; case "dangerouslySetInnerHTML": - throw new Error( - "`dangerouslySetInnerHTML` does not make sense on <textarea>." - ); + throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>."); default: Re(o, f, l, u); break; } } if ((d === null && t !== null && (d = t), o.push(Je), r != null)) { - if ( - (c( - "Use the `defaultValue` or `value` props instead of setting children on <textarea>." - ), - d != null) - ) - throw new Error( - "If you supply `defaultValue` on a <textarea>, do not pass children." - ); + if ((c("Use the `defaultValue` or `value` props instead of setting children on <textarea>."), d != null)) + throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children."); if (cr(r)) { - if (r.length > 1) - throw new Error("<textarea> can only have at most one child."); + if (r.length > 1) throw new Error("<textarea> can only have at most one child."); Me(r[0]), (d = "" + r[0]); } Me(r), (d = "" + r); @@ -12990,8 +11641,7 @@ var Wd = an((Pc) => { case "children": case "dangerouslySetInnerHTML": throw new Error( - f + - " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." + f + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.", ); default: Re(o, d, t, r); @@ -13009,9 +11659,7 @@ var Wd = an((Pc) => { switch (d) { case "children": case "dangerouslySetInnerHTML": - throw new Error( - "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." - ); + throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`."); default: Re(o, f, d, t); break; @@ -13031,9 +11679,7 @@ var Wd = an((Pc) => { d = r; break; case "dangerouslySetInnerHTML": - throw new Error( - "`dangerouslySetInnerHTML` does not make sense on <title>." - ); + throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>."); default: Re(o, f, t, r); break; @@ -13044,17 +11690,17 @@ var Wd = an((Pc) => { var l = Array.isArray(d) && d.length < 2 ? d[0] || null : d; Array.isArray(d) && d.length > 1 ? c( - "A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ) : l != null && l.$$typeof != null ? c( - "A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ) : l != null && typeof l != "string" && typeof l != "number" && c( - "A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering" + "A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering", ); } return d; @@ -13079,11 +11725,7 @@ var Wd = an((Pc) => { break; } } - return ( - o.push(Je), - gr(o, r, t), - typeof t == "string" ? (o.push(We(t)), null) : t - ); + return o.push(Je), gr(o, r, t), typeof t == "string" ? (o.push(We(t)), null) : t; } function Da(o, a, f, d) { o.push(T(f)); @@ -13107,10 +11749,7 @@ var Wd = an((Pc) => { case "suppressHydrationWarning": break; default: - St(l) && - typeof u != "function" && - typeof u != "symbol" && - o.push(Ze, l, _t, be(u), vt); + St(l) && typeof u != "function" && typeof u != "symbol" && o.push(Ze, l, _t, be(u), vt); break; } } @@ -13139,13 +11778,10 @@ var Wd = an((Pc) => { } } if ((o.push(Je), r != null)) { - if (t != null) - throw new Error( - "Can only set one of `children` or `props.dangerouslySetInnerHTML`." - ); + if (t != null) throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if (typeof r != "object" || !("__html" in r)) throw new Error( - "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information." + "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.", ); var p = r.__html; p != null && @@ -13186,7 +11822,7 @@ var Wd = an((Pc) => { f.contentEditable && f.children != null && c( - "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional." + "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.", ), t.insertionMode !== Wt && t.insertionMode !== zt && @@ -13195,7 +11831,7 @@ var Wd = an((Pc) => { a.toLowerCase() !== a && c( "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", - a + a, ), a) ) { @@ -13241,9 +11877,7 @@ var Wd = an((Pc) => { case "html": return t.insertionMode === Ht && o.push(I), In(o, f, a, d); default: - return a.indexOf("-") === -1 && typeof f.is != "string" - ? In(o, f, a, d) - : Da(o, f, a, d); + return a.indexOf("-") === -1 && typeof f.is != "string" ? In(o, f, a, d) : Da(o, f, a, d); } } var M = F("</"), @@ -13271,8 +11905,7 @@ var Wd = an((Pc) => { } } function Y(o, a) { - for (var f = a.bootstrapChunks, d = 0; d < f.length - 1; d++) - P(o, f[d]); + for (var f = a.bootstrapChunks, d = 0; d < f.length - 1; d++) P(o, f[d]); return d < f.length ? W(o, f[d]) : !0; } var Q = F('<template id="'), @@ -13298,9 +11931,7 @@ var Wd = an((Pc) => { } function Ni(o, a, f) { if ((P(o, Se), f === null)) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); return P(o, f), W(o, yr); } function ms(o, a, f, d, t) { @@ -13349,33 +11980,19 @@ var Wd = an((Pc) => { switch (f.insertionMode) { case Ht: case Ct: - return ( - P(o, Ss), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, ws) - ); + return P(o, Ss), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, ws); case Wt: - return ( - P(o, ks), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ts) - ); + return P(o, ks), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ts); case zt: - return ( - P(o, Es), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Rs) - ); + return P(o, Es), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Rs); case Et: - return ( - P(o, _s), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ps) - ); + return P(o, _s), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ps); case dr: - return ( - P(o, As), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ds) - ); + return P(o, As), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ds); case bn: - return ( - P(o, Ms), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ls) - ); + return P(o, Ms), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, Ls); case Sn: - return ( - P(o, Us), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, js) - ); + return P(o, Us), P(o, a.segmentPrefix), P(o, d.toString(16)), W(o, js); default: throw new Error("Unknown insertion mode. This is a bug in React."); } @@ -13413,9 +12030,7 @@ var Wd = an((Pc) => { Zs = F('")</script>'); function La(o, a, f) { P(o, a.startInlineScript), - a.sentCompleteSegmentFunction - ? P(o, Gs) - : ((a.sentCompleteSegmentFunction = !0), P(o, Ys)), + a.sentCompleteSegmentFunction ? P(o, Gs) : ((a.sentCompleteSegmentFunction = !0), P(o, Ys)), P(o, a.segmentPrefix); var d = f.toString(16); return P(o, d), P(o, Xs), P(o, a.placeholderPrefix), P(o, d), W(o, Zs); @@ -13427,14 +12042,10 @@ var Wd = an((Pc) => { function Gi(o, a, f, d) { if ( (P(o, a.startInlineScript), - a.sentCompleteBoundaryFunction - ? P(o, Qs) - : ((a.sentCompleteBoundaryFunction = !0), P(o, Js)), + a.sentCompleteBoundaryFunction ? P(o, Qs) : ((a.sentCompleteBoundaryFunction = !0), P(o, Js)), f === null) ) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); var t = d.toString(16); return P(o, f), P(o, Ba), P(o, a.segmentPrefix), P(o, t), W(o, Yi); } @@ -13446,14 +12057,10 @@ var Wd = an((Pc) => { function eu(o, a, f, d, t, r) { if ( (P(o, a.startInlineScript), - a.sentClientRenderFunction - ? P(o, Zi) - : ((a.sentClientRenderFunction = !0), P(o, Xi)), + a.sentClientRenderFunction ? P(o, Zi) : ((a.sentClientRenderFunction = !0), P(o, Xi)), f === null) ) - throw new Error( - "An ID must have been assigned before we can complete the boundary." - ); + throw new Error("An ID must have been assigned before we can complete the boundary."); return ( P(o, f), P(o, Ks), @@ -13476,7 +12083,7 @@ var Wd = an((Pc) => { return "\\u2029"; default: throw new Error( - "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" + "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React", ); } }); @@ -13519,7 +12126,7 @@ var Wd = an((Pc) => { if ( (typeof o.tag == "number" && c( - "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." + "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.", ), typeof o == "function") ) @@ -13618,10 +12225,7 @@ var Wd = an((Pc) => { groupEnd: ze({}, o, { value: el }), }); } - Vr < 0 && - c( - "disabledDepth fell below zero. This is a bug in React. Please file an issue." - ); + Vr < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue."); } } var br = s.ReactCurrentDispatcher, @@ -13718,9 +12322,7 @@ var Wd = an((Pc) => { ` ` + u[g].replace(" at new ", " at "); return ( - o.displayName && - w.includes("<anonymous>") && - (w = w.replace("<anonymous>", o.displayName)), + o.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", o.displayName)), typeof o == "function" && Yr.set(o, w), w ); @@ -13798,18 +12400,11 @@ var Wd = an((Pc) => { l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[l] + - "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.", ); throw ((p.name = "Invariant Violation"), p); } - u = o[l]( - a, - l, - d, - f, - null, - "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" - ); + u = o[l](a, l, d, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"); } catch (g) { u = g; } @@ -13821,15 +12416,12 @@ var Wd = an((Pc) => { d || "React class", f, l, - typeof u + typeof u, ), Gr(null)), u instanceof Error && !(u.message in Ln) && - ((Ln[u.message] = !0), - Gr(t), - c("Failed %s type: %s", f, u.message), - Gr(null)); + ((Ln[u.message] = !0), Gr(t), c("Failed %s type: %s", f, u.message), Gr(null)); } } } @@ -13860,7 +12452,7 @@ var Wd = an((Pc) => { c( "%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", t, - t + t, )); } return f; @@ -13869,10 +12461,7 @@ var Wd = an((Pc) => { for (var l in r) if (!(l in d)) throw new Error( - (ne(a) || "Unknown") + - '.getChildContext(): key "' + - l + - '" is not defined in childContextTypes.' + (ne(a) || "Unknown") + '.getChildContext(): key "' + l + '" is not defined in childContextTypes.', ); { var u = ne(a) || "Unknown"; @@ -13897,15 +12486,9 @@ var Wd = an((Pc) => { var f = o.parent, d = a.parent; if (f === null) { - if (d !== null) - throw new Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (d !== null) throw new Error("The stacks must reach the root at the same time. This is a bug in React."); } else { - if (d === null) - throw new Error( - "The stacks must reach the root at the same time. This is a bug in React." - ); + if (d === null) throw new Error("The stacks must reach the root at the same time. This is a bug in React."); Un(f, d); } Mo(a); @@ -13924,17 +12507,13 @@ var Wd = an((Pc) => { Zr(o); var f = o.parent; if (f === null) - throw new Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); f.depth === a.depth ? Un(f, a) : jn(f, a); } function nl(o, a) { var f = a.parent; if (f === null) - throw new Error( - "The depth must equal at least at zero before reaching the root. This is a bug in React." - ); + throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React."); o.depth === f.depth ? Un(o, f) : nl(o, f), Mo(a); } function Lo(o) { @@ -13960,7 +12539,7 @@ var Wd = an((Pc) => { o._currentRenderer !== null && o._currentRenderer !== nt && c( - "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported." + "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.", ), (o._currentRenderer = nt); var d = Ft, @@ -13975,24 +12554,16 @@ var Wd = an((Pc) => { } function Hn(o) { var a = Ft; - if (a === null) - throw new Error( - "Tried to pop a Context at the root of the app. This is a bug in React." - ); - a.context !== o && - c( - "The parent context is not the expected context. This is probably a bug in React." - ); + if (a === null) throw new Error("Tried to pop a Context at the root of the app. This is a bug in React."); + a.context !== o && c("The parent context is not the expected context. This is probably a bug in React."); { var f = a.parentValue; - f === nu - ? (a.context._currentValue = a.context._defaultValue) - : (a.context._currentValue = f), + f === nu ? (a.context._currentValue = a.context._defaultValue) : (a.context._currentValue = f), o._currentRenderer !== void 0 && o._currentRenderer !== null && o._currentRenderer !== nt && c( - "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported." + "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.", ), (o._currentRenderer = nt); } @@ -14039,7 +12610,7 @@ var Wd = an((Pc) => { c( "%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", a, - o + o, )); } }), @@ -14050,7 +12621,7 @@ var Wd = an((Pc) => { (Jr.add(f), c( "%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", - f + f, )); } }); @@ -14067,7 +12638,7 @@ var Wd = an((Pc) => { Please check the code for the %s component.`, a, a, - d + d, ), (Uo[t] = !0); } @@ -14078,9 +12649,7 @@ Please check the code for the %s component.`, }, enqueueSetState: function (o, a, f) { var d = Bo(o); - d.queue === null - ? al(o, "setState") - : (d.queue.push(a), f != null && Qr(f, "setState")); + d.queue === null ? al(o, "setState") : (d.queue.push(a), f != null && Qr(f, "setState")); }, enqueueReplaceState: function (o, a, f) { var d = Bo(o); @@ -14088,9 +12657,7 @@ Please check the code for the %s component.`, }, enqueueForceUpdate: function (o, a) { var f = Bo(o); - f.queue === null - ? al(o, "forceUpdate") - : a != null && Qr(a, "setState"); + f.queue === null ? al(o, "forceUpdate") : a != null && Qr(a, "setState"); }, }; function uu(o, a, f, d, t) { @@ -14103,9 +12670,7 @@ Please check the code for the %s component.`, var d = Oo, t = o.contextType; if ("contextType" in o) { - var r = - t === null || - (t !== void 0 && t.$$typeof === An && t._context === void 0); + var r = t === null || (t !== void 0 && t.$$typeof === An && t._context === void 0); if (!r && !$o.has(o)) { $o.add(o); var l = ""; @@ -14118,24 +12683,18 @@ Please check the code for the %s component.`, ? (l = " Did you accidentally pass the Context.Provider instead?") : t._context !== void 0 ? (l = " Did you accidentally pass the Context.Consumer instead?") - : (l = - " However, it is set to an object with keys {" + - Object.keys(t).join(", ") + - "}."), + : (l = " However, it is set to an object with keys {" + Object.keys(t).join(", ") + "}."), c( "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", ne(o) || "Component", - l + l, ); } } typeof t == "object" && t !== null ? (d = Wn(t)) : (d = f); var u = new o(a, d); { - if ( - typeof o.getDerivedStateFromProps == "function" && - (u.state === null || u.state === void 0) - ) { + if (typeof o.getDerivedStateFromProps == "function" && (u.state === null || u.state === void 0)) { var p = ne(o) || "Component"; zn.has(p) || (zn.add(p), @@ -14143,32 +12702,24 @@ Please check the code for the %s component.`, "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", p, u.state === null ? "null" : "undefined", - p + p, )); } - if ( - typeof o.getDerivedStateFromProps == "function" || - typeof u.getSnapshotBeforeUpdate == "function" - ) { + if (typeof o.getDerivedStateFromProps == "function" || typeof u.getSnapshotBeforeUpdate == "function") { var g = null, y = null, w = null; if ( - (typeof u.componentWillMount == "function" && - u.componentWillMount.__suppressDeprecationWarning !== !0 + (typeof u.componentWillMount == "function" && u.componentWillMount.__suppressDeprecationWarning !== !0 ? (g = "componentWillMount") - : typeof u.UNSAFE_componentWillMount == "function" && - (g = "UNSAFE_componentWillMount"), + : typeof u.UNSAFE_componentWillMount == "function" && (g = "UNSAFE_componentWillMount"), typeof u.componentWillReceiveProps == "function" && u.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? (y = "componentWillReceiveProps") - : typeof u.UNSAFE_componentWillReceiveProps == "function" && - (y = "UNSAFE_componentWillReceiveProps"), - typeof u.componentWillUpdate == "function" && - u.componentWillUpdate.__suppressDeprecationWarning !== !0 + : typeof u.UNSAFE_componentWillReceiveProps == "function" && (y = "UNSAFE_componentWillReceiveProps"), + typeof u.componentWillUpdate == "function" && u.componentWillUpdate.__suppressDeprecationWarning !== !0 ? (w = "componentWillUpdate") - : typeof u.UNSAFE_componentWillUpdate == "function" && - (w = "UNSAFE_componentWillUpdate"), + : typeof u.UNSAFE_componentWillUpdate == "function" && (w = "UNSAFE_componentWillUpdate"), g !== null || y !== null || w !== null) ) { var C = ne(o) || "Component", @@ -14198,7 +12749,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, w !== null ? ` ` + w - : "" + : "", )); } } @@ -14213,39 +12764,39 @@ https://reactjs.org/link/unsafe-component-lifecycles`, (a.prototype && typeof a.prototype.render == "function" ? c( "%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?", - d + d, ) : c( "%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.", - d + d, )), o.getInitialState && !o.getInitialState.isReactClassApproved && !o.state && c( "getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", - d + d, ), o.getDefaultProps && !o.getDefaultProps.isReactClassApproved && c( "getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", - d + d, ), o.propTypes && c( "propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.", - d + d, ), o.contextType && c( "contextType was defined as an instance property on %s. Use a static property to define contextType instead.", - d + d, ), o.contextTypes && c( "contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", - d + d, ), a.contextType && a.contextTypes && @@ -14253,39 +12804,36 @@ https://reactjs.org/link/unsafe-component-lifecycles`, (zo.add(a), c( "%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", - d + d, )), typeof o.componentShouldUpdate == "function" && c( "%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", - d + d, ), a.prototype && a.prototype.isPureReactComponent && typeof o.shouldComponentUpdate < "u" && c( "%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", - ne(a) || "A pure component" + ne(a) || "A pure component", ), typeof o.componentDidUnmount == "function" && c( "%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", - d + d, ), typeof o.componentDidReceiveProps == "function" && c( "%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", - d + d, ), typeof o.componentWillRecieveProps == "function" && - c( - "%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", - d - ), + c("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", d), typeof o.UNSAFE_componentWillRecieveProps == "function" && c( "%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", - d + d, ); var r = o.props !== f; o.props !== void 0 && @@ -14293,13 +12841,13 @@ https://reactjs.org/link/unsafe-component-lifecycles`, c( "%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", d, - d + d, ), o.defaultProps && c( "Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", d, - d + d, ), typeof o.getSnapshotBeforeUpdate == "function" && typeof o.componentDidUpdate != "function" && @@ -14307,33 +12855,28 @@ https://reactjs.org/link/unsafe-component-lifecycles`, ($n.add(a), c( "%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", - ne(a) + ne(a), )), typeof o.getDerivedStateFromProps == "function" && c( "%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", - d + d, ), typeof o.getDerivedStateFromError == "function" && c( "%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", - d + d, ), typeof a.getSnapshotBeforeUpdate == "function" && c( "%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", - d + d, ); var l = o.state; - l && - (typeof l != "object" || cr(l)) && - c("%s.state: must be set to an object or null", d), + l && (typeof l != "object" || cr(l)) && c("%s.state: must be set to an object or null", d), typeof o.getChildContext == "function" && typeof a.childContextTypes != "object" && - c( - "%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", - d - ); + c("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", d); } } function ll(o, a) { @@ -14348,18 +12891,17 @@ https://reactjs.org/link/unsafe-component-lifecycles`, * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor. Please update the following components: %s`, - d + d, ), (jo[d] = !0)); } a.componentWillMount(); } - typeof a.UNSAFE_componentWillMount == "function" && - a.UNSAFE_componentWillMount(), + typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), f !== a.state && (c( "%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", - ne(o) || "Component" + ne(o) || "Component", ), il.enqueueReplaceState(a, a.state, null)); } @@ -14367,14 +12909,9 @@ Please update the following components: %s`, if (o.queue !== null && o.queue.length > 0) { var t = o.queue, r = o.replace; - if (((o.queue = null), (o.replace = !1), r && t.length === 1)) - a.state = t[0]; + if (((o.queue = null), (o.replace = !1), r && t.length === 1)) a.state = t[0]; else { - for ( - var l = r ? t[0] : a.state, u = !0, p = r ? 1 : 0; - p < t.length; - p++ - ) { + for (var l = r ? t[0] : a.state, u = !0, p = r ? 1 : 0; p < t.length; p++) { var g = t[p], y = typeof g == "function" ? g.call(a, l, f, d) : g; y != null && (u ? ((u = !1), (l = ze({}, l, y))) : ze(l, y)); @@ -14390,26 +12927,20 @@ Please update the following components: %s`, var r = { queue: [], replace: !1 }; ol(o, r); var l = a.contextType; - if ( - (typeof l == "object" && l !== null - ? (o.context = Wn(l)) - : (o.context = d), - o.state === f) - ) { + if ((typeof l == "object" && l !== null ? (o.context = Wn(l)) : (o.context = d), o.state === f)) { var u = ne(a) || "Component"; Nn.has(u) || (Nn.add(u), c( "%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", - u + u, )); } var p = a.getDerivedStateFromProps; typeof p == "function" && (o.state = uu(o, a, p, t, f)), typeof a.getDerivedStateFromProps != "function" && typeof o.getSnapshotBeforeUpdate != "function" && - (typeof o.UNSAFE_componentWillMount == "function" || - typeof o.componentWillMount == "function") && + (typeof o.UNSAFE_componentWillMount == "function" || typeof o.componentWillMount == "function") && (ll(a, o), du(r, o, f, d)); } var oi = { id: 1, overflow: "" }; @@ -14458,9 +12989,7 @@ Please update the following components: %s`, return a === 0 ? 32 : (31 - ((vu(a) / gu) | 0)) | 0; } function At(o, a) { - return ( - (o === a && (o !== 0 || 1 / o === 1 / a)) || (o !== o && a !== a) - ); + return (o === a && (o !== 0 || 1 / o === 1 / a)) || (o !== o && a !== a); } var ii = typeof Object.is == "function" ? Object.is : At, Ke = null, @@ -14485,7 +13014,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return ( Ie && c( - "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks" + "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks", ), Ke ); @@ -14495,7 +13024,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f return ( c( "%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.", - qr + qr, ), !1 ); @@ -14507,17 +13036,13 @@ Previous: %s Incoming: %s`, qr, "[" + o.join(", ") + "]", - "[" + a.join(", ") + "]" + "[" + a.join(", ") + "]", ); - for (var f = 0; f < a.length && f < o.length; f++) - if (!ii(o[f], a[f])) return !1; + for (var f = 0; f < a.length && f < o.length; f++) if (!ii(o[f], a[f])) return !1; return !0; } function ul() { - if ($e > 0) - throw new Error( - "Rendered more hooks than during the previous render" - ); + if ($e > 0) throw new Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function si() { @@ -14544,20 +13069,13 @@ Incoming: %s`, return o; } function ci() { - (Ie = !1), - (Ke = null), - (X = null), - (ot = !1), - (Vt = null), - ($e = 0), - (Gt = null), - (G = null); + (Ie = !1), (Ke = null), (X = null), (ot = !1), (Vt = null), ($e = 0), (Gt = null), (G = null); } function fi(o) { return ( Ie && c( - "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()." + "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().", ), Wn(o) ); @@ -14592,9 +13110,7 @@ Incoming: %s`, } else { Ie = !0; var g; - o === Yo - ? (g = typeof a == "function" ? a() : a) - : (g = f !== void 0 ? f(a) : a), + o === Yo ? (g = typeof a == "function" ? a() : a) : (g = f !== void 0 ? f(a) : a), (Ie = !1), (G.memoizedState = g); var y = (G.queue = { last: null, dispatch: null }), @@ -14627,14 +13143,12 @@ Incoming: %s`, function Su(o, a) { (qr = "useLayoutEffect"), c( - "useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes." + "useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.", ); } function wu(o, a, f) { if ($e >= Kr) - throw new Error( - "Too many re-renders. React limits the number of renders to prevent an infinite loop." - ); + throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."); if (o === Ke) { ot = !0; var d = { action: f, next: null }; @@ -14658,7 +13172,7 @@ Incoming: %s`, function Tu(o, a, f) { if (f === void 0) throw new Error( - "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." + "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.", ); return f(); } @@ -14666,9 +13180,7 @@ Incoming: %s`, return Xt(), o; } function Eu() { - throw new Error( - "startTransition cannot be called during server rendering." - ); + throw new Error("startTransition cannot be called during server rendering."); } function Go() { return Xt(), [!1, Eu]; @@ -14678,9 +13190,7 @@ Incoming: %s`, a = No(o.treeContext), f = pi; if (f === null) - throw new Error( - "Invalid hook call. Hooks can only be called inside of the body of a function component." - ); + throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component."); var d = Sr++; return wo(f, a, d); } @@ -14804,8 +13314,7 @@ Error generating stack: ` + }; } function at(o, a, f, d, t, r, l, u) { - o.allPendingTasks++, - f === null ? o.pendingRootTasks++ : f.pendingTasks++; + o.allPendingTasks++, f === null ? o.pendingRootTasks++ : f.pendingTasks++; var p = { node: a, ping: function () { @@ -14836,9 +13345,7 @@ Error generating stack: ` + } var Ne = null; function Qo() { - return Ne === null || Ne.componentStack === null - ? "" - : hi(Ne.componentStack); + return Ne === null || Ne.componentStack === null ? "" : hi(Ne.componentStack); } function Xn(o, a) { o.componentStack = { tag: 0, parent: o.componentStack, type: a }; @@ -14851,20 +13358,14 @@ Error generating stack: ` + } function mt(o) { o.componentStack === null - ? c( - "Unexpectedly popped too many stack frames. This is a bug in React." - ) + ? c("Unexpectedly popped too many stack frames. This is a bug in React.") : (o.componentStack = o.componentStack.parent); } var Ot = null; function on(o, a) { { var f; - typeof a == "string" - ? (f = a) - : a && typeof a.message == "string" - ? (f = a.message) - : (f = String(a)); + typeof a == "string" ? (f = a) : a && typeof a.message == "string" ? (f = a.message) : (f = String(a)); var d = Ot || Qo(); (Ot = null), (o.errorMessage = f), (o.errorComponentStack = d); } @@ -14875,7 +13376,7 @@ Error generating stack: ` + throw new Error( 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof f + - '" instead' + '" instead', ); return f; } @@ -14883,10 +13384,7 @@ Error generating stack: ` + var f = o.onShellError; f(a); var d = o.onFatalError; - d(a), - o.destination !== null - ? ((o.status = rn), ct(o.destination, a)) - : ((o.status = ml), (o.fatalError = a)); + d(a), o.destination !== null ? ((o.status = rn), ct(o.destination, a)) : ((o.status = ml), (o.fatalError = a)); } function Iu(o, a, f) { Xn(a, "Suspense"); @@ -14913,10 +13411,7 @@ Error generating stack: ` + return; } } catch (_) { - (w.status = gi), - (p.forceClientRender = !0), - (p.errorDigest = Jn(o, _)), - on(p, _); + (w.status = gi), (p.forceClientRender = !0), (p.errorDigest = Jn(o, _)), on(p, _); } finally { (a.blockedBoundary = d), (a.blockedSegment = t); } @@ -14951,7 +13446,7 @@ Error generating stack: ` + (xi || c( "It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.", - ne(d) || "a component" + ne(d) || "a component", ), (xi = !0)); { @@ -14981,44 +13476,30 @@ Error generating stack: ` + kl = !1; function Tl(o, a, f, d) { var t; - if ( - ((t = Xr(f, a.legacyContext)), - Dt(a, f), - f.prototype && typeof f.prototype.render == "function") - ) { + if (((t = Xr(f, a.legacyContext)), Dt(a, f), f.prototype && typeof f.prototype.render == "function")) { var r = ne(f) || "Unknown"; bi[r] || (c( "The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.", r, - r + r, ), (bi[r] = !0)); } var l = wl(o, a, f, d, t), u = fl(); - if ( - typeof l == "object" && - l !== null && - typeof l.render == "function" && - l.$$typeof === void 0 - ) { + if (typeof l == "object" && l !== null && typeof l.render == "function" && l.$$typeof === void 0) { var p = ne(f) || "Unknown"; Qn[p] || (c( "The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", p, p, - p + p, ), (Qn[p] = !0)); } - if ( - typeof l == "object" && - l !== null && - typeof l.render == "function" && - l.$$typeof === void 0 - ) { + if (typeof l == "object" && l !== null && typeof l.render == "function" && l.$$typeof === void 0) { { var g = ne(f) || "Unknown"; Qn[g] || @@ -15026,7 +13507,7 @@ Error generating stack: ` + "The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.", g, g, - g + g, ), (Qn[g] = !0)); } @@ -15051,23 +13532,16 @@ Error generating stack: ` + o.childContextTypes && c( "%s(...): childContextTypes cannot be defined on a function component.", - o.displayName || o.name || "Component" + o.displayName || o.name || "Component", ), typeof o.getDerivedStateFromProps == "function") ) { var a = ne(o) || "Unknown"; - wi[a] || - (c( - "%s: Function components do not support getDerivedStateFromProps.", - a - ), - (wi[a] = !0)); + wi[a] || (c("%s: Function components do not support getDerivedStateFromProps.", a), (wi[a] = !0)); } if (typeof o.contextType == "object" && o.contextType !== null) { var f = ne(o) || "Unknown"; - Si[f] || - (c("%s: Function components do not support contextType.", f), - (Si[f] = !0)); + Si[f] || (c("%s: Function components do not support contextType.", f), (Si[f] = !0)); } } } @@ -15108,13 +13582,13 @@ Error generating stack: ` + (kl || ((kl = !0), c( - "Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?" + "Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?", ))) : (f = f._context); var t = d.children; typeof t != "function" && c( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.", ); var r = Wn(f), l = t(r); @@ -15130,9 +13604,7 @@ Error generating stack: ` + Ue(o, a, l), (a.context = Hn(t)), u !== a.context && - c( - "Popping the context provider did not return back to the original snapshot. This is a bug in React." - ); + c("Popping the context provider did not return back to the original snapshot. This is a bug in React."); } function Du(o, a, f, d, t) { Xn(a, "Lazy"); @@ -15169,9 +13641,7 @@ Error generating stack: ` + return; } case tu: - throw new Error( - "ReactDOMServer does not yet support scope components." - ); + throw new Error("ReactDOMServer does not yet support scope components."); case On: { Iu(o, a, d); return; @@ -15202,15 +13672,12 @@ Error generating stack: ` + } var r = ""; throw ( - ((f === void 0 || - (typeof f == "object" && - f !== null && - Object.keys(f).length === 0)) && + ((f === void 0 || (typeof f == "object" && f !== null && Object.keys(f).length === 0)) && (r += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), new Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + - ("but got: " + (f == null ? f : typeof f) + "." + r) + ("but got: " + (f == null ? f : typeof f) + "." + r), )) ); } @@ -15219,14 +13686,11 @@ Error generating stack: ` + o[Symbol.toStringTag] === "Generator" && (ki || c( - "Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers." + "Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers.", ), (ki = !0)), o.entries === a && - (xl || - c( - "Using Maps as children is not supported. Use an array of keyed ReactElements instead." - ), + (xl || c("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), (xl = !0)); } function Ue(o, a, f) { @@ -15234,11 +13698,7 @@ Error generating stack: ` + return Mu(o, a, f); } catch (d) { throw ( - ((typeof d == "object" && - d !== null && - typeof d.then == "function") || - (Ot = Ot !== null ? Ot : Qo()), - d) + ((typeof d == "object" && d !== null && typeof d.then == "function") || (Ot = Ot !== null ? Ot : Qo()), d) ); } } @@ -15255,7 +13715,7 @@ Error generating stack: ` + } case Ha: throw new Error( - "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." + "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.", ); case _o: { var u = f, @@ -15265,13 +13725,7 @@ Error generating stack: ` + try { y = g(p); } catch (we) { - throw ( - (typeof we == "object" && - we !== null && - typeof we.then == "function" && - Xn(a, "Lazy"), - we) - ); + throw (typeof we == "object" && we !== null && typeof we.then == "function" && Xn(a, "Lazy"), we); } Ue(o, a, y); return; @@ -15300,35 +13754,23 @@ Error generating stack: ` + var j = Object.prototype.toString.call(f); throw new Error( "Objects are not valid as a React child (found: " + - (j === "[object Object]" - ? "object with keys {" + Object.keys(f).join(", ") + "}" - : j) + - "). If you meant to render a collection of children, use an array instead." + (j === "[object Object]" ? "object with keys {" + Object.keys(f).join(", ") + "}" : j) + + "). If you meant to render a collection of children, use an array instead.", ); } if (typeof f == "string") { var Z = a.blockedSegment; - Z.lastPushedText = ht( - a.blockedSegment.chunks, - f, - o.responseState, - Z.lastPushedText - ); + Z.lastPushedText = ht(a.blockedSegment.chunks, f, o.responseState, Z.lastPushedText); return; } if (typeof f == "number") { var de = a.blockedSegment; - de.lastPushedText = ht( - a.blockedSegment.chunks, - "" + f, - o.responseState, - de.lastPushedText - ); + de.lastPushedText = ht(a.blockedSegment.chunks, "" + f, o.responseState, de.lastPushedText); return; } typeof f == "function" && c( - "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it." + "Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.", ); } function ea(o, a, f) { @@ -15347,18 +13789,8 @@ Error generating stack: ` + t = d.chunks.length, r = nn(o, t, null, d.formatContext, d.lastPushedText, !0); d.children.push(r), (d.lastPushedText = !1); - var l = at( - o, - a.node, - a.blockedBoundary, - r, - a.abortSet, - a.legacyContext, - a.context, - a.treeContext - ); - a.componentStack !== null && - (l.componentStack = a.componentStack.parent); + var l = at(o, a.node, a.blockedBoundary, r, a.abortSet, a.legacyContext, a.context, a.treeContext); + a.componentStack !== null && (l.componentStack = a.componentStack.parent); var u = l.ping; f.then(u, u); } @@ -15371,10 +13803,7 @@ Error generating stack: ` + try { return Ue(o, a, f); } catch (u) { - if ( - (ci(), - typeof u == "object" && u !== null && typeof u.then == "function") - ) { + if ((ci(), typeof u == "object" && u !== null && typeof u.then == "function")) { Lu(o, a, u), (a.blockedSegment.formatContext = d), (a.legacyContext = t), @@ -15421,24 +13850,15 @@ Error generating stack: ` + var d = o.blockedBoundary, t = o.blockedSegment; if (((t.status = gl), d === null)) - a.allPendingTasks--, - a.status !== rn && - ((a.status = rn), a.destination !== null && xe(a.destination)); + a.allPendingTasks--, a.status !== rn && ((a.status = rn), a.destination !== null && xe(a.destination)); else { if ((d.pendingTasks--, !d.forceClientRender)) { d.forceClientRender = !0; - var r = - f === void 0 - ? new Error( - "The render was aborted by the server without a reason." - ) - : f; + var r = f === void 0 ? new Error("The render was aborted by the server without a reason.") : f; d.errorDigest = a.onError(r); { var l = "The server did not finish this Suspense boundary: "; - r && typeof r.message == "string" - ? (r = l + r.message) - : (r = l + String(r)); + r && typeof r.message == "string" ? (r = l + r.message) : (r = l + String(r)); var u = Ne; Ne = o; try { @@ -15463,11 +13883,7 @@ Error generating stack: ` + } } function ra(o, a) { - if ( - a.chunks.length === 0 && - a.children.length === 1 && - a.children[0].boundary === null - ) { + if (a.chunks.length === 0 && a.children.length === 1 && a.children[0].boundary === null) { var f = a.children[0]; (f.id = a.id), (f.parentFlushed = !0), f.status === wr && ra(o, f); } else { @@ -15479,9 +13895,7 @@ Error generating stack: ` + if (a === null) { if (f.parentFlushed) { if (o.completedRootSegment !== null) - throw new Error( - "There can only be one root segment. This is a bug in React." - ); + throw new Error("There can only be one root segment. This is a bug in React."); o.completedRootSegment = f; } if ((o.pendingRootTasks--, o.pendingRootTasks === 0)) { @@ -15519,16 +13933,10 @@ Error generating stack: ` + (f.status = wr), Ri(o, a.blockedBoundary, f); } catch (r) { - if ( - (ci(), - typeof r == "object" && r !== null && typeof r.then == "function") - ) { + if ((ci(), typeof r == "object" && r !== null && typeof r.then == "function")) { var t = a.ping; r.then(t, t); - } else - a.abortSet.delete(a), - (f.status = gi), - El(o, a.blockedBoundary, f, r); + } else a.abortSet.delete(a), (f.status = gi), El(o, a.blockedBoundary, f, r); } finally { Ne = d; } @@ -15554,10 +13962,7 @@ Error generating stack: ` + } catch (p) { Jn(o, p), Ko(o, p); } finally { - Xo(t), - (Vn.current = f), - (Zt.getCurrentStack = d), - f === di && Lo(a); + Xo(t), (Vn.current = f), (Zt.getCurrentStack = d), f === di && Lo(a); } } } @@ -15565,19 +13970,11 @@ Error generating stack: ` + switch (((f.parentFlushed = !0), f.status)) { case Zo: { var d = (f.id = o.nextSegmentId++); - return ( - (f.lastPushedText = !1), - (f.textEmbedded = !1), - ee(a, o.responseState, d) - ); + return (f.lastPushedText = !1), (f.textEmbedded = !1), ee(a, o.responseState, d); } case wr: { f.status = vi; - for ( - var t = !0, r = f.chunks, l = 0, u = f.children, p = 0; - p < u.length; - p++ - ) { + for (var t = !0, r = f.chunks, l = 0, u = f.children, p = 0; p < u.length; p++) { for (var g = u[p]; l < g.index; l++) P(a, r[l]); t = qn(o, a, g); } @@ -15586,7 +13983,7 @@ Error generating stack: ` + } default: throw new Error( - "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." + "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.", ); } } @@ -15595,19 +13992,12 @@ Error generating stack: ` + if (d === null) return oa(o, a, f); if (((d.parentFlushed = !0), d.forceClientRender)) return ( - ms( - a, - o.responseState, - d.errorDigest, - d.errorMessage, - d.errorComponentStack - ), + ms(a, o.responseState, d.errorDigest, d.errorMessage, d.errorComponentStack), oa(o, a, f), bs(a, o.responseState) ); if (d.pendingTasks > 0) { - (d.rootSegmentID = o.nextSegmentId++), - d.completedSegments.length > 0 && o.partialBoundaries.push(d); + (d.rootSegmentID = o.nextSegmentId++), d.completedSegments.length > 0 && o.partialBoundaries.push(d); var t = (d.id = Br(o.responseState)); return Ni(a, o.responseState, t), oa(o, a, f), Vi(a, o.responseState); } else { @@ -15623,28 +14013,17 @@ Error generating stack: ` + var r = d.completedSegments; if (r.length !== 1) throw new Error( - "A previously unvisited boundary must have exactly one root segment. This is a bug in React." + "A previously unvisited boundary must have exactly one root segment. This is a bug in React.", ); var l = r[0]; return qn(o, a, l), ys(a, o.responseState); } } function Rl(o, a, f) { - return eu( - a, - o.responseState, - f.id, - f.errorDigest, - f.errorMessage, - f.errorComponentStack - ); + return eu(a, o.responseState, f.id, f.errorDigest, f.errorMessage, f.errorComponentStack); } function Il(o, a, f) { - return ( - Ws(a, o.responseState, f.formatContext, f.id), - qn(o, a, f), - zs(a, f.formatContext) - ); + return Ws(a, o.responseState, f.formatContext, f.id), qn(o, a, f), zs(a, f.formatContext); } function Ii(o, a, f) { for (var d = f.completedSegments, t = 0; t < d.length; t++) { @@ -15665,10 +14044,7 @@ Error generating stack: ` + var t = d.id; if (t === -1) { var r = (d.id = f.rootSegmentID); - if (r === -1) - throw new Error( - "A root segment ID must have been assigned by now. This is a bug in React." - ); + if (r === -1) throw new Error("A root segment ID must have been assigned by now. This is a bug in React."); return Il(o, a, d); } else return Il(o, a, d), La(a, o.responseState, t); } @@ -15678,9 +14054,7 @@ Error generating stack: ` + var f = o.completedRootSegment; f !== null && o.pendingRootTasks === 0 && - (qn(o, a, f), - (o.completedRootSegment = null), - Y(a, o.responseState)); + (qn(o, a, f), (o.completedRootSegment = null), Y(a, o.responseState)); var d = o.clientRenderedBoundaries, t; for (t = 0; t < d.length; t++) { @@ -15726,9 +14100,7 @@ Error generating stack: ` + o.clientRenderedBoundaries.length === 0 && o.completedBoundaries.length === 0 && (o.abortableTasks.size !== 0 && - c( - "There was still abortable task at the root when we closed. This is a bug in React." - ), + c("There was still abortable task at the root when we closed. This is a bug in React."), xe(a)); } } @@ -15781,7 +14153,7 @@ Error generating stack: ` + a ? a.nonce : void 0, a ? a.bootstrapScriptContent : void 0, a ? a.bootstrapScripts : void 0, - a ? a.bootstrapModules : void 0 + a ? a.bootstrapModules : void 0, ), wn(a ? a.namespaceURI : void 0), a ? a.progressiveChunkSize : void 0, @@ -15789,7 +14161,7 @@ Error generating stack: ` + a ? a.onAllReady : void 0, a ? a.onShellReady : void 0, a ? a.onShellError : void 0, - void 0 + void 0, ); } function Al(o, a) { @@ -15799,27 +14171,13 @@ Error generating stack: ` + _l(f), { pipe: function (t) { - if (d) - throw new Error( - "React currently only supports piping to one writable stream." - ); + if (d) throw new Error("React currently only supports piping to one writable stream."); return ( (d = !0), Pl(f, t), t.on("drain", Bu(t, f)), - t.on( - "error", - Fl( - f, - new Error( - "The destination stream errored while writing data." - ) - ) - ), - t.on( - "close", - Fl(f, new Error("The destination stream closed early.")) - ), + t.on("error", Fl(f, new Error("The destination stream errored while writing data."))), + t.on("close", Fl(f, new Error("The destination stream closed early."))), t ); }, @@ -15832,12 +14190,10 @@ Error generating stack: ` + (Pc.renderToPipeableStream = Al), (Pc.version = i); })(); }); -var zd = an((lo) => { +var zd = an(lo => { "use strict"; var io, Fc; - process.env.NODE_ENV === "production" - ? ((io = Wf()), (Fc = jd())) - : ((io = Hd()), (Fc = Wd())); + process.env.NODE_ENV === "production" ? ((io = Wf()), (Fc = jd())) : ((io = Hd()), (Fc = Wd())); lo.version = io.version; lo.renderToString = io.renderToString; lo.renderToStaticMarkup = io.renderToStaticMarkup; @@ -15852,11 +14208,7 @@ var Nd = Dc(zd()), $i.default.createElement( "html", null, - $i.default.createElement( - "body", - null, - $i.default.createElement("h1", null, "Hello World") - ) + $i.default.createElement("body", null, $i.default.createElement("h1", null, "Hello World")), ), $d = !1; Cv.createServer(function (e, n) { @@ -15868,10 +14220,7 @@ Cv.createServer(function (e, n) { i.pipe(n); }, onShellError(s) { - (n.statusCode = 500), - n.send( - '<!doctype html><p>Loading...</p><script src="clientrender.js"></script>' - ); + (n.statusCode = 500), n.send('<!doctype html><p>Loading...</p><script src="clientrender.js"></script>'); }, onAllReady() {}, onError(s) { |