(function(){const T=document.createElement("link").relList;if(T&&T.supports&&T.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))y(x);new MutationObserver(x=>{for(const O of x)if(O.type==="childList")for(const U of O.addedNodes)U.tagName==="LINK"&&U.rel==="modulepreload"&&y(U)}).observe(document,{childList:!0,subtree:!0});function M(x){const O={};return x.integrity&&(O.integrity=x.integrity),x.referrerPolicy&&(O.referrerPolicy=x.referrerPolicy),x.crossOrigin==="use-credentials"?O.credentials="include":x.crossOrigin==="anonymous"?O.credentials="omit":O.credentials="same-origin",O}function y(x){if(x.ep)return;x.ep=!0;const O=M(x);fetch(x.href,O)}})();var vf={exports:{}},Ou={};/**
 * @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 Ey;function cr(){if(Ey)return Ou;Ey=1;var S=Symbol.for("react.transitional.element"),T=Symbol.for("react.fragment");function M(y,x,O){var U=null;if(O!==void 0&&(U=""+O),x.key!==void 0&&(U=""+x.key),"key"in x){O={};for(var I in x)I!=="key"&&(O[I]=x[I])}else O=x;return x=O.ref,{$$typeof:S,type:y,key:U,ref:x!==void 0?x:null,props:O}}return Ou.Fragment=T,Ou.jsx=M,Ou.jsxs=M,Ou}var Ay;function fr(){return Ay||(Ay=1,vf.exports=cr()),vf.exports}var v=fr(),hf={exports:{}},Mu={},gf={exports:{}},Sf={};/**
 * @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 xy;function or(){return xy||(xy=1,(function(S){function T(p,D){var G=p.length;p.push(D);l:for(;0<G;){var il=G-1>>>1,sl=p[il];if(0<x(sl,D))p[il]=D,p[G]=sl,G=il;else break l}}function M(p){return p.length===0?null:p[0]}function y(p){if(p.length===0)return null;var D=p[0],G=p.pop();if(G!==D){p[0]=G;l:for(var il=0,sl=p.length,s=sl>>>1;il<s;){var A=2*(il+1)-1,H=p[A],R=A+1,Q=p[R];if(0>x(H,G))R<sl&&0>x(Q,H)?(p[il]=Q,p[R]=G,il=R):(p[il]=H,p[A]=G,il=A);else if(R<sl&&0>x(Q,G))p[il]=Q,p[R]=G,il=R;else break l}}return D}function x(p,D){var G=p.sortIndex-D.sortIndex;return G!==0?G:p.id-D.id}if(S.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var O=performance;S.unstable_now=function(){return O.now()}}else{var U=Date,I=U.now();S.unstable_now=function(){return U.now()-I}}var j=[],E=[],w=1,q=null,P=3,Gl=!1,Vl=!1,Xl=!1,Ct=!1,tt=typeof setTimeout=="function"?setTimeout:null,te=typeof clearTimeout=="function"?clearTimeout:null,Cl=typeof setImmediate<"u"?setImmediate:null;function yt(p){for(var D=M(E);D!==null;){if(D.callback===null)y(E);else if(D.startTime<=p)y(E),D.sortIndex=D.expirationTime,T(j,D);else break;D=M(E)}}function Ot(p){if(Xl=!1,yt(p),!Vl)if(M(j)!==null)Vl=!0,Kl||(Kl=!0,wl());else{var D=M(E);D!==null&&_t(Ot,D.startTime-p)}}var Kl=!1,$=-1,Jl=5,Mt=-1;function ke(){return Ct?!0:!(S.unstable_now()-Mt<Jl)}function Dt(){if(Ct=!1,Kl){var p=S.unstable_now();Mt=p;var D=!0;try{l:{Vl=!1,Xl&&(Xl=!1,te($),$=-1),Gl=!0;var G=P;try{t:{for(yt(p),q=M(j);q!==null&&!(q.expirationTime>p&&ke());){var il=q.callback;if(typeof il=="function"){q.callback=null,P=q.priorityLevel;var sl=il(q.expirationTime<=p);if(p=S.unstable_now(),typeof sl=="function"){q.callback=sl,yt(p),D=!0;break t}q===M(j)&&y(j),yt(p)}else y(j);q=M(j)}if(q!==null)D=!0;else{var s=M(E);s!==null&&_t(Ot,s.startTime-p),D=!1}}break l}finally{q=null,P=G,Gl=!1}D=void 0}}finally{D?wl():Kl=!1}}}var wl;if(typeof Cl=="function")wl=function(){Cl(Dt)};else if(typeof MessageChannel<"u"){var De=new MessageChannel,qt=De.port2;De.port1.onmessage=Dt,wl=function(){qt.postMessage(null)}}else wl=function(){tt(Dt,0)};function _t(p,D){$=tt(function(){p(S.unstable_now())},D)}S.unstable_IdlePriority=5,S.unstable_ImmediatePriority=1,S.unstable_LowPriority=4,S.unstable_NormalPriority=3,S.unstable_Profiling=null,S.unstable_UserBlockingPriority=2,S.unstable_cancelCallback=function(p){p.callback=null},S.unstable_forceFrameRate=function(p){0>p||125<p?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Jl=0<p?Math.floor(1e3/p):5},S.unstable_getCurrentPriorityLevel=function(){return P},S.unstable_next=function(p){switch(P){case 1:case 2:case 3:var D=3;break;default:D=P}var G=P;P=D;try{return p()}finally{P=G}},S.unstable_requestPaint=function(){Ct=!0},S.unstable_runWithPriority=function(p,D){switch(p){case 1:case 2:case 3:case 4:case 5:break;default:p=3}var G=P;P=p;try{return D()}finally{P=G}},S.unstable_scheduleCallback=function(p,D,G){var il=S.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?il+G:il):G=il,p){case 1:var sl=-1;break;case 2:sl=250;break;case 5:sl=1073741823;break;case 4:sl=1e4;break;default:sl=5e3}return sl=G+sl,p={id:w++,callback:D,priorityLevel:p,startTime:G,expirationTime:sl,sortIndex:-1},G>il?(p.sortIndex=G,T(E,p),M(j)===null&&p===M(E)&&(Xl?(te($),$=-1):Xl=!0,_t(Ot,G-il))):(p.sortIndex=sl,T(j,p),Vl||Gl||(Vl=!0,Kl||(Kl=!0,wl()))),p},S.unstable_shouldYield=ke,S.unstable_wrapCallback=function(p){var D=P;return function(){var G=P;P=D;try{return p.apply(this,arguments)}finally{P=G}}}})(Sf)),Sf}var Oy;function sr(){return Oy||(Oy=1,gf.exports=or()),gf.exports}var bf={exports:{}},X={};/**
 * @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 My;function dr(){if(My)return X;My=1;var S=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),U=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),P=Symbol.iterator;function Gl(s){return s===null||typeof s!="object"?null:(s=P&&s[P]||s["@@iterator"],typeof s=="function"?s:null)}var Vl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xl=Object.assign,Ct={};function tt(s,A,H){this.props=s,this.context=A,this.refs=Ct,this.updater=H||Vl}tt.prototype.isReactComponent={},tt.prototype.setState=function(s,A){if(typeof s!="object"&&typeof s!="function"&&s!=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,s,A,"setState")},tt.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function te(){}te.prototype=tt.prototype;function Cl(s,A,H){this.props=s,this.context=A,this.refs=Ct,this.updater=H||Vl}var yt=Cl.prototype=new te;yt.constructor=Cl,Xl(yt,tt.prototype),yt.isPureReactComponent=!0;var Ot=Array.isArray;function Kl(){}var $={H:null,A:null,T:null,S:null},Jl=Object.prototype.hasOwnProperty;function Mt(s,A,H){var R=H.ref;return{$$typeof:S,type:s,key:A,ref:R!==void 0?R:null,props:H}}function ke(s,A){return Mt(s.type,A,s.props)}function Dt(s){return typeof s=="object"&&s!==null&&s.$$typeof===S}function wl(s){var A={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(H){return A[H]})}var De=/\/+/g;function qt(s,A){return typeof s=="object"&&s!==null&&s.key!=null?wl(""+s.key):A.toString(36)}function _t(s){switch(s.status){case"fulfilled":return s.value;case"rejected":throw s.reason;default:switch(typeof s.status=="string"?s.then(Kl,Kl):(s.status="pending",s.then(function(A){s.status==="pending"&&(s.status="fulfilled",s.value=A)},function(A){s.status==="pending"&&(s.status="rejected",s.reason=A)})),s.status){case"fulfilled":return s.value;case"rejected":throw s.reason}}throw s}function p(s,A,H,R,Q){var V=typeof s;(V==="undefined"||V==="boolean")&&(s=null);var al=!1;if(s===null)al=!0;else switch(V){case"bigint":case"string":case"number":al=!0;break;case"object":switch(s.$$typeof){case S:case T:al=!0;break;case w:return al=s._init,p(al(s._payload),A,H,R,Q)}}if(al)return Q=Q(s),al=R===""?"."+qt(s,0):R,Ot(Q)?(H="",al!=null&&(H=al.replace(De,"$&/")+"/"),p(Q,A,H,"",function(Ra){return Ra})):Q!=null&&(Dt(Q)&&(Q=ke(Q,H+(Q.key==null||s&&s.key===Q.key?"":(""+Q.key).replace(De,"$&/")+"/")+al)),A.push(Q)),1;al=0;var Ql=R===""?".":R+":";if(Ot(s))for(var bl=0;bl<s.length;bl++)R=s[bl],V=Ql+qt(R,bl),al+=p(R,A,H,V,Q);else if(bl=Gl(s),typeof bl=="function")for(s=bl.call(s),bl=0;!(R=s.next()).done;)R=R.value,V=Ql+qt(R,bl++),al+=p(R,A,H,V,Q);else if(V==="object"){if(typeof s.then=="function")return p(_t(s),A,H,R,Q);throw A=String(s),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return al}function D(s,A,H){if(s==null)return s;var R=[],Q=0;return p(s,R,"","",function(V){return A.call(H,V,Q++)}),R}function G(s){if(s._status===-1){var A=s._result;A=A(),A.then(function(H){(s._status===0||s._status===-1)&&(s._status=1,s._result=H)},function(H){(s._status===0||s._status===-1)&&(s._status=2,s._result=H)}),s._status===-1&&(s._status=0,s._result=A)}if(s._status===1)return s._result.default;throw s._result}var il=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(A))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},sl={map:D,forEach:function(s,A,H){D(s,function(){A.apply(this,arguments)},H)},count:function(s){var A=0;return D(s,function(){A++}),A},toArray:function(s){return D(s,function(A){return A})||[]},only:function(s){if(!Dt(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};return X.Activity=q,X.Children=sl,X.Component=tt,X.Fragment=M,X.Profiler=x,X.PureComponent=Cl,X.StrictMode=y,X.Suspense=j,X.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,X.__COMPILER_RUNTIME={__proto__:null,c:function(s){return $.H.useMemoCache(s)}},X.cache=function(s){return function(){return s.apply(null,arguments)}},X.cacheSignal=function(){return null},X.cloneElement=function(s,A,H){if(s==null)throw Error("The argument must be a React element, but you passed "+s+".");var R=Xl({},s.props),Q=s.key;if(A!=null)for(V in A.key!==void 0&&(Q=""+A.key),A)!Jl.call(A,V)||V==="key"||V==="__self"||V==="__source"||V==="ref"&&A.ref===void 0||(R[V]=A[V]);var V=arguments.length-2;if(V===1)R.children=H;else if(1<V){for(var al=Array(V),Ql=0;Ql<V;Ql++)al[Ql]=arguments[Ql+2];R.children=al}return Mt(s.type,Q,R)},X.createContext=function(s){return s={$$typeof:U,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null},s.Provider=s,s.Consumer={$$typeof:O,_context:s},s},X.createElement=function(s,A,H){var R,Q={},V=null;if(A!=null)for(R in A.key!==void 0&&(V=""+A.key),A)Jl.call(A,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(Q[R]=A[R]);var al=arguments.length-2;if(al===1)Q.children=H;else if(1<al){for(var Ql=Array(al),bl=0;bl<al;bl++)Ql[bl]=arguments[bl+2];Q.children=Ql}if(s&&s.defaultProps)for(R in al=s.defaultProps,al)Q[R]===void 0&&(Q[R]=al[R]);return Mt(s,V,Q)},X.createRef=function(){return{current:null}},X.forwardRef=function(s){return{$$typeof:I,render:s}},X.isValidElement=Dt,X.lazy=function(s){return{$$typeof:w,_payload:{_status:-1,_result:s},_init:G}},X.memo=function(s,A){return{$$typeof:E,type:s,compare:A===void 0?null:A}},X.startTransition=function(s){var A=$.T,H={};$.T=H;try{var R=s(),Q=$.S;Q!==null&&Q(H,R),typeof R=="object"&&R!==null&&typeof R.then=="function"&&R.then(Kl,il)}catch(V){il(V)}finally{A!==null&&H.types!==null&&(A.types=H.types),$.T=A}},X.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},X.use=function(s){return $.H.use(s)},X.useActionState=function(s,A,H){return $.H.useActionState(s,A,H)},X.useCallback=function(s,A){return $.H.useCallback(s,A)},X.useContext=function(s){return $.H.useContext(s)},X.useDebugValue=function(){},X.useDeferredValue=function(s,A){return $.H.useDeferredValue(s,A)},X.useEffect=function(s,A){return $.H.useEffect(s,A)},X.useEffectEvent=function(s){return $.H.useEffectEvent(s)},X.useId=function(){return $.H.useId()},X.useImperativeHandle=function(s,A,H){return $.H.useImperativeHandle(s,A,H)},X.useInsertionEffect=function(s,A){return $.H.useInsertionEffect(s,A)},X.useLayoutEffect=function(s,A){return $.H.useLayoutEffect(s,A)},X.useMemo=function(s,A){return $.H.useMemo(s,A)},X.useOptimistic=function(s,A){return $.H.useOptimistic(s,A)},X.useReducer=function(s,A,H){return $.H.useReducer(s,A,H)},X.useRef=function(s){return $.H.useRef(s)},X.useState=function(s){return $.H.useState(s)},X.useSyncExternalStore=function(s,A,H){return $.H.useSyncExternalStore(s,A,H)},X.useTransition=function(){return $.H.useTransition()},X.version="19.2.4",X}var Dy;function zf(){return Dy||(Dy=1,bf.exports=dr()),bf.exports}var pf={exports:{}},ql={};/**
 * @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 Uy;function yr(){if(Uy)return ql;Uy=1;var S=zf();function T(j){var E="https://react.dev/errors/"+j;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var w=2;w<arguments.length;w++)E+="&args[]="+encodeURIComponent(arguments[w])}return"Minified React error #"+j+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function M(){}var y={d:{f:M,r:function(){throw Error(T(522))},D:M,C:M,L:M,m:M,X:M,S:M,M},p:0,findDOMNode:null},x=Symbol.for("react.portal");function O(j,E,w){var q=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:x,key:q==null?null:""+q,children:j,containerInfo:E,implementation:w}}var U=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function I(j,E){if(j==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return ql.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,ql.createPortal=function(j,E){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(T(299));return O(j,E,null,w)},ql.flushSync=function(j){var E=U.T,w=y.p;try{if(U.T=null,y.p=2,j)return j()}finally{U.T=E,y.p=w,y.d.f()}},ql.preconnect=function(j,E){typeof j=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,y.d.C(j,E))},ql.prefetchDNS=function(j){typeof j=="string"&&y.d.D(j)},ql.preinit=function(j,E){if(typeof j=="string"&&E&&typeof E.as=="string"){var w=E.as,q=I(w,E.crossOrigin),P=typeof E.integrity=="string"?E.integrity:void 0,Gl=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;w==="style"?y.d.S(j,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:q,integrity:P,fetchPriority:Gl}):w==="script"&&y.d.X(j,{crossOrigin:q,integrity:P,fetchPriority:Gl,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},ql.preinitModule=function(j,E){if(typeof j=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var w=I(E.as,E.crossOrigin);y.d.M(j,{crossOrigin:w,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&y.d.M(j)},ql.preload=function(j,E){if(typeof j=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var w=E.as,q=I(w,E.crossOrigin);y.d.L(j,w,{crossOrigin:q,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},ql.preloadModule=function(j,E){if(typeof j=="string")if(E){var w=I(E.as,E.crossOrigin);y.d.m(j,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:w,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else y.d.m(j)},ql.requestFormReset=function(j){y.d.r(j)},ql.unstable_batchedUpdates=function(j,E){return j(E)},ql.useFormState=function(j,E,w){return U.H.useFormState(j,E,w)},ql.useFormStatus=function(){return U.H.useHostTransitionStatus()},ql.version="19.2.4",ql}var jy;function mr(){if(jy)return pf.exports;jy=1;function S(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(S)}catch(T){console.error(T)}}return S(),pf.exports=yr(),pf.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 Hy;function rr(){if(Hy)return Mu;Hy=1;var S=sr(),T=zf(),M=mr();function y(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 x(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function O(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 U(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 I(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(O(l)!==l)throw Error(y(188))}function E(l){var t=l.alternate;if(!t){if(t=O(l),t===null)throw Error(y(188));return t!==l?null:l}for(var e=l,a=t;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return j(u),l;if(n===a)return j(u),t;n=n.sibling}throw Error(y(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(y(189))}}if(e.alternate!==a)throw Error(y(190))}if(e.tag!==3)throw Error(y(188));return e.stateNode.current===e?l:t}function w(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=w(l),t!==null)return t;l=l.sibling}return null}var q=Object.assign,P=Symbol.for("react.element"),Gl=Symbol.for("react.transitional.element"),Vl=Symbol.for("react.portal"),Xl=Symbol.for("react.fragment"),Ct=Symbol.for("react.strict_mode"),tt=Symbol.for("react.profiler"),te=Symbol.for("react.consumer"),Cl=Symbol.for("react.context"),yt=Symbol.for("react.forward_ref"),Ot=Symbol.for("react.suspense"),Kl=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Jl=Symbol.for("react.lazy"),Mt=Symbol.for("react.activity"),ke=Symbol.for("react.memo_cache_sentinel"),Dt=Symbol.iterator;function wl(l){return l===null||typeof l!="object"?null:(l=Dt&&l[Dt]||l["@@iterator"],typeof l=="function"?l:null)}var De=Symbol.for("react.client.reference");function qt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===De?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Xl:return"Fragment";case tt:return"Profiler";case Ct:return"StrictMode";case Ot:return"Suspense";case Kl:return"SuspenseList";case Mt:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Vl:return"Portal";case Cl:return l.displayName||"Context";case te:return(l._context.displayName||"Context")+".Consumer";case yt:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case $:return t=l.displayName||null,t!==null?t:qt(l.type)||"Memo";case Jl:t=l._payload,l=l._init;try{return qt(l(t))}catch{}}return null}var _t=Array.isArray,p=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},il=[],sl=-1;function s(l){return{current:l}}function A(l){0>sl||(l.current=il[sl],il[sl]=null,sl--)}function H(l,t){sl++,il[sl]=l.current,l.current=t}var R=s(null),Q=s(null),V=s(null),al=s(null);function Ql(l,t){switch(H(V,t),H(Q,l),H(R,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?wd(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=wd(t),l=Wd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}A(R),H(R,l)}function bl(){A(R),A(Q),A(V)}function Ra(l){l.memoizedState!==null&&H(al,l);var t=R.current,e=Wd(t,l.type);t!==e&&(H(Q,l),H(R,e))}function ju(l){Q.current===l&&(A(R),A(Q)),al.current===l&&(A(al),_u._currentValue=G)}var $n,Tf;function Ue(l){if($n===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);$n=t&&t[1]||"",Tf=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+$n+l+Tf}var Fn=!1;function In(l,t){if(!l||Fn)return"";Fn=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(g){var h=g}Reflect.construct(l,[],_)}else{try{_.call()}catch(g){h=g}l.call(_.prototype)}}else{try{throw Error()}catch(g){h=g}(_=l())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(g){if(g&&h&&typeof g.stack=="string")return[g.stack,h.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),i=n[0],c=n[1];if(i&&c){var f=i.split(`
`),r=c.split(`
`);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<r.length&&!r[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===r.length)for(a=f.length-1,u=r.length-1;1<=a&&0<=u&&f[a]!==r[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==r[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==r[u]){var b=`
`+f[a].replace(" at new "," at ");return l.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",l.displayName)),b}while(1<=a&&0<=u);break}}}finally{Fn=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Ue(e):""}function Yy(l,t){switch(l.tag){case 26:case 27:case 5:return Ue(l.type);case 16:return Ue("Lazy");case 13:return l.child!==t&&t!==null?Ue("Suspense Fallback"):Ue("Suspense");case 19:return Ue("SuspenseList");case 0:case 15:return In(l.type,!1);case 11:return In(l.type.render,!1);case 1:return In(l.type,!0);case 31:return Ue("Activity");default:return""}}function _f(l){try{var t="",e=null;do t+=Yy(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Pn=Object.prototype.hasOwnProperty,li=S.unstable_scheduleCallback,ti=S.unstable_cancelCallback,Gy=S.unstable_shouldYield,Xy=S.unstable_requestPaint,et=S.unstable_now,Qy=S.unstable_getCurrentPriorityLevel,Ef=S.unstable_ImmediatePriority,Af=S.unstable_UserBlockingPriority,Hu=S.unstable_NormalPriority,Ly=S.unstable_LowPriority,xf=S.unstable_IdlePriority,Zy=S.log,Vy=S.unstable_setDisableYieldValue,Ca=null,at=null;function ee(l){if(typeof Zy=="function"&&Vy(l),at&&typeof at.setStrictMode=="function")try{at.setStrictMode(Ca,l)}catch{}}var ut=Math.clz32?Math.clz32:wy,Ky=Math.log,Jy=Math.LN2;function wy(l){return l>>>=0,l===0?32:31-(Ky(l)/Jy|0)|0}var Nu=256,Ru=262144,Cu=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 qu(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,i=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=je(a):(i&=c,i!==0?u=je(i):e||(e=c&~l,e!==0&&(u=je(e))))):(c=a&~n,c!==0?u=je(c):i!==0?u=je(i):e||(e=a&~l,e!==0&&(u=je(e)))),u===0?0:t!==0&&t!==u&&(t&n)===0&&(n=u&-u,e=t&-t,n>=e||n===32&&(e&4194048)!==0)?t:u}function qa(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Wy(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 Of(){var l=Cu;return Cu<<=1,(Cu&62914560)===0&&(Cu=4194304),l}function ei(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function Ba(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function ky(l,t,e,a,u,n){var i=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 c=l.entanglements,f=l.expirationTimes,r=l.hiddenUpdates;for(e=i&~e;0<e;){var b=31-ut(e),_=1<<b;c[b]=0,f[b]=-1;var h=r[b];if(h!==null)for(r[b]=null,b=0;b<h.length;b++){var g=h[b];g!==null&&(g.lane&=-536870913)}e&=~_}a!==0&&Mf(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(i&~t))}function Mf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-ut(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Df(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-ut(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function Uf(l,t){var e=t&-t;return e=(e&42)!==0?1:ai(e),(e&(l.suspendedLanes|t))!==0?0:e}function ai(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 ui(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function jf(){var l=D.p;return l!==0?l:(l=window.event,l===void 0?32:gy(l.type))}function Hf(l,t){var e=D.p;try{return D.p=l,t()}finally{D.p=e}}var ae=Math.random().toString(36).slice(2),Dl="__reactFiber$"+ae,Wl="__reactProps$"+ae,$e="__reactContainer$"+ae,ni="__reactEvents$"+ae,$y="__reactListeners$"+ae,Fy="__reactHandles$"+ae,Nf="__reactResources$"+ae,Ya="__reactMarker$"+ae;function ii(l){delete l[Dl],delete l[Wl],delete l[ni],delete l[$y],delete l[Fy]}function Fe(l){var t=l[Dl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[$e]||e[Dl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=ty(l);l!==null;){if(e=l[Dl])return e;l=ty(l)}return t}l=e,e=l.parentNode}return null}function Ie(l){if(l=l[Dl]||l[$e]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Ga(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(y(33))}function Pe(l){var t=l[Nf];return t||(t=l[Nf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ol(l){l[Ya]=!0}var Rf=new Set,Cf={};function He(l,t){la(l,t),la(l+"Capture",t)}function la(l,t){for(Cf[l]=t,l=0;l<t.length;l++)Rf.add(t[l])}var Iy=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]*$"),qf={},Bf={};function Py(l){return Pn.call(Bf,l)?!0:Pn.call(qf,l)?!1:Iy.test(l)?Bf[l]=!0:(qf[l]=!0,!1)}function Bu(l,t,e){if(Py(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 Yu(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 mt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Yf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function l0(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 u=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return u.call(this)},set:function(i){e=""+i,n.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function ci(l){if(!l._valueTracker){var t=Yf(l)?"checked":"value";l._valueTracker=l0(l,t,""+l[t])}}function Gf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Yf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Gu(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 t0=/[\n"\\]/g;function rt(l){return l.replace(t0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function fi(l,t,e,a,u,n,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+mt(t)):l.value!==""+mt(t)&&(l.value=""+mt(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?oi(l,i,mt(t)):e!=null?oi(l,i,mt(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+mt(c):l.removeAttribute("name")}function Xf(l,t,e,a,u,n,i,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){ci(l);return}e=e!=null?""+mt(e):"",t=t!=null?""+mt(t):e,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i),ci(l)}function oi(l,t,e){t==="number"&&Gu(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function ta(l,t,e,a){if(l=l.options,t){t={};for(var u=0;u<e.length;u++)t["$"+e[u]]=!0;for(e=0;e<l.length;e++)u=t.hasOwnProperty("$"+l[e].value),l[e].selected!==u&&(l[e].selected=u),u&&a&&(l[e].defaultSelected=!0)}else{for(e=""+mt(e),t=null,u=0;u<l.length;u++){if(l[u].value===e){l[u].selected=!0,a&&(l[u].defaultSelected=!0);return}t!==null||l[u].disabled||(t=l[u])}t!==null&&(t.selected=!0)}}function Qf(l,t,e){if(t!=null&&(t=""+mt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+mt(e):""}function Lf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(y(92));if(_t(a)){if(1<a.length)throw Error(y(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=mt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),ci(l)}function ea(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var e0=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 Zf(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||e0.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function Vf(l,t,e){if(t!=null&&typeof t!="object")throw Error(y(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 u in t)a=t[u],t.hasOwnProperty(u)&&e[u]!==a&&Zf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Zf(l,n,t[n])}function si(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 a0=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"]]),u0=/^[\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 Xu(l){return u0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Yt(){}var di=null;function yi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var aa=null,ua=null;function Kf(l){var t=Ie(l);if(t&&(l=t.stateNode)){var e=l[Wl]||null;l:switch(l=t.stateNode,t.type){case"input":if(fi(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="'+rt(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[Wl]||null;if(!u)throw Error(y(90));fi(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<e.length;t++)a=e[t],a.form===l.form&&Gf(a)}break l;case"textarea":Qf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&ta(l,!!e.multiple,t,!1)}}}var mi=!1;function Jf(l,t,e){if(mi)return l(t,e);mi=!0;try{var a=l(t);return a}finally{if(mi=!1,(aa!==null||ua!==null)&&(Mn(),aa&&(t=aa,l=ua,ua=aa=null,Kf(t),l)))for(t=0;t<l.length;t++)Kf(l[t])}}function Xa(l,t){var e=l.stateNode;if(e===null)return null;var a=e[Wl]||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(y(231,t,typeof e));return e}var Gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ri=!1;if(Gt)try{var Qa={};Object.defineProperty(Qa,"passive",{get:function(){ri=!0}}),window.addEventListener("test",Qa,Qa),window.removeEventListener("test",Qa,Qa)}catch{ri=!1}var ue=null,vi=null,Qu=null;function wf(){if(Qu)return Qu;var l,t=vi,e=t.length,a,u="value"in ue?ue.value:ue.textContent,n=u.length;for(l=0;l<e&&t[l]===u[l];l++);var i=e-l;for(a=1;a<=i&&t[e-a]===u[n-a];a++);return Qu=u.slice(l,1<a?1-a:void 0)}function Lu(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 Zu(){return!0}function Wf(){return!1}function kl(l){function t(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(e=l[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Zu:Wf,this.isPropagationStopped=Wf,this}return q(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=Zu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Zu)},persist:function(){},isPersistent:Zu}),t}var Ne={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=kl(Ne),La=q({},Ne,{view:0,detail:0}),n0=kl(La),hi,gi,Za,Ku=q({},La,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bi,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!==Za&&(Za&&l.type==="mousemove"?(hi=l.screenX-Za.screenX,gi=l.screenY-Za.screenY):gi=hi=0,Za=l),hi)},movementY:function(l){return"movementY"in l?l.movementY:gi}}),kf=kl(Ku),i0=q({},Ku,{dataTransfer:0}),c0=kl(i0),f0=q({},La,{relatedTarget:0}),Si=kl(f0),o0=q({},Ne,{animationName:0,elapsedTime:0,pseudoElement:0}),s0=kl(o0),d0=q({},Ne,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),y0=kl(d0),m0=q({},Ne,{data:0}),$f=kl(m0),r0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v0={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"},h0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g0(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=h0[l])?!!t[l]:!1}function bi(){return g0}var S0=q({},La,{key:function(l){if(l.key){var t=r0[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Lu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?v0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bi,charCode:function(l){return l.type==="keypress"?Lu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Lu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),b0=kl(S0),p0=q({},Ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ff=kl(p0),z0=q({},La,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bi}),T0=kl(z0),_0=q({},Ne,{propertyName:0,elapsedTime:0,pseudoElement:0}),E0=kl(_0),A0=q({},Ku,{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}),x0=kl(A0),O0=q({},Ne,{newState:0,oldState:0}),M0=kl(O0),D0=[9,13,27,32],pi=Gt&&"CompositionEvent"in window,Va=null;Gt&&"documentMode"in document&&(Va=document.documentMode);var U0=Gt&&"TextEvent"in window&&!Va,If=Gt&&(!pi||Va&&8<Va&&11>=Va),Pf=" ",lo=!1;function to(l,t){switch(l){case"keyup":return D0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eo(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var na=!1;function j0(l,t){switch(l){case"compositionend":return eo(t);case"keypress":return t.which!==32?null:(lo=!0,Pf);case"textInput":return l=t.data,l===Pf&&lo?null:l;default:return null}}function H0(l,t){if(na)return l==="compositionend"||!pi&&to(l,t)?(l=wf(),Qu=vi=ue=null,na=!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 If&&t.locale!=="ko"?null:t.data;default:return null}}var N0={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 ao(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!N0[l.type]:t==="textarea"}function uo(l,t,e,a){aa?ua?ua.push(a):ua=[a]:aa=a,t=Cn(t,"onChange"),0<t.length&&(e=new Vu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Ka=null,Ja=null;function R0(l){Qd(l,0)}function Ju(l){var t=Ga(l);if(Gf(t))return l}function no(l,t){if(l==="change")return t}var io=!1;if(Gt){var zi;if(Gt){var Ti="oninput"in document;if(!Ti){var co=document.createElement("div");co.setAttribute("oninput","return;"),Ti=typeof co.oninput=="function"}zi=Ti}else zi=!1;io=zi&&(!document.documentMode||9<document.documentMode)}function fo(){Ka&&(Ka.detachEvent("onpropertychange",oo),Ja=Ka=null)}function oo(l){if(l.propertyName==="value"&&Ju(Ja)){var t=[];uo(t,Ja,l,yi(l)),Jf(R0,t)}}function C0(l,t,e){l==="focusin"?(fo(),Ka=t,Ja=e,Ka.attachEvent("onpropertychange",oo)):l==="focusout"&&fo()}function q0(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ju(Ja)}function B0(l,t){if(l==="click")return Ju(t)}function Y0(l,t){if(l==="input"||l==="change")return Ju(t)}function G0(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var nt=typeof Object.is=="function"?Object.is:G0;function wa(l,t){if(nt(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 u=e[a];if(!Pn.call(t,u)||!nt(l[u],t[u]))return!1}return!0}function so(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function yo(l,t){var e=so(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=so(e)}}function mo(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?mo(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function ro(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Gu(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=Gu(l.document)}return t}function _i(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 X0=Gt&&"documentMode"in document&&11>=document.documentMode,ia=null,Ei=null,Wa=null,Ai=!1;function vo(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Ai||ia==null||ia!==Gu(a)||(a=ia,"selectionStart"in a&&_i(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}),Wa&&wa(Wa,a)||(Wa=a,a=Cn(Ei,"onSelect"),0<a.length&&(t=new Vu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=ia)))}function Re(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var ca={animationend:Re("Animation","AnimationEnd"),animationiteration:Re("Animation","AnimationIteration"),animationstart:Re("Animation","AnimationStart"),transitionrun:Re("Transition","TransitionRun"),transitionstart:Re("Transition","TransitionStart"),transitioncancel:Re("Transition","TransitionCancel"),transitionend:Re("Transition","TransitionEnd")},xi={},ho={};Gt&&(ho=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);function Ce(l){if(xi[l])return xi[l];if(!ca[l])return l;var t=ca[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in ho)return xi[l]=t[e];return l}var go=Ce("animationend"),So=Ce("animationiteration"),bo=Ce("animationstart"),Q0=Ce("transitionrun"),L0=Ce("transitionstart"),Z0=Ce("transitioncancel"),po=Ce("transitionend"),zo=new Map,Oi="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(" ");Oi.push("scrollEnd");function Et(l,t){zo.set(l,t),He(t,[l])}var wu=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)},vt=[],fa=0,Mi=0;function Wu(){for(var l=fa,t=Mi=fa=0;t<l;){var e=vt[t];vt[t++]=null;var a=vt[t];vt[t++]=null;var u=vt[t];vt[t++]=null;var n=vt[t];if(vt[t++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&To(e,u,n)}}function ku(l,t,e,a){vt[fa++]=l,vt[fa++]=t,vt[fa++]=e,vt[fa++]=a,Mi|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Di(l,t,e,a){return ku(l,t,e,a),$u(l)}function qe(l,t){return ku(l,null,null,t),$u(l)}function To(l,t,e){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=l.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(u=!0)),l=n,n=n.return;return l.tag===3?(n=l.stateNode,u&&t!==null&&(u=31-ut(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function $u(l){if(50<hu)throw hu=0,Yc=null,Error(y(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var oa={};function V0(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 it(l,t,e,a){return new V0(l,t,e,a)}function Ui(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Xt(l,t){var e=l.alternate;return e===null?(e=it(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 _o(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 Fu(l,t,e,a,u,n){var i=0;if(a=l,typeof l=="function")Ui(l)&&(i=1);else if(typeof l=="string")i=km(l,e,R.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Mt:return l=it(31,e,t,u),l.elementType=Mt,l.lanes=n,l;case Xl:return Be(e.children,u,n,t);case Ct:i=8,u|=24;break;case tt:return l=it(12,e,t,u|2),l.elementType=tt,l.lanes=n,l;case Ot:return l=it(13,e,t,u),l.elementType=Ot,l.lanes=n,l;case Kl:return l=it(19,e,t,u),l.elementType=Kl,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Cl:i=10;break l;case te:i=9;break l;case yt:i=11;break l;case $:i=14;break l;case Jl:i=16,a=null;break l}i=29,e=Error(y(130,l===null?"null":typeof l,"")),a=null}return t=it(i,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function Be(l,t,e,a){return l=it(7,l,a,t),l.lanes=e,l}function ji(l,t,e){return l=it(6,l,null,t),l.lanes=e,l}function Eo(l){var t=it(18,null,null,0);return t.stateNode=l,t}function Hi(l,t,e){return t=it(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Ao=new WeakMap;function ht(l,t){if(typeof l=="object"&&l!==null){var e=Ao.get(l);return e!==void 0?e:(t={value:l,source:t,stack:_f(t)},Ao.set(l,t),t)}return{value:l,source:t,stack:_f(t)}}var sa=[],da=0,Iu=null,ka=0,gt=[],St=0,ne=null,Ut=1,jt="";function Qt(l,t){sa[da++]=ka,sa[da++]=Iu,Iu=l,ka=t}function xo(l,t,e){gt[St++]=Ut,gt[St++]=jt,gt[St++]=ne,ne=l;var a=Ut;l=jt;var u=32-ut(a)-1;a&=~(1<<u),e+=1;var n=32-ut(t)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,Ut=1<<32-ut(t)+u|e<<u|a,jt=n+l}else Ut=1<<n|e<<u|a,jt=l}function Ni(l){l.return!==null&&(Qt(l,1),xo(l,1,0))}function Ri(l){for(;l===Iu;)Iu=sa[--da],sa[da]=null,ka=sa[--da],sa[da]=null;for(;l===ne;)ne=gt[--St],gt[St]=null,jt=gt[--St],gt[St]=null,Ut=gt[--St],gt[St]=null}function Oo(l,t){gt[St++]=Ut,gt[St++]=jt,gt[St++]=ne,Ut=t.id,jt=t.overflow,ne=l}var Ul=null,yl=null,F=!1,ie=null,bt=!1,Ci=Error(y(519));function ce(l){var t=Error(y(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $a(ht(t,l)),Ci}function Mo(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Dl]=l,t[Wl]=a,e){case"dialog":J("cancel",t),J("close",t);break;case"iframe":case"object":case"embed":J("load",t);break;case"video":case"audio":for(e=0;e<Su.length;e++)J(Su[e],t);break;case"source":J("error",t);break;case"img":case"image":case"link":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"input":J("invalid",t),Xf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":J("invalid",t);break;case"textarea":J("invalid",t),Lf(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||Kd(t.textContent,e)?(a.popover!=null&&(J("beforetoggle",t),J("toggle",t)),a.onScroll!=null&&J("scroll",t),a.onScrollEnd!=null&&J("scrollend",t),a.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||ce(l,!0)}function Do(l){for(Ul=l.return;Ul;)switch(Ul.tag){case 5:case 31:case 13:bt=!1;return;case 27:case 3:bt=!0;return;default:Ul=Ul.return}}function ya(l){if(l!==Ul)return!1;if(!F)return Do(l),F=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||Pc(l.type,l.memoizedProps)),e=!e),e&&yl&&ce(l),Do(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));yl=ly(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(317));yl=ly(l)}else t===27?(t=yl,ze(l.type)?(l=uf,uf=null,yl=l):yl=t):yl=Ul?zt(l.stateNode.nextSibling):null;return!0}function Ye(){yl=Ul=null,F=!1}function qi(){var l=ie;return l!==null&&(Pl===null?Pl=l:Pl.push.apply(Pl,l),ie=null),l}function $a(l){ie===null?ie=[l]:ie.push(l)}var Bi=s(null),Ge=null,Lt=null;function fe(l,t,e){H(Bi,t._currentValue),t._currentValue=e}function Zt(l){l._currentValue=Bi.current,A(Bi)}function Yi(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 Gi(l,t,e,a){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=u;for(var f=0;f<t.length;f++)if(c.context===t[f]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Yi(n.return,e,l),a||(i=null);break l}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(y(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Yi(i,e,l),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===l){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function ma(l,t,e,a){l=null;for(var u=t,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var i=u.alternate;if(i===null)throw Error(y(387));if(i=i.memoizedProps,i!==null){var c=u.type;nt(u.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(u===al.current){if(i=u.alternate,i===null)throw Error(y(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(_u):l=[_u])}u=u.return}l!==null&&Gi(t,l,e,a),t.flags|=262144}function Pu(l){for(l=l.firstContext;l!==null;){if(!nt(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Xe(l){Ge=l,Lt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function jl(l){return Uo(Ge,l)}function ln(l,t){return Ge===null&&Xe(l),Uo(l,t)}function Uo(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Lt===null){if(l===null)throw Error(y(308));Lt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Lt=Lt.next=t;return e}var K0=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()})}},J0=S.unstable_scheduleCallback,w0=S.unstable_NormalPriority,Tl={$$typeof:Cl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xi(){return{controller:new K0,data:new Map,refCount:0}}function Fa(l){l.refCount--,l.refCount===0&&J0(w0,function(){l.controller.abort()})}var Ia=null,Qi=0,ra=0,va=null;function W0(l,t){if(Ia===null){var e=Ia=[];Qi=0,ra=Vc(),va={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Qi++,t.then(jo,jo),t}function jo(){if(--Qi===0&&Ia!==null){va!==null&&(va.status="fulfilled");var l=Ia;Ia=null,ra=0,va=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function k0(l,t){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return l.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<e.length;u++)(0,e[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Ho=p.S;p.S=function(l,t){vd=et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&W0(l,t),Ho!==null&&Ho(l,t)};var Qe=s(null);function Li(){var l=Qe.current;return l!==null?l:dl.pooledCache}function tn(l,t){t===null?H(Qe,Qe.current):H(Qe,t.pool)}function No(){var l=Li();return l===null?null:{parent:Tl._currentValue,pool:l}}var ha=Error(y(460)),Zi=Error(y(474)),en=Error(y(542)),an={then:function(){}};function Ro(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Co(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Yt,Yt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Bo(l),l;default:if(typeof t.status=="string")t.then(Yt,Yt);else{if(l=dl,l!==null&&100<l.shellSuspendCounter)throw Error(y(482));l=t,l.status="pending",l.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Bo(l),l}throw Ze=t,ha}}function Le(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ze=e,ha):e}}var Ze=null;function qo(){if(Ze===null)throw Error(y(459));var l=Ze;return Ze=null,l}function Bo(l){if(l===ha||l===en)throw Error(y(483))}var ga=null,Pa=0;function un(l){var t=Pa;return Pa+=1,ga===null&&(ga=[]),Co(ga,l,t)}function lu(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function nn(l,t){throw t.$$typeof===P?Error(y(525)):(l=Object.prototype.toString.call(t),Error(y(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Yo(l){function t(d,o){if(l){var m=d.deletions;m===null?(d.deletions=[o],d.flags|=16):m.push(o)}}function e(d,o){if(!l)return null;for(;o!==null;)t(d,o),o=o.sibling;return null}function a(d){for(var o=new Map;d!==null;)d.key!==null?o.set(d.key,d):o.set(d.index,d),d=d.sibling;return o}function u(d,o){return d=Xt(d,o),d.index=0,d.sibling=null,d}function n(d,o,m){return d.index=m,l?(m=d.alternate,m!==null?(m=m.index,m<o?(d.flags|=67108866,o):m):(d.flags|=67108866,o)):(d.flags|=1048576,o)}function i(d){return l&&d.alternate===null&&(d.flags|=67108866),d}function c(d,o,m,z){return o===null||o.tag!==6?(o=ji(m,d.mode,z),o.return=d,o):(o=u(o,m),o.return=d,o)}function f(d,o,m,z){var B=m.type;return B===Xl?b(d,o,m.props.children,z,m.key):o!==null&&(o.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Jl&&Le(B)===o.type)?(o=u(o,m.props),lu(o,m),o.return=d,o):(o=Fu(m.type,m.key,m.props,null,d.mode,z),lu(o,m),o.return=d,o)}function r(d,o,m,z){return o===null||o.tag!==4||o.stateNode.containerInfo!==m.containerInfo||o.stateNode.implementation!==m.implementation?(o=Hi(m,d.mode,z),o.return=d,o):(o=u(o,m.children||[]),o.return=d,o)}function b(d,o,m,z,B){return o===null||o.tag!==7?(o=Be(m,d.mode,z,B),o.return=d,o):(o=u(o,m),o.return=d,o)}function _(d,o,m){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=ji(""+o,d.mode,m),o.return=d,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case Gl:return m=Fu(o.type,o.key,o.props,null,d.mode,m),lu(m,o),m.return=d,m;case Vl:return o=Hi(o,d.mode,m),o.return=d,o;case Jl:return o=Le(o),_(d,o,m)}if(_t(o)||wl(o))return o=Be(o,d.mode,m,null),o.return=d,o;if(typeof o.then=="function")return _(d,un(o),m);if(o.$$typeof===Cl)return _(d,ln(d,o),m);nn(d,o)}return null}function h(d,o,m,z){var B=o!==null?o.key:null;if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return B!==null?null:c(d,o,""+m,z);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Gl:return m.key===B?f(d,o,m,z):null;case Vl:return m.key===B?r(d,o,m,z):null;case Jl:return m=Le(m),h(d,o,m,z)}if(_t(m)||wl(m))return B!==null?null:b(d,o,m,z,null);if(typeof m.then=="function")return h(d,o,un(m),z);if(m.$$typeof===Cl)return h(d,o,ln(d,m),z);nn(d,m)}return null}function g(d,o,m,z,B){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return d=d.get(m)||null,c(o,d,""+z,B);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Gl:return d=d.get(z.key===null?m:z.key)||null,f(o,d,z,B);case Vl:return d=d.get(z.key===null?m:z.key)||null,r(o,d,z,B);case Jl:return z=Le(z),g(d,o,m,z,B)}if(_t(z)||wl(z))return d=d.get(m)||null,b(o,d,z,B,null);if(typeof z.then=="function")return g(d,o,m,un(z),B);if(z.$$typeof===Cl)return g(d,o,m,ln(o,z),B);nn(o,z)}return null}function N(d,o,m,z){for(var B=null,ll=null,C=o,Z=o=0,k=null;C!==null&&Z<m.length;Z++){C.index>Z?(k=C,C=null):k=C.sibling;var tl=h(d,C,m[Z],z);if(tl===null){C===null&&(C=k);break}l&&C&&tl.alternate===null&&t(d,C),o=n(tl,o,Z),ll===null?B=tl:ll.sibling=tl,ll=tl,C=k}if(Z===m.length)return e(d,C),F&&Qt(d,Z),B;if(C===null){for(;Z<m.length;Z++)C=_(d,m[Z],z),C!==null&&(o=n(C,o,Z),ll===null?B=C:ll.sibling=C,ll=C);return F&&Qt(d,Z),B}for(C=a(C);Z<m.length;Z++)k=g(C,d,Z,m[Z],z),k!==null&&(l&&k.alternate!==null&&C.delete(k.key===null?Z:k.key),o=n(k,o,Z),ll===null?B=k:ll.sibling=k,ll=k);return l&&C.forEach(function(xe){return t(d,xe)}),F&&Qt(d,Z),B}function Y(d,o,m,z){if(m==null)throw Error(y(151));for(var B=null,ll=null,C=o,Z=o=0,k=null,tl=m.next();C!==null&&!tl.done;Z++,tl=m.next()){C.index>Z?(k=C,C=null):k=C.sibling;var xe=h(d,C,tl.value,z);if(xe===null){C===null&&(C=k);break}l&&C&&xe.alternate===null&&t(d,C),o=n(xe,o,Z),ll===null?B=xe:ll.sibling=xe,ll=xe,C=k}if(tl.done)return e(d,C),F&&Qt(d,Z),B;if(C===null){for(;!tl.done;Z++,tl=m.next())tl=_(d,tl.value,z),tl!==null&&(o=n(tl,o,Z),ll===null?B=tl:ll.sibling=tl,ll=tl);return F&&Qt(d,Z),B}for(C=a(C);!tl.done;Z++,tl=m.next())tl=g(C,d,Z,tl.value,z),tl!==null&&(l&&tl.alternate!==null&&C.delete(tl.key===null?Z:tl.key),o=n(tl,o,Z),ll===null?B=tl:ll.sibling=tl,ll=tl);return l&&C.forEach(function(ir){return t(d,ir)}),F&&Qt(d,Z),B}function ol(d,o,m,z){if(typeof m=="object"&&m!==null&&m.type===Xl&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Gl:l:{for(var B=m.key;o!==null;){if(o.key===B){if(B=m.type,B===Xl){if(o.tag===7){e(d,o.sibling),z=u(o,m.props.children),z.return=d,d=z;break l}}else if(o.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Jl&&Le(B)===o.type){e(d,o.sibling),z=u(o,m.props),lu(z,m),z.return=d,d=z;break l}e(d,o);break}else t(d,o);o=o.sibling}m.type===Xl?(z=Be(m.props.children,d.mode,z,m.key),z.return=d,d=z):(z=Fu(m.type,m.key,m.props,null,d.mode,z),lu(z,m),z.return=d,d=z)}return i(d);case Vl:l:{for(B=m.key;o!==null;){if(o.key===B)if(o.tag===4&&o.stateNode.containerInfo===m.containerInfo&&o.stateNode.implementation===m.implementation){e(d,o.sibling),z=u(o,m.children||[]),z.return=d,d=z;break l}else{e(d,o);break}else t(d,o);o=o.sibling}z=Hi(m,d.mode,z),z.return=d,d=z}return i(d);case Jl:return m=Le(m),ol(d,o,m,z)}if(_t(m))return N(d,o,m,z);if(wl(m)){if(B=wl(m),typeof B!="function")throw Error(y(150));return m=B.call(m),Y(d,o,m,z)}if(typeof m.then=="function")return ol(d,o,un(m),z);if(m.$$typeof===Cl)return ol(d,o,ln(d,m),z);nn(d,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,o!==null&&o.tag===6?(e(d,o.sibling),z=u(o,m),z.return=d,d=z):(e(d,o),z=ji(m,d.mode,z),z.return=d,d=z),i(d)):e(d,o)}return function(d,o,m,z){try{Pa=0;var B=ol(d,o,m,z);return ga=null,B}catch(C){if(C===ha||C===en)throw C;var ll=it(29,C,null,d.mode);return ll.lanes=z,ll.return=d,ll}finally{}}}var Ve=Yo(!0),Go=Yo(!1),oe=!1;function Vi(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ki(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 de(l,t,e){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(el&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=$u(l),To(l,null,e),t}return ku(l,a,t,e),$u(l)}function tu(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,Df(l,e)}}function Ji(l,t){var e=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,e=e.next}while(e!==null);n===null?u=n=t:n=n.next=t}else u=n=t;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,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 wi=!1;function eu(){if(wi){var l=va;if(l!==null)throw l}}function au(l,t,e,a){wi=!1;var u=l.updateQueue;oe=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,r=f.next;f.next=null,i===null?n=r:i.next=r,i=f;var b=l.alternate;b!==null&&(b=b.updateQueue,c=b.lastBaseUpdate,c!==i&&(c===null?b.firstBaseUpdate=r:c.next=r,b.lastBaseUpdate=f))}if(n!==null){var _=u.baseState;i=0,b=r=f=null,c=n;do{var h=c.lane&-536870913,g=h!==c.lane;if(g?(W&h)===h:(a&h)===h){h!==0&&h===ra&&(wi=!0),b!==null&&(b=b.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var N=l,Y=c;h=t;var ol=e;switch(Y.tag){case 1:if(N=Y.payload,typeof N=="function"){_=N.call(ol,_,h);break l}_=N;break l;case 3:N.flags=N.flags&-65537|128;case 0:if(N=Y.payload,h=typeof N=="function"?N.call(ol,_,h):N,h==null)break l;_=q({},_,h);break l;case 2:oe=!0}}h=c.callback,h!==null&&(l.flags|=64,g&&(l.flags|=8192),g=u.callbacks,g===null?u.callbacks=[h]:g.push(h))}else g={lane:h,tag:c.tag,payload:c.payload,callback:c.callback,next:null},b===null?(r=b=g,f=_):b=b.next=g,i|=h;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;g=c,c=g.next,g.next=null,u.lastBaseUpdate=g,u.shared.pending=null}}while(!0);b===null&&(f=_),u.baseState=f,u.firstBaseUpdate=r,u.lastBaseUpdate=b,n===null&&(u.shared.lanes=0),he|=i,l.lanes=i,l.memoizedState=_}}function Xo(l,t){if(typeof l!="function")throw Error(y(191,l));l.call(t)}function Qo(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Xo(e[l],t)}var Sa=s(null),cn=s(0);function Lo(l,t){l=It,H(cn,l),H(Sa,t),It=l|t.baseLanes}function Wi(){H(cn,It),H(Sa,Sa.current)}function ki(){It=cn.current,A(Sa),A(cn)}var ct=s(null),pt=null;function ye(l){var t=l.alternate;H(pl,pl.current&1),H(ct,l),pt===null&&(t===null||Sa.current!==null||t.memoizedState!==null)&&(pt=l)}function $i(l){H(pl,pl.current),H(ct,l),pt===null&&(pt=l)}function Zo(l){l.tag===22?(H(pl,pl.current),H(ct,l),pt===null&&(pt=l)):me()}function me(){H(pl,pl.current),H(ct,ct.current)}function ft(l){A(ct),pt===l&&(pt=null),A(pl)}var pl=s(0);function fn(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||ef(e)||af(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 Vt=0,L=null,cl=null,_l=null,on=!1,ba=!1,Ke=!1,sn=0,uu=0,pa=null,$0=0;function gl(){throw Error(y(321))}function Fi(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!nt(l[e],t[e]))return!1;return!0}function Ii(l,t,e,a,u,n){return Vt=n,L=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,p.H=l===null||l.memoizedState===null?xs:mc,Ke=!1,n=e(a,u),Ke=!1,ba&&(n=Ko(t,e,a,u)),Vo(l),n}function Vo(l){p.H=cu;var t=cl!==null&&cl.next!==null;if(Vt=0,_l=cl=L=null,on=!1,uu=0,pa=null,t)throw Error(y(300));l===null||El||(l=l.dependencies,l!==null&&Pu(l)&&(El=!0))}function Ko(l,t,e,a){L=l;var u=0;do{if(ba&&(pa=null),uu=0,ba=!1,25<=u)throw Error(y(301));if(u+=1,_l=cl=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}p.H=Os,n=t(e,a)}while(ba);return n}function F0(){var l=p.H,t=l.useState()[0];return t=typeof t.then=="function"?nu(t):t,l=l.useState()[0],(cl!==null?cl.memoizedState:null)!==l&&(L.flags|=1024),t}function Pi(){var l=sn!==0;return sn=0,l}function lc(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function tc(l){if(on){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}on=!1}Vt=0,_l=cl=L=null,ba=!1,uu=sn=0,pa=null}function Ll(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _l===null?L.memoizedState=_l=l:_l=_l.next=l,_l}function zl(){if(cl===null){var l=L.alternate;l=l!==null?l.memoizedState:null}else l=cl.next;var t=_l===null?L.memoizedState:_l.next;if(t!==null)_l=t,cl=l;else{if(l===null)throw L.alternate===null?Error(y(467)):Error(y(310));cl=l,l={memoizedState:cl.memoizedState,baseState:cl.baseState,baseQueue:cl.baseQueue,queue:cl.queue,next:null},_l===null?L.memoizedState=_l=l:_l=_l.next=l}return _l}function dn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nu(l){var t=uu;return uu+=1,pa===null&&(pa=[]),l=Co(pa,l,t),t=L,(_l===null?t.memoizedState:_l.next)===null&&(t=t.alternate,p.H=t===null||t.memoizedState===null?xs:mc),l}function yn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return nu(l);if(l.$$typeof===Cl)return jl(l)}throw Error(y(438,String(l)))}function ec(l){var t=null,e=L.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var a=L.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),e===null&&(e=dn(),L.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]=ke;return t.index++,e}function Kt(l,t){return typeof t=="function"?t(l):t}function mn(l){var t=zl();return ac(t,cl,l)}function ac(l,t,e){var a=l.queue;if(a===null)throw Error(y(311));a.lastRenderedReducer=e;var u=l.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}t.baseQueue=u=n,a.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var c=i=null,f=null,r=t,b=!1;do{var _=r.lane&-536870913;if(_!==r.lane?(W&_)===_:(Vt&_)===_){var h=r.revertLane;if(h===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null}),_===ra&&(b=!0);else if((Vt&h)===h){r=r.next,h===ra&&(b=!0);continue}else _={lane:0,revertLane:r.revertLane,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=_,i=n):f=f.next=_,L.lanes|=h,he|=h;_=r.action,Ke&&e(n,_),n=r.hasEagerState?r.eagerState:e(n,_)}else h={lane:_,revertLane:r.revertLane,gesture:r.gesture,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=h,i=n):f=f.next=h,L.lanes|=_,he|=_;r=r.next}while(r!==null&&r!==t);if(f===null?i=n:f.next=c,!nt(n,l.memoizedState)&&(El=!0,b&&(e=va,e!==null)))throw e;l.memoizedState=n,l.baseState=i,l.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function uc(l){var t=zl(),e=t.queue;if(e===null)throw Error(y(311));e.lastRenderedReducer=l;var a=e.dispatch,u=e.pending,n=t.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=l(n,i.action),i=i.next;while(i!==u);nt(n,t.memoizedState)||(El=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function Jo(l,t,e){var a=L,u=zl(),n=F;if(n){if(e===void 0)throw Error(y(407));e=e()}else e=t();var i=!nt((cl||u).memoizedState,e);if(i&&(u.memoizedState=e,El=!0),u=u.queue,cc(ko.bind(null,a,u,l),[l]),u.getSnapshot!==t||i||_l!==null&&_l.memoizedState.tag&1){if(a.flags|=2048,za(9,{destroy:void 0},Wo.bind(null,a,u,e,t),null),dl===null)throw Error(y(349));n||(Vt&127)!==0||wo(a,t,e)}return e}function wo(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=L.updateQueue,t===null?(t=dn(),L.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Wo(l,t,e,a){t.value=e,t.getSnapshot=a,$o(t)&&Fo(l)}function ko(l,t,e){return e(function(){$o(t)&&Fo(l)})}function $o(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!nt(l,e)}catch{return!0}}function Fo(l){var t=qe(l,2);t!==null&&lt(t,l,2)}function nc(l){var t=Ll();if(typeof l=="function"){var e=l;if(l=e(),Ke){ee(!0);try{e()}finally{ee(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kt,lastRenderedState:l},t}function Io(l,t,e,a){return l.baseState=e,ac(l,cl,typeof a=="function"?a:Kt)}function I0(l,t,e,a,u){if(hn(l))throw Error(y(485));if(l=t.action,l!==null){var n={payload:u,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){n.listeners.push(i)}};p.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,Po(t,n)):(n.next=e.next,t.pending=e.next=n)}}function Po(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=p.T,i={};p.T=i;try{var c=e(u,a),f=p.S;f!==null&&f(i,c),ls(l,t,c)}catch(r){ic(l,t,r)}finally{n!==null&&i.types!==null&&(n.types=i.types),p.T=n}}else try{n=e(u,a),ls(l,t,n)}catch(r){ic(l,t,r)}}function ls(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){ts(l,t,a)},function(a){return ic(l,t,a)}):ts(l,t,e)}function ts(l,t,e){t.status="fulfilled",t.value=e,es(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,Po(l,e)))}function ic(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,es(t),t=t.next;while(t!==a)}l.action=null}function es(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function as(l,t){return t}function us(l,t){if(F){var e=dl.formState;if(e!==null){l:{var a=L;if(F){if(yl){t:{for(var u=yl,n=bt;u.nodeType!==8;){if(!n){u=null;break t}if(u=zt(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){yl=zt(u.nextSibling),a=u.data==="F!";break l}}ce(a)}a=!1}a&&(t=e[0])}}return e=Ll(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:t},e.queue=a,e=_s.bind(null,L,a),a.dispatch=e,a=nc(!1),n=yc.bind(null,L,!1,a.queue),a=Ll(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=I0.bind(null,L,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function ns(l){var t=zl();return is(t,cl,l)}function is(l,t,e){if(t=ac(l,t,as)[0],l=mn(Kt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=nu(t)}catch(i){throw i===ha?en:i}else a=t;t=zl();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(L.flags|=2048,za(9,{destroy:void 0},P0.bind(null,u,e),null)),[a,n,l]}function P0(l,t){l.action=t}function cs(l){var t=zl(),e=cl;if(e!==null)return is(t,e,l);zl(),t=t.memoizedState,e=zl();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function za(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=L.updateQueue,t===null&&(t=dn(),L.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 fs(){return zl().memoizedState}function rn(l,t,e,a){var u=Ll();L.flags|=l,u.memoizedState=za(1|t,{destroy:void 0},e,a===void 0?null:a)}function vn(l,t,e,a){var u=zl();a=a===void 0?null:a;var n=u.memoizedState.inst;cl!==null&&a!==null&&Fi(a,cl.memoizedState.deps)?u.memoizedState=za(t,n,e,a):(L.flags|=l,u.memoizedState=za(1|t,n,e,a))}function os(l,t){rn(8390656,8,l,t)}function cc(l,t){vn(2048,8,l,t)}function lm(l){L.flags|=4;var t=L.updateQueue;if(t===null)t=dn(),L.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function ss(l){var t=zl().memoizedState;return lm({ref:t,nextImpl:l}),function(){if((el&2)!==0)throw Error(y(440));return t.impl.apply(void 0,arguments)}}function ds(l,t){return vn(4,2,l,t)}function ys(l,t){return vn(4,4,l,t)}function ms(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 rs(l,t,e){e=e!=null?e.concat([l]):null,vn(4,4,ms.bind(null,t,l),e)}function fc(){}function vs(l,t){var e=zl();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&Fi(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function hs(l,t){var e=zl();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&Fi(t,a[1]))return a[0];if(a=l(),Ke){ee(!0);try{l()}finally{ee(!1)}}return e.memoizedState=[a,t],a}function oc(l,t,e){return e===void 0||(Vt&1073741824)!==0&&(W&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=gd(),L.lanes|=l,he|=l,e)}function gs(l,t,e,a){return nt(e,t)?e:Sa.current!==null?(l=oc(l,e,a),nt(l,t)||(El=!0),l):(Vt&42)===0||(Vt&1073741824)!==0&&(W&261930)===0?(El=!0,l.memoizedState=e):(l=gd(),L.lanes|=l,he|=l,t)}function Ss(l,t,e,a,u){var n=D.p;D.p=n!==0&&8>n?n:8;var i=p.T,c={};p.T=c,yc(l,!1,t,e);try{var f=u(),r=p.S;if(r!==null&&r(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var b=k0(f,a);iu(l,t,b,dt(l))}else iu(l,t,a,dt(l))}catch(_){iu(l,t,{then:function(){},status:"rejected",reason:_},dt())}finally{D.p=n,i!==null&&c.types!==null&&(i.types=c.types),p.T=i}}function tm(){}function sc(l,t,e,a){if(l.tag!==5)throw Error(y(476));var u=bs(l).queue;Ss(l,u,t,G,e===null?tm:function(){return ps(l),e(a)})}function bs(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kt,lastRenderedState:G},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ps(l){var t=bs(l);t.next===null&&(t=l.alternate.memoizedState),iu(l,t.next.queue,{},dt())}function dc(){return jl(_u)}function zs(){return zl().memoizedState}function Ts(){return zl().memoizedState}function em(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=dt();l=se(e);var a=de(t,l,e);a!==null&&(lt(a,t,e),tu(a,t,e)),t={cache:Xi()},l.payload=t;return}t=t.return}}function am(l,t,e){var a=dt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},hn(l)?Es(t,e):(e=Di(l,t,e,a),e!==null&&(lt(e,l,a),As(e,t,a)))}function _s(l,t,e){var a=dt();iu(l,t,e,a)}function iu(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(hn(l))Es(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,nt(c,i))return ku(l,t,u,0),dl===null&&Wu(),!1}catch{}finally{}if(e=Di(l,t,u,a),e!==null)return lt(e,l,a),As(e,t,a),!0}return!1}function yc(l,t,e,a){if(a={lane:2,revertLane:Vc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hn(l)){if(t)throw Error(y(479))}else t=Di(l,e,a,2),t!==null&&lt(t,l,2)}function hn(l){var t=l.alternate;return l===L||t!==null&&t===L}function Es(l,t){ba=on=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function As(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Df(l,e)}}var cu={readContext:jl,use:yn,useCallback:gl,useContext:gl,useEffect:gl,useImperativeHandle:gl,useLayoutEffect:gl,useInsertionEffect:gl,useMemo:gl,useReducer:gl,useRef:gl,useState:gl,useDebugValue:gl,useDeferredValue:gl,useTransition:gl,useSyncExternalStore:gl,useId:gl,useHostTransitionStatus:gl,useFormState:gl,useActionState:gl,useOptimistic:gl,useMemoCache:gl,useCacheRefresh:gl};cu.useEffectEvent=gl;var xs={readContext:jl,use:yn,useCallback:function(l,t){return Ll().memoizedState=[l,t===void 0?null:t],l},useContext:jl,useEffect:os,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,rn(4194308,4,ms.bind(null,t,l),e)},useLayoutEffect:function(l,t){return rn(4194308,4,l,t)},useInsertionEffect:function(l,t){rn(4,2,l,t)},useMemo:function(l,t){var e=Ll();t=t===void 0?null:t;var a=l();if(Ke){ee(!0);try{l()}finally{ee(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=Ll();if(e!==void 0){var u=e(t);if(Ke){ee(!0);try{e(t)}finally{ee(!1)}}}else u=t;return a.memoizedState=a.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},a.queue=l,l=l.dispatch=am.bind(null,L,l),[a.memoizedState,l]},useRef:function(l){var t=Ll();return l={current:l},t.memoizedState=l},useState:function(l){l=nc(l);var t=l.queue,e=_s.bind(null,L,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:fc,useDeferredValue:function(l,t){var e=Ll();return oc(e,l,t)},useTransition:function(){var l=nc(!1);return l=Ss.bind(null,L,l.queue,!0,!1),Ll().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=L,u=Ll();if(F){if(e===void 0)throw Error(y(407));e=e()}else{if(e=t(),dl===null)throw Error(y(349));(W&127)!==0||wo(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,os(ko.bind(null,a,n,l),[l]),a.flags|=2048,za(9,{destroy:void 0},Wo.bind(null,a,n,e,t),null),e},useId:function(){var l=Ll(),t=dl.identifierPrefix;if(F){var e=jt,a=Ut;e=(a&~(1<<32-ut(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=sn++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=$0++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:dc,useFormState:us,useActionState:us,useOptimistic:function(l){var t=Ll();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=yc.bind(null,L,!0,e),e.dispatch=t,[l,t]},useMemoCache:ec,useCacheRefresh:function(){return Ll().memoizedState=em.bind(null,L)},useEffectEvent:function(l){var t=Ll(),e={impl:l};return t.memoizedState=e,function(){if((el&2)!==0)throw Error(y(440));return e.impl.apply(void 0,arguments)}}},mc={readContext:jl,use:yn,useCallback:vs,useContext:jl,useEffect:cc,useImperativeHandle:rs,useInsertionEffect:ds,useLayoutEffect:ys,useMemo:hs,useReducer:mn,useRef:fs,useState:function(){return mn(Kt)},useDebugValue:fc,useDeferredValue:function(l,t){var e=zl();return gs(e,cl.memoizedState,l,t)},useTransition:function(){var l=mn(Kt)[0],t=zl().memoizedState;return[typeof l=="boolean"?l:nu(l),t]},useSyncExternalStore:Jo,useId:zs,useHostTransitionStatus:dc,useFormState:ns,useActionState:ns,useOptimistic:function(l,t){var e=zl();return Io(e,cl,l,t)},useMemoCache:ec,useCacheRefresh:Ts};mc.useEffectEvent=ss;var Os={readContext:jl,use:yn,useCallback:vs,useContext:jl,useEffect:cc,useImperativeHandle:rs,useInsertionEffect:ds,useLayoutEffect:ys,useMemo:hs,useReducer:uc,useRef:fs,useState:function(){return uc(Kt)},useDebugValue:fc,useDeferredValue:function(l,t){var e=zl();return cl===null?oc(e,l,t):gs(e,cl.memoizedState,l,t)},useTransition:function(){var l=uc(Kt)[0],t=zl().memoizedState;return[typeof l=="boolean"?l:nu(l),t]},useSyncExternalStore:Jo,useId:zs,useHostTransitionStatus:dc,useFormState:cs,useActionState:cs,useOptimistic:function(l,t){var e=zl();return cl!==null?Io(e,cl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:ec,useCacheRefresh:Ts};Os.useEffectEvent=ss;function rc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:q({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var vc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=dt(),u=se(a);u.payload=t,e!=null&&(u.callback=e),t=de(l,u,a),t!==null&&(lt(t,l,a),tu(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=dt(),u=se(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=de(l,u,a),t!==null&&(lt(t,l,a),tu(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=dt(),a=se(e);a.tag=2,t!=null&&(a.callback=t),t=de(l,a,e),t!==null&&(lt(t,l,e),tu(t,l,e))}};function Ms(l,t,e,a,u,n,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,i):t.prototype&&t.prototype.isPureReactComponent?!wa(e,a)||!wa(u,n):!0}function Ds(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&&vc.enqueueReplaceState(t,t.state,null)}function Je(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=q({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}function Us(l){wu(l)}function js(l){console.error(l)}function Hs(l){wu(l)}function gn(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Ns(l,t,e){try{var a=l.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function hc(l,t,e){return e=se(e),e.tag=3,e.payload={element:null},e.callback=function(){gn(l,t)},e}function Rs(l){return l=se(l),l.tag=3,l}function Cs(l,t,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;l.payload=function(){return u(n)},l.callback=function(){Ns(t,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){Ns(t,e,a),typeof u!="function"&&(ge===null?ge=new Set([this]):ge.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function um(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&ma(t,e,u,!0),e=ct.current,e!==null){switch(e.tag){case 31:case 13:return pt===null?Dn():e.alternate===null&&Sl===0&&(Sl=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===an?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Qc(l,a,u)),!1;case 22:return e.flags|=65536,a===an?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)),Qc(l,a,u)),!1}throw Error(y(435,e.tag))}return Qc(l,a,u),Dn(),!1}if(F)return t=ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==Ci&&(l=Error(y(422),{cause:a}),$a(ht(l,e)))):(a!==Ci&&(t=Error(y(423),{cause:a}),$a(ht(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=ht(a,e),u=hc(l.stateNode,a,u),Ji(l,u),Sl!==4&&(Sl=2)),!1;var n=Error(y(520),{cause:a});if(n=ht(n,e),vu===null?vu=[n]:vu.push(n),Sl!==4&&(Sl=2),t===null)return!0;a=ht(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=hc(e.stateNode,a,l),Ji(e,l),!1;case 1:if(t=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(ge===null||!ge.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Rs(u),Cs(u,l,e,a),Ji(e,u),!1}e=e.return}while(e!==null);return!1}var gc=Error(y(461)),El=!1;function Hl(l,t,e,a){t.child=l===null?Go(t,null,e,a):Ve(t,l.child,e,a)}function qs(l,t,e,a,u){e=e.render;var n=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Xe(t),a=Ii(l,t,e,i,n,u),c=Pi(),l!==null&&!El?(lc(l,t,u),Jt(l,t,u)):(F&&c&&Ni(t),t.flags|=1,Hl(l,t,a,u),t.child)}function Bs(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!Ui(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Ys(l,t,n,a,u)):(l=Fu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!Ac(l,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:wa,e(i,a)&&l.ref===t.ref)return Jt(l,t,u)}return t.flags|=1,l=Xt(n,a),l.ref=t.ref,l.return=t,t.child=l}function Ys(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(wa(n,a)&&l.ref===t.ref)if(El=!1,t.pendingProps=a=n,Ac(l,u))(l.flags&131072)!==0&&(El=!0);else return t.lanes=l.lanes,Jt(l,t,u)}return Sc(l,t,e,a,u)}function Gs(l,t,e,a){var u=a.children,n=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(n=n!==null?n.baseLanes|e:e,l!==null){for(a=t.child=l.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,t.child=null;return Xs(l,t,n,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&tn(t,n!==null?n.cachePool:null),n!==null?Lo(t,n):Wi(),Zo(t);else return a=t.lanes=536870912,Xs(l,t,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(tn(t,n.cachePool),Lo(t,n),me(),t.memoizedState=null):(l!==null&&tn(t,null),Wi(),me());return Hl(l,t,u,e),t.child}function fu(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Xs(l,t,e,a,u){var n=Li();return n=n===null?null:{parent:Tl._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&tn(t,null),Wi(),Zo(t),l!==null&&ma(l,t,a,!0),t.childLanes=u,null}function Sn(l,t){return t=pn({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Qs(l,t,e){return Ve(t,l.child,null,e),l=Sn(t,t.pendingProps),l.flags|=2,ft(t),t.memoizedState=null,l}function nm(l,t,e){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(F){if(a.mode==="hidden")return l=Sn(t,a),t.lanes=536870912,fu(null,l);if($i(t),(l=yl)?(l=Pd(l,bt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Ut,overflow:jt}:null,retryLane:536870912,hydrationErrors:null},e=Eo(l),e.return=t,t.child=e,Ul=t,yl=null)):l=null,l===null)throw ce(t);return t.lanes=536870912,null}return Sn(t,a)}var n=l.memoizedState;if(n!==null){var i=n.dehydrated;if($i(t),u)if(t.flags&256)t.flags&=-257,t=Qs(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(y(558));else if(El||ma(l,t,e,!1),u=(e&l.childLanes)!==0,El||u){if(a=dl,a!==null&&(i=Uf(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,qe(l,i),lt(a,l,i),gc;Dn(),t=Qs(l,t,e)}else l=n.treeContext,yl=zt(i.nextSibling),Ul=t,F=!0,ie=null,bt=!1,l!==null&&Oo(t,l),t=Sn(t,a),t.flags|=4096;return t}return l=Xt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function bn(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(y(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Sc(l,t,e,a,u){return Xe(t),e=Ii(l,t,e,a,void 0,u),a=Pi(),l!==null&&!El?(lc(l,t,u),Jt(l,t,u)):(F&&a&&Ni(t),t.flags|=1,Hl(l,t,e,u),t.child)}function Ls(l,t,e,a,u,n){return Xe(t),t.updateQueue=null,e=Ko(t,a,e,u),Vo(l),a=Pi(),l!==null&&!El?(lc(l,t,n),Jt(l,t,n)):(F&&a&&Ni(t),t.flags|=1,Hl(l,t,e,n),t.child)}function Zs(l,t,e,a,u){if(Xe(t),t.stateNode===null){var n=oa,i=e.contextType;typeof i=="object"&&i!==null&&(n=jl(i)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=vc,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},Vi(t),i=e.contextType,n.context=typeof i=="object"&&i!==null?jl(i):oa,n.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(rc(t,e,i,a),n.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&vc.enqueueReplaceState(n,n.state,null),au(t,a,n,u),eu(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,f=Je(e,c);n.props=f;var r=n.context,b=e.contextType;i=oa,typeof b=="object"&&b!==null&&(i=jl(b));var _=e.getDerivedStateFromProps;b=typeof _=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,b||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||r!==i)&&Ds(t,n,a,i),oe=!1;var h=t.memoizedState;n.state=h,au(t,a,n,u),eu(),r=t.memoizedState,c||h!==r||oe?(typeof _=="function"&&(rc(t,e,_,a),r=t.memoizedState),(f=oe||Ms(t,e,f,a,h,r,i))?(b||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=r),n.props=a,n.state=r,n.context=i,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,Ki(l,t),i=t.memoizedProps,b=Je(e,i),n.props=b,_=t.pendingProps,h=n.context,r=e.contextType,f=oa,typeof r=="object"&&r!==null&&(f=jl(r)),c=e.getDerivedStateFromProps,(r=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==_||h!==f)&&Ds(t,n,a,f),oe=!1,h=t.memoizedState,n.state=h,au(t,a,n,u),eu();var g=t.memoizedState;i!==_||h!==g||oe||l!==null&&l.dependencies!==null&&Pu(l.dependencies)?(typeof c=="function"&&(rc(t,e,c,a),g=t.memoizedState),(b=oe||Ms(t,e,b,a,h,g,f)||l!==null&&l.dependencies!==null&&Pu(l.dependencies))?(r||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,g,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,g,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=g),n.props=a,n.state=g,n.context=f,a=b):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&h===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,bn(l,t),a=(t.flags&128)!==0,n||a?(n=t.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&a?(t.child=Ve(t,l.child,null,u),t.child=Ve(t,null,e,u)):Hl(l,t,e,u),t.memoizedState=n.state,l=t.child):l=Jt(l,t,u),l}function Vs(l,t,e,a){return Ye(),t.flags|=256,Hl(l,t,e,a),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pc(l){return{baseLanes:l,cachePool:No()}}function zc(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=st),l}function Ks(l,t,e){var a=t.pendingProps,u=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=l!==null&&l.memoizedState===null?!1:(pl.current&2)!==0),i&&(u=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(F){if(u?ye(t):me(),(l=yl)?(l=Pd(l,bt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:ne!==null?{id:Ut,overflow:jt}:null,retryLane:536870912,hydrationErrors:null},e=Eo(l),e.return=t,t.child=e,Ul=t,yl=null)):l=null,l===null)throw ce(t);return af(l)?t.lanes=32:t.lanes=536870912,null}var c=a.children;return a=a.fallback,u?(me(),u=t.mode,c=pn({mode:"hidden",children:c},u),a=Be(a,u,e,null),c.return=t,a.return=t,c.sibling=a,t.child=c,a=t.child,a.memoizedState=pc(e),a.childLanes=zc(l,i,e),t.memoizedState=bc,fu(null,a)):(ye(t),Tc(t,c))}var f=l.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(ye(t),t.flags&=-257,t=_c(l,t,e)):t.memoizedState!==null?(me(),t.child=l.child,t.flags|=128,t=null):(me(),c=a.fallback,u=t.mode,a=pn({mode:"visible",children:a.children},u),c=Be(c,u,e,null),c.flags|=2,a.return=t,c.return=t,a.sibling=c,t.child=a,Ve(t,l.child,null,e),a=t.child,a.memoizedState=pc(e),a.childLanes=zc(l,i,e),t.memoizedState=bc,t=fu(null,a));else if(ye(t),af(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var r=i.dgst;i=r,a=Error(y(419)),a.stack="",a.digest=i,$a({value:a,source:null,stack:null}),t=_c(l,t,e)}else if(El||ma(l,t,e,!1),i=(e&l.childLanes)!==0,El||i){if(i=dl,i!==null&&(a=Uf(i,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,qe(l,a),lt(i,l,a),gc;ef(c)||Dn(),t=_c(l,t,e)}else ef(c)?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,yl=zt(c.nextSibling),Ul=t,F=!0,ie=null,bt=!1,l!==null&&Oo(t,l),t=Tc(t,a.children),t.flags|=4096);return t}return u?(me(),c=a.fallback,u=t.mode,f=l.child,r=f.sibling,a=Xt(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,r!==null?c=Xt(r,c):(c=Be(c,u,e,null),c.flags|=2),c.return=t,a.return=t,a.sibling=c,t.child=a,fu(null,a),a=t.child,c=l.child.memoizedState,c===null?c=pc(e):(u=c.cachePool,u!==null?(f=Tl._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=No(),c={baseLanes:c.baseLanes|e,cachePool:u}),a.memoizedState=c,a.childLanes=zc(l,i,e),t.memoizedState=bc,fu(l.child,a)):(ye(t),e=l.child,l=e.sibling,e=Xt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=e,t.memoizedState=null,e)}function Tc(l,t){return t=pn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function pn(l,t){return l=it(22,l,null,t),l.lanes=0,l}function _c(l,t,e){return Ve(t,l.child,null,e),l=Tc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Js(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Yi(l.return,t,e)}function Ec(l,t,e,a,u,n){var i=l.memoizedState;i===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function ws(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=pl.current,c=(i&2)!==0;if(c?(i=i&1|2,t.flags|=128):i&=1,H(pl,i),Hl(l,t,a,e),a=F?ka:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Js(l,e,t);else if(l.tag===19)Js(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(u){case"forwards":for(e=t.child,u=null;e!==null;)l=e.alternate,l!==null&&fn(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),Ec(t,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=t.child,t.child=null;u!==null;){if(l=u.alternate,l!==null&&fn(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}Ec(t,!0,e,null,n,a);break;case"together":Ec(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Jt(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),he|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(ma(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(y(153));if(t.child!==null){for(l=t.child,e=Xt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Xt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Ac(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Pu(l)))}function im(l,t,e){switch(t.tag){case 3:Ql(t,t.stateNode.containerInfo),fe(t,Tl,l.memoizedState.cache),Ye();break;case 27:case 5:Ra(t);break;case 4:Ql(t,t.stateNode.containerInfo);break;case 10:fe(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,$i(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(ye(t),t.flags|=128,null):(e&t.child.childLanes)!==0?Ks(l,t,e):(ye(t),l=Jt(l,t,e),l!==null?l.sibling:null);ye(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(ma(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return ws(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),H(pl,pl.current),a)break;return null;case 22:return t.lanes=0,Gs(l,t,e,t.pendingProps);case 24:fe(t,Tl,l.memoizedState.cache)}return Jt(l,t,e)}function Ws(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)El=!0;else{if(!Ac(l,e)&&(t.flags&128)===0)return El=!1,im(l,t,e);El=(l.flags&131072)!==0}else El=!1,F&&(t.flags&1048576)!==0&&xo(t,ka,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Le(t.elementType),t.type=l,typeof l=="function")Ui(l)?(a=Je(l,a),t.tag=1,t=Zs(null,t,l,a,e)):(t.tag=0,t=Sc(null,t,l,a,e));else{if(l!=null){var u=l.$$typeof;if(u===yt){t.tag=11,t=qs(null,t,l,a,e);break l}else if(u===$){t.tag=14,t=Bs(null,t,l,a,e);break l}}throw t=qt(l)||l,Error(y(306,t,""))}}return t;case 0:return Sc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=Je(a,t.pendingProps),Zs(l,t,a,u,e);case 3:l:{if(Ql(t,t.stateNode.containerInfo),l===null)throw Error(y(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,Ki(l,t),au(t,a,null,e);var i=t.memoizedState;if(a=i.cache,fe(t,Tl,a),a!==n.cache&&Gi(t,[Tl],e,!0),eu(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=Vs(l,t,a,e);break l}else if(a!==u){u=ht(Error(y(424)),t),$a(u),t=Vs(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(yl=zt(l.firstChild),Ul=t,F=!0,ie=null,bt=!0,e=Go(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Ye(),a===u){t=Jt(l,t,e);break l}Hl(l,t,a,e)}t=t.child}return t;case 26:return bn(l,t),l===null?(e=ny(t.type,null,t.pendingProps,null))?t.memoizedState=e:F||(e=t.type,l=t.pendingProps,a=qn(V.current).createElement(e),a[Dl]=t,a[Wl]=l,Nl(a,e,l),Ol(a),t.stateNode=a):t.memoizedState=ny(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ra(t),l===null&&F&&(a=t.stateNode=ey(t.type,t.pendingProps,V.current),Ul=t,bt=!0,u=yl,ze(t.type)?(uf=u,yl=zt(a.firstChild)):yl=u),Hl(l,t,t.pendingProps.children,e),bn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&F&&((u=a=yl)&&(a=qm(a,t.type,t.pendingProps,bt),a!==null?(t.stateNode=a,Ul=t,yl=zt(a.firstChild),bt=!1,u=!0):u=!1),u||ce(t)),Ra(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,a=n.children,Pc(u,n)?a=null:i!==null&&Pc(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=Ii(l,t,F0,null,null,e),_u._currentValue=u),bn(l,t),Hl(l,t,a,e),t.child;case 6:return l===null&&F&&((l=e=yl)&&(e=Bm(e,t.pendingProps,bt),e!==null?(t.stateNode=e,Ul=t,yl=null,l=!0):l=!1),l||ce(t)),null;case 13:return Ks(l,t,e);case 4:return Ql(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Ve(t,null,a,e):Hl(l,t,a,e),t.child;case 11:return qs(l,t,t.type,t.pendingProps,e);case 7:return Hl(l,t,t.pendingProps,e),t.child;case 8:return Hl(l,t,t.pendingProps.children,e),t.child;case 12:return Hl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,fe(t,t.type,a.value),Hl(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,Xe(t),u=jl(u),a=a(u),t.flags|=1,Hl(l,t,a,e),t.child;case 14:return Bs(l,t,t.type,t.pendingProps,e);case 15:return Ys(l,t,t.type,t.pendingProps,e);case 19:return ws(l,t,e);case 31:return nm(l,t,e);case 22:return Gs(l,t,e,t.pendingProps);case 24:return Xe(t),a=jl(Tl),l===null?(u=Li(),u===null&&(u=dl,n=Xi(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},Vi(t),fe(t,Tl,u)):((l.lanes&e)!==0&&(Ki(l,t),au(t,null,null,e),eu()),u=l.memoizedState,n=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),fe(t,Tl,a)):(a=n.cache,fe(t,Tl,a),a!==u.cache&&Gi(t,[Tl],e,!0))),Hl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(y(156,t.tag))}function wt(l){l.flags|=4}function xc(l,t,e,a,u){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(u&335544128)===u)if(l.stateNode.complete)l.flags|=8192;else if(zd())l.flags|=8192;else throw Ze=an,Zi}else l.flags&=-16777217}function ks(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!sy(t))if(zd())l.flags|=8192;else throw Ze=an,Zi}function zn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Of():536870912,l.lanes|=t,Aa|=t)}function ou(l,t){if(!F)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 ml(l){var t=l.alternate!==null&&l.alternate.child===l.child,e=0,a=0;if(t)for(var u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=l,u=u.sibling;else for(u=l.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=l,u=u.sibling;return l.subtreeFlags|=a,l.childLanes=e,t}function cm(l,t,e){var a=t.pendingProps;switch(Ri(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ml(t),null;case 1:return ml(t),null;case 3:return e=t.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Zt(Tl),bl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ya(t)?wt(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qi())),ml(t),null;case 26:var u=t.type,n=t.memoizedState;return l===null?(wt(t),n!==null?(ml(t),ks(t,n)):(ml(t),xc(t,u,null,a,e))):n?n!==l.memoizedState?(wt(t),ml(t),ks(t,n)):(ml(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&wt(t),ml(t),xc(t,u,l,a,e)),null;case 27:if(ju(t),e=V.current,u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(!a){if(t.stateNode===null)throw Error(y(166));return ml(t),null}l=R.current,ya(t)?Mo(t):(l=ey(u,a,e),t.stateNode=l,wt(t))}return ml(t),null;case 5:if(ju(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(!a){if(t.stateNode===null)throw Error(y(166));return ml(t),null}if(n=R.current,ya(t))Mo(t);else{var i=qn(V.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[Dl]=t,n[Wl]=a;l:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break l;for(;i.sibling===null;){if(i.return===null||i.return===t)break l;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=n;l:switch(Nl(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&wt(t)}}return ml(t),xc(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&wt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(y(166));if(l=V.current,ya(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Ul,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Dl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Kd(l.nodeValue,e)),l||ce(t,!0)}else l=qn(l).createTextNode(a),l[Dl]=t,t.stateNode=l}return ml(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ya(t),e!==null){if(l===null){if(!a)throw Error(y(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(y(557));l[Dl]=t}else Ye(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ml(t),l=!1}else e=qi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(ft(t),t):(ft(t),null);if((t.flags&128)!==0)throw Error(y(558))}return ml(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=ya(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(y(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(y(317));u[Dl]=t}else Ye(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ml(t),u=!1}else u=qi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(ft(t),t):(ft(t),null)}return ft(t),(t.flags&128)!==0?(t.lanes=e,t):(e=a!==null,l=l!==null&&l.memoizedState!==null,e&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)),e!==l&&e&&(t.child.flags|=8192),zn(t,t.updateQueue),ml(t),null);case 4:return bl(),l===null&&Wc(t.stateNode.containerInfo),ml(t),null;case 10:return Zt(t.type),ml(t),null;case 19:if(A(pl),a=t.memoizedState,a===null)return ml(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)ou(a,!1);else{if(Sl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=fn(l),n!==null){for(t.flags|=128,ou(a,!1),l=n.updateQueue,t.updateQueue=l,zn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)_o(e,l),e=e.sibling;return H(pl,pl.current&1|2),F&&Qt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&et()>xn&&(t.flags|=128,u=!0,ou(a,!1),t.lanes=4194304)}else{if(!u)if(l=fn(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,zn(t,l),ou(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!F)return ml(t),null}else 2*et()-a.renderingStartTime>xn&&e!==536870912&&(t.flags|=128,u=!0,ou(a,!1),t.lanes=4194304);a.isBackwards?(n.sibling=t.child,t.child=n):(l=a.last,l!==null?l.sibling=n:t.child=n,a.last=n)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=et(),l.sibling=null,e=pl.current,H(pl,u?e&1|2:e&1),F&&Qt(t,a.treeForkCount),l):(ml(t),null);case 22:case 23:return ft(t),ki(),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&&(ml(t),t.subtreeFlags&6&&(t.flags|=8192)):ml(t),e=t.updateQueue,e!==null&&zn(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&&A(Qe),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),Zt(Tl),ml(t),null;case 25:return null;case 30:return null}throw Error(y(156,t.tag))}function fm(l,t){switch(Ri(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Zt(Tl),bl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return ju(t),null;case 31:if(t.memoizedState!==null){if(ft(t),t.alternate===null)throw Error(y(340));Ye()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(ft(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(y(340));Ye()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return A(pl),null;case 4:return bl(),null;case 10:return Zt(t.type),null;case 22:case 23:return ft(t),ki(),l!==null&&A(Qe),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Zt(Tl),null;case 25:return null;default:return null}}function $s(l,t){switch(Ri(t),t.tag){case 3:Zt(Tl),bl();break;case 26:case 27:case 5:ju(t);break;case 4:bl();break;case 31:t.memoizedState!==null&&ft(t);break;case 13:ft(t);break;case 19:A(pl);break;case 10:Zt(t.type);break;case 22:case 23:ft(t),ki(),l!==null&&A(Qe);break;case 24:Zt(Tl)}}function su(l,t){try{var e=t.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&l)===l){a=void 0;var n=e.create,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){nl(t,t.return,c)}}function re(l,t,e){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&l)===l){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=t;var f=e,r=c;try{r()}catch(b){nl(u,f,b)}}}a=a.next}while(a!==n)}}catch(b){nl(t,t.return,b)}}function Fs(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Qo(t,e)}catch(a){nl(l,l.return,a)}}}function Is(l,t,e){e.props=Je(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){nl(l,t,a)}}function du(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(u){nl(l,t,u)}}function Ht(l,t){var e=l.ref,a=l.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){nl(l,t,u)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){nl(l,t,u)}else e.current=null}function Ps(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(u){nl(l,l.return,u)}}function Oc(l,t,e){try{var a=l.stateNode;Um(a,l.type,e,t),a[Wl]=t}catch(u){nl(l,l.return,u)}}function ld(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ze(l.type)||l.tag===4}function Mc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ld(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&&ze(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 Dc(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=Yt));else if(a!==4&&(a===27&&ze(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Dc(l,t,e),l=l.sibling;l!==null;)Dc(l,t,e),l=l.sibling}function Tn(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&&ze(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(Tn(l,t,e),l=l.sibling;l!==null;)Tn(l,t,e),l=l.sibling}function td(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Nl(t,a,e),t[Dl]=l,t[Wl]=e}catch(n){nl(l,l.return,n)}}var Wt=!1,Al=!1,Uc=!1,ed=typeof WeakSet=="function"?WeakSet:Set,Ml=null;function om(l,t){if(l=l.containerInfo,Fc=Zn,l=ro(l),_i(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 u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{e.nodeType,n.nodeType}catch{e=null;break l}var i=0,c=-1,f=-1,r=0,b=0,_=l,h=null;t:for(;;){for(var g;_!==e||u!==0&&_.nodeType!==3||(c=i+u),_!==n||a!==0&&_.nodeType!==3||(f=i+a),_.nodeType===3&&(i+=_.nodeValue.length),(g=_.firstChild)!==null;)h=_,_=g;for(;;){if(_===l)break t;if(h===e&&++r===u&&(c=i),h===n&&++b===a&&(f=i),(g=_.nextSibling)!==null)break;_=h,h=_.parentNode}_=g}e=c===-1||f===-1?null:{start:c,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(Ic={focusedElem:l,selectionRange:e},Zn=!1,Ml=t;Ml!==null;)if(t=Ml,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Ml=l;else for(;Ml!==null;){switch(t=Ml,n=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++)u=l[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,e=t,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var N=Je(e.type,u);l=a.getSnapshotBeforeUpdate(N,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(Y){nl(e,e.return,Y)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)tf(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":tf(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(y(163))}if(l=t.sibling,l!==null){l.return=t.return,Ml=l;break}Ml=t.return}}function ad(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:$t(l,e),a&4&&su(5,e);break;case 1:if($t(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(i){nl(e,e.return,i)}else{var u=Je(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(i){nl(e,e.return,i)}}a&64&&Fs(e),a&512&&du(e,e.return);break;case 3:if($t(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{Qo(l,t)}catch(i){nl(e,e.return,i)}}break;case 27:t===null&&a&4&&td(e);case 26:case 5:$t(l,e),t===null&&a&4&&Ps(e),a&512&&du(e,e.return);break;case 12:$t(l,e);break;case 31:$t(l,e),a&4&&id(l,e);break;case 13:$t(l,e),a&4&&cd(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=Sm.bind(null,e),Ym(l,e))));break;case 22:if(a=e.memoizedState!==null||Wt,!a){t=t!==null&&t.memoizedState!==null||Al,u=Wt;var n=Al;Wt=a,(Al=t)&&!n?Ft(l,e,(e.subtreeFlags&8772)!==0):$t(l,e),Wt=u,Al=n}break;case 30:break;default:$t(l,e)}}function ud(l){var t=l.alternate;t!==null&&(l.alternate=null,ud(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&ii(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 vl=null,$l=!1;function kt(l,t,e){for(e=e.child;e!==null;)nd(l,t,e),e=e.sibling}function nd(l,t,e){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(Ca,e)}catch{}switch(e.tag){case 26:Al||Ht(e,t),kt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:Al||Ht(e,t);var a=vl,u=$l;ze(e.type)&&(vl=e.stateNode,$l=!1),kt(l,t,e),pu(e.stateNode),vl=a,$l=u;break;case 5:Al||Ht(e,t);case 6:if(a=vl,u=$l,vl=null,kt(l,t,e),vl=a,$l=u,vl!==null)if($l)try{(vl.nodeType===9?vl.body:vl.nodeName==="HTML"?vl.ownerDocument.body:vl).removeChild(e.stateNode)}catch(n){nl(e,t,n)}else try{vl.removeChild(e.stateNode)}catch(n){nl(e,t,n)}break;case 18:vl!==null&&($l?(l=vl,Fd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Na(l)):Fd(vl,e.stateNode));break;case 4:a=vl,u=$l,vl=e.stateNode.containerInfo,$l=!0,kt(l,t,e),vl=a,$l=u;break;case 0:case 11:case 14:case 15:re(2,e,t),Al||re(4,e,t),kt(l,t,e);break;case 1:Al||(Ht(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Is(e,t,a)),kt(l,t,e);break;case 21:kt(l,t,e);break;case 22:Al=(a=Al)||e.memoizedState!==null,kt(l,t,e),Al=a;break;default:kt(l,t,e)}}function id(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Na(l)}catch(e){nl(t,t.return,e)}}}function cd(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Na(l)}catch(e){nl(t,t.return,e)}}function sm(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new ed),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new ed),t;default:throw Error(y(435,l.tag))}}function _n(l,t){var e=sm(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var u=bm.bind(null,l,a);a.then(u,u)}})}function Fl(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:if(ze(c.type)){vl=c.stateNode,$l=!1;break l}break;case 5:vl=c.stateNode,$l=!1;break l;case 3:case 4:vl=c.stateNode.containerInfo,$l=!0;break l}c=c.return}if(vl===null)throw Error(y(160));nd(n,i,u),vl=null,$l=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)fd(t,l),t=t.sibling}var At=null;function fd(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:Fl(t,l),Il(l),a&4&&(re(3,l,l.return),su(3,l),re(5,l,l.return));break;case 1:Fl(t,l),Il(l),a&512&&(Al||e===null||Ht(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 u=At;if(Fl(t,l),Il(l),a&512&&(Al||e===null||Ht(e,e.return)),a&4){var n=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,u=u.ownerDocument||u;t:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Ya]||n[Dl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Nl(n,a,e),n[Dl]=l,Ol(n),a=n;break l;case"link":var i=fy("link","href",u).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){i.splice(c,1);break t}}n=u.createElement(a),Nl(n,a,e),u.head.appendChild(n);break;case"meta":if(i=fy("meta","content",u).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(n=i[c],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){i.splice(c,1);break t}}n=u.createElement(a),Nl(n,a,e),u.head.appendChild(n);break;default:throw Error(y(468,a))}n[Dl]=l,Ol(n),a=n}l.stateNode=a}else oy(u,l.type,l.stateNode);else l.stateNode=cy(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?oy(u,l.type,l.stateNode):cy(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Oc(l,l.memoizedProps,e.memoizedProps)}break;case 27:Fl(t,l),Il(l),a&512&&(Al||e===null||Ht(e,e.return)),e!==null&&a&4&&Oc(l,l.memoizedProps,e.memoizedProps);break;case 5:if(Fl(t,l),Il(l),a&512&&(Al||e===null||Ht(e,e.return)),l.flags&32){u=l.stateNode;try{ea(u,"")}catch(N){nl(l,l.return,N)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,Oc(l,u,e!==null?e.memoizedProps:u)),a&1024&&(Uc=!0);break;case 6:if(Fl(t,l),Il(l),a&4){if(l.stateNode===null)throw Error(y(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(N){nl(l,l.return,N)}}break;case 3:if(Gn=null,u=At,At=Bn(t.containerInfo),Fl(t,l),At=u,Il(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Na(t.containerInfo)}catch(N){nl(l,l.return,N)}Uc&&(Uc=!1,od(l));break;case 4:a=At,At=Bn(l.stateNode.containerInfo),Fl(t,l),Il(l),At=a;break;case 12:Fl(t,l),Il(l);break;case 31:Fl(t,l),Il(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,_n(l,a)));break;case 13:Fl(t,l),Il(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(An=et()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,_n(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,r=Wt,b=Al;if(Wt=r||u,Al=b||f,Fl(t,l),Al=b,Wt=r,Il(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||Wt||Al||we(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){f=e=t;try{if(n=f.stateNode,u)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=f.stateNode;var _=f.memoizedProps.style,h=_!=null&&_.hasOwnProperty("display")?_.display:null;c.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(N){nl(f,f.return,N)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(N){nl(f,f.return,N)}}}else if(t.tag===18){if(e===null){f=t;try{var g=f.stateNode;u?Id(g,!0):Id(f.stateNode,!1)}catch(N){nl(f,f.return,N)}}}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,_n(l,e))));break;case 19:Fl(t,l),Il(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,_n(l,a)));break;case 30:break;case 21:break;default:Fl(t,l),Il(l)}}function Il(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(ld(a)){e=a;break}a=a.return}if(e==null)throw Error(y(160));switch(e.tag){case 27:var u=e.stateNode,n=Mc(l);Tn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(ea(i,""),e.flags&=-33);var c=Mc(l);Tn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,r=Mc(l);Dc(l,r,f);break;default:throw Error(y(161))}}catch(b){nl(l,l.return,b)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function od(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;od(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function $t(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ad(l,t.alternate,t),t=t.sibling}function we(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:re(4,t,t.return),we(t);break;case 1:Ht(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&Is(t,t.return,e),we(t);break;case 27:pu(t.stateNode);case 26:case 5:Ht(t,t.return),we(t);break;case 22:t.memoizedState===null&&we(t);break;case 30:we(t);break;default:we(t)}l=l.sibling}}function Ft(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=l,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:Ft(u,n,e),su(4,n);break;case 1:if(Ft(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(r){nl(a,a.return,r)}if(a=n,u=a.updateQueue,u!==null){var c=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Xo(f[u],c)}catch(r){nl(a,a.return,r)}}e&&i&64&&Fs(n),du(n,n.return);break;case 27:td(n);case 26:case 5:Ft(u,n,e),e&&a===null&&i&4&&Ps(n),du(n,n.return);break;case 12:Ft(u,n,e);break;case 31:Ft(u,n,e),e&&i&4&&id(u,n);break;case 13:Ft(u,n,e),e&&i&4&&cd(u,n);break;case 22:n.memoizedState===null&&Ft(u,n,e),du(n,n.return);break;case 30:break;default:Ft(u,n,e)}t=t.sibling}}function jc(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&&Fa(e))}function Hc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Fa(l))}function xt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)sd(l,t,e,a),t=t.sibling}function sd(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:xt(l,t,e,a),u&2048&&su(9,t);break;case 1:xt(l,t,e,a);break;case 3:xt(l,t,e,a),u&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Fa(l)));break;case 12:if(u&2048){xt(l,t,e,a),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){nl(t,t.return,f)}}else xt(l,t,e,a);break;case 31:xt(l,t,e,a);break;case 13:xt(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,i=t.alternate,t.memoizedState!==null?n._visibility&2?xt(l,t,e,a):yu(l,t):n._visibility&2?xt(l,t,e,a):(n._visibility|=2,Ta(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&jc(i,t);break;case 24:xt(l,t,e,a),u&2048&&Hc(t.alternate,t);break;default:xt(l,t,e,a)}}function Ta(l,t,e,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,i=t,c=e,f=a,r=i.flags;switch(i.tag){case 0:case 11:case 15:Ta(n,i,c,f,u),su(8,i);break;case 23:break;case 22:var b=i.stateNode;i.memoizedState!==null?b._visibility&2?Ta(n,i,c,f,u):yu(n,i):(b._visibility|=2,Ta(n,i,c,f,u)),u&&r&2048&&jc(i.alternate,i);break;case 24:Ta(n,i,c,f,u),u&&r&2048&&Hc(i.alternate,i);break;default:Ta(n,i,c,f,u)}t=t.sibling}}function yu(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=l,a=t,u=a.flags;switch(a.tag){case 22:yu(e,a),u&2048&&jc(a.alternate,a);break;case 24:yu(e,a),u&2048&&Hc(a.alternate,a);break;default:yu(e,a)}t=t.sibling}}var mu=8192;function _a(l,t,e){if(l.subtreeFlags&mu)for(l=l.child;l!==null;)dd(l,t,e),l=l.sibling}function dd(l,t,e){switch(l.tag){case 26:_a(l,t,e),l.flags&mu&&l.memoizedState!==null&&$m(e,At,l.memoizedState,l.memoizedProps);break;case 5:_a(l,t,e);break;case 3:case 4:var a=At;At=Bn(l.stateNode.containerInfo),_a(l,t,e),At=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=mu,mu=16777216,_a(l,t,e),mu=a):_a(l,t,e));break;default:_a(l,t,e)}}function yd(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 ru(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];Ml=a,rd(a,l)}yd(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)md(l),l=l.sibling}function md(l){switch(l.tag){case 0:case 11:case 15:ru(l),l.flags&2048&&re(9,l,l.return);break;case 3:ru(l);break;case 12:ru(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,En(l)):ru(l);break;default:ru(l)}}function En(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];Ml=a,rd(a,l)}yd(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:re(8,t,t.return),En(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,En(t));break;default:En(t)}l=l.sibling}}function rd(l,t){for(;Ml!==null;){var e=Ml;switch(e.tag){case 0:case 11:case 15:re(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:Fa(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Ml=a;else l:for(e=l;Ml!==null;){a=Ml;var u=a.sibling,n=a.return;if(ud(a),a===e){Ml=null;break l}if(u!==null){u.return=n,Ml=u;break l}Ml=n}}}var dm={getCacheForType:function(l){var t=jl(Tl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return jl(Tl).controller.signal}},ym=typeof WeakMap=="function"?WeakMap:Map,el=0,dl=null,K=null,W=0,ul=0,ot=null,ve=!1,Ea=!1,Nc=!1,It=0,Sl=0,he=0,We=0,Rc=0,st=0,Aa=0,vu=null,Pl=null,Cc=!1,An=0,vd=0,xn=1/0,On=null,ge=null,xl=0,Se=null,xa=null,Pt=0,qc=0,Bc=null,hd=null,hu=0,Yc=null;function dt(){return(el&2)!==0&&W!==0?W&-W:p.T!==null?Vc():jf()}function gd(){if(st===0)if((W&536870912)===0||F){var l=Ru;Ru<<=1,(Ru&3932160)===0&&(Ru=262144),st=l}else st=536870912;return l=ct.current,l!==null&&(l.flags|=32),st}function lt(l,t,e){(l===dl&&(ul===2||ul===9)||l.cancelPendingCommit!==null)&&(Oa(l,0),be(l,W,st,!1)),Ba(l,e),((el&2)===0||l!==dl)&&(l===dl&&((el&2)===0&&(We|=e),Sl===4&&be(l,W,st,!1)),Nt(l))}function Sd(l,t,e){if((el&6)!==0)throw Error(y(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||qa(l,t),u=a?vm(l,t):Xc(l,t,!0),n=a;do{if(u===0){Ea&&!a&&be(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!mm(e)){u=Xc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;u=vu;var f=c.current.memoizedState.isDehydrated;if(f&&(Oa(c,i).flags|=256),i=Xc(c,i,!1),i!==2){if(Nc&&!f){c.errorRecoveryDisabledLanes|=n,We|=n,u=4;break l}n=Pl,Pl=u,n!==null&&(Pl===null?Pl=n:Pl.push.apply(Pl,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){Oa(l,0),be(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(y(345));case 4:if((t&4194048)!==t)break;case 6:be(a,t,st,!ve);break l;case 2:Pl=null;break;case 3:case 5:break;default:throw Error(y(329))}if((t&62914560)===t&&(u=An+300-et(),10<u)){if(be(a,t,st,!ve),qu(a,0,!0)!==0)break l;Pt=t,a.timeoutHandle=kd(bd.bind(null,a,e,Pl,On,Cc,t,st,We,Aa,ve,n,"Throttled",-0,0),u);break l}bd(a,e,Pl,On,Cc,t,st,We,Aa,ve,n,null,-0,0)}}break}while(!0);Nt(l)}function bd(l,t,e,a,u,n,i,c,f,r,b,_,h,g){if(l.timeoutHandle=-1,_=t.subtreeFlags,_&8192||(_&16785408)===16785408){_={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yt},dd(t,n,_);var N=(n&62914560)===n?An-et():(n&4194048)===n?vd-et():0;if(N=Fm(_,N),N!==null){Pt=n,l.cancelPendingCommit=N(Od.bind(null,l,t,n,e,a,u,i,c,f,b,_,null,h,g)),be(l,n,i,!r);return}}Od(l,t,n,e,a,u,i,c,f)}function mm(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 u=e[a],n=u.getSnapshot;u=u.value;try{if(!nt(n(),u))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 be(l,t,e,a){t&=~Rc,t&=~We,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-ut(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Mf(l,e,t)}function Mn(){return(el&6)===0?(gu(0),!1):!0}function Gc(){if(K!==null){if(ul===0)var l=K.return;else l=K,Lt=Ge=null,tc(l),ga=null,Pa=0,l=K;for(;l!==null;)$s(l.alternate,l),l=l.return;K=null}}function Oa(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Nm(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),Pt=0,Gc(),dl=l,K=e=Xt(l.current,null),W=t,ul=0,ot=null,ve=!1,Ea=qa(l,t),Nc=!1,Aa=st=Rc=We=he=Sl=0,Pl=vu=null,Cc=!1,(t&8)!==0&&(t|=t&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=t;0<a;){var u=31-ut(a),n=1<<u;t|=l[u],a&=~n}return It=t,Wu(),e}function pd(l,t){L=null,p.H=cu,t===ha||t===en?(t=qo(),ul=3):t===Zi?(t=qo(),ul=4):ul=t===gc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ot=t,K===null&&(Sl=1,gn(l,ht(t,l.current)))}function zd(){var l=ct.current;return l===null?!0:(W&4194048)===W?pt===null:(W&62914560)===W||(W&536870912)!==0?l===pt:!1}function Td(){var l=p.H;return p.H=cu,l===null?cu:l}function _d(){var l=p.A;return p.A=dm,l}function Dn(){Sl=4,ve||(W&4194048)!==W&&ct.current!==null||(Ea=!0),(he&134217727)===0&&(We&134217727)===0||dl===null||be(dl,W,st,!1)}function Xc(l,t,e){var a=el;el|=2;var u=Td(),n=_d();(dl!==l||W!==t)&&(On=null,Oa(l,t)),t=!1;var i=Sl;l:do try{if(ul!==0&&K!==null){var c=K,f=ot;switch(ul){case 8:Gc(),i=6;break l;case 3:case 2:case 9:case 6:ct.current===null&&(t=!0);var r=ul;if(ul=0,ot=null,Ma(l,c,f,r),e&&Ea){i=0;break l}break;default:r=ul,ul=0,ot=null,Ma(l,c,f,r)}}rm(),i=Sl;break}catch(b){pd(l,b)}while(!0);return t&&l.shellSuspendCounter++,Lt=Ge=null,el=a,p.H=u,p.A=n,K===null&&(dl=null,W=0,Wu()),i}function rm(){for(;K!==null;)Ed(K)}function vm(l,t){var e=el;el|=2;var a=Td(),u=_d();dl!==l||W!==t?(On=null,xn=et()+500,Oa(l,t)):Ea=qa(l,t);l:do try{if(ul!==0&&K!==null){t=K;var n=ot;t:switch(ul){case 1:ul=0,ot=null,Ma(l,t,n,1);break;case 2:case 9:if(Ro(n)){ul=0,ot=null,Ad(t);break}t=function(){ul!==2&&ul!==9||dl!==l||(ul=7),Nt(l)},n.then(t,t);break l;case 3:ul=7;break l;case 4:ul=5;break l;case 7:Ro(n)?(ul=0,ot=null,Ad(t)):(ul=0,ot=null,Ma(l,t,n,7));break;case 5:var i=null;switch(K.tag){case 26:i=K.memoizedState;case 5:case 27:var c=K;if(i?sy(i):c.stateNode.complete){ul=0,ot=null;var f=c.sibling;if(f!==null)K=f;else{var r=c.return;r!==null?(K=r,Un(r)):K=null}break t}}ul=0,ot=null,Ma(l,t,n,5);break;case 6:ul=0,ot=null,Ma(l,t,n,6);break;case 8:Gc(),Sl=6;break l;default:throw Error(y(462))}}hm();break}catch(b){pd(l,b)}while(!0);return Lt=Ge=null,p.H=a,p.A=u,el=e,K!==null?0:(dl=null,W=0,Wu(),Sl)}function hm(){for(;K!==null&&!Gy();)Ed(K)}function Ed(l){var t=Ws(l.alternate,l,It);l.memoizedProps=l.pendingProps,t===null?Un(l):K=t}function Ad(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Ls(e,t,t.pendingProps,t.type,void 0,W);break;case 11:t=Ls(e,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:tc(t);default:$s(e,t),t=K=_o(t,It),t=Ws(e,t,It)}l.memoizedProps=l.pendingProps,t===null?Un(l):K=t}function Ma(l,t,e,a){Lt=Ge=null,tc(t),ga=null,Pa=0;var u=t.return;try{if(um(l,u,t,e,W)){Sl=1,gn(l,ht(e,l.current)),K=null;return}}catch(n){if(u!==null)throw K=u,n;Sl=1,gn(l,ht(e,l.current)),K=null;return}t.flags&32768?(F||a===1?l=!0:Ea||(W&536870912)!==0?l=!1:(ve=l=!0,(a===2||a===9||a===3||a===6)&&(a=ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),xd(t,l)):Un(t)}function Un(l){var t=l;do{if((t.flags&32768)!==0){xd(t,ve);return}l=t.return;var e=cm(t.alternate,t,It);if(e!==null){K=e;return}if(t=t.sibling,t!==null){K=t;return}K=t=l}while(t!==null);Sl===0&&(Sl=5)}function xd(l,t){do{var e=fm(l.alternate,l);if(e!==null){e.flags&=32767,K=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){K=l;return}K=l=e}while(l!==null);Sl=6,K=null}function Od(l,t,e,a,u,n,i,c,f){l.cancelPendingCommit=null;do jn();while(xl!==0);if((el&6)!==0)throw Error(y(327));if(t!==null){if(t===l.current)throw Error(y(177));if(n=t.lanes|t.childLanes,n|=Mi,ky(l,e,n,i,c,f),l===dl&&(K=dl=null,W=0),xa=t,Se=l,Pt=e,qc=n,Bc=u,hd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,pm(Hu,function(){return Hd(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=p.T,p.T=null,u=D.p,D.p=2,i=el,el|=4;try{om(l,t,e)}finally{el=i,D.p=u,p.T=a}}xl=1,Md(),Dd(),Ud()}}function Md(){if(xl===1){xl=0;var l=Se,t=xa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=p.T,p.T=null;var a=D.p;D.p=2;var u=el;el|=4;try{fd(t,l);var n=Ic,i=ro(l.containerInfo),c=n.focusedElem,f=n.selectionRange;if(i!==c&&c&&c.ownerDocument&&mo(c.ownerDocument.documentElement,c)){if(f!==null&&_i(c)){var r=f.start,b=f.end;if(b===void 0&&(b=r),"selectionStart"in c)c.selectionStart=r,c.selectionEnd=Math.min(b,c.value.length);else{var _=c.ownerDocument||document,h=_&&_.defaultView||window;if(h.getSelection){var g=h.getSelection(),N=c.textContent.length,Y=Math.min(f.start,N),ol=f.end===void 0?Y:Math.min(f.end,N);!g.extend&&Y>ol&&(i=ol,ol=Y,Y=i);var d=yo(c,Y),o=yo(c,ol);if(d&&o&&(g.rangeCount!==1||g.anchorNode!==d.node||g.anchorOffset!==d.offset||g.focusNode!==o.node||g.focusOffset!==o.offset)){var m=_.createRange();m.setStart(d.node,d.offset),g.removeAllRanges(),Y>ol?(g.addRange(m),g.extend(o.node,o.offset)):(m.setEnd(o.node,o.offset),g.addRange(m))}}}}for(_=[],g=c;g=g.parentNode;)g.nodeType===1&&_.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<_.length;c++){var z=_[c];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Zn=!!Fc,Ic=Fc=null}finally{el=u,D.p=a,p.T=e}}l.current=t,xl=2}}function Dd(){if(xl===2){xl=0;var l=Se,t=xa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=p.T,p.T=null;var a=D.p;D.p=2;var u=el;el|=4;try{ad(l,t.alternate,t)}finally{el=u,D.p=a,p.T=e}}xl=3}}function Ud(){if(xl===4||xl===3){xl=0,Xy();var l=Se,t=xa,e=Pt,a=hd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?xl=5:(xl=0,xa=Se=null,jd(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(ge=null),ui(e),t=t.stateNode,at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(Ca,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=p.T,u=D.p,D.p=2,p.T=null;try{for(var n=l.onRecoverableError,i=0;i<a.length;i++){var c=a[i];n(c.value,{componentStack:c.stack})}}finally{p.T=t,D.p=u}}(Pt&3)!==0&&jn(),Nt(l),u=l.pendingLanes,(e&261930)!==0&&(u&42)!==0?l===Yc?hu++:(hu=0,Yc=l):hu=0,gu(0)}}function jd(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Fa(t)))}function jn(){return Md(),Dd(),Ud(),Hd()}function Hd(){if(xl!==5)return!1;var l=Se,t=qc;qc=0;var e=ui(Pt),a=p.T,u=D.p;try{D.p=32>e?32:e,p.T=null,e=Bc,Bc=null;var n=Se,i=Pt;if(xl=0,xa=Se=null,Pt=0,(el&6)!==0)throw Error(y(331));var c=el;if(el|=4,md(n.current),sd(n,n.current,i,e),el=c,gu(0,!1),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(Ca,n)}catch{}return!0}finally{D.p=u,p.T=a,jd(l,t)}}function Nd(l,t,e){t=ht(e,t),t=hc(l.stateNode,t,2),l=de(l,t,2),l!==null&&(Ba(l,2),Nt(l))}function nl(l,t,e){if(l.tag===3)Nd(l,l,e);else for(;t!==null;){if(t.tag===3){Nd(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ge===null||!ge.has(a))){l=ht(e,l),e=Rs(2),a=de(t,e,2),a!==null&&(Cs(e,a,t,l),Ba(a,2),Nt(a));break}}t=t.return}}function Qc(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new ym;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(e)||(Nc=!0,u.add(e),l=gm.bind(null,l,t,e),t.then(l,l))}function gm(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,dl===l&&(W&e)===e&&(Sl===4||Sl===3&&(W&62914560)===W&&300>et()-An?(el&2)===0&&Oa(l,0):Rc|=e,Aa===W&&(Aa=0)),Nt(l)}function Rd(l,t){t===0&&(t=Of()),l=qe(l,t),l!==null&&(Ba(l,t),Nt(l))}function Sm(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),Rd(l,e)}function bm(l,t){var e=0;switch(l.tag){case 31:case 13:var a=l.stateNode,u=l.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(y(314))}a!==null&&a.delete(t),Rd(l,e)}function pm(l,t){return li(l,t)}var Hn=null,Da=null,Lc=!1,Nn=!1,Zc=!1,pe=0;function Nt(l){l!==Da&&l.next===null&&(Da===null?Hn=Da=l:Da=Da.next=l),Nn=!0,Lc||(Lc=!0,Tm())}function gu(l,t){if(!Zc&&Nn){Zc=!0;do for(var e=!1,a=Hn;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-ut(42|l)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Yd(a,n))}else n=W,n=qu(a,a===dl?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||qa(a,n)||(e=!0,Yd(a,n));a=a.next}while(e);Zc=!1}}function zm(){Cd()}function Cd(){Nn=Lc=!1;var l=0;pe!==0&&Hm()&&(l=pe);for(var t=et(),e=null,a=Hn;a!==null;){var u=a.next,n=qd(a,t);n===0?(a.next=null,e===null?Hn=u:e.next=u,u===null&&(Da=e)):(e=a,(l!==0||(n&3)!==0)&&(Nn=!0)),a=u}xl!==0&&xl!==5||gu(l),pe!==0&&(pe=0)}function qd(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-ut(n),c=1<<i,f=u[i];f===-1?((c&e)===0||(c&a)!==0)&&(u[i]=Wy(c,t)):f<=t&&(l.expiredLanes|=c),n&=~c}if(t=dl,e=W,e=qu(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(ul===2||ul===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&ti(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||qa(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&ti(a),ui(e)){case 2:case 8:e=Af;break;case 32:e=Hu;break;case 268435456:e=xf;break;default:e=Hu}return a=Bd.bind(null,l),e=li(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&ti(a),l.callbackPriority=2,l.callbackNode=null,2}function Bd(l,t){if(xl!==0&&xl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(jn()&&l.callbackNode!==e)return null;var a=W;return a=qu(l,l===dl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Sd(l,a,t),qd(l,et()),l.callbackNode!=null&&l.callbackNode===e?Bd.bind(null,l):null)}function Yd(l,t){if(jn())return null;Sd(l,t,!0)}function Tm(){Rm(function(){(el&6)!==0?li(Ef,zm):Cd()})}function Vc(){if(pe===0){var l=ra;l===0&&(l=Nu,Nu<<=1,(Nu&261888)===0&&(Nu=256)),pe=l}return pe}function Gd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Xu(""+l)}function Xd(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 _m(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=Gd((u[Wl]||null).action),i=a.submitter;i&&(t=(t=i[Wl]||null)?Gd(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var c=new Vu("action","action",null,a,u);l.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(pe!==0){var f=i?Xd(u,i):new FormData(u);sc(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Xd(u,i):new FormData(u),sc(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var Kc=0;Kc<Oi.length;Kc++){var Jc=Oi[Kc],Em=Jc.toLowerCase(),Am=Jc[0].toUpperCase()+Jc.slice(1);Et(Em,"on"+Am)}Et(go,"onAnimationEnd"),Et(So,"onAnimationIteration"),Et(bo,"onAnimationStart"),Et("dblclick","onDoubleClick"),Et("focusin","onFocus"),Et("focusout","onBlur"),Et(Q0,"onTransitionRun"),Et(L0,"onTransitionStart"),Et(Z0,"onTransitionCancel"),Et(po,"onTransitionEnd"),la("onMouseEnter",["mouseout","mouseover"]),la("onMouseLeave",["mouseout","mouseover"]),la("onPointerEnter",["pointerout","pointerover"]),la("onPointerLeave",["pointerout","pointerover"]),He("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),He("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),He("onBeforeInput",["compositionend","keypress","textInput","paste"]),He("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),He("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),He("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Su="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(" "),xm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Su));function Qd(l,t){t=(t&4)!==0;for(var e=0;e<l.length;e++){var a=l[e],u=a.event;a=a.listeners;l:{var n=void 0;if(t)for(var i=a.length-1;0<=i;i--){var c=a[i],f=c.instance,r=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=r;try{n(u)}catch(b){wu(b)}u.currentTarget=null,n=f}else for(i=0;i<a.length;i++){if(c=a[i],f=c.instance,r=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=r;try{n(u)}catch(b){wu(b)}u.currentTarget=null,n=f}}}}function J(l,t){var e=t[ni];e===void 0&&(e=t[ni]=new Set);var a=l+"__bubble";e.has(a)||(Ld(t,l,2,!1),e.add(a))}function wc(l,t,e){var a=0;t&&(a|=4),Ld(e,l,a,t)}var Rn="_reactListening"+Math.random().toString(36).slice(2);function Wc(l){if(!l[Rn]){l[Rn]=!0,Rf.forEach(function(e){e!=="selectionchange"&&(xm.has(e)||wc(e,!1,l),wc(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Rn]||(t[Rn]=!0,wc("selectionchange",!1,t))}}function Ld(l,t,e,a){switch(gy(t)){case 2:var u=lr;break;case 8:u=tr;break;default:u=sf}e=u.bind(null,t,e,l),u=void 0,!ri||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?l.addEventListener(t,e,{capture:!0,passive:u}):l.addEventListener(t,e,!0):u!==void 0?l.addEventListener(t,e,{passive:u}):l.addEventListener(t,e,!1)}function kc(l,t,e,a,u){var n=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=Fe(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=n=i;continue l}c=c.parentNode}}a=a.return}Jf(function(){var r=n,b=yi(e),_=[];l:{var h=zo.get(l);if(h!==void 0){var g=Vu,N=l;switch(l){case"keypress":if(Lu(e)===0)break l;case"keydown":case"keyup":g=b0;break;case"focusin":N="focus",g=Si;break;case"focusout":N="blur",g=Si;break;case"beforeblur":case"afterblur":g=Si;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":g=kf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=c0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=T0;break;case go:case So:case bo:g=s0;break;case po:g=E0;break;case"scroll":case"scrollend":g=n0;break;case"wheel":g=x0;break;case"copy":case"cut":case"paste":g=y0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Ff;break;case"toggle":case"beforetoggle":g=M0}var Y=(t&4)!==0,ol=!Y&&(l==="scroll"||l==="scrollend"),d=Y?h!==null?h+"Capture":null:h;Y=[];for(var o=r,m;o!==null;){var z=o;if(m=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||m===null||d===null||(z=Xa(o,d),z!=null&&Y.push(bu(o,z,m))),ol)break;o=o.return}0<Y.length&&(h=new g(h,N,null,e,b),_.push({event:h,listeners:Y}))}}if((t&7)===0){l:{if(h=l==="mouseover"||l==="pointerover",g=l==="mouseout"||l==="pointerout",h&&e!==di&&(N=e.relatedTarget||e.fromElement)&&(Fe(N)||N[$e]))break l;if((g||h)&&(h=b.window===b?b:(h=b.ownerDocument)?h.defaultView||h.parentWindow:window,g?(N=e.relatedTarget||e.toElement,g=r,N=N?Fe(N):null,N!==null&&(ol=O(N),Y=N.tag,N!==ol||Y!==5&&Y!==27&&Y!==6)&&(N=null)):(g=null,N=r),g!==N)){if(Y=kf,z="onMouseLeave",d="onMouseEnter",o="mouse",(l==="pointerout"||l==="pointerover")&&(Y=Ff,z="onPointerLeave",d="onPointerEnter",o="pointer"),ol=g==null?h:Ga(g),m=N==null?h:Ga(N),h=new Y(z,o+"leave",g,e,b),h.target=ol,h.relatedTarget=m,z=null,Fe(b)===r&&(Y=new Y(d,o+"enter",N,e,b),Y.target=m,Y.relatedTarget=ol,z=Y),ol=z,g&&N)t:{for(Y=Om,d=g,o=N,m=0,z=d;z;z=Y(z))m++;z=0;for(var B=o;B;B=Y(B))z++;for(;0<m-z;)d=Y(d),m--;for(;0<z-m;)o=Y(o),z--;for(;m--;){if(d===o||o!==null&&d===o.alternate){Y=d;break t}d=Y(d),o=Y(o)}Y=null}else Y=null;g!==null&&Zd(_,h,g,Y,!1),N!==null&&ol!==null&&Zd(_,ol,N,Y,!0)}}l:{if(h=r?Ga(r):window,g=h.nodeName&&h.nodeName.toLowerCase(),g==="select"||g==="input"&&h.type==="file")var ll=no;else if(ao(h))if(io)ll=Y0;else{ll=q0;var C=C0}else g=h.nodeName,!g||g.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?r&&si(r.elementType)&&(ll=no):ll=B0;if(ll&&(ll=ll(l,r))){uo(_,ll,e,b);break l}C&&C(l,h,r),l==="focusout"&&r&&h.type==="number"&&r.memoizedProps.value!=null&&oi(h,"number",h.value)}switch(C=r?Ga(r):window,l){case"focusin":(ao(C)||C.contentEditable==="true")&&(ia=C,Ei=r,Wa=null);break;case"focusout":Wa=Ei=ia=null;break;case"mousedown":Ai=!0;break;case"contextmenu":case"mouseup":case"dragend":Ai=!1,vo(_,e,b);break;case"selectionchange":if(X0)break;case"keydown":case"keyup":vo(_,e,b)}var Z;if(pi)l:{switch(l){case"compositionstart":var k="onCompositionStart";break l;case"compositionend":k="onCompositionEnd";break l;case"compositionupdate":k="onCompositionUpdate";break l}k=void 0}else na?to(l,e)&&(k="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(k="onCompositionStart");k&&(If&&e.locale!=="ko"&&(na||k!=="onCompositionStart"?k==="onCompositionEnd"&&na&&(Z=wf()):(ue=b,vi="value"in ue?ue.value:ue.textContent,na=!0)),C=Cn(r,k),0<C.length&&(k=new $f(k,l,null,e,b),_.push({event:k,listeners:C}),Z?k.data=Z:(Z=eo(e),Z!==null&&(k.data=Z)))),(Z=U0?j0(l,e):H0(l,e))&&(k=Cn(r,"onBeforeInput"),0<k.length&&(C=new $f("onBeforeInput","beforeinput",null,e,b),_.push({event:C,listeners:k}),C.data=Z)),_m(_,l,r,e,b)}Qd(_,t)})}function bu(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Cn(l,t){for(var e=t+"Capture",a=[];l!==null;){var u=l,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=Xa(l,e),u!=null&&a.unshift(bu(l,u,n)),u=Xa(l,t),u!=null&&a.push(bu(l,u,n))),l.tag===3)return a;l=l.return}return[]}function Om(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Zd(l,t,e,a,u){for(var n=t._reactName,i=[];e!==null&&e!==a;){var c=e,f=c.alternate,r=c.stateNode;if(c=c.tag,f!==null&&f===a)break;c!==5&&c!==26&&c!==27||r===null||(f=r,u?(r=Xa(e,n),r!=null&&i.unshift(bu(e,r,f))):u||(r=Xa(e,n),r!=null&&i.push(bu(e,r,f)))),e=e.return}i.length!==0&&l.push({event:t,listeners:i})}var Mm=/\r\n?/g,Dm=/\u0000|\uFFFD/g;function Vd(l){return(typeof l=="string"?l:""+l).replace(Mm,`
`).replace(Dm,"")}function Kd(l,t){return t=Vd(t),Vd(l)===t}function fl(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ea(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ea(l,""+a);break;case"className":Yu(l,"class",a);break;case"tabIndex":Yu(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Yu(l,e,a);break;case"style":Vf(l,a,n);break;case"data":if(t!=="object"){Yu(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=Xu(""+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 n=="function"&&(e==="formAction"?(t!=="input"&&fl(l,t,"name",u.name,u,null),fl(l,t,"formEncType",u.formEncType,u,null),fl(l,t,"formMethod",u.formMethod,u,null),fl(l,t,"formTarget",u.formTarget,u,null)):(fl(l,t,"encType",u.encType,u,null),fl(l,t,"method",u.method,u,null),fl(l,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(e);break}a=Xu(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Yt);break;case"onScroll":a!=null&&J("scroll",l);break;case"onScrollEnd":a!=null&&J("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(y(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(y(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=Xu(""+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":J("beforetoggle",l),J("toggle",l),Bu(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":Bu(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=a0.get(e)||e,Bu(l,e,a))}}function $c(l,t,e,a,u,n){switch(e){case"style":Vf(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(y(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(y(60));l.innerHTML=e}}break;case"children":typeof a=="string"?ea(l,a):(typeof a=="number"||typeof a=="bigint")&&ea(l,""+a);break;case"onScroll":a!=null&&J("scroll",l);break;case"onScrollEnd":a!=null&&J("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cf.hasOwnProperty(e))l:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),t=e.slice(2,u?e.length-7:void 0),n=l[Wl]||null,n=n!=null?n[e]:null,typeof n=="function"&&l.removeEventListener(t,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in l?l[e]=null:l.hasAttribute(e)&&l.removeAttribute(e)),l.addEventListener(t,a,u);break l}e in l?l[e]=a:a===!0?l.setAttribute(e,""):Bu(l,e,a)}}}function Nl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",l),J("load",l);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(y(137,t));default:fl(l,t,n,i,e,null)}}u&&fl(l,t,"srcSet",e.srcSet,e,null),a&&fl(l,t,"src",e.src,e,null);return;case"input":J("invalid",l);var c=n=i=u=null,f=null,r=null;for(a in e)if(e.hasOwnProperty(a)){var b=e[a];if(b!=null)switch(a){case"name":u=b;break;case"type":i=b;break;case"checked":f=b;break;case"defaultChecked":r=b;break;case"value":n=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(y(137,t));break;default:fl(l,t,a,b,e,null)}}Xf(l,n,c,f,r,i,u,!1);return;case"select":J("invalid",l),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:fl(l,t,u,c,e,null)}t=n,e=i,l.multiple=!!a,t!=null?ta(l,!!a,t,!1):e!=null&&ta(l,!!a,e,!0);return;case"textarea":J("invalid",l),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(y(91));break;default:fl(l,t,i,c,e,null)}Lf(l,a,u,n);return;case"option":for(f in e)if(e.hasOwnProperty(f)&&(a=e[f],a!=null))switch(f){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:fl(l,t,f,a,e,null)}return;case"dialog":J("beforetoggle",l),J("toggle",l),J("cancel",l),J("close",l);break;case"iframe":case"object":J("load",l);break;case"video":case"audio":for(a=0;a<Su.length;a++)J(Su[a],l);break;case"image":J("error",l),J("load",l);break;case"details":J("toggle",l);break;case"embed":case"source":case"link":J("error",l),J("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(r in e)if(e.hasOwnProperty(r)&&(a=e[r],a!=null))switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(y(137,t));default:fl(l,t,r,a,e,null)}return;default:if(si(t)){for(b in e)e.hasOwnProperty(b)&&(a=e[b],a!==void 0&&$c(l,t,b,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&fl(l,t,c,a,e,null))}function Um(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 u=null,n=null,i=null,c=null,f=null,r=null,b=null;for(g in e){var _=e[g];if(e.hasOwnProperty(g)&&_!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":f=_;default:a.hasOwnProperty(g)||fl(l,t,g,null,a,_)}}for(var h in a){var g=a[h];if(_=e[h],a.hasOwnProperty(h)&&(g!=null||_!=null))switch(h){case"type":n=g;break;case"name":u=g;break;case"checked":r=g;break;case"defaultChecked":b=g;break;case"value":i=g;break;case"defaultValue":c=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(y(137,t));break;default:g!==_&&fl(l,t,h,g,a,_)}}fi(l,i,c,f,r,b,n,u);return;case"select":g=i=c=h=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":g=f;default:a.hasOwnProperty(n)||fl(l,t,n,null,a,f)}for(u in a)if(n=a[u],f=e[u],a.hasOwnProperty(u)&&(n!=null||f!=null))switch(u){case"value":h=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&fl(l,t,u,n,a,f)}t=c,e=i,a=g,h!=null?ta(l,!!e,h,!1):!!a!=!!e&&(t!=null?ta(l,!!e,t,!0):ta(l,!!e,e?[]:"",!1));return;case"textarea":g=h=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:fl(l,t,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":h=u;break;case"defaultValue":g=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(y(91));break;default:u!==n&&fl(l,t,i,u,a,n)}Qf(l,h,g);return;case"option":for(var N in e)if(h=e[N],e.hasOwnProperty(N)&&h!=null&&!a.hasOwnProperty(N))switch(N){case"selected":l.selected=!1;break;default:fl(l,t,N,null,a,h)}for(f in a)if(h=a[f],g=e[f],a.hasOwnProperty(f)&&h!==g&&(h!=null||g!=null))switch(f){case"selected":l.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:fl(l,t,f,h,a,g)}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 Y in e)h=e[Y],e.hasOwnProperty(Y)&&h!=null&&!a.hasOwnProperty(Y)&&fl(l,t,Y,null,a,h);for(r in a)if(h=a[r],g=e[r],a.hasOwnProperty(r)&&h!==g&&(h!=null||g!=null))switch(r){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(y(137,t));break;default:fl(l,t,r,h,a,g)}return;default:if(si(t)){for(var ol in e)h=e[ol],e.hasOwnProperty(ol)&&h!==void 0&&!a.hasOwnProperty(ol)&&$c(l,t,ol,void 0,a,h);for(b in a)h=a[b],g=e[b],!a.hasOwnProperty(b)||h===g||h===void 0&&g===void 0||$c(l,t,b,h,a,g);return}}for(var d in e)h=e[d],e.hasOwnProperty(d)&&h!=null&&!a.hasOwnProperty(d)&&fl(l,t,d,null,a,h);for(_ in a)h=a[_],g=e[_],!a.hasOwnProperty(_)||h===g||h==null&&g==null||fl(l,t,_,h,a,g)}function Jd(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jm(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,i=u.initiatorType,c=u.duration;if(n&&c&&Jd(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],r=f.startTime;if(r>c)break;var b=f.transferSize,_=f.initiatorType;b&&Jd(_)&&(f=f.responseEnd,i+=b*(f<c?1:(c-r)/(f-r)))}if(--a,t+=8*(n+i)/(u.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 Fc=null,Ic=null;function qn(l){return l.nodeType===9?l:l.ownerDocument}function wd(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 Wd(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 Pc(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 lf=null;function Hm(){var l=window.event;return l&&l.type==="popstate"?l===lf?!1:(lf=l,!0):(lf=null,!1)}var kd=typeof setTimeout=="function"?setTimeout:void 0,Nm=typeof clearTimeout=="function"?clearTimeout:void 0,$d=typeof Promise=="function"?Promise:void 0,Rm=typeof queueMicrotask=="function"?queueMicrotask:typeof $d<"u"?function(l){return $d.resolve(null).then(l).catch(Cm)}:kd;function Cm(l){setTimeout(function(){throw l})}function ze(l){return l==="head"}function Fd(l,t){var e=t,a=0;do{var u=e.nextSibling;if(l.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){l.removeChild(u),Na(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")pu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,pu(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[Ya]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&pu(l.ownerDocument.body);e=u}while(e);Na(t)}function Id(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 tf(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":tf(e),ii(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function qm(l,t,e,a){for(;l.nodeType===1;){var u=e;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Ya])switch(t){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(n=l.getAttribute("rel"),n==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(n!==u.rel||l.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||l.getAttribute("title")!==(u.title==null?null:u.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(u.src==null?null:u.src)||l.getAttribute("type")!==(u.type==null?null:u.type)||l.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=zt(l.nextSibling),l===null)break}return null}function Bm(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=zt(l.nextSibling),l===null))return null;return l}function Pd(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=zt(l.nextSibling),l===null))return null;return l}function ef(l){return l.data==="$?"||l.data==="$~"}function af(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Ym(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 zt(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 uf=null;function ly(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return zt(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function ty(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 ey(l,t,e){switch(t=qn(e),l){case"html":if(l=t.documentElement,!l)throw Error(y(452));return l;case"head":if(l=t.head,!l)throw Error(y(453));return l;case"body":if(l=t.body,!l)throw Error(y(454));return l;default:throw Error(y(451))}}function pu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);ii(l)}var Tt=new Map,ay=new Set;function Bn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var le=D.d;D.d={f:Gm,r:Xm,D:Qm,C:Lm,L:Zm,m:Vm,X:Jm,S:Km,M:wm};function Gm(){var l=le.f(),t=Mn();return l||t}function Xm(l){var t=Ie(l);t!==null&&t.tag===5&&t.type==="form"?ps(t):le.r(l)}var Ua=typeof document>"u"?null:document;function uy(l,t,e){var a=Ua;if(a&&typeof t=="string"&&t){var u=rt(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),ay.has(u)||(ay.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),Nl(t,"link",l),Ol(t),a.head.appendChild(t)))}}function Qm(l){le.D(l),uy("dns-prefetch",l,null)}function Lm(l,t){le.C(l,t),uy("preconnect",l,t)}function Zm(l,t,e){le.L(l,t,e);var a=Ua;if(a&&l&&t){var u='link[rel="preload"][as="'+rt(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+rt(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+rt(e.imageSizes)+'"]')):u+='[href="'+rt(l)+'"]';var n=u;switch(t){case"style":n=ja(l);break;case"script":n=Ha(l)}Tt.has(n)||(l=q({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),Tt.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(zu(n))||t==="script"&&a.querySelector(Tu(n))||(t=a.createElement("link"),Nl(t,"link",l),Ol(t),a.head.appendChild(t)))}}function Vm(l,t){le.m(l,t);var e=Ua;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+rt(a)+'"][href="'+rt(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ha(l)}if(!Tt.has(n)&&(l=q({rel:"modulepreload",href:l},t),Tt.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Tu(n)))return}a=e.createElement("link"),Nl(a,"link",l),Ol(a),e.head.appendChild(a)}}}function Km(l,t,e){le.S(l,t,e);var a=Ua;if(a&&l){var u=Pe(a).hoistableStyles,n=ja(l);t=t||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(zu(n)))c.loading=5;else{l=q({rel:"stylesheet",href:l,"data-precedence":t},e),(e=Tt.get(n))&&nf(l,e);var f=i=a.createElement("link");Ol(f),Nl(f,"link",l),f._p=new Promise(function(r,b){f.onload=r,f.onerror=b}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Yn(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Jm(l,t){le.X(l,t);var e=Ua;if(e&&l){var a=Pe(e).hoistableScripts,u=Ha(l),n=a.get(u);n||(n=e.querySelector(Tu(u)),n||(l=q({src:l,async:!0},t),(t=Tt.get(u))&&cf(l,t),n=e.createElement("script"),Ol(n),Nl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function wm(l,t){le.M(l,t);var e=Ua;if(e&&l){var a=Pe(e).hoistableScripts,u=Ha(l),n=a.get(u);n||(n=e.querySelector(Tu(u)),n||(l=q({src:l,async:!0,type:"module"},t),(t=Tt.get(u))&&cf(l,t),n=e.createElement("script"),Ol(n),Nl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function ny(l,t,e,a){var u=(u=V.current)?Bn(u):null;if(!u)throw Error(y(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=ja(e.href),e=Pe(u).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=ja(e.href);var n=Pe(u).hoistableStyles,i=n.get(l);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,i),(n=u.querySelector(zu(l)))&&!n._p&&(i.instance=n,i.state.loading=5),Tt.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},Tt.set(l,e),n||Wm(u,l,e,i.state))),t&&a===null)throw Error(y(528,""));return i}if(t&&a!==null)throw Error(y(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ha(e),e=Pe(u).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(y(444,l))}}function ja(l){return'href="'+rt(l)+'"'}function zu(l){return'link[rel="stylesheet"]['+l+"]"}function iy(l){return q({},l,{"data-precedence":l.precedence,precedence:null})}function Wm(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}),Nl(t,"link",e),Ol(t),l.head.appendChild(t))}function Ha(l){return'[src="'+rt(l)+'"]'}function Tu(l){return"script[async]"+l}function cy(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+rt(e.href)+'"]');if(a)return t.instance=a,Ol(a),a;var u=q({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ol(a),Nl(a,"style",u),Yn(a,e.precedence,l),t.instance=a;case"stylesheet":u=ja(e.href);var n=l.querySelector(zu(u));if(n)return t.state.loading|=4,t.instance=n,Ol(n),n;a=iy(e),(u=Tt.get(u))&&nf(a,u),n=(l.ownerDocument||l).createElement("link"),Ol(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Nl(n,"link",a),t.state.loading|=4,Yn(n,e.precedence,l),t.instance=n;case"script":return n=Ha(e.src),(u=l.querySelector(Tu(n)))?(t.instance=u,Ol(u),u):(a=e,(u=Tt.get(n))&&(a=q({},e),cf(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),Ol(u),Nl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(y(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Yn(a,e.precedence,l));return t.instance}function Yn(l,t,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)n=c;else if(n!==u)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(l,t.firstChild))}function nf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function cf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Gn=null;function fy(l,t,e){if(Gn===null){var a=new Map,u=Gn=new Map;u.set(e,a)}else u=Gn,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(l))return a;for(a.set(l,null),e=e.getElementsByTagName(l),u=0;u<e.length;u++){var n=e[u];if(!(n[Ya]||n[Dl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=l+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function oy(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function km(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 sy(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function $m(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 u=ja(a.href),n=t.querySelector(zu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Xn.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,Ol(n);return}n=t.ownerDocument||t,a=iy(a),(u=Tt.get(u))&&nf(a,u),n=n.createElement("link"),Ol(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Nl(n,"link",a),e.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Xn.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var ff=0;function Fm(l,t){return l.stylesheets&&l.count===0&&Ln(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Ln(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&ff===0&&(ff=62500*jm());var u=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Ln(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>ff?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Xn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ln(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Qn=null;function Ln(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Qn=new Map,t.forEach(Im,l),Qn=null,Xn.call(l))}function Im(l,t){if(!(t.state.loading&4)){var e=Qn.get(l);if(e)var a=e.get(null);else{e=new Map,Qn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=t.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=Xn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(u,l.firstChild)),t.state.loading|=4}}var _u={$$typeof:Cl,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function Pm(l,t,e,a,u,n,i,c,f){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=ei(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ei(0),this.hiddenUpdates=ei(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function dy(l,t,e,a,u,n,i,c,f,r,b,_){return l=new Pm(l,t,e,i,f,r,b,_,c),t=1,n===!0&&(t|=24),n=it(3,null,null,t),l.current=n,n.stateNode=l,t=Xi(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},Vi(n),l}function yy(l){return l?(l=oa,l):oa}function my(l,t,e,a,u,n){u=yy(u),a.context===null?a.context=u:a.pendingContext=u,a=se(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=de(l,a,t),e!==null&&(lt(e,l,t),tu(e,l,t))}function ry(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function of(l,t){ry(l,t),(l=l.alternate)&&ry(l,t)}function vy(l){if(l.tag===13||l.tag===31){var t=qe(l,67108864);t!==null&&lt(t,l,67108864),of(l,67108864)}}function hy(l){if(l.tag===13||l.tag===31){var t=dt();t=ai(t);var e=qe(l,t);e!==null&&lt(e,l,t),of(l,t)}}var Zn=!0;function lr(l,t,e,a){var u=p.T;p.T=null;var n=D.p;try{D.p=2,sf(l,t,e,a)}finally{D.p=n,p.T=u}}function tr(l,t,e,a){var u=p.T;p.T=null;var n=D.p;try{D.p=8,sf(l,t,e,a)}finally{D.p=n,p.T=u}}function sf(l,t,e,a){if(Zn){var u=df(a);if(u===null)kc(l,t,a,Vn,e),Sy(l,a);else if(ar(u,l,t,e,a))a.stopPropagation();else if(Sy(l,a),t&4&&-1<er.indexOf(l)){for(;u!==null;){var n=Ie(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=je(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-ut(i);c.entanglements[1]|=f,i&=~f}Nt(n),(el&6)===0&&(xn=et()+500,gu(0))}}break;case 31:case 13:c=qe(n,2),c!==null&&lt(c,n,2),Mn(),of(n,2)}if(n=df(a),n===null&&kc(l,t,a,Vn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else kc(l,t,a,null,e)}}function df(l){return l=yi(l),yf(l)}var Vn=null;function yf(l){if(Vn=null,l=Fe(l),l!==null){var t=O(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=U(t),l!==null)return l;l=null}else if(e===31){if(l=I(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 Vn=l,null}function gy(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(Qy()){case Ef:return 2;case Af:return 8;case Hu:case Ly:return 32;case xf:return 268435456;default:return 32}default:return 32}}var mf=!1,Te=null,_e=null,Ee=null,Eu=new Map,Au=new Map,Ae=[],er="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 Sy(l,t){switch(l){case"focusin":case"focusout":Te=null;break;case"dragenter":case"dragleave":_e=null;break;case"mouseover":case"mouseout":Ee=null;break;case"pointerover":case"pointerout":Eu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Au.delete(t.pointerId)}}function xu(l,t,e,a,u,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},t!==null&&(t=Ie(t),t!==null&&vy(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function ar(l,t,e,a,u){switch(t){case"focusin":return Te=xu(Te,l,t,e,a,u),!0;case"dragenter":return _e=xu(_e,l,t,e,a,u),!0;case"mouseover":return Ee=xu(Ee,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return Eu.set(n,xu(Eu.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,Au.set(n,xu(Au.get(n)||null,l,t,e,a,u)),!0}return!1}function by(l){var t=Fe(l.target);if(t!==null){var e=O(t);if(e!==null){if(t=e.tag,t===13){if(t=U(e),t!==null){l.blockedOn=t,Hf(l.priority,function(){hy(e)});return}}else if(t===31){if(t=I(e),t!==null){l.blockedOn=t,Hf(l.priority,function(){hy(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 Kn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=df(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);di=a,e.target.dispatchEvent(a),di=null}else return t=Ie(e),t!==null&&vy(t),l.blockedOn=e,!1;t.shift()}return!0}function py(l,t,e){Kn(l)&&e.delete(t)}function ur(){mf=!1,Te!==null&&Kn(Te)&&(Te=null),_e!==null&&Kn(_e)&&(_e=null),Ee!==null&&Kn(Ee)&&(Ee=null),Eu.forEach(py),Au.forEach(py)}function Jn(l,t){l.blockedOn===t&&(l.blockedOn=null,mf||(mf=!0,S.unstable_scheduleCallback(S.unstable_NormalPriority,ur)))}var wn=null;function zy(l){wn!==l&&(wn=l,S.unstable_scheduleCallback(S.unstable_NormalPriority,function(){wn===l&&(wn=null);for(var t=0;t<l.length;t+=3){var e=l[t],a=l[t+1],u=l[t+2];if(typeof a!="function"){if(yf(a||e)===null)continue;break}var n=Ie(e);n!==null&&(l.splice(t,3),t-=3,sc(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Na(l){function t(f){return Jn(f,l)}Te!==null&&Jn(Te,l),_e!==null&&Jn(_e,l),Ee!==null&&Jn(Ee,l),Eu.forEach(t),Au.forEach(t);for(var e=0;e<Ae.length;e++){var a=Ae[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Ae.length&&(e=Ae[0],e.blockedOn===null);)by(e),e.blockedOn===null&&Ae.shift();if(e=(l.ownerDocument||l).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],i=u[Wl]||null;if(typeof n=="function")i||zy(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[Wl]||null)c=i.formAction;else if(yf(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),zy(e)}}}function Ty(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),a||setTimeout(e,20)}function e(){if(!a&&!navigation.transition){var n=navigation.currentEntry;n&&n.url!=null&&navigation.navigate(n.url,{state:n.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,u=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),u!==null&&(u(),u=null)}}}function rf(l){this._internalRoot=l}Wn.prototype.render=rf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(y(409));var e=t.current,a=dt();my(e,a,l,t,null,null)},Wn.prototype.unmount=rf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;my(l.current,2,null,l,null,null),Mn(),t[$e]=null}};function Wn(l){this._internalRoot=l}Wn.prototype.unstable_scheduleHydration=function(l){if(l){var t=jf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Ae.length&&t!==0&&t<Ae[e].priority;e++);Ae.splice(e,0,l),e===0&&by(l)}};var _y=T.version;if(_y!=="19.2.4")throw Error(y(527,_y,"19.2.4"));D.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(y(188)):(l=Object.keys(l).join(","),Error(y(268,l)));return l=E(t),l=l!==null?w(l):null,l=l===null?null:l.stateNode,l};var nr={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var kn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kn.isDisabled&&kn.supportsFiber)try{Ca=kn.inject(nr),at=kn}catch{}}return Mu.createRoot=function(l,t){if(!x(l))throw Error(y(299));var e=!1,a="",u=Us,n=js,i=Hs;return t!=null&&(t.unstable_strictMode===!0&&(e=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=dy(l,1,!1,null,null,e,a,null,u,n,i,Ty),l[$e]=t.current,Wc(l),new rf(t)},Mu.hydrateRoot=function(l,t,e){if(!x(l))throw Error(y(299));var a=!1,u="",n=Us,i=js,c=Hs,f=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),t=dy(l,1,!0,t,e??null,a,u,f,n,i,c,Ty),t.context=yy(null),e=t.current,a=dt(),a=ai(a),u=se(a),u.callback=null,de(e,u,a),e=a,t.current.lanes=e,Ba(t,e),Nt(t),l[$e]=t.current,Wc(l),new Wn(t)},Mu.version="19.2.4",Mu}var Ny;function vr(){if(Ny)return hf.exports;Ny=1;function S(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(S)}catch(T){console.error(T)}}return S(),hf.exports=rr(),hf.exports}var hr=vr();function gr(S){const T=S.attributes,M=T["yuu.cost.amount"];return M==null?null:{category:T["yuu.cost.category"]??"llm",currency:T["yuu.cost.currency"]??"USD",amount:Number(M),source:T["yuu.cost.source"],pricingId:T["yuu.cost.pricing_id"],llmProvider:T["yuu.llm.provider"],llmModel:T["yuu.llm.model"],llmRequestId:T["yuu.llm.request_id"],toolName:T["yuu.tool.name"],toolCallId:T["yuu.tool.call_id"]}}function Sr(S){const T=S.attributes,M=T["yuu.llm.provider"];return M==null?null:{provider:String(M),model:String(T["yuu.llm.model"]??""),requestId:T["yuu.llm.request_id"],inputTokens:Number(T["yuu.llm.usage.input_tokens"]??0),outputTokens:Number(T["yuu.llm.usage.output_tokens"]??0),cacheReadTokens:Number(T["yuu.llm.usage.cache_read_tokens"]??0),cacheWriteTokens:Number(T["yuu.llm.usage.cache_write_tokens"]??0),totalTokens:T["yuu.llm.usage.total_tokens"]!=null?Number(T["yuu.llm.usage.total_tokens"]):void 0}}function br(S){const T=S.attributes,M=T["yuu.tool.name"];return M==null?null:{name:String(M),callId:T["yuu.tool.call_id"],unit:String(T["yuu.tool.usage.unit"]??""),quantity:Number(T["yuu.tool.usage.quantity"]??0)}}function Cy(S){return S.events.filter(T=>T.name==="yuu.cost").map(gr).filter(T=>T!==null)}function qy(S){return S.events.filter(T=>T.name==="yuu.llm.usage").map(Sr).filter(T=>T!==null)}function By(S){return S.events.filter(T=>T.name==="yuu.tool.usage").map(br).filter(T=>T!==null)}function pr(S){const T=[],M=[],y=[];for(const x of S)T.push(...Cy(x)),M.push(...qy(x)),y.push(...By(x));return{costs:T,usages:M,toolUsages:y}}function zr(S){return S>=1e3?`${(S/1e3).toFixed(1)}k`:String(S)}function Tr({span:S,usage:T,cost:M}){const y=(S.end_time_unix_nano-S.start_time_unix_nano)/1e6,x=S.attributes["yuu.llm_gen.items"];let O=[];if(typeof x=="string")try{O=JSON.parse(x)}catch(U){console.error("Failed to parse llm_gen.items:",U)}return v.jsxs("div",{style:hl.card,children:[v.jsxs("div",{style:hl.header,children:[v.jsxs("div",{style:hl.headerLeft,children:[v.jsx("span",{style:hl.icon,children:"🤖"}),v.jsx("span",{style:hl.name,children:S.name})]}),v.jsxs("div",{style:hl.headerRight,children:[M&&v.jsxs("span",{style:hl.cost,children:["$",M.amount.toFixed(4)]}),v.jsxs("span",{style:hl.duration,children:[y.toFixed(0),"ms"]})]})]}),T&&v.jsxs("div",{style:hl.body,children:[v.jsxs("div",{style:hl.modelLine,children:[v.jsx("span",{style:hl.provider,children:T.provider}),v.jsx("span",{style:hl.model,children:T.model})]}),v.jsxs("div",{style:hl.tokens,children:[v.jsx(Du,{label:"in",value:T.inputTokens,color:"#58a6ff"}),v.jsx(Du,{label:"out",value:T.outputTokens,color:"#d2a8ff"}),T.cacheReadTokens>0&&v.jsx(Du,{label:"cache↓",value:T.cacheReadTokens,color:"#3fb950"}),T.cacheWriteTokens>0&&v.jsx(Du,{label:"cache↑",value:T.cacheWriteTokens,color:"#f0883e"}),T.totalTokens!=null&&v.jsx(Du,{label:"total",value:T.totalTokens,color:"#8b949e"})]}),T.requestId&&v.jsxs("div",{style:hl.requestId,children:["req: ",T.requestId]})]}),O.length>0&&v.jsx("div",{style:hl.content,children:O.map((U,I)=>{var j;return v.jsxs("div",{style:hl.contentItem,children:[U.type==="text"&&v.jsx("div",{style:hl.textContent,children:U.text}),U.type==="tool_calls"&&v.jsxs("div",{style:hl.toolCalls,children:[v.jsx("div",{style:hl.toolCallsHeader,children:"🔧 Tool Calls:"}),(j=U.tool_calls)==null?void 0:j.map((E,w)=>v.jsxs("div",{style:hl.toolCall,children:[v.jsx("span",{style:hl.toolCallName,children:E.function}),v.jsx("span",{style:hl.toolCallArgs,children:JSON.stringify(E.arguments)})]},w))]})]},I)})}),S.status_code===2&&v.jsx("div",{style:hl.error,children:"⚠ Error"})]})}function Du({label:S,value:T,color:M}){return v.jsxs("span",{style:{...hl.badge,borderColor:M},children:[v.jsx("span",{style:{color:"#8b949e",fontSize:10},children:S})," ",v.jsx("span",{style:{color:M,fontWeight:600},children:zr(T)})]})}const hl={card:{background:"#161b22",border:"1px solid #1f3a5f",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #58a6ff"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8},headerLeft:{display:"flex",alignItems:"center",gap:6},headerRight:{display:"flex",alignItems:"center",gap:10},icon:{fontSize:16},name:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:13,color:"#3fb950",fontFamily:"monospace",fontWeight:600},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},body:{display:"flex",flexDirection:"column",gap:6},modelLine:{display:"flex",gap:8,alignItems:"center"},provider:{fontSize:12,color:"#8b949e"},model:{fontSize:12,color:"#d2a8ff",background:"#21262d",padding:"1px 6px",borderRadius:4,fontFamily:"monospace"},tokens:{display:"flex",gap:6,flexWrap:"wrap"},badge:{display:"inline-flex",gap:4,alignItems:"center",fontSize:12,fontFamily:"monospace",padding:"2px 8px",borderRadius:4,border:"1px solid",background:"#0d1117"},requestId:{fontSize:11,color:"#6e7681",fontFamily:"monospace"},content:{marginTop:8,paddingTop:8,borderTop:"1px solid #21262d"},contentItem:{marginBottom:6},textContent:{fontSize:13,color:"#c9d1d9",lineHeight:1.5,whiteSpace:"pre-wrap",wordBreak:"break-word"},toolCalls:{fontSize:12,color:"#8b949e"},toolCallsHeader:{fontWeight:600,marginBottom:4,color:"#3fb950"},toolCall:{display:"flex",flexDirection:"column",gap:2,marginLeft:12,marginBottom:4,padding:"4px 8px",background:"#0d1117",borderRadius:4,borderLeft:"2px solid #3fb950"},toolCallName:{fontWeight:600,color:"#58a6ff",fontFamily:"monospace"},toolCallArgs:{fontSize:11,color:"#8b949e",fontFamily:"monospace",wordBreak:"break-all"},error:{marginTop:6,fontSize:12,color:"#f85149",fontWeight:600}};function _r({span:S,usage:T,cost:M}){const y=(S.end_time_unix_nano-S.start_time_unix_nano)/1e6,x=(T==null?void 0:T.name)??S.attributes["yuu.tool.name"]??S.name,O=S.attributes["yuu.tool.output"],U=S.attributes["yuu.tool.input"],I=U!=null?typeof U=="string"?U:JSON.stringify(U,null,2):void 0,j=O!=null?typeof O=="string"?O:JSON.stringify(O,null,2):void 0;return v.jsxs("div",{style:Rl.card,children:[v.jsxs("div",{style:Rl.header,children:[v.jsxs("div",{style:Rl.headerLeft,children:[v.jsx("span",{style:Rl.icon,children:"🔧"}),v.jsx("span",{style:Rl.name,children:x})]}),v.jsxs("div",{style:Rl.headerRight,children:[M&&v.jsxs("span",{style:Rl.cost,children:["$",M.amount.toFixed(4)]}),v.jsxs("span",{style:Rl.duration,children:[y.toFixed(0),"ms"]})]})]}),T&&v.jsx("div",{style:Rl.body,children:v.jsxs("span",{style:Rl.usageLine,children:[T.quantity," ",T.unit]})}),I&&v.jsxs("div",{style:Rl.ioSection,children:[v.jsx("div",{style:Rl.ioLabel,children:"Input:"}),v.jsx("div",{style:Rl.ioContent,children:I})]}),j&&v.jsxs("div",{style:Rl.ioSection,children:[v.jsx("div",{style:Rl.ioLabel,children:"Output:"}),v.jsx("div",{style:Rl.ioContent,children:j})]}),S.status_code===2&&v.jsx("div",{style:Rl.error,children:"⚠ Error"})]})}const Rl={card:{background:"#161b22",border:"1px solid #2d4a2d",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #3fb950"},header:{display:"flex",justifyContent:"space-between",alignItems:"center"},headerLeft:{display:"flex",alignItems:"center",gap:6},headerRight:{display:"flex",alignItems:"center",gap:10},icon:{fontSize:16},name:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:13,color:"#3fb950",fontFamily:"monospace",fontWeight:600},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},body:{marginTop:6},usageLine:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},ioSection:{marginTop:8,paddingTop:8,borderTop:"1px solid #21262d"},ioLabel:{fontSize:11,fontWeight:600,color:"#8b949e",marginBottom:4,textTransform:"uppercase"},ioContent:{fontSize:12,color:"#c9d1d9",fontFamily:"monospace",background:"#0d1117",padding:"6px 8px",borderRadius:4,whiteSpace:"pre-wrap",wordBreak:"break-word",maxHeight:"200px",overflowY:"auto"},error:{marginTop:6,fontSize:12,color:"#f85149",fontWeight:600}};function Er({spans:S}){const T=[...S].sort((M,y)=>M.start_time_unix_nano-y.start_time_unix_nano);return v.jsx("div",{style:Yl.container,children:T.map(M=>{const y=Cy(M),x=M.name==="llm_gen"||M.name.startsWith("llm"),O=M.name==="tools"||M.name.startsWith("tool:");if(x){const U=qy(M),I=y.find(j=>j.category==="llm");return v.jsx(Tr,{span:M,usage:U[0],cost:I},M.span_id)}if(O){const U=By(M),I=y.find(j=>j.category==="tool");return v.jsx(_r,{span:M,usage:U[0],cost:I},M.span_id)}return v.jsx(Ar,{span:M,costs:y},M.span_id)})})}function Ar({span:S,costs:T}){const M=T.reduce((j,E)=>j+E.amount,0),y=(S.end_time_unix_nano-S.start_time_unix_nano)/1e6,x=S.attributes["yuu.context.system.persona"],O=S.attributes["yuu.context.system.tools"],U=S.attributes["yuu.context.user.content"],I=x||O||U;return v.jsxs("div",{style:Yl.card,children:[v.jsxs("div",{style:Yl.cardHeader,children:[v.jsx("span",{style:Yl.spanName,children:S.name}),v.jsxs("span",{style:Yl.duration,children:[y.toFixed(0),"ms"]})]}),I&&v.jsxs("div",{style:Yl.contextSection,children:[x&&v.jsxs("div",{style:Yl.contextBlock,children:[v.jsx("div",{style:Yl.contextLabel,children:"System"}),v.jsx("div",{style:Yl.contextContent,children:x})]}),O&&v.jsxs("div",{style:Yl.contextBlock,children:[v.jsx("div",{style:Yl.contextLabel,children:"Tools"}),v.jsx("pre",{style:Yl.contextPre,children:O})]}),U&&v.jsxs("div",{style:Yl.contextBlock,children:[v.jsx("div",{style:Yl.contextLabel,children:"User"}),v.jsx("div",{style:Yl.contextContent,children:U})]})]}),M>0&&v.jsxs("div",{style:Yl.costLine,children:["Total: $",M.toFixed(4)]})]})}const Yl={container:{display:"flex",flexDirection:"column",gap:8,padding:16},card:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:"12px 16px"},cardHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},spanName:{fontWeight:600,fontSize:14,color:"#e1e4e8"},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},costLine:{marginTop:4,fontSize:12,color:"#3fb950",fontFamily:"monospace"},contextSection:{marginTop:12,paddingTop:12,borderTop:"1px solid #2d333b",display:"flex",flexDirection:"column",gap:12},contextBlock:{display:"flex",flexDirection:"column",gap:4},contextLabel:{fontSize:11,fontWeight:600,color:"#8b949e",textTransform:"uppercase",letterSpacing:"0.5px"},contextContent:{fontSize:13,color:"#c9d1d9",lineHeight:1.5,whiteSpace:"pre-wrap",wordBreak:"break-word"},contextPre:{fontSize:11,color:"#8b949e",background:"#0d1117",padding:8,borderRadius:4,overflow:"auto",maxHeight:200,margin:0}};var Me=zf();function xr(S){return new Date(S/1e6).toLocaleString()}function Or(S){return`$${S.toFixed(4)}`}function Mr({conversations:S,selectedId:T,onSelect:M}){const[y,x]=Me.useState(""),O=S.filter(U=>{const I=y.toLowerCase();return U.agent.toLowerCase().includes(I)||U.id.toLowerCase().includes(I)||(U.model??"").toLowerCase().includes(I)});return v.jsxs("div",{style:Zl.container,children:[v.jsxs("div",{style:Zl.header,children:[v.jsx("h2",{style:Zl.title,children:"Conversations"}),v.jsx("input",{type:"text",placeholder:"Search...",value:y,onChange:U=>x(U.target.value),style:Zl.search})]}),v.jsxs("div",{style:Zl.list,children:[O.length===0&&v.jsx("div",{style:Zl.empty,children:"No conversations found"}),O.map(U=>v.jsxs("div",{onClick:()=>M==null?void 0:M(U.id),style:{...Zl.item,...U.id===T?Zl.itemSelected:{}},children:[v.jsxs("div",{style:Zl.itemHeader,children:[v.jsx("span",{style:Zl.agent,children:U.agent}),v.jsx("span",{style:Zl.cost,children:Or(U.total_cost)})]}),v.jsxs("div",{style:Zl.itemMeta,children:[U.model&&v.jsx("span",{style:Zl.model,children:U.model}),v.jsxs("span",{style:Zl.spanCount,children:[U.span_count," spans"]})]}),v.jsx("div",{style:Zl.time,children:xr(U.start_time)})]},U.id))]})]})}const Zl={container:{display:"flex",flexDirection:"column",height:"100%",borderRight:"1px solid #2d333b",background:"#161b22",minWidth:280},header:{padding:"16px",borderBottom:"1px solid #2d333b"},title:{fontSize:16,fontWeight:600,marginBottom:8,color:"#e1e4e8"},search:{width:"100%",padding:"6px 10px",borderRadius:6,border:"1px solid #3d444d",background:"#0d1117",color:"#e1e4e8",fontSize:13,outline:"none"},list:{flex:1,overflowY:"auto"},empty:{padding:16,color:"#8b949e",textAlign:"center",fontSize:13},item:{padding:"10px 16px",borderBottom:"1px solid #21262d",cursor:"pointer",transition:"background 0.15s"},itemSelected:{background:"#1f2937",borderLeft:"3px solid #58a6ff"},itemHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:4},agent:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:12,color:"#3fb950",fontFamily:"monospace"},itemMeta:{display:"flex",gap:8,marginBottom:2},model:{fontSize:12,color:"#8b949e",background:"#21262d",padding:"1px 6px",borderRadius:4},spanCount:{fontSize:12,color:"#8b949e"},time:{fontSize:11,color:"#6e7681"}};function Dr({costs:S}){if(S.length===0)return v.jsxs("div",{style:Bl.container,children:[v.jsx("h3",{style:Bl.title,children:"Cost"}),v.jsx("div",{style:Bl.empty,children:"No cost data"})]});const T=S.reduce((x,O)=>x+O.amount,0),M=new Map;for(const x of S)M.set(x.category,(M.get(x.category)??0)+x.amount);const y=new Map;for(const x of S)x.category==="llm"&&x.llmModel&&y.set(x.llmModel,(y.get(x.llmModel)??0)+x.amount);return v.jsxs("div",{style:Bl.container,children:[v.jsx("h3",{style:Bl.title,children:"Cost"}),v.jsxs("div",{style:Bl.total,children:[v.jsx("span",{children:"Total"}),v.jsxs("span",{style:Bl.amount,children:["$",T.toFixed(4)]})]}),v.jsx("div",{style:Bl.divider}),Array.from(M.entries()).map(([x,O])=>v.jsxs("div",{style:Bl.row,children:[v.jsx("span",{style:Bl.label,children:x==="llm"?"🤖 LLM":"🔧 Tool"}),v.jsxs("span",{style:Bl.value,children:["$",O.toFixed(4)]})]},x)),y.size>0&&v.jsxs(v.Fragment,{children:[v.jsx("div",{style:Bl.divider}),v.jsx("div",{style:Bl.sectionTitle,children:"By Model"}),Array.from(y.entries()).map(([x,O])=>v.jsxs("div",{style:Bl.row,children:[v.jsx("span",{style:Bl.modelLabel,children:x}),v.jsxs("span",{style:Bl.value,children:["$",O.toFixed(4)]})]},x))]})]})}const Bl={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},empty:{fontSize:13,color:"#8b949e"},total:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:14,color:"#e1e4e8",fontWeight:600},amount:{color:"#3fb950",fontFamily:"monospace",fontSize:16},divider:{height:1,background:"#2d333b",margin:"10px 0"},row:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"3px 0"},label:{fontSize:13,color:"#e1e4e8"},value:{fontSize:13,color:"#3fb950",fontFamily:"monospace"},sectionTitle:{fontSize:12,color:"#8b949e",fontWeight:600,marginBottom:4},modelLabel:{fontSize:12,color:"#d2a8ff",fontFamily:"monospace"}};function Ur({spans:S}){if(S.length===0)return null;const T=Math.min(...S.map(O=>O.start_time_unix_nano)),y=Math.max(...S.map(O=>O.end_time_unix_nano))-T||1,x=[...S].sort((O,U)=>O.start_time_unix_nano-U.start_time_unix_nano);return v.jsxs("div",{style:Oe.container,children:[v.jsx("h3",{style:Oe.title,children:"Timeline"}),v.jsx("div",{style:Oe.chart,children:x.map(O=>{const U=(O.start_time_unix_nano-T)/y*100,I=(O.end_time_unix_nano-O.start_time_unix_nano)/y*100,j=(O.end_time_unix_nano-O.start_time_unix_nano)/1e6,E=O.name==="llm_gen"||O.name.startsWith("llm"),w=O.name==="tools"||O.name.startsWith("tool:"),q=E?"#58a6ff":w?"#3fb950":"#8b949e";return v.jsxs("div",{style:Oe.row,children:[v.jsx("div",{style:Oe.label,title:O.name,children:O.name}),v.jsx("div",{style:Oe.track,children:v.jsx("div",{style:{...Oe.bar,left:`${U}%`,width:`${Math.max(I,.5)}%`,background:q},title:`${j.toFixed(0)}ms`})}),v.jsxs("div",{style:Oe.duration,children:[j.toFixed(0),"ms"]})]},O.span_id)})})]})}const Oe={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},chart:{display:"flex",flexDirection:"column",gap:4},row:{display:"flex",alignItems:"center",gap:8,height:24},label:{width:100,fontSize:12,color:"#8b949e",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexShrink:0},track:{flex:1,position:"relative",height:16,background:"#0d1117",borderRadius:3},bar:{position:"absolute",top:0,height:"100%",borderRadius:3,minWidth:2,opacity:.85},duration:{width:60,fontSize:11,color:"#6e7681",fontFamily:"monospace",textAlign:"right",flexShrink:0}};function Uu(S){return S>=1e6?`${(S/1e6).toFixed(2)}M`:S>=1e3?`${(S/1e3).toFixed(1)}k`:String(S)}function jr({usages:S}){if(S.length===0)return v.jsxs("div",{style:rl.container,children:[v.jsx("h3",{style:rl.title,children:"Usage"}),v.jsx("div",{style:rl.empty,children:"No usage data"})]});const T=new Map;for(const x of S){const O=`${x.provider}/${x.model}`,U=T.get(O);U?(U.inputTokens+=x.inputTokens,U.outputTokens+=x.outputTokens,U.cacheReadTokens+=x.cacheReadTokens,U.cacheWriteTokens+=x.cacheWriteTokens,U.requests+=1):T.set(O,{model:x.model,provider:x.provider,inputTokens:x.inputTokens,outputTokens:x.outputTokens,cacheReadTokens:x.cacheReadTokens,cacheWriteTokens:x.cacheWriteTokens,requests:1})}const M=S.reduce((x,O)=>x+O.inputTokens,0),y=S.reduce((x,O)=>x+O.outputTokens,0);return v.jsxs("div",{style:rl.container,children:[v.jsx("h3",{style:rl.title,children:"Usage"}),v.jsxs("div",{style:rl.totalRow,children:[v.jsxs("div",{style:rl.totalItem,children:[v.jsx("span",{style:rl.totalLabel,children:"Input"}),v.jsx("span",{style:rl.totalValue,children:Uu(M)})]}),v.jsxs("div",{style:rl.totalItem,children:[v.jsx("span",{style:rl.totalLabel,children:"Output"}),v.jsx("span",{style:rl.totalValue,children:Uu(y)})]}),v.jsxs("div",{style:rl.totalItem,children:[v.jsx("span",{style:rl.totalLabel,children:"Requests"}),v.jsx("span",{style:rl.totalValue,children:S.length})]})]}),v.jsx("div",{style:rl.divider}),Array.from(T.values()).map(x=>v.jsxs("div",{style:rl.modelBlock,children:[v.jsxs("div",{style:rl.modelHeader,children:[v.jsx("span",{style:rl.modelName,children:x.model}),v.jsx("span",{style:rl.provider,children:x.provider})]}),v.jsxs("div",{style:rl.tokenRow,children:[v.jsxs("span",{style:rl.tokenLabel,children:["in: ",v.jsx("b",{children:Uu(x.inputTokens)})]}),v.jsxs("span",{style:rl.tokenLabel,children:["out: ",v.jsx("b",{children:Uu(x.outputTokens)})]}),x.cacheReadTokens>0&&v.jsxs("span",{style:rl.tokenLabel,children:["cache↓: ",v.jsx("b",{children:Uu(x.cacheReadTokens)})]}),v.jsxs("span",{style:rl.tokenLabel,children:["×",x.requests]})]})]},`${x.provider}/${x.model}`))]})}const rl={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},empty:{fontSize:13,color:"#8b949e"},totalRow:{display:"flex",gap:16},totalItem:{display:"flex",flexDirection:"column",gap:2},totalLabel:{fontSize:11,color:"#8b949e",textTransform:"uppercase",letterSpacing:"0.5px"},totalValue:{fontSize:16,fontWeight:600,color:"#e1e4e8",fontFamily:"monospace"},divider:{height:1,background:"#2d333b",margin:"12px 0"},modelBlock:{marginBottom:10},modelHeader:{display:"flex",gap:8,alignItems:"center",marginBottom:4},modelName:{fontSize:13,color:"#d2a8ff",fontFamily:"monospace",fontWeight:600},provider:{fontSize:11,color:"#8b949e"},tokenRow:{display:"flex",gap:10,flexWrap:"wrap"},tokenLabel:{fontSize:12,color:"#8b949e",fontFamily:"monospace"}};function Hr(S=""){const[T,M]=Me.useState([]),[y,x]=Me.useState(null),[O,U]=Me.useState(!1),[I,j]=Me.useState(null),E=Me.useCallback(async()=>{U(!0),j(null);try{const q=await fetch(`${S}/api/conversations`);if(!q.ok)throw new Error(`HTTP ${q.status}`);const P=await q.json();M(P.conversations??[])}catch(q){j(q instanceof Error?q.message:String(q))}finally{U(!1)}},[S]),w=Me.useCallback(async q=>{U(!0),j(null);try{const P=await fetch(`${S}/api/conversations/${q}`);if(!P.ok)throw new Error(`HTTP ${P.status}`);const Gl=await P.json();x(Gl)}catch(P){j(P instanceof Error?P.message:String(P))}finally{U(!1)}},[S]);return Me.useEffect(()=>{E()},[E]),{conversations:T,selectedConversation:y,loading:O,error:I,selectConversation:w,refresh:E}}function Nr(){const{conversations:S,selectedConversation:T,loading:M,error:y,selectConversation:x}=Hr(),O=T?pr(T.spans):null;return v.jsxs("div",{style:Rt.layout,children:[v.jsx("div",{style:Rt.sidebar,children:v.jsx(Mr,{conversations:S,selectedId:T==null?void 0:T.id,onSelect:x})}),v.jsxs("div",{style:Rt.center,children:[M&&v.jsx("div",{style:Rt.status,children:"Loading..."}),y&&v.jsxs("div",{style:Rt.error,children:["Error: ",y]}),!T&&!M&&v.jsx("div",{style:Rt.placeholder,children:"Select a conversation to view traces"}),T&&v.jsxs(v.Fragment,{children:[v.jsxs("div",{style:Rt.header,children:[v.jsx("h2",{style:Rt.title,children:T.agent}),T.model&&v.jsx("span",{style:Rt.model,children:T.model})]}),v.jsx(Ur,{spans:T.spans}),v.jsx(Er,{spans:T.spans})]})]}),v.jsx("div",{style:Rt.rightSidebar,children:O&&v.jsxs(v.Fragment,{children:[v.jsx(Dr,{costs:O.costs}),v.jsx("div",{style:{height:12}}),v.jsx(jr,{usages:O.usages})]})})]})}const Rt={layout:{display:"flex",height:"100vh",overflow:"hidden"},sidebar:{width:300,flexShrink:0,overflow:"hidden"},center:{flex:1,overflowY:"auto",padding:16,display:"flex",flexDirection:"column",gap:12},rightSidebar:{width:280,flexShrink:0,overflowY:"auto",padding:16,borderLeft:"1px solid #2d333b"},status:{color:"#8b949e",textAlign:"center",padding:40},error:{color:"#f85149",textAlign:"center",padding:40},placeholder:{color:"#6e7681",textAlign:"center",padding:80,fontSize:15},header:{display:"flex",alignItems:"center",gap:10,paddingBottom:8,borderBottom:"1px solid #2d333b"},title:{fontSize:18,fontWeight:600,color:"#e1e4e8"},model:{fontSize:13,color:"#d2a8ff",background:"#21262d",padding:"2px 8px",borderRadius:4,fontFamily:"monospace"}},Ry=document.getElementById("root");Ry&&hr.createRoot(Ry).render(v.jsx(Nr,{}));
