react-screenshots 0.5.9 → 0.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +145 -145
- package/electron/assets/index.7793f29e.js +222 -0
- package/electron/assets/{index.95e77ee2.css → index.78c5dcbf.css} +1 -1
- package/electron/electron.html +14 -15
- package/lib/react-screenshots.cjs.js +4 -4
- package/lib/react-screenshots.es.js +188 -190
- package/lib/style.css +1 -1
- package/lib/types/ScreenshotsBackground/getBoundsByPoints.d.ts +2 -2
- package/lib/types/ScreenshotsBackground/index.d.ts +4 -4
- package/lib/types/ScreenshotsButton/index.d.ts +12 -12
- package/lib/types/ScreenshotsCanvas/getBoundsByPoints.d.ts +2 -2
- package/lib/types/ScreenshotsCanvas/getPoints.d.ts +2 -2
- package/lib/types/ScreenshotsCanvas/index.d.ts +15 -15
- package/lib/types/ScreenshotsCanvas/isPointInDraw.d.ts +2 -2
- package/lib/types/ScreenshotsColor/index.d.ts +8 -8
- package/lib/types/ScreenshotsContext.d.ts +29 -29
- package/lib/types/ScreenshotsMagnifier/index.d.ts +8 -8
- package/lib/types/ScreenshotsOperations/index.d.ts +6 -6
- package/lib/types/ScreenshotsOption/index.d.ts +15 -15
- package/lib/types/ScreenshotsSize/index.d.ts +8 -8
- package/lib/types/ScreenshotsSizeColor/index.d.ts +10 -10
- package/lib/types/ScreenshotsTextarea/calculateNodeSize.d.ts +17 -17
- package/lib/types/ScreenshotsTextarea/index.d.ts +15 -15
- package/lib/types/composeImage.d.ts +10 -10
- package/lib/types/exports.d.ts +3 -3
- package/lib/types/hooks/useBounds.d.ts +7 -7
- package/lib/types/hooks/useCall.d.ts +2 -2
- package/lib/types/hooks/useCanvasContextRef.d.ts +2 -2
- package/lib/types/hooks/useCanvasMousedown.d.ts +1 -1
- package/lib/types/hooks/useCanvasMousemove.d.ts +1 -1
- package/lib/types/hooks/useCanvasMouseup.d.ts +1 -1
- package/lib/types/hooks/useCursor.d.ts +6 -6
- package/lib/types/hooks/useDispatcher.d.ts +2 -2
- package/lib/types/hooks/useDrawSelect.d.ts +2 -2
- package/lib/types/hooks/useEmiter.d.ts +8 -8
- package/lib/types/hooks/useHistory.d.ts +16 -16
- package/lib/types/hooks/useLang.d.ts +2 -2
- package/lib/types/hooks/useOperation.d.ts +6 -6
- package/lib/types/hooks/useReset.d.ts +2 -2
- package/lib/types/hooks/useStore.d.ts +2 -2
- package/lib/types/index.d.ts +13 -13
- package/lib/types/operations/Arrow/draw.d.ts +11 -11
- package/lib/types/operations/Arrow/index.d.ts +22 -22
- package/lib/types/operations/Brush/draw.d.ts +3 -3
- package/lib/types/operations/Brush/index.d.ts +14 -14
- package/lib/types/operations/Cancel/index.d.ts +2 -2
- package/lib/types/operations/Ellipse/draw.d.ts +11 -11
- package/lib/types/operations/Ellipse/index.d.ts +28 -28
- package/lib/types/operations/Mosaic/index.d.ts +11 -11
- package/lib/types/operations/Ok/index.d.ts +2 -2
- package/lib/types/operations/Rectangle/draw.d.ts +11 -11
- package/lib/types/operations/Rectangle/index.d.ts +28 -28
- package/lib/types/operations/Redo/index.d.ts +2 -2
- package/lib/types/operations/Save/index.d.ts +2 -2
- package/lib/types/operations/Text/index.d.ts +22 -22
- package/lib/types/operations/Undo/index.d.ts +2 -2
- package/lib/types/operations/index.d.ts +3 -3
- package/lib/types/operations/utils.d.ts +4 -4
- package/lib/types/types.d.ts +39 -39
- package/lib/types/useGetLoadedImage.d.ts +1 -1
- package/lib/types/zh_CN.d.ts +16 -16
- package/package.json +2 -2
- package/electron/assets/index.c68b977f.js +0 -14
- package/electron/assets/vendor.e3c417b2.js +0 -209
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
var rs={exports:{}},Jy={};/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/var Zy=Object.getOwnPropertySymbols,xD=Object.prototype.hasOwnProperty,DD=Object.prototype.propertyIsEnumerable;function _D(E){if(E==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(E)}function OD(){try{if(!Object.assign)return!1;var E=new String("abc");if(E[5]="de",Object.getOwnPropertyNames(E)[0]==="5")return!1;for(var P={},ee=0;ee<10;ee++)P["_"+String.fromCharCode(ee)]=ee;var se=Object.getOwnPropertyNames(P).map(function(be){return P[be]});if(se.join("")!=="0123456789")return!1;var de={};return"abcdefghijklmnopqrst".split("").forEach(function(be){de[be]=be}),Object.keys(Object.assign({},de)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Od=OD()?Object.assign:function(E,P){for(var ee,se=_D(E),de,be=1;be<arguments.length;be++){ee=Object(arguments[be]);for(var d in ee)xD.call(ee,d)&&(se[d]=ee[d]);if(Zy){de=Zy(ee);for(var tt=0;tt<de.length;tt++)DD.call(ee,de[tt])&&(se[de[tt]]=ee[de[tt]])}}return se};/** @license React v17.0.2
|
|
6
|
-
* react.development.js
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/(function(E){(function(){var P=Od,ee="17.0.2",se=60103,de=60106;E.Fragment=60107,E.StrictMode=60108,E.Profiler=60114;var be=60109,d=60110,tt=60112;E.Suspense=60113;var Te=60120,B=60115,nt=60116,Q=60121,le=60122,$=60117,me=60129,Yt=60131;if(typeof Symbol=="function"&&Symbol.for){var Se=Symbol.for;se=Se("react.element"),de=Se("react.portal"),E.Fragment=Se("react.fragment"),E.StrictMode=Se("react.strict_mode"),E.Profiler=Se("react.profiler"),be=Se("react.provider"),d=Se("react.context"),tt=Se("react.forward_ref"),E.Suspense=Se("react.suspense"),Te=Se("react.suspense_list"),B=Se("react.memo"),nt=Se("react.lazy"),Q=Se("react.block"),le=Se("react.server.block"),$=Se("react.fundamental"),Se("react.scope"),Se("react.opaque.id"),me=Se("react.debug_trace_mode"),Se("react.offscreen"),Yt=Se("react.legacy_hidden")}var sn=typeof Symbol=="function"&&Symbol.iterator,ce="@@iterator";function N(s){if(s===null||typeof s!="object")return null;var h=sn&&s[sn]||s[ce];return typeof h=="function"?h:null}var J={current:null},H={transition:0},ne={current:null},re={},pe=null;function xe(s){pe=s}re.setExtraStackFrame=function(s){pe=s},re.getCurrentStack=null,re.getStackAddendum=function(){var s="";pe&&(s+=pe);var h=re.getCurrentStack;return h&&(s+=h()||""),s};var kt={current:!1},De={ReactCurrentDispatcher:J,ReactCurrentBatchConfig:H,ReactCurrentOwner:ne,IsSomeRendererActing:kt,assign:P};De.ReactDebugCurrentFrame=re;function gt(s){{for(var h=arguments.length,S=new Array(h>1?h-1:0),C=1;C<h;C++)S[C-1]=arguments[C];ke("warn",s,S)}}function fe(s){{for(var h=arguments.length,S=new Array(h>1?h-1:0),C=1;C<h;C++)S[C-1]=arguments[C];ke("error",s,S)}}function ke(s,h,S){{var C=De.ReactDebugCurrentFrame,U=C.getStackAddendum();U!==""&&(h+="%s",S=S.concat([U]));var Z=S.map(function(G){return""+G});Z.unshift("Warning: "+h),Function.prototype.apply.call(console[s],console,Z)}}var Ge={};function ot(s,h){{var S=s.constructor,C=S&&(S.displayName||S.name)||"ReactClass",U=C+"."+h;if(Ge[U])return;fe("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.",h,C),Ge[U]=!0}}var cn={isMounted:function(s){return!1},enqueueForceUpdate:function(s,h,S){ot(s,"forceUpdate")},enqueueReplaceState:function(s,h,S,C){ot(s,"replaceState")},enqueueSetState:function(s,h,S,C){ot(s,"setState")}},Dt={};Object.freeze(Dt);function rt(s,h,S){this.props=s,this.context=h,this.refs=Dt,this.updater=S||cn}rt.prototype.isReactComponent={},rt.prototype.setState=function(s,h){if(!(typeof s=="object"||typeof s=="function"||s==null))throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,h,"setState")},rt.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var Rn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ar=function(s,h){Object.defineProperty(rt.prototype,s,{get:function(){gt("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])}})};for(var Lt in Rn)Rn.hasOwnProperty(Lt)&&Ar(Lt,Rn[Lt])}function jn(){}jn.prototype=rt.prototype;function qt(s,h,S){this.props=s,this.context=h,this.refs=Dt,this.updater=S||cn}var en=qt.prototype=new jn;en.constructor=qt,P(en,rt.prototype),en.isPureReactComponent=!0;function Ct(){var s={current:null};return Object.seal(s),s}function Cn(s,h,S){var C=h.displayName||h.name||"";return s.displayName||(C!==""?S+"("+C+")":S)}function He(s){return s.displayName||"Context"}function Ve(s){if(s==null)return null;if(typeof s.tag=="number"&&fe("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case E.Fragment:return"Fragment";case de:return"Portal";case E.Profiler:return"Profiler";case E.StrictMode:return"StrictMode";case E.Suspense:return"Suspense";case Te:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case d:var h=s;return He(h)+".Consumer";case be:var S=s;return He(S._context)+".Provider";case tt:return Cn(s,s.render,"ForwardRef");case B:return Ve(s.type);case Q:return Ve(s._render);case nt:{var C=s,U=C._payload,Z=C._init;try{return Ve(Z(U))}catch{return null}}}return null}var bt=Object.prototype.hasOwnProperty,at={key:!0,ref:!0,__self:!0,__source:!0},$e,fn,zt;zt={};function Tt(s){if(bt.call(s,"ref")){var h=Object.getOwnPropertyDescriptor(s,"ref").get;if(h&&h.isReactWarning)return!1}return s.ref!==void 0}function Tn(s){if(bt.call(s,"key")){var h=Object.getOwnPropertyDescriptor(s,"key").get;if(h&&h.isReactWarning)return!1}return s.key!==void 0}function qn(s,h){var S=function(){$e||($e=!0,fe("%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)",h))};S.isReactWarning=!0,Object.defineProperty(s,"key",{get:S,configurable:!0})}function dn(s,h){var S=function(){fn||(fn=!0,fe("%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)",h))};S.isReactWarning=!0,Object.defineProperty(s,"ref",{get:S,configurable:!0})}function Mr(s){if(typeof s.ref=="string"&&ne.current&&s.__self&&ne.current.stateNode!==s.__self){var h=Ve(ne.current.type);zt[h]||(fe('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',h,s.ref),zt[h]=!0)}}var tn=function(s,h,S,C,U,Z,G){var q={$$typeof:se,type:s,key:h,ref:S,props:G,_owner:Z};return q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:U}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q};function In(s,h,S){var C,U={},Z=null,G=null,q=null,_e=null;if(h!=null){Tt(h)&&(G=h.ref,Mr(h)),Tn(h)&&(Z=""+h.key),q=h.__self===void 0?null:h.__self,_e=h.__source===void 0?null:h.__source;for(C in h)bt.call(h,C)&&!at.hasOwnProperty(C)&&(U[C]=h[C])}var ze=arguments.length-2;if(ze===1)U.children=S;else if(ze>1){for(var Ye=Array(ze),ut=0;ut<ze;ut++)Ye[ut]=arguments[ut+2];Object.freeze&&Object.freeze(Ye),U.children=Ye}if(s&&s.defaultProps){var jt=s.defaultProps;for(C in jt)U[C]===void 0&&(U[C]=jt[C])}if(Z||G){var Ht=typeof s=="function"?s.displayName||s.name||"Unknown":s;Z&&qn(U,Ht),G&&dn(U,Ht)}return tn(s,Z,G,q,_e,ne.current,U)}function Ur(s,h){var S=tn(s.type,h,s.ref,s._self,s._source,s._owner,s.props);return S}function Gn(s,h,S){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var C,U=P({},s.props),Z=s.key,G=s.ref,q=s._self,_e=s._source,ze=s._owner;if(h!=null){Tt(h)&&(G=h.ref,ze=ne.current),Tn(h)&&(Z=""+h.key);var Ye;s.type&&s.type.defaultProps&&(Ye=s.type.defaultProps);for(C in h)bt.call(h,C)&&!at.hasOwnProperty(C)&&(h[C]===void 0&&Ye!==void 0?U[C]=Ye[C]:U[C]=h[C])}var ut=arguments.length-2;if(ut===1)U.children=S;else if(ut>1){for(var jt=Array(ut),Ht=0;Ht<ut;Ht++)jt[Ht]=arguments[Ht+2];U.children=jt}return tn(s.type,Z,G,q,_e,ze,U)}function At(s){return typeof s=="object"&&s!==null&&s.$$typeof===se}var xn=".",vt=":";function it(s){var h=/[=:]/g,S={"=":"=0",":":"=2"},C=s.replace(h,function(U){return S[U]});return"$"+C}var Lr=!1,dr=/\/+/g;function Qn(s){return s.replace(dr,"$&/")}function k(s,h){return typeof s=="object"&&s!==null&&s.key!=null?it(""+s.key):h.toString(36)}function W(s,h,S,C,U){var Z=typeof s;(Z==="undefined"||Z==="boolean")&&(s=null);var G=!1;if(s===null)G=!0;else switch(Z){case"string":case"number":G=!0;break;case"object":switch(s.$$typeof){case se:case de:G=!0}}if(G){var q=s,_e=U(q),ze=C===""?xn+k(q,0):C;if(Array.isArray(_e)){var Ye="";ze!=null&&(Ye=Qn(ze)+"/"),W(_e,h,Ye,"",function(Wi){return Wi})}else _e!=null&&(At(_e)&&(_e=Ur(_e,S+(_e.key&&(!q||q.key!==_e.key)?Qn(""+_e.key)+"/":"")+ze)),h.push(_e));return 1}var ut,jt,Ht=0,nn=C===""?xn:C+vt;if(Array.isArray(s))for(var Fr=0;Fr<s.length;Fr++)ut=s[Fr],jt=nn+k(ut,Fr),Ht+=W(ut,h,S,jt,U);else{var Ba=N(s);if(typeof Ba=="function"){var Fi=s;Ba===Fi.entries&&(Lr||gt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Lr=!0);for(var ds=Ba.call(Fi),Bi,vs=0;!(Bi=ds.next()).done;)ut=Bi.value,jt=nn+k(ut,vs++),Ht+=W(ut,h,S,jt,U)}else if(Z==="object"){var Wa=""+s;throw Error("Objects are not valid as a React child (found: "+(Wa==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Wa)+"). If you meant to render a collection of children, use an array instead.")}}return Ht}function te(s,h,S){if(s==null)return s;var C=[],U=0;return W(s,C,"","",function(Z){return h.call(S,Z,U++)}),C}function Ee(s){var h=0;return te(s,function(){h++}),h}function Le(s,h,S){te(s,function(){h.apply(this,arguments)},S)}function Qe(s){return te(s,function(h){return h})||[]}function Xe(s){if(!At(s))throw Error("React.Children.only expected to receive a single React element child.");return s}function St(s,h){h===void 0?h=null:h!==null&&typeof h!="function"&&fe("createContext: Expected the optional second argument to be a function. Instead received: %s",h);var S={$$typeof:d,_calculateChangedBits:h,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null};S.Provider={$$typeof:be,_context:S};var C=!1,U=!1,Z=!1;{var G={$$typeof:d,_context:S,_calculateChangedBits:S._calculateChangedBits};Object.defineProperties(G,{Provider:{get:function(){return U||(U=!0,fe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),S.Provider},set:function(q){S.Provider=q}},_currentValue:{get:function(){return S._currentValue},set:function(q){S._currentValue=q}},_currentValue2:{get:function(){return S._currentValue2},set:function(q){S._currentValue2=q}},_threadCount:{get:function(){return S._threadCount},set:function(q){S._threadCount=q}},Consumer:{get:function(){return C||(C=!0,fe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),S.Consumer}},displayName:{get:function(){return S.displayName},set:function(q){Z||(gt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",q),Z=!0)}}}),S.Consumer=G}return S._currentRenderer=null,S._currentRenderer2=null,S}var Fe=-1,It=0,zr=1,Xn=2;function vr(s){if(s._status===Fe){var h=s._result,S=h(),C=s;C._status=It,C._result=S,S.then(function(U){if(s._status===It){var Z=U.default;Z===void 0&&fe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
13
|
-
|
|
14
|
-
Your code should look like:
|
|
15
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,U);var G=s;G._status=zr,G._result=Z}},function(U){if(s._status===It){var Z=s;Z._status=Xn,Z._result=U}})}if(s._status===zr)return s._result;throw s._result}function Nr(s){var h={_status:-1,_result:s},S={$$typeof:nt,_payload:h,_init:vr};{var C,U;Object.defineProperties(S,{defaultProps:{configurable:!0,get:function(){return C},set:function(Z){fe("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."),C=Z,Object.defineProperty(S,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return U},set:function(Z){fe("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."),U=Z,Object.defineProperty(S,"propTypes",{enumerable:!0})}}})}return S}function Hn(s){s!=null&&s.$$typeof===B?fe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?fe("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&fe("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&fe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var h={$$typeof:tt,render:s};{var S;Object.defineProperty(h,"displayName",{enumerable:!1,configurable:!0,get:function(){return S},set:function(C){S=C,s.displayName==null&&(s.displayName=C)}})}return h}var Kn=!1;function Vn(s){return!!(typeof s=="string"||typeof s=="function"||s===E.Fragment||s===E.Profiler||s===me||s===E.StrictMode||s===E.Suspense||s===Te||s===Yt||Kn||typeof s=="object"&&s!==null&&(s.$$typeof===nt||s.$$typeof===B||s.$$typeof===be||s.$$typeof===d||s.$$typeof===tt||s.$$typeof===$||s.$$typeof===Q||s[0]===le))}function v(s,h){Vn(s)||fe("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var S={$$typeof:B,type:s,compare:h===void 0?null:h};{var C;Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(U){C=U,s.displayName==null&&(s.displayName=U)}})}return S}function T(){var s=J.current;if(s===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
16
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
17
|
-
2. You might be breaking the Rules of Hooks
|
|
18
|
-
3. You might have more than one copy of React in the same app
|
|
19
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return s}function L(s,h){var S=T();if(h!==void 0&&fe("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",h,typeof h=="number"&&Array.isArray(arguments[2])?`
|
|
20
|
-
|
|
21
|
-
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks`:""),s._context!==void 0){var C=s._context;C.Consumer===s?fe("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?"):C.Provider===s&&fe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return S.useContext(s,h)}function I(s){var h=T();return h.useState(s)}function ye(s,h,S){var C=T();return C.useReducer(s,h,S)}function Re(s){var h=T();return h.useRef(s)}function oe(s,h){var S=T();return S.useEffect(s,h)}function ie(s,h){var S=T();return S.useLayoutEffect(s,h)}function ve(s,h){var S=T();return S.useCallback(s,h)}function Be(s,h){var S=T();return S.useMemo(s,h)}function Ke(s,h,S){var C=T();return C.useImperativeHandle(s,h,S)}function xt(s,h){{var S=T();return S.useDebugValue(s,h)}}var _t=0,jr,Gt,Ai,Mi,Ui,Li,zi;function Ni(){}Ni.__reactDisabledLog=!0;function Dn(){{if(_t===0){jr=console.log,Gt=console.info,Ai=console.warn,Mi=console.error,Ui=console.group,Li=console.groupCollapsed,zi=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Ni,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}_t++}}function _n(){{if(_t--,_t===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},s,{value:jr}),info:P({},s,{value:Gt}),warn:P({},s,{value:Ai}),error:P({},s,{value:Mi}),group:P({},s,{value:Ui}),groupCollapsed:P({},s,{value:Li}),groupEnd:P({},s,{value:zi})})}_t<0&&fe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ia=De.ReactCurrentDispatcher,ua;function vn(s,h,S){{if(ua===void 0)try{throw Error()}catch(U){var C=U.stack.trim().match(/\n( *(at )?)/);ua=C&&C[1]||""}return`
|
|
22
|
-
`+ua+s}}var la=!1,pr;{var as=typeof WeakMap=="function"?WeakMap:Map;pr=new as}function Ha(s,h){if(!s||la)return"";{var S=pr.get(s);if(S!==void 0)return S}var C;la=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=ia.current,ia.current=null,Dn();try{if(h){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(nn){C=nn}Reflect.construct(s,[],G)}else{try{G.call()}catch(nn){C=nn}s.call(G.prototype)}}else{try{throw Error()}catch(nn){C=nn}s()}}catch(nn){if(nn&&C&&typeof nn.stack=="string"){for(var q=nn.stack.split(`
|
|
23
|
-
`),_e=C.stack.split(`
|
|
24
|
-
`),ze=q.length-1,Ye=_e.length-1;ze>=1&&Ye>=0&&q[ze]!==_e[Ye];)Ye--;for(;ze>=1&&Ye>=0;ze--,Ye--)if(q[ze]!==_e[Ye]){if(ze!==1||Ye!==1)do if(ze--,Ye--,Ye<0||q[ze]!==_e[Ye]){var ut=`
|
|
25
|
-
`+q[ze].replace(" at new "," at ");return typeof s=="function"&&pr.set(s,ut),ut}while(ze>=1&&Ye>=0);break}}}finally{la=!1,ia.current=Z,_n(),Error.prepareStackTrace=U}var jt=s?s.displayName||s.name:"",Ht=jt?vn(jt):"";return typeof s=="function"&&pr.set(s,Ht),Ht}function Zu(s,h,S){return Ha(s,!1)}function oa(s){var h=s.prototype;return!!(h&&h.isReactComponent)}function Va(s,h,S){if(s==null)return"";if(typeof s=="function")return Ha(s,oa(s));if(typeof s=="string")return vn(s);switch(s){case E.Suspense:return vn("Suspense");case Te:return vn("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case tt:return Zu(s.render);case B:return Va(s.type,h,S);case Q:return Zu(s._render);case nt:{var C=s,U=C._payload,Z=C._init;try{return Va(Z(U),h,S)}catch{}}}return""}var Fa={},el=De.ReactDebugCurrentFrame;function sa(s){if(s){var h=s._owner,S=Va(s.type,s._source,h?h.type:null);el.setExtraStackFrame(S)}else el.setExtraStackFrame(null)}function is(s,h,S,C,U){{var Z=Function.call.bind(Object.prototype.hasOwnProperty);for(var G in s)if(Z(s,G)){var q=void 0;try{if(typeof s[G]!="function"){var _e=Error((C||"React class")+": "+S+" type `"+G+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[G]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _e.name="Invariant Violation",_e}q=s[G](h,G,C,S,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ze){q=ze}q&&!(q instanceof Error)&&(sa(U),fe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",C||"React class",S,G,typeof q),sa(null)),q instanceof Error&&!(q.message in Fa)&&(Fa[q.message]=!0,sa(U),fe("Failed %s type: %s",S,q.message),sa(null))}}}function hr(s){if(s){var h=s._owner,S=Va(s.type,s._source,h?h.type:null);xe(S)}else xe(null)}var A;A=!1;function ji(){if(ne.current){var s=Ve(ne.current.type);if(s)return`
|
|
26
|
-
|
|
27
|
-
Check the render method of \``+s+"`."}return""}function Nt(s){if(s!==void 0){var h=s.fileName.replace(/^.*[\\\/]/,""),S=s.lineNumber;return`
|
|
28
|
-
|
|
29
|
-
Check your code at `+h+":"+S+"."}return""}function Hr(s){return s!=null?Nt(s.__source):""}var Vr={};function us(s){var h=ji();if(!h){var S=typeof s=="string"?s:s.displayName||s.name;S&&(h=`
|
|
30
|
-
|
|
31
|
-
Check the top-level render call using <`+S+">.")}return h}function Mt(s,h){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var S=us(h);if(!Vr[S]){Vr[S]=!0;var C="";s&&s._owner&&s._owner!==ne.current&&(C=" It was passed a child from "+Ve(s._owner.type)+"."),hr(s),fe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',S,C),hr(null)}}}function pt(s,h){if(typeof s=="object"){if(Array.isArray(s))for(var S=0;S<s.length;S++){var C=s[S];At(C)&&Mt(C,h)}else if(At(s))s._store&&(s._store.validated=!0);else if(s){var U=N(s);if(typeof U=="function"&&U!==s.entries)for(var Z=U.call(s),G;!(G=Z.next()).done;)At(G.value)&&Mt(G.value,h)}}}function pn(s){{var h=s.type;if(h==null||typeof h=="string")return;var S;if(typeof h=="function")S=h.propTypes;else if(typeof h=="object"&&(h.$$typeof===tt||h.$$typeof===B))S=h.propTypes;else return;if(S){var C=Ve(h);is(S,s.props,"prop",C,s)}else if(h.PropTypes!==void 0&&!A){A=!0;var U=Ve(h);fe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",U||"Unknown")}typeof h.getDefaultProps=="function"&&!h.getDefaultProps.isReactClassApproved&&fe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ls(s){{for(var h=Object.keys(s.props),S=0;S<h.length;S++){var C=h[S];if(C!=="children"&&C!=="key"){hr(s),fe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),hr(null);break}}s.ref!==null&&(hr(s),fe("Invalid attribute `ref` supplied to `React.Fragment`."),hr(null))}}function Qt(s,h,S){var C=Vn(s);if(!C){var U="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(U+=" 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 Z=Hr(h);Z?U+=Z:U+=ji();var G;s===null?G="null":Array.isArray(s)?G="array":s!==void 0&&s.$$typeof===se?(G="<"+(Ve(s.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):G=typeof s,fe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",G,U)}var q=In.apply(this,arguments);if(q==null)return q;if(C)for(var _e=2;_e<arguments.length;_e++)pt(arguments[_e],s);return s===E.Fragment?ls(q):pn(q),q}var Fn=!1;function os(s){var h=Qt.bind(null,s);return h.type=s,Fn||(Fn=!0,gt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(h,"type",{enumerable:!1,get:function(){return gt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),h}function Hi(s,h,S){for(var C=Gn.apply(this,arguments),U=2;U<arguments.length;U++)pt(arguments[U],C.type);return pn(C),C}try{var Vi=Object.freeze({});new Map([[Vi,null]]),new Set([Vi])}catch{}var tl=Qt,ss=Hi,cs=os,fs={map:te,forEach:Le,count:Ee,toArray:Qe,only:Xe};E.Children=fs,E.Component=rt,E.PureComponent=qt,E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=De,E.cloneElement=ss,E.createContext=St,E.createElement=tl,E.createFactory=cs,E.createRef=Ct,E.forwardRef=Hn,E.isValidElement=At,E.lazy=Nr,E.memo=v,E.useCallback=ve,E.useContext=L,E.useDebugValue=xt,E.useEffect=oe,E.useImperativeHandle=Ke,E.useLayoutEffect=ie,E.useMemo=Be,E.useReducer=ye,E.useRef=Re,E.useState=I,E.version=ee})()})(Jy);rs.exports=Jy;var kD=rs.exports,eg={exports:{}},Nn={},tg={exports:{}},ng={};/** @license React v0.20.2
|
|
32
|
-
* scheduler.development.js
|
|
33
|
-
*
|
|
34
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the MIT license found in the
|
|
37
|
-
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/(function(E){(function(){var P=!1,ee=!1,se,de,be,d,tt=typeof performance=="object"&&typeof performance.now=="function";if(tt){var Te=performance;E.unstable_now=function(){return Te.now()}}else{var B=Date,nt=B.now();E.unstable_now=function(){return B.now()-nt}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var Q=null,le=null,$=function(){if(Q!==null)try{var k=E.unstable_now(),W=!0;Q(W,k),Q=null}catch(te){throw setTimeout($,0),te}};se=function(k){Q!==null?setTimeout(se,0,k):(Q=k,setTimeout($,0))},de=function(k,W){le=setTimeout(k,W)},be=function(){clearTimeout(le)},E.unstable_shouldYield=function(){return!1},d=E.unstable_forceFrameRate=function(){}}else{var me=window.setTimeout,Yt=window.clearTimeout;if(typeof console!="undefined"){var Se=window.requestAnimationFrame,sn=window.cancelAnimationFrame;typeof Se!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof sn!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var ce=!1,N=null,J=-1,H=5,ne=0;E.unstable_shouldYield=function(){return E.unstable_now()>=ne},d=function(){},E.unstable_forceFrameRate=function(k){if(k<0||k>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}k>0?H=Math.floor(1e3/k):H=5};var re=function(){if(N!==null){var k=E.unstable_now();ne=k+H;var W=!0;try{var te=N(W,k);te?xe.postMessage(null):(ce=!1,N=null)}catch(Ee){throw xe.postMessage(null),Ee}}else ce=!1},pe=new MessageChannel,xe=pe.port2;pe.port1.onmessage=re,se=function(k){N=k,ce||(ce=!0,xe.postMessage(null))},de=function(k,W){J=me(function(){k(E.unstable_now())},W)},be=function(){Yt(J),J=-1}}function kt(k,W){var te=k.length;k.push(W),fe(k,W,te)}function De(k){var W=k[0];return W===void 0?null:W}function gt(k){var W=k[0];if(W!==void 0){var te=k.pop();return te!==W&&(k[0]=te,ke(k,te,0)),W}else return null}function fe(k,W,te){for(var Ee=te;;){var Le=Ee-1>>>1,Qe=k[Le];if(Qe!==void 0&&Ge(Qe,W)>0)k[Le]=W,k[Ee]=Qe,Ee=Le;else return}}function ke(k,W,te){for(var Ee=te,Le=k.length;Ee<Le;){var Qe=(Ee+1)*2-1,Xe=k[Qe],St=Qe+1,Fe=k[St];if(Xe!==void 0&&Ge(Xe,W)<0)Fe!==void 0&&Ge(Fe,Xe)<0?(k[Ee]=Fe,k[St]=W,Ee=St):(k[Ee]=Xe,k[Qe]=W,Ee=Qe);else if(Fe!==void 0&&Ge(Fe,W)<0)k[Ee]=Fe,k[St]=W,Ee=St;else return}}function Ge(k,W){var te=k.sortIndex-W.sortIndex;return te!==0?te:k.id-W.id}var ot=1,cn=2,Dt=3,rt=4,Rn=5;function Ar(k,W){}var Lt=1073741823,jn=-1,qt=250,en=5e3,Ct=1e4,Cn=Lt,He=[],Ve=[],bt=1,at=null,$e=Dt,fn=!1,zt=!1,Tt=!1;function Tn(k){for(var W=De(Ve);W!==null;){if(W.callback===null)gt(Ve);else if(W.startTime<=k)gt(Ve),W.sortIndex=W.expirationTime,kt(He,W);else return;W=De(Ve)}}function qn(k){if(Tt=!1,Tn(k),!zt)if(De(He)!==null)zt=!0,se(dn);else{var W=De(Ve);W!==null&&de(qn,W.startTime-k)}}function dn(k,W){zt=!1,Tt&&(Tt=!1,be()),fn=!0;var te=$e;try{var Ee;if(!ee)return Mr(k,W)}finally{at=null,$e=te,fn=!1}}function Mr(k,W){var te=W;for(Tn(te),at=De(He);at!==null&&!P&&!(at.expirationTime>te&&(!k||E.unstable_shouldYield()));){var Ee=at.callback;if(typeof Ee=="function"){at.callback=null,$e=at.priorityLevel;var Le=at.expirationTime<=te,Qe=Ee(Le);te=E.unstable_now(),typeof Qe=="function"?at.callback=Qe:at===De(He)&>(He),Tn(te)}else gt(He);at=De(He)}if(at!==null)return!0;var Xe=De(Ve);return Xe!==null&&de(qn,Xe.startTime-te),!1}function tn(k,W){switch(k){case ot:case cn:case Dt:case rt:case Rn:break;default:k=Dt}var te=$e;$e=k;try{return W()}finally{$e=te}}function In(k){var W;switch($e){case ot:case cn:case Dt:W=Dt;break;default:W=$e;break}var te=$e;$e=W;try{return k()}finally{$e=te}}function Ur(k){var W=$e;return function(){var te=$e;$e=W;try{return k.apply(this,arguments)}finally{$e=te}}}function Gn(k,W,te){var Ee=E.unstable_now(),Le;if(typeof te=="object"&&te!==null){var Qe=te.delay;typeof Qe=="number"&&Qe>0?Le=Ee+Qe:Le=Ee}else Le=Ee;var Xe;switch(k){case ot:Xe=jn;break;case cn:Xe=qt;break;case Rn:Xe=Cn;break;case rt:Xe=Ct;break;case Dt:default:Xe=en;break}var St=Le+Xe,Fe={id:bt++,callback:W,priorityLevel:k,startTime:Le,expirationTime:St,sortIndex:-1};return Le>Ee?(Fe.sortIndex=Le,kt(Ve,Fe),De(He)===null&&Fe===De(Ve)&&(Tt?be():Tt=!0,de(qn,Le-Ee))):(Fe.sortIndex=St,kt(He,Fe),!zt&&!fn&&(zt=!0,se(dn))),Fe}function At(){}function xn(){!zt&&!fn&&(zt=!0,se(dn))}function vt(){return De(He)}function it(k){k.callback=null}function Lr(){return $e}var dr=d,Qn=null;E.unstable_IdlePriority=Rn,E.unstable_ImmediatePriority=ot,E.unstable_LowPriority=rt,E.unstable_NormalPriority=Dt,E.unstable_Profiling=Qn,E.unstable_UserBlockingPriority=cn,E.unstable_cancelCallback=it,E.unstable_continueExecution=xn,E.unstable_getCurrentPriorityLevel=Lr,E.unstable_getFirstCallbackNode=vt,E.unstable_next=In,E.unstable_pauseExecution=At,E.unstable_requestPaint=dr,E.unstable_runWithPriority=tn,E.unstable_scheduleCallback=Gn,E.unstable_wrapCallback=Ur})()})(ng);tg.exports=ng;var rg={exports:{}},ag={};/** @license React v0.20.2
|
|
39
|
-
* scheduler-tracing.development.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/(function(E){(function(){var P=0,ee=0,se=0;E.__interactionsRef=null,E.__subscriberRef=null,E.__interactionsRef={current:new Set},E.__subscriberRef={current:null};function de(ce){var N=E.__interactionsRef.current;E.__interactionsRef.current=new Set;try{return ce()}finally{E.__interactionsRef.current=N}}function be(){return E.__interactionsRef.current}function d(){return++se}function tt(ce,N,J){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:P,ne={__count:1,id:ee++,name:ce,timestamp:N},re=E.__interactionsRef.current,pe=new Set(re);pe.add(ne),E.__interactionsRef.current=pe;var xe=E.__subscriberRef.current,kt;try{xe!==null&&xe.onInteractionTraced(ne)}finally{try{xe!==null&&xe.onWorkStarted(pe,H)}finally{try{kt=J()}finally{E.__interactionsRef.current=re;try{xe!==null&&xe.onWorkStopped(pe,H)}finally{ne.__count--,xe!==null&&ne.__count===0&&xe.onInteractionScheduledWorkCompleted(ne)}}}}return kt}function Te(ce){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,J=E.__interactionsRef.current,H=E.__subscriberRef.current;H!==null&&H.onWorkScheduled(J,N),J.forEach(function(pe){pe.__count++});var ne=!1;function re(){var pe=E.__interactionsRef.current;E.__interactionsRef.current=J,H=E.__subscriberRef.current;try{var xe;try{H!==null&&H.onWorkStarted(J,N)}finally{try{xe=ce.apply(void 0,arguments)}finally{E.__interactionsRef.current=pe,H!==null&&H.onWorkStopped(J,N)}}return xe}finally{ne||(ne=!0,J.forEach(function(kt){kt.__count--,H!==null&&kt.__count===0&&H.onInteractionScheduledWorkCompleted(kt)}))}}return re.cancel=function(){H=E.__subscriberRef.current;try{H!==null&&H.onWorkCanceled(J,N)}finally{J.forEach(function(xe){xe.__count--,H&&xe.__count===0&&H.onInteractionScheduledWorkCompleted(xe)})}},re}var B=null;B=new Set;function nt(ce){B.add(ce),B.size===1&&(E.__subscriberRef.current={onInteractionScheduledWorkCompleted:$,onInteractionTraced:le,onWorkCanceled:sn,onWorkScheduled:me,onWorkStarted:Yt,onWorkStopped:Se})}function Q(ce){B.delete(ce),B.size===0&&(E.__subscriberRef.current=null)}function le(ce){var N=!1,J=null;if(B.forEach(function(H){try{H.onInteractionTraced(ce)}catch(ne){N||(N=!0,J=ne)}}),N)throw J}function $(ce){var N=!1,J=null;if(B.forEach(function(H){try{H.onInteractionScheduledWorkCompleted(ce)}catch(ne){N||(N=!0,J=ne)}}),N)throw J}function me(ce,N){var J=!1,H=null;if(B.forEach(function(ne){try{ne.onWorkScheduled(ce,N)}catch(re){J||(J=!0,H=re)}}),J)throw H}function Yt(ce,N){var J=!1,H=null;if(B.forEach(function(ne){try{ne.onWorkStarted(ce,N)}catch(re){J||(J=!0,H=re)}}),J)throw H}function Se(ce,N){var J=!1,H=null;if(B.forEach(function(ne){try{ne.onWorkStopped(ce,N)}catch(re){J||(J=!0,H=re)}}),J)throw H}function sn(ce,N){var J=!1,H=null;if(B.forEach(function(ne){try{ne.onWorkCanceled(ce,N)}catch(re){J||(J=!0,H=re)}}),J)throw H}E.unstable_clear=de,E.unstable_getCurrent=be,E.unstable_getThreadID=d,E.unstable_subscribe=nt,E.unstable_trace=tt,E.unstable_unsubscribe=Q,E.unstable_wrap=Te})()})(ag);rg.exports=ag;/** @license React v17.0.2
|
|
46
|
-
* react-dom.development.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/(function(){var E=rs.exports,P=Od,ee=tg.exports,se=rg.exports,de=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function be(e){{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];tt("warn",e,n)}}function d(e){{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];tt("error",e,n)}}function tt(e,t,n){{var r=de.ReactDebugCurrentFrame,a=r.getStackAddendum();a!==""&&(t+="%s",n=n.concat([a]));var i=n.map(function(u){return""+u});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}}if(!E)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var Te=0,B=1,nt=2,Q=3,le=4,$=5,me=6,Yt=7,Se=8,sn=9,ce=10,N=11,J=12,H=13,ne=14,re=15,pe=16,xe=17,kt=18,De=19,gt=20,fe=21,ke=22,Ge=23,ot=24,cn=!0,Dt=!1,rt=!1,Rn=!1,Ar=new Set,Lt={},jn={};function qt(e,t){en(e,t),en(e+"Capture",t)}function en(e,t){Lt[e]&&d("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Lt[e]=t;{var n=e.toLowerCase();jn[n]=e,e==="onDoubleClick"&&(jn.ondblclick=e)}for(var r=0;r<t.length;r++)Ar.add(t[r])}var Ct=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Cn=0,He=1,Ve=2,bt=3,at=4,$e=5,fn=6,zt=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Tt=zt+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Tn="data-reactroot",qn=new RegExp("^["+zt+"]["+Tt+"]*$"),dn=Object.prototype.hasOwnProperty,Mr={},tn={};function In(e){return dn.call(tn,e)?!0:dn.call(Mr,e)?!1:qn.test(e)?(tn[e]=!0,!0):(Mr[e]=!0,d("Invalid attribute name: `%s`",e),!1)}function Ur(e,t,n){return t!==null?t.type===Cn:n?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Gn(e,t,n,r){if(n!==null&&n.type===Cn)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(r)return!1;if(n!==null)return!n.acceptsBooleans;var a=e.toLowerCase().slice(0,5);return a!=="data-"&&a!=="aria-"}default:return!1}}function At(e,t,n,r){if(t===null||typeof t=="undefined"||Gn(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case bt:return!t;case at:return t===!1;case $e:return isNaN(t);case fn:return isNaN(t)||t<1}return!1}function xn(e){return it.hasOwnProperty(e)?it[e]:null}function vt(e,t,n,r,a,i,u){this.acceptsBooleans=t===Ve||t===bt||t===at,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=u}var it={},Lr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Lr.forEach(function(e){it[e]=new vt(e,Cn,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];it[t]=new vt(t,He,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){it[e]=new vt(e,Ve,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){it[e]=new vt(e,Ve,!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"].forEach(function(e){it[e]=new vt(e,bt,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){it[e]=new vt(e,bt,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){it[e]=new vt(e,at,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){it[e]=new vt(e,fn,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){it[e]=new vt(e,$e,!1,e.toLowerCase(),null,!1,!1)});var dr=/[\-\:]([a-z])/g,Qn=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(dr,Qn);it[t]=new vt(t,He,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(dr,Qn);it[t]=new vt(t,He,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(dr,Qn);it[t]=new vt(t,He,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){it[e]=new vt(e,He,!1,e.toLowerCase(),null,!1,!1)});var k="xlinkHref";it[k]=new vt("xlinkHref",He,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){it[e]=new vt(e,He,!1,e.toLowerCase(),null,!0,!0)});var W=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,te=!1;function Ee(e){!te&&W.test(e)&&(te=!0,d("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(e)))}function Le(e,t,n,r){if(r.mustUseProperty){var a=r.propertyName;return e[a]}else{r.sanitizeURL&&Ee(""+n);var i=r.attributeName,u=null;if(r.type===at){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:At(t,n,r,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(At(t,n,r,!1))return e.getAttribute(i);if(r.type===bt)return n;u=e.getAttribute(i)}return At(t,n,r,!1)?u===null?n:u:u===""+n?n:u}}function Qe(e,t,n){{if(!In(t))return;if(KR(n))return n;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return r===""+n?n:r}}function Xe(e,t,n,r){var a=xn(t);if(!Ur(t,a,r)){if(At(t,n,a,r)&&(n=null),r||a===null){if(In(t)){var i=t;n===null?e.removeAttribute(i):e.setAttribute(i,""+n)}return}var u=a.mustUseProperty;if(u){var l=a.propertyName;if(n===null){var o=a.type;e[l]=o===bt?!1:""}else e[l]=n;return}var c=a.attributeName,f=a.attributeNamespace;if(n===null)e.removeAttribute(c);else{var y=a.type,p;y===bt||y===at&&n===!0?p="":(p=""+n,a.sanitizeURL&&Ee(p.toString())),f?e.setAttributeNS(f,c,p):e.setAttribute(c,p)}}}var St=60103,Fe=60106,It=60107,zr=60108,Xn=60114,vr=60109,Nr=60110,Hn=60112,Kn=60113,Vn=60120,v=60115,T=60116,L=60121,I=60119,ye=60128,Re=60129,oe=60130,ie=60131;if(typeof Symbol=="function"&&Symbol.for){var ve=Symbol.for;St=ve("react.element"),Fe=ve("react.portal"),It=ve("react.fragment"),zr=ve("react.strict_mode"),Xn=ve("react.profiler"),vr=ve("react.provider"),Nr=ve("react.context"),Hn=ve("react.forward_ref"),Kn=ve("react.suspense"),Vn=ve("react.suspense_list"),v=ve("react.memo"),T=ve("react.lazy"),L=ve("react.block"),ve("react.server.block"),ve("react.fundamental"),I=ve("react.scope"),ye=ve("react.opaque.id"),Re=ve("react.debug_trace_mode"),oe=ve("react.offscreen"),ie=ve("react.legacy_hidden")}var Be=typeof Symbol=="function"&&Symbol.iterator,Ke="@@iterator";function xt(e){if(e===null||typeof e!="object")return null;var t=Be&&e[Be]||e[Ke];return typeof t=="function"?t:null}var _t=0,jr,Gt,Ai,Mi,Ui,Li,zi;function Ni(){}Ni.__reactDisabledLog=!0;function Dn(){{if(_t===0){jr=console.log,Gt=console.info,Ai=console.warn,Mi=console.error,Ui=console.group,Li=console.groupCollapsed,zi=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ni,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_t++}}function _n(){{if(_t--,_t===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:jr}),info:P({},e,{value:Gt}),warn:P({},e,{value:Ai}),error:P({},e,{value:Mi}),group:P({},e,{value:Ui}),groupCollapsed:P({},e,{value:Li}),groupEnd:P({},e,{value:zi})})}_t<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ia=de.ReactCurrentDispatcher,ua;function vn(e,t,n){{if(ua===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);ua=r&&r[1]||""}return`
|
|
53
|
-
`+ua+e}}var la=!1,pr;{var as=typeof WeakMap=="function"?WeakMap:Map;pr=new as}function Ha(e,t){if(!e||la)return"";{var n=pr.get(e);if(n!==void 0)return n}var r;la=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=ia.current,ia.current=null,Dn();try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(x){r=x}Reflect.construct(e,[],u)}else{try{u.call()}catch(x){r=x}e.call(u.prototype)}}else{try{throw Error()}catch(x){r=x}e()}}catch(x){if(x&&r&&typeof x.stack=="string"){for(var l=x.stack.split(`
|
|
54
|
-
`),o=r.stack.split(`
|
|
55
|
-
`),c=l.length-1,f=o.length-1;c>=1&&f>=0&&l[c]!==o[f];)f--;for(;c>=1&&f>=0;c--,f--)if(l[c]!==o[f]){if(c!==1||f!==1)do if(c--,f--,f<0||l[c]!==o[f]){var y=`
|
|
56
|
-
`+l[c].replace(" at new "," at ");return typeof e=="function"&&pr.set(e,y),y}while(c>=1&&f>=0);break}}}finally{la=!1,ia.current=i,_n(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",b=p?vn(p):"";return typeof e=="function"&&pr.set(e,b),b}function Zu(e,t,n){return Ha(e,!0)}function oa(e,t,n){return Ha(e,!1)}function Va(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Fa(e,t,n){if(e==null)return"";if(typeof e=="function")return Ha(e,Va(e));if(typeof e=="string")return vn(e);switch(e){case Kn:return vn("Suspense");case Vn:return vn("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Hn:return oa(e.render);case v:return Fa(e.type,t,n);case L:return oa(e._render);case T:{var r=e,a=r._payload,i=r._init;try{return Fa(i(a),t,n)}catch{}}}return""}function el(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case $:return vn(e.type);case pe:return vn("Lazy");case H:return vn("Suspense");case De:return vn("SuspenseList");case Te:case nt:case re:return oa(e.type);case N:return oa(e.type.render);case ke:return oa(e.type._render);case B:return Zu(e.type);default:return""}}function sa(e){try{var t="",n=e;do t+=el(n),n=n.return;while(n);return t}catch(r){return`
|
|
57
|
-
Error generating stack: `+r.message+`
|
|
58
|
-
`+r.stack}}function is(e,t,n){var r=t.displayName||t.name||"";return e.displayName||(r!==""?n+"("+r+")":n)}function hr(e){return e.displayName||"Context"}function A(e){if(e==null)return null;if(typeof e.tag=="number"&&d("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case It:return"Fragment";case Fe:return"Portal";case Xn:return"Profiler";case zr:return"StrictMode";case Kn:return"Suspense";case Vn:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nr:var t=e;return hr(t)+".Consumer";case vr:var n=e;return hr(n._context)+".Provider";case Hn:return is(e,e.render,"ForwardRef");case v:return A(e.type);case L:return A(e._render);case T:{var r=e,a=r._payload,i=r._init;try{return A(i(a))}catch{return null}}}return null}var ji=de.ReactDebugCurrentFrame,Nt=null,Hr=!1;function Vr(){{if(Nt===null)return null;var e=Nt._debugOwner;if(e!==null&&typeof e!="undefined")return A(e.type)}return null}function us(){return Nt===null?"":sa(Nt)}function Mt(){ji.getCurrentStack=null,Nt=null,Hr=!1}function pt(e){ji.getCurrentStack=us,Nt=e,Hr=!1}function pn(e){Hr=e}function ls(){return Hr}function Qt(e){return""+e}function Fn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}var os={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Hi(e,t){os[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||d("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`."),t.onChange||t.readOnly||t.disabled||t.checked==null||d("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 Vi(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tl(e){return e._valueTracker}function ss(e){e._valueTracker=null}function cs(e){var t="";return e&&(Vi(e)?t=e.checked?"true":"false":t=e.value),t}function fs(e){var t=Vi(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!(e.hasOwnProperty(t)||typeof n=="undefined"||typeof n.get!="function"||typeof n.set!="function")){var a=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var u={getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){ss(e),delete e[t]}};return u}}function s(e){tl(e)||(e._valueTracker=fs(e))}function h(e){if(!e)return!1;var t=tl(e);if(!t)return!0;var n=t.getValue(),r=cs(e);return r!==n?(t.setValue(r),!0):!1}function S(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}var C=!1,U=!1,Z=!1,G=!1;function q(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function _e(e,t){var n=e,r=t.checked,a=P({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:n._wrapperState.initialChecked});return a}function ze(e,t){Hi("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!U&&(d("%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",Vr()||"A component",t.type),U=!0),t.value!==void 0&&t.defaultValue!==void 0&&!C&&(d("%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",Vr()||"A component",t.type),C=!0);var n=e,r=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Fn(t.value!=null?t.value:r),controlled:q(t)}}function Ye(e,t){var n=e,r=t.checked;r!=null&&Xe(n,"checked",r,!1)}function ut(e,t){var n=e;{var r=q(t);!n._wrapperState.controlled&&r&&!G&&(d("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),G=!0),n._wrapperState.controlled&&!r&&!Z&&(d("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Z=!0)}Ye(e,t);var a=Fn(t.value),i=t.type;if(a!=null)i==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=Qt(a)):n.value!==Qt(a)&&(n.value=Qt(a));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?Fr(n,t.type,a):t.hasOwnProperty("defaultValue")&&Fr(n,t.type,Fn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function jt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type,i=a==="submit"||a==="reset";if(i&&(t.value===void 0||t.value===null))return;var u=Qt(r._wrapperState.initialValue);n||u!==r.value&&(r.value=u),r.defaultValue=u}var l=r.name;l!==""&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,l!==""&&(r.name=l)}function Ht(e,t){var n=e;ut(n,t),nn(n,t)}function nn(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var r=e;r.parentNode;)r=r.parentNode;for(var a=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<a.length;i++){var u=a[i];if(!(u===e||u.form!==e.form)){var l=Hl(u);if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");h(u),ut(u,l)}}}}function Fr(e,t,n){(t!=="number"||S(e.ownerDocument)!==e)&&(n==null?e.defaultValue=Qt(e._wrapperState.initialValue):e.defaultValue!==Qt(n)&&(e.defaultValue=Qt(n)))}var Ba=!1,Fi=!1;function ds(e){var t="";return E.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function Bi(e,t){typeof t.children=="object"&&t.children!==null&&E.Children.forEach(t.children,function(n){n!=null&&(typeof n=="string"||typeof n=="number"||typeof n.type=="string"&&(Fi||(Fi=!0,d("Only strings and numbers are supported as <option> children."))))}),t.selected!=null&&!Ba&&(d("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ba=!0)}function vs(e,t){t.value!=null&&e.setAttribute("value",Qt(Fn(t.value)))}function Wa(e,t){var n=P({children:void 0},t),r=ds(t.children);return r&&(n.children=r),n}var Wi;Wi=!1;function wd(){var e=Vr();return e?`
|
|
59
|
-
|
|
60
|
-
Check the render method of \``+e+"`.":""}var kd=["value","defaultValue"];function ug(e){{Hi("select",e);for(var t=0;t<kd.length;t++){var n=kd[t];if(e[n]!=null){var r=Array.isArray(e[n]);e.multiple&&!r?d("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,wd()):!e.multiple&&r&&d("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,wd())}}}}function Pa(e,t,n,r){var a=e.options;if(t){for(var i=n,u={},l=0;l<i.length;l++)u["$"+i[l]]=!0;for(var o=0;o<a.length;o++){var c=u.hasOwnProperty("$"+a[o].value);a[o].selected!==c&&(a[o].selected=c),c&&r&&(a[o].defaultSelected=!0)}}else{for(var f=Qt(Fn(n)),y=null,p=0;p<a.length;p++){if(a[p].value===f){a[p].selected=!0,r&&(a[p].defaultSelected=!0);return}y===null&&!a[p].disabled&&(y=a[p])}y!==null&&(y.selected=!0)}}function ps(e,t){return P({},t,{value:void 0})}function Ad(e,t){var n=e;ug(t),n._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Wi&&(d("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"),Wi=!0)}function lg(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;r!=null?Pa(n,!!t.multiple,r,!1):t.defaultValue!=null&&Pa(n,!!t.multiple,t.defaultValue,!0)}function og(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var a=t.value;a!=null?Pa(n,!!t.multiple,a,!1):r!==!!t.multiple&&(t.defaultValue!=null?Pa(n,!!t.multiple,t.defaultValue,!0):Pa(n,!!t.multiple,t.multiple?[]:"",!1))}function sg(e,t){var n=e,r=t.value;r!=null&&Pa(n,!!t.multiple,r,!1)}var Md=!1;function hs(e,t){var n=e;if(t.dangerouslySetInnerHTML!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var r=P({},t,{value:void 0,defaultValue:void 0,children:Qt(n._wrapperState.initialValue)});return r}function Ud(e,t){var n=e;Hi("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Md&&(d("%s contains a textarea with both value and defaultValue props. 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",Vr()||"A component"),Md=!0);var r=t.value;if(r==null){var a=t.children,i=t.defaultValue;if(a!=null){d("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(i!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Array.isArray(a)){if(!(a.length<=1))throw Error("<textarea> can only have at most one child.");a=a[0]}i=a}}i==null&&(i=""),r=i}n._wrapperState={initialValue:Fn(r)}}function Ld(e,t){var n=e,r=Fn(t.value),a=Fn(t.defaultValue);if(r!=null){var i=Qt(r);i!==n.value&&(n.value=i),t.defaultValue==null&&n.defaultValue!==i&&(n.defaultValue=i)}a!=null&&(n.defaultValue=Qt(a))}function zd(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function cg(e,t){Ld(e,t)}var nl="http://www.w3.org/1999/xhtml",Nd="http://www.w3.org/1998/Math/MathML",ms="http://www.w3.org/2000/svg",jd={html:nl,mathml:Nd,svg:ms};function ys(e){switch(e){case"svg":return ms;case"math":return Nd;default:return nl}}function gs(e,t){return e==null||e===nl?ys(t):e===ms&&t==="foreignObject"?nl:e}var fg=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,a)})}:e},rl,Hd=fg(function(e,t){if(e.namespaceURI===jd.svg&&!("innerHTML"in e)){rl=rl||document.createElement("div"),rl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=rl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild);return}e.innerHTML=t}),On=1,mr=3,hn=8,Br=9,Vd=11,al=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===mr){n.nodeValue=t;return}}e.textContent=t},dg={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Pi={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function vg(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var pg=["Webkit","ms","Moz","O"];Object.keys(Pi).forEach(function(e){pg.forEach(function(t){Pi[vg(t,e)]=Pi[e]})});function bs(e,t,n){var r=t==null||typeof t=="boolean"||t==="";return r?"":!n&&typeof t=="number"&&t!==0&&!(Pi.hasOwnProperty(e)&&Pi[e])?t+"px":(""+t).trim()}var hg=/([A-Z])/g,mg=/^ms-/;function yg(e){return e.replace(hg,"-$1").toLowerCase().replace(mg,"-ms-")}var Fd=function(){};{var gg=/^(?:webkit|moz|o)[A-Z]/,bg=/^-ms-/,Sg=/-(.)/g,Bd=/;\s*$/,$a={},Ss={},Wd=!1,Pd=!1,Eg=function(e){return e.replace(Sg,function(t,n){return n.toUpperCase()})},Rg=function(e){$a.hasOwnProperty(e)&&$a[e]||($a[e]=!0,d("Unsupported style property %s. Did you mean %s?",e,Eg(e.replace(bg,"ms-"))))},Cg=function(e){$a.hasOwnProperty(e)&&$a[e]||($a[e]=!0,d("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Tg=function(e,t){Ss.hasOwnProperty(t)&&Ss[t]||(Ss[t]=!0,d(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Bd,"")))},xg=function(e,t){Wd||(Wd=!0,d("`NaN` is an invalid value for the `%s` css style property.",e))},Dg=function(e,t){Pd||(Pd=!0,d("`Infinity` is an invalid value for the `%s` css style property.",e))};Fd=function(e,t){e.indexOf("-")>-1?Rg(e):gg.test(e)?Cg(e):Bd.test(t)&&Tg(e,t),typeof t=="number"&&(isNaN(t)?xg(e,t):isFinite(t)||Dg(e,t))}}var _g=Fd;function Og(e){{var t="",n="";for(var r in e)if(!!e.hasOwnProperty(r)){var a=e[r];if(a!=null){var i=r.indexOf("--")===0;t+=n+(i?r:yg(r))+":",t+=bs(r,a,i),n=";"}}return t||null}}function $d(e,t){var n=e.style;for(var r in t)if(!!t.hasOwnProperty(r)){var a=r.indexOf("--")===0;a||_g(r,t[r]);var i=bs(r,t[r],a);r==="float"&&(r="cssFloat"),a?n.setProperty(r,i):n[r]=i}}function wg(e){return e==null||typeof e=="boolean"||e===""}function Yd(e){var t={};for(var n in e)for(var r=dg[n]||[n],a=0;a<r.length;a++)t[r[a]]=n;return t}function kg(e,t){{if(!t)return;var n=Yd(e),r=Yd(t),a={};for(var i in n){var u=n[i],l=r[i];if(l&&u!==l){var o=u+","+l;if(a[o])continue;a[o]=!0,d("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",wg(e[u])?"Removing":"Updating",u,l)}}}}var Ag={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Mg=P({menuitem:!0},Ag),Ug="__html";function Es(e,t){if(!!t){if(Mg[e]&&!(t.children==null&&t.dangerouslySetInnerHTML==null))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(!(typeof t.dangerouslySetInnerHTML=="object"&&Ug in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&d("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.style==null||typeof t.style=="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.")}}function ca(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var il={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qd={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ya={},Lg=new RegExp("^(aria)-["+Tt+"]*$"),zg=new RegExp("^(aria)[A-Z]["+Tt+"]*$"),Ng=Object.prototype.hasOwnProperty;function jg(e,t){{if(Ng.call(Ya,t)&&Ya[t])return!0;if(zg.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=qd.hasOwnProperty(n)?n:null;if(r==null)return d("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ya[t]=!0,!0;if(t!==r)return d("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),Ya[t]=!0,!0}if(Lg.test(t)){var a=t.toLowerCase(),i=qd.hasOwnProperty(a)?a:null;if(i==null)return Ya[t]=!0,!1;if(t!==i)return d("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),Ya[t]=!0,!0}}return!0}function Hg(e,t){{var n=[];for(var r in t){var a=jg(e,r);a||n.push(r)}var i=n.map(function(u){return"`"+u+"`"}).join(", ");n.length===1?d("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e):n.length>1&&d("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",i,e)}}function Vg(e,t){ca(e,t)||Hg(e,t)}var Id=!1;function Fg(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Id&&(Id=!0,e==="select"&&t.multiple?d("`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.",e):d("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Gd=function(){};{var Xt={},Bg=Object.prototype.hasOwnProperty,Qd=/^on./,Wg=/^on[^A-Z]/,Pg=new RegExp("^(aria)-["+Tt+"]*$"),$g=new RegExp("^(aria)[A-Z]["+Tt+"]*$");Gd=function(e,t,n,r){if(Bg.call(Xt,t)&&Xt[t])return!0;var a=t.toLowerCase();if(a==="onfocusin"||a==="onfocusout")return d("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."),Xt[t]=!0,!0;if(r!=null){var i=r.registrationNameDependencies,u=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var l=u.hasOwnProperty(a)?u[a]:null;if(l!=null)return d("Invalid event handler property `%s`. Did you mean `%s`?",t,l),Xt[t]=!0,!0;if(Qd.test(t))return d("Unknown event handler property `%s`. It will be ignored.",t),Xt[t]=!0,!0}else if(Qd.test(t))return Wg.test(t)&&d("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Xt[t]=!0,!0;if(Pg.test(t)||$g.test(t))return!0;if(a==="innerhtml")return d("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Xt[t]=!0,!0;if(a==="aria")return d("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Xt[t]=!0,!0;if(a==="is"&&n!==null&&n!==void 0&&typeof n!="string")return d("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Xt[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return d("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Xt[t]=!0,!0;var o=xn(t),c=o!==null&&o.type===Cn;if(il.hasOwnProperty(a)){var f=il[a];if(f!==t)return d("Invalid DOM property `%s`. Did you mean `%s`?",t,f),Xt[t]=!0,!0}else if(!c&&t!==a)return d("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.",t,a),Xt[t]=!0,!0;return typeof n=="boolean"&&Gn(t,n,o,!1)?(n?d('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,t,t,n,t):d('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.',n,t,t,n,t,t,t),Xt[t]=!0,!0):c?!0:Gn(t,n,o,!1)?(Xt[t]=!0,!1):((n==="false"||n==="true")&&o!==null&&o.type===bt&&(d("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Xt[t]=!0),!0)}}var Yg=function(e,t,n){{var r=[];for(var a in t){var i=Gd(e,a,t[a],n);i||r.push(a)}var u=r.map(function(l){return"`"+l+"`"}).join(", ");r.length===1?d("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 ",u,e):r.length>1&&d("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 ",u,e)}};function qg(e,t,n){ca(e,t)||Yg(e,t,n)}var Xd=1,ul=1<<1,$i=1<<2,Kd=1<<4,Ig=Xd|ul|$i;function Rs(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===mr?t.parentNode:t}var Cs=null,qa=null,Ia=null;function Jd(e){var t=Ir(e);if(!!t){if(typeof Cs!="function")throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Hl(n);Cs(t.stateNode,t.type,r)}}}function Gg(e){Cs=e}function Zd(e){qa?Ia?Ia.push(e):Ia=[e]:qa=e}function Qg(){return qa!==null||Ia!==null}function ev(){if(!!qa){var e=qa,t=Ia;if(qa=null,Ia=null,Jd(e),t)for(var n=0;n<t.length;n++)Jd(t[n])}}var Ts=function(e,t){return e(t)},tv=function(e,t,n,r,a){return e(t,n,r,a)},xs=function(){},nv=Ts,Wr=!1,Ds=!1;function _s(){var e=Qg();e&&(xs(),ev())}function Xg(e,t){if(Wr)return e(t);Wr=!0;try{return Ts(e,t)}finally{Wr=!1,_s()}}function Kg(e,t,n){if(Ds)return e(t,n);Ds=!0;try{return nv(e,t,n)}finally{Ds=!1,_s()}}function Jg(e,t,n,r,a){var i=Wr;Wr=!0;try{return tv(e,t,n,r,a)}finally{Wr=i,Wr||_s()}}function Zg(e){Wr||xs()}function eb(e,t,n,r){Ts=e,tv=t,xs=n,nv=r}function tb(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function nb(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(n.disabled&&tb(t));default:return!1}}function Yi(e,t){var n=e.stateNode;if(n===null)return null;var r=Hl(n);if(r===null)return null;var a=r[t];if(nb(t,e.type,r))return null;if(!(!a||typeof a=="function"))throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}var Os=!1;if(Ct)try{var qi={};Object.defineProperty(qi,"passive",{get:function(){Os=!0}}),window.addEventListener("test",qi,qi),window.removeEventListener("test",qi,qi)}catch{Os=!1}function rv(e,t,n,r,a,i,u,l,o){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(f){this.onError(f)}}var av=rv;if(typeof window!="undefined"&&typeof window.dispatchEvent=="function"&&typeof document!="undefined"&&typeof document.createEvent=="function"){var ws=document.createElement("react");av=function(t,n,r,a,i,u,l,o,c){if(typeof document=="undefined")throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var f=document.createEvent("Event"),y=!1,p=!0,b=window.event,x=Object.getOwnPropertyDescriptor(window,"event");function w(){ws.removeEventListener(R,ae,!1),typeof window.event!="undefined"&&window.hasOwnProperty("event")&&(window.event=b)}var Y=Array.prototype.slice.call(arguments,3);function ae(){y=!0,w(),n.apply(r,Y),p=!1}var K,ge=!1,Ue=!1;function g(m){if(K=m.error,ge=!0,K===null&&m.colno===0&&m.lineno===0&&(Ue=!0),m.defaultPrevented&&K!=null&&typeof K=="object")try{K._suppressLogging=!0}catch{}}var R="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",g),ws.addEventListener(R,ae,!1),f.initEvent(R,!1,!1),ws.dispatchEvent(f),x&&Object.defineProperty(window,"event",x),y&&p&&(ge?Ue&&(K=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):K=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(K)),window.removeEventListener("error",g),!y)return w(),rv.apply(this,arguments)}}var rb=av,Ga=!1,ll=null,ol=!1,ks=null,ab={onError:function(e){Ga=!0,ll=e}};function Jn(e,t,n,r,a,i,u,l,o){Ga=!1,ll=null,rb.apply(ab,arguments)}function ib(e,t,n,r,a,i,u,l,o){if(Jn.apply(this,arguments),Ga){var c=Zn();ol||(ol=!0,ks=c)}}function ub(){if(ol){var e=ks;throw ol=!1,ks=null,e}}function yr(){return Ga}function Zn(){if(Ga){var e=ll;return Ga=!1,ll=null,e}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Qa(e){return e._reactInternals}function lb(e){return e._reactInternals!==void 0}function ob(e,t){e._reactInternals=t}var lt=0,Pr=1,ht=2,Ne=4,sb=6,gr=8,sl=16,iv=32,qe=64,cl=128,fa=256,Ii=512,Gi=8192,br=1024,cb=1028,fb=932,db=2047,Qi=2048,Sr=4096,As=16384,vb=de.ReactCurrentOwner;function da(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do t=r,(t.flags&(ht|br))!==lt&&(n=t.return),r=t.return;while(r)}return t.tag===Q?n:null}function uv(e){if(e.tag===H){var t=e.memoizedState;if(t===null){var n=e.alternate;n!==null&&(t=n.memoizedState)}if(t!==null)return t.dehydrated}return null}function lv(e){return e.tag===Q?e.stateNode.containerInfo:null}function pb(e){return da(e)===e}function hb(e){{var t=vb.current;if(t!==null&&t.tag===B){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||d("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",A(n.type)||"A component"),r._warnedAboutRefsInRender=!0}}var a=Qa(e);return a?da(a)===a:!1}function ov(e){if(da(e)!==e)throw Error("Unable to find node on an unmounted component.")}function sv(e){var t=e.alternate;if(!t){var n=da(e);if(n===null)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,a=t;;){var i=r.return;if(i===null)break;var u=i.alternate;if(u===null){var l=i.return;if(l!==null){r=a=l;continue}break}if(i.child===u.child){for(var o=i.child;o;){if(o===r)return ov(i),e;if(o===a)return ov(i),t;o=o.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==a.return)r=i,a=u;else{for(var c=!1,f=i.child;f;){if(f===r){c=!0,r=i,a=u;break}if(f===a){c=!0,a=i,r=u;break}f=f.sibling}if(!c){for(f=u.child;f;){if(f===r){c=!0,r=u,a=i;break}if(f===a){c=!0,a=u,r=i;break}f=f.sibling}if(!c)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==Q)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function cv(e){var t=sv(e);if(!t)return null;for(var n=t;;){if(n.tag===$||n.tag===me)return n;if(n.child){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function mb(e){var t=sv(e);if(!t)return null;for(var n=t;;){if(n.tag===$||n.tag===me||Dt)return n;if(n.child&&n.tag!==le){n.child.return=n,n=n.child;continue}if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function fv(e,t){for(var n=t,r=e.alternate;n!==null;){if(n===e||n===r)return!0;n=n.return}return!1}var dv;function yb(e){dv=e}var Ms;function gb(e){Ms=e}var vv;function bb(e){vv=e}var pv;function Sb(e){pv=e}var Us=!1,Er=[],$r=null,Yr=null,qr=null,Xi=new Map,Ki=new Map,Ji=[];function Eb(){return Er.length>0}var Rb=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function hv(e){return Rb.indexOf(e)>-1}function mv(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:n|Kd,nativeEvent:a,targetContainers:[r]}}function yv(e,t,n,r,a){var i=mv(e,t,n,r,a);Er.push(i)}function gv(e,t){switch(e){case"focusin":case"focusout":$r=null;break;case"dragenter":case"dragleave":Yr=null;break;case"mouseover":case"mouseout":qr=null;break;case"pointerover":case"pointerout":{var n=t.pointerId;Xi.delete(n);break}case"gotpointercapture":case"lostpointercapture":{var r=t.pointerId;Ki.delete(r);break}}}function Zi(e,t,n,r,a,i){if(e===null||e.nativeEvent!==i){var u=mv(t,n,r,a,i);if(t!==null){var l=Ir(t);l!==null&&Ms(l)}return u}e.eventSystemFlags|=r;var o=e.targetContainers;return a!==null&&o.indexOf(a)===-1&&o.push(a),e}function Cb(e,t,n,r,a){switch(t){case"focusin":{var i=a;return $r=Zi($r,e,t,n,r,i),!0}case"dragenter":{var u=a;return Yr=Zi(Yr,e,t,n,r,u),!0}case"mouseover":{var l=a;return qr=Zi(qr,e,t,n,r,l),!0}case"pointerover":{var o=a,c=o.pointerId;return Xi.set(c,Zi(Xi.get(c)||null,e,t,n,r,o)),!0}case"gotpointercapture":{var f=a,y=f.pointerId;return Ki.set(y,Zi(Ki.get(y)||null,e,t,n,r,f)),!0}}return!1}function Tb(e){var t=ba(e.target);if(t!==null){var n=da(t);if(n!==null){var r=n.tag;if(r===H){var a=uv(n);if(a!==null){e.blockedOn=a,pv(e.lanePriority,function(){ee.unstable_runWithPriority(e.priority,function(){vv(n)})});return}}else if(r===Q){var i=n.stateNode;if(i.hydrate){e.blockedOn=lv(n);return}}}}e.blockedOn=null}function fl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=Is(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(r!==null){var a=Ir(r);return a!==null&&Ms(a),e.blockedOn=r,!1}t.shift()}return!0}function bv(e,t,n){fl(e)&&n.delete(t)}function xb(){for(Us=!1;Er.length>0;){var e=Er[0];if(e.blockedOn!==null){var t=Ir(e.blockedOn);t!==null&&dv(t);break}for(var n=e.targetContainers;n.length>0;){var r=n[0],a=Is(e.domEventName,e.eventSystemFlags,r,e.nativeEvent);if(a!==null){e.blockedOn=a;break}n.shift()}e.blockedOn===null&&Er.shift()}$r!==null&&fl($r)&&($r=null),Yr!==null&&fl(Yr)&&(Yr=null),qr!==null&&fl(qr)&&(qr=null),Xi.forEach(bv),Ki.forEach(bv)}function eu(e,t){e.blockedOn===t&&(e.blockedOn=null,Us||(Us=!0,ee.unstable_scheduleCallback(ee.unstable_NormalPriority,xb)))}function Sv(e){if(Er.length>0){eu(Er[0],e);for(var t=1;t<Er.length;t++){var n=Er[t];n.blockedOn===e&&(n.blockedOn=null)}}$r!==null&&eu($r,e),Yr!==null&&eu(Yr,e),qr!==null&&eu(qr,e);var r=function(l){return eu(l,e)};Xi.forEach(r),Ki.forEach(r);for(var a=0;a<Ji.length;a++){var i=Ji[a];i.blockedOn===e&&(i.blockedOn=null)}for(;Ji.length>0;){var u=Ji[0];if(u.blockedOn!==null)break;Tb(u),u.blockedOn===null&&Ji.shift()}}var Ls=0,Ev=1,zs=2;function dl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xa={animationend:dl("Animation","AnimationEnd"),animationiteration:dl("Animation","AnimationIteration"),animationstart:dl("Animation","AnimationStart"),transitionend:dl("Transition","TransitionEnd")},Ns={},Rv={};Ct&&(Rv=document.createElement("div").style,"AnimationEvent"in window||(delete Xa.animationend.animation,delete Xa.animationiteration.animation,delete Xa.animationstart.animation),"TransitionEvent"in window||delete Xa.transitionend.transition);function vl(e){if(Ns[e])return Ns[e];if(!Xa[e])return e;var t=Xa[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Rv)return Ns[e]=t[n];return e}var Cv=vl("animationend"),Tv=vl("animationiteration"),xv=vl("animationstart"),Dv=vl("transitionend"),_v=new Map,js=new Map,Db=["cancel","cancel","click","click","close","close","contextmenu","contextMenu","copy","copy","cut","cut","auxclick","auxClick","dblclick","doubleClick","dragend","dragEnd","dragstart","dragStart","drop","drop","focusin","focus","focusout","blur","input","input","invalid","invalid","keydown","keyDown","keypress","keyPress","keyup","keyUp","mousedown","mouseDown","mouseup","mouseUp","paste","paste","pause","pause","play","play","pointercancel","pointerCancel","pointerdown","pointerDown","pointerup","pointerUp","ratechange","rateChange","reset","reset","seeked","seeked","submit","submit","touchcancel","touchCancel","touchend","touchEnd","touchstart","touchStart","volumechange","volumeChange"],_b=["change","selectionchange","textInput","compositionstart","compositionend","compositionupdate"],Ob=["drag","drag","dragenter","dragEnter","dragexit","dragExit","dragleave","dragLeave","dragover","dragOver","mousemove","mouseMove","mouseout","mouseOut","mouseover","mouseOver","pointermove","pointerMove","pointerout","pointerOut","pointerover","pointerOver","scroll","scroll","toggle","toggle","touchmove","touchMove","wheel","wheel"],wb=["abort","abort",Cv,"animationEnd",Tv,"animationIteration",xv,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Dv,"transitionEnd","waiting","waiting"];function Hs(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],i=a[0].toUpperCase()+a.slice(1),u="on"+i;js.set(r,t),_v.set(r,u),qt(u,[r])}}function kb(e,t){for(var n=0;n<e.length;n++)js.set(e[n],t)}function Ab(e){var t=js.get(e);return t===void 0?zs:t}function Mb(){Hs(Db,Ls),Hs(Ob,Ev),Hs(wb,zs),kb(_b,Ls)}var Ub=ee.unstable_now;if(!(se.__interactionsRef!=null&&se.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at https://reactjs.org/link/profiling");var Ov=99,wv=98,kv=97,Lb=96,Av=95,zb=90;Ub();var Ka=15,pl=14,Mv=13,hl=12,Uv=11,Ja=10,Lv=9,va=8,zv=7,ml=6,Vs=5,Nv=4,jv=3,yl=2,Hv=1,pa=0,Nb=31,D=0,rn=0,Ae=1,tu=2,Fs=4,gl=24,Vv=32,Fv=192,Bv=256,Bs=3584,Wv=4096,Za=4186112,bl=62914560,ei=33554432,Ws=67108864,Pv=134217727,$v=134217728,Ps=805306368,er=1073741824,st=-1;function jb(e){}var We=va;function ti(e){if((Ae&e)!==D)return We=Ka,Ae;if((tu&e)!==D)return We=pl,tu;if((Fs&e)!==D)return We=Mv,Fs;var t=gl&e;if(t!==D)return We=hl,t;if((e&Vv)!==D)return We=Uv,Vv;var n=Fv&e;if(n!==D)return We=Ja,n;if((e&Bv)!==D)return We=Lv,Bv;var r=Bs&e;if(r!==D)return We=va,r;if((e&Wv)!==D)return We=zv,Wv;var a=Za&e;if(a!==D)return We=ml,a;var i=bl&e;if(i!==D)return We=Vs,i;if(e&Ws)return We=Nv,Ws;if((e&$v)!==D)return We=jv,$v;var u=Ps&e;return u!==D?(We=yl,u):(er&e)!==D?(We=Hv,er):(d("Should have found matching lanes. This is a bug in React."),We=va,e)}function Hb(e){switch(e){case Ov:return Ka;case wv:return Ja;case kv:case Lb:return va;case Av:return yl;default:return pa}}function Vb(e){switch(e){case Ka:case pl:return Ov;case Mv:case hl:case Uv:case Ja:return wv;case Lv:case va:case zv:case ml:case Nv:case Vs:return kv;case jv:case yl:case Hv:return Av;case pa:return zb;default:throw Error("Invalid update priority: "+e+". This is a bug in React.")}}function nu(e,t){var n=e.pendingLanes;if(n===D)return We=pa,D;var r=D,a=pa,i=e.expiredLanes,u=e.suspendedLanes,l=e.pingedLanes;if(i!==D)r=i,a=We=Ka;else{var o=n&Pv;if(o!==D){var c=o&~u;if(c!==D)r=ti(c),a=We;else{var f=o&l;f!==D&&(r=ti(f),a=We)}}else{var y=n&~u;y!==D?(r=ti(y),a=We):l!==D&&(r=ti(l),a=We)}}if(r===D)return D;if(r=n&Qb(r),t!==D&&t!==r&&(t&u)===D){ti(t);var p=We;if(a<=p)return t;We=a}var b=e.entangledLanes;if(b!==D)for(var x=e.entanglements,w=r&b;w>0;){var Y=ha(w),ae=1<<Y;r|=x[Y],w&=~ae}return r}function Fb(e,t){for(var n=e.eventTimes,r=st;t>0;){var a=ha(t),i=1<<a,u=n[a];u>r&&(r=u),t&=~i}return r}function Bb(e,t){ti(e);var n=We;return n>=Ja?t+250:n>=ml?t+5e3:st}function Wb(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,u=n;u>0;){var l=ha(u),o=1<<l,c=i[l];c===st?((o&r)===D||(o&a)!==D)&&(i[l]=Bb(o,t)):c<=t&&(e.expiredLanes|=o),u&=~o}}function Yv(e){var t=e.pendingLanes&~er;return t!==D?t:t&er?er:D}function Pb(){return We}function qv(e){return(e&Pv)!==D}function Iv(e){return(e&bl)===e}function $b(e){return(e&Za)===e}function Sl(e,t){switch(e){case pa:break;case Ka:return Ae;case pl:return tu;case hl:{var n=Kt(gl&~t);return n===rn?Sl(Ja,t):n}case Ja:{var r=Kt(Fv&~t);return r===rn?Sl(va,t):r}case va:{var a=Kt(Bs&~t);return a===rn&&(a=Kt(Za&~t),a===rn&&(a=Kt(Bs))),a}case ml:case Vs:break;case yl:var i=Kt(Ps&~t);return i===rn&&(i=Kt(Ps)),i}throw Error("Invalid update priority: "+e+". This is a bug in React.")}function Yb(e,t){var n=Kt(Za&~t);return n===rn&&(n=Kt(Za&~e),n===rn&&(n=Kt(Za))),n}function qb(e){var t=Kt(bl&~e);return t===rn&&(t=Kt(bl)),t}function Ib(e){return e&-e}function Gb(e){var t=31-Xv(e);return t<0?D:1<<t}function Qb(e){return(Gb(e)<<1)-1}function Kt(e){return Ib(e)}function ha(e){return 31-Xv(e)}function Xb(e){return ha(e)}function Vt(e,t){return(e&t)!==D}function ma(e,t){return(e&t)===t}function Oe(e,t){return e|t}function El(e,t){return e&~t}function Kb(e){return e}function Jb(e,t){return e!==rn&&e<t?e:t}function $s(e){for(var t=[],n=0;n<Nb;n++)t.push(e);return t}function Rl(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r;var a=e.eventTimes,i=Xb(t);a[i]=n}function Zb(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var a=ha(r),i=1<<a;n[a]=st,r&=~i}}function Gv(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function eS(e){e.expiredLanes|=gl&e.pendingLanes}function tS(e){return(e&gl)!==D}function Qv(e,t){e.mutableReadLanes|=t&e.pendingLanes}function nS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var r=e.entanglements,a=e.eventTimes,i=e.expirationTimes,u=n;u>0;){var l=ha(u),o=1<<l;r[l]=D,a[l]=st,i[l]=st,u&=~o}}function rS(e,t){e.entangledLanes|=t;for(var n=e.entanglements,r=t;r>0;){var a=ha(r),i=1<<a;n[a]|=t,r&=~i}}var Xv=Math.clz32?Math.clz32:uS,aS=Math.log,iS=Math.LN2;function uS(e){return e===0?32:31-(aS(e)/iS|0)|0}var lS=ee.unstable_UserBlockingPriority,oS=ee.unstable_runWithPriority,Ys=!0;function Kv(e){Ys=!!e}function sS(){return Ys}function cS(e,t,n){var r=Ab(t),a;switch(r){case Ls:a=fS;break;case Ev:a=dS;break;case zs:default:a=qs;break}return a.bind(null,t,n,e)}function fS(e,t,n,r){Zg(r.timeStamp),Jg(qs,e,t,n,r)}function dS(e,t,n,r){oS(lS,qs.bind(null,e,t,n,r))}function qs(e,t,n,r){if(!!Ys){var a=!0;if(a=(t&$i)==0,a&&Eb()&&hv(e)){yv(null,e,t,n,r);return}var i=Is(e,t,n,r);if(i===null){a&&gv(e,r);return}if(a){if(hv(e)){yv(i,e,t,n,r);return}if(Cb(i,e,t,n,r))return;gv(e,r)}Ap(e,t,r,null,n)}}function Is(e,t,n,r){var a=Rs(r),i=ba(a);if(i!==null){var u=da(i);if(u===null)i=null;else{var l=u.tag;if(l===H){var o=uv(u);if(o!==null)return o;i=null}else if(l===Q){var c=u.stateNode;if(c.hydrate)return lv(u);i=null}else u!==i&&(i=null)}}return Ap(e,t,r,i,n),null}function vS(e,t,n){return e.addEventListener(t,n,!1),n}function pS(e,t,n){return e.addEventListener(t,n,!0),n}function hS(e,t,n,r){return e.addEventListener(t,n,{capture:!0,passive:r}),n}function mS(e,t,n,r){return e.addEventListener(t,n,{passive:r}),n}var ru=null,Gs=null,au=null;function yS(e){return ru=e,Gs=Zv(),!0}function gS(){ru=null,Gs=null,au=null}function Jv(){if(au)return au;var e,t=Gs,n=t.length,r,a=Zv(),i=a.length;for(e=0;e<n&&t[e]===a[e];e++);var u=n-e;for(r=1;r<=u&&t[n-r]===a[i-r];r++);var l=r>1?1-r:void 0;return au=a.slice(e,l),au}function Zv(){return"value"in ru?ru.value:ru.textContent}function Cl(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&n===13&&(t=13)):t=n,t===10&&(t=13),t>=32||t===13?t:0}function Tl(){return!0}function ep(){return!1}function mn(e){function t(n,r,a,i,u){this._reactName=n,this._targetInst=a,this.type=r,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var l in e)if(!!e.hasOwnProperty(l)){var o=e[l];o?this[l]=o(i):this[l]=i[l]}var c=i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1;return c?this.isDefaultPrevented=Tl:this.isDefaultPrevented=ep,this.isPropagationStopped=ep,this}return P(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;!n||(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Tl)},stopPropagation:function(){var n=this.nativeEvent;!n||(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Tl)},persist:function(){},isPersistent:Tl}),t}var ni={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qs=mn(ni),iu=P({},ni,{view:0,detail:0}),bS=mn(iu),Xs,Ks,uu;function SS(e){e!==uu&&(uu&&e.type==="mousemove"?(Xs=e.screenX-uu.screenX,Ks=e.screenY-uu.screenY):(Xs=0,Ks=0),uu=e)}var xl=P({},iu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(SS(e),Xs)},movementY:function(e){return"movementY"in e?e.movementY:Ks}}),tp=mn(xl),ES=P({},xl,{dataTransfer:0}),RS=mn(ES),CS=P({},iu,{relatedTarget:0}),Js=mn(CS),TS=P({},ni,{animationName:0,elapsedTime:0,pseudoElement:0}),xS=mn(TS),DS=P({},ni,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_S=mn(DS),OS=P({},ni,{data:0}),np=mn(OS),wS=np,kS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},AS={"8":"Backspace","9":"Tab","12":"Clear","13":"Enter","16":"Shift","17":"Control","18":"Alt","19":"Pause","20":"CapsLock","27":"Escape","32":" ","33":"PageUp","34":"PageDown","35":"End","36":"Home","37":"ArrowLeft","38":"ArrowUp","39":"ArrowRight","40":"ArrowDown","45":"Insert","46":"Delete","112":"F1","113":"F2","114":"F3","115":"F4","116":"F5","117":"F6","118":"F7","119":"F8","120":"F9","121":"F10","122":"F11","123":"F12","144":"NumLock","145":"ScrollLock","224":"Meta"};function MS(e){if(e.key){var t=kS[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var n=Cl(e);return n===13?"Enter":String.fromCharCode(n)}return e.type==="keydown"||e.type==="keyup"?AS[e.keyCode]||"Unidentified":""}var US={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function LS(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=US[e];return r?!!n[r]:!1}function Zs(e){return LS}var zS=P({},iu,{key:MS,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zs,charCode:function(e){return e.type==="keypress"?Cl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),NS=mn(zS),jS=P({},xl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),rp=mn(jS),HS=P({},iu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zs}),VS=mn(HS),FS=P({},ni,{propertyName:0,elapsedTime:0,pseudoElement:0}),BS=mn(FS),WS=P({},xl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),PS=mn(WS),$S=[9,13,27,32],ap=229,ec=Ct&&"CompositionEvent"in window,lu=null;Ct&&"documentMode"in document&&(lu=document.documentMode);var YS=Ct&&"TextEvent"in window&&!lu,ip=Ct&&(!ec||lu&&lu>8&&lu<=11),up=32,lp=String.fromCharCode(up);function qS(){qt("onBeforeInput",["compositionend","keypress","textInput","paste"]),qt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),qt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),qt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var op=!1;function IS(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function GS(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function QS(e,t){return e==="keydown"&&t.keyCode===ap}function sp(e,t){switch(e){case"keyup":return $S.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==ap;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cp(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function fp(e){return e.locale==="ko"}var ri=!1;function XS(e,t,n,r,a){var i,u;if(ec?i=GS(t):ri?sp(t,r)&&(i="onCompositionEnd"):QS(t,r)&&(i="onCompositionStart"),!i)return null;ip&&!fp(r)&&(!ri&&i==="onCompositionStart"?ri=yS(a):i==="onCompositionEnd"&&ri&&(u=Jv()));var l=_l(n,i);if(l.length>0){var o=new np(i,t,null,r,a);if(e.push({event:o,listeners:l}),u)o.data=u;else{var c=cp(r);c!==null&&(o.data=c)}}}function KS(e,t){switch(e){case"compositionend":return cp(t);case"keypress":var n=t.which;return n!==up?null:(op=!0,lp);case"textInput":var r=t.data;return r===lp&&op?null:r;default:return null}}function JS(e,t){if(ri){if(e==="compositionend"||!ec&&sp(e,t)){var n=Jv();return gS(),ri=!1,n}return null}switch(e){case"paste":return null;case"keypress":if(!IS(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ip&&!fp(t)?null:t.data;default:return null}}function ZS(e,t,n,r,a){var i;if(YS?i=KS(t,r):i=JS(t,r),!i)return null;var u=_l(n,"onBeforeInput");if(u.length>0){var l=new wS("onBeforeInput","beforeinput",null,r,a);e.push({event:l,listeners:u}),l.data=i}}function eE(e,t,n,r,a,i,u){XS(e,t,n,r,a),ZS(e,t,n,r,a)}var tE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tE[e.type]:t==="textarea"}/**
|
|
61
|
-
* Checks if an event is supported in the current execution environment.
|
|
62
|
-
*
|
|
63
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
64
|
-
* `reset`, `load`, `error`, and `select`.
|
|
65
|
-
*
|
|
66
|
-
* Borrows from Modernizr.
|
|
67
|
-
*
|
|
68
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
69
|
-
* @return {boolean} True if the event is supported.
|
|
70
|
-
* @internal
|
|
71
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
72
|
-
*/function nE(e){if(!Ct)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n=typeof r[t]=="function"}return n}function rE(){qt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function vp(e,t,n,r){Zd(r);var a=_l(t,"onChange");if(a.length>0){var i=new Qs("onChange","change",null,n,r);e.push({event:i,listeners:a})}}var ou=null,su=null;function aE(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function iE(e){var t=[];vp(t,su,e,Rs(e)),Xg(uE,t)}function uE(e){xp(e,0)}function Dl(e){var t=oi(e);if(h(t))return e}function lE(e,t){if(e==="change")return t}var pp=!1;Ct&&(pp=nE("input")&&(!document.documentMode||document.documentMode>9));function oE(e,t){ou=e,su=t,ou.attachEvent("onpropertychange",mp)}function hp(){!ou||(ou.detachEvent("onpropertychange",mp),ou=null,su=null)}function mp(e){e.propertyName==="value"&&Dl(su)&&iE(e)}function sE(e,t,n){e==="focusin"?(hp(),oE(t,n)):e==="focusout"&&hp()}function cE(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Dl(su)}function fE(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function dE(e,t){if(e==="click")return Dl(t)}function vE(e,t){if(e==="input"||e==="change")return Dl(t)}function pE(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Fr(e,"number",e.value)}function hE(e,t,n,r,a,i,u){var l=n?oi(n):window,o,c;if(aE(l)?o=lE:dp(l)?pp?o=vE:(o=cE,c=sE):fE(l)&&(o=dE),o){var f=o(t,n);if(f){vp(e,f,r,a);return}}c&&c(t,l,n),t==="focusout"&&pE(l)}function mE(){en("onMouseEnter",["mouseout","mouseover"]),en("onMouseLeave",["mouseout","mouseover"]),en("onPointerEnter",["pointerout","pointerover"]),en("onPointerLeave",["pointerout","pointerover"])}function yE(e,t,n,r,a,i,u){var l=t==="mouseover"||t==="pointerover",o=t==="mouseout"||t==="pointerout";if(l&&(i&Kd)==0){var c=r.relatedTarget||r.fromElement;if(c&&(ba(c)||jl(c)))return}if(!(!o&&!l)){var f;if(a.window===a)f=a;else{var y=a.ownerDocument;y?f=y.defaultView||y.parentWindow:f=window}var p,b;if(o){var x=r.relatedTarget||r.toElement;if(p=n,b=x?ba(x):null,b!==null){var w=da(b);(b!==w||b.tag!==$&&b.tag!==me)&&(b=null)}}else p=null,b=n;if(p!==b){var Y=tp,ae="onMouseLeave",K="onMouseEnter",ge="mouse";(t==="pointerout"||t==="pointerover")&&(Y=rp,ae="onPointerLeave",K="onPointerEnter",ge="pointer");var Ue=p==null?f:oi(p),g=b==null?f:oi(b),R=new Y(ae,ge+"leave",p,r,a);R.target=Ue,R.relatedTarget=g;var m=null,O=ba(a);if(O===n){var M=new Y(K,ge+"enter",b,r,a);M.target=g,M.relatedTarget=Ue,m=M}BE(e,R,m,p,b)}}}function gE(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var wn=typeof Object.is=="function"?Object.is:gE,bE=Object.prototype.hasOwnProperty;function cu(e,t){if(wn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a<n.length;a++)if(!bE.call(t,n[a])||!wn(e[n[a]],t[n[a]]))return!1;return!0}function yp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function SE(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function gp(e,t){for(var n=yp(e),r=0,a=0;n;){if(n.nodeType===mr){if(a=r+n.textContent.length,r<=t&&a>=t)return{node:n,offset:t-r};r=a}n=yp(SE(n))}}function EE(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||r.rangeCount===0)return null;var a=r.anchorNode,i=r.anchorOffset,u=r.focusNode,l=r.focusOffset;try{a.nodeType,u.nodeType}catch{return null}return RE(e,a,i,u,l)}function RE(e,t,n,r,a){var i=0,u=-1,l=-1,o=0,c=0,f=e,y=null;e:for(;;){for(var p=null;f===t&&(n===0||f.nodeType===mr)&&(u=i+n),f===r&&(a===0||f.nodeType===mr)&&(l=i+a),f.nodeType===mr&&(i+=f.nodeValue.length),(p=f.firstChild)!==null;)y=f,f=p;for(;;){if(f===e)break e;if(y===t&&++o===n&&(u=i),y===r&&++c===a&&(l=i),(p=f.nextSibling)!==null)break;f=y,y=f.parentNode}f=p}return u===-1||l===-1?null:{start:u,end:l}}function CE(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(!!r.getSelection){var a=r.getSelection(),i=e.textContent.length,u=Math.min(t.start,i),l=t.end===void 0?u:Math.min(t.end,i);if(!a.extend&&u>l){var o=l;l=u,u=o}var c=gp(e,u),f=gp(e,l);if(c&&f){if(a.rangeCount===1&&a.anchorNode===c.node&&a.anchorOffset===c.offset&&a.focusNode===f.node&&a.focusOffset===f.offset)return;var y=n.createRange();y.setStart(c.node,c.offset),a.removeAllRanges(),u>l?(a.addRange(y),a.extend(f.node,f.offset)):(y.setEnd(f.node,f.offset),a.addRange(y))}}}function bp(e){return e&&e.nodeType===mr}function Sp(e,t){return!e||!t?!1:e===t?!0:bp(e)?!1:bp(t)?Sp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function TE(e){return e&&e.ownerDocument&&Sp(e.ownerDocument.documentElement,e)}function xE(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Ep(){for(var e=window,t=S();t instanceof e.HTMLIFrameElement;){if(xE(t))e=t.contentWindow;else return t;t=S(e.document)}return t}function tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function DE(){var e=Ep();return{focusedElem:e,selectionRange:tc(e)?OE(e):null}}function _E(e){var t=Ep(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&TE(n)){r!==null&&tc(n)&&wE(n,r);for(var a=[],i=n;i=i.parentNode;)i.nodeType===On&&a.push({element:i,left:i.scrollLeft,top:i.scrollTop});typeof n.focus=="function"&&n.focus();for(var u=0;u<a.length;u++){var l=a[u];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function OE(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=EE(e),t||{start:0,end:0}}function wE(e,t){var n=t.start,r=t.end;r===void 0&&(r=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):CE(e,t)}var kE=Ct&&"documentMode"in document&&document.documentMode<=11;function AE(){qt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ai=null,nc=null,fu=null,rc=!1;function ME(e){if("selectionStart"in e&&tc(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,n=t.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}function UE(e){return e.window===e?e.document:e.nodeType===Br?e:e.ownerDocument}function Rp(e,t,n){var r=UE(n);if(!(rc||ai==null||ai!==S(r))){var a=ME(ai);if(!fu||!cu(fu,a)){fu=a;var i=_l(nc,"onSelect");if(i.length>0){var u=new Qs("onSelect","select",null,t,n);e.push({event:u,listeners:i}),u.target=ai}}}}function LE(e,t,n,r,a,i,u){var l=n?oi(n):window;switch(t){case"focusin":(dp(l)||l.contentEditable==="true")&&(ai=l,nc=n,fu=null);break;case"focusout":ai=null,nc=null,fu=null;break;case"mousedown":rc=!0;break;case"contextmenu":case"mouseup":case"dragend":rc=!1,Rp(e,r,a);break;case"selectionchange":if(kE)break;case"keydown":case"keyup":Rp(e,r,a)}}function zE(e,t,n,r,a,i,u){var l=_v.get(t);if(l!==void 0){var o=Qs,c=t;switch(t){case"keypress":if(Cl(r)===0)return;case"keydown":case"keyup":o=NS;break;case"focusin":c="focus",o=Js;break;case"focusout":c="blur",o=Js;break;case"beforeblur":case"afterblur":o=Js;break;case"click":if(r.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":o=tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":o=RS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":o=VS;break;case Cv:case Tv:case xv:o=xS;break;case Dv:o=BS;break;case"scroll":o=bS;break;case"wheel":o=PS;break;case"copy":case"cut":case"paste":o=_S;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":o=rp;break}var f=(i&$i)!=0;{var y=!f&&t==="scroll",p=VE(n,l,r.type,f,y);if(p.length>0){var b=new o(l,c,null,r,a);e.push({event:b,listeners:p})}}}}Mb(),mE(),rE(),AE(),qS();function NE(e,t,n,r,a,i,u){zE(e,t,n,r,a,i);var l=(i&Ig)==0;l&&(yE(e,t,n,r,a,i),hE(e,t,n,r,a),LE(e,t,n,r,a),eE(e,t,n,r,a))}var du=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Cp=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(du));function Tp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ib(r,t,void 0,e),e.currentTarget=null}function jE(e,t,n){var r;if(n)for(var a=t.length-1;a>=0;a--){var i=t[a],u=i.instance,l=i.currentTarget,o=i.listener;if(u!==r&&e.isPropagationStopped())return;Tp(e,o,l),r=u}else for(var c=0;c<t.length;c++){var f=t[c],y=f.instance,p=f.currentTarget,b=f.listener;if(y!==r&&e.isPropagationStopped())return;Tp(e,b,p),r=y}}function xp(e,t){for(var n=(t&$i)!=0,r=0;r<e.length;r++){var a=e[r],i=a.event,u=a.listeners;jE(i,u,n)}ub()}function HE(e,t,n,r,a){var i=Rs(n),u=[];NE(u,e,r,n,i,t),xp(u,t)}function Ie(e,t){var n=!1,r=ah(t),a=Up(e,n);r.has(a)||(wp(t,e,ul,n),r.add(a))}var Dp="_reactListening"+Math.random().toString(36).slice(2);function _p(e){{if(e[Dp])return;e[Dp]=!0,Ar.forEach(function(t){Cp.has(t)||Op(t,!1,e,null),Op(t,!0,e,null)})}}function Op(e,t,n,r){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,i=n;if(e==="selectionchange"&&n.nodeType!==Br&&(i=n.ownerDocument),r!==null&&!t&&Cp.has(e)){if(e!=="scroll")return;a|=ul,i=r}var u=ah(i),l=Up(e,t);u.has(l)||(t&&(a|=$i),wp(i,e,a,t),u.add(l))}function wp(e,t,n,r,a){var i=cS(e,t,n),u=void 0;Os&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(u=!0),e=e,r?u!==void 0?hS(e,t,i,u):pS(e,t,i):u!==void 0?mS(e,t,i,u):vS(e,t,i)}function kp(e,t){return e===t||e.nodeType===hn&&e.parentNode===t}function Ap(e,t,n,r,a){var i=r;if((t&Xd)==0&&(t&ul)==0){var u=a;if(r!==null){var l=r;e:for(;;){if(l===null)return;var o=l.tag;if(o===Q||o===le){var c=l.stateNode.containerInfo;if(kp(c,u))break;if(o===le)for(var f=l.return;f!==null;){var y=f.tag;if(y===Q||y===le){var p=f.stateNode.containerInfo;if(kp(p,u))return}f=f.return}for(;c!==null;){var b=ba(c);if(b===null)return;var x=b.tag;if(x===$||x===me){l=i=b;continue e}c=c.parentNode}}l=l.return}}}Kg(function(){return HE(e,t,n,i)})}function vu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function VE(e,t,n,r,a){for(var i=t!==null?t+"Capture":null,u=r?i:t,l=[],o=e,c=null;o!==null;){var f=o,y=f.stateNode,p=f.tag;if(p===$&&y!==null&&(c=y,u!==null)){var b=Yi(o,u);b!=null&&l.push(vu(o,b,c))}if(a)break;o=o.return}return l}function _l(e,t){for(var n=t+"Capture",r=[],a=e;a!==null;){var i=a,u=i.stateNode,l=i.tag;if(l===$&&u!==null){var o=u,c=Yi(a,n);c!=null&&r.unshift(vu(a,c,o));var f=Yi(a,t);f!=null&&r.push(vu(a,f,o))}a=a.return}return r}function ii(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==$);return e||null}function FE(e,t){for(var n=e,r=t,a=0,i=n;i;i=ii(i))a++;for(var u=0,l=r;l;l=ii(l))u++;for(;a-u>0;)n=ii(n),a--;for(;u-a>0;)r=ii(r),u--;for(var o=a;o--;){if(n===r||r!==null&&n===r.alternate)return n;n=ii(n),r=ii(r)}return null}function Mp(e,t,n,r,a){for(var i=t._reactName,u=[],l=n;l!==null&&l!==r;){var o=l,c=o.alternate,f=o.stateNode,y=o.tag;if(c!==null&&c===r)break;if(y===$&&f!==null){var p=f;if(a){var b=Yi(l,i);b!=null&&u.unshift(vu(l,b,p))}else if(!a){var x=Yi(l,i);x!=null&&u.push(vu(l,x,p))}}l=l.return}u.length!==0&&e.push({event:t,listeners:u})}function BE(e,t,n,r,a){var i=r&&a?FE(r,a):null;r!==null&&Mp(e,t,r,i,!1),a!==null&&n!==null&&Mp(e,n,a,i,!0)}function Up(e,t){return e+"__"+(t?"capture":"bubble")}var an=!1,pu="dangerouslySetInnerHTML",Ol="suppressContentEditableWarning",hu="suppressHydrationWarning",Lp="autoFocus",ya="children",ga="style",wl="__html",ui=jd.html,ac,mu,kl,Al,yu,zp,Ml,Np,gu,jp;{ac={dialog:!0,webview:!0},kl=function(e,t){Vg(e,t),Fg(e,t),qg(e,t,{registrationNameDependencies:Lt,possibleRegistrationNames:jn})},Np=Ct&&!document.documentMode;var WE=/\r\n?/g,PE=/\u0000|\uFFFD/g;gu=function(e){var t=typeof e=="string"?e:""+e;return t.replace(WE,`
|
|
73
|
-
`).replace(PE,"")},Al=function(e,t){if(!an){var n=gu(t),r=gu(e);r!==n&&(an=!0,d('Text content did not match. Server: "%s" Client: "%s"',r,n))}},yu=function(e,t,n){if(!an){var r=gu(n),a=gu(t);a!==r&&(an=!0,d("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(a),JSON.stringify(r)))}},zp=function(e){if(!an){an=!0;var t=[];e.forEach(function(n){t.push(n)}),d("Extra attributes from the server: %s",t)}},Ml=function(e,t){t===!1?d("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):d("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},jp=function(e,t){var n=e.namespaceURI===ui?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML}}function Hp(e){return e.nodeType===Br?e:e.ownerDocument}function $E(){}function Ul(e){e.onclick=$E}function YE(e,t,n,r,a){for(var i in r)if(!!r.hasOwnProperty(i)){var u=r[i];if(i===ga)u&&Object.freeze(u),$d(t,u);else if(i===pu){var l=u?u[wl]:void 0;l!=null&&Hd(t,l)}else if(i===ya)if(typeof u=="string"){var o=e!=="textarea"||u!=="";o&&al(t,u)}else typeof u=="number"&&al(t,""+u);else i===Ol||i===hu||i===Lp||(Lt.hasOwnProperty(i)?u!=null&&(typeof u!="function"&&Ml(i,u),i==="onScroll"&&Ie("scroll",t)):u!=null&&Xe(t,i,u,a))}}function qE(e,t,n,r){for(var a=0;a<t.length;a+=2){var i=t[a],u=t[a+1];i===ga?$d(e,u):i===pu?Hd(e,u):i===ya?al(e,u):Xe(e,i,u,r)}}function IE(e,t,n,r){var a,i=Hp(n),u,l=r;if(l===ui&&(l=ys(e)),l===ui){if(a=ca(e,t),!a&&e!==e.toLowerCase()&&d("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var o=i.createElement("div");o.innerHTML="<script><\/script>";var c=o.firstChild;u=o.removeChild(c)}else if(typeof t.is=="string")u=i.createElement(e,{is:t.is});else if(u=i.createElement(e),e==="select"){var f=u;t.multiple?f.multiple=!0:t.size&&(f.size=t.size)}}else u=i.createElementNS(l,e);return l===ui&&!a&&Object.prototype.toString.call(u)==="[object HTMLUnknownElement]"&&!Object.prototype.hasOwnProperty.call(ac,e)&&(ac[e]=!0,d("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),u}function GE(e,t){return Hp(t).createTextNode(e)}function QE(e,t,n,r){var a=ca(t,n);kl(t,n);var i;switch(t){case"dialog":Ie("cancel",e),Ie("close",e),i=n;break;case"iframe":case"object":case"embed":Ie("load",e),i=n;break;case"video":case"audio":for(var u=0;u<du.length;u++)Ie(du[u],e);i=n;break;case"source":Ie("error",e),i=n;break;case"img":case"image":case"link":Ie("error",e),Ie("load",e),i=n;break;case"details":Ie("toggle",e),i=n;break;case"input":ze(e,n),i=_e(e,n),Ie("invalid",e);break;case"option":Bi(e,n),i=Wa(e,n);break;case"select":Ad(e,n),i=ps(e,n),Ie("invalid",e);break;case"textarea":Ud(e,n),i=hs(e,n),Ie("invalid",e);break;default:i=n}switch(Es(t,i),YE(t,e,r,i,a),t){case"input":s(e),jt(e,n,!1);break;case"textarea":s(e),zd(e);break;case"option":vs(e,n);break;case"select":lg(e,n);break;default:typeof i.onClick=="function"&&Ul(e);break}}function XE(e,t,n,r,a){kl(t,r);var i=null,u,l;switch(t){case"input":u=_e(e,n),l=_e(e,r),i=[];break;case"option":u=Wa(e,n),l=Wa(e,r),i=[];break;case"select":u=ps(e,n),l=ps(e,r),i=[];break;case"textarea":u=hs(e,n),l=hs(e,r),i=[];break;default:u=n,l=r,typeof u.onClick!="function"&&typeof l.onClick=="function"&&Ul(e);break}Es(t,l);var o,c,f=null;for(o in u)if(!(l.hasOwnProperty(o)||!u.hasOwnProperty(o)||u[o]==null))if(o===ga){var y=u[o];for(c in y)y.hasOwnProperty(c)&&(f||(f={}),f[c]="")}else o===pu||o===ya||o===Ol||o===hu||o===Lp||(Lt.hasOwnProperty(o)?i||(i=[]):(i=i||[]).push(o,null));for(o in l){var p=l[o],b=u!=null?u[o]:void 0;if(!(!l.hasOwnProperty(o)||p===b||p==null&&b==null))if(o===ga)if(p&&Object.freeze(p),b){for(c in b)b.hasOwnProperty(c)&&(!p||!p.hasOwnProperty(c))&&(f||(f={}),f[c]="");for(c in p)p.hasOwnProperty(c)&&b[c]!==p[c]&&(f||(f={}),f[c]=p[c])}else f||(i||(i=[]),i.push(o,f)),f=p;else if(o===pu){var x=p?p[wl]:void 0,w=b?b[wl]:void 0;x!=null&&w!==x&&(i=i||[]).push(o,x)}else o===ya?(typeof p=="string"||typeof p=="number")&&(i=i||[]).push(o,""+p):o===Ol||o===hu||(Lt.hasOwnProperty(o)?(p!=null&&(typeof p!="function"&&Ml(o,p),o==="onScroll"&&Ie("scroll",e)),!i&&b!==p&&(i=[])):typeof p=="object"&&p!==null&&p.$$typeof===ye?p.toString():(i=i||[]).push(o,p))}return f&&(kg(f,l[ga]),(i=i||[]).push(ga,f)),i}function KE(e,t,n,r,a){n==="input"&&a.type==="radio"&&a.name!=null&&Ye(e,a);var i=ca(n,r),u=ca(n,a);switch(qE(e,t,i,u),n){case"input":ut(e,a);break;case"textarea":Ld(e,a);break;case"select":og(e,a);break}}function JE(e){{var t=e.toLowerCase();return il.hasOwnProperty(t)&&il[t]||null}}function ZE(e,t,n,r,a){var i,u;switch(mu=n[hu]===!0,i=ca(t,n),kl(t,n),t){case"dialog":Ie("cancel",e),Ie("close",e);break;case"iframe":case"object":case"embed":Ie("load",e);break;case"video":case"audio":for(var l=0;l<du.length;l++)Ie(du[l],e);break;case"source":Ie("error",e);break;case"img":case"image":case"link":Ie("error",e),Ie("load",e);break;case"details":Ie("toggle",e);break;case"input":ze(e,n),Ie("invalid",e);break;case"option":Bi(e,n);break;case"select":Ad(e,n),Ie("invalid",e);break;case"textarea":Ud(e,n),Ie("invalid",e);break}Es(t,n);{u=new Set;for(var o=e.attributes,c=0;c<o.length;c++){var f=o[c].name.toLowerCase();switch(f){case"data-reactroot":break;case"value":break;case"checked":break;case"selected":break;default:u.add(o[c].name)}}}var y=null;for(var p in n)if(!!n.hasOwnProperty(p)){var b=n[p];if(p===ya)typeof b=="string"?e.textContent!==b&&(mu||Al(e.textContent,b),y=[ya,b]):typeof b=="number"&&e.textContent!==""+b&&(mu||Al(e.textContent,b),y=[ya,""+b]);else if(Lt.hasOwnProperty(p))b!=null&&(typeof b!="function"&&Ml(p,b),p==="onScroll"&&Ie("scroll",e));else if(typeof i=="boolean"){var x=void 0,w=xn(p);if(!mu){if(!(p===Ol||p===hu||p==="value"||p==="checked"||p==="selected")){if(p===pu){var Y=e.innerHTML,ae=b?b[wl]:void 0;if(ae!=null){var K=jp(e,ae);K!==Y&&yu(p,Y,K)}}else if(p===ga){if(u.delete(p),Np){var ge=Og(b);x=e.getAttribute("style"),ge!==x&&yu(p,x,ge)}}else if(i)u.delete(p.toLowerCase()),x=Qe(e,p,b),b!==x&&yu(p,x,b);else if(!Ur(p,w,i)&&!At(p,b,w,i)){var Ue=!1;if(w!==null)u.delete(w.attributeName),x=Le(e,p,b,w);else{var g=r;if(g===ui&&(g=ys(t)),g===ui)u.delete(p.toLowerCase());else{var R=JE(p);R!==null&&R!==p&&(Ue=!0,u.delete(R)),u.delete(p)}x=Qe(e,p,b)}b!==x&&!Ue&&yu(p,x,b)}}}}}switch(u.size>0&&!mu&&zp(u),t){case"input":s(e),jt(e,n,!0);break;case"textarea":s(e),zd(e);break;case"select":case"option":break;default:typeof n.onClick=="function"&&Ul(e);break}return y}function eR(e,t){var n=e.nodeValue!==t;return n}function Vp(e,t){Al(e.nodeValue,t)}function Fp(e,t){{if(an)return;an=!0,d("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Bp(e,t){{if(an)return;an=!0,d('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Wp(e,t,n){{if(an)return;an=!0,d("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Pp(e,t){{if(t===""||an)return;an=!0,d('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function tR(e,t,n){switch(t){case"input":Ht(e,n);return;case"textarea":cg(e,n);return;case"select":sg(e,n);return}}var bu=function(){},Su=function(){};{var nR=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],$p=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],rR=$p.concat(["button"]),aR=["dd","dt","li","option","optgroup","p","rp","rt"],Yp={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Su=function(e,t){var n=P({},e||Yp),r={tag:t};return $p.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),rR.indexOf(t)!==-1&&(n.pTagInButtonScope=null),nR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t==="form"&&(n.formTag=r),t==="a"&&(n.aTagInScope=r),t==="button"&&(n.buttonTagInScope=r),t==="nobr"&&(n.nobrTagInScope=r),t==="p"&&(n.pTagInButtonScope=r),t==="li"&&(n.listItemTagAutoclosing=r),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=r),n};var iR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return aR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},uR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},qp={};bu=function(e,t,n){n=n||Yp;var r=n.current,a=r&&r.tag;t!=null&&(e!=null&&d("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=iR(e,a)?null:r,u=i?null:uR(e,n),l=i||u;if(!!l){var o=l.tag,c=!!i+"|"+e+"|"+o;if(!qp[c]){qp[c]=!0;var f=e,y="";if(e==="#text"?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",y=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",i){var p="";o==="table"&&e==="tr"&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),d("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",f,o,y,p)}else d("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",f,o)}}}}var li;li="suppressHydrationWarning";var Ip="$",Gp="/$",ic="$?",uc="$!",lR="style",lc=null,oc=null;function Qp(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function oR(e){var t,n,r=e.nodeType;switch(r){case Br:case Vd:{t=r===Br?"#document":"#fragment";var a=e.documentElement;n=a?a.namespaceURI:gs(null,"");break}default:{var i=r===hn?e.parentNode:e,u=i.namespaceURI||null;t=i.tagName,n=gs(u,t);break}}{var l=t.toLowerCase(),o=Su(null,l);return{namespace:n,ancestorInfo:o}}}function sR(e,t,n){{var r=e,a=gs(r.namespace,t),i=Su(r.ancestorInfo,t);return{namespace:a,ancestorInfo:i}}}function sc(e){return e}function cR(e){lc=sS(),oc=DE();var t=null;return Kv(!1),t}function fR(e){_E(oc),Kv(lc),lc=null,oc=null}function dR(e,t,n,r,a){var i;{var u=r;if(bu(e,null,u.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var l=""+t.children,o=Su(u.ancestorInfo,e);bu(null,l,o)}i=u.namespace}var c=IE(e,t,n,i);return Nl(a,c),vc(c,t),c}function vR(e,t){e.appendChild(t)}function pR(e,t,n,r,a){return QE(e,t,n,r),Qp(t,n)}function hR(e,t,n,r,a,i){{var u=i;if(typeof r.children!=typeof n.children&&(typeof r.children=="string"||typeof r.children=="number")){var l=""+r.children,o=Su(u.ancestorInfo,t);bu(null,l,o)}}return XE(e,t,n,r)}function cc(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function mR(e,t,n,r){{var a=n;bu(null,e,a.ancestorInfo)}var i=GE(e,t);return Nl(r,i),i}var Xp=typeof setTimeout=="function"?setTimeout:void 0,yR=typeof clearTimeout=="function"?clearTimeout:void 0,fc=-1;function gR(e,t,n,r){Qp(t,n)&&e.focus()}function bR(e,t,n,r,a,i){vc(e,a),KE(e,t,n,r,a)}function Kp(e){al(e,"")}function SR(e,t,n){e.nodeValue=n}function ER(e,t){e.appendChild(t)}function RR(e,t){var n;e.nodeType===hn?(n=e.parentNode,n.insertBefore(t,e)):(n=e,n.appendChild(t));var r=e._reactRootContainer;r==null&&n.onclick===null&&Ul(n)}function CR(e,t,n){e.insertBefore(t,n)}function TR(e,t,n){e.nodeType===hn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function xR(e,t){e.removeChild(t)}function DR(e,t){e.nodeType===hn?e.parentNode.removeChild(t):e.removeChild(t)}function _R(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function OR(e){e.nodeValue=""}function wR(e,t){e=e;var n=t[lR],r=n!=null&&n.hasOwnProperty("display")?n.display:null;e.style.display=bs("display",r)}function kR(e,t){e.nodeValue=t}function dc(e){if(e.nodeType===On)e.textContent="";else if(e.nodeType===Br){var t=e.body;t!=null&&(t.textContent="")}}function AR(e,t,n){return e.nodeType!==On||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function MR(e,t){return t===""||e.nodeType!==mr?null:e}function UR(e){return e.data===ic}function LR(e){return e.data===uc}function Jp(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===On||t===mr)break}return e}function Ll(e){return Jp(e.nextSibling)}function Zp(e){return Jp(e.firstChild)}function zR(e,t,n,r,a,i){Nl(i,e),vc(e,n);var u;{var l=a;u=l.namespace}return ZE(e,t,n,u)}function NR(e,t,n){return Nl(n,e),eR(e,t)}function jR(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===hn){var r=t.data;if(r===Gp){if(n===0)return Ll(t);n--}else(r===Ip||r===uc||r===ic)&&n++}t=t.nextSibling}return null}function eh(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===hn){var r=t.data;if(r===Ip||r===uc||r===ic){if(n===0)return t;n--}else r===Gp&&n++}t=t.previousSibling}return null}function HR(e){Sv(e)}function VR(e){Sv(e)}function FR(e,t,n){Vp(t,n)}function BR(e,t,n,r,a){t[li]!==!0&&Vp(r,a)}function WR(e,t){t.nodeType===On?Fp(e,t):t.nodeType===hn||Bp(e,t)}function PR(e,t,n,r){t[li]!==!0&&(r.nodeType===On?Fp(n,r):r.nodeType===hn||Bp(n,r))}function $R(e,t,n){Wp(e,t)}function YR(e,t){Pp(e,t)}function qR(e,t,n,r,a){t[li]!==!0&&Wp(n,r)}function IR(e,t,n,r){t[li]!==!0&&Pp(n,r)}function GR(e,t,n){t[li]!==!0}var QR=0;function XR(e){var t="r:"+(QR++).toString(36);return{toString:function(){return e(),t},valueOf:function(){return e(),t}}}function KR(e){return e!==null&&typeof e=="object"&&e.$$typeof===ye}function JR(e){return{$$typeof:ye,toString:e,valueOf:e}}function ZR(e){_p(e)}var zl=Math.random().toString(36).slice(2),Eu="__reactFiber$"+zl,th="__reactProps$"+zl,Ru="__reactContainer$"+zl,nh="__reactEvents$"+zl;function Nl(e,t){t[Eu]=e}function eC(e,t){t[Ru]=e}function rh(e){e[Ru]=null}function jl(e){return!!e[Ru]}function ba(e){var t=e[Eu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ru]||n[Eu],t){var r=t.alternate;if(t.child!==null||r!==null&&r.child!==null)for(var a=eh(e);a!==null;){var i=a[Eu];if(i)return i;a=eh(a)}return t}e=n,n=e.parentNode}return null}function Ir(e){var t=e[Eu]||e[Ru];return t&&(t.tag===$||t.tag===me||t.tag===H||t.tag===Q)?t:null}function oi(e){if(e.tag===$||e.tag===me)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Hl(e){return e[th]||null}function vc(e,t){e[th]=t}function ah(e){var t=e[nh];return t===void 0&&(t=e[nh]=new Set),t}var ih={},uh=de.ReactDebugCurrentFrame;function Vl(e){if(e){var t=e._owner,n=Fa(e.type,e._source,t?t.type:null);uh.setExtraStackFrame(n)}else uh.setExtraStackFrame(null)}function Bn(e,t,n,r,a){{var i=Function.call.bind(Object.prototype.hasOwnProperty);for(var u in e)if(i(e,u)){var l=void 0;try{if(typeof e[u]!="function"){var o=Error((r||"React class")+": "+n+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw o.name="Invariant Violation",o}l=e[u](t,u,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){l=c}l&&!(l instanceof Error)&&(Vl(a),d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,u,typeof l),Vl(null)),l instanceof Error&&!(l.message in ih)&&(ih[l.message]=!0,Vl(a),d("Failed %s type: %s",n,l.message),Vl(null))}}}var pc=[],Fl;Fl=[];var Rr=-1;function Gr(e){return{current:e}}function Ft(e,t){if(Rr<0){d("Unexpected pop.");return}t!==Fl[Rr]&&d("Unexpected Fiber popped."),e.current=pc[Rr],pc[Rr]=null,Fl[Rr]=null,Rr--}function Bt(e,t,n){Rr++,pc[Rr]=e.current,Fl[Rr]=n,e.current=t}var hc;hc={};var yn={};Object.freeze(yn);var Cr=Gr(yn),tr=Gr(!1),mc=yn;function si(e,t,n){return n&&nr(t)?mc:Cr.current}function lh(e,t,n){{var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}}function ci(e,t){{var n=e.type,r=n.contextTypes;if(!r)return yn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var i={};for(var u in r)i[u]=t[u];{var l=A(n)||"Unknown";Bn(r,i,"context",l)}return a&&lh(e,t,i),i}}function Bl(){return tr.current}function nr(e){{var t=e.childContextTypes;return t!=null}}function Wl(e){Ft(tr,e),Ft(Cr,e)}function yc(e){Ft(tr,e),Ft(Cr,e)}function oh(e,t,n){{if(Cr.current!==yn)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Bt(Cr,t,e),Bt(tr,n,e)}}function sh(e,t,n){{var r=e.stateNode,a=t.childContextTypes;if(typeof r.getChildContext!="function"){{var i=A(t)||"Unknown";hc[i]||(hc[i]=!0,d("%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.",i,i))}return n}var u=r.getChildContext();for(var l in u)if(!(l in a))throw Error((A(t)||"Unknown")+'.getChildContext(): key "'+l+'" is not defined in childContextTypes.');{var o=A(t)||"Unknown";Bn(a,u,"child context",o)}return P({},n,u)}}function Pl(e){{var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||yn;return mc=Cr.current,Bt(Cr,n,e),Bt(tr,tr.current,e),!0}}function ch(e,t,n){{var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var a=sh(e,t,mc);r.__reactInternalMemoizedMergedChildContext=a,Ft(tr,e),Ft(Cr,e),Bt(Cr,a,e),Bt(tr,n,e)}else Ft(tr,e),Bt(tr,n,e)}}function tC(e){{if(!(pb(e)&&e.tag===B))throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case Q:return t.stateNode.context;case B:{var n=t.type;if(nr(n))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var gc=0,fh=1,dh=2,$l=null,rr=null,fi=!1,nC=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined";function rC(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return d("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{$l=t.inject(e),rr=t}catch(n){d("React instrumentation encountered an error: %s.",n)}return!0}function aC(e,t){if(rr&&typeof rr.onScheduleFiberRoot=="function")try{rr.onScheduleFiberRoot($l,e,t)}catch(n){fi||(fi=!0,d("React instrumentation encountered an error: %s",n))}}function iC(e,t){if(rr&&typeof rr.onCommitFiberRoot=="function")try{var n=(e.current.flags&qe)===qe;cn&&rr.onCommitFiberRoot($l,e,t,n)}catch(r){fi||(fi=!0,d("React instrumentation encountered an error: %s",r))}}function uC(e){if(rr&&typeof rr.onCommitFiberUnmount=="function")try{rr.onCommitFiberUnmount($l,e)}catch(t){fi||(fi=!0,d("React instrumentation encountered an error: %s",t))}}var lC=ee.unstable_runWithPriority,bc=ee.unstable_scheduleCallback,vh=ee.unstable_cancelCallback,oC=ee.unstable_shouldYield,ph=ee.unstable_requestPaint,Sc=ee.unstable_now,sC=ee.unstable_getCurrentPriorityLevel,Yl=ee.unstable_ImmediatePriority,hh=ee.unstable_UserBlockingPriority,mh=ee.unstable_NormalPriority,yh=ee.unstable_LowPriority,gh=ee.unstable_IdlePriority;if(!(se.__interactionsRef!=null&&se.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at https://reactjs.org/link/profiling");var bh={},kn=99,Sa=98,Tr=97,Sh=96,Eh=95,Ec=90,cC=oC,fC=ph!==void 0?ph:function(){},xr=null,ql=null,Rc=!1,Rh=Sc(),Wt=Rh<1e4?Sc:function(){return Sc()-Rh};function di(){switch(sC()){case Yl:return kn;case hh:return Sa;case mh:return Tr;case yh:return Sh;case gh:return Eh;default:throw Error("Unknown priority level.")}}function Ch(e){switch(e){case kn:return Yl;case Sa:return hh;case Tr:return mh;case Sh:return yh;case Eh:return gh;default:throw Error("Unknown priority level.")}}function Ea(e,t){var n=Ch(e);return lC(n,t)}function Qr(e,t,n){var r=Ch(e);return bc(r,t,n)}function dC(e){return xr===null?(xr=[e],ql=bc(Yl,xh)):xr.push(e),bh}function Th(e){e!==bh&&vh(e)}function ar(){if(ql!==null){var e=ql;ql=null,vh(e)}xh()}function xh(){if(!Rc&&xr!==null){Rc=!0;var e=0;try{var t=!0,n=xr;Ea(kn,function(){for(;e<n.length;e++){var r=n[e];do r=r(t);while(r!==null)}}),xr=null}catch(r){throw xr!==null&&(xr=xr.slice(e+1)),bc(Yl,ar),r}finally{Rc=!1}}}var Dh="17.0.2",Je=0,ct=1,un=2,Ra=4,gn=8,vC=16,pC=de.ReactCurrentBatchConfig,hC=0;function mC(){return pC.transition}var Wn={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var yC=function(e){for(var t=null,n=e;n!==null;)n.mode&ct&&(t=n),n=n.return;return t},Ca=function(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")},Cu=[],Tu=[],xu=[],Du=[],_u=[],Ou=[],Ta=new Set;Wn.recordUnsafeLifecycleWarnings=function(e,t){Ta.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Cu.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillMount=="function"&&Tu.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&xu.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Du.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&_u.push(e),e.mode&ct&&typeof t.UNSAFE_componentWillUpdate=="function"&&Ou.push(e))},Wn.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cu.length>0&&(Cu.forEach(function(p){e.add(A(p.type)||"Component"),Ta.add(p.type)}),Cu=[]);var t=new Set;Tu.length>0&&(Tu.forEach(function(p){t.add(A(p.type)||"Component"),Ta.add(p.type)}),Tu=[]);var n=new Set;xu.length>0&&(xu.forEach(function(p){n.add(A(p.type)||"Component"),Ta.add(p.type)}),xu=[]);var r=new Set;Du.length>0&&(Du.forEach(function(p){r.add(A(p.type)||"Component"),Ta.add(p.type)}),Du=[]);var a=new Set;_u.length>0&&(_u.forEach(function(p){a.add(A(p.type)||"Component"),Ta.add(p.type)}),_u=[]);var i=new Set;if(Ou.length>0&&(Ou.forEach(function(p){i.add(A(p.type)||"Component"),Ta.add(p.type)}),Ou=[]),t.size>0){var u=Ca(t);d(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
74
|
-
|
|
75
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
76
|
-
|
|
77
|
-
Please update the following components: %s`,u)}if(r.size>0){var l=Ca(r);d(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
78
|
-
|
|
79
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
80
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
81
|
-
|
|
82
|
-
Please update the following components: %s`,l)}if(i.size>0){var o=Ca(i);d(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
83
|
-
|
|
84
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
85
|
-
|
|
86
|
-
Please update the following components: %s`,o)}if(e.size>0){var c=Ca(e);be(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
87
|
-
|
|
88
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
89
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
90
|
-
|
|
91
|
-
Please update the following components: %s`,c)}if(n.size>0){var f=Ca(n);be(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
92
|
-
|
|
93
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
94
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
95
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
96
|
-
|
|
97
|
-
Please update the following components: %s`,f)}if(a.size>0){var y=Ca(a);be(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
98
|
-
|
|
99
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
100
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
101
|
-
|
|
102
|
-
Please update the following components: %s`,y)}};var Il=new Map,_h=new Set;Wn.recordLegacyContextWarning=function(e,t){var n=yC(e);if(n===null){d("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!_h.has(e.type)){var r=Il.get(n);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(r===void 0&&(r=[],Il.set(n,r)),r.push(e))}},Wn.flushLegacyContextWarning=function(){Il.forEach(function(e,t){if(e.length!==0){var n=e[0],r=new Set;e.forEach(function(i){r.add(A(i.type)||"Component"),_h.add(i.type)});var a=Ca(r);try{pt(n),d(`Legacy context API has been detected within a strict-mode tree.
|
|
103
|
-
|
|
104
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
105
|
-
|
|
106
|
-
Please update the following components: %s
|
|
107
|
-
|
|
108
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,a)}finally{Mt()}}})},Wn.discardPendingWarnings=function(){Cu=[],Tu=[],xu=[],Du=[],_u=[],Ou=[],Il=new Map}}function Pn(e,t){if(e&&e.defaultProps){var n=P({},t),r=e.defaultProps;for(var a in r)n[a]===void 0&&(n[a]=r[a]);return n}return t}var Gl=1073741823,Cc=Gr(null),Tc;Tc={};var Ql=null,vi=null,Xl=null,Kl=!1;function Jl(){Ql=null,vi=null,Xl=null,Kl=!1}function Oh(){Kl=!0}function wh(){Kl=!1}function kh(e,t){var n=e.type._context;Bt(Cc,n._currentValue,e),n._currentValue=t,n._currentRenderer!==void 0&&n._currentRenderer!==null&&n._currentRenderer!==Tc&&d("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=Tc}function xc(e){var t=Cc.current;Ft(Cc,e);var n=e.type._context;n._currentValue=t}function gC(e,t,n){if(wn(n,t))return 0;var r=typeof e._calculateChangedBits=="function"?e._calculateChangedBits(n,t):Gl;return(r&Gl)!==r&&d("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",r),r|0}function Ah(e,t){for(var n=e;n!==null;){var r=n.alternate;if(!ma(n.childLanes,t))n.childLanes=Oe(n.childLanes,t),r!==null&&(r.childLanes=Oe(r.childLanes,t));else if(r!==null&&!ma(r.childLanes,t))r.childLanes=Oe(r.childLanes,t);else break;n=n.return}}function bC(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=void 0,u=a.dependencies;if(u!==null){i=a.child;for(var l=u.firstContext;l!==null;){if(l.context===t&&(l.observedBits&n)!=0){if(a.tag===B){var o=Xr(st,Kt(r));o.tag=Zl,Kr(a,o)}a.lanes=Oe(a.lanes,r);var c=a.alternate;c!==null&&(c.lanes=Oe(c.lanes,r)),Ah(a.return,r),u.lanes=Oe(u.lanes,r);break}l=l.next}}else a.tag===ce?i=a.type===e.type?null:a.child:i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===e){i=null;break}var f=i.sibling;if(f!==null){f.return=i.return,i=f;break}i=i.return}a=i}}function pi(e,t){Ql=e,vi=null,Xl=null;var n=e.dependencies;if(n!==null){var r=n.firstContext;r!==null&&(Vt(n.lanes,t)&&Lf(),n.firstContext=null)}}function Et(e,t){if(Kl&&d("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()."),Xl!==e){if(!(t===!1||t===0)){var n;typeof t!="number"||t===Gl?(Xl=e,n=Gl):n=t;var r={context:e,observedBits:n,next:null};if(vi===null){if(Ql===null)throw Error("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().");vi=r,Ql.dependencies={lanes:D,firstContext:r,responders:null}}else vi=vi.next=r}}return e._currentValue}var Mh=0,Uh=1,Zl=2,Dc=3,eo=!1,_c,to;_c=!1,to=null;function Oc(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null};e.updateQueue=t}function Lh(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var a={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=a}}function Xr(e,t){var n={eventTime:e,lane:t,tag:Mh,payload:null,callback:null,next:null};return n}function Kr(e,t){var n=e.updateQueue;if(n!==null){var r=n.shared,a=r.pending;a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,to===r&&!_c&&(d("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),_c=!0)}}function zh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null){var a=r.updateQueue;if(n===a){var i=null,u=null,l=n.firstBaseUpdate;if(l!==null){var o=l;do{var c={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};u===null?i=u=c:(u.next=c,u=c),o=o.next}while(o!==null);u===null?i=u=t:(u.next=t,u=t)}else i=u=t;n={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:a.shared,effects:a.effects},e.updateQueue=n;return}}var f=n.lastBaseUpdate;f===null?n.firstBaseUpdate=t:f.next=t,n.lastBaseUpdate=t}function SC(e,t,n,r,a,i){switch(n.tag){case Uh:{var u=n.payload;if(typeof u=="function"){Oh();var l=u.call(i,r,a);{if(e.mode&ct){Dn();try{u.call(i,r,a)}finally{_n()}}wh()}return l}return u}case Dc:e.flags=e.flags&~Sr|qe;case Mh:{var o=n.payload,c;if(typeof o=="function"){Oh(),c=o.call(i,r,a);{if(e.mode&ct){Dn();try{o.call(i,r,a)}finally{_n()}}wh()}}else c=o;return c==null?r:P({},r,c)}case Zl:return eo=!0,r}return r}function wu(e,t,n,r){var a=e.updateQueue;eo=!1,to=a.shared;var i=a.firstBaseUpdate,u=a.lastBaseUpdate,l=a.shared.pending;if(l!==null){a.shared.pending=null;var o=l,c=o.next;o.next=null,u===null?i=c:u.next=c,u=o;var f=e.alternate;if(f!==null){var y=f.updateQueue,p=y.lastBaseUpdate;p!==u&&(p===null?y.firstBaseUpdate=c:p.next=c,y.lastBaseUpdate=o)}}if(i!==null){var b=a.baseState,x=D,w=null,Y=null,ae=null,K=i;do{var ge=K.lane,Ue=K.eventTime;if(ma(r,ge)){if(ae!==null){var R={eventTime:Ue,lane:rn,tag:K.tag,payload:K.payload,callback:K.callback,next:null};ae=ae.next=R}b=SC(e,a,K,b,t,n);var m=K.callback;if(m!==null){e.flags|=iv;var O=a.effects;O===null?a.effects=[K]:O.push(K)}}else{var g={eventTime:Ue,lane:ge,tag:K.tag,payload:K.payload,callback:K.callback,next:null};ae===null?(Y=ae=g,w=b):ae=ae.next=g,x=Oe(x,ge)}if(K=K.next,K===null){if(l=a.shared.pending,l===null)break;var M=l,F=M.next;M.next=null,K=F,a.lastBaseUpdate=M,a.shared.pending=null}}while(!0);ae===null&&(w=b),a.baseState=w,a.firstBaseUpdate=Y,a.lastBaseUpdate=ae,id(x),e.lanes=x,e.memoizedState=b}to=null}function EC(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Nh(){eo=!1}function no(){return eo}function jh(e,t,n){var r=t.effects;if(t.effects=null,r!==null)for(var a=0;a<r.length;a++){var i=r[a],u=i.callback;u!==null&&(i.callback=null,EC(u,n))}}var wc={},RC=Array.isArray,Hh=new E.Component().refs,kc,Ac,Mc,Uc,Lc,Vh,ro,zc,Nc,jc;{kc=new Set,Ac=new Set,Mc=new Set,Uc=new Set,zc=new Set,Lc=new Set,Nc=new Set,jc=new Set;var Fh=new Set;ro=function(e,t){if(!(e===null||typeof e=="function")){var n=t+"_"+e;Fh.has(n)||(Fh.add(n),d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Vh=function(e,t){if(t===void 0){var n=A(e)||"Component";Lc.has(n)||(Lc.add(n),d("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(wc,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(wc)}function ao(e,t,n,r){var a=e.memoizedState;if(e.mode&ct){Dn();try{n(r,a)}finally{_n()}}var i=n(r,a);Vh(t,i);var u=i==null?a:P({},a,i);if(e.memoizedState=u,e.lanes===D){var l=e.updateQueue;l.baseState=u}}var Hc={isMounted:hb,enqueueSetState:function(e,t,n){var r=Qa(e),a=Sn(),i=ta(r),u=Xr(a,i);u.payload=t,n!=null&&(ro(n,"setState"),u.callback=n),Kr(r,u),$t(r,i,a)},enqueueReplaceState:function(e,t,n){var r=Qa(e),a=Sn(),i=ta(r),u=Xr(a,i);u.tag=Uh,u.payload=t,n!=null&&(ro(n,"replaceState"),u.callback=n),Kr(r,u),$t(r,i,a)},enqueueForceUpdate:function(e,t){var n=Qa(e),r=Sn(),a=ta(n),i=Xr(r,a);i.tag=Zl,t!=null&&(ro(t,"forceUpdate"),i.callback=t),Kr(n,i),$t(n,a,r)}};function Bh(e,t,n,r,a,i,u){var l=e.stateNode;if(typeof l.shouldComponentUpdate=="function"){if(e.mode&ct){Dn();try{l.shouldComponentUpdate(r,i,u)}finally{_n()}}var o=l.shouldComponentUpdate(r,i,u);return o===void 0&&d("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",A(t)||"Component"),o}return t.prototype&&t.prototype.isPureReactComponent?!cu(n,r)||!cu(a,i):!0}function CC(e,t,n){var r=e.stateNode;{var a=A(t)||"Component",i=r.render;i||(t.prototype&&typeof t.prototype.render=="function"?d("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):d("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),r.getInitialState&&!r.getInitialState.isReactClassApproved&&!r.state&&d("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?",a),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&d("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.",a),r.propTypes&&d("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),r.contextType&&d("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),r.contextTypes&&d("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),t.contextType&&t.contextTypes&&!Nc.has(t)&&(Nc.add(t),d("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),typeof r.componentShouldUpdate=="function"&&d("%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.",a),t.prototype&&t.prototype.isPureReactComponent&&typeof r.shouldComponentUpdate!="undefined"&&d("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",A(t)||"A pure component"),typeof r.componentDidUnmount=="function"&&d("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),typeof r.componentDidReceiveProps=="function"&&d("%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().",a),typeof r.componentWillRecieveProps=="function"&&d("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),typeof r.UNSAFE_componentWillRecieveProps=="function"&&d("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var u=r.props!==n;r.props!==void 0&&u&&d("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),r.defaultProps&&d("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),typeof r.getSnapshotBeforeUpdate=="function"&&typeof r.componentDidUpdate!="function"&&!Mc.has(t)&&(Mc.add(t),d("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",A(t))),typeof r.getDerivedStateFromProps=="function"&&d("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof r.getDerivedStateFromError=="function"&&d("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),typeof t.getSnapshotBeforeUpdate=="function"&&d("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var l=r.state;l&&(typeof l!="object"||RC(l))&&d("%s.state: must be set to an object or null",a),typeof r.getChildContext=="function"&&typeof t.childContextTypes!="object"&&d("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}}function Wh(e,t){t.updater=Hc,e.stateNode=t,ob(t,e),t._reactInternalInstance=wc}function Ph(e,t,n){var r=!1,a=yn,i=yn,u=t.contextType;if("contextType"in t){var l=u===null||u!==void 0&&u.$$typeof===Nr&&u._context===void 0;if(!l&&!jc.has(t)){jc.add(t);var o="";u===void 0?o=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof u!="object"?o=" However, it is set to a "+typeof u+".":u.$$typeof===vr?o=" Did you accidentally pass the Context.Provider instead?":u._context!==void 0?o=" Did you accidentally pass the Context.Consumer instead?":o=" However, it is set to an object with keys {"+Object.keys(u).join(", ")+"}.",d("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",A(t)||"Component",o)}}if(typeof u=="object"&&u!==null)i=Et(u);else{a=si(e,t,!0);var c=t.contextTypes;r=c!=null,i=r?ci(e,a):yn}if(e.mode&ct){Dn();try{new t(n,i)}finally{_n()}}var f=new t(n,i),y=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null;Wh(e,f);{if(typeof t.getDerivedStateFromProps=="function"&&y===null){var p=A(t)||"Component";Ac.has(p)||(Ac.add(p),d("`%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,f.state===null?"null":"undefined",p))}if(typeof t.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var b=null,x=null,w=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?b="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(b="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?w="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(w="UNSAFE_componentWillUpdate"),b!==null||x!==null||w!==null){var Y=A(t)||"Component",ae=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Uc.has(Y)||(Uc.add(Y),d(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
109
|
-
|
|
110
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
111
|
-
|
|
112
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
113
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,Y,ae,b!==null?`
|
|
114
|
-
`+b:"",x!==null?`
|
|
115
|
-
`+x:"",w!==null?`
|
|
116
|
-
`+w:""))}}}return r&&lh(e,a,i),f}function TC(e,t){var n=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(d("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",A(e.type)||"Component"),Hc.enqueueReplaceState(t,t.state,null))}function $h(e,t,n,r){var a=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==a){{var i=A(e.type)||"Component";kc.has(i)||(kc.add(i),d("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i))}Hc.enqueueReplaceState(t,t.state,null)}}function Vc(e,t,n,r){CC(e,t,n);var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Hh,Oc(e);var i=t.contextType;if(typeof i=="object"&&i!==null)a.context=Et(i);else{var u=si(e,t,!0);a.context=ci(e,u)}{if(a.state===n){var l=A(t)||"Component";zc.has(l)||(zc.add(l),d("%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.",l))}e.mode&ct&&Wn.recordLegacyContextWarning(e,a),Wn.recordUnsafeLifecycleWarnings(e,a)}wu(e,n,a,r),a.state=e.memoizedState;var o=t.getDerivedStateFromProps;typeof o=="function"&&(ao(e,t,o,n),a.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof a.getSnapshotBeforeUpdate!="function"&&(typeof a.UNSAFE_componentWillMount=="function"||typeof a.componentWillMount=="function")&&(TC(e,a),wu(e,n,a,r),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=Ne)}function xC(e,t,n,r){var a=e.stateNode,i=e.memoizedProps;a.props=i;var u=a.context,l=t.contextType,o=yn;if(typeof l=="object"&&l!==null)o=Et(l);else{var c=si(e,t,!0);o=ci(e,c)}var f=t.getDerivedStateFromProps,y=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";!y&&(typeof a.UNSAFE_componentWillReceiveProps=="function"||typeof a.componentWillReceiveProps=="function")&&(i!==n||u!==o)&&$h(e,a,n,o),Nh();var p=e.memoizedState,b=a.state=p;if(wu(e,n,a,r),b=e.memoizedState,i===n&&p===b&&!Bl()&&!no())return typeof a.componentDidMount=="function"&&(e.flags|=Ne),!1;typeof f=="function"&&(ao(e,t,f,n),b=e.memoizedState);var x=no()||Bh(e,t,i,n,p,b,o);return x?(!y&&(typeof a.UNSAFE_componentWillMount=="function"||typeof a.componentWillMount=="function")&&(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=Ne)):(typeof a.componentDidMount=="function"&&(e.flags|=Ne),e.memoizedProps=n,e.memoizedState=b),a.props=n,a.state=b,a.context=o,x}function DC(e,t,n,r,a){var i=t.stateNode;Lh(e,t);var u=t.memoizedProps,l=t.type===t.elementType?u:Pn(t.type,u);i.props=l;var o=t.pendingProps,c=i.context,f=n.contextType,y=yn;if(typeof f=="object"&&f!==null)y=Et(f);else{var p=si(t,n,!0);y=ci(t,p)}var b=n.getDerivedStateFromProps,x=typeof b=="function"||typeof i.getSnapshotBeforeUpdate=="function";!x&&(typeof i.UNSAFE_componentWillReceiveProps=="function"||typeof i.componentWillReceiveProps=="function")&&(u!==o||c!==y)&&$h(t,i,r,y),Nh();var w=t.memoizedState,Y=i.state=w;if(wu(t,r,i,a),Y=t.memoizedState,u===o&&w===Y&&!Bl()&&!no())return typeof i.componentDidUpdate=="function"&&(u!==e.memoizedProps||w!==e.memoizedState)&&(t.flags|=Ne),typeof i.getSnapshotBeforeUpdate=="function"&&(u!==e.memoizedProps||w!==e.memoizedState)&&(t.flags|=fa),!1;typeof b=="function"&&(ao(t,n,b,r),Y=t.memoizedState);var ae=no()||Bh(t,n,l,r,w,Y,y);return ae?(!x&&(typeof i.UNSAFE_componentWillUpdate=="function"||typeof i.componentWillUpdate=="function")&&(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,Y,y),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,Y,y)),typeof i.componentDidUpdate=="function"&&(t.flags|=Ne),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=fa)):(typeof i.componentDidUpdate=="function"&&(u!==e.memoizedProps||w!==e.memoizedState)&&(t.flags|=Ne),typeof i.getSnapshotBeforeUpdate=="function"&&(u!==e.memoizedProps||w!==e.memoizedState)&&(t.flags|=fa),t.memoizedProps=r,t.memoizedState=Y),i.props=r,i.state=Y,i.context=y,ae}var Fc,Bc,Wc,Pc,$c,Yh=function(e,t){};Fc=!1,Bc=!1,Wc={},Pc={},$c={},Yh=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=A(t.type)||"Component";Pc[n]||(Pc[n]=!0,d('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var io=Array.isArray;function ku(e,t,n){var r=n.ref;if(r!==null&&typeof r!="function"&&typeof r!="object"){if((e.mode&ct||Rn)&&!(n._owner&&n._self&&n._owner.stateNode!==n._self)){var a=A(e.type)||"Component";Wc[a]||(d('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r),Wc[a]=!0)}if(n._owner){var i=n._owner,u;if(i){var l=i;if(l.tag!==B)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");u=l.stateNode}if(!u)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var o=""+r;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o)return t.ref;var c=function(f){var y=u.refs;y===Hh&&(y=u.refs={}),f===null?delete y[o]:y[o]=f};return c._stringRef=o,c}else{if(typeof r!="string")throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+`) but no owner was set. This could happen for one of the following reasons:
|
|
117
|
-
1. You may be adding a ref to a function component
|
|
118
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
119
|
-
3. You have multiple copies of React loaded
|
|
120
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return r}function uo(e,t){if(e.type!=="textarea")throw Error("Objects are not valid as a React child (found: "+(Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}function lo(e){{var t=A(e.type)||"Component";if($c[t])return;$c[t]=!0,d("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 qh(e){function t(g,R){if(!!e){var m=g.lastEffect;m!==null?(m.nextEffect=R,g.lastEffect=R):g.firstEffect=g.lastEffect=R,R.nextEffect=null,R.flags=gr}}function n(g,R){if(!e)return null;for(var m=R;m!==null;)t(g,m),m=m.sibling;return null}function r(g,R){for(var m=new Map,O=R;O!==null;)O.key!==null?m.set(O.key,O):m.set(O.index,O),O=O.sibling;return m}function a(g,R){var m=za(g,R);return m.index=0,m.sibling=null,m}function i(g,R,m){if(g.index=m,!e)return R;var O=g.alternate;if(O!==null){var M=O.index;return M<R?(g.flags=ht,R):M}else return g.flags=ht,R}function u(g){return e&&g.alternate===null&&(g.flags=ht),g}function l(g,R,m,O){if(R===null||R.tag!==me){var M=bd(m,g.mode,O);return M.return=g,M}else{var F=a(R,m);return F.return=g,F}}function o(g,R,m,O){if(R!==null&&(R.elementType===m.type||Dy(R,m))){var M=a(R,m.props);return M.ref=ku(g,R,m),M.return=g,M._debugSource=m._source,M._debugOwner=m._owner,M}var F=yd(m,g.mode,O);return F.ref=ku(g,R,m),F.return=g,F}function c(g,R,m,O){if(R===null||R.tag!==le||R.stateNode.containerInfo!==m.containerInfo||R.stateNode.implementation!==m.implementation){var M=Sd(m,g.mode,O);return M.return=g,M}else{var F=a(R,m.children||[]);return F.return=g,F}}function f(g,R,m,O,M){if(R===null||R.tag!==Yt){var F=Na(m,g.mode,O,M);return F.return=g,F}else{var he=a(R,m);return he.return=g,he}}function y(g,R,m){if(typeof R=="string"||typeof R=="number"){var O=bd(""+R,g.mode,m);return O.return=g,O}if(typeof R=="object"&&R!==null){switch(R.$$typeof){case St:{var M=yd(R,g.mode,m);return M.ref=ku(g,null,R),M.return=g,M}case Fe:{var F=Sd(R,g.mode,m);return F.return=g,F}}if(io(R)||xt(R)){var he=Na(R,g.mode,m,null);return he.return=g,he}uo(g,R)}return typeof R=="function"&&lo(g),null}function p(g,R,m,O){var M=R!==null?R.key:null;if(typeof m=="string"||typeof m=="number")return M!==null?null:l(g,R,""+m,O);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case St:return m.key===M?m.type===It?f(g,R,m.props.children,O,M):o(g,R,m,O):null;case Fe:return m.key===M?c(g,R,m,O):null}if(io(m)||xt(m))return M!==null?null:f(g,R,m,O,null);uo(g,m)}return typeof m=="function"&&lo(g),null}function b(g,R,m,O,M){if(typeof O=="string"||typeof O=="number"){var F=g.get(m)||null;return l(R,F,""+O,M)}if(typeof O=="object"&&O!==null){switch(O.$$typeof){case St:{var he=g.get(O.key===null?m:O.key)||null;return O.type===It?f(R,he,O.props.children,M,O.key):o(R,he,O,M)}case Fe:{var Pe=g.get(O.key===null?m:O.key)||null;return c(R,Pe,O,M)}}if(io(O)||xt(O)){var Ze=g.get(m)||null;return f(R,Ze,O,M,null)}uo(R,O)}return typeof O=="function"&&lo(R),null}function x(g,R,m){{if(typeof g!="object"||g===null)return R;switch(g.$$typeof){case St:case Fe:Yh(g,m);var O=g.key;if(typeof O!="string")break;if(R===null){R=new Set,R.add(O);break}if(!R.has(O)){R.add(O);break}d("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",O);break}}return R}function w(g,R,m,O){for(var M=null,F=0;F<m.length;F++){var he=m[F];M=x(he,M,g)}for(var Pe=null,Ze=null,we=R,Rt=0,Ce=0,et=null;we!==null&&Ce<m.length;Ce++){we.index>Ce?(et=we,we=null):et=we.sibling;var wt=p(g,we,m[Ce],O);if(wt===null){we===null&&(we=et);break}e&&we&&wt.alternate===null&&t(g,we),Rt=i(wt,Rt,Ce),Ze===null?Pe=wt:Ze.sibling=wt,Ze=wt,we=et}if(Ce===m.length)return n(g,we),Pe;if(we===null){for(;Ce<m.length;Ce++){var mt=y(g,m[Ce],O);mt!==null&&(Rt=i(mt,Rt,Ce),Ze===null?Pe=mt:Ze.sibling=mt,Ze=mt)}return Pe}for(var cr=r(g,we);Ce<m.length;Ce++){var yt=b(cr,g,Ce,m[Ce],O);yt!==null&&(e&&yt.alternate!==null&&cr.delete(yt.key===null?Ce:yt.key),Rt=i(yt,Rt,Ce),Ze===null?Pe=yt:Ze.sibling=yt,Ze=yt)}return e&&cr.forEach(function(fr){return t(g,fr)}),Pe}function Y(g,R,m,O){var M=xt(m);if(typeof M!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&m[Symbol.toStringTag]==="Generator"&&(Bc||d("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."),Bc=!0),m.entries===M&&(Fc||d("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Fc=!0);var F=M.call(m);if(F)for(var he=null,Pe=F.next();!Pe.done;Pe=F.next()){var Ze=Pe.value;he=x(Ze,he,g)}}var we=M.call(m);if(we==null)throw Error("An iterable object provided no iterator.");for(var Rt=null,Ce=null,et=R,wt=0,mt=0,cr=null,yt=we.next();et!==null&&!yt.done;mt++,yt=we.next()){et.index>mt?(cr=et,et=null):cr=et.sibling;var fr=p(g,et,yt.value,O);if(fr===null){et===null&&(et=cr);break}e&&et&&fr.alternate===null&&t(g,et),wt=i(fr,wt,mt),Ce===null?Rt=fr:Ce.sibling=fr,Ce=fr,et=cr}if(yt.done)return n(g,et),Rt;if(et===null){for(;!yt.done;mt++,yt=we.next()){var ja=y(g,yt.value,O);ja!==null&&(wt=i(ja,wt,mt),Ce===null?Rt=ja:Ce.sibling=ja,Ce=ja)}return Rt}for(var _d=r(g,et);!yt.done;mt++,yt=we.next()){var aa=b(_d,g,mt,yt.value,O);aa!==null&&(e&&aa.alternate!==null&&_d.delete(aa.key===null?mt:aa.key),wt=i(aa,wt,mt),Ce===null?Rt=aa:Ce.sibling=aa,Ce=aa)}return e&&_d.forEach(function(TD){return t(g,TD)}),Rt}function ae(g,R,m,O){if(R!==null&&R.tag===me){n(g,R.sibling);var M=a(R,m);return M.return=g,M}n(g,R);var F=bd(m,g.mode,O);return F.return=g,F}function K(g,R,m,O){for(var M=m.key,F=R;F!==null;){if(F.key===M){switch(F.tag){case Yt:{if(m.type===It){n(g,F.sibling);var he=a(F,m.props.children);return he.return=g,he._debugSource=m._source,he._debugOwner=m._owner,he}break}case ke:default:{if(F.elementType===m.type||Dy(F,m)){n(g,F.sibling);var Pe=a(F,m.props);return Pe.ref=ku(g,F,m),Pe.return=g,Pe._debugSource=m._source,Pe._debugOwner=m._owner,Pe}break}}n(g,F);break}else t(g,F);F=F.sibling}if(m.type===It){var Ze=Na(m.props.children,g.mode,O,m.key);return Ze.return=g,Ze}else{var we=yd(m,g.mode,O);return we.ref=ku(g,R,m),we.return=g,we}}function ge(g,R,m,O){for(var M=m.key,F=R;F!==null;){if(F.key===M)if(F.tag===le&&F.stateNode.containerInfo===m.containerInfo&&F.stateNode.implementation===m.implementation){n(g,F.sibling);var he=a(F,m.children||[]);return he.return=g,he}else{n(g,F);break}else t(g,F);F=F.sibling}var Pe=Sd(m,g.mode,O);return Pe.return=g,Pe}function Ue(g,R,m,O){var M=typeof m=="object"&&m!==null&&m.type===It&&m.key===null;M&&(m=m.props.children);var F=typeof m=="object"&&m!==null;if(F)switch(m.$$typeof){case St:return u(K(g,R,m,O));case Fe:return u(ge(g,R,m,O))}if(typeof m=="string"||typeof m=="number")return u(ae(g,R,""+m,O));if(io(m))return w(g,R,m,O);if(xt(m))return Y(g,R,m,O);if(F&&uo(g,m),typeof m=="function"&&lo(g),typeof m=="undefined"&&!M)switch(g.tag){case B:{var he=g.stateNode;if(he.render._isMockFunction)break}case ke:case Te:case N:case re:throw Error((A(g.type)||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return n(g,R)}return Ue}var oo=qh(!0),Ih=qh(!1);function _C(e,t){if(!(e===null||t.child===e.child))throw Error("Resuming work not yet implemented.");if(t.child!==null){var n=t.child,r=za(n,n.pendingProps);for(t.child=r,r.return=t;n.sibling!==null;)n=n.sibling,r=r.sibling=za(n,n.pendingProps),r.return=t;r.sibling=null}}function OC(e,t){for(var n=e.child;n!==null;)Fx(n,t),n=n.sibling}var Au={},Jr=Gr(Au),Mu=Gr(Au),so=Gr(Au);function co(e){if(e===Au)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Gh(){var e=co(so.current);return e}function Yc(e,t){Bt(so,t,e),Bt(Mu,e,e),Bt(Jr,Au,e);var n=oR(t);Ft(Jr,e),Bt(Jr,n,e)}function hi(e){Ft(Jr,e),Ft(Mu,e),Ft(so,e)}function qc(){var e=co(Jr.current);return e}function Qh(e){co(so.current);var t=co(Jr.current),n=sR(t,e.type);t!==n&&(Bt(Mu,e,e),Bt(Jr,n,e))}function Ic(e){Mu.current===e&&(Ft(Jr,e),Ft(Mu,e))}var wC=0,Xh=1,Gc=1,Uu=2,$n=Gr(wC);function fo(e,t){return(e&t)!=0}function Lu(e){return e&Xh}function Qc(e,t){return e&Xh|t}function kC(e,t){return e|t}function xa(e,t){Bt($n,t,e)}function mi(e){Ft($n,e)}function AC(e,t){var n=e.memoizedState;if(n!==null)return n.dehydrated!==null;var r=e.memoizedProps;return r.fallback===void 0?!1:r.unstable_avoidThisFallback!==!0?!0:!t}function vo(e){for(var t=e;t!==null;){if(t.tag===H){var n=t.memoizedState;if(n!==null){var r=n.dehydrated;if(r===null||UR(r)||LR(r))return t}}else if(t.tag===De&&t.memoizedProps.revealOrder!==void 0){var a=(t.flags&qe)!==lt;if(a)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Xc=0,yi=1,gi=2,zu=4,An=null,Da=null,Zr=!1;function MC(e){var t=e.stateNode.containerInfo;return Da=Zp(t),An=e,Zr=!0,!0}function Kh(e,t){switch(e.tag){case Q:WR(e.stateNode.containerInfo,t);break;case $:PR(e.type,e.memoizedProps,e.stateNode,t);break}var n=qx();n.stateNode=t,n.return=e,n.flags=gr,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Jh(e,t){switch(t.flags=t.flags&~br|ht,e.tag){case Q:{var n=e.stateNode.containerInfo;switch(t.tag){case $:var r=t.type;t.pendingProps,$R(n,r);break;case me:var a=t.pendingProps;YR(n,a);break}break}case $:{var i=e.type,u=e.memoizedProps,l=e.stateNode;switch(t.tag){case $:var o=t.type;t.pendingProps,qR(i,u,l,o);break;case me:var c=t.pendingProps;IR(i,u,l,c);break;case H:GR(i,u);break}break}default:return}}function Zh(e,t){switch(e.tag){case $:{var n=e.type;e.pendingProps;var r=AR(t,n);return r!==null?(e.stateNode=r,!0):!1}case me:{var a=e.pendingProps,i=MR(t,a);return i!==null?(e.stateNode=i,!0):!1}case H:return!1;default:return!1}}function Kc(e){if(!!Zr){var t=Da;if(!t){Jh(An,e),Zr=!1,An=e;return}var n=t;if(!Zh(e,t)){if(t=Ll(n),!t||!Zh(e,t)){Jh(An,e),Zr=!1,An=e;return}Kh(An,n)}An=e,Da=Zp(t)}}function UC(e,t,n){var r=e.stateNode,a=zR(r,e.type,e.memoizedProps,t,n,e);return e.updateQueue=a,a!==null}function LC(e){var t=e.stateNode,n=e.memoizedProps,r=NR(t,n,e);if(r){var a=An;if(a!==null)switch(a.tag){case Q:{var i=a.stateNode.containerInfo;FR(i,t,n);break}case $:{var u=a.type,l=a.memoizedProps,o=a.stateNode;BR(u,l,o,t,n);break}}}return r}function zC(e){var t=e.memoizedState,n=t!==null?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return jR(n)}function em(e){for(var t=e.return;t!==null&&t.tag!==$&&t.tag!==Q&&t.tag!==H;)t=t.return;An=t}function po(e){if(e!==An)return!1;if(!Zr)return em(e),Zr=!0,!1;var t=e.type;if(e.tag!==$||t!=="head"&&t!=="body"&&!cc(t,e.memoizedProps))for(var n=Da;n;)Kh(e,n),n=Ll(n);return em(e),e.tag===H?Da=zC(e):Da=An?Ll(e.stateNode):null,!0}function Jc(){An=null,Da=null,Zr=!1}function Zc(){return Zr}var Nu=[],ef;ef={};function NC(e){Nu.push(e)}function tf(){for(var e=0;e<Nu.length;e++){var t=Nu[e];t._workInProgressVersionPrimary=null}Nu.length=0}function jC(e){return e._workInProgressVersionPrimary}function tm(e,t){e._workInProgressVersionPrimary=t,Nu.push(e)}function HC(e){e._currentPrimaryRenderer==null?e._currentPrimaryRenderer=ef:e._currentPrimaryRenderer!==ef&&d("Detected multiple renderers concurrently rendering the same mutable source. This is currently unsupported.")}var z=de.ReactCurrentDispatcher,Mn=de.ReactCurrentBatchConfig,nf,rf;rf={},nf=new Set;var ju=D,je=null,Pt=null,Ot=null,ho=!1,Hu=!1,VC=25,_=null,Un=null,ea=-1,af=!1;function Me(){{var e=_;Un===null?Un=[e]:Un.push(e)}}function j(){{var e=_;Un!==null&&(ea++,Un[ea]!==e&&FC(e))}}function Vu(e){e!=null&&!Array.isArray(e)&&d("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",_,typeof e)}function FC(e){{var t=A(je.type);if(!nf.has(t)&&(nf.add(t),Un!==null)){for(var n="",r=30,a=0;a<=ea;a++){for(var i=Un[a],u=a===ea?e:i,l=a+1+". "+i;l.length<r;)l+=" ";l+=u+`
|
|
121
|
-
`,n+=l}d(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
122
|
-
|
|
123
|
-
Previous render Next render
|
|
124
|
-
------------------------------------------------------
|
|
125
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
126
|
-
`,t,n)}}}function ln(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
127
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
128
|
-
2. You might be breaking the Rules of Hooks
|
|
129
|
-
3. You might have more than one copy of React in the same app
|
|
130
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function uf(e,t){if(af)return!1;if(t===null)return d("%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.",_),!1;e.length!==t.length&&d(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
131
|
-
|
|
132
|
-
Previous: %s
|
|
133
|
-
Incoming: %s`,_,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!wn(e[n],t[n]))return!1;return!0}function bi(e,t,n,r,a,i){ju=i,je=t,Un=e!==null?e._debugHookTypes:null,ea=-1,af=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=D,e!==null&&e.memoizedState!==null?z.current=mm:Un!==null?z.current=hm:z.current=pm;var u=n(r,a);if(Hu){var l=0;do{if(Hu=!1,!(l<VC))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,af=!1,Pt=null,Ot=null,t.updateQueue=null,ea=-1,z.current=ym,u=n(r,a)}while(Hu)}z.current=Oo,t._debugHookTypes=Un;var o=Pt!==null&&Pt.next!==null;if(ju=D,je=null,Pt=null,Ot=null,_=null,Un=null,ea=-1,ho=!1,o)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return u}function nm(e,t,n){t.updateQueue=e.updateQueue,t.flags&=~(Ii|Ne),e.lanes=El(e.lanes,n)}function rm(){if(z.current=Oo,ho){for(var e=je.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ho=!1}ju=D,je=null,Pt=null,Ot=null,Un=null,ea=-1,_=null,_o=!1,Hu=!1}function _a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ot===null?je.memoizedState=Ot=e:Ot=Ot.next=e,Ot}function Oa(){var e;if(Pt===null){var t=je.alternate;t!==null?e=t.memoizedState:e=null}else e=Pt.next;var n;if(Ot===null?n=je.memoizedState:n=Ot.next,n!==null)Ot=n,n=Ot.next,Pt=e;else{if(e===null)throw Error("Rendered more hooks than during the previous render.");Pt=e;var r={memoizedState:Pt.memoizedState,baseState:Pt.baseState,baseQueue:Pt.baseQueue,queue:Pt.queue,next:null};Ot===null?je.memoizedState=Ot=r:Ot=Ot.next=r}return Ot}function BC(){return{lastEffect:null}}function mo(e,t){return typeof t=="function"?t(e):t}function lf(e,t,n){var r=_a(),a;n!==void 0?a=n(t):a=t,r.memoizedState=r.baseState=a;var i=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},u=i.dispatch=Sf.bind(null,je,i);return[r.memoizedState,u]}function of(e,t,n){var r=Oa(),a=r.queue;if(a===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var i=Pt,u=i.baseQueue,l=a.pending;if(l!==null){if(u!==null){var o=u.next,c=l.next;u.next=c,l.next=o}i.baseQueue!==u&&d("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=u=l,a.pending=null}if(u!==null){var f=u.next,y=i.baseState,p=null,b=null,x=null,w=f;do{var Y=w.lane;if(ma(ju,Y)){if(x!==null){var K={lane:rn,action:w.action,eagerReducer:w.eagerReducer,eagerState:w.eagerState,next:null};x=x.next=K}if(w.eagerReducer===e)y=w.eagerState;else{var ge=w.action;y=e(y,ge)}}else{var ae={lane:Y,action:w.action,eagerReducer:w.eagerReducer,eagerState:w.eagerState,next:null};x===null?(b=x=ae,p=y):x=x.next=ae,je.lanes=Oe(je.lanes,Y),id(Y)}w=w.next}while(w!==null&&w!==f);x===null?p=y:x.next=b,wn(y,r.memoizedState)||Lf(),r.memoizedState=y,r.baseState=p,r.baseQueue=x,a.lastRenderedState=y}var Ue=a.dispatch;return[r.memoizedState,Ue]}function sf(e,t,n){var r=Oa(),a=r.queue;if(a===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var i=a.dispatch,u=a.pending,l=r.memoizedState;if(u!==null){a.pending=null;var o=u.next,c=o;do{var f=c.action;l=e(l,f),c=c.next}while(c!==o);wn(l,r.memoizedState)||Lf(),r.memoizedState=l,r.baseQueue===null&&(r.baseState=l),a.lastRenderedState=l}return[l,i]}function am(e,t,n){HC(t);var r=t._getVersion,a=r(t._source),i=!1,u=jC(t);if(u!==null?i=u===a:(i=ma(ju,e.mutableReadLanes),i&&tm(t,a)),i){var l=n(t._source);return typeof l=="function"&&d("Mutable source should not return a function as the snapshot value. Functions may close over mutable values and cause tearing."),l}else throw NC(t),Error("Cannot read from mutable source during the current render without tearing. This is a bug in React. Please file an issue.")}function im(e,t,n,r){var a=$T();if(a===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");var i=t._getVersion,u=i(t._source),l=z.current,o=l.useState(function(){return am(a,t,n)}),c=o[0],f=o[1],y=c,p=Ot,b=e.memoizedState,x=b.refs,w=x.getSnapshot,Y=b.source,ae=b.subscribe,K=je;if(e.memoizedState={refs:x,source:t,subscribe:r},l.useEffect(function(){x.getSnapshot=n,x.setSnapshot=f;var Ue=i(t._source);if(!wn(u,Ue)){var g=n(t._source);if(typeof g=="function"&&d("Mutable source should not return a function as the snapshot value. Functions may close over mutable values and cause tearing."),!wn(y,g)){f(g);var R=ta(K);Qv(a,R)}rS(a,a.mutableReadLanes)}},[n,t,r]),l.useEffect(function(){var Ue=function(){var R=x.getSnapshot,m=x.setSnapshot;try{m(R(t._source));var O=ta(K);Qv(a,O)}catch(M){m(function(){throw M})}},g=r(t._source,Ue);return typeof g!="function"&&d("Mutable source subscribe function must return an unsubscribe function."),g},[t,r]),!wn(w,n)||!wn(Y,t)||!wn(ae,r)){var ge={pending:null,dispatch:null,lastRenderedReducer:mo,lastRenderedState:y};ge.dispatch=f=Sf.bind(null,je,ge),p.queue=ge,p.baseQueue=null,y=am(a,t,n),p.memoizedState=p.baseState=y}return y}function cf(e,t,n){var r=_a();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},im(r,e,t,n)}function yo(e,t,n){var r=Oa();return im(r,e,t,n)}function wa(e){var t=_a();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var n=t.queue={pending:null,dispatch:null,lastRenderedReducer:mo,lastRenderedState:e},r=n.dispatch=Sf.bind(null,je,n);return[t.memoizedState,r]}function Fu(e){return of(mo)}function Bu(e){return sf(mo)}function go(e,t,n,r){var a={tag:e,create:t,destroy:n,deps:r,next:null},i=je.updateQueue;if(i===null)i=BC(),je.updateQueue=i,i.lastEffect=a.next=a;else{var u=i.lastEffect;if(u===null)i.lastEffect=a.next=a;else{var l=u.next;u.next=a,a.next=l,i.lastEffect=a}}return a}function bo(e){var t=_a(),n={current:e};return Object.seal(n),t.memoizedState=n,n}function Si(e){var t=Oa();return t.memoizedState}function ff(e,t,n,r){var a=_a(),i=r===void 0?null:r;je.flags|=e,a.memoizedState=go(yi|t,n,void 0,i)}function df(e,t,n,r){var a=Oa(),i=r===void 0?null:r,u=void 0;if(Pt!==null){var l=Pt.memoizedState;if(u=l.destroy,i!==null){var o=l.deps;if(uf(i,o)){go(t,n,u,i);return}}}je.flags|=e,a.memoizedState=go(yi|t,n,u,i)}function So(e,t){return typeof jest!="undefined"&&Sy(je),ff(Ne|Ii,zu,e,t)}function Ei(e,t){return typeof jest!="undefined"&&Sy(je),df(Ne|Ii,zu,e,t)}function vf(e,t){return ff(Ne,gi,e,t)}function Eo(e,t){return df(Ne,gi,e,t)}function um(e,t){if(typeof t=="function"){var n=t,r=e();return n(r),function(){n(null)}}else if(t!=null){var a=t;a.hasOwnProperty("current")||d("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}");var i=e();return a.current=i,function(){a.current=null}}}function pf(e,t,n){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var r=n!=null?n.concat([e]):null;return ff(Ne,gi,um.bind(null,t,e),r)}function Ro(e,t,n){typeof t!="function"&&d("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var r=n!=null?n.concat([e]):null;return df(Ne,gi,um.bind(null,t,e),r)}function Co(e,t){}var To=Co;function hf(e,t){var n=_a(),r=t===void 0?null:t;return n.memoizedState=[e,r],e}function xo(e,t){var n=Oa(),r=t===void 0?null:t,a=n.memoizedState;if(a!==null&&r!==null){var i=a[1];if(uf(r,i))return a[0]}return n.memoizedState=[e,r],e}function mf(e,t){var n=_a(),r=t===void 0?null:t,a=e();return n.memoizedState=[a,r],a}function Do(e,t){var n=Oa(),r=t===void 0?null:t,a=n.memoizedState;if(a!==null&&r!==null){var i=a[1];if(uf(r,i))return a[0]}var u=e();return n.memoizedState=[u,r],u}function yf(e){var t=wa(e),n=t[0],r=t[1];return So(function(){var a=Mn.transition;Mn.transition=1;try{r(e)}finally{Mn.transition=a}},[e]),n}function lm(e){var t=Fu(),n=t[0],r=t[1];return Ei(function(){var a=Mn.transition;Mn.transition=1;try{r(e)}finally{Mn.transition=a}},[e]),n}function om(e){var t=Bu(),n=t[0],r=t[1];return Ei(function(){var a=Mn.transition;Mn.transition=1;try{r(e)}finally{Mn.transition=a}},[e]),n}function WC(e,t){var n=di();Ea(n<Sa?Sa:n,function(){e(!0)}),Ea(n>Tr?Tr:n,function(){var r=Mn.transition;Mn.transition=1;try{e(!1),t()}finally{Mn.transition=r}})}function gf(){var e=wa(!1),t=e[0],n=e[1],r=WC.bind(null,n);return bo(r),[r,t]}function sm(){var e=Fu(),t=e[0],n=Si(),r=n.current;return[r,t]}function cm(){var e=Bu(),t=e[0],n=Si(),r=n.current;return[r,t]}var _o=!1;function PC(){return _o}function fm(e){{var t=A(e.type)||"Unknown";ls()&&!rf[t]&&(d("The object passed back from useOpaqueIdentifier is meant to be passed through to attributes only. Do not read the value directly."),rf[t]=!0)}}function bf(){var e=XR.bind(null,fm.bind(null,je));if(Zc()){var t=!1,n=je,r=function(){throw t||(t=!0,_o=!0,i(e()),_o=!1,fm(n)),Error("The object passed back from useOpaqueIdentifier is meant to be passed through to attributes only. Do not read the value directly.")},a=JR(r),i=wa(a)[1];return(je.mode&un)===Je&&(je.flags|=Ne|Ii,go(yi|zu,function(){i(e())},void 0,null)),a}else{var u=e();return wa(u),u}}function dm(){var e=Fu()[0];return e}function vm(){var e=Bu()[0];return e}function Sf(e,t,n){typeof arguments[3]=="function"&&d("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Sn(),a=ta(e),i={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},u=t.pending;u===null?i.next=i:(i.next=u.next,u.next=i),t.pending=i;var l=e.alternate;if(e===je||l!==null&&l===je)Hu=ho=!0;else{if(e.lanes===D&&(l===null||l.lanes===D)){var o=t.lastRenderedReducer;if(o!==null){var c;c=z.current,z.current=Yn;try{var f=t.lastRenderedState,y=o(f,n);if(i.eagerReducer=o,i.eagerState=y,wn(y,f))return}catch{}finally{z.current=c}}}typeof jest!="undefined"&&(by(e),Dx(e)),$t(e,a,r)}}var Oo={readContext:Et,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useLayoutEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useMutableSource:ln,useOpaqueIdentifier:ln,unstable_isNewReconciler:rt},pm=null,hm=null,mm=null,ym=null,ir=null,Yn=null,wo=null;{var Ef=function(){d("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().")},ue=function(){d("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")};pm={readContext:function(e,t){return Et(e,t)},useCallback:function(e,t){return _="useCallback",Me(),Vu(t),hf(e,t)},useContext:function(e,t){return _="useContext",Me(),Et(e,t)},useEffect:function(e,t){return _="useEffect",Me(),Vu(t),So(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",Me(),Vu(n),pf(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",Me(),Vu(t),vf(e,t)},useMemo:function(e,t){_="useMemo",Me(),Vu(t);var n=z.current;z.current=ir;try{return mf(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",Me();var r=z.current;z.current=ir;try{return lf(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",Me(),bo(e)},useState:function(e){_="useState",Me();var t=z.current;z.current=ir;try{return wa(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",Me(),Co()},useDeferredValue:function(e){return _="useDeferredValue",Me(),yf(e)},useTransition:function(){return _="useTransition",Me(),gf()},useMutableSource:function(e,t,n){return _="useMutableSource",Me(),cf(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",Me(),bf()},unstable_isNewReconciler:rt},hm={readContext:function(e,t){return Et(e,t)},useCallback:function(e,t){return _="useCallback",j(),hf(e,t)},useContext:function(e,t){return _="useContext",j(),Et(e,t)},useEffect:function(e,t){return _="useEffect",j(),So(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",j(),pf(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",j(),vf(e,t)},useMemo:function(e,t){_="useMemo",j();var n=z.current;z.current=ir;try{return mf(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",j();var r=z.current;z.current=ir;try{return lf(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",j(),bo(e)},useState:function(e){_="useState",j();var t=z.current;z.current=ir;try{return wa(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",j(),Co()},useDeferredValue:function(e){return _="useDeferredValue",j(),yf(e)},useTransition:function(){return _="useTransition",j(),gf()},useMutableSource:function(e,t,n){return _="useMutableSource",j(),cf(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",j(),bf()},unstable_isNewReconciler:rt},mm={readContext:function(e,t){return Et(e,t)},useCallback:function(e,t){return _="useCallback",j(),xo(e,t)},useContext:function(e,t){return _="useContext",j(),Et(e,t)},useEffect:function(e,t){return _="useEffect",j(),Ei(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",j(),Ro(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",j(),Eo(e,t)},useMemo:function(e,t){_="useMemo",j();var n=z.current;z.current=Yn;try{return Do(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",j();var r=z.current;z.current=Yn;try{return of(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",j(),Si()},useState:function(e){_="useState",j();var t=z.current;z.current=Yn;try{return Fu(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",j(),To()},useDeferredValue:function(e){return _="useDeferredValue",j(),lm(e)},useTransition:function(){return _="useTransition",j(),sm()},useMutableSource:function(e,t,n){return _="useMutableSource",j(),yo(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",j(),dm()},unstable_isNewReconciler:rt},ym={readContext:function(e,t){return Et(e,t)},useCallback:function(e,t){return _="useCallback",j(),xo(e,t)},useContext:function(e,t){return _="useContext",j(),Et(e,t)},useEffect:function(e,t){return _="useEffect",j(),Ei(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",j(),Ro(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",j(),Eo(e,t)},useMemo:function(e,t){_="useMemo",j();var n=z.current;z.current=wo;try{return Do(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",j();var r=z.current;z.current=wo;try{return sf(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",j(),Si()},useState:function(e){_="useState",j();var t=z.current;z.current=wo;try{return Bu(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",j(),To()},useDeferredValue:function(e){return _="useDeferredValue",j(),om(e)},useTransition:function(){return _="useTransition",j(),cm()},useMutableSource:function(e,t,n){return _="useMutableSource",j(),yo(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",j(),vm()},unstable_isNewReconciler:rt},ir={readContext:function(e,t){return Ef(),Et(e,t)},useCallback:function(e,t){return _="useCallback",ue(),Me(),hf(e,t)},useContext:function(e,t){return _="useContext",ue(),Me(),Et(e,t)},useEffect:function(e,t){return _="useEffect",ue(),Me(),So(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",ue(),Me(),pf(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",ue(),Me(),vf(e,t)},useMemo:function(e,t){_="useMemo",ue(),Me();var n=z.current;z.current=ir;try{return mf(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",ue(),Me();var r=z.current;z.current=ir;try{return lf(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",ue(),Me(),bo(e)},useState:function(e){_="useState",ue(),Me();var t=z.current;z.current=ir;try{return wa(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",ue(),Me(),Co()},useDeferredValue:function(e){return _="useDeferredValue",ue(),Me(),yf(e)},useTransition:function(){return _="useTransition",ue(),Me(),gf()},useMutableSource:function(e,t,n){return _="useMutableSource",ue(),Me(),cf(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",ue(),Me(),bf()},unstable_isNewReconciler:rt},Yn={readContext:function(e,t){return Ef(),Et(e,t)},useCallback:function(e,t){return _="useCallback",ue(),j(),xo(e,t)},useContext:function(e,t){return _="useContext",ue(),j(),Et(e,t)},useEffect:function(e,t){return _="useEffect",ue(),j(),Ei(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",ue(),j(),Ro(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",ue(),j(),Eo(e,t)},useMemo:function(e,t){_="useMemo",ue(),j();var n=z.current;z.current=Yn;try{return Do(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",ue(),j();var r=z.current;z.current=Yn;try{return of(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",ue(),j(),Si()},useState:function(e){_="useState",ue(),j();var t=z.current;z.current=Yn;try{return Fu(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",ue(),j(),To()},useDeferredValue:function(e){return _="useDeferredValue",ue(),j(),lm(e)},useTransition:function(){return _="useTransition",ue(),j(),sm()},useMutableSource:function(e,t,n){return _="useMutableSource",ue(),j(),yo(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",ue(),j(),dm()},unstable_isNewReconciler:rt},wo={readContext:function(e,t){return Ef(),Et(e,t)},useCallback:function(e,t){return _="useCallback",ue(),j(),xo(e,t)},useContext:function(e,t){return _="useContext",ue(),j(),Et(e,t)},useEffect:function(e,t){return _="useEffect",ue(),j(),Ei(e,t)},useImperativeHandle:function(e,t,n){return _="useImperativeHandle",ue(),j(),Ro(e,t,n)},useLayoutEffect:function(e,t){return _="useLayoutEffect",ue(),j(),Eo(e,t)},useMemo:function(e,t){_="useMemo",ue(),j();var n=z.current;z.current=Yn;try{return Do(e,t)}finally{z.current=n}},useReducer:function(e,t,n){_="useReducer",ue(),j();var r=z.current;z.current=Yn;try{return sf(e,t,n)}finally{z.current=r}},useRef:function(e){return _="useRef",ue(),j(),Si()},useState:function(e){_="useState",ue(),j();var t=z.current;z.current=Yn;try{return Bu(e)}finally{z.current=t}},useDebugValue:function(e,t){return _="useDebugValue",ue(),j(),To()},useDeferredValue:function(e){return _="useDeferredValue",ue(),j(),om(e)},useTransition:function(){return _="useTransition",ue(),j(),cm()},useMutableSource:function(e,t,n){return _="useMutableSource",ue(),j(),yo(e,t,n)},useOpaqueIdentifier:function(){return _="useOpaqueIdentifier",ue(),j(),vm()},unstable_isNewReconciler:rt}}var ko=ee.unstable_now,gm=0,Wu=-1;function $C(){return gm}function bm(){gm=ko()}function Rf(e){Wu=ko(),e.actualStartTime<0&&(e.actualStartTime=ko())}function Sm(e){Wu=-1}function Ao(e,t){if(Wu>=0){var n=ko()-Wu;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Wu=-1}}function Cf(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}var Pu=de.ReactCurrentOwner,ur=!1,Tf,$u,xf,Df,_f,ka,Of,Mo;Tf={},$u={},xf={},Df={},_f={},ka=!1,Of={},Mo={};function on(e,t,n,r){e===null?t.child=Ih(t,null,n,r):t.child=oo(t,e.child,n,r)}function YC(e,t,n,r){t.child=oo(t,e.child,null,r),t.child=oo(t,null,n,r)}function Em(e,t,n,r,a){if(t.type!==t.elementType){var i=n.propTypes;i&&Bn(i,r,"prop",A(n))}var u=n.render,l=t.ref,o;pi(t,a);{if(Pu.current=t,pn(!0),o=bi(e,t,u,r,l,a),t.mode&ct){Dn();try{o=bi(e,t,u,r,l,a)}finally{_n()}}pn(!1)}return e!==null&&!ur?(nm(e,t,a),Dr(e,t,a)):(t.flags|=Pr,on(e,t,o,a),t.child)}function Rm(e,t,n,r,a,i){if(e===null){var u=n.type;if(Hx(u)&&n.compare===null&&n.defaultProps===void 0){var l=u;return l=wi(u),t.tag=re,t.type=l,Mf(t,u),Cm(e,t,l,r,a,i)}{var o=u.propTypes;o&&Bn(o,r,"prop",A(u))}var c=md(n.type,null,r,t,t.mode,i);return c.ref=t.ref,c.return=t,t.child=c,c}{var f=n.type,y=f.propTypes;y&&Bn(y,r,"prop",A(f))}var p=e.child;if(!Vt(a,i)){var b=p.memoizedProps,x=n.compare;if(x=x!==null?x:cu,x(b,r)&&e.ref===t.ref)return Dr(e,t,i)}t.flags|=Pr;var w=za(p,r);return w.ref=t.ref,w.return=t,t.child=w,w}function Cm(e,t,n,r,a,i){if(t.type!==t.elementType){var u=t.elementType;if(u.$$typeof===T){var l=u,o=l._payload,c=l._init;try{u=c(o)}catch{u=null}var f=u&&u.propTypes;f&&Bn(f,r,"prop",A(u))}}if(e!==null){var y=e.memoizedProps;if(cu(y,r)&&e.ref===t.ref&&t.type===e.type)if(ur=!1,Vt(i,a))(e.flags&As)!==lt&&(ur=!0);else return t.lanes=e.lanes,Dr(e,t,i)}return kf(e,t,n,r,i)}function wf(e,t,n){var r=t.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden"||r.mode==="unstable-defer-without-hiding")if((t.mode&Ra)===Je){var u={baseLanes:D};t.memoizedState=u,Go(t,n)}else if(Vt(n,er)){var f={baseLanes:D};t.memoizedState=f;var y=i!==null?i.baseLanes:n;Go(t,y)}else{var l;if(i!==null){var o=i.baseLanes;l=Oe(o,n)}else l=n;es(er),t.lanes=t.childLanes=Kb(er);var c={baseLanes:l};return t.memoizedState=c,Go(t,l),null}else{var p;i!==null?(p=Oe(i.baseLanes,n),t.memoizedState=null):p=n,Go(t,p)}return on(e,t,a,n),t.child}var qC=wf;function IC(e,t,n){var r=t.pendingProps;return on(e,t,r,n),t.child}function GC(e,t,n){var r=t.pendingProps.children;return on(e,t,r,n),t.child}function QC(e,t,n){{t.flags|=Ne;var r=t.stateNode;r.effectDuration=0,r.passiveEffectDuration=0}var a=t.pendingProps,i=a.children;return on(e,t,i,n),t.child}function Tm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=cl)}function kf(e,t,n,r,a){if(t.type!==t.elementType){var i=n.propTypes;i&&Bn(i,r,"prop",A(n))}var u;{var l=si(t,n,!0);u=ci(t,l)}var o;pi(t,a);{if(Pu.current=t,pn(!0),o=bi(e,t,n,r,u,a),t.mode&ct){Dn();try{o=bi(e,t,n,r,u,a)}finally{_n()}}pn(!1)}return e!==null&&!ur?(nm(e,t,a),Dr(e,t,a)):(t.flags|=Pr,on(e,t,o,a),t.child)}function xm(e,t,n,r,a){if(t.type!==t.elementType){var i=n.propTypes;i&&Bn(i,r,"prop",A(n))}var u;nr(n)?(u=!0,Pl(t)):u=!1,pi(t,a);var l=t.stateNode,o;l===null?(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=ht),Ph(t,n,r),Vc(t,n,r,a),o=!0):e===null?o=xC(t,n,r,a):o=DC(e,t,n,r,a);var c=Af(e,t,n,o,u,a);{var f=t.stateNode;o&&f.props!==r&&(ka||d("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",A(t.type)||"a component"),ka=!0)}return c}function Af(e,t,n,r,a,i){Tm(e,t);var u=(t.flags&qe)!==lt;if(!r&&!u)return a&&ch(t,n,!1),Dr(e,t,i);var l=t.stateNode;Pu.current=t;var o;if(u&&typeof n.getDerivedStateFromError!="function")o=null,Sm();else{if(pn(!0),o=l.render(),t.mode&ct){Dn();try{l.render()}finally{_n()}}pn(!1)}return t.flags|=Pr,e!==null&&u?YC(e,t,o,i):on(e,t,o,i),t.memoizedState=l.state,a&&ch(t,n,!0),t.child}function Dm(e){var t=e.stateNode;t.pendingContext?oh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oh(e,t.context,!1),Yc(e,t.containerInfo)}function XC(e,t,n){Dm(t);var r=t.updateQueue;if(!(e!==null&&r!==null))throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var a=t.pendingProps,i=t.memoizedState,u=i!==null?i.element:null;Lh(e,t),wu(t,a,null,n);var l=t.memoizedState,o=l.element;if(o===u)return Jc(),Dr(e,t,n);var c=t.stateNode;if(c.hydrate&&MC(t)){{var f=c.mutableSourceEagerHydrationData;if(f!=null)for(var y=0;y<f.length;y+=2){var p=f[y],b=f[y+1];tm(p,b)}}var x=Ih(t,null,o,n);t.child=x;for(var w=x;w;)w.flags=w.flags&~ht|br,w=w.sibling}else on(e,t,o,n),Jc();return t.child}function KC(e,t,n){Qh(t),e===null&&Kc(t);var r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,u=a.children,l=cc(r,a);return l?u=null:i!==null&&cc(r,i)&&(t.flags|=sl),Tm(e,t),on(e,t,u,n),t.child}function JC(e,t){return e===null&&Kc(t),null}function ZC(e,t,n,r,a){e!==null&&(e.alternate=null,t.alternate=null,t.flags|=ht);var i=t.pendingProps,u=n,l=u._payload,o=u._init,c=o(l);t.type=c;var f=t.tag=Vx(c),y=Pn(c,i),p;switch(f){case Te:return Mf(t,c),t.type=c=wi(c),p=kf(null,t,c,y,a),p;case B:return t.type=c=cd(c),p=xm(null,t,c,y,a),p;case N:return t.type=c=fd(c),p=Em(null,t,c,y,a),p;case ne:{if(t.type!==t.elementType){var b=c.propTypes;b&&Bn(b,y,"prop",A(c))}return p=Rm(null,t,c,Pn(c.type,y),r,a),p}}var x="";throw c!==null&&typeof c=="object"&&c.$$typeof===T&&(x=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+x)}function eT(e,t,n,r,a){e!==null&&(e.alternate=null,t.alternate=null,t.flags|=ht),t.tag=B;var i;return nr(n)?(i=!0,Pl(t)):i=!1,pi(t,a),Ph(t,n,r),Vc(t,n,r,a),Af(null,t,n,!0,i,a)}function tT(e,t,n,r){e!==null&&(e.alternate=null,t.alternate=null,t.flags|=ht);var a=t.pendingProps,i;{var u=si(t,n,!1);i=ci(t,u)}pi(t,r);var l;{if(n.prototype&&typeof n.prototype.render=="function"){var o=A(n)||"Unknown";Tf[o]||(d("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.",o,o),Tf[o]=!0)}t.mode&ct&&Wn.recordLegacyContextWarning(t,null),pn(!0),Pu.current=t,l=bi(null,t,n,a,i,r),pn(!1)}if(t.flags|=Pr,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0){var c=A(n)||"Unknown";$u[c]||(d("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),$u[c]=!0)}if(typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0){{var f=A(n)||"Unknown";$u[f]||(d("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.",f,f,f),$u[f]=!0)}t.tag=B,t.memoizedState=null,t.updateQueue=null;var y=!1;nr(n)?(y=!0,Pl(t)):y=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Oc(t);var p=n.getDerivedStateFromProps;return typeof p=="function"&&ao(t,n,p,a),Wh(t,l),Vc(t,n,a,r),Af(null,t,n,!0,y,r)}else{if(t.tag=Te,t.mode&ct){Dn();try{l=bi(null,t,n,a,i,r)}finally{_n()}}return on(null,t,l,r),Mf(t,n),t.child}}function Mf(e,t){{if(t&&t.childContextTypes&&d("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var n="",r=Vr();r&&(n+=`
|
|
134
|
-
|
|
135
|
-
Check the render method of \``+r+"`.");var a=r||e._debugID||"",i=e._debugSource;i&&(a=i.fileName+":"+i.lineNumber),_f[a]||(_f[a]=!0,d("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(typeof t.getDerivedStateFromProps=="function"){var u=A(t)||"Unknown";Df[u]||(d("%s: Function components do not support getDerivedStateFromProps.",u),Df[u]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var l=A(t)||"Unknown";xf[l]||(d("%s: Function components do not support contextType.",l),xf[l]=!0)}}}var Uo={dehydrated:null,retryLane:rn};function Lo(e){return{baseLanes:e}}function _m(e,t){return{baseLanes:Oe(e.baseLanes,t)}}function nT(e,t,n,r){if(t!==null){var a=t.memoizedState;if(a===null)return!1}return fo(e,Uu)}function Om(e,t){return El(e.childLanes,t)}function wm(e,t,n){var r=t.pendingProps;aD(t)&&(t.flags|=qe);var a=$n.current,i=!1,u=(t.flags&qe)!==lt;if(u||nT(a,e)?(i=!0,t.flags&=~qe):(e===null||e.memoizedState!==null)&&r.fallback!==void 0&&r.unstable_avoidThisFallback!==!0&&(a=kC(a,Gc)),a=Lu(a),xa(t,a),e===null){r.fallback!==void 0&&Kc(t);var l=r.children,o=r.fallback;if(i){var c=km(t,l,o,n),f=t.child;return f.memoizedState=Lo(n),t.memoizedState=Uo,c}else if(typeof r.unstable_expectedLoadTime=="number"){var y=km(t,l,o,n),p=t.child;return p.memoizedState=Lo(n),t.memoizedState=Uo,t.lanes=ei,es(ei),y}else return rT(t,l,n)}else{var b=e.memoizedState;if(b!==null)if(i){var x=r.fallback,w=r.children,Y=Um(e,t,w,x,n),ae=t.child,K=e.child.memoizedState;return ae.memoizedState=K===null?Lo(n):_m(K,n),ae.childLanes=Om(e,n),t.memoizedState=Uo,Y}else{var ge=r.children,Ue=Mm(e,t,ge,n);return t.memoizedState=null,Ue}else if(i){var g=r.fallback,R=r.children,m=Um(e,t,R,g,n),O=t.child,M=e.child.memoizedState;return O.memoizedState=M===null?Lo(n):_m(M,n),O.childLanes=Om(e,n),t.memoizedState=Uo,m}else{var F=r.children,he=Mm(e,t,F,n);return t.memoizedState=null,he}}}function rT(e,t,n){var r=e.mode,a={mode:"visible",children:t},i=gd(a,r,n,null);return i.return=e,e.child=i,i}function km(e,t,n,r){var a=e.mode,i=e.child,u={mode:"hidden",children:t},l,o;return(a&un)===Je&&i!==null?(l=i,l.childLanes=D,l.pendingProps=u,e.mode&gn&&(l.actualDuration=0,l.actualStartTime=-1,l.selfBaseDuration=0,l.treeBaseDuration=0),o=Na(n,a,r,null)):(l=gd(u,a,D,null),o=Na(n,a,r,null)),l.return=e,o.return=e,l.sibling=o,e.child=l,o}function Am(e,t){return za(e,t)}function Mm(e,t,n,r){var a=e.child,i=a.sibling,u=Am(a,{mode:"visible",children:n});return(t.mode&un)===Je&&(u.lanes=r),u.return=t,u.sibling=null,i!==null&&(i.nextEffect=null,i.flags=gr,t.firstEffect=t.lastEffect=i),t.child=u,u}function Um(e,t,n,r,a){var i=t.mode,u=e.child,l=u.sibling,o={mode:"hidden",children:n},c;if((i&un)===Je&&t.child!==u){var f=t.child;c=f,c.childLanes=D,c.pendingProps=o,t.mode&gn&&(c.actualDuration=0,c.actualStartTime=-1,c.selfBaseDuration=u.selfBaseDuration,c.treeBaseDuration=u.treeBaseDuration);var y=c.lastEffect;y!==null?(t.firstEffect=c.firstEffect,t.lastEffect=y,y.nextEffect=null):t.firstEffect=t.lastEffect=null}else c=Am(u,o);var p;return l!==null?p=za(l,r):(p=Na(r,i,a,null),p.flags|=ht),p.return=t,c.return=t,c.sibling=p,t.child=c,p}function Lm(e,t){e.lanes=Oe(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Oe(n.lanes,t)),Ah(e.return,t)}function aT(e,t,n){for(var r=t;r!==null;){if(r.tag===H){var a=r.memoizedState;a!==null&&Lm(r,n)}else if(r.tag===De)Lm(r,n);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)return;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function iT(e){for(var t=e,n=null;t!==null;){var r=t.alternate;r!==null&&vo(r)===null&&(n=t),t=t.sibling}return n}function uT(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Of[e])if(Of[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{d('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:d('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else d('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function lT(e,t){e!==void 0&&!Mo[e]&&(e!=="collapsed"&&e!=="hidden"?(Mo[e]=!0,d('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Mo[e]=!0,d('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function zm(e,t){{var n=Array.isArray(e),r=!n&&typeof xt(e)=="function";if(n||r){var a=n?"array":"iterable";return d("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1}}return!0}function oT(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!zm(e[n],n))return}else{var r=xt(e);if(typeof r=="function"){var a=r.call(e);if(a)for(var i=a.next(),u=0;!i.done;i=a.next()){if(!zm(i.value,u))return;u++}}else d('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Uf(e,t,n,r,a,i){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:i}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=r,u.tail=n,u.tailMode=a,u.lastEffect=i)}function Nm(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail,u=r.children;uT(a),lT(i,a),oT(u,a),on(e,t,u,n);var l=$n.current,o=fo(l,Uu);if(o)l=Qc(l,Uu),t.flags|=qe;else{var c=e!==null&&(e.flags&qe)!==lt;c&&aT(t,t.child,n),l=Lu(l)}if(xa(t,l),(t.mode&un)===Je)t.memoizedState=null;else switch(a){case"forwards":{var f=iT(t.child),y;f===null?(y=t.child,t.child=null):(y=f.sibling,f.sibling=null),Uf(t,!1,y,f,i,t.lastEffect);break}case"backwards":{var p=null,b=t.child;for(t.child=null;b!==null;){var x=b.alternate;if(x!==null&&vo(x)===null){t.child=b;break}var w=b.sibling;b.sibling=p,p=b,b=w}Uf(t,!0,p,null,i,t.lastEffect);break}case"together":{Uf(t,!1,null,null,void 0,t.lastEffect);break}default:t.memoizedState=null}return t.child}function sT(e,t,n){Yc(t,t.stateNode.containerInfo);var r=t.pendingProps;return e===null?t.child=oo(t,null,r,n):on(e,t,r,n),t.child}var jm=!1;function cT(e,t,n){var r=t.type,a=r._context,i=t.pendingProps,u=t.memoizedProps,l=i.value;{"value"in i||jm||(jm=!0,d("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var o=t.type.propTypes;o&&Bn(o,i,"prop","Context.Provider")}if(kh(t,l),u!==null){var c=u.value,f=gC(a,l,c);if(f===0){if(u.children===i.children&&!Bl())return Dr(e,t,n)}else bC(t,a,f,n)}var y=i.children;return on(e,t,y,n),t.child}var Hm=!1;function fT(e,t,n){var r=t.type;r._context===void 0?r!==r.Consumer&&(Hm||(Hm=!0,d("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var a=t.pendingProps,i=a.children;typeof i!="function"&&d("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."),pi(t,n);var u=Et(r,a.unstable_observedBits),l;return Pu.current=t,pn(!0),l=i(u),pn(!1),t.flags|=Pr,on(e,t,l,n),t.child}function Lf(){ur=!0}function Dr(e,t,n){return e!==null&&(t.dependencies=e.dependencies),Sm(),id(t.lanes),Vt(n,t.childLanes)?(_C(e,t),t.child):null}function dT(e,t,n){{var r=t.return;if(r===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var a=r.child;if(a===null)throw new Error("Expected parent to have a child.");for(;a.sibling!==t;)if(a=a.sibling,a===null)throw new Error("Expected to find the previous sibling.");a.sibling=n}var i=r.lastEffect;return i!==null?(i.nextEffect=e,r.lastEffect=e):r.firstEffect=r.lastEffect=e,e.nextEffect=null,e.flags=gr,n.flags|=ht,n}}function Vm(e,t,n){var r=t.lanes;if(t._debugNeedsRemount&&e!==null)return dT(e,t,md(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,i=t.pendingProps;if(a!==i||Bl()||t.type!==e.type)ur=!0;else if(Vt(n,r))(e.flags&As)!==lt?ur=!0:ur=!1;else{switch(ur=!1,t.tag){case Q:Dm(t),Jc();break;case $:Qh(t);break;case B:{var u=t.type;nr(u)&&Pl(t);break}case le:Yc(t,t.stateNode.containerInfo);break;case ce:{var l=t.memoizedProps.value;kh(t,l);break}case J:{var o=Vt(n,t.childLanes);o&&(t.flags|=Ne);var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}break;case H:{var f=t.memoizedState;if(f!==null){var y=t.child,p=y.childLanes;if(Vt(n,p))return wm(e,t,n);xa(t,Lu($n.current));var b=Dr(e,t,n);return b!==null?b.sibling:null}else xa(t,Lu($n.current));break}case De:{var x=(e.flags&qe)!==lt,w=Vt(n,t.childLanes);if(x){if(w)return Nm(e,t,n);t.flags|=qe}var Y=t.memoizedState;if(Y!==null&&(Y.rendering=null,Y.tail=null,Y.lastEffect=null),xa(t,$n.current),w)break;return null}case Ge:case ot:return t.lanes=D,wf(e,t,n)}return Dr(e,t,n)}}else ur=!1;switch(t.lanes=D,t.tag){case nt:return tT(e,t,t.type,n);case pe:{var ae=t.elementType;return ZC(e,t,ae,r,n)}case Te:{var K=t.type,ge=t.pendingProps,Ue=t.elementType===K?ge:Pn(K,ge);return kf(e,t,K,Ue,n)}case B:{var g=t.type,R=t.pendingProps,m=t.elementType===g?R:Pn(g,R);return xm(e,t,g,m,n)}case Q:return XC(e,t,n);case $:return KC(e,t,n);case me:return JC(e,t);case H:return wm(e,t,n);case le:return sT(e,t,n);case N:{var O=t.type,M=t.pendingProps,F=t.elementType===O?M:Pn(O,M);return Em(e,t,O,F,n)}case Yt:return IC(e,t,n);case Se:return GC(e,t,n);case J:return QC(e,t,n);case ce:return cT(e,t,n);case sn:return fT(e,t,n);case ne:{var he=t.type,Pe=t.pendingProps,Ze=Pn(he,Pe);if(t.type!==t.elementType){var we=he.propTypes;we&&Bn(we,Ze,"prop",A(he))}return Ze=Pn(he.type,Ze),Rm(e,t,he,Ze,r,n)}case re:return Cm(e,t,t.type,t.pendingProps,r,n);case xe:{var Rt=t.type,Ce=t.pendingProps,et=t.elementType===Rt?Ce:Pn(Rt,Ce);return eT(e,t,Rt,et,n)}case De:return Nm(e,t,n);case gt:break;case fe:break;case ke:break;case Ge:return wf(e,t,n);case ot:return qC(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ri(e){e.flags|=Ne}function Fm(e){e.flags|=cl}var Bm,zf,Wm,Pm;Bm=function(e,t,n,r){for(var a=t.child;a!==null;){if(a.tag===$||a.tag===me)vR(e,a.stateNode);else if(a.tag!==le){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===t)return;for(;a.sibling===null;){if(a.return===null||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},zf=function(e){},Wm=function(e,t,n,r,a){var i=e.memoizedProps;if(i!==r){var u=t.stateNode,l=qc(),o=hR(u,n,i,r,a,l);t.updateQueue=o,o&&Ri(t)}},Pm=function(e,t,n,r){n!==r&&Ri(t)};function Yu(e,t){if(!Zc())switch(e.tailMode){case"hidden":{for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break}case"collapsed":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:i.sibling=null;break}}}function $m(e,t,n){var r=t.pendingProps;switch(t.tag){case nt:case pe:case re:case Te:case N:case Yt:case Se:case J:case sn:case ne:return null;case B:{var a=t.type;return nr(a)&&Wl(t),null}case Q:{hi(t),yc(t),tf();var i=t.stateNode;if(i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),e===null||e.child===null){var u=po(t);u?Ri(t):i.hydrate||(t.flags|=fa)}return zf(t),null}case $:{Ic(t);var l=Gh(),o=t.type;if(e!==null&&t.stateNode!=null)Wm(e,t,o,r,l),e.ref!==t.ref&&Fm(t);else{if(!r){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var c=qc(),f=po(t);if(f)UC(t,l,c)&&Ri(t);else{var y=dR(o,r,l,c,t);Bm(y,t,!1,!1),t.stateNode=y,pR(y,o,r,l)&&Ri(t)}t.ref!==null&&Fm(t)}return null}case me:{var p=r;if(e&&t.stateNode!=null){var b=e.memoizedProps;Pm(e,t,b,p)}else{if(typeof p!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var x=Gh(),w=qc(),Y=po(t);Y?LC(t)&&Ri(t):t.stateNode=mR(p,x,w,t)}return null}case H:{mi(t);var ae=t.memoizedState;if((t.flags&qe)!==lt)return t.lanes=n,(t.mode&gn)!==Je&&Cf(t),t;var K=ae!==null,ge=!1;if(e===null)t.memoizedProps.fallback!==void 0&&po(t);else{var Ue=e.memoizedState;ge=Ue!==null}if(K&&!ge&&(t.mode&un)!==Je){var g=e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0;g||fo($n.current,Gc)?JT():ZT()}return(K||ge)&&(t.flags|=Ne),null}case le:return hi(t),zf(t),e===null&&ZR(t.stateNode.containerInfo),null;case ce:return xc(t),null;case xe:{var R=t.type;return nr(R)&&Wl(t),null}case De:{mi(t);var m=t.memoizedState;if(m===null)return null;var O=(t.flags&qe)!==lt,M=m.rendering;if(M===null)if(O)Yu(m,!1);else{var F=tx()&&(e===null||(e.flags&qe)===lt);if(!F)for(var he=t.child;he!==null;){var Pe=vo(he);if(Pe!==null){O=!0,t.flags|=qe,Yu(m,!1);var Ze=Pe.updateQueue;return Ze!==null&&(t.updateQueue=Ze,t.flags|=Ne),m.lastEffect===null&&(t.firstEffect=null),t.lastEffect=m.lastEffect,OC(t,n),xa(t,Qc($n.current,Uu)),t.child}he=he.sibling}m.tail!==null&&Wt()>uy()&&(t.flags|=qe,O=!0,Yu(m,!1),t.lanes=ei,es(ei))}else{if(!O){var we=vo(M);if(we!==null){t.flags|=qe,O=!0;var Rt=we.updateQueue;if(Rt!==null&&(t.updateQueue=Rt,t.flags|=Ne),Yu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!M.alternate&&!Zc()){var Ce=t.lastEffect=m.lastEffect;return Ce!==null&&(Ce.nextEffect=null),null}}else Wt()*2-m.renderingStartTime>uy()&&n!==er&&(t.flags|=qe,O=!0,Yu(m,!1),t.lanes=ei,es(ei))}if(m.isBackwards)M.sibling=t.child,t.child=M;else{var et=m.last;et!==null?et.sibling=M:t.child=M,m.last=M}}if(m.tail!==null){var wt=m.tail;m.rendering=wt,m.tail=wt.sibling,m.lastEffect=t.lastEffect,m.renderingStartTime=Wt(),wt.sibling=null;var mt=$n.current;return O?mt=Qc(mt,Uu):mt=Lu(mt),xa(t,mt),wt}return null}case gt:break;case fe:break;case ke:break;case Ge:case ot:{if(ad(t),e!==null){var cr=t.memoizedState,yt=e.memoizedState,fr=yt!==null,ja=cr!==null;fr!==ja&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=Ne)}return null}}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function vT(e,t){switch(e.tag){case B:{var n=e.type;nr(n)&&Wl(e);var r=e.flags;return r&Sr?(e.flags=r&~Sr|qe,(e.mode&gn)!==Je&&Cf(e),e):null}case Q:{hi(e),yc(e),tf();var a=e.flags;if((a&qe)!==lt)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return e.flags=a&~Sr|qe,e}case $:return Ic(e),null;case H:{mi(e);var i=e.flags;return i&Sr?(e.flags=i&~Sr|qe,(e.mode&gn)!==Je&&Cf(e),e):null}case De:return mi(e),null;case le:return hi(e),null;case ce:return xc(e),null;case Ge:case ot:return ad(e),null;default:return null}}function Ym(e){switch(e.tag){case B:{var t=e.type.childContextTypes;t!=null&&Wl(e);break}case Q:{hi(e),yc(e),tf();break}case $:{Ic(e);break}case le:hi(e);break;case H:mi(e);break;case De:mi(e);break;case ce:xc(e);break;case Ge:case ot:ad(e);break}}function Nf(e,t){return{value:e,source:t,stack:sa(t)}}function pT(e,t){return!0}function jf(e,t){try{var n=pT(e,t);if(n===!1)return;var r=t.value,a=t.source,i=t.stack,u=i!==null?i:"";if(r!=null&&r._suppressLogging){if(e.tag===B)return;console.error(r)}var l=a?A(a.type):null,o=l?"The above error occurred in the <"+l+"> component:":"The above error occurred in one of your React components:",c,f=A(e.type);f?c="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+f+"."):c=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
136
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;var y=o+`
|
|
137
|
-
`+u+`
|
|
138
|
-
|
|
139
|
-
`+(""+c);console.error(y)}catch(p){setTimeout(function(){throw p})}}var hT=typeof WeakMap=="function"?WeakMap:Map;function qm(e,t,n){var r=Xr(st,n);r.tag=Dc,r.payload={element:null};var a=t.value;return r.callback=function(){hx(a),jf(e,t)},r}function Im(e,t,n){var r=Xr(st,n);r.tag=Dc;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var i=t.value;r.payload=function(){return jf(e,t),a(i)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"?r.callback=function(){_y(e),typeof a!="function"&&(vx(this),jf(e,t));var o=t.value,c=t.stack;this.componentDidCatch(o,{componentStack:c!==null?c:""}),typeof a!="function"&&(Vt(e.lanes,Ae)||d("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",A(e.type)||"Unknown"))}:r.callback=function(){_y(e)},r}function mT(e,t,n){var r=e.pingCache,a;if(r===null?(r=e.pingCache=new hT,a=new Set,r.set(t,a)):(a=r.get(t),a===void 0&&(a=new Set,r.set(t,a))),!a.has(n)){a.add(n);var i=mx.bind(null,e,t,n);t.then(i,i)}}function yT(e,t,n,r,a){if(n.flags|=Qi,n.firstEffect=n.lastEffect=null,r!==null&&typeof r=="object"&&typeof r.then=="function"){var i=r;if((n.mode&un)===Je){var u=n.alternate;u?(n.updateQueue=u.updateQueue,n.memoizedState=u.memoizedState,n.lanes=u.lanes):(n.updateQueue=null,n.memoizedState=null)}var l=fo($n.current,Gc),o=t;do{if(o.tag===H&&AC(o,l)){var c=o.updateQueue;if(c===null){var f=new Set;f.add(i),o.updateQueue=f}else c.add(i);if((o.mode&un)===Je){if(o.flags|=qe,n.flags|=As,n.flags&=~(fb|Qi),n.tag===B){var y=n.alternate;if(y===null)n.tag=xe;else{var p=Xr(st,Ae);p.tag=Zl,Kr(n,p)}}n.lanes=Oe(n.lanes,Ae);return}mT(e,i,a),o.flags|=Sr,o.lanes=a;return}o=o.return}while(o!==null);r=new Error((A(n.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
140
|
-
|
|
141
|
-
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}ex(),r=Nf(r,n);var b=t;do{switch(b.tag){case Q:{var x=r;b.flags|=Sr;var w=Kt(a);b.lanes=Oe(b.lanes,w);var Y=qm(b,x,w);zh(b,Y);return}case B:var ae=r,K=b.type,ge=b.stateNode;if((b.flags&qe)===lt&&(typeof K.getDerivedStateFromError=="function"||ge!==null&&typeof ge.componentDidCatch=="function"&&!ud(ge))){b.flags|=Sr;var Ue=Kt(a);b.lanes=Oe(b.lanes,Ue);var g=Im(b,ae,Ue);zh(b,g);return}break}b=b.return}while(b!==null)}var Gm=null;Gm=new Set;var gT=typeof WeakSet=="function"?WeakSet:Set,bT=function(e,t){t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()};function ST(e,t){if(Jn(null,bT,null,e,t),yr()){var n=Zn();na(e,n)}}function Qm(e){var t=e.ref;if(t!==null)if(typeof t=="function"){if(Jn(null,t,null,null),yr()){var n=Zn();na(e,n)}}else t.current=null}function ET(e,t){if(Jn(null,t,null),yr()){var n=Zn();na(e,n)}}function RT(e,t){switch(t.tag){case Te:case N:case re:case ke:return;case B:{if(t.flags&fa&&e!==null){var n=e.memoizedProps,r=e.memoizedState,a=t.stateNode;t.type===t.elementType&&!ka&&(a.props!==t.memoizedProps&&d("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",A(t.type)||"instance"),a.state!==t.memoizedState&&d("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",A(t.type)||"instance"));var i=a.getSnapshotBeforeUpdate(t.elementType===t.type?n:Pn(t.type,n),r);{var u=Gm;i===void 0&&!u.has(t.type)&&(u.add(t.type),d("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",A(t.type)))}a.__reactInternalSnapshotBeforeUpdate=i}return}case Q:{if(t.flags&fa){var l=t.stateNode;dc(l.containerInfo)}return}case $:case me:case le:case xe:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function CT(e,t){var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var a=r.next,i=a;do{if((i.tag&e)===e){var u=i.destroy;i.destroy=void 0,u!==void 0&&u()}i=i.next}while(i!==a)}}function TT(e,t){var n=t.updateQueue,r=n!==null?n.lastEffect:null;if(r!==null){var a=r.next,i=a;do{if((i.tag&e)===e){var u=i.create;i.destroy=u();{var l=i.destroy;if(l!==void 0&&typeof l!="function"){var o=void 0;l===null?o=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof l.then=="function"?o=`
|
|
142
|
-
|
|
143
|
-
It looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
144
|
-
|
|
145
|
-
useEffect(() => {
|
|
146
|
-
async function fetchData() {
|
|
147
|
-
// You can await here
|
|
148
|
-
const response = await MyAPI.getData(someId);
|
|
149
|
-
// ...
|
|
150
|
-
}
|
|
151
|
-
fetchData();
|
|
152
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
153
|
-
|
|
154
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:o=" You returned: "+l,d("An effect function must not return anything besides a function, which is used for clean-up.%s",o)}}}i=i.next}while(i!==a)}}function xT(e){var t=e.updateQueue,n=t!==null?t.lastEffect:null;if(n!==null){var r=n.next,a=r;do{var i=a,u=i.next,l=i.tag;(l&zu)!==Xc&&(l&yi)!==Xc&&(hy(e,a),cx(e,a)),a=u}while(a!==r)}}function DT(e,t,n,r){switch(n.tag){case Te:case N:case re:case ke:{TT(gi|yi,n),xT(n);return}case B:{var a=n.stateNode;if(n.flags&Ne)if(t===null)n.type===n.elementType&&!ka&&(a.props!==n.memoizedProps&&d("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",A(n.type)||"instance"),a.state!==n.memoizedState&&d("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",A(n.type)||"instance")),a.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Pn(n.type,t.memoizedProps),u=t.memoizedState;n.type===n.elementType&&!ka&&(a.props!==n.memoizedProps&&d("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",A(n.type)||"instance"),a.state!==n.memoizedState&&d("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",A(n.type)||"instance")),a.componentDidUpdate(i,u,a.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;l!==null&&(n.type===n.elementType&&!ka&&(a.props!==n.memoizedProps&&d("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",A(n.type)||"instance"),a.state!==n.memoizedState&&d("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",A(n.type)||"instance")),jh(n,l,a));return}case Q:{var o=n.updateQueue;if(o!==null){var c=null;if(n.child!==null)switch(n.child.tag){case $:c=sc(n.child.stateNode);break;case B:c=n.child.stateNode;break}jh(n,o,c)}return}case $:{var f=n.stateNode;if(t===null&&n.flags&Ne){var y=n.type,p=n.memoizedProps;gR(f,y,p)}return}case me:return;case le:return;case J:{{var b=n.memoizedProps;b.onCommit;var x=b.onRender;n.stateNode.effectDuration;var w=$C();typeof x=="function"&&x(n.memoizedProps.id,t===null?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,w,e.memoizedInteractions)}return}case H:{LT(e,n);return}case De:case xe:case gt:case fe:case Ge:case ot:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Xm(e,t){for(var n=e;;){if(n.tag===$){var r=n.stateNode;t?_R(r):wR(n.stateNode,n.memoizedProps)}else if(n.tag===me){var a=n.stateNode;t?OR(a):kR(a,n.memoizedProps)}else if(!((n.tag===Ge||n.tag===ot)&&n.memoizedState!==null&&n!==e)){if(n.child!==null){n.child.return=n,n=n.child;continue}}if(n===e)return;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function _T(e){var t=e.ref;if(t!==null){var n=e.stateNode,r;switch(e.tag){case $:r=sc(n);break;default:r=n}typeof t=="function"?t(r):(t.hasOwnProperty("current")||d("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",A(e.type)),t.current=r)}}function OT(e){var t=e.ref;t!==null&&(typeof t=="function"?t(null):t.current=null)}function Km(e,t,n){switch(uC(t),t.tag){case Te:case N:case ne:case re:case ke:{var r=t.updateQueue;if(r!==null){var a=r.lastEffect;if(a!==null){var i=a.next,u=i;do{var l=u,o=l.destroy,c=l.tag;o!==void 0&&((c&zu)!==Xc?hy(t,u):ET(t,o)),u=u.next}while(u!==i)}}return}case B:{Qm(t);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&ST(t,f);return}case $:{Qm(t);return}case le:{ty(e,t);return}case gt:return;case kt:return;case fe:return}}function wT(e,t,n){for(var r=t;;){if(Km(e,r),r.child!==null&&r.tag!==le){r.child.return=r,r=r.child;continue}if(r===t)return;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function Jm(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null,e._debugOwner=null}function kT(e){for(var t=e.return;t!==null;){if(Zm(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Zm(e){return e.tag===$||e.tag===Q||e.tag===le}function AT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Zm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==$&&t.tag!==me&&t.tag!==kt;){if(t.flags&ht||t.child===null||t.tag===le)continue e;t.child.return=t,t=t.child}if(!(t.flags&ht))return t.stateNode}}function ey(e){var t=kT(e),n,r,a=t.stateNode;switch(t.tag){case $:n=a,r=!1;break;case Q:n=a.containerInfo,r=!0;break;case le:n=a.containerInfo,r=!0;break;case gt:default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}t.flags&sl&&(Kp(n),t.flags&=~sl);var i=AT(e);r?Hf(e,i,n):Vf(e,i,n)}function Hf(e,t,n){var r=e.tag,a=r===$||r===me;if(a||Dt){var i=a?e.stateNode:e.stateNode.instance;t?TR(n,i,t):RR(n,i)}else if(r!==le){var u=e.child;if(u!==null){Hf(u,t,n);for(var l=u.sibling;l!==null;)Hf(l,t,n),l=l.sibling}}}function Vf(e,t,n){var r=e.tag,a=r===$||r===me;if(a||Dt){var i=a?e.stateNode:e.stateNode.instance;t?CR(n,i,t):ER(n,i)}else if(r!==le){var u=e.child;if(u!==null){Vf(u,t,n);for(var l=u.sibling;l!==null;)Vf(l,t,n),l=l.sibling}}}function ty(e,t,n){for(var r=t,a=!1,i,u;;){if(!a){var l=r.return;e:for(;;){if(l===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var o=l.stateNode;switch(l.tag){case $:i=o,u=!1;break e;case Q:i=o.containerInfo,u=!0;break e;case le:i=o.containerInfo,u=!0;break e}l=l.return}a=!0}if(r.tag===$||r.tag===me)wT(e,r),u?DR(i,r.stateNode):xR(i,r.stateNode);else if(r.tag===le){if(r.child!==null){i=r.stateNode.containerInfo,u=!0,r.child.return=r,r=r.child;continue}}else if(Km(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)return;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===le&&(a=!1)}r.sibling.return=r.return,r=r.sibling}}function MT(e,t,n){ty(e,t);var r=t.alternate;Jm(t),r!==null&&Jm(r)}function Ff(e,t){switch(t.tag){case Te:case N:case ne:case re:case ke:{CT(gi|yi,t);return}case B:return;case $:{var n=t.stateNode;if(n!=null){var r=t.memoizedProps,a=e!==null?e.memoizedProps:r,i=t.type,u=t.updateQueue;t.updateQueue=null,u!==null&&bR(n,u,i,a,r)}return}case me:{if(t.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,o=t.memoizedProps,c=e!==null?e.memoizedProps:o;SR(l,c,o);return}case Q:{{var f=t.stateNode;f.hydrate&&(f.hydrate=!1,HR(f.containerInfo))}return}case J:return;case H:{UT(t),ny(t);return}case De:{ny(t);return}case xe:return;case gt:break;case fe:break;case Ge:case ot:{var y=t.memoizedState,p=y!==null;Xm(t,p);return}}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function UT(e){var t=e.memoizedState;if(t!==null){KT();{var n=e.child;Xm(n,!0)}}}function LT(e,t){var n=t.memoizedState;if(n===null){var r=t.alternate;if(r!==null){var a=r.memoizedState;if(a!==null){var i=a.dehydrated;i!==null&&VR(i)}}}}function ny(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gT),t.forEach(function(r){var a=gx.bind(null,e,r);n.has(r)||(r.__reactDoNotTraceInteractions!==!0&&(a=se.unstable_wrap(a)),n.add(r),r.then(a,a))})}}function zT(e,t){if(e!==null){var n=e.memoizedState;if(n===null||n.dehydrated!==null){var r=t.memoizedState;return r!==null&&r.dehydrated===null}}return!1}function NT(e){Kp(e.stateNode)}if(typeof Symbol=="function"&&Symbol.for){var qu=Symbol.for;qu("selector.component"),qu("selector.has_pseudo_class"),qu("selector.role"),qu("selector.test_id"),qu("selector.text")}var jT=[];function HT(){jT.forEach(function(e){return e()})}var VT=Math.ceil,Bf=de.ReactCurrentDispatcher,Wf=de.ReactCurrentOwner,Pf=de.IsSomeRendererActing,ft=0,zo=1,FT=2,$f=4,Yf=8,bn=16,lr=32,ry=64,_r=0,No=1,jo=2,Ho=3,Vo=4,qf=5,X=ft,Jt=null,dt=null,Zt=D,or=D,If=Gr(D),Ut=_r,Fo=null,Aa=D,Bo=D,Ma=D,Wo=D,Gf=null,Qf=0,ay=500,iy=1/0,BT=500;function Ci(){iy=Wt()+BT}function uy(){return iy}var V=null,Po=!1,Xf=null,Ti=null,Or=!1,xi=null,Iu=Ec,Kf=D,Jf=[],Zf=[],wr=null,WT=50,Gu=0,ed=null,PT=50,$o=0,Ua=null,Qu=st,kr=D,Yo=D,td=!1,Xu=null,qo=!1;function $T(){return Jt}function Sn(){return(X&(bn|lr))!==ft?Wt():(Qu!==st||(Qu=Wt()),Qu)}function ta(e){var t=e.mode;if((t&un)===Je)return Ae;if((t&Ra)===Je)return di()===kn?Ae:tu;kr===D&&(kr=Aa);var n=mC()!==hC;if(n)return Yo!==D&&(Yo=Gf!==null?Gf.pendingLanes:D),Yb(kr,Yo);var r=di(),a;if((X&$f)!==ft&&r===Sa)a=Sl(hl,kr);else{var i=Hb(r);a=Sl(i,kr)}return a}function YT(e){var t=e.mode;return(t&un)===Je?Ae:(t&Ra)===Je?di()===kn?Ae:tu:(kr===D&&(kr=Aa),qb(kr))}function $t(e,t,n){Sx(),Tx(e);var r=Io(e,t);if(r===null)return Rx(e),null;Rl(r,t,n),r===Jt&&(Ma=Oe(Ma,t),Ut===Vo&&Di(r,Zt));var a=di();t===Ae?(X&Yf)!==ft&&(X&(bn|lr))===ft?(ra(r,t),nd(r)):(Ln(r,n),ra(r,t),X===ft&&(Ci(),ar())):((X&$f)!==ft&&(a===Sa||a===kn)&&(wr===null?wr=new Set([r]):wr.add(r)),Ln(r,n),ra(r,t)),Gf=r}function Io(e,t){e.lanes=Oe(e.lanes,t);var n=e.alternate;n!==null&&(n.lanes=Oe(n.lanes,t)),n===null&&(e.flags&(ht|br))!==lt&&yy(e);for(var r=e,a=e.return;a!==null;)a.childLanes=Oe(a.childLanes,t),n=a.alternate,n!==null?n.childLanes=Oe(n.childLanes,t):(a.flags&(ht|br))!==lt&&yy(e),r=a,a=a.return;if(r.tag===Q){var i=r.stateNode;return i}else return null}function Ln(e,t){var n=e.callbackNode;Wb(e,t);var r=nu(e,e===Jt?Zt:D),a=Pb();if(r===D){n!==null&&(Th(n),e.callbackNode=null,e.callbackPriority=pa);return}if(n!==null){var i=e.callbackPriority;if(i===a)return;Th(n)}var u;if(a===Ka)u=dC(nd.bind(null,e));else if(a===pl)u=Qr(kn,nd.bind(null,e));else{var l=Vb(a);u=Qr(l,ly.bind(null,e))}e.callbackPriority=a,e.callbackNode=u}function ly(e){if(Qu=st,kr=D,Yo=D,(X&(bn|lr))!==ft)throw Error("Should not already be working.");var t=e.callbackNode,n=sr();if(n&&e.callbackNode!==t)return null;var r=nu(e,e===Jt?Zt:D);if(r===D)return null;var a=rx(e,r);if(Vt(Aa,Ma))_i(e,D);else if(a!==_r){if(a===jo&&(X|=ry,e.hydrate&&(e.hydrate=!1,dc(e.containerInfo)),r=Yv(e),r!==D&&(a=Ku(e,r))),a===No){var i=Fo;throw _i(e,D),Di(e,r),Ln(e,Wt()),i}var u=e.current.alternate;e.finishedWork=u,e.finishedLanes=r,qT(e,a,r)}return Ln(e,Wt()),e.callbackNode===t?ly.bind(null,e):null}function qT(e,t,n){switch(t){case _r:case No:throw Error("Root did not complete. This is a bug in React.");case jo:{La(e);break}case Ho:{if(Di(e,n),Iv(n)&&!Ox()){var r=Qf+ay-Wt();if(r>10){var a=nu(e,D);if(a!==D)break;var i=e.suspendedLanes;if(!ma(i,n)){Sn(),Gv(e,i);break}e.timeoutHandle=Xp(La.bind(null,e),r);break}}La(e);break}case Vo:{if(Di(e,n),$b(n))break;{var u=Fb(e,n),l=u,o=Wt()-l,c=bx(o)-o;if(c>10){e.timeoutHandle=Xp(La.bind(null,e),c);break}}La(e);break}case qf:{La(e);break}default:throw Error("Unknown root exit status.")}}function Di(e,t){t=El(t,Wo),t=El(t,Ma),Zb(e,t)}function nd(e){if((X&(bn|lr))!==ft)throw Error("Should not already be working.");sr();var t,n;if(e===Jt&&Vt(e.expiredLanes,Zt)?(t=Zt,n=Ku(e,t),Vt(Aa,Ma)&&(t=nu(e,t),n=Ku(e,t))):(t=nu(e,D),n=Ku(e,t)),e.tag!==gc&&n===jo&&(X|=ry,e.hydrate&&(e.hydrate=!1,dc(e.containerInfo)),t=Yv(e),t!==D&&(n=Ku(e,t))),n===No){var r=Fo;throw _i(e,D),Di(e,t),Ln(e,Wt()),r}var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,La(e),Ln(e,Wt()),null}function IT(){if((X&(zo|bn|lr))!==ft){(X&bn)!==ft&&d("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.");return}GT(),sr()}function GT(){if(wr!==null){var e=wr;wr=null,e.forEach(function(t){eS(t),Ln(t,Wt())})}ar()}function oy(e,t){var n=X;X|=zo;try{return e(t)}finally{X=n,X===ft&&(Ci(),ar())}}function QT(e,t){var n=X;X|=FT;try{return e(t)}finally{X=n,X===ft&&(Ci(),ar())}}function XT(e,t,n,r,a){var i=X;X|=$f;try{return Ea(Sa,e.bind(null,t,n,r,a))}finally{X=i,X===ft&&(Ci(),ar())}}function sy(e,t){var n=X;X&=~zo,X|=Yf;try{return e(t)}finally{X=n,X===ft&&(Ci(),ar())}}function rd(e,t){var n=X;if((n&(bn|lr))!==ft)return d("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),e(t);X|=zo;try{return e?Ea(kn,e.bind(null,t)):void 0}finally{X=n,ar()}}function Go(e,t){Bt(If,or,e),or=Oe(or,t),Aa=Oe(Aa,t)}function ad(e){or=If.current,Ft(If,e)}function _i(e,t){e.finishedWork=null,e.finishedLanes=D;var n=e.timeoutHandle;if(n!==fc&&(e.timeoutHandle=fc,yR(n)),dt!==null)for(var r=dt.return;r!==null;)Ym(r),r=r.return;Jt=e,dt=za(e.current,null),Zt=or=Aa=t,Ut=_r,Fo=null,Bo=D,Ma=D,Wo=D,Ua=null,Wn.discardPendingWarnings()}function cy(e,t){do{var n=dt;try{if(Jl(),rm(),Mt(),Wf.current=null,n===null||n.return===null){Ut=No,Fo=t,dt=null;return}cn&&n.mode&gn&&Ao(n,!0),yT(e,n.return,n,t,Zt),py(n)}catch(r){t=r,dt===n&&n!==null?(n=n.return,dt=n):n=dt;continue}return}while(!0)}function fy(){var e=Bf.current;return Bf.current=Oo,e===null?Oo:e}function dy(e){Bf.current=e}function Qo(e){{var t=se.__interactionsRef.current;return se.__interactionsRef.current=e.memoizedInteractions,t}}function Xo(e){se.__interactionsRef.current=e}function KT(){Qf=Wt()}function id(e){Bo=Oe(e,Bo)}function JT(){Ut===_r&&(Ut=Ho)}function ZT(){(Ut===_r||Ut===Ho)&&(Ut=Vo),Jt!==null&&(qv(Bo)||qv(Ma))&&Di(Jt,Zt)}function ex(){Ut!==qf&&(Ut=jo)}function tx(){return Ut===_r}function Ku(e,t){var n=X;X|=bn;var r=fy();(Jt!==e||Zt!==t)&&(_i(e,t),Cy(e,t));var a=Qo(e);do try{nx();break}catch(i){cy(e,i)}while(!0);if(Jl(),Xo(a),X=n,dy(r),dt!==null)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Jt=null,Zt=D,Ut}function nx(){for(;dt!==null;)vy(dt)}function rx(e,t){var n=X;X|=bn;var r=fy();(Jt!==e||Zt!==t)&&(Ci(),_i(e,t),Cy(e,t));var a=Qo(e);do try{ax();break}catch(i){cy(e,i)}while(!0);return Jl(),Xo(a),dy(r),X=n,dt!==null?_r:(Jt=null,Zt=D,Ut)}function ax(){for(;dt!==null&&!cC();)vy(dt)}function vy(e){var t=e.alternate;pt(e);var n;(e.mode&gn)!==Je?(Rf(e),n=ld(t,e,or),Ao(e,!0)):n=ld(t,e,or),Mt(),e.memoizedProps=e.pendingProps,n===null?py(e):dt=n,Wf.current=null}function py(e){var t=e;do{var n=t.alternate,r=t.return;if((t.flags&Qi)===lt){pt(t);var a=void 0;if((t.mode&gn)===Je?a=$m(n,t,or):(Rf(t),a=$m(n,t,or),Ao(t,!1)),Mt(),a!==null){dt=a;return}if(ix(t),r!==null&&(r.flags&Qi)===lt){r.firstEffect===null&&(r.firstEffect=t.firstEffect),t.lastEffect!==null&&(r.lastEffect!==null&&(r.lastEffect.nextEffect=t.firstEffect),r.lastEffect=t.lastEffect);var i=t.flags;i>Pr&&(r.lastEffect!==null?r.lastEffect.nextEffect=t:r.firstEffect=t,r.lastEffect=t)}}else{var u=vT(t);if(u!==null){u.flags&=db,dt=u;return}if((t.mode&gn)!==Je){Ao(t,!1);for(var l=t.actualDuration,o=t.child;o!==null;)l+=o.actualDuration,o=o.sibling;t.actualDuration=l}r!==null&&(r.firstEffect=r.lastEffect=null,r.flags|=Qi)}var c=t.sibling;if(c!==null){dt=c;return}t=r,dt=t}while(t!==null);Ut===_r&&(Ut=qf)}function ix(e){if(!((e.tag===ot||e.tag===Ge)&&e.memoizedState!==null&&!Vt(or,er)&&(e.mode&Ra)!==D)){var t=D;if((e.mode&gn)!==Je){for(var n=e.actualDuration,r=e.selfBaseDuration,a=e.alternate===null||e.child!==e.alternate.child,i=e.child;i!==null;)t=Oe(t,Oe(i.lanes,i.childLanes)),a&&(n+=i.actualDuration),r+=i.treeBaseDuration,i=i.sibling;var u=e.tag===H&&e.memoizedState!==null;if(u){var l=e.child;l!==null&&(r-=l.treeBaseDuration)}e.actualDuration=n,e.treeBaseDuration=r}else for(var o=e.child;o!==null;)t=Oe(t,Oe(o.lanes,o.childLanes)),o=o.sibling;e.childLanes=t}}function La(e){var t=di();return Ea(kn,ux.bind(null,e,t)),null}function ux(e,t){do sr();while(xi!==null);if(Ex(),(X&(bn|lr))!==ft)throw Error("Should not already be working.");var n=e.finishedWork,r=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=D,n===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null;var a=Oe(n.lanes,n.childLanes);nS(e,a),wr!==null&&!tS(a)&&wr.has(e)&&wr.delete(e),e===Jt&&(Jt=null,dt=null,Zt=D);var i;if(n.flags>Pr?n.lastEffect!==null?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,i!==null){var u=X;X|=lr;var l=Qo(e);Wf.current=null,Xu=cR(e.containerInfo),qo=!1,V=i;do if(Jn(null,lx,null),yr()){if(V===null)throw Error("Should be working on an effect.");var o=Zn();na(V,o),V=V.nextEffect}while(V!==null);Xu=null,bm(),V=i;do if(Jn(null,ox,null,e,t),yr()){if(V===null)throw Error("Should be working on an effect.");var c=Zn();na(V,c),V=V.nextEffect}while(V!==null);fR(e.containerInfo),e.current=n,V=i;do if(Jn(null,sx,null,e,r),yr()){if(V===null)throw Error("Should be working on an effect.");var f=Zn();na(V,f),V=V.nextEffect}while(V!==null);V=null,fC(),Xo(l),X=u}else e.current=n,bm();var y=Or;if(Or)Or=!1,xi=e,Kf=r,Iu=t;else for(V=i;V!==null;){var p=V.nextEffect;V.nextEffect=null,V.flags&gr&&xy(V),V=p}if(a=e.pendingLanes,a!==D){if(Ua!==null){var b=Ua;Ua=null;for(var x=0;x<b.length;x++)Ry(e,b[x],e.memoizedInteractions)}ra(e,a)}else Ti=null;if(y||Ty(e,r),a===Ae?e===ed?Gu++:(Gu=0,ed=e):Gu=0,iC(n.stateNode,t),HT(),Ln(e,Wt()),Po){Po=!1;var w=Xf;throw Xf=null,w}return(X&Yf)!==ft||ar(),null}function lx(){for(;V!==null;){var e=V.alternate;!qo&&Xu!==null&&((V.flags&gr)!==lt?fv(V,Xu)&&(qo=!0):V.tag===H&&zT(e,V)&&fv(V,Xu)&&(qo=!0));var t=V.flags;(t&fa)!==lt&&(pt(V),RT(e,V),Mt()),(t&Ii)!==lt&&(Or||(Or=!0,Qr(Tr,function(){return sr(),null}))),V=V.nextEffect}}function ox(e,t){for(;V!==null;){pt(V);var n=V.flags;if(n&sl&&NT(V),n&cl){var r=V.alternate;r!==null&&OT(r)}var a=n&(ht|Ne|gr|br);switch(a){case ht:{ey(V),V.flags&=~ht;break}case sb:{ey(V),V.flags&=~ht;var i=V.alternate;Ff(i,V);break}case br:{V.flags&=~br;break}case cb:{V.flags&=~br;var u=V.alternate;Ff(u,V);break}case Ne:{var l=V.alternate;Ff(l,V);break}case gr:{MT(e,V);break}}Mt(),V=V.nextEffect}}function sx(e,t){for(;V!==null;){pt(V);var n=V.flags;if(n&(Ne|iv)){var r=V.alternate;DT(e,r,V)}n&cl&&_T(V),Mt(),V=V.nextEffect}}function sr(){if(Iu!==Ec){var e=Iu>Tr?Tr:Iu;return Iu=Ec,Ea(e,dx)}return!1}function cx(e,t){Jf.push(t,e),Or||(Or=!0,Qr(Tr,function(){return sr(),null}))}function hy(e,t){Zf.push(t,e);{e.flags|=Gi;var n=e.alternate;n!==null&&(n.flags|=Gi)}Or||(Or=!0,Qr(Tr,function(){return sr(),null}))}function fx(e){var t=e.create;e.destroy=t()}function dx(){if(xi===null)return!1;var e=xi,t=Kf;if(xi=null,Kf=D,(X&(bn|lr))!==ft)throw Error("Cannot flush passive effects while already rendering.");td=!0;var n=X;X|=lr;var r=Qo(e),a=Zf;Zf=[];for(var i=0;i<a.length;i+=2){var u=a[i],l=a[i+1],o=u.destroy;u.destroy=void 0;{l.flags&=~Gi;var c=l.alternate;c!==null&&(c.flags&=~Gi)}if(typeof o=="function"){if(pt(l),Jn(null,o,null),yr()){if(l===null)throw Error("Should be working on an effect.");var f=Zn();na(l,f)}Mt()}}var y=Jf;Jf=[];for(var p=0;p<y.length;p+=2){var b=y[p],x=y[p+1];{if(pt(x),Jn(null,fx,null,b),yr()){if(x===null)throw Error("Should be working on an effect.");var w=Zn();na(x,w)}Mt()}}for(var Y=e.current.firstEffect;Y!==null;){var ae=Y.nextEffect;Y.nextEffect=null,Y.flags&gr&&xy(Y),Y=ae}return Xo(r),Ty(e,t),td=!1,X=n,ar(),$o=xi===null?0:$o+1,!0}function ud(e){return Ti!==null&&Ti.has(e)}function vx(e){Ti===null?Ti=new Set([e]):Ti.add(e)}function px(e){Po||(Po=!0,Xf=e)}var hx=px;function my(e,t,n){var r=Nf(n,t),a=qm(e,r,Ae);Kr(e,a);var i=Sn(),u=Io(e,Ae);u!==null&&(Rl(u,Ae,i),Ln(u,i),ra(u,Ae))}function na(e,t){if(e.tag===Q){my(e,e,t);return}for(var n=e.return;n!==null;){if(n.tag===Q){my(n,e,t);return}else if(n.tag===B){var r=n.type,a=n.stateNode;if(typeof r.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&!ud(a)){var i=Nf(t,e),u=Im(n,i,Ae);Kr(n,u);var l=Sn(),o=Io(n,Ae);if(o!==null)Rl(o,Ae,l),Ln(o,l),ra(o,Ae);else if(typeof a.componentDidCatch=="function"&&!ud(a))try{a.componentDidCatch(t,i)}catch{}return}}n=n.return}}function mx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t);var a=Sn();Gv(e,n),Jt===e&&ma(Zt,n)&&(Ut===Vo||Ut===Ho&&Iv(Zt)&&Wt()-Qf<ay?_i(e,D):Wo=Oe(Wo,n)),Ln(e,a),ra(e,n)}function yx(e,t){t===rn&&(t=YT(e));var n=Sn(),r=Io(e,t);r!==null&&(Rl(r,t,n),Ln(r,n),ra(r,t))}function gx(e,t){var n=rn,r;r=e.stateNode,r!==null&&r.delete(t),yx(e,n)}function bx(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:VT(e/1960)*1960}function Sx(){if(Gu>WT)throw Gu=0,ed=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");$o>PT&&($o=0,d("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Ex(){Wn.flushLegacyContextWarning(),Wn.flushPendingUnsafeLifecycleWarnings()}var Ko=null;function yy(e){{if((X&bn)!==ft||!(e.mode&(un|Ra)))return;var t=e.tag;if(t!==nt&&t!==Q&&t!==B&&t!==Te&&t!==N&&t!==ne&&t!==re&&t!==ke)return;var n=A(e.type)||"ReactComponent";if(Ko!==null){if(Ko.has(n))return;Ko.add(n)}else Ko=new Set([n]);var r=Nt;try{pt(e),d("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?pt(e):Mt()}}}var Jo=null;function Rx(e){{var t=e.tag;if(t!==Q&&t!==B&&t!==Te&&t!==N&&t!==ne&&t!==re&&t!==ke||(e.flags&Gi)!==lt)return;var n=A(e.type)||"ReactComponent";if(Jo!==null){if(Jo.has(n))return;Jo.add(n)}else Jo=new Set([n]);if(!td){var r=Nt;try{pt(e),d("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.",t===B?"the componentWillUnmount method":"a useEffect cleanup function")}finally{r?pt(e):Mt()}}}}var ld;{var Cx=null;ld=function(e,t,n){var r=wy(Cx,t);try{return Vm(e,t,n)}catch(i){if(i!==null&&typeof i=="object"&&typeof i.then=="function")throw i;if(Jl(),rm(),Ym(t),wy(t,r),t.mode&gn&&Rf(t),Jn(null,Vm,null,e,t,n),yr()){var a=Zn();throw a}else throw i}}}var gy=!1,od;od=new Set;function Tx(e){if(Hr&&(X&bn)!==ft&&!PC())switch(e.tag){case Te:case N:case re:{var t=dt&&A(dt.type)||"Unknown",n=t;if(!od.has(n)){od.add(n);var r=A(e.type)||"Unknown";d("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",r,t,t)}break}case B:{gy||(d("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),gy=!0);break}}}var Zo={current:!1};function by(e){if(Pf.current===!0&&Zo.current!==!0){var t=Nt;try{pt(e),d(`It looks like you're using the wrong act() around your test interactions.
|
|
155
|
-
Be sure to use the matching version of act() corresponding to your renderer:
|
|
156
|
-
|
|
157
|
-
// for react-dom:
|
|
158
|
-
import {act} from 'react-dom/test-utils';
|
|
159
|
-
// ...
|
|
160
|
-
act(() => ...);
|
|
161
|
-
|
|
162
|
-
// for react-test-renderer:
|
|
163
|
-
import TestRenderer from react-test-renderer';
|
|
164
|
-
const {act} = TestRenderer;
|
|
165
|
-
// ...
|
|
166
|
-
act(() => ...);`)}finally{t?pt(e):Mt()}}}function Sy(e){(e.mode&ct)!==Je&&Pf.current===!1&&Zo.current===!1&&d(`An update to %s ran an effect, but was not wrapped in act(...).
|
|
167
|
-
|
|
168
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
-
|
|
170
|
-
act(() => {
|
|
171
|
-
/* fire events that update state */
|
|
172
|
-
});
|
|
173
|
-
/* assert on the output */
|
|
174
|
-
|
|
175
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,A(e.type))}function xx(e){if(X===ft&&Pf.current===!1&&Zo.current===!1){var t=Nt;try{pt(e),d(`An update to %s inside a test was not wrapped in act(...).
|
|
176
|
-
|
|
177
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
178
|
-
|
|
179
|
-
act(() => {
|
|
180
|
-
/* fire events that update state */
|
|
181
|
-
});
|
|
182
|
-
/* assert on the output */
|
|
183
|
-
|
|
184
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,A(e.type))}finally{t?pt(e):Mt()}}}var Dx=xx,Ey=!1;function _x(e){Ey===!1&&ee.unstable_flushAllWithoutAsserting===void 0&&(e.mode&un||e.mode&Ra)&&(Ey=!0,d(`In Concurrent or Sync modes, the "scheduler" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest:
|
|
185
|
-
jest.mock('scheduler', () => require('scheduler/unstable_mock'));
|
|
186
|
-
|
|
187
|
-
For more info, visit https://reactjs.org/link/mock-scheduler`))}function sd(e,t){return t*1e3+e.interactionThreadID}function es(e){Ua===null?Ua=[e]:Ua.push(e)}function Ry(e,t,n){if(n.size>0){var r=e.pendingInteractionMap,a=r.get(t);a!=null?n.forEach(function(l){a.has(l)||l.__count++,a.add(l)}):(r.set(t,new Set(n)),n.forEach(function(l){l.__count++}));var i=se.__subscriberRef.current;if(i!==null){var u=sd(e,t);i.onWorkScheduled(n,u)}}}function ra(e,t){Ry(e,t,se.__interactionsRef.current)}function Cy(e,t){var n=new Set;if(e.pendingInteractionMap.forEach(function(i,u){Vt(t,u)&&i.forEach(function(l){return n.add(l)})}),e.memoizedInteractions=n,n.size>0){var r=se.__subscriberRef.current;if(r!==null){var a=sd(e,t);try{r.onWorkStarted(n,a)}catch(i){Qr(kn,function(){throw i})}}}}function Ty(e,t){var n=e.pendingLanes,r;try{if(r=se.__subscriberRef.current,r!==null&&e.memoizedInteractions.size>0){var a=sd(e,t);r.onWorkStopped(e.memoizedInteractions,a)}}catch(u){Qr(kn,function(){throw u})}finally{var i=e.pendingInteractionMap;i.forEach(function(u,l){Vt(n,l)||(i.delete(l),u.forEach(function(o){if(o.__count--,r!==null&&o.__count===0)try{r.onInteractionScheduledWorkCompleted(o)}catch(c){Qr(kn,function(){throw c})}}))})}}function Ox(){return wx>0}var wx=0;function xy(e){e.sibling=null,e.stateNode=null}var zn=null,Oi=null,kx=function(e){zn=e};function wi(e){{if(zn===null)return e;var t=zn(e);return t===void 0?e:t.current}}function cd(e){return wi(e)}function fd(e){{if(zn===null)return e;var t=zn(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var n=wi(e.render);if(e.render!==n){var r={$$typeof:Hn,render:n};return e.displayName!==void 0&&(r.displayName=e.displayName),r}}return e}return t.current}}function Dy(e,t){{if(zn===null)return!1;var n=e.elementType,r=t.type,a=!1,i=typeof r=="object"&&r!==null?r.$$typeof:null;switch(e.tag){case B:{typeof r=="function"&&(a=!0);break}case Te:{(typeof r=="function"||i===T)&&(a=!0);break}case N:{(i===Hn||i===T)&&(a=!0);break}case ne:case re:{(i===v||i===T)&&(a=!0);break}default:return!1}if(a){var u=zn(n);if(u!==void 0&&u===zn(r))return!0}return!1}}function _y(e){{if(zn===null||typeof WeakSet!="function")return;Oi===null&&(Oi=new WeakSet),Oi.add(e)}}var Ax=function(e,t){{if(zn===null)return;var n=t.staleFamilies,r=t.updatedFamilies;sr(),rd(function(){dd(e.current,r,n)})}},Mx=function(e,t){{if(e.context!==yn)return;sr(),rd(function(){Ju(t,e,null,null)})}};function dd(e,t,n){{var r=e.alternate,a=e.child,i=e.sibling,u=e.tag,l=e.type,o=null;switch(u){case Te:case re:case B:o=l;break;case N:o=l.render;break}if(zn===null)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,f=!1;if(o!==null){var y=zn(o);y!==void 0&&(n.has(y)?f=!0:t.has(y)&&(u===B?f=!0:c=!0))}Oi!==null&&(Oi.has(e)||r!==null&&Oi.has(r))&&(f=!0),f&&(e._debugNeedsRemount=!0),(f||c)&&$t(e,Ae,st),a!==null&&!f&&dd(a,t,n),i!==null&&dd(i,t,n)}}var Ux=function(e,t){{var n=new Set,r=new Set(t.map(function(a){return a.current}));return vd(e.current,r,n),n}};function vd(e,t,n){{var r=e.child,a=e.sibling,i=e.tag,u=e.type,l=null;switch(i){case Te:case re:case B:l=u;break;case N:l=u.render;break}var o=!1;l!==null&&t.has(l)&&(o=!0),o?Lx(e,n):r!==null&&vd(r,t,n),a!==null&&vd(a,t,n)}}function Lx(e,t){{var n=zx(e,t);if(n)return;for(var r=e;;){switch(r.tag){case $:t.add(r.stateNode);return;case le:t.add(r.stateNode.containerInfo);return;case Q:t.add(r.stateNode.containerInfo);return}if(r.return===null)throw new Error("Expected to reach root first.");r=r.return}}}function zx(e,t){for(var n=e,r=!1;;){if(n.tag===$)r=!0,t.add(n.stateNode);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;n.sibling===null;){if(n.return===null||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}var pd;{pd=!1;try{var Oy=Object.preventExtensions({});new Map([[Oy,null]]),new Set([Oy])}catch{pd=!0}}var Nx=1;function jx(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=lt,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.lanes=D,this.childLanes=D,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=Nx++,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!pd&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var En=function(e,t,n,r){return new jx(e,t,n,r)};function hd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Hx(e){return typeof e=="function"&&!hd(e)&&e.defaultProps===void 0}function Vx(e){if(typeof e=="function")return hd(e)?B:Te;if(e!=null){var t=e.$$typeof;if(t===Hn)return N;if(t===v)return ne}return nt}function za(e,t){var n=e.alternate;n===null?(n=En(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugID=e._debugID,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=lt,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case nt:case Te:case re:n.type=wi(e.type);break;case B:n.type=cd(e.type);break;case N:n.type=fd(e.type);break}return n}function Fx(e,t){e.flags&=ht,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null;var n=e.alternate;if(n===null)e.childLanes=D,e.lanes=t,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function Bx(e){var t;return e===dh?t=Ra|un|ct:e===fh?t=un|ct:t=Je,nC&&(t|=gn),En(Q,null,null,t)}function md(e,t,n,r,a,i){var u=nt,l=e;if(typeof e=="function")hd(e)?(u=B,l=cd(l)):l=wi(l);else if(typeof e=="string")u=$;else{e:switch(e){case It:return Na(n.children,a,i,t);case Re:u=Se,a|=vC;break;case zr:u=Se,a|=ct;break;case Xn:return Wx(n,a,i,t);case Kn:return Px(n,a,i,t);case Vn:return $x(n,a,i,t);case oe:return gd(n,a,i,t);case ie:return Yx(n,a,i,t);case I:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vr:u=ce;break e;case Nr:u=sn;break e;case Hn:u=N,l=fd(l);break e;case v:u=ne;break e;case T:u=pe,l=null;break e;case L:u=ke;break e}var o="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" 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 c=r?A(r.type):null;c&&(o+=`
|
|
188
|
-
|
|
189
|
-
Check the render method of \``+c+"`.")}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(e==null?e:typeof e)+"."+o)}}}var f=En(u,n,t,a);return f.elementType=e,f.type=l,f.lanes=i,f._debugOwner=r,f}function yd(e,t,n){var r=null;r=e._owner;var a=e.type,i=e.key,u=e.props,l=md(a,i,u,r,t,n);return l._debugSource=e._source,l._debugOwner=e._owner,l}function Na(e,t,n,r){var a=En(Yt,e,r,t);return a.lanes=n,a}function Wx(e,t,n,r){typeof e.id!="string"&&d('Profiler must specify an "id" as a prop');var a=En(J,e,r,t|gn);return a.elementType=Xn,a.type=Xn,a.lanes=n,a.stateNode={effectDuration:0,passiveEffectDuration:0},a}function Px(e,t,n,r){var a=En(H,e,r,t);return a.type=Kn,a.elementType=Kn,a.lanes=n,a}function $x(e,t,n,r){var a=En(De,e,r,t);return a.type=Vn,a.elementType=Vn,a.lanes=n,a}function gd(e,t,n,r){var a=En(Ge,e,r,t);return a.type=oe,a.elementType=oe,a.lanes=n,a}function Yx(e,t,n,r){var a=En(ot,e,r,t);return a.type=ie,a.elementType=ie,a.lanes=n,a}function bd(e,t,n){var r=En(me,e,null,t);return r.lanes=n,r}function qx(){var e=En($,null,null,Je);return e.elementType="DELETED",e.type="DELETED",e}function Sd(e,t,n){var r=e.children!==null?e.children:[],a=En(le,r,e.key,t);return a.lanes=n,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function wy(e,t){return e===null&&(e=En(nt,null,null,Je)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function Ix(e,t,n){switch(this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=fc,this.context=null,this.pendingContext=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=pa,this.eventTimes=$s(D),this.expirationTimes=$s(st),this.pendingLanes=D,this.suspendedLanes=D,this.pingedLanes=D,this.expiredLanes=D,this.mutableReadLanes=D,this.finishedLanes=D,this.entangledLanes=D,this.entanglements=$s(D),this.mutableSourceEagerHydrationData=null,this.interactionThreadID=se.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map,t){case fh:this._debugRootType="createBlockingRoot()";break;case dh:this._debugRootType="createRoot()";break;case gc:this._debugRootType="createLegacyRoot()";break}}function Gx(e,t,n,r){var a=new Ix(e,t,n),i=Bx(t);return a.current=i,i.stateNode=a,Oc(i),a}function Qx(e,t){var n=t._getVersion,r=n(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,r]:e.mutableSourceEagerHydrationData.push(t,r)}function Xx(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fe,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}var Ed,Rd;Ed=!1,Rd={};function Kx(e){if(!e)return yn;var t=Qa(e),n=tC(t);if(t.tag===B){var r=t.type;if(nr(r))return sh(t,r,n)}return n}function Jx(e,t){{var n=Qa(e);if(n===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e));var r=cv(n);if(r===null)return null;if(r.mode&ct){var a=A(n.type)||"Component";if(!Rd[a]){Rd[a]=!0;var i=Nt;try{pt(r),n.mode&ct?d("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,a):d("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,a)}finally{i?pt(i):Mt()}}}return r.stateNode}}function Zx(e,t,n,r){return Gx(e,t,n)}function Ju(e,t,n,r){aC(t,e);var a=t.current,i=Sn();typeof jest!="undefined"&&(_x(a),by(a));var u=ta(a),l=Kx(n);t.context===null?t.context=l:t.pendingContext=l,Hr&&Nt!==null&&!Ed&&(Ed=!0,d(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
190
|
-
|
|
191
|
-
Check the render method of %s.`,A(Nt.type)||"Unknown"));var o=Xr(i,u);return o.payload={element:e},r=r===void 0?null:r,r!==null&&(typeof r!="function"&&d("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),o.callback=r),Kr(a,o),$t(a,u,i),u}function Cd(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case $:return sc(t.child.stateNode);default:return t.child.stateNode}}function ky(e,t){var n=e.memoizedState;n!==null&&n.dehydrated!==null&&(n.retryLane=Jb(n.retryLane,t))}function Td(e,t){ky(e,t);var n=e.alternate;n&&ky(n,t)}function eD(e){if(e.tag===H){var t=Sn(),n=Fs;$t(e,n,t),Td(e,n)}}function tD(e){if(e.tag===H){var t=Sn(),n=Ws;$t(e,n,t),Td(e,n)}}function nD(e){if(e.tag===H){var t=Sn(),n=ta(e);$t(e,n,t),Td(e,n)}}function rD(e,t){try{return jb(e),t()}finally{}}function Ay(e){var t=mb(e);return t===null?null:t.tag===gt?t.stateNode.instance:t.stateNode}var My=function(e){return!1};function aD(e){return My(e)}var Uy=null,Ly=null,zy=null,Ny=null,jy=null,Hy=null,Vy=null,Fy=null;{var By=function(e,t,n){var r=t[n],a=Array.isArray(e)?e.slice():P({},e);return n+1===t.length?(Array.isArray(a)?a.splice(r,1):delete a[r],a):(a[r]=By(e[r],t,n+1),a)},Wy=function(e,t){return By(e,t,0)},Py=function(e,t,n,r){var a=t[r],i=Array.isArray(e)?e.slice():P({},e);if(r+1===t.length){var u=n[r];i[u]=i[a],Array.isArray(i)?i.splice(a,1):delete i[a]}else i[a]=Py(e[a],t,n,r+1);return i},$y=function(e,t,n){if(t.length!==n.length){be("copyWithRename() expects paths of the same length");return}else for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){be("copyWithRename() expects paths to be the same except for the deepest key");return}return Py(e,t,n,0)},Yy=function(e,t,n,r){if(n>=t.length)return r;var a=t[n],i=Array.isArray(e)?e.slice():P({},e);return i[a]=Yy(e[a],t,n+1,r),i},qy=function(e,t,n){return Yy(e,t,0,n)},xd=function(e,t){for(var n=e.memoizedState;n!==null&&t>0;)n=n.next,t--;return n};Uy=function(e,t,n,r){var a=xd(e,t);if(a!==null){var i=qy(a.memoizedState,n,r);a.memoizedState=i,a.baseState=i,e.memoizedProps=P({},e.memoizedProps),$t(e,Ae,st)}},Ly=function(e,t,n){var r=xd(e,t);if(r!==null){var a=Wy(r.memoizedState,n);r.memoizedState=a,r.baseState=a,e.memoizedProps=P({},e.memoizedProps),$t(e,Ae,st)}},zy=function(e,t,n,r){var a=xd(e,t);if(a!==null){var i=$y(a.memoizedState,n,r);a.memoizedState=i,a.baseState=i,e.memoizedProps=P({},e.memoizedProps),$t(e,Ae,st)}},Ny=function(e,t,n){e.pendingProps=qy(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),$t(e,Ae,st)},jy=function(e,t){e.pendingProps=Wy(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps),$t(e,Ae,st)},Hy=function(e,t,n){e.pendingProps=$y(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),$t(e,Ae,st)},Vy=function(e){$t(e,Ae,st)},Fy=function(e){My=e}}function iD(e){var t=cv(e);return t===null?null:t.stateNode}function uD(e){return null}function lD(){return Nt}function oD(e){var t=e.findFiberByHostInstance,n=de.ReactCurrentDispatcher;return rC({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Uy,overrideHookStateDeletePath:Ly,overrideHookStateRenamePath:zy,overrideProps:Ny,overridePropsDeletePath:jy,overridePropsRenamePath:Hy,setSuspenseHandler:Fy,scheduleUpdate:Vy,currentDispatcherRef:n,findHostInstanceByFiber:iD,findFiberByHostInstance:t||uD,findHostInstancesForRefresh:Ux,scheduleRefresh:Ax,scheduleRoot:Mx,setRefreshHandler:kx,getCurrentFiber:lD})}function Dd(e,t,n){this._internalRoot=sD(e,t,n)}Dd.prototype.render=function(e){var t=this._internalRoot;{typeof arguments[1]=="function"&&d("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var n=t.containerInfo;if(n.nodeType!==hn){var r=Ay(t.current);r&&r.parentNode!==n&&d("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Ju(e,t,null,null)},Dd.prototype.unmount=function(){typeof arguments[0]=="function"&&d("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot,t=e.containerInfo;Ju(null,e,null,function(){rh(t)})};function sD(e,t,n){var r=n!=null&&n.hydrate===!0;n!=null&&n.hydrationOptions;var a=n!=null&&n.hydrationOptions!=null&&n.hydrationOptions.mutableSources||null,i=Zx(e,t,r);eC(i.current,e),e.nodeType;{var u=e.nodeType===hn?e.parentNode:e;_p(u)}if(a)for(var l=0;l<a.length;l++){var o=a[l];Qx(i,o)}return i}function cD(e,t){return new Dd(e,gc,t)}function ki(e){return!!(e&&(e.nodeType===On||e.nodeType===Br||e.nodeType===Vd||e.nodeType===hn&&e.nodeValue===" react-mount-point-unstable "))}var fD=de.ReactCurrentOwner,Iy,Gy=!1;Iy=function(e){if(e._reactRootContainer&&e.nodeType!==hn){var t=Ay(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&d("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=ts(e),a=!!(r&&Ir(r));a&&!n&&d("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===On&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&d("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function ts(e){return e?e.nodeType===Br?e.documentElement:e.firstChild:null}function dD(e){var t=ts(e);return!!(t&&t.nodeType===On&&t.hasAttribute(Tn))}function vD(e,t){var n=t||dD(e);if(!n)for(var r=!1,a;a=e.lastChild;)!r&&a.nodeType===On&&a.hasAttribute(Tn)&&(r=!0,d("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(a);return n&&!t&&!Gy&&(Gy=!0,be("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v18. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),cD(e,n?{hydrate:!0}:void 0)}function pD(e,t){e!==null&&typeof e!="function"&&d("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function ns(e,t,n,r,a){Iy(n),pD(a===void 0?null:a,"render");var i=n._reactRootContainer,u;if(i){if(u=i._internalRoot,typeof a=="function"){var o=a;a=function(){var c=Cd(u);o.call(c)}}Ju(t,u,e,a)}else{if(i=n._reactRootContainer=vD(n,r),u=i._internalRoot,typeof a=="function"){var l=a;a=function(){var c=Cd(u);l.call(c)}}sy(function(){Ju(t,u,e,a)})}return Cd(u)}function hD(e){{var t=fD.current;if(t!==null&&t.stateNode!==null){var n=t.stateNode._warnedAboutRefsInRender;n||d("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",A(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===On?e:Jx(e,"findDOMNode")}function mD(e,t,n){if(!ki(t))throw Error("Target container is not a DOM element.");{var r=jl(t)&&t._reactRootContainer===void 0;r&&d("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?")}return ns(null,e,t,!0,n)}function yD(e,t,n){if(!ki(t))throw Error("Target container is not a DOM element.");{var r=jl(t)&&t._reactRootContainer===void 0;r&&d("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return ns(null,e,t,!1,n)}function gD(e,t,n,r){if(!ki(n))throw Error("Target container is not a DOM element.");if(!(e!=null&&lb(e)))throw Error("parentComponent must be a valid React Component");return ns(e,t,n,!1,r)}function bD(e){if(!ki(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=jl(e)&&e._reactRootContainer===void 0;t&&d("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var n=ts(e),r=n&&!Ir(n);r&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return sy(function(){ns(null,null,e,!1,function(){e._reactRootContainer=null,rh(e)})}),!0}else{{var a=ts(e),i=!!(a&&Ir(a)),u=e.nodeType===On&&ki(e.parentNode)&&!!e.parentNode._reactRootContainer;i&&d("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",u?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}yb(eD),gb(tD),bb(nD),Sb(rD);var Qy=!1;(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&d("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Gg(tR),eb(oy,XT,IT,QT);function Xy(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!ki(t))throw Error("Target container is not a DOM element.");return Xx(e,t,null,n)}function SD(e,t,n,r){return gD(e,t,n,r)}function ED(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return Qy||(Qy=!0,be('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 18+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),Xy(e,t,n)}var RD={Events:[Ir,oi,Hl,Zd,ev,sr,Zo]},CD=oD({findFiberByHostInstance:ba,bundleType:1,version:Dh,rendererPackageName:"react-dom"});if(!CD&&Ct&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Ky=window.location.protocol;/^(https?|file):$/.test(Ky)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Ky==="file:"?`
|
|
192
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Nn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=RD,Nn.createPortal=Xy,Nn.findDOMNode=hD,Nn.flushSync=rd,Nn.hydrate=mD,Nn.render=yD,Nn.unmountComponentAtNode=bD,Nn.unstable_batchedUpdates=oy,Nn.unstable_createPortal=ED,Nn.unstable_renderSubtreeIntoContainer=SD,Nn.version=Dh})();eg.exports=Nn;var AD=eg.exports,wD={exports:{}},ig={};/** @license React v17.0.2
|
|
193
|
-
* react-jsx-dev-runtime.development.js
|
|
194
|
-
*
|
|
195
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
196
|
-
*
|
|
197
|
-
* This source code is licensed under the MIT license found in the
|
|
198
|
-
* LICENSE file in the root directory of this source tree.
|
|
199
|
-
*/(function(E){(function(){var P=rs.exports,ee=Od,se=60103,de=60106;E.Fragment=60107;var be=60108,d=60114,tt=60109,Te=60110,B=60112,nt=60113,Q=60120,le=60115,$=60116,me=60121,Yt=60122,Se=60117,sn=60129,ce=60131;if(typeof Symbol=="function"&&Symbol.for){var N=Symbol.for;se=N("react.element"),de=N("react.portal"),E.Fragment=N("react.fragment"),be=N("react.strict_mode"),d=N("react.profiler"),tt=N("react.provider"),Te=N("react.context"),B=N("react.forward_ref"),nt=N("react.suspense"),Q=N("react.suspense_list"),le=N("react.memo"),$=N("react.lazy"),me=N("react.block"),Yt=N("react.server.block"),Se=N("react.fundamental"),N("react.scope"),N("react.opaque.id"),sn=N("react.debug_trace_mode"),N("react.offscreen"),ce=N("react.legacy_hidden")}var J=typeof Symbol=="function"&&Symbol.iterator,H="@@iterator";function ne(v){if(v===null||typeof v!="object")return null;var T=J&&v[J]||v[H];return typeof T=="function"?T:null}var re=P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pe(v){{for(var T=arguments.length,L=new Array(T>1?T-1:0),I=1;I<T;I++)L[I-1]=arguments[I];xe("error",v,L)}}function xe(v,T,L){{var I=re.ReactDebugCurrentFrame,ye=I.getStackAddendum();ye!==""&&(T+="%s",L=L.concat([ye]));var Re=L.map(function(oe){return""+oe});Re.unshift("Warning: "+T),Function.prototype.apply.call(console[v],console,Re)}}var kt=!1;function De(v){return!!(typeof v=="string"||typeof v=="function"||v===E.Fragment||v===d||v===sn||v===be||v===nt||v===Q||v===ce||kt||typeof v=="object"&&v!==null&&(v.$$typeof===$||v.$$typeof===le||v.$$typeof===tt||v.$$typeof===Te||v.$$typeof===B||v.$$typeof===Se||v.$$typeof===me||v[0]===Yt))}function gt(v,T,L){var I=T.displayName||T.name||"";return v.displayName||(I!==""?L+"("+I+")":L)}function fe(v){return v.displayName||"Context"}function ke(v){if(v==null)return null;if(typeof v.tag=="number"&&pe("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case E.Fragment:return"Fragment";case de:return"Portal";case d:return"Profiler";case be:return"StrictMode";case nt:return"Suspense";case Q:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case Te:var T=v;return fe(T)+".Consumer";case tt:var L=v;return fe(L._context)+".Provider";case B:return gt(v,v.render,"ForwardRef");case le:return ke(v.type);case me:return ke(v._render);case $:{var I=v,ye=I._payload,Re=I._init;try{return ke(Re(ye))}catch{return null}}}return null}var Ge=0,ot,cn,Dt,rt,Rn,Ar,Lt;function jn(){}jn.__reactDisabledLog=!0;function qt(){{if(Ge===0){ot=console.log,cn=console.info,Dt=console.warn,rt=console.error,Rn=console.group,Ar=console.groupCollapsed,Lt=console.groupEnd;var v={configurable:!0,enumerable:!0,value:jn,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}Ge++}}function en(){{if(Ge--,Ge===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ee({},v,{value:ot}),info:ee({},v,{value:cn}),warn:ee({},v,{value:Dt}),error:ee({},v,{value:rt}),group:ee({},v,{value:Rn}),groupCollapsed:ee({},v,{value:Ar}),groupEnd:ee({},v,{value:Lt})})}Ge<0&&pe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ct=re.ReactCurrentDispatcher,Cn;function He(v,T,L){{if(Cn===void 0)try{throw Error()}catch(ye){var I=ye.stack.trim().match(/\n( *(at )?)/);Cn=I&&I[1]||""}return`
|
|
200
|
-
`+Cn+v}}var Ve=!1,bt;{var at=typeof WeakMap=="function"?WeakMap:Map;bt=new at}function $e(v,T){if(!v||Ve)return"";{var L=bt.get(v);if(L!==void 0)return L}var I;Ve=!0;var ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Re;Re=Ct.current,Ct.current=null,qt();try{if(T){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(Gt){I=Gt}Reflect.construct(v,[],oe)}else{try{oe.call()}catch(Gt){I=Gt}v.call(oe.prototype)}}else{try{throw Error()}catch(Gt){I=Gt}v()}}catch(Gt){if(Gt&&I&&typeof Gt.stack=="string"){for(var ie=Gt.stack.split(`
|
|
201
|
-
`),ve=I.stack.split(`
|
|
202
|
-
`),Be=ie.length-1,Ke=ve.length-1;Be>=1&&Ke>=0&&ie[Be]!==ve[Ke];)Ke--;for(;Be>=1&&Ke>=0;Be--,Ke--)if(ie[Be]!==ve[Ke]){if(Be!==1||Ke!==1)do if(Be--,Ke--,Ke<0||ie[Be]!==ve[Ke]){var xt=`
|
|
203
|
-
`+ie[Be].replace(" at new "," at ");return typeof v=="function"&&bt.set(v,xt),xt}while(Be>=1&&Ke>=0);break}}}finally{Ve=!1,Ct.current=Re,en(),Error.prepareStackTrace=ye}var _t=v?v.displayName||v.name:"",jr=_t?He(_t):"";return typeof v=="function"&&bt.set(v,jr),jr}function fn(v,T,L){return $e(v,!1)}function zt(v){var T=v.prototype;return!!(T&&T.isReactComponent)}function Tt(v,T,L){if(v==null)return"";if(typeof v=="function")return $e(v,zt(v));if(typeof v=="string")return He(v);switch(v){case nt:return He("Suspense");case Q:return He("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case B:return fn(v.render);case le:return Tt(v.type,T,L);case me:return fn(v._render);case $:{var I=v,ye=I._payload,Re=I._init;try{return Tt(Re(ye),T,L)}catch{}}}return""}var Tn={},qn=re.ReactDebugCurrentFrame;function dn(v){if(v){var T=v._owner,L=Tt(v.type,v._source,T?T.type:null);qn.setExtraStackFrame(L)}else qn.setExtraStackFrame(null)}function Mr(v,T,L,I,ye){{var Re=Function.call.bind(Object.prototype.hasOwnProperty);for(var oe in v)if(Re(v,oe)){var ie=void 0;try{if(typeof v[oe]!="function"){var ve=Error((I||"React class")+": "+L+" type `"+oe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[oe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ve.name="Invariant Violation",ve}ie=v[oe](T,oe,I,L,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Be){ie=Be}ie&&!(ie instanceof Error)&&(dn(ye),pe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",I||"React class",L,oe,typeof ie),dn(null)),ie instanceof Error&&!(ie.message in Tn)&&(Tn[ie.message]=!0,dn(ye),pe("Failed %s type: %s",L,ie.message),dn(null))}}}var tn=re.ReactCurrentOwner,In=Object.prototype.hasOwnProperty,Ur={key:!0,ref:!0,__self:!0,__source:!0},Gn,At,xn;xn={};function vt(v){if(In.call(v,"ref")){var T=Object.getOwnPropertyDescriptor(v,"ref").get;if(T&&T.isReactWarning)return!1}return v.ref!==void 0}function it(v){if(In.call(v,"key")){var T=Object.getOwnPropertyDescriptor(v,"key").get;if(T&&T.isReactWarning)return!1}return v.key!==void 0}function Lr(v,T){if(typeof v.ref=="string"&&tn.current&&T&&tn.current.stateNode!==T){var L=ke(tn.current.type);xn[L]||(pe('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',ke(tn.current.type),v.ref),xn[L]=!0)}}function dr(v,T){{var L=function(){Gn||(Gn=!0,pe("%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)",T))};L.isReactWarning=!0,Object.defineProperty(v,"key",{get:L,configurable:!0})}}function Qn(v,T){{var L=function(){At||(At=!0,pe("%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)",T))};L.isReactWarning=!0,Object.defineProperty(v,"ref",{get:L,configurable:!0})}}var k=function(v,T,L,I,ye,Re,oe){var ie={$$typeof:se,type:v,key:T,ref:L,props:oe,_owner:Re};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ye}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function W(v,T,L,I,ye){{var Re,oe={},ie=null,ve=null;L!==void 0&&(ie=""+L),it(T)&&(ie=""+T.key),vt(T)&&(ve=T.ref,Lr(T,ye));for(Re in T)In.call(T,Re)&&!Ur.hasOwnProperty(Re)&&(oe[Re]=T[Re]);if(v&&v.defaultProps){var Be=v.defaultProps;for(Re in Be)oe[Re]===void 0&&(oe[Re]=Be[Re])}if(ie||ve){var Ke=typeof v=="function"?v.displayName||v.name||"Unknown":v;ie&&dr(oe,Ke),ve&&Qn(oe,Ke)}return k(v,ie,ve,ye,I,tn.current,oe)}}var te=re.ReactCurrentOwner,Ee=re.ReactDebugCurrentFrame;function Le(v){if(v){var T=v._owner,L=Tt(v.type,v._source,T?T.type:null);Ee.setExtraStackFrame(L)}else Ee.setExtraStackFrame(null)}var Qe;Qe=!1;function Xe(v){return typeof v=="object"&&v!==null&&v.$$typeof===se}function St(){{if(te.current){var v=ke(te.current.type);if(v)return`
|
|
204
|
-
|
|
205
|
-
Check the render method of \``+v+"`."}return""}}function Fe(v){{if(v!==void 0){var T=v.fileName.replace(/^.*[\\\/]/,""),L=v.lineNumber;return`
|
|
206
|
-
|
|
207
|
-
Check your code at `+T+":"+L+"."}return""}}var It={};function zr(v){{var T=St();if(!T){var L=typeof v=="string"?v:v.displayName||v.name;L&&(T=`
|
|
208
|
-
|
|
209
|
-
Check the top-level render call using <`+L+">.")}return T}}function Xn(v,T){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var L=zr(T);if(It[L])return;It[L]=!0;var I="";v&&v._owner&&v._owner!==te.current&&(I=" It was passed a child from "+ke(v._owner.type)+"."),Le(v),pe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',L,I),Le(null)}}function vr(v,T){{if(typeof v!="object")return;if(Array.isArray(v))for(var L=0;L<v.length;L++){var I=v[L];Xe(I)&&Xn(I,T)}else if(Xe(v))v._store&&(v._store.validated=!0);else if(v){var ye=ne(v);if(typeof ye=="function"&&ye!==v.entries)for(var Re=ye.call(v),oe;!(oe=Re.next()).done;)Xe(oe.value)&&Xn(oe.value,T)}}}function Nr(v){{var T=v.type;if(T==null||typeof T=="string")return;var L;if(typeof T=="function")L=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===B||T.$$typeof===le))L=T.propTypes;else return;if(L){var I=ke(T);Mr(L,v.props,"prop",I,v)}else if(T.PropTypes!==void 0&&!Qe){Qe=!0;var ye=ke(T);pe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ye||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&pe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hn(v){{for(var T=Object.keys(v.props),L=0;L<T.length;L++){var I=T[L];if(I!=="children"&&I!=="key"){Le(v),pe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",I),Le(null);break}}v.ref!==null&&(Le(v),pe("Invalid attribute `ref` supplied to `React.Fragment`."),Le(null))}}function Kn(v,T,L,I,ye,Re){{var oe=De(v);if(!oe){var ie="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(ie+=" 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 ve=Fe(ye);ve?ie+=ve:ie+=St();var Be;v===null?Be="null":Array.isArray(v)?Be="array":v!==void 0&&v.$$typeof===se?(Be="<"+(ke(v.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):Be=typeof v,pe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Be,ie)}var Ke=W(v,T,L,ye,Re);if(Ke==null)return Ke;if(oe){var xt=T.children;if(xt!==void 0)if(I)if(Array.isArray(xt)){for(var _t=0;_t<xt.length;_t++)vr(xt[_t],v);Object.freeze&&Object.freeze(xt)}else pe("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else vr(xt,v)}return v===E.Fragment?Hn(Ke):Nr(Ke),Ke}}var Vn=Kn;E.jsxDEV=Vn})()})(ig);wD.exports=ig;export{kD as R,eg as a,AD as b,wD as j,rs as r};
|