const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/OverviewPage-vgewJiV1.js","assets/react-vendor-CjpoAPrF.js","assets/Badge-DcwOuuF4.js","assets/ChartWrapper-7BPAgK6F.js","assets/echarts-vendor-DOu6vfXz.js","assets/DataTable-DwExK2c6.js","assets/format-flB0hImb.js","assets/Pager-FJRhLwfC.js","assets/foreshadowing-BP4NrzVI.js","assets/story-lVhSS0ka.js","assets/CharactersPage-n6sZAtwm.js","assets/PacingPage-Dsdrtxb_.js","assets/ForeshadowingPage-BeSmFV1Z.js","assets/FilesPage-Czd1SC2y.js","assets/SystemPage-CRCMgVw-.js"])))=>i.map(i=>d[i]);
import{r as Ly,a as ry,g as Ky,b as Yl,N as Jy,O as wy,u as Wy,R as $y,B as Fy,c as ky,d as va,e as Iy}from"./react-vendor-CjpoAPrF.js";(function(){const k=document.createElement("link").relList;if(k&&k.supports&&k.supports("modulepreload"))return;for(const _ of document.querySelectorAll('link[rel="modulepreload"]'))S(_);new MutationObserver(_=>{for(const j of _)if(j.type==="childList")for(const ul of j.addedNodes)ul.tagName==="LINK"&&ul.rel==="modulepreload"&&S(ul)}).observe(document,{childList:!0,subtree:!0});function Z(_){const j={};return _.integrity&&(j.integrity=_.integrity),_.referrerPolicy&&(j.referrerPolicy=_.referrerPolicy),_.crossOrigin==="use-credentials"?j.credentials="include":_.crossOrigin==="anonymous"?j.credentials="omit":j.credentials="same-origin",j}function S(_){if(_.ep)return;_.ep=!0;const j=Z(_);fetch(_.href,j)}})();const Py="modulepreload",ld=function(T){return"/"+T},y1={},Au=function(k,Z,S){let _=Promise.resolve();if(Z&&Z.length>0){let ul=function(L){return Promise.all(L.map(Ol=>Promise.resolve(Ol).then(N=>({status:"fulfilled",value:N}),N=>({status:"rejected",reason:N}))))};document.getElementsByTagName("link");const I=document.querySelector("meta[property=csp-nonce]"),Sl=(I==null?void 0:I.nonce)||(I==null?void 0:I.getAttribute("nonce"));_=ul(Z.map(L=>{if(L=ld(L),L in y1)return;y1[L]=!0;const Ol=L.endsWith(".css"),N=Ol?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${L}"]${N}`))return;const $=document.createElement("link");if($.rel=Ol?"stylesheet":Py,Ol||($.as="script"),$.crossOrigin="",$.href=L,Sl&&$.setAttribute("nonce",Sl),document.head.appendChild($),Ol)return new Promise((vt,Rl)=>{$.addEventListener("load",vt),$.addEventListener("error",()=>Rl(new Error(`Unable to preload CSS for ${L}`)))})}))}function j(ul){const I=new Event("vite:preloadError",{cancelable:!0});if(I.payload=ul,window.dispatchEvent(I),!I.defaultPrevented)throw ul}return _.then(ul=>{for(const I of ul||[])I.status==="rejected"&&j(I.reason);return k().catch(j)})};var ci={exports:{}},ge={};/**
 * @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 d1;function td(){if(d1)return ge;d1=1;var T=Symbol.for("react.transitional.element"),k=Symbol.for("react.fragment");function Z(S,_,j){var ul=null;if(j!==void 0&&(ul=""+j),_.key!==void 0&&(ul=""+_.key),"key"in _){j={};for(var I in _)I!=="key"&&(j[I]=_[I])}else j=_;return _=j.ref,{$$typeof:T,type:S,key:ul,ref:_!==void 0?_:null,props:j}}return ge.Fragment=k,ge.jsx=Z,ge.jsxs=Z,ge}var m1;function ad(){return m1||(m1=1,ci.exports=td()),ci.exports}var A=ad(),ii={exports:{}},oe={},hi={exports:{}},vi={};/**
 * @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 S1;function ud(){return S1||(S1=1,(function(T){function k(b,E){var H=b.length;b.push(E);l:for(;0<H;){var P=H-1>>>1,ll=b[P];if(0<_(ll,E))b[P]=E,b[H]=ll,H=P;else break l}}function Z(b){return b.length===0?null:b[0]}function S(b){if(b.length===0)return null;var E=b[0],H=b.pop();if(H!==E){b[0]=H;l:for(var P=0,ll=b.length,Dl=ll>>>1;P<Dl;){var nl=2*(P+1)-1,V=b[nl],gl=nl+1,yt=b[gl];if(0>_(V,H))gl<ll&&0>_(yt,V)?(b[P]=yt,b[gl]=H,P=gl):(b[P]=V,b[nl]=H,P=nl);else if(gl<ll&&0>_(yt,H))b[P]=yt,b[gl]=H,P=gl;else break l}}return E}function _(b,E){var H=b.sortIndex-E.sortIndex;return H!==0?H:b.id-E.id}if(T.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var j=performance;T.unstable_now=function(){return j.now()}}else{var ul=Date,I=ul.now();T.unstable_now=function(){return ul.now()-I}}var Sl=[],L=[],Ol=1,N=null,$=3,vt=!1,Rl=!1,wl=!1,qa=!1,xa=typeof setTimeout=="function"?setTimeout:null,Eu=typeof clearTimeout=="function"?clearTimeout:null,Wl=typeof setImmediate<"u"?setImmediate:null;function Ct(b){for(var E=Z(L);E!==null;){if(E.callback===null)S(L);else if(E.startTime<=b)S(L),E.sortIndex=E.expirationTime,k(Sl,E);else break;E=Z(L)}}function ya(b){if(wl=!1,Ct(b),!Rl)if(Z(Sl)!==null)Rl=!0,st||(st=!0,$l());else{var E=Z(L);E!==null&&bt(ya,E.startTime-b)}}var st=!1,ot=-1,ft=5,Ya=-1;function be(){return qa?!0:!(T.unstable_now()-Ya<ft)}function pa(){if(qa=!1,st){var b=T.unstable_now();Ya=b;var E=!0;try{l:{Rl=!1,wl&&(wl=!1,Eu(ot),ot=-1),vt=!0;var H=$;try{t:{for(Ct(b),N=Z(Sl);N!==null&&!(N.expirationTime>b&&be());){var P=N.callback;if(typeof P=="function"){N.callback=null,$=N.priorityLevel;var ll=P(N.expirationTime<=b);if(b=T.unstable_now(),typeof ll=="function"){N.callback=ll,Ct(b),E=!0;break t}N===Z(Sl)&&S(Sl),Ct(b)}else S(Sl);N=Z(Sl)}if(N!==null)E=!0;else{var Dl=Z(L);Dl!==null&&bt(ya,Dl.startTime-b),E=!1}}break l}finally{N=null,$=H,vt=!1}E=void 0}}finally{E?$l():st=!1}}}var $l;if(typeof Wl=="function")$l=function(){Wl(pa)};else if(typeof MessageChannel<"u"){var ze=new MessageChannel,Mu=ze.port2;ze.port1.onmessage=pa,$l=function(){Mu.postMessage(null)}}else $l=function(){xa(pa,0)};function bt(b,E){ot=xa(function(){b(T.unstable_now())},E)}T.unstable_IdlePriority=5,T.unstable_ImmediatePriority=1,T.unstable_LowPriority=4,T.unstable_NormalPriority=3,T.unstable_Profiling=null,T.unstable_UserBlockingPriority=2,T.unstable_cancelCallback=function(b){b.callback=null},T.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ft=0<b?Math.floor(1e3/b):5},T.unstable_getCurrentPriorityLevel=function(){return $},T.unstable_next=function(b){switch($){case 1:case 2:case 3:var E=3;break;default:E=$}var H=$;$=E;try{return b()}finally{$=H}},T.unstable_requestPaint=function(){qa=!0},T.unstable_runWithPriority=function(b,E){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var H=$;$=b;try{return E()}finally{$=H}},T.unstable_scheduleCallback=function(b,E,H){var P=T.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?P+H:P):H=P,b){case 1:var ll=-1;break;case 2:ll=250;break;case 5:ll=1073741823;break;case 4:ll=1e4;break;default:ll=5e3}return ll=H+ll,b={id:Ol++,callback:E,priorityLevel:b,startTime:H,expirationTime:ll,sortIndex:-1},H>P?(b.sortIndex=H,k(L,b),Z(Sl)===null&&b===Z(L)&&(wl?(Eu(ot),ot=-1):wl=!0,bt(ya,H-P))):(b.sortIndex=ll,k(Sl,b),Rl||vt||(Rl=!0,st||(st=!0,$l()))),b},T.unstable_shouldYield=be,T.unstable_wrapCallback=function(b){var E=$;return function(){var H=$;$=E;try{return b.apply(this,arguments)}finally{$=H}}}})(vi)),vi}var g1;function ed(){return g1||(g1=1,hi.exports=ud()),hi.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 o1;function nd(){if(o1)return oe;o1=1;var T=ed(),k=Ly(),Z=ry();function S(l){var t="https://react.dev/errors/"+l;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+l+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function j(l){var t=l,a=l;if(l.alternate)for(;t.return;)t=t.return;else{l=t;do t=l,(t.flags&4098)!==0&&(a=t.return),l=t.return;while(l)}return t.tag===3?a:null}function ul(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 Sl(l){if(j(l)!==l)throw Error(S(188))}function L(l){var t=l.alternate;if(!t){if(t=j(l),t===null)throw Error(S(188));return t!==l?null:l}for(var a=l,u=t;;){var e=a.return;if(e===null)break;var n=e.alternate;if(n===null){if(u=e.return,u!==null){a=u;continue}break}if(e.child===n.child){for(n=e.child;n;){if(n===a)return Sl(e),l;if(n===u)return Sl(e),t;n=n.sibling}throw Error(S(188))}if(a.return!==u.return)a=e,u=n;else{for(var f=!1,c=e.child;c;){if(c===a){f=!0,a=e,u=n;break}if(c===u){f=!0,u=e,a=n;break}c=c.sibling}if(!f){for(c=n.child;c;){if(c===a){f=!0,a=n,u=e;break}if(c===u){f=!0,u=n,a=e;break}c=c.sibling}if(!f)throw Error(S(189))}}if(a.alternate!==u)throw Error(S(190))}if(a.tag!==3)throw Error(S(188));return a.stateNode.current===a?l:t}function Ol(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=Ol(l),t!==null)return t;l=l.sibling}return null}var N=Object.assign,$=Symbol.for("react.element"),vt=Symbol.for("react.transitional.element"),Rl=Symbol.for("react.portal"),wl=Symbol.for("react.fragment"),qa=Symbol.for("react.strict_mode"),xa=Symbol.for("react.profiler"),Eu=Symbol.for("react.consumer"),Wl=Symbol.for("react.context"),Ct=Symbol.for("react.forward_ref"),ya=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),ot=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),Ya=Symbol.for("react.activity"),be=Symbol.for("react.memo_cache_sentinel"),pa=Symbol.iterator;function $l(l){return l===null||typeof l!="object"?null:(l=pa&&l[pa]||l["@@iterator"],typeof l=="function"?l:null)}var ze=Symbol.for("react.client.reference");function Mu(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===ze?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case wl:return"Fragment";case xa:return"Profiler";case qa:return"StrictMode";case ya:return"Suspense";case st:return"SuspenseList";case Ya:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Rl:return"Portal";case Wl:return l.displayName||"Context";case Eu:return(l._context.displayName||"Context")+".Consumer";case Ct:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case ot:return t=l.displayName||null,t!==null?t:Mu(l.type)||"Memo";case ft:t=l._payload,l=l._init;try{return Mu(l(t))}catch{}}return null}var bt=Array.isArray,b=k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=Z.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H={pending:!1,data:null,method:null,action:null},P=[],ll=-1;function Dl(l){return{current:l}}function nl(l){0>ll||(l.current=P[ll],P[ll]=null,ll--)}function V(l,t){ll++,P[ll]=l.current,l.current=t}var gl=Dl(null),yt=Dl(null),Gt=Dl(null),Te=Dl(null);function Ae(l,t){switch(V(Gt,t),V(yt,l),V(gl,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?pv(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=pv(t),l=Rv(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}nl(gl),V(gl,l)}function Ra(){nl(gl),nl(yt),nl(Gt)}function Zn(l){l.memoizedState!==null&&V(Te,l);var t=gl.current,a=Rv(t,l.type);t!==a&&(V(yt,l),V(gl,a))}function Ee(l){yt.current===l&&(nl(gl),nl(yt)),Te.current===l&&(nl(Te),ye._currentValue=H)}var Vn,si;function da(l){if(Vn===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Vn=t&&t[1]||"",si=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Vn+l+si}var Ln=!1;function rn(l,t){if(!l||Ln)return"";Ln=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(t){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(m){var d=m}Reflect.construct(l,[],z)}else{try{z.call()}catch(m){d=m}l.call(z.prototype)}}else{try{throw Error()}catch(m){d=m}(z=l())&&typeof z.catch=="function"&&z.catch(function(){})}}catch(m){if(m&&d&&typeof m.stack=="string")return[m.stack,d.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var e=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");e&&e.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=u.DetermineComponentFrameRoot(),f=n[0],c=n[1];if(f&&c){var i=f.split(`
`),y=c.split(`
`);for(e=u=0;u<i.length&&!i[u].includes("DetermineComponentFrameRoot");)u++;for(;e<y.length&&!y[e].includes("DetermineComponentFrameRoot");)e++;if(u===i.length||e===y.length)for(u=i.length-1,e=y.length-1;1<=u&&0<=e&&i[u]!==y[e];)e--;for(;1<=u&&0<=e;u--,e--)if(i[u]!==y[e]){if(u!==1||e!==1)do if(u--,e--,0>e||i[u]!==y[e]){var g=`
`+i[u].replace(" at new "," at ");return l.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",l.displayName)),g}while(1<=u&&0<=e);break}}}finally{Ln=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?da(a):""}function T1(l,t){switch(l.tag){case 26:case 27:case 5:return da(l.type);case 16:return da("Lazy");case 13:return l.child!==t&&t!==null?da("Suspense Fallback"):da("Suspense");case 19:return da("SuspenseList");case 0:case 15:return rn(l.type,!1);case 11:return rn(l.type.render,!1);case 1:return rn(l.type,!0);case 31:return da("Activity");default:return""}}function yi(l){try{var t="",a=null;do t+=T1(l,a),a=l,l=l.return;while(l);return t}catch(u){return`
Error generating stack: `+u.message+`
`+u.stack}}var Kn=Object.prototype.hasOwnProperty,Jn=T.unstable_scheduleCallback,wn=T.unstable_cancelCallback,A1=T.unstable_shouldYield,E1=T.unstable_requestPaint,Cl=T.unstable_now,M1=T.unstable_getCurrentPriorityLevel,di=T.unstable_ImmediatePriority,mi=T.unstable_UserBlockingPriority,Me=T.unstable_NormalPriority,O1=T.unstable_LowPriority,Si=T.unstable_IdlePriority,D1=T.log,U1=T.unstable_setDisableYieldValue,Ou=null,Gl=null;function Qt(l){if(typeof D1=="function"&&U1(l),Gl&&typeof Gl.setStrictMode=="function")try{Gl.setStrictMode(Ou,l)}catch{}}var Ql=Math.clz32?Math.clz32:H1,_1=Math.log,N1=Math.LN2;function H1(l){return l>>>=0,l===0?32:31-(_1(l)/N1|0)|0}var Oe=256,De=262144,Ue=4194304;function ma(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 _e(l,t,a){var u=l.pendingLanes;if(u===0)return 0;var e=0,n=l.suspendedLanes,f=l.pingedLanes;l=l.warmLanes;var c=u&134217727;return c!==0?(u=c&~n,u!==0?e=ma(u):(f&=c,f!==0?e=ma(f):a||(a=c&~l,a!==0&&(e=ma(a))))):(c=u&~n,c!==0?e=ma(c):f!==0?e=ma(f):a||(a=u&~l,a!==0&&(e=ma(a)))),e===0?0:t!==0&&t!==e&&(t&n)===0&&(n=e&-e,a=t&-t,n>=a||n===32&&(a&4194048)!==0)?t:e}function Du(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function j1(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 gi(){var l=Ue;return Ue<<=1,(Ue&62914560)===0&&(Ue=4194304),l}function Wn(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function Uu(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function B1(l,t,a,u,e,n){var f=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var c=l.entanglements,i=l.expirationTimes,y=l.hiddenUpdates;for(a=f&~a;0<a;){var g=31-Ql(a),z=1<<g;c[g]=0,i[g]=-1;var d=y[g];if(d!==null)for(y[g]=null,g=0;g<d.length;g++){var m=d[g];m!==null&&(m.lane&=-536870913)}a&=~z}u!==0&&oi(l,u,0),n!==0&&e===0&&l.tag!==0&&(l.suspendedLanes|=n&~(f&~t))}function oi(l,t,a){l.pendingLanes|=t,l.suspendedLanes&=~t;var u=31-Ql(t);l.entangledLanes|=t,l.entanglements[u]=l.entanglements[u]|1073741824|a&261930}function bi(l,t){var a=l.entangledLanes|=t;for(l=l.entanglements;a;){var u=31-Ql(a),e=1<<u;e&t|l[u]&t&&(l[u]|=t),a&=~e}}function zi(l,t){var a=t&-t;return a=(a&42)!==0?1:$n(a),(a&(l.suspendedLanes|t))!==0?0:a}function $n(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 Fn(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Ti(){var l=E.p;return l!==0?l:(l=window.event,l===void 0?32:n1(l.type))}function Ai(l,t){var a=E.p;try{return E.p=l,t()}finally{E.p=a}}var Xt=Math.random().toString(36).slice(2),zl="__reactFiber$"+Xt,_l="__reactProps$"+Xt,Ca="__reactContainer$"+Xt,kn="__reactEvents$"+Xt,q1="__reactListeners$"+Xt,x1="__reactHandles$"+Xt,Ei="__reactResources$"+Xt,_u="__reactMarker$"+Xt;function In(l){delete l[zl],delete l[_l],delete l[kn],delete l[q1],delete l[x1]}function Ga(l){var t=l[zl];if(t)return t;for(var a=l.parentNode;a;){if(t=a[Ca]||a[zl]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(l=Lv(l);l!==null;){if(a=l[zl])return a;l=Lv(l)}return t}l=a,a=l.parentNode}return null}function Qa(l){if(l=l[zl]||l[Ca]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Nu(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(S(33))}function Xa(l){var t=l[Ei];return t||(t=l[Ei]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ol(l){l[_u]=!0}var Mi=new Set,Oi={};function Sa(l,t){Za(l,t),Za(l+"Capture",t)}function Za(l,t){for(Oi[l]=t,l=0;l<t.length;l++)Mi.add(t[l])}var Y1=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]*$"),Di={},Ui={};function p1(l){return Kn.call(Ui,l)?!0:Kn.call(Di,l)?!1:Y1.test(l)?Ui[l]=!0:(Di[l]=!0,!1)}function Ne(l,t,a){if(p1(t))if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":l.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){l.removeAttribute(t);return}}l.setAttribute(t,""+a)}}function He(l,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttribute(t,""+a)}}function zt(l,t,a,u){if(u===null)l.removeAttribute(a);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttributeNS(t,a,""+u)}}function Fl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function _i(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function R1(l,t,a){var u=Object.getOwnPropertyDescriptor(l.constructor.prototype,t);if(!l.hasOwnProperty(t)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var e=u.get,n=u.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return e.call(this)},set:function(f){a=""+f,n.call(this,f)}}),Object.defineProperty(l,t,{enumerable:u.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function Pn(l){if(!l._valueTracker){var t=_i(l)?"checked":"value";l._valueTracker=R1(l,t,""+l[t])}}function Ni(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var a=t.getValue(),u="";return l&&(u=_i(l)?l.checked?"true":"false":l.value),l=u,l!==a?(t.setValue(l),!0):!1}function je(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 C1=/[\n"\\]/g;function kl(l){return l.replace(C1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function lf(l,t,a,u,e,n,f,c){l.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.type=f:l.removeAttribute("type"),t!=null?f==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+Fl(t)):l.value!==""+Fl(t)&&(l.value=""+Fl(t)):f!=="submit"&&f!=="reset"||l.removeAttribute("value"),t!=null?tf(l,f,Fl(t)):a!=null?tf(l,f,Fl(a)):u!=null&&l.removeAttribute("value"),e==null&&n!=null&&(l.defaultChecked=!!n),e!=null&&(l.checked=e&&typeof e!="function"&&typeof e!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+Fl(c):l.removeAttribute("name")}function Hi(l,t,a,u,e,n,f,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null)){Pn(l);return}a=a!=null?""+Fl(a):"",t=t!=null?""+Fl(t):a,c||t===l.value||(l.value=t),l.defaultValue=t}u=u??e,u=typeof u!="function"&&typeof u!="symbol"&&!!u,l.checked=c?l.checked:!!u,l.defaultChecked=!!u,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(l.name=f),Pn(l)}function tf(l,t,a){t==="number"&&je(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Va(l,t,a,u){if(l=l.options,t){t={};for(var e=0;e<a.length;e++)t["$"+a[e]]=!0;for(a=0;a<l.length;a++)e=t.hasOwnProperty("$"+l[a].value),l[a].selected!==e&&(l[a].selected=e),e&&u&&(l[a].defaultSelected=!0)}else{for(a=""+Fl(a),t=null,e=0;e<l.length;e++){if(l[e].value===a){l[e].selected=!0,u&&(l[e].defaultSelected=!0);return}t!==null||l[e].disabled||(t=l[e])}t!==null&&(t.selected=!0)}}function ji(l,t,a){if(t!=null&&(t=""+Fl(t),t!==l.value&&(l.value=t),a==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=a!=null?""+Fl(a):""}function Bi(l,t,a,u){if(t==null){if(u!=null){if(a!=null)throw Error(S(92));if(bt(u)){if(1<u.length)throw Error(S(93));u=u[0]}a=u}a==null&&(a=""),t=a}a=Fl(t),l.defaultValue=a,u=l.textContent,u===a&&u!==""&&u!==null&&(l.value=u),Pn(l)}function La(l,t){if(t){var a=l.firstChild;if(a&&a===l.lastChild&&a.nodeType===3){a.nodeValue=t;return}}l.textContent=t}var G1=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 qi(l,t,a){var u=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?u?l.setProperty(t,""):t==="float"?l.cssFloat="":l[t]="":u?l.setProperty(t,a):typeof a!="number"||a===0||G1.has(t)?t==="float"?l.cssFloat=a:l[t]=(""+a).trim():l[t]=a+"px"}function xi(l,t,a){if(t!=null&&typeof t!="object")throw Error(S(62));if(l=l.style,a!=null){for(var u in a)!a.hasOwnProperty(u)||t!=null&&t.hasOwnProperty(u)||(u.indexOf("--")===0?l.setProperty(u,""):u==="float"?l.cssFloat="":l[u]="");for(var e in t)u=t[e],t.hasOwnProperty(e)&&a[e]!==u&&qi(l,e,u)}else for(var n in t)t.hasOwnProperty(n)&&qi(l,n,t[n])}function af(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 Q1=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"]]),X1=/^[\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 Be(l){return X1.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Tt(){}var uf=null;function ef(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ra=null,Ka=null;function Yi(l){var t=Qa(l);if(t&&(l=t.stateNode)){var a=l[_l]||null;l:switch(l=t.stateNode,t.type){case"input":if(lf(l,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=l;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+kl(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var u=a[t];if(u!==l&&u.form===l.form){var e=u[_l]||null;if(!e)throw Error(S(90));lf(u,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name)}}for(t=0;t<a.length;t++)u=a[t],u.form===l.form&&Ni(u)}break l;case"textarea":ji(l,a.value,a.defaultValue);break l;case"select":t=a.value,t!=null&&Va(l,!!a.multiple,t,!1)}}}var nf=!1;function pi(l,t,a){if(nf)return l(t,a);nf=!0;try{var u=l(t);return u}finally{if(nf=!1,(ra!==null||Ka!==null)&&(zn(),ra&&(t=ra,l=Ka,Ka=ra=null,Yi(t),l)))for(t=0;t<l.length;t++)Yi(l[t])}}function Hu(l,t){var a=l.stateNode;if(a===null)return null;var u=a[_l]||null;if(u===null)return null;a=u[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":(u=!u.disabled)||(l=l.type,u=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!u;break l;default:l=!1}if(l)return null;if(a&&typeof a!="function")throw Error(S(231,t,typeof a));return a}var At=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ff=!1;if(At)try{var ju={};Object.defineProperty(ju,"passive",{get:function(){ff=!0}}),window.addEventListener("test",ju,ju),window.removeEventListener("test",ju,ju)}catch{ff=!1}var Zt=null,cf=null,qe=null;function Ri(){if(qe)return qe;var l,t=cf,a=t.length,u,e="value"in Zt?Zt.value:Zt.textContent,n=e.length;for(l=0;l<a&&t[l]===e[l];l++);var f=a-l;for(u=1;u<=f&&t[a-u]===e[n-u];u++);return qe=e.slice(l,1<u?1-u:void 0)}function xe(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 Ye(){return!0}function Ci(){return!1}function Nl(l){function t(a,u,e,n,f){this._reactName=a,this._targetInst=e,this.type=u,this.nativeEvent=n,this.target=f,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(a=l[c],this[c]=a?a(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Ye:Ci,this.isPropagationStopped=Ci,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ye)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ye)},persist:function(){},isPersistent:Ye}),t}var ga={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pe=Nl(ga),Bu=N({},ga,{view:0,detail:0}),Z1=Nl(Bu),hf,vf,qu,Re=N({},Bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yf,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!==qu&&(qu&&l.type==="mousemove"?(hf=l.screenX-qu.screenX,vf=l.screenY-qu.screenY):vf=hf=0,qu=l),hf)},movementY:function(l){return"movementY"in l?l.movementY:vf}}),Gi=Nl(Re),V1=N({},Re,{dataTransfer:0}),L1=Nl(V1),r1=N({},Bu,{relatedTarget:0}),sf=Nl(r1),K1=N({},ga,{animationName:0,elapsedTime:0,pseudoElement:0}),J1=Nl(K1),w1=N({},ga,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),W1=Nl(w1),$1=N({},ga,{data:0}),Qi=Nl($1),F1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k1={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"},I1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function P1(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=I1[l])?!!t[l]:!1}function yf(){return P1}var ls=N({},Bu,{key:function(l){if(l.key){var t=F1[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=xe(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?k1[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yf,charCode:function(l){return l.type==="keypress"?xe(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?xe(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),ts=Nl(ls),as=N({},Re,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xi=Nl(as),us=N({},Bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yf}),es=Nl(us),ns=N({},ga,{propertyName:0,elapsedTime:0,pseudoElement:0}),fs=Nl(ns),cs=N({},Re,{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}),is=Nl(cs),hs=N({},ga,{newState:0,oldState:0}),vs=Nl(hs),ss=[9,13,27,32],df=At&&"CompositionEvent"in window,xu=null;At&&"documentMode"in document&&(xu=document.documentMode);var ys=At&&"TextEvent"in window&&!xu,Zi=At&&(!df||xu&&8<xu&&11>=xu),Vi=" ",Li=!1;function ri(l,t){switch(l){case"keyup":return ss.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ki(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ja=!1;function ds(l,t){switch(l){case"compositionend":return Ki(t);case"keypress":return t.which!==32?null:(Li=!0,Vi);case"textInput":return l=t.data,l===Vi&&Li?null:l;default:return null}}function ms(l,t){if(Ja)return l==="compositionend"||!df&&ri(l,t)?(l=Ri(),qe=cf=Zt=null,Ja=!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 Zi&&t.locale!=="ko"?null:t.data;default:return null}}var Ss={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 Ji(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Ss[l.type]:t==="textarea"}function wi(l,t,a,u){ra?Ka?Ka.push(u):Ka=[u]:ra=u,t=Un(t,"onChange"),0<t.length&&(a=new pe("onChange","change",null,a,u),l.push({event:a,listeners:t}))}var Yu=null,pu=null;function gs(l){Hv(l,0)}function Ce(l){var t=Nu(l);if(Ni(t))return l}function Wi(l,t){if(l==="change")return t}var $i=!1;if(At){var mf;if(At){var Sf="oninput"in document;if(!Sf){var Fi=document.createElement("div");Fi.setAttribute("oninput","return;"),Sf=typeof Fi.oninput=="function"}mf=Sf}else mf=!1;$i=mf&&(!document.documentMode||9<document.documentMode)}function ki(){Yu&&(Yu.detachEvent("onpropertychange",Ii),pu=Yu=null)}function Ii(l){if(l.propertyName==="value"&&Ce(pu)){var t=[];wi(t,pu,l,ef(l)),pi(gs,t)}}function os(l,t,a){l==="focusin"?(ki(),Yu=t,pu=a,Yu.attachEvent("onpropertychange",Ii)):l==="focusout"&&ki()}function bs(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ce(pu)}function zs(l,t){if(l==="click")return Ce(t)}function Ts(l,t){if(l==="input"||l==="change")return Ce(t)}function As(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var Xl=typeof Object.is=="function"?Object.is:As;function Ru(l,t){if(Xl(l,t))return!0;if(typeof l!="object"||l===null||typeof t!="object"||t===null)return!1;var a=Object.keys(l),u=Object.keys(t);if(a.length!==u.length)return!1;for(u=0;u<a.length;u++){var e=a[u];if(!Kn.call(t,e)||!Xl(l[e],t[e]))return!1}return!0}function Pi(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function l0(l,t){var a=Pi(l);l=0;for(var u;a;){if(a.nodeType===3){if(u=l+a.textContent.length,l<=t&&u>=t)return{node:a,offset:t-l};l=u}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=Pi(a)}}function t0(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?t0(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function a0(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=je(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=je(l.document)}return t}function gf(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 Es=At&&"documentMode"in document&&11>=document.documentMode,wa=null,of=null,Cu=null,bf=!1;function u0(l,t,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bf||wa==null||wa!==je(u)||(u=wa,"selectionStart"in u&&gf(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Cu&&Ru(Cu,u)||(Cu=u,u=Un(of,"onSelect"),0<u.length&&(t=new pe("onSelect","select",null,t,a),l.push({event:t,listeners:u}),t.target=wa)))}function oa(l,t){var a={};return a[l.toLowerCase()]=t.toLowerCase(),a["Webkit"+l]="webkit"+t,a["Moz"+l]="moz"+t,a}var Wa={animationend:oa("Animation","AnimationEnd"),animationiteration:oa("Animation","AnimationIteration"),animationstart:oa("Animation","AnimationStart"),transitionrun:oa("Transition","TransitionRun"),transitionstart:oa("Transition","TransitionStart"),transitioncancel:oa("Transition","TransitionCancel"),transitionend:oa("Transition","TransitionEnd")},zf={},e0={};At&&(e0=document.createElement("div").style,"AnimationEvent"in window||(delete Wa.animationend.animation,delete Wa.animationiteration.animation,delete Wa.animationstart.animation),"TransitionEvent"in window||delete Wa.transitionend.transition);function ba(l){if(zf[l])return zf[l];if(!Wa[l])return l;var t=Wa[l],a;for(a in t)if(t.hasOwnProperty(a)&&a in e0)return zf[l]=t[a];return l}var n0=ba("animationend"),f0=ba("animationiteration"),c0=ba("animationstart"),Ms=ba("transitionrun"),Os=ba("transitionstart"),Ds=ba("transitioncancel"),i0=ba("transitionend"),h0=new Map,Tf="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(" ");Tf.push("scrollEnd");function ct(l,t){h0.set(l,t),Sa(t,[l])}var Ge=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)},Il=[],$a=0,Af=0;function Qe(){for(var l=$a,t=Af=$a=0;t<l;){var a=Il[t];Il[t++]=null;var u=Il[t];Il[t++]=null;var e=Il[t];Il[t++]=null;var n=Il[t];if(Il[t++]=null,u!==null&&e!==null){var f=u.pending;f===null?e.next=e:(e.next=f.next,f.next=e),u.pending=e}n!==0&&v0(a,e,n)}}function Xe(l,t,a,u){Il[$a++]=l,Il[$a++]=t,Il[$a++]=a,Il[$a++]=u,Af|=u,l.lanes|=u,l=l.alternate,l!==null&&(l.lanes|=u)}function Ef(l,t,a,u){return Xe(l,t,a,u),Ze(l)}function za(l,t){return Xe(l,null,null,t),Ze(l)}function v0(l,t,a){l.lanes|=a;var u=l.alternate;u!==null&&(u.lanes|=a);for(var e=!1,n=l.return;n!==null;)n.childLanes|=a,u=n.alternate,u!==null&&(u.childLanes|=a),n.tag===22&&(l=n.stateNode,l===null||l._visibility&1||(e=!0)),l=n,n=n.return;return l.tag===3?(n=l.stateNode,e&&t!==null&&(e=31-Ql(a),l=n.hiddenUpdates,u=l[e],u===null?l[e]=[t]:u.push(t),t.lane=a|536870912),n):null}function Ze(l){if(50<ne)throw ne=0,Bc=null,Error(S(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var Fa={};function Us(l,t,a,u){this.tag=l,this.key=a,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=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zl(l,t,a,u){return new Us(l,t,a,u)}function Mf(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Et(l,t){var a=l.alternate;return a===null?(a=Zl(l.tag,t,l.key,l.mode),a.elementType=l.elementType,a.type=l.type,a.stateNode=l.stateNode,a.alternate=l,l.alternate=a):(a.pendingProps=t,a.type=l.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=l.flags&65011712,a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,t=l.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=l.sibling,a.index=l.index,a.ref=l.ref,a.refCleanup=l.refCleanup,a}function s0(l,t){l.flags&=65011714;var a=l.alternate;return a===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=a.childLanes,l.lanes=a.lanes,l.child=a.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=a.memoizedProps,l.memoizedState=a.memoizedState,l.updateQueue=a.updateQueue,l.type=a.type,t=a.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),l}function Ve(l,t,a,u,e,n){var f=0;if(u=l,typeof l=="function")Mf(l)&&(f=1);else if(typeof l=="string")f=By(l,a,gl.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Ya:return l=Zl(31,a,t,e),l.elementType=Ya,l.lanes=n,l;case wl:return Ta(a.children,e,n,t);case qa:f=8,e|=24;break;case xa:return l=Zl(12,a,t,e|2),l.elementType=xa,l.lanes=n,l;case ya:return l=Zl(13,a,t,e),l.elementType=ya,l.lanes=n,l;case st:return l=Zl(19,a,t,e),l.elementType=st,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Wl:f=10;break l;case Eu:f=9;break l;case Ct:f=11;break l;case ot:f=14;break l;case ft:f=16,u=null;break l}f=29,a=Error(S(130,l===null?"null":typeof l,"")),u=null}return t=Zl(f,a,t,e),t.elementType=l,t.type=u,t.lanes=n,t}function Ta(l,t,a,u){return l=Zl(7,l,u,t),l.lanes=a,l}function Of(l,t,a){return l=Zl(6,l,null,t),l.lanes=a,l}function y0(l){var t=Zl(18,null,null,0);return t.stateNode=l,t}function Df(l,t,a){return t=Zl(4,l.children!==null?l.children:[],l.key,t),t.lanes=a,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var d0=new WeakMap;function Pl(l,t){if(typeof l=="object"&&l!==null){var a=d0.get(l);return a!==void 0?a:(t={value:l,source:t,stack:yi(t)},d0.set(l,t),t)}return{value:l,source:t,stack:yi(t)}}var ka=[],Ia=0,Le=null,Gu=0,lt=[],tt=0,Vt=null,dt=1,mt="";function Mt(l,t){ka[Ia++]=Gu,ka[Ia++]=Le,Le=l,Gu=t}function m0(l,t,a){lt[tt++]=dt,lt[tt++]=mt,lt[tt++]=Vt,Vt=l;var u=dt;l=mt;var e=32-Ql(u)-1;u&=~(1<<e),a+=1;var n=32-Ql(t)+e;if(30<n){var f=e-e%5;n=(u&(1<<f)-1).toString(32),u>>=f,e-=f,dt=1<<32-Ql(t)+e|a<<e|u,mt=n+l}else dt=1<<n|a<<e|u,mt=l}function Uf(l){l.return!==null&&(Mt(l,1),m0(l,1,0))}function _f(l){for(;l===Le;)Le=ka[--Ia],ka[Ia]=null,Gu=ka[--Ia],ka[Ia]=null;for(;l===Vt;)Vt=lt[--tt],lt[tt]=null,mt=lt[--tt],lt[tt]=null,dt=lt[--tt],lt[tt]=null}function S0(l,t){lt[tt++]=dt,lt[tt++]=mt,lt[tt++]=Vt,dt=t.id,mt=t.overflow,Vt=l}var Tl=null,tl=null,C=!1,Lt=null,at=!1,Nf=Error(S(519));function rt(l){var t=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qu(Pl(t,l)),Nf}function g0(l){var t=l.stateNode,a=l.type,u=l.memoizedProps;switch(t[zl]=l,t[_l]=u,a){case"dialog":Y("cancel",t),Y("close",t);break;case"iframe":case"object":case"embed":Y("load",t);break;case"video":case"audio":for(a=0;a<ce.length;a++)Y(ce[a],t);break;case"source":Y("error",t);break;case"img":case"image":case"link":Y("error",t),Y("load",t);break;case"details":Y("toggle",t);break;case"input":Y("invalid",t),Hi(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Y("invalid",t);break;case"textarea":Y("invalid",t),Bi(t,u.value,u.defaultValue,u.children)}a=u.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||u.suppressHydrationWarning===!0||xv(t.textContent,a)?(u.popover!=null&&(Y("beforetoggle",t),Y("toggle",t)),u.onScroll!=null&&Y("scroll",t),u.onScrollEnd!=null&&Y("scrollend",t),u.onClick!=null&&(t.onclick=Tt),t=!0):t=!1,t||rt(l,!0)}function o0(l){for(Tl=l.return;Tl;)switch(Tl.tag){case 5:case 31:case 13:at=!1;return;case 27:case 3:at=!0;return;default:Tl=Tl.return}}function Pa(l){if(l!==Tl)return!1;if(!C)return o0(l),C=!0,!1;var t=l.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=l.type,a=!(a!=="form"&&a!=="button")||Jc(l.type,l.memoizedProps)),a=!a),a&&tl&&rt(l),o0(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));tl=Vv(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(317));tl=Vv(l)}else t===27?(t=tl,ea(l.type)?(l=kc,kc=null,tl=l):tl=t):tl=Tl?et(l.stateNode.nextSibling):null;return!0}function Aa(){tl=Tl=null,C=!1}function Hf(){var l=Lt;return l!==null&&(ql===null?ql=l:ql.push.apply(ql,l),Lt=null),l}function Qu(l){Lt===null?Lt=[l]:Lt.push(l)}var jf=Dl(null),Ea=null,Ot=null;function Kt(l,t,a){V(jf,t._currentValue),t._currentValue=a}function Dt(l){l._currentValue=jf.current,nl(jf)}function Bf(l,t,a){for(;l!==null;){var u=l.alternate;if((l.childLanes&t)!==t?(l.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),l===a)break;l=l.return}}function qf(l,t,a,u){var e=l.child;for(e!==null&&(e.return=l);e!==null;){var n=e.dependencies;if(n!==null){var f=e.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=e;for(var i=0;i<t.length;i++)if(c.context===t[i]){n.lanes|=a,c=n.alternate,c!==null&&(c.lanes|=a),Bf(n.return,a,l),u||(f=null);break l}n=c.next}}else if(e.tag===18){if(f=e.return,f===null)throw Error(S(341));f.lanes|=a,n=f.alternate,n!==null&&(n.lanes|=a),Bf(f,a,l),f=null}else f=e.child;if(f!==null)f.return=e;else for(f=e;f!==null;){if(f===l){f=null;break}if(e=f.sibling,e!==null){e.return=f.return,f=e;break}f=f.return}e=f}}function lu(l,t,a,u){l=null;for(var e=t,n=!1;e!==null;){if(!n){if((e.flags&524288)!==0)n=!0;else if((e.flags&262144)!==0)break}if(e.tag===10){var f=e.alternate;if(f===null)throw Error(S(387));if(f=f.memoizedProps,f!==null){var c=e.type;Xl(e.pendingProps.value,f.value)||(l!==null?l.push(c):l=[c])}}else if(e===Te.current){if(f=e.alternate,f===null)throw Error(S(387));f.memoizedState.memoizedState!==e.memoizedState.memoizedState&&(l!==null?l.push(ye):l=[ye])}e=e.return}l!==null&&qf(t,l,a,u),t.flags|=262144}function re(l){for(l=l.firstContext;l!==null;){if(!Xl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ma(l){Ea=l,Ot=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Al(l){return b0(Ea,l)}function Ke(l,t){return Ea===null&&Ma(l),b0(l,t)}function b0(l,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Ot===null){if(l===null)throw Error(S(308));Ot=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Ot=Ot.next=t;return a}var _s=typeof AbortController<"u"?AbortController:function(){var l=[],t=this.signal={aborted:!1,addEventListener:function(a,u){l.push(u)}};this.abort=function(){t.aborted=!0,l.forEach(function(a){return a()})}},Ns=T.unstable_scheduleCallback,Hs=T.unstable_NormalPriority,vl={$$typeof:Wl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xf(){return{controller:new _s,data:new Map,refCount:0}}function Xu(l){l.refCount--,l.refCount===0&&Ns(Hs,function(){l.controller.abort()})}var Zu=null,Yf=0,tu=0,au=null;function js(l,t){if(Zu===null){var a=Zu=[];Yf=0,tu=Cc(),au={status:"pending",value:void 0,then:function(u){a.push(u)}}}return Yf++,t.then(z0,z0),t}function z0(){if(--Yf===0&&Zu!==null){au!==null&&(au.status="fulfilled");var l=Zu;Zu=null,tu=0,au=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function Bs(l,t){var a=[],u={status:"pending",value:null,reason:null,then:function(e){a.push(e)}};return l.then(function(){u.status="fulfilled",u.value=t;for(var e=0;e<a.length;e++)(0,a[e])(t)},function(e){for(u.status="rejected",u.reason=e,e=0;e<a.length;e++)(0,a[e])(void 0)}),u}var T0=b.S;b.S=function(l,t){uv=Cl(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&js(l,t),T0!==null&&T0(l,t)};var Oa=Dl(null);function pf(){var l=Oa.current;return l!==null?l:F.pooledCache}function Je(l,t){t===null?V(Oa,Oa.current):V(Oa,t.pool)}function A0(){var l=pf();return l===null?null:{parent:vl._currentValue,pool:l}}var uu=Error(S(460)),Rf=Error(S(474)),we=Error(S(542)),We={then:function(){}};function E0(l){return l=l.status,l==="fulfilled"||l==="rejected"}function M0(l,t,a){switch(a=l[a],a===void 0?l.push(t):a!==t&&(t.then(Tt,Tt),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,D0(l),l;default:if(typeof t.status=="string")t.then(Tt,Tt);else{if(l=F,l!==null&&100<l.shellSuspendCounter)throw Error(S(482));l=t,l.status="pending",l.then(function(u){if(t.status==="pending"){var e=t;e.status="fulfilled",e.value=u}},function(u){if(t.status==="pending"){var e=t;e.status="rejected",e.reason=u}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,D0(l),l}throw Ua=t,uu}}function Da(l){try{var t=l._init;return t(l._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ua=a,uu):a}}var Ua=null;function O0(){if(Ua===null)throw Error(S(459));var l=Ua;return Ua=null,l}function D0(l){if(l===uu||l===we)throw Error(S(483))}var eu=null,Vu=0;function $e(l){var t=Vu;return Vu+=1,eu===null&&(eu=[]),M0(eu,l,t)}function Lu(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function Fe(l,t){throw t.$$typeof===$?Error(S(525)):(l=Object.prototype.toString.call(t),Error(S(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function U0(l){function t(v,h){if(l){var s=v.deletions;s===null?(v.deletions=[h],v.flags|=16):s.push(h)}}function a(v,h){if(!l)return null;for(;h!==null;)t(v,h),h=h.sibling;return null}function u(v){for(var h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function e(v,h){return v=Et(v,h),v.index=0,v.sibling=null,v}function n(v,h,s){return v.index=s,l?(s=v.alternate,s!==null?(s=s.index,s<h?(v.flags|=67108866,h):s):(v.flags|=67108866,h)):(v.flags|=1048576,h)}function f(v){return l&&v.alternate===null&&(v.flags|=67108866),v}function c(v,h,s,o){return h===null||h.tag!==6?(h=Of(s,v.mode,o),h.return=v,h):(h=e(h,s),h.return=v,h)}function i(v,h,s,o){var D=s.type;return D===wl?g(v,h,s.props.children,o,s.key):h!==null&&(h.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===ft&&Da(D)===h.type)?(h=e(h,s.props),Lu(h,s),h.return=v,h):(h=Ve(s.type,s.key,s.props,null,v.mode,o),Lu(h,s),h.return=v,h)}function y(v,h,s,o){return h===null||h.tag!==4||h.stateNode.containerInfo!==s.containerInfo||h.stateNode.implementation!==s.implementation?(h=Df(s,v.mode,o),h.return=v,h):(h=e(h,s.children||[]),h.return=v,h)}function g(v,h,s,o,D){return h===null||h.tag!==7?(h=Ta(s,v.mode,o,D),h.return=v,h):(h=e(h,s),h.return=v,h)}function z(v,h,s){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Of(""+h,v.mode,s),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case vt:return s=Ve(h.type,h.key,h.props,null,v.mode,s),Lu(s,h),s.return=v,s;case Rl:return h=Df(h,v.mode,s),h.return=v,h;case ft:return h=Da(h),z(v,h,s)}if(bt(h)||$l(h))return h=Ta(h,v.mode,s,null),h.return=v,h;if(typeof h.then=="function")return z(v,$e(h),s);if(h.$$typeof===Wl)return z(v,Ke(v,h),s);Fe(v,h)}return null}function d(v,h,s,o){var D=h!==null?h.key:null;if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return D!==null?null:c(v,h,""+s,o);if(typeof s=="object"&&s!==null){switch(s.$$typeof){case vt:return s.key===D?i(v,h,s,o):null;case Rl:return s.key===D?y(v,h,s,o):null;case ft:return s=Da(s),d(v,h,s,o)}if(bt(s)||$l(s))return D!==null?null:g(v,h,s,o,null);if(typeof s.then=="function")return d(v,h,$e(s),o);if(s.$$typeof===Wl)return d(v,h,Ke(v,s),o);Fe(v,s)}return null}function m(v,h,s,o,D){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return v=v.get(s)||null,c(h,v,""+o,D);if(typeof o=="object"&&o!==null){switch(o.$$typeof){case vt:return v=v.get(o.key===null?s:o.key)||null,i(h,v,o,D);case Rl:return v=v.get(o.key===null?s:o.key)||null,y(h,v,o,D);case ft:return o=Da(o),m(v,h,s,o,D)}if(bt(o)||$l(o))return v=v.get(s)||null,g(h,v,o,D,null);if(typeof o.then=="function")return m(v,h,s,$e(o),D);if(o.$$typeof===Wl)return m(v,h,s,Ke(h,o),D);Fe(h,o)}return null}function M(v,h,s,o){for(var D=null,G=null,O=h,q=h=0,R=null;O!==null&&q<s.length;q++){O.index>q?(R=O,O=null):R=O.sibling;var Q=d(v,O,s[q],o);if(Q===null){O===null&&(O=R);break}l&&O&&Q.alternate===null&&t(v,O),h=n(Q,h,q),G===null?D=Q:G.sibling=Q,G=Q,O=R}if(q===s.length)return a(v,O),C&&Mt(v,q),D;if(O===null){for(;q<s.length;q++)O=z(v,s[q],o),O!==null&&(h=n(O,h,q),G===null?D=O:G.sibling=O,G=O);return C&&Mt(v,q),D}for(O=u(O);q<s.length;q++)R=m(O,v,q,s[q],o),R!==null&&(l&&R.alternate!==null&&O.delete(R.key===null?q:R.key),h=n(R,h,q),G===null?D=R:G.sibling=R,G=R);return l&&O.forEach(function(ha){return t(v,ha)}),C&&Mt(v,q),D}function U(v,h,s,o){if(s==null)throw Error(S(151));for(var D=null,G=null,O=h,q=h=0,R=null,Q=s.next();O!==null&&!Q.done;q++,Q=s.next()){O.index>q?(R=O,O=null):R=O.sibling;var ha=d(v,O,Q.value,o);if(ha===null){O===null&&(O=R);break}l&&O&&ha.alternate===null&&t(v,O),h=n(ha,h,q),G===null?D=ha:G.sibling=ha,G=ha,O=R}if(Q.done)return a(v,O),C&&Mt(v,q),D;if(O===null){for(;!Q.done;q++,Q=s.next())Q=z(v,Q.value,o),Q!==null&&(h=n(Q,h,q),G===null?D=Q:G.sibling=Q,G=Q);return C&&Mt(v,q),D}for(O=u(O);!Q.done;q++,Q=s.next())Q=m(O,v,q,Q.value,o),Q!==null&&(l&&Q.alternate!==null&&O.delete(Q.key===null?q:Q.key),h=n(Q,h,q),G===null?D=Q:G.sibling=Q,G=Q);return l&&O.forEach(function(Vy){return t(v,Vy)}),C&&Mt(v,q),D}function W(v,h,s,o){if(typeof s=="object"&&s!==null&&s.type===wl&&s.key===null&&(s=s.props.children),typeof s=="object"&&s!==null){switch(s.$$typeof){case vt:l:{for(var D=s.key;h!==null;){if(h.key===D){if(D=s.type,D===wl){if(h.tag===7){a(v,h.sibling),o=e(h,s.props.children),o.return=v,v=o;break l}}else if(h.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===ft&&Da(D)===h.type){a(v,h.sibling),o=e(h,s.props),Lu(o,s),o.return=v,v=o;break l}a(v,h);break}else t(v,h);h=h.sibling}s.type===wl?(o=Ta(s.props.children,v.mode,o,s.key),o.return=v,v=o):(o=Ve(s.type,s.key,s.props,null,v.mode,o),Lu(o,s),o.return=v,v=o)}return f(v);case Rl:l:{for(D=s.key;h!==null;){if(h.key===D)if(h.tag===4&&h.stateNode.containerInfo===s.containerInfo&&h.stateNode.implementation===s.implementation){a(v,h.sibling),o=e(h,s.children||[]),o.return=v,v=o;break l}else{a(v,h);break}else t(v,h);h=h.sibling}o=Df(s,v.mode,o),o.return=v,v=o}return f(v);case ft:return s=Da(s),W(v,h,s,o)}if(bt(s))return M(v,h,s,o);if($l(s)){if(D=$l(s),typeof D!="function")throw Error(S(150));return s=D.call(s),U(v,h,s,o)}if(typeof s.then=="function")return W(v,h,$e(s),o);if(s.$$typeof===Wl)return W(v,h,Ke(v,s),o);Fe(v,s)}return typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint"?(s=""+s,h!==null&&h.tag===6?(a(v,h.sibling),o=e(h,s),o.return=v,v=o):(a(v,h),o=Of(s,v.mode,o),o.return=v,v=o),f(v)):a(v,h)}return function(v,h,s,o){try{Vu=0;var D=W(v,h,s,o);return eu=null,D}catch(O){if(O===uu||O===we)throw O;var G=Zl(29,O,null,v.mode);return G.lanes=o,G.return=v,G}finally{}}}var _a=U0(!0),_0=U0(!1),Jt=!1;function Cf(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gf(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 wt(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Wt(l,t,a){var u=l.updateQueue;if(u===null)return null;if(u=u.shared,(X&2)!==0){var e=u.pending;return e===null?t.next=t:(t.next=e.next,e.next=t),u.pending=t,t=Ze(l),v0(l,null,a),t}return Xe(l,u,t,a),Ze(l)}function ru(l,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var u=t.lanes;u&=l.pendingLanes,a|=u,t.lanes=a,bi(l,a)}}function Qf(l,t){var a=l.updateQueue,u=l.alternate;if(u!==null&&(u=u.updateQueue,a===u)){var e=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var f={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?e=n=f:n=n.next=f,a=a.next}while(a!==null);n===null?e=n=t:n=n.next=t}else e=n=t;a={baseState:u.baseState,firstBaseUpdate:e,lastBaseUpdate:n,shared:u.shared,callbacks:u.callbacks},l.updateQueue=a;return}l=a.lastBaseUpdate,l===null?a.firstBaseUpdate=t:l.next=t,a.lastBaseUpdate=t}var Xf=!1;function Ku(){if(Xf){var l=au;if(l!==null)throw l}}function Ju(l,t,a,u){Xf=!1;var e=l.updateQueue;Jt=!1;var n=e.firstBaseUpdate,f=e.lastBaseUpdate,c=e.shared.pending;if(c!==null){e.shared.pending=null;var i=c,y=i.next;i.next=null,f===null?n=y:f.next=y,f=i;var g=l.alternate;g!==null&&(g=g.updateQueue,c=g.lastBaseUpdate,c!==f&&(c===null?g.firstBaseUpdate=y:c.next=y,g.lastBaseUpdate=i))}if(n!==null){var z=e.baseState;f=0,g=y=i=null,c=n;do{var d=c.lane&-536870913,m=d!==c.lane;if(m?(p&d)===d:(u&d)===d){d!==0&&d===tu&&(Xf=!0),g!==null&&(g=g.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var M=l,U=c;d=t;var W=a;switch(U.tag){case 1:if(M=U.payload,typeof M=="function"){z=M.call(W,z,d);break l}z=M;break l;case 3:M.flags=M.flags&-65537|128;case 0:if(M=U.payload,d=typeof M=="function"?M.call(W,z,d):M,d==null)break l;z=N({},z,d);break l;case 2:Jt=!0}}d=c.callback,d!==null&&(l.flags|=64,m&&(l.flags|=8192),m=e.callbacks,m===null?e.callbacks=[d]:m.push(d))}else m={lane:d,tag:c.tag,payload:c.payload,callback:c.callback,next:null},g===null?(y=g=m,i=z):g=g.next=m,f|=d;if(c=c.next,c===null){if(c=e.shared.pending,c===null)break;m=c,c=m.next,m.next=null,e.lastBaseUpdate=m,e.shared.pending=null}}while(!0);g===null&&(i=z),e.baseState=i,e.firstBaseUpdate=y,e.lastBaseUpdate=g,n===null&&(e.shared.lanes=0),Pt|=f,l.lanes=f,l.memoizedState=z}}function N0(l,t){if(typeof l!="function")throw Error(S(191,l));l.call(t)}function H0(l,t){var a=l.callbacks;if(a!==null)for(l.callbacks=null,l=0;l<a.length;l++)N0(a[l],t)}var nu=Dl(null),ke=Dl(0);function j0(l,t){l=Yt,V(ke,l),V(nu,t),Yt=l|t.baseLanes}function Zf(){V(ke,Yt),V(nu,nu.current)}function Vf(){Yt=ke.current,nl(nu),nl(ke)}var Vl=Dl(null),ut=null;function $t(l){var t=l.alternate;V(il,il.current&1),V(Vl,l),ut===null&&(t===null||nu.current!==null||t.memoizedState!==null)&&(ut=l)}function Lf(l){V(il,il.current),V(Vl,l),ut===null&&(ut=l)}function B0(l){l.tag===22?(V(il,il.current),V(Vl,l),ut===null&&(ut=l)):Ft()}function Ft(){V(il,il.current),V(Vl,Vl.current)}function Ll(l){nl(Vl),ut===l&&(ut=null),nl(il)}var il=Dl(0);function Ie(l){for(var t=l;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||$c(a)||Fc(a)))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 Ut=0,B=null,J=null,sl=null,Pe=!1,fu=!1,Na=!1,ln=0,wu=0,cu=null,qs=0;function fl(){throw Error(S(321))}function rf(l,t){if(t===null)return!1;for(var a=0;a<t.length&&a<l.length;a++)if(!Xl(l[a],t[a]))return!1;return!0}function Kf(l,t,a,u,e,n){return Ut=n,B=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,b.H=l===null||l.memoizedState===null?mh:fc,Na=!1,n=a(u,e),Na=!1,fu&&(n=x0(t,a,u,e)),q0(l),n}function q0(l){b.H=Fu;var t=J!==null&&J.next!==null;if(Ut=0,sl=J=B=null,Pe=!1,wu=0,cu=null,t)throw Error(S(300));l===null||yl||(l=l.dependencies,l!==null&&re(l)&&(yl=!0))}function x0(l,t,a,u){B=l;var e=0;do{if(fu&&(cu=null),wu=0,fu=!1,25<=e)throw Error(S(301));if(e+=1,sl=J=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}b.H=Sh,n=t(a,u)}while(fu);return n}function xs(){var l=b.H,t=l.useState()[0];return t=typeof t.then=="function"?Wu(t):t,l=l.useState()[0],(J!==null?J.memoizedState:null)!==l&&(B.flags|=1024),t}function Jf(){var l=ln!==0;return ln=0,l}function wf(l,t,a){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~a}function Wf(l){if(Pe){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}Pe=!1}Ut=0,sl=J=B=null,fu=!1,wu=ln=0,cu=null}function Ul(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sl===null?B.memoizedState=sl=l:sl=sl.next=l,sl}function hl(){if(J===null){var l=B.alternate;l=l!==null?l.memoizedState:null}else l=J.next;var t=sl===null?B.memoizedState:sl.next;if(t!==null)sl=t,J=l;else{if(l===null)throw B.alternate===null?Error(S(467)):Error(S(310));J=l,l={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},sl===null?B.memoizedState=sl=l:sl=sl.next=l}return sl}function tn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Wu(l){var t=wu;return wu+=1,cu===null&&(cu=[]),l=M0(cu,l,t),t=B,(sl===null?t.memoizedState:sl.next)===null&&(t=t.alternate,b.H=t===null||t.memoizedState===null?mh:fc),l}function an(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Wu(l);if(l.$$typeof===Wl)return Al(l)}throw Error(S(438,String(l)))}function $f(l){var t=null,a=B.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var u=B.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(e){return e.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=tn(),B.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(l),u=0;u<l;u++)a[u]=be;return t.index++,a}function _t(l,t){return typeof t=="function"?t(l):t}function un(l){var t=hl();return Ff(t,J,l)}function Ff(l,t,a){var u=l.queue;if(u===null)throw Error(S(311));u.lastRenderedReducer=a;var e=l.baseQueue,n=u.pending;if(n!==null){if(e!==null){var f=e.next;e.next=n.next,n.next=f}t.baseQueue=e=n,u.pending=null}if(n=l.baseState,e===null)l.memoizedState=n;else{t=e.next;var c=f=null,i=null,y=t,g=!1;do{var z=y.lane&-536870913;if(z!==y.lane?(p&z)===z:(Ut&z)===z){var d=y.revertLane;if(d===0)i!==null&&(i=i.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),z===tu&&(g=!0);else if((Ut&d)===d){y=y.next,d===tu&&(g=!0);continue}else z={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},i===null?(c=i=z,f=n):i=i.next=z,B.lanes|=d,Pt|=d;z=y.action,Na&&a(n,z),n=y.hasEagerState?y.eagerState:a(n,z)}else d={lane:z,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},i===null?(c=i=d,f=n):i=i.next=d,B.lanes|=z,Pt|=z;y=y.next}while(y!==null&&y!==t);if(i===null?f=n:i.next=c,!Xl(n,l.memoizedState)&&(yl=!0,g&&(a=au,a!==null)))throw a;l.memoizedState=n,l.baseState=f,l.baseQueue=i,u.lastRenderedState=n}return e===null&&(u.lanes=0),[l.memoizedState,u.dispatch]}function kf(l){var t=hl(),a=t.queue;if(a===null)throw Error(S(311));a.lastRenderedReducer=l;var u=a.dispatch,e=a.pending,n=t.memoizedState;if(e!==null){a.pending=null;var f=e=e.next;do n=l(n,f.action),f=f.next;while(f!==e);Xl(n,t.memoizedState)||(yl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,u]}function Y0(l,t,a){var u=B,e=hl(),n=C;if(n){if(a===void 0)throw Error(S(407));a=a()}else a=t();var f=!Xl((J||e).memoizedState,a);if(f&&(e.memoizedState=a,yl=!0),e=e.queue,lc(C0.bind(null,u,e,l),[l]),e.getSnapshot!==t||f||sl!==null&&sl.memoizedState.tag&1){if(u.flags|=2048,iu(9,{destroy:void 0},R0.bind(null,u,e,a,t),null),F===null)throw Error(S(349));n||(Ut&127)!==0||p0(u,t,a)}return a}function p0(l,t,a){l.flags|=16384,l={getSnapshot:t,value:a},t=B.updateQueue,t===null?(t=tn(),B.updateQueue=t,t.stores=[l]):(a=t.stores,a===null?t.stores=[l]:a.push(l))}function R0(l,t,a,u){t.value=a,t.getSnapshot=u,G0(t)&&Q0(l)}function C0(l,t,a){return a(function(){G0(t)&&Q0(l)})}function G0(l){var t=l.getSnapshot;l=l.value;try{var a=t();return!Xl(l,a)}catch{return!0}}function Q0(l){var t=za(l,2);t!==null&&xl(t,l,2)}function If(l){var t=Ul();if(typeof l=="function"){var a=l;if(l=a(),Na){Qt(!0);try{a()}finally{Qt(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_t,lastRenderedState:l},t}function X0(l,t,a,u){return l.baseState=a,Ff(l,J,typeof u=="function"?u:_t)}function Ys(l,t,a,u,e){if(fn(l))throw Error(S(485));if(l=t.action,l!==null){var n={payload:e,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){n.listeners.push(f)}};b.T!==null?a(!0):n.isTransition=!1,u(n),a=t.pending,a===null?(n.next=t.pending=n,Z0(t,n)):(n.next=a.next,t.pending=a.next=n)}}function Z0(l,t){var a=t.action,u=t.payload,e=l.state;if(t.isTransition){var n=b.T,f={};b.T=f;try{var c=a(e,u),i=b.S;i!==null&&i(f,c),V0(l,t,c)}catch(y){Pf(l,t,y)}finally{n!==null&&f.types!==null&&(n.types=f.types),b.T=n}}else try{n=a(e,u),V0(l,t,n)}catch(y){Pf(l,t,y)}}function V0(l,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(u){L0(l,t,u)},function(u){return Pf(l,t,u)}):L0(l,t,a)}function L0(l,t,a){t.status="fulfilled",t.value=a,r0(t),l.state=a,t=l.pending,t!==null&&(a=t.next,a===t?l.pending=null:(a=a.next,t.next=a,Z0(l,a)))}function Pf(l,t,a){var u=l.pending;if(l.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=a,r0(t),t=t.next;while(t!==u)}l.action=null}function r0(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function K0(l,t){return t}function J0(l,t){if(C){var a=F.formState;if(a!==null){l:{var u=B;if(C){if(tl){t:{for(var e=tl,n=at;e.nodeType!==8;){if(!n){e=null;break t}if(e=et(e.nextSibling),e===null){e=null;break t}}n=e.data,e=n==="F!"||n==="F"?e:null}if(e){tl=et(e.nextSibling),u=e.data==="F!";break l}}rt(u)}u=!1}u&&(t=a[0])}}return a=Ul(),a.memoizedState=a.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:K0,lastRenderedState:t},a.queue=u,a=sh.bind(null,B,u),u.dispatch=a,u=If(!1),n=nc.bind(null,B,!1,u.queue),u=Ul(),e={state:t,dispatch:null,action:l,pending:null},u.queue=e,a=Ys.bind(null,B,e,n,a),e.dispatch=a,u.memoizedState=l,[t,a,!1]}function w0(l){var t=hl();return W0(t,J,l)}function W0(l,t,a){if(t=Ff(l,t,K0)[0],l=un(_t)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=Wu(t)}catch(f){throw f===uu?we:f}else u=t;t=hl();var e=t.queue,n=e.dispatch;return a!==t.memoizedState&&(B.flags|=2048,iu(9,{destroy:void 0},ps.bind(null,e,a),null)),[u,n,l]}function ps(l,t){l.action=t}function $0(l){var t=hl(),a=J;if(a!==null)return W0(t,a,l);hl(),t=t.memoizedState,a=hl();var u=a.queue.dispatch;return a.memoizedState=l,[t,u,!1]}function iu(l,t,a,u){return l={tag:l,create:a,deps:u,inst:t,next:null},t=B.updateQueue,t===null&&(t=tn(),B.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=l.next=l:(u=a.next,a.next=l,l.next=u,t.lastEffect=l),l}function F0(){return hl().memoizedState}function en(l,t,a,u){var e=Ul();B.flags|=l,e.memoizedState=iu(1|t,{destroy:void 0},a,u===void 0?null:u)}function nn(l,t,a,u){var e=hl();u=u===void 0?null:u;var n=e.memoizedState.inst;J!==null&&u!==null&&rf(u,J.memoizedState.deps)?e.memoizedState=iu(t,n,a,u):(B.flags|=l,e.memoizedState=iu(1|t,n,a,u))}function k0(l,t){en(8390656,8,l,t)}function lc(l,t){nn(2048,8,l,t)}function Rs(l){B.flags|=4;var t=B.updateQueue;if(t===null)t=tn(),B.updateQueue=t,t.events=[l];else{var a=t.events;a===null?t.events=[l]:a.push(l)}}function I0(l){var t=hl().memoizedState;return Rs({ref:t,nextImpl:l}),function(){if((X&2)!==0)throw Error(S(440));return t.impl.apply(void 0,arguments)}}function P0(l,t){return nn(4,2,l,t)}function lh(l,t){return nn(4,4,l,t)}function th(l,t){if(typeof t=="function"){l=l();var a=t(l);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return l=l(),t.current=l,function(){t.current=null}}function ah(l,t,a){a=a!=null?a.concat([l]):null,nn(4,4,th.bind(null,t,l),a)}function tc(){}function uh(l,t){var a=hl();t=t===void 0?null:t;var u=a.memoizedState;return t!==null&&rf(t,u[1])?u[0]:(a.memoizedState=[l,t],l)}function eh(l,t){var a=hl();t=t===void 0?null:t;var u=a.memoizedState;if(t!==null&&rf(t,u[1]))return u[0];if(u=l(),Na){Qt(!0);try{l()}finally{Qt(!1)}}return a.memoizedState=[u,t],u}function ac(l,t,a){return a===void 0||(Ut&1073741824)!==0&&(p&261930)===0?l.memoizedState=t:(l.memoizedState=a,l=nv(),B.lanes|=l,Pt|=l,a)}function nh(l,t,a,u){return Xl(a,t)?a:nu.current!==null?(l=ac(l,a,u),Xl(l,t)||(yl=!0),l):(Ut&42)===0||(Ut&1073741824)!==0&&(p&261930)===0?(yl=!0,l.memoizedState=a):(l=nv(),B.lanes|=l,Pt|=l,t)}function fh(l,t,a,u,e){var n=E.p;E.p=n!==0&&8>n?n:8;var f=b.T,c={};b.T=c,nc(l,!1,t,a);try{var i=e(),y=b.S;if(y!==null&&y(c,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var g=Bs(i,u);$u(l,t,g,Jl(l))}else $u(l,t,u,Jl(l))}catch(z){$u(l,t,{then:function(){},status:"rejected",reason:z},Jl())}finally{E.p=n,f!==null&&c.types!==null&&(f.types=c.types),b.T=f}}function Cs(){}function uc(l,t,a,u){if(l.tag!==5)throw Error(S(476));var e=ch(l).queue;fh(l,e,t,H,a===null?Cs:function(){return ih(l),a(u)})}function ch(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_t,lastRenderedState:H},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_t,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function ih(l){var t=ch(l);t.next===null&&(t=l.alternate.memoizedState),$u(l,t.next.queue,{},Jl())}function ec(){return Al(ye)}function hh(){return hl().memoizedState}function vh(){return hl().memoizedState}function Gs(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=Jl();l=wt(a);var u=Wt(t,l,a);u!==null&&(xl(u,t,a),ru(u,t,a)),t={cache:xf()},l.payload=t;return}t=t.return}}function Qs(l,t,a){var u=Jl();a={lane:u,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},fn(l)?yh(t,a):(a=Ef(l,t,a,u),a!==null&&(xl(a,l,u),dh(a,t,u)))}function sh(l,t,a){var u=Jl();$u(l,t,a,u)}function $u(l,t,a,u){var e={lane:u,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(fn(l))yh(t,e);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var f=t.lastRenderedState,c=n(f,a);if(e.hasEagerState=!0,e.eagerState=c,Xl(c,f))return Xe(l,t,e,0),F===null&&Qe(),!1}catch{}finally{}if(a=Ef(l,t,e,u),a!==null)return xl(a,l,u),dh(a,t,u),!0}return!1}function nc(l,t,a,u){if(u={lane:2,revertLane:Cc(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},fn(l)){if(t)throw Error(S(479))}else t=Ef(l,a,u,2),t!==null&&xl(t,l,2)}function fn(l){var t=l.alternate;return l===B||t!==null&&t===B}function yh(l,t){fu=Pe=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function dh(l,t,a){if((a&4194048)!==0){var u=t.lanes;u&=l.pendingLanes,a|=u,t.lanes=a,bi(l,a)}}var Fu={readContext:Al,use:an,useCallback:fl,useContext:fl,useEffect:fl,useImperativeHandle:fl,useLayoutEffect:fl,useInsertionEffect:fl,useMemo:fl,useReducer:fl,useRef:fl,useState:fl,useDebugValue:fl,useDeferredValue:fl,useTransition:fl,useSyncExternalStore:fl,useId:fl,useHostTransitionStatus:fl,useFormState:fl,useActionState:fl,useOptimistic:fl,useMemoCache:fl,useCacheRefresh:fl};Fu.useEffectEvent=fl;var mh={readContext:Al,use:an,useCallback:function(l,t){return Ul().memoizedState=[l,t===void 0?null:t],l},useContext:Al,useEffect:k0,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,en(4194308,4,th.bind(null,t,l),a)},useLayoutEffect:function(l,t){return en(4194308,4,l,t)},useInsertionEffect:function(l,t){en(4,2,l,t)},useMemo:function(l,t){var a=Ul();t=t===void 0?null:t;var u=l();if(Na){Qt(!0);try{l()}finally{Qt(!1)}}return a.memoizedState=[u,t],u},useReducer:function(l,t,a){var u=Ul();if(a!==void 0){var e=a(t);if(Na){Qt(!0);try{a(t)}finally{Qt(!1)}}}else e=t;return u.memoizedState=u.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:e},u.queue=l,l=l.dispatch=Qs.bind(null,B,l),[u.memoizedState,l]},useRef:function(l){var t=Ul();return l={current:l},t.memoizedState=l},useState:function(l){l=If(l);var t=l.queue,a=sh.bind(null,B,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:tc,useDeferredValue:function(l,t){var a=Ul();return ac(a,l,t)},useTransition:function(){var l=If(!1);return l=fh.bind(null,B,l.queue,!0,!1),Ul().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var u=B,e=Ul();if(C){if(a===void 0)throw Error(S(407));a=a()}else{if(a=t(),F===null)throw Error(S(349));(p&127)!==0||p0(u,t,a)}e.memoizedState=a;var n={value:a,getSnapshot:t};return e.queue=n,k0(C0.bind(null,u,n,l),[l]),u.flags|=2048,iu(9,{destroy:void 0},R0.bind(null,u,n,a,t),null),a},useId:function(){var l=Ul(),t=F.identifierPrefix;if(C){var a=mt,u=dt;a=(u&~(1<<32-Ql(u)-1)).toString(32)+a,t="_"+t+"R_"+a,a=ln++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=qs++,t="_"+t+"r_"+a.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:ec,useFormState:J0,useActionState:J0,useOptimistic:function(l){var t=Ul();t.memoizedState=t.baseState=l;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=nc.bind(null,B,!0,a),a.dispatch=t,[l,t]},useMemoCache:$f,useCacheRefresh:function(){return Ul().memoizedState=Gs.bind(null,B)},useEffectEvent:function(l){var t=Ul(),a={impl:l};return t.memoizedState=a,function(){if((X&2)!==0)throw Error(S(440));return a.impl.apply(void 0,arguments)}}},fc={readContext:Al,use:an,useCallback:uh,useContext:Al,useEffect:lc,useImperativeHandle:ah,useInsertionEffect:P0,useLayoutEffect:lh,useMemo:eh,useReducer:un,useRef:F0,useState:function(){return un(_t)},useDebugValue:tc,useDeferredValue:function(l,t){var a=hl();return nh(a,J.memoizedState,l,t)},useTransition:function(){var l=un(_t)[0],t=hl().memoizedState;return[typeof l=="boolean"?l:Wu(l),t]},useSyncExternalStore:Y0,useId:hh,useHostTransitionStatus:ec,useFormState:w0,useActionState:w0,useOptimistic:function(l,t){var a=hl();return X0(a,J,l,t)},useMemoCache:$f,useCacheRefresh:vh};fc.useEffectEvent=I0;var Sh={readContext:Al,use:an,useCallback:uh,useContext:Al,useEffect:lc,useImperativeHandle:ah,useInsertionEffect:P0,useLayoutEffect:lh,useMemo:eh,useReducer:kf,useRef:F0,useState:function(){return kf(_t)},useDebugValue:tc,useDeferredValue:function(l,t){var a=hl();return J===null?ac(a,l,t):nh(a,J.memoizedState,l,t)},useTransition:function(){var l=kf(_t)[0],t=hl().memoizedState;return[typeof l=="boolean"?l:Wu(l),t]},useSyncExternalStore:Y0,useId:hh,useHostTransitionStatus:ec,useFormState:$0,useActionState:$0,useOptimistic:function(l,t){var a=hl();return J!==null?X0(a,J,l,t):(a.baseState=l,[l,a.queue.dispatch])},useMemoCache:$f,useCacheRefresh:vh};Sh.useEffectEvent=I0;function cc(l,t,a,u){t=l.memoizedState,a=a(u,t),a=a==null?t:N({},t,a),l.memoizedState=a,l.lanes===0&&(l.updateQueue.baseState=a)}var ic={enqueueSetState:function(l,t,a){l=l._reactInternals;var u=Jl(),e=wt(u);e.payload=t,a!=null&&(e.callback=a),t=Wt(l,e,u),t!==null&&(xl(t,l,u),ru(t,l,u))},enqueueReplaceState:function(l,t,a){l=l._reactInternals;var u=Jl(),e=wt(u);e.tag=1,e.payload=t,a!=null&&(e.callback=a),t=Wt(l,e,u),t!==null&&(xl(t,l,u),ru(t,l,u))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var a=Jl(),u=wt(a);u.tag=2,t!=null&&(u.callback=t),t=Wt(l,u,a),t!==null&&(xl(t,l,a),ru(t,l,a))}};function gh(l,t,a,u,e,n,f){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(u,n,f):t.prototype&&t.prototype.isPureReactComponent?!Ru(a,u)||!Ru(e,n):!0}function oh(l,t,a,u){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,u),t.state!==l&&ic.enqueueReplaceState(t,t.state,null)}function Ha(l,t){var a=t;if("ref"in t){a={};for(var u in t)u!=="ref"&&(a[u]=t[u])}if(l=l.defaultProps){a===t&&(a=N({},a));for(var e in l)a[e]===void 0&&(a[e]=l[e])}return a}function bh(l){Ge(l)}function zh(l){console.error(l)}function Th(l){Ge(l)}function cn(l,t){try{var a=l.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(u){setTimeout(function(){throw u})}}function Ah(l,t,a){try{var u=l.onCaughtError;u(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function hc(l,t,a){return a=wt(a),a.tag=3,a.payload={element:null},a.callback=function(){cn(l,t)},a}function Eh(l){return l=wt(l),l.tag=3,l}function Mh(l,t,a,u){var e=a.type.getDerivedStateFromError;if(typeof e=="function"){var n=u.value;l.payload=function(){return e(n)},l.callback=function(){Ah(t,a,u)}}var f=a.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(l.callback=function(){Ah(t,a,u),typeof e!="function"&&(la===null?la=new Set([this]):la.add(this));var c=u.stack;this.componentDidCatch(u.value,{componentStack:c!==null?c:""})})}function Xs(l,t,a,u,e){if(a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=a.alternate,t!==null&&lu(t,a,e,!0),a=Vl.current,a!==null){switch(a.tag){case 31:case 13:return ut===null?Tn():a.alternate===null&&cl===0&&(cl=3),a.flags&=-257,a.flags|=65536,a.lanes=e,u===We?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([u]):t.add(u),Yc(l,u,e)),!1;case 22:return a.flags|=65536,u===We?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([u]):a.add(u)),Yc(l,u,e)),!1}throw Error(S(435,a.tag))}return Yc(l,u,e),Tn(),!1}if(C)return t=Vl.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=e,u!==Nf&&(l=Error(S(422),{cause:u}),Qu(Pl(l,a)))):(u!==Nf&&(t=Error(S(423),{cause:u}),Qu(Pl(t,a))),l=l.current.alternate,l.flags|=65536,e&=-e,l.lanes|=e,u=Pl(u,a),e=hc(l.stateNode,u,e),Qf(l,e),cl!==4&&(cl=2)),!1;var n=Error(S(520),{cause:u});if(n=Pl(n,a),ee===null?ee=[n]:ee.push(n),cl!==4&&(cl=2),t===null)return!0;u=Pl(u,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,l=e&-e,a.lanes|=l,l=hc(a.stateNode,u,l),Qf(a,l),!1;case 1:if(t=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(la===null||!la.has(n))))return a.flags|=65536,e&=-e,a.lanes|=e,e=Eh(e),Mh(e,l,a,u),Qf(a,e),!1}a=a.return}while(a!==null);return!1}var vc=Error(S(461)),yl=!1;function El(l,t,a,u){t.child=l===null?_0(t,null,a,u):_a(t,l.child,a,u)}function Oh(l,t,a,u,e){a=a.render;var n=t.ref;if("ref"in u){var f={};for(var c in u)c!=="ref"&&(f[c]=u[c])}else f=u;return Ma(t),u=Kf(l,t,a,f,n,e),c=Jf(),l!==null&&!yl?(wf(l,t,e),Nt(l,t,e)):(C&&c&&Uf(t),t.flags|=1,El(l,t,u,e),t.child)}function Dh(l,t,a,u,e){if(l===null){var n=a.type;return typeof n=="function"&&!Mf(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,Uh(l,t,n,u,e)):(l=Ve(a.type,null,u,t,t.mode,e),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!bc(l,e)){var f=n.memoizedProps;if(a=a.compare,a=a!==null?a:Ru,a(f,u)&&l.ref===t.ref)return Nt(l,t,e)}return t.flags|=1,l=Et(n,u),l.ref=t.ref,l.return=t,t.child=l}function Uh(l,t,a,u,e){if(l!==null){var n=l.memoizedProps;if(Ru(n,u)&&l.ref===t.ref)if(yl=!1,t.pendingProps=u=n,bc(l,e))(l.flags&131072)!==0&&(yl=!0);else return t.lanes=l.lanes,Nt(l,t,e)}return sc(l,t,a,u,e)}function _h(l,t,a,u){var e=u.children,n=l!==null?l.memoizedState:null;if(l===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((t.flags&128)!==0){if(n=n!==null?n.baseLanes|a:a,l!==null){for(u=t.child=l.child,e=0;u!==null;)e=e|u.lanes|u.childLanes,u=u.sibling;u=e&~n}else u=0,t.child=null;return Nh(l,t,n,a,u)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Je(t,n!==null?n.cachePool:null),n!==null?j0(t,n):Zf(),B0(t);else return u=t.lanes=536870912,Nh(l,t,n!==null?n.baseLanes|a:a,a,u)}else n!==null?(Je(t,n.cachePool),j0(t,n),Ft(),t.memoizedState=null):(l!==null&&Je(t,null),Zf(),Ft());return El(l,t,e,a),t.child}function ku(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Nh(l,t,a,u,e){var n=pf();return n=n===null?null:{parent:vl._currentValue,pool:n},t.memoizedState={baseLanes:a,cachePool:n},l!==null&&Je(t,null),Zf(),B0(t),l!==null&&lu(l,t,u,!0),t.childLanes=e,null}function hn(l,t){return t=sn({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Hh(l,t,a){return _a(t,l.child,null,a),l=hn(t,t.pendingProps),l.flags|=2,Ll(t),t.memoizedState=null,l}function Zs(l,t,a){var u=t.pendingProps,e=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(C){if(u.mode==="hidden")return l=hn(t,u),t.lanes=536870912,ku(null,l);if(Lf(t),(l=tl)?(l=Zv(l,at),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Vt!==null?{id:dt,overflow:mt}:null,retryLane:536870912,hydrationErrors:null},a=y0(l),a.return=t,t.child=a,Tl=t,tl=null)):l=null,l===null)throw rt(t);return t.lanes=536870912,null}return hn(t,u)}var n=l.memoizedState;if(n!==null){var f=n.dehydrated;if(Lf(t),e)if(t.flags&256)t.flags&=-257,t=Hh(l,t,a);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(S(558));else if(yl||lu(l,t,a,!1),e=(a&l.childLanes)!==0,yl||e){if(u=F,u!==null&&(f=zi(u,a),f!==0&&f!==n.retryLane))throw n.retryLane=f,za(l,f),xl(u,l,f),vc;Tn(),t=Hh(l,t,a)}else l=n.treeContext,tl=et(f.nextSibling),Tl=t,C=!0,Lt=null,at=!1,l!==null&&S0(t,l),t=hn(t,u),t.flags|=4096;return t}return l=Et(l.child,{mode:u.mode,children:u.children}),l.ref=t.ref,t.child=l,l.return=t,l}function vn(l,t){var a=t.ref;if(a===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(S(284));(l===null||l.ref!==a)&&(t.flags|=4194816)}}function sc(l,t,a,u,e){return Ma(t),a=Kf(l,t,a,u,void 0,e),u=Jf(),l!==null&&!yl?(wf(l,t,e),Nt(l,t,e)):(C&&u&&Uf(t),t.flags|=1,El(l,t,a,e),t.child)}function jh(l,t,a,u,e,n){return Ma(t),t.updateQueue=null,a=x0(t,u,a,e),q0(l),u=Jf(),l!==null&&!yl?(wf(l,t,n),Nt(l,t,n)):(C&&u&&Uf(t),t.flags|=1,El(l,t,a,n),t.child)}function Bh(l,t,a,u,e){if(Ma(t),t.stateNode===null){var n=Fa,f=a.contextType;typeof f=="object"&&f!==null&&(n=Al(f)),n=new a(u,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ic,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=u,n.state=t.memoizedState,n.refs={},Cf(t),f=a.contextType,n.context=typeof f=="object"&&f!==null?Al(f):Fa,n.state=t.memoizedState,f=a.getDerivedStateFromProps,typeof f=="function"&&(cc(t,a,f,u),n.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(f=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),f!==n.state&&ic.enqueueReplaceState(n,n.state,null),Ju(t,u,n,e),Ku(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),u=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,i=Ha(a,c);n.props=i;var y=n.context,g=a.contextType;f=Fa,typeof g=="object"&&g!==null&&(f=Al(g));var z=a.getDerivedStateFromProps;g=typeof z=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,g||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||y!==f)&&oh(t,n,u,f),Jt=!1;var d=t.memoizedState;n.state=d,Ju(t,u,n,e),Ku(),y=t.memoizedState,c||d!==y||Jt?(typeof z=="function"&&(cc(t,a,z,u),y=t.memoizedState),(i=Jt||gh(t,a,i,u,d,y,f))?(g||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=u,t.memoizedState=y),n.props=u,n.state=y,n.context=f,u=i):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),u=!1)}else{n=t.stateNode,Gf(l,t),f=t.memoizedProps,g=Ha(a,f),n.props=g,z=t.pendingProps,d=n.context,y=a.contextType,i=Fa,typeof y=="object"&&y!==null&&(i=Al(y)),c=a.getDerivedStateFromProps,(y=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(f!==z||d!==i)&&oh(t,n,u,i),Jt=!1,d=t.memoizedState,n.state=d,Ju(t,u,n,e),Ku();var m=t.memoizedState;f!==z||d!==m||Jt||l!==null&&l.dependencies!==null&&re(l.dependencies)?(typeof c=="function"&&(cc(t,a,c,u),m=t.memoizedState),(g=Jt||gh(t,a,g,u,d,m,i)||l!==null&&l.dependencies!==null&&re(l.dependencies))?(y||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(u,m,i),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(u,m,i)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&d===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&d===l.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=m),n.props=u,n.state=m,n.context=i,u=g):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&d===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&d===l.memoizedState||(t.flags|=1024),u=!1)}return n=u,vn(l,t),u=(t.flags&128)!==0,n||u?(n=t.stateNode,a=u&&typeof a.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&u?(t.child=_a(t,l.child,null,e),t.child=_a(t,null,a,e)):El(l,t,a,e),t.memoizedState=n.state,l=t.child):l=Nt(l,t,e),l}function qh(l,t,a,u){return Aa(),t.flags|=256,El(l,t,a,u),t.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function dc(l){return{baseLanes:l,cachePool:A0()}}function mc(l,t,a){return l=l!==null?l.childLanes&~a:0,t&&(l|=Kl),l}function xh(l,t,a){var u=t.pendingProps,e=!1,n=(t.flags&128)!==0,f;if((f=n)||(f=l!==null&&l.memoizedState===null?!1:(il.current&2)!==0),f&&(e=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,l===null){if(C){if(e?$t(t):Ft(),(l=tl)?(l=Zv(l,at),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:Vt!==null?{id:dt,overflow:mt}:null,retryLane:536870912,hydrationErrors:null},a=y0(l),a.return=t,t.child=a,Tl=t,tl=null)):l=null,l===null)throw rt(t);return Fc(l)?t.lanes=32:t.lanes=536870912,null}var c=u.children;return u=u.fallback,e?(Ft(),e=t.mode,c=sn({mode:"hidden",children:c},e),u=Ta(u,e,a,null),c.return=t,u.return=t,c.sibling=u,t.child=c,u=t.child,u.memoizedState=dc(a),u.childLanes=mc(l,f,a),t.memoizedState=yc,ku(null,u)):($t(t),Sc(t,c))}var i=l.memoizedState;if(i!==null&&(c=i.dehydrated,c!==null)){if(n)t.flags&256?($t(t),t.flags&=-257,t=gc(l,t,a)):t.memoizedState!==null?(Ft(),t.child=l.child,t.flags|=128,t=null):(Ft(),c=u.fallback,e=t.mode,u=sn({mode:"visible",children:u.children},e),c=Ta(c,e,a,null),c.flags|=2,u.return=t,c.return=t,u.sibling=c,t.child=u,_a(t,l.child,null,a),u=t.child,u.memoizedState=dc(a),u.childLanes=mc(l,f,a),t.memoizedState=yc,t=ku(null,u));else if($t(t),Fc(c)){if(f=c.nextSibling&&c.nextSibling.dataset,f)var y=f.dgst;f=y,u=Error(S(419)),u.stack="",u.digest=f,Qu({value:u,source:null,stack:null}),t=gc(l,t,a)}else if(yl||lu(l,t,a,!1),f=(a&l.childLanes)!==0,yl||f){if(f=F,f!==null&&(u=zi(f,a),u!==0&&u!==i.retryLane))throw i.retryLane=u,za(l,u),xl(f,l,u),vc;$c(c)||Tn(),t=gc(l,t,a)}else $c(c)?(t.flags|=192,t.child=l.child,t=null):(l=i.treeContext,tl=et(c.nextSibling),Tl=t,C=!0,Lt=null,at=!1,l!==null&&S0(t,l),t=Sc(t,u.children),t.flags|=4096);return t}return e?(Ft(),c=u.fallback,e=t.mode,i=l.child,y=i.sibling,u=Et(i,{mode:"hidden",children:u.children}),u.subtreeFlags=i.subtreeFlags&65011712,y!==null?c=Et(y,c):(c=Ta(c,e,a,null),c.flags|=2),c.return=t,u.return=t,u.sibling=c,t.child=u,ku(null,u),u=t.child,c=l.child.memoizedState,c===null?c=dc(a):(e=c.cachePool,e!==null?(i=vl._currentValue,e=e.parent!==i?{parent:i,pool:i}:e):e=A0(),c={baseLanes:c.baseLanes|a,cachePool:e}),u.memoizedState=c,u.childLanes=mc(l,f,a),t.memoizedState=yc,ku(l.child,u)):($t(t),a=l.child,l=a.sibling,a=Et(a,{mode:"visible",children:u.children}),a.return=t,a.sibling=null,l!==null&&(f=t.deletions,f===null?(t.deletions=[l],t.flags|=16):f.push(l)),t.child=a,t.memoizedState=null,a)}function Sc(l,t){return t=sn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function sn(l,t){return l=Zl(22,l,null,t),l.lanes=0,l}function gc(l,t,a){return _a(t,l.child,null,a),l=Sc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Yh(l,t,a){l.lanes|=t;var u=l.alternate;u!==null&&(u.lanes|=t),Bf(l.return,t,a)}function oc(l,t,a,u,e,n){var f=l.memoizedState;f===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:e,treeForkCount:n}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=u,f.tail=a,f.tailMode=e,f.treeForkCount=n)}function ph(l,t,a){var u=t.pendingProps,e=u.revealOrder,n=u.tail;u=u.children;var f=il.current,c=(f&2)!==0;if(c?(f=f&1|2,t.flags|=128):f&=1,V(il,f),El(l,t,u,a),u=C?Gu:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Yh(l,a,t);else if(l.tag===19)Yh(l,a,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(e){case"forwards":for(a=t.child,e=null;a!==null;)l=a.alternate,l!==null&&Ie(l)===null&&(e=a),a=a.sibling;a=e,a===null?(e=t.child,t.child=null):(e=a.sibling,a.sibling=null),oc(t,!1,e,a,n,u);break;case"backwards":case"unstable_legacy-backwards":for(a=null,e=t.child,t.child=null;e!==null;){if(l=e.alternate,l!==null&&Ie(l)===null){t.child=e;break}l=e.sibling,e.sibling=a,a=e,e=l}oc(t,!0,a,null,n,u);break;case"together":oc(t,!1,null,null,void 0,u);break;default:t.memoizedState=null}return t.child}function Nt(l,t,a){if(l!==null&&(t.dependencies=l.dependencies),Pt|=t.lanes,(a&t.childLanes)===0)if(l!==null){if(lu(l,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(S(153));if(t.child!==null){for(l=t.child,a=Et(l,l.pendingProps),t.child=a,a.return=t;l.sibling!==null;)l=l.sibling,a=a.sibling=Et(l,l.pendingProps),a.return=t;a.sibling=null}return t.child}function bc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&re(l)))}function Vs(l,t,a){switch(t.tag){case 3:Ae(t,t.stateNode.containerInfo),Kt(t,vl,l.memoizedState.cache),Aa();break;case 27:case 5:Zn(t);break;case 4:Ae(t,t.stateNode.containerInfo);break;case 10:Kt(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Lf(t),null;break;case 13:var u=t.memoizedState;if(u!==null)return u.dehydrated!==null?($t(t),t.flags|=128,null):(a&t.child.childLanes)!==0?xh(l,t,a):($t(t),l=Nt(l,t,a),l!==null?l.sibling:null);$t(t);break;case 19:var e=(l.flags&128)!==0;if(u=(a&t.childLanes)!==0,u||(lu(l,t,a,!1),u=(a&t.childLanes)!==0),e){if(u)return ph(l,t,a);t.flags|=128}if(e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null,e.lastEffect=null),V(il,il.current),u)break;return null;case 22:return t.lanes=0,_h(l,t,a,t.pendingProps);case 24:Kt(t,vl,l.memoizedState.cache)}return Nt(l,t,a)}function Rh(l,t,a){if(l!==null)if(l.memoizedProps!==t.pendingProps)yl=!0;else{if(!bc(l,a)&&(t.flags&128)===0)return yl=!1,Vs(l,t,a);yl=(l.flags&131072)!==0}else yl=!1,C&&(t.flags&1048576)!==0&&m0(t,Gu,t.index);switch(t.lanes=0,t.tag){case 16:l:{var u=t.pendingProps;if(l=Da(t.elementType),t.type=l,typeof l=="function")Mf(l)?(u=Ha(l,u),t.tag=1,t=Bh(null,t,l,u,a)):(t.tag=0,t=sc(null,t,l,u,a));else{if(l!=null){var e=l.$$typeof;if(e===Ct){t.tag=11,t=Oh(null,t,l,u,a);break l}else if(e===ot){t.tag=14,t=Dh(null,t,l,u,a);break l}}throw t=Mu(l)||l,Error(S(306,t,""))}}return t;case 0:return sc(l,t,t.type,t.pendingProps,a);case 1:return u=t.type,e=Ha(u,t.pendingProps),Bh(l,t,u,e,a);case 3:l:{if(Ae(t,t.stateNode.containerInfo),l===null)throw Error(S(387));u=t.pendingProps;var n=t.memoizedState;e=n.element,Gf(l,t),Ju(t,u,null,a);var f=t.memoizedState;if(u=f.cache,Kt(t,vl,u),u!==n.cache&&qf(t,[vl],a,!0),Ku(),u=f.element,n.isDehydrated)if(n={element:u,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=qh(l,t,u,a);break l}else if(u!==e){e=Pl(Error(S(424)),t),Qu(e),t=qh(l,t,u,a);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(tl=et(l.firstChild),Tl=t,C=!0,Lt=null,at=!0,a=_0(t,null,u,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Aa(),u===e){t=Nt(l,t,a);break l}El(l,t,u,a)}t=t.child}return t;case 26:return vn(l,t),l===null?(a=wv(t.type,null,t.pendingProps,null))?t.memoizedState=a:C||(a=t.type,l=t.pendingProps,u=_n(Gt.current).createElement(a),u[zl]=t,u[_l]=l,Ml(u,a,l),ol(u),t.stateNode=u):t.memoizedState=wv(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Zn(t),l===null&&C&&(u=t.stateNode=rv(t.type,t.pendingProps,Gt.current),Tl=t,at=!0,e=tl,ea(t.type)?(kc=e,tl=et(u.firstChild)):tl=e),El(l,t,t.pendingProps.children,a),vn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&C&&((e=u=tl)&&(u=by(u,t.type,t.pendingProps,at),u!==null?(t.stateNode=u,Tl=t,tl=et(u.firstChild),at=!1,e=!0):e=!1),e||rt(t)),Zn(t),e=t.type,n=t.pendingProps,f=l!==null?l.memoizedProps:null,u=n.children,Jc(e,n)?u=null:f!==null&&Jc(e,f)&&(t.flags|=32),t.memoizedState!==null&&(e=Kf(l,t,xs,null,null,a),ye._currentValue=e),vn(l,t),El(l,t,u,a),t.child;case 6:return l===null&&C&&((l=a=tl)&&(a=zy(a,t.pendingProps,at),a!==null?(t.stateNode=a,Tl=t,tl=null,l=!0):l=!1),l||rt(t)),null;case 13:return xh(l,t,a);case 4:return Ae(t,t.stateNode.containerInfo),u=t.pendingProps,l===null?t.child=_a(t,null,u,a):El(l,t,u,a),t.child;case 11:return Oh(l,t,t.type,t.pendingProps,a);case 7:return El(l,t,t.pendingProps,a),t.child;case 8:return El(l,t,t.pendingProps.children,a),t.child;case 12:return El(l,t,t.pendingProps.children,a),t.child;case 10:return u=t.pendingProps,Kt(t,t.type,u.value),El(l,t,u.children,a),t.child;case 9:return e=t.type._context,u=t.pendingProps.children,Ma(t),e=Al(e),u=u(e),t.flags|=1,El(l,t,u,a),t.child;case 14:return Dh(l,t,t.type,t.pendingProps,a);case 15:return Uh(l,t,t.type,t.pendingProps,a);case 19:return ph(l,t,a);case 31:return Zs(l,t,a);case 22:return _h(l,t,a,t.pendingProps);case 24:return Ma(t),u=Al(vl),l===null?(e=pf(),e===null&&(e=F,n=xf(),e.pooledCache=n,n.refCount++,n!==null&&(e.pooledCacheLanes|=a),e=n),t.memoizedState={parent:u,cache:e},Cf(t),Kt(t,vl,e)):((l.lanes&a)!==0&&(Gf(l,t),Ju(t,null,null,a),Ku()),e=l.memoizedState,n=t.memoizedState,e.parent!==u?(e={parent:u,cache:u},t.memoizedState=e,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=e),Kt(t,vl,u)):(u=n.cache,Kt(t,vl,u),u!==e.cache&&qf(t,[vl],a,!0))),El(l,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(S(156,t.tag))}function Ht(l){l.flags|=4}function zc(l,t,a,u,e){if((t=(l.mode&32)!==0)&&(t=!1),t){if(l.flags|=16777216,(e&335544128)===e)if(l.stateNode.complete)l.flags|=8192;else if(hv())l.flags|=8192;else throw Ua=We,Rf}else l.flags&=-16777217}function Ch(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Iv(t))if(hv())l.flags|=8192;else throw Ua=We,Rf}function yn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?gi():536870912,l.lanes|=t,yu|=t)}function Iu(l,t){if(!C)switch(l.tailMode){case"hidden":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?l.tail=null:a.sibling=null;break;case"collapsed":a=l.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:u.sibling=null}}function al(l){var t=l.alternate!==null&&l.alternate.child===l.child,a=0,u=0;if(t)for(var e=l.child;e!==null;)a|=e.lanes|e.childLanes,u|=e.subtreeFlags&65011712,u|=e.flags&65011712,e.return=l,e=e.sibling;else for(e=l.child;e!==null;)a|=e.lanes|e.childLanes,u|=e.subtreeFlags,u|=e.flags,e.return=l,e=e.sibling;return l.subtreeFlags|=u,l.childLanes=a,t}function Ls(l,t,a){var u=t.pendingProps;switch(_f(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return al(t),null;case 1:return al(t),null;case 3:return a=t.stateNode,u=null,l!==null&&(u=l.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Dt(vl),Ra(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(l===null||l.child===null)&&(Pa(t)?Ht(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Hf())),al(t),null;case 26:var e=t.type,n=t.memoizedState;return l===null?(Ht(t),n!==null?(al(t),Ch(t,n)):(al(t),zc(t,e,null,u,a))):n?n!==l.memoizedState?(Ht(t),al(t),Ch(t,n)):(al(t),t.flags&=-16777217):(l=l.memoizedProps,l!==u&&Ht(t),al(t),zc(t,e,l,u,a)),null;case 27:if(Ee(t),a=Gt.current,e=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==u&&Ht(t);else{if(!u){if(t.stateNode===null)throw Error(S(166));return al(t),null}l=gl.current,Pa(t)?g0(t):(l=rv(e,u,a),t.stateNode=l,Ht(t))}return al(t),null;case 5:if(Ee(t),e=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==u&&Ht(t);else{if(!u){if(t.stateNode===null)throw Error(S(166));return al(t),null}if(n=gl.current,Pa(t))g0(t);else{var f=_n(Gt.current);switch(n){case 1:n=f.createElementNS("http://www.w3.org/2000/svg",e);break;case 2:n=f.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;default:switch(e){case"svg":n=f.createElementNS("http://www.w3.org/2000/svg",e);break;case"math":n=f.createElementNS("http://www.w3.org/1998/Math/MathML",e);break;case"script":n=f.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof u.is=="string"?f.createElement("select",{is:u.is}):f.createElement("select"),u.multiple?n.multiple=!0:u.size&&(n.size=u.size);break;default:n=typeof u.is=="string"?f.createElement(e,{is:u.is}):f.createElement(e)}}n[zl]=t,n[_l]=u;l:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)n.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break l;for(;f.sibling===null;){if(f.return===null||f.return===t)break l;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=n;l:switch(Ml(n,e,u),e){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break l;case"img":u=!0;break l;default:u=!1}u&&Ht(t)}}return al(t),zc(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,a),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==u&&Ht(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error(S(166));if(l=Gt.current,Pa(t)){if(l=t.stateNode,a=t.memoizedProps,u=null,e=Tl,e!==null)switch(e.tag){case 27:case 5:u=e.memoizedProps}l[zl]=t,l=!!(l.nodeValue===a||u!==null&&u.suppressHydrationWarning===!0||xv(l.nodeValue,a)),l||rt(t,!0)}else l=_n(l).createTextNode(u),l[zl]=t,t.stateNode=l}return al(t),null;case 31:if(a=t.memoizedState,l===null||l.memoizedState!==null){if(u=Pa(t),a!==null){if(l===null){if(!u)throw Error(S(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(S(557));l[zl]=t}else Aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;al(t),l=!1}else a=Hf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=a),l=!0;if(!l)return t.flags&256?(Ll(t),t):(Ll(t),null);if((t.flags&128)!==0)throw Error(S(558))}return al(t),null;case 13:if(u=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(e=Pa(t),u!==null&&u.dehydrated!==null){if(l===null){if(!e)throw Error(S(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e[zl]=t}else Aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;al(t),e=!1}else e=Hf(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),e=!0;if(!e)return t.flags&256?(Ll(t),t):(Ll(t),null)}return Ll(t),(t.flags&128)!==0?(t.lanes=a,t):(a=u!==null,l=l!==null&&l.memoizedState!==null,a&&(u=t.child,e=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(e=u.alternate.memoizedState.cachePool.pool),n=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(n=u.memoizedState.cachePool.pool),n!==e&&(u.flags|=2048)),a!==l&&a&&(t.child.flags|=8192),yn(t,t.updateQueue),al(t),null);case 4:return Ra(),l===null&&Zc(t.stateNode.containerInfo),al(t),null;case 10:return Dt(t.type),al(t),null;case 19:if(nl(il),u=t.memoizedState,u===null)return al(t),null;if(e=(t.flags&128)!==0,n=u.rendering,n===null)if(e)Iu(u,!1);else{if(cl!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=Ie(l),n!==null){for(t.flags|=128,Iu(u,!1),l=n.updateQueue,t.updateQueue=l,yn(t,l),t.subtreeFlags=0,l=a,a=t.child;a!==null;)s0(a,l),a=a.sibling;return V(il,il.current&1|2),C&&Mt(t,u.treeForkCount),t.child}l=l.sibling}u.tail!==null&&Cl()>on&&(t.flags|=128,e=!0,Iu(u,!1),t.lanes=4194304)}else{if(!e)if(l=Ie(n),l!==null){if(t.flags|=128,e=!0,l=l.updateQueue,t.updateQueue=l,yn(t,l),Iu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!C)return al(t),null}else 2*Cl()-u.renderingStartTime>on&&a!==536870912&&(t.flags|=128,e=!0,Iu(u,!1),t.lanes=4194304);u.isBackwards?(n.sibling=t.child,t.child=n):(l=u.last,l!==null?l.sibling=n:t.child=n,u.last=n)}return u.tail!==null?(l=u.tail,u.rendering=l,u.tail=l.sibling,u.renderingStartTime=Cl(),l.sibling=null,a=il.current,V(il,e?a&1|2:a&1),C&&Mt(t,u.treeForkCount),l):(al(t),null);case 22:case 23:return Ll(t),Vf(),u=t.memoizedState!==null,l!==null?l.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(a&536870912)!==0&&(t.flags&128)===0&&(al(t),t.subtreeFlags&6&&(t.flags|=8192)):al(t),a=t.updateQueue,a!==null&&yn(t,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==a&&(t.flags|=2048),l!==null&&nl(Oa),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Dt(vl),al(t),null;case 25:return null;case 30:return null}throw Error(S(156,t.tag))}function rs(l,t){switch(_f(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return Dt(vl),Ra(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Ee(t),null;case 31:if(t.memoizedState!==null){if(Ll(t),t.alternate===null)throw Error(S(340));Aa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(Ll(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(S(340));Aa()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return nl(il),null;case 4:return Ra(),null;case 10:return Dt(t.type),null;case 22:case 23:return Ll(t),Vf(),l!==null&&nl(Oa),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return Dt(vl),null;case 25:return null;default:return null}}function Gh(l,t){switch(_f(t),t.tag){case 3:Dt(vl),Ra();break;case 26:case 27:case 5:Ee(t);break;case 4:Ra();break;case 31:t.memoizedState!==null&&Ll(t);break;case 13:Ll(t);break;case 19:nl(il);break;case 10:Dt(t.type);break;case 22:case 23:Ll(t),Vf(),l!==null&&nl(Oa);break;case 24:Dt(vl)}}function Pu(l,t){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var e=u.next;a=e;do{if((a.tag&l)===l){u=void 0;var n=a.create,f=a.inst;u=n(),f.destroy=u}a=a.next}while(a!==e)}}catch(c){K(t,t.return,c)}}function kt(l,t,a){try{var u=t.updateQueue,e=u!==null?u.lastEffect:null;if(e!==null){var n=e.next;u=n;do{if((u.tag&l)===l){var f=u.inst,c=f.destroy;if(c!==void 0){f.destroy=void 0,e=t;var i=a,y=c;try{y()}catch(g){K(e,i,g)}}}u=u.next}while(u!==n)}}catch(g){K(t,t.return,g)}}function Qh(l){var t=l.updateQueue;if(t!==null){var a=l.stateNode;try{H0(t,a)}catch(u){K(l,l.return,u)}}}function Xh(l,t,a){a.props=Ha(l.type,l.memoizedProps),a.state=l.memoizedState;try{a.componentWillUnmount()}catch(u){K(l,t,u)}}function le(l,t){try{var a=l.ref;if(a!==null){switch(l.tag){case 26:case 27:case 5:var u=l.stateNode;break;case 30:u=l.stateNode;break;default:u=l.stateNode}typeof a=="function"?l.refCleanup=a(u):a.current=u}}catch(e){K(l,t,e)}}function St(l,t){var a=l.ref,u=l.refCleanup;if(a!==null)if(typeof u=="function")try{u()}catch(e){K(l,t,e)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(e){K(l,t,e)}else a.current=null}function Zh(l){var t=l.type,a=l.memoizedProps,u=l.stateNode;try{l:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&u.focus();break l;case"img":a.src?u.src=a.src:a.srcSet&&(u.srcset=a.srcSet)}}catch(e){K(l,l.return,e)}}function Tc(l,t,a){try{var u=l.stateNode;yy(u,l.type,a,t),u[_l]=t}catch(e){K(l,l.return,e)}}function Vh(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ea(l.type)||l.tag===4}function Ac(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||Vh(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&&ea(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 Ec(l,t,a){var u=l.tag;if(u===5||u===6)l=l.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(l,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(l),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Tt));else if(u!==4&&(u===27&&ea(l.type)&&(a=l.stateNode,t=null),l=l.child,l!==null))for(Ec(l,t,a),l=l.sibling;l!==null;)Ec(l,t,a),l=l.sibling}function dn(l,t,a){var u=l.tag;if(u===5||u===6)l=l.stateNode,t?a.insertBefore(l,t):a.appendChild(l);else if(u!==4&&(u===27&&ea(l.type)&&(a=l.stateNode),l=l.child,l!==null))for(dn(l,t,a),l=l.sibling;l!==null;)dn(l,t,a),l=l.sibling}function Lh(l){var t=l.stateNode,a=l.memoizedProps;try{for(var u=l.type,e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Ml(t,u,a),t[zl]=l,t[_l]=a}catch(n){K(l,l.return,n)}}var jt=!1,dl=!1,Mc=!1,rh=typeof WeakSet=="function"?WeakSet:Set,bl=null;function Ks(l,t){if(l=l.containerInfo,rc=Yn,l=a0(l),gf(l)){if("selectionStart"in l)var a={start:l.selectionStart,end:l.selectionEnd};else l:{a=(a=l.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;var e=u.anchorOffset,n=u.focusNode;u=u.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break l}var f=0,c=-1,i=-1,y=0,g=0,z=l,d=null;t:for(;;){for(var m;z!==a||e!==0&&z.nodeType!==3||(c=f+e),z!==n||u!==0&&z.nodeType!==3||(i=f+u),z.nodeType===3&&(f+=z.nodeValue.length),(m=z.firstChild)!==null;)d=z,z=m;for(;;){if(z===l)break t;if(d===a&&++y===e&&(c=f),d===n&&++g===u&&(i=f),(m=z.nextSibling)!==null)break;z=d,d=z.parentNode}z=m}a=c===-1||i===-1?null:{start:c,end:i}}else a=null}a=a||{start:0,end:0}}else a=null;for(Kc={focusedElem:l,selectionRange:a},Yn=!1,bl=t;bl!==null;)if(t=bl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,bl=l;else for(;bl!==null;){switch(t=bl,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(a=0;a<l.length;a++)e=l[a],e.ref.impl=e.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&n!==null){l=void 0,a=t,e=n.memoizedProps,n=n.memoizedState,u=a.stateNode;try{var M=Ha(a.type,e);l=u.getSnapshotBeforeUpdate(M,n),u.__reactInternalSnapshotBeforeUpdate=l}catch(U){K(a,a.return,U)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,a=l.nodeType,a===9)Wc(l);else if(a===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Wc(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(S(163))}if(l=t.sibling,l!==null){l.return=t.return,bl=l;break}bl=t.return}}function Kh(l,t,a){var u=a.flags;switch(a.tag){case 0:case 11:case 15:qt(l,a),u&4&&Pu(5,a);break;case 1:if(qt(l,a),u&4)if(l=a.stateNode,t===null)try{l.componentDidMount()}catch(f){K(a,a.return,f)}else{var e=Ha(a.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(e,t,l.__reactInternalSnapshotBeforeUpdate)}catch(f){K(a,a.return,f)}}u&64&&Qh(a),u&512&&le(a,a.return);break;case 3:if(qt(l,a),u&64&&(l=a.updateQueue,l!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{H0(l,t)}catch(f){K(a,a.return,f)}}break;case 27:t===null&&u&4&&Lh(a);case 26:case 5:qt(l,a),t===null&&u&4&&Zh(a),u&512&&le(a,a.return);break;case 12:qt(l,a);break;case 31:qt(l,a),u&4&&Wh(l,a);break;case 13:qt(l,a),u&4&&$h(l,a),u&64&&(l=a.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(a=ly.bind(null,a),Ty(l,a))));break;case 22:if(u=a.memoizedState!==null||jt,!u){t=t!==null&&t.memoizedState!==null||dl,e=jt;var n=dl;jt=u,(dl=t)&&!n?xt(l,a,(a.subtreeFlags&8772)!==0):qt(l,a),jt=e,dl=n}break;case 30:break;default:qt(l,a)}}function Jh(l){var t=l.alternate;t!==null&&(l.alternate=null,Jh(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&In(t)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var el=null,Hl=!1;function Bt(l,t,a){for(a=a.child;a!==null;)wh(l,t,a),a=a.sibling}function wh(l,t,a){if(Gl&&typeof Gl.onCommitFiberUnmount=="function")try{Gl.onCommitFiberUnmount(Ou,a)}catch{}switch(a.tag){case 26:dl||St(a,t),Bt(l,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:dl||St(a,t);var u=el,e=Hl;ea(a.type)&&(el=a.stateNode,Hl=!1),Bt(l,t,a),he(a.stateNode),el=u,Hl=e;break;case 5:dl||St(a,t);case 6:if(u=el,e=Hl,el=null,Bt(l,t,a),el=u,Hl=e,el!==null)if(Hl)try{(el.nodeType===9?el.body:el.nodeName==="HTML"?el.ownerDocument.body:el).removeChild(a.stateNode)}catch(n){K(a,t,n)}else try{el.removeChild(a.stateNode)}catch(n){K(a,t,n)}break;case 18:el!==null&&(Hl?(l=el,Qv(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.stateNode),Tu(l)):Qv(el,a.stateNode));break;case 4:u=el,e=Hl,el=a.stateNode.containerInfo,Hl=!0,Bt(l,t,a),el=u,Hl=e;break;case 0:case 11:case 14:case 15:kt(2,a,t),dl||kt(4,a,t),Bt(l,t,a);break;case 1:dl||(St(a,t),u=a.stateNode,typeof u.componentWillUnmount=="function"&&Xh(a,t,u)),Bt(l,t,a);break;case 21:Bt(l,t,a);break;case 22:dl=(u=dl)||a.memoizedState!==null,Bt(l,t,a),dl=u;break;default:Bt(l,t,a)}}function Wh(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Tu(l)}catch(a){K(t,t.return,a)}}}function $h(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Tu(l)}catch(a){K(t,t.return,a)}}function Js(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new rh),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new rh),t;default:throw Error(S(435,l.tag))}}function mn(l,t){var a=Js(l);t.forEach(function(u){if(!a.has(u)){a.add(u);var e=ty.bind(null,l,u);u.then(e,e)}})}function jl(l,t){var a=t.deletions;if(a!==null)for(var u=0;u<a.length;u++){var e=a[u],n=l,f=t,c=f;l:for(;c!==null;){switch(c.tag){case 27:if(ea(c.type)){el=c.stateNode,Hl=!1;break l}break;case 5:el=c.stateNode,Hl=!1;break l;case 3:case 4:el=c.stateNode.containerInfo,Hl=!0;break l}c=c.return}if(el===null)throw Error(S(160));wh(n,f,e),el=null,Hl=!1,n=e.alternate,n!==null&&(n.return=null),e.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Fh(t,l),t=t.sibling}var it=null;function Fh(l,t){var a=l.alternate,u=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:jl(t,l),Bl(l),u&4&&(kt(3,l,l.return),Pu(3,l),kt(5,l,l.return));break;case 1:jl(t,l),Bl(l),u&512&&(dl||a===null||St(a,a.return)),u&64&&jt&&(l=l.updateQueue,l!==null&&(u=l.callbacks,u!==null&&(a=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=a===null?u:a.concat(u))));break;case 26:var e=it;if(jl(t,l),Bl(l),u&512&&(dl||a===null||St(a,a.return)),u&4){var n=a!==null?a.memoizedState:null;if(u=l.memoizedState,a===null)if(u===null)if(l.stateNode===null){l:{u=l.type,a=l.memoizedProps,e=e.ownerDocument||e;t:switch(u){case"title":n=e.getElementsByTagName("title")[0],(!n||n[_u]||n[zl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=e.createElement(u),e.head.insertBefore(n,e.querySelector("head > title"))),Ml(n,u,a),n[zl]=l,ol(n),u=n;break l;case"link":var f=Fv("link","href",e).get(u+(a.href||""));if(f){for(var c=0;c<f.length;c++)if(n=f[c],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){f.splice(c,1);break t}}n=e.createElement(u),Ml(n,u,a),e.head.appendChild(n);break;case"meta":if(f=Fv("meta","content",e).get(u+(a.content||""))){for(c=0;c<f.length;c++)if(n=f[c],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){f.splice(c,1);break t}}n=e.createElement(u),Ml(n,u,a),e.head.appendChild(n);break;default:throw Error(S(468,u))}n[zl]=l,ol(n),u=n}l.stateNode=u}else kv(e,l.type,l.stateNode);else l.stateNode=$v(e,u,l.memoizedProps);else n!==u?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,u===null?kv(e,l.type,l.stateNode):$v(e,u,l.memoizedProps)):u===null&&l.stateNode!==null&&Tc(l,l.memoizedProps,a.memoizedProps)}break;case 27:jl(t,l),Bl(l),u&512&&(dl||a===null||St(a,a.return)),a!==null&&u&4&&Tc(l,l.memoizedProps,a.memoizedProps);break;case 5:if(jl(t,l),Bl(l),u&512&&(dl||a===null||St(a,a.return)),l.flags&32){e=l.stateNode;try{La(e,"")}catch(M){K(l,l.return,M)}}u&4&&l.stateNode!=null&&(e=l.memoizedProps,Tc(l,e,a!==null?a.memoizedProps:e)),u&1024&&(Mc=!0);break;case 6:if(jl(t,l),Bl(l),u&4){if(l.stateNode===null)throw Error(S(162));u=l.memoizedProps,a=l.stateNode;try{a.nodeValue=u}catch(M){K(l,l.return,M)}}break;case 3:if(jn=null,e=it,it=Nn(t.containerInfo),jl(t,l),it=e,Bl(l),u&4&&a!==null&&a.memoizedState.isDehydrated)try{Tu(t.containerInfo)}catch(M){K(l,l.return,M)}Mc&&(Mc=!1,kh(l));break;case 4:u=it,it=Nn(l.stateNode.containerInfo),jl(t,l),Bl(l),it=u;break;case 12:jl(t,l),Bl(l);break;case 31:jl(t,l),Bl(l),u&4&&(u=l.updateQueue,u!==null&&(l.updateQueue=null,mn(l,u)));break;case 13:jl(t,l),Bl(l),l.child.flags&8192&&l.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(gn=Cl()),u&4&&(u=l.updateQueue,u!==null&&(l.updateQueue=null,mn(l,u)));break;case 22:e=l.memoizedState!==null;var i=a!==null&&a.memoizedState!==null,y=jt,g=dl;if(jt=y||e,dl=g||i,jl(t,l),dl=g,jt=y,Bl(l),u&8192)l:for(t=l.stateNode,t._visibility=e?t._visibility&-2:t._visibility|1,e&&(a===null||i||jt||dl||ja(l)),a=null,t=l;;){if(t.tag===5||t.tag===26){if(a===null){i=a=t;try{if(n=i.stateNode,e)f=n.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{c=i.stateNode;var z=i.memoizedProps.style,d=z!=null&&z.hasOwnProperty("display")?z.display:null;c.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(M){K(i,i.return,M)}}}else if(t.tag===6){if(a===null){i=t;try{i.stateNode.nodeValue=e?"":i.memoizedProps}catch(M){K(i,i.return,M)}}}else if(t.tag===18){if(a===null){i=t;try{var m=i.stateNode;e?Xv(m,!0):Xv(i.stateNode,!1)}catch(M){K(i,i.return,M)}}}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;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=l.updateQueue,u!==null&&(a=u.retryQueue,a!==null&&(u.retryQueue=null,mn(l,a))));break;case 19:jl(t,l),Bl(l),u&4&&(u=l.updateQueue,u!==null&&(l.updateQueue=null,mn(l,u)));break;case 30:break;case 21:break;default:jl(t,l),Bl(l)}}function Bl(l){var t=l.flags;if(t&2){try{for(var a,u=l.return;u!==null;){if(Vh(u)){a=u;break}u=u.return}if(a==null)throw Error(S(160));switch(a.tag){case 27:var e=a.stateNode,n=Ac(l);dn(l,n,e);break;case 5:var f=a.stateNode;a.flags&32&&(La(f,""),a.flags&=-33);var c=Ac(l);dn(l,c,f);break;case 3:case 4:var i=a.stateNode.containerInfo,y=Ac(l);Ec(l,y,i);break;default:throw Error(S(161))}}catch(g){K(l,l.return,g)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function kh(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;kh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function qt(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Kh(l,t.alternate,t),t=t.sibling}function ja(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:kt(4,t,t.return),ja(t);break;case 1:St(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Xh(t,t.return,a),ja(t);break;case 27:he(t.stateNode);case 26:case 5:St(t,t.return),ja(t);break;case 22:t.memoizedState===null&&ja(t);break;case 30:ja(t);break;default:ja(t)}l=l.sibling}}function xt(l,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var u=t.alternate,e=l,n=t,f=n.flags;switch(n.tag){case 0:case 11:case 15:xt(e,n,a),Pu(4,n);break;case 1:if(xt(e,n,a),u=n,e=u.stateNode,typeof e.componentDidMount=="function")try{e.componentDidMount()}catch(y){K(u,u.return,y)}if(u=n,e=u.updateQueue,e!==null){var c=u.stateNode;try{var i=e.shared.hiddenCallbacks;if(i!==null)for(e.shared.hiddenCallbacks=null,e=0;e<i.length;e++)N0(i[e],c)}catch(y){K(u,u.return,y)}}a&&f&64&&Qh(n),le(n,n.return);break;case 27:Lh(n);case 26:case 5:xt(e,n,a),a&&u===null&&f&4&&Zh(n),le(n,n.return);break;case 12:xt(e,n,a);break;case 31:xt(e,n,a),a&&f&4&&Wh(e,n);break;case 13:xt(e,n,a),a&&f&4&&$h(e,n);break;case 22:n.memoizedState===null&&xt(e,n,a),le(n,n.return);break;case 30:break;default:xt(e,n,a)}t=t.sibling}}function Oc(l,t){var a=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(l!=null&&l.refCount++,a!=null&&Xu(a))}function Dc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Xu(l))}function ht(l,t,a,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ih(l,t,a,u),t=t.sibling}function Ih(l,t,a,u){var e=t.flags;switch(t.tag){case 0:case 11:case 15:ht(l,t,a,u),e&2048&&Pu(9,t);break;case 1:ht(l,t,a,u);break;case 3:ht(l,t,a,u),e&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Xu(l)));break;case 12:if(e&2048){ht(l,t,a,u),l=t.stateNode;try{var n=t.memoizedProps,f=n.id,c=n.onPostCommit;typeof c=="function"&&c(f,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(i){K(t,t.return,i)}}else ht(l,t,a,u);break;case 31:ht(l,t,a,u);break;case 13:ht(l,t,a,u);break;case 23:break;case 22:n=t.stateNode,f=t.alternate,t.memoizedState!==null?n._visibility&2?ht(l,t,a,u):te(l,t):n._visibility&2?ht(l,t,a,u):(n._visibility|=2,hu(l,t,a,u,(t.subtreeFlags&10256)!==0||!1)),e&2048&&Oc(f,t);break;case 24:ht(l,t,a,u),e&2048&&Dc(t.alternate,t);break;default:ht(l,t,a,u)}}function hu(l,t,a,u,e){for(e=e&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,f=t,c=a,i=u,y=f.flags;switch(f.tag){case 0:case 11:case 15:hu(n,f,c,i,e),Pu(8,f);break;case 23:break;case 22:var g=f.stateNode;f.memoizedState!==null?g._visibility&2?hu(n,f,c,i,e):te(n,f):(g._visibility|=2,hu(n,f,c,i,e)),e&&y&2048&&Oc(f.alternate,f);break;case 24:hu(n,f,c,i,e),e&&y&2048&&Dc(f.alternate,f);break;default:hu(n,f,c,i,e)}t=t.sibling}}function te(l,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=l,u=t,e=u.flags;switch(u.tag){case 22:te(a,u),e&2048&&Oc(u.alternate,u);break;case 24:te(a,u),e&2048&&Dc(u.alternate,u);break;default:te(a,u)}t=t.sibling}}var ae=8192;function vu(l,t,a){if(l.subtreeFlags&ae)for(l=l.child;l!==null;)Ph(l,t,a),l=l.sibling}function Ph(l,t,a){switch(l.tag){case 26:vu(l,t,a),l.flags&ae&&l.memoizedState!==null&&qy(a,it,l.memoizedState,l.memoizedProps);break;case 5:vu(l,t,a);break;case 3:case 4:var u=it;it=Nn(l.stateNode.containerInfo),vu(l,t,a),it=u;break;case 22:l.memoizedState===null&&(u=l.alternate,u!==null&&u.memoizedState!==null?(u=ae,ae=16777216,vu(l,t,a),ae=u):vu(l,t,a));break;default:vu(l,t,a)}}function lv(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 ue(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var u=t[a];bl=u,av(u,l)}lv(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)tv(l),l=l.sibling}function tv(l){switch(l.tag){case 0:case 11:case 15:ue(l),l.flags&2048&&kt(9,l,l.return);break;case 3:ue(l);break;case 12:ue(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,Sn(l)):ue(l);break;default:ue(l)}}function Sn(l){var t=l.deletions;if((l.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var u=t[a];bl=u,av(u,l)}lv(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:kt(8,t,t.return),Sn(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Sn(t));break;default:Sn(t)}l=l.sibling}}function av(l,t){for(;bl!==null;){var a=bl;switch(a.tag){case 0:case 11:case 15:kt(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var u=a.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Xu(a.memoizedState.cache)}if(u=a.child,u!==null)u.return=a,bl=u;else l:for(a=l;bl!==null;){u=bl;var e=u.sibling,n=u.return;if(Jh(u),u===a){bl=null;break l}if(e!==null){e.return=n,bl=e;break l}bl=n}}}var ws={getCacheForType:function(l){var t=Al(vl),a=t.data.get(l);return a===void 0&&(a=l(),t.data.set(l,a)),a},cacheSignal:function(){return Al(vl).controller.signal}},Ws=typeof WeakMap=="function"?WeakMap:Map,X=0,F=null,x=null,p=0,r=0,rl=null,It=!1,su=!1,Uc=!1,Yt=0,cl=0,Pt=0,Ba=0,_c=0,Kl=0,yu=0,ee=null,ql=null,Nc=!1,gn=0,uv=0,on=1/0,bn=null,la=null,ml=0,ta=null,du=null,pt=0,Hc=0,jc=null,ev=null,ne=0,Bc=null;function Jl(){return(X&2)!==0&&p!==0?p&-p:b.T!==null?Cc():Ti()}function nv(){if(Kl===0)if((p&536870912)===0||C){var l=De;De<<=1,(De&3932160)===0&&(De=262144),Kl=l}else Kl=536870912;return l=Vl.current,l!==null&&(l.flags|=32),Kl}function xl(l,t,a){(l===F&&(r===2||r===9)||l.cancelPendingCommit!==null)&&(mu(l,0),aa(l,p,Kl,!1)),Uu(l,a),((X&2)===0||l!==F)&&(l===F&&((X&2)===0&&(Ba|=a),cl===4&&aa(l,p,Kl,!1)),gt(l))}function fv(l,t,a){if((X&6)!==0)throw Error(S(327));var u=!a&&(t&127)===0&&(t&l.expiredLanes)===0||Du(l,t),e=u?ks(l,t):xc(l,t,!0),n=u;do{if(e===0){su&&!u&&aa(l,t,0,!1);break}else{if(a=l.current.alternate,n&&!$s(a)){e=xc(l,t,!1),n=!1;continue}if(e===2){if(n=t,l.errorRecoveryDisabledLanes&n)var f=0;else f=l.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;l:{var c=l;e=ee;var i=c.current.memoizedState.isDehydrated;if(i&&(mu(c,f).flags|=256),f=xc(c,f,!1),f!==2){if(Uc&&!i){c.errorRecoveryDisabledLanes|=n,Ba|=n,e=4;break l}n=ql,ql=e,n!==null&&(ql===null?ql=n:ql.push.apply(ql,n))}e=f}if(n=!1,e!==2)continue}}if(e===1){mu(l,0),aa(l,t,0,!0);break}l:{switch(u=l,n=e,n){case 0:case 1:throw Error(S(345));case 4:if((t&4194048)!==t)break;case 6:aa(u,t,Kl,!It);break l;case 2:ql=null;break;case 3:case 5:break;default:throw Error(S(329))}if((t&62914560)===t&&(e=gn+300-Cl(),10<e)){if(aa(u,t,Kl,!It),_e(u,0,!0)!==0)break l;pt=t,u.timeoutHandle=Cv(cv.bind(null,u,a,ql,bn,Nc,t,Kl,Ba,yu,It,n,"Throttled",-0,0),e);break l}cv(u,a,ql,bn,Nc,t,Kl,Ba,yu,It,n,null,-0,0)}}break}while(!0);gt(l)}function cv(l,t,a,u,e,n,f,c,i,y,g,z,d,m){if(l.timeoutHandle=-1,z=t.subtreeFlags,z&8192||(z&16785408)===16785408){z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Tt},Ph(t,n,z);var M=(n&62914560)===n?gn-Cl():(n&4194048)===n?uv-Cl():0;if(M=xy(z,M),M!==null){pt=n,l.cancelPendingCommit=M(Sv.bind(null,l,t,n,a,u,e,f,c,i,g,z,null,d,m)),aa(l,n,f,!y);return}}Sv(l,t,n,a,u,e,f,c,i)}function $s(l){for(var t=l;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var u=0;u<a.length;u++){var e=a[u],n=e.getSnapshot;e=e.value;try{if(!Xl(n(),e))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 aa(l,t,a,u){t&=~_c,t&=~Ba,l.suspendedLanes|=t,l.pingedLanes&=~t,u&&(l.warmLanes|=t),u=l.expirationTimes;for(var e=t;0<e;){var n=31-Ql(e),f=1<<n;u[n]=-1,e&=~f}a!==0&&oi(l,a,t)}function zn(){return(X&6)===0?(fe(0),!1):!0}function qc(){if(x!==null){if(r===0)var l=x.return;else l=x,Ot=Ea=null,Wf(l),eu=null,Vu=0,l=x;for(;l!==null;)Gh(l.alternate,l),l=l.return;x=null}}function mu(l,t){var a=l.timeoutHandle;a!==-1&&(l.timeoutHandle=-1,Sy(a)),a=l.cancelPendingCommit,a!==null&&(l.cancelPendingCommit=null,a()),pt=0,qc(),F=l,x=a=Et(l.current,null),p=t,r=0,rl=null,It=!1,su=Du(l,t),Uc=!1,yu=Kl=_c=Ba=Pt=cl=0,ql=ee=null,Nc=!1,(t&8)!==0&&(t|=t&32);var u=l.entangledLanes;if(u!==0)for(l=l.entanglements,u&=t;0<u;){var e=31-Ql(u),n=1<<e;t|=l[e],u&=~n}return Yt=t,Qe(),a}function iv(l,t){B=null,b.H=Fu,t===uu||t===we?(t=O0(),r=3):t===Rf?(t=O0(),r=4):r=t===vc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,rl=t,x===null&&(cl=1,cn(l,Pl(t,l.current)))}function hv(){var l=Vl.current;return l===null?!0:(p&4194048)===p?ut===null:(p&62914560)===p||(p&536870912)!==0?l===ut:!1}function vv(){var l=b.H;return b.H=Fu,l===null?Fu:l}function sv(){var l=b.A;return b.A=ws,l}function Tn(){cl=4,It||(p&4194048)!==p&&Vl.current!==null||(su=!0),(Pt&134217727)===0&&(Ba&134217727)===0||F===null||aa(F,p,Kl,!1)}function xc(l,t,a){var u=X;X|=2;var e=vv(),n=sv();(F!==l||p!==t)&&(bn=null,mu(l,t)),t=!1;var f=cl;l:do try{if(r!==0&&x!==null){var c=x,i=rl;switch(r){case 8:qc(),f=6;break l;case 3:case 2:case 9:case 6:Vl.current===null&&(t=!0);var y=r;if(r=0,rl=null,Su(l,c,i,y),a&&su){f=0;break l}break;default:y=r,r=0,rl=null,Su(l,c,i,y)}}Fs(),f=cl;break}catch(g){iv(l,g)}while(!0);return t&&l.shellSuspendCounter++,Ot=Ea=null,X=u,b.H=e,b.A=n,x===null&&(F=null,p=0,Qe()),f}function Fs(){for(;x!==null;)yv(x)}function ks(l,t){var a=X;X|=2;var u=vv(),e=sv();F!==l||p!==t?(bn=null,on=Cl()+500,mu(l,t)):su=Du(l,t);l:do try{if(r!==0&&x!==null){t=x;var n=rl;t:switch(r){case 1:r=0,rl=null,Su(l,t,n,1);break;case 2:case 9:if(E0(n)){r=0,rl=null,dv(t);break}t=function(){r!==2&&r!==9||F!==l||(r=7),gt(l)},n.then(t,t);break l;case 3:r=7;break l;case 4:r=5;break l;case 7:E0(n)?(r=0,rl=null,dv(t)):(r=0,rl=null,Su(l,t,n,7));break;case 5:var f=null;switch(x.tag){case 26:f=x.memoizedState;case 5:case 27:var c=x;if(f?Iv(f):c.stateNode.complete){r=0,rl=null;var i=c.sibling;if(i!==null)x=i;else{var y=c.return;y!==null?(x=y,An(y)):x=null}break t}}r=0,rl=null,Su(l,t,n,5);break;case 6:r=0,rl=null,Su(l,t,n,6);break;case 8:qc(),cl=6;break l;default:throw Error(S(462))}}Is();break}catch(g){iv(l,g)}while(!0);return Ot=Ea=null,b.H=u,b.A=e,X=a,x!==null?0:(F=null,p=0,Qe(),cl)}function Is(){for(;x!==null&&!A1();)yv(x)}function yv(l){var t=Rh(l.alternate,l,Yt);l.memoizedProps=l.pendingProps,t===null?An(l):x=t}function dv(l){var t=l,a=t.alternate;switch(t.tag){case 15:case 0:t=jh(a,t,t.pendingProps,t.type,void 0,p);break;case 11:t=jh(a,t,t.pendingProps,t.type.render,t.ref,p);break;case 5:Wf(t);default:Gh(a,t),t=x=s0(t,Yt),t=Rh(a,t,Yt)}l.memoizedProps=l.pendingProps,t===null?An(l):x=t}function Su(l,t,a,u){Ot=Ea=null,Wf(t),eu=null,Vu=0;var e=t.return;try{if(Xs(l,e,t,a,p)){cl=1,cn(l,Pl(a,l.current)),x=null;return}}catch(n){if(e!==null)throw x=e,n;cl=1,cn(l,Pl(a,l.current)),x=null;return}t.flags&32768?(C||u===1?l=!0:su||(p&536870912)!==0?l=!1:(It=l=!0,(u===2||u===9||u===3||u===6)&&(u=Vl.current,u!==null&&u.tag===13&&(u.flags|=16384))),mv(t,l)):An(t)}function An(l){var t=l;do{if((t.flags&32768)!==0){mv(t,It);return}l=t.return;var a=Ls(t.alternate,t,Yt);if(a!==null){x=a;return}if(t=t.sibling,t!==null){x=t;return}x=t=l}while(t!==null);cl===0&&(cl=5)}function mv(l,t){do{var a=rs(l.alternate,l);if(a!==null){a.flags&=32767,x=a;return}if(a=l.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(l=l.sibling,l!==null)){x=l;return}x=l=a}while(l!==null);cl=6,x=null}function Sv(l,t,a,u,e,n,f,c,i){l.cancelPendingCommit=null;do En();while(ml!==0);if((X&6)!==0)throw Error(S(327));if(t!==null){if(t===l.current)throw Error(S(177));if(n=t.lanes|t.childLanes,n|=Af,B1(l,a,n,f,c,i),l===F&&(x=F=null,p=0),du=t,ta=l,pt=a,Hc=n,jc=e,ev=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,ay(Me,function(){return Tv(),null})):(l.callbackNode=null,l.callbackPriority=0),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=b.T,b.T=null,e=E.p,E.p=2,f=X,X|=4;try{Ks(l,t,a)}finally{X=f,E.p=e,b.T=u}}ml=1,gv(),ov(),bv()}}function gv(){if(ml===1){ml=0;var l=ta,t=du,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=b.T,b.T=null;var u=E.p;E.p=2;var e=X;X|=4;try{Fh(t,l);var n=Kc,f=a0(l.containerInfo),c=n.focusedElem,i=n.selectionRange;if(f!==c&&c&&c.ownerDocument&&t0(c.ownerDocument.documentElement,c)){if(i!==null&&gf(c)){var y=i.start,g=i.end;if(g===void 0&&(g=y),"selectionStart"in c)c.selectionStart=y,c.selectionEnd=Math.min(g,c.value.length);else{var z=c.ownerDocument||document,d=z&&z.defaultView||window;if(d.getSelection){var m=d.getSelection(),M=c.textContent.length,U=Math.min(i.start,M),W=i.end===void 0?U:Math.min(i.end,M);!m.extend&&U>W&&(f=W,W=U,U=f);var v=l0(c,U),h=l0(c,W);if(v&&h&&(m.rangeCount!==1||m.anchorNode!==v.node||m.anchorOffset!==v.offset||m.focusNode!==h.node||m.focusOffset!==h.offset)){var s=z.createRange();s.setStart(v.node,v.offset),m.removeAllRanges(),U>W?(m.addRange(s),m.extend(h.node,h.offset)):(s.setEnd(h.node,h.offset),m.addRange(s))}}}}for(z=[],m=c;m=m.parentNode;)m.nodeType===1&&z.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<z.length;c++){var o=z[c];o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}Yn=!!rc,Kc=rc=null}finally{X=e,E.p=u,b.T=a}}l.current=t,ml=2}}function ov(){if(ml===2){ml=0;var l=ta,t=du,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=b.T,b.T=null;var u=E.p;E.p=2;var e=X;X|=4;try{Kh(l,t.alternate,t)}finally{X=e,E.p=u,b.T=a}}ml=3}}function bv(){if(ml===4||ml===3){ml=0,E1();var l=ta,t=du,a=pt,u=ev;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ml=5:(ml=0,du=ta=null,zv(l,l.pendingLanes));var e=l.pendingLanes;if(e===0&&(la=null),Fn(a),t=t.stateNode,Gl&&typeof Gl.onCommitFiberRoot=="function")try{Gl.onCommitFiberRoot(Ou,t,void 0,(t.current.flags&128)===128)}catch{}if(u!==null){t=b.T,e=E.p,E.p=2,b.T=null;try{for(var n=l.onRecoverableError,f=0;f<u.length;f++){var c=u[f];n(c.value,{componentStack:c.stack})}}finally{b.T=t,E.p=e}}(pt&3)!==0&&En(),gt(l),e=l.pendingLanes,(a&261930)!==0&&(e&42)!==0?l===Bc?ne++:(ne=0,Bc=l):ne=0,fe(0)}}function zv(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Xu(t)))}function En(){return gv(),ov(),bv(),Tv()}function Tv(){if(ml!==5)return!1;var l=ta,t=Hc;Hc=0;var a=Fn(pt),u=b.T,e=E.p;try{E.p=32>a?32:a,b.T=null,a=jc,jc=null;var n=ta,f=pt;if(ml=0,du=ta=null,pt=0,(X&6)!==0)throw Error(S(331));var c=X;if(X|=4,tv(n.current),Ih(n,n.current,f,a),X=c,fe(0,!1),Gl&&typeof Gl.onPostCommitFiberRoot=="function")try{Gl.onPostCommitFiberRoot(Ou,n)}catch{}return!0}finally{E.p=e,b.T=u,zv(l,t)}}function Av(l,t,a){t=Pl(a,t),t=hc(l.stateNode,t,2),l=Wt(l,t,2),l!==null&&(Uu(l,2),gt(l))}function K(l,t,a){if(l.tag===3)Av(l,l,a);else for(;t!==null;){if(t.tag===3){Av(t,l,a);break}else if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(la===null||!la.has(u))){l=Pl(a,l),a=Eh(2),u=Wt(t,a,2),u!==null&&(Mh(a,u,t,l),Uu(u,2),gt(u));break}}t=t.return}}function Yc(l,t,a){var u=l.pingCache;if(u===null){u=l.pingCache=new Ws;var e=new Set;u.set(t,e)}else e=u.get(t),e===void 0&&(e=new Set,u.set(t,e));e.has(a)||(Uc=!0,e.add(a),l=Ps.bind(null,l,t,a),t.then(l,l))}function Ps(l,t,a){var u=l.pingCache;u!==null&&u.delete(t),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,F===l&&(p&a)===a&&(cl===4||cl===3&&(p&62914560)===p&&300>Cl()-gn?(X&2)===0&&mu(l,0):_c|=a,yu===p&&(yu=0)),gt(l)}function Ev(l,t){t===0&&(t=gi()),l=za(l,t),l!==null&&(Uu(l,t),gt(l))}function ly(l){var t=l.memoizedState,a=0;t!==null&&(a=t.retryLane),Ev(l,a)}function ty(l,t){var a=0;switch(l.tag){case 31:case 13:var u=l.stateNode,e=l.memoizedState;e!==null&&(a=e.retryLane);break;case 19:u=l.stateNode;break;case 22:u=l.stateNode._retryCache;break;default:throw Error(S(314))}u!==null&&u.delete(t),Ev(l,a)}function ay(l,t){return Jn(l,t)}var Mn=null,gu=null,pc=!1,On=!1,Rc=!1,ua=0;function gt(l){l!==gu&&l.next===null&&(gu===null?Mn=gu=l:gu=gu.next=l),On=!0,pc||(pc=!0,ey())}function fe(l,t){if(!Rc&&On){Rc=!0;do for(var a=!1,u=Mn;u!==null;){if(l!==0){var e=u.pendingLanes;if(e===0)var n=0;else{var f=u.suspendedLanes,c=u.pingedLanes;n=(1<<31-Ql(42|l)+1)-1,n&=e&~(f&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(a=!0,Uv(u,n))}else n=p,n=_e(u,u===F?n:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(n&3)===0||Du(u,n)||(a=!0,Uv(u,n));u=u.next}while(a);Rc=!1}}function uy(){Mv()}function Mv(){On=pc=!1;var l=0;ua!==0&&my()&&(l=ua);for(var t=Cl(),a=null,u=Mn;u!==null;){var e=u.next,n=Ov(u,t);n===0?(u.next=null,a===null?Mn=e:a.next=e,e===null&&(gu=a)):(a=u,(l!==0||(n&3)!==0)&&(On=!0)),u=e}ml!==0&&ml!==5||fe(l),ua!==0&&(ua=0)}function Ov(l,t){for(var a=l.suspendedLanes,u=l.pingedLanes,e=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var f=31-Ql(n),c=1<<f,i=e[f];i===-1?((c&a)===0||(c&u)!==0)&&(e[f]=j1(c,t)):i<=t&&(l.expiredLanes|=c),n&=~c}if(t=F,a=p,a=_e(l,l===t?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),u=l.callbackNode,a===0||l===t&&(r===2||r===9)||l.cancelPendingCommit!==null)return u!==null&&u!==null&&wn(u),l.callbackNode=null,l.callbackPriority=0;if((a&3)===0||Du(l,a)){if(t=a&-a,t===l.callbackPriority)return t;switch(u!==null&&wn(u),Fn(a)){case 2:case 8:a=mi;break;case 32:a=Me;break;case 268435456:a=Si;break;default:a=Me}return u=Dv.bind(null,l),a=Jn(a,u),l.callbackPriority=t,l.callbackNode=a,t}return u!==null&&u!==null&&wn(u),l.callbackPriority=2,l.callbackNode=null,2}function Dv(l,t){if(ml!==0&&ml!==5)return l.callbackNode=null,l.callbackPriority=0,null;var a=l.callbackNode;if(En()&&l.callbackNode!==a)return null;var u=p;return u=_e(l,l===F?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),u===0?null:(fv(l,u,t),Ov(l,Cl()),l.callbackNode!=null&&l.callbackNode===a?Dv.bind(null,l):null)}function Uv(l,t){if(En())return null;fv(l,t,!0)}function ey(){gy(function(){(X&6)!==0?Jn(di,uy):Mv()})}function Cc(){if(ua===0){var l=tu;l===0&&(l=Oe,Oe<<=1,(Oe&261888)===0&&(Oe=256)),ua=l}return ua}function _v(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Be(""+l)}function Nv(l,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,l.id&&a.setAttribute("form",l.id),t.parentNode.insertBefore(a,t),l=new FormData(l),a.parentNode.removeChild(a),l}function ny(l,t,a,u,e){if(t==="submit"&&a&&a.stateNode===e){var n=_v((e[_l]||null).action),f=u.submitter;f&&(t=(t=f[_l]||null)?_v(t.formAction):f.getAttribute("formAction"),t!==null&&(n=t,f=null));var c=new pe("action","action",null,u,e);l.push({event:c,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ua!==0){var i=f?Nv(e,f):new FormData(e);uc(a,{pending:!0,data:i,method:e.method,action:n},null,i)}}else typeof n=="function"&&(c.preventDefault(),i=f?Nv(e,f):new FormData(e),uc(a,{pending:!0,data:i,method:e.method,action:n},n,i))},currentTarget:e}]})}}for(var Gc=0;Gc<Tf.length;Gc++){var Qc=Tf[Gc],fy=Qc.toLowerCase(),cy=Qc[0].toUpperCase()+Qc.slice(1);ct(fy,"on"+cy)}ct(n0,"onAnimationEnd"),ct(f0,"onAnimationIteration"),ct(c0,"onAnimationStart"),ct("dblclick","onDoubleClick"),ct("focusin","onFocus"),ct("focusout","onBlur"),ct(Ms,"onTransitionRun"),ct(Os,"onTransitionStart"),ct(Ds,"onTransitionCancel"),ct(i0,"onTransitionEnd"),Za("onMouseEnter",["mouseout","mouseover"]),Za("onMouseLeave",["mouseout","mouseover"]),Za("onPointerEnter",["pointerout","pointerover"]),Za("onPointerLeave",["pointerout","pointerover"]),Sa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Sa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Sa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ce="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(" "),iy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ce));function Hv(l,t){t=(t&4)!==0;for(var a=0;a<l.length;a++){var u=l[a],e=u.event;u=u.listeners;l:{var n=void 0;if(t)for(var f=u.length-1;0<=f;f--){var c=u[f],i=c.instance,y=c.currentTarget;if(c=c.listener,i!==n&&e.isPropagationStopped())break l;n=c,e.currentTarget=y;try{n(e)}catch(g){Ge(g)}e.currentTarget=null,n=i}else for(f=0;f<u.length;f++){if(c=u[f],i=c.instance,y=c.currentTarget,c=c.listener,i!==n&&e.isPropagationStopped())break l;n=c,e.currentTarget=y;try{n(e)}catch(g){Ge(g)}e.currentTarget=null,n=i}}}}function Y(l,t){var a=t[kn];a===void 0&&(a=t[kn]=new Set);var u=l+"__bubble";a.has(u)||(jv(t,l,2,!1),a.add(u))}function Xc(l,t,a){var u=0;t&&(u|=4),jv(a,l,u,t)}var Dn="_reactListening"+Math.random().toString(36).slice(2);function Zc(l){if(!l[Dn]){l[Dn]=!0,Mi.forEach(function(a){a!=="selectionchange"&&(iy.has(a)||Xc(a,!1,l),Xc(a,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Dn]||(t[Dn]=!0,Xc("selectionchange",!1,t))}}function jv(l,t,a,u){switch(n1(t)){case 2:var e=Ry;break;case 8:e=Cy;break;default:e=ai}a=e.bind(null,t,a,l),e=void 0,!ff||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(e=!0),u?e!==void 0?l.addEventListener(t,a,{capture:!0,passive:e}):l.addEventListener(t,a,!0):e!==void 0?l.addEventListener(t,a,{passive:e}):l.addEventListener(t,a,!1)}function Vc(l,t,a,u,e){var n=u;if((t&1)===0&&(t&2)===0&&u!==null)l:for(;;){if(u===null)return;var f=u.tag;if(f===3||f===4){var c=u.stateNode.containerInfo;if(c===e)break;if(f===4)for(f=u.return;f!==null;){var i=f.tag;if((i===3||i===4)&&f.stateNode.containerInfo===e)return;f=f.return}for(;c!==null;){if(f=Ga(c),f===null)return;if(i=f.tag,i===5||i===6||i===26||i===27){u=n=f;continue l}c=c.parentNode}}u=u.return}pi(function(){var y=n,g=ef(a),z=[];l:{var d=h0.get(l);if(d!==void 0){var m=pe,M=l;switch(l){case"keypress":if(xe(a)===0)break l;case"keydown":case"keyup":m=ts;break;case"focusin":M="focus",m=sf;break;case"focusout":M="blur",m=sf;break;case"beforeblur":case"afterblur":m=sf;break;case"click":if(a.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Gi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=L1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=es;break;case n0:case f0:case c0:m=J1;break;case i0:m=fs;break;case"scroll":case"scrollend":m=Z1;break;case"wheel":m=is;break;case"copy":case"cut":case"paste":m=W1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Xi;break;case"toggle":case"beforetoggle":m=vs}var U=(t&4)!==0,W=!U&&(l==="scroll"||l==="scrollend"),v=U?d!==null?d+"Capture":null:d;U=[];for(var h=y,s;h!==null;){var o=h;if(s=o.stateNode,o=o.tag,o!==5&&o!==26&&o!==27||s===null||v===null||(o=Hu(h,v),o!=null&&U.push(ie(h,o,s))),W)break;h=h.return}0<U.length&&(d=new m(d,M,null,a,g),z.push({event:d,listeners:U}))}}if((t&7)===0){l:{if(d=l==="mouseover"||l==="pointerover",m=l==="mouseout"||l==="pointerout",d&&a!==uf&&(M=a.relatedTarget||a.fromElement)&&(Ga(M)||M[Ca]))break l;if((m||d)&&(d=g.window===g?g:(d=g.ownerDocument)?d.defaultView||d.parentWindow:window,m?(M=a.relatedTarget||a.toElement,m=y,M=M?Ga(M):null,M!==null&&(W=j(M),U=M.tag,M!==W||U!==5&&U!==27&&U!==6)&&(M=null)):(m=null,M=y),m!==M)){if(U=Gi,o="onMouseLeave",v="onMouseEnter",h="mouse",(l==="pointerout"||l==="pointerover")&&(U=Xi,o="onPointerLeave",v="onPointerEnter",h="pointer"),W=m==null?d:Nu(m),s=M==null?d:Nu(M),d=new U(o,h+"leave",m,a,g),d.target=W,d.relatedTarget=s,o=null,Ga(g)===y&&(U=new U(v,h+"enter",M,a,g),U.target=s,U.relatedTarget=W,o=U),W=o,m&&M)t:{for(U=hy,v=m,h=M,s=0,o=v;o;o=U(o))s++;o=0;for(var D=h;D;D=U(D))o++;for(;0<s-o;)v=U(v),s--;for(;0<o-s;)h=U(h),o--;for(;s--;){if(v===h||h!==null&&v===h.alternate){U=v;break t}v=U(v),h=U(h)}U=null}else U=null;m!==null&&Bv(z,d,m,U,!1),M!==null&&W!==null&&Bv(z,W,M,U,!0)}}l:{if(d=y?Nu(y):window,m=d.nodeName&&d.nodeName.toLowerCase(),m==="select"||m==="input"&&d.type==="file")var G=Wi;else if(Ji(d))if($i)G=Ts;else{G=bs;var O=os}else m=d.nodeName,!m||m.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?y&&af(y.elementType)&&(G=Wi):G=zs;if(G&&(G=G(l,y))){wi(z,G,a,g);break l}O&&O(l,d,y),l==="focusout"&&y&&d.type==="number"&&y.memoizedProps.value!=null&&tf(d,"number",d.value)}switch(O=y?Nu(y):window,l){case"focusin":(Ji(O)||O.contentEditable==="true")&&(wa=O,of=y,Cu=null);break;case"focusout":Cu=of=wa=null;break;case"mousedown":bf=!0;break;case"contextmenu":case"mouseup":case"dragend":bf=!1,u0(z,a,g);break;case"selectionchange":if(Es)break;case"keydown":case"keyup":u0(z,a,g)}var q;if(df)l:{switch(l){case"compositionstart":var R="onCompositionStart";break l;case"compositionend":R="onCompositionEnd";break l;case"compositionupdate":R="onCompositionUpdate";break l}R=void 0}else Ja?ri(l,a)&&(R="onCompositionEnd"):l==="keydown"&&a.keyCode===229&&(R="onCompositionStart");R&&(Zi&&a.locale!=="ko"&&(Ja||R!=="onCompositionStart"?R==="onCompositionEnd"&&Ja&&(q=Ri()):(Zt=g,cf="value"in Zt?Zt.value:Zt.textContent,Ja=!0)),O=Un(y,R),0<O.length&&(R=new Qi(R,l,null,a,g),z.push({event:R,listeners:O}),q?R.data=q:(q=Ki(a),q!==null&&(R.data=q)))),(q=ys?ds(l,a):ms(l,a))&&(R=Un(y,"onBeforeInput"),0<R.length&&(O=new Qi("onBeforeInput","beforeinput",null,a,g),z.push({event:O,listeners:R}),O.data=q)),ny(z,l,y,a,g)}Hv(z,t)})}function ie(l,t,a){return{instance:l,listener:t,currentTarget:a}}function Un(l,t){for(var a=t+"Capture",u=[];l!==null;){var e=l,n=e.stateNode;if(e=e.tag,e!==5&&e!==26&&e!==27||n===null||(e=Hu(l,a),e!=null&&u.unshift(ie(l,e,n)),e=Hu(l,t),e!=null&&u.push(ie(l,e,n))),l.tag===3)return u;l=l.return}return[]}function hy(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Bv(l,t,a,u,e){for(var n=t._reactName,f=[];a!==null&&a!==u;){var c=a,i=c.alternate,y=c.stateNode;if(c=c.tag,i!==null&&i===u)break;c!==5&&c!==26&&c!==27||y===null||(i=y,e?(y=Hu(a,n),y!=null&&f.unshift(ie(a,y,i))):e||(y=Hu(a,n),y!=null&&f.push(ie(a,y,i)))),a=a.return}f.length!==0&&l.push({event:t,listeners:f})}var vy=/\r\n?/g,sy=/\u0000|\uFFFD/g;function qv(l){return(typeof l=="string"?l:""+l).replace(vy,`
`).replace(sy,"")}function xv(l,t){return t=qv(t),qv(l)===t}function w(l,t,a,u,e,n){switch(a){case"children":typeof u=="string"?t==="body"||t==="textarea"&&u===""||La(l,u):(typeof u=="number"||typeof u=="bigint")&&t!=="body"&&La(l,""+u);break;case"className":He(l,"class",u);break;case"tabIndex":He(l,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":He(l,a,u);break;case"style":xi(l,u,n);break;case"data":if(t!=="object"){He(l,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||a!=="href")){l.removeAttribute(a);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){l.removeAttribute(a);break}u=Be(""+u),l.setAttribute(a,u);break;case"action":case"formAction":if(typeof u=="function"){l.setAttribute(a,"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"&&(a==="formAction"?(t!=="input"&&w(l,t,"name",e.name,e,null),w(l,t,"formEncType",e.formEncType,e,null),w(l,t,"formMethod",e.formMethod,e,null),w(l,t,"formTarget",e.formTarget,e,null)):(w(l,t,"encType",e.encType,e,null),w(l,t,"method",e.method,e,null),w(l,t,"target",e.target,e,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){l.removeAttribute(a);break}u=Be(""+u),l.setAttribute(a,u);break;case"onClick":u!=null&&(l.onclick=Tt);break;case"onScroll":u!=null&&Y("scroll",l);break;case"onScrollEnd":u!=null&&Y("scrollend",l);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(S(61));if(a=u.__html,a!=null){if(e.children!=null)throw Error(S(60));l.innerHTML=a}}break;case"multiple":l.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":l.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){l.removeAttribute("xlink:href");break}a=Be(""+u),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?l.setAttribute(a,""+u):l.removeAttribute(a);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":u&&typeof u!="function"&&typeof u!="symbol"?l.setAttribute(a,""):l.removeAttribute(a);break;case"capture":case"download":u===!0?l.setAttribute(a,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?l.setAttribute(a,u):l.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?l.setAttribute(a,u):l.removeAttribute(a);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?l.removeAttribute(a):l.setAttribute(a,u);break;case"popover":Y("beforetoggle",l),Y("toggle",l),Ne(l,"popover",u);break;case"xlinkActuate":zt(l,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":zt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":zt(l,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":zt(l,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":zt(l,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":zt(l,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":zt(l,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":zt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":zt(l,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Ne(l,"is",u);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Q1.get(a)||a,Ne(l,a,u))}}function Lc(l,t,a,u,e,n){switch(a){case"style":xi(l,u,n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(S(61));if(a=u.__html,a!=null){if(e.children!=null)throw Error(S(60));l.innerHTML=a}}break;case"children":typeof u=="string"?La(l,u):(typeof u=="number"||typeof u=="bigint")&&La(l,""+u);break;case"onScroll":u!=null&&Y("scroll",l);break;case"onScrollEnd":u!=null&&Y("scrollend",l);break;case"onClick":u!=null&&(l.onclick=Tt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Oi.hasOwnProperty(a))l:{if(a[0]==="o"&&a[1]==="n"&&(e=a.endsWith("Capture"),t=a.slice(2,e?a.length-7:void 0),n=l[_l]||null,n=n!=null?n[a]:null,typeof n=="function"&&l.removeEventListener(t,n,e),typeof u=="function")){typeof n!="function"&&n!==null&&(a in l?l[a]=null:l.hasAttribute(a)&&l.removeAttribute(a)),l.addEventListener(t,u,e);break l}a in l?l[a]=u:u===!0?l.setAttribute(a,""):Ne(l,a,u)}}}function Ml(l,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Y("error",l),Y("load",l);var u=!1,e=!1,n;for(n in a)if(a.hasOwnProperty(n)){var f=a[n];if(f!=null)switch(n){case"src":u=!0;break;case"srcSet":e=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,t));default:w(l,t,n,f,a,null)}}e&&w(l,t,"srcSet",a.srcSet,a,null),u&&w(l,t,"src",a.src,a,null);return;case"input":Y("invalid",l);var c=n=f=e=null,i=null,y=null;for(u in a)if(a.hasOwnProperty(u)){var g=a[u];if(g!=null)switch(u){case"name":e=g;break;case"type":f=g;break;case"checked":i=g;break;case"defaultChecked":y=g;break;case"value":n=g;break;case"defaultValue":c=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(S(137,t));break;default:w(l,t,u,g,a,null)}}Hi(l,n,c,i,y,f,e,!1);return;case"select":Y("invalid",l),u=f=n=null;for(e in a)if(a.hasOwnProperty(e)&&(c=a[e],c!=null))switch(e){case"value":n=c;break;case"defaultValue":f=c;break;case"multiple":u=c;default:w(l,t,e,c,a,null)}t=n,a=f,l.multiple=!!u,t!=null?Va(l,!!u,t,!1):a!=null&&Va(l,!!u,a,!0);return;case"textarea":Y("invalid",l),n=e=u=null;for(f in a)if(a.hasOwnProperty(f)&&(c=a[f],c!=null))switch(f){case"value":u=c;break;case"defaultValue":e=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(S(91));break;default:w(l,t,f,c,a,null)}Bi(l,u,e,n);return;case"option":for(i in a)if(a.hasOwnProperty(i)&&(u=a[i],u!=null))switch(i){case"selected":l.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:w(l,t,i,u,a,null)}return;case"dialog":Y("beforetoggle",l),Y("toggle",l),Y("cancel",l),Y("close",l);break;case"iframe":case"object":Y("load",l);break;case"video":case"audio":for(u=0;u<ce.length;u++)Y(ce[u],l);break;case"image":Y("error",l),Y("load",l);break;case"details":Y("toggle",l);break;case"embed":case"source":case"link":Y("error",l),Y("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(y in a)if(a.hasOwnProperty(y)&&(u=a[y],u!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,t));default:w(l,t,y,u,a,null)}return;default:if(af(t)){for(g in a)a.hasOwnProperty(g)&&(u=a[g],u!==void 0&&Lc(l,t,g,u,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(u=a[c],u!=null&&w(l,t,c,u,a,null))}function yy(l,t,a,u){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var e=null,n=null,f=null,c=null,i=null,y=null,g=null;for(m in a){var z=a[m];if(a.hasOwnProperty(m)&&z!=null)switch(m){case"checked":break;case"value":break;case"defaultValue":i=z;default:u.hasOwnProperty(m)||w(l,t,m,null,u,z)}}for(var d in u){var m=u[d];if(z=a[d],u.hasOwnProperty(d)&&(m!=null||z!=null))switch(d){case"type":n=m;break;case"name":e=m;break;case"checked":y=m;break;case"defaultChecked":g=m;break;case"value":f=m;break;case"defaultValue":c=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(S(137,t));break;default:m!==z&&w(l,t,d,m,u,z)}}lf(l,f,c,i,y,g,n,e);return;case"select":m=f=c=d=null;for(n in a)if(i=a[n],a.hasOwnProperty(n)&&i!=null)switch(n){case"value":break;case"multiple":m=i;default:u.hasOwnProperty(n)||w(l,t,n,null,u,i)}for(e in u)if(n=u[e],i=a[e],u.hasOwnProperty(e)&&(n!=null||i!=null))switch(e){case"value":d=n;break;case"defaultValue":c=n;break;case"multiple":f=n;default:n!==i&&w(l,t,e,n,u,i)}t=c,a=f,u=m,d!=null?Va(l,!!a,d,!1):!!u!=!!a&&(t!=null?Va(l,!!a,t,!0):Va(l,!!a,a?[]:"",!1));return;case"textarea":m=d=null;for(c in a)if(e=a[c],a.hasOwnProperty(c)&&e!=null&&!u.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:w(l,t,c,null,u,e)}for(f in u)if(e=u[f],n=a[f],u.hasOwnProperty(f)&&(e!=null||n!=null))switch(f){case"value":d=e;break;case"defaultValue":m=e;break;case"children":break;case"dangerouslySetInnerHTML":if(e!=null)throw Error(S(91));break;default:e!==n&&w(l,t,f,e,u,n)}ji(l,d,m);return;case"option":for(var M in a)if(d=a[M],a.hasOwnProperty(M)&&d!=null&&!u.hasOwnProperty(M))switch(M){case"selected":l.selected=!1;break;default:w(l,t,M,null,u,d)}for(i in u)if(d=u[i],m=a[i],u.hasOwnProperty(i)&&d!==m&&(d!=null||m!=null))switch(i){case"selected":l.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:w(l,t,i,d,u,m)}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 U in a)d=a[U],a.hasOwnProperty(U)&&d!=null&&!u.hasOwnProperty(U)&&w(l,t,U,null,u,d);for(y in u)if(d=u[y],m=a[y],u.hasOwnProperty(y)&&d!==m&&(d!=null||m!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(S(137,t));break;default:w(l,t,y,d,u,m)}return;default:if(af(t)){for(var W in a)d=a[W],a.hasOwnProperty(W)&&d!==void 0&&!u.hasOwnProperty(W)&&Lc(l,t,W,void 0,u,d);for(g in u)d=u[g],m=a[g],!u.hasOwnProperty(g)||d===m||d===void 0&&m===void 0||Lc(l,t,g,d,u,m);return}}for(var v in a)d=a[v],a.hasOwnProperty(v)&&d!=null&&!u.hasOwnProperty(v)&&w(l,t,v,null,u,d);for(z in u)d=u[z],m=a[z],!u.hasOwnProperty(z)||d===m||d==null&&m==null||w(l,t,z,d,u,m)}function Yv(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dy(){if(typeof performance.getEntriesByType=="function"){for(var l=0,t=0,a=performance.getEntriesByType("resource"),u=0;u<a.length;u++){var e=a[u],n=e.transferSize,f=e.initiatorType,c=e.duration;if(n&&c&&Yv(f)){for(f=0,c=e.responseEnd,u+=1;u<a.length;u++){var i=a[u],y=i.startTime;if(y>c)break;var g=i.transferSize,z=i.initiatorType;g&&Yv(z)&&(i=i.responseEnd,f+=g*(i<c?1:(c-y)/(i-y)))}if(--u,t+=8*(n+f)/(e.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 rc=null,Kc=null;function _n(l){return l.nodeType===9?l:l.ownerDocument}function pv(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 Rv(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 Jc(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 wc=null;function my(){var l=window.event;return l&&l.type==="popstate"?l===wc?!1:(wc=l,!0):(wc=null,!1)}var Cv=typeof setTimeout=="function"?setTimeout:void 0,Sy=typeof clearTimeout=="function"?clearTimeout:void 0,Gv=typeof Promise=="function"?Promise:void 0,gy=typeof queueMicrotask=="function"?queueMicrotask:typeof Gv<"u"?function(l){return Gv.resolve(null).then(l).catch(oy)}:Cv;function oy(l){setTimeout(function(){throw l})}function ea(l){return l==="head"}function Qv(l,t){var a=t,u=0;do{var e=a.nextSibling;if(l.removeChild(a),e&&e.nodeType===8)if(a=e.data,a==="/$"||a==="/&"){if(u===0){l.removeChild(e),Tu(t);return}u--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")u++;else if(a==="html")he(l.ownerDocument.documentElement);else if(a==="head"){a=l.ownerDocument.head,he(a);for(var n=a.firstChild;n;){var f=n.nextSibling,c=n.nodeName;n[_u]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||a.removeChild(n),n=f}}else a==="body"&&he(l.ownerDocument.body);a=e}while(a);Tu(t)}function Xv(l,t){var a=l;l=0;do{var u=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(l===0)break;l--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||l++;a=u}while(a)}function Wc(l){var t=l.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Wc(a),In(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}l.removeChild(a)}}function by(l,t,a,u){for(;l.nodeType===1;){var e=a;if(l.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(u){if(!l[_u])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!==e.rel||l.getAttribute("href")!==(e.href==null||e.href===""?null:e.href)||l.getAttribute("crossorigin")!==(e.crossOrigin==null?null:e.crossOrigin)||l.getAttribute("title")!==(e.title==null?null:e.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(n=l.getAttribute("src"),(n!==(e.src==null?null:e.src)||l.getAttribute("type")!==(e.type==null?null:e.type)||l.getAttribute("crossorigin")!==(e.crossOrigin==null?null:e.crossOrigin))&&n&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(t==="input"&&l.type==="hidden"){var n=e.name==null?null:""+e.name;if(e.type==="hidden"&&l.getAttribute("name")===n)return l}else return l;if(l=et(l.nextSibling),l===null)break}return null}function zy(l,t,a){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!a||(l=et(l.nextSibling),l===null))return null;return l}function Zv(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=et(l.nextSibling),l===null))return null;return l}function $c(l){return l.data==="$?"||l.data==="$~"}function Fc(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Ty(l,t){var a=l.ownerDocument;if(l.data==="$~")l._reactRetry=t;else if(l.data!=="$?"||a.readyState!=="loading")t();else{var u=function(){t(),a.removeEventListener("DOMContentLoaded",u)};a.addEventListener("DOMContentLoaded",u),l._reactRetry=u}}function et(l){for(;l!=null;l=l.nextSibling){var t=l.nodeType;if(t===1||t===3)break;if(t===8){if(t=l.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return l}var kc=null;function Vv(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var a=l.data;if(a==="/$"||a==="/&"){if(t===0)return et(l.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}l=l.nextSibling}return null}function Lv(l){l=l.previousSibling;for(var t=0;l;){if(l.nodeType===8){var a=l.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return l;t--}else a!=="/$"&&a!=="/&"||t++}l=l.previousSibling}return null}function rv(l,t,a){switch(t=_n(a),l){case"html":if(l=t.documentElement,!l)throw Error(S(452));return l;case"head":if(l=t.head,!l)throw Error(S(453));return l;case"body":if(l=t.body,!l)throw Error(S(454));return l;default:throw Error(S(451))}}function he(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);In(l)}var nt=new Map,Kv=new Set;function Nn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Rt=E.d;E.d={f:Ay,r:Ey,D:My,C:Oy,L:Dy,m:Uy,X:Ny,S:_y,M:Hy};function Ay(){var l=Rt.f(),t=zn();return l||t}function Ey(l){var t=Qa(l);t!==null&&t.tag===5&&t.type==="form"?ih(t):Rt.r(l)}var ou=typeof document>"u"?null:document;function Jv(l,t,a){var u=ou;if(u&&typeof t=="string"&&t){var e=kl(t);e='link[rel="'+l+'"][href="'+e+'"]',typeof a=="string"&&(e+='[crossorigin="'+a+'"]'),Kv.has(e)||(Kv.add(e),l={rel:l,crossOrigin:a,href:t},u.querySelector(e)===null&&(t=u.createElement("link"),Ml(t,"link",l),ol(t),u.head.appendChild(t)))}}function My(l){Rt.D(l),Jv("dns-prefetch",l,null)}function Oy(l,t){Rt.C(l,t),Jv("preconnect",l,t)}function Dy(l,t,a){Rt.L(l,t,a);var u=ou;if(u&&l&&t){var e='link[rel="preload"][as="'+kl(t)+'"]';t==="image"&&a&&a.imageSrcSet?(e+='[imagesrcset="'+kl(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(e+='[imagesizes="'+kl(a.imageSizes)+'"]')):e+='[href="'+kl(l)+'"]';var n=e;switch(t){case"style":n=bu(l);break;case"script":n=zu(l)}nt.has(n)||(l=N({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:l,as:t},a),nt.set(n,l),u.querySelector(e)!==null||t==="style"&&u.querySelector(ve(n))||t==="script"&&u.querySelector(se(n))||(t=u.createElement("link"),Ml(t,"link",l),ol(t),u.head.appendChild(t)))}}function Uy(l,t){Rt.m(l,t);var a=ou;if(a&&l){var u=t&&typeof t.as=="string"?t.as:"script",e='link[rel="modulepreload"][as="'+kl(u)+'"][href="'+kl(l)+'"]',n=e;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=zu(l)}if(!nt.has(n)&&(l=N({rel:"modulepreload",href:l},t),nt.set(n,l),a.querySelector(e)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(se(n)))return}u=a.createElement("link"),Ml(u,"link",l),ol(u),a.head.appendChild(u)}}}function _y(l,t,a){Rt.S(l,t,a);var u=ou;if(u&&l){var e=Xa(u).hoistableStyles,n=bu(l);t=t||"default";var f=e.get(n);if(!f){var c={loading:0,preload:null};if(f=u.querySelector(ve(n)))c.loading=5;else{l=N({rel:"stylesheet",href:l,"data-precedence":t},a),(a=nt.get(n))&&Ic(l,a);var i=f=u.createElement("link");ol(i),Ml(i,"link",l),i._p=new Promise(function(y,g){i.onload=y,i.onerror=g}),i.addEventListener("load",function(){c.loading|=1}),i.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Hn(f,t,u)}f={type:"stylesheet",instance:f,count:1,state:c},e.set(n,f)}}}function Ny(l,t){Rt.X(l,t);var a=ou;if(a&&l){var u=Xa(a).hoistableScripts,e=zu(l),n=u.get(e);n||(n=a.querySelector(se(e)),n||(l=N({src:l,async:!0},t),(t=nt.get(e))&&Pc(l,t),n=a.createElement("script"),ol(n),Ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},u.set(e,n))}}function Hy(l,t){Rt.M(l,t);var a=ou;if(a&&l){var u=Xa(a).hoistableScripts,e=zu(l),n=u.get(e);n||(n=a.querySelector(se(e)),n||(l=N({src:l,async:!0,type:"module"},t),(t=nt.get(e))&&Pc(l,t),n=a.createElement("script"),ol(n),Ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},u.set(e,n))}}function wv(l,t,a,u){var e=(e=Gt.current)?Nn(e):null;if(!e)throw Error(S(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=bu(a.href),a=Xa(e).hoistableStyles,u=a.get(t),u||(u={type:"style",instance:null,count:0,state:null},a.set(t,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=bu(a.href);var n=Xa(e).hoistableStyles,f=n.get(l);if(f||(e=e.ownerDocument||e,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,f),(n=e.querySelector(ve(l)))&&!n._p&&(f.instance=n,f.state.loading=5),nt.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},nt.set(l,a),n||jy(e,l,a,f.state))),t&&u===null)throw Error(S(528,""));return f}if(t&&u!==null)throw Error(S(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=zu(a),a=Xa(e).hoistableScripts,u=a.get(t),u||(u={type:"script",instance:null,count:0,state:null},a.set(t,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,l))}}function bu(l){return'href="'+kl(l)+'"'}function ve(l){return'link[rel="stylesheet"]['+l+"]"}function Wv(l){return N({},l,{"data-precedence":l.precedence,precedence:null})}function jy(l,t,a,u){l.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=1:(t=l.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=1}),t.addEventListener("error",function(){return u.loading|=2}),Ml(t,"link",a),ol(t),l.head.appendChild(t))}function zu(l){return'[src="'+kl(l)+'"]'}function se(l){return"script[async]"+l}function $v(l,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var u=l.querySelector('style[data-href~="'+kl(a.href)+'"]');if(u)return t.instance=u,ol(u),u;var e=N({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return u=(l.ownerDocument||l).createElement("style"),ol(u),Ml(u,"style",e),Hn(u,a.precedence,l),t.instance=u;case"stylesheet":e=bu(a.href);var n=l.querySelector(ve(e));if(n)return t.state.loading|=4,t.instance=n,ol(n),n;u=Wv(a),(e=nt.get(e))&&Ic(u,e),n=(l.ownerDocument||l).createElement("link"),ol(n);var f=n;return f._p=new Promise(function(c,i){f.onload=c,f.onerror=i}),Ml(n,"link",u),t.state.loading|=4,Hn(n,a.precedence,l),t.instance=n;case"script":return n=zu(a.src),(e=l.querySelector(se(n)))?(t.instance=e,ol(e),e):(u=a,(e=nt.get(n))&&(u=N({},a),Pc(u,e)),l=l.ownerDocument||l,e=l.createElement("script"),ol(e),Ml(e,"link",u),l.head.appendChild(e),t.instance=e);case"void":return null;default:throw Error(S(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(u=t.instance,t.state.loading|=4,Hn(u,a.precedence,l));return t.instance}function Hn(l,t,a){for(var u=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=u.length?u[u.length-1]:null,n=e,f=0;f<u.length;f++){var c=u[f];if(c.dataset.precedence===t)n=c;else if(n!==e)break}n?n.parentNode.insertBefore(l,n.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(l,t.firstChild))}function Ic(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function Pc(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var jn=null;function Fv(l,t,a){if(jn===null){var u=new Map,e=jn=new Map;e.set(a,u)}else e=jn,u=e.get(a),u||(u=new Map,e.set(a,u));if(u.has(l))return u;for(u.set(l,null),a=a.getElementsByTagName(l),e=0;e<a.length;e++){var n=a[e];if(!(n[_u]||n[zl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var f=n.getAttribute(t)||"";f=l+f;var c=u.get(f);c?c.push(n):u.set(f,[n])}}return u}function kv(l,t,a){l=l.ownerDocument||l,l.head.insertBefore(a,t==="title"?l.querySelector("head > title"):null)}function By(l,t,a){if(a===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 Iv(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function qy(l,t,a,u){if(a.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var e=bu(u.href),n=t.querySelector(ve(e));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Bn.bind(l),t.then(l,l)),a.state.loading|=4,a.instance=n,ol(n);return}n=t.ownerDocument||t,u=Wv(u),(e=nt.get(e))&&Ic(u,e),n=n.createElement("link"),ol(n);var f=n;f._p=new Promise(function(c,i){f.onload=c,f.onerror=i}),Ml(n,"link",u),a.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(l.count++,a=Bn.bind(l),t.addEventListener("load",a),t.addEventListener("error",a))}}var li=0;function xy(l,t){return l.stylesheets&&l.count===0&&xn(l,l.stylesheets),0<l.count||0<l.imgCount?function(a){var u=setTimeout(function(){if(l.stylesheets&&xn(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&li===0&&(li=62500*dy());var e=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&xn(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>li?50:800)+t);return l.unsuspend=a,function(){l.unsuspend=null,clearTimeout(u),clearTimeout(e)}}:null}function Bn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)xn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var qn=null;function xn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,qn=new Map,t.forEach(Yy,l),qn=null,Bn.call(l))}function Yy(l,t){if(!(t.state.loading&4)){var a=qn.get(l);if(a)var u=a.get(null);else{a=new Map,qn.set(l,a);for(var e=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<e.length;n++){var f=e[n];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(a.set(f.dataset.precedence,f),u=f)}u&&a.set(null,u)}e=t.instance,f=e.getAttribute("data-precedence"),n=a.get(f)||u,n===u&&a.set(null,e),a.set(f,e),this.count++,u=Bn.bind(this),e.addEventListener("load",u),e.addEventListener("error",u),n?n.parentNode.insertBefore(e,n.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(e,l.firstChild)),t.state.loading|=4}}var ye={$$typeof:Wl,Provider:null,Consumer:null,_currentValue:H,_currentValue2:H,_threadCount:0};function py(l,t,a,u,e,n,f,c,i){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=Wn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wn(0),this.hiddenUpdates=Wn(null),this.identifierPrefix=u,this.onUncaughtError=e,this.onCaughtError=n,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map}function Pv(l,t,a,u,e,n,f,c,i,y,g,z){return l=new py(l,t,a,f,i,y,g,z,c),t=1,n===!0&&(t|=24),n=Zl(3,null,null,t),l.current=n,n.stateNode=l,t=xf(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:u,isDehydrated:a,cache:t},Cf(n),l}function l1(l){return l?(l=Fa,l):Fa}function t1(l,t,a,u,e,n){e=l1(e),u.context===null?u.context=e:u.pendingContext=e,u=wt(t),u.payload={element:a},n=n===void 0?null:n,n!==null&&(u.callback=n),a=Wt(l,u,t),a!==null&&(xl(a,l,t),ru(a,l,t))}function a1(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var a=l.retryLane;l.retryLane=a!==0&&a<t?a:t}}function ti(l,t){a1(l,t),(l=l.alternate)&&a1(l,t)}function u1(l){if(l.tag===13||l.tag===31){var t=za(l,67108864);t!==null&&xl(t,l,67108864),ti(l,67108864)}}function e1(l){if(l.tag===13||l.tag===31){var t=Jl();t=$n(t);var a=za(l,t);a!==null&&xl(a,l,t),ti(l,t)}}var Yn=!0;function Ry(l,t,a,u){var e=b.T;b.T=null;var n=E.p;try{E.p=2,ai(l,t,a,u)}finally{E.p=n,b.T=e}}function Cy(l,t,a,u){var e=b.T;b.T=null;var n=E.p;try{E.p=8,ai(l,t,a,u)}finally{E.p=n,b.T=e}}function ai(l,t,a,u){if(Yn){var e=ui(u);if(e===null)Vc(l,t,u,pn,a),f1(l,u);else if(Qy(e,l,t,a,u))u.stopPropagation();else if(f1(l,u),t&4&&-1<Gy.indexOf(l)){for(;e!==null;){var n=Qa(e);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var f=ma(n.pendingLanes);if(f!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;f;){var i=1<<31-Ql(f);c.entanglements[1]|=i,f&=~i}gt(n),(X&6)===0&&(on=Cl()+500,fe(0))}}break;case 31:case 13:c=za(n,2),c!==null&&xl(c,n,2),zn(),ti(n,2)}if(n=ui(u),n===null&&Vc(l,t,u,pn,a),n===e)break;e=n}e!==null&&u.stopPropagation()}else Vc(l,t,u,null,a)}}function ui(l){return l=ef(l),ei(l)}var pn=null;function ei(l){if(pn=null,l=Ga(l),l!==null){var t=j(l);if(t===null)l=null;else{var a=t.tag;if(a===13){if(l=ul(t),l!==null)return l;l=null}else if(a===31){if(l=I(t),l!==null)return l;l=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;l=null}else t!==l&&(l=null)}}return pn=l,null}function n1(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(M1()){case di:return 2;case mi:return 8;case Me:case O1:return 32;case Si:return 268435456;default:return 32}default:return 32}}var ni=!1,na=null,fa=null,ca=null,de=new Map,me=new Map,ia=[],Gy="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 f1(l,t){switch(l){case"focusin":case"focusout":na=null;break;case"dragenter":case"dragleave":fa=null;break;case"mouseover":case"mouseout":ca=null;break;case"pointerover":case"pointerout":de.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":me.delete(t.pointerId)}}function Se(l,t,a,u,e,n){return l===null||l.nativeEvent!==n?(l={blockedOn:t,domEventName:a,eventSystemFlags:u,nativeEvent:n,targetContainers:[e]},t!==null&&(t=Qa(t),t!==null&&u1(t)),l):(l.eventSystemFlags|=u,t=l.targetContainers,e!==null&&t.indexOf(e)===-1&&t.push(e),l)}function Qy(l,t,a,u,e){switch(t){case"focusin":return na=Se(na,l,t,a,u,e),!0;case"dragenter":return fa=Se(fa,l,t,a,u,e),!0;case"mouseover":return ca=Se(ca,l,t,a,u,e),!0;case"pointerover":var n=e.pointerId;return de.set(n,Se(de.get(n)||null,l,t,a,u,e)),!0;case"gotpointercapture":return n=e.pointerId,me.set(n,Se(me.get(n)||null,l,t,a,u,e)),!0}return!1}function c1(l){var t=Ga(l.target);if(t!==null){var a=j(t);if(a!==null){if(t=a.tag,t===13){if(t=ul(a),t!==null){l.blockedOn=t,Ai(l.priority,function(){e1(a)});return}}else if(t===31){if(t=I(a),t!==null){l.blockedOn=t,Ai(l.priority,function(){e1(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){l.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Rn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var a=ui(l.nativeEvent);if(a===null){a=l.nativeEvent;var u=new a.constructor(a.type,a);uf=u,a.target.dispatchEvent(u),uf=null}else return t=Qa(a),t!==null&&u1(t),l.blockedOn=a,!1;t.shift()}return!0}function i1(l,t,a){Rn(l)&&a.delete(t)}function Xy(){ni=!1,na!==null&&Rn(na)&&(na=null),fa!==null&&Rn(fa)&&(fa=null),ca!==null&&Rn(ca)&&(ca=null),de.forEach(i1),me.forEach(i1)}function Cn(l,t){l.blockedOn===t&&(l.blockedOn=null,ni||(ni=!0,T.unstable_scheduleCallback(T.unstable_NormalPriority,Xy)))}var Gn=null;function h1(l){Gn!==l&&(Gn=l,T.unstable_scheduleCallback(T.unstable_NormalPriority,function(){Gn===l&&(Gn=null);for(var t=0;t<l.length;t+=3){var a=l[t],u=l[t+1],e=l[t+2];if(typeof u!="function"){if(ei(u||a)===null)continue;break}var n=Qa(a);n!==null&&(l.splice(t,3),t-=3,uc(n,{pending:!0,data:e,method:a.method,action:u},u,e))}}))}function Tu(l){function t(i){return Cn(i,l)}na!==null&&Cn(na,l),fa!==null&&Cn(fa,l),ca!==null&&Cn(ca,l),de.forEach(t),me.forEach(t);for(var a=0;a<ia.length;a++){var u=ia[a];u.blockedOn===l&&(u.blockedOn=null)}for(;0<ia.length&&(a=ia[0],a.blockedOn===null);)c1(a),a.blockedOn===null&&ia.shift();if(a=(l.ownerDocument||l).$$reactFormReplay,a!=null)for(u=0;u<a.length;u+=3){var e=a[u],n=a[u+1],f=e[_l]||null;if(typeof n=="function")f||h1(a);else if(f){var c=null;if(n&&n.hasAttribute("formAction")){if(e=n,f=n[_l]||null)c=f.formAction;else if(ei(e)!==null)continue}else c=f.action;typeof c=="function"?a[u+1]=c:(a.splice(u,3),u-=3),h1(a)}}}function v1(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(f){return e=f})},focusReset:"manual",scroll:"manual"})}function t(){e!==null&&(e(),e=null),u||setTimeout(a,20)}function a(){if(!u&&!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 u=!1,e=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){u=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),e!==null&&(e(),e=null)}}}function fi(l){this._internalRoot=l}Qn.prototype.render=fi.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(S(409));var a=t.current,u=Jl();t1(a,u,l,t,null,null)},Qn.prototype.unmount=fi.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;t1(l.current,2,null,l,null,null),zn(),t[Ca]=null}};function Qn(l){this._internalRoot=l}Qn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Ti();l={blockedOn:null,target:l,priority:t};for(var a=0;a<ia.length&&t!==0&&t<ia[a].priority;a++);ia.splice(a,0,l),a===0&&c1(l)}};var s1=k.version;if(s1!=="19.2.4")throw Error(S(527,s1,"19.2.4"));E.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(S(188)):(l=Object.keys(l).join(","),Error(S(268,l)));return l=L(t),l=l!==null?Ol(l):null,l=l===null?null:l.stateNode,l};var Zy={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xn.isDisabled&&Xn.supportsFiber)try{Ou=Xn.inject(Zy),Gl=Xn}catch{}}return oe.createRoot=function(l,t){if(!_(l))throw Error(S(299));var a=!1,u="",e=bh,n=zh,f=Th;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(e=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Pv(l,1,!1,null,null,a,u,null,e,n,f,v1),l[Ca]=t.current,Zc(l),new fi(t)},oe.hydrateRoot=function(l,t,a){if(!_(l))throw Error(S(299));var u=!1,e="",n=bh,f=zh,c=Th,i=null;return a!=null&&(a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(e=a.identifierPrefix),a.onUncaughtError!==void 0&&(n=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(c=a.onRecoverableError),a.formState!==void 0&&(i=a.formState)),t=Pv(l,1,!0,t,a??null,u,e,i,n,f,c,v1),t.context=l1(null),a=t.current,u=Jl(),u=$n(u),e=wt(u),e.callback=null,Wt(a,e,u),a=u,t.current.lanes=a,Uu(t,a),gt(t),l[Ca]=t.current,Zc(l),new Qn(t)},oe.version="19.2.4",oe}var b1;function fd(){if(b1)return ii.exports;b1=1;function T(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T)}catch(k){console.error(k)}}return T(),ii.exports=nd(),ii.exports}var cd=fd();const id=Ky(cd),z1="";async function pl(T,k={}){const Z=new URL(`${z1}${T}`,window.location.origin);for(const[_,j]of Object.entries(k))j!=null&&j!==""&&Z.searchParams.set(_,j);const S=await fetch(Z.toString());if(!S.ok)throw new Error(`${S.status} ${S.statusText}`);return S.json()}function hd(){return pl("/api/project/info")}function Hd(){return pl("/api/story-runtime/health")}function jd(T={}){return pl("/api/stats/chapter-trend",T)}function Bd(){return pl("/api/chapters")}function qd(T={}){return pl("/api/entities",T)}function xd(T={}){return pl("/api/state-changes",T)}function Yd(T={}){return pl("/api/relationships",T)}function pd(T={}){return pl("/api/relationship-events",T)}function Rd(T={}){return pl("/api/commits",T)}function Cd(){return pl("/api/contracts/summary")}function Gd(){return pl("/api/env-status")}function Qd(){return pl("/api/env-status/probe")}function Xd(){return pl("/api/files/tree")}function Zd(T){return pl("/api/files/read",{path:T})}function vd(T,k={}){const{onOpen:Z,onError:S}=k,_=new EventSource(`${z1}/api/events`);return _.onopen=()=>{Z&&Z()},_.onmessage=j=>{try{T(JSON.parse(j.data))}catch{}},_.onerror=j=>{S&&S(j)},()=>_.close()}function sa({children:T,className:k=""}){return A.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:`pixel-icon ${k}`.trim(),fill:"currentColor",shapeRendering:"crispEdges",children:T})}function sd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"3",y:"13",width:"4",height:"8"}),A.jsx("rect",{x:"10",y:"9",width:"4",height:"12"}),A.jsx("rect",{x:"17",y:"5",width:"4",height:"16"}),A.jsx("rect",{x:"3",y:"3",width:"18",height:"2"})]})}function yd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"5",y:"5",width:"5",height:"5"}),A.jsx("rect",{x:"14",y:"6",width:"5",height:"4"}),A.jsx("rect",{x:"4",y:"13",width:"7",height:"6"}),A.jsx("rect",{x:"13",y:"13",width:"7",height:"6"})]})}function dd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"3",y:"17",width:"4",height:"4"}),A.jsx("rect",{x:"8",y:"13",width:"4",height:"4"}),A.jsx("rect",{x:"13",y:"9",width:"4",height:"4"}),A.jsx("rect",{x:"18",y:"4",width:"3",height:"3"}),A.jsx("rect",{x:"17",y:"4",width:"2",height:"11",transform:"rotate(45 18 9.5)"})]})}function md(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"5",y:"3",width:"14",height:"18"}),A.jsx("rect",{x:"8",y:"14",width:"8",height:"4",transform:"rotate(45 12 16)"})]})}function Sd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"2",y:"7",width:"20",height:"12"}),A.jsx("rect",{x:"2",y:"5",width:"8",height:"3"})]})}function gd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"4",y:"4",width:"2",height:"16"}),A.jsx("rect",{x:"11",y:"4",width:"2",height:"16"}),A.jsx("rect",{x:"18",y:"4",width:"2",height:"16"}),A.jsx("rect",{x:"2",y:"8",width:"6",height:"3"}),A.jsx("rect",{x:"9",y:"14",width:"6",height:"3"}),A.jsx("rect",{x:"16",y:"9",width:"6",height:"3"})]})}function od(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"11",y:"17",width:"2",height:"2"}),A.jsx("rect",{x:"8",y:"14",width:"8",height:"2"}),A.jsx("rect",{x:"5",y:"11",width:"14",height:"2"}),A.jsx("rect",{x:"2",y:"8",width:"20",height:"2"})]})}function bd(T){return A.jsxs(sa,{...T,children:[A.jsx("rect",{x:"11",y:"17",width:"2",height:"2"}),A.jsx("rect",{x:"8",y:"14",width:"8",height:"2"}),A.jsx("rect",{x:"5",y:"11",width:"14",height:"2"}),A.jsx("rect",{x:"2",y:"8",width:"20",height:"2"}),A.jsx("rect",{x:"4",y:"4",width:"2",height:"16",transform:"rotate(-45 5 12)"})]})}const zd=[{to:"/",label:"总览",icon:sd,end:!0},{to:"/characters",label:"角色图鉴",icon:yd},{to:"/pacing",label:"节奏雷达",icon:dd},{to:"/foreshadowing",label:"伏笔追踪",icon:md},{to:"/files",label:"文档浏览",icon:Sd},{to:"/system",label:"系统状态",icon:gd}];function Td(){var Sl;const[T,k]=Yl.useState(null),[Z,S]=Yl.useState(0),[_,j]=Yl.useState(!1),ul=Yl.useCallback(()=>{hd().then(k).catch(()=>k(null))},[]);Yl.useEffect(()=>{ul()},[ul,Z]),Yl.useEffect(()=>{const L=vd(()=>{Yl.startTransition(()=>{S(Ol=>Ol+1)})},{onOpen:()=>j(!0),onError:()=>j(!1)});return()=>{L(),j(!1)}},[]);const I=((Sl=T==null?void 0:T.project_info)==null?void 0:Sl.title)||"未加载项目";return A.jsxs("div",{className:"app-layout",children:[A.jsxs("aside",{className:"sidebar",children:[A.jsxs("div",{className:"sidebar-header",children:[A.jsx("h1",{children:"PIXEL WRITER HUB"}),A.jsx("div",{className:"subtitle",title:I,children:I})]}),A.jsx("nav",{className:"sidebar-nav",children:zd.map(L=>{const Ol=L.icon;return A.jsxs(Jy,{to:L.to,end:L.end,className:({isActive:N})=>`nav-item ${N?"active":""}`.trim(),children:[A.jsx("span",{className:"icon",children:A.jsx(Ol,{})}),A.jsx("span",{children:L.label})]},L.to)})}),A.jsxs("div",{className:"live-indicator",children:[A.jsx("span",{className:"icon",children:_?A.jsx(od,{}):A.jsx(bd,{})}),_?"实时同步中":"实时连接断开"]})]}),A.jsx("main",{className:"main-content",children:A.jsx(wy,{context:{projectInfo:T,refreshToken:Z,connected:_,reloadProjectInfo:ul}})})]})}function Vd(){return Wy()}const Ad=Yl.lazy(()=>Au(()=>import("./OverviewPage-vgewJiV1.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))),Ed=Yl.lazy(()=>Au(()=>import("./CharactersPage-n6sZAtwm.js"),__vite__mapDeps([10,1,2,3,4,5,6,9]))),Md=Yl.lazy(()=>Au(()=>import("./PacingPage-Dsdrtxb_.js"),__vite__mapDeps([11,1,2,3,4,7,6,9]))),Od=Yl.lazy(()=>Au(()=>import("./ForeshadowingPage-BeSmFV1Z.js"),__vite__mapDeps([12,1,2,3,4,5,6,8]))),Dd=Yl.lazy(()=>Au(()=>import("./FilesPage-Czd1SC2y.js"),__vite__mapDeps([13,1,2]))),Ud=Yl.lazy(()=>Au(()=>import("./SystemPage-CRCMgVw-.js"),__vite__mapDeps([14,1,2,5,6])));function _d(){return A.jsx("div",{className:"loading-screen",children:A.jsxs("div",{className:"loading-card",children:[A.jsx("div",{className:"section-label",children:"LOADING"}),A.jsx("p",{children:"正在加载 Dashboard…"})]})})}id.createRoot(document.getElementById("root")).render(A.jsx($y.StrictMode,{children:A.jsx(Fy,{children:A.jsx(Yl.Suspense,{fallback:A.jsx(_d,{}),children:A.jsx(ky,{children:A.jsxs(va,{path:"/",element:A.jsx(Td,{}),children:[A.jsx(va,{index:!0,element:A.jsx(Ad,{})}),A.jsx(va,{path:"characters",element:A.jsx(Ed,{})}),A.jsx(va,{path:"pacing",element:A.jsx(Md,{})}),A.jsx(va,{path:"foreshadowing",element:A.jsx(Od,{})}),A.jsx(va,{path:"files",element:A.jsx(Dd,{})}),A.jsx(va,{path:"system",element:A.jsx(Ud,{})}),A.jsx(va,{path:"*",element:A.jsx(Iy,{to:"/",replace:!0})})]})})})})}));export{Bd as a,jd as b,qd as c,Yd as d,pd as e,Hd as f,xd as g,Xd as h,Zd as i,A as j,Cd as k,Rd as l,Gd as m,Qd as p,Vd as u};
