@siberiacancode/reactuse 0.0.13 → 0.0.14
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/dist/cjs/{_rollupPluginBabelHelpers-AbuYd4Pg.js → _rollupPluginBabelHelpers-Cpvaypyc.js} +2 -2
- package/dist/cjs/_rollupPluginBabelHelpers-Cpvaypyc.js.map +1 -0
- package/dist/cjs/hooks/index.js +2 -2
- package/dist/cjs/hooks/useBattery/useBattery.js +2 -2
- package/dist/cjs/hooks/useBoolean/useBoolean.js +2 -2
- package/dist/cjs/hooks/useClickOutside/useClickOutside.js +1 -1
- package/dist/cjs/hooks/useCopyToClipboard/useCopyToClipboard.js +2 -2
- package/dist/cjs/hooks/useCounter/useCounter.js +2 -2
- package/dist/cjs/hooks/useDebouncedValue/useDebouncedValue.js +2 -2
- package/dist/cjs/hooks/useDefault/useDefault.js +2 -2
- package/dist/cjs/hooks/useDidUpdate/useDidUpdate.js +1 -1
- package/dist/cjs/hooks/useDocumentTitle/useDocumentTitle.js +2 -2
- package/dist/cjs/hooks/useDocumentVisibility/useDocumentVisibility.js +1 -1
- package/dist/cjs/hooks/useEvent/useEvent.js +1 -1
- package/dist/cjs/hooks/useEventListener/useEventListener.js +1 -1
- package/dist/cjs/hooks/useFavicon/useFavicon.js +2 -2
- package/dist/cjs/hooks/useHash/useHash.js +2 -2
- package/dist/cjs/hooks/useHotkeys/useHotkeys.js +2 -2
- package/dist/cjs/hooks/useHover/useHover.js +2 -2
- package/dist/cjs/hooks/useIdle/useIdle.js +2 -2
- package/dist/cjs/hooks/useIntersectionObserver/useIntersectionObserver.js +2 -2
- package/dist/cjs/hooks/useIsFirstRender/useIsFirstRender.js +1 -1
- package/dist/cjs/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
- package/dist/cjs/hooks/useKeyPress/useKeyPress.js +2 -2
- package/dist/cjs/hooks/useKeyPressEvent/useKeyPressEvent.js +1 -1
- package/dist/cjs/hooks/useKeysPressed/useKeysPressed.js +2 -2
- package/dist/cjs/hooks/useLocalStorage/useLocalStorage.js +2 -2
- package/dist/cjs/hooks/useLogger/useLogger.js +2 -2
- package/dist/cjs/hooks/useMediaQuery/useMediaQuery.js +1 -1
- package/dist/cjs/hooks/useMount/useMount.js +1 -1
- package/dist/cjs/hooks/useMutationObserver.js +1 -1
- package/dist/cjs/hooks/useNetwork/useNetwork.js +1 -1
- package/dist/cjs/hooks/useOnline/useOnline.js +1 -1
- package/dist/cjs/hooks/useOperatingSystem/useOperatingSystem.js +1 -1
- package/dist/cjs/hooks/useOrientation/useOrientation.js +2 -2
- package/dist/cjs/hooks/usePageLeave/usePageLeave.js +2 -2
- package/dist/cjs/hooks/usePrevious/usePrevious.js +1 -1
- package/dist/cjs/hooks/useQueue/useQueue.js +2 -2
- package/dist/cjs/hooks/useRenderCount/useRenderCount.js +1 -1
- package/dist/cjs/hooks/useRerender/useRerender.js +2 -2
- package/dist/cjs/hooks/useScript/useScript.js +2 -2
- package/dist/cjs/hooks/useSessionStorage/useSessionStorage.js +2 -2
- package/dist/cjs/hooks/useSet/useSet.js +2 -2
- package/dist/cjs/hooks/useStep/useStep.js +2 -2
- package/dist/cjs/hooks/useStorage/useStorage.js +2 -2
- package/dist/cjs/hooks/useTimeout/useTimeout.js +2 -2
- package/dist/cjs/hooks/useToggle/useToggle.js +2 -2
- package/dist/cjs/hooks/useToggle/useToggle.js.map +1 -1
- package/dist/cjs/hooks/useUnmount/useUnmount.js +1 -1
- package/dist/cjs/hooks/useWindowEvent/useWindowEvent.js +1 -1
- package/dist/cjs/hooks/useWindowSize/useWindowSize.js +2 -2
- package/dist/cjs/{index-Bqc-0gKC.js → index-CxiywMNl.js} +2 -2
- package/dist/cjs/{index-Bqc-0gKC.js.map → index-CxiywMNl.js.map} +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/utils/helpers/debounce.js +1 -1
- package/dist/cjs/utils/helpers/index.js +1 -1
- package/dist/cjs/utils/helpers/isClient.js +1 -1
- package/dist/cjs/utils/helpers/isShallowEqual.js +1 -1
- package/dist/cjs/utils/helpers/throttle.js +1 -1
- package/dist/esm/{_rollupPluginBabelHelpers-CtMKhJ6X.js → _rollupPluginBabelHelpers-BD_D7dtZ.js} +2 -2
- package/dist/esm/_rollupPluginBabelHelpers-BD_D7dtZ.js.map +1 -0
- package/dist/esm/hooks/index.js +2 -2
- package/dist/esm/hooks/useBattery/useBattery.js +2 -2
- package/dist/esm/hooks/useBoolean/useBoolean.js +2 -2
- package/dist/esm/hooks/useClickOutside/useClickOutside.js +1 -1
- package/dist/esm/hooks/useCopyToClipboard/useCopyToClipboard.js +2 -2
- package/dist/esm/hooks/useCounter/useCounter.js +2 -2
- package/dist/esm/hooks/useDebouncedValue/useDebouncedValue.js +2 -2
- package/dist/esm/hooks/useDefault/useDefault.js +2 -2
- package/dist/esm/hooks/useDidUpdate/useDidUpdate.js +1 -1
- package/dist/esm/hooks/useDocumentTitle/useDocumentTitle.js +2 -2
- package/dist/esm/hooks/useDocumentVisibility/useDocumentVisibility.js +1 -1
- package/dist/esm/hooks/useEvent/useEvent.js +1 -1
- package/dist/esm/hooks/useEventListener/useEventListener.js +1 -1
- package/dist/esm/hooks/useFavicon/useFavicon.js +2 -2
- package/dist/esm/hooks/useHash/useHash.js +2 -2
- package/dist/esm/hooks/useHotkeys/useHotkeys.js +2 -2
- package/dist/esm/hooks/useHover/useHover.js +2 -2
- package/dist/esm/hooks/useIdle/useIdle.js +2 -2
- package/dist/esm/hooks/useIntersectionObserver/useIntersectionObserver.js +2 -2
- package/dist/esm/hooks/useIsFirstRender/useIsFirstRender.js +1 -1
- package/dist/esm/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
- package/dist/esm/hooks/useKeyPress/useKeyPress.js +2 -2
- package/dist/esm/hooks/useKeyPressEvent/useKeyPressEvent.js +1 -1
- package/dist/esm/hooks/useKeysPressed/useKeysPressed.js +2 -2
- package/dist/esm/hooks/useLocalStorage/useLocalStorage.js +2 -2
- package/dist/esm/hooks/useLogger/useLogger.js +2 -2
- package/dist/esm/hooks/useMediaQuery/useMediaQuery.js +1 -1
- package/dist/esm/hooks/useMount/useMount.js +1 -1
- package/dist/esm/hooks/useMutationObserver.js +1 -1
- package/dist/esm/hooks/useNetwork/useNetwork.js +1 -1
- package/dist/esm/hooks/useOnline/useOnline.js +1 -1
- package/dist/esm/hooks/useOperatingSystem/useOperatingSystem.js +1 -1
- package/dist/esm/hooks/useOrientation/useOrientation.js +2 -2
- package/dist/esm/hooks/usePageLeave/usePageLeave.js +2 -2
- package/dist/esm/hooks/usePrevious/usePrevious.js +1 -1
- package/dist/esm/hooks/useQueue/useQueue.js +2 -2
- package/dist/esm/hooks/useRenderCount/useRenderCount.js +1 -1
- package/dist/esm/hooks/useRerender/useRerender.js +2 -2
- package/dist/esm/hooks/useScript/useScript.js +2 -2
- package/dist/esm/hooks/useSessionStorage/useSessionStorage.js +2 -2
- package/dist/esm/hooks/useSet/useSet.js +2 -2
- package/dist/esm/hooks/useStep/useStep.js +2 -2
- package/dist/esm/hooks/useStorage/useStorage.js +2 -2
- package/dist/esm/hooks/useTimeout/useTimeout.js +2 -2
- package/dist/esm/hooks/useToggle/useToggle.js +2 -2
- package/dist/esm/hooks/useToggle/useToggle.js.map +1 -1
- package/dist/esm/hooks/useUnmount/useUnmount.js +1 -1
- package/dist/esm/hooks/useWindowEvent/useWindowEvent.js +1 -1
- package/dist/esm/hooks/useWindowSize/useWindowSize.js +2 -2
- package/dist/esm/{index-Dl6lmkQE.js → index-B8ndwmOB.js} +2 -2
- package/dist/esm/{index-Dl6lmkQE.js.map → index-B8ndwmOB.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/utils/helpers/debounce.js +1 -1
- package/dist/esm/utils/helpers/index.js +1 -1
- package/dist/esm/utils/helpers/isClient.js +1 -1
- package/dist/esm/utils/helpers/isShallowEqual.js +1 -1
- package/dist/esm/utils/helpers/throttle.js +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/_rollupPluginBabelHelpers-AbuYd4Pg.js.map +0 -1
- package/dist/esm/_rollupPluginBabelHelpers-CtMKhJ6X.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @license @siberiacancode/reactuse v0.0.
|
|
1
|
+
/* @license @siberiacancode/reactuse v0.0.14 */
|
|
2
2
|
"use strict";var e,n=require("react"),t={exports:{}},r={},a={exports:{}},o={};var i,l,u,s={};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
* @internal
|
|
41
41
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
42
42
|
*/function du(e,n,t,r){gr(r);var a=bs(n,"onChange");if(a.length>0){var o=new Tl("onChange","change",null,t,r);e.push({event:o,listeners:a})}}var fu=null,pu=null;function hu(e){cs(e,0)}function mu(e){if(zn(qc(e)))return e}function vu(e,n){if("change"===e)return n}var gu=!1;function yu(){fu&&(fu.detachEvent("onpropertychange",bu),fu=null,pu=null)}function bu(e){"value"===e.propertyName&&mu(pu)&&function(e){var n=[];du(n,pu,e,fr(e)),xr(hu,n)}(e)}function wu(e,n,t){"focusin"===e?(yu(),function(e,n){pu=n,(fu=e).attachEvent("onpropertychange",bu)}(n,t)):"focusout"===e&&yu()}function ku(e,n){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mu(pu)}function Su(e,n){if("click"===e)return mu(n)}function xu(e,n){if("input"===e||"change"===e)return mu(n)}function Eu(e,n,t,r,a,o,i){var l,u,s,c,d,f,p=t?qc(t):window;if("select"===(c=(s=p).nodeName&&s.nodeName.toLowerCase())||"input"===c&&"file"===s.type?l=vu:cu(p)?gu?l=xu:(l=ku,u=wu):function(e){var n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=Su),l){var h=l(n,t);if(h)return void du(e,h,r,a)}u&&u(n,p,t),"focusout"===n&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&Qn(d,"number",d.value)}function Cu(e,n,t,r,a,o,i){var l="mouseover"===n||"pointerover"===n,u="mouseout"===n||"pointerout"===n;if(l&&r!==dr){var s=r.relatedTarget||r.fromElement;if(s&&(Qc(s)||Hc(s)))return}if(u||l){var c,d,f;if(a.window===a)c=a;else{var p=a.ownerDocument;c=p?p.defaultView||p.parentWindow:window}if(u){var h=r.relatedTarget||r.toElement;d=t,null!==(f=h?Qc(h):null)&&(f!==ga(f)||f.tag!==m&&f.tag!==v)&&(f=null)}else d=null,f=t;if(d!==f){var g=Nl,y="onMouseLeave",b="onMouseEnter",w="mouse";"pointerout"!==n&&"pointerover"!==n||(g=Vl,y="onPointerLeave",b="onPointerEnter",w="pointer");var k=null==d?c:qc(d),S=null==f?c:qc(f),x=new g(y,w+"leave",d,r,a);x.target=k,x.relatedTarget=S;var E=null;if(Qc(a)===t){var C=new g(b,w+"enter",f,r,a);C.target=S,C.relatedTarget=k,E=C}!function(e,n,t,r,a){var o=r&&a?function(e,n){for(var t=e,r=n,a=0,o=t;o;o=ws(o))a++;for(var i=0,l=r;l;l=ws(l))i++;for(;a-i>0;)t=ws(t),a--;for(;i-a>0;)r=ws(r),i--;for(var u=a;u--;){if(t===r||null!==r&&t===r.alternate)return t;t=ws(t),r=ws(r)}return null}(r,a):null;null!==r&&ks(e,n,r,o,!1),null!==a&&null!==t&&ks(e,t,a,o,!0)}(e,x,E,d,f)}}}G&&(gu=function(e){if(!G)return!1;var n="oninput",t=n in document;if(!t){var r=document.createElement("div");r.setAttribute(n,"return;"),t="function"==typeof r[n]}return t}()&&(!document.documentMode||document.documentMode>9));var Tu="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function _u(e,n){if(Tu(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(var a=0;a<t.length;a++){var o=t[a];if(!J.call(n,o)||!Tu(e[o],n[o]))return!1}return!0}function Ru(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pu(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nu(e,n){for(var t=Ru(e),r=0,a=0;t;){if(t.nodeType===yt){if(a=r+t.textContent.length,r<=n&&a>=n)return{node:t,offset:n-r};r=a}t=Ru(Pu(t))}}function Lu(e){var n=e.ownerDocument,t=n&&n.defaultView||window,r=t.getSelection&&t.getSelection();if(!r||0===r.rangeCount)return null;var a=r.anchorNode,o=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{a.nodeType,i.nodeType}catch(e){return null}return function(e,n,t,r,a){var o=0,i=-1,l=-1,u=0,s=0,c=e,d=null;e:for(;;){for(var f=null;c!==n||0!==t&&c.nodeType!==yt||(i=o+t),c!==r||0!==a&&c.nodeType!==yt||(l=o+a),c.nodeType===yt&&(o+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===n&&++u===t&&(i=o),d===r&&++s===a&&(l=o),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}return-1===i||-1===l?null:{start:i,end:l}}(e,a,o,i,l)}function zu(e){return e&&e.nodeType===yt}function Du(e,n){return!(!e||!n)&&(e===n||!zu(e)&&(zu(n)?Du(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function Iu(e){return e&&e.ownerDocument&&Du(e.ownerDocument.documentElement,e)}function Mu(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Ou(){for(var e=window,n=Dn();n instanceof e.HTMLIFrameElement;){if(!Mu(n))return n;n=Dn((e=n.contentWindow).document)}return n}function Uu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function Fu(e){var n,t,r,a,o=Ou(),i=e.focusedElem,l=e.selectionRange;if(o!==i&&Iu(i)){null!==l&&Uu(i)&&(n=i,r=(t=l).start,void 0===(a=t.end)&&(a=r),"selectionStart"in n?(n.selectionStart=r,n.selectionEnd=Math.min(a,n.value.length)):function(e,n){var t=e.ownerDocument||document,r=t&&t.defaultView||window;if(r.getSelection){var a=r.getSelection(),o=e.textContent.length,i=Math.min(n.start,o),l=void 0===n.end?i:Math.min(n.end,o);if(!a.extend&&i>l){var u=l;l=i,i=u}var s=Nu(e,i),c=Nu(e,l);if(s&&c){if(1===a.rangeCount&&a.anchorNode===s.node&&a.anchorOffset===s.offset&&a.focusNode===c.node&&a.focusOffset===c.offset)return;var d=t.createRange();d.setStart(s.node,s.offset),a.removeAllRanges(),i>l?(a.addRange(d),a.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),a.addRange(d))}}}(n,t));for(var u=[],s=i;s=s.parentNode;)s.nodeType===gt&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});"function"==typeof i.focus&&i.focus();for(var c=0;c<u.length;c++){var d=u[c];d.element.scrollLeft=d.left,d.element.scrollTop=d.top}}}function Au(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Lu(e))||{start:0,end:0}}var ju=G&&"documentMode"in document&&document.documentMode<=11,Wu=null,Bu=null,Vu=null,Hu=!1;function Qu(e,n,t){var r,a=(r=t).window===r?r.document:r.nodeType===wt?r:r.ownerDocument;if(!Hu&&null!=Wu&&Wu===Dn(a)){var o=function(e){if("selectionStart"in e&&Uu(e))return{start:e.selectionStart,end:e.selectionEnd};var n=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}(Wu);if(!Vu||!_u(Vu,o)){Vu=o;var i=bs(Bu,"onSelect");if(i.length>0){var l=new Tl("onSelect","select",null,n,t);e.push({event:l,listeners:i}),l.target=Wu}}}}function $u(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var qu={animationend:$u("Animation","AnimationEnd"),animationiteration:$u("Animation","AnimationIteration"),animationstart:$u("Animation","AnimationStart"),transitionend:$u("Transition","TransitionEnd")},Yu={},Ku={};function Xu(e){if(Yu[e])return Yu[e];if(!qu[e])return e;var n=qu[e];for(var t in n)if(n.hasOwnProperty(t)&&t in Ku)return Yu[e]=n[t];return e}G&&(Ku=document.createElement("div").style,"AnimationEvent"in window||(delete qu.animationend.animation,delete qu.animationiteration.animation,delete qu.animationstart.animation),"TransitionEvent"in window||delete qu.transitionend.transition);var Gu=Xu("animationend"),Ju=Xu("animationiteration"),Zu=Xu("animationstart"),es=Xu("transitionend"),ns=new Map,ts=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function rs(e,n){ns.set(e,n),K(n,[e])}function as(e,n,t,r,a,o,i){var l=ns.get(n);if(void 0!==l){var u=Tl,s=n;switch(n){case"keypress":if(0===yl(r))return;case"keydown":case"keyup":u=Bl;break;case"focusin":s="focus",u=zl;break;case"focusout":s="blur",u=zl;break;case"beforeblur":case"afterblur":u=zl;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=Nl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=Ll;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Hl;break;case Gu:case Ju:case Zu:u=Dl;break;case es:u=Ql;break;case"scroll":u=Rl;break;case"wheel":u=$l;break;case"copy":case"cut":case"paste":u=Il;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Vl}var c=0!=(o&sr),d=!c&&"scroll"===n,f=function(e,n,t,r,a,o){for(var i=r?null!==n?n+"Capture":null:n,l=[],u=e,s=null;null!==u;){var c=u,d=c.stateNode;if(c.tag===m&&null!==d&&(s=d,null!==i)){var f=Er(u,i);null!=f&&l.push(ys(u,f,s))}if(a)break;u=u.return}return l}(t,l,r.type,c,d);if(f.length>0){var p=new u(l,s,null,r,a);e.push({event:p,listeners:f})}}}function os(e,n,t,r,a,o,i){as(e,n,t,r,a,o),0==(o&cr)&&(Cu(e,n,t,r,a),Eu(e,n,t,r,a),function(e,n,t,r,a,o,i){var l=t?qc(t):window;switch(n){case"focusin":(cu(l)||"true"===l.contentEditable)&&(Wu=l,Bu=t,Vu=null);break;case"focusout":Wu=null,Bu=null,Vu=null;break;case"mousedown":Hu=!0;break;case"contextmenu":case"mouseup":case"dragend":Hu=!1,Qu(e,r,a);break;case"selectionchange":if(ju)break;case"keydown":case"keyup":Qu(e,r,a)}}(e,n,t,r,a),function(e,n,t,r,a,o,i){iu(e,n,t,r,a),uu(e,n,t,r,a)}(e,n,t,r,a))}!function(){for(var e=0;e<ts.length;e++){var n=ts[e];rs(n.toLowerCase(),"on"+(n[0].toUpperCase()+n.slice(1)))}rs(Gu,"onAnimationEnd"),rs(Ju,"onAnimationIteration"),rs(Zu,"onAnimationStart"),rs("dblclick","onDoubleClick"),rs("focusin","onFocus"),rs("focusout","onBlur"),rs(es,"onTransitionEnd")}(),X("onMouseEnter",["mouseout","mouseover"]),X("onMouseLeave",["mouseout","mouseover"]),X("onPointerEnter",["pointerout","pointerover"]),X("onPointerLeave",["pointerout","pointerover"]),K("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),K("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),K("onBeforeInput",["compositionend","keypress","textInput","paste"]),K("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),K("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),K("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var is=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],ls=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(is));function us(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,a,o,i,l,u){if(Or.apply(this,arguments),Lr){var s=Ur();Dr||(Dr=!0,Ir=s)}}(r,n,void 0,e),e.currentTarget=null}function ss(e,n,t){var r;if(t)for(var a=n.length-1;a>=0;a--){var o=n[a],i=o.instance,l=o.currentTarget,u=o.listener;if(i!==r&&e.isPropagationStopped())return;us(e,u,l),r=i}else for(var s=0;s<n.length;s++){var c=n[s],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;us(e,p,f),r=d}}function cs(e,n){for(var t=0!=(n&sr),r=0;r<e.length;r++){var a=e[r];ss(a.event,a.listeners,t)}!function(){if(Dr){var e=Ir;throw Dr=!1,Ir=null,e}}()}function ds(e,n){ls.has(e)||i('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var t,r,a=(void 0===(r=(t=n)[Fc])&&(r=t[Fc]=new Set),r),o=function(e,n){return e+"__bubble"}(e);a.has(o)||(ms(n,e,ur,!1),a.add(o))}function fs(e,n,t){ls.has(e)&&!n&&i('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;n&&(r|=sr),ms(t,e,r,n)}var ps="_reactListening"+Math.random().toString(36).slice(2);function hs(e){if(!e[ps]){e[ps]=!0,$.forEach((function(n){"selectionchange"!==n&&(ls.has(n)||fs(n,!1,e),fs(n,!0,e))}));var n=e.nodeType===wt?e:e.ownerDocument;null!==n&&(n[ps]||(n[ps]=!0,fs("selectionchange",!1,n)))}}function ms(e,n,t,r,a){var o=function(e,n,t){var r;switch(fl(n)){case Ni:r=ll;break;case Li:r=ul;break;default:r=sl}return r.bind(null,n,t,e)}(e,n,t),i=void 0;Cr&&("touchstart"!==n&&"touchmove"!==n&&"wheel"!==n||(i=!0)),r?void 0!==i?function(e,n,t,r){e.addEventListener(n,t,{capture:!0,passive:r})}(e,n,o,i):function(e,n,t){e.addEventListener(n,t,!0)}(e,n,o):void 0!==i?function(e,n,t,r){e.addEventListener(n,t,{passive:r})}(e,n,o,i):function(e,n,t){e.addEventListener(n,t,!1)}(e,n,o)}function vs(e,n){return e===n||e.nodeType===bt&&e.parentNode===n}function gs(e,n,t,r,a){var o=r;if(0==(n&lr)&&0==(n&ur)){var i=a;if(null!==r){var l=r;e:for(;;){if(null===l)return;var u=l.tag;if(u===f||u===h){var s=l.stateNode.containerInfo;if(vs(s,i))break;if(u===h)for(var c=l.return;null!==c;){var d=c.tag;if((d===f||d===h)&&vs(c.stateNode.containerInfo,i))return;c=c.return}for(;null!==s;){var p=Qc(s);if(null===p)return;var g=p.tag;if(g===m||g===v){l=o=p;continue e}s=s.parentNode}}l=l.return}}}xr((function(){return function(e,n,t,r,a){var o=[];os(o,e,r,t,fr(t),n),cs(o,n)}(e,n,t,o)}))}function ys(e,n,t){return{instance:e,listener:n,currentTarget:t}}function bs(e,n){for(var t=n+"Capture",r=[],a=e;null!==a;){var o=a,i=o.stateNode;if(o.tag===m&&null!==i){var l=i,u=Er(a,t);null!=u&&r.unshift(ys(a,u,l));var s=Er(a,n);null!=s&&r.push(ys(a,s,l))}a=a.return}return r}function ws(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==m);return e||null}function ks(e,n,t,r,a){for(var o=n._reactName,i=[],l=t;null!==l&&l!==r;){var u=l,s=u.alternate,c=u.stateNode,d=u.tag;if(null!==s&&s===r)break;if(d===m&&null!==c){var f=c;if(a){var p=Er(l,o);null!=p&&i.unshift(ys(l,p,f))}else if(!a){var h=Er(l,o);null!=h&&i.push(ys(l,h,f))}}l=l.return}0!==i.length&&e.push({event:n,listeners:i})}var Ss,xs,Es,Cs,Ts,_s,Rs,Ps=!1,Ns="dangerouslySetInnerHTML",Ls="suppressContentEditableWarning",zs="suppressHydrationWarning",Ds="autoFocus",Is="children",Ms="style",Os="__html";Ss={dialog:!0,webview:!0},xs=function(e,n){Jt(e,n),function(e,n){"input"!==e&&"textarea"!==e&&"select"!==e||null==n||null!==n.value||er||(er=!0,"select"===e&&n.multiple?i("`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):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,n),ir(e,n,{registrationNameDependencies:q,possibleRegistrationNames:Y})},_s=G&&!document.documentMode,Es=function(e,n,t){if(!Ps){var r=As(t),a=As(n);a!==r&&(Ps=!0,i("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(a),JSON.stringify(r)))}},Cs=function(e){if(!Ps){Ps=!0;var n=[];e.forEach((function(e){n.push(e)})),i("Extra attributes from the server: %s",n)}},Ts=function(e,n){!1===n?i("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):i("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof n)},Rs=function(e,n){var t=e.namespaceURI===st?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return t.innerHTML=n,t.innerHTML};var Us=/\r\n?/g,Fs=/\u0000|\uFFFD/g;function As(e){return ee(n=e)&&(i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Z(n)),ne(n)),("string"==typeof e?e:""+e).replace(Us,"\n").replace(Fs,"");var n}function js(e,n,t,r){var a=As(n),o=As(e);if(o!==a&&(r&&(Ps||(Ps=!0,i('Text content did not match. Server: "%s" Client: "%s"',o,a))),t&&M))throw new Error("Text content does not match server-rendered HTML.")}function Ws(e){return e.nodeType===wt?e:e.ownerDocument}function Bs(){}function Vs(e){e.onclick=Bs}function Hs(e,n,t,r){var a,o=Qt(n,t);switch(xs(n,t),n){case"dialog":ds("cancel",e),ds("close",e),a=t;break;case"iframe":case"object":case"embed":ds("load",e),a=t;break;case"video":case"audio":for(var i=0;i<is.length;i++)ds(is[i],e);a=t;break;case"source":ds("error",e),a=t;break;case"img":case"image":case"link":ds("error",e),ds("load",e),a=t;break;case"details":ds("toggle",e),a=t;break;case"input":jn(e,t),a=An(e,t),ds("invalid",e);break;case"option":Kn(0,t),a=t;break;case"select":rt(e,t),a=tt(0,t),ds("invalid",e);break;case"textarea":it(e,t),a=ot(e,t),ds("invalid",e);break;default:a=t}switch(Ht(n,a),function(e,n,t,r,a){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];if(o===Ms)i&&Object.freeze(i),jt(n,i);else if(o===Ns){var l=i?i[Os]:void 0;null!=l&&vt(n,l)}else o===Is?"string"==typeof i?("textarea"!==e||""!==i)&&St(n,i):"number"==typeof i&&St(n,""+i):o===Ls||o===zs||o===Ds||(q.hasOwnProperty(o)?null!=i&&("function"!=typeof i&&Ts(o,i),"onScroll"===o&&ds("scroll",n)):null!=i&&Re(n,o,i,a))}}(n,e,0,a,o),n){case"input":Ln(e),Vn(e,t,!1);break;case"textarea":Ln(e),ut(e);break;case"option":!function(e,n){null!=n.value&&e.setAttribute("value",Cn(Tn(n.value)))}(e,t);break;case"select":!function(e,n){var t=e;t.multiple=!!n.multiple;var r=n.value;null!=r?nt(t,!!n.multiple,r,!1):null!=n.defaultValue&&nt(t,!!n.multiple,n.defaultValue,!0)}(e,t);break;default:"function"==typeof a.onClick&&Vs(e)}}function Qs(e,n,t,r,a){xs(n,r);var o,l,u,s,c=null;switch(n){case"input":o=An(e,t),l=An(e,r),c=[];break;case"select":o=tt(0,t),l=tt(0,r),c=[];break;case"textarea":o=ot(e,t),l=ot(e,r),c=[];break;default:l=r,"function"!=typeof(o=t).onClick&&"function"==typeof l.onClick&&Vs(e)}Ht(n,l);var d=null;for(u in o)if(!l.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if(u===Ms){var f=o[u];for(s in f)f.hasOwnProperty(s)&&(d||(d={}),d[s]="")}else u===Ns||u===Is||u===Ls||u===zs||u===Ds||(q.hasOwnProperty(u)?c||(c=[]):(c=c||[]).push(u,null));for(u in l){var p=l[u],h=null!=o?o[u]:void 0;if(l.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if(u===Ms)if(p&&Object.freeze(p),h){for(s in h)!h.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(d||(d={}),d[s]="");for(s in p)p.hasOwnProperty(s)&&h[s]!==p[s]&&(d||(d={}),d[s]=p[s])}else d||(c||(c=[]),c.push(u,d)),d=p;else if(u===Ns){var m=p?p[Os]:void 0,v=h?h[Os]:void 0;null!=m&&v!==m&&(c=c||[]).push(u,m)}else u===Is?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(u,""+p):u===Ls||u===zs||(q.hasOwnProperty(u)?(null!=p&&("function"!=typeof p&&Ts(u,p),"onScroll"===u&&ds("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(u,p))}return d&&(function(e,n){if(n){var t,r=Wt(e),a=Wt(n),o={};for(var l in r){var u=r[l],s=a[l];if(s&&u!==s){var c=u+","+s;if(o[c])continue;o[c]=!0,i("%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.",null==(t=e[u])||"boolean"==typeof t||""===t?"Removing":"Updating",u,s)}}}}(d,l[Ms]),(c=c||[]).push(Ms,d)),c}function $s(e,n,t,r,a){switch("input"===t&&"radio"===a.type&&null!=a.name&&Wn(e,a),Qt(t,r),function(e,n,t,r){for(var a=0;a<n.length;a+=2){var o=n[a],i=n[a+1];o===Ms?jt(e,i):o===Ns?vt(e,i):o===Is?St(e,i):Re(e,o,i,r)}}(e,n,0,Qt(t,a)),t){case"input":Bn(e,a);break;case"textarea":lt(e,a);break;case"select":!function(e,n){var t=e,r=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=!!n.multiple;var a=n.value;null!=a?nt(t,!!n.multiple,a,!1):r!==!!n.multiple&&(null!=n.defaultValue?nt(t,!!n.multiple,n.defaultValue,!0):nt(t,!!n.multiple,n.multiple?[]:"",!1))}(e,a)}}function qs(e,n){Ps||(Ps=!0,i("Did not expect server HTML to contain a <%s> in <%s>.",n.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ys(e,n){Ps||(Ps=!0,i('Did not expect server HTML to contain the text node "%s" in <%s>.',n.nodeValue,e.nodeName.toLowerCase()))}function Ks(e,n,t){Ps||(Ps=!0,i("Expected server HTML to contain a matching <%s> in <%s>.",n,e.nodeName.toLowerCase()))}function Xs(e,n){""!==n&&(Ps||(Ps=!0,i('Expected server HTML to contain a matching text node for "%s" in <%s>.',n,e.nodeName.toLowerCase())))}var Gs=function(){},Js=function(){},Zs=["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"],ec=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],nc=ec.concat(["button"]),tc=["dd","dt","li","option","optgroup","p","rp","rt"],rc={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Js=function(e,n){var t=Je({},e||rc),r={tag:n};return-1!==ec.indexOf(n)&&(t.aTagInScope=null,t.buttonTagInScope=null,t.nobrTagInScope=null),-1!==nc.indexOf(n)&&(t.pTagInButtonScope=null),-1!==Zs.indexOf(n)&&"address"!==n&&"div"!==n&&"p"!==n&&(t.listItemTagAutoclosing=null,t.dlItemTagAutoclosing=null),t.current=r,"form"===n&&(t.formTag=r),"a"===n&&(t.aTagInScope=r),"button"===n&&(t.buttonTagInScope=r),"nobr"===n&&(t.nobrTagInScope=r),"p"===n&&(t.pTagInButtonScope=r),"li"===n&&(t.listItemTagAutoclosing=r),"dd"!==n&&"dt"!==n||(t.dlItemTagAutoclosing=r),t};var ac={};Gs=function(e,n,t){var r=(t=t||rc).current,a=r&&r.tag;null!=n&&(null!=e&&i("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var o=function(e,n){switch(n){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==n&&"h2"!==n&&"h3"!==n&&"h4"!==n&&"h5"!==n&&"h6"!==n;case"rp":case"rt":return-1===tc.indexOf(n);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 null==n}return!0}(e,a)?null:r,l=o?null:function(e,n){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 n.pTagInButtonScope;case"form":return n.formTag||n.pTagInButtonScope;case"li":return n.listItemTagAutoclosing;case"dd":case"dt":return n.dlItemTagAutoclosing;case"button":return n.buttonTagInScope;case"a":return n.aTagInScope;case"nobr":return n.nobrTagInScope}return null}(e,t),u=o||l;if(u){var s=u.tag,c=!!o+"|"+e+"|"+s;if(!ac[c]){ac[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(n)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",o){var p="";"table"===s&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),i("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,s,f,p)}else i("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,s)}}};var oc="suppressHydrationWarning",ic="$",lc="/$",uc="$?",sc="$!",cc="style",dc=null,fc=null;function pc(e){var n;return dc=ol,n=Ou(),fc={focusedElem:n,selectionRange:Uu(n)?Au(n):null},il(!1),null}function hc(e,n,t,r,a){var o=r;if(Gs(e,null,o.ancestorInfo),"string"==typeof n.children||"number"==typeof n.children){var l=""+n.children,u=Js(o.ancestorInfo,e);Gs(null,l,u)}var s=function(e,n,t,r){var a,o,l=Ws(t),u=r;if(u===st&&(u=ft(e)),u===st){if((a=Qt(e,n))||e===e.toLowerCase()||i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var s=l.createElement("div");s.innerHTML="<script><\/script>";var c=s.firstChild;o=s.removeChild(c)}else if("string"==typeof n.is)o=l.createElement(e,{is:n.is});else if(o=l.createElement(e),"select"===e){var d=o;n.multiple?d.multiple=!0:n.size&&(d.size=n.size)}}else o=l.createElementNS(u,e);return u===st&&(a||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(o)||J.call(Ss,e)||(Ss[e]=!0,i("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),o}(e,n,t,o.namespace);return Wc(a,s),Kc(s,n),s}function mc(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}function vc(e,n,t,r){Gs(null,e,t.ancestorInfo);var a=function(e,n){return Ws(n).createTextNode(e)}(e,n);return Wc(r,a),a}var gc="function"==typeof setTimeout?setTimeout:void 0,yc="function"==typeof clearTimeout?clearTimeout:void 0,bc=-1,wc="function"==typeof Promise?Promise:void 0,kc="function"==typeof queueMicrotask?queueMicrotask:void 0!==wc?function(e){return wc.resolve(null).then(e).catch(Sc)}:gc;function Sc(e){setTimeout((function(){throw e}))}function xc(e){St(e,"")}function Ec(e,n){var t=n,r=0;do{var a=t.nextSibling;if(e.removeChild(t),a&&a.nodeType===bt){var o=a.data;if(o===lc){if(0===r)return e.removeChild(a),void rl(n);r--}else o!==ic&&o!==uc&&o!==sc||r++}t=a}while(t);rl(n)}function Cc(e){var n=e.style;"function"==typeof n.setProperty?n.setProperty("display","none","important"):n.display="none"}function Tc(e,n){var t=n[cc],r=null!=t&&t.hasOwnProperty("display")?t.display:null;e.style.display=Tt("display",r)}function _c(e,n){e.nodeValue=n}function Rc(e){return e.data===uc}function Pc(e){return e.data===sc}function Nc(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(n===gt||n===yt)break;if(n===bt){var t=e.data;if(t===ic||t===sc||t===uc)break;if(t===lc)return null}}return e}function Lc(e){return Nc(e.nextSibling)}function zc(e,n,t,r,a,o,i){return Wc(o,e),Kc(e,t),function(e,n,t,r,a,o,i){var l,u;switch(l=Qt(n,t),xs(n,t),n){case"dialog":ds("cancel",e),ds("close",e);break;case"iframe":case"object":case"embed":ds("load",e);break;case"video":case"audio":for(var s=0;s<is.length;s++)ds(is[s],e);break;case"source":ds("error",e);break;case"img":case"image":case"link":ds("error",e),ds("load",e);break;case"details":ds("toggle",e);break;case"input":jn(e,t),ds("invalid",e);break;case"option":Kn(0,t);break;case"select":rt(e,t),ds("invalid",e);break;case"textarea":it(e,t),ds("invalid",e)}Ht(n,t),u=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:u.add(c[d].name)}var f,p=null;for(var h in t)if(t.hasOwnProperty(h)){var m=t[h];if(h===Is)"string"==typeof m?e.textContent!==m&&(!0!==t[zs]&&js(e.textContent,m,o,i),p=[Is,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==t[zs]&&js(e.textContent,m,o,i),p=[Is,""+m]);else if(q.hasOwnProperty(h))null!=m&&("function"!=typeof m&&Ts(h,m),"onScroll"===h&&ds("scroll",e));else if(i&&"boolean"==typeof l){var v=void 0,g=l&&W?null:ye(h);if(!0===t[zs]);else if(h===Ls||h===zs||"value"===h||"checked"===h||"selected"===h);else if(h===Ns){var y=e.innerHTML,b=m?m[Os]:void 0;if(null!=b){var w=Rs(e,b);w!==y&&Es(h,y,w)}}else if(h===Ms){if(u.delete(h),_s){var k=At(m);k!==(v=e.getAttribute("style"))&&Es(h,v,k)}}else if(l&&!W)u.delete(h.toLowerCase()),m!==(v=_e(e,h,m))&&Es(h,v,m);else if(!me(h,g,l)&&!ge(h,m,g,l)){var S=!1;if(null!==g)u.delete(g.attributeName),v=Te(e,h,m,g);else{var x=r;if(x===st&&(x=ft(n)),x===st)u.delete(h.toLowerCase());else{var E=(f=void 0,f=h.toLowerCase(),$t.hasOwnProperty(f)&&$t[f]||null);null!==E&&E!==h&&(S=!0,u.delete(E)),u.delete(h)}v=_e(e,h,m)}W||m===v||S||Es(h,v,m)}}}switch(i&&u.size>0&&!0!==t[zs]&&Cs(u),n){case"input":Ln(e),Vn(e,t,!0);break;case"textarea":Ln(e),ut(e);break;case"select":case"option":break;default:"function"==typeof t.onClick&&Vs(e)}return p}(e,n,t,a.namespace,0,(o.mode&oo)!==ao,i)}function Dc(e){for(var n=e.previousSibling,t=0;n;){if(n.nodeType===bt){var r=n.data;if(r===ic||r===sc||r===uc){if(0===t)return n;t--}else r===lc&&t++}n=n.previousSibling}return null}var Ic=Math.random().toString(36).slice(2),Mc="__reactFiber$"+Ic,Oc="__reactProps$"+Ic,Uc="__reactContainer$"+Ic,Fc="__reactEvents$"+Ic,Ac="__reactListeners$"+Ic,jc="__reactHandles$"+Ic;function Wc(e,n){n[Mc]=e}function Bc(e,n){n[Uc]=e}function Vc(e){e[Uc]=null}function Hc(e){return!!e[Uc]}function Qc(e){var n=e[Mc];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Uc]||t[Mc]){var r=n.alternate;if(null!==n.child||null!==r&&null!==r.child)for(var a=Dc(e);null!==a;){var o=a[Mc];if(o)return o;a=Dc(a)}return n}t=(e=t).parentNode}return null}function $c(e){var n=e[Mc]||e[Uc];return!n||n.tag!==m&&n.tag!==v&&n.tag!==x&&n.tag!==f?null:n}function qc(e){if(e.tag===m||e.tag===v)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Yc(e){return e[Oc]||null}function Kc(e,n){e[Oc]=n}var Xc={},Gc=r.ReactDebugCurrentFrame;function Jc(e){if(e){var n=e._owner,t=cn(e.type,e._source,n?n.type:null);Gc.setExtraStackFrame(t)}else Gc.setExtraStackFrame(null)}function Zc(e,n,t,r,a){var o=Function.call.bind(J);for(var l in e)if(o(e,l)){var u=void 0;try{if("function"!=typeof e[l]){var s=Error((r||"React class")+": "+t+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}u=e[l](n,l,r,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(Jc(a),i("%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",t,l,typeof u),Jc(null)),u instanceof Error&&!(u.message in Xc)&&(Xc[u.message]=!0,Jc(a),i("Failed %s type: %s",t,u.message),Jc(null))}}var ed,nd=[];ed=[];var td,rd=-1;function ad(e){return{current:e}}function od(e,n){rd<0?i("Unexpected pop."):(n!==ed[rd]&&i("Unexpected Fiber popped."),e.current=nd[rd],nd[rd]=null,ed[rd]=null,rd--)}function id(e,n,t){rd++,nd[rd]=e.current,ed[rd]=t,e.current=n}td={};var ld={};Object.freeze(ld);var ud=ad(ld),sd=ad(!1),cd=ld;function dd(e,n,t){return t&&md(n)?cd:ud.current}function fd(e,n,t){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=t}function pd(e,n){var t=e.type.contextTypes;if(!t)return ld;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var a={};for(var o in t)a[o]=n[o];return Zc(t,a,"context",vn(e)||"Unknown"),r&&fd(e,n,a),a}function hd(){return sd.current}function md(e){return null!=e.childContextTypes}function vd(e){od(sd,e),od(ud,e)}function gd(e){od(sd,e),od(ud,e)}function yd(e,n,t){if(ud.current!==ld)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");id(ud,n,e),id(sd,t,e)}function bd(e,n,t){var r=e.stateNode,a=n.childContextTypes;if("function"!=typeof r.getChildContext){var o=vn(e)||"Unknown";return td[o]||(td[o]=!0,i("%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.",o,o)),t}var l=r.getChildContext();for(var u in l)if(!(u in a))throw new Error((vn(e)||"Unknown")+'.getChildContext(): key "'+u+'" is not defined in childContextTypes.');return Zc(a,l,"child context",vn(e)||"Unknown"),Je({},t,l)}function wd(e){var n=e.stateNode,t=n&&n.__reactInternalMemoizedMergedChildContext||ld;return cd=ud.current,id(ud,t,e),id(sd,sd.current,e),!0}function kd(e,n,t){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(t){var a=bd(e,n,cd);r.__reactInternalMemoizedMergedChildContext=a,od(sd,e),od(ud,e),id(ud,a,e),id(sd,t,e)}else od(sd,e),id(sd,t,e)}function Sd(e){if(!function(e){return ga(e)===e}(e)||e.tag!==s)throw new 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 n=e;do{switch(n.tag){case f:return n.stateNode.context;case s:if(md(n.type))return n.stateNode.__reactInternalMemoizedMergedChildContext}n=n.return}while(null!==n);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var xd=0,Ed=1,Cd=null,Td=!1,_d=!1;function Rd(e){null===Cd?Cd=[e]:Cd.push(e)}function Pd(){Td&&Nd()}function Nd(){if(!_d&&null!==Cd){_d=!0;var e=0,n=Mi();try{var t=Cd;for(Oi(Ni);e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}Cd=null,Td=!1}catch(n){throw null!==Cd&&(Cd=Cd.slice(e+1)),Ta(za,Nd),n}finally{Oi(n),_d=!1}}return null}var Ld=[],zd=0,Dd=null,Id=0,Md=[],Od=0,Ud=null,Fd=1,Ad="";function jd(){var e,n=Ad;return(Fd&(e=Fd,~(1<<Hd(e)-1))).toString(32)+n}function Wd(e,n){$d(),Ld[zd++]=Id,Ld[zd++]=Dd,Dd=e,Id=n}function Bd(e,n,t){$d(),Md[Od++]=Fd,Md[Od++]=Ad,Md[Od++]=Ud,Ud=e;var r=Fd,a=Ad,o=Hd(r)-1,i=r&~(1<<o),l=t+1,u=Hd(n)+o;if(u>30){var s=o-o%5,c=(i&(1<<s)-1).toString(32),d=i>>s,f=o-s,p=Hd(n)+f;Fd=1<<p|l<<f|d,Ad=c+a}else Fd=1<<u|l<<o|i,Ad=a}function Vd(e){$d(),null!==e.return&&(Wd(e,1),Bd(e,1,0))}function Hd(e){return 32-so(e)}function Qd(e){for(;e===Dd;)Dd=Ld[--zd],Ld[zd]=null,Id=Ld[--zd],Ld[zd]=null;for(;e===Ud;)Ud=Md[--Od],Md[Od]=null,Ad=Md[--Od],Md[Od]=null,Fd=Md[--Od],Md[Od]=null}function $d(){bf()||i("Expected to be hydrating. This is a bug in React. Please file an issue.")}var qd=null,Yd=null,Kd=!1,Xd=!1,Gd=null;function Jd(){Kd&&i("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Zd(){Xd=!0}function ef(e){var n=e.stateNode.containerInfo;return Yd=Nc(n.firstChild),qd=e,Kd=!0,Gd=null,Xd=!1,!0}function nf(e,n,t){return Yd=Nc(n.nextSibling),qd=e,Kd=!0,Gd=null,Xd=!1,null!==t&&function(e,n){$d(),Md[Od++]=Fd,Md[Od++]=Ad,Md[Od++]=Ud,Fd=n.id,Ad=n.overflow,Ud=e}(e,t),!0}function tf(e,n){switch(e.tag){case f:!function(e,n){n.nodeType===gt?qs(e,n):n.nodeType===bt||Ys(e,n)}(e.stateNode.containerInfo,n);break;case m:var t=(e.mode&oo)!==ao;!function(e,n,t,r,a){(a||!0!==n[oc])&&(r.nodeType===gt?qs(t,r):r.nodeType===bt||Ys(t,r))}(e.type,e.memoizedProps,e.stateNode,n,t);break;case x:var r=e.memoizedState;null!==r.dehydrated&&function(e,n){var t=e.parentNode;null!==t&&(n.nodeType===gt?qs(t,n):n.nodeType===bt||Ys(t,n))}(r.dehydrated,n)}}function rf(e,n){tf(e,n);var t,r=((t=lk(m,null,null,ao)).elementType="DELETED",t);r.stateNode=n,r.return=e;var a=e.deletions;null===a?(e.deletions=[r],e.flags|=Vr):a.push(r)}function af(e,n){if(!Xd)switch(e.tag){case f:var t=e.stateNode.containerInfo;switch(n.tag){case m:var r=n.type;n.pendingProps,function(e,n,t){Ks(e,n)}(t,r);break;case v:!function(e,n){Xs(e,n)}(t,n.pendingProps)}break;case m:e.type;var a=e.memoizedProps,o=e.stateNode;switch(n.tag){case m:var i=n.type;n.pendingProps,function(e,n,t,r,a,o){(o||!0!==n[oc])&&Ks(t,r)}(0,a,o,i,0,(e.mode&oo)!==ao);break;case v:!function(e,n,t,r,a){(a||!0!==n[oc])&&Xs(t,r)}(0,a,o,n.pendingProps,(e.mode&oo)!==ao)}break;case x:var l=e.memoizedState.dehydrated;if(null!==l)switch(n.tag){case m:var u=n.type;n.pendingProps,function(e,n,t){var r=e.parentNode;null!==r&&Ks(r,n)}(l,u);break;case v:!function(e,n){var t=e.parentNode;null!==t&&Xs(t,n)}(l,n.pendingProps)}break;default:return}}function of(e,n){n.flags=n.flags&~Gr|Wr,af(e,n)}function lf(e,n){switch(e.tag){case m:var t=e.type;e.pendingProps;var r=function(e,n,t){return e.nodeType!==gt||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(n,t);return null!==r&&(e.stateNode=r,qd=e,Yd=Nc(r.firstChild),!0);case v:var a=function(e,n){return""===n||e.nodeType!==yt?null:e}(n,e.pendingProps);return null!==a&&(e.stateNode=a,qd=e,Yd=null,!0);case x:var o=function(e){return e.nodeType!==bt?null:e}(n);if(null!==o){var i={dehydrated:o,treeContext:($d(),null!==Ud?{id:Fd,overflow:Ad}:null),retryLane:Xo};e.memoizedState=i;var l=function(e){var n=lk(R,null,null,ao);return n.stateNode=e,n}(o);return l.return=e,e.child=l,qd=e,Yd=null,!0}return!1;default:return!1}}function uf(e){return(e.mode&oo)!==ao&&(e.flags&$r)===Ar}function sf(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function cf(e){if(Kd){var n=Yd;if(!n)return uf(e)&&(af(qd,e),sf()),of(qd,e),Kd=!1,void(qd=e);var t=n;if(!lf(e,n)){uf(e)&&(af(qd,e),sf()),n=Lc(t);var r=qd;if(!n||!lf(e,n))return of(qd,e),Kd=!1,void(qd=e);rf(r,t)}}}function df(e){var n=e.stateNode,t=e.memoizedProps,r=function(e,n,t,r){return Wc(t,e),t.mode,function(e,n,t){return e.nodeValue!==n}(e,n)}(n,t,e);if(r){var a=qd;if(null!==a)switch(a.tag){case f:a.stateNode.containerInfo,function(e,n,t,r){js(n.nodeValue,t,r,!0)}(0,n,t,(a.mode&oo)!==ao);break;case m:a.type;var o=a.memoizedProps;a.stateNode,function(e,n,t,r,a,o){!0!==n[oc]&&js(r.nodeValue,a,o,!0)}(0,o,0,n,t,(a.mode&oo)!==ao)}}return r}function ff(e){var n=e.memoizedState,t=null!==n?n.dehydrated:null;if(!t)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,n){Wc(n,e)}(t,e)}function pf(e){var n=e.memoizedState,t=null!==n?n.dehydrated:null;if(!t)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var n=e.nextSibling,t=0;n;){if(n.nodeType===bt){var r=n.data;if(r===lc){if(0===t)return Lc(n);t--}else r!==ic&&r!==sc&&r!==uc||t++}n=n.nextSibling}return null}(t)}function hf(e){for(var n=e.return;null!==n&&n.tag!==m&&n.tag!==f&&n.tag!==x;)n=n.return;qd=n}function mf(e){if(e!==qd)return!1;if(!Kd)return hf(e),Kd=!0,!1;if(e.tag!==f&&(e.tag!==m||"head"!==(t=e.type)&&"body"!==t&&!mc(e.type,e.memoizedProps))){var n=Yd;if(n)if(uf(e))vf(e),sf();else for(;n;)rf(e,n),n=Lc(n)}var t;return hf(e),Yd=e.tag===x?pf(e):qd?Lc(e.stateNode):null,!0}function vf(e){for(var n=Yd;n;)tf(e,n),n=Lc(n)}function gf(){qd=null,Yd=null,Kd=!1,Xd=!1}function yf(){null!==Gd&&(rw(Gd),Gd=null)}function bf(){return Kd}function wf(e){null===Gd?Gd=[e]:Gd.push(e)}var kf=r.ReactCurrentBatchConfig,Sf=null,xf={recordUnsafeLifecycleWarnings:function(e,n){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,n){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ef=function(e){var n=[];return e.forEach((function(e){n.push(e)})),n.sort().join(", ")},Cf=[],Tf=[],_f=[],Rf=[],Pf=[],Nf=[],Lf=new Set;xf.recordUnsafeLifecycleWarnings=function(e,n){Lf.has(e.type)||("function"==typeof n.componentWillMount&&!0!==n.componentWillMount.__suppressDeprecationWarning&&Cf.push(e),e.mode&lo&&"function"==typeof n.UNSAFE_componentWillMount&&Tf.push(e),"function"==typeof n.componentWillReceiveProps&&!0!==n.componentWillReceiveProps.__suppressDeprecationWarning&&_f.push(e),e.mode&lo&&"function"==typeof n.UNSAFE_componentWillReceiveProps&&Rf.push(e),"function"==typeof n.componentWillUpdate&&!0!==n.componentWillUpdate.__suppressDeprecationWarning&&Pf.push(e),e.mode&lo&&"function"==typeof n.UNSAFE_componentWillUpdate&&Nf.push(e))},xf.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cf.length>0&&(Cf.forEach((function(n){e.add(vn(n)||"Component"),Lf.add(n.type)})),Cf=[]);var n=new Set;Tf.length>0&&(Tf.forEach((function(e){n.add(vn(e)||"Component"),Lf.add(e.type)})),Tf=[]);var t=new Set;_f.length>0&&(_f.forEach((function(e){t.add(vn(e)||"Component"),Lf.add(e.type)})),_f=[]);var r=new Set;Rf.length>0&&(Rf.forEach((function(e){r.add(vn(e)||"Component"),Lf.add(e.type)})),Rf=[]);var a=new Set;Pf.length>0&&(Pf.forEach((function(e){a.add(vn(e)||"Component"),Lf.add(e.type)})),Pf=[]);var l=new Set;Nf.length>0&&(Nf.forEach((function(e){l.add(vn(e)||"Component"),Lf.add(e.type)})),Nf=[]),n.size>0&&i("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.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Ef(n)),r.size>0&&i("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.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* 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\n\nPlease update the following components: %s",Ef(r)),l.size>0&&i("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.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Ef(l)),e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* 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.\n\nPlease update the following components: %s",Ef(e)),t.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* 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\n* 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.\n\nPlease update the following components: %s",Ef(t)),a.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* 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.\n\nPlease update the following components: %s",Ef(a))};var zf,Df,If,Mf,Of,Uf,Ff=new Map,Af=new Set;function jf(e,n,t){var r,a,o,l=t.ref;if(null!==l&&"function"!=typeof l&&"object"!=typeof l){if((e.mode&lo||B)&&(!t._owner||!t._self||t._owner.stateNode===t._self)&&(!t._owner||t._owner.tag===s)&&("function"!=typeof t.type||(r=t.type).prototype&&r.prototype.isReactComponent)&&t._owner){var u=vn(e)||"Component";If[u]||(i('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',u,l),If[u]=!0)}if(t._owner){var c,d=t._owner;if(d){var f=d;if(f.tag!==s)throw new 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");c=f.stateNode}if(!c)throw new Error("Missing owner for string ref "+l+". This error is likely caused by a bug in React. Please file an issue.");var p=c;o="ref",ee(a=l)&&(i("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Z(a)),ne(a));var h=""+l;if(null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===h)return n.ref;var m=function(e){var n=p.refs;null===e?delete n[h]:n[h]=e};return m._stringRef=h,m}if("string"!=typeof l)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!t._owner)throw new Error("Element ref was specified as a string ("+l+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return l}function Wf(e,n){var t=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(n).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}function Bf(e){var n=vn(e)||"Component";Of[n]||(Of[n]=!0,i("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 Vf(e){var n=e._payload;return(0,e._init)(n)}function Hf(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=Vr):r.push(t)}}function t(t,r){if(!e)return null;for(var a=r;null!==a;)n(t,a),a=a.sibling;return null}function r(e,n){for(var t=new Map,r=n;null!==r;)null!==r.key?t.set(r.key,r):t.set(r.index,r),r=r.sibling;return t}function a(e,n){var t=sk(e,n);return t.index=0,t.sibling=null,t}function o(n,t,r){if(n.index=r,!e)return n.flags|=oa,t;var a=n.alternate;if(null!==a){var o=a.index;return o<t?(n.flags|=Wr,t):o}return n.flags|=Wr,t}function l(n){return e&&null===n.alternate&&(n.flags|=Wr),n}function u(e,n,t,r){if(null===n||n.tag!==v){var o=mk(t,e.mode,r);return o.return=e,o}var i=a(n,t);return i.return=e,i}function s(e,n,t,r){var o=t.type;if(o===Le)return d(e,n,t.props.children,r,t.key);if(null!==n&&(n.elementType===o||Gw(n,t)||"object"==typeof o&&null!==o&&o.$$typeof===je&&Vf(o)===n.type)){var i=a(n,t.props);return i.ref=jf(e,n,t),i.return=e,i._debugSource=t._source,i._debugOwner=t._owner,i}var l=fk(t,e.mode,r);return l.ref=jf(e,n,t),l.return=e,l}function c(e,n,t,r){if(null===n||n.tag!==h||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation){var o=vk(t,e.mode,r);return o.return=e,o}var i=a(n,t.children||[]);return i.return=e,i}function d(e,n,t,r,o){if(null===n||n.tag!==g){var i=pk(t,e.mode,r,o);return i.return=e,i}var l=a(n,t);return l.return=e,l}function f(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n){var r=mk(""+n,e.mode,t);return r.return=e,r}if("object"==typeof n&&null!==n){switch(n.$$typeof){case Pe:var a=fk(n,e.mode,t);return a.ref=jf(e,null,n),a.return=e,a;case Ne:var o=vk(n,e.mode,t);return o.return=e,o;case je:var i=n._payload;return f(e,(0,n._init)(i),t)}if(Jn(n)||He(n)){var l=pk(n,e.mode,t,null);return l.return=e,l}Wf(0,n)}return"function"==typeof n&&Bf(e),null}function p(e,n,t,r){var a=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==a?null:u(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case Pe:return t.key===a?s(e,n,t,r):null;case Ne:return t.key===a?c(e,n,t,r):null;case je:var o=t._payload;return p(e,n,(0,t._init)(o),r)}if(Jn(t)||He(t))return null!==a?null:d(e,n,t,r,null);Wf(0,t)}return"function"==typeof t&&Bf(e),null}function m(e,n,t,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return u(n,e.get(t)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Pe:return s(n,e.get(null===r.key?t:r.key)||null,r,a);case Ne:return c(n,e.get(null===r.key?t:r.key)||null,r,a);case je:var o=r._payload;return m(e,n,t,(0,r._init)(o),a)}if(Jn(r)||He(r))return d(n,e.get(t)||null,r,a,null);Wf(0,r)}return"function"==typeof r&&Bf(n),null}function y(e,n,t){if("object"!=typeof e||null===e)return n;switch(e.$$typeof){case Pe:case Ne:Uf(e,t);var r=e.key;if("string"!=typeof r)break;if(null===n){(n=new Set).add(r);break}if(!n.has(r)){n.add(r);break}i("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 — the behavior is unsupported and could change in a future version.",r);break;case je:var a=e._payload;y((0,e._init)(a),n,t)}return n}return function u(s,c,d,b){if("object"==typeof d&&null!==d&&d.type===Le&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case Pe:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){var s=o.type;if(s===Le){if(u.tag===g){t(e,u.sibling);var c=a(u,o.props.children);return c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}else if(u.elementType===s||Gw(u,o)||"object"==typeof s&&null!==s&&s.$$typeof===je&&Vf(s)===u.type){t(e,u.sibling);var d=a(u,o.props);return d.ref=jf(e,u,o),d.return=e,d._debugSource=o._source,d._debugOwner=o._owner,d}t(e,u);break}n(e,u),u=u.sibling}if(o.type===Le){var f=pk(o.props.children,e.mode,i,o.key);return f.return=e,f}var p=fk(o,e.mode,i);return p.ref=jf(e,r,o),p.return=e,p}(s,c,d,b));case Ne:return l(function(e,r,o,i){for(var l=o.key,u=r;null!==u;){if(u.key===l){if(u.tag===h&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){t(e,u.sibling);var s=a(u,o.children||[]);return s.return=e,s}t(e,u);break}n(e,u),u=u.sibling}var c=vk(o,e.mode,i);return c.return=e,c}(s,c,d,b));case je:var w=d._payload;return u(s,c,(0,d._init)(w),b)}if(Jn(d))return function(a,i,l,u){for(var s=null,c=0;c<l.length;c++)s=y(l[c],s,a);for(var d=null,h=null,v=i,g=0,b=0,w=null;null!==v&&b<l.length;b++){v.index>b?(w=v,v=null):w=v.sibling;var k=p(a,v,l[b],u);if(null===k){null===v&&(v=w);break}e&&v&&null===k.alternate&&n(a,v),g=o(k,g,b),null===h?d=k:h.sibling=k,h=k,v=w}if(b===l.length)return t(a,v),bf()&&Wd(a,b),d;if(null===v){for(;b<l.length;b++){var S=f(a,l[b],u);null!==S&&(g=o(S,g,b),null===h?d=S:h.sibling=S,h=S)}return bf()&&Wd(a,b),d}for(var x=r(0,v);b<l.length;b++){var E=m(x,a,b,l[b],u);null!==E&&(e&&null!==E.alternate&&x.delete(null===E.key?b:E.key),g=o(E,g,b),null===h?d=E:h.sibling=E,h=E)}return e&&x.forEach((function(e){return n(a,e)})),bf()&&Wd(a,b),d}(s,c,d,b);if(He(d))return function(a,l,u,s){var c=He(u);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===u[Symbol.toStringTag]&&(Df||i("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."),Df=!0),u.entries===c&&(zf||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zf=!0);var d=c.call(u);if(d)for(var h=null,v=d.next();!v.done;v=d.next())h=y(v.value,h,a);var g=c.call(u);if(null==g)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,k=l,S=0,x=0,E=null,C=g.next();null!==k&&!C.done;x++,C=g.next()){k.index>x?(E=k,k=null):E=k.sibling;var T=p(a,k,C.value,s);if(null===T){null===k&&(k=E);break}e&&k&&null===T.alternate&&n(a,k),S=o(T,S,x),null===w?b=T:w.sibling=T,w=T,k=E}if(C.done)return t(a,k),bf()&&Wd(a,x),b;if(null===k){for(;!C.done;x++,C=g.next()){var _=f(a,C.value,s);null!==_&&(S=o(_,S,x),null===w?b=_:w.sibling=_,w=_)}return bf()&&Wd(a,x),b}for(var R=r(0,k);!C.done;x++,C=g.next()){var P=m(R,a,x,C.value,s);null!==P&&(e&&null!==P.alternate&&R.delete(null===P.key?x:P.key),S=o(P,S,x),null===w?b=P:w.sibling=P,w=P)}return e&&R.forEach((function(e){return n(a,e)})),bf()&&Wd(a,x),b}(s,c,d,b);Wf(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?l(function(e,n,r,o){if(null!==n&&n.tag===v){t(e,n.sibling);var i=a(n,r);return i.return=e,i}t(e,n);var l=mk(r,e.mode,o);return l.return=e,l}(s,c,""+d,b)):("function"==typeof d&&Bf(s),t(s,c))}}xf.recordLegacyContextWarning=function(e,n){var t=function(e){for(var n=null,t=e;null!==t;)t.mode&lo&&(n=t),t=t.return;return n}(e);if(null!==t){if(!Af.has(e.type)){var r=Ff.get(t);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==n&&"function"==typeof n.getChildContext)&&(void 0===r&&(r=[],Ff.set(t,r)),r.push(e))}}else i("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.")},xf.flushLegacyContextWarning=function(){Ff.forEach((function(e,n){if(0!==e.length){var t=e[0],r=new Set;e.forEach((function(e){r.add(vn(e)||"Component"),Af.add(e.type)}));var a=Ef(r);try{xn(t),i("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",a)}finally{Sn()}}}))},xf.discardPendingWarnings=function(){Cf=[],Tf=[],_f=[],Rf=[],Pf=[],Nf=[],Ff=new Map},zf=!1,Df=!1,If={},Mf={},Of={},Uf=function(e,n){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new 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 t=vn(n)||"Component";Mf[t]||(Mf[t]=!0,i('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Qf=Hf(!0),$f=Hf(!1);function qf(e,n){for(var t=e.child;null!==t;)ck(t,n),t=t.sibling}var Yf,Kf=ad(null);Yf={};var Xf=null,Gf=null,Jf=null,Zf=!1;function ep(){Xf=null,Gf=null,Jf=null,Zf=!1}function np(){Zf=!0}function tp(){Zf=!1}function rp(e,n,t){id(Kf,n._currentValue,e),n._currentValue=t,void 0!==n._currentRenderer&&null!==n._currentRenderer&&n._currentRenderer!==Yf&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=Yf}function ap(e,n){var t=Kf.current;od(Kf,n),e._currentValue=t}function op(e,n,t){for(var r=e;null!==r;){var a=r.alternate;if(mi(r.childLanes,n)?null===a||mi(a.childLanes,n)||(a.childLanes=vi(a.childLanes,n)):(r.childLanes=vi(r.childLanes,n),null!==a&&(a.childLanes=vi(a.childLanes,n))),r===t)break;r=r.return}r!==t&&i("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function ip(e,n,t){!function(e,n,t){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var a=void 0,o=r.dependencies;if(null!==o){a=r.child;for(var i=o.firstContext;null!==i;){if(i.context===n){if(r.tag===s){var l=di(t),u=Ep(Jo,l);u.tag=bp;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=vi(r.lanes,t);var p=r.alternate;null!==p&&(p.lanes=vi(p.lanes,t)),op(r.return,t,e),o.lanes=vi(o.lanes,t);break}i=i.next}}else if(r.tag===w)a=r.type===e.type?null:r.child;else if(r.tag===R){var h=r.return;if(null===h)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes=vi(h.lanes,t);var m=h.alternate;null!==m&&(m.lanes=vi(m.lanes,t)),op(h,t,e),a=r.sibling}else a=r.child;if(null!==a)a.return=r;else for(a=r;null!==a;){if(a===e){a=null;break}var v=a.sibling;if(null!==v){v.return=a.return,a=v;break}a=a.return}r=a}}(e,n,t)}function lp(e,n){Xf=e,Gf=null,Jf=null;var t=e.dependencies;null!==t&&null!==t.firstContext&&(hi(t.lanes,n)&&_g(),t.firstContext=null)}function up(e){Zf&&i("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().");var n=e._currentValue;if(Jf===e);else{var t={context:e,memoizedValue:n,next:null};if(null===Gf){if(null===Xf)throw new 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().");Gf=t,Xf.dependencies={lanes:ho,firstContext:t}}else Gf=Gf.next=t}return n}var sp=null;function cp(e){null===sp?sp=[e]:sp.push(e)}function dp(e,n,t,r){var a=n.interleaved;return null===a?(t.next=t,cp(n)):(t.next=a.next,a.next=t),n.interleaved=t,hp(e,r)}function fp(e,n){return hp(e,n)}var pp=hp;function hp(e,n){e.lanes=vi(e.lanes,n);var t=e.alternate;null!==t&&(t.lanes=vi(t.lanes,n)),null===t&&(e.flags&(Wr|Gr))!==Ar&&Ow(e);for(var r=e,a=e.return;null!==a;)a.childLanes=vi(a.childLanes,n),null!==(t=a.alternate)?t.childLanes=vi(t.childLanes,n):(a.flags&(Wr|Gr))!==Ar&&Ow(e),r=a,a=a.return;return r.tag===f?r.stateNode:null}var mp,vp,gp=0,yp=1,bp=2,wp=3,kp=!1;function Sp(e){var n={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ho},effects:null};e.updateQueue=n}function xp(e,n){var t=n.updateQueue,r=e.updateQueue;if(t===r){var a={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};n.updateQueue=a}}function Ep(e,n){return{eventTime:e,lane:n,tag:gp,payload:null,callback:null,next:null}}function Cp(e,n,t){var r=e.updateQueue;if(null===r)return null;var a=r.shared;if(vp!==a||mp||(i("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."),mp=!0),(cb&nb)!==Zy){var o=a.pending;return null===o?n.next=n:(n.next=o.next,o.next=n),a.pending=n,pp(e,t)}return function(e,n,t,r){var a=n.interleaved;return null===a?(t.next=t,cp(n)):(t.next=a.next,a.next=t),n.interleaved=t,hp(e,r)}(e,a,n,t)}function Tp(e,n,t){var r=n.updateQueue;if(null!==r){var a=r.shared;if(ui(t)){var o=a.lanes,i=vi(o=yi(o,e.pendingLanes),t);a.lanes=i,Si(e,i)}}}function _p(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r){var a=r.updateQueue;if(t===a){var o=null,i=null,l=t.firstBaseUpdate;if(null!==l){var u=l;do{var s={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};null===i?o=i=s:(i.next=s,i=s),u=u.next}while(null!==u);null===i?o=i=n:(i.next=n,i=n)}else o=i=n;return t={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,effects:a.effects},void(e.updateQueue=t)}}var c=t.lastBaseUpdate;null===c?t.firstBaseUpdate=n:c.next=n,t.lastBaseUpdate=n}function Rp(e,n,t,r,a,o){switch(t.tag){case yp:var i=t.payload;if("function"==typeof i){np();var l=i.call(o,r,a);if(e.mode&lo){Ha(!0);try{i.call(o,r,a)}finally{Ha(!1)}}return tp(),l}return i;case wp:e.flags=e.flags&~ra|$r;case gp:var u,s=t.payload;if("function"==typeof s){if(np(),u=s.call(o,r,a),e.mode&lo){Ha(!0);try{s.call(o,r,a)}finally{Ha(!1)}}tp()}else u=s;return null==u?r:Je({},r,u);case bp:return kp=!0,r}return r}function Pp(e,n,t,r){var a=e.updateQueue;kp=!1,vp=a.shared;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?o=s:i.next=s,i=u;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=s:f.next=s,d.lastBaseUpdate=u)}}if(null!==o){for(var p=a.baseState,h=ho,m=null,v=null,g=null,y=o;;){var b=y.lane,w=y.eventTime;if(mi(r,b)){if(null!==g){var k={eventTime:w,lane:mo,tag:y.tag,payload:y.payload,callback:y.callback,next:null};g=g.next=k}if(p=Rp(e,0,y,p,n,t),null!==y.callback&&y.lane!==mo){e.flags|=Qr;var S=a.effects;null===S?a.effects=[y]:S.push(y)}}else{var x={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===g?(v=g=x,m=p):g=g.next=x,h=vi(h,b)}if(null===(y=y.next)){if(null===(l=a.shared.pending))break;var E=l,C=E.next;E.next=null,y=C,a.lastBaseUpdate=E,a.shared.pending=null}}null===g&&(m=p),a.baseState=m,a.firstBaseUpdate=v,a.lastBaseUpdate=g;var T=a.shared.interleaved;if(null!==T){var _=T;do{h=vi(h,_.lane),_=_.next}while(_!==T)}else null===o&&(a.shared.lanes=ho);mw(h),e.lanes=h,e.memoizedState=p}vp=null}function Np(e,n){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(n)}function Lp(){kp=!1}function zp(){return kp}function Dp(e,n,t){var r=n.effects;if(n.effects=null,null!==r)for(var a=0;a<r.length;a++){var o=r[a],i=o.callback;null!==i&&(o.callback=null,Np(i,t))}}mp=!1,vp=null;var Ip={},Mp=ad(Ip),Op=ad(Ip),Up=ad(Ip);function Fp(e){if(e===Ip)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Ap(){return Fp(Up.current)}function jp(e,n){id(Up,n,e),id(Op,e,e),id(Mp,Ip,e);var t=function(e){var n,t,r=e.nodeType;switch(r){case wt:case kt:n=r===wt?"#document":"#fragment";var a=e.documentElement;t=a?a.namespaceURI:pt(null,"");break;default:var o=r===bt?e.parentNode:e;t=pt(o.namespaceURI||null,n=o.tagName)}var i=n.toLowerCase();return{namespace:t,ancestorInfo:Js(null,i)}}(n);od(Mp,e),id(Mp,t,e)}function Wp(e){od(Mp,e),od(Op,e),od(Up,e)}function Bp(){return Fp(Mp.current)}function Vp(e){Fp(Up.current);var n,t,r,a=Fp(Mp.current),o=(n=a,t=e.type,{namespace:pt((r=n).namespace,t),ancestorInfo:Js(r.ancestorInfo,t)});a!==o&&(id(Op,e,e),id(Mp,o,e))}function Hp(e){Op.current===e&&(od(Mp,e),od(Op,e))}var Qp=1,$p=1,qp=2,Yp=ad(0);function Kp(e,n){return 0!=(e&n)}function Xp(e){return e&Qp}function Gp(e,n){return e&Qp|n}function Jp(e,n){id(Yp,n,e)}function Zp(e){od(Yp,e)}function eh(e,n){var t=e.memoizedState;return null!==t?null!==t.dehydrated:(e.memoizedProps,!0)}function nh(e){for(var n=e;null!==n;){if(n.tag===x){var t=n.memoizedState;if(null!==t){var r=t.dehydrated;if(null===r||Rc(r)||Pc(r))return n}}else if(n.tag===P&&void 0!==n.memoizedProps.revealOrder){if((n.flags&$r)!==Ar)return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return null;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var th=0,rh=1,ah=2,oh=4,ih=8,lh=[];function uh(){for(var e=0;e<lh.length;e++)lh[e]._workInProgressVersionPrimary=null;lh.length=0}function sh(e,n){var t=(0,n._getVersion)(n._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[n,t]:e.mutableSourceEagerHydrationData.push(n,t)}var ch,dh,fh=r.ReactCurrentDispatcher,ph=r.ReactCurrentBatchConfig;ch=new Set;var hh=ho,mh=null,vh=null,gh=null,yh=!1,bh=!1,wh=0,kh=0,Sh=25,xh=null,Eh=null,Ch=-1,Th=!1;function _h(){var e=xh;null===Eh?Eh=[e]:Eh.push(e)}function Rh(){var e=xh;null!==Eh&&(Ch++,Eh[Ch]!==e&&function(e){var n=vn(mh);if(!ch.has(n)&&(ch.add(n),null!==Eh)){for(var t="",r=30,a=0;a<=Ch;a++){for(var o=Eh[a],l=a===Ch?e:o,u=a+1+". "+o;u.length<r;)u+=" ";t+=u+=l+"\n"}i("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\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",n,t)}}(e))}function Ph(e){null==e||Jn(e)||i("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",xh,typeof e)}function Nh(){throw new 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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Lh(e,n){if(Th)return!1;if(null===n)return i("%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.",xh),!1;e.length!==n.length&&i("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",xh,"["+n.join(", ")+"]","["+e.join(", ")+"]");for(var t=0;t<n.length&&t<e.length;t++)if(!Tu(e[t],n[t]))return!1;return!0}function zh(e,n,t,r,a,o){hh=o,mh=n,Eh=null!==e?e._debugHookTypes:null,Ch=-1,Th=null!==e&&e.type!==n.type,n.memoizedState=null,n.updateQueue=null,n.lanes=ho,null!==e&&null!==e.memoizedState?fh.current=Fm:fh.current=null!==Eh?Um:Om;var l=t(r,a);if(bh){var u=0;do{if(bh=!1,wh=0,u>=Sh)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");u+=1,Th=!1,vh=null,gh=null,n.updateQueue=null,Ch=-1,fh.current=Am,l=t(r,a)}while(bh)}fh.current=Mm,n._debugHookTypes=Eh;var s=null!==vh&&null!==vh.next;if(hh=ho,mh=null,vh=null,gh=null,xh=null,Eh=null,Ch=-1,null!==e&&(e.flags&ma)!=(n.flags&ma)&&(e.mode&oo)!==ao&&i("Internal React error: Expected static flag was missing. Please notify the React team."),yh=!1,s)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Dh(){var e=0!==wh;return wh=0,e}function Ih(e,n,t){n.updateQueue=e.updateQueue,(n.mode&uo)!==ao?n.flags&=~(ca|sa|Xr|Br):n.flags&=~(Xr|Br),e.lanes=gi(e.lanes,t)}function Mh(){if(fh.current=Mm,yh){for(var e=mh.memoizedState;null!==e;){var n=e.queue;null!==n&&(n.pending=null),e=e.next}yh=!1}hh=ho,mh=null,vh=null,gh=null,Eh=null,Ch=-1,xh=null,Tm=!1,bh=!1,wh=0}function Oh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gh?mh.memoizedState=gh=e:gh=gh.next=e,gh}function Uh(){var e,n;if(null===vh){var t=mh.alternate;e=null!==t?t.memoizedState:null}else e=vh.next;if(null!==(n=null===gh?mh.memoizedState:gh.next))n=(gh=n).next,vh=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(vh=e).memoizedState,baseState:vh.baseState,baseQueue:vh.baseQueue,queue:vh.queue,next:null};null===gh?mh.memoizedState=gh=r:gh=gh.next=r}return gh}function Fh(e,n){return"function"==typeof n?n(e):n}function Ah(e,n,t){var r,a=Oh();r=void 0!==t?t(n):n,a.memoizedState=a.baseState=r;var o={pending:null,interleaved:null,lanes:ho,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=o;var i=o.dispatch=Pm.bind(null,mh,o);return[a.memoizedState,i]}function jh(e,n,t){var r=Uh(),a=r.queue;if(null===a)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var o=vh,l=o.baseQueue,u=a.pending;if(null!==u){if(null!==l){var s=l.next,c=u.next;l.next=c,u.next=s}o.baseQueue!==l&&i("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),o.baseQueue=l=u,a.pending=null}if(null!==l){var d=l.next,f=o.baseState,p=null,h=null,m=null,v=d;do{var g=v.lane;if(mi(hh,g)){if(null!==m){var y={lane:mo,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};m=m.next=y}f=v.hasEagerState?v.eagerState:e(f,v.action)}else{var b={lane:g,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===m?(h=m=b,p=f):m=m.next=b,mh.lanes=vi(mh.lanes,g),mw(g)}v=v.next}while(null!==v&&v!==d);null===m?p=f:m.next=h,Tu(f,r.memoizedState)||_g(),r.memoizedState=f,r.baseState=p,r.baseQueue=m,a.lastRenderedState=f}var w=a.interleaved;if(null!==w){var k=w;do{var S=k.lane;mh.lanes=vi(mh.lanes,S),mw(S),k=k.next}while(k!==w)}else null===l&&(a.lanes=ho);var x=a.dispatch;return[r.memoizedState,x]}function Wh(e,n,t){var r=Uh(),a=r.queue;if(null===a)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var o=a.dispatch,i=a.pending,l=r.memoizedState;if(null!==i){a.pending=null;var u=i.next,s=u;do{l=e(l,s.action),s=s.next}while(s!==u);Tu(l,r.memoizedState)||_g(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),a.lastRenderedState=l}return[l,o]}function Bh(e,n,t){var r,a=mh,o=Oh();if(bf()){if(void 0===t)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=t(),dh||r!==t()&&(i("The result of getServerSnapshot should be cached to avoid an infinite loop"),dh=!0)}else{if(r=n(),!dh){var l=n();Tu(r,l)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),dh=!0)}if(null===Kb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,hh)||Hh(a,n,r)}o.memoizedState=r;var u={value:r,getSnapshot:n};return o.queue=u,rm($h.bind(null,a,u,e),[e]),a.flags|=Xr,Jh(rh|ih,Qh.bind(null,a,u,r,n),void 0,null),r}function Vh(e,n,t){var r=mh,a=Uh(),o=n();if(!dh){var l=n();Tu(o,l)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),dh=!0)}var u=a.memoizedState,s=!Tu(u,o);s&&(a.memoizedState=o,_g());var c=a.queue;if(am($h.bind(null,r,c,e),[e]),c.getSnapshot!==n||s||null!==gh&&gh.memoizedState.tag&rh){if(r.flags|=Xr,Jh(rh|ih,Qh.bind(null,r,c,o,n),void 0,null),null===Kb())throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");li(0,hh)||Hh(r,n,o)}return o}function Hh(e,n,t){e.flags|=Zr;var r={getSnapshot:n,value:t},a=mh.updateQueue;if(null===a)a={lastEffect:null,stores:null},mh.updateQueue=a,a.stores=[r];else{var o=a.stores;null===o?a.stores=[r]:o.push(r)}}function Qh(e,n,t,r){n.value=t,n.getSnapshot=r,qh(n)&&Yh(e)}function $h(e,n,t){return t((function(){qh(n)&&Yh(e)}))}function qh(e){var n=e.getSnapshot,t=e.value;try{var r=n();return!Tu(t,r)}catch(e){return!0}}function Yh(e){var n=fp(e,vo);null!==n&&Zb(n,e,vo,Jo)}function Kh(e){var n=Oh();"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e;var t={pending:null,interleaved:null,lanes:ho,dispatch:null,lastRenderedReducer:Fh,lastRenderedState:e};n.queue=t;var r=t.dispatch=Nm.bind(null,mh,t);return[n.memoizedState,r]}function Xh(e){return jh(Fh)}function Gh(e){return Wh(Fh)}function Jh(e,n,t,r){var a={tag:e,create:n,destroy:t,deps:r,next:null},o=mh.updateQueue;if(null===o)o={lastEffect:null,stores:null},mh.updateQueue=o,o.lastEffect=a.next=a;else{var i=o.lastEffect;if(null===i)o.lastEffect=a.next=a;else{var l=i.next;i.next=a,a.next=l,o.lastEffect=a}}return a}function Zh(e){var n={current:e};return Oh().memoizedState=n,n}function em(e){return Uh().memoizedState}function nm(e,n,t,r){var a=Oh(),o=void 0===r?null:r;mh.flags|=e,a.memoizedState=Jh(rh|n,t,void 0,o)}function tm(e,n,t,r){var a=Uh(),o=void 0===r?null:r,i=void 0;if(null!==vh){var l=vh.memoizedState;if(i=l.destroy,null!==o&&Lh(o,l.deps))return void(a.memoizedState=Jh(n,t,i,o))}mh.flags|=e,a.memoizedState=Jh(rh|n,t,i,o)}function rm(e,n){return(mh.mode&uo)!==ao?nm(ca|Xr|ua,ih,e,n):nm(Xr|ua,ih,e,n)}function am(e,n){return tm(Xr,ih,e,n)}function om(e,n){return nm(Br,ah,e,n)}function im(e,n){return tm(Br,ah,e,n)}function lm(e,n){var t=Br;return t|=la,(mh.mode&uo)!==ao&&(t|=sa),nm(t,oh,e,n)}function um(e,n){return tm(Br,oh,e,n)}function sm(e,n){if("function"==typeof n){var t=n,r=e();return t(r),function(){t(null)}}if(null!=n){var a=n;a.hasOwnProperty("current")||i("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 o=e();return a.current=o,function(){a.current=null}}}function cm(e,n,t){"function"!=typeof n&&i("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==n?typeof n:"null");var r=null!=t?t.concat([e]):null,a=Br;return a|=la,(mh.mode&uo)!==ao&&(a|=sa),nm(a,oh,sm.bind(null,n,e),r)}function dm(e,n,t){"function"!=typeof n&&i("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==n?typeof n:"null");var r=null!=t?t.concat([e]):null;return tm(Br,oh,sm.bind(null,n,e),r)}function fm(e,n){}var pm=fm;function hm(e,n){var t=void 0===n?null:n;return Oh().memoizedState=[e,t],e}function mm(e,n){var t=Uh(),r=void 0===n?null:n,a=t.memoizedState;return null!==a&&null!==r&&Lh(r,a[1])?a[0]:(t.memoizedState=[e,r],e)}function vm(e,n){var t=Oh(),r=void 0===n?null:n,a=e();return t.memoizedState=[a,r],a}function gm(e,n){var t=Uh(),r=void 0===n?null:n,a=t.memoizedState;if(null!==a&&null!==r&&Lh(r,a[1]))return a[0];var o=e();return t.memoizedState=[o,r],o}function ym(e){return Oh().memoizedState=e,e}function bm(e){return km(Uh(),vh.memoizedState,e)}function wm(e){var n=Uh();return null===vh?(n.memoizedState=e,e):km(n,vh.memoizedState,e)}function km(e,n,t){if((hh&(vo|yo|wo))!==ho){if(!Tu(t,n)){var r=si();mh.lanes=vi(mh.lanes,r),mw(r),e.baseState=!0}return n}return e.baseState&&(e.baseState=!1,_g()),e.memoizedState=t,t}function Sm(e,n,t){var r,a,i=Mi();Oi((a=Li,0!==(r=i)&&r<a?r:a)),e(!0);var l=ph.transition;ph.transition={};var u=ph.transition;ph.transition._updatedFibers=new Set;try{e(!1),n()}finally{Oi(i),ph.transition=l,null===l&&u._updatedFibers&&(u._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),u._updatedFibers.clear())}}function xm(){var e=Kh(!1),n=e[0],t=e[1],r=Sm.bind(null,t);return Oh().memoizedState=r,[n,r]}function Em(){return[Xh()[0],Uh().memoizedState]}function Cm(){return[Gh()[0],Uh().memoizedState]}var Tm=!1;function _m(){var e,n=Oh(),t=Kb().identifierPrefix;if(bf()){e=":"+t+"R"+jd();var r=wh++;r>0&&(e+="H"+r.toString(32)),e+=":"}else e=":"+t+"r"+(kh++).toString(32)+":";return n.memoizedState=e,e}function Rm(){return Uh().memoizedState}function Pm(e,n,t){"function"==typeof arguments[3]&&i("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=Gb(e),a={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Lm(e))zm(n,a);else{var o=dp(e,n,a,r);null!==o&&(Zb(o,e,r,Xb()),Dm(o,n,r))}Im(e,r)}function Nm(e,n,t){"function"==typeof arguments[3]&&i("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=Gb(e),a={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Lm(e))zm(n,a);else{var o=e.alternate;if(e.lanes===ho&&(null===o||o.lanes===ho)){var l=n.lastRenderedReducer;if(null!==l){var u;u=fh.current,fh.current=Wm;try{var s=n.lastRenderedState,c=l(s,t);if(a.hasEagerState=!0,a.eagerState=c,Tu(c,s))return void function(e,n,t,r){var a=n.interleaved;null===a?(t.next=t,cp(n)):(t.next=a.next,a.next=t),n.interleaved=t}(0,n,a)}catch(e){}finally{fh.current=u}}}var d=dp(e,n,a,r);null!==d&&(Zb(d,e,r,Xb()),Dm(d,n,r))}Im(e,r)}function Lm(e){var n=e.alternate;return e===mh||null!==n&&n===mh}function zm(e,n){bh=yh=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Dm(e,n,t){if(ui(t)){var r=n.lanes,a=vi(r=yi(r,e.pendingLanes),t);n.lanes=a,Si(e,a)}}function Im(e,n,t){ro(e,n)}var Mm={readContext:up,useCallback:Nh,useContext:Nh,useEffect:Nh,useImperativeHandle:Nh,useInsertionEffect:Nh,useLayoutEffect:Nh,useMemo:Nh,useReducer:Nh,useRef:Nh,useState:Nh,useDebugValue:Nh,useDeferredValue:Nh,useTransition:Nh,useMutableSource:Nh,useSyncExternalStore:Nh,useId:Nh,unstable_isNewReconciler:O},Om=null,Um=null,Fm=null,Am=null,jm=null,Wm=null,Bm=null,Vm=function(){i("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().")},Hm=function(){i("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")};Om={readContext:function(e){return up(e)},useCallback:function(e,n){return xh="useCallback",_h(),Ph(n),hm(e,n)},useContext:function(e){return xh="useContext",_h(),up(e)},useEffect:function(e,n){return xh="useEffect",_h(),Ph(n),rm(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",_h(),Ph(t),cm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",_h(),Ph(n),om(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",_h(),Ph(n),lm(e,n)},useMemo:function(e,n){xh="useMemo",_h(),Ph(n);var t=fh.current;fh.current=jm;try{return vm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",_h();var r=fh.current;fh.current=jm;try{return Ah(e,n,t)}finally{fh.current=r}},useRef:function(e){return xh="useRef",_h(),Zh(e)},useState:function(e){xh="useState",_h();var n=fh.current;fh.current=jm;try{return Kh(e)}finally{fh.current=n}},useDebugValue:function(e,n){xh="useDebugValue",_h()},useDeferredValue:function(e){return xh="useDeferredValue",_h(),ym(e)},useTransition:function(){return xh="useTransition",_h(),xm()},useMutableSource:function(e,n,t){xh="useMutableSource",_h()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",_h(),Bh(e,n,t)},useId:function(){return xh="useId",_h(),_m()},unstable_isNewReconciler:O},Um={readContext:function(e){return up(e)},useCallback:function(e,n){return xh="useCallback",Rh(),hm(e,n)},useContext:function(e){return xh="useContext",Rh(),up(e)},useEffect:function(e,n){return xh="useEffect",Rh(),rm(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Rh(),cm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Rh(),om(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Rh(),lm(e,n)},useMemo:function(e,n){xh="useMemo",Rh();var t=fh.current;fh.current=jm;try{return vm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Rh();var r=fh.current;fh.current=jm;try{return Ah(e,n,t)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Rh(),Zh(e)},useState:function(e){xh="useState",Rh();var n=fh.current;fh.current=jm;try{return Kh(e)}finally{fh.current=n}},useDebugValue:function(e,n){xh="useDebugValue",Rh()},useDeferredValue:function(e){return xh="useDeferredValue",Rh(),ym(e)},useTransition:function(){return xh="useTransition",Rh(),xm()},useMutableSource:function(e,n,t){xh="useMutableSource",Rh()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Rh(),Bh(e,n,t)},useId:function(){return xh="useId",Rh(),_m()},unstable_isNewReconciler:O},Fm={readContext:function(e){return up(e)},useCallback:function(e,n){return xh="useCallback",Rh(),mm(e,n)},useContext:function(e){return xh="useContext",Rh(),up(e)},useEffect:function(e,n){return xh="useEffect",Rh(),am(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Rh(),dm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Rh(),im(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Rh(),um(e,n)},useMemo:function(e,n){xh="useMemo",Rh();var t=fh.current;fh.current=Wm;try{return gm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Rh();var r=fh.current;fh.current=Wm;try{return jh(e)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Rh(),em()},useState:function(e){xh="useState",Rh();var n=fh.current;fh.current=Wm;try{return Xh()}finally{fh.current=n}},useDebugValue:function(e,n){return xh="useDebugValue",Rh(),pm()},useDeferredValue:function(e){return xh="useDeferredValue",Rh(),bm(e)},useTransition:function(){return xh="useTransition",Rh(),Em()},useMutableSource:function(e,n,t){xh="useMutableSource",Rh()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Rh(),Vh(e,n)},useId:function(){return xh="useId",Rh(),Rm()},unstable_isNewReconciler:O},Am={readContext:function(e){return up(e)},useCallback:function(e,n){return xh="useCallback",Rh(),mm(e,n)},useContext:function(e){return xh="useContext",Rh(),up(e)},useEffect:function(e,n){return xh="useEffect",Rh(),am(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Rh(),dm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Rh(),im(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Rh(),um(e,n)},useMemo:function(e,n){xh="useMemo",Rh();var t=fh.current;fh.current=Bm;try{return gm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Rh();var r=fh.current;fh.current=Bm;try{return Wh(e)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Rh(),em()},useState:function(e){xh="useState",Rh();var n=fh.current;fh.current=Bm;try{return Gh()}finally{fh.current=n}},useDebugValue:function(e,n){return xh="useDebugValue",Rh(),pm()},useDeferredValue:function(e){return xh="useDeferredValue",Rh(),wm(e)},useTransition:function(){return xh="useTransition",Rh(),Cm()},useMutableSource:function(e,n,t){xh="useMutableSource",Rh()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Rh(),Vh(e,n)},useId:function(){return xh="useId",Rh(),Rm()},unstable_isNewReconciler:O},jm={readContext:function(e){return Vm(),up(e)},useCallback:function(e,n){return xh="useCallback",Hm(),_h(),hm(e,n)},useContext:function(e){return xh="useContext",Hm(),_h(),up(e)},useEffect:function(e,n){return xh="useEffect",Hm(),_h(),rm(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Hm(),_h(),cm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Hm(),_h(),om(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Hm(),_h(),lm(e,n)},useMemo:function(e,n){xh="useMemo",Hm(),_h();var t=fh.current;fh.current=jm;try{return vm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Hm(),_h();var r=fh.current;fh.current=jm;try{return Ah(e,n,t)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Hm(),_h(),Zh(e)},useState:function(e){xh="useState",Hm(),_h();var n=fh.current;fh.current=jm;try{return Kh(e)}finally{fh.current=n}},useDebugValue:function(e,n){xh="useDebugValue",Hm(),_h()},useDeferredValue:function(e){return xh="useDeferredValue",Hm(),_h(),ym(e)},useTransition:function(){return xh="useTransition",Hm(),_h(),xm()},useMutableSource:function(e,n,t){xh="useMutableSource",Hm(),_h()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Hm(),_h(),Bh(e,n,t)},useId:function(){return xh="useId",Hm(),_h(),_m()},unstable_isNewReconciler:O},Wm={readContext:function(e){return Vm(),up(e)},useCallback:function(e,n){return xh="useCallback",Hm(),Rh(),mm(e,n)},useContext:function(e){return xh="useContext",Hm(),Rh(),up(e)},useEffect:function(e,n){return xh="useEffect",Hm(),Rh(),am(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Hm(),Rh(),dm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Hm(),Rh(),im(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Hm(),Rh(),um(e,n)},useMemo:function(e,n){xh="useMemo",Hm(),Rh();var t=fh.current;fh.current=Wm;try{return gm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Hm(),Rh();var r=fh.current;fh.current=Wm;try{return jh(e)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Hm(),Rh(),em()},useState:function(e){xh="useState",Hm(),Rh();var n=fh.current;fh.current=Wm;try{return Xh()}finally{fh.current=n}},useDebugValue:function(e,n){return xh="useDebugValue",Hm(),Rh(),pm()},useDeferredValue:function(e){return xh="useDeferredValue",Hm(),Rh(),bm(e)},useTransition:function(){return xh="useTransition",Hm(),Rh(),Em()},useMutableSource:function(e,n,t){xh="useMutableSource",Hm(),Rh()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Hm(),Rh(),Vh(e,n)},useId:function(){return xh="useId",Hm(),Rh(),Rm()},unstable_isNewReconciler:O},Bm={readContext:function(e){return Vm(),up(e)},useCallback:function(e,n){return xh="useCallback",Hm(),Rh(),mm(e,n)},useContext:function(e){return xh="useContext",Hm(),Rh(),up(e)},useEffect:function(e,n){return xh="useEffect",Hm(),Rh(),am(e,n)},useImperativeHandle:function(e,n,t){return xh="useImperativeHandle",Hm(),Rh(),dm(e,n,t)},useInsertionEffect:function(e,n){return xh="useInsertionEffect",Hm(),Rh(),im(e,n)},useLayoutEffect:function(e,n){return xh="useLayoutEffect",Hm(),Rh(),um(e,n)},useMemo:function(e,n){xh="useMemo",Hm(),Rh();var t=fh.current;fh.current=Wm;try{return gm(e,n)}finally{fh.current=t}},useReducer:function(e,n,t){xh="useReducer",Hm(),Rh();var r=fh.current;fh.current=Wm;try{return Wh(e)}finally{fh.current=r}},useRef:function(e){return xh="useRef",Hm(),Rh(),em()},useState:function(e){xh="useState",Hm(),Rh();var n=fh.current;fh.current=Wm;try{return Gh()}finally{fh.current=n}},useDebugValue:function(e,n){return xh="useDebugValue",Hm(),Rh(),pm()},useDeferredValue:function(e){return xh="useDeferredValue",Hm(),Rh(),wm(e)},useTransition:function(){return xh="useTransition",Hm(),Rh(),Cm()},useMutableSource:function(e,n,t){xh="useMutableSource",Hm(),Rh()},useSyncExternalStore:function(e,n,t){return xh="useSyncExternalStore",Hm(),Rh(),Vh(e,n)},useId:function(){return xh="useId",Hm(),Rh(),Rm()},unstable_isNewReconciler:O};var Qm=t.unstable_now,$m=0,qm=-1,Ym=-1,Km=-1,Xm=!1,Gm=!1;function Jm(){return Xm}function Zm(){return $m}function ev(){$m=Qm()}function nv(e){Ym=Qm(),e.actualStartTime<0&&(e.actualStartTime=Qm())}function tv(e){Ym=-1}function rv(e,n){if(Ym>=0){var t=Qm()-Ym;e.actualDuration+=t,n&&(e.selfBaseDuration=t),Ym=-1}}function av(e){if(qm>=0){var n=Qm()-qm;qm=-1;for(var t=e.return;null!==t;){switch(t.tag){case f:case S:return void(t.stateNode.effectDuration+=n)}t=t.return}}}function ov(e){if(Km>=0){var n=Qm()-Km;Km=-1;for(var t=e.return;null!==t;){switch(t.tag){case f:var r=t.stateNode;return void(null!==r&&(r.passiveEffectDuration+=n));case S:var a=t.stateNode;return void(null!==a&&(a.passiveEffectDuration+=n))}t=t.return}}}function iv(){qm=Qm()}function lv(){Km=Qm()}function uv(e){for(var n=e.child;n;)e.actualDuration+=n.actualDuration,n=n.sibling}function sv(e,n){if(e&&e.defaultProps){var t=Je({},n),r=e.defaultProps;for(var a in r)void 0===t[a]&&(t[a]=r[a]);return t}return n}var cv,dv,fv,pv,hv,mv,vv,gv,yv,bv,wv,kv={};cv=new Set,dv=new Set,fv=new Set,pv=new Set,gv=new Set,hv=new Set,yv=new Set,bv=new Set,wv=new Set;var Sv=new Set;function xv(e,n,t,r){var a=e.memoizedState,o=t(r,a);if(e.mode&lo){Ha(!0);try{o=t(r,a)}finally{Ha(!1)}}mv(n,o);var i=null==o?a:Je({},a,o);e.memoizedState=i,e.lanes===ho&&(e.updateQueue.baseState=i)}vv=function(e,n){if(null!==e&&"function"!=typeof e){var t=n+"_"+e;Sv.has(t)||(Sv.add(t),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,e))}},mv=function(e,n){if(void 0===n){var t=hn(e)||"Component";hv.has(t)||(hv.add(t),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))}},Object.defineProperty(kv,"_processChildContext",{enumerable:!1,value:function(){throw new 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(kv);var Ev={isMounted:function(e){var n=va.current;if(null!==n&&n.tag===s){var t=n,r=t.stateNode;r._warnedAboutRefsInRender||i("%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.",vn(t)||"A component"),r._warnedAboutRefsInRender=!0}var a=Fr(e);return!!a&&ga(a)===a},enqueueSetState:function(e,n,t){var r=Fr(e),a=Xb(),o=Gb(r),i=Ep(a,o);i.payload=n,null!=t&&(vv(t,"setState"),i.callback=t);var l=Cp(r,i,o);null!==l&&(Zb(l,r,o,a),Tp(l,r,o)),ro(r,o)},enqueueReplaceState:function(e,n,t){var r=Fr(e),a=Xb(),o=Gb(r),i=Ep(a,o);i.tag=yp,i.payload=n,null!=t&&(vv(t,"replaceState"),i.callback=t);var l=Cp(r,i,o);null!==l&&(Zb(l,r,o,a),Tp(l,r,o)),ro(r,o)},enqueueForceUpdate:function(e,n){var t=Fr(e),r=Xb(),a=Gb(t),o=Ep(r,a);o.tag=bp,null!=n&&(vv(n,"forceUpdate"),o.callback=n);var i=Cp(t,o,a);null!==i&&(Zb(i,t,a,r),Tp(i,t,a)),function(e,n){null!==Wa&&"function"==typeof Wa.markForceUpdateScheduled&&Wa.markForceUpdateScheduled(e,n)}(t,a)}};function Cv(e,n,t,r,a,o,l){var u=e.stateNode;if("function"==typeof u.shouldComponentUpdate){var s=u.shouldComponentUpdate(r,o,l);if(e.mode&lo){Ha(!0);try{s=u.shouldComponentUpdate(r,o,l)}finally{Ha(!1)}}return void 0===s&&i("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",hn(n)||"Component"),s}return!(n.prototype&&n.prototype.isPureReactComponent&&_u(t,r)&&_u(a,o))}function Tv(e,n){var t;n.updater=Ev,e.stateNode=n,t=e,n._reactInternals=t,n._reactInternalInstance=kv}function _v(e,n,t){var r=!1,a=ld,o=ld,l=n.contextType;if("contextType"in n&&null!==l&&(void 0===l||l.$$typeof!==Me||void 0!==l._context)&&!bv.has(n)){bv.add(n);var u="";u=void 0===l?" 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.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===Ie?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",hn(n)||"Component",u)}"object"==typeof l&&null!==l?o=up(l):(a=dd(0,n,!0),o=(r=null!=n.contextTypes)?pd(e,a):ld);var s=new n(t,o);if(e.mode&lo){Ha(!0);try{s=new n(t,o)}finally{Ha(!1)}}var c=e.memoizedState=null!==s.state&&void 0!==s.state?s.state:null;if(Tv(e,s),"function"==typeof n.getDerivedStateFromProps&&null===c){var d=hn(n)||"Component";dv.has(d)||(dv.add(d),i("`%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.",d,null===s.state?"null":"undefined",d))}if("function"==typeof n.getDerivedStateFromProps||"function"==typeof s.getSnapshotBeforeUpdate){var f=null,p=null,h=null;if("function"==typeof s.componentWillMount&&!0!==s.componentWillMount.__suppressDeprecationWarning?f="componentWillMount":"function"==typeof s.UNSAFE_componentWillMount&&(f="UNSAFE_componentWillMount"),"function"==typeof s.componentWillReceiveProps&&!0!==s.componentWillReceiveProps.__suppressDeprecationWarning?p="componentWillReceiveProps":"function"==typeof s.UNSAFE_componentWillReceiveProps&&(p="UNSAFE_componentWillReceiveProps"),"function"==typeof s.componentWillUpdate&&!0!==s.componentWillUpdate.__suppressDeprecationWarning?h="componentWillUpdate":"function"==typeof s.UNSAFE_componentWillUpdate&&(h="UNSAFE_componentWillUpdate"),null!==f||null!==p||null!==h){var m=hn(n)||"Component",v="function"==typeof n.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pv.has(m)||(pv.add(m),i("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",m,v,null!==f?"\n "+f:"",null!==p?"\n "+p:"",null!==h?"\n "+h:""))}}return r&&fd(e,a,o),s}function Rv(e,n,t,r){var a=n.state;if("function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==a){var o=vn(e)||"Component";cv.has(o)||(cv.add(o),i("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o)),Ev.enqueueReplaceState(n,n.state,null)}}function Pv(e,n,t,r){!function(e,n,t){var r=e.stateNode,a=hn(n)||"Component";r.render||(n.prototype&&"function"==typeof n.prototype.render?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):i("%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||i("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&&i("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&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),r.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),n.childContextTypes&&!wv.has(n)&&(e.mode&lo)===ao&&(wv.add(n),i("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context",a)),n.contextTypes&&!wv.has(n)&&(e.mode&lo)===ao&&(wv.add(n),i("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",a)),r.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),n.contextType&&n.contextTypes&&!yv.has(n)&&(yv.add(n),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),"function"==typeof r.componentShouldUpdate&&i("%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),n.prototype&&n.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",hn(n)||"A pure component"),"function"==typeof r.componentDidUnmount&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"==typeof r.componentDidReceiveProps&&i("%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),"function"==typeof r.componentWillRecieveProps&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"==typeof r.UNSAFE_componentWillRecieveProps&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var o=r.props!==t;void 0!==r.props&&o&&i("%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&&i("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),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||fv.has(n)||(fv.add(n),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",hn(n))),"function"==typeof r.getDerivedStateFromProps&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof r.getDerivedStateFromError&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof n.getSnapshotBeforeUpdate&&i("%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&&("object"!=typeof l||Jn(l))&&i("%s.state: must be set to an object or null",a),"function"==typeof r.getChildContext&&"object"!=typeof n.childContextTypes&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}(e,n,t);var a=e.stateNode;a.props=t,a.state=e.memoizedState,a.refs={},Sp(e);var o=n.contextType;if("object"==typeof o&&null!==o)a.context=up(o);else{var l=dd(0,n,!0);a.context=pd(e,l)}if(a.state===t){var u=hn(n)||"Component";gv.has(u)||(gv.add(u),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",u))}e.mode&lo&&xf.recordLegacyContextWarning(e,a),xf.recordUnsafeLifecycleWarnings(e,a),a.state=e.memoizedState;var s=n.getDerivedStateFromProps;if("function"==typeof s&&(xv(e,n,s,t),a.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(function(e,n){var t=n.state;"function"==typeof n.componentWillMount&&n.componentWillMount(),"function"==typeof n.UNSAFE_componentWillMount&&n.UNSAFE_componentWillMount(),t!==n.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",vn(e)||"Component"),Ev.enqueueReplaceState(n,n.state,null))}(e,a),Pp(e,t,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount){var c=Br;c|=la,(e.mode&uo)!==ao&&(c|=sa),e.flags|=c}}function Nv(e,n){return{value:e,source:n,stack:fn(n),digest:null}}function Lv(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function zv(e,n){try{var t=n.value,r=n.source,a=n.stack,o=null!==a?a:"";if(null!=t&&t._suppressLogging){if(e.tag===s)return;console.error(t)}var i=r?vn(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+o+"\n\n"+(e.tag===f?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(vn(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var Dv="function"==typeof WeakMap?WeakMap:Map;function Iv(e,n,t){var r=Ep(Jo,t);r.tag=wp,r.payload={element:null};var a=n.value;return r.callback=function(){Cw(a),zv(e,n)},r}function Mv(e,n,t){var r=Ep(Jo,t);r.tag=wp;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var o=n.value;r.payload=function(){return a(o)},r.callback=function(){Jw(e),zv(e,n)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var t;Jw(e),zv(e,n),"function"!=typeof a&&(t=this,null===zb?zb=new Set([t]):zb.add(t));var r=n.value,o=n.stack;this.componentDidCatch(r,{componentStack:null!==o?o:""}),"function"!=typeof a&&(hi(e.lanes,vo)||i("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",vn(e)||"Unknown"))}),r}function Ov(e,n,t){var r,a=e.pingCache;if(null===a?(a=e.pingCache=new Dv,r=new Set,a.set(n,r)):void 0===(r=a.get(n))&&(r=new Set,a.set(n,r)),!r.has(t)){r.add(t);var o=Rw.bind(null,e,n,t);Va&&Aw(e,t),n.then(o,o)}}function Uv(e){var n=e;do{if(n.tag===x&&eh(n))return n;n=n.return}while(null!==n);return null}function Fv(e,n,t,r,a){if((e.mode&oo)===ao){if(e===n)e.flags|=ra;else{if(e.flags|=$r,t.flags|=aa,t.flags&=~(ea|ta),t.tag===s)if(null===t.alternate)t.tag=_;else{var o=Ep(Jo,vo);o.tag=bp,Cp(t,o,vo)}t.lanes=vi(t.lanes,vo)}return e}return e.flags|=ra,e.lanes=a,e}function Av(e,n,t,r,a){if(t.flags|=ta,Va&&Aw(e,a),null!==r&&"object"==typeof r&&"function"==typeof r.then){var o=r;!function(e,n){var t=e.tag;if((e.mode&oo)===ao&&(t===u||t===k||t===C)){var r=e.alternate;r?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null)}}(t),bf()&&t.mode&oo&&Zd();var i=Uv(n);if(null!==i)return i.flags&=~qr,Fv(i,n,t,0,a),i.mode&oo&&Ov(e,o,a),void function(e,n,t,r){var a=e.updateQueue;if(null===a){var o=new Set;o.add(t),e.updateQueue=o}else a.add(t)}(i,0,o);if((a&vo)===ho)return Ov(e,o,a),void vw();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(bf()&&t.mode&oo){Zd();var l=Uv(n);if(null!==l)return(l.flags&ra)===Ar&&(l.flags|=qr),Fv(l,n,t,0,a),void wf(Nv(r,t))}!function(e){vb!==lb&&(vb=ob),null===kb?kb=[e]:kb.push(e)}(r=Nv(r,t));var c=n;do{switch(c.tag){case f:var d=r;c.flags|=ra;var p=di(a);return c.lanes=vi(c.lanes,p),void _p(c,Iv(c,d,p));case s:var h=r,m=c.type,v=c.stateNode;if((c.flags&$r)===Ar&&("function"==typeof m.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&!Ew(v))){c.flags|=ra;var g=di(a);return c.lanes=vi(c.lanes,g),void _p(c,Mv(c,h,g))}}c=c.return}while(null!==c)}var jv,Wv,Bv,Vv,Hv,Qv,$v,qv,Yv,Kv=r.ReactCurrentOwner,Xv=!1;function Gv(e,n,t,r){n.child=null===e?$f(n,null,t,r):Qf(n,e.child,t,r)}function Jv(e,n,t,r,a){if(n.type!==n.elementType){var o=t.propTypes;o&&Zc(o,r,"prop",hn(t))}var i,l,u=t.render,s=n.ref;if(lp(n,a),Ya(n),Kv.current=n,En(!0),i=zh(e,n,u,r,s,a),l=Dh(),n.mode&lo){Ha(!0);try{i=zh(e,n,u,r,s,a),l=Dh()}finally{Ha(!1)}}return En(!1),Ka(),null===e||Xv?(bf()&&l&&Vd(n),n.flags|=jr,Gv(e,n,i,a),n.child):(Ih(e,n,a),Pg(e,n,a))}function Zv(e,n,t,r,a){if(null===e){var o,l=t.type;if(function(e){return"function"==typeof e&&!uk(e)&&void 0===e.defaultProps}(l)&&null===t.compare&&void 0===t.defaultProps)return o=Yw(l),n.tag=C,n.type=o,sg(n,l),eg(e,n,o,r,a);var u=l.propTypes;if(u&&Zc(u,r,"prop",hn(l)),void 0!==t.defaultProps){var s=hn(l)||"Unknown";Yv[s]||(i("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",s),Yv[s]=!0)}var c=dk(t.type,null,r,n,n.mode,a);return c.ref=n.ref,c.return=n,n.child=c,c}var d=t.type,f=d.propTypes;f&&Zc(f,r,"prop",hn(d));var p=e.child;if(!Ng(e,a)){var h=p.memoizedProps,m=t.compare;if((m=null!==m?m:_u)(h,r)&&e.ref===n.ref)return Pg(e,n,a)}n.flags|=jr;var v=sk(p,r);return v.ref=n.ref,v.return=n,n.child=v,v}function eg(e,n,t,r,a){if(n.type!==n.elementType){var o=n.elementType;if(o.$$typeof===je){var i=o,l=i._payload,u=i._init;try{o=u(l)}catch(e){o=null}var s=o&&o.propTypes;s&&Zc(s,r,"prop",hn(o))}}if(null!==e){var c=e.memoizedProps;if(_u(c,r)&&e.ref===n.ref&&n.type===e.type){if(Xv=!1,n.pendingProps=r=c,!Ng(e,a))return n.lanes=e.lanes,Pg(e,n,a);(e.flags&aa)!==Ar&&(Xv=!0)}}return rg(e,n,t,r,a)}function ng(e,n,t){var r,a=n.pendingProps,o=a.children,i=null!==e?e.memoizedState:null;if("hidden"===a.mode||F)if((n.mode&oo)===ao){var l={baseLanes:ho,cachePool:null,transitions:null};n.memoizedState=l,sw(n,t)}else{if(!hi(t,Xo)){var u;u=null!==i?vi(i.baseLanes,t):t,n.lanes=n.childLanes=Xo;var s={baseLanes:u,cachePool:null,transitions:null};return n.memoizedState=s,n.updateQueue=null,sw(n,u),null}var c={baseLanes:ho,cachePool:null,transitions:null};n.memoizedState=c,sw(n,null!==i?i.baseLanes:t)}else null!==i?(r=vi(i.baseLanes,t),n.memoizedState=null):r=t,sw(n,r);return Gv(e,n,o,t),n.child}function tg(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=Yr,n.flags|=ia)}function rg(e,n,t,r,a){if(n.type!==n.elementType){var o=t.propTypes;o&&Zc(o,r,"prop",hn(t))}var i,l,u;if(i=pd(n,dd(0,t,!0)),lp(n,a),Ya(n),Kv.current=n,En(!0),l=zh(e,n,t,r,i,a),u=Dh(),n.mode&lo){Ha(!0);try{l=zh(e,n,t,r,i,a),u=Dh()}finally{Ha(!1)}}return En(!1),Ka(),null===e||Xv?(bf()&&u&&Vd(n),n.flags|=jr,Gv(e,n,l,a),n.child):(Ih(e,n,a),Pg(e,n,a))}function ag(e,n,t,r,a){switch(Wk(n)){case!1:var o=n.stateNode,l=new(0,n.type)(n.memoizedProps,o.context).state;o.updater.enqueueSetState(o,l,null);break;case!0:n.flags|=$r,n.flags|=ra;var u=new Error("Simulated error coming from DevTools"),s=di(a);n.lanes=vi(n.lanes,s),_p(n,Mv(n,Nv(u,n),s))}if(n.type!==n.elementType){var c=t.propTypes;c&&Zc(c,r,"prop",hn(t))}var d,f;md(t)?(d=!0,wd(n)):d=!1,lp(n,a),null===n.stateNode?(Rg(e,n),_v(n,t,r),Pv(n,t,r,a),f=!0):f=null===e?function(e,n,t,r){var a=e.stateNode,o=e.memoizedProps;a.props=o;var i=a.context,l=n.contextType,u=ld;u="object"==typeof l&&null!==l?up(l):pd(e,dd(0,n,!0));var s=n.getDerivedStateFromProps,c="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||o===t&&i===u||Rv(e,a,t,u),Lp();var d=e.memoizedState,f=a.state=d;if(Pp(e,t,a,r),f=e.memoizedState,o===t&&d===f&&!hd()&&!zp()){if("function"==typeof a.componentDidMount){var p=Br;p|=la,(e.mode&uo)!==ao&&(p|=sa),e.flags|=p}return!1}"function"==typeof s&&(xv(e,n,s,t),f=e.memoizedState);var h=zp()||Cv(e,n,o,t,d,f,u);if(h){if(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount){var m=Br;m|=la,(e.mode&uo)!==ao&&(m|=sa),e.flags|=m}}else{if("function"==typeof a.componentDidMount){var v=Br;v|=la,(e.mode&uo)!==ao&&(v|=sa),e.flags|=v}e.memoizedProps=t,e.memoizedState=f}return a.props=t,a.state=f,a.context=u,h}(n,t,r,a):function(e,n,t,r,a){var o=n.stateNode;xp(e,n);var i=n.memoizedProps,l=n.type===n.elementType?i:sv(n.type,i);o.props=l;var u=n.pendingProps,s=o.context,c=t.contextType,d=ld;d="object"==typeof c&&null!==c?up(c):pd(n,dd(0,t,!0));var f=t.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate;p||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===u&&s===d||Rv(n,o,r,d),Lp();var h=n.memoizedState,m=o.state=h;if(Pp(n,r,o,a),m=n.memoizedState,i===u&&h===m&&!hd()&&!zp()&&!U)return"function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(n.flags|=Br)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(n.flags|=Kr)),!1;"function"==typeof f&&(xv(n,t,f,r),m=n.memoizedState);var v=zp()||Cv(n,t,l,r,h,m,d)||U;return v?(p||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,m,d),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,m,d)),"function"==typeof o.componentDidUpdate&&(n.flags|=Br),"function"==typeof o.getSnapshotBeforeUpdate&&(n.flags|=Kr)):("function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(n.flags|=Br)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(n.flags|=Kr)),n.memoizedProps=r,n.memoizedState=m),o.props=r,o.state=m,o.context=d,v}(e,n,t,r,a);var p=og(e,n,t,f,d,a),h=n.stateNode;return f&&h.props!==r&&(Qv||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",vn(n)||"a component"),Qv=!0),p}function og(e,n,t,r,a,o){tg(e,n);var i=(n.flags&$r)!==Ar;if(!r&&!i)return a&&kd(n,t,!1),Pg(e,n,o);var l,u=n.stateNode;if(Kv.current=n,i&&"function"!=typeof t.getDerivedStateFromError)l=null,tv();else{if(Ya(n),En(!0),l=u.render(),n.mode&lo){Ha(!0);try{u.render()}finally{Ha(!1)}}En(!1),Ka()}return n.flags|=jr,null!==e&&i?function(e,n,t,r){n.child=Qf(n,e.child,null,r),n.child=Qf(n,null,t,r)}(e,n,l,o):Gv(e,n,l,o),n.memoizedState=u.state,a&&kd(n,t,!0),n.child}function ig(e){var n=e.stateNode;n.pendingContext?yd(e,n.pendingContext,n.pendingContext!==n.context):n.context&&yd(e,n.context,!1),jp(e,n.containerInfo)}function lg(e,n,t,r,a){return gf(),wf(a),n.flags|=qr,Gv(e,n,t,r),n.child}function ug(e,n,t,r){Rg(e,n);var a=n.pendingProps,o=t,i=o._payload,l=(0,o._init)(i);n.type=l;var d=n.tag=function(e){if("function"==typeof e)return uk(e)?s:u;if(null!=e){var n=e.$$typeof;if(n===Oe)return k;if(n===Ae)return E}return c}(l),f=sv(l,a);switch(d){case u:return sg(n,l),n.type=l=Yw(l),rg(null,n,l,f,r);case s:return n.type=l=Kw(l),ag(null,n,l,f,r);case k:return n.type=l=Xw(l),Jv(null,n,l,f,r);case E:if(n.type!==n.elementType){var p=l.propTypes;p&&Zc(p,f,"prop",hn(l))}return Zv(null,n,l,sv(l.type,f),r)}var h="";throw null!==l&&"object"==typeof l&&l.$$typeof===je&&(h=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+h)}function sg(e,n){if(n&&n.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),null!==e.ref){var t="",r=wn();r&&(t+="\n\nCheck the render method of `"+r+"`.");var a=r||"",o=e._debugSource;o&&(a=o.fileName+":"+o.lineNumber),Hv[a]||(Hv[a]=!0,i("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",t))}if(void 0!==n.defaultProps){var l=hn(n)||"Unknown";Yv[l]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Yv[l]=!0)}if("function"==typeof n.getDerivedStateFromProps){var u=hn(n)||"Unknown";Vv[u]||(i("%s: Function components do not support getDerivedStateFromProps.",u),Vv[u]=!0)}if("object"==typeof n.contextType&&null!==n.contextType){var s=hn(n)||"Unknown";Bv[s]||(i("%s: Function components do not support contextType.",s),Bv[s]=!0)}}jv={},Wv={},Bv={},Vv={},Hv={},Qv=!1,$v={},qv={},Yv={};var cg={dehydrated:null,treeContext:null,retryLane:mo};function dg(e){return{baseLanes:e,cachePool:null,transitions:null}}function fg(e,n,t){var r=n.pendingProps;Bk(n)&&(n.flags|=$r);var a=Yp.current,o=!1,l=(n.flags&$r)!==Ar;if(l||function(e,n,t,r){return(null===n||null!==n.memoizedState)&&Kp(e,qp)}(a,e)?(o=!0,n.flags&=~$r):null!==e&&null===e.memoizedState||(a|=$p),Jp(n,a=Xp(a)),null===e){cf(n);var u=n.memoizedState;if(null!==u){var s=u.dehydrated;if(null!==s)return function(e,n,t){return(e.mode&oo)===ao?(i("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=vo):Pc(n)?e.lanes=bo:e.lanes=Xo,null}(n,s)}var c=r.children,d=r.fallback;if(o){var f=function(e,n,t,r){var a,o,i=e.mode,l=e.child,u={mode:"hidden",children:n};return(i&oo)===ao&&null!==l?((a=l).childLanes=ho,a.pendingProps=u,e.mode&io&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=0,a.treeBaseDuration=0),o=pk(t,i,r,null)):(a=hg(u,i),o=pk(t,i,r,null)),a.return=e,o.return=e,a.sibling=o,e.child=a,o}(n,c,d,t);return n.child.memoizedState=dg(t),n.memoizedState=cg,f}return pg(n,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,n,t,r,a,o,i){if(t){if(n.flags&qr)return n.flags&=~qr,vg(e,n,i,Lv(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==n.memoizedState)return n.child=e.child,n.flags|=$r,null;var l=function(e,n,t,r,a){var o=n.mode,i=hg({mode:"visible",children:t},o),l=pk(r,o,a,null);return l.flags|=Wr,i.return=n,l.return=n,i.sibling=l,n.child=i,(n.mode&oo)!==ao&&Qf(n,e.child,null,a),l}(e,n,r.children,r.fallback,i);return n.child.memoizedState=dg(i),n.memoizedState=cg,l}if(Jd(),(n.mode&oo)===ao)return vg(e,n,i,null);if(Pc(a)){var u,s,c,d=function(e){var n,t,r,a=e.nextSibling&&e.nextSibling.dataset;return a&&(n=a.dgst,t=a.msg,r=a.stck),{message:t,digest:n,stack:r}}(a);return u=d.digest,s=d.message,c=d.stack,vg(e,n,i,Lv(s?new Error(s):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),u,c))}var f=hi(i,e.childLanes);if(Xv||f){var p=Kb();if(null!==p){var h=function(e,n){var t;switch(ci(n)){case yo:t=go;break;case wo:t=bo;break;case xo:case Eo:case Co:case To:case _o:case Ro:case Po:case No:case Lo:case zo:case Do:case Io:case Mo:case Oo:case Uo:case Fo:case jo:case Wo:case Bo:case Vo:case Ho:t=ko;break;case Ko:t=Yo;break;default:t=mo}return(t&(e.suspendedLanes|n))!==mo?mo:t}(p,i);if(h!==mo&&h!==o.retryLane){o.retryLane=h;var m=Jo;fp(e,h),Zb(p,e,h,m)}}return vw(),vg(e,n,i,Lv(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Rc(a))return n.flags|=$r,n.child=e.child,v=Nw.bind(null,e),a._reactRetry=v,null;nf(n,a,o.treeContext);var v,g=pg(n,r.children);return g.flags|=Gr,g}(e,n,l,r,h,p,t)}if(o){var m=r.fallback,v=function(e,n,t,r,a){var o,i,l=n.mode,u=e.child,s=u.sibling,c={mode:"hidden",children:t};return(l&oo)===ao&&n.child!==u?((o=n.child).childLanes=ho,o.pendingProps=c,n.mode&io&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=u.selfBaseDuration,o.treeBaseDuration=u.treeBaseDuration),n.deletions=null):(o=mg(u,c)).subtreeFlags=u.subtreeFlags&ma,null!==s?i=sk(s,r):(i=pk(r,l,a,null)).flags|=Wr,i.return=n,o.return=n,o.sibling=i,n.child=o,i}(e,n,r.children,m,t),g=n.child,y=e.child.memoizedState;return g.memoizedState=null===y?dg(t):function(e,n){return{baseLanes:vi(e.baseLanes,n),cachePool:null,transitions:e.transitions}}(y,t),g.childLanes=function(e,n){return gi(e.childLanes,n)}(e,t),n.memoizedState=cg,v}var b=function(e,n,t,r){var a=e.child,o=a.sibling,i=mg(a,{mode:"visible",children:t});if((n.mode&oo)===ao&&(i.lanes=r),i.return=n,i.sibling=null,null!==o){var l=n.deletions;null===l?(n.deletions=[o],n.flags|=Vr):l.push(o)}return n.child=i,i}(e,n,r.children,t);return n.memoizedState=null,b}function pg(e,n,t){var r=hg({mode:"visible",children:n},e.mode);return r.return=e,e.child=r,r}function hg(e,n,t){return hk(e,n,ho,null)}function mg(e,n){return sk(e,n)}function vg(e,n,t,r){null!==r&&wf(r),Qf(n,e.child,null,t);var a=pg(n,n.pendingProps.children);return a.flags|=Wr,n.memoizedState=null,a}function gg(e,n,t){e.lanes=vi(e.lanes,n);var r=e.alternate;null!==r&&(r.lanes=vi(r.lanes,n)),op(e.return,n,t)}function yg(e,n){var t=Jn(e),r=!t&&"function"==typeof He(e);if(t||r){var a=t?"array":"iterable";return i("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,n,a),!1}return!0}function bg(e,n,t,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:a}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=a)}function wg(e,n,t){var r=n.pendingProps,a=r.revealOrder,o=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!$v[e])if($v[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":i('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":i('"%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:i('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else i('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(a),function(e,n){void 0===e||qv[e]||("collapsed"!==e&&"hidden"!==e?(qv[e]=!0,i('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==n&&"backwards"!==n&&(qv[e]=!0,i('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(o,a),function(e,n){if(("forwards"===n||"backwards"===n)&&null!=e&&!1!==e)if(Jn(e)){for(var t=0;t<e.length;t++)if(!yg(e[t],t))return}else{var r=He(e);if("function"==typeof r){var a=r.call(e);if(a)for(var o=a.next(),l=0;!o.done;o=a.next()){if(!yg(o.value,l))return;l++}}else i('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?',n)}}(l,a),Gv(e,n,l,t);var u=Yp.current;if(Kp(u,qp)?(u=Gp(u,qp),n.flags|=$r):(null!==e&&(e.flags&$r)!==Ar&&function(e,n,t){for(var r=n;null!==r;){if(r.tag===x)null!==r.memoizedState&&gg(r,t,e);else if(r.tag===P)gg(r,t,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(n,n.child,t),u=Xp(u)),Jp(n,u),(n.mode&oo)===ao)n.memoizedState=null;else switch(a){case"forwards":var s,c=function(e){for(var n=e,t=null;null!==n;){var r=n.alternate;null!==r&&null===nh(r)&&(t=n),n=n.sibling}return t}(n.child);null===c?(s=n.child,n.child=null):(s=c.sibling,c.sibling=null),bg(n,!1,s,c,o);break;case"backwards":var d=null,f=n.child;for(n.child=null;null!==f;){var p=f.alternate;if(null!==p&&null===nh(p)){n.child=f;break}var h=f.sibling;f.sibling=d,d=f,f=h}bg(n,!0,d,null,o);break;case"together":bg(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}var kg,Sg,xg,Eg,Cg=!1,Tg=!1;function _g(){Xv=!0}function Rg(e,n){(n.mode&oo)===ao&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=Wr)}function Pg(e,n,t){return null!==e&&(n.dependencies=e.dependencies),tv(),mw(n.lanes),hi(t,n.childLanes)?(function(e,n){if(null!==e&&n.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==n.child){var t=n.child,r=sk(t,t.pendingProps);for(n.child=r,r.return=n;null!==t.sibling;)t=t.sibling,(r=r.sibling=sk(t,t.pendingProps)).return=n;r.sibling=null}}(e,n),n.child):null}function Ng(e,n){return!!hi(e.lanes,n)}function Lg(e,n,t){if(n._debugNeedsRemount&&null!==e)return function(e,n,t){var r=n.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,n.alternate=null,t.index=n.index,t.sibling=n.sibling,t.return=n.return,t.ref=n.ref,n===r.child)r.child=t;else{var a=r.child;if(null===a)throw new Error("Expected parent to have a child.");for(;a.sibling!==n;)if(null===(a=a.sibling))throw new Error("Expected to find the previous sibling.");a.sibling=t}var o=r.deletions;return null===o?(r.deletions=[e],r.flags|=Vr):o.push(e),t.flags|=Wr,t}(e,n,dk(n.type,n.key,n.pendingProps,n._debugOwner||null,n.mode,n.lanes));if(null!==e)if(e.memoizedProps!==n.pendingProps||hd()||n.type!==e.type)Xv=!0;else{if(!Ng(e,t)&&(n.flags&$r)===Ar)return Xv=!1,function(e,n,t){switch(n.tag){case f:ig(n),n.stateNode,gf();break;case m:Vp(n);break;case s:md(n.type)&&wd(n);break;case h:jp(n,n.stateNode.containerInfo);break;case w:var r=n.memoizedProps.value;rp(n,n.type._context,r);break;case S:hi(t,n.childLanes)&&(n.flags|=Br);var a=n.stateNode;a.effectDuration=0,a.passiveEffectDuration=0;break;case x:var o=n.memoizedState;if(null!==o){if(null!==o.dehydrated)return Jp(n,Xp(Yp.current)),n.flags|=$r,null;if(hi(t,n.child.childLanes))return fg(e,n,t);Jp(n,Xp(Yp.current));var i=Pg(e,n,t);return null!==i?i.sibling:null}Jp(n,Xp(Yp.current));break;case P:var l=(e.flags&$r)!==Ar,u=hi(t,n.childLanes);if(l){if(u)return wg(e,n,t);n.flags|=$r}var c=n.memoizedState;if(null!==c&&(c.rendering=null,c.tail=null,c.lastEffect=null),Jp(n,Yp.current),u)break;return null;case L:case z:return n.lanes=ho,ng(e,n,t)}return Pg(e,n,t)}(e,n,t);Xv=(e.flags&aa)!==Ar}else if(Xv=!1,bf()&&function(e){return $d(),(e.flags&oa)!==Ar}(n)){var r=n.index;Bd(n,($d(),Id),r)}switch(n.lanes=ho,n.tag){case c:return function(e,n,t,r){Rg(e,n);var a,o,l,c=n.pendingProps;if(a=pd(n,dd(0,t,!1)),lp(n,r),Ya(n),t.prototype&&"function"==typeof t.prototype.render){var d=hn(t)||"Unknown";jv[d]||(i("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.",d,d),jv[d]=!0)}if(n.mode&lo&&xf.recordLegacyContextWarning(n,null),En(!0),Kv.current=n,o=zh(null,n,t,c,a,r),l=Dh(),En(!1),Ka(),n.flags|=jr,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){var f=hn(t)||"Unknown";Wv[f]||(i("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),Wv[f]=!0)}if("object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){var p=hn(t)||"Unknown";Wv[p]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Wv[p]=!0),n.tag=s,n.memoizedState=null,n.updateQueue=null;var h=!1;return md(t)?(h=!0,wd(n)):h=!1,n.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Sp(n),Tv(n,o),Pv(n,t,c,r),og(null,n,t,!0,h,r)}if(n.tag=u,n.mode&lo){Ha(!0);try{o=zh(null,n,t,c,a,r),l=Dh()}finally{Ha(!1)}}return bf()&&l&&Vd(n),Gv(null,n,o,r),sg(n,t),n.child}(e,n,n.type,t);case T:return ug(e,n,n.elementType,t);case u:var a=n.type,o=n.pendingProps;return rg(e,n,a,n.elementType===a?o:sv(a,o),t);case s:var l=n.type,d=n.pendingProps;return ag(e,n,l,n.elementType===l?d:sv(l,d),t);case f:return function(e,n,t){if(ig(n),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=n.pendingProps,a=n.memoizedState,o=a.element;xp(e,n),Pp(n,r,null,t);var i=n.memoizedState;n.stateNode;var l=i.element;if(a.isDehydrated){var u={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(n.updateQueue.baseState=u,n.memoizedState=u,n.flags&qr)return lg(e,n,l,t,Nv(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),n));if(l!==o)return lg(e,n,l,t,Nv(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),n));ef(n);var s=$f(n,null,l,t);n.child=s;for(var c=s;c;)c.flags=c.flags&~Wr|Gr,c=c.sibling}else{if(gf(),l===o)return Pg(e,n,t);Gv(e,n,l,t)}return n.child}(e,n,t);case m:return function(e,n,t){Vp(n),null===e&&cf(n);var r=n.type,a=n.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children;return mc(r,a)?i=null:null!==o&&mc(r,o)&&(n.flags|=Hr),tg(e,n),Gv(e,n,i,t),n.child}(e,n,t);case v:return function(e,n){return null===e&&cf(n),null}(e,n);case x:return fg(e,n,t);case h:return function(e,n,t){jp(n,n.stateNode.containerInfo);var r=n.pendingProps;return null===e?n.child=Qf(n,null,r,t):Gv(e,n,r,t),n.child}(e,n,t);case k:var p=n.type,R=n.pendingProps;return Jv(e,n,p,n.elementType===p?R:sv(p,R),t);case g:return function(e,n,t){return Gv(e,n,n.pendingProps,t),n.child}(e,n,t);case y:return function(e,n,t){return Gv(e,n,n.pendingProps.children,t),n.child}(e,n,t);case S:return function(e,n,t){n.flags|=Br;var r=n.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Gv(e,n,n.pendingProps.children,t),n.child}(e,n,t);case w:return function(e,n,t){var r=n.type._context,a=n.pendingProps,o=n.memoizedProps,l=a.value;"value"in a||Cg||(Cg=!0,i("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var u=n.type.propTypes;if(u&&Zc(u,a,"prop","Context.Provider"),rp(n,r,l),null!==o){var s=o.value;if(Tu(s,l)){if(o.children===a.children&&!hd())return Pg(e,n,t)}else ip(n,r,t)}return Gv(e,n,a.children,t),n.child}(e,n,t);case b:return function(e,n,t){var r=n.type;void 0===r._context?r!==r.Consumer&&(Tg||(Tg=!0,i("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=n.pendingProps.children;"function"!=typeof a&&i("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."),lp(n,t);var o,l=up(r);return Ya(n),Kv.current=n,En(!0),o=a(l),En(!1),Ka(),n.flags|=jr,Gv(e,n,o,t),n.child}(e,n,t);case E:var D=n.type,I=sv(D,n.pendingProps);if(n.type!==n.elementType){var M=D.propTypes;M&&Zc(M,I,"prop",hn(D))}return Zv(e,n,D,I=sv(D.type,I),t);case C:return eg(e,n,n.type,n.pendingProps,t);case _:var O=n.type,U=n.pendingProps;return function(e,n,t,r,a){var o;return Rg(e,n),n.tag=s,md(t)?(o=!0,wd(n)):o=!1,lp(n,a),_v(n,t,r),Pv(n,t,r,a),og(null,n,t,!0,o,a)}(e,n,O,n.elementType===O?U:sv(O,U),t);case P:return wg(e,n,t);case N:break;case L:return ng(e,n,t)}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function zg(e){e.flags|=Br}function Dg(e){e.flags|=Yr,e.flags|=ia}function Ig(e,n){if(!bf())switch(e.tailMode){case"hidden":for(var t=e.tail,r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var a=e.tail,o=null;null!==a;)null!==a.alternate&&(o=a),a=a.sibling;null===o?n||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Mg(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=ho,r=Ar;if(n){if((e.mode&io)!==ao){for(var a=e.selfBaseDuration,o=e.child;null!==o;)t=vi(t,vi(o.lanes,o.childLanes)),r|=o.subtreeFlags&ma,r|=o.flags&ma,a+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=a}else for(var i=e.child;null!==i;)t=vi(t,vi(i.lanes,i.childLanes)),r|=i.subtreeFlags&ma,r|=i.flags&ma,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if((e.mode&io)!==ao){for(var l=e.actualDuration,u=e.selfBaseDuration,s=e.child;null!==s;)t=vi(t,vi(s.lanes,s.childLanes)),r|=s.subtreeFlags,r|=s.flags,l+=s.actualDuration,u+=s.treeBaseDuration,s=s.sibling;e.actualDuration=l,e.treeBaseDuration=u}else for(var c=e.child;null!==c;)t=vi(t,vi(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=t,n}function Og(e,n,t){if(Kd&&null!==Yd&&(n.mode&oo)!==ao&&(n.flags&$r)===Ar)return vf(n),gf(),n.flags|=qr|ta|ra,!1;var r=mf(n);if(null!==t&&null!==t.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(ff(n),Mg(n),(n.mode&io)!==ao&&null!==t){var a=n.child;null!==a&&(n.treeBaseDuration-=a.treeBaseDuration)}return!1}if(gf(),(n.flags&$r)===Ar&&(n.memoizedState=null),n.flags|=Br,Mg(n),(n.mode&io)!==ao&&null!==t){var o=n.child;null!==o&&(n.treeBaseDuration-=o.treeBaseDuration)}return!1}return yf(),!0}function Ug(e,n,t){var r=n.pendingProps;switch(Qd(n),n.tag){case c:case T:case C:case u:case k:case g:case y:case S:case b:case E:return Mg(n),null;case s:return md(n.type)&&vd(n),Mg(n),null;case f:var a=n.stateNode;return Wp(n),gd(n),uh(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(null===e||null===e.child)&&(mf(n)?zg(n):null!==e&&(e.memoizedState.isDehydrated&&(n.flags&qr)===Ar||(n.flags|=Kr,yf()))),Sg(e,n),Mg(n),null;case m:Hp(n);var o=Ap(),i=n.type;if(null!==e&&null!=n.stateNode)xg(e,n,i,r,o),e.ref!==n.ref&&Dg(n);else{if(!r){if(null===n.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Mg(n),null}var l=Bp();if(mf(n))(function(e,n,t){var r=e.stateNode,a=!Xd,o=zc(r,e.type,e.memoizedProps,0,t,e,a);return e.updateQueue=o,null!==o})(n,0,l)&&zg(n);else{var d=hc(i,r,o,l,n);kg(d,n,!1,!1),n.stateNode=d,function(e,n,t,r,a){switch(Hs(e,n,t),n){case"button":case"input":case"select":case"textarea":return!!t.autoFocus;case"img":return!0;default:return!1}}(d,i,r)&&zg(n)}null!==n.ref&&Dg(n)}return Mg(n),null;case v:var p=r;if(e&&null!=n.stateNode){var R=e.memoizedProps;Eg(e,n,R,p)}else{if("string"!=typeof p&&null===n.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var M=Ap(),O=Bp();mf(n)?df(n)&&zg(n):n.stateNode=vc(p,M,O,n)}return Mg(n),null;case x:Zp(n);var U=n.memoizedState;if((null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)&&!Og(e,n,U))return n.flags&ra?n:null;if((n.flags&$r)!==Ar)return n.lanes=t,(n.mode&io)!==ao&&uv(n),n;var j=null!==U;if(j!==(null!==e&&null!==e.memoizedState)&&j&&(n.child.flags|=Jr,(n.mode&oo)!==ao&&(null===e&&(!0!==n.memoizedProps.unstable_avoidThisFallback||!A)||Kp(Yp.current,$p)?vb===rb&&(vb=ib):vw())),null!==n.updateQueue&&(n.flags|=Br),Mg(n),(n.mode&io)!==ao&&j){var W=n.child;null!==W&&(n.treeBaseDuration-=W.treeBaseDuration)}return null;case h:return Wp(n),Sg(e,n),null===e&&hs(n.stateNode.containerInfo),Mg(n),null;case w:return ap(n.type._context,n),Mg(n),null;case _:return md(n.type)&&vd(n),Mg(n),null;case P:Zp(n);var B=n.memoizedState;if(null===B)return Mg(n),null;var V=(n.flags&$r)!==Ar,H=B.rendering;if(null===H)if(V)Ig(B,!1);else{if(vb!==rb||null!==e&&(e.flags&$r)!==Ar)for(var Q=n.child;null!==Q;){var $=nh(Q);if(null!==$){V=!0,n.flags|=$r,Ig(B,!1);var q=$.updateQueue;return null!==q&&(n.updateQueue=q,n.flags|=Br),n.subtreeFlags=Ar,qf(n,t),Jp(n,Gp(Yp.current,qp)),n.child}Q=Q.sibling}null!==B.tail&&Na()>Pb()&&(n.flags|=$r,V=!0,Ig(B,!1),n.lanes=Qo)}else{if(!V){var Y=nh(H);if(null!==Y){n.flags|=$r,V=!0;var K=Y.updateQueue;if(null!==K&&(n.updateQueue=K,n.flags|=Br),Ig(B,!0),null===B.tail&&"hidden"===B.tailMode&&!H.alternate&&!bf())return Mg(n),null}else 2*Na()-B.renderingStartTime>Pb()&&t!==Xo&&(n.flags|=$r,V=!0,Ig(B,!1),n.lanes=Qo)}if(B.isBackwards)H.sibling=n.child,n.child=H;else{var X=B.last;null!==X?X.sibling=H:n.child=H,B.last=H}}if(null!==B.tail){var G=B.tail;B.rendering=G,B.tail=G.sibling,B.renderingStartTime=Na(),G.sibling=null;var J=Yp.current;return Jp(n,J=V?Gp(J,qp):Xp(J)),G}return Mg(n),null;case N:break;case L:case z:cw(n);var Z=null!==n.memoizedState;return null!==e&&(null!==e.memoizedState===Z||F||(n.flags|=Jr)),Z&&(n.mode&oo)!==ao?hi(hb,Xo)&&(Mg(n),n.subtreeFlags&(Wr|Br)&&(n.flags|=Jr)):Mg(n),null;case D:case I:return null}throw new Error("Unknown unit of work tag ("+n.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Fg(e,n,t){switch(Qd(n),n.tag){case s:md(n.type)&&vd(n);var r=n.flags;return r&ra?(n.flags=r&~ra|$r,(n.mode&io)!==ao&&uv(n),n):null;case f:n.stateNode,Wp(n),gd(n),uh();var a=n.flags;return(a&ra)!==Ar&&(a&$r)===Ar?(n.flags=a&~ra|$r,n):null;case m:return Hp(n),null;case x:Zp(n);var o=n.memoizedState;if(null!==o&&null!==o.dehydrated){if(null===n.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");gf()}var i=n.flags;return i&ra?(n.flags=i&~ra|$r,(n.mode&io)!==ao&&uv(n),n):null;case P:return Zp(n),null;case h:return Wp(n),null;case w:return ap(n.type._context,n),null;case L:case z:return cw(n),null;default:return null}}function Ag(e,n,t){switch(Qd(n),n.tag){case s:null!=n.type.childContextTypes&&vd(n);break;case f:n.stateNode,Wp(n),gd(n),uh();break;case m:Hp(n);break;case h:Wp(n);break;case x:case P:Zp(n);break;case w:ap(n.type._context,n);break;case L:case z:cw(n)}}kg=function(e,n,t,r){for(var a,o,i=n.child;null!==i;){if(i.tag===m||i.tag===v)a=e,o=i.stateNode,a.appendChild(o);else if(i.tag===h);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===n)return;for(;null===i.sibling;){if(null===i.return||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Sg=function(e,n){},xg=function(e,n,t,r,a){var o=e.memoizedProps;if(o!==r){var i=function(e,n,t,r,a,o){var i=o;if(typeof r.children!=typeof t.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,u=Js(i.ancestorInfo,n);Gs(null,l,u)}return Qs(e,n,t,r)}(n.stateNode,t,o,r,0,Bp());n.updateQueue=i,i&&zg(n)}},Eg=function(e,n,t,r){t!==r&&zg(n)};var jg=null;jg=new Set;var Wg=!1,Bg=!1,Vg="function"==typeof WeakSet?WeakSet:Set,Hg=null,Qg=null,$g=null,qg=function(e,n){if(n.props=e.memoizedProps,n.state=e.memoizedState,e.mode&io)try{iv(),n.componentWillUnmount()}finally{av(e)}else n.componentWillUnmount()};function Yg(e,n){try{ay(oh,e)}catch(t){_w(e,n,t)}}function Kg(e,n,t){try{qg(e,t)}catch(t){_w(e,n,t)}}function Xg(e,n){try{uy(e)}catch(t){_w(e,n,t)}}function Gg(e,n){var t=e.ref;if(null!==t)if("function"==typeof t){var r;try{if(H&&Q&&e.mode&io)try{iv(),r=t(null)}finally{av(e)}else r=t(null)}catch(t){_w(e,n,t)}"function"==typeof r&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vn(e))}else t.current=null}function Jg(e,n,t){try{t()}catch(t){_w(e,n,t)}}var Zg=!1;function ey(e,n){pc(e.containerInfo),Hg=n,function(){for(;null!==Hg;){var e=Hg,n=e.child;(e.subtreeFlags&da)!==Ar&&null!==n?(n.return=e,Hg=n):ny()}}();var t=Zg;return Zg=!1,t}function ny(){for(;null!==Hg;){var e=Hg;xn(e);try{ty(e)}catch(n){_w(e,e.return,n)}Sn();var n=e.sibling;if(null!==n)return n.return=e.return,void(Hg=n);Hg=e.return}}function ty(e){var n,t=e.alternate;if((e.flags&Kr)!==Ar){switch(xn(e),e.tag){case u:case k:case C:break;case s:if(null!==t){var r=t.memoizedProps,a=t.memoizedState,o=e.stateNode;e.type!==e.elementType||Qv||(o.props!==e.memoizedProps&&i("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.",vn(e)||"instance"),o.state!==e.memoizedState&&i("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.",vn(e)||"instance"));var l=o.getSnapshotBeforeUpdate(e.elementType===e.type?r:sv(e.type,r),a),c=jg;void 0!==l||c.has(e.type)||(c.add(e.type),i("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",vn(e))),o.__reactInternalSnapshotBeforeUpdate=l}break;case f:(n=e.stateNode.containerInfo).nodeType===gt?n.textContent="":n.nodeType===wt&&n.documentElement&&n.removeChild(n.documentElement);break;case m:case v:case h:case _:break;default:throw new 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.")}Sn()}}function ry(e,n,t){var r,a=n.updateQueue,o=null!==a?a.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,void 0!==u&&((e&ih)!==th?(r=n,null!==Wa&&"function"==typeof Wa.markComponentPassiveEffectUnmountStarted&&Wa.markComponentPassiveEffectUnmountStarted(r)):(e&oh)!==th&&Ga(n),(e&ah)!==th&&Hw(!0),Jg(n,t,u),(e&ah)!==th&&Hw(!1),(e&ih)!==th?null!==Wa&&"function"==typeof Wa.markComponentPassiveEffectUnmountStopped&&Wa.markComponentPassiveEffectUnmountStopped():(e&oh)!==th&&Ja())}l=l.next}while(l!==i)}}function ay(e,n){var t,r=n.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next,l=o;do{if((l.tag&e)===e){(e&ih)!==th?(t=n,null!==Wa&&"function"==typeof Wa.markComponentPassiveEffectMountStarted&&Wa.markComponentPassiveEffectMountStarted(t)):(e&oh)!==th&&Xa(n);var u=l.create;(e&ah)!==th&&Hw(!0),l.destroy=u(),(e&ah)!==th&&Hw(!1),(e&ih)!==th?null!==Wa&&"function"==typeof Wa.markComponentPassiveEffectMountStopped&&Wa.markComponentPassiveEffectMountStopped():(e&oh)!==th&&null!==Wa&&"function"==typeof Wa.markComponentLayoutEffectMountStopped&&Wa.markComponentLayoutEffectMountStopped();var s=l.destroy;if(void 0!==s&&"function"!=typeof s){var c=void 0;i("%s must not return anything besides a function, which is used for clean-up.%s",c=(l.tag&oh)!==Ar?"useLayoutEffect":(l.tag&ah)!==Ar?"useInsertionEffect":"useEffect",null===s?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof s.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+s)}}l=l.next}while(l!==o)}}function oy(e,n){if((n.flags&Br)!==Ar&&n.tag===S){var t=n.stateNode.passiveEffectDuration,r=n.memoizedProps,a=r.id,o=r.onPostCommit,i=Zm(),l=null===n.alternate?"mount":"update";Jm()&&(l="nested-update"),"function"==typeof o&&o(a,l,t,i);var u=n.return;e:for(;null!==u;){switch(u.tag){case f:case S:u.stateNode.passiveEffectDuration+=t;break e}u=u.return}}}function iy(e,n,t,r){if((t.flags&pa)!==Ar)switch(t.tag){case u:case k:case C:if(!Bg)if(t.mode&io)try{iv(),ay(oh|rh,t)}finally{av(t)}else ay(oh|rh,t);break;case s:var a=t.stateNode;if(t.flags&Br&&!Bg)if(null===n)if(t.type!==t.elementType||Qv||(a.props!==t.memoizedProps&&i("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.",vn(t)||"instance"),a.state!==t.memoizedState&&i("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.",vn(t)||"instance")),t.mode&io)try{iv(),a.componentDidMount()}finally{av(t)}else a.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:sv(t.type,n.memoizedProps),l=n.memoizedState;if(t.type!==t.elementType||Qv||(a.props!==t.memoizedProps&&i("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.",vn(t)||"instance"),a.state!==t.memoizedState&&i("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.",vn(t)||"instance")),t.mode&io)try{iv(),a.componentDidUpdate(o,l,a.__reactInternalSnapshotBeforeUpdate)}finally{av(t)}else a.componentDidUpdate(o,l,a.__reactInternalSnapshotBeforeUpdate)}var c=t.updateQueue;null!==c&&(t.type!==t.elementType||Qv||(a.props!==t.memoizedProps&&i("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.",vn(t)||"instance"),a.state!==t.memoizedState&&i("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.",vn(t)||"instance")),Dp(0,c,a));break;case f:var d=t.updateQueue;if(null!==d){var p=null;if(null!==t.child)switch(t.child.tag){case m:case s:p=t.child.stateNode}Dp(0,d,p)}break;case m:var g=t.stateNode;null===n&&t.flags&Br&&function(e,n,t,r){switch(n){case"button":case"input":case"select":case"textarea":return void(t.autoFocus&&e.focus());case"img":t.src&&(e.src=t.src)}}(g,t.type,t.memoizedProps);break;case v:case h:break;case S:var y=t.memoizedProps,b=y.onCommit,w=y.onRender,E=t.stateNode.effectDuration,T=Zm(),R=null===n?"mount":"update";Jm()&&(R="nested-update"),"function"==typeof w&&w(t.memoizedProps.id,R,t.actualDuration,t.treeBaseDuration,t.actualStartTime,T),"function"==typeof b&&b(t.memoizedProps.id,R,E,T),M=t,Ob.push(M),Db||(Db=!0,Ww(Ia,(function(){return xw(),null})));var D=t.return;e:for(;null!==D;){switch(D.tag){case f:case S:D.stateNode.effectDuration+=E;break e}D=D.return}break;case x:!function(e,n){if(null===n.memoizedState){var t=n.alternate;if(null!==t){var r=t.memoizedState;if(null!==r){var a=r.dehydrated;null!==a&&function(e){rl(e)}(a)}}}}(0,t);break;case P:case _:case N:case L:case z:case I:break;default:throw new 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.")}var M;Bg||t.flags&Yr&&uy(t)}function ly(e){switch(e.tag){case u:case k:case C:if(e.mode&io)try{iv(),Yg(e,e.return)}finally{av(e)}else Yg(e,e.return);break;case s:var n=e.stateNode;"function"==typeof n.componentDidMount&&function(e,n,t){try{t.componentDidMount()}catch(t){_w(e,n,t)}}(e,e.return,n),Xg(e,e.return);break;case m:Xg(e,e.return)}}function uy(e){var n=e.ref;if(null!==n){var t,r=e.stateNode;if(e.tag,t=r,"function"==typeof n){var a;if(e.mode&io)try{iv(),a=n(t)}finally{av(e)}else a=n(t);"function"==typeof a&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vn(e))}else n.hasOwnProperty("current")||i("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",vn(e)),n.current=t}}function sy(e){var n,t=e.alternate;if(null!==t&&(e.alternate=null,sy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===m){var r=e.stateNode;null!==r&&(delete(n=r)[Mc],delete n[Oc],delete n[Fc],delete n[Ac],delete n[jc])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cy(e){return e.tag===m||e.tag===f||e.tag===h}function dy(e){var n=e;e:for(;;){for(;null===n.sibling;){if(null===n.return||cy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==m&&n.tag!==v&&n.tag!==R;){if(n.flags&Wr)continue e;if(null===n.child||n.tag===h)continue e;n.child.return=n,n=n.child}if(!(n.flags&Wr))return n.stateNode}}function fy(e){var n=function(e){for(var n=e.return;null!==n;){if(cy(n))return n;n=n.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(n.tag){case m:var t=n.stateNode;n.flags&Hr&&(xc(t),n.flags&=~Hr),hy(e,dy(e),t);break;case f:case h:var r=n.stateNode.containerInfo;py(e,dy(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function py(e,n,t){var r=e.tag;if(r===m||r===v){var a=e.stateNode;n?function(e,n,t){e.nodeType===bt?e.parentNode.insertBefore(n,t):e.insertBefore(n,t)}(t,a,n):function(e,n){var t;e.nodeType===bt?(t=e.parentNode).insertBefore(n,e):(t=e).appendChild(n),null==e._reactRootContainer&&null===t.onclick&&Vs(t)}(t,a)}else if(r===h);else{var o=e.child;if(null!==o){py(o,n,t);for(var i=o.sibling;null!==i;)py(i,n,t),i=i.sibling}}}function hy(e,n,t){var r=e.tag;if(r===m||r===v){var a=e.stateNode;n?function(e,n,t){e.insertBefore(n,t)}(t,a,n):function(e,n){e.appendChild(n)}(t,a)}else if(r===h);else{var o=e.child;if(null!==o){hy(o,n,t);for(var i=o.sibling;null!==i;)hy(i,n,t),i=i.sibling}}}var my=null,vy=!1;function gy(e,n,t){var r,a,o=n;e:for(;null!==o;){switch(o.tag){case m:my=o.stateNode,vy=!1;break e;case f:case h:my=o.stateNode.containerInfo,vy=!0;break e}o=o.return}if(null===my)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");by(e,n,t),my=null,vy=!1,null!==(a=(r=t).alternate)&&(a.return=null),r.return=null}function yy(e,n,t){for(var r=t.child;null!==r;)by(e,n,r),r=r.sibling}function by(e,n,t){switch(function(e){if(ja&&"function"==typeof ja.onCommitFiberUnmount)try{ja.onCommitFiberUnmount(Aa,e)}catch(e){Ba||(Ba=!0,i("React instrumentation encountered an error: %s",e))}}(t),t.tag){case m:Bg||Gg(t,n);case v:var r=my,a=vy;return my=null,yy(e,n,t),vy=a,void(null!==(my=r)&&(vy?(x=my,T=t.stateNode,x.nodeType===bt?x.parentNode.removeChild(T):x.removeChild(T)):function(e,n){e.removeChild(n)}(my,t.stateNode)));case R:return void(null!==my&&(vy?function(e,n){e.nodeType===bt?Ec(e.parentNode,n):e.nodeType===gt&&Ec(e,n),rl(e)}(my,t.stateNode):Ec(my,t.stateNode)));case h:var o=my,l=vy;return my=t.stateNode.containerInfo,vy=!0,yy(e,n,t),my=o,void(vy=l);case u:case k:case E:case C:if(!Bg){var c=t.updateQueue;if(null!==c){var d=c.lastEffect;if(null!==d){var f=d.next,p=f;do{var g=p,y=g.destroy,b=g.tag;void 0!==y&&((b&ah)!==th?Jg(t,n,y):(b&oh)!==th&&(Ga(t),t.mode&io?(iv(),Jg(t,n,y),av(t)):Jg(t,n,y),Ja())),p=p.next}while(p!==f)}}}return void yy(e,n,t);case s:if(!Bg){Gg(t,n);var w=t.stateNode;"function"==typeof w.componentWillUnmount&&Kg(t,n,w)}return void yy(e,n,t);case N:return void yy(e,n,t);case L:if(t.mode&oo){var S=Bg;Bg=S||null!==t.memoizedState,yy(e,n,t),Bg=S}else yy(e,n,t);break;default:return void yy(e,n,t)}var x,T}function wy(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Vg),n.forEach((function(n){var r=Lw.bind(null,e,n);if(!t.has(n)){if(t.add(n),Va){if(null===Qg||null===$g)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Aw($g,Qg)}n.then(r,r)}}))}}function ky(e,n,t){var r=n.deletions;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a];try{gy(e,n,o)}catch(e){_w(o,n,e)}}var i=yn;if(n.subtreeFlags&fa)for(var l=n.child;null!==l;)xn(l),Sy(l,e),l=l.sibling;xn(i)}function Sy(e,n,t){var r=e.alternate,a=e.flags;switch(e.tag){case u:case k:case E:case C:if(ky(n,e),xy(e),a&Br){try{ry(ah|rh,e,e.return),ay(ah|rh,e)}catch(n){_w(e,e.return,n)}if(e.mode&io){try{iv(),ry(oh|rh,e,e.return)}catch(n){_w(e,e.return,n)}av(e)}else try{ry(oh|rh,e,e.return)}catch(n){_w(e,e.return,n)}}return;case s:return ky(n,e),xy(e),void(a&Yr&&null!==r&&Gg(r,r.return));case m:if(ky(n,e),xy(e),a&Yr&&null!==r&&Gg(r,r.return),e.flags&Hr){var o=e.stateNode;try{xc(o)}catch(n){_w(e,e.return,n)}}if(a&Br){var i=e.stateNode;if(null!=i){var l=e.memoizedProps,c=null!==r?r.memoizedProps:l,d=e.type,p=e.updateQueue;if(e.updateQueue=null,null!==p)try{!function(e,n,t,r,a,o){$s(e,n,t,r,a),Kc(e,a)}(i,p,d,c,l)}catch(n){_w(e,e.return,n)}}}return;case v:if(ky(n,e),xy(e),a&Br){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var g=e.stateNode,y=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,n,t){e.nodeValue=t}(g,0,y)}catch(n){_w(e,e.return,n)}}return;case f:if(ky(n,e),xy(e),a&Br&&null!==r&&r.memoizedState.isDehydrated)try{rl(n.containerInfo)}catch(n){_w(e,e.return,n)}return;case h:return ky(n,e),void xy(e);case x:ky(n,e),xy(e);var b=e.child;if(b.flags&Jr){var w=b.stateNode,S=null!==b.memoizedState;w.isHidden=S,S&&(null!==b.alternate&&null!==b.alternate.memoizedState||(xb=Na()))}if(a&Br){try{!function(e){e.memoizedState}(e)}catch(n){_w(e,e.return,n)}wy(e)}return;case L:var T=null!==r&&null!==r.memoizedState;if(e.mode&oo){var _=Bg;Bg=_||T,ky(n,e),Bg=_}else ky(n,e);if(xy(e),a&Jr){var R=e.stateNode,D=null!==e.memoizedState,I=e;if(R.isHidden=D,D&&!T&&(I.mode&oo)!==ao){Hg=I;for(var M=I.child;null!==M;)Hg=M,_y(M),M=M.sibling}!function(e,n){for(var t=null,r=e;;){if(r.tag===m){if(null===t){t=r;try{var a=r.stateNode;n?Cc(a):Tc(r.stateNode,r.memoizedProps)}catch(n){_w(e,e.return,n)}}}else if(r.tag===v){if(null===t)try{var o=r.stateNode;n?o.nodeValue="":_c(o,r.memoizedProps)}catch(n){_w(e,e.return,n)}}else if((r.tag!==L&&r.tag!==z||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;t===r&&(t=null),r=r.return}t===r&&(t=null),r.sibling.return=r.return,r=r.sibling}}(I,D)}return;case P:return ky(n,e),xy(e),void(a&Br&&wy(e));case N:return;default:return ky(n,e),void xy(e)}}function xy(e){var n=e.flags;if(n&Wr){try{fy(e)}catch(n){_w(e,e.return,n)}e.flags&=~Wr}n&Gr&&(e.flags&=~Gr)}function Ey(e,n,t){Qg=t,$g=n,Hg=e,Cy(e,n,t),Qg=null,$g=null}function Cy(e,n,t){for(var r=(e.mode&oo)!==ao;null!==Hg;){var a=Hg,o=a.child;if(a.tag===L&&r){var i=null!==a.memoizedState||Wg;if(i){Ty(e,n,t);continue}var l=a.alternate,u=null!==l&&null!==l.memoizedState,s=Wg,c=Bg;Wg=i,(Bg=u||Bg)&&!c&&(Hg=a,Py(a));for(var d=o;null!==d;)Hg=d,Cy(d,n,t),d=d.sibling;Hg=a,Wg=s,Bg=c,Ty(e,n,t)}else(a.subtreeFlags&pa)!==Ar&&null!==o?(o.return=a,Hg=o):Ty(e,n,t)}}function Ty(e,n,t){for(;null!==Hg;){var r=Hg;if((r.flags&pa)!==Ar){var a=r.alternate;xn(r);try{iy(0,a,r)}catch(e){_w(r,r.return,e)}Sn()}if(r===e)return void(Hg=null);var o=r.sibling;if(null!==o)return o.return=r.return,void(Hg=o);Hg=r.return}}function _y(e){for(;null!==Hg;){var n=Hg,t=n.child;switch(n.tag){case u:case k:case E:case C:if(n.mode&io)try{iv(),ry(oh,n,n.return)}finally{av(n)}else ry(oh,n,n.return);break;case s:Gg(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&Kg(n,n.return,r);break;case m:Gg(n,n.return);break;case L:if(null!==n.memoizedState){Ry(e);continue}}null!==t?(t.return=n,Hg=t):Ry(e)}}function Ry(e){for(;null!==Hg;){var n=Hg;if(n===e)return void(Hg=null);var t=n.sibling;if(null!==t)return t.return=n.return,void(Hg=t);Hg=n.return}}function Py(e){for(;null!==Hg;){var n=Hg,t=n.child;(n.tag!==L||null===n.memoizedState)&&null!==t?(t.return=n,Hg=t):Ny(e)}}function Ny(e){for(;null!==Hg;){var n=Hg;xn(n);try{ly(n)}catch(e){_w(n,n.return,e)}if(Sn(),n===e)return void(Hg=null);var t=n.sibling;if(null!==t)return t.return=n.return,void(Hg=t);Hg=n.return}}function Ly(e,n,t,r){Hg=n,function(e,n,t,r){for(;null!==Hg;){var a=Hg,o=a.child;(a.subtreeFlags&ha)!==Ar&&null!==o?(o.return=a,Hg=o):zy(e,n,t,r)}}(n,e,t,r)}function zy(e,n,t,r){for(;null!==Hg;){var a=Hg;if((a.flags&Xr)!==Ar){xn(a);try{Dy(n,a,t,r)}catch(e){_w(a,a.return,e)}Sn()}if(a===e)return void(Hg=null);var o=a.sibling;if(null!==o)return o.return=a.return,void(Hg=o);Hg=a.return}}function Dy(e,n,t,r){switch(n.tag){case u:case k:case C:if(n.mode&io){lv();try{ay(ih|rh,n)}finally{ov(n)}}else ay(ih|rh,n)}}function Iy(e){Hg=e,function(){for(;null!==Hg;){var e=Hg,n=e.child;if((Hg.flags&Vr)!==Ar){var t=e.deletions;if(null!==t){for(var r=0;r<t.length;r++){var a=t[r];Hg=a,Uy(a,e)}var o=e.alternate;if(null!==o){var i=o.child;if(null!==i){o.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Hg=e}}(e.subtreeFlags&ha)!==Ar&&null!==n?(n.return=e,Hg=n):My()}}()}function My(){for(;null!==Hg;){var e=Hg;(e.flags&Xr)!==Ar&&(xn(e),Oy(e),Sn());var n=e.sibling;if(null!==n)return n.return=e.return,void(Hg=n);Hg=e.return}}function Oy(e){switch(e.tag){case u:case k:case C:e.mode&io?(lv(),ry(ih|rh,e,e.return),ov(e)):ry(ih|rh,e,e.return)}}function Uy(e,n){for(;null!==Hg;){var t=Hg;xn(t),Ay(t,n),Sn();var r=t.child;null!==r?(r.return=t,Hg=r):Fy(e)}}function Fy(e){for(;null!==Hg;){var n=Hg,t=n.sibling,r=n.return;if(sy(n),n===e)return void(Hg=null);if(null!==t)return t.return=r,void(Hg=t);Hg=r}}function Ay(e,n){switch(e.tag){case u:case k:case C:e.mode&io?(lv(),ry(ih,e,n),ov(e)):ry(ih,e,n)}}function jy(e){switch(e.tag){case u:case k:case C:try{ay(oh|rh,e)}catch(n){_w(e,e.return,n)}break;case s:var n=e.stateNode;try{n.componentDidMount()}catch(n){_w(e,e.return,n)}}}function Wy(e){switch(e.tag){case u:case k:case C:try{ay(ih|rh,e)}catch(n){_w(e,e.return,n)}}}function By(e){switch(e.tag){case u:case k:case C:try{ry(oh|rh,e,e.return)}catch(n){_w(e,e.return,n)}break;case s:var n=e.stateNode;"function"==typeof n.componentWillUnmount&&Kg(e,e.return,n)}}function Vy(e){switch(e.tag){case u:case k:case C:try{ry(ih|rh,e,e.return)}catch(n){_w(e,e.return,n)}}}if("function"==typeof Symbol&&Symbol.for){var Hy=Symbol.for;Hy("selector.component"),Hy("selector.has_pseudo_class"),Hy("selector.role"),Hy("selector.test_id"),Hy("selector.text")}var Qy=[],$y=r.ReactCurrentActQueue;function qy(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===$y.current||i("The current testing environment is not configured to support act(...)"),e}var Yy=Math.ceil,Ky=r.ReactCurrentDispatcher,Xy=r.ReactCurrentOwner,Gy=r.ReactCurrentBatchConfig,Jy=r.ReactCurrentActQueue,Zy=0,eb=1,nb=2,tb=4,rb=0,ab=1,ob=2,ib=3,lb=4,ub=5,sb=6,cb=Zy,db=null,fb=null,pb=ho,hb=ho,mb=ad(ho),vb=rb,gb=null,yb=ho,bb=ho,wb=ho,kb=null,Sb=null,xb=0,Eb=500,Cb=1/0,Tb=500,_b=null;function Rb(){Cb=Na()+Tb}function Pb(){return Cb}var Nb=!1,Lb=null,zb=null,Db=!1,Ib=null,Mb=ho,Ob=[],Ub=null,Fb=50,Ab=0,jb=null,Wb=!1,Bb=!1,Vb=50,Hb=0,Qb=null,$b=Jo,qb=ho,Yb=!1;function Kb(){return db}function Xb(){return(cb&(nb|tb))!==Zy?Na():$b!==Jo?$b:$b=Na()}function Gb(e){if((e.mode&oo)===ao)return vo;if((cb&nb)!==Zy&&pb!==ho)return di(pb);if(kf.transition!==Sf){if(null!==Gy.transition){var n=Gy.transition;n._updatedFibers||(n._updatedFibers=new Set),n._updatedFibers.add(e)}return qb===mo&&(qb=si()),qb}var t,r=Mi();return r!==mo?r:void 0===(t=window.event)?zi:fl(t.type)}function Jb(e){var n;return(e.mode&oo)===ao?vo:(n=ei,((ei<<=1)&Ao)===ho&&(ei=jo),n)}function Zb(e,n,t,r){!function(){if(Ab>Fb)throw Ab=0,jb=null,new 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.");Hb>Vb&&(Hb=0,Qb=null,i("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."))}(),Yb&&i("useInsertionEffect must not schedule updates."),Wb&&(Bb=!0),wi(e,t,r),(cb&nb)!==ho&&e===db?function(e){if(bn&&!Tm)switch(e.tag){case u:case k:case C:var n=fb&&vn(fb)||"Unknown",t=n;Uw.has(t)||(Uw.add(t),i("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",vn(e)||"Unknown",n,n));break;case s:Fw||(i("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Fw=!0)}}(n):(Va&&xi(e,n,t),function(e){if(e.mode&oo){if(!qy())return}else{if(n="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===n)return;if(cb!==Zy)return;if(e.tag!==u&&e.tag!==k&&e.tag!==C)return}var n;if(null===Jy.current){var t=yn;try{xn(e),i("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis 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",vn(e))}finally{t?xn(e):Sn()}}}(n),e===db&&((cb&nb)===Zy&&(bb=vi(bb,t)),vb===lb&&aw(e,pb)),ew(e,r),t!==vo||cb!==Zy||(n.mode&oo)!==ao||Jy.isBatchingLegacy||(Rb(),Pd()))}function ew(e,n){var t=e.callbackNode;!function(e,n){for(var t=e.pendingLanes,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,i=t;i>0;){var l=fi(i),u=1<<l,s=o[l];s===Jo?(u&r)!==ho&&(u&a)===ho||(o[l]=ri(u,n)):s<=n&&(e.expiredLanes|=u),i&=~u}}(e,n);var r=ti(e,e===db?pb:ho);if(r===ho)return null!==t&&Bw(t),e.callbackNode=null,void(e.callbackPriority=mo);var a=ci(r),o=e.callbackPriority;if(o!==a||null!==Jy.current&&t!==jw){var l,u;if(null!=t&&Bw(t),a===vo)e.tag===xd?(null!==Jy.isBatchingLegacy&&(Jy.didScheduleLegacyUpdate=!0),u=ow.bind(null,e),Td=!0,Rd(u)):Rd(ow.bind(null,e)),null!==Jy.current?Jy.current.push(Nd):kc((function(){(cb&(nb|tb))===Zy&&Nd()})),l=null;else{var s;switch(Fi(r)){case Ni:s=za;break;case Li:s=Da;break;case zi:s=Ia;break;case Di:s=Oa;break;default:s=Ia}l=Ww(s,nw.bind(null,e))}e.callbackPriority=a,e.callbackNode=l}else null==t&&o!==vo&&i("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function nw(e,n){if(Xm=!1,Gm=!1,$b=Jo,qb=ho,(cb&(nb|tb))!==Zy)throw new Error("Should not already be working.");var t=e.callbackNode;if(xw()&&e.callbackNode!==t)return null;var r=ti(e,e===db?pb:ho);if(r===ho)return null;var a=!li(0,r)&&!function(e,n){return(n&e.expiredLanes)!==ho}(e,r)&&!n,o=a?function(e,n){var t=cb;cb|=nb;var r=pw();if(db!==e||pb!==n){if(Va){var a=e.memoizedUpdaters;a.size>0&&(Aw(e,pb),a.clear()),Ei(e,n)}_b=null,Rb(),dw(e,n)}for(no(n);;)try{bw();break}catch(n){fw(e,n)}return ep(),hw(r),cb=t,null!==fb?(null!==Wa&&"function"==typeof Wa.markRenderYielded&&Wa.markRenderYielded(),rb):(to(),db=null,pb=ho,vb)}(e,r):gw(e,r);if(o!==rb){if(o===ob){var i=ai(e);i!==ho&&(r=i,o=tw(e,i))}if(o===ab){var l=gb;throw dw(e,ho),aw(e,r),ew(e,Na()),l}if(o===sb)aw(e,r);else{var u=!li(0,r),s=e.current.alternate;if(u&&!function(e){for(var n=e;;){if(n.flags&Zr){var t=n.updateQueue;if(null!==t){var r=t.stores;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a],i=o.getSnapshot,l=o.value;try{if(!Tu(i(),l))return!1}catch(e){return!1}}}}var u=n.child;if(n.subtreeFlags&Zr&&null!==u)u.return=n,n=u;else{if(n===e)return!0;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(s)){if((o=gw(e,r))===ob){var c=ai(e);c!==ho&&(r=c,o=tw(e,c))}if(o===ab){var d=gb;throw dw(e,ho),aw(e,r),ew(e,Na()),d}}e.finishedWork=s,e.finishedLanes=r,function(e,n,t){switch(n){case rb:case ab:throw new Error("Root did not complete. This is a bug in React.");case ob:Sw(e,Sb,_b);break;case ib:if(aw(e,t),ii(t)&&!Vw()){var r=xb+Eb-Na();if(r>10){if(ti(e,ho)!==ho)break;var a=e.suspendedLanes;if(!mi(a,t)){Xb(),ki(e,a);break}e.timeoutHandle=gc(Sw.bind(null,e,Sb,_b),r);break}}Sw(e,Sb,_b);break;case lb:if(aw(e,t),function(e){return(e&So)===e}(t))break;if(!Vw()){var o=function(e,n){for(var t=e.eventTimes,r=Jo;n>0;){var a=fi(n),o=1<<a,i=t[a];i>r&&(r=i),n&=~o}return r}(e,t),i=o,l=Na()-i,u=((s=l)<120?120:s<480?480:s<1080?1080:s<1920?1920:s<3e3?3e3:s<4320?4320:1960*Yy(s/1960))-l;if(u>10){e.timeoutHandle=gc(Sw.bind(null,e,Sb,_b),u);break}}Sw(e,Sb,_b);break;case ub:Sw(e,Sb,_b);break;default:throw new Error("Unknown root exit status.")}var s}(e,o,r)}}return ew(e,Na()),e.callbackNode===t?nw.bind(null,e):null}function tw(e,n){var t=kb;Ai(e)&&(dw(e,n).flags|=qr,i("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=gw(e,n);if(r!==ob){var a=Sb;Sb=t,null!==a&&rw(a)}return r}function rw(e){null===Sb?Sb=e:Sb.push.apply(Sb,e)}function aw(e,n){n=gi(n,wb),function(e,n){e.suspendedLanes|=n,e.pingedLanes&=~n;for(var t=e.expirationTimes,r=n;r>0;){var a=fi(r),o=1<<a;t[a]=Jo,r&=~o}}(e,n=gi(n,bb))}function ow(e){if(Xm=Gm,Gm=!1,(cb&(nb|tb))!==Zy)throw new Error("Should not already be working.");xw();var n=ti(e,ho);if(!hi(n,vo))return ew(e,Na()),null;var t=gw(e,n);if(e.tag!==xd&&t===ob){var r=ai(e);r!==ho&&(n=r,t=tw(e,r))}if(t===ab){var a=gb;throw dw(e,ho),aw(e,n),ew(e,Na()),a}if(t===sb)throw new Error("Root did not complete. This is a bug in React.");var o=e.current.alternate;return e.finishedWork=o,e.finishedLanes=n,Sw(e,Sb,_b),ew(e,Na()),null}function iw(e,n){var t=cb;cb|=eb;try{return e(n)}finally{(cb=t)!==Zy||Jy.isBatchingLegacy||(Rb(),Pd())}}function lw(e){null!==Ib&&Ib.tag===xd&&(cb&(nb|tb))===Zy&&xw();var n=cb;cb|=eb;var t=Gy.transition,r=Mi();try{return Gy.transition=null,Oi(Ni),e?e():void 0}finally{Oi(r),Gy.transition=t,((cb=n)&(nb|tb))===Zy&&Nd()}}function uw(){return(cb&(nb|tb))!==Zy}function sw(e,n){id(mb,hb,e),hb=vi(hb,n)}function cw(e){hb=mb.current,od(mb,e)}function dw(e,n){e.finishedWork=null,e.finishedLanes=ho;var t=e.timeoutHandle;if(t!==bc&&(e.timeoutHandle=bc,yc(t)),null!==fb)for(var r=fb.return;null!==r;)r.alternate,Ag(0,r),r=r.return;db=e;var a=sk(e.current,null);return fb=a,pb=hb=n,vb=rb,gb=null,yb=ho,bb=ho,wb=ho,kb=null,Sb=null,function(){if(null!==sp){for(var e=0;e<sp.length;e++){var n=sp[e],t=n.interleaved;if(null!==t){n.interleaved=null;var r=t.next,a=n.pending;if(null!==a){var o=a.next;a.next=r,t.next=o}n.pending=t}}sp=null}}(),xf.discardPendingWarnings(),a}function fw(e,n){for(;;){var t=fb;try{if(ep(),Mh(),Sn(),Xy.current=null,null===t||null===t.return)return vb=ab,gb=n,void(fb=null);H&&t.mode&io&&rv(t,!0),V&&(Ka(),null!==n&&"object"==typeof n&&"function"==typeof n.then?eo(t,n,pb):Za(t,n,pb)),Av(e,t.return,t,n,pb),kw(t)}catch(e){n=e,fb===t&&null!==t?(t=t.return,fb=t):t=fb;continue}return}}function pw(){var e=Ky.current;return Ky.current=Mm,null===e?Mm:e}function hw(e){Ky.current=e}function mw(e){yb=vi(e,yb)}function vw(){vb!==rb&&vb!==ib&&vb!==ob||(vb=lb),null!==db&&(oi(yb)||oi(bb))&&aw(db,pb)}function gw(e,n){var t=cb;cb|=nb;var r=pw();if(db!==e||pb!==n){if(Va){var a=e.memoizedUpdaters;a.size>0&&(Aw(e,pb),a.clear()),Ei(e,n)}_b=null,dw(e,n)}for(no(n);;)try{yw();break}catch(n){fw(e,n)}if(ep(),cb=t,hw(r),null!==fb)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return to(),db=null,pb=ho,vb}function yw(){for(;null!==fb;)ww(fb)}function bw(){for(;null!==fb&&!Ra();)ww(fb)}function ww(e){var n,t=e.alternate;xn(e),(e.mode&io)!==ao?(nv(e),n=Iw(t,e,hb),rv(e,!0)):n=Iw(t,e,hb),Sn(),e.memoizedProps=e.pendingProps,null===n?kw(e):fb=n,Xy.current=null}function kw(e){var n=e;do{var t=n.alternate,r=n.return;if((n.flags&ta)===Ar){xn(n);var a=void 0;if((n.mode&io)===ao?a=Ug(t,n,hb):(nv(n),a=Ug(t,n,hb),rv(n,!1)),Sn(),null!==a)return void(fb=a)}else{var o=Fg(0,n);if(null!==o)return o.flags&=na,void(fb=o);if((n.mode&io)!==ao){rv(n,!1);for(var i=n.actualDuration,l=n.child;null!==l;)i+=l.actualDuration,l=l.sibling;n.actualDuration=i}if(null===r)return vb=sb,void(fb=null);r.flags|=ta,r.subtreeFlags=Ar,r.deletions=null}var u=n.sibling;if(null!==u)return void(fb=u);fb=n=r}while(null!==n);vb===rb&&(vb=ub)}function Sw(e,n,t){var r=Mi(),a=Gy.transition;try{Gy.transition=null,Oi(Ni),function(e,n,t,r){do{xw()}while(null!==Ib);if(xf.flushLegacyContextWarning(),xf.flushPendingUnsafeLifecycleWarnings(),(cb&(nb|tb))!==Zy)throw new Error("Should not already be working.");var a=e.finishedWork,o=e.finishedLanes;if(function(e){null!==Wa&&"function"==typeof Wa.markCommitStarted&&Wa.markCommitStarted(e)}(o),null===a)return qa(),null;if(o===ho&&i("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ho,a===e.current)throw new 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,e.callbackPriority=mo;var l=vi(a.lanes,a.childLanes);(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=ho,e.pingedLanes=ho,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n;for(var r=e.entanglements,a=e.eventTimes,o=e.expirationTimes,i=t;i>0;){var l=fi(i),u=1<<l;r[l]=ho,a[l]=Jo,o[l]=Jo,i&=~u}})(e,l),e===db&&(db=null,fb=null,pb=ho),(a.subtreeFlags&ha)===Ar&&(a.flags&ha)===Ar||Db||(Db=!0,Ub=t,Ww(Ia,(function(){return xw(),null})));var u=(a.subtreeFlags&(da|fa|pa|ha))!==Ar,s=(a.flags&(da|fa|pa|ha))!==Ar;if(u||s){var c=Gy.transition;Gy.transition=null;var d=Mi();Oi(Ni);var f=cb;cb|=tb,Xy.current=null,ey(e,a),ev(),function(e,n,t){Qg=t,$g=e,xn(n),Sy(n,e),xn(n),Qg=null,$g=null}(e,a,o),e.containerInfo,Fu(fc),il(dc),dc=null,fc=null,e.current=a,function(e){null!==Wa&&"function"==typeof Wa.markLayoutEffectsStarted&&Wa.markLayoutEffectsStarted(e)}(o),Ey(a,e,o),null!==Wa&&"function"==typeof Wa.markLayoutEffectsStopped&&Wa.markLayoutEffectsStopped(),Pa(),cb=f,Oi(d),Gy.transition=c}else e.current=a,ev();var p=Db;if(Db?(Db=!1,Ib=e,Mb=o):(Hb=0,Qb=null),(l=e.pendingLanes)===ho&&(zb=null),p||zw(e.current,!1),function(e,n){if(ja&&"function"==typeof ja.onCommitFiberRoot)try{var t=(e.current.flags&$r)===$r;if(H){var r;switch(n){case Ni:r=za;break;case Li:r=Da;break;case zi:r=Ia;break;case Di:r=Oa;break;default:r=Ia}ja.onCommitFiberRoot(Aa,e,r,t)}}catch(e){Ba||(Ba=!0,i("React instrumentation encountered an error: %s",e))}}(a.stateNode,r),Va&&e.memoizedUpdaters.clear(),Qy.forEach((function(e){return e()})),ew(e,Na()),null!==n)for(var h=e.onRecoverableError,m=0;m<n.length;m++){var v=n[m],g=v.stack,y=v.digest;h(v.value,{componentStack:g,digest:y})}if(Nb){Nb=!1;var b=Lb;throw Lb=null,b}hi(Mb,vo)&&e.tag!==xd&&xw(),hi(l=e.pendingLanes,vo)?(Gm=!0,e===jb?Ab++:(Ab=0,jb=e)):Ab=0,Nd(),qa()}(e,n,t,r)}finally{Gy.transition=a,Oi(r)}return null}function xw(){if(null!==Ib){var e=Fi(Mb),n=(a=zi)>(o=e)?a:o,t=Gy.transition,r=Mi();try{return Gy.transition=null,Oi(n),function(){if(null===Ib)return!1;var e=Ub;Ub=null;var n=Ib,t=Mb;if(Ib=null,Mb=ho,(cb&(nb|tb))!==Zy)throw new Error("Cannot flush passive effects while already rendering.");Wb=!0,Bb=!1,function(e){null!==Wa&&"function"==typeof Wa.markPassiveEffectsStarted&&Wa.markPassiveEffectsStarted(e)}(t);var r=cb;cb|=tb,Iy(n.current),Ly(n,n.current,t,e);var a=Ob;Ob=[];for(var o=0;o<a.length;o++)oy(0,a[o]);null!==Wa&&"function"==typeof Wa.markPassiveEffectsStopped&&Wa.markPassiveEffectsStopped(),zw(n.current,!0),cb=r,Nd(),Bb?n===Qb?Hb++:(Hb=0,Qb=n):Hb=0,Wb=!1,Bb=!1,function(e){if(ja&&"function"==typeof ja.onPostCommitFiberRoot)try{ja.onPostCommitFiberRoot(Aa,e)}catch(e){Ba||(Ba=!0,i("React instrumentation encountered an error: %s",e))}}(n);var l=n.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Oi(r),Gy.transition=t}}var a,o;return!1}function Ew(e){return null!==zb&&zb.has(e)}var Cw=function(e){Nb||(Nb=!0,Lb=e)};function Tw(e,n,t){var r=Cp(e,Iv(e,Nv(t,n),vo),vo),a=Xb();null!==r&&(wi(r,vo,a),ew(r,a))}function _w(e,n,t){if(function(e){Or(null,(function(){throw e})),Ur()}(t),Hw(!1),e.tag!==f){var r=null;for(r=n;null!==r;){if(r.tag===f)return void Tw(r,e,t);if(r.tag===s){var a=r.type,o=r.stateNode;if("function"==typeof a.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&!Ew(o)){var l=Cp(r,Mv(r,Nv(t,e),vo),vo),u=Xb();return void(null!==l&&(wi(l,vo,u),ew(l,u)))}}r=r.return}i("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",t)}else Tw(e,e,t)}function Rw(e,n,t){var r=e.pingCache;null!==r&&r.delete(n);var a=Xb();ki(e,t),function(e){e.tag!==xd&&qy()&&null===Jy.current&&i("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis 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")}(e),db===e&&mi(pb,t)&&(vb===lb||vb===ib&&ii(pb)&&Na()-xb<Eb?dw(e,ho):wb=vi(wb,t)),ew(e,a)}function Pw(e,n){n===mo&&(n=Jb(e));var t=Xb(),r=fp(e,n);null!==r&&(wi(r,n,t),ew(r,t))}function Nw(e){var n=e.memoizedState,t=mo;null!==n&&(t=n.retryLane),Pw(e,t)}function Lw(e,n){var t,r=mo;switch(e.tag){case x:t=e.stateNode;var a=e.memoizedState;null!==a&&(r=a.retryLane);break;case P:t=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==t&&t.delete(n),Pw(e,r)}function zw(e,n){xn(e),Dw(e,sa,By),n&&Dw(e,ca,Vy),Dw(e,sa,jy),n&&Dw(e,ca,Wy),Sn()}function Dw(e,n,t){for(var r=e,a=null;null!==r;){var o=r.subtreeFlags&n;r!==a&&null!==r.child&&o!==Ar?r=r.child:((r.flags&n)!==Ar&&t(r),r=null!==r.sibling?r.sibling:a=r.return)}}var Iw,Mw=null;function Ow(e){if((cb&nb)===Zy&&e.mode&oo){var n=e.tag;if(n===c||n===f||n===s||n===u||n===k||n===E||n===C){var t=vn(e)||"ReactComponent";if(null!==Mw){if(Mw.has(t))return;Mw.add(t)}else Mw=new Set([t]);var r=yn;try{xn(e),i("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?xn(e):Sn()}}}}Iw=function(e,n,t){var r=gk(null,n);try{return Lg(e,n,t)}catch(o){if(Xd||null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(ep(),Mh(),Ag(0,n),gk(n,r),n.mode&io&&nv(n),Or(null,Lg,null,e,n,t),Lr){var a=Ur();"object"==typeof a&&null!==a&&a._suppressLogging&&"object"==typeof o&&null!==o&&!o._suppressLogging&&(o._suppressLogging=!0)}throw o}};var Uw,Fw=!1;function Aw(e,n){Va&&e.memoizedUpdaters.forEach((function(t){xi(e,t,n)}))}Uw=new Set;var jw={};function Ww(e,n){var t=Jy.current;return null!==t?(t.push(n),jw):Ta(e,n)}function Bw(e){if(e!==jw)return _a(e)}function Vw(){return null!==Jy.current}function Hw(e){Yb=e}var Qw=null,$w=null,qw=function(e){Qw=e};function Yw(e){if(null===Qw)return e;var n=Qw(e);return void 0===n?e:n.current}function Kw(e){return Yw(e)}function Xw(e){if(null===Qw)return e;var n=Qw(e);if(void 0===n){if(null!=e&&"function"==typeof e.render){var t=Yw(e.render);if(e.render!==t){var r={$$typeof:Oe,render:t};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return n.current}function Gw(e,n){if(null===Qw)return!1;var t=e.elementType,r=n.type,a=!1,o="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case s:"function"==typeof r&&(a=!0);break;case u:("function"==typeof r||o===je)&&(a=!0);break;case k:(o===Oe||o===je)&&(a=!0);break;case E:case C:(o===Ae||o===je)&&(a=!0);break;default:return!1}if(a){var i=Qw(t);if(void 0!==i&&i===Qw(r))return!0}return!1}function Jw(e){null!==Qw&&"function"==typeof WeakSet&&(null===$w&&($w=new WeakSet),$w.add(e))}var Zw=function(e,n){if(null!==Qw){var t=n.staleFamilies,r=n.updatedFamilies;xw(),lw((function(){nk(e.current,r,t)}))}},ek=function(e,n){e.context===ld&&(xw(),lw((function(){_k(n,e,null,null)})))};function nk(e,n,t){var r=e.alternate,a=e.child,o=e.sibling,i=e.tag,l=e.type,c=null;switch(i){case u:case C:case s:c=l;break;case k:c=l.render}if(null===Qw)throw new Error("Expected resolveFamily to be set during hot reload.");var d=!1,f=!1;if(null!==c){var p=Qw(c);void 0!==p&&(t.has(p)?f=!0:n.has(p)&&(i===s?f=!0:d=!0))}if(null!==$w&&($w.has(e)||null!==r&&$w.has(r))&&(f=!0),f&&(e._debugNeedsRemount=!0),f||d){var h=fp(e,vo);null!==h&&Zb(h,e,vo,Jo)}null===a||f||nk(a,n,t),null!==o&&nk(o,n,t)}var tk,rk=function(e,n){var t=new Set,r=new Set(n.map((function(e){return e.current})));return ak(e.current,r,t),t};function ak(e,n,t){var r=e.child,a=e.sibling,o=e.tag,i=e.type,l=null;switch(o){case u:case C:case s:l=i;break;case k:l=i.render}var c=!1;null!==l&&n.has(l)&&(c=!0),c?function(e,n){var t=function(e,n){for(var t=e,r=!1;;){if(t.tag===m)r=!0,n.add(t.stateNode);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return r;for(;null===t.sibling;){if(null===t.return||t.return===e)return r;t=t.return}t.sibling.return=t.return,t=t.sibling}return!1}(e,n);if(!t)for(var r=e;;){switch(r.tag){case m:return void n.add(r.stateNode);case h:case f:return void n.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,t):null!==r&&ak(r,n,t),null!==a&&ak(a,n,t)}tk=!1;try{var ok=Object.preventExtensions({});new Map([[ok,null]]),new Set([ok])}catch(e){tk=!0}function ik(e,n,t,r){this.tag=e,this.key=t,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=n,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=Ar,this.subtreeFlags=Ar,this.deletions=null,this.lanes=ho,this.childLanes=ho,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._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,tk||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var lk=function(e,n,t,r){return new ik(e,n,t,r)};function uk(e){var n=e.prototype;return!(!n||!n.isReactComponent)}function sk(e,n){var t=e.alternate;null===t?((t=lk(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t._debugSource=e._debugSource,t._debugOwner=e._debugOwner,t._debugHookTypes=e._debugHookTypes,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=Ar,t.subtreeFlags=Ar,t.deletions=null,t.actualDuration=0,t.actualStartTime=-1),t.flags=e.flags&ma,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue;var r=e.dependencies;switch(t.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.selfBaseDuration=e.selfBaseDuration,t.treeBaseDuration=e.treeBaseDuration,t._debugNeedsRemount=e._debugNeedsRemount,t.tag){case c:case u:case C:t.type=Yw(e.type);break;case s:t.type=Kw(e.type);break;case k:t.type=Xw(e.type)}return t}function ck(e,n){e.flags&=ma|Wr;var t=e.alternate;if(null===t)e.childLanes=ho,e.lanes=n,e.child=null,e.subtreeFlags=Ar,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=Ar,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type;var r=t.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration}return e}function dk(e,n,t,r,a,o){var l=c,u=e;if("function"==typeof e)uk(e)?(l=s,u=Kw(u)):u=Yw(u);else if("string"==typeof e)l=m;else e:switch(e){case Le:return pk(t.children,a,o,n);case ze:l=y,((a|=lo)&oo)!==ao&&(a|=uo);break;case De:return function(e,n,t,r){"string"!=typeof e.id&&i('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var a=lk(S,e,r,n|io);return a.elementType=De,a.lanes=t,a.stateNode={effectDuration:0,passiveEffectDuration:0},a}(t,a,o,n);case Ue:return function(e,n,t,r){var a=lk(x,e,r,n);return a.elementType=Ue,a.lanes=t,a}(t,a,o,n);case Fe:return function(e,n,t,r){var a=lk(P,e,r,n);return a.elementType=Fe,a.lanes=t,a}(t,a,o,n);case We:return hk(t,a,o,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ie:l=w;break e;case Me:l=b;break e;case Oe:l=k,u=Xw(u);break e;case Ae:l=E;break e;case je:l=T,u=null;break e}var d="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(d+=" 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 f=r?vn(r):null;throw f&&(d+="\n\nCheck the render method of `"+f+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+d)}var p=lk(l,t,n,a);return p.elementType=e,p.type=u,p.lanes=o,p._debugOwner=r,p}function fk(e,n,t){var r;r=e._owner;var a=dk(e.type,e.key,e.props,r,n,t);return a._debugSource=e._source,a._debugOwner=e._owner,a}function pk(e,n,t,r){var a=lk(g,e,r,n);return a.lanes=t,a}function hk(e,n,t,r){var a=lk(L,e,r,n);return a.elementType=We,a.lanes=t,a.stateNode={isHidden:!1},a}function mk(e,n,t){var r=lk(v,e,null,n);return r.lanes=t,r}function vk(e,n,t){var r=null!==e.children?e.children:[],a=lk(h,r,e.key,n);return a.lanes=t,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function gk(e,n){return null===e&&(e=lk(c,null,null,ao)),e.tag=n.tag,e.key=n.key,e.elementType=n.elementType,e.type=n.type,e.stateNode=n.stateNode,e.return=n.return,e.child=n.child,e.sibling=n.sibling,e.index=n.index,e.ref=n.ref,e.pendingProps=n.pendingProps,e.memoizedProps=n.memoizedProps,e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.dependencies=n.dependencies,e.mode=n.mode,e.flags=n.flags,e.subtreeFlags=n.subtreeFlags,e.deletions=n.deletions,e.lanes=n.lanes,e.childLanes=n.childLanes,e.alternate=n.alternate,e.actualDuration=n.actualDuration,e.actualStartTime=n.actualStartTime,e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration,e._debugSource=n._debugSource,e._debugOwner=n._debugOwner,e._debugNeedsRemount=n._debugNeedsRemount,e._debugHookTypes=n._debugHookTypes,e}function yk(e,n,t,r,a){this.tag=n,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=bc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=mo,this.eventTimes=bi(ho),this.expirationTimes=bi(Jo),this.pendingLanes=ho,this.suspendedLanes=ho,this.pingedLanes=ho,this.expiredLanes=ho,this.mutableReadLanes=ho,this.finishedLanes=ho,this.entangledLanes=ho,this.entanglements=bi(ho),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var o=this.pendingUpdatersLaneMap=[],i=0;i<po;i++)o.push(new Set);switch(n){case Ed:this._debugRootType=t?"hydrateRoot()":"createRoot()";break;case xd:this._debugRootType=t?"hydrate()":"render()"}}function bk(e,n,t,r,a,o,i,l,u,s){var c=new yk(e,n,t,l,u),d=function(e,n,t){var r;return e===Ed?(r=oo,!0===n&&(r|=lo,r|=uo)):r=ao,Va&&(r|=io),lk(f,null,null,r)}(n,o);c.current=d,d.stateNode=c;var p={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=p,Sp(d),c}var wk,kk,Sk="18.3.1";function xk(e,n,t){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return ee(r=a)&&(i("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Z(r)),ne(r)),{$$typeof:Ne,key:null==a?null:""+a,children:e,containerInfo:n,implementation:t}}function Ek(e){if(!e)return ld;var n=Fr(e),t=Sd(n);if(n.tag===s){var r=n.type;if(md(r))return bd(n,r,t)}return t}function Ck(e,n,t,r,a,o,i,l){return bk(e,n,!1,null,0,r,0,o,i)}function Tk(e,n,t,r,a,o,i,l,u,s){var c=bk(t,r,!0,e,0,o,0,l,u);c.context=Ek(null);var d=c.current,f=Xb(),p=Gb(d),h=Ep(f,p);return h.callback=null!=n?n:null,Cp(d,h,p),function(e,n,t){e.current.lanes=n,wi(e,n,t),ew(e,t)}(c,p,f),c}function _k(e,n,t,r){!function(e,n){if(ja&&"function"==typeof ja.onScheduleFiberRoot)try{ja.onScheduleFiberRoot(Aa,e,n)}catch(e){Ba||(Ba=!0,i("React instrumentation encountered an error: %s",e))}}(n,e);var a=n.current,o=Xb(),l=Gb(a);!function(e){null!==Wa&&"function"==typeof Wa.markRenderScheduled&&Wa.markRenderScheduled(e)}(l);var u=Ek(t);null===n.context?n.context=u:n.pendingContext=u,bn&&null!==yn&&!wk&&(wk=!0,i("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.\n\nCheck the render method of %s.",vn(yn)||"Unknown"));var s=Ep(o,l);s.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&i("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),s.callback=r);var c=Cp(a,s,l);return null!==c&&(Zb(c,a,l,o),Tp(c,a,l)),l}function Rk(e){var n=e.current;return n.child?(n.child.tag,n.child.stateNode):null}function Pk(e,n){var t,r,a=e.memoizedState;null!==a&&null!==a.dehydrated&&(a.retryLane=(r=n,(t=a.retryLane)!==mo&&t<r?t:r))}function Nk(e,n){Pk(e,n);var t=e.alternate;t&&Pk(t,n)}function Lk(e){var n=Ea(e);return null===n?null:n.stateNode}wk=!1,kk={};var zk,Dk,Ik,Mk,Ok,Uk,Fk,Ak,jk,Wk=function(e){return null},Bk=function(e){return!1},Vk=function(e,n,t){var r=n[t],a=Jn(e)?e.slice():Je({},e);return t+1===n.length?(Jn(a)?a.splice(r,1):delete a[r],a):(a[r]=Vk(e[r],n,t+1),a)},Hk=function(e,n){return Vk(e,n,0)},Qk=function(e,n,t,r){var a=n[r],o=Jn(e)?e.slice():Je({},e);return r+1===n.length?(o[t[r]]=o[a],Jn(o)?o.splice(a,1):delete o[a]):o[a]=Qk(e[a],n,t,r+1),o},$k=function(e,n,t){if(n.length===t.length){for(var r=0;r<t.length-1;r++)if(n[r]!==t[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Qk(e,n,t,0)}o("copyWithRename() expects paths of the same length")},qk=function(e,n,t,r){if(t>=n.length)return r;var a=n[t],o=Jn(e)?e.slice():Je({},e);return o[a]=qk(e[a],n,t+1,r),o},Yk=function(e,n,t){return qk(e,n,0,t)},Kk=function(e,n){for(var t=e.memoizedState;null!==t&&n>0;)t=t.next,n--;return t};function Xk(e){var n=Sa(e);return null===n?null:n.stateNode}function Gk(e){return null}function Jk(){return yn}zk=function(e,n,t,r){var a=Kk(e,n);if(null!==a){var o=Yk(a.memoizedState,t,r);a.memoizedState=o,a.baseState=o,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,vo);null!==i&&Zb(i,e,vo,Jo)}},Dk=function(e,n,t){var r=Kk(e,n);if(null!==r){var a=Hk(r.memoizedState,t);r.memoizedState=a,r.baseState=a,e.memoizedProps=Je({},e.memoizedProps);var o=fp(e,vo);null!==o&&Zb(o,e,vo,Jo)}},Ik=function(e,n,t,r){var a=Kk(e,n);if(null!==a){var o=$k(a.memoizedState,t,r);a.memoizedState=o,a.baseState=o,e.memoizedProps=Je({},e.memoizedProps);var i=fp(e,vo);null!==i&&Zb(i,e,vo,Jo)}},Mk=function(e,n,t){e.pendingProps=Yk(e.memoizedProps,n,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,vo);null!==r&&Zb(r,e,vo,Jo)},Ok=function(e,n){e.pendingProps=Hk(e.memoizedProps,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var t=fp(e,vo);null!==t&&Zb(t,e,vo,Jo)},Uk=function(e,n,t){e.pendingProps=$k(e.memoizedProps,n,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=fp(e,vo);null!==r&&Zb(r,e,vo,Jo)},Fk=function(e){var n=fp(e,vo);null!==n&&Zb(n,e,vo,Jo)},Ak=function(e){Wk=e},jk=function(e){Bk=e};var Zk="function"==typeof reportError?reportError:function(e){console.error(e)};function eS(e){this._internalRoot=e}function nS(e){this._internalRoot=e}function tS(e){return!(!e||e.nodeType!==gt&&e.nodeType!==wt&&e.nodeType!==kt&&j)}function rS(e){return!(!e||e.nodeType!==gt&&e.nodeType!==wt&&e.nodeType!==kt&&(e.nodeType!==bt||" react-mount-point-unstable "!==e.nodeValue))}function aS(e){e.nodeType===gt&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&i("createRoot(): Creating roots directly with 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 using a container element created for your app."),Hc(e)&&(e._reactRootContainer?i("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):i("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}nS.prototype.render=eS.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?i("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):tS(arguments[1])?i("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&i("You passed a second argument to root.render(...) but it only accepts one argument.");var t=n.containerInfo;if(t.nodeType!==bt){var r=Lk(n.current);r&&r.parentNode!==t&&i("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.")}_k(e,n,null,null)},nS.prototype.unmount=eS.prototype.unmount=function(){"function"==typeof arguments[0]&&i("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;if(null!==e){this._internalRoot=null;var n=e.containerInfo;uw()&&i("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),lw((function(){_k(null,e,null,null)})),Vc(n)}},nS.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var n=Ri(),t={blockedOn:null,target:e,priority:n},r=0;r<Yi.length&&Ui(n,Yi[r].priority);r++);Yi.splice(r,0,t),0===r&&Ji(t)}(e)};var oS,iS=r.ReactCurrentOwner;function lS(e){return e?e.nodeType===wt?e.documentElement:e.firstChild:null}function uS(){}function sS(e,n,t,r,a){oS(t),function(e,n){null!==e&&"function"!=typeof e&&i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.","render",e)}(void 0===a?null:a);var o,l=t._reactRootContainer;if(l){if("function"==typeof a){var u=a;a=function(){var e=Rk(o);u.call(e)}}_k(n,o=l,e,a)}else o=function(e,n,t,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Rk(i);o.call(e)}}var i=Tk(n,r,e,xd,0,!1,0,"",uS);return e._reactRootContainer=i,Bc(i.current,e),hs(e.nodeType===bt?e.parentNode:e),lw(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var u=r;r=function(){var e=Rk(s);u.call(e)}}var s=Ck(e,xd,0,!1,0,"",uS);return e._reactRootContainer=s,Bc(s.current,e),hs(e.nodeType===bt?e.parentNode:e),lw((function(){_k(n,s,t,r)})),s}(t,n,e,a,r);return Rk(o)}oS=function(e){if(e._reactRootContainer&&e.nodeType!==bt){var n=Lk(e._reactRootContainer.current);n&&n.parentNode!==e&&i("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 t=!!e._reactRootContainer,r=lS(e);!(!r||!$c(r))&&!t&&i("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===gt&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&i("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.")};var cS,dS=!1,fS=!1;cS=function(e){switch(e.tag){case f:var n=e.stateNode;if(Ai(n)){var t=function(e){return ni(e.pendingLanes)}(n);!function(e,n){n!==ho&&(Si(e,vi(n,vo)),ew(e,Na()),(cb&(nb|tb))===Zy&&(Rb(),Nd()))}(n,t)}break;case x:lw((function(){var n=fp(e,vo);if(null!==n){var t=Xb();Zb(n,e,vo,t)}})),Nk(e,vo)}},Ci=cS,function(e){Ti=e}((function(e){if(e.tag===x){var n=$o,t=fp(e,n);null!==t&&Zb(t,e,n,Xb()),Nk(e,n)}})),function(e){_i=e}((function(e){if(e.tag===x){var n=Gb(e),t=fp(e,n);null!==t&&Zb(t,e,n,Xb()),Nk(e,n)}})),function(e){Ri=e}(Mi),function(e){Pi=e}((function(e,n){var t=Ii;try{return Ii=e,n()}finally{Ii=t}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||i("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"),pr=function(e,n,t){switch(n){case"input":return void Hn(e,t);case"textarea":return void function(e,n){lt(e,n)}(e,t);case"select":return void function(e,n){var t=e,r=n.value;null!=r&&nt(t,!!n.multiple,r,!1)}(e,t)}},br=iw,wr=lw;var pS={usingClientEntryPoint:!1,Events:[$c,qc,Yc,gr,yr,iw]},hS=function(e){var n=e.findFiberByHostInstance,t=r.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled)return!0;if(!n.supportsFiber)return i("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{V&&(e=Je({},e,{getLaneLabelMap:$a,injectProfilingHooks:Qa})),Aa=n.inject(e),ja=n}catch(e){i("React instrumentation encountered an error: %s.",e)}return!!n.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:zk,overrideHookStateDeletePath:Dk,overrideHookStateRenamePath:Ik,overrideProps:Mk,overridePropsDeletePath:Ok,overridePropsRenamePath:Uk,setErrorHandler:Ak,setSuspenseHandler:jk,scheduleUpdate:Fk,currentDispatcherRef:t,findHostInstanceByFiber:Xk,findFiberByHostInstance:n||Gk,findHostInstancesForRefresh:rk,scheduleRefresh:Zw,scheduleRoot:ek,setRefreshHandler:qw,getCurrentFiber:Jk,reconcilerVersion:Sk})}({findFiberByHostInstance:Qc,bundleType:1,version:Sk,rendererPackageName:"react-dom"});if(!hS&&G&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var mS=window.location.protocol;/^(https?|file):$/.test(mS)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===mS?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pS,p.createPortal=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!tS(n))throw new Error("Target container is not a DOM element.");return xk(e,n,null,t)},p.createRoot=function(e,n){return pS.usingClientEntryPoint||i('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,n){if(!tS(e))throw new Error("createRoot(...): Target container is not a DOM element.");aS(e);var t=!1,r="",a=Zk;null!=n&&(n.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof n&&null!==n&&n.$$typeof===Pe&&i("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError),void 0!==n.transitionCallbacks&&n.transitionCallbacks);var l=Ck(e,Ed,0,t,0,r,a);return Bc(l.current,e),hs(e.nodeType===bt?e.parentNode:e),new eS(l)}(e,n)},p.findDOMNode=function(e){dS||(dS=!0,i("findDOMNode is deprecated and will be removed in the next major release. 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"));var n=iS.current;return null!==n&&null!==n.stateNode&&(n.stateNode._warnedAboutRefsInRender||i("%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.",hn(n.type)||"A component"),n.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===gt?e:function(e,n){var t=Fr(e);if(void 0===t){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var a=Sa(t);if(null===a)return null;if(a.mode&lo){var o=vn(t)||"Component";if(!kk[o]){kk[o]=!0;var l=yn;try{xn(a),t.mode&lo?i("%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",n,n,o):i("%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",n,n,o)}finally{l?xn(l):Sn()}}}return a.stateNode}(e,"findDOMNode")},p.flushSync=function(e){return uw()&&i("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."),lw(e)},p.hydrate=function(e,n,t){if(i("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(n))throw new Error("Target container is not a DOM element.");return Hc(n)&&void 0===n._reactRootContainer&&i("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),sS(null,e,n,!0,t)},p.hydrateRoot=function(e,n,t){return pS.usingClientEntryPoint||i('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,n,t){if(!tS(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");aS(e),void 0===n&&i("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=t&&t.hydratedSources||null,a=!1,o="",l=Zk;null!=t&&(!0===t.unstable_strictMode&&(a=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(l=t.onRecoverableError));var u=Tk(n,null,e,Ed,0,a,0,o,l);if(Bc(u.current,e),hs(e),r)for(var s=0;s<r.length;s++)sh(u,r[s]);return new nS(u)}(e,n,t)},p.render=function(e,n,t){if(i("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(n))throw new Error("Target container is not a DOM element.");return Hc(n)&&void 0===n._reactRootContainer&&i("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),sS(null,e,n,!1,t)},p.unmountComponentAtNode=function(e){if(fS||(fS=!0,i("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!rS(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Hc(e)&&void 0===e._reactRootContainer&&i("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var n=lS(e);return n&&!$c(n)&&i("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),lw((function(){sS(null,null,e,!1,(function(){e._reactRootContainer=null,Vc(e)}))})),!0}var t=lS(e),r=!(!t||!$c(t)),a=e.nodeType===gt&&rS(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&i("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",a?"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."),!1},p.unstable_batchedUpdates=iw,p.unstable_renderSubtreeIntoContainer=function(e,n,t,r){return function(e,n,t,r){if(i("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!rS(t))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return sS(e,n,t,!1,r)}(e,n,t,r)},p.version=Sk,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),p);var h=t.exports;exports.reactDomExports=h;
|
|
43
|
-
//# sourceMappingURL=index-
|
|
43
|
+
//# sourceMappingURL=index-CxiywMNl.js.map
|