function r0(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var bf={exports:{}},zn={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Md;function d0(){if(Md)return zn;Md=1;var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");function p(r,_,N){var L=null;if(N!==void 0&&(L=""+N),_.key!==void 0&&(L=""+_.key),"key"in _){N={};for(var C in _)C!=="key"&&(N[C]=_[C])}else N=_;return _=N.ref,{$$typeof:f,type:r,key:L,ref:_!==void 0?_:null,props:N}}return zn.Fragment=d,zn.jsx=p,zn.jsxs=p,zn}var _d;function m0(){return _d||(_d=1,bf.exports=d0()),bf.exports}var s=m0(),gf={exports:{}},Nn={},Sf={exports:{}},pf={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Od;function h0(){return Od||(Od=1,(function(f){function d(z,D){var Z=z.length;z.push(D);l:for(;0<Z;){var cl=Z-1>>>1,dl=z[cl];if(0<_(dl,D))z[cl]=D,z[Z]=dl,Z=cl;else break l}}function p(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var D=z[0],Z=z.pop();if(Z!==D){z[0]=Z;l:for(var cl=0,dl=z.length,h=dl>>>1;cl<h;){var M=2*(cl+1)-1,U=z[M],H=M+1,q=z[H];if(0>_(U,Z))H<dl&&0>_(q,U)?(z[cl]=q,z[H]=Z,cl=H):(z[cl]=U,z[M]=Z,cl=M);else if(H<dl&&0>_(q,Z))z[cl]=q,z[H]=Z,cl=H;else break l}}return D}function _(z,D){var Z=z.sortIndex-D.sortIndex;return Z!==0?Z:z.id-D.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var N=performance;f.unstable_now=function(){return N.now()}}else{var L=Date,C=L.now();f.unstable_now=function(){return L.now()-C}}var j=[],S=[],B=1,O=null,X=3,K=!1,sl=!1,ul=!1,xl=!1,F=typeof setTimeout=="function"?setTimeout:null,Sl=typeof clearTimeout=="function"?clearTimeout:null,vl=typeof setImmediate<"u"?setImmediate:null;function $(z){for(var D=p(S);D!==null;){if(D.callback===null)r(S);else if(D.startTime<=z)r(S),D.sortIndex=D.expirationTime,d(j,D);else break;D=p(S)}}function Al(z){if(ul=!1,$(z),!sl)if(p(j)!==null)sl=!0,_l||(_l=!0,Kl());else{var D=p(S);D!==null&&wl(Al,D.startTime-z)}}var _l=!1,J=-1,Bl=5,Fl=-1;function le(){return xl?!0:!(f.unstable_now()-Fl<Bl)}function yt(){if(xl=!1,_l){var z=f.unstable_now();Fl=z;var D=!0;try{l:{sl=!1,ul&&(ul=!1,Sl(J),J=-1),K=!0;var Z=X;try{t:{for($(z),O=p(j);O!==null&&!(O.expirationTime>z&&le());){var cl=O.callback;if(typeof cl=="function"){O.callback=null,X=O.priorityLevel;var dl=cl(O.expirationTime<=z);if(z=f.unstable_now(),typeof dl=="function"){O.callback=dl,$(z),D=!0;break t}O===p(j)&&r(j),$(z)}else r(j);O=p(j)}if(O!==null)D=!0;else{var h=p(S);h!==null&&wl(Al,h.startTime-z),D=!1}}break l}finally{O=null,X=Z,K=!1}D=void 0}}finally{D?Kl():_l=!1}}}var Kl;if(typeof vl=="function")Kl=function(){vl(yt)};else if(typeof MessageChannel<"u"){var Rt=new MessageChannel,Il=Rt.port2;Rt.port1.onmessage=yt,Kl=function(){Il.postMessage(null)}}else Kl=function(){F(yt,0)};function wl(z,D){J=F(function(){z(f.unstable_now())},D)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(z){z.callback=null},f.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Bl=0<z?Math.floor(1e3/z):5},f.unstable_getCurrentPriorityLevel=function(){return X},f.unstable_next=function(z){switch(X){case 1:case 2:case 3:var D=3;break;default:D=X}var Z=X;X=D;try{return z()}finally{X=Z}},f.unstable_requestPaint=function(){xl=!0},f.unstable_runWithPriority=function(z,D){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var Z=X;X=z;try{return D()}finally{X=Z}},f.unstable_scheduleCallback=function(z,D,Z){var cl=f.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?cl+Z:cl):Z=cl,z){case 1:var dl=-1;break;case 2:dl=250;break;case 5:dl=1073741823;break;case 4:dl=1e4;break;default:dl=5e3}return dl=Z+dl,z={id:B++,callback:D,priorityLevel:z,startTime:Z,expirationTime:dl,sortIndex:-1},Z>cl?(z.sortIndex=Z,d(S,z),p(j)===null&&z===p(S)&&(ul?(Sl(J),J=-1):ul=!0,wl(Al,Z-cl))):(z.sortIndex=dl,d(j,z),sl||K||(sl=!0,_l||(_l=!0,Kl()))),z},f.unstable_shouldYield=le,f.unstable_wrapCallback=function(z){var D=X;return function(){var Z=X;X=D;try{return z.apply(this,arguments)}finally{X=Z}}}})(pf)),pf}var Cd;function v0(){return Cd||(Cd=1,Sf.exports=h0()),Sf.exports}var xf={exports:{}},w={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Dd;function y0(){if(Dd)return w;Dd=1;var f=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),L=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),X=Symbol.iterator;function K(h){return h===null||typeof h!="object"?null:(h=X&&h[X]||h["@@iterator"],typeof h=="function"?h:null)}var sl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ul=Object.assign,xl={};function F(h,M,U){this.props=h,this.context=M,this.refs=xl,this.updater=U||sl}F.prototype.isReactComponent={},F.prototype.setState=function(h,M){if(typeof h!="object"&&typeof h!="function"&&h!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,h,M,"setState")},F.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};function Sl(){}Sl.prototype=F.prototype;function vl(h,M,U){this.props=h,this.context=M,this.refs=xl,this.updater=U||sl}var $=vl.prototype=new Sl;$.constructor=vl,ul($,F.prototype),$.isPureReactComponent=!0;var Al=Array.isArray;function _l(){}var J={H:null,A:null,T:null,S:null},Bl=Object.prototype.hasOwnProperty;function Fl(h,M,U){var H=U.ref;return{$$typeof:f,type:h,key:M,ref:H!==void 0?H:null,props:U}}function le(h,M){return Fl(h.type,M,h.props)}function yt(h){return typeof h=="object"&&h!==null&&h.$$typeof===f}function Kl(h){var M={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(U){return M[U]})}var Rt=/\/+/g;function Il(h,M){return typeof h=="object"&&h!==null&&h.key!=null?Kl(""+h.key):M.toString(36)}function wl(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(_l,_l):(h.status="pending",h.then(function(M){h.status==="pending"&&(h.status="fulfilled",h.value=M)},function(M){h.status==="pending"&&(h.status="rejected",h.reason=M)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function z(h,M,U,H,q){var V=typeof h;(V==="undefined"||V==="boolean")&&(h=null);var P=!1;if(h===null)P=!0;else switch(V){case"bigint":case"string":case"number":P=!0;break;case"object":switch(h.$$typeof){case f:case d:P=!0;break;case B:return P=h._init,z(P(h._payload),M,U,H,q)}}if(P)return q=q(h),P=H===""?"."+Il(h,0):H,Al(q)?(U="",P!=null&&(U=P.replace(Rt,"$&/")+"/"),z(q,M,U,"",function(Ht){return Ht})):q!=null&&(yt(q)&&(q=le(q,U+(q.key==null||h&&h.key===q.key?"":(""+q.key).replace(Rt,"$&/")+"/")+P)),M.push(q)),1;P=0;var Nl=H===""?".":H+":";if(Al(h))for(var rl=0;rl<h.length;rl++)H=h[rl],V=Nl+Il(H,rl),P+=z(H,M,U,V,q);else if(rl=K(h),typeof rl=="function")for(h=rl.call(h),rl=0;!(H=h.next()).done;)H=H.value,V=Nl+Il(H,rl++),P+=z(H,M,U,V,q);else if(V==="object"){if(typeof h.then=="function")return z(wl(h),M,U,H,q);throw M=String(h),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.")}return P}function D(h,M,U){if(h==null)return h;var H=[],q=0;return z(h,H,"","",function(V){return M.call(U,V,q++)}),H}function Z(h){if(h._status===-1){var M=h._result;M=M(),M.then(function(U){(h._status===0||h._status===-1)&&(h._status=1,h._result=U)},function(U){(h._status===0||h._status===-1)&&(h._status=2,h._result=U)}),h._status===-1&&(h._status=0,h._result=M)}if(h._status===1)return h._result.default;throw h._result}var cl=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var M=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(M))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},dl={map:D,forEach:function(h,M,U){D(h,function(){M.apply(this,arguments)},U)},count:function(h){var M=0;return D(h,function(){M++}),M},toArray:function(h){return D(h,function(M){return M})||[]},only:function(h){if(!yt(h))throw Error("React.Children.only expected to receive a single React element child.");return h}};return w.Activity=O,w.Children=dl,w.Component=F,w.Fragment=p,w.Profiler=_,w.PureComponent=vl,w.StrictMode=r,w.Suspense=j,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=J,w.__COMPILER_RUNTIME={__proto__:null,c:function(h){return J.H.useMemoCache(h)}},w.cache=function(h){return function(){return h.apply(null,arguments)}},w.cacheSignal=function(){return null},w.cloneElement=function(h,M,U){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var H=ul({},h.props),q=h.key;if(M!=null)for(V in M.key!==void 0&&(q=""+M.key),M)!Bl.call(M,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&M.ref===void 0||(H[V]=M[V]);var V=arguments.length-2;if(V===1)H.children=U;else if(1<V){for(var P=Array(V),Nl=0;Nl<V;Nl++)P[Nl]=arguments[Nl+2];H.children=P}return Fl(h.type,q,H)},w.createContext=function(h){return h={$$typeof:L,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:N,_context:h},h},w.createElement=function(h,M,U){var H,q={},V=null;if(M!=null)for(H in M.key!==void 0&&(V=""+M.key),M)Bl.call(M,H)&&H!=="key"&&H!=="__self"&&H!=="__source"&&(q[H]=M[H]);var P=arguments.length-2;if(P===1)q.children=U;else if(1<P){for(var Nl=Array(P),rl=0;rl<P;rl++)Nl[rl]=arguments[rl+2];q.children=Nl}if(h&&h.defaultProps)for(H in P=h.defaultProps,P)q[H]===void 0&&(q[H]=P[H]);return Fl(h,V,q)},w.createRef=function(){return{current:null}},w.forwardRef=function(h){return{$$typeof:C,render:h}},w.isValidElement=yt,w.lazy=function(h){return{$$typeof:B,_payload:{_status:-1,_result:h},_init:Z}},w.memo=function(h,M){return{$$typeof:S,type:h,compare:M===void 0?null:M}},w.startTransition=function(h){var M=J.T,U={};J.T=U;try{var H=h(),q=J.S;q!==null&&q(U,H),typeof H=="object"&&H!==null&&typeof H.then=="function"&&H.then(_l,cl)}catch(V){cl(V)}finally{M!==null&&U.types!==null&&(M.types=U.types),J.T=M}},w.unstable_useCacheRefresh=function(){return J.H.useCacheRefresh()},w.use=function(h){return J.H.use(h)},w.useActionState=function(h,M,U){return J.H.useActionState(h,M,U)},w.useCallback=function(h,M){return J.H.useCallback(h,M)},w.useContext=function(h){return J.H.useContext(h)},w.useDebugValue=function(){},w.useDeferredValue=function(h,M){return J.H.useDeferredValue(h,M)},w.useEffect=function(h,M){return J.H.useEffect(h,M)},w.useEffectEvent=function(h){return J.H.useEffectEvent(h)},w.useId=function(){return J.H.useId()},w.useImperativeHandle=function(h,M,U){return J.H.useImperativeHandle(h,M,U)},w.useInsertionEffect=function(h,M){return J.H.useInsertionEffect(h,M)},w.useLayoutEffect=function(h,M){return J.H.useLayoutEffect(h,M)},w.useMemo=function(h,M){return J.H.useMemo(h,M)},w.useOptimistic=function(h,M){return J.H.useOptimistic(h,M)},w.useReducer=function(h,M,U){return J.H.useReducer(h,M,U)},w.useRef=function(h){return J.H.useRef(h)},w.useState=function(h){return J.H.useState(h)},w.useSyncExternalStore=function(h,M,U){return J.H.useSyncExternalStore(h,M,U)},w.useTransition=function(){return J.H.useTransition()},w.version="19.2.0",w}var Ud;function Nf(){return Ud||(Ud=1,xf.exports=y0()),xf.exports}var Tf={exports:{}},Jl={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Rd;function b0(){if(Rd)return Jl;Rd=1;var f=Nf();function d(j){var S="https://react.dev/errors/"+j;if(1<arguments.length){S+="?args[]="+encodeURIComponent(arguments[1]);for(var B=2;B<arguments.length;B++)S+="&args[]="+encodeURIComponent(arguments[B])}return"Minified React error #"+j+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(){}var r={d:{f:p,r:function(){throw Error(d(522))},D:p,C:p,L:p,m:p,X:p,S:p,M:p},p:0,findDOMNode:null},_=Symbol.for("react.portal");function N(j,S,B){var O=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_,key:O==null?null:""+O,children:j,containerInfo:S,implementation:B}}var L=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function C(j,S){if(j==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}return Jl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Jl.createPortal=function(j,S){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error(d(299));return N(j,S,null,B)},Jl.flushSync=function(j){var S=L.T,B=r.p;try{if(L.T=null,r.p=2,j)return j()}finally{L.T=S,r.p=B,r.d.f()}},Jl.preconnect=function(j,S){typeof j=="string"&&(S?(S=S.crossOrigin,S=typeof S=="string"?S==="use-credentials"?S:"":void 0):S=null,r.d.C(j,S))},Jl.prefetchDNS=function(j){typeof j=="string"&&r.d.D(j)},Jl.preinit=function(j,S){if(typeof j=="string"&&S&&typeof S.as=="string"){var B=S.as,O=C(B,S.crossOrigin),X=typeof S.integrity=="string"?S.integrity:void 0,K=typeof S.fetchPriority=="string"?S.fetchPriority:void 0;B==="style"?r.d.S(j,typeof S.precedence=="string"?S.precedence:void 0,{crossOrigin:O,integrity:X,fetchPriority:K}):B==="script"&&r.d.X(j,{crossOrigin:O,integrity:X,fetchPriority:K,nonce:typeof S.nonce=="string"?S.nonce:void 0})}},Jl.preinitModule=function(j,S){if(typeof j=="string")if(typeof S=="object"&&S!==null){if(S.as==null||S.as==="script"){var B=C(S.as,S.crossOrigin);r.d.M(j,{crossOrigin:B,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0})}}else S==null&&r.d.M(j)},Jl.preload=function(j,S){if(typeof j=="string"&&typeof S=="object"&&S!==null&&typeof S.as=="string"){var B=S.as,O=C(B,S.crossOrigin);r.d.L(j,B,{crossOrigin:O,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,type:typeof S.type=="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy=="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet=="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes=="string"?S.imageSizes:void 0,media:typeof S.media=="string"?S.media:void 0})}},Jl.preloadModule=function(j,S){if(typeof j=="string")if(S){var B=C(S.as,S.crossOrigin);r.d.m(j,{as:typeof S.as=="string"&&S.as!=="script"?S.as:void 0,crossOrigin:B,integrity:typeof S.integrity=="string"?S.integrity:void 0})}else r.d.m(j)},Jl.requestFormReset=function(j){r.d.r(j)},Jl.unstable_batchedUpdates=function(j,S){return j(S)},Jl.useFormState=function(j,S,B){return L.H.useFormState(j,S,B)},Jl.useFormStatus=function(){return L.H.useHostTransitionStatus()},Jl.version="19.2.0",Jl}var Hd;function g0(){if(Hd)return Tf.exports;Hd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(d){console.error(d)}}return f(),Tf.exports=b0(),Tf.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Bd;function S0(){if(Bd)return Nn;Bd=1;var f=v0(),d=Nf(),p=g0();function r(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function N(l){var t=l,e=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(e=t.return),l=t.return;while(l)}return t.tag===3?e:null}function L(l){if(l.tag===13){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function C(l){if(l.tag===31){var t=l.memoizedState;if(t===null&&(l=l.alternate,l!==null&&(t=l.memoizedState)),t!==null)return t.dehydrated}return null}function j(l){if(N(l)!==l)throw Error(r(188))}function S(l){var t=l.alternate;if(!t){if(t=N(l),t===null)throw Error(r(188));return t!==l?null:l}for(var e=l,a=t;;){var n=e.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){e=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===e)return j(n),l;if(u===a)return j(n),t;u=u.sibling}throw Error(r(188))}if(e.return!==a.return)e=n,a=u;else{for(var c=!1,i=n.child;i;){if(i===e){c=!0,e=n,a=u;break}if(i===a){c=!0,a=n,e=u;break}i=i.sibling}if(!c){for(i=u.child;i;){if(i===e){c=!0,e=u,a=n;break}if(i===a){c=!0,a=u,e=n;break}i=i.sibling}if(!c)throw Error(r(189))}}if(e.alternate!==a)throw Error(r(190))}if(e.tag!==3)throw Error(r(188));return e.stateNode.current===e?l:t}function B(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=B(l),t!==null)return t;l=l.sibling}return null}var O=Object.assign,X=Symbol.for("react.element"),K=Symbol.for("react.transitional.element"),sl=Symbol.for("react.portal"),ul=Symbol.for("react.fragment"),xl=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),Sl=Symbol.for("react.consumer"),vl=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),Al=Symbol.for("react.suspense"),_l=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),Bl=Symbol.for("react.lazy"),Fl=Symbol.for("react.activity"),le=Symbol.for("react.memo_cache_sentinel"),yt=Symbol.iterator;function Kl(l){return l===null||typeof l!="object"?null:(l=yt&&l[yt]||l["@@iterator"],typeof l=="function"?l:null)}var Rt=Symbol.for("react.client.reference");function Il(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Rt?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ul:return"Fragment";case F:return"Profiler";case xl:return"StrictMode";case Al:return"Suspense";case _l:return"SuspenseList";case Fl:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case sl:return"Portal";case vl:return l.displayName||"Context";case Sl:return(l._context.displayName||"Context")+".Consumer";case $:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case J:return t=l.displayName||null,t!==null?t:Il(l.type)||"Memo";case Bl:t=l._payload,l=l._init;try{return Il(l(t))}catch{}}return null}var wl=Array.isArray,z=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=p.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},cl=[],dl=-1;function h(l){return{current:l}}function M(l){0>dl||(l.current=cl[dl],cl[dl]=null,dl--)}function U(l,t){dl++,cl[dl]=l.current,l.current=t}var H=h(null),q=h(null),V=h(null),P=h(null);function Nl(l,t){switch(U(V,t),U(q,l),U(H,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?Fr(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=Fr(t),l=Ir(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}M(H),U(H,l)}function rl(){M(H),M(q),M(V)}function Ht(l){l.memoizedState!==null&&U(P,l);var t=H.current,e=Ir(t,l.type);t!==e&&(U(q,l),U(H,e))}function An(l){q.current===l&&(M(H),M(q)),P.current===l&&(M(P),Sn._currentValue=Z)}var Iu,Af;function Ae(l){if(Iu===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Iu=t&&t[1]||"",Af=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Iu+l+Af}var Pu=!1;function lc(l,t){if(!l||Pu)return"";Pu=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(x){var g=x}Reflect.construct(l,[],A)}else{try{A.call()}catch(x){g=x}l.call(A.prototype)}}else{try{throw Error()}catch(x){g=x}(A=l())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(x){if(x&&g&&typeof x.stack=="string")return[x.stack,g.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],i=u[1];if(c&&i){var o=c.split(`
`),b=i.split(`
`);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<b.length&&!b[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===b.length)for(a=o.length-1,n=b.length-1;1<=a&&0<=n&&o[a]!==b[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==b[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==b[n]){var T=`
`+o[a].replace(" at new "," at ");return l.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",l.displayName)),T}while(1<=a&&0<=n);break}}}finally{Pu=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Ae(e):""}function Xd(l,t){switch(l.tag){case 26:case 27:case 5:return Ae(l.type);case 16:return Ae("Lazy");case 13:return l.child!==t&&t!==null?Ae("Suspense Fallback"):Ae("Suspense");case 19:return Ae("SuspenseList");case 0:case 15:return lc(l.type,!1);case 11:return lc(l.type.render,!1);case 1:return lc(l.type,!0);case 31:return Ae("Activity");default:return""}}function jf(l){try{var t="",e=null;do t+=Xd(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var tc=Object.prototype.hasOwnProperty,ec=f.unstable_scheduleCallback,ac=f.unstable_cancelCallback,Zd=f.unstable_shouldYield,Vd=f.unstable_requestPaint,ct=f.unstable_now,Kd=f.unstable_getCurrentPriorityLevel,Mf=f.unstable_ImmediatePriority,_f=f.unstable_UserBlockingPriority,jn=f.unstable_NormalPriority,Jd=f.unstable_LowPriority,Of=f.unstable_IdlePriority,wd=f.log,$d=f.unstable_setDisableYieldValue,Oa=null,it=null;function te(l){if(typeof wd=="function"&&$d(l),it&&typeof it.setStrictMode=="function")try{it.setStrictMode(Oa,l)}catch{}}var ft=Math.clz32?Math.clz32:Fd,kd=Math.log,Wd=Math.LN2;function Fd(l){return l>>>=0,l===0?32:31-(kd(l)/Wd|0)|0}var Mn=256,_n=262144,On=4194304;function je(l){var t=l&42;if(t!==0)return t;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Cn(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var n=0,u=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var i=a&134217727;return i!==0?(a=i&~u,a!==0?n=je(a):(c&=i,c!==0?n=je(c):e||(e=i&~l,e!==0&&(n=je(e))))):(i=a&~u,i!==0?n=je(i):c!==0?n=je(c):e||(e=a&~l,e!==0&&(n=je(e)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,e=t&-t,u>=e||u===32&&(e&4194048)!==0)?t:n}function Ca(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Id(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cf(){var l=On;return On<<=1,(On&62914560)===0&&(On=4194304),l}function nc(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Da(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Pd(l,t,e,a,n,u){var c=l.pendingLanes;l.pendingLanes=e,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=e,l.entangledLanes&=e,l.errorRecoveryDisabledLanes&=e,l.shellSuspendCounter=0;var i=l.entanglements,o=l.expirationTimes,b=l.hiddenUpdates;for(e=c&~e;0<e;){var T=31-ft(e),A=1<<T;i[T]=0,o[T]=-1;var g=b[T];if(g!==null)for(b[T]=null,T=0;T<g.length;T++){var x=g[T];x!==null&&(x.lane&=-536870913)}e&=~A}a!==0&&Df(l,a,0),u!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=u&~(c&~t))}function Df(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-ft(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Uf(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-ft(e),n=1<<a;n&t|l[a]&t&&(l[a]|=t),e&=~n}}function Rf(l,t){var e=t&-t;return e=(e&42)!==0?1:uc(e),(e&(l.suspendedLanes|t))!==0?0:e}function uc(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function cc(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Hf(){var l=D.p;return l!==0?l:(l=window.event,l===void 0?32:xd(l.type))}function Bf(l,t){var e=D.p;try{return D.p=l,t()}finally{D.p=e}}var ee=Math.random().toString(36).slice(2),Ll="__reactFiber$"+ee,Pl="__reactProps$"+ee,Ke="__reactContainer$"+ee,ic="__reactEvents$"+ee,lm="__reactListeners$"+ee,tm="__reactHandles$"+ee,qf="__reactResources$"+ee,Ua="__reactMarker$"+ee;function fc(l){delete l[Ll],delete l[Pl],delete l[ic],delete l[lm],delete l[tm]}function Je(l){var t=l[Ll];if(t)return t;for(var e=l.parentNode;e;){if(t=e[Ke]||e[Ll]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=ud(l);l!==null;){if(e=l[Ll])return e;l=ud(l)}return t}l=e,e=l.parentNode}return null}function we(l){if(l=l[Ll]||l[Ke]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Ra(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(r(33))}function $e(l){var t=l[qf];return t||(t=l[qf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Yl(l){l[Ua]=!0}var Yf=new Set,Gf={};function Me(l,t){ke(l,t),ke(l+"Capture",t)}function ke(l,t){for(Gf[l]=t,l=0;l<t.length;l++)Yf.add(t[l])}var em=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Lf={},Qf={};function am(l){return tc.call(Qf,l)?!0:tc.call(Lf,l)?!1:em.test(l)?Qf[l]=!0:(Lf[l]=!0,!1)}function Dn(l,t,e){if(am(t))if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+e)}}function Un(l,t,e){if(e===null)l.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+e)}}function Bt(l,t,e,a){if(a===null)l.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttributeNS(t,e,""+a)}}function bt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Xf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nm(l,t,e){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){e=""+c,u.call(this,c)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(c){e=""+c},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function sc(l){if(!l._valueTracker){var t=Xf(l)?"checked":"value";l._valueTracker=nm(l,t,""+l[t])}}function Zf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Xf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Rn(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var um=/[\n"\\]/g;function gt(l){return l.replace(um,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function oc(l,t,e,a,n,u,c,i){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),t!=null?c==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+bt(t)):l.value!==""+bt(t)&&(l.value=""+bt(t)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),t!=null?rc(l,c,bt(t)):e!=null?rc(l,c,bt(e)):a!=null&&l.removeAttribute("value"),n==null&&u!=null&&(l.defaultChecked=!!u),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.name=""+bt(i):l.removeAttribute("name")}function Vf(l,t,e,a,n,u,c,i){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(l.type=u),t!=null||e!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){sc(l);return}e=e!=null?""+bt(e):"",t=t!=null?""+bt(t):e,i||t===l.value||(l.value=t),l.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=i?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),sc(l)}function rc(l,t,e){t==="number"&&Rn(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function We(l,t,e,a){if(l=l.options,t){t={};for(var n=0;n<e.length;n++)t["$"+e[n]]=!0;for(e=0;e<l.length;e++)n=t.hasOwnProperty("$"+l[e].value),l[e].selected!==n&&(l[e].selected=n),n&&a&&(l[e].defaultSelected=!0)}else{for(e=""+bt(e),t=null,n=0;n<l.length;n++){if(l[n].value===e){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}t!==null||l[n].disabled||(t=l[n])}t!==null&&(t.selected=!0)}}function Kf(l,t,e){if(t!=null&&(t=""+bt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+bt(e):""}function Jf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(r(92));if(wl(a)){if(1<a.length)throw Error(r(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=bt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),sc(l)}function Fe(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var cm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function wf(l,t,e){var a=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":a?l.setProperty(t,e):typeof e!="number"||e===0||cm.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function $f(l,t,e){if(t!=null&&typeof t!="object")throw Error(r(62));if(l=l.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&e[n]!==a&&wf(l,n,a)}else for(var u in t)t.hasOwnProperty(u)&&wf(l,u,t[u])}function dc(l){if(l.indexOf("-")===-1)return!1;switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var im=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),fm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Hn(l){return fm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function qt(){}var mc=null;function hc(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Ie=null,Pe=null;function kf(l){var t=we(l);if(t&&(l=t.stateNode)){var e=l[Pl]||null;l:switch(l=t.stateNode,t.type){case"input":if(oc(l,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=l;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+gt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var n=a[Pl]||null;if(!n)throw Error(r(90));oc(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&Zf(a)}break l;case"textarea":Kf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&We(l,!!e.multiple,t,!1)}}}var vc=!1;function Wf(l,t,e){if(vc)return l(t,e);vc=!0;try{var a=l(t);return a}finally{if(vc=!1,(Ie!==null||Pe!==null)&&(Tu(),Ie&&(t=Ie,l=Pe,Pe=Ie=null,kf(t),l)))for(t=0;t<l.length;t++)kf(l[t])}}function Ha(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Pl]||null;if(a===null)return null;e=a[t];l:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(e&&typeof e!="function")throw Error(r(231,t,typeof e));return e}var Yt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yc=!1;if(Yt)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){yc=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{yc=!1}var ae=null,bc=null,Bn=null;function Ff(){if(Bn)return Bn;var l,t=bc,e=t.length,a,n="value"in ae?ae.value:ae.textContent,u=n.length;for(l=0;l<e&&t[l]===n[l];l++);var c=e-l;for(a=1;a<=c&&t[e-a]===n[u-a];a++);return Bn=n.slice(l,1<a?1-a:void 0)}function qn(l){var t=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&t===13&&(l=13)):l=t,l===10&&(l=13),32<=l||l===13?l:0}function Yn(){return!0}function If(){return!1}function lt(l){function t(e,a,n,u,c){this._reactName=e,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var i in l)l.hasOwnProperty(i)&&(e=l[i],this[i]=e?e(u):u[i]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Yn:If,this.isPropagationStopped=If,this}return O(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Yn)},persist:function(){},isPersistent:Yn}),t}var _e={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gn=lt(_e),qa=O({},_e,{view:0,detail:0}),sm=lt(qa),gc,Sc,Ya,Ln=O({},qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xc,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ya&&(Ya&&l.type==="mousemove"?(gc=l.screenX-Ya.screenX,Sc=l.screenY-Ya.screenY):Sc=gc=0,Ya=l),gc)},movementY:function(l){return"movementY"in l?l.movementY:Sc}}),Pf=lt(Ln),om=O({},Ln,{dataTransfer:0}),rm=lt(om),dm=O({},qa,{relatedTarget:0}),pc=lt(dm),mm=O({},_e,{animationName:0,elapsedTime:0,pseudoElement:0}),hm=lt(mm),vm=O({},_e,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),ym=lt(vm),bm=O({},_e,{data:0}),ls=lt(bm),gm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xm(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=pm[l])?!!t[l]:!1}function xc(){return xm}var Tm=O({},qa,{key:function(l){if(l.key){var t=gm[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=qn(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Sm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xc,charCode:function(l){return l.type==="keypress"?qn(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?qn(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),zm=lt(Tm),Nm=O({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ts=lt(Nm),Em=O({},qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xc}),Am=lt(Em),jm=O({},_e,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mm=lt(jm),_m=O({},Ln,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Om=lt(_m),Cm=O({},_e,{newState:0,oldState:0}),Dm=lt(Cm),Um=[9,13,27,32],Tc=Yt&&"CompositionEvent"in window,Ga=null;Yt&&"documentMode"in document&&(Ga=document.documentMode);var Rm=Yt&&"TextEvent"in window&&!Ga,es=Yt&&(!Tc||Ga&&8<Ga&&11>=Ga),as=" ",ns=!1;function us(l,t){switch(l){case"keyup":return Um.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cs(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var la=!1;function Hm(l,t){switch(l){case"compositionend":return cs(t);case"keypress":return t.which!==32?null:(ns=!0,as);case"textInput":return l=t.data,l===as&&ns?null:l;default:return null}}function Bm(l,t){if(la)return l==="compositionend"||!Tc&&us(l,t)?(l=Ff(),Bn=bc=ae=null,la=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return es&&t.locale!=="ko"?null:t.data;default:return null}}var qm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function is(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!qm[l.type]:t==="textarea"}function fs(l,t,e,a){Ie?Pe?Pe.push(a):Pe=[a]:Ie=a,t=_u(t,"onChange"),0<t.length&&(e=new Gn("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var La=null,Qa=null;function Ym(l){Kr(l,0)}function Qn(l){var t=Ra(l);if(Zf(t))return l}function ss(l,t){if(l==="change")return t}var os=!1;if(Yt){var zc;if(Yt){var Nc="oninput"in document;if(!Nc){var rs=document.createElement("div");rs.setAttribute("oninput","return;"),Nc=typeof rs.oninput=="function"}zc=Nc}else zc=!1;os=zc&&(!document.documentMode||9<document.documentMode)}function ds(){La&&(La.detachEvent("onpropertychange",ms),Qa=La=null)}function ms(l){if(l.propertyName==="value"&&Qn(Qa)){var t=[];fs(t,Qa,l,hc(l)),Wf(Ym,t)}}function Gm(l,t,e){l==="focusin"?(ds(),La=t,Qa=e,La.attachEvent("onpropertychange",ms)):l==="focusout"&&ds()}function Lm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Qn(Qa)}function Qm(l,t){if(l==="click")return Qn(t)}function Xm(l,t){if(l==="input"||l==="change")return Qn(t)}function Zm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var st=typeof Object.is=="function"?Object.is:Zm;function Xa(l,t){if(st(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var e=Object.keys(l),a=Object.keys(t);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var n=e[a];if(!tc.call(t,n)||!st(l[n],t[n]))return!1}return!0}function hs(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function vs(l,t){var e=hs(l);l=0;for(var a;e;){if(e.nodeType===3){if(a=l+e.textContent.length,l<=t&&a>=t)return{node:e,offset:t-l};l=a}l:{for(;e;){if(e.nextSibling){e=e.nextSibling;break l}e=e.parentNode}e=void 0}e=hs(e)}}function ys(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?ys(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function bs(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Rn(l.document);t instanceof l.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)l=t.contentWindow;else break;t=Rn(l.document)}return t}function Ec(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var Vm=Yt&&"documentMode"in document&&11>=document.documentMode,ta=null,Ac=null,Za=null,jc=!1;function gs(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;jc||ta==null||ta!==Rn(a)||(a=ta,"selectionStart"in a&&Ec(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Za&&Xa(Za,a)||(Za=a,a=_u(Ac,"onSelect"),0<a.length&&(t=new Gn("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=ta)))}function Oe(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var ea={animationend:Oe("Animation","AnimationEnd"),animationiteration:Oe("Animation","AnimationIteration"),animationstart:Oe("Animation","AnimationStart"),transitionrun:Oe("Transition","TransitionRun"),transitionstart:Oe("Transition","TransitionStart"),transitioncancel:Oe("Transition","TransitionCancel"),transitionend:Oe("Transition","TransitionEnd")},Mc={},Ss={};Yt&&(Ss=document.createElement("div").style,"AnimationEvent"in window||(delete ea.animationend.animation,delete ea.animationiteration.animation,delete ea.animationstart.animation),"TransitionEvent"in window||delete ea.transitionend.transition);function Ce(l){if(Mc[l])return Mc[l];if(!ea[l])return l;var t=ea[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in Ss)return Mc[l]=t[e];return l}var ps=Ce("animationend"),xs=Ce("animationiteration"),Ts=Ce("animationstart"),Km=Ce("transitionrun"),Jm=Ce("transitionstart"),wm=Ce("transitioncancel"),zs=Ce("transitionend"),Ns=new Map,_c="abort auxClick beforeToggle 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".split(" ");_c.push("scrollEnd");function jt(l,t){Ns.set(l,t),Me(t,[l])}var Xn=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},St=[],aa=0,Oc=0;function Zn(){for(var l=aa,t=Oc=aa=0;t<l;){var e=St[t];St[t++]=null;var a=St[t];St[t++]=null;var n=St[t];St[t++]=null;var u=St[t];if(St[t++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&Es(e,n,u)}}function Vn(l,t,e,a){St[aa++]=l,St[aa++]=t,St[aa++]=e,St[aa++]=a,Oc|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Cc(l,t,e,a){return Vn(l,t,e,a),Kn(l)}function De(l,t){return Vn(l,null,null,t),Kn(l)}function Es(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var n=!1,u=l.return;u!==null;)u.childLanes|=e,a=u.alternate,a!==null&&(a.childLanes|=e),u.tag===22&&(l=u.stateNode,l===null||l._visibility&1||(n=!0)),l=u,u=u.return;return l.tag===3?(u=l.stateNode,n&&t!==null&&(n=31-ft(e),l=u.hiddenUpdates,a=l[n],a===null?l[n]=[t]:a.push(t),t.lane=e|536870912),u):null}function Kn(l){if(50<dn)throw dn=0,Li=null,Error(r(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var na={};function $m(l,t,e,a){this.tag=l,this.key=e,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ot(l,t,e,a){return new $m(l,t,e,a)}function Dc(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Gt(l,t){var e=l.alternate;return e===null?(e=ot(l.tag,t,l.key,l.mode),e.elementType=l.elementType,e.type=l.type,e.stateNode=l.stateNode,e.alternate=l,l.alternate=e):(e.pendingProps=t,e.type=l.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=l.flags&65011712,e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=l.sibling,e.index=l.index,e.ref=l.ref,e.refCleanup=l.refCleanup,e}function As(l,t){l.flags&=65011714;var e=l.alternate;return e===null?(l.childLanes=0,l.lanes=t,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,l.type=e.type,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Jn(l,t,e,a,n,u){var c=0;if(a=l,typeof l=="function")Dc(l)&&(c=1);else if(typeof l=="string")c=Ph(l,e,H.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Fl:return l=ot(31,e,t,n),l.elementType=Fl,l.lanes=u,l;case ul:return Ue(e.children,n,u,t);case xl:c=8,n|=24;break;case F:return l=ot(12,e,t,n|2),l.elementType=F,l.lanes=u,l;case Al:return l=ot(13,e,t,n),l.elementType=Al,l.lanes=u,l;case _l:return l=ot(19,e,t,n),l.elementType=_l,l.lanes=u,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case vl:c=10;break l;case Sl:c=9;break l;case $:c=11;break l;case J:c=14;break l;case Bl:c=16,a=null;break l}c=29,e=Error(r(130,l===null?"null":typeof l,"")),a=null}return t=ot(c,e,t,n),t.elementType=l,t.type=a,t.lanes=u,t}function Ue(l,t,e,a){return l=ot(7,l,a,t),l.lanes=e,l}function Uc(l,t,e){return l=ot(6,l,null,t),l.lanes=e,l}function js(l){var t=ot(18,null,null,0);return t.stateNode=l,t}function Rc(l,t,e){return t=ot(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Ms=new WeakMap;function pt(l,t){if(typeof l=="object"&&l!==null){var e=Ms.get(l);return e!==void 0?e:(t={value:l,source:t,stack:jf(t)},Ms.set(l,t),t)}return{value:l,source:t,stack:jf(t)}}var ua=[],ca=0,wn=null,Va=0,xt=[],Tt=0,ne=null,Ot=1,Ct="";function Lt(l,t){ua[ca++]=Va,ua[ca++]=wn,wn=l,Va=t}function _s(l,t,e){xt[Tt++]=Ot,xt[Tt++]=Ct,xt[Tt++]=ne,ne=l;var a=Ot;l=Ct;var n=32-ft(a)-1;a&=~(1<<n),e+=1;var u=32-ft(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Ot=1<<32-ft(t)+n|e<<n|a,Ct=u+l}else Ot=1<<u|e<<n|a,Ct=l}function Hc(l){l.return!==null&&(Lt(l,1),_s(l,1,0))}function Bc(l){for(;l===wn;)wn=ua[--ca],ua[ca]=null,Va=ua[--ca],ua[ca]=null;for(;l===ne;)ne=xt[--Tt],xt[Tt]=null,Ct=xt[--Tt],xt[Tt]=null,Ot=xt[--Tt],xt[Tt]=null}function Os(l,t){xt[Tt++]=Ot,xt[Tt++]=Ct,xt[Tt++]=ne,Ot=t.id,Ct=t.overflow,ne=l}var Ql=null,Tl=null,nl=!1,ue=null,zt=!1,qc=Error(r(519));function ce(l){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ka(pt(t,l)),qc}function Cs(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Ll]=l,t[Pl]=a,e){case"dialog":tl("cancel",t),tl("close",t);break;case"iframe":case"object":case"embed":tl("load",t);break;case"video":case"audio":for(e=0;e<hn.length;e++)tl(hn[e],t);break;case"source":tl("error",t);break;case"img":case"image":case"link":tl("error",t),tl("load",t);break;case"details":tl("toggle",t);break;case"input":tl("invalid",t),Vf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":tl("invalid",t);break;case"textarea":tl("invalid",t),Jf(t,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||a.suppressHydrationWarning===!0||kr(t.textContent,e)?(a.popover!=null&&(tl("beforetoggle",t),tl("toggle",t)),a.onScroll!=null&&tl("scroll",t),a.onScrollEnd!=null&&tl("scrollend",t),a.onClick!=null&&(t.onclick=qt),t=!0):t=!1,t||ce(l,!0)}function Ds(l){for(Ql=l.return;Ql;)switch(Ql.tag){case 5:case 31:case 13:zt=!1;return;case 27:case 3:zt=!0;return;default:Ql=Ql.return}}function ia(l){if(l!==Ql)return!1;if(!nl)return Ds(l),nl=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||tf(l.type,l.memoizedProps)),e=!e),e&&Tl&&ce(l),Ds(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));Tl=nd(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));Tl=nd(l)}else t===27?(t=Tl,pe(l.type)?(l=cf,cf=null,Tl=l):Tl=t):Tl=Ql?Et(l.stateNode.nextSibling):null;return!0}function Re(){Tl=Ql=null,nl=!1}function Yc(){var l=ue;return l!==null&&(nt===null?nt=l:nt.push.apply(nt,l),ue=null),l}function Ka(l){ue===null?ue=[l]:ue.push(l)}var Gc=h(null),He=null,Qt=null;function ie(l,t,e){U(Gc,t._currentValue),t._currentValue=e}function Xt(l){l._currentValue=Gc.current,M(Gc)}function Lc(l,t,e){for(;l!==null;){var a=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),l===e)break;l=l.return}}function Qc(l,t,e,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;l:for(;u!==null;){var i=u;u=n;for(var o=0;o<t.length;o++)if(i.context===t[o]){u.lanes|=e,i=u.alternate,i!==null&&(i.lanes|=e),Lc(u.return,e,l),a||(c=null);break l}u=i.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(r(341));c.lanes|=e,u=c.alternate,u!==null&&(u.lanes|=e),Lc(c,e,l),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===l){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function fa(l,t,e,a){l=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(r(387));if(c=c.memoizedProps,c!==null){var i=n.type;st(n.pendingProps.value,c.value)||(l!==null?l.push(i):l=[i])}}else if(n===P.current){if(c=n.alternate,c===null)throw Error(r(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(Sn):l=[Sn])}n=n.return}l!==null&&Qc(t,l,e,a),t.flags|=262144}function $n(l){for(l=l.firstContext;l!==null;){if(!st(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Be(l){He=l,Qt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Xl(l){return Us(He,l)}function kn(l,t){return He===null&&Be(l),Us(l,t)}function Us(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Qt===null){if(l===null)throw Error(r(308));Qt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Qt=Qt.next=t;return e}var km=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(e,a){l.push(a)}};this.abort=function(){t.aborted=!0,l.forEach(function(e){return e()})}},Wm=f.unstable_scheduleCallback,Fm=f.unstable_NormalPriority,Dl={$$typeof:vl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xc(){return{controller:new km,data:new Map,refCount:0}}function Ja(l){l.refCount--,l.refCount===0&&Wm(Fm,function(){l.controller.abort()})}var wa=null,Zc=0,sa=0,oa=null;function Im(l,t){if(wa===null){var e=wa=[];Zc=0,sa=Ji(),oa={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Zc++,t.then(Rs,Rs),t}function Rs(){if(--Zc===0&&wa!==null){oa!==null&&(oa.status="fulfilled");var l=wa;wa=null,sa=0,oa=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Pm(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(n){e.push(n)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<e.length;n++)(0,e[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<e.length;n++)(0,e[n])(void 0)}),a}var Hs=z.S;z.S=function(l,t){Sr=ct(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Im(l,t),Hs!==null&&Hs(l,t)};var qe=h(null);function Vc(){var l=qe.current;return l!==null?l:pl.pooledCache}function Wn(l,t){t===null?U(qe,qe.current):U(qe,t.pool)}function Bs(){var l=Vc();return l===null?null:{parent:Dl._currentValue,pool:l}}var ra=Error(r(460)),Kc=Error(r(474)),Fn=Error(r(542)),In={then:function(){}};function qs(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Ys(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(qt,qt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ls(l),l;default:if(typeof t.status=="string")t.then(qt,qt);else{if(l=pl,l!==null&&100<l.shellSuspendCounter)throw Error(r(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Ls(l),l}throw Ge=t,ra}}function Ye(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ge=e,ra):e}}var Ge=null;function Gs(){if(Ge===null)throw Error(r(459));var l=Ge;return Ge=null,l}function Ls(l){if(l===ra||l===Fn)throw Error(r(483))}var da=null,$a=0;function Pn(l){var t=$a;return $a+=1,da===null&&(da=[]),Ys(da,l,t)}function ka(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function lu(l,t){throw t.$$typeof===X?Error(r(525)):(l=Object.prototype.toString.call(t),Error(r(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Qs(l){function t(v,m){if(l){var y=v.deletions;y===null?(v.deletions=[m],v.flags|=16):y.push(m)}}function e(v,m){if(!l)return null;for(;m!==null;)t(v,m),m=m.sibling;return null}function a(v){for(var m=new Map;v!==null;)v.key!==null?m.set(v.key,v):m.set(v.index,v),v=v.sibling;return m}function n(v,m){return v=Gt(v,m),v.index=0,v.sibling=null,v}function u(v,m,y){return v.index=y,l?(y=v.alternate,y!==null?(y=y.index,y<m?(v.flags|=67108866,m):y):(v.flags|=67108866,m)):(v.flags|=1048576,m)}function c(v){return l&&v.alternate===null&&(v.flags|=67108866),v}function i(v,m,y,E){return m===null||m.tag!==6?(m=Uc(y,v.mode,E),m.return=v,m):(m=n(m,y),m.return=v,m)}function o(v,m,y,E){var G=y.type;return G===ul?T(v,m,y.props.children,E,y.key):m!==null&&(m.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Bl&&Ye(G)===m.type)?(m=n(m,y.props),ka(m,y),m.return=v,m):(m=Jn(y.type,y.key,y.props,null,v.mode,E),ka(m,y),m.return=v,m)}function b(v,m,y,E){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=Rc(y,v.mode,E),m.return=v,m):(m=n(m,y.children||[]),m.return=v,m)}function T(v,m,y,E,G){return m===null||m.tag!==7?(m=Ue(y,v.mode,E,G),m.return=v,m):(m=n(m,y),m.return=v,m)}function A(v,m,y){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Uc(""+m,v.mode,y),m.return=v,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case K:return y=Jn(m.type,m.key,m.props,null,v.mode,y),ka(y,m),y.return=v,y;case sl:return m=Rc(m,v.mode,y),m.return=v,m;case Bl:return m=Ye(m),A(v,m,y)}if(wl(m)||Kl(m))return m=Ue(m,v.mode,y,null),m.return=v,m;if(typeof m.then=="function")return A(v,Pn(m),y);if(m.$$typeof===vl)return A(v,kn(v,m),y);lu(v,m)}return null}function g(v,m,y,E){var G=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return G!==null?null:i(v,m,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case K:return y.key===G?o(v,m,y,E):null;case sl:return y.key===G?b(v,m,y,E):null;case Bl:return y=Ye(y),g(v,m,y,E)}if(wl(y)||Kl(y))return G!==null?null:T(v,m,y,E,null);if(typeof y.then=="function")return g(v,m,Pn(y),E);if(y.$$typeof===vl)return g(v,m,kn(v,y),E);lu(v,y)}return null}function x(v,m,y,E,G){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return v=v.get(y)||null,i(m,v,""+E,G);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case K:return v=v.get(E.key===null?y:E.key)||null,o(m,v,E,G);case sl:return v=v.get(E.key===null?y:E.key)||null,b(m,v,E,G);case Bl:return E=Ye(E),x(v,m,y,E,G)}if(wl(E)||Kl(E))return v=v.get(y)||null,T(m,v,E,G,null);if(typeof E.then=="function")return x(v,m,y,Pn(E),G);if(E.$$typeof===vl)return x(v,m,y,kn(m,E),G);lu(m,E)}return null}function R(v,m,y,E){for(var G=null,il=null,Y=m,W=m=0,al=null;Y!==null&&W<y.length;W++){Y.index>W?(al=Y,Y=null):al=Y.sibling;var fl=g(v,Y,y[W],E);if(fl===null){Y===null&&(Y=al);break}l&&Y&&fl.alternate===null&&t(v,Y),m=u(fl,m,W),il===null?G=fl:il.sibling=fl,il=fl,Y=al}if(W===y.length)return e(v,Y),nl&&Lt(v,W),G;if(Y===null){for(;W<y.length;W++)Y=A(v,y[W],E),Y!==null&&(m=u(Y,m,W),il===null?G=Y:il.sibling=Y,il=Y);return nl&&Lt(v,W),G}for(Y=a(Y);W<y.length;W++)al=x(Y,v,W,y[W],E),al!==null&&(l&&al.alternate!==null&&Y.delete(al.key===null?W:al.key),m=u(al,m,W),il===null?G=al:il.sibling=al,il=al);return l&&Y.forEach(function(Ee){return t(v,Ee)}),nl&&Lt(v,W),G}function Q(v,m,y,E){if(y==null)throw Error(r(151));for(var G=null,il=null,Y=m,W=m=0,al=null,fl=y.next();Y!==null&&!fl.done;W++,fl=y.next()){Y.index>W?(al=Y,Y=null):al=Y.sibling;var Ee=g(v,Y,fl.value,E);if(Ee===null){Y===null&&(Y=al);break}l&&Y&&Ee.alternate===null&&t(v,Y),m=u(Ee,m,W),il===null?G=Ee:il.sibling=Ee,il=Ee,Y=al}if(fl.done)return e(v,Y),nl&&Lt(v,W),G;if(Y===null){for(;!fl.done;W++,fl=y.next())fl=A(v,fl.value,E),fl!==null&&(m=u(fl,m,W),il===null?G=fl:il.sibling=fl,il=fl);return nl&&Lt(v,W),G}for(Y=a(Y);!fl.done;W++,fl=y.next())fl=x(Y,v,W,fl.value,E),fl!==null&&(l&&fl.alternate!==null&&Y.delete(fl.key===null?W:fl.key),m=u(fl,m,W),il===null?G=fl:il.sibling=fl,il=fl);return l&&Y.forEach(function(o0){return t(v,o0)}),nl&&Lt(v,W),G}function gl(v,m,y,E){if(typeof y=="object"&&y!==null&&y.type===ul&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case K:l:{for(var G=y.key;m!==null;){if(m.key===G){if(G=y.type,G===ul){if(m.tag===7){e(v,m.sibling),E=n(m,y.props.children),E.return=v,v=E;break l}}else if(m.elementType===G||typeof G=="object"&&G!==null&&G.$$typeof===Bl&&Ye(G)===m.type){e(v,m.sibling),E=n(m,y.props),ka(E,y),E.return=v,v=E;break l}e(v,m);break}else t(v,m);m=m.sibling}y.type===ul?(E=Ue(y.props.children,v.mode,E,y.key),E.return=v,v=E):(E=Jn(y.type,y.key,y.props,null,v.mode,E),ka(E,y),E.return=v,v=E)}return c(v);case sl:l:{for(G=y.key;m!==null;){if(m.key===G)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){e(v,m.sibling),E=n(m,y.children||[]),E.return=v,v=E;break l}else{e(v,m);break}else t(v,m);m=m.sibling}E=Rc(y,v.mode,E),E.return=v,v=E}return c(v);case Bl:return y=Ye(y),gl(v,m,y,E)}if(wl(y))return R(v,m,y,E);if(Kl(y)){if(G=Kl(y),typeof G!="function")throw Error(r(150));return y=G.call(y),Q(v,m,y,E)}if(typeof y.then=="function")return gl(v,m,Pn(y),E);if(y.$$typeof===vl)return gl(v,m,kn(v,y),E);lu(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,m!==null&&m.tag===6?(e(v,m.sibling),E=n(m,y),E.return=v,v=E):(e(v,m),E=Uc(y,v.mode,E),E.return=v,v=E),c(v)):e(v,m)}return function(v,m,y,E){try{$a=0;var G=gl(v,m,y,E);return da=null,G}catch(Y){if(Y===ra||Y===Fn)throw Y;var il=ot(29,Y,null,v.mode);return il.lanes=E,il.return=v,il}finally{}}}var Le=Qs(!0),Xs=Qs(!1),fe=!1;function Jc(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wc(l,t){l=l.updateQueue,t.updateQueue===l&&(t.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function se(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function oe(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(ol&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Kn(l),Es(l,null,e),t}return Vn(l,a,t,e),Kn(l)}function Wa(l,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Uf(l,e)}}function $c(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var n=null,u=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,e=e.next}while(e!==null);u===null?n=u=t:u=u.next=t}else n=u=t;e={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},l.updateQueue=e;return}l=e.lastBaseUpdate,l===null?e.firstBaseUpdate=t:l.next=t,e.lastBaseUpdate=t}var kc=!1;function Fa(){if(kc){var l=oa;if(l!==null)throw l}}function Ia(l,t,e,a){kc=!1;var n=l.updateQueue;fe=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,i=n.shared.pending;if(i!==null){n.shared.pending=null;var o=i,b=o.next;o.next=null,c===null?u=b:c.next=b,c=o;var T=l.alternate;T!==null&&(T=T.updateQueue,i=T.lastBaseUpdate,i!==c&&(i===null?T.firstBaseUpdate=b:i.next=b,T.lastBaseUpdate=o))}if(u!==null){var A=n.baseState;c=0,T=b=o=null,i=u;do{var g=i.lane&-536870913,x=g!==i.lane;if(x?(el&g)===g:(a&g)===g){g!==0&&g===sa&&(kc=!0),T!==null&&(T=T.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});l:{var R=l,Q=i;g=t;var gl=e;switch(Q.tag){case 1:if(R=Q.payload,typeof R=="function"){A=R.call(gl,A,g);break l}A=R;break l;case 3:R.flags=R.flags&-65537|128;case 0:if(R=Q.payload,g=typeof R=="function"?R.call(gl,A,g):R,g==null)break l;A=O({},A,g);break l;case 2:fe=!0}}g=i.callback,g!==null&&(l.flags|=64,x&&(l.flags|=8192),x=n.callbacks,x===null?n.callbacks=[g]:x.push(g))}else x={lane:g,tag:i.tag,payload:i.payload,callback:i.callback,next:null},T===null?(b=T=x,o=A):T=T.next=x,c|=g;if(i=i.next,i===null){if(i=n.shared.pending,i===null)break;x=i,i=x.next,x.next=null,n.lastBaseUpdate=x,n.shared.pending=null}}while(!0);T===null&&(o=A),n.baseState=o,n.firstBaseUpdate=b,n.lastBaseUpdate=T,u===null&&(n.shared.lanes=0),ve|=c,l.lanes=c,l.memoizedState=A}}function Zs(l,t){if(typeof l!="function")throw Error(r(191,l));l.call(t)}function Vs(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Zs(e[l],t)}var ma=h(null),tu=h(0);function Ks(l,t){l=Ft,U(tu,l),U(ma,t),Ft=l|t.baseLanes}function Wc(){U(tu,Ft),U(ma,ma.current)}function Fc(){Ft=tu.current,M(ma),M(tu)}var rt=h(null),Nt=null;function re(l){var t=l.alternate;U(Ol,Ol.current&1),U(rt,l),Nt===null&&(t===null||ma.current!==null||t.memoizedState!==null)&&(Nt=l)}function Ic(l){U(Ol,Ol.current),U(rt,l),Nt===null&&(Nt=l)}function Js(l){l.tag===22?(U(Ol,Ol.current),U(rt,l),Nt===null&&(Nt=l)):de()}function de(){U(Ol,Ol.current),U(rt,rt.current)}function dt(l){M(rt),Nt===l&&(Nt=null),M(Ol)}var Ol=h(0);function eu(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||nf(e)||uf(e)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Zt=0,k=null,yl=null,Ul=null,au=!1,ha=!1,Qe=!1,nu=0,Pa=0,va=null,lh=0;function jl(){throw Error(r(321))}function Pc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!st(l[e],t[e]))return!1;return!0}function li(l,t,e,a,n,u){return Zt=u,k=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,z.H=l===null||l.memoizedState===null?Oo:vi,Qe=!1,u=e(a,n),Qe=!1,ha&&(u=$s(t,e,a,n)),ws(l),u}function ws(l){z.H=en;var t=yl!==null&&yl.next!==null;if(Zt=0,Ul=yl=k=null,au=!1,Pa=0,va=null,t)throw Error(r(300));l===null||Rl||(l=l.dependencies,l!==null&&$n(l)&&(Rl=!0))}function $s(l,t,e,a){k=l;var n=0;do{if(ha&&(va=null),Pa=0,ha=!1,25<=n)throw Error(r(301));if(n+=1,Ul=yl=null,l.updateQueue!=null){var u=l.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}z.H=Co,u=t(e,a)}while(ha);return u}function th(){var l=z.H,t=l.useState()[0];return t=typeof t.then=="function"?ln(t):t,l=l.useState()[0],(yl!==null?yl.memoizedState:null)!==l&&(k.flags|=1024),t}function ti(){var l=nu!==0;return nu=0,l}function ei(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function ai(l){if(au){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}au=!1}Zt=0,Ul=yl=k=null,ha=!1,Pa=nu=0,va=null}function $l(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ul===null?k.memoizedState=Ul=l:Ul=Ul.next=l,Ul}function Cl(){if(yl===null){var l=k.alternate;l=l!==null?l.memoizedState:null}else l=yl.next;var t=Ul===null?k.memoizedState:Ul.next;if(t!==null)Ul=t,yl=l;else{if(l===null)throw k.alternate===null?Error(r(467)):Error(r(310));yl=l,l={memoizedState:yl.memoizedState,baseState:yl.baseState,baseQueue:yl.baseQueue,queue:yl.queue,next:null},Ul===null?k.memoizedState=Ul=l:Ul=Ul.next=l}return Ul}function uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ln(l){var t=Pa;return Pa+=1,va===null&&(va=[]),l=Ys(va,l,t),t=k,(Ul===null?t.memoizedState:Ul.next)===null&&(t=t.alternate,z.H=t===null||t.memoizedState===null?Oo:vi),l}function cu(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return ln(l);if(l.$$typeof===vl)return Xl(l)}throw Error(r(438,String(l)))}function ni(l){var t=null,e=k.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=k.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=uu(),k.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(l),a=0;a<l;a++)e[a]=le;return t.index++,e}function Vt(l,t){return typeof t=="function"?t(l):t}function iu(l){var t=Cl();return ui(t,yl,l)}function ui(l,t,e){var a=l.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var n=l.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=l.baseState,n===null)l.memoizedState=u;else{t=n.next;var i=c=null,o=null,b=t,T=!1;do{var A=b.lane&-536870913;if(A!==b.lane?(el&A)===A:(Zt&A)===A){var g=b.revertLane;if(g===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),A===sa&&(T=!0);else if((Zt&g)===g){b=b.next,g===sa&&(T=!0);continue}else A={lane:0,revertLane:b.revertLane,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},o===null?(i=o=A,c=u):o=o.next=A,k.lanes|=g,ve|=g;A=b.action,Qe&&e(u,A),u=b.hasEagerState?b.eagerState:e(u,A)}else g={lane:A,revertLane:b.revertLane,gesture:b.gesture,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},o===null?(i=o=g,c=u):o=o.next=g,k.lanes|=A,ve|=A;b=b.next}while(b!==null&&b!==t);if(o===null?c=u:o.next=i,!st(u,l.memoizedState)&&(Rl=!0,T&&(e=oa,e!==null)))throw e;l.memoizedState=u,l.baseState=c,l.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function ci(l){var t=Cl(),e=t.queue;if(e===null)throw Error(r(311));e.lastRenderedReducer=l;var a=e.dispatch,n=e.pending,u=t.memoizedState;if(n!==null){e.pending=null;var c=n=n.next;do u=l(u,c.action),c=c.next;while(c!==n);st(u,t.memoizedState)||(Rl=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),e.lastRenderedState=u}return[u,a]}function ks(l,t,e){var a=k,n=Cl(),u=nl;if(u){if(e===void 0)throw Error(r(407));e=e()}else e=t();var c=!st((yl||n).memoizedState,e);if(c&&(n.memoizedState=e,Rl=!0),n=n.queue,si(Is.bind(null,a,n,l),[l]),n.getSnapshot!==t||c||Ul!==null&&Ul.memoizedState.tag&1){if(a.flags|=2048,ya(9,{destroy:void 0},Fs.bind(null,a,n,e,t),null),pl===null)throw Error(r(349));u||(Zt&127)!==0||Ws(a,t,e)}return e}function Ws(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=k.updateQueue,t===null?(t=uu(),k.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Fs(l,t,e,a){t.value=e,t.getSnapshot=a,Ps(t)&&lo(l)}function Is(l,t,e){return e(function(){Ps(t)&&lo(l)})}function Ps(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!st(l,e)}catch{return!0}}function lo(l){var t=De(l,2);t!==null&&ut(t,l,2)}function ii(l){var t=$l();if(typeof l=="function"){var e=l;if(l=e(),Qe){te(!0);try{e()}finally{te(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:l},t}function to(l,t,e,a){return l.baseState=e,ui(l,yl,typeof a=="function"?a:Vt)}function eh(l,t,e,a,n){if(ou(l))throw Error(r(485));if(l=t.action,l!==null){var u={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};z.T!==null?e(!0):u.isTransition=!1,a(u),e=t.pending,e===null?(u.next=t.pending=u,eo(t,u)):(u.next=e.next,t.pending=e.next=u)}}function eo(l,t){var e=t.action,a=t.payload,n=l.state;if(t.isTransition){var u=z.T,c={};z.T=c;try{var i=e(n,a),o=z.S;o!==null&&o(c,i),ao(l,t,i)}catch(b){fi(l,t,b)}finally{u!==null&&c.types!==null&&(u.types=c.types),z.T=u}}else try{u=e(n,a),ao(l,t,u)}catch(b){fi(l,t,b)}}function ao(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){no(l,t,a)},function(a){return fi(l,t,a)}):no(l,t,e)}function no(l,t,e){t.status="fulfilled",t.value=e,uo(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,eo(l,e)))}function fi(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,uo(t),t=t.next;while(t!==a)}l.action=null}function uo(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function co(l,t){return t}function io(l,t){if(nl){var e=pl.formState;if(e!==null){l:{var a=k;if(nl){if(Tl){t:{for(var n=Tl,u=zt;n.nodeType!==8;){if(!u){n=null;break t}if(n=Et(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Tl=Et(n.nextSibling),a=n.data==="F!";break l}}ce(a)}a=!1}a&&(t=e[0])}}return e=$l(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:co,lastRenderedState:t},e.queue=a,e=jo.bind(null,k,a),a.dispatch=e,a=ii(!1),u=hi.bind(null,k,!1,a.queue),a=$l(),n={state:t,dispatch:null,action:l,pending:null},a.queue=n,e=eh.bind(null,k,n,u,e),n.dispatch=e,a.memoizedState=l,[t,e,!1]}function fo(l){var t=Cl();return so(t,yl,l)}function so(l,t,e){if(t=ui(l,t,co)[0],l=iu(Vt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=ln(t)}catch(c){throw c===ra?Fn:c}else a=t;t=Cl();var n=t.queue,u=n.dispatch;return e!==t.memoizedState&&(k.flags|=2048,ya(9,{destroy:void 0},ah.bind(null,n,e),null)),[a,u,l]}function ah(l,t){l.action=t}function oo(l){var t=Cl(),e=yl;if(e!==null)return so(t,e,l);Cl(),t=t.memoizedState,e=Cl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function ya(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=k.updateQueue,t===null&&(t=uu(),k.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=l.next=l:(a=e.next,e.next=l,l.next=a,t.lastEffect=l),l}function ro(){return Cl().memoizedState}function fu(l,t,e,a){var n=$l();k.flags|=l,n.memoizedState=ya(1|t,{destroy:void 0},e,a===void 0?null:a)}function su(l,t,e,a){var n=Cl();a=a===void 0?null:a;var u=n.memoizedState.inst;yl!==null&&a!==null&&Pc(a,yl.memoizedState.deps)?n.memoizedState=ya(t,u,e,a):(k.flags|=l,n.memoizedState=ya(1|t,u,e,a))}function mo(l,t){fu(8390656,8,l,t)}function si(l,t){su(2048,8,l,t)}function nh(l){k.flags|=4;var t=k.updateQueue;if(t===null)t=uu(),k.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function ho(l){var t=Cl().memoizedState;return nh({ref:t,nextImpl:l}),function(){if((ol&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function vo(l,t){return su(4,2,l,t)}function yo(l,t){return su(4,4,l,t)}function bo(l,t){if(typeof t=="function"){l=l();var e=t(l);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function go(l,t,e){e=e!=null?e.concat([l]):null,su(4,4,bo.bind(null,t,l),e)}function oi(){}function So(l,t){var e=Cl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Pc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function po(l,t){var e=Cl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Pc(t,a[1]))return a[0];if(a=l(),Qe){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a}function ri(l,t,e){return e===void 0||(Zt&1073741824)!==0&&(el&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=xr(),k.lanes|=l,ve|=l,e)}function xo(l,t,e,a){return st(e,t)?e:ma.current!==null?(l=ri(l,e,a),st(l,t)||(Rl=!0),l):(Zt&42)===0||(Zt&1073741824)!==0&&(el&261930)===0?(Rl=!0,l.memoizedState=e):(l=xr(),k.lanes|=l,ve|=l,t)}function To(l,t,e,a,n){var u=D.p;D.p=u!==0&&8>u?u:8;var c=z.T,i={};z.T=i,hi(l,!1,t,e);try{var o=n(),b=z.S;if(b!==null&&b(i,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var T=Pm(o,a);tn(l,t,T,vt(l))}else tn(l,t,a,vt(l))}catch(A){tn(l,t,{then:function(){},status:"rejected",reason:A},vt())}finally{D.p=u,c!==null&&i.types!==null&&(c.types=i.types),z.T=c}}function uh(){}function di(l,t,e,a){if(l.tag!==5)throw Error(r(476));var n=zo(l).queue;To(l,n,t,Z,e===null?uh:function(){return No(l),e(a)})}function zo(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:Z},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function No(l){var t=zo(l);t.next===null&&(t=l.alternate.memoizedState),tn(l,t.next.queue,{},vt())}function mi(){return Xl(Sn)}function Eo(){return Cl().memoizedState}function Ao(){return Cl().memoizedState}function ch(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=vt();l=se(e);var a=oe(t,l,e);a!==null&&(ut(a,t,e),Wa(a,t,e)),t={cache:Xc()},l.payload=t;return}t=t.return}}function ih(l,t,e){var a=vt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},ou(l)?Mo(t,e):(e=Cc(l,t,e,a),e!==null&&(ut(e,l,a),_o(e,t,a)))}function jo(l,t,e){var a=vt();tn(l,t,e,a)}function tn(l,t,e,a){var n={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(ou(l))Mo(t,n);else{var u=l.alternate;if(l.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,i=u(c,e);if(n.hasEagerState=!0,n.eagerState=i,st(i,c))return Vn(l,t,n,0),pl===null&&Zn(),!1}catch{}finally{}if(e=Cc(l,t,n,a),e!==null)return ut(e,l,a),_o(e,t,a),!0}return!1}function hi(l,t,e,a){if(a={lane:2,revertLane:Ji(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ou(l)){if(t)throw Error(r(479))}else t=Cc(l,e,a,2),t!==null&&ut(t,l,2)}function ou(l){var t=l.alternate;return l===k||t!==null&&t===k}function Mo(l,t){ha=au=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function _o(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Uf(l,e)}}var en={readContext:Xl,use:cu,useCallback:jl,useContext:jl,useEffect:jl,useImperativeHandle:jl,useLayoutEffect:jl,useInsertionEffect:jl,useMemo:jl,useReducer:jl,useRef:jl,useState:jl,useDebugValue:jl,useDeferredValue:jl,useTransition:jl,useSyncExternalStore:jl,useId:jl,useHostTransitionStatus:jl,useFormState:jl,useActionState:jl,useOptimistic:jl,useMemoCache:jl,useCacheRefresh:jl};en.useEffectEvent=jl;var Oo={readContext:Xl,use:cu,useCallback:function(l,t){return $l().memoizedState=[l,t===void 0?null:t],l},useContext:Xl,useEffect:mo,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,fu(4194308,4,bo.bind(null,t,l),e)},useLayoutEffect:function(l,t){return fu(4194308,4,l,t)},useInsertionEffect:function(l,t){fu(4,2,l,t)},useMemo:function(l,t){var e=$l();t=t===void 0?null:t;var a=l();if(Qe){te(!0);try{l()}finally{te(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=$l();if(e!==void 0){var n=e(t);if(Qe){te(!0);try{e(t)}finally{te(!1)}}}else n=t;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=ih.bind(null,k,l),[a.memoizedState,l]},useRef:function(l){var t=$l();return l={current:l},t.memoizedState=l},useState:function(l){l=ii(l);var t=l.queue,e=jo.bind(null,k,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:oi,useDeferredValue:function(l,t){var e=$l();return ri(e,l,t)},useTransition:function(){var l=ii(!1);return l=To.bind(null,k,l.queue,!0,!1),$l().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=k,n=$l();if(nl){if(e===void 0)throw Error(r(407));e=e()}else{if(e=t(),pl===null)throw Error(r(349));(el&127)!==0||Ws(a,t,e)}n.memoizedState=e;var u={value:e,getSnapshot:t};return n.queue=u,mo(Is.bind(null,a,u,l),[l]),a.flags|=2048,ya(9,{destroy:void 0},Fs.bind(null,a,u,e,t),null),e},useId:function(){var l=$l(),t=pl.identifierPrefix;if(nl){var e=Ct,a=Ot;e=(a&~(1<<32-ft(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=nu++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=lh++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:mi,useFormState:io,useActionState:io,useOptimistic:function(l){var t=$l();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=hi.bind(null,k,!0,e),e.dispatch=t,[l,t]},useMemoCache:ni,useCacheRefresh:function(){return $l().memoizedState=ch.bind(null,k)},useEffectEvent:function(l){var t=$l(),e={impl:l};return t.memoizedState=e,function(){if((ol&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}},vi={readContext:Xl,use:cu,useCallback:So,useContext:Xl,useEffect:si,useImperativeHandle:go,useInsertionEffect:vo,useLayoutEffect:yo,useMemo:po,useReducer:iu,useRef:ro,useState:function(){return iu(Vt)},useDebugValue:oi,useDeferredValue:function(l,t){var e=Cl();return xo(e,yl.memoizedState,l,t)},useTransition:function(){var l=iu(Vt)[0],t=Cl().memoizedState;return[typeof l=="boolean"?l:ln(l),t]},useSyncExternalStore:ks,useId:Eo,useHostTransitionStatus:mi,useFormState:fo,useActionState:fo,useOptimistic:function(l,t){var e=Cl();return to(e,yl,l,t)},useMemoCache:ni,useCacheRefresh:Ao};vi.useEffectEvent=ho;var Co={readContext:Xl,use:cu,useCallback:So,useContext:Xl,useEffect:si,useImperativeHandle:go,useInsertionEffect:vo,useLayoutEffect:yo,useMemo:po,useReducer:ci,useRef:ro,useState:function(){return ci(Vt)},useDebugValue:oi,useDeferredValue:function(l,t){var e=Cl();return yl===null?ri(e,l,t):xo(e,yl.memoizedState,l,t)},useTransition:function(){var l=ci(Vt)[0],t=Cl().memoizedState;return[typeof l=="boolean"?l:ln(l),t]},useSyncExternalStore:ks,useId:Eo,useHostTransitionStatus:mi,useFormState:oo,useActionState:oo,useOptimistic:function(l,t){var e=Cl();return yl!==null?to(e,yl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:ni,useCacheRefresh:Ao};Co.useEffectEvent=ho;function yi(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:O({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var bi={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=vt(),n=se(a);n.payload=t,e!=null&&(n.callback=e),t=oe(l,n,a),t!==null&&(ut(t,l,a),Wa(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=vt(),n=se(a);n.tag=1,n.payload=t,e!=null&&(n.callback=e),t=oe(l,n,a),t!==null&&(ut(t,l,a),Wa(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=vt(),a=se(e);a.tag=2,t!=null&&(a.callback=t),t=oe(l,a,e),t!==null&&(ut(t,l,e),Wa(t,l,e))}};function Do(l,t,e,a,n,u,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!Xa(e,a)||!Xa(n,u):!0}function Uo(l,t,e,a){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,a),t.state!==l&&bi.enqueueReplaceState(t,t.state,null)}function Xe(l,t){var e=t;if("ref"in t){e={};for(var a in t)a!=="ref"&&(e[a]=t[a])}if(l=l.defaultProps){e===t&&(e=O({},e));for(var n in l)e[n]===void 0&&(e[n]=l[n])}return e}function Ro(l){Xn(l)}function Ho(l){console.error(l)}function Bo(l){Xn(l)}function ru(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function qo(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function gi(l,t,e){return e=se(e),e.tag=3,e.payload={element:null},e.callback=function(){ru(l,t)},e}function Yo(l){return l=se(l),l.tag=3,l}function Go(l,t,e,a){var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;l.payload=function(){return n(u)},l.callback=function(){qo(t,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){qo(t,e,a),typeof n!="function"&&(ye===null?ye=new Set([this]):ye.add(this));var i=a.stack;this.componentDidCatch(a.value,{componentStack:i!==null?i:""})})}function fh(l,t,e,a,n){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&fa(t,e,n,!0),e=rt.current,e!==null){switch(e.tag){case 31:case 13:return Nt===null?zu():e.alternate===null&&Ml===0&&(Ml=3),e.flags&=-257,e.flags|=65536,e.lanes=n,a===In?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Zi(l,a,n)),!1;case 22:return e.flags|=65536,a===In?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([a]):e.add(a)),Zi(l,a,n)),!1}throw Error(r(435,e.tag))}return Zi(l,a,n),zu(),!1}if(nl)return t=rt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==qc&&(l=Error(r(422),{cause:a}),Ka(pt(l,e)))):(a!==qc&&(t=Error(r(423),{cause:a}),Ka(pt(t,e))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=pt(a,e),n=gi(l.stateNode,a,n),$c(l,n),Ml!==4&&(Ml=2)),!1;var u=Error(r(520),{cause:a});if(u=pt(u,e),rn===null?rn=[u]:rn.push(u),Ml!==4&&(Ml=2),t===null)return!0;a=pt(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=n&-n,e.lanes|=l,l=gi(e.stateNode,a,l),$c(e,l),!1;case 1:if(t=e.type,u=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ye===null||!ye.has(u))))return e.flags|=65536,n&=-n,e.lanes|=n,n=Yo(n),Go(n,l,e,a),$c(e,n),!1}e=e.return}while(e!==null);return!1}var Si=Error(r(461)),Rl=!1;function Zl(l,t,e,a){t.child=l===null?Xs(t,null,e,a):Le(t,l.child,e,a)}function Lo(l,t,e,a,n){e=e.render;var u=t.ref;if("ref"in a){var c={};for(var i in a)i!=="ref"&&(c[i]=a[i])}else c=a;return Be(t),a=li(l,t,e,c,u,n),i=ti(),l!==null&&!Rl?(ei(l,t,n),Kt(l,t,n)):(nl&&i&&Hc(t),t.flags|=1,Zl(l,t,a,n),t.child)}function Qo(l,t,e,a,n){if(l===null){var u=e.type;return typeof u=="function"&&!Dc(u)&&u.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=u,Xo(l,t,u,a,n)):(l=Jn(e.type,null,a,t,t.mode,n),l.ref=t.ref,l.return=t,t.child=l)}if(u=l.child,!ji(l,n)){var c=u.memoizedProps;if(e=e.compare,e=e!==null?e:Xa,e(c,a)&&l.ref===t.ref)return Kt(l,t,n)}return t.flags|=1,l=Gt(u,a),l.ref=t.ref,l.return=t,t.child=l}function Xo(l,t,e,a,n){if(l!==null){var u=l.memoizedProps;if(Xa(u,a)&&l.ref===t.ref)if(Rl=!1,t.pendingProps=a=u,ji(l,n))(l.flags&131072)!==0&&(Rl=!0);else return t.lanes=l.lanes,Kt(l,t,n)}return pi(l,t,e,a,n)}function Zo(l,t,e,a){var n=a.children,u=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|e:e,l!==null){for(a=t.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return Vo(l,t,u,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Wn(t,u!==null?u.cachePool:null),u!==null?Ks(t,u):Wc(),Js(t);else return a=t.lanes=536870912,Vo(l,t,u!==null?u.baseLanes|e:e,e,a)}else u!==null?(Wn(t,u.cachePool),Ks(t,u),de(),t.memoizedState=null):(l!==null&&Wn(t,null),Wc(),de());return Zl(l,t,n,e),t.child}function an(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Vo(l,t,e,a,n){var u=Vc();return u=u===null?null:{parent:Dl._currentValue,pool:u},t.memoizedState={baseLanes:e,cachePool:u},l!==null&&Wn(t,null),Wc(),Js(t),l!==null&&fa(l,t,a,!0),t.childLanes=n,null}function du(l,t){return t=hu({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Ko(l,t,e){return Le(t,l.child,null,e),l=du(t,t.pendingProps),l.flags|=2,dt(t),t.memoizedState=null,l}function sh(l,t,e){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(nl){if(a.mode==="hidden")return l=du(t,a),t.lanes=536870912,an(null,l);if(Ic(t),(l=Tl)?(l=ad(l,zt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Ot,overflow:Ct}:null,retryLane:536870912,hydrationErrors:null},e=js(l),e.return=t,t.child=e,Ql=t,Tl=null)):l=null,l===null)throw ce(t);return t.lanes=536870912,null}return du(t,a)}var u=l.memoizedState;if(u!==null){var c=u.dehydrated;if(Ic(t),n)if(t.flags&256)t.flags&=-257,t=Ko(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(r(558));else if(Rl||fa(l,t,e,!1),n=(e&l.childLanes)!==0,Rl||n){if(a=pl,a!==null&&(c=Rf(a,e),c!==0&&c!==u.retryLane))throw u.retryLane=c,De(l,c),ut(a,l,c),Si;zu(),t=Ko(l,t,e)}else l=u.treeContext,Tl=Et(c.nextSibling),Ql=t,nl=!0,ue=null,zt=!1,l!==null&&Os(t,l),t=du(t,a),t.flags|=4096;return t}return l=Gt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function mu(l,t){var e=t.ref;if(e===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(r(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function pi(l,t,e,a,n){return Be(t),e=li(l,t,e,a,void 0,n),a=ti(),l!==null&&!Rl?(ei(l,t,n),Kt(l,t,n)):(nl&&a&&Hc(t),t.flags|=1,Zl(l,t,e,n),t.child)}function Jo(l,t,e,a,n,u){return Be(t),t.updateQueue=null,e=$s(t,a,e,n),ws(l),a=ti(),l!==null&&!Rl?(ei(l,t,u),Kt(l,t,u)):(nl&&a&&Hc(t),t.flags|=1,Zl(l,t,e,u),t.child)}function wo(l,t,e,a,n){if(Be(t),t.stateNode===null){var u=na,c=e.contextType;typeof c=="object"&&c!==null&&(u=Xl(c)),u=new e(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=bi,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Jc(t),c=e.contextType,u.context=typeof c=="object"&&c!==null?Xl(c):na,u.state=t.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(yi(t,e,c,a),u.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&bi.enqueueReplaceState(u,u.state,null),Ia(t,a,u,n),Fa(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){u=t.stateNode;var i=t.memoizedProps,o=Xe(e,i);u.props=o;var b=u.context,T=e.contextType;c=na,typeof T=="object"&&T!==null&&(c=Xl(T));var A=e.getDerivedStateFromProps;T=typeof A=="function"||typeof u.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,T||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i||b!==c)&&Uo(t,u,a,c),fe=!1;var g=t.memoizedState;u.state=g,Ia(t,a,u,n),Fa(),b=t.memoizedState,i||g!==b||fe?(typeof A=="function"&&(yi(t,e,A,a),b=t.memoizedState),(o=fe||Do(t,e,o,a,g,b,c))?(T||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=b),u.props=a,u.state=b,u.context=c,a=o):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,wc(l,t),c=t.memoizedProps,T=Xe(e,c),u.props=T,A=t.pendingProps,g=u.context,b=e.contextType,o=na,typeof b=="object"&&b!==null&&(o=Xl(b)),i=e.getDerivedStateFromProps,(b=typeof i=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==A||g!==o)&&Uo(t,u,a,o),fe=!1,g=t.memoizedState,u.state=g,Ia(t,a,u,n),Fa();var x=t.memoizedState;c!==A||g!==x||fe||l!==null&&l.dependencies!==null&&$n(l.dependencies)?(typeof i=="function"&&(yi(t,e,i,a),x=t.memoizedState),(T=fe||Do(t,e,T,a,g,x,o)||l!==null&&l.dependencies!==null&&$n(l.dependencies))?(b||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,x,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,x,o)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),u.props=a,u.state=x,u.context=o,a=T):(typeof u.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(t.flags|=1024),a=!1)}return u=a,mu(l,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,l!==null&&a?(t.child=Le(t,l.child,null,n),t.child=Le(t,null,e,n)):Zl(l,t,e,n),t.memoizedState=u.state,l=t.child):l=Kt(l,t,n),l}function $o(l,t,e,a){return Re(),t.flags|=256,Zl(l,t,e,a),t.child}var xi={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ti(l){return{baseLanes:l,cachePool:Bs()}}function zi(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=ht),l}function ko(l,t,e){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=l!==null&&l.memoizedState===null?!1:(Ol.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,l===null){if(nl){if(n?re(t):de(),(l=Tl)?(l=ad(l,zt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Ot,overflow:Ct}:null,retryLane:536870912,hydrationErrors:null},e=js(l),e.return=t,t.child=e,Ql=t,Tl=null)):l=null,l===null)throw ce(t);return uf(l)?t.lanes=32:t.lanes=536870912,null}var i=a.children;return a=a.fallback,n?(de(),n=t.mode,i=hu({mode:"hidden",children:i},n),a=Ue(a,n,e,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=Ti(e),a.childLanes=zi(l,c,e),t.memoizedState=xi,an(null,a)):(re(t),Ni(t,i))}var o=l.memoizedState;if(o!==null&&(i=o.dehydrated,i!==null)){if(u)t.flags&256?(re(t),t.flags&=-257,t=Ei(l,t,e)):t.memoizedState!==null?(de(),t.child=l.child,t.flags|=128,t=null):(de(),i=a.fallback,n=t.mode,a=hu({mode:"visible",children:a.children},n),i=Ue(i,n,e,null),i.flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,Le(t,l.child,null,e),a=t.child,a.memoizedState=Ti(e),a.childLanes=zi(l,c,e),t.memoizedState=xi,t=an(null,a));else if(re(t),uf(i)){if(c=i.nextSibling&&i.nextSibling.dataset,c)var b=c.dgst;c=b,a=Error(r(419)),a.stack="",a.digest=c,Ka({value:a,source:null,stack:null}),t=Ei(l,t,e)}else if(Rl||fa(l,t,e,!1),c=(e&l.childLanes)!==0,Rl||c){if(c=pl,c!==null&&(a=Rf(c,e),a!==0&&a!==o.retryLane))throw o.retryLane=a,De(l,a),ut(c,l,a),Si;nf(i)||zu(),t=Ei(l,t,e)}else nf(i)?(t.flags|=192,t.child=l.child,t=null):(l=o.treeContext,Tl=Et(i.nextSibling),Ql=t,nl=!0,ue=null,zt=!1,l!==null&&Os(t,l),t=Ni(t,a.children),t.flags|=4096);return t}return n?(de(),i=a.fallback,n=t.mode,o=l.child,b=o.sibling,a=Gt(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,b!==null?i=Gt(b,i):(i=Ue(i,n,e,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,an(null,a),a=t.child,i=l.child.memoizedState,i===null?i=Ti(e):(n=i.cachePool,n!==null?(o=Dl._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=Bs(),i={baseLanes:i.baseLanes|e,cachePool:n}),a.memoizedState=i,a.childLanes=zi(l,c,e),t.memoizedState=xi,an(l.child,a)):(re(t),e=l.child,l=e.sibling,e=Gt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(c=t.deletions,c===null?(t.deletions=[l],t.flags|=16):c.push(l)),t.child=e,t.memoizedState=null,e)}function Ni(l,t){return t=hu({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function hu(l,t){return l=ot(22,l,null,t),l.lanes=0,l}function Ei(l,t,e){return Le(t,l.child,null,e),l=Ni(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Wo(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Lc(l.return,t,e)}function Ai(l,t,e,a,n,u){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=n,c.treeForkCount=u)}function Fo(l,t,e){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=Ol.current,i=(c&2)!==0;if(i?(c=c&1|2,t.flags|=128):c&=1,U(Ol,c),Zl(l,t,a,e),a=nl?Va:0,!i&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Wo(l,e,t);else if(l.tag===19)Wo(l,e,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(e=t.child,n=null;e!==null;)l=e.alternate,l!==null&&eu(l)===null&&(n=e),e=e.sibling;e=n,e===null?(n=t.child,t.child=null):(n=e.sibling,e.sibling=null),Ai(t,!1,n,e,u,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,n=t.child,t.child=null;n!==null;){if(l=n.alternate,l!==null&&eu(l)===null){t.child=n;break}l=n.sibling,n.sibling=e,e=n,n=l}Ai(t,!0,e,null,u,a);break;case"together":Ai(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Kt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),ve|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(fa(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(r(153));if(t.child!==null){for(l=t.child,e=Gt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Gt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function ji(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&$n(l)))}function oh(l,t,e){switch(t.tag){case 3:Nl(t,t.stateNode.containerInfo),ie(t,Dl,l.memoizedState.cache),Re();break;case 27:case 5:Ht(t);break;case 4:Nl(t,t.stateNode.containerInfo);break;case 10:ie(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ic(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(re(t),t.flags|=128,null):(e&t.child.childLanes)!==0?ko(l,t,e):(re(t),l=Kt(l,t,e),l!==null?l.sibling:null);re(t);break;case 19:var n=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(fa(l,t,e,!1),a=(e&t.childLanes)!==0),n){if(a)return Fo(l,t,e);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),U(Ol,Ol.current),a)break;return null;case 22:return t.lanes=0,Zo(l,t,e,t.pendingProps);case 24:ie(t,Dl,l.memoizedState.cache)}return Kt(l,t,e)}function Io(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Rl=!0;else{if(!ji(l,e)&&(t.flags&128)===0)return Rl=!1,oh(l,t,e);Rl=(l.flags&131072)!==0}else Rl=!1,nl&&(t.flags&1048576)!==0&&_s(t,Va,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Ye(t.elementType),t.type=l,typeof l=="function")Dc(l)?(a=Xe(l,a),t.tag=1,t=wo(null,t,l,a,e)):(t.tag=0,t=pi(null,t,l,a,e));else{if(l!=null){var n=l.$$typeof;if(n===$){t.tag=11,t=Lo(null,t,l,a,e);break l}else if(n===J){t.tag=14,t=Qo(null,t,l,a,e);break l}}throw t=Il(l)||l,Error(r(306,t,""))}}return t;case 0:return pi(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,n=Xe(a,t.pendingProps),wo(l,t,a,n,e);case 3:l:{if(Nl(t,t.stateNode.containerInfo),l===null)throw Error(r(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,wc(l,t),Ia(t,a,null,e);var c=t.memoizedState;if(a=c.cache,ie(t,Dl,a),a!==u.cache&&Qc(t,[Dl],e,!0),Fa(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=$o(l,t,a,e);break l}else if(a!==n){n=pt(Error(r(424)),t),Ka(n),t=$o(l,t,a,e);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Tl=Et(l.firstChild),Ql=t,nl=!0,ue=null,zt=!0,e=Xs(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Re(),a===n){t=Kt(l,t,e);break l}Zl(l,t,a,e)}t=t.child}return t;case 26:return mu(l,t),l===null?(e=sd(t.type,null,t.pendingProps,null))?t.memoizedState=e:nl||(e=t.type,l=t.pendingProps,a=Ou(V.current).createElement(e),a[Ll]=t,a[Pl]=l,Vl(a,e,l),Yl(a),t.stateNode=a):t.memoizedState=sd(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ht(t),l===null&&nl&&(a=t.stateNode=cd(t.type,t.pendingProps,V.current),Ql=t,zt=!0,n=Tl,pe(t.type)?(cf=n,Tl=Et(a.firstChild)):Tl=n),Zl(l,t,t.pendingProps.children,e),mu(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&nl&&((n=a=Tl)&&(a=Lh(a,t.type,t.pendingProps,zt),a!==null?(t.stateNode=a,Ql=t,Tl=Et(a.firstChild),zt=!1,n=!0):n=!1),n||ce(t)),Ht(t),n=t.type,u=t.pendingProps,c=l!==null?l.memoizedProps:null,a=u.children,tf(n,u)?a=null:c!==null&&tf(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=li(l,t,th,null,null,e),Sn._currentValue=n),mu(l,t),Zl(l,t,a,e),t.child;case 6:return l===null&&nl&&((l=e=Tl)&&(e=Qh(e,t.pendingProps,zt),e!==null?(t.stateNode=e,Ql=t,Tl=null,l=!0):l=!1),l||ce(t)),null;case 13:return ko(l,t,e);case 4:return Nl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Le(t,null,a,e):Zl(l,t,a,e),t.child;case 11:return Lo(l,t,t.type,t.pendingProps,e);case 7:return Zl(l,t,t.pendingProps,e),t.child;case 8:return Zl(l,t,t.pendingProps.children,e),t.child;case 12:return Zl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,ie(t,t.type,a.value),Zl(l,t,a.children,e),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Be(t),n=Xl(n),a=a(n),t.flags|=1,Zl(l,t,a,e),t.child;case 14:return Qo(l,t,t.type,t.pendingProps,e);case 15:return Xo(l,t,t.type,t.pendingProps,e);case 19:return Fo(l,t,e);case 31:return sh(l,t,e);case 22:return Zo(l,t,e,t.pendingProps);case 24:return Be(t),a=Xl(Dl),l===null?(n=Vc(),n===null&&(n=pl,u=Xc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=e),n=u),t.memoizedState={parent:a,cache:n},Jc(t),ie(t,Dl,n)):((l.lanes&e)!==0&&(wc(l,t),Ia(t,null,null,e),Fa()),n=l.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ie(t,Dl,a)):(a=u.cache,ie(t,Dl,a),a!==n.cache&&Qc(t,[Dl],e,!0))),Zl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function Jt(l){l.flags|=4}function Mi(l,t,e,a,n){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Er())l.flags|=8192;else throw Ge=In,Kc}else l.flags&=-16777217}function Po(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!hd(t))if(Er())l.flags|=8192;else throw Ge=In,Kc}function vu(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Cf():536870912,l.lanes|=t,pa|=t)}function nn(l,t){if(!nl)switch(l.tailMode){case"hidden":t=l.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?l.tail=null:e.sibling=null;break;case"collapsed":e=l.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function zl(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)e|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function rh(l,t,e){var a=t.pendingProps;switch(Bc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zl(t),null;case 1:return zl(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Xt(Dl),rl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ia(t)?Jt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Yc())),zl(t),null;case 26:var n=t.type,u=t.memoizedState;return l===null?(Jt(t),u!==null?(zl(t),Po(t,u)):(zl(t),Mi(t,n,null,a,e))):u?u!==l.memoizedState?(Jt(t),zl(t),Po(t,u)):(zl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Jt(t),zl(t),Mi(t,n,l,a,e)),null;case 27:if(An(t),e=V.current,n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return zl(t),null}l=H.current,ia(t)?Cs(t):(l=cd(n,a,e),t.stateNode=l,Jt(t))}return zl(t),null;case 5:if(An(t),n=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return zl(t),null}if(u=H.current,ia(t))Cs(t);else{var c=Ou(V.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Ll]=t,u[Pl]=a;l:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break l;for(;c.sibling===null;){if(c.return===null||c.return===t)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;l:switch(Vl(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Jt(t)}}return zl(t),Mi(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Jt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(l=V.current,ia(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,n=Ql,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Ll]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||kr(l.nodeValue,e)),l||ce(t,!0)}else l=Ou(l).createTextNode(a),l[Ll]=t,t.stateNode=l}return zl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ia(t),e!==null){if(l===null){if(!a)throw Error(r(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(557));l[Ll]=t}else Re(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;zl(t),l=!1}else e=Yc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(dt(t),t):(dt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return zl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=ia(t),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[Ll]=t}else Re(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;zl(t),n=!1}else n=Yc(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(dt(t),t):(dt(t),null)}return dt(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),vu(t,t.updateQueue),zl(t),null);case 4:return rl(),l===null&&Wi(t.stateNode.containerInfo),zl(t),null;case 10:return Xt(t.type),zl(t),null;case 19:if(M(Ol),a=t.memoizedState,a===null)return zl(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)nn(a,!1);else{if(Ml!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(u=eu(l),u!==null){for(t.flags|=128,nn(a,!1),l=u.updateQueue,t.updateQueue=l,vu(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)As(e,l),e=e.sibling;return U(Ol,Ol.current&1|2),nl&&Lt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&ct()>pu&&(t.flags|=128,n=!0,nn(a,!1),t.lanes=4194304)}else{if(!n)if(l=eu(u),l!==null){if(t.flags|=128,n=!0,l=l.updateQueue,t.updateQueue=l,vu(t,l),nn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!nl)return zl(t),null}else 2*ct()-a.renderingStartTime>pu&&e!==536870912&&(t.flags|=128,n=!0,nn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(l=a.last,l!==null?l.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=ct(),l.sibling=null,e=Ol.current,U(Ol,n?e&1|2:e&1),nl&&Lt(t,a.treeForkCount),l):(zl(t),null);case 22:case 23:return dt(t),Fc(),a=t.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(e&536870912)!==0&&(t.flags&128)===0&&(zl(t),t.subtreeFlags&6&&(t.flags|=8192)):zl(t),e=t.updateQueue,e!==null&&vu(t,e.retryQueue),e=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==e&&(t.flags|=2048),l!==null&&M(qe),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Xt(Dl),zl(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function dh(l,t){switch(Bc(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Xt(Dl),rl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return An(t),null;case 31:if(t.memoizedState!==null){if(dt(t),t.alternate===null)throw Error(r(340));Re()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(dt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Re()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return M(Ol),null;case 4:return rl(),null;case 10:return Xt(t.type),null;case 22:case 23:return dt(t),Fc(),l!==null&&M(qe),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Xt(Dl),null;case 25:return null;default:return null}}function lr(l,t){switch(Bc(t),t.tag){case 3:Xt(Dl),rl();break;case 26:case 27:case 5:An(t);break;case 4:rl();break;case 31:t.memoizedState!==null&&dt(t);break;case 13:dt(t);break;case 19:M(Ol);break;case 10:Xt(t.type);break;case 22:case 23:dt(t),Fc(),l!==null&&M(qe);break;case 24:Xt(Dl)}}function un(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var n=a.next;e=n;do{if((e.tag&l)===l){a=void 0;var u=e.create,c=e.inst;a=u(),c.destroy=a}e=e.next}while(e!==n)}}catch(i){hl(t,t.return,i)}}function me(l,t,e){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&l)===l){var c=a.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,n=t;var o=e,b=i;try{b()}catch(T){hl(n,o,T)}}}a=a.next}while(a!==u)}}catch(T){hl(t,t.return,T)}}function tr(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Vs(t,e)}catch(a){hl(l,l.return,a)}}}function er(l,t,e){e.props=Xe(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){hl(l,t,a)}}function cn(l,t){try{var e=l.ref;if(e!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof e=="function"?l.refCleanup=e(a):e.current=a}}catch(n){hl(l,t,n)}}function Dt(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(n){hl(l,t,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(n){hl(l,t,n)}else e.current=null}function ar(l){var t=l.type,e=l.memoizedProps,a=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break l;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(n){hl(l,l.return,n)}}function _i(l,t,e){try{var a=l.stateNode;Rh(a,l.type,e,t),a[Pl]=t}catch(n){hl(l,l.return,n)}}function nr(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pe(l.type)||l.tag===4}function Oi(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||nr(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&pe(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Ci(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(l,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(l),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=qt));else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Ci(l,t,e),l=l.sibling;l!==null;)Ci(l,t,e),l=l.sibling}function yu(l,t,e){var a=l.tag;if(a===5||a===6)l=l.stateNode,t?e.insertBefore(l,t):e.appendChild(l);else if(a!==4&&(a===27&&pe(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(yu(l,t,e),l=l.sibling;l!==null;)yu(l,t,e),l=l.sibling}function ur(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Vl(t,a,e),t[Ll]=l,t[Pl]=e}catch(u){hl(l,l.return,u)}}var wt=!1,Hl=!1,Di=!1,cr=typeof WeakSet=="function"?WeakSet:Set,Gl=null;function mh(l,t){if(l=l.containerInfo,Pi=qu,l=bs(l),Ec(l)){if("selectionStart"in l)var e={start:l.selectionStart,end:l.selectionEnd};else l:{e=(e=l.ownerDocument)&&e.defaultView||window;var a=e.getSelection&&e.getSelection();if(a&&a.rangeCount!==0){e=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{e.nodeType,u.nodeType}catch{e=null;break l}var c=0,i=-1,o=-1,b=0,T=0,A=l,g=null;t:for(;;){for(var x;A!==e||n!==0&&A.nodeType!==3||(i=c+n),A!==u||a!==0&&A.nodeType!==3||(o=c+a),A.nodeType===3&&(c+=A.nodeValue.length),(x=A.firstChild)!==null;)g=A,A=x;for(;;){if(A===l)break t;if(g===e&&++b===n&&(i=c),g===u&&++T===a&&(o=c),(x=A.nextSibling)!==null)break;A=g,g=A.parentNode}A=x}e=i===-1||o===-1?null:{start:i,end:o}}else e=null}e=e||{start:0,end:0}}else e=null;for(lf={focusedElem:l,selectionRange:e},qu=!1,Gl=t;Gl!==null;)if(t=Gl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Gl=l;else for(;Gl!==null;){switch(t=Gl,u=t.alternate,l=t.flags,t.tag){case 0:if((l&4)!==0&&(l=t.updateQueue,l=l!==null?l.events:null,l!==null))for(e=0;e<l.length;e++)n=l[e],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&u!==null){l=void 0,e=t,n=u.memoizedProps,u=u.memoizedState,a=e.stateNode;try{var R=Xe(e.type,n);l=a.getSnapshotBeforeUpdate(R,u),a.__reactInternalSnapshotBeforeUpdate=l}catch(Q){hl(e,e.return,Q)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)af(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":af(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(r(163))}if(l=t.sibling,l!==null){l.return=t.return,Gl=l;break}Gl=t.return}}function ir(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:kt(l,e),a&4&&un(5,e);break;case 1:if(kt(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(c){hl(e,e.return,c)}else{var n=Xe(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(n,t,l.__reactInternalSnapshotBeforeUpdate)}catch(c){hl(e,e.return,c)}}a&64&&tr(e),a&512&&cn(e,e.return);break;case 3:if(kt(l,e),a&64&&(l=e.updateQueue,l!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{Vs(l,t)}catch(c){hl(e,e.return,c)}}break;case 27:t===null&&a&4&&ur(e);case 26:case 5:kt(l,e),t===null&&a&4&&ar(e),a&512&&cn(e,e.return);break;case 12:kt(l,e);break;case 31:kt(l,e),a&4&&or(l,e);break;case 13:kt(l,e),a&4&&rr(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Th.bind(null,e),Xh(l,e))));break;case 22:if(a=e.memoizedState!==null||wt,!a){t=t!==null&&t.memoizedState!==null||Hl,n=wt;var u=Hl;wt=a,(Hl=t)&&!u?Wt(l,e,(e.subtreeFlags&8772)!==0):kt(l,e),wt=n,Hl=u}break;case 30:break;default:kt(l,e)}}function fr(l){var t=l.alternate;t!==null&&(l.alternate=null,fr(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&fc(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var El=null,tt=!1;function $t(l,t,e){for(e=e.child;e!==null;)sr(l,t,e),e=e.sibling}function sr(l,t,e){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Oa,e)}catch{}switch(e.tag){case 26:Hl||Dt(e,t),$t(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Hl||Dt(e,t);var a=El,n=tt;pe(e.type)&&(El=e.stateNode,tt=!1),$t(l,t,e),yn(e.stateNode),El=a,tt=n;break;case 5:Hl||Dt(e,t);case 6:if(a=El,n=tt,El=null,$t(l,t,e),El=a,tt=n,El!==null)if(tt)try{(El.nodeType===9?El.body:El.nodeName==="HTML"?El.ownerDocument.body:El).removeChild(e.stateNode)}catch(u){hl(e,t,u)}else try{El.removeChild(e.stateNode)}catch(u){hl(e,t,u)}break;case 18:El!==null&&(tt?(l=El,td(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Ma(l)):td(El,e.stateNode));break;case 4:a=El,n=tt,El=e.stateNode.containerInfo,tt=!0,$t(l,t,e),El=a,tt=n;break;case 0:case 11:case 14:case 15:me(2,e,t),Hl||me(4,e,t),$t(l,t,e);break;case 1:Hl||(Dt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&er(e,t,a)),$t(l,t,e);break;case 21:$t(l,t,e);break;case 22:Hl=(a=Hl)||e.memoizedState!==null,$t(l,t,e),Hl=a;break;default:$t(l,t,e)}}function or(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Ma(l)}catch(e){hl(t,t.return,e)}}}function rr(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Ma(l)}catch(e){hl(t,t.return,e)}}function hh(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new cr),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new cr),t;default:throw Error(r(435,l.tag))}}function bu(l,t){var e=hh(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var n=zh.bind(null,l,a);a.then(n,n)}})}function et(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var n=e[a],u=l,c=t,i=c;l:for(;i!==null;){switch(i.tag){case 27:if(pe(i.type)){El=i.stateNode,tt=!1;break l}break;case 5:El=i.stateNode,tt=!1;break l;case 3:case 4:El=i.stateNode.containerInfo,tt=!0;break l}i=i.return}if(El===null)throw Error(r(160));sr(u,c,n),El=null,tt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)dr(t,l),t=t.sibling}var Mt=null;function dr(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:et(t,l),at(l),a&4&&(me(3,l,l.return),un(3,l),me(5,l,l.return));break;case 1:et(t,l),at(l),a&512&&(Hl||e===null||Dt(e,e.return)),a&64&&wt&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(e=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var n=Mt;if(et(t,l),at(l),a&512&&(Hl||e===null||Dt(e,e.return)),a&4){var u=e!==null?e.memoizedState:null;if(a=l.memoizedState,e===null)if(a===null)if(l.stateNode===null){l:{a=l.type,e=l.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Ua]||u[Ll]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Vl(u,a,e),u[Ll]=l,Yl(u),a=u;break l;case"link":var c=dd("link","href",n).get(a+(e.href||""));if(c){for(var i=0;i<c.length;i++)if(u=c[i],u.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&u.getAttribute("rel")===(e.rel==null?null:e.rel)&&u.getAttribute("title")===(e.title==null?null:e.title)&&u.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(i,1);break t}}u=n.createElement(a),Vl(u,a,e),n.head.appendChild(u);break;case"meta":if(c=dd("meta","content",n).get(a+(e.content||""))){for(i=0;i<c.length;i++)if(u=c[i],u.getAttribute("content")===(e.content==null?null:""+e.content)&&u.getAttribute("name")===(e.name==null?null:e.name)&&u.getAttribute("property")===(e.property==null?null:e.property)&&u.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&u.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(i,1);break t}}u=n.createElement(a),Vl(u,a,e),n.head.appendChild(u);break;default:throw Error(r(468,a))}u[Ll]=l,Yl(u),a=u}l.stateNode=a}else md(n,l.type,l.stateNode);else l.stateNode=rd(n,a,l.memoizedProps);else u!==a?(u===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):u.count--,a===null?md(n,l.type,l.stateNode):rd(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&_i(l,l.memoizedProps,e.memoizedProps)}break;case 27:et(t,l),at(l),a&512&&(Hl||e===null||Dt(e,e.return)),e!==null&&a&4&&_i(l,l.memoizedProps,e.memoizedProps);break;case 5:if(et(t,l),at(l),a&512&&(Hl||e===null||Dt(e,e.return)),l.flags&32){n=l.stateNode;try{Fe(n,"")}catch(R){hl(l,l.return,R)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,_i(l,n,e!==null?e.memoizedProps:n)),a&1024&&(Di=!0);break;case 6:if(et(t,l),at(l),a&4){if(l.stateNode===null)throw Error(r(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(R){hl(l,l.return,R)}}break;case 3:if(Uu=null,n=Mt,Mt=Cu(t.containerInfo),et(t,l),Mt=n,at(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ma(t.containerInfo)}catch(R){hl(l,l.return,R)}Di&&(Di=!1,mr(l));break;case 4:a=Mt,Mt=Cu(l.stateNode.containerInfo),et(t,l),at(l),Mt=a;break;case 12:et(t,l),at(l);break;case 31:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,bu(l,a)));break;case 13:et(t,l),at(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Su=ct()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,bu(l,a)));break;case 22:n=l.memoizedState!==null;var o=e!==null&&e.memoizedState!==null,b=wt,T=Hl;if(wt=b||n,Hl=T||o,et(t,l),Hl=T,wt=b,at(l),a&8192)l:for(t=l.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(e===null||o||wt||Hl||Ze(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){o=e=t;try{if(u=o.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{i=o.stateNode;var A=o.memoizedProps.style,g=A!=null&&A.hasOwnProperty("display")?A.display:null;i.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(R){hl(o,o.return,R)}}}else if(t.tag===6){if(e===null){o=t;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(R){hl(o,o.return,R)}}}else if(t.tag===18){if(e===null){o=t;try{var x=o.stateNode;n?ed(x,!0):ed(o.stateNode,!1)}catch(R){hl(o,o.return,R)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===l)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break l;for(;t.sibling===null;){if(t.return===null||t.return===l)break l;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=l.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,bu(l,e))));break;case 19:et(t,l),at(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,bu(l,a)));break;case 30:break;case 21:break;default:et(t,l),at(l)}}function at(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(nr(a)){e=a;break}a=a.return}if(e==null)throw Error(r(160));switch(e.tag){case 27:var n=e.stateNode,u=Oi(l);yu(l,u,n);break;case 5:var c=e.stateNode;e.flags&32&&(Fe(c,""),e.flags&=-33);var i=Oi(l);yu(l,i,c);break;case 3:case 4:var o=e.stateNode.containerInfo,b=Oi(l);Ci(l,b,o);break;default:throw Error(r(161))}}catch(T){hl(l,l.return,T)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function mr(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;mr(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function kt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ir(l,t.alternate,t),t=t.sibling}function Ze(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:me(4,t,t.return),Ze(t);break;case 1:Dt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&er(t,t.return,e),Ze(t);break;case 27:yn(t.stateNode);case 26:case 5:Dt(t,t.return),Ze(t);break;case 22:t.memoizedState===null&&Ze(t);break;case 30:Ze(t);break;default:Ze(t)}l=l.sibling}}function Wt(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=l,u=t,c=u.flags;switch(u.tag){case 0:case 11:case 15:Wt(n,u,e),un(4,u);break;case 1:if(Wt(n,u,e),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(b){hl(a,a.return,b)}if(a=u,n=a.updateQueue,n!==null){var i=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)Zs(o[n],i)}catch(b){hl(a,a.return,b)}}e&&c&64&&tr(u),cn(u,u.return);break;case 27:ur(u);case 26:case 5:Wt(n,u,e),e&&a===null&&c&4&&ar(u),cn(u,u.return);break;case 12:Wt(n,u,e);break;case 31:Wt(n,u,e),e&&c&4&&or(n,u);break;case 13:Wt(n,u,e),e&&c&4&&rr(n,u);break;case 22:u.memoizedState===null&&Wt(n,u,e),cn(u,u.return);break;case 30:break;default:Wt(n,u,e)}t=t.sibling}}function Ui(l,t){var e=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==e&&(l!=null&&l.refCount++,e!=null&&Ja(e))}function Ri(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Ja(l))}function _t(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)hr(l,t,e,a),t=t.sibling}function hr(l,t,e,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:_t(l,t,e,a),n&2048&&un(9,t);break;case 1:_t(l,t,e,a);break;case 3:_t(l,t,e,a),n&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Ja(l)));break;case 12:if(n&2048){_t(l,t,e,a),l=t.stateNode;try{var u=t.memoizedProps,c=u.id,i=u.onPostCommit;typeof i=="function"&&i(c,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(o){hl(t,t.return,o)}}else _t(l,t,e,a);break;case 31:_t(l,t,e,a);break;case 13:_t(l,t,e,a);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?_t(l,t,e,a):fn(l,t):u._visibility&2?_t(l,t,e,a):(u._visibility|=2,ba(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ui(c,t);break;case 24:_t(l,t,e,a),n&2048&&Ri(t.alternate,t);break;default:_t(l,t,e,a)}}function ba(l,t,e,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=l,c=t,i=e,o=a,b=c.flags;switch(c.tag){case 0:case 11:case 15:ba(u,c,i,o,n),un(8,c);break;case 23:break;case 22:var T=c.stateNode;c.memoizedState!==null?T._visibility&2?ba(u,c,i,o,n):fn(u,c):(T._visibility|=2,ba(u,c,i,o,n)),n&&b&2048&&Ui(c.alternate,c);break;case 24:ba(u,c,i,o,n),n&&b&2048&&Ri(c.alternate,c);break;default:ba(u,c,i,o,n)}t=t.sibling}}function fn(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,n=a.flags;switch(a.tag){case 22:fn(e,a),n&2048&&Ui(a.alternate,a);break;case 24:fn(e,a),n&2048&&Ri(a.alternate,a);break;default:fn(e,a)}t=t.sibling}}var sn=8192;function ga(l,t,e){if(l.subtreeFlags&sn)for(l=l.child;l!==null;)vr(l,t,e),l=l.sibling}function vr(l,t,e){switch(l.tag){case 26:ga(l,t,e),l.flags&sn&&l.memoizedState!==null&&l0(e,Mt,l.memoizedState,l.memoizedProps);break;case 5:ga(l,t,e);break;case 3:case 4:var a=Mt;Mt=Cu(l.stateNode.containerInfo),ga(l,t,e),Mt=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=sn,sn=16777216,ga(l,t,e),sn=a):ga(l,t,e));break;default:ga(l,t,e)}}function yr(l){var t=l.alternate;if(t!==null&&(l=t.child,l!==null)){t.child=null;do t=l.sibling,l.sibling=null,l=t;while(l!==null)}}function on(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Gl=a,gr(a,l)}yr(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)br(l),l=l.sibling}function br(l){switch(l.tag){case 0:case 11:case 15:on(l),l.flags&2048&&me(9,l,l.return);break;case 3:on(l);break;case 12:on(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,gu(l)):on(l);break;default:on(l)}}function gu(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var a=t[e];Gl=a,gr(a,l)}yr(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:me(8,t,t.return),gu(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,gu(t));break;default:gu(t)}l=l.sibling}}function gr(l,t){for(;Gl!==null;){var e=Gl;switch(e.tag){case 0:case 11:case 15:me(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var a=e.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ja(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Gl=a;else l:for(e=l;Gl!==null;){a=Gl;var n=a.sibling,u=a.return;if(fr(a),a===e){Gl=null;break l}if(n!==null){n.return=u,Gl=n;break l}Gl=u}}}var vh={getCacheForType:function(l){var t=Xl(Dl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Xl(Dl).controller.signal}},yh=typeof WeakMap=="function"?WeakMap:Map,ol=0,pl=null,ll=null,el=0,ml=0,mt=null,he=!1,Sa=!1,Hi=!1,Ft=0,Ml=0,ve=0,Ve=0,Bi=0,ht=0,pa=0,rn=null,nt=null,qi=!1,Su=0,Sr=0,pu=1/0,xu=null,ye=null,ql=0,be=null,xa=null,It=0,Yi=0,Gi=null,pr=null,dn=0,Li=null;function vt(){return(ol&2)!==0&&el!==0?el&-el:z.T!==null?Ji():Hf()}function xr(){if(ht===0)if((el&536870912)===0||nl){var l=_n;_n<<=1,(_n&3932160)===0&&(_n=262144),ht=l}else ht=536870912;return l=rt.current,l!==null&&(l.flags|=32),ht}function ut(l,t,e){(l===pl&&(ml===2||ml===9)||l.cancelPendingCommit!==null)&&(Ta(l,0),ge(l,el,ht,!1)),Da(l,e),((ol&2)===0||l!==pl)&&(l===pl&&((ol&2)===0&&(Ve|=e),Ml===4&&ge(l,el,ht,!1)),Ut(l))}function Tr(l,t,e){if((ol&6)!==0)throw Error(r(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ca(l,t),n=a?Sh(l,t):Xi(l,t,!0),u=a;do{if(n===0){Sa&&!a&&ge(l,t,0,!1);break}else{if(e=l.current.alternate,u&&!bh(e)){n=Xi(l,t,!1),u=!1;continue}if(n===2){if(u=t,l.errorRecoveryDisabledLanes&u)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;l:{var i=l;n=rn;var o=i.current.memoizedState.isDehydrated;if(o&&(Ta(i,c).flags|=256),c=Xi(i,c,!1),c!==2){if(Hi&&!o){i.errorRecoveryDisabledLanes|=u,Ve|=u,n=4;break l}u=nt,nt=n,u!==null&&(nt===null?nt=u:nt.push.apply(nt,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){Ta(l,0),ge(l,t,0,!0);break}l:{switch(a=l,u=n,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:ge(a,t,ht,!he);break l;case 2:nt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(n=Su+300-ct(),10<n)){if(ge(a,t,ht,!he),Cn(a,0,!0)!==0)break l;It=t,a.timeoutHandle=Pr(zr.bind(null,a,e,nt,xu,qi,t,ht,Ve,pa,he,u,"Throttled",-0,0),n);break l}zr(a,e,nt,xu,qi,t,ht,Ve,pa,he,u,null,-0,0)}}break}while(!0);Ut(l)}function zr(l,t,e,a,n,u,c,i,o,b,T,A,g,x){if(l.timeoutHandle=-1,A=t.subtreeFlags,A&8192||(A&16785408)===16785408){A={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qt},vr(t,u,A);var R=(u&62914560)===u?Su-ct():(u&4194048)===u?Sr-ct():0;if(R=t0(A,R),R!==null){It=u,l.cancelPendingCommit=R(Cr.bind(null,l,t,u,e,a,n,c,i,o,T,A,null,g,x)),ge(l,u,c,!b);return}}Cr(l,t,u,e,a,n,c,i,o)}function bh(l){for(var t=l;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var a=0;a<e.length;a++){var n=e[a],u=n.getSnapshot;n=n.value;try{if(!st(u(),n))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ge(l,t,e,a){t&=~Bi,t&=~Ve,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var n=t;0<n;){var u=31-ft(n),c=1<<u;a[u]=-1,n&=~c}e!==0&&Df(l,e,t)}function Tu(){return(ol&6)===0?(mn(0),!1):!0}function Qi(){if(ll!==null){if(ml===0)var l=ll.return;else l=ll,Qt=He=null,ai(l),da=null,$a=0,l=ll;for(;l!==null;)lr(l.alternate,l),l=l.return;ll=null}}function Ta(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,qh(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),It=0,Qi(),pl=l,ll=e=Gt(l.current,null),el=t,ml=0,mt=null,he=!1,Sa=Ca(l,t),Hi=!1,pa=ht=Bi=Ve=ve=Ml=0,nt=rn=null,qi=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var n=31-ft(a),u=1<<n;t|=l[n],a&=~u}return Ft=t,Zn(),e}function Nr(l,t){k=null,z.H=en,t===ra||t===Fn?(t=Gs(),ml=3):t===Kc?(t=Gs(),ml=4):ml=t===Si?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,mt=t,ll===null&&(Ml=1,ru(l,pt(t,l.current)))}function Er(){var l=rt.current;return l===null?!0:(el&4194048)===el?Nt===null:(el&62914560)===el||(el&536870912)!==0?l===Nt:!1}function Ar(){var l=z.H;return z.H=en,l===null?en:l}function jr(){var l=z.A;return z.A=vh,l}function zu(){Ml=4,he||(el&4194048)!==el&&rt.current!==null||(Sa=!0),(ve&134217727)===0&&(Ve&134217727)===0||pl===null||ge(pl,el,ht,!1)}function Xi(l,t,e){var a=ol;ol|=2;var n=Ar(),u=jr();(pl!==l||el!==t)&&(xu=null,Ta(l,t)),t=!1;var c=Ml;l:do try{if(ml!==0&&ll!==null){var i=ll,o=mt;switch(ml){case 8:Qi(),c=6;break l;case 3:case 2:case 9:case 6:rt.current===null&&(t=!0);var b=ml;if(ml=0,mt=null,za(l,i,o,b),e&&Sa){c=0;break l}break;default:b=ml,ml=0,mt=null,za(l,i,o,b)}}gh(),c=Ml;break}catch(T){Nr(l,T)}while(!0);return t&&l.shellSuspendCounter++,Qt=He=null,ol=a,z.H=n,z.A=u,ll===null&&(pl=null,el=0,Zn()),c}function gh(){for(;ll!==null;)Mr(ll)}function Sh(l,t){var e=ol;ol|=2;var a=Ar(),n=jr();pl!==l||el!==t?(xu=null,pu=ct()+500,Ta(l,t)):Sa=Ca(l,t);l:do try{if(ml!==0&&ll!==null){t=ll;var u=mt;t:switch(ml){case 1:ml=0,mt=null,za(l,t,u,1);break;case 2:case 9:if(qs(u)){ml=0,mt=null,_r(t);break}t=function(){ml!==2&&ml!==9||pl!==l||(ml=7),Ut(l)},u.then(t,t);break l;case 3:ml=7;break l;case 4:ml=5;break l;case 7:qs(u)?(ml=0,mt=null,_r(t)):(ml=0,mt=null,za(l,t,u,7));break;case 5:var c=null;switch(ll.tag){case 26:c=ll.memoizedState;case 5:case 27:var i=ll;if(c?hd(c):i.stateNode.complete){ml=0,mt=null;var o=i.sibling;if(o!==null)ll=o;else{var b=i.return;b!==null?(ll=b,Nu(b)):ll=null}break t}}ml=0,mt=null,za(l,t,u,5);break;case 6:ml=0,mt=null,za(l,t,u,6);break;case 8:Qi(),Ml=6;break l;default:throw Error(r(462))}}ph();break}catch(T){Nr(l,T)}while(!0);return Qt=He=null,z.H=a,z.A=n,ol=e,ll!==null?0:(pl=null,el=0,Zn(),Ml)}function ph(){for(;ll!==null&&!Zd();)Mr(ll)}function Mr(l){var t=Io(l.alternate,l,Ft);l.memoizedProps=l.pendingProps,t===null?Nu(l):ll=t}function _r(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Jo(e,t,t.pendingProps,t.type,void 0,el);break;case 11:t=Jo(e,t,t.pendingProps,t.type.render,t.ref,el);break;case 5:ai(t);default:lr(e,t),t=ll=As(t,Ft),t=Io(e,t,Ft)}l.memoizedProps=l.pendingProps,t===null?Nu(l):ll=t}function za(l,t,e,a){Qt=He=null,ai(t),da=null,$a=0;var n=t.return;try{if(fh(l,n,t,e,el)){Ml=1,ru(l,pt(e,l.current)),ll=null;return}}catch(u){if(n!==null)throw ll=n,u;Ml=1,ru(l,pt(e,l.current)),ll=null;return}t.flags&32768?(nl||a===1?l=!0:Sa||(el&536870912)!==0?l=!1:(he=l=!0,(a===2||a===9||a===3||a===6)&&(a=rt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Or(t,l)):Nu(t)}function Nu(l){var t=l;do{if((t.flags&32768)!==0){Or(t,he);return}l=t.return;var e=rh(t.alternate,t,Ft);if(e!==null){ll=e;return}if(t=t.sibling,t!==null){ll=t;return}ll=t=l}while(t!==null);Ml===0&&(Ml=5)}function Or(l,t){do{var e=dh(l.alternate,l);if(e!==null){e.flags&=32767,ll=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){ll=l;return}ll=l=e}while(l!==null);Ml=6,ll=null}function Cr(l,t,e,a,n,u,c,i,o){l.cancelPendingCommit=null;do Eu();while(ql!==0);if((ol&6)!==0)throw Error(r(327));if(t!==null){if(t===l.current)throw Error(r(177));if(u=t.lanes|t.childLanes,u|=Oc,Pd(l,e,u,c,i,o),l===pl&&(ll=pl=null,el=0),xa=t,be=l,It=e,Yi=u,Gi=n,pr=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Nh(jn,function(){return Br(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,n=D.p,D.p=2,c=ol,ol|=4;try{mh(l,t,e)}finally{ol=c,D.p=n,z.T=a}}ql=1,Dr(),Ur(),Rr()}}function Dr(){if(ql===1){ql=0;var l=be,t=xa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=z.T,z.T=null;var a=D.p;D.p=2;var n=ol;ol|=4;try{dr(t,l);var u=lf,c=bs(l.containerInfo),i=u.focusedElem,o=u.selectionRange;if(c!==i&&i&&i.ownerDocument&&ys(i.ownerDocument.documentElement,i)){if(o!==null&&Ec(i)){var b=o.start,T=o.end;if(T===void 0&&(T=b),"selectionStart"in i)i.selectionStart=b,i.selectionEnd=Math.min(T,i.value.length);else{var A=i.ownerDocument||document,g=A&&A.defaultView||window;if(g.getSelection){var x=g.getSelection(),R=i.textContent.length,Q=Math.min(o.start,R),gl=o.end===void 0?Q:Math.min(o.end,R);!x.extend&&Q>gl&&(c=gl,gl=Q,Q=c);var v=vs(i,Q),m=vs(i,gl);if(v&&m&&(x.rangeCount!==1||x.anchorNode!==v.node||x.anchorOffset!==v.offset||x.focusNode!==m.node||x.focusOffset!==m.offset)){var y=A.createRange();y.setStart(v.node,v.offset),x.removeAllRanges(),Q>gl?(x.addRange(y),x.extend(m.node,m.offset)):(y.setEnd(m.node,m.offset),x.addRange(y))}}}}for(A=[],x=i;x=x.parentNode;)x.nodeType===1&&A.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<A.length;i++){var E=A[i];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}qu=!!Pi,lf=Pi=null}finally{ol=n,D.p=a,z.T=e}}l.current=t,ql=2}}function Ur(){if(ql===2){ql=0;var l=be,t=xa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=z.T,z.T=null;var a=D.p;D.p=2;var n=ol;ol|=4;try{ir(l,t.alternate,t)}finally{ol=n,D.p=a,z.T=e}}ql=3}}function Rr(){if(ql===4||ql===3){ql=0,Vd();var l=be,t=xa,e=It,a=pr;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ql=5:(ql=0,xa=be=null,Hr(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(ye=null),cc(e),t=t.stateNode,it&&typeof it.onCommitFiberRoot=="function")try{it.onCommitFiberRoot(Oa,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=z.T,n=D.p,D.p=2,z.T=null;try{for(var u=l.onRecoverableError,c=0;c<a.length;c++){var i=a[c];u(i.value,{componentStack:i.stack})}}finally{z.T=t,D.p=n}}(It&3)!==0&&Eu(),Ut(l),n=l.pendingLanes,(e&261930)!==0&&(n&42)!==0?l===Li?dn++:(dn=0,Li=l):dn=0,mn(0)}}function Hr(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Ja(t)))}function Eu(){return Dr(),Ur(),Rr(),Br()}function Br(){if(ql!==5)return!1;var l=be,t=Yi;Yi=0;var e=cc(It),a=z.T,n=D.p;try{D.p=32>e?32:e,z.T=null,e=Gi,Gi=null;var u=be,c=It;if(ql=0,xa=be=null,It=0,(ol&6)!==0)throw Error(r(331));var i=ol;if(ol|=4,br(u.current),hr(u,u.current,c,e),ol=i,mn(0,!1),it&&typeof it.onPostCommitFiberRoot=="function")try{it.onPostCommitFiberRoot(Oa,u)}catch{}return!0}finally{D.p=n,z.T=a,Hr(l,t)}}function qr(l,t,e){t=pt(e,t),t=gi(l.stateNode,t,2),l=oe(l,t,2),l!==null&&(Da(l,2),Ut(l))}function hl(l,t,e){if(l.tag===3)qr(l,l,e);else for(;t!==null;){if(t.tag===3){qr(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ye===null||!ye.has(a))){l=pt(e,l),e=Yo(2),a=oe(t,e,2),a!==null&&(Go(e,a,t,l),Da(a,2),Ut(a));break}}t=t.return}}function Zi(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new yh;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(e)||(Hi=!0,n.add(e),l=xh.bind(null,l,t,e),t.then(l,l))}function xh(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,pl===l&&(el&e)===e&&(Ml===4||Ml===3&&(el&62914560)===el&&300>ct()-Su?(ol&2)===0&&Ta(l,0):Bi|=e,pa===el&&(pa=0)),Ut(l)}function Yr(l,t){t===0&&(t=Cf()),l=De(l,t),l!==null&&(Da(l,t),Ut(l))}function Th(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Yr(l,e)}function zh(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(e=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),Yr(l,e)}function Nh(l,t){return ec(l,t)}var Au=null,Na=null,Vi=!1,ju=!1,Ki=!1,Se=0;function Ut(l){l!==Na&&l.next===null&&(Na===null?Au=Na=l:Na=Na.next=l),ju=!0,Vi||(Vi=!0,Ah())}function mn(l,t){if(!Ki&&ju){Ki=!0;do for(var e=!1,a=Au;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,i=a.pingedLanes;u=(1<<31-ft(42|l)+1)-1,u&=n&~(c&~i),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(e=!0,Xr(a,u))}else u=el,u=Cn(a,a===pl?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Ca(a,u)||(e=!0,Xr(a,u));a=a.next}while(e);Ki=!1}}function Eh(){Gr()}function Gr(){ju=Vi=!1;var l=0;Se!==0&&Bh()&&(l=Se);for(var t=ct(),e=null,a=Au;a!==null;){var n=a.next,u=Lr(a,t);u===0?(a.next=null,e===null?Au=n:e.next=n,n===null&&(Na=e)):(e=a,(l!==0||(u&3)!==0)&&(ju=!0)),a=n}ql!==0&&ql!==5||mn(l),Se!==0&&(Se=0)}function Lr(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,u=l.pendingLanes&-62914561;0<u;){var c=31-ft(u),i=1<<c,o=n[c];o===-1?((i&e)===0||(i&a)!==0)&&(n[c]=Id(i,t)):o<=t&&(l.expiredLanes|=i),u&=~i}if(t=pl,e=el,e=Cn(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(ml===2||ml===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&ac(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ca(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&ac(a),cc(e)){case 2:case 8:e=_f;break;case 32:e=jn;break;case 268435456:e=Of;break;default:e=jn}return a=Qr.bind(null,l),e=ec(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&ac(a),l.callbackPriority=2,l.callbackNode=null,2}function Qr(l,t){if(ql!==0&&ql!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Eu()&&l.callbackNode!==e)return null;var a=el;return a=Cn(l,l===pl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Tr(l,a,t),Lr(l,ct()),l.callbackNode!=null&&l.callbackNode===e?Qr.bind(null,l):null)}function Xr(l,t){if(Eu())return null;Tr(l,t,!0)}function Ah(){Yh(function(){(ol&6)!==0?ec(Mf,Eh):Gr()})}function Ji(){if(Se===0){var l=sa;l===0&&(l=Mn,Mn<<=1,(Mn&261888)===0&&(Mn=256)),Se=l}return Se}function Zr(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Hn(""+l)}function Vr(l,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,l.id&&e.setAttribute("form",l.id),t.parentNode.insertBefore(e,t),l=new FormData(l),e.parentNode.removeChild(e),l}function jh(l,t,e,a,n){if(t==="submit"&&e&&e.stateNode===n){var u=Zr((n[Pl]||null).action),c=a.submitter;c&&(t=(t=c[Pl]||null)?Zr(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var i=new Gn("action","action",null,a,n);l.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Se!==0){var o=c?Vr(n,c):new FormData(n);di(e,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(i.preventDefault(),o=c?Vr(n,c):new FormData(n),di(e,{pending:!0,data:o,method:n.method,action:u},u,o))},currentTarget:n}]})}}for(var wi=0;wi<_c.length;wi++){var $i=_c[wi],Mh=$i.toLowerCase(),_h=$i[0].toUpperCase()+$i.slice(1);jt(Mh,"on"+_h)}jt(ps,"onAnimationEnd"),jt(xs,"onAnimationIteration"),jt(Ts,"onAnimationStart"),jt("dblclick","onDoubleClick"),jt("focusin","onFocus"),jt("focusout","onBlur"),jt(Km,"onTransitionRun"),jt(Jm,"onTransitionStart"),jt(wm,"onTransitionCancel"),jt(zs,"onTransitionEnd"),ke("onMouseEnter",["mouseout","mouseover"]),ke("onMouseLeave",["mouseout","mouseover"]),ke("onPointerEnter",["pointerout","pointerover"]),ke("onPointerLeave",["pointerout","pointerover"]),Me("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Me("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Me("onBeforeInput",["compositionend","keypress","textInput","paste"]),Me("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Me("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Me("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Oh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hn));function Kr(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],n=a.event;a=a.listeners;l:{var u=void 0;if(t)for(var c=a.length-1;0<=c;c--){var i=a[c],o=i.instance,b=i.currentTarget;if(i=i.listener,o!==u&&n.isPropagationStopped())break l;u=i,n.currentTarget=b;try{u(n)}catch(T){Xn(T)}n.currentTarget=null,u=o}else for(c=0;c<a.length;c++){if(i=a[c],o=i.instance,b=i.currentTarget,i=i.listener,o!==u&&n.isPropagationStopped())break l;u=i,n.currentTarget=b;try{u(n)}catch(T){Xn(T)}n.currentTarget=null,u=o}}}}function tl(l,t){var e=t[ic];e===void 0&&(e=t[ic]=new Set);var a=l+"__bubble";e.has(a)||(Jr(t,l,2,!1),e.add(a))}function ki(l,t,e){var a=0;t&&(a|=4),Jr(e,l,a,t)}var Mu="_reactListening"+Math.random().toString(36).slice(2);function Wi(l){if(!l[Mu]){l[Mu]=!0,Yf.forEach(function(e){e!=="selectionchange"&&(Oh.has(e)||ki(e,!1,l),ki(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Mu]||(t[Mu]=!0,ki("selectionchange",!1,t))}}function Jr(l,t,e,a){switch(xd(t)){case 2:var n=n0;break;case 8:n=u0;break;default:n=df}e=n.bind(null,t,e,l),n=void 0,!yc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(t,e,{capture:!0,passive:n}):l.addEventListener(t,e,!0):n!==void 0?l.addEventListener(t,e,{passive:n}):l.addEventListener(t,e,!1)}function Fi(l,t,e,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var i=a.stateNode.containerInfo;if(i===n)break;if(c===4)for(c=a.return;c!==null;){var o=c.tag;if((o===3||o===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;i!==null;){if(c=Je(i),c===null)return;if(o=c.tag,o===5||o===6||o===26||o===27){a=u=c;continue l}i=i.parentNode}}a=a.return}Wf(function(){var b=u,T=hc(e),A=[];l:{var g=Ns.get(l);if(g!==void 0){var x=Gn,R=l;switch(l){case"keypress":if(qn(e)===0)break l;case"keydown":case"keyup":x=zm;break;case"focusin":R="focus",x=pc;break;case"focusout":R="blur",x=pc;break;case"beforeblur":case"afterblur":x=pc;break;case"click":if(e.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Pf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=rm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Am;break;case ps:case xs:case Ts:x=hm;break;case zs:x=Mm;break;case"scroll":case"scrollend":x=sm;break;case"wheel":x=Om;break;case"copy":case"cut":case"paste":x=ym;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=ts;break;case"toggle":case"beforetoggle":x=Dm}var Q=(t&4)!==0,gl=!Q&&(l==="scroll"||l==="scrollend"),v=Q?g!==null?g+"Capture":null:g;Q=[];for(var m=b,y;m!==null;){var E=m;if(y=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||y===null||v===null||(E=Ha(m,v),E!=null&&Q.push(vn(m,E,y))),gl)break;m=m.return}0<Q.length&&(g=new x(g,R,null,e,T),A.push({event:g,listeners:Q}))}}if((t&7)===0){l:{if(g=l==="mouseover"||l==="pointerover",x=l==="mouseout"||l==="pointerout",g&&e!==mc&&(R=e.relatedTarget||e.fromElement)&&(Je(R)||R[Ke]))break l;if((x||g)&&(g=T.window===T?T:(g=T.ownerDocument)?g.defaultView||g.parentWindow:window,x?(R=e.relatedTarget||e.toElement,x=b,R=R?Je(R):null,R!==null&&(gl=N(R),Q=R.tag,R!==gl||Q!==5&&Q!==27&&Q!==6)&&(R=null)):(x=null,R=b),x!==R)){if(Q=Pf,E="onMouseLeave",v="onMouseEnter",m="mouse",(l==="pointerout"||l==="pointerover")&&(Q=ts,E="onPointerLeave",v="onPointerEnter",m="pointer"),gl=x==null?g:Ra(x),y=R==null?g:Ra(R),g=new Q(E,m+"leave",x,e,T),g.target=gl,g.relatedTarget=y,E=null,Je(T)===b&&(Q=new Q(v,m+"enter",R,e,T),Q.target=y,Q.relatedTarget=gl,E=Q),gl=E,x&&R)t:{for(Q=Ch,v=x,m=R,y=0,E=v;E;E=Q(E))y++;E=0;for(var G=m;G;G=Q(G))E++;for(;0<y-E;)v=Q(v),y--;for(;0<E-y;)m=Q(m),E--;for(;y--;){if(v===m||m!==null&&v===m.alternate){Q=v;break t}v=Q(v),m=Q(m)}Q=null}else Q=null;x!==null&&wr(A,g,x,Q,!1),R!==null&&gl!==null&&wr(A,gl,R,Q,!0)}}l:{if(g=b?Ra(b):window,x=g.nodeName&&g.nodeName.toLowerCase(),x==="select"||x==="input"&&g.type==="file")var il=ss;else if(is(g))if(os)il=Xm;else{il=Lm;var Y=Gm}else x=g.nodeName,!x||x.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?b&&dc(b.elementType)&&(il=ss):il=Qm;if(il&&(il=il(l,b))){fs(A,il,e,T);break l}Y&&Y(l,g,b),l==="focusout"&&b&&g.type==="number"&&b.memoizedProps.value!=null&&rc(g,"number",g.value)}switch(Y=b?Ra(b):window,l){case"focusin":(is(Y)||Y.contentEditable==="true")&&(ta=Y,Ac=b,Za=null);break;case"focusout":Za=Ac=ta=null;break;case"mousedown":jc=!0;break;case"contextmenu":case"mouseup":case"dragend":jc=!1,gs(A,e,T);break;case"selectionchange":if(Vm)break;case"keydown":case"keyup":gs(A,e,T)}var W;if(Tc)l:{switch(l){case"compositionstart":var al="onCompositionStart";break l;case"compositionend":al="onCompositionEnd";break l;case"compositionupdate":al="onCompositionUpdate";break l}al=void 0}else la?us(l,e)&&(al="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(al="onCompositionStart");al&&(es&&e.locale!=="ko"&&(la||al!=="onCompositionStart"?al==="onCompositionEnd"&&la&&(W=Ff()):(ae=T,bc="value"in ae?ae.value:ae.textContent,la=!0)),Y=_u(b,al),0<Y.length&&(al=new ls(al,l,null,e,T),A.push({event:al,listeners:Y}),W?al.data=W:(W=cs(e),W!==null&&(al.data=W)))),(W=Rm?Hm(l,e):Bm(l,e))&&(al=_u(b,"onBeforeInput"),0<al.length&&(Y=new ls("onBeforeInput","beforeinput",null,e,T),A.push({event:Y,listeners:al}),Y.data=W)),jh(A,l,b,e,T)}Kr(A,t)})}function vn(l,t,e){return{instance:l,listener:t,currentTarget:e}}function _u(l,t){for(var e=t+"Capture",a=[];l!==null;){var n=l,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ha(l,e),n!=null&&a.unshift(vn(l,n,u)),n=Ha(l,t),n!=null&&a.push(vn(l,n,u))),l.tag===3)return a;l=l.return}return[]}function Ch(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function wr(l,t,e,a,n){for(var u=t._reactName,c=[];e!==null&&e!==a;){var i=e,o=i.alternate,b=i.stateNode;if(i=i.tag,o!==null&&o===a)break;i!==5&&i!==26&&i!==27||b===null||(o=b,n?(b=Ha(e,u),b!=null&&c.unshift(vn(e,b,o))):n||(b=Ha(e,u),b!=null&&c.push(vn(e,b,o)))),e=e.return}c.length!==0&&l.push({event:t,listeners:c})}var Dh=/\r\n?/g,Uh=/\u0000|\uFFFD/g;function $r(l){return(typeof l=="string"?l:""+l).replace(Dh,`
`).replace(Uh,"")}function kr(l,t){return t=$r(t),$r(l)===t}function bl(l,t,e,a,n,u){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Fe(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Fe(l,""+a);break;case"className":Un(l,"class",a);break;case"tabIndex":Un(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Un(l,e,a);break;case"style":$f(l,a,u);break;case"data":if(t!=="object"){Un(l,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||e!=="href")){l.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Hn(""+a),l.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){l.setAttribute(e,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(e==="formAction"?(t!=="input"&&bl(l,t,"name",n.name,n,null),bl(l,t,"formEncType",n.formEncType,n,null),bl(l,t,"formMethod",n.formMethod,n,null),bl(l,t,"formTarget",n.formTarget,n,null)):(bl(l,t,"encType",n.encType,n,null),bl(l,t,"method",n.method,n,null),bl(l,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Hn(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=qt);break;case"onScroll":a!=null&&tl("scroll",l);break;case"onScrollEnd":a!=null&&tl("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(r(60));l.innerHTML=e}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}e=Hn(""+a),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""+a):l.removeAttribute(e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,""):l.removeAttribute(e);break;case"capture":case"download":a===!0?l.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(e,a):l.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(e,a):l.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(e):l.setAttribute(e,a);break;case"popover":tl("beforetoggle",l),tl("toggle",l),Dn(l,"popover",a);break;case"xlinkActuate":Bt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Dn(l,"is",a);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=im.get(e)||e,Dn(l,e,a))}}function Ii(l,t,e,a,n,u){switch(e){case"style":$f(l,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(e=a.__html,e!=null){if(n.children!=null)throw Error(r(60));l.innerHTML=e}}break;case"children":typeof a=="string"?Fe(l,a):(typeof a=="number"||typeof a=="bigint")&&Fe(l,""+a);break;case"onScroll":a!=null&&tl("scroll",l);break;case"onScrollEnd":a!=null&&tl("scrollend",l);break;case"onClick":a!=null&&(l.onclick=qt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Gf.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(n=e.endsWith("Capture"),t=e.slice(2,n?e.length-7:void 0),u=l[Pl]||null,u=u!=null?u[e]:null,typeof u=="function"&&l.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,n);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Dn(l,e,a)}}}function Vl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tl("error",l),tl("load",l);var a=!1,n=!1,u;for(u in e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:bl(l,t,u,c,e,null)}}n&&bl(l,t,"srcSet",e.srcSet,e,null),a&&bl(l,t,"src",e.src,e,null);return;case"input":tl("invalid",l);var i=u=c=n=null,o=null,b=null;for(a in e)if(e.hasOwnProperty(a)){var T=e[a];if(T!=null)switch(a){case"name":n=T;break;case"type":c=T;break;case"checked":o=T;break;case"defaultChecked":b=T;break;case"value":u=T;break;case"defaultValue":i=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(r(137,t));break;default:bl(l,t,a,T,e,null)}}Vf(l,u,i,o,b,c,n,!1);return;case"select":tl("invalid",l),a=c=u=null;for(n in e)if(e.hasOwnProperty(n)&&(i=e[n],i!=null))switch(n){case"value":u=i;break;case"defaultValue":c=i;break;case"multiple":a=i;default:bl(l,t,n,i,e,null)}t=u,e=c,l.multiple=!!a,t!=null?We(l,!!a,t,!1):e!=null&&We(l,!!a,e,!0);return;case"textarea":tl("invalid",l),u=n=a=null;for(c in e)if(e.hasOwnProperty(c)&&(i=e[c],i!=null))switch(c){case"value":a=i;break;case"defaultValue":n=i;break;case"children":u=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:bl(l,t,c,i,e,null)}Jf(l,a,n,u);return;case"option":for(o in e)if(e.hasOwnProperty(o)&&(a=e[o],a!=null))switch(o){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:bl(l,t,o,a,e,null)}return;case"dialog":tl("beforetoggle",l),tl("toggle",l),tl("cancel",l),tl("close",l);break;case"iframe":case"object":tl("load",l);break;case"video":case"audio":for(a=0;a<hn.length;a++)tl(hn[a],l);break;case"image":tl("error",l),tl("load",l);break;case"details":tl("toggle",l);break;case"embed":case"source":case"link":tl("error",l),tl("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in e)if(e.hasOwnProperty(b)&&(a=e[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:bl(l,t,b,a,e,null)}return;default:if(dc(t)){for(T in e)e.hasOwnProperty(T)&&(a=e[T],a!==void 0&&Ii(l,t,T,a,e,void 0));return}}for(i in e)e.hasOwnProperty(i)&&(a=e[i],a!=null&&bl(l,t,i,a,e,null))}function Rh(l,t,e,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,i=null,o=null,b=null,T=null;for(x in e){var A=e[x];if(e.hasOwnProperty(x)&&A!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":o=A;default:a.hasOwnProperty(x)||bl(l,t,x,null,a,A)}}for(var g in a){var x=a[g];if(A=e[g],a.hasOwnProperty(g)&&(x!=null||A!=null))switch(g){case"type":u=x;break;case"name":n=x;break;case"checked":b=x;break;case"defaultChecked":T=x;break;case"value":c=x;break;case"defaultValue":i=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(137,t));break;default:x!==A&&bl(l,t,g,x,a,A)}}oc(l,c,i,o,b,T,u,n);return;case"select":x=c=i=g=null;for(u in e)if(o=e[u],e.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":x=o;default:a.hasOwnProperty(u)||bl(l,t,u,null,a,o)}for(n in a)if(u=a[n],o=e[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":g=u;break;case"defaultValue":i=u;break;case"multiple":c=u;default:u!==o&&bl(l,t,n,u,a,o)}t=i,e=c,a=x,g!=null?We(l,!!e,g,!1):!!a!=!!e&&(t!=null?We(l,!!e,t,!0):We(l,!!e,e?[]:"",!1));return;case"textarea":x=g=null;for(i in e)if(n=e[i],e.hasOwnProperty(i)&&n!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:bl(l,t,i,null,a,n)}for(c in a)if(n=a[c],u=e[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":g=n;break;case"defaultValue":x=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==u&&bl(l,t,c,n,a,u)}Kf(l,g,x);return;case"option":for(var R in e)if(g=e[R],e.hasOwnProperty(R)&&g!=null&&!a.hasOwnProperty(R))switch(R){case"selected":l.selected=!1;break;default:bl(l,t,R,null,a,g)}for(o in a)if(g=a[o],x=e[o],a.hasOwnProperty(o)&&g!==x&&(g!=null||x!=null))switch(o){case"selected":l.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:bl(l,t,o,g,a,x)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Q in e)g=e[Q],e.hasOwnProperty(Q)&&g!=null&&!a.hasOwnProperty(Q)&&bl(l,t,Q,null,a,g);for(b in a)if(g=a[b],x=e[b],a.hasOwnProperty(b)&&g!==x&&(g!=null||x!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(137,t));break;default:bl(l,t,b,g,a,x)}return;default:if(dc(t)){for(var gl in e)g=e[gl],e.hasOwnProperty(gl)&&g!==void 0&&!a.hasOwnProperty(gl)&&Ii(l,t,gl,void 0,a,g);for(T in a)g=a[T],x=e[T],!a.hasOwnProperty(T)||g===x||g===void 0&&x===void 0||Ii(l,t,T,g,a,x);return}}for(var v in e)g=e[v],e.hasOwnProperty(v)&&g!=null&&!a.hasOwnProperty(v)&&bl(l,t,v,null,a,g);for(A in a)g=a[A],x=e[A],!a.hasOwnProperty(A)||g===x||g==null&&x==null||bl(l,t,A,g,a,x)}function Wr(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Hh(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var n=e[a],u=n.transferSize,c=n.initiatorType,i=n.duration;if(u&&i&&Wr(c)){for(c=0,i=n.responseEnd,a+=1;a<e.length;a++){var o=e[a],b=o.startTime;if(b>i)break;var T=o.transferSize,A=o.initiatorType;T&&Wr(A)&&(o=o.responseEnd,c+=T*(o<i?1:(i-b)/(o-b)))}if(--a,t+=8*(u+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return t/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Pi=null,lf=null;function Ou(l){return l.nodeType===9?l:l.ownerDocument}function Fr(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ir(l,t){if(l===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&t==="foreignObject"?0:l}function tf(l,t){return l==="textarea"||l==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ef=null;function Bh(){var l=window.event;return l&&l.type==="popstate"?l===ef?!1:(ef=l,!0):(ef=null,!1)}var Pr=typeof setTimeout=="function"?setTimeout:void 0,qh=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,Yh=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(l){return ld.resolve(null).then(l).catch(Gh)}:Pr;function Gh(l){setTimeout(function(){throw l})}function pe(l){return l==="head"}function td(l,t){var e=t,a=0;do{var n=e.nextSibling;if(l.removeChild(e),n&&n.nodeType===8)if(e=n.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(n),Ma(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")yn(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,yn(e);for(var u=e.firstChild;u;){var c=u.nextSibling,i=u.nodeName;u[Ua]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&u.rel.toLowerCase()==="stylesheet"||e.removeChild(u),u=c}}else e==="body"&&yn(l.ownerDocument.body);e=n}while(e);Ma(t)}function ed(l,t){var e=l;l=0;do{var a=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(l===0)break;l--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||l++;e=a}while(e)}function af(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":af(e),fc(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Lh(l,t,e,a){for(;l.nodeType===1;){var n=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Ua])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(u=l.getAttribute("rel"),u==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(u!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(u=l.getAttribute("src"),(u!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===u)return l}else return l;if(l=Et(l.nextSibling),l===null)break}return null}function Qh(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Et(l.nextSibling),l===null))return null;return l}function ad(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=Et(l.nextSibling),l===null))return null;return l}function nf(l){return l.data==="$?"||l.data==="$~"}function uf(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Xh(l,t){var e=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||e.readyState!=="loading")t();else{var a=function(){t(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function Et(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var cf=null;function nd(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return Et(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function ud(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return l;t--}else e!=="/$"&&e!=="/&"||t++}l=l.previousSibling}return null}function cd(l,t,e){switch(t=Ou(e),l){case"html":if(l=t.documentElement,!l)throw Error(r(452));return l;case"head":if(l=t.head,!l)throw Error(r(453));return l;case"body":if(l=t.body,!l)throw Error(r(454));return l;default:throw Error(r(451))}}function yn(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);fc(l)}var At=new Map,id=new Set;function Cu(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Pt=D.d;D.d={f:Zh,r:Vh,D:Kh,C:Jh,L:wh,m:$h,X:Wh,S:kh,M:Fh};function Zh(){var l=Pt.f(),t=Tu();return l||t}function Vh(l){var t=we(l);t!==null&&t.tag===5&&t.type==="form"?No(t):Pt.r(l)}var Ea=typeof document>"u"?null:document;function fd(l,t,e){var a=Ea;if(a&&typeof t=="string"&&t){var n=gt(t);n='link[rel="'+l+'"][href="'+n+'"]',typeof e=="string"&&(n+='[crossorigin="'+e+'"]'),id.has(n)||(id.add(n),l={rel:l,crossOrigin:e,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Vl(t,"link",l),Yl(t),a.head.appendChild(t)))}}function Kh(l){Pt.D(l),fd("dns-prefetch",l,null)}function Jh(l,t){Pt.C(l,t),fd("preconnect",l,t)}function wh(l,t,e){Pt.L(l,t,e);var a=Ea;if(a&&l&&t){var n='link[rel="preload"][as="'+gt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(n+='[imagesrcset="'+gt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(n+='[imagesizes="'+gt(e.imageSizes)+'"]')):n+='[href="'+gt(l)+'"]';var u=n;switch(t){case"style":u=Aa(l);break;case"script":u=ja(l)}At.has(u)||(l=O({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),At.set(u,l),a.querySelector(n)!==null||t==="style"&&a.querySelector(bn(u))||t==="script"&&a.querySelector(gn(u))||(t=a.createElement("link"),Vl(t,"link",l),Yl(t),a.head.appendChild(t)))}}function $h(l,t){Pt.m(l,t);var e=Ea;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+gt(a)+'"][href="'+gt(l)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ja(l)}if(!At.has(u)&&(l=O({rel:"modulepreload",href:l},t),At.set(u,l),e.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(gn(u)))return}a=e.createElement("link"),Vl(a,"link",l),Yl(a),e.head.appendChild(a)}}}function kh(l,t,e){Pt.S(l,t,e);var a=Ea;if(a&&l){var n=$e(a).hoistableStyles,u=Aa(l);t=t||"default";var c=n.get(u);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(bn(u)))i.loading=5;else{l=O({rel:"stylesheet",href:l,"data-precedence":t},e),(e=At.get(u))&&ff(l,e);var o=c=a.createElement("link");Yl(o),Vl(o,"link",l),o._p=new Promise(function(b,T){o.onload=b,o.onerror=T}),o.addEventListener("load",function(){i.loading|=1}),o.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Du(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:i},n.set(u,c)}}}function Wh(l,t){Pt.X(l,t);var e=Ea;if(e&&l){var a=$e(e).hoistableScripts,n=ja(l),u=a.get(n);u||(u=e.querySelector(gn(n)),u||(l=O({src:l,async:!0},t),(t=At.get(n))&&sf(l,t),u=e.createElement("script"),Yl(u),Vl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Fh(l,t){Pt.M(l,t);var e=Ea;if(e&&l){var a=$e(e).hoistableScripts,n=ja(l),u=a.get(n);u||(u=e.querySelector(gn(n)),u||(l=O({src:l,async:!0,type:"module"},t),(t=At.get(n))&&sf(l,t),u=e.createElement("script"),Yl(u),Vl(u,"link",l),e.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function sd(l,t,e,a){var n=(n=V.current)?Cu(n):null;if(!n)throw Error(r(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Aa(e.href),e=$e(n).hoistableStyles,a=e.get(t),a||(a={type:"style",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){l=Aa(e.href);var u=$e(n).hoistableStyles,c=u.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(l,c),(u=n.querySelector(bn(l)))&&!u._p&&(c.instance=u,c.state.loading=5),At.has(l)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},At.set(l,e),u||Ih(n,l,e,c.state))),t&&a===null)throw Error(r(528,""));return c}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ja(e),e=$e(n).hoistableScripts,a=e.get(t),a||(a={type:"script",instance:null,count:0,state:null},e.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,l))}}function Aa(l){return'href="'+gt(l)+'"'}function bn(l){return'link[rel="stylesheet"]['+l+"]"}function od(l){return O({},l,{"data-precedence":l.precedence,precedence:null})}function Ih(l,t,e,a){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=l.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Vl(t,"link",e),Yl(t),l.head.appendChild(t))}function ja(l){return'[src="'+gt(l)+'"]'}function gn(l){return"script[async]"+l}function rd(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+gt(e.href)+'"]');if(a)return t.instance=a,Yl(a),a;var n=O({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Yl(a),Vl(a,"style",n),Du(a,e.precedence,l),t.instance=a;case"stylesheet":n=Aa(e.href);var u=l.querySelector(bn(n));if(u)return t.state.loading|=4,t.instance=u,Yl(u),u;a=od(e),(n=At.get(n))&&ff(a,n),u=(l.ownerDocument||l).createElement("link"),Yl(u);var c=u;return c._p=new Promise(function(i,o){c.onload=i,c.onerror=o}),Vl(u,"link",a),t.state.loading|=4,Du(u,e.precedence,l),t.instance=u;case"script":return u=ja(e.src),(n=l.querySelector(gn(u)))?(t.instance=n,Yl(n),n):(a=e,(n=At.get(u))&&(a=O({},e),sf(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Yl(n),Vl(n,"link",a),l.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Du(a,e.precedence,l));return t.instance}function Du(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var i=a[c];if(i.dataset.precedence===t)u=i;else if(u!==n)break}u?u.parentNode.insertBefore(l,u.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function ff(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function sf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Uu=null;function dd(l,t,e){if(Uu===null){var a=new Map,n=Uu=new Map;n.set(e,a)}else n=Uu,a=n.get(e),a||(a=new Map,n.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),n=0;n<e.length;n++){var u=e[n];if(!(u[Ua]||u[Ll]||l==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=l+c;var i=a.get(c);i?i.push(u):a.set(c,[u])}}return a}function md(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function Ph(l,t,e){if(e===1||t.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return l=t.disabled,typeof t.precedence=="string"&&l==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function hd(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function l0(l,t,e,a){if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Aa(a.href),u=t.querySelector(bn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Ru.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,Yl(u);return}u=t.ownerDocument||t,a=od(a),(n=At.get(n))&&ff(a,n),u=u.createElement("link"),Yl(u);var c=u;c._p=new Promise(function(i,o){c.onload=i,c.onerror=o}),Vl(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Ru.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var of=0;function t0(l,t){return l.stylesheets&&l.count===0&&Bu(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Bu(l,l.stylesheets),l.unsuspend){var u=l.unsuspend;l.unsuspend=null,u()}},6e4+t);0<l.imgBytes&&of===0&&(of=62500*Hh());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Bu(l,l.stylesheets),l.unsuspend)){var u=l.unsuspend;l.unsuspend=null,u()}},(l.imgBytes>of?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Ru(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bu(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Hu=null;function Bu(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Hu=new Map,t.forEach(e0,l),Hu=null,Ru.call(l))}function e0(l,t){if(!(t.state.loading&4)){var e=Hu.get(l);if(e)var a=e.get(null);else{e=new Map,Hu.set(l,e);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=e.get(c)||a,u===a&&e.set(null,n),e.set(c,n),this.count++,a=Ru.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),t.state.loading|=4}}var Sn={$$typeof:vl,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function a0(l,t,e,a,n,u,c,i,o){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=nc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nc(0),this.hiddenUpdates=nc(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function vd(l,t,e,a,n,u,c,i,o,b,T,A){return l=new a0(l,t,e,c,o,b,T,A,i),t=1,u===!0&&(t|=24),u=ot(3,null,null,t),l.current=u,u.stateNode=l,t=Xc(),t.refCount++,l.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:e,cache:t},Jc(u),l}function yd(l){return l?(l=na,l):na}function bd(l,t,e,a,n,u){n=yd(n),a.context===null?a.context=n:a.pendingContext=n,a=se(t),a.payload={element:e},u=u===void 0?null:u,u!==null&&(a.callback=u),e=oe(l,a,t),e!==null&&(ut(e,l,t),Wa(e,l,t))}function gd(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function rf(l,t){gd(l,t),(l=l.alternate)&&gd(l,t)}function Sd(l){if(l.tag===13||l.tag===31){var t=De(l,67108864);t!==null&&ut(t,l,67108864),rf(l,67108864)}}function pd(l){if(l.tag===13||l.tag===31){var t=vt();t=uc(t);var e=De(l,t);e!==null&&ut(e,l,t),rf(l,t)}}var qu=!0;function n0(l,t,e,a){var n=z.T;z.T=null;var u=D.p;try{D.p=2,df(l,t,e,a)}finally{D.p=u,z.T=n}}function u0(l,t,e,a){var n=z.T;z.T=null;var u=D.p;try{D.p=8,df(l,t,e,a)}finally{D.p=u,z.T=n}}function df(l,t,e,a){if(qu){var n=mf(a);if(n===null)Fi(l,t,a,Yu,e),Td(l,a);else if(i0(n,l,t,e,a))a.stopPropagation();else if(Td(l,a),t&4&&-1<c0.indexOf(l)){for(;n!==null;){var u=we(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=je(u.pendingLanes);if(c!==0){var i=u;for(i.pendingLanes|=2,i.entangledLanes|=2;c;){var o=1<<31-ft(c);i.entanglements[1]|=o,c&=~o}Ut(u),(ol&6)===0&&(pu=ct()+500,mn(0))}}break;case 31:case 13:i=De(u,2),i!==null&&ut(i,u,2),Tu(),rf(u,2)}if(u=mf(a),u===null&&Fi(l,t,a,Yu,e),u===n)break;n=u}n!==null&&a.stopPropagation()}else Fi(l,t,a,null,e)}}function mf(l){return l=hc(l),hf(l)}var Yu=null;function hf(l){if(Yu=null,l=Je(l),l!==null){var t=N(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=L(t),l!==null)return l;l=null}else if(e===31){if(l=C(t),l!==null)return l;l=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return Yu=l,null}function xd(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Kd()){case Mf:return 2;case _f:return 8;case jn:case Jd:return 32;case Of:return 268435456;default:return 32}default:return 32}}var vf=!1,xe=null,Te=null,ze=null,pn=new Map,xn=new Map,Ne=[],c0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Td(l,t){switch(l){case"focusin":case"focusout":xe=null;break;case"dragenter":case"dragleave":Te=null;break;case"mouseover":case"mouseout":ze=null;break;case"pointerover":case"pointerout":pn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(t.pointerId)}}function Tn(l,t,e,a,n,u){return l===null||l.nativeEvent!==u?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=we(t),t!==null&&Sd(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),l)}function i0(l,t,e,a,n){switch(t){case"focusin":return xe=Tn(xe,l,t,e,a,n),!0;case"dragenter":return Te=Tn(Te,l,t,e,a,n),!0;case"mouseover":return ze=Tn(ze,l,t,e,a,n),!0;case"pointerover":var u=n.pointerId;return pn.set(u,Tn(pn.get(u)||null,l,t,e,a,n)),!0;case"gotpointercapture":return u=n.pointerId,xn.set(u,Tn(xn.get(u)||null,l,t,e,a,n)),!0}return!1}function zd(l){var t=Je(l.target);if(t!==null){var e=N(t);if(e!==null){if(t=e.tag,t===13){if(t=L(e),t!==null){l.blockedOn=t,Bf(l.priority,function(){pd(e)});return}}else if(t===31){if(t=C(e),t!==null){l.blockedOn=t,Bf(l.priority,function(){pd(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){l.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Gu(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=mf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);mc=a,e.target.dispatchEvent(a),mc=null}else return t=we(e),t!==null&&Sd(t),l.blockedOn=e,!1;t.shift()}return!0}function Nd(l,t,e){Gu(l)&&e.delete(t)}function f0(){vf=!1,xe!==null&&Gu(xe)&&(xe=null),Te!==null&&Gu(Te)&&(Te=null),ze!==null&&Gu(ze)&&(ze=null),pn.forEach(Nd),xn.forEach(Nd)}function Lu(l,t){l.blockedOn===t&&(l.blockedOn=null,vf||(vf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,f0)))}var Qu=null;function Ed(l){Qu!==l&&(Qu=l,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Qu===l&&(Qu=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],n=l[t+2];if(typeof a!="function"){if(hf(a||e)===null)continue;break}var u=we(e);u!==null&&(l.splice(t,3),t-=3,di(u,{pending:!0,data:n,method:e.method,action:a},a,n))}}))}function Ma(l){function t(o){return Lu(o,l)}xe!==null&&Lu(xe,l),Te!==null&&Lu(Te,l),ze!==null&&Lu(ze,l),pn.forEach(t),xn.forEach(t);for(var e=0;e<Ne.length;e++){var a=Ne[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ne.length&&(e=Ne[0],e.blockedOn===null);)zd(e),e.blockedOn===null&&Ne.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var n=e[a],u=e[a+1],c=n[Pl]||null;if(typeof u=="function")c||Ed(e);else if(c){var i=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[Pl]||null)i=c.formAction;else if(hf(n)!==null)continue}else i=c.action;typeof i=="function"?e[a+1]=i:(e.splice(a,3),a-=3),Ed(e)}}}function Ad(){function l(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function yf(l){this._internalRoot=l}Xu.prototype.render=yf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(r(409));var e=t.current,a=vt();bd(e,a,l,t,null,null)},Xu.prototype.unmount=yf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;bd(l.current,2,null,l,null,null),Tu(),t[Ke]=null}};function Xu(l){this._internalRoot=l}Xu.prototype.unstable_scheduleHydration=function(l){if(l){var t=Hf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ne.length&&t!==0&&t<Ne[e].priority;e++);Ne.splice(e,0,l),e===0&&zd(l)}};var jd=d.version;if(jd!=="19.2.0")throw Error(r(527,jd,"19.2.0"));D.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(r(188)):(l=Object.keys(l).join(","),Error(r(268,l)));return l=S(t),l=l!==null?B(l):null,l=l===null?null:l.stateNode,l};var s0={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zu.isDisabled&&Zu.supportsFiber)try{Oa=Zu.inject(s0),it=Zu}catch{}}return Nn.createRoot=function(l,t){if(!_(l))throw Error(r(299));var e=!1,a="",n=Ro,u=Ho,c=Bo;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=vd(l,1,!1,null,null,e,a,null,n,u,c,Ad),l[Ke]=t.current,Wi(l),new yf(t)},Nn.hydrateRoot=function(l,t,e){if(!_(l))throw Error(r(299));var a=!1,n="",u=Ro,c=Ho,i=Bo,o=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError),e.formState!==void 0&&(o=e.formState)),t=vd(l,1,!0,t,e??null,a,n,o,u,c,i,Ad),t.context=yd(null),e=t.current,a=vt(),a=uc(a),n=se(a),n.callback=null,oe(e,n,a),e=a,t.current.lanes=e,Da(t,e),Ut(t),l[Ke]=t.current,Wi(l),new Xu(t)},Nn.version="19.2.0",Nn}var qd;function p0(){if(qd)return gf.exports;qd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(d){console.error(d)}}return f(),gf.exports=S0(),gf.exports}var x0=p0(),T0=Nf();const I=r0(T0),Gd="z8_theme";function z0(f){document.documentElement.setAttribute("data-theme",f);try{localStorage.setItem(Gd,f)}catch{}}function N0(){try{const d=localStorage.getItem(Gd);if(d==="light"||d==="night")return d}catch{}return typeof window<"u"&&window.matchMedia?.("(prefers-color-scheme: dark)").matches?"night":"light"}function E0(){const[f,d]=I.useState(()=>N0()),p=()=>{const r=f==="night"?"light":"night";d(r),z0(r)};return s.jsx("button",{className:"btn btn-sm",onClick:p,title:"Toggle theme",children:f==="night"?"🌙 Night":" ☀️ Day"})}const Wl=["overview","coverage"],A0={overview:{label:"Overview",description:"Snapshot & trends",icon:f=>s.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":!0,className:f?"text-primary":"text-base-content/60",children:s.jsx("path",{fill:"currentColor",d:"M4 9h4v11H4zm6-6h4v17h-4zm6 11h4v6h-4z"})})},coverage:{label:"Coverage Explorer",description:"Deep dive metrics",icon:f=>s.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":!0,className:f?"text-primary":"text-base-content/60",children:s.jsx("path",{fill:"currentColor",d:"M12 2l9 4v6c0 5.25-3.22 10.42-9 12c-5.78-1.58-9-6.75-9-12V6l9-4zm0 3.18L6 7.09v4.42c0 4.06 2.62 8.34 6 9.85c3.38-1.51 6-5.79 6-9.85V7.09l-6-1.91zm-1 10.82l-3.59-3.58L8.83 11L11 13.17l4.59-4.58L17 10l-6 6z"})})}};function Ld(f="overview"){const d=()=>{const N=window.location.hash.replace(/^#\//,"");return Wl.includes(N)?N:f},[p,r]=I.useState(d());return I.useEffect(()=>{const N=()=>r(d());return window.addEventListener("hashchange",N),()=>window.removeEventListener("hashchange",N)},[]),[p,N=>{N!==p&&(window.location.hash=`/${N}`)}]}function j0(){const[f,d]=Ld(),p=I.useMemo(()=>Wl.indexOf(f),[f]),r=I.useRef(null),_=I.useRef([]),N=I.useRef(null);I.useLayoutEffect(()=>{const C=_.current[p],j=r.current,S=N.current;if(!C||!j||!S)return;const B=C.getBoundingClientRect(),O=j.getBoundingClientRect(),X=B.left-O.left+j.scrollLeft,K=B.top-O.top+j.scrollTop;S.style.transform=`translate3d(${X}px, ${K}px, 0)`,S.style.width=`${B.width}px`,S.style.height=`${B.height}px`;const sl=24,ul=j.scrollLeft,xl=ul+j.clientWidth,F=X,Sl=X+B.width;F<ul?j.scrollTo({left:Math.max(0,F-sl),behavior:"smooth"}):Sl>xl&&j.scrollTo({left:Sl-j.clientWidth+sl,behavior:"smooth"})},[p]),I.useEffect(()=>{const C=()=>{const j=_.current[p],S=r.current,B=N.current;if(!j||!S||!B)return;const O=j.getBoundingClientRect(),X=S.getBoundingClientRect(),K=O.left-X.left+S.scrollLeft,sl=O.top-X.top+S.scrollTop;B.style.transform=`translate3d(${K}px, ${sl}px, 0)`,B.style.width=`${O.width}px`,B.style.height=`${O.height}px`};return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[p]);const L=C=>{const j=p;if(C.key==="ArrowRight"){C.preventDefault();const S=(j+1)%Wl.length;d(Wl[S]),window.location.hash=`/${Wl[S]}`,_.current[S]?.focus()}else if(C.key==="ArrowLeft"){C.preventDefault();const S=(j-1+Wl.length)%Wl.length;d(Wl[S]),window.location.hash=`/${Wl[S]}`,_.current[S]?.focus()}else if(C.key==="Home")C.preventDefault(),d(Wl[0]),window.location.hash=`/${Wl[0]}`,_.current[0]?.focus();else if(C.key==="End"){C.preventDefault();const S=Wl.length-1;d(Wl[S]),window.location.hash=`/${Wl[S]}`,_.current[S]?.focus()}};return s.jsx("div",{className:"dash-section pb-4",children:s.jsxs("nav",{"aria-label":"Primary",className:"relative overflow-hidden rounded-3xl border border-base-content/10 bg-gradient-to-br from-base-100/80 via-base-100/60 to-base-100/80 px-3 py-2 backdrop-blur-xl shadow-lg shadow-primary/5",onKeyDown:L,children:[s.jsx("div",{className:"pointer-events-none absolute left-0 top-0 h-full w-16 bg-gradient-to-r from-base-100/90 via-base-100/70 to-transparent md:hidden"}),s.jsx("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-16 bg-gradient-to-l from-base-100/90 via-base-100/70 to-transparent md:hidden"}),s.jsxs("div",{ref:r,className:"relative flex gap-2 overflow-x-auto whitespace-nowrap no-scrollbar py-1",role:"tablist","aria-orientation":"horizontal",children:[s.jsx("div",{ref:N,className:"pointer-events-none absolute z-0 rounded-3xl border border-primary/20 bg-gradient-to-br from-primary/18 via-primary/12 to-accent/16 shadow-[0_28px_60px_-40px_rgba(37,99,235,0.9)] transition-transform duration-300 ease-out","aria-hidden":!0}),Wl.map((C,j)=>{const S=A0[C],B=C===f;return s.jsxs("a",{ref:O=>_.current[j]=O,href:`#/${C}`,onClick:O=>{O.preventDefault(),d(C),window.location.hash=`/${C}`},className:["relative z-10 inline-flex min-w-[220px] items-center gap-4 rounded-3xl px-5 py-3 transition-all duration-200","focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/40",B?"text-base-content":"text-base-content/60 hover:text-base-content/90"].join(" "),role:"tab","aria-selected":B,"aria-controls":`panel-${C}`,children:[s.jsx("span",{className:["flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl transition-colors duration-200",B?"bg-primary/15 text-primary shadow-sm shadow-primary/30":"bg-base-200/80 text-base-content/50"].join(" "),children:S.icon(B)}),s.jsxs("span",{className:"flex flex-col text-left",children:[s.jsx("span",{className:"text-sm font-semibold tracking-tight",children:S.label}),s.jsx("span",{className:"text-xs font-medium uppercase tracking-[0.25em] text-base-content/50",children:S.description})]})]},C)})]})]})})}function M0(f=4){const[d,p]=I.useState(!1);return I.useEffect(()=>{const r=()=>p(window.scrollY>f);return r(),window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[f]),d}const _0={Idle:"badge border bg-base-100/80 border-base-200/70",Running:"badge border border-info/40 bg-info/20 text-info-content",Parsing:"badge border border-warning/40 bg-warning/20 text-warning-content",Ready:"badge border border-success/40 bg-success/15 text-success-content",Error:"badge border border-error/40 bg-error/15 text-error-content"},O0={Idle:"bg-base-content/40",Running:"bg-info animate-pulse",Parsing:"bg-warning animate-pulse",Ready:"bg-success",Error:"bg-error"};function C0({status:f}){return s.jsxs("span",{className:`${_0[f]} gap-1`,children:[s.jsx("span",{"aria-hidden":!0,className:`inline-block h-2 w-2 rounded-full ${O0[f]}`}),f]})}function D0({repoName:f,branch:d,status:p,onRunAll:r,onExport:_}){const N=M0(),L=p==="Running";return s.jsxs("header",{className:["sticky top-0 z-30 border-b border-base-300/60 bg-base-100/70 backdrop-blur-xl transition-all",N?"shadow-lg shadow-primary/10":""].join(" "),role:"banner",children:[s.jsx("div",{className:"dash-section py-3",children:s.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[s.jsxs("div",{className:"flex w-full items-center gap-3 md:w-auto",children:[s.jsx("div",{className:"hidden sm:flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl border border-primary/50 bg-primary/15 text-primary shadow-elevated",children:s.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24","aria-hidden":!0,className:"opacity-90",children:s.jsx("path",{fill:"currentColor",d:"M12 2l9 4v6c0 5.1-3.4 10.2-9 12c-5.6-1.8-9-6.9-9-12V6z"})})}),s.jsxs("div",{className:"min-w-0",children:[s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[s.jsx("span",{className:"text-sm uppercase tracking-[0.2em] text-base-content/60",children:"The Code Dot Report"}),s.jsx("span",{className:"hidden h-6 w-px bg-base-content/20 md:block","aria-hidden":!0}),s.jsx(C0,{status:p})]}),s.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-2 text-base-content",children:[s.jsx("span",{className:"truncate text-lg font-semibold tracking-tight",children:f||"No repository selected"}),s.jsx("span",{className:"text-base-content/40",children:"/"}),s.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full border border-base-content/10 bg-base-200/70 px-2 py-0.5 text-xs font-medium text-base-content/70",children:[s.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24","aria-hidden":!0,children:s.jsx("path",{fill:"currentColor",d:"M4 4h7l1 2h8v12H4z"})}),d||"—"]})]})]})]}),s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[s.jsx(E0,{}),s.jsx("button",{type:"button",className:["btn btn-sm btn-primary shadow-sm shadow-primary/20 transition-all relative select-none","btn-disabled cursor-not-allowed opacity-60 pointer-events-none"].join(" "),title:"Not implemented yet","aria-label":"Run all tests (coming soon)","aria-disabled":"true",disabled:!0,children:L?s.jsxs(s.Fragment,{children:[s.jsxs("svg",{className:"-ml-0.5 mr-2 inline-block h-3.5 w-3.5 animate-spin",viewBox:"0 0 24 24","aria-hidden":"true",children:[s.jsx("circle",{className:"opacity-20",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),s.jsx("path",{className:"opacity-90",fill:"currentColor",d:"M12 2a10 10 0 0 1 10 10h-4a6 6 0 1 0-6-6z"})]}),"Running…"]}):s.jsxs(s.Fragment,{children:[s.jsx("svg",{className:"-ml-0.5 mr-1 inline-block",width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":"true",children:s.jsx("path",{fill:"currentColor",d:"M8 5v14l11-7z"})}),"Run All"]})}),s.jsxs("button",{type:"button",className:"btn btn-sm btn-ghost border border-base-200/70 bg-base-100/70",onClick:_,title:"Export as PDF (E)","aria-label":"Export as PDF",children:[s.jsx("svg",{className:"-ml-0.5 mr-1 inline-block",width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":"true",children:s.jsx("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0l6 6"})}),"Export PDF"]})]})]})}),s.jsx(j0,{})]})}function U0({summary:f,totals:d,history:p}){return s.jsxs("section",{className:"space-y-6",children:[s.jsx(R0,{info:f,totals:d}),s.jsx(H0,{totals:d,history:p})]})}function R0({info:f,totals:d}){return s.jsx("div",{className:"card glass-surface shadow-primary/10",children:s.jsxs("div",{className:"card-body flex flex-col gap-4 py-5 lg:flex-row lg:items-center lg:justify-between",children:[s.jsx("div",{className:"flex items-start gap-3",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-xs uppercase tracking-[0.36em] text-base-content/50",children:"Coverage snapshot"}),s.jsxs("h2",{className:"mt-1 text-2xl font-semibold leading-tight",children:[Ef(d.lines.pct)," overall line coverage"]})]})}),s.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-sm lg:max-w-xl",children:[s.jsx(Vu,{label:"Parser",value:f.parser}),s.jsx(Vu,{label:"Assemblies",value:f.assemblies}),s.jsx(Vu,{label:"Classes",value:f.classes}),s.jsx(Vu,{label:"Files",value:f.files})]}),s.jsxs("div",{className:"flex flex-col gap-1 text-xs text-base-content/60 lg:text-right",children:[f.generatedBy&&s.jsxs("span",{children:["Generated by ",f.generatedBy]}),f.generatedAt&&s.jsx("span",{children:Y0(f.generatedAt)})]})]})})}function Vu({label:f,value:d}){return s.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-base-content/10 bg-base-100/80 px-3 py-1 backdrop-blur",children:[s.jsx("span",{className:"text-xs uppercase tracking-wide text-base-content/50",children:f}),s.jsx("span",{className:"text-sm font-semibold",children:d??"—"})]})}function H0({totals:f,history:d}){return s.jsxs("div",{className:"grid gap-4 md:grid-cols-4",children:[s.jsx(Ku,{title:"Line coverage",mainPct:f.lines.pct,counts:[["Covered lines",f.lines.covered],["Uncovered lines",f.lines.uncovered],["Coverable lines",f.lines.coverable],["Total lines",f.lines.total]],deltaPct:Ju(d?.map(p=>p.linePct))}),s.jsx(Ku,{title:"Branch coverage",mainPct:f.branches.pct,counts:[["Covered branches",f.branches.covered],["Total branches",f.branches.total]],deltaPct:Ju(d?.map(p=>p.branchPct))}),s.jsx(Ku,{title:"Method coverage",mainPct:f.methods.pct,counts:[["Covered methods",f.methods.covered],["Fully covered methods",f.methods.fullCovered],["Total methods",f.methods.total]],deltaPct:Ju(d?.map(p=>p.methodPct))}),s.jsx(Ku,{title:"Full method coverage",mainPct:f.methods.fullPct,counts:[["Full method coverage",f.methods.fullPct!=null?Ef(f.methods.fullPct):"—"],["Fully covered methods",f.methods.fullCovered],["Total methods",f.methods.total]],deltaPct:Ju(d?.map(p=>p.fullMethodPct))})]})}function Ku({title:f,mainPct:d,counts:p,deltaPct:r}){const _=q0(d);return s.jsx("div",{className:"card glass-surface shadow-primary/5 transition-shadow hover:shadow-primary/10",children:s.jsxs("div",{className:"card-body gap-4",children:[s.jsxs("div",{className:"flex items-start justify-between gap-2",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-xs uppercase tracking-[0.3em] text-base-content/50",children:f}),s.jsxs("div",{className:"mt-2 flex items-baseline gap-2",children:[s.jsx("span",{className:"text-4xl font-semibold tabular-nums",children:Ef(d)}),s.jsx("div",{className:"h-2 w-2 rounded-full bg-gradient-to-br from-primary to-accent opacity-70","aria-hidden":!0})]})]}),s.jsx(B0,{delta:r??void 0})]}),s.jsx("div",{className:"relative mt-2 h-2.5 w-full overflow-hidden rounded-full bg-base-200/60",children:s.jsx("div",{className:`h-full ${_}`,style:{width:`${Qd(d,0,100)}%`,backgroundImage:"linear-gradient(90deg, rgba(37,99,235,0.85), rgba(14,165,233,0.7))"}})}),s.jsx("ul",{className:"grid gap-2 text-sm text-base-content/70",children:p.map(([N,L])=>s.jsxs("li",{className:"flex items-center justify-between rounded-lg border border-base-content/5 bg-base-100/60 px-3 py-2",children:[s.jsx("span",{children:N}),s.jsx("span",{className:"font-semibold text-base-content",children:L??"—"})]},N))})]})})}function B0({delta:f}){if(!Number.isFinite(f)||f===0)return null;const d=f,p=d>0;return s.jsxs("span",{className:`badge gap-1 ${p?"badge-success":"badge-error"}`,title:p?"Improved":"Regressed",children:[s.jsx("svg",{width:"12",height:"12",viewBox:"0 0 24 24","aria-hidden":!0,children:p?s.jsx("path",{fill:"currentColor",d:"M7 14l5-5 5 5H7z"}):s.jsx("path",{fill:"currentColor",d:"M7 10l5 5 5-5H7z"})}),Math.abs(d).toFixed(1),"%"]})}function Qd(f,d,p){return Math.min(p,Math.max(d,f))}function Ef(f){return Number.isFinite(f)?`${Qd(f,0,100).toFixed(1)}%`:"—"}function q0(f){return Number.isFinite(f)?f>=90?"bg-success":f>=75?"bg-info":f>=60?"bg-warning":"bg-error":"bg-base-300"}function Ju(f){if(!f||f.length<2)return null;const d=f[f.length-2],p=f[f.length-1];return!Number.isFinite(d)||!Number.isFinite(p)?null:+(p-d).toFixed(1)}function Y0(f){const d=new Date(f);if(isNaN(+d))return f;const p=r=>`${r}`.padStart(2,"0");return`${p(d.getDate())}.${p(d.getMonth()+1)}.${d.getFullYear()} - ${p(d.getHours())}:${p(d.getMinutes())}:${p(d.getSeconds())}`}function G0({rows:f,snapshots:d,onSelectSnapshot:p,thresholds:r,pageSize:_=50}){const[N,L]=I.useState(""),[C,j]=I.useState(!0),[S,B]=I.useState(!0),[O,X]=I.useState(!0),[K,sl]=I.useState(!0),[ul,xl]=I.useState("assembly"),[F,Sl]=I.useState(null),[vl,$]=I.useState(null),[Al,_l]=I.useState("name"),[J,Bl]=I.useState("asc"),[Fl,le]=I.useState(1),yt=()=>Sl("expand"),Kl=()=>Sl("collapse"),Rt=q=>{const V=q||null;$(V),p?.(V)},Il=I.useMemo(()=>{if(!N.trim())return f;const q=N.toLowerCase(),V=Nl=>Nl.name.toLowerCase().includes(q)||(Nl.path?.toLowerCase().includes(q)??!1),P=Nl=>Nl.map(rl=>{const Ht=rl.children?P(rl.children):void 0;return V(rl)||Ht&&Ht.length?{...rl,children:Ht}:null}).filter(Boolean);return P(f)},[f,N]),wl=I.useMemo(()=>zf(Il),[Il]),z=I.useMemo(()=>{const q=[...wl];return q.sort((V,P)=>K0(V.row,P.row,Al,J)),q},[wl,Al,J]),D=Math.max(1,Math.ceil(z.length/_)),cl=(Math.min(Fl,D)-1)*_,dl=new Set(z.slice(cl,cl+_).map(q=>_a(q.row))),h=wl.length,M=Math.max(0,Math.min(_,h-cl)),U=X0(Al);I.useEffect(()=>{le(1)},[N,Al,J,_]);const H=()=>{const q=zf(Il).map(({row:Nl,depth:rl})=>J0(Nl,rl)),V=Object.keys(q[0]??{depth:0,kind:"",name:"",path:"",coveredLines:0,uncoveredLines:0,coverableLines:0,totalLines:0,linePct:0,coveredBranches:"",totalBranches:"",branchPct:"",coveredMethods:"",totalMethods:"",methodPct:"",fullCoveredMethods:"",fullMethodPct:""}),P=[V.join(","),...q.map(Nl=>V.map(rl=>w0(Nl[rl])).join(","))].join(`
`);$0(P,"coverage.csv","text/csv;charset=utf-8")};return s.jsxs("section",{className:"space-y-6",children:[s.jsx("div",{className:"card glass-surface shadow-primary/5",children:s.jsxs("div",{className:"card-body gap-5 py-6",children:[s.jsxs("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between",children:[s.jsxs("div",{children:[s.jsx("h3",{className:"text-lg font-semibold",children:"Coverage controls"}),s.jsx("p",{className:"text-sm text-base-content/60",children:"Toggle metrics, adjust grouping, and compare snapshots without losing context."})]}),s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[s.jsxs("button",{className:"btn btn-sm btn-ghost border border-base-200/60 bg-base-100/70",onClick:yt,children:[s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":!0,className:"-ml-0.5 mr-1 opacity-70",children:s.jsx("path",{fill:"currentColor",d:"M12 5v14M5 12h14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Expand all"]}),s.jsxs("button",{className:"btn btn-sm btn-ghost border border-base-200/60 bg-base-100/70",onClick:Kl,children:[s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":!0,className:"-ml-0.5 mr-1 opacity-70",children:s.jsx("path",{fill:"currentColor",d:"M5 12h14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Collapse all"]}),s.jsxs("button",{className:"btn btn-sm btn-outline border-primary/40 text-primary hover:bg-primary/10",onClick:H,children:[s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":!0,className:"-ml-0.5 mr-1 opacity-70",children:s.jsx("path",{fill:"currentColor",d:"M5 20h14v-2H5m14-7h-4V4H9v7H5l7 7z"})}),"Export CSV"]})]})]}),s.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between",children:[s.jsxs("fieldset",{"aria-label":"Coverage types",className:"flex flex-wrap items-center gap-2 rounded-2xl border border-base-content/10 bg-base-100/70 p-3",children:[s.jsx(wu,{label:"Line",checked:C,onChange:()=>j(!C)}),s.jsx(wu,{label:"Branch",checked:S,onChange:()=>B(!S)}),s.jsx(wu,{label:"Method",checked:O,onChange:()=>X(!O)}),s.jsx(wu,{label:"Full method",checked:K,onChange:()=>sl(!K)})]}),s.jsxs("div",{className:"flex w-full flex-col gap-4 sm:flex-row sm:items-center sm:justify-end sm:gap-3 lg:w-auto",children:[s.jsx(Yd,{label:"Grouping",value:ul,onChange:q=>xl(q),options:[{value:"assembly",label:"Assembly"},{value:"namespace",label:"Namespace"},{value:"class",label:"Class"}],className:"sm:w-44"}),s.jsx(Yd,{label:"Compare with",value:vl??"",onChange:q=>Rt(q),options:[{value:"",label:"— None —"},...d?.map(q=>({value:q.id,label:q.label}))??[]],className:"sm:w-60"})]})]})]})}),s.jsx("div",{className:"card glass-surface shadow-primary/5",children:s.jsxs("div",{className:"card-body gap-5 py-6",children:[s.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[s.jsx(Z0,{placeholder:"Filter by name or path…",value:N,onChange:L,className:"w-full md:max-w-sm"}),s.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-sm text-base-content/60",children:[s.jsxs("span",{children:["Showing ",M," of ",h," entries"]}),s.jsx("span",{className:"hidden md:inline text-base-content/30","aria-hidden":!0,children:"•"}),s.jsxs("span",{children:["Sorted by ",U," (",J==="asc"?"asc":"desc",")"]})]})]}),s.jsx(L0,{rows:Il,pageKeys:dl,query:N,show:{line:C,branch:S,method:O,fullMethod:K},groupBy:ul,expandedAllKey:F,thresholds:r,sortKey:Al,sortDir:J,setSortKey:_l,setSortDir:Bl})]})})]})}function L0({rows:f,pageKeys:d,query:p,show:r,groupBy:_,expandedAllKey:N,thresholds:L,sortKey:C,sortDir:j,setSortKey:S,setSortDir:B}){const[O,X]=I.useState({});I.useEffect(()=>{if(!N)return;const F={},Sl=vl=>{F[_a(vl)]=N==="expand",vl.children?.forEach(Sl)};f.forEach(Sl),X(F)},[N,f]);const K=F=>{F===C?B(j==="asc"?"desc":"asc"):(S(F),B(F==="name"?"asc":"desc"))},sl=1+(r.line?5:0)+(r.branch?3:0)+(r.method?3:0)+(r.fullMethod?3:0),ul=I.useCallback(F=>F.map(Sl=>{const vl=_a(Sl);if(d.has(vl))return Sl;const $=Sl.children?ul(Sl.children):void 0;return $&&$.length?{...Sl,children:$}:null}).filter(Boolean),[d]),xl=I.useMemo(()=>ul(f),[f,ul]);return s.jsx("div",{className:"overflow-auto rounded-2xl border border-base-content/10 bg-base-100/70",children:s.jsxs("table",{className:"table table-zebra",children:[s.jsx("thead",{className:"sticky top-0 z-[1] bg-base-100/95 backdrop-blur",children:s.jsxs("tr",{children:[s.jsx(kl,{label:"Name",k:"name",sortKey:C,sortDir:j,onSort:K,className:"w-[18rem] max-w-[18rem]"}),r.line&&s.jsxs(s.Fragment,{children:[s.jsx(kl,{label:"Covered",k:"coveredLines",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Uncovered",k:"uncoveredLines",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Coverable",k:"coverableLines",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Total",k:"totalLines",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Line %",k:"linePct",sortKey:C,sortDir:j,onSort:K})]}),r.branch&&s.jsxs(s.Fragment,{children:[s.jsx(kl,{label:"Covered",k:"coveredBranches",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Total",k:"totalBranches",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Branch %",k:"branchPct",sortKey:C,sortDir:j,onSort:K})]}),r.method&&s.jsxs(s.Fragment,{children:[s.jsx(kl,{label:"Covered",k:"coveredMethods",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Total",k:"totalMethods",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Method %",k:"methodPct",sortKey:C,sortDir:j,onSort:K})]}),r.fullMethod&&s.jsxs(s.Fragment,{children:[s.jsx(kl,{label:"Fully covered",k:"fullCoveredMethods",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Total",k:"totalMethods",sortKey:C,sortDir:j,onSort:K}),s.jsx(kl,{label:"Full method %",k:"fullMethodPct",sortKey:C,sortDir:j,onSort:K})]})]})}),s.jsx("tbody",{children:xl.length===0?s.jsx("tr",{children:s.jsx("td",{colSpan:sl,children:s.jsx(V0,{message:"No results. Try adjusting your filters."})})}):xl.map(F=>s.jsx(Q0,{row:F,show:r,level:0,expanded:O,setExpanded:X,thresholds:L},_a(F)))})]})})}const Q0=I.memo(function f({row:d,show:p,level:r,expanded:_,setExpanded:N,thresholds:L}){const C=!!d.children?.length,j=_a(d),S=_[j]??!0,B=()=>N(X=>({...X,[j]:!(X[j]??!0)})),O=typeof L?.total=="number"&&Number.isFinite(d.lines.pct)&&d.lines.pct<L.total;return s.jsxs(s.Fragment,{children:[s.jsxs("tr",{className:O?"bg-error/5":void 0,children:[s.jsx("td",{className:"w-[18rem] max-w-[18rem] align-top",children:s.jsxs("div",{className:"flex items-center gap-2 max-w-full",style:{paddingLeft:`${r*16}px`},children:[C?s.jsx("button",{className:"btn btn-ghost btn-xs",onClick:B,"aria-expanded":S,"aria-label":S?"Collapse":"Expand",children:s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":!0,children:S?s.jsx("path",{fill:"currentColor",d:"M7 10l5 5 5-5z"}):s.jsx("path",{fill:"currentColor",d:"M7 14l5-5 5 5z"})})}):s.jsx("span",{className:"w-5"}),s.jsxs("div",{className:"min-w-0 max-w-full",children:[s.jsx("div",{className:"truncate font-medium",children:d.name}),d.path&&s.jsx("div",{className:"truncate text-xs text-base-content/60",children:d.path})]}),O&&s.jsxs("span",{className:"badge badge-error badge-outline ml-1",children:["under ",L.total,"%"]})]})}),p.line&&s.jsxs(s.Fragment,{children:[s.jsx("td",{className:"tabular-nums",children:d.lines.covered}),s.jsx("td",{className:"tabular-nums",children:d.lines.uncovered}),s.jsx("td",{className:"tabular-nums",children:d.lines.coverable}),s.jsx("td",{className:"tabular-nums",children:d.lines.total}),s.jsx("td",{className:"tabular-nums font-medium",children:$u(d.lines.pct)})]}),p.branch&&s.jsxs(s.Fragment,{children:[s.jsx("td",{className:"tabular-nums",children:d.branches?.covered??"—"}),s.jsx("td",{className:"tabular-nums",children:d.branches?.total??"—"}),s.jsx("td",{className:"tabular-nums font-medium",children:d.branches?$u(d.branches.pct):"—"})]}),p.method&&s.jsxs(s.Fragment,{children:[s.jsx("td",{className:"tabular-nums",children:d.methods?.covered??"—"}),s.jsx("td",{className:"tabular-nums",children:d.methods?.total??"—"}),s.jsx("td",{className:"tabular-nums font-medium",children:d.methods?$u(d.methods.pct):"—"})]}),p.fullMethod&&s.jsxs(s.Fragment,{children:[s.jsx("td",{className:"tabular-nums",children:d.methods?.fullCovered??"—"}),s.jsx("td",{className:"tabular-nums",children:d.methods?.total??"—"}),s.jsx("td",{className:"tabular-nums font-medium",children:d.methods?$u(d.methods.fullPct):"—"})]})]}),C&&S&&d.children.map(X=>s.jsx(f,{row:X,show:p,level:r+1,expanded:_,setExpanded:N,thresholds:L},_a(X)))]})});function X0(f){switch(f){case"name":return"Name";case"linePct":return"Line %";case"coveredLines":return"Covered lines";case"uncoveredLines":return"Uncovered lines";case"coverableLines":return"Coverable lines";case"totalLines":return"Total lines";case"branchPct":return"Branch %";case"coveredBranches":return"Covered branches";case"totalBranches":return"Total branches";case"methodPct":return"Method %";case"coveredMethods":return"Covered methods";case"totalMethods":return"Total methods";case"fullMethodPct":return"Full method %";case"fullCoveredMethods":return"Fully covered methods";default:return f}}function wu({label:f,checked:d,onChange:p}){return s.jsxs("label",{className:["inline-flex items-center gap-2 rounded-full border px-3 py-1.5 text-sm font-medium transition-colors",d?"border-primary/40 bg-primary/10 text-primary":"border-base-content/10 bg-base-100/80 text-base-content/70 hover:border-base-content/30"].join(" "),children:[s.jsx("input",{type:"checkbox",className:"checkbox checkbox-xs border-base-content/20 [--chkbg:theme(colors.primary)] [--chkfg:white]",checked:d,onChange:p}),s.jsx("span",{children:f})]})}function Yd({label:f,value:d,onChange:p,options:r,className:_}){return s.jsxs("label",{className:`form-control ${_??""}`,children:[s.jsx("div",{className:"label py-1",children:s.jsx("span",{className:"label-text text-xs uppercase tracking-[0.2em] text-base-content/50",children:f})}),s.jsx("select",{className:"select select-sm border border-base-content/10 bg-base-100/90 focus:outline-none focus:ring-2 focus:ring-primary/30",value:d,onChange:N=>p(N.target.value),children:r.map(N=>s.jsx("option",{value:N.value,children:N.label},String(N.value)))})]})}function Z0({value:f,onChange:d,placeholder:p,className:r}){return s.jsxs("label",{className:["input input-sm flex items-center gap-3 rounded-full border border-base-content/10 bg-base-100/80 backdrop-blur",r??""].join(" "),children:[s.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24","aria-hidden":!0,className:"text-base-content/60",children:s.jsx("path",{fill:"currentColor",d:"M10 18a8 8 0 1 1 6.32-3.16L22 20.5L20.5 22l-5.7-5.7A8 8 0 0 1 10 18m0-2a6 6 0 1 0 0-12a6 6 0 0 0 0 12"})}),s.jsx("input",{type:"text",className:"grow bg-transparent text-sm focus:outline-none",placeholder:p,value:f,onChange:_=>d(_.target.value)})]})}function kl({label:f,k:d,sortKey:p,sortDir:r,onSort:_,className:N}){const L=d===p;return s.jsx("th",{className:N,children:s.jsxs("button",{className:["inline-flex items-center gap-1 rounded-full border px-3 py-1 text-xs uppercase tracking-wider transition-colors",L?"border-primary/40 bg-primary/10 font-semibold text-primary":"border-transparent text-base-content/60 hover:border-base-content/20 hover:text-base-content"].join(" "),onClick:()=>_(d),"aria-sort":L?r==="asc"?"ascending":"descending":"none",children:[f,s.jsx("span",{className:"ml-1 opacity-70","aria-hidden":!0,children:L?r==="asc"?"▲":"▼":"↕"})]})})}function V0({message:f}){return s.jsx("div",{className:"py-8 text-center text-sm text-base-content/60",children:f})}function _a(f){return f.path?`${f.kind}:${f.path}`:`${f.kind}:${f.name}`}function K0(f,d,p,r){const _=r==="asc"?1:-1,N=L=>Number.isFinite(L)?L:-1/0;switch(p){case"name":return _*f.name.localeCompare(d.name);case"linePct":return _*(N(f.lines.pct)-N(d.lines.pct));case"coveredLines":return _*(N(f.lines.covered)-N(d.lines.covered));case"uncoveredLines":return _*(N(f.lines.uncovered)-N(d.lines.uncovered));case"coverableLines":return _*(N(f.lines.coverable)-N(d.lines.coverable));case"totalLines":return _*(N(f.lines.total)-N(d.lines.total));case"branchPct":return _*(N(f.branches?.pct??NaN)-N(d.branches?.pct??NaN));case"coveredBranches":return _*(N(f.branches?.covered??NaN)-N(d.branches?.covered??NaN));case"totalBranches":return _*(N(f.branches?.total??NaN)-N(d.branches?.total??NaN));case"methodPct":return _*(N(f.methods?.pct??NaN)-N(d.methods?.pct??NaN));case"coveredMethods":return _*(N(f.methods?.covered??NaN)-N(d.methods?.covered??NaN));case"totalMethods":return _*(N(f.methods?.total??NaN)-N(d.methods?.total??NaN));case"fullMethodPct":return _*(N(f.methods?.fullPct??NaN)-N(d.methods?.fullPct??NaN));case"fullCoveredMethods":return _*(N(f.methods?.fullCovered??NaN)-N(d.methods?.fullCovered??NaN));default:return 0}}function zf(f,d=0){const p=[];for(const r of f)p.push({row:r,depth:d}),r.children?.length&&p.push(...zf(r.children,d+1));return p}function J0(f,d){return{depth:d,kind:f.kind,name:f.name,path:f.path??"",coveredLines:f.lines.covered,uncoveredLines:f.lines.uncovered,coverableLines:f.lines.coverable,totalLines:f.lines.total,linePct:f.lines.pct,coveredBranches:f.branches?.covered??"",totalBranches:f.branches?.total??"",branchPct:f.branches?.pct??"",coveredMethods:f.methods?.covered??"",totalMethods:f.methods?.total??"",methodPct:f.methods?.pct??"",fullCoveredMethods:f.methods?.fullCovered??"",fullMethodPct:f.methods?.fullPct??"",deltaL:f.delta?.linePct??"",deltaB:f.delta?.branchPct??"",deltaM:f.delta?.methodPct??"",deltaFM:f.delta?.fullMethodPct??""}}function w0(f){const d=String(f??"");return/[",\n]/.test(d)?`"${d.replace(/"/g,'""')}"`:d}function $0(f,d,p){const r=new Blob([f],{type:p}),_=URL.createObjectURL(r),N=document.createElement("a");N.href=_,N.download=d,N.click(),URL.revokeObjectURL(_)}function $u(f){return Number.isFinite(f)?`${Math.min(100,Math.max(0,f)).toFixed(1)}%`:"—"}const k0="/run";async function W0(){const f=await fetch(k0,{method:"POST"}),d=await F0(f);return{response:f,payload:d}}async function F0(f){const d=await f.text();if(!d)return null;try{return JSON.parse(d)}catch{return null}}function I0(f){const d=f.totals.counts??{},p={lines:{pct:f.totals.lines,covered:d.lines?.covered,uncovered:d.lines?.uncovered,coverable:d.lines?.coverable,total:d.lines?.total},branches:{pct:f.totals.branches,covered:d.branches?.covered,total:d.branches?.total},methods:{pct:f.totals.methods??Number.NaN,fullPct:f.totals.fullMethods??Number.NaN,covered:d.methods?.covered,fullCovered:d.methods?.fullCovered,total:d.methods?.total}},r={parser:f.summary?.parser,assemblies:f.summary?.assemblies,classes:f.summary?.classes,files:f.summary?.files,generatedAt:f.summary?.generatedAt,generatedBy:f.summary?.generatedBy},_=f.summary?.generatedAt??f.commit?.timestamp??new Date().toISOString(),N=f.trend??[],L=N.length?N.map((C,j)=>({at:j===N.length-1?_:new Date(Date.parse(_)-(N.length-1-j)*6e4).toISOString(),linePct:C,branchPct:f.totals.branches,methodPct:f.totals.methods??Number.NaN,fullMethodPct:f.totals.fullMethods??Number.NaN})):void 0;return{summary:r,totals:p,history:L}}function P0(f){const d=[];let p=En(),r=0,_=0,N=0;for(const[L,C]of Object.entries(f)){if(!C||typeof C!="object")continue;r+=1;let j=En();const S=[];for(const[B,O]of Object.entries(C)){if(!O||typeof O!="object")continue;_+=1;let X=En();const K=[];for(const[sl,ul]of Object.entries(O)){if(!ul||typeof ul!="object")continue;N+=1;let xl=En();const F=[];for(const[Sl,vl]of Object.entries(ul)){const $=ev(vl);ku($)&&(F.push(Fu({name:cv(Sl),kind:"method",counts:$,path:iv(vl)})),xl=Wu(xl,$))}ku(xl)&&(K.push(Fu({name:nv(sl),kind:"class",counts:xl,path:uv(sl),children:F})),X=Wu(X,xl))}ku(X)&&(S.push(Fu({name:av(B),kind:"file",counts:X,path:B,children:K})),j=Wu(j,X))}ku(j)&&(d.push(Fu({name:L,kind:"assembly",counts:j,children:S})),p=Wu(p,j))}return{rows:d,counts:{assemblies:r,classes:N,files:_},metrics:p}}function lv(f){const d=f.lineCovered+f.lineUncovered,p=d>0?f.lineCovered/d*100:Number.NaN,r=f.branchTotal>0?f.branchCovered/f.branchTotal*100:Number.NaN,_=f.methodTotal>0?f.methodCovered/f.methodTotal*100:Number.NaN,N=f.methodTotal>0?f.methodFullCovered/f.methodTotal*100:Number.NaN;return{lines:{pct:p,covered:f.lineCovered,uncovered:f.lineUncovered,coverable:d,total:f.lineTotal||d},branches:{pct:r,covered:f.branchCovered,total:f.branchTotal},methods:{pct:_,fullPct:N,covered:f.methodCovered,fullCovered:f.methodFullCovered,total:f.methodTotal}}}function tv(f){const{rows:d,counts:p,metrics:r}=P0(f),_=lv(r),N={parser:"coverlet",assemblies:p.assemblies,classes:p.classes,files:p.files};return{rows:d,overviewSummary:N,totals:_}}function En(){return{lineCovered:0,lineUncovered:0,lineTotal:0,branchCovered:0,branchTotal:0,methodCovered:0,methodFullCovered:0,methodTotal:0}}function ku(f){return f.lineCovered>0||f.lineUncovered>0||f.branchTotal>0||f.methodTotal>0}function Wu(f,d){return{lineCovered:f.lineCovered+d.lineCovered,lineUncovered:f.lineUncovered+d.lineUncovered,lineTotal:f.lineTotal+d.lineTotal,branchCovered:f.branchCovered+d.branchCovered,branchTotal:f.branchTotal+d.branchTotal,methodCovered:f.methodCovered+d.methodCovered,methodFullCovered:f.methodFullCovered+d.methodFullCovered,methodTotal:f.methodTotal+d.methodTotal}}function ev(f){const d=En();if(!f||typeof f!="object")return d;const p=Object.values(f.Lines??{}),r=p.filter(O=>O>0).length,_=p.filter(O=>O===0).length,N=r+_,L=f.Branches??[],C=L.filter(O=>(O?.Hits??0)>0).length,j=L.length;if(N===0&&j===0)return d;d.lineCovered=r,d.lineUncovered=_,d.lineTotal=N,d.branchCovered=C,d.branchTotal=j,d.methodTotal=1;const S=N>0?r>0:C>0,B=N>0?_===0:C===j;return d.methodCovered=S?1:0,d.methodFullCovered=B?1:0,d}function Fu({name:f,kind:d,counts:p,path:r,children:_}){const N=p.lineCovered+p.lineUncovered,L=p.lineTotal||N,C=N>0?p.lineCovered/N*100:Number.NaN,j=p.branchTotal>0?p.branchCovered/p.branchTotal*100:Number.NaN,S=p.methodTotal>0?p.methodCovered/p.methodTotal*100:Number.NaN,B=p.methodTotal>0?p.methodFullCovered/p.methodTotal*100:Number.NaN;return{name:f,kind:d,path:r,children:_,lines:{covered:p.lineCovered,uncovered:p.lineUncovered,coverable:N,total:L,pct:C},branches:{covered:p.branchCovered,total:p.branchTotal,pct:j},methods:{covered:p.methodCovered,fullCovered:p.methodFullCovered,total:p.methodTotal,pct:S,fullPct:B}}}function av(f){const d=f.split(/[\\/]/);return d[d.length-1]||f}function nv(f){const d=f.split(".");return d[d.length-1]||f}function uv(f){const d=f.split(".");if(!(d.length<=1))return d.pop(),d.join(".")}function cv(f){const d=f.split("::");return(d[d.length-1]||f).replace(/^System\./,"")}function iv(f){if(!f?.Lines)return;const d=Object.keys(f.Lines).map(_=>Number(_)).filter(_=>!Number.isNaN(_)).sort((_,N)=>_-N);if(!d.length)return;const[p,r]=[d[0],d[d.length-1]];return p===r?`Line ${p}`:`Lines ${p}-${r}`}function fv(f){if(sv(f)){const{summary:L,totals:C,history:j}=I0(f);return{repoName:f.repoName,branch:f.branch,status:f.status,overview:{summary:L,totals:C,history:j},coverageRows:[],thresholds:{total:f.thresholds.total},allowRunAll:!0}}const d=f,{rows:p,overviewSummary:r,totals:_}=tv(d),N=Object.keys(d);return{repoName:N.length?ov(N[0]):"Coverlet report",branch:void 0,status:"Ready",overview:{summary:r,totals:_,history:void 0},coverageRows:p,thresholds:void 0,allowRunAll:!0}}function sv(f){return!!f&&typeof f=="object"&&"totals"in f&&"thresholds"in f}function ov(f){return f.endsWith(".dll")?f.slice(0,-4):f}function rv({result:f,onDismiss:d}){const p=f.state==="success",r=p?"border-success/50 bg-success/10 text-success":"border-error/50 bg-error/10 text-error",_=p?"Tests passed":"Tests failed";return s.jsx("div",{className:["rounded-3xl border px-6 py-5 shadow-lg shadow-primary/5 backdrop-blur",r].join(" "),role:"status","aria-live":"polite",children:s.jsxs("div",{className:"flex flex-wrap items-start gap-4",children:[s.jsx("span",{className:["flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl border text-lg font-semibold",p?"border-success/60 bg-success/10":"border-error/60 bg-error/10"].join(" "),"aria-hidden":!0,children:p?s.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",className:"text-success",children:s.jsx("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-1 14l-4-4l1.41-1.41L11 13.17l5.59-5.58L18 9z"})}):s.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",className:"text-error",children:s.jsx("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm1 13h-2v-2h2Zm0-4h-2V7h2Z"})})}),s.jsxs("div",{className:"min-w-0 flex-1",children:[s.jsx("p",{className:"text-sm font-semibold uppercase tracking-[0.24em] text-base-content/60",children:_}),s.jsx("p",{className:"mt-1 text-base font-medium text-base-content",children:f.message}),f.durationSeconds!=null&&s.jsxs("p",{className:"mt-1 text-xs font-medium uppercase tracking-[0.3em] text-base-content/50",children:["Duration: ",f.durationSeconds.toFixed(2),"s"]}),(f.stdout||f.stderr)&&s.jsxs("details",{className:"mt-4 rounded-2xl border border-base-content/10 bg-base-100/80 p-3",children:[s.jsx("summary",{className:"cursor-pointer select-none text-xs font-semibold uppercase tracking-[0.3em] text-base-content/60",children:"View log output"}),s.jsxs("div",{className:"mt-3 space-y-3 text-xs text-base-content/80",children:[f.stdout&&s.jsxs("div",{children:[s.jsx("p",{className:"mb-1 font-semibold uppercase tracking-[0.25em] text-base-content/50",children:"stdout"}),s.jsx("pre",{className:"max-h-56 overflow-auto whitespace-pre-wrap rounded-xl bg-base-200/60 p-3 text-[11px] leading-relaxed",children:f.stdout})]}),f.stderr&&s.jsxs("div",{children:[s.jsx("p",{className:"mb-1 font-semibold uppercase tracking-[0.25em] text-base-content/50",children:"stderr"}),s.jsx("pre",{className:"max-h-56 overflow-auto whitespace-pre-wrap rounded-xl bg-base-200/60 p-3 text-[11px] leading-relaxed text-error",children:f.stderr})]})]})]})]}),s.jsx("button",{type:"button",className:"btn btn-xs btn-ghost border border-transparent text-base-content/60 hover:border-base-content/20",onClick:d,"aria-label":"Dismiss test results",children:s.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24","aria-hidden":!0,children:s.jsx("path",{fill:"currentColor",d:"M18.3 5.71L12 12l6.3 6.29l-1.41 1.42L10.59 13.4l-6.3 6.3L2.88 18.3l6.3-6.29l-6.3-6.3L4.3 4.29l6.29 6.3l6.3-6.3z"})})})]})})}function dv(f){const{repoName:d,branch:p,status:r,overview:_,coverageRows:N,thresholds:L,allowRunAll:C}=I.useMemo(()=>fv(f),[f]),{summary:j,totals:S,history:B}=_,[O]=Ld(),[X,K]=I.useState(r),[sl,ul]=I.useState(!1),[xl,F]=I.useState(null);I.useEffect(()=>{sl||K(r)},[r,sl]);const Sl=I.useCallback(async()=>{if(sl)return;ul(!0),K("Running"),F(null);let $=null,Al;try{const{response:_l,payload:J}=await W0();if($=J,Al=typeof $?.duration_seconds=="number"?$.duration_seconds:void 0,!$||$.ok!==!0||!_l.ok){const Bl=$&&"exit_code"in $?$.exit_code:void 0,Fl=$&&"error"in $&&typeof $.error=="string"&&$.error||(typeof Bl=="number"?`dotnet test failed (exit code ${Bl}).`:"dotnet test failed.");throw new Error(Fl)}K("Ready"),F({state:"success",message:Al!=null?`All tests passed in ${Al.toFixed(2)}s.`:"All tests passed.",durationSeconds:Al,stdout:$.stdout,stderr:$.stderr})}catch(_l){const J=($&&"error"in $&&typeof $.error=="string"?$.error:void 0)??(_l instanceof Error?_l.message:"Failed to run dotnet tests.");K("Error"),F({state:"error",message:J,durationSeconds:Al,stdout:$?.stdout,stderr:$?.stderr})}finally{ul(!1)}},[sl]),vl=I.useCallback(()=>{typeof window<"u"&&window.print()},[]);return s.jsxs("div",{className:"relative min-h-screen overflow-hidden",children:[s.jsxs("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10",children:[s.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-base-200/50 via-base-100/60 to-base-100"}),s.jsx("div",{className:"absolute -left-40 top-10 h-80 w-80 rounded-full bg-primary/15 blur-3xl"}),s.jsx("div",{className:"absolute -right-32 top-32 h-96 w-96 rounded-full bg-accent/10 blur-[200px]"}),s.jsx("div",{className:"absolute left-1/2 top-1/2 h-[520px] w-[520px] -translate-x-1/2 rounded-full border border-primary/10 bg-gradient-to-br from-primary/5 via-transparent to-transparent blur-[160px]"})]}),s.jsx("a",{href:"#main",className:"sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-50 btn btn-sm",children:"Skip to main content"}),s.jsx(D0,{repoName:d,branch:p,status:X,onRunAll:C?Sl:void 0,onExport:vl}),xl&&s.jsx("div",{className:"dash-section relative z-20 pt-4",children:s.jsx(rv,{result:xl,onDismiss:()=>F(null)})}),s.jsxs("main",{id:"main",className:"dash-section relative z-10 py-10 pb-28",children:[O==="overview"&&s.jsx(U0,{summary:j,totals:S,history:B}),O==="coverage"&&s.jsx(G0,{rows:N,thresholds:L,pageSize:50})]})]})}function mv(f){const d=f.querySelector('script[type="application/json"]')?.textContent||"{}";return JSON.parse(d)}class hv extends HTMLElement{constructor(){super(...arguments),this.root=null}connectedCallback(){const d=mv(this);this.root??=x0.createRoot(this),this.root.render(s.jsx(dv,{...d}))}disconnectedCallback(){this.root?.unmount(),this.root=null}}customElements.get("tcr-dashboard")||customElements.define("tcr-dashboard",hv);
//# sourceMappingURL=dashboard-BNi8DWaB.js.map
