>=k,p-=k,ks=1<<32-je(s)+p|i<v?v:8;var k=R.T,O={};R.T=O,tm(t,!1,s,i);try{var F=p(),se=R.S;if(se!==null&&se(O,F),F!==null&&typeof F=="object"&&typeof F.then=="function"){var de=VS(F,u);wi(t,s,de,Nn(t))}else wi(t,s,u,Nn(t))}catch(me){wi(t,s,{then:function(){},status:"rejected",reason:me},Nn())}finally{P.p=v,R.T=k}}function XS(){}function Jf(t,s,i,u){if(t.tag!==5)throw Error(a(476));var p=h0(t).queue;m0(t,p,s,I,i===null?XS:function(){return p0(t),i(u)})}function h0(t){var s=t.memoizedState;if(s!==null)return s;s={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rs,lastRenderedState:I},next:null};var i={};return s.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rs,lastRenderedState:i},next:null},t.memoizedState=s,t=t.alternate,t!==null&&(t.memoizedState=s),s}function p0(t){var s=h0(t).next.queue;wi(t,s,{},Nn())}function em(){return tn($i)}function g0(){return Ot().memoizedState}function x0(){return Ot().memoizedState}function ZS(t){for(var s=t.return;s!==null;){switch(s.tag){case 24:case 3:var i=Nn();t=or(i);var u=ar(s,t,i);u!==null&&(jn(u,s,i),pi(u,s,i)),s={cache:Af()},t.payload=s;return}s=s.return}}function WS(t,s,i){var u=Nn();i={lane:u,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null},yc(t)?v0(s,i):(i=bf(t,s,i,u),i!==null&&(jn(i,t,u),b0(i,s,u)))}function y0(t,s,i){var u=Nn();wi(t,s,i,u)}function wi(t,s,i,u){var p={lane:u,revertLane:0,action:i,hasEagerState:!1,eagerState:null,next:null};if(yc(t))v0(s,p);else{var v=t.alternate;if(t.lanes===0&&(v===null||v.lanes===0)&&(v=s.lastRenderedReducer,v!==null))try{var k=s.lastRenderedState,O=v(k,i);if(p.hasEagerState=!0,p.eagerState=O,xn(O,k))return tc(t,s,p,0),bt===null&&ec(),!1}catch{}if(i=bf(t,s,p,u),i!==null)return jn(i,t,u),b0(i,s,u),!0}return!1}function tm(t,s,i,u){if(u={lane:2,revertLane:Dm(),action:u,hasEagerState:!1,eagerState:null,next:null},yc(t)){if(s)throw Error(a(479))}else s=bf(t,i,u,2),s!==null&&jn(s,t,2)}function yc(t){var s=t.alternate;return t===Je||s!==null&&s===Je}function v0(t,s){Fo=fc=!0;var i=t.pending;i===null?s.next=s:(s.next=i.next,i.next=s),t.pending=s}function b0(t,s,i){if((i&4194048)!==0){var u=s.lanes;u&=t.pendingLanes,i|=u,s.lanes=i,wt(t,i)}}var vc={readContext:tn,use:hc,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useLayoutEffect:Tt,useInsertionEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useSyncExternalStore:Tt,useId:Tt,useHostTransitionStatus:Tt,useFormState:Tt,useActionState:Tt,useOptimistic:Tt,useMemoCache:Tt,useCacheRefresh:Tt},w0={readContext:tn,use:hc,useCallback:function(t,s){return fn().memoizedState=[t,s===void 0?null:s],t},useContext:tn,useEffect:r0,useImperativeHandle:function(t,s,i){i=i!=null?i.concat([t]):null,xc(4194308,4,l0.bind(null,s,t),i)},useLayoutEffect:function(t,s){return xc(4194308,4,t,s)},useInsertionEffect:function(t,s){xc(4,2,t,s)},useMemo:function(t,s){var i=fn();s=s===void 0?null:s;var u=t();if(no){Ne(!0);try{t()}finally{Ne(!1)}}return i.memoizedState=[u,s],u},useReducer:function(t,s,i){var u=fn();if(i!==void 0){var p=i(s);if(no){Ne(!0);try{i(s)}finally{Ne(!1)}}}else p=s;return u.memoizedState=u.baseState=p,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:p},u.queue=t,t=t.dispatch=WS.bind(null,Je,t),[u.memoizedState,t]},useRef:function(t){var s=fn();return t={current:t},s.memoizedState=t},useState:function(t){t=Zf(t);var s=t.queue,i=y0.bind(null,Je,s);return s.dispatch=i,[t.memoizedState,i]},useDebugValue:Kf,useDeferredValue:function(t,s){var i=fn();return Qf(i,t,s)},useTransition:function(){var t=Zf(!1);return t=m0.bind(null,Je,t.queue,!0,!1),fn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,s,i){var u=Je,p=fn();if(ut){if(i===void 0)throw Error(a(407));i=i()}else{if(i=s(),bt===null)throw Error(a(349));(it&124)!==0||Bx(u,s,i)}p.memoizedState=i;var v={value:i,getSnapshot:s};return p.queue=v,r0(qx.bind(null,u,v,t),[t]),u.flags|=2048,Go(9,gc(),Vx.bind(null,u,v,i,s),null),i},useId:function(){var t=fn(),s=bt.identifierPrefix;if(ut){var i=Ts,u=ks;i=(u&~(1<<32-je(u)-1)).toString(32)+i,s="«"+s+"R"+i,i=mc++,0Fe?(Gt=Be,Be=null):Gt=Be.sibling;var ct=re(J,Be,te[Fe],fe);if(ct===null){Be===null&&(Be=Gt);break}t&&Be&&ct.alternate===null&&s(J,Be),Z=v(ct,Z,Fe),tt===null?Oe=ct:tt.sibling=ct,tt=ct,Be=Gt}if(Fe===te.length)return i(J,Be),ut&&Wr(J,Fe),Oe;if(Be===null){for(;FeFe?(Gt=Be,Be=null):Gt=Be.sibling;var jr=re(J,Be,ct.value,fe);if(jr===null){Be===null&&(Be=Gt);break}t&&Be&&jr.alternate===null&&s(J,Be),Z=v(jr,Z,Fe),tt===null?Oe=jr:tt.sibling=jr,tt=jr,Be=Gt}if(ct.done)return i(J,Be),ut&&Wr(J,Fe),Oe;if(Be===null){for(;!ct.done;Fe++,ct=te.next())ct=me(J,ct.value,fe),ct!==null&&(Z=v(ct,Z,Fe),tt===null?Oe=ct:tt.sibling=ct,tt=ct);return ut&&Wr(J,Fe),Oe}for(Be=u(Be);!ct.done;Fe++,ct=te.next())ct=oe(Be,J,Fe,ct.value,fe),ct!==null&&(t&&ct.alternate!==null&&Be.delete(ct.key===null?Fe:ct.key),Z=v(ct,Z,Fe),tt===null?Oe=ct:tt.sibling=ct,tt=ct);return t&&Be.forEach(function(QE){return s(J,QE)}),ut&&Wr(J,Fe),Oe}function yt(J,Z,te,fe){if(typeof te=="object"&&te!==null&&te.type===_&&te.key===null&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case x:e:{for(var Oe=te.key;Z!==null;){if(Z.key===Oe){if(Oe=te.type,Oe===_){if(Z.tag===7){i(J,Z.sibling),fe=p(Z,te.props.children),fe.return=J,J=fe;break e}}else if(Z.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===H&&j0(Oe)===Z.type){i(J,Z.sibling),fe=p(Z,te.props),ji(fe,te),fe.return=J,J=fe;break e}i(J,Z);break}else s(J,Z);Z=Z.sibling}te.type===_?(fe=Xr(te.props.children,J.mode,fe,te.key),fe.return=J,J=fe):(fe=sc(te.type,te.key,te.props,null,J.mode,fe),ji(fe,te),fe.return=J,J=fe)}return k(J);case b:e:{for(Oe=te.key;Z!==null;){if(Z.key===Oe)if(Z.tag===4&&Z.stateNode.containerInfo===te.containerInfo&&Z.stateNode.implementation===te.implementation){i(J,Z.sibling),fe=p(Z,te.children||[]),fe.return=J,J=fe;break e}else{i(J,Z);break}else s(J,Z);Z=Z.sibling}fe=jf(te,J.mode,fe),fe.return=J,J=fe}return k(J);case H:return Oe=te._init,te=Oe(te._payload),yt(J,Z,te,fe)}if(U(te))return Ye(J,Z,te,fe);if(X(te)){if(Oe=X(te),typeof Oe!="function")throw Error(a(150));return te=Oe.call(te),qe(J,Z,te,fe)}if(typeof te.then=="function")return yt(J,Z,bc(te),fe);if(te.$$typeof===E)return yt(J,Z,ic(J,te),fe);wc(J,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(te=""+te,Z!==null&&Z.tag===6?(i(J,Z.sibling),fe=p(Z,te),fe.return=J,J=fe):(i(J,Z),fe=Nf(te,J.mode,fe),fe.return=J,J=fe),k(J)):i(J,Z)}return function(J,Z,te,fe){try{Ni=0;var Oe=yt(J,Z,te,fe);return Xo=null,Oe}catch(Be){if(Be===mi||Be===cc)throw Be;var tt=yn(29,Be,null,J.mode);return tt.lanes=fe,tt.return=J,tt}}}var Zo=_0(!0),S0=_0(!1),zn=L(null),ss=null;function lr(t){var s=t.alternate;V($t,$t.current&1),V(zn,t),ss===null&&(s===null||qo.current!==null||s.memoizedState!==null)&&(ss=t)}function E0(t){if(t.tag===22){if(V($t,$t.current),V(zn,t),ss===null){var s=t.alternate;s!==null&&s.memoizedState!==null&&(ss=t)}}else cr()}function cr(){V($t,$t.current),V(zn,zn.current)}function Ds(t){Y(zn),ss===t&&(ss=null),Y($t)}var $t=L(0);function Nc(t){for(var s=t;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||Fm(i)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break;for(;s.sibling===null;){if(s.return===null||s.return===t)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function nm(t,s,i,u){s=t.memoizedState,i=i(u,s),i=i==null?s:g({},s,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var sm={enqueueSetState:function(t,s,i){t=t._reactInternals;var u=Nn(),p=or(u);p.payload=s,i!=null&&(p.callback=i),s=ar(t,p,u),s!==null&&(jn(s,t,u),pi(s,t,u))},enqueueReplaceState:function(t,s,i){t=t._reactInternals;var u=Nn(),p=or(u);p.tag=1,p.payload=s,i!=null&&(p.callback=i),s=ar(t,p,u),s!==null&&(jn(s,t,u),pi(s,t,u))},enqueueForceUpdate:function(t,s){t=t._reactInternals;var i=Nn(),u=or(i);u.tag=2,s!=null&&(u.callback=s),s=ar(t,u,i),s!==null&&(jn(s,t,i),pi(s,t,i))}};function C0(t,s,i,u,p,v,k){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(u,v,k):s.prototype&&s.prototype.isPureReactComponent?!oi(i,u)||!oi(p,v):!0}function k0(t,s,i,u){t=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(i,u),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(i,u),s.state!==t&&sm.enqueueReplaceState(s,s.state,null)}function so(t,s){var i=s;if("ref"in s){i={};for(var u in s)u!=="ref"&&(i[u]=s[u])}if(t=t.defaultProps){i===s&&(i=g({},i));for(var p in t)i[p]===void 0&&(i[p]=t[p])}return i}var jc=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function T0(t){jc(t)}function A0(t){console.error(t)}function M0(t){jc(t)}function _c(t,s){try{var i=t.onUncaughtError;i(s.value,{componentStack:s.stack})}catch(u){setTimeout(function(){throw u})}}function R0(t,s,i){try{var u=t.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function rm(t,s,i){return i=or(i),i.tag=3,i.payload={element:null},i.callback=function(){_c(t,s)},i}function D0(t){return t=or(t),t.tag=3,t}function O0(t,s,i,u){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var v=u.value;t.payload=function(){return p(v)},t.callback=function(){R0(s,i,u)}}var k=i.stateNode;k!==null&&typeof k.componentDidCatch=="function"&&(t.callback=function(){R0(s,i,u),typeof p!="function"&&(pr===null?pr=new Set([this]):pr.add(this));var O=u.stack;this.componentDidCatch(u.value,{componentStack:O!==null?O:""})})}function QS(t,s,i,u,p){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(s=i.alternate,s!==null&&ui(s,i,p,!0),i=zn.current,i!==null){switch(i.tag){case 13:return ss===null?km():i.alternate===null&&Ct===0&&(Ct=3),i.flags&=-257,i.flags|=65536,i.lanes=p,u===Df?i.flags|=16384:(s=i.updateQueue,s===null?i.updateQueue=new Set([u]):s.add(u),Am(t,u,p)),!1;case 22:return i.flags|=65536,u===Df?i.flags|=16384:(s=i.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=s):(i=s.retryQueue,i===null?s.retryQueue=new Set([u]):i.add(u)),Am(t,u,p)),!1}throw Error(a(435,i.tag))}return Am(t,u,p),km(),!1}if(ut)return s=zn.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=p,u!==Ef&&(t=Error(a(422),{cause:u}),ci(Mn(t,i)))):(u!==Ef&&(s=Error(a(423),{cause:u}),ci(Mn(s,i))),t=t.current.alternate,t.flags|=65536,p&=-p,t.lanes|=p,u=Mn(u,i),p=rm(t.stateNode,u,p),If(t,p),Ct!==4&&(Ct=2)),!1;var v=Error(a(520),{cause:u});if(v=Mn(v,i),Ai===null?Ai=[v]:Ai.push(v),Ct!==4&&(Ct=2),s===null)return!0;u=Mn(u,i),i=s;do{switch(i.tag){case 3:return i.flags|=65536,t=p&-p,i.lanes|=t,t=rm(i.stateNode,u,t),If(i,t),!1;case 1:if(s=i.type,v=i.stateNode,(i.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(pr===null||!pr.has(v))))return i.flags|=65536,p&=-p,i.lanes|=p,p=D0(p),O0(p,t,i,u),If(i,p),!1}i=i.return}while(i!==null);return!1}var z0=Error(a(461)),Ft=!1;function Zt(t,s,i,u){s.child=t===null?S0(s,null,i,u):Zo(s,t.child,i,u)}function I0(t,s,i,u,p){i=i.render;var v=s.ref;if("ref"in u){var k={};for(var O in u)O!=="ref"&&(k[O]=u[O])}else k=u;return eo(s),u=Uf(t,s,i,k,v,p),O=Bf(),t!==null&&!Ft?(Vf(t,s,p),Os(t,s,p)):(ut&&O&&_f(s),s.flags|=1,Zt(t,s,u,p),s.child)}function L0(t,s,i,u,p){if(t===null){var v=i.type;return typeof v=="function"&&!wf(v)&&v.defaultProps===void 0&&i.compare===null?(s.tag=15,s.type=v,P0(t,s,v,u,p)):(t=sc(i.type,null,u,s,s.mode,p),t.ref=s.ref,t.return=s,s.child=t)}if(v=t.child,!fm(t,p)){var k=v.memoizedProps;if(i=i.compare,i=i!==null?i:oi,i(k,u)&&t.ref===s.ref)return Os(t,s,p)}return s.flags|=1,t=Cs(v,u),t.ref=s.ref,t.return=s,s.child=t}function P0(t,s,i,u,p){if(t!==null){var v=t.memoizedProps;if(oi(v,u)&&t.ref===s.ref)if(Ft=!1,s.pendingProps=u=v,fm(t,p))(t.flags&131072)!==0&&(Ft=!0);else return s.lanes=t.lanes,Os(t,s,p)}return om(t,s,i,u,p)}function $0(t,s,i){var u=s.pendingProps,p=u.children,v=t!==null?t.memoizedState:null;if(u.mode==="hidden"){if((s.flags&128)!==0){if(u=v!==null?v.baseLanes|i:i,t!==null){for(p=s.child=t.child,v=0;p!==null;)v=v|p.lanes|p.childLanes,p=p.sibling;s.childLanes=v&~u}else s.childLanes=0,s.child=null;return H0(t,s,u,i)}if((i&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},t!==null&&lc(s,v!==null?v.cachePool:null),v!==null?Px(s,v):Pf(),E0(s);else return s.lanes=s.childLanes=536870912,H0(t,s,v!==null?v.baseLanes|i:i,i)}else v!==null?(lc(s,v.cachePool),Px(s,v),cr(),s.memoizedState=null):(t!==null&&lc(s,null),Pf(),cr());return Zt(t,s,p,i),s.child}function H0(t,s,i,u){var p=Rf();return p=p===null?null:{parent:Pt._currentValue,pool:p},s.memoizedState={baseLanes:i,cachePool:p},t!==null&&lc(s,null),Pf(),E0(s),t!==null&&ui(t,s,u,!0),null}function Sc(t,s){var i=s.ref;if(i===null)t!==null&&t.ref!==null&&(s.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(a(284));(t===null||t.ref!==i)&&(s.flags|=4194816)}}function om(t,s,i,u,p){return eo(s),i=Uf(t,s,i,u,void 0,p),u=Bf(),t!==null&&!Ft?(Vf(t,s,p),Os(t,s,p)):(ut&&u&&_f(s),s.flags|=1,Zt(t,s,i,p),s.child)}function U0(t,s,i,u,p,v){return eo(s),s.updateQueue=null,i=Hx(s,u,i,p),$x(t),u=Bf(),t!==null&&!Ft?(Vf(t,s,v),Os(t,s,v)):(ut&&u&&_f(s),s.flags|=1,Zt(t,s,i,v),s.child)}function B0(t,s,i,u,p){if(eo(s),s.stateNode===null){var v=$o,k=i.contextType;typeof k=="object"&&k!==null&&(v=tn(k)),v=new i(u,v),s.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=sm,s.stateNode=v,v._reactInternals=s,v=s.stateNode,v.props=u,v.state=s.memoizedState,v.refs={},Of(s),k=i.contextType,v.context=typeof k=="object"&&k!==null?tn(k):$o,v.state=s.memoizedState,k=i.getDerivedStateFromProps,typeof k=="function"&&(nm(s,i,k,u),v.state=s.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(k=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),k!==v.state&&sm.enqueueReplaceState(v,v.state,null),xi(s,u,v,p),gi(),v.state=s.memoizedState),typeof v.componentDidMount=="function"&&(s.flags|=4194308),u=!0}else if(t===null){v=s.stateNode;var O=s.memoizedProps,F=so(i,O);v.props=F;var se=v.context,de=i.contextType;k=$o,typeof de=="object"&&de!==null&&(k=tn(de));var me=i.getDerivedStateFromProps;de=typeof me=="function"||typeof v.getSnapshotBeforeUpdate=="function",O=s.pendingProps!==O,de||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(O||se!==k)&&k0(s,v,u,k),rr=!1;var re=s.memoizedState;v.state=re,xi(s,u,v,p),gi(),se=s.memoizedState,O||re!==se||rr?(typeof me=="function"&&(nm(s,i,me,u),se=s.memoizedState),(F=rr||C0(s,i,F,u,re,se,k))?(de||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(s.flags|=4194308)):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=u,s.memoizedState=se),v.props=u,v.state=se,v.context=k,u=F):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),u=!1)}else{v=s.stateNode,zf(t,s),k=s.memoizedProps,de=so(i,k),v.props=de,me=s.pendingProps,re=v.context,se=i.contextType,F=$o,typeof se=="object"&&se!==null&&(F=tn(se)),O=i.getDerivedStateFromProps,(se=typeof O=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(k!==me||re!==F)&&k0(s,v,u,F),rr=!1,re=s.memoizedState,v.state=re,xi(s,u,v,p),gi();var oe=s.memoizedState;k!==me||re!==oe||rr||t!==null&&t.dependencies!==null&&ac(t.dependencies)?(typeof O=="function"&&(nm(s,i,O,u),oe=s.memoizedState),(de=rr||C0(s,i,de,u,re,oe,F)||t!==null&&t.dependencies!==null&&ac(t.dependencies))?(se||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(u,oe,F),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(u,oe,F)),typeof v.componentDidUpdate=="function"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof v.componentDidUpdate!="function"||k===t.memoizedProps&&re===t.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||k===t.memoizedProps&&re===t.memoizedState||(s.flags|=1024),s.memoizedProps=u,s.memoizedState=oe),v.props=u,v.state=oe,v.context=F,u=de):(typeof v.componentDidUpdate!="function"||k===t.memoizedProps&&re===t.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||k===t.memoizedProps&&re===t.memoizedState||(s.flags|=1024),u=!1)}return v=u,Sc(t,s),u=(s.flags&128)!==0,v||u?(v=s.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:v.render(),s.flags|=1,t!==null&&u?(s.child=Zo(s,t.child,null,p),s.child=Zo(s,null,i,p)):Zt(t,s,i,p),s.memoizedState=v.state,t=s.child):t=Os(t,s,p),t}function V0(t,s,i,u){return li(),s.flags|=256,Zt(t,s,i,u),s.child}var am={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function im(t){return{baseLanes:t,cachePool:Ax()}}function lm(t,s,i){return t=t!==null?t.childLanes&~i:0,s&&(t|=In),t}function q0(t,s,i){var u=s.pendingProps,p=!1,v=(s.flags&128)!==0,k;if((k=v)||(k=t!==null&&t.memoizedState===null?!1:($t.current&2)!==0),k&&(p=!0,s.flags&=-129),k=(s.flags&32)!==0,s.flags&=-33,t===null){if(ut){if(p?lr(s):cr(),ut){var O=Et,F;if(F=O){e:{for(F=O,O=ns;F.nodeType!==8;){if(!O){O=null;break e}if(F=Fn(F.nextSibling),F===null){O=null;break e}}O=F}O!==null?(s.memoizedState={dehydrated:O,treeContext:Zr!==null?{id:ks,overflow:Ts}:null,retryLane:536870912,hydrationErrors:null},F=yn(18,null,null,0),F.stateNode=O,F.return=s,s.child=F,on=s,Et=null,F=!0):F=!1}F||Qr(s)}if(O=s.memoizedState,O!==null&&(O=O.dehydrated,O!==null))return Fm(O)?s.lanes=32:s.lanes=536870912,null;Ds(s)}return O=u.children,u=u.fallback,p?(cr(),p=s.mode,O=Ec({mode:"hidden",children:O},p),u=Xr(u,p,i,null),O.return=s,u.return=s,O.sibling=u,s.child=O,p=s.child,p.memoizedState=im(i),p.childLanes=lm(t,k,i),s.memoizedState=am,u):(lr(s),cm(s,O))}if(F=t.memoizedState,F!==null&&(O=F.dehydrated,O!==null)){if(v)s.flags&256?(lr(s),s.flags&=-257,s=um(t,s,i)):s.memoizedState!==null?(cr(),s.child=t.child,s.flags|=128,s=null):(cr(),p=u.fallback,O=s.mode,u=Ec({mode:"visible",children:u.children},O),p=Xr(p,O,i,null),p.flags|=2,u.return=s,p.return=s,u.sibling=p,s.child=u,Zo(s,t.child,null,i),u=s.child,u.memoizedState=im(i),u.childLanes=lm(t,k,i),s.memoizedState=am,s=p);else if(lr(s),Fm(O)){if(k=O.nextSibling&&O.nextSibling.dataset,k)var se=k.dgst;k=se,u=Error(a(419)),u.stack="",u.digest=k,ci({value:u,source:null,stack:null}),s=um(t,s,i)}else if(Ft||ui(t,s,i,!1),k=(i&t.childLanes)!==0,Ft||k){if(k=bt,k!==null&&(u=i&-i,u=(u&42)!==0?1:gn(u),u=(u&(k.suspendedLanes|i))!==0?0:u,u!==0&&u!==F.retryLane))throw F.retryLane=u,Po(t,u),jn(k,t,u),z0;O.data==="$?"||km(),s=um(t,s,i)}else O.data==="$?"?(s.flags|=192,s.child=t.child,s=null):(t=F.treeContext,Et=Fn(O.nextSibling),on=s,ut=!0,Kr=null,ns=!1,t!==null&&(Dn[On++]=ks,Dn[On++]=Ts,Dn[On++]=Zr,ks=t.id,Ts=t.overflow,Zr=s),s=cm(s,u.children),s.flags|=4096);return s}return p?(cr(),p=u.fallback,O=s.mode,F=t.child,se=F.sibling,u=Cs(F,{mode:"hidden",children:u.children}),u.subtreeFlags=F.subtreeFlags&65011712,se!==null?p=Cs(se,p):(p=Xr(p,O,i,null),p.flags|=2),p.return=s,u.return=s,u.sibling=p,s.child=u,u=p,p=s.child,O=t.child.memoizedState,O===null?O=im(i):(F=O.cachePool,F!==null?(se=Pt._currentValue,F=F.parent!==se?{parent:se,pool:se}:F):F=Ax(),O={baseLanes:O.baseLanes|i,cachePool:F}),p.memoizedState=O,p.childLanes=lm(t,k,i),s.memoizedState=am,u):(lr(s),i=t.child,t=i.sibling,i=Cs(i,{mode:"visible",children:u.children}),i.return=s,i.sibling=null,t!==null&&(k=s.deletions,k===null?(s.deletions=[t],s.flags|=16):k.push(t)),s.child=i,s.memoizedState=null,i)}function cm(t,s){return s=Ec({mode:"visible",children:s},t.mode),s.return=t,t.child=s}function Ec(t,s){return t=yn(22,t,null,s),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function um(t,s,i){return Zo(s,t.child,null,i),t=cm(s,s.pendingProps.children),t.flags|=2,s.memoizedState=null,t}function F0(t,s,i){t.lanes|=s;var u=t.alternate;u!==null&&(u.lanes|=s),kf(t.return,s,i)}function dm(t,s,i,u,p){var v=t.memoizedState;v===null?t.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:p}:(v.isBackwards=s,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=i,v.tailMode=p)}function Y0(t,s,i){var u=s.pendingProps,p=u.revealOrder,v=u.tail;if(Zt(t,s,u.children,i),u=$t.current,(u&2)!==0)u=u&1|2,s.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=s.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&F0(t,i,s);else if(t.tag===19)F0(t,i,s);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===s)break e;for(;t.sibling===null;){if(t.return===null||t.return===s)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}u&=1}switch(V($t,u),p){case"forwards":for(i=s.child,p=null;i!==null;)t=i.alternate,t!==null&&Nc(t)===null&&(p=i),i=i.sibling;i=p,i===null?(p=s.child,s.child=null):(p=i.sibling,i.sibling=null),dm(s,!1,p,i,v);break;case"backwards":for(i=null,p=s.child,s.child=null;p!==null;){if(t=p.alternate,t!==null&&Nc(t)===null){s.child=p;break}t=p.sibling,p.sibling=i,i=p,p=t}dm(s,!0,i,null,v);break;case"together":dm(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Os(t,s,i){if(t!==null&&(s.dependencies=t.dependencies),hr|=s.lanes,(i&s.childLanes)===0)if(t!==null){if(ui(t,s,i,!1),(i&s.childLanes)===0)return null}else return null;if(t!==null&&s.child!==t.child)throw Error(a(153));if(s.child!==null){for(t=s.child,i=Cs(t,t.pendingProps),s.child=i,i.return=s;t.sibling!==null;)t=t.sibling,i=i.sibling=Cs(t,t.pendingProps),i.return=s;i.sibling=null}return s.child}function fm(t,s){return(t.lanes&s)!==0?!0:(t=t.dependencies,!!(t!==null&&ac(t)))}function JS(t,s,i){switch(s.tag){case 3:ae(s,s.stateNode.containerInfo),sr(s,Pt,t.memoizedState.cache),li();break;case 27:case 5:_e(s);break;case 4:ae(s,s.stateNode.containerInfo);break;case 10:sr(s,s.type,s.memoizedProps.value);break;case 13:var u=s.memoizedState;if(u!==null)return u.dehydrated!==null?(lr(s),s.flags|=128,null):(i&s.child.childLanes)!==0?q0(t,s,i):(lr(s),t=Os(t,s,i),t!==null?t.sibling:null);lr(s);break;case 19:var p=(t.flags&128)!==0;if(u=(i&s.childLanes)!==0,u||(ui(t,s,i,!1),u=(i&s.childLanes)!==0),p){if(u)return Y0(t,s,i);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),V($t,$t.current),u)break;return null;case 22:case 23:return s.lanes=0,$0(t,s,i);case 24:sr(s,Pt,t.memoizedState.cache)}return Os(t,s,i)}function G0(t,s,i){if(t!==null)if(t.memoizedProps!==s.pendingProps)Ft=!0;else{if(!fm(t,i)&&(s.flags&128)===0)return Ft=!1,JS(t,s,i);Ft=(t.flags&131072)!==0}else Ft=!1,ut&&(s.flags&1048576)!==0&&jx(s,oc,s.index);switch(s.lanes=0,s.tag){case 16:e:{t=s.pendingProps;var u=s.elementType,p=u._init;if(u=p(u._payload),s.type=u,typeof u=="function")wf(u)?(t=so(u,t),s.tag=1,s=B0(null,s,u,t,i)):(s.tag=0,s=om(null,s,u,t,i));else{if(u!=null){if(p=u.$$typeof,p===A){s.tag=11,s=I0(null,s,u,t,i);break e}else if(p===z){s.tag=14,s=L0(null,s,u,t,i);break e}}throw s=B(u)||u,Error(a(306,s,""))}}return s;case 0:return om(t,s,s.type,s.pendingProps,i);case 1:return u=s.type,p=so(u,s.pendingProps),B0(t,s,u,p,i);case 3:e:{if(ae(s,s.stateNode.containerInfo),t===null)throw Error(a(387));u=s.pendingProps;var v=s.memoizedState;p=v.element,zf(t,s),xi(s,u,null,i);var k=s.memoizedState;if(u=k.cache,sr(s,Pt,u),u!==v.cache&&Tf(s,[Pt],i,!0),gi(),u=k.element,v.isDehydrated)if(v={element:u,isDehydrated:!1,cache:k.cache},s.updateQueue.baseState=v,s.memoizedState=v,s.flags&256){s=V0(t,s,u,i);break e}else if(u!==p){p=Mn(Error(a(424)),s),ci(p),s=V0(t,s,u,i);break e}else for(t=s.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Et=Fn(t.firstChild),on=s,ut=!0,Kr=null,ns=!0,i=S0(s,null,u,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(li(),u===p){s=Os(t,s,i);break e}Zt(t,s,u,i)}s=s.child}return s;case 26:return Sc(t,s),t===null?(i=Ky(s.type,null,s.pendingProps,null))?s.memoizedState=i:ut||(i=s.type,t=s.pendingProps,u=Hc(ue.current).createElement(i),u[qt]=s,u[en]=t,Kt(u,i,t),Rt(u),s.stateNode=u):s.memoizedState=Ky(s.type,t.memoizedProps,s.pendingProps,t.memoizedState),null;case 27:return _e(s),t===null&&ut&&(u=s.stateNode=Xy(s.type,s.pendingProps,ue.current),on=s,ns=!0,p=Et,yr(s.type)?(Ym=p,Et=Fn(u.firstChild)):Et=p),Zt(t,s,s.pendingProps.children,i),Sc(t,s),t===null&&(s.flags|=4194304),s.child;case 5:return t===null&&ut&&((p=u=Et)&&(u=CE(u,s.type,s.pendingProps,ns),u!==null?(s.stateNode=u,on=s,Et=Fn(u.firstChild),ns=!1,p=!0):p=!1),p||Qr(s)),_e(s),p=s.type,v=s.pendingProps,k=t!==null?t.memoizedProps:null,u=v.children,Bm(p,v)?u=null:k!==null&&Bm(p,k)&&(s.flags|=32),s.memoizedState!==null&&(p=Uf(t,s,FS,null,null,i),$i._currentValue=p),Sc(t,s),Zt(t,s,u,i),s.child;case 6:return t===null&&ut&&((t=i=Et)&&(i=kE(i,s.pendingProps,ns),i!==null?(s.stateNode=i,on=s,Et=null,t=!0):t=!1),t||Qr(s)),null;case 13:return q0(t,s,i);case 4:return ae(s,s.stateNode.containerInfo),u=s.pendingProps,t===null?s.child=Zo(s,null,u,i):Zt(t,s,u,i),s.child;case 11:return I0(t,s,s.type,s.pendingProps,i);case 7:return Zt(t,s,s.pendingProps,i),s.child;case 8:return Zt(t,s,s.pendingProps.children,i),s.child;case 12:return Zt(t,s,s.pendingProps.children,i),s.child;case 10:return u=s.pendingProps,sr(s,s.type,u.value),Zt(t,s,u.children,i),s.child;case 9:return p=s.type._context,u=s.pendingProps.children,eo(s),p=tn(p),u=u(p),s.flags|=1,Zt(t,s,u,i),s.child;case 14:return L0(t,s,s.type,s.pendingProps,i);case 15:return P0(t,s,s.type,s.pendingProps,i);case 19:return Y0(t,s,i);case 31:return u=s.pendingProps,i=s.mode,u={mode:u.mode,children:u.children},t===null?(i=Ec(u,i),i.ref=s.ref,s.child=i,i.return=s,s=i):(i=Cs(t.child,u),i.ref=s.ref,s.child=i,i.return=s,s=i),s;case 22:return $0(t,s,i);case 24:return eo(s),u=tn(Pt),t===null?(p=Rf(),p===null&&(p=bt,v=Af(),p.pooledCache=v,v.refCount++,v!==null&&(p.pooledCacheLanes|=i),p=v),s.memoizedState={parent:u,cache:p},Of(s),sr(s,Pt,p)):((t.lanes&i)!==0&&(zf(t,s),xi(s,null,null,i),gi()),p=t.memoizedState,v=s.memoizedState,p.parent!==u?(p={parent:u,cache:u},s.memoizedState=p,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=p),sr(s,Pt,u)):(u=v.cache,sr(s,Pt,u),u!==p.cache&&Tf(s,[Pt],i,!0))),Zt(t,s,s.pendingProps.children,i),s.child;case 29:throw s.pendingProps}throw Error(a(156,s.tag))}function zs(t){t.flags|=4}function X0(t,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!nv(s)){if(s=zn.current,s!==null&&((it&4194048)===it?ss!==null:(it&62914560)!==it&&(it&536870912)===0||s!==ss))throw hi=Df,Mx;t.flags|=8192}}function Cc(t,s){s!==null&&(t.flags|=4),t.flags&16384&&(s=t.tag!==22?Ue():536870912,t.lanes|=s,Jo|=s)}function _i(t,s){if(!ut)switch(t.tailMode){case"hidden":s=t.tail;for(var i=null;s!==null;)s.alternate!==null&&(i=s),s=s.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?s||t.tail===null?t.tail=null:t.tail.sibling=null:u.sibling=null}}function St(t){var s=t.alternate!==null&&t.alternate.child===t.child,i=0,u=0;if(s)for(var p=t.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags&65011712,u|=p.flags&65011712,p.return=t,p=p.sibling;else for(p=t.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,p.return=t,p=p.sibling;return t.subtreeFlags|=u,t.childLanes=i,s}function eE(t,s,i){var u=s.pendingProps;switch(Sf(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(s),null;case 1:return St(s),null;case 3:return i=s.stateNode,u=null,t!==null&&(u=t.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),Ms(Pt),ge(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ii(s)?zs(s):t===null||t.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Ex())),St(s),null;case 26:return i=s.memoizedState,t===null?(zs(s),i!==null?(St(s),X0(s,i)):(St(s),s.flags&=-16777217)):i?i!==t.memoizedState?(zs(s),St(s),X0(s,i)):(St(s),s.flags&=-16777217):(t.memoizedProps!==u&&zs(s),St(s),s.flags&=-16777217),null;case 27:we(s),i=ue.current;var p=s.type;if(t!==null&&s.stateNode!=null)t.memoizedProps!==u&&zs(s);else{if(!u){if(s.stateNode===null)throw Error(a(166));return St(s),null}t=ee.current,ii(s)?_x(s):(t=Xy(p,u,i),s.stateNode=t,zs(s))}return St(s),null;case 5:if(we(s),i=s.type,t!==null&&s.stateNode!=null)t.memoizedProps!==u&&zs(s);else{if(!u){if(s.stateNode===null)throw Error(a(166));return St(s),null}if(t=ee.current,ii(s))_x(s);else{switch(p=Hc(ue.current),t){case 1:t=p.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:t=p.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":t=p.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":t=p.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":t=p.createElement("div"),t.innerHTML="