(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const y of d)if(y.type==="childList")for(const A of y.addedNodes)A.tagName==="LINK"&&A.rel==="modulepreload"&&c(A)}).observe(document,{childList:!0,subtree:!0});function o(d){const y={};return d.integrity&&(y.integrity=d.integrity),d.referrerPolicy&&(y.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?y.credentials="include":d.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function c(d){if(d.ep)return;d.ep=!0;const y=o(d);fetch(d.href,y)}})();function B1(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Sc={exports:{}},Ou={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Nd;function q1(){if(Nd)return Ou;Nd=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(c,d,y){var A=null;if(y!==void 0&&(A=""+y),d.key!==void 0&&(A=""+d.key),"key"in d){y={};for(var z in d)z!=="key"&&(y[z]=d[z])}else y=d;return d=y.ref,{$$typeof:i,type:c,key:A,ref:d!==void 0?d:null,props:y}}return Ou.Fragment=r,Ou.jsx=o,Ou.jsxs=o,Ou}var Hd;function Y1(){return Hd||(Hd=1,Sc.exports=q1()),Sc.exports}var j=Y1(),Ec={exports:{}},et={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Cd;function w1(){if(Cd)return et;Cd=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),A=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),L=Symbol.iterator;function H(v){return v===null||typeof v!="object"?null:(v=L&&v[L]||v["@@iterator"],typeof v=="function"?v:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,Z={};function G(v,N,Q){this.props=v,this.context=N,this.refs=Z,this.updater=Q||q}G.prototype.isReactComponent={},G.prototype.setState=function(v,N){if(typeof v!="object"&&typeof v!="function"&&v!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,v,N,"setState")},G.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function B(){}B.prototype=G.prototype;function F(v,N,Q){this.props=v,this.context=N,this.refs=Z,this.updater=Q||q}var X=F.prototype=new B;X.constructor=F,C(X,G.prototype),X.isPureReactComponent=!0;var ft=Array.isArray,I={H:null,A:null,T:null,S:null,V:null},_t=Object.prototype.hasOwnProperty;function At(v,N,Q,Y,J,ct){return Q=ct.ref,{$$typeof:i,type:v,key:N,ref:Q!==void 0?Q:null,props:ct}}function Mt(v,N){return At(v.type,N,void 0,void 0,void 0,v.props)}function pt(v){return typeof v=="object"&&v!==null&&v.$$typeof===i}function Jt(v){var N={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(Q){return N[Q]})}var re=/\/+/g;function Xt(v,N){return typeof v=="object"&&v!==null&&v.key!=null?Jt(""+v.key):N.toString(36)}function xl(){}function Tl(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(xl,xl):(v.status="pending",v.then(function(N){v.status==="pending"&&(v.status="fulfilled",v.value=N)},function(N){v.status==="pending"&&(v.status="rejected",v.reason=N)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function Qt(v,N,Q,Y,J){var ct=typeof v;(ct==="undefined"||ct==="boolean")&&(v=null);var tt=!1;if(v===null)tt=!0;else switch(ct){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(v.$$typeof){case i:case r:tt=!0;break;case R:return tt=v._init,Qt(tt(v._payload),N,Q,Y,J)}}if(tt)return J=J(v),tt=Y===""?"."+Xt(v,0):Y,ft(J)?(Q="",tt!=null&&(Q=tt.replace(re,"$&/")+"/"),Qt(J,N,Q,"",function(Fe){return Fe})):J!=null&&(pt(J)&&(J=Mt(J,Q+(J.key==null||v&&v.key===J.key?"":(""+J.key).replace(re,"$&/")+"/")+tt)),N.push(J)),1;tt=0;var te=Y===""?".":Y+":";if(ft(v))for(var St=0;St<v.length;St++)Y=v[St],ct=te+Xt(Y,St),tt+=Qt(Y,N,Q,ct,J);else if(St=H(v),typeof St=="function")for(v=St.call(v),St=0;!(Y=v.next()).done;)Y=Y.value,ct=te+Xt(Y,St++),tt+=Qt(Y,N,Q,ct,J);else if(ct==="object"){if(typeof v.then=="function")return Qt(Tl(v),N,Q,Y,J);throw N=String(v),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return tt}function D(v,N,Q){if(v==null)return v;var Y=[],J=0;return Qt(v,Y,"","",function(ct){return N.call(Q,ct,J++)}),Y}function w(v){if(v._status===-1){var N=v._result;N=N(),N.then(function(Q){(v._status===0||v._status===-1)&&(v._status=1,v._result=Q)},function(Q){(v._status===0||v._status===-1)&&(v._status=2,v._result=Q)}),v._status===-1&&(v._status=0,v._result=N)}if(v._status===1)return v._result.default;throw v._result}var W=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)};function vt(){}return et.Children={map:D,forEach:function(v,N,Q){D(v,function(){N.apply(this,arguments)},Q)},count:function(v){var N=0;return D(v,function(){N++}),N},toArray:function(v){return D(v,function(N){return N})||[]},only:function(v){if(!pt(v))throw Error("React.Children.only expected to receive a single React element child.");return v}},et.Component=G,et.Fragment=o,et.Profiler=d,et.PureComponent=F,et.StrictMode=c,et.Suspense=g,et.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,et.__COMPILER_RUNTIME={__proto__:null,c:function(v){return I.H.useMemoCache(v)}},et.cache=function(v){return function(){return v.apply(null,arguments)}},et.cloneElement=function(v,N,Q){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var Y=C({},v.props),J=v.key,ct=void 0;if(N!=null)for(tt in N.ref!==void 0&&(ct=void 0),N.key!==void 0&&(J=""+N.key),N)!_t.call(N,tt)||tt==="key"||tt==="__self"||tt==="__source"||tt==="ref"&&N.ref===void 0||(Y[tt]=N[tt]);var tt=arguments.length-2;if(tt===1)Y.children=Q;else if(1<tt){for(var te=Array(tt),St=0;St<tt;St++)te[St]=arguments[St+2];Y.children=te}return At(v.type,J,void 0,void 0,ct,Y)},et.createContext=function(v){return v={$$typeof:A,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:y,_context:v},v},et.createElement=function(v,N,Q){var Y,J={},ct=null;if(N!=null)for(Y in N.key!==void 0&&(ct=""+N.key),N)_t.call(N,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(J[Y]=N[Y]);var tt=arguments.length-2;if(tt===1)J.children=Q;else if(1<tt){for(var te=Array(tt),St=0;St<tt;St++)te[St]=arguments[St+2];J.children=te}if(v&&v.defaultProps)for(Y in tt=v.defaultProps,tt)J[Y]===void 0&&(J[Y]=tt[Y]);return At(v,ct,void 0,void 0,null,J)},et.createRef=function(){return{current:null}},et.forwardRef=function(v){return{$$typeof:z,render:v}},et.isValidElement=pt,et.lazy=function(v){return{$$typeof:R,_payload:{_status:-1,_result:v},_init:w}},et.memo=function(v,N){return{$$typeof:m,type:v,compare:N===void 0?null:N}},et.startTransition=function(v){var N=I.T,Q={};I.T=Q;try{var Y=v(),J=I.S;J!==null&&J(Q,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(vt,W)}catch(ct){W(ct)}finally{I.T=N}},et.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},et.use=function(v){return I.H.use(v)},et.useActionState=function(v,N,Q){return I.H.useActionState(v,N,Q)},et.useCallback=function(v,N){return I.H.useCallback(v,N)},et.useContext=function(v){return I.H.useContext(v)},et.useDebugValue=function(){},et.useDeferredValue=function(v,N){return I.H.useDeferredValue(v,N)},et.useEffect=function(v,N,Q){var Y=I.H;if(typeof Q=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Y.useEffect(v,N)},et.useId=function(){return I.H.useId()},et.useImperativeHandle=function(v,N,Q){return I.H.useImperativeHandle(v,N,Q)},et.useInsertionEffect=function(v,N){return I.H.useInsertionEffect(v,N)},et.useLayoutEffect=function(v,N){return I.H.useLayoutEffect(v,N)},et.useMemo=function(v,N){return I.H.useMemo(v,N)},et.useOptimistic=function(v,N){return I.H.useOptimistic(v,N)},et.useReducer=function(v,N,Q){return I.H.useReducer(v,N,Q)},et.useRef=function(v){return I.H.useRef(v)},et.useState=function(v){return I.H.useState(v)},et.useSyncExternalStore=function(v,N,Q){return I.H.useSyncExternalStore(v,N,Q)},et.useTransition=function(){return I.H.useTransition()},et.version="19.1.0",et}var Ld;function Uc(){return Ld||(Ld=1,Ec.exports=w1()),Ec.exports}var M=Uc();const Oc=B1(M);var xc={exports:{}},Du={},Tc={exports:{}},Ac={};/**
 * @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 jd;function G1(){return jd||(jd=1,function(i){function r(D,w){var W=D.length;D.push(w);t:for(;0<W;){var vt=W-1>>>1,v=D[vt];if(0<d(v,w))D[vt]=w,D[W]=v,W=vt;else break t}}function o(D){return D.length===0?null:D[0]}function c(D){if(D.length===0)return null;var w=D[0],W=D.pop();if(W!==w){D[0]=W;t:for(var vt=0,v=D.length,N=v>>>1;vt<N;){var Q=2*(vt+1)-1,Y=D[Q],J=Q+1,ct=D[J];if(0>d(Y,W))J<v&&0>d(ct,Y)?(D[vt]=ct,D[J]=W,vt=J):(D[vt]=Y,D[Q]=W,vt=Q);else if(J<v&&0>d(ct,W))D[vt]=ct,D[J]=W,vt=J;else break t}}return w}function d(D,w){var W=D.sortIndex-w.sortIndex;return W!==0?W:D.id-w.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;i.unstable_now=function(){return y.now()}}else{var A=Date,z=A.now();i.unstable_now=function(){return A.now()-z}}var g=[],m=[],R=1,L=null,H=3,q=!1,C=!1,Z=!1,G=!1,B=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function ft(D){for(var w=o(m);w!==null;){if(w.callback===null)c(m);else if(w.startTime<=D)c(m),w.sortIndex=w.expirationTime,r(g,w);else break;w=o(m)}}function I(D){if(Z=!1,ft(D),!C)if(o(g)!==null)C=!0,_t||(_t=!0,Xt());else{var w=o(m);w!==null&&Qt(I,w.startTime-D)}}var _t=!1,At=-1,Mt=5,pt=-1;function Jt(){return G?!0:!(i.unstable_now()-pt<Mt)}function re(){if(G=!1,_t){var D=i.unstable_now();pt=D;var w=!0;try{t:{C=!1,Z&&(Z=!1,F(At),At=-1),q=!0;var W=H;try{e:{for(ft(D),L=o(g);L!==null&&!(L.expirationTime>D&&Jt());){var vt=L.callback;if(typeof vt=="function"){L.callback=null,H=L.priorityLevel;var v=vt(L.expirationTime<=D);if(D=i.unstable_now(),typeof v=="function"){L.callback=v,ft(D),w=!0;break e}L===o(g)&&c(g),ft(D)}else c(g);L=o(g)}if(L!==null)w=!0;else{var N=o(m);N!==null&&Qt(I,N.startTime-D),w=!1}}break t}finally{L=null,H=W,q=!1}w=void 0}}finally{w?Xt():_t=!1}}}var Xt;if(typeof X=="function")Xt=function(){X(re)};else if(typeof MessageChannel<"u"){var xl=new MessageChannel,Tl=xl.port2;xl.port1.onmessage=re,Xt=function(){Tl.postMessage(null)}}else Xt=function(){B(re,0)};function Qt(D,w){At=B(function(){D(i.unstable_now())},w)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(D){D.callback=null},i.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Mt=0<D?Math.floor(1e3/D):5},i.unstable_getCurrentPriorityLevel=function(){return H},i.unstable_next=function(D){switch(H){case 1:case 2:case 3:var w=3;break;default:w=H}var W=H;H=w;try{return D()}finally{H=W}},i.unstable_requestPaint=function(){G=!0},i.unstable_runWithPriority=function(D,w){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var W=H;H=D;try{return w()}finally{H=W}},i.unstable_scheduleCallback=function(D,w,W){var vt=i.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?vt+W:vt):W=vt,D){case 1:var v=-1;break;case 2:v=250;break;case 5:v=1073741823;break;case 4:v=1e4;break;default:v=5e3}return v=W+v,D={id:R++,callback:w,priorityLevel:D,startTime:W,expirationTime:v,sortIndex:-1},W>vt?(D.sortIndex=W,r(m,D),o(g)===null&&D===o(m)&&(Z?(F(At),At=-1):Z=!0,Qt(I,W-vt))):(D.sortIndex=v,r(g,D),C||q||(C=!0,_t||(_t=!0,Xt()))),D},i.unstable_shouldYield=Jt,i.unstable_wrapCallback=function(D){var w=H;return function(){var W=H;H=w;try{return D.apply(this,arguments)}finally{H=W}}}}(Ac)),Ac}var Bd;function X1(){return Bd||(Bd=1,Tc.exports=G1()),Tc.exports}var Rc={exports:{}},Kt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var qd;function Q1(){if(qd)return Kt;qd=1;var i=Uc();function r(g){var m="https://react.dev/errors/"+g;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)m+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+g+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var c={d:{f:o,r:function(){throw Error(r(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},d=Symbol.for("react.portal");function y(g,m,R){var L=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:L==null?null:""+L,children:g,containerInfo:m,implementation:R}}var A=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function z(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Kt.createPortal=function(g,m){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(r(299));return y(g,m,null,R)},Kt.flushSync=function(g){var m=A.T,R=c.p;try{if(A.T=null,c.p=2,g)return g()}finally{A.T=m,c.p=R,c.d.f()}},Kt.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,c.d.C(g,m))},Kt.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},Kt.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var R=m.as,L=z(R,m.crossOrigin),H=typeof m.integrity=="string"?m.integrity:void 0,q=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;R==="style"?c.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:L,integrity:H,fetchPriority:q}):R==="script"&&c.d.X(g,{crossOrigin:L,integrity:H,fetchPriority:q,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Kt.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var R=z(m.as,m.crossOrigin);c.d.M(g,{crossOrigin:R,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&c.d.M(g)},Kt.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var R=m.as,L=z(R,m.crossOrigin);c.d.L(g,R,{crossOrigin:L,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Kt.preloadModule=function(g,m){if(typeof g=="string")if(m){var R=z(m.as,m.crossOrigin);c.d.m(g,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:R,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else c.d.m(g)},Kt.requestFormReset=function(g){c.d.r(g)},Kt.unstable_batchedUpdates=function(g,m){return g(m)},Kt.useFormState=function(g,m,R){return A.H.useFormState(g,m,R)},Kt.useFormStatus=function(){return A.H.useHostTransitionStatus()},Kt.version="19.1.0",Kt}var Yd;function V1(){if(Yd)return Rc.exports;Yd=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Rc.exports=Q1(),Rc.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 wd;function Z1(){if(wd)return Du;wd=1;var i=X1(),r=Uc(),o=V1();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function y(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function A(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function z(t){if(y(t)!==t)throw Error(c(188))}function g(t){var e=t.alternate;if(!e){if(e=y(t),e===null)throw Error(c(188));return e!==t?null:t}for(var l=t,a=e;;){var u=l.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){l=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===l)return z(u),t;if(n===a)return z(u),e;n=n.sibling}throw Error(c(188))}if(l.return!==a.return)l=u,a=n;else{for(var f=!1,s=u.child;s;){if(s===l){f=!0,l=u,a=n;break}if(s===a){f=!0,a=u,l=n;break}s=s.sibling}if(!f){for(s=n.child;s;){if(s===l){f=!0,l=n,a=u;break}if(s===a){f=!0,a=n,l=u;break}s=s.sibling}if(!f)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?t:e}function m(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=m(t),e!==null)return e;t=t.sibling}return null}var R=Object.assign,L=Symbol.for("react.element"),H=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),F=Symbol.for("react.consumer"),X=Symbol.for("react.context"),ft=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),At=Symbol.for("react.memo"),Mt=Symbol.for("react.lazy"),pt=Symbol.for("react.activity"),Jt=Symbol.for("react.memo_cache_sentinel"),re=Symbol.iterator;function Xt(t){return t===null||typeof t!="object"?null:(t=re&&t[re]||t["@@iterator"],typeof t=="function"?t:null)}var xl=Symbol.for("react.client.reference");function Tl(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===xl?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case G:return"Profiler";case Z:return"StrictMode";case I:return"Suspense";case _t:return"SuspenseList";case pt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case q:return"Portal";case X:return(t.displayName||"Context")+".Provider";case F:return(t._context.displayName||"Context")+".Consumer";case ft:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case At:return e=t.displayName||null,e!==null?e:Tl(t.type)||"Memo";case Mt:e=t._payload,t=t._init;try{return Tl(t(e))}catch{}}return null}var Qt=Array.isArray,D=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},vt=[],v=-1;function N(t){return{current:t}}function Q(t){0>v||(t.current=vt[v],vt[v]=null,v--)}function Y(t,e){v++,vt[v]=t.current,t.current=e}var J=N(null),ct=N(null),tt=N(null),te=N(null);function St(t,e){switch(Y(tt,e),Y(ct,t),Y(J,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?id(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=id(e),t=fd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Q(J),Y(J,t)}function Fe(){Q(J),Q(ct),Q(tt)}function ui(t){t.memoizedState!==null&&Y(te,t);var e=J.current,l=fd(e,t.type);e!==l&&(Y(ct,t),Y(J,l))}function Lu(t){ct.current===t&&(Q(J),Q(ct)),te.current===t&&(Q(te),Tu._currentValue=W)}var ni=Object.prototype.hasOwnProperty,ii=i.unstable_scheduleCallback,fi=i.unstable_cancelCallback,y0=i.unstable_shouldYield,v0=i.unstable_requestPaint,Me=i.unstable_now,b0=i.unstable_getCurrentPriorityLevel,Yc=i.unstable_ImmediatePriority,wc=i.unstable_UserBlockingPriority,ju=i.unstable_NormalPriority,g0=i.unstable_LowPriority,Gc=i.unstable_IdlePriority,p0=i.log,S0=i.unstable_setDisableYieldValue,Ua=null,ee=null;function We(t){if(typeof p0=="function"&&S0(t),ee&&typeof ee.setStrictMode=="function")try{ee.setStrictMode(Ua,t)}catch{}}var le=Math.clz32?Math.clz32:T0,E0=Math.log,x0=Math.LN2;function T0(t){return t>>>=0,t===0?32:31-(E0(t)/x0|0)|0}var Bu=256,qu=4194304;function Al(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Yu(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var s=a&134217727;return s!==0?(a=s&~n,a!==0?u=Al(a):(f&=s,f!==0?u=Al(f):l||(l=s&~t,l!==0&&(u=Al(l))))):(s=a&~n,s!==0?u=Al(s):f!==0?u=Al(f):l||(l=a&~t,l!==0&&(u=Al(l)))),u===0?0:e!==0&&e!==u&&(e&n)===0&&(n=u&-u,l=e&-e,n>=l||n===32&&(l&4194048)!==0)?e:u}function Na(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function A0(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Xc(){var t=Bu;return Bu<<=1,(Bu&4194048)===0&&(Bu=256),t}function Qc(){var t=qu;return qu<<=1,(qu&62914560)===0&&(qu=4194304),t}function ci(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Ha(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function R0(t,e,l,a,u,n){var f=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var s=t.entanglements,h=t.expirationTimes,E=t.hiddenUpdates;for(l=f&~l;0<l;){var O=31-le(l),U=1<<O;s[O]=0,h[O]=-1;var x=E[O];if(x!==null)for(E[O]=null,O=0;O<x.length;O++){var T=x[O];T!==null&&(T.lane&=-536870913)}l&=~U}a!==0&&Vc(t,a,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(f&~e))}function Vc(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-le(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function Zc(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-le(l),u=1<<a;u&e|t[a]&e&&(t[a]|=e),l&=~u}}function si(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ri(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Kc(){var t=w.p;return t!==0?t:(t=window.event,t===void 0?32:zd(t.type))}function z0(t,e){var l=w.p;try{return w.p=t,e()}finally{w.p=l}}var Pe=Math.random().toString(36).slice(2),Vt="__reactFiber$"+Pe,kt="__reactProps$"+Pe,Ql="__reactContainer$"+Pe,oi="__reactEvents$"+Pe,M0="__reactListeners$"+Pe,O0="__reactHandles$"+Pe,Jc="__reactResources$"+Pe,Ca="__reactMarker$"+Pe;function di(t){delete t[Vt],delete t[kt],delete t[oi],delete t[M0],delete t[O0]}function Vl(t){var e=t[Vt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Ql]||l[Vt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=od(t);t!==null;){if(l=t[Vt])return l;t=od(t)}return e}t=l,l=t.parentNode}return null}function Zl(t){if(t=t[Vt]||t[Ql]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function La(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Kl(t){var e=t[Jc];return e||(e=t[Jc]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Lt(t){t[Ca]=!0}var $c=new Set,kc={};function Rl(t,e){Jl(t,e),Jl(t+"Capture",e)}function Jl(t,e){for(kc[t]=e,t=0;t<e.length;t++)$c.add(e[t])}var D0=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]*$"),Fc={},Wc={};function _0(t){return ni.call(Wc,t)?!0:ni.call(Fc,t)?!1:D0.test(t)?Wc[t]=!0:(Fc[t]=!0,!1)}function wu(t,e,l){if(_0(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Gu(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function He(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var hi,Pc;function $l(t){if(hi===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);hi=e&&e[1]||"",Pc=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+hi+t+Pc}var mi=!1;function yi(t,e){if(!t||mi)return"";mi=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(T){var x=T}Reflect.construct(t,[],U)}else{try{U.call()}catch(T){x=T}t.call(U.prototype)}}else{try{throw Error()}catch(T){x=T}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(T){if(T&&x&&typeof T.stack=="string")return[T.stack,x.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),f=n[0],s=n[1];if(f&&s){var h=f.split(`
`),E=s.split(`
`);for(u=a=0;a<h.length&&!h[a].includes("DetermineComponentFrameRoot");)a++;for(;u<E.length&&!E[u].includes("DetermineComponentFrameRoot");)u++;if(a===h.length||u===E.length)for(a=h.length-1,u=E.length-1;1<=a&&0<=u&&h[a]!==E[u];)u--;for(;1<=a&&0<=u;a--,u--)if(h[a]!==E[u]){if(a!==1||u!==1)do if(a--,u--,0>u||h[a]!==E[u]){var O=`
`+h[a].replace(" at new "," at ");return t.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",t.displayName)),O}while(1<=a&&0<=u);break}}}finally{mi=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?$l(l):""}function U0(t){switch(t.tag){case 26:case 27:case 5:return $l(t.type);case 16:return $l("Lazy");case 13:return $l("Suspense");case 19:return $l("SuspenseList");case 0:case 15:return yi(t.type,!1);case 11:return yi(t.type.render,!1);case 1:return yi(t.type,!0);case 31:return $l("Activity");default:return""}}function Ic(t){try{var e="";do e+=U0(t),t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function oe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ts(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function N0(t){var e=ts(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,n=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(f){a=""+f,n.call(this,f)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Xu(t){t._valueTracker||(t._valueTracker=N0(t))}function es(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=ts(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function Qu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var H0=/[\n"\\]/g;function de(t){return t.replace(H0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function vi(t,e,l,a,u,n,f,s){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+oe(e)):t.value!==""+oe(e)&&(t.value=""+oe(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?bi(t,f,oe(e)):l!=null?bi(t,f,oe(l)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.name=""+oe(s):t.removeAttribute("name")}function ls(t,e,l,a,u,n,f,s){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),e!=null||l!=null){if(!(n!=="submit"&&n!=="reset"||e!=null))return;l=l!=null?""+oe(l):"",e=e!=null?""+oe(e):l,s||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=s?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function bi(t,e,l){e==="number"&&Qu(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function kl(t,e,l,a){if(t=t.options,e){e={};for(var u=0;u<l.length;u++)e["$"+l[u]]=!0;for(l=0;l<t.length;l++)u=e.hasOwnProperty("$"+t[l].value),t[l].selected!==u&&(t[l].selected=u),u&&a&&(t[l].defaultSelected=!0)}else{for(l=""+oe(l),e=null,u=0;u<t.length;u++){if(t[u].value===l){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function as(t,e,l){if(e!=null&&(e=""+oe(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+oe(l):""}function us(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(c(92));if(Qt(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=oe(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function Fl(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var C0=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 ns(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||C0.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function is(t,e,l){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in e)a=e[u],e.hasOwnProperty(u)&&l[u]!==a&&ns(t,u,a)}else for(var n in e)e.hasOwnProperty(n)&&ns(t,n,e[n])}function gi(t){if(t.indexOf("-")===-1)return!1;switch(t){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 L0=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"]]),j0=/^[\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 Vu(t){return j0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var pi=null;function Si(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Wl=null,Pl=null;function fs(t){var e=Zl(t);if(e&&(t=e.stateNode)){var l=t[kt]||null;t:switch(t=e.stateNode,e.type){case"input":if(vi(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+de(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var u=a[kt]||null;if(!u)throw Error(c(90));vi(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&es(a)}break t;case"textarea":as(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&kl(t,!!l.multiple,e,!1)}}}var Ei=!1;function cs(t,e,l){if(Ei)return t(e,l);Ei=!0;try{var a=t(e);return a}finally{if(Ei=!1,(Wl!==null||Pl!==null)&&(_n(),Wl&&(e=Wl,t=Pl,Pl=Wl=null,fs(e),t)))for(e=0;e<t.length;e++)fs(t[e])}}function ja(t,e){var l=t.stateNode;if(l===null)return null;var a=l[kt]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(c(231,e,typeof l));return l}var Ce=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xi=!1;if(Ce)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){xi=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{xi=!1}var Ie=null,Ti=null,Zu=null;function ss(){if(Zu)return Zu;var t,e=Ti,l=e.length,a,u="value"in Ie?Ie.value:Ie.textContent,n=u.length;for(t=0;t<l&&e[t]===u[t];t++);var f=l-t;for(a=1;a<=f&&e[l-a]===u[n-a];a++);return Zu=u.slice(t,1<a?1-a:void 0)}function Ku(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ju(){return!0}function rs(){return!1}function Ft(t){function e(l,a,u,n,f){this._reactName=l,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=f,this.currentTarget=null;for(var s in t)t.hasOwnProperty(s)&&(l=t[s],this[s]=l?l(n):n[s]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Ju:rs,this.isPropagationStopped=rs,this}return R(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ju)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ju)},persist:function(){},isPersistent:Ju}),e}var zl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$u=Ft(zl),qa=R({},zl,{view:0,detail:0}),B0=Ft(qa),Ai,Ri,Ya,ku=R({},qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Mi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ya&&(Ya&&t.type==="mousemove"?(Ai=t.screenX-Ya.screenX,Ri=t.screenY-Ya.screenY):Ri=Ai=0,Ya=t),Ai)},movementY:function(t){return"movementY"in t?t.movementY:Ri}}),os=Ft(ku),q0=R({},ku,{dataTransfer:0}),Y0=Ft(q0),w0=R({},qa,{relatedTarget:0}),zi=Ft(w0),G0=R({},zl,{animationName:0,elapsedTime:0,pseudoElement:0}),X0=Ft(G0),Q0=R({},zl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),V0=Ft(Q0),Z0=R({},zl,{data:0}),ds=Ft(Z0),K0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},J0={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"},$0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function k0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=$0[t])?!!e[t]:!1}function Mi(){return k0}var F0=R({},qa,{key:function(t){if(t.key){var e=K0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ku(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?J0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Mi,charCode:function(t){return t.type==="keypress"?Ku(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ku(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),W0=Ft(F0),P0=R({},ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hs=Ft(P0),I0=R({},qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Mi}),th=Ft(I0),eh=R({},zl,{propertyName:0,elapsedTime:0,pseudoElement:0}),lh=Ft(eh),ah=R({},ku,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),uh=Ft(ah),nh=R({},zl,{newState:0,oldState:0}),ih=Ft(nh),fh=[9,13,27,32],Oi=Ce&&"CompositionEvent"in window,wa=null;Ce&&"documentMode"in document&&(wa=document.documentMode);var ch=Ce&&"TextEvent"in window&&!wa,ms=Ce&&(!Oi||wa&&8<wa&&11>=wa),ys=" ",vs=!1;function bs(t,e){switch(t){case"keyup":return fh.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Il=!1;function sh(t,e){switch(t){case"compositionend":return gs(e);case"keypress":return e.which!==32?null:(vs=!0,ys);case"textInput":return t=e.data,t===ys&&vs?null:t;default:return null}}function rh(t,e){if(Il)return t==="compositionend"||!Oi&&bs(t,e)?(t=ss(),Zu=Ti=Ie=null,Il=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return ms&&e.locale!=="ko"?null:e.data;default:return null}}var oh={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 ps(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!oh[t.type]:e==="textarea"}function Ss(t,e,l,a){Wl?Pl?Pl.push(a):Pl=[a]:Wl=a,e=jn(e,"onChange"),0<e.length&&(l=new $u("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var Ga=null,Xa=null;function dh(t){ed(t,0)}function Fu(t){var e=La(t);if(es(e))return t}function Es(t,e){if(t==="change")return e}var xs=!1;if(Ce){var Di;if(Ce){var _i="oninput"in document;if(!_i){var Ts=document.createElement("div");Ts.setAttribute("oninput","return;"),_i=typeof Ts.oninput=="function"}Di=_i}else Di=!1;xs=Di&&(!document.documentMode||9<document.documentMode)}function As(){Ga&&(Ga.detachEvent("onpropertychange",Rs),Xa=Ga=null)}function Rs(t){if(t.propertyName==="value"&&Fu(Xa)){var e=[];Ss(e,Xa,t,Si(t)),cs(dh,e)}}function hh(t,e,l){t==="focusin"?(As(),Ga=e,Xa=l,Ga.attachEvent("onpropertychange",Rs)):t==="focusout"&&As()}function mh(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Fu(Xa)}function yh(t,e){if(t==="click")return Fu(e)}function vh(t,e){if(t==="input"||t==="change")return Fu(e)}function bh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ae=typeof Object.is=="function"?Object.is:bh;function Qa(t,e){if(ae(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var u=l[a];if(!ni.call(e,u)||!ae(t[u],e[u]))return!1}return!0}function zs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ms(t,e){var l=zs(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=zs(l)}}function Os(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Os(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ds(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Qu(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Qu(t.document)}return e}function Ui(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var gh=Ce&&"documentMode"in document&&11>=document.documentMode,ta=null,Ni=null,Va=null,Hi=!1;function _s(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Hi||ta==null||ta!==Qu(a)||(a=ta,"selectionStart"in a&&Ui(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Va&&Qa(Va,a)||(Va=a,a=jn(Ni,"onSelect"),0<a.length&&(e=new $u("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=ta)))}function Ml(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ea={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionrun:Ml("Transition","TransitionRun"),transitionstart:Ml("Transition","TransitionStart"),transitioncancel:Ml("Transition","TransitionCancel"),transitionend:Ml("Transition","TransitionEnd")},Ci={},Us={};Ce&&(Us=document.createElement("div").style,"AnimationEvent"in window||(delete ea.animationend.animation,delete ea.animationiteration.animation,delete ea.animationstart.animation),"TransitionEvent"in window||delete ea.transitionend.transition);function Ol(t){if(Ci[t])return Ci[t];if(!ea[t])return t;var e=ea[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Us)return Ci[t]=e[l];return t}var Ns=Ol("animationend"),Hs=Ol("animationiteration"),Cs=Ol("animationstart"),ph=Ol("transitionrun"),Sh=Ol("transitionstart"),Eh=Ol("transitioncancel"),Ls=Ol("transitionend"),js=new Map,Li="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(" ");Li.push("scrollEnd");function xe(t,e){js.set(t,e),Rl(e,[t])}var Bs=new WeakMap;function he(t,e){if(typeof t=="object"&&t!==null){var l=Bs.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Ic(e)},Bs.set(t,e),e)}return{value:t,source:e,stack:Ic(e)}}var me=[],la=0,ji=0;function Wu(){for(var t=la,e=ji=la=0;e<t;){var l=me[e];me[e++]=null;var a=me[e];me[e++]=null;var u=me[e];me[e++]=null;var n=me[e];if(me[e++]=null,a!==null&&u!==null){var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}n!==0&&qs(l,u,n)}}function Pu(t,e,l,a){me[la++]=t,me[la++]=e,me[la++]=l,me[la++]=a,ji|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Bi(t,e,l,a){return Pu(t,e,l,a),Iu(t)}function aa(t,e){return Pu(t,null,null,e),Iu(t)}function qs(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var u=!1,n=t.return;n!==null;)n.childLanes|=l,a=n.alternate,a!==null&&(a.childLanes|=l),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,u&&e!==null&&(u=31-le(l),t=n.hiddenUpdates,a=t[u],a===null?t[u]=[e]:a.push(e),e.lane=l|536870912),n):null}function Iu(t){if(50<yu)throw yu=0,Vf=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ua={};function xh(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ue(t,e,l,a){return new xh(t,e,l,a)}function qi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Le(t,e){var l=t.alternate;return l===null?(l=ue(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Ys(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function tn(t,e,l,a,u,n){var f=0;if(a=t,typeof t=="function")qi(t)&&(f=1);else if(typeof t=="string")f=A1(t,l,J.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case pt:return t=ue(31,l,e,u),t.elementType=pt,t.lanes=n,t;case C:return Dl(l.children,u,n,e);case Z:f=8,u|=24;break;case G:return t=ue(12,l,e,u|2),t.elementType=G,t.lanes=n,t;case I:return t=ue(13,l,e,u),t.elementType=I,t.lanes=n,t;case _t:return t=ue(19,l,e,u),t.elementType=_t,t.lanes=n,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case B:case X:f=10;break t;case F:f=9;break t;case ft:f=11;break t;case At:f=14;break t;case Mt:f=16,a=null;break t}f=29,l=Error(c(130,t===null?"null":typeof t,"")),a=null}return e=ue(f,l,e,u),e.elementType=t,e.type=a,e.lanes=n,e}function Dl(t,e,l,a){return t=ue(7,t,a,e),t.lanes=l,t}function Yi(t,e,l){return t=ue(6,t,null,e),t.lanes=l,t}function wi(t,e,l){return e=ue(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var na=[],ia=0,en=null,ln=0,ye=[],ve=0,_l=null,je=1,Be="";function Ul(t,e){na[ia++]=ln,na[ia++]=en,en=t,ln=e}function ws(t,e,l){ye[ve++]=je,ye[ve++]=Be,ye[ve++]=_l,_l=t;var a=je;t=Be;var u=32-le(a)-1;a&=~(1<<u),l+=1;var n=32-le(e)+u;if(30<n){var f=u-u%5;n=(a&(1<<f)-1).toString(32),a>>=f,u-=f,je=1<<32-le(e)+u|l<<u|a,Be=n+t}else je=1<<n|l<<u|a,Be=t}function Gi(t){t.return!==null&&(Ul(t,1),ws(t,1,0))}function Xi(t){for(;t===en;)en=na[--ia],na[ia]=null,ln=na[--ia],na[ia]=null;for(;t===_l;)_l=ye[--ve],ye[ve]=null,Be=ye[--ve],ye[ve]=null,je=ye[--ve],ye[ve]=null}var $t=null,Rt=null,rt=!1,Nl=null,Oe=!1,Qi=Error(c(519));function Hl(t){var e=Error(c(418,""));throw Ja(he(e,t)),Qi}function Gs(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Vt]=t,e[kt]=a,l){case"dialog":nt("cancel",e),nt("close",e);break;case"iframe":case"object":case"embed":nt("load",e);break;case"video":case"audio":for(l=0;l<bu.length;l++)nt(bu[l],e);break;case"source":nt("error",e);break;case"img":case"image":case"link":nt("error",e),nt("load",e);break;case"details":nt("toggle",e);break;case"input":nt("invalid",e),ls(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Xu(e);break;case"select":nt("invalid",e);break;case"textarea":nt("invalid",e),us(e,a.value,a.defaultValue,a.children),Xu(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||nd(e.textContent,l)?(a.popover!=null&&(nt("beforetoggle",e),nt("toggle",e)),a.onScroll!=null&&nt("scroll",e),a.onScrollEnd!=null&&nt("scrollend",e),a.onClick!=null&&(e.onclick=Bn),e=!0):e=!1,e||Hl(t)}function Xs(t){for($t=t.return;$t;)switch($t.tag){case 5:case 13:Oe=!1;return;case 27:case 3:Oe=!0;return;default:$t=$t.return}}function Za(t){if(t!==$t)return!1;if(!rt)return Xs(t),rt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||ic(t.type,t.memoizedProps)),l=!l),l&&Rt&&Hl(t),Xs(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Rt=Ae(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Rt=null}}else e===27?(e=Rt,yl(t.type)?(t=rc,rc=null,Rt=t):Rt=e):Rt=$t?Ae(t.stateNode.nextSibling):null;return!0}function Ka(){Rt=$t=null,rt=!1}function Qs(){var t=Nl;return t!==null&&(It===null?It=t:It.push.apply(It,t),Nl=null),t}function Ja(t){Nl===null?Nl=[t]:Nl.push(t)}var Vi=N(null),Cl=null,qe=null;function tl(t,e,l){Y(Vi,e._currentValue),e._currentValue=l}function Ye(t){t._currentValue=Vi.current,Q(Vi)}function Zi(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Ki(t,e,l,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var n=u.dependencies;if(n!==null){var f=u.child;n=n.firstContext;t:for(;n!==null;){var s=n;n=u;for(var h=0;h<e.length;h++)if(s.context===e[h]){n.lanes|=l,s=n.alternate,s!==null&&(s.lanes|=l),Zi(n.return,l,t),a||(f=null);break t}n=s.next}}else if(u.tag===18){if(f=u.return,f===null)throw Error(c(341));f.lanes|=l,n=f.alternate,n!==null&&(n.lanes|=l),Zi(f,l,t),f=null}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===t){f=null;break}if(u=f.sibling,u!==null){u.return=f.return,f=u;break}f=f.return}u=f}}function $a(t,e,l,a){t=null;for(var u=e,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var f=u.alternate;if(f===null)throw Error(c(387));if(f=f.memoizedProps,f!==null){var s=u.type;ae(u.pendingProps.value,f.value)||(t!==null?t.push(s):t=[s])}}else if(u===te.current){if(f=u.alternate,f===null)throw Error(c(387));f.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Tu):t=[Tu])}u=u.return}t!==null&&Ki(e,t,l,a),e.flags|=262144}function an(t){for(t=t.firstContext;t!==null;){if(!ae(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ll(t){Cl=t,qe=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Zt(t){return Vs(Cl,t)}function un(t,e){return Cl===null&&Ll(t),Vs(t,e)}function Vs(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},qe===null){if(t===null)throw Error(c(308));qe=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else qe=qe.next=e;return l}var Th=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Ah=i.unstable_scheduleCallback,Rh=i.unstable_NormalPriority,Ht={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ji(){return{controller:new Th,data:new Map,refCount:0}}function ka(t){t.refCount--,t.refCount===0&&Ah(Rh,function(){t.controller.abort()})}var Fa=null,$i=0,fa=0,ca=null;function zh(t,e){if(Fa===null){var l=Fa=[];$i=0,fa=Wf(),ca={status:"pending",value:void 0,then:function(a){l.push(a)}}}return $i++,e.then(Zs,Zs),e}function Zs(){if(--$i===0&&Fa!==null){ca!==null&&(ca.status="fulfilled");var t=Fa;Fa=null,fa=0,ca=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Mh(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(u){l.push(u)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var u=0;u<l.length;u++)(0,l[u])(e)},function(u){for(a.status="rejected",a.reason=u,u=0;u<l.length;u++)(0,l[u])(void 0)}),a}var Ks=D.S;D.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&zh(t,e),Ks!==null&&Ks(t,e)};var jl=N(null);function ki(){var t=jl.current;return t!==null?t:gt.pooledCache}function nn(t,e){e===null?Y(jl,jl.current):Y(jl,e.pool)}function Js(){var t=ki();return t===null?null:{parent:Ht._currentValue,pool:t}}var Wa=Error(c(460)),$s=Error(c(474)),fn=Error(c(542)),Fi={then:function(){}};function ks(t){return t=t.status,t==="fulfilled"||t==="rejected"}function cn(){}function Fs(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(cn,cn),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ps(t),t;default:if(typeof e.status=="string")e.then(cn,cn);else{if(t=gt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=a}},function(a){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ps(t),t}throw Pa=e,Wa}}var Pa=null;function Ws(){if(Pa===null)throw Error(c(459));var t=Pa;return Pa=null,t}function Ps(t){if(t===Wa||t===fn)throw Error(c(483))}var el=!1;function Wi(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pi(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ll(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function al(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(ot&2)!==0){var u=a.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),a.pending=e,e=Iu(t),qs(t,null,l),e}return Pu(t,a,e,l),Iu(t)}function Ia(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Zc(t,l)}}function Ii(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var u=null,n=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};n===null?u=n=f:n=n.next=f,l=l.next}while(l!==null);n===null?u=n=e:n=n.next=e}else u=n=e;l={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var tf=!1;function tu(){if(tf){var t=ca;if(t!==null)throw t}}function eu(t,e,l,a){tf=!1;var u=t.updateQueue;el=!1;var n=u.firstBaseUpdate,f=u.lastBaseUpdate,s=u.shared.pending;if(s!==null){u.shared.pending=null;var h=s,E=h.next;h.next=null,f===null?n=E:f.next=E,f=h;var O=t.alternate;O!==null&&(O=O.updateQueue,s=O.lastBaseUpdate,s!==f&&(s===null?O.firstBaseUpdate=E:s.next=E,O.lastBaseUpdate=h))}if(n!==null){var U=u.baseState;f=0,O=E=h=null,s=n;do{var x=s.lane&-536870913,T=x!==s.lane;if(T?(it&x)===x:(a&x)===x){x!==0&&x===fa&&(tf=!0),O!==null&&(O=O.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var P=t,$=s;x=e;var yt=l;switch($.tag){case 1:if(P=$.payload,typeof P=="function"){U=P.call(yt,U,x);break t}U=P;break t;case 3:P.flags=P.flags&-65537|128;case 0:if(P=$.payload,x=typeof P=="function"?P.call(yt,U,x):P,x==null)break t;U=R({},U,x);break t;case 2:el=!0}}x=s.callback,x!==null&&(t.flags|=64,T&&(t.flags|=8192),T=u.callbacks,T===null?u.callbacks=[x]:T.push(x))}else T={lane:x,tag:s.tag,payload:s.payload,callback:s.callback,next:null},O===null?(E=O=T,h=U):O=O.next=T,f|=x;if(s=s.next,s===null){if(s=u.shared.pending,s===null)break;T=s,s=T.next,T.next=null,u.lastBaseUpdate=T,u.shared.pending=null}}while(!0);O===null&&(h=U),u.baseState=h,u.firstBaseUpdate=E,u.lastBaseUpdate=O,n===null&&(u.shared.lanes=0),ol|=f,t.lanes=f,t.memoizedState=U}}function Is(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function tr(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Is(l[t],e)}var sa=N(null),sn=N(0);function er(t,e){t=Ke,Y(sn,t),Y(sa,e),Ke=t|e.baseLanes}function ef(){Y(sn,Ke),Y(sa,sa.current)}function lf(){Ke=sn.current,Q(sa),Q(sn)}var ul=0,lt=null,ht=null,Ut=null,rn=!1,ra=!1,Bl=!1,on=0,lu=0,oa=null,Oh=0;function Ot(){throw Error(c(321))}function af(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!ae(t[l],e[l]))return!1;return!0}function uf(t,e,l,a,u,n){return ul=n,lt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,D.H=t===null||t.memoizedState===null?qr:Yr,Bl=!1,n=l(a,u),Bl=!1,ra&&(n=ar(e,l,a,u)),lr(t),n}function lr(t){D.H=bn;var e=ht!==null&&ht.next!==null;if(ul=0,Ut=ht=lt=null,rn=!1,lu=0,oa=null,e)throw Error(c(300));t===null||jt||(t=t.dependencies,t!==null&&an(t)&&(jt=!0))}function ar(t,e,l,a){lt=t;var u=0;do{if(ra&&(oa=null),lu=0,ra=!1,25<=u)throw Error(c(301));if(u+=1,Ut=ht=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}D.H=Lh,n=e(l,a)}while(ra);return n}function Dh(){var t=D.H,e=t.useState()[0];return e=typeof e.then=="function"?au(e):e,t=t.useState()[0],(ht!==null?ht.memoizedState:null)!==t&&(lt.flags|=1024),e}function nf(){var t=on!==0;return on=0,t}function ff(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function cf(t){if(rn){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}rn=!1}ul=0,Ut=ht=lt=null,ra=!1,lu=on=0,oa=null}function Wt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?lt.memoizedState=Ut=t:Ut=Ut.next=t,Ut}function Nt(){if(ht===null){var t=lt.alternate;t=t!==null?t.memoizedState:null}else t=ht.next;var e=Ut===null?lt.memoizedState:Ut.next;if(e!==null)Ut=e,ht=t;else{if(t===null)throw lt.alternate===null?Error(c(467)):Error(c(310));ht=t,t={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},Ut===null?lt.memoizedState=Ut=t:Ut=Ut.next=t}return Ut}function sf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function au(t){var e=lu;return lu+=1,oa===null&&(oa=[]),t=Fs(oa,t,e),e=lt,(Ut===null?e.memoizedState:Ut.next)===null&&(e=e.alternate,D.H=e===null||e.memoizedState===null?qr:Yr),t}function dn(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return au(t);if(t.$$typeof===X)return Zt(t)}throw Error(c(438,String(t)))}function rf(t){var e=null,l=lt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=lt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=sf(),lt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=Jt;return e.index++,l}function we(t,e){return typeof e=="function"?e(t):e}function hn(t){var e=Nt();return of(e,ht,t)}function of(t,e,l){var a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var u=t.baseQueue,n=a.pending;if(n!==null){if(u!==null){var f=u.next;u.next=n.next,n.next=f}e.baseQueue=u=n,a.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{e=u.next;var s=f=null,h=null,E=e,O=!1;do{var U=E.lane&-536870913;if(U!==E.lane?(it&U)===U:(ul&U)===U){var x=E.revertLane;if(x===0)h!==null&&(h=h.next={lane:0,revertLane:0,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),U===fa&&(O=!0);else if((ul&x)===x){E=E.next,x===fa&&(O=!0);continue}else U={lane:0,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},h===null?(s=h=U,f=n):h=h.next=U,lt.lanes|=x,ol|=x;U=E.action,Bl&&l(n,U),n=E.hasEagerState?E.eagerState:l(n,U)}else x={lane:U,revertLane:E.revertLane,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},h===null?(s=h=x,f=n):h=h.next=x,lt.lanes|=U,ol|=U;E=E.next}while(E!==null&&E!==e);if(h===null?f=n:h.next=s,!ae(n,t.memoizedState)&&(jt=!0,O&&(l=ca,l!==null)))throw l;t.memoizedState=n,t.baseState=f,t.baseQueue=h,a.lastRenderedState=n}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function df(t){var e=Nt(),l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=t;var a=l.dispatch,u=l.pending,n=e.memoizedState;if(u!==null){l.pending=null;var f=u=u.next;do n=t(n,f.action),f=f.next;while(f!==u);ae(n,e.memoizedState)||(jt=!0),e.memoizedState=n,e.baseQueue===null&&(e.baseState=n),l.lastRenderedState=n}return[n,a]}function ur(t,e,l){var a=lt,u=Nt(),n=rt;if(n){if(l===void 0)throw Error(c(407));l=l()}else l=e();var f=!ae((ht||u).memoizedState,l);f&&(u.memoizedState=l,jt=!0),u=u.queue;var s=fr.bind(null,a,u,t);if(uu(2048,8,s,[t]),u.getSnapshot!==e||f||Ut!==null&&Ut.memoizedState.tag&1){if(a.flags|=2048,da(9,mn(),ir.bind(null,a,u,l,e),null),gt===null)throw Error(c(349));n||(ul&124)!==0||nr(a,e,l)}return l}function nr(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=lt.updateQueue,e===null?(e=sf(),lt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function ir(t,e,l,a){e.value=l,e.getSnapshot=a,cr(e)&&sr(t)}function fr(t,e,l){return l(function(){cr(e)&&sr(t)})}function cr(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!ae(t,l)}catch{return!0}}function sr(t){var e=aa(t,2);e!==null&&se(e,t,2)}function hf(t){var e=Wt();if(typeof t=="function"){var l=t;if(t=l(),Bl){We(!0);try{l()}finally{We(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:t},e}function rr(t,e,l,a){return t.baseState=l,of(t,ht,typeof a=="function"?a:we)}function _h(t,e,l,a,u){if(vn(t))throw Error(c(485));if(t=e.action,t!==null){var n={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){n.listeners.push(f)}};D.T!==null?l(!0):n.isTransition=!1,a(n),l=e.pending,l===null?(n.next=e.pending=n,or(e,n)):(n.next=l.next,e.pending=l.next=n)}}function or(t,e){var l=e.action,a=e.payload,u=t.state;if(e.isTransition){var n=D.T,f={};D.T=f;try{var s=l(u,a),h=D.S;h!==null&&h(f,s),dr(t,e,s)}catch(E){mf(t,e,E)}finally{D.T=n}}else try{n=l(u,a),dr(t,e,n)}catch(E){mf(t,e,E)}}function dr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){hr(t,e,a)},function(a){return mf(t,e,a)}):hr(t,e,l)}function hr(t,e,l){e.status="fulfilled",e.value=l,mr(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,or(t,l)))}function mf(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,mr(e),e=e.next;while(e!==a)}t.action=null}function mr(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function yr(t,e){return e}function vr(t,e){if(rt){var l=gt.formState;if(l!==null){t:{var a=lt;if(rt){if(Rt){e:{for(var u=Rt,n=Oe;u.nodeType!==8;){if(!n){u=null;break e}if(u=Ae(u.nextSibling),u===null){u=null;break e}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Rt=Ae(u.nextSibling),a=u.data==="F!";break t}}Hl(a)}a=!1}a&&(e=l[0])}}return l=Wt(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yr,lastRenderedState:e},l.queue=a,l=Lr.bind(null,lt,a),a.dispatch=l,a=hf(!1),n=pf.bind(null,lt,!1,a.queue),a=Wt(),u={state:e,dispatch:null,action:t,pending:null},a.queue=u,l=_h.bind(null,lt,u,n,l),u.dispatch=l,a.memoizedState=t,[e,l,!1]}function br(t){var e=Nt();return gr(e,ht,t)}function gr(t,e,l){if(e=of(t,e,yr)[0],t=hn(we)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=au(e)}catch(f){throw f===Wa?fn:f}else a=e;e=Nt();var u=e.queue,n=u.dispatch;return l!==e.memoizedState&&(lt.flags|=2048,da(9,mn(),Uh.bind(null,u,l),null)),[a,n,t]}function Uh(t,e){t.action=e}function pr(t){var e=Nt(),l=ht;if(l!==null)return gr(e,l,t);Nt(),e=e.memoizedState,l=Nt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function da(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=lt.updateQueue,e===null&&(e=sf(),lt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function mn(){return{destroy:void 0,resource:void 0}}function Sr(){return Nt().memoizedState}function yn(t,e,l,a){var u=Wt();a=a===void 0?null:a,lt.flags|=t,u.memoizedState=da(1|e,mn(),l,a)}function uu(t,e,l,a){var u=Nt();a=a===void 0?null:a;var n=u.memoizedState.inst;ht!==null&&a!==null&&af(a,ht.memoizedState.deps)?u.memoizedState=da(e,n,l,a):(lt.flags|=t,u.memoizedState=da(1|e,n,l,a))}function Er(t,e){yn(8390656,8,t,e)}function xr(t,e){uu(2048,8,t,e)}function Tr(t,e){return uu(4,2,t,e)}function Ar(t,e){return uu(4,4,t,e)}function Rr(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function zr(t,e,l){l=l!=null?l.concat([t]):null,uu(4,4,Rr.bind(null,e,t),l)}function yf(){}function Mr(t,e){var l=Nt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&af(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Or(t,e){var l=Nt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&af(e,a[1]))return a[0];if(a=t(),Bl){We(!0);try{t()}finally{We(!1)}}return l.memoizedState=[a,e],a}function vf(t,e,l){return l===void 0||(ul&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=No(),lt.lanes|=t,ol|=t,l)}function Dr(t,e,l,a){return ae(l,e)?l:sa.current!==null?(t=vf(t,l,a),ae(t,e)||(jt=!0),t):(ul&42)===0?(jt=!0,t.memoizedState=l):(t=No(),lt.lanes|=t,ol|=t,e)}function _r(t,e,l,a,u){var n=w.p;w.p=n!==0&&8>n?n:8;var f=D.T,s={};D.T=s,pf(t,!1,e,l);try{var h=u(),E=D.S;if(E!==null&&E(s,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var O=Mh(h,a);nu(t,e,O,ce(t))}else nu(t,e,a,ce(t))}catch(U){nu(t,e,{then:function(){},status:"rejected",reason:U},ce())}finally{w.p=n,D.T=f}}function Nh(){}function bf(t,e,l,a){if(t.tag!==5)throw Error(c(476));var u=Ur(t).queue;_r(t,u,e,W,l===null?Nh:function(){return Nr(t),l(a)})}function Ur(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:W},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:we,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Nr(t){var e=Ur(t).next.queue;nu(t,e,{},ce())}function gf(){return Zt(Tu)}function Hr(){return Nt().memoizedState}function Cr(){return Nt().memoizedState}function Hh(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ce();t=ll(l);var a=al(e,t,l);a!==null&&(se(a,e,l),Ia(a,e,l)),e={cache:Ji()},t.payload=e;return}e=e.return}}function Ch(t,e,l){var a=ce();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},vn(t)?jr(e,l):(l=Bi(t,e,l,a),l!==null&&(se(l,t,a),Br(l,e,a)))}function Lr(t,e,l){var a=ce();nu(t,e,l,a)}function nu(t,e,l,a){var u={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(vn(t))jr(e,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var f=e.lastRenderedState,s=n(f,l);if(u.hasEagerState=!0,u.eagerState=s,ae(s,f))return Pu(t,e,u,0),gt===null&&Wu(),!1}catch{}finally{}if(l=Bi(t,e,u,a),l!==null)return se(l,t,a),Br(l,e,a),!0}return!1}function pf(t,e,l,a){if(a={lane:2,revertLane:Wf(),action:a,hasEagerState:!1,eagerState:null,next:null},vn(t)){if(e)throw Error(c(479))}else e=Bi(t,l,a,2),e!==null&&se(e,t,2)}function vn(t){var e=t.alternate;return t===lt||e!==null&&e===lt}function jr(t,e){ra=rn=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Br(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Zc(t,l)}}var bn={readContext:Zt,use:dn,useCallback:Ot,useContext:Ot,useEffect:Ot,useImperativeHandle:Ot,useLayoutEffect:Ot,useInsertionEffect:Ot,useMemo:Ot,useReducer:Ot,useRef:Ot,useState:Ot,useDebugValue:Ot,useDeferredValue:Ot,useTransition:Ot,useSyncExternalStore:Ot,useId:Ot,useHostTransitionStatus:Ot,useFormState:Ot,useActionState:Ot,useOptimistic:Ot,useMemoCache:Ot,useCacheRefresh:Ot},qr={readContext:Zt,use:dn,useCallback:function(t,e){return Wt().memoizedState=[t,e===void 0?null:e],t},useContext:Zt,useEffect:Er,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,yn(4194308,4,Rr.bind(null,e,t),l)},useLayoutEffect:function(t,e){return yn(4194308,4,t,e)},useInsertionEffect:function(t,e){yn(4,2,t,e)},useMemo:function(t,e){var l=Wt();e=e===void 0?null:e;var a=t();if(Bl){We(!0);try{t()}finally{We(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Wt();if(l!==void 0){var u=l(e);if(Bl){We(!0);try{l(e)}finally{We(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=Ch.bind(null,lt,t),[a.memoizedState,t]},useRef:function(t){var e=Wt();return t={current:t},e.memoizedState=t},useState:function(t){t=hf(t);var e=t.queue,l=Lr.bind(null,lt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:yf,useDeferredValue:function(t,e){var l=Wt();return vf(l,t,e)},useTransition:function(){var t=hf(!1);return t=_r.bind(null,lt,t.queue,!0,!1),Wt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=lt,u=Wt();if(rt){if(l===void 0)throw Error(c(407));l=l()}else{if(l=e(),gt===null)throw Error(c(349));(it&124)!==0||nr(a,e,l)}u.memoizedState=l;var n={value:l,getSnapshot:e};return u.queue=n,Er(fr.bind(null,a,n,t),[t]),a.flags|=2048,da(9,mn(),ir.bind(null,a,n,l,e),null),l},useId:function(){var t=Wt(),e=gt.identifierPrefix;if(rt){var l=Be,a=je;l=(a&~(1<<32-le(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=on++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=Oh++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:gf,useFormState:vr,useActionState:vr,useOptimistic:function(t){var e=Wt();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=pf.bind(null,lt,!0,l),l.dispatch=e,[t,e]},useMemoCache:rf,useCacheRefresh:function(){return Wt().memoizedState=Hh.bind(null,lt)}},Yr={readContext:Zt,use:dn,useCallback:Mr,useContext:Zt,useEffect:xr,useImperativeHandle:zr,useInsertionEffect:Tr,useLayoutEffect:Ar,useMemo:Or,useReducer:hn,useRef:Sr,useState:function(){return hn(we)},useDebugValue:yf,useDeferredValue:function(t,e){var l=Nt();return Dr(l,ht.memoizedState,t,e)},useTransition:function(){var t=hn(we)[0],e=Nt().memoizedState;return[typeof t=="boolean"?t:au(t),e]},useSyncExternalStore:ur,useId:Hr,useHostTransitionStatus:gf,useFormState:br,useActionState:br,useOptimistic:function(t,e){var l=Nt();return rr(l,ht,t,e)},useMemoCache:rf,useCacheRefresh:Cr},Lh={readContext:Zt,use:dn,useCallback:Mr,useContext:Zt,useEffect:xr,useImperativeHandle:zr,useInsertionEffect:Tr,useLayoutEffect:Ar,useMemo:Or,useReducer:df,useRef:Sr,useState:function(){return df(we)},useDebugValue:yf,useDeferredValue:function(t,e){var l=Nt();return ht===null?vf(l,t,e):Dr(l,ht.memoizedState,t,e)},useTransition:function(){var t=df(we)[0],e=Nt().memoizedState;return[typeof t=="boolean"?t:au(t),e]},useSyncExternalStore:ur,useId:Hr,useHostTransitionStatus:gf,useFormState:pr,useActionState:pr,useOptimistic:function(t,e){var l=Nt();return ht!==null?rr(l,ht,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:rf,useCacheRefresh:Cr},ha=null,iu=0;function gn(t){var e=iu;return iu+=1,ha===null&&(ha=[]),Fs(ha,t,e)}function fu(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function pn(t,e){throw e.$$typeof===L?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function wr(t){var e=t._init;return e(t._payload)}function Gr(t){function e(p,b){if(t){var S=p.deletions;S===null?(p.deletions=[b],p.flags|=16):S.push(b)}}function l(p,b){if(!t)return null;for(;b!==null;)e(p,b),b=b.sibling;return null}function a(p){for(var b=new Map;p!==null;)p.key!==null?b.set(p.key,p):b.set(p.index,p),p=p.sibling;return b}function u(p,b){return p=Le(p,b),p.index=0,p.sibling=null,p}function n(p,b,S){return p.index=S,t?(S=p.alternate,S!==null?(S=S.index,S<b?(p.flags|=67108866,b):S):(p.flags|=67108866,b)):(p.flags|=1048576,b)}function f(p){return t&&p.alternate===null&&(p.flags|=67108866),p}function s(p,b,S,_){return b===null||b.tag!==6?(b=Yi(S,p.mode,_),b.return=p,b):(b=u(b,S),b.return=p,b)}function h(p,b,S,_){var V=S.type;return V===C?O(p,b,S.props.children,_,S.key):b!==null&&(b.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===Mt&&wr(V)===b.type)?(b=u(b,S.props),fu(b,S),b.return=p,b):(b=tn(S.type,S.key,S.props,null,p.mode,_),fu(b,S),b.return=p,b)}function E(p,b,S,_){return b===null||b.tag!==4||b.stateNode.containerInfo!==S.containerInfo||b.stateNode.implementation!==S.implementation?(b=wi(S,p.mode,_),b.return=p,b):(b=u(b,S.children||[]),b.return=p,b)}function O(p,b,S,_,V){return b===null||b.tag!==7?(b=Dl(S,p.mode,_,V),b.return=p,b):(b=u(b,S),b.return=p,b)}function U(p,b,S){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Yi(""+b,p.mode,S),b.return=p,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case H:return S=tn(b.type,b.key,b.props,null,p.mode,S),fu(S,b),S.return=p,S;case q:return b=wi(b,p.mode,S),b.return=p,b;case Mt:var _=b._init;return b=_(b._payload),U(p,b,S)}if(Qt(b)||Xt(b))return b=Dl(b,p.mode,S,null),b.return=p,b;if(typeof b.then=="function")return U(p,gn(b),S);if(b.$$typeof===X)return U(p,un(p,b),S);pn(p,b)}return null}function x(p,b,S,_){var V=b!==null?b.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return V!==null?null:s(p,b,""+S,_);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case H:return S.key===V?h(p,b,S,_):null;case q:return S.key===V?E(p,b,S,_):null;case Mt:return V=S._init,S=V(S._payload),x(p,b,S,_)}if(Qt(S)||Xt(S))return V!==null?null:O(p,b,S,_,null);if(typeof S.then=="function")return x(p,b,gn(S),_);if(S.$$typeof===X)return x(p,b,un(p,S),_);pn(p,S)}return null}function T(p,b,S,_,V){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return p=p.get(S)||null,s(b,p,""+_,V);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case H:return p=p.get(_.key===null?S:_.key)||null,h(b,p,_,V);case q:return p=p.get(_.key===null?S:_.key)||null,E(b,p,_,V);case Mt:var at=_._init;return _=at(_._payload),T(p,b,S,_,V)}if(Qt(_)||Xt(_))return p=p.get(S)||null,O(b,p,_,V,null);if(typeof _.then=="function")return T(p,b,S,gn(_),V);if(_.$$typeof===X)return T(p,b,S,un(b,_),V);pn(b,_)}return null}function P(p,b,S,_){for(var V=null,at=null,K=b,k=b=0,qt=null;K!==null&&k<S.length;k++){K.index>k?(qt=K,K=null):qt=K.sibling;var st=x(p,K,S[k],_);if(st===null){K===null&&(K=qt);break}t&&K&&st.alternate===null&&e(p,K),b=n(st,b,k),at===null?V=st:at.sibling=st,at=st,K=qt}if(k===S.length)return l(p,K),rt&&Ul(p,k),V;if(K===null){for(;k<S.length;k++)K=U(p,S[k],_),K!==null&&(b=n(K,b,k),at===null?V=K:at.sibling=K,at=K);return rt&&Ul(p,k),V}for(K=a(K);k<S.length;k++)qt=T(K,p,k,S[k],_),qt!==null&&(t&&qt.alternate!==null&&K.delete(qt.key===null?k:qt.key),b=n(qt,b,k),at===null?V=qt:at.sibling=qt,at=qt);return t&&K.forEach(function(Sl){return e(p,Sl)}),rt&&Ul(p,k),V}function $(p,b,S,_){if(S==null)throw Error(c(151));for(var V=null,at=null,K=b,k=b=0,qt=null,st=S.next();K!==null&&!st.done;k++,st=S.next()){K.index>k?(qt=K,K=null):qt=K.sibling;var Sl=x(p,K,st.value,_);if(Sl===null){K===null&&(K=qt);break}t&&K&&Sl.alternate===null&&e(p,K),b=n(Sl,b,k),at===null?V=Sl:at.sibling=Sl,at=Sl,K=qt}if(st.done)return l(p,K),rt&&Ul(p,k),V;if(K===null){for(;!st.done;k++,st=S.next())st=U(p,st.value,_),st!==null&&(b=n(st,b,k),at===null?V=st:at.sibling=st,at=st);return rt&&Ul(p,k),V}for(K=a(K);!st.done;k++,st=S.next())st=T(K,p,k,st.value,_),st!==null&&(t&&st.alternate!==null&&K.delete(st.key===null?k:st.key),b=n(st,b,k),at===null?V=st:at.sibling=st,at=st);return t&&K.forEach(function(j1){return e(p,j1)}),rt&&Ul(p,k),V}function yt(p,b,S,_){if(typeof S=="object"&&S!==null&&S.type===C&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case H:t:{for(var V=S.key;b!==null;){if(b.key===V){if(V=S.type,V===C){if(b.tag===7){l(p,b.sibling),_=u(b,S.props.children),_.return=p,p=_;break t}}else if(b.elementType===V||typeof V=="object"&&V!==null&&V.$$typeof===Mt&&wr(V)===b.type){l(p,b.sibling),_=u(b,S.props),fu(_,S),_.return=p,p=_;break t}l(p,b);break}else e(p,b);b=b.sibling}S.type===C?(_=Dl(S.props.children,p.mode,_,S.key),_.return=p,p=_):(_=tn(S.type,S.key,S.props,null,p.mode,_),fu(_,S),_.return=p,p=_)}return f(p);case q:t:{for(V=S.key;b!==null;){if(b.key===V)if(b.tag===4&&b.stateNode.containerInfo===S.containerInfo&&b.stateNode.implementation===S.implementation){l(p,b.sibling),_=u(b,S.children||[]),_.return=p,p=_;break t}else{l(p,b);break}else e(p,b);b=b.sibling}_=wi(S,p.mode,_),_.return=p,p=_}return f(p);case Mt:return V=S._init,S=V(S._payload),yt(p,b,S,_)}if(Qt(S))return P(p,b,S,_);if(Xt(S)){if(V=Xt(S),typeof V!="function")throw Error(c(150));return S=V.call(S),$(p,b,S,_)}if(typeof S.then=="function")return yt(p,b,gn(S),_);if(S.$$typeof===X)return yt(p,b,un(p,S),_);pn(p,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,b!==null&&b.tag===6?(l(p,b.sibling),_=u(b,S),_.return=p,p=_):(l(p,b),_=Yi(S,p.mode,_),_.return=p,p=_),f(p)):l(p,b)}return function(p,b,S,_){try{iu=0;var V=yt(p,b,S,_);return ha=null,V}catch(K){if(K===Wa||K===fn)throw K;var at=ue(29,K,null,p.mode);return at.lanes=_,at.return=p,at}finally{}}}var ma=Gr(!0),Xr=Gr(!1),be=N(null),De=null;function nl(t){var e=t.alternate;Y(Ct,Ct.current&1),Y(be,t),De===null&&(e===null||sa.current!==null||e.memoizedState!==null)&&(De=t)}function Qr(t){if(t.tag===22){if(Y(Ct,Ct.current),Y(be,t),De===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(De=t)}}else il()}function il(){Y(Ct,Ct.current),Y(be,be.current)}function Ge(t){Q(be),De===t&&(De=null),Q(Ct)}var Ct=N(0);function Sn(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||sc(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Sf(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:R({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Ef={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=ce(),u=ll(a);u.payload=e,l!=null&&(u.callback=l),e=al(t,u,a),e!==null&&(se(e,t,a),Ia(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=ce(),u=ll(a);u.tag=1,u.payload=e,l!=null&&(u.callback=l),e=al(t,u,a),e!==null&&(se(e,t,a),Ia(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ce(),a=ll(l);a.tag=2,e!=null&&(a.callback=e),e=al(t,a,l),e!==null&&(se(e,t,l),Ia(e,t,l))}};function Vr(t,e,l,a,u,n,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,f):e.prototype&&e.prototype.isPureReactComponent?!Qa(l,a)||!Qa(u,n):!0}function Zr(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Ef.enqueueReplaceState(e,e.state,null)}function ql(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=R({},l));for(var u in t)l[u]===void 0&&(l[u]=t[u])}return l}var En=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Kr(t){En(t)}function Jr(t){console.error(t)}function $r(t){En(t)}function xn(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function kr(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function xf(t,e,l){return l=ll(l),l.tag=3,l.payload={element:null},l.callback=function(){xn(t,e)},l}function Fr(t){return t=ll(t),t.tag=3,t}function Wr(t,e,l,a){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){kr(e,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){kr(e,l,a),typeof u!="function"&&(dl===null?dl=new Set([this]):dl.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function jh(t,e,l,a,u){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&$a(e,l,u,!0),l=be.current,l!==null){switch(l.tag){case 13:return De===null?Kf():l.alternate===null&&zt===0&&(zt=3),l.flags&=-257,l.flags|=65536,l.lanes=u,a===Fi?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),$f(t,a,u)),!1;case 22:return l.flags|=65536,a===Fi?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),$f(t,a,u)),!1}throw Error(c(435,l.tag))}return $f(t,a,u),Kf(),!1}if(rt)return e=be.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,a!==Qi&&(t=Error(c(422),{cause:a}),Ja(he(t,l)))):(a!==Qi&&(e=Error(c(423),{cause:a}),Ja(he(e,l))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=he(a,l),u=xf(t.stateNode,a,u),Ii(t,u),zt!==4&&(zt=2)),!1;var n=Error(c(520),{cause:a});if(n=he(n,l),mu===null?mu=[n]:mu.push(n),zt!==4&&(zt=2),e===null)return!0;a=he(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=u&-u,l.lanes|=t,t=xf(l.stateNode,a,t),Ii(l,t),!1;case 1:if(e=l.type,n=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(dl===null||!dl.has(n))))return l.flags|=65536,u&=-u,l.lanes|=u,u=Fr(u),Wr(u,t,l,a),Ii(l,u),!1}l=l.return}while(l!==null);return!1}var Pr=Error(c(461)),jt=!1;function Yt(t,e,l,a){e.child=t===null?Xr(e,null,l,a):ma(e,t.child,l,a)}function Ir(t,e,l,a,u){l=l.render;var n=e.ref;if("ref"in a){var f={};for(var s in a)s!=="ref"&&(f[s]=a[s])}else f=a;return Ll(e),a=uf(t,e,l,f,n,u),s=nf(),t!==null&&!jt?(ff(t,e,u),Xe(t,e,u)):(rt&&s&&Gi(e),e.flags|=1,Yt(t,e,a,u),e.child)}function to(t,e,l,a,u){if(t===null){var n=l.type;return typeof n=="function"&&!qi(n)&&n.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=n,eo(t,e,n,a,u)):(t=tn(l.type,null,a,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(n=t.child,!_f(t,u)){var f=n.memoizedProps;if(l=l.compare,l=l!==null?l:Qa,l(f,a)&&t.ref===e.ref)return Xe(t,e,u)}return e.flags|=1,t=Le(n,a),t.ref=e.ref,t.return=e,e.child=t}function eo(t,e,l,a,u){if(t!==null){var n=t.memoizedProps;if(Qa(n,a)&&t.ref===e.ref)if(jt=!1,e.pendingProps=a=n,_f(t,u))(t.flags&131072)!==0&&(jt=!0);else return e.lanes=t.lanes,Xe(t,e,u)}return Tf(t,e,l,a,u)}function lo(t,e,l){var a=e.pendingProps,u=a.children,n=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=n!==null?n.baseLanes|l:l,t!==null){for(u=e.child=t.child,n=0;u!==null;)n=n|u.lanes|u.childLanes,u=u.sibling;e.childLanes=n&~a}else e.childLanes=0,e.child=null;return ao(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&nn(e,n!==null?n.cachePool:null),n!==null?er(e,n):ef(),Qr(e);else return e.lanes=e.childLanes=536870912,ao(t,e,n!==null?n.baseLanes|l:l,l)}else n!==null?(nn(e,n.cachePool),er(e,n),il(),e.memoizedState=null):(t!==null&&nn(e,null),ef(),il());return Yt(t,e,u,l),e.child}function ao(t,e,l,a){var u=ki();return u=u===null?null:{parent:Ht._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&nn(e,null),ef(),Qr(e),t!==null&&$a(t,e,a,!0),null}function Tn(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Tf(t,e,l,a,u){return Ll(e),l=uf(t,e,l,a,void 0,u),a=nf(),t!==null&&!jt?(ff(t,e,u),Xe(t,e,u)):(rt&&a&&Gi(e),e.flags|=1,Yt(t,e,l,u),e.child)}function uo(t,e,l,a,u,n){return Ll(e),e.updateQueue=null,l=ar(e,a,l,u),lr(t),a=nf(),t!==null&&!jt?(ff(t,e,n),Xe(t,e,n)):(rt&&a&&Gi(e),e.flags|=1,Yt(t,e,l,n),e.child)}function no(t,e,l,a,u){if(Ll(e),e.stateNode===null){var n=ua,f=l.contextType;typeof f=="object"&&f!==null&&(n=Zt(f)),n=new l(a,n),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Ef,e.stateNode=n,n._reactInternals=e,n=e.stateNode,n.props=a,n.state=e.memoizedState,n.refs={},Wi(e),f=l.contextType,n.context=typeof f=="object"&&f!==null?Zt(f):ua,n.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(Sf(e,l,f,a),n.state=e.memoizedState),typeof l.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&&Ef.enqueueReplaceState(n,n.state,null),eu(e,a,n,u),tu(),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){n=e.stateNode;var s=e.memoizedProps,h=ql(l,s);n.props=h;var E=n.context,O=l.contextType;f=ua,typeof O=="object"&&O!==null&&(f=Zt(O));var U=l.getDerivedStateFromProps;O=typeof U=="function"||typeof n.getSnapshotBeforeUpdate=="function",s=e.pendingProps!==s,O||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(s||E!==f)&&Zr(e,n,a,f),el=!1;var x=e.memoizedState;n.state=x,eu(e,a,n,u),tu(),E=e.memoizedState,s||x!==E||el?(typeof U=="function"&&(Sf(e,l,U,a),E=e.memoizedState),(h=el||Vr(e,l,h,a,x,E,f))?(O||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"&&(e.flags|=4194308)):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=E),n.props=a,n.state=E,n.context=f,a=h):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{n=e.stateNode,Pi(t,e),f=e.memoizedProps,O=ql(l,f),n.props=O,U=e.pendingProps,x=n.context,E=l.contextType,h=ua,typeof E=="object"&&E!==null&&(h=Zt(E)),s=l.getDerivedStateFromProps,(E=typeof s=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(f!==U||x!==h)&&Zr(e,n,a,h),el=!1,x=e.memoizedState,n.state=x,eu(e,a,n,u),tu();var T=e.memoizedState;f!==U||x!==T||el||t!==null&&t.dependencies!==null&&an(t.dependencies)?(typeof s=="function"&&(Sf(e,l,s,a),T=e.memoizedState),(O=el||Vr(e,l,O,a,x,T,h)||t!==null&&t.dependencies!==null&&an(t.dependencies))?(E||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,T,h),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,T,h)),typeof n.componentDidUpdate=="function"&&(e.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof n.componentDidUpdate!="function"||f===t.memoizedProps&&x===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&x===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=T),n.props=a,n.state=T,n.context=h,a=O):(typeof n.componentDidUpdate!="function"||f===t.memoizedProps&&x===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&x===t.memoizedState||(e.flags|=1024),a=!1)}return n=a,Tn(t,e),a=(e.flags&128)!==0,n||a?(n=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:n.render(),e.flags|=1,t!==null&&a?(e.child=ma(e,t.child,null,u),e.child=ma(e,null,l,u)):Yt(t,e,l,u),e.memoizedState=n.state,t=e.child):t=Xe(t,e,u),t}function io(t,e,l,a){return Ka(),e.flags|=256,Yt(t,e,l,a),e.child}var Af={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rf(t){return{baseLanes:t,cachePool:Js()}}function zf(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ge),t}function fo(t,e,l){var a=e.pendingProps,u=!1,n=(e.flags&128)!==0,f;if((f=n)||(f=t!==null&&t.memoizedState===null?!1:(Ct.current&2)!==0),f&&(u=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(rt){if(u?nl(e):il(),rt){var s=Rt,h;if(h=s){t:{for(h=s,s=Oe;h.nodeType!==8;){if(!s){s=null;break t}if(h=Ae(h.nextSibling),h===null){s=null;break t}}s=h}s!==null?(e.memoizedState={dehydrated:s,treeContext:_l!==null?{id:je,overflow:Be}:null,retryLane:536870912,hydrationErrors:null},h=ue(18,null,null,0),h.stateNode=s,h.return=e,e.child=h,$t=e,Rt=null,h=!0):h=!1}h||Hl(e)}if(s=e.memoizedState,s!==null&&(s=s.dehydrated,s!==null))return sc(s)?e.lanes=32:e.lanes=536870912,null;Ge(e)}return s=a.children,a=a.fallback,u?(il(),u=e.mode,s=An({mode:"hidden",children:s},u),a=Dl(a,u,l,null),s.return=e,a.return=e,s.sibling=a,e.child=s,u=e.child,u.memoizedState=Rf(l),u.childLanes=zf(t,f,l),e.memoizedState=Af,a):(nl(e),Mf(e,s))}if(h=t.memoizedState,h!==null&&(s=h.dehydrated,s!==null)){if(n)e.flags&256?(nl(e),e.flags&=-257,e=Of(t,e,l)):e.memoizedState!==null?(il(),e.child=t.child,e.flags|=128,e=null):(il(),u=a.fallback,s=e.mode,a=An({mode:"visible",children:a.children},s),u=Dl(u,s,l,null),u.flags|=2,a.return=e,u.return=e,a.sibling=u,e.child=a,ma(e,t.child,null,l),a=e.child,a.memoizedState=Rf(l),a.childLanes=zf(t,f,l),e.memoizedState=Af,e=u);else if(nl(e),sc(s)){if(f=s.nextSibling&&s.nextSibling.dataset,f)var E=f.dgst;f=E,a=Error(c(419)),a.stack="",a.digest=f,Ja({value:a,source:null,stack:null}),e=Of(t,e,l)}else if(jt||$a(t,e,l,!1),f=(l&t.childLanes)!==0,jt||f){if(f=gt,f!==null&&(a=l&-l,a=(a&42)!==0?1:si(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==h.retryLane))throw h.retryLane=a,aa(t,a),se(f,t,a),Pr;s.data==="$?"||Kf(),e=Of(t,e,l)}else s.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=h.treeContext,Rt=Ae(s.nextSibling),$t=e,rt=!0,Nl=null,Oe=!1,t!==null&&(ye[ve++]=je,ye[ve++]=Be,ye[ve++]=_l,je=t.id,Be=t.overflow,_l=e),e=Mf(e,a.children),e.flags|=4096);return e}return u?(il(),u=a.fallback,s=e.mode,h=t.child,E=h.sibling,a=Le(h,{mode:"hidden",children:a.children}),a.subtreeFlags=h.subtreeFlags&65011712,E!==null?u=Le(E,u):(u=Dl(u,s,l,null),u.flags|=2),u.return=e,a.return=e,a.sibling=u,e.child=a,a=u,u=e.child,s=t.child.memoizedState,s===null?s=Rf(l):(h=s.cachePool,h!==null?(E=Ht._currentValue,h=h.parent!==E?{parent:E,pool:E}:h):h=Js(),s={baseLanes:s.baseLanes|l,cachePool:h}),u.memoizedState=s,u.childLanes=zf(t,f,l),e.memoizedState=Af,a):(nl(e),l=t.child,t=l.sibling,l=Le(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=l,e.memoizedState=null,l)}function Mf(t,e){return e=An({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function An(t,e){return t=ue(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Of(t,e,l){return ma(e,t.child,null,l),t=Mf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function co(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Zi(t.return,e,l)}function Df(t,e,l,a,u){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:u}:(n.isBackwards=e,n.rendering=null,n.renderingStartTime=0,n.last=a,n.tail=l,n.tailMode=u)}function so(t,e,l){var a=e.pendingProps,u=a.revealOrder,n=a.tail;if(Yt(t,e,a.children,l),a=Ct.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&co(t,l,e);else if(t.tag===19)co(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(Y(Ct,a),u){case"forwards":for(l=e.child,u=null;l!==null;)t=l.alternate,t!==null&&Sn(t)===null&&(u=l),l=l.sibling;l=u,l===null?(u=e.child,e.child=null):(u=l.sibling,l.sibling=null),Df(e,!1,u,l,n);break;case"backwards":for(l=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&Sn(t)===null){e.child=u;break}t=u.sibling,u.sibling=l,l=u,u=t}Df(e,!0,l,null,n);break;case"together":Df(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Xe(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ol|=e.lanes,(l&e.childLanes)===0)if(t!==null){if($a(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,l=Le(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Le(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function _f(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&an(t)))}function Bh(t,e,l){switch(e.tag){case 3:St(e,e.stateNode.containerInfo),tl(e,Ht,t.memoizedState.cache),Ka();break;case 27:case 5:ui(e);break;case 4:St(e,e.stateNode.containerInfo);break;case 10:tl(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(nl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?fo(t,e,l):(nl(e),t=Xe(t,e,l),t!==null?t.sibling:null);nl(e);break;case 19:var u=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||($a(t,e,l,!1),a=(l&e.childLanes)!==0),u){if(a)return so(t,e,l);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Y(Ct,Ct.current),a)break;return null;case 22:case 23:return e.lanes=0,lo(t,e,l);case 24:tl(e,Ht,t.memoizedState.cache)}return Xe(t,e,l)}function ro(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)jt=!0;else{if(!_f(t,l)&&(e.flags&128)===0)return jt=!1,Bh(t,e,l);jt=(t.flags&131072)!==0}else jt=!1,rt&&(e.flags&1048576)!==0&&ws(e,ln,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,u=a._init;if(a=u(a._payload),e.type=a,typeof a=="function")qi(a)?(t=ql(a,t),e.tag=1,e=no(null,e,a,t,l)):(e.tag=0,e=Tf(null,e,a,t,l));else{if(a!=null){if(u=a.$$typeof,u===ft){e.tag=11,e=Ir(null,e,a,t,l);break t}else if(u===At){e.tag=14,e=to(null,e,a,t,l);break t}}throw e=Tl(a)||a,Error(c(306,e,""))}}return e;case 0:return Tf(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,u=ql(a,e.pendingProps),no(t,e,a,u,l);case 3:t:{if(St(e,e.stateNode.containerInfo),t===null)throw Error(c(387));a=e.pendingProps;var n=e.memoizedState;u=n.element,Pi(t,e),eu(e,a,null,l);var f=e.memoizedState;if(a=f.cache,tl(e,Ht,a),a!==n.cache&&Ki(e,[Ht],l,!0),tu(),a=f.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){e=io(t,e,a,l);break t}else if(a!==u){u=he(Error(c(424)),e),Ja(u),e=io(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Rt=Ae(t.firstChild),$t=e,rt=!0,Nl=null,Oe=!0,l=Xr(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ka(),a===u){e=Xe(t,e,l);break t}Yt(t,e,a,l)}e=e.child}return e;case 26:return Tn(t,e),t===null?(l=yd(e.type,null,e.pendingProps,null))?e.memoizedState=l:rt||(l=e.type,t=e.pendingProps,a=qn(tt.current).createElement(l),a[Vt]=e,a[kt]=t,Gt(a,l,t),Lt(a),e.stateNode=a):e.memoizedState=yd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return ui(e),t===null&&rt&&(a=e.stateNode=dd(e.type,e.pendingProps,tt.current),$t=e,Oe=!0,u=Rt,yl(e.type)?(rc=u,Rt=Ae(a.firstChild)):Rt=u),Yt(t,e,e.pendingProps.children,l),Tn(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&rt&&((u=a=Rt)&&(a=o1(a,e.type,e.pendingProps,Oe),a!==null?(e.stateNode=a,$t=e,Rt=Ae(a.firstChild),Oe=!1,u=!0):u=!1),u||Hl(e)),ui(e),u=e.type,n=e.pendingProps,f=t!==null?t.memoizedProps:null,a=n.children,ic(u,n)?a=null:f!==null&&ic(u,f)&&(e.flags|=32),e.memoizedState!==null&&(u=uf(t,e,Dh,null,null,l),Tu._currentValue=u),Tn(t,e),Yt(t,e,a,l),e.child;case 6:return t===null&&rt&&((t=l=Rt)&&(l=d1(l,e.pendingProps,Oe),l!==null?(e.stateNode=l,$t=e,Rt=null,t=!0):t=!1),t||Hl(e)),null;case 13:return fo(t,e,l);case 4:return St(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ma(e,null,a,l):Yt(t,e,a,l),e.child;case 11:return Ir(t,e,e.type,e.pendingProps,l);case 7:return Yt(t,e,e.pendingProps,l),e.child;case 8:return Yt(t,e,e.pendingProps.children,l),e.child;case 12:return Yt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,tl(e,e.type,a.value),Yt(t,e,a.children,l),e.child;case 9:return u=e.type._context,a=e.pendingProps.children,Ll(e),u=Zt(u),a=a(u),e.flags|=1,Yt(t,e,a,l),e.child;case 14:return to(t,e,e.type,e.pendingProps,l);case 15:return eo(t,e,e.type,e.pendingProps,l);case 19:return so(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=An(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=Le(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return lo(t,e,l);case 24:return Ll(e),a=Zt(Ht),t===null?(u=ki(),u===null&&(u=gt,n=Ji(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=l),u=n),e.memoizedState={parent:a,cache:u},Wi(e),tl(e,Ht,u)):((t.lanes&l)!==0&&(Pi(t,e),eu(e,null,null,l),tu()),u=t.memoizedState,n=e.memoizedState,u.parent!==a?(u={parent:a,cache:a},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),tl(e,Ht,a)):(a=n.cache,tl(e,Ht,a),a!==u.cache&&Ki(e,[Ht],l,!0))),Yt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function Qe(t){t.flags|=4}function oo(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Sd(e)){if(e=be.current,e!==null&&((it&4194048)===it?De!==null:(it&62914560)!==it&&(it&536870912)===0||e!==De))throw Pa=Fi,$s;t.flags|=8192}}function Rn(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Qc():536870912,t.lanes|=e,ga|=e)}function cu(t,e){if(!rt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Tt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var u=t.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function qh(t,e,l){var a=e.pendingProps;switch(Xi(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(e),null;case 1:return Tt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ye(Ht),Fe(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Za(e)?Qe(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Qs())),Tt(e),null;case 26:return l=e.memoizedState,t===null?(Qe(e),l!==null?(Tt(e),oo(e,l)):(Tt(e),e.flags&=-16777217)):l?l!==t.memoizedState?(Qe(e),Tt(e),oo(e,l)):(Tt(e),e.flags&=-16777217):(t.memoizedProps!==a&&Qe(e),Tt(e),e.flags&=-16777217),null;case 27:Lu(e),l=tt.current;var u=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Qe(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Tt(e),null}t=J.current,Za(e)?Gs(e):(t=dd(u,a,l),e.stateNode=t,Qe(e))}return Tt(e),null;case 5:if(Lu(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Qe(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Tt(e),null}if(t=J.current,Za(e))Gs(e);else{switch(u=qn(tt.current),t){case 1:t=u.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=u.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=u.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?u.createElement("select",{is:a.is}):u.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?u.createElement(l,{is:a.is}):u.createElement(l)}}t[Vt]=e,t[kt]=a;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)t.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=t;t:switch(Gt(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Qe(e)}}return Tt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Qe(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=tt.current,Za(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,u=$t,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Vt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||nd(t.nodeValue,l)),t||Hl(e)}else t=qn(t).createTextNode(a),t[Vt]=e,e.stateNode=t}return Tt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Za(e),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(c(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[Vt]=e}else Ka(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Tt(e),u=!1}else u=Qs(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Ge(e),e):(Ge(e),null)}if(Ge(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool);var n=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==u&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),Rn(e,e.updateQueue),Tt(e),null;case 4:return Fe(),t===null&&ec(e.stateNode.containerInfo),Tt(e),null;case 10:return Ye(e.type),Tt(e),null;case 19:if(Q(Ct),u=e.memoizedState,u===null)return Tt(e),null;if(a=(e.flags&128)!==0,n=u.rendering,n===null)if(a)cu(u,!1);else{if(zt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(n=Sn(t),n!==null){for(e.flags|=128,cu(u,!1),t=n.updateQueue,e.updateQueue=t,Rn(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Ys(l,t),l=l.sibling;return Y(Ct,Ct.current&1|2),e.child}t=t.sibling}u.tail!==null&&Me()>On&&(e.flags|=128,a=!0,cu(u,!1),e.lanes=4194304)}else{if(!a)if(t=Sn(n),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Rn(e,t),cu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!n.alternate&&!rt)return Tt(e),null}else 2*Me()-u.renderingStartTime>On&&l!==536870912&&(e.flags|=128,a=!0,cu(u,!1),e.lanes=4194304);u.isBackwards?(n.sibling=e.child,e.child=n):(t=u.last,t!==null?t.sibling=n:e.child=n,u.last=n)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=Me(),e.sibling=null,t=Ct.current,Y(Ct,a?t&1|2:t&1),e):(Tt(e),null);case 22:case 23:return Ge(e),lf(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Tt(e),e.subtreeFlags&6&&(e.flags|=8192)):Tt(e),l=e.updateQueue,l!==null&&Rn(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&Q(jl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ye(Ht),Tt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Yh(t,e){switch(Xi(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ye(Ht),Fe(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Lu(e),null;case 13:if(Ge(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Ka()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Q(Ct),null;case 4:return Fe(),null;case 10:return Ye(e.type),null;case 22:case 23:return Ge(e),lf(),t!==null&&Q(jl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ye(Ht),null;case 25:return null;default:return null}}function ho(t,e){switch(Xi(e),e.tag){case 3:Ye(Ht),Fe();break;case 26:case 27:case 5:Lu(e);break;case 4:Fe();break;case 13:Ge(e);break;case 19:Q(Ct);break;case 10:Ye(e.type);break;case 22:case 23:Ge(e),lf(),t!==null&&Q(jl);break;case 24:Ye(Ht)}}function su(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var u=a.next;l=u;do{if((l.tag&t)===t){a=void 0;var n=l.create,f=l.inst;a=n(),f.destroy=a}l=l.next}while(l!==u)}}catch(s){bt(e,e.return,s)}}function fl(t,e,l){try{var a=e.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&t)===t){var f=a.inst,s=f.destroy;if(s!==void 0){f.destroy=void 0,u=e;var h=l,E=s;try{E()}catch(O){bt(u,h,O)}}}a=a.next}while(a!==n)}}catch(O){bt(e,e.return,O)}}function mo(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{tr(e,l)}catch(a){bt(t,t.return,a)}}}function yo(t,e,l){l.props=ql(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){bt(t,e,a)}}function ru(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(u){bt(t,e,u)}}function _e(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(u){bt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){bt(t,e,u)}else l.current=null}function vo(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(u){bt(t,t.return,u)}}function Uf(t,e,l){try{var a=t.stateNode;i1(a,t.type,l,e),a[kt]=e}catch(u){bt(t,t.return,u)}}function bo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yl(t.type)||t.tag===4}function Nf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||bo(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&yl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Hf(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Bn));else if(a!==4&&(a===27&&yl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Hf(t,e,l),t=t.sibling;t!==null;)Hf(t,e,l),t=t.sibling}function zn(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&yl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(zn(t,e,l),t=t.sibling;t!==null;)zn(t,e,l),t=t.sibling}function go(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);Gt(e,a,l),e[Vt]=t,e[kt]=l}catch(n){bt(t,t.return,n)}}var Ve=!1,Dt=!1,Cf=!1,po=typeof WeakSet=="function"?WeakSet:Set,Bt=null;function wh(t,e){if(t=t.containerInfo,uc=Vn,t=Ds(t),Ui(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var u=a.anchorOffset,n=a.focusNode;a=a.focusOffset;try{l.nodeType,n.nodeType}catch{l=null;break t}var f=0,s=-1,h=-1,E=0,O=0,U=t,x=null;e:for(;;){for(var T;U!==l||u!==0&&U.nodeType!==3||(s=f+u),U!==n||a!==0&&U.nodeType!==3||(h=f+a),U.nodeType===3&&(f+=U.nodeValue.length),(T=U.firstChild)!==null;)x=U,U=T;for(;;){if(U===t)break e;if(x===l&&++E===u&&(s=f),x===n&&++O===a&&(h=f),(T=U.nextSibling)!==null)break;U=x,x=U.parentNode}U=T}l=s===-1||h===-1?null:{start:s,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;for(nc={focusedElem:t,selectionRange:l},Vn=!1,Bt=e;Bt!==null;)if(e=Bt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Bt=t;else for(;Bt!==null;){switch(e=Bt,n=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,l=e,u=n.memoizedProps,n=n.memoizedState,a=l.stateNode;try{var P=ql(l.type,u,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(P,n),a.__reactInternalSnapshotBeforeUpdate=t}catch($){bt(l,l.return,$)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)cc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":cc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Bt=t;break}Bt=e.return}}function So(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:cl(t,l),a&4&&su(5,l);break;case 1:if(cl(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(f){bt(l,l.return,f)}else{var u=ql(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){bt(l,l.return,f)}}a&64&&mo(l),a&512&&ru(l,l.return);break;case 3:if(cl(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{tr(t,e)}catch(f){bt(l,l.return,f)}}break;case 27:e===null&&a&4&&go(l);case 26:case 5:cl(t,l),e===null&&a&4&&vo(l),a&512&&ru(l,l.return);break;case 12:cl(t,l);break;case 13:cl(t,l),a&4&&To(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=kh.bind(null,l),h1(t,l))));break;case 22:if(a=l.memoizedState!==null||Ve,!a){e=e!==null&&e.memoizedState!==null||Dt,u=Ve;var n=Dt;Ve=a,(Dt=e)&&!n?sl(t,l,(l.subtreeFlags&8772)!==0):cl(t,l),Ve=u,Dt=n}break;case 30:break;default:cl(t,l)}}function Eo(t){var e=t.alternate;e!==null&&(t.alternate=null,Eo(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&di(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Et=null,Pt=!1;function Ze(t,e,l){for(l=l.child;l!==null;)xo(t,e,l),l=l.sibling}function xo(t,e,l){if(ee&&typeof ee.onCommitFiberUnmount=="function")try{ee.onCommitFiberUnmount(Ua,l)}catch{}switch(l.tag){case 26:Dt||_e(l,e),Ze(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Dt||_e(l,e);var a=Et,u=Pt;yl(l.type)&&(Et=l.stateNode,Pt=!1),Ze(t,e,l),pu(l.stateNode),Et=a,Pt=u;break;case 5:Dt||_e(l,e);case 6:if(a=Et,u=Pt,Et=null,Ze(t,e,l),Et=a,Pt=u,Et!==null)if(Pt)try{(Et.nodeType===9?Et.body:Et.nodeName==="HTML"?Et.ownerDocument.body:Et).removeChild(l.stateNode)}catch(n){bt(l,e,n)}else try{Et.removeChild(l.stateNode)}catch(n){bt(l,e,n)}break;case 18:Et!==null&&(Pt?(t=Et,rd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Mu(t)):rd(Et,l.stateNode));break;case 4:a=Et,u=Pt,Et=l.stateNode.containerInfo,Pt=!0,Ze(t,e,l),Et=a,Pt=u;break;case 0:case 11:case 14:case 15:Dt||fl(2,l,e),Dt||fl(4,l,e),Ze(t,e,l);break;case 1:Dt||(_e(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&yo(l,e,a)),Ze(t,e,l);break;case 21:Ze(t,e,l);break;case 22:Dt=(a=Dt)||l.memoizedState!==null,Ze(t,e,l),Dt=a;break;default:Ze(t,e,l)}}function To(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Mu(t)}catch(l){bt(e,e.return,l)}}function Gh(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new po),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new po),e;default:throw Error(c(435,t.tag))}}function Lf(t,e){var l=Gh(t);e.forEach(function(a){var u=Fh.bind(null,t,a);l.has(a)||(l.add(a),a.then(u,u))})}function ne(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var u=l[a],n=t,f=e,s=f;t:for(;s!==null;){switch(s.tag){case 27:if(yl(s.type)){Et=s.stateNode,Pt=!1;break t}break;case 5:Et=s.stateNode,Pt=!1;break t;case 3:case 4:Et=s.stateNode.containerInfo,Pt=!0;break t}s=s.return}if(Et===null)throw Error(c(160));xo(n,f,u),Et=null,Pt=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Ao(e,t),e=e.sibling}var Te=null;function Ao(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ne(e,t),ie(t),a&4&&(fl(3,t,t.return),su(3,t),fl(5,t,t.return));break;case 1:ne(e,t),ie(t),a&512&&(Dt||l===null||_e(l,l.return)),a&64&&Ve&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var u=Te;if(ne(e,t),ie(t),a&512&&(Dt||l===null||_e(l,l.return)),a&4){var n=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,u=u.ownerDocument||u;e:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Ca]||n[Vt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),Gt(n,a,l),n[Vt]=t,Lt(n),a=n;break t;case"link":var f=gd("link","href",u).get(a+(l.href||""));if(f){for(var s=0;s<f.length;s++)if(n=f[s],n.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&n.getAttribute("rel")===(l.rel==null?null:l.rel)&&n.getAttribute("title")===(l.title==null?null:l.title)&&n.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(s,1);break e}}n=u.createElement(a),Gt(n,a,l),u.head.appendChild(n);break;case"meta":if(f=gd("meta","content",u).get(a+(l.content||""))){for(s=0;s<f.length;s++)if(n=f[s],n.getAttribute("content")===(l.content==null?null:""+l.content)&&n.getAttribute("name")===(l.name==null?null:l.name)&&n.getAttribute("property")===(l.property==null?null:l.property)&&n.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&n.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(s,1);break e}}n=u.createElement(a),Gt(n,a,l),u.head.appendChild(n);break;default:throw Error(c(468,a))}n[Vt]=t,Lt(n),a=n}t.stateNode=a}else pd(u,t.type,t.stateNode);else t.stateNode=bd(u,a,t.memoizedProps);else n!==a?(n===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):n.count--,a===null?pd(u,t.type,t.stateNode):bd(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Uf(t,t.memoizedProps,l.memoizedProps)}break;case 27:ne(e,t),ie(t),a&512&&(Dt||l===null||_e(l,l.return)),l!==null&&a&4&&Uf(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ne(e,t),ie(t),a&512&&(Dt||l===null||_e(l,l.return)),t.flags&32){u=t.stateNode;try{Fl(u,"")}catch(T){bt(t,t.return,T)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Uf(t,u,l!==null?l.memoizedProps:u)),a&1024&&(Cf=!0);break;case 6:if(ne(e,t),ie(t),a&4){if(t.stateNode===null)throw Error(c(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(T){bt(t,t.return,T)}}break;case 3:if(Gn=null,u=Te,Te=Yn(e.containerInfo),ne(e,t),Te=u,ie(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Mu(e.containerInfo)}catch(T){bt(t,t.return,T)}Cf&&(Cf=!1,Ro(t));break;case 4:a=Te,Te=Yn(t.stateNode.containerInfo),ne(e,t),ie(t),Te=a;break;case 12:ne(e,t),ie(t);break;case 13:ne(e,t),ie(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Gf=Me()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Lf(t,a)));break;case 22:u=t.memoizedState!==null;var h=l!==null&&l.memoizedState!==null,E=Ve,O=Dt;if(Ve=E||u,Dt=O||h,ne(e,t),Dt=O,Ve=E,ie(t),a&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(l===null||h||Ve||Dt||Yl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){h=l=e;try{if(n=h.stateNode,u)f=n.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{s=h.stateNode;var U=h.memoizedProps.style,x=U!=null&&U.hasOwnProperty("display")?U.display:null;s.style.display=x==null||typeof x=="boolean"?"":(""+x).trim()}}catch(T){bt(h,h.return,T)}}}else if(e.tag===6){if(l===null){h=e;try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(T){bt(h,h.return,T)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Lf(t,l))));break;case 19:ne(e,t),ie(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Lf(t,a)));break;case 30:break;case 21:break;default:ne(e,t),ie(t)}}function ie(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(bo(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var u=l.stateNode,n=Nf(t);zn(t,n,u);break;case 5:var f=l.stateNode;l.flags&32&&(Fl(f,""),l.flags&=-33);var s=Nf(t);zn(t,s,f);break;case 3:case 4:var h=l.stateNode.containerInfo,E=Nf(t);Hf(t,E,h);break;default:throw Error(c(161))}}catch(O){bt(t,t.return,O)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Ro(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Ro(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function cl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)So(t,e.alternate,e),e=e.sibling}function Yl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:fl(4,e,e.return),Yl(e);break;case 1:_e(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&yo(e,e.return,l),Yl(e);break;case 27:pu(e.stateNode);case 26:case 5:_e(e,e.return),Yl(e);break;case 22:e.memoizedState===null&&Yl(e);break;case 30:Yl(e);break;default:Yl(e)}t=t.sibling}}function sl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,u=t,n=e,f=n.flags;switch(n.tag){case 0:case 11:case 15:sl(u,n,l),su(4,n);break;case 1:if(sl(u,n,l),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(E){bt(a,a.return,E)}if(a=n,u=a.updateQueue,u!==null){var s=a.stateNode;try{var h=u.shared.hiddenCallbacks;if(h!==null)for(u.shared.hiddenCallbacks=null,u=0;u<h.length;u++)Is(h[u],s)}catch(E){bt(a,a.return,E)}}l&&f&64&&mo(n),ru(n,n.return);break;case 27:go(n);case 26:case 5:sl(u,n,l),l&&a===null&&f&4&&vo(n),ru(n,n.return);break;case 12:sl(u,n,l);break;case 13:sl(u,n,l),l&&f&4&&To(u,n);break;case 22:n.memoizedState===null&&sl(u,n,l),ru(n,n.return);break;case 30:break;default:sl(u,n,l)}e=e.sibling}}function jf(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&ka(l))}function Bf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ka(t))}function Ue(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)zo(t,e,l,a),e=e.sibling}function zo(t,e,l,a){var u=e.flags;switch(e.tag){case 0:case 11:case 15:Ue(t,e,l,a),u&2048&&su(9,e);break;case 1:Ue(t,e,l,a);break;case 3:Ue(t,e,l,a),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ka(t)));break;case 12:if(u&2048){Ue(t,e,l,a),t=e.stateNode;try{var n=e.memoizedProps,f=n.id,s=n.onPostCommit;typeof s=="function"&&s(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(h){bt(e,e.return,h)}}else Ue(t,e,l,a);break;case 13:Ue(t,e,l,a);break;case 23:break;case 22:n=e.stateNode,f=e.alternate,e.memoizedState!==null?n._visibility&2?Ue(t,e,l,a):ou(t,e):n._visibility&2?Ue(t,e,l,a):(n._visibility|=2,ya(t,e,l,a,(e.subtreeFlags&10256)!==0)),u&2048&&jf(f,e);break;case 24:Ue(t,e,l,a),u&2048&&Bf(e.alternate,e);break;default:Ue(t,e,l,a)}}function ya(t,e,l,a,u){for(u=u&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var n=t,f=e,s=l,h=a,E=f.flags;switch(f.tag){case 0:case 11:case 15:ya(n,f,s,h,u),su(8,f);break;case 23:break;case 22:var O=f.stateNode;f.memoizedState!==null?O._visibility&2?ya(n,f,s,h,u):ou(n,f):(O._visibility|=2,ya(n,f,s,h,u)),u&&E&2048&&jf(f.alternate,f);break;case 24:ya(n,f,s,h,u),u&&E&2048&&Bf(f.alternate,f);break;default:ya(n,f,s,h,u)}e=e.sibling}}function ou(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,u=a.flags;switch(a.tag){case 22:ou(l,a),u&2048&&jf(a.alternate,a);break;case 24:ou(l,a),u&2048&&Bf(a.alternate,a);break;default:ou(l,a)}e=e.sibling}}var du=8192;function va(t){if(t.subtreeFlags&du)for(t=t.child;t!==null;)Mo(t),t=t.sibling}function Mo(t){switch(t.tag){case 26:va(t),t.flags&du&&t.memoizedState!==null&&z1(Te,t.memoizedState,t.memoizedProps);break;case 5:va(t);break;case 3:case 4:var e=Te;Te=Yn(t.stateNode.containerInfo),va(t),Te=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=du,du=16777216,va(t),du=e):va(t));break;default:va(t)}}function Oo(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function hu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Bt=a,_o(a,t)}Oo(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Do(t),t=t.sibling}function Do(t){switch(t.tag){case 0:case 11:case 15:hu(t),t.flags&2048&&fl(9,t,t.return);break;case 3:hu(t);break;case 12:hu(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Mn(t)):hu(t);break;default:hu(t)}}function Mn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Bt=a,_o(a,t)}Oo(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:fl(8,e,e.return),Mn(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Mn(e));break;default:Mn(e)}t=t.sibling}}function _o(t,e){for(;Bt!==null;){var l=Bt;switch(l.tag){case 0:case 11:case 15:fl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ka(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Bt=a;else t:for(l=t;Bt!==null;){a=Bt;var u=a.sibling,n=a.return;if(Eo(a),a===l){Bt=null;break t}if(u!==null){u.return=n,Bt=u;break t}Bt=n}}}var Xh={getCacheForType:function(t){var e=Zt(Ht),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},Qh=typeof WeakMap=="function"?WeakMap:Map,ot=0,gt=null,ut=null,it=0,dt=0,fe=null,rl=!1,ba=!1,qf=!1,Ke=0,zt=0,ol=0,wl=0,Yf=0,ge=0,ga=0,mu=null,It=null,wf=!1,Gf=0,On=1/0,Dn=null,dl=null,wt=0,hl=null,pa=null,Sa=0,Xf=0,Qf=null,Uo=null,yu=0,Vf=null;function ce(){if((ot&2)!==0&&it!==0)return it&-it;if(D.T!==null){var t=fa;return t!==0?t:Wf()}return Kc()}function No(){ge===0&&(ge=(it&536870912)===0||rt?Xc():536870912);var t=be.current;return t!==null&&(t.flags|=32),ge}function se(t,e,l){(t===gt&&(dt===2||dt===9)||t.cancelPendingCommit!==null)&&(Ea(t,0),ml(t,it,ge,!1)),Ha(t,l),((ot&2)===0||t!==gt)&&(t===gt&&((ot&2)===0&&(wl|=l),zt===4&&ml(t,it,ge,!1)),Ne(t))}function Ho(t,e,l){if((ot&6)!==0)throw Error(c(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Na(t,e),u=a?Kh(t,e):Jf(t,e,!0),n=a;do{if(u===0){ba&&!a&&ml(t,e,0,!1);break}else{if(l=t.current.alternate,n&&!Vh(l)){u=Jf(t,e,!1),n=!1;continue}if(u===2){if(n=e,t.errorRecoveryDisabledLanes&n)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var s=t;u=mu;var h=s.current.memoizedState.isDehydrated;if(h&&(Ea(s,f).flags|=256),f=Jf(s,f,!1),f!==2){if(qf&&!h){s.errorRecoveryDisabledLanes|=n,wl|=n,u=4;break t}n=It,It=u,n!==null&&(It===null?It=n:It.push.apply(It,n))}u=f}if(n=!1,u!==2)continue}}if(u===1){Ea(t,0),ml(t,e,0,!0);break}t:{switch(a=t,n=u,n){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:ml(a,e,ge,!rl);break t;case 2:It=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(u=Gf+300-Me(),10<u)){if(ml(a,e,ge,!rl),Yu(a,0,!0)!==0)break t;a.timeoutHandle=cd(Co.bind(null,a,l,It,Dn,wf,e,ge,wl,ga,rl,n,2,-0,0),u);break t}Co(a,l,It,Dn,wf,e,ge,wl,ga,rl,n,0,-0,0)}}break}while(!0);Ne(t)}function Co(t,e,l,a,u,n,f,s,h,E,O,U,x,T){if(t.timeoutHandle=-1,U=e.subtreeFlags,(U&8192||(U&16785408)===16785408)&&(xu={stylesheets:null,count:0,unsuspend:R1},Mo(e),U=M1(),U!==null)){t.cancelPendingCommit=U(Go.bind(null,t,e,n,l,a,u,f,s,h,O,1,x,T)),ml(t,n,f,!E);return}Go(t,e,n,l,a,u,f,s,h)}function Vh(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var u=l[a],n=u.getSnapshot;u=u.value;try{if(!ae(n(),u))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ml(t,e,l,a){e&=~Yf,e&=~wl,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var u=e;0<u;){var n=31-le(u),f=1<<n;a[n]=-1,u&=~f}l!==0&&Vc(t,l,e)}function _n(){return(ot&6)===0?(vu(0),!1):!0}function Zf(){if(ut!==null){if(dt===0)var t=ut.return;else t=ut,qe=Cl=null,cf(t),ha=null,iu=0,t=ut;for(;t!==null;)ho(t.alternate,t),t=t.return;ut=null}}function Ea(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,c1(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Zf(),gt=t,ut=l=Le(t.current,null),it=e,dt=0,fe=null,rl=!1,ba=Na(t,e),qf=!1,ga=ge=Yf=wl=ol=zt=0,It=mu=null,wf=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var u=31-le(a),n=1<<u;e|=t[u],a&=~n}return Ke=e,Wu(),l}function Lo(t,e){lt=null,D.H=bn,e===Wa||e===fn?(e=Ws(),dt=3):e===$s?(e=Ws(),dt=4):dt=e===Pr?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,fe=e,ut===null&&(zt=1,xn(t,he(e,t.current)))}function jo(){var t=D.H;return D.H=bn,t===null?bn:t}function Bo(){var t=D.A;return D.A=Xh,t}function Kf(){zt=4,rl||(it&4194048)!==it&&be.current!==null||(ba=!0),(ol&134217727)===0&&(wl&134217727)===0||gt===null||ml(gt,it,ge,!1)}function Jf(t,e,l){var a=ot;ot|=2;var u=jo(),n=Bo();(gt!==t||it!==e)&&(Dn=null,Ea(t,e)),e=!1;var f=zt;t:do try{if(dt!==0&&ut!==null){var s=ut,h=fe;switch(dt){case 8:Zf(),f=6;break t;case 3:case 2:case 9:case 6:be.current===null&&(e=!0);var E=dt;if(dt=0,fe=null,xa(t,s,h,E),l&&ba){f=0;break t}break;default:E=dt,dt=0,fe=null,xa(t,s,h,E)}}Zh(),f=zt;break}catch(O){Lo(t,O)}while(!0);return e&&t.shellSuspendCounter++,qe=Cl=null,ot=a,D.H=u,D.A=n,ut===null&&(gt=null,it=0,Wu()),f}function Zh(){for(;ut!==null;)qo(ut)}function Kh(t,e){var l=ot;ot|=2;var a=jo(),u=Bo();gt!==t||it!==e?(Dn=null,On=Me()+500,Ea(t,e)):ba=Na(t,e);t:do try{if(dt!==0&&ut!==null){e=ut;var n=fe;e:switch(dt){case 1:dt=0,fe=null,xa(t,e,n,1);break;case 2:case 9:if(ks(n)){dt=0,fe=null,Yo(e);break}e=function(){dt!==2&&dt!==9||gt!==t||(dt=7),Ne(t)},n.then(e,e);break t;case 3:dt=7;break t;case 4:dt=5;break t;case 7:ks(n)?(dt=0,fe=null,Yo(e)):(dt=0,fe=null,xa(t,e,n,7));break;case 5:var f=null;switch(ut.tag){case 26:f=ut.memoizedState;case 5:case 27:var s=ut;if(!f||Sd(f)){dt=0,fe=null;var h=s.sibling;if(h!==null)ut=h;else{var E=s.return;E!==null?(ut=E,Un(E)):ut=null}break e}}dt=0,fe=null,xa(t,e,n,5);break;case 6:dt=0,fe=null,xa(t,e,n,6);break;case 8:Zf(),zt=6;break t;default:throw Error(c(462))}}Jh();break}catch(O){Lo(t,O)}while(!0);return qe=Cl=null,D.H=a,D.A=u,ot=l,ut!==null?0:(gt=null,it=0,Wu(),zt)}function Jh(){for(;ut!==null&&!y0();)qo(ut)}function qo(t){var e=ro(t.alternate,t,Ke);t.memoizedProps=t.pendingProps,e===null?Un(t):ut=e}function Yo(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=uo(l,e,e.pendingProps,e.type,void 0,it);break;case 11:e=uo(l,e,e.pendingProps,e.type.render,e.ref,it);break;case 5:cf(e);default:ho(l,e),e=ut=Ys(e,Ke),e=ro(l,e,Ke)}t.memoizedProps=t.pendingProps,e===null?Un(t):ut=e}function xa(t,e,l,a){qe=Cl=null,cf(e),ha=null,iu=0;var u=e.return;try{if(jh(t,u,e,l,it)){zt=1,xn(t,he(l,t.current)),ut=null;return}}catch(n){if(u!==null)throw ut=u,n;zt=1,xn(t,he(l,t.current)),ut=null;return}e.flags&32768?(rt||a===1?t=!0:ba||(it&536870912)!==0?t=!1:(rl=t=!0,(a===2||a===9||a===3||a===6)&&(a=be.current,a!==null&&a.tag===13&&(a.flags|=16384))),wo(e,t)):Un(e)}function Un(t){var e=t;do{if((e.flags&32768)!==0){wo(e,rl);return}t=e.return;var l=qh(e.alternate,e,Ke);if(l!==null){ut=l;return}if(e=e.sibling,e!==null){ut=e;return}ut=e=t}while(e!==null);zt===0&&(zt=5)}function wo(t,e){do{var l=Yh(t.alternate,t);if(l!==null){l.flags&=32767,ut=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){ut=t;return}ut=t=l}while(t!==null);zt=6,ut=null}function Go(t,e,l,a,u,n,f,s,h){t.cancelPendingCommit=null;do Nn();while(wt!==0);if((ot&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(n=e.lanes|e.childLanes,n|=ji,R0(t,l,n,f,s,h),t===gt&&(ut=gt=null,it=0),pa=e,hl=t,Sa=l,Xf=n,Qf=u,Uo=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Wh(ju,function(){return Ko(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=D.T,D.T=null,u=w.p,w.p=2,f=ot,ot|=4;try{wh(t,e,l)}finally{ot=f,w.p=u,D.T=a}}wt=1,Xo(),Qo(),Vo()}}function Xo(){if(wt===1){wt=0;var t=hl,e=pa,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=D.T,D.T=null;var a=w.p;w.p=2;var u=ot;ot|=4;try{Ao(e,t);var n=nc,f=Ds(t.containerInfo),s=n.focusedElem,h=n.selectionRange;if(f!==s&&s&&s.ownerDocument&&Os(s.ownerDocument.documentElement,s)){if(h!==null&&Ui(s)){var E=h.start,O=h.end;if(O===void 0&&(O=E),"selectionStart"in s)s.selectionStart=E,s.selectionEnd=Math.min(O,s.value.length);else{var U=s.ownerDocument||document,x=U&&U.defaultView||window;if(x.getSelection){var T=x.getSelection(),P=s.textContent.length,$=Math.min(h.start,P),yt=h.end===void 0?$:Math.min(h.end,P);!T.extend&&$>yt&&(f=yt,yt=$,$=f);var p=Ms(s,$),b=Ms(s,yt);if(p&&b&&(T.rangeCount!==1||T.anchorNode!==p.node||T.anchorOffset!==p.offset||T.focusNode!==b.node||T.focusOffset!==b.offset)){var S=U.createRange();S.setStart(p.node,p.offset),T.removeAllRanges(),$>yt?(T.addRange(S),T.extend(b.node,b.offset)):(S.setEnd(b.node,b.offset),T.addRange(S))}}}}for(U=[],T=s;T=T.parentNode;)T.nodeType===1&&U.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<U.length;s++){var _=U[s];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Vn=!!uc,nc=uc=null}finally{ot=u,w.p=a,D.T=l}}t.current=e,wt=2}}function Qo(){if(wt===2){wt=0;var t=hl,e=pa,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=D.T,D.T=null;var a=w.p;w.p=2;var u=ot;ot|=4;try{So(t,e.alternate,e)}finally{ot=u,w.p=a,D.T=l}}wt=3}}function Vo(){if(wt===4||wt===3){wt=0,v0();var t=hl,e=pa,l=Sa,a=Uo;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?wt=5:(wt=0,pa=hl=null,Zo(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(dl=null),ri(l),e=e.stateNode,ee&&typeof ee.onCommitFiberRoot=="function")try{ee.onCommitFiberRoot(Ua,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=D.T,u=w.p,w.p=2,D.T=null;try{for(var n=t.onRecoverableError,f=0;f<a.length;f++){var s=a[f];n(s.value,{componentStack:s.stack})}}finally{D.T=e,w.p=u}}(Sa&3)!==0&&Nn(),Ne(t),u=t.pendingLanes,(l&4194090)!==0&&(u&42)!==0?t===Vf?yu++:(yu=0,Vf=t):yu=0,vu(0)}}function Zo(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ka(e)))}function Nn(t){return Xo(),Qo(),Vo(),Ko()}function Ko(){if(wt!==5)return!1;var t=hl,e=Xf;Xf=0;var l=ri(Sa),a=D.T,u=w.p;try{w.p=32>l?32:l,D.T=null,l=Qf,Qf=null;var n=hl,f=Sa;if(wt=0,pa=hl=null,Sa=0,(ot&6)!==0)throw Error(c(331));var s=ot;if(ot|=4,Do(n.current),zo(n,n.current,f,l),ot=s,vu(0,!1),ee&&typeof ee.onPostCommitFiberRoot=="function")try{ee.onPostCommitFiberRoot(Ua,n)}catch{}return!0}finally{w.p=u,D.T=a,Zo(t,e)}}function Jo(t,e,l){e=he(l,e),e=xf(t.stateNode,e,2),t=al(t,e,2),t!==null&&(Ha(t,2),Ne(t))}function bt(t,e,l){if(t.tag===3)Jo(t,t,l);else for(;e!==null;){if(e.tag===3){Jo(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(dl===null||!dl.has(a))){t=he(l,t),l=Fr(2),a=al(e,l,2),a!==null&&(Wr(l,a,e,t),Ha(a,2),Ne(a));break}}e=e.return}}function $f(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new Qh;var u=new Set;a.set(e,u)}else u=a.get(e),u===void 0&&(u=new Set,a.set(e,u));u.has(l)||(qf=!0,u.add(l),t=$h.bind(null,t,e,l),e.then(t,t))}function $h(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,gt===t&&(it&l)===l&&(zt===4||zt===3&&(it&62914560)===it&&300>Me()-Gf?(ot&2)===0&&Ea(t,0):Yf|=l,ga===it&&(ga=0)),Ne(t)}function $o(t,e){e===0&&(e=Qc()),t=aa(t,e),t!==null&&(Ha(t,e),Ne(t))}function kh(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),$o(t,l)}function Fh(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(l=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),$o(t,l)}function Wh(t,e){return ii(t,e)}var Hn=null,Ta=null,kf=!1,Cn=!1,Ff=!1,Gl=0;function Ne(t){t!==Ta&&t.next===null&&(Ta===null?Hn=Ta=t:Ta=Ta.next=t),Cn=!0,kf||(kf=!0,Ih())}function vu(t,e){if(!Ff&&Cn){Ff=!0;do for(var l=!1,a=Hn;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var f=a.suspendedLanes,s=a.pingedLanes;n=(1<<31-le(42|t)+1)-1,n&=u&~(f&~s),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(l=!0,Po(a,n))}else n=it,n=Yu(a,a===gt?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Na(a,n)||(l=!0,Po(a,n));a=a.next}while(l);Ff=!1}}function Ph(){ko()}function ko(){Cn=kf=!1;var t=0;Gl!==0&&(f1()&&(t=Gl),Gl=0);for(var e=Me(),l=null,a=Hn;a!==null;){var u=a.next,n=Fo(a,e);n===0?(a.next=null,l===null?Hn=u:l.next=u,u===null&&(Ta=l)):(l=a,(t!==0||(n&3)!==0)&&(Cn=!0)),a=u}vu(t)}function Fo(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var f=31-le(n),s=1<<f,h=u[f];h===-1?((s&l)===0||(s&a)!==0)&&(u[f]=A0(s,e)):h<=e&&(t.expiredLanes|=s),n&=~s}if(e=gt,l=it,l=Yu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(dt===2||dt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&fi(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Na(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&fi(a),ri(l)){case 2:case 8:l=wc;break;case 32:l=ju;break;case 268435456:l=Gc;break;default:l=ju}return a=Wo.bind(null,t),l=ii(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&fi(a),t.callbackPriority=2,t.callbackNode=null,2}function Wo(t,e){if(wt!==0&&wt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Nn()&&t.callbackNode!==l)return null;var a=it;return a=Yu(t,t===gt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Ho(t,a,e),Fo(t,Me()),t.callbackNode!=null&&t.callbackNode===l?Wo.bind(null,t):null)}function Po(t,e){if(Nn())return null;Ho(t,e,!0)}function Ih(){s1(function(){(ot&6)!==0?ii(Yc,Ph):ko()})}function Wf(){return Gl===0&&(Gl=Xc()),Gl}function Io(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Vu(""+t)}function td(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function t1(t,e,l,a,u){if(e==="submit"&&l&&l.stateNode===u){var n=Io((u[kt]||null).action),f=a.submitter;f&&(e=(e=f[kt]||null)?Io(e.formAction):f.getAttribute("formAction"),e!==null&&(n=e,f=null));var s=new $u("action","action",null,a,u);t.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Gl!==0){var h=f?td(u,f):new FormData(u);bf(l,{pending:!0,data:h,method:u.method,action:n},null,h)}}else typeof n=="function"&&(s.preventDefault(),h=f?td(u,f):new FormData(u),bf(l,{pending:!0,data:h,method:u.method,action:n},n,h))},currentTarget:u}]})}}for(var Pf=0;Pf<Li.length;Pf++){var If=Li[Pf],e1=If.toLowerCase(),l1=If[0].toUpperCase()+If.slice(1);xe(e1,"on"+l1)}xe(Ns,"onAnimationEnd"),xe(Hs,"onAnimationIteration"),xe(Cs,"onAnimationStart"),xe("dblclick","onDoubleClick"),xe("focusin","onFocus"),xe("focusout","onBlur"),xe(ph,"onTransitionRun"),xe(Sh,"onTransitionStart"),xe(Eh,"onTransitionCancel"),xe(Ls,"onTransitionEnd"),Jl("onMouseEnter",["mouseout","mouseover"]),Jl("onMouseLeave",["mouseout","mouseover"]),Jl("onPointerEnter",["pointerout","pointerover"]),Jl("onPointerLeave",["pointerout","pointerover"]),Rl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Rl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Rl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Rl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Rl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bu="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(" "),a1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function ed(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],u=a.event;a=a.listeners;t:{var n=void 0;if(e)for(var f=a.length-1;0<=f;f--){var s=a[f],h=s.instance,E=s.currentTarget;if(s=s.listener,h!==n&&u.isPropagationStopped())break t;n=s,u.currentTarget=E;try{n(u)}catch(O){En(O)}u.currentTarget=null,n=h}else for(f=0;f<a.length;f++){if(s=a[f],h=s.instance,E=s.currentTarget,s=s.listener,h!==n&&u.isPropagationStopped())break t;n=s,u.currentTarget=E;try{n(u)}catch(O){En(O)}u.currentTarget=null,n=h}}}}function nt(t,e){var l=e[oi];l===void 0&&(l=e[oi]=new Set);var a=t+"__bubble";l.has(a)||(ld(e,t,2,!1),l.add(a))}function tc(t,e,l){var a=0;e&&(a|=4),ld(l,t,a,e)}var Ln="_reactListening"+Math.random().toString(36).slice(2);function ec(t){if(!t[Ln]){t[Ln]=!0,$c.forEach(function(l){l!=="selectionchange"&&(a1.has(l)||tc(l,!1,t),tc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ln]||(e[Ln]=!0,tc("selectionchange",!1,e))}}function ld(t,e,l,a){switch(zd(e)){case 2:var u=_1;break;case 8:u=U1;break;default:u=yc}l=u.bind(null,e,l,t),u=void 0,!xi||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(e,l,{capture:!0,passive:u}):t.addEventListener(e,l,!0):u!==void 0?t.addEventListener(e,l,{passive:u}):t.addEventListener(e,l,!1)}function lc(t,e,l,a,u){var n=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var s=a.stateNode.containerInfo;if(s===u)break;if(f===4)for(f=a.return;f!==null;){var h=f.tag;if((h===3||h===4)&&f.stateNode.containerInfo===u)return;f=f.return}for(;s!==null;){if(f=Vl(s),f===null)return;if(h=f.tag,h===5||h===6||h===26||h===27){a=n=f;continue t}s=s.parentNode}}a=a.return}cs(function(){var E=n,O=Si(l),U=[];t:{var x=js.get(t);if(x!==void 0){var T=$u,P=t;switch(t){case"keypress":if(Ku(l)===0)break t;case"keydown":case"keyup":T=W0;break;case"focusin":P="focus",T=zi;break;case"focusout":P="blur",T=zi;break;case"beforeblur":case"afterblur":T=zi;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=os;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Y0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=th;break;case Ns:case Hs:case Cs:T=X0;break;case Ls:T=lh;break;case"scroll":case"scrollend":T=B0;break;case"wheel":T=uh;break;case"copy":case"cut":case"paste":T=V0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=hs;break;case"toggle":case"beforetoggle":T=ih}var $=(e&4)!==0,yt=!$&&(t==="scroll"||t==="scrollend"),p=$?x!==null?x+"Capture":null:x;$=[];for(var b=E,S;b!==null;){var _=b;if(S=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||S===null||p===null||(_=ja(b,p),_!=null&&$.push(gu(b,_,S))),yt)break;b=b.return}0<$.length&&(x=new T(x,P,null,l,O),U.push({event:x,listeners:$}))}}if((e&7)===0){t:{if(x=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout",x&&l!==pi&&(P=l.relatedTarget||l.fromElement)&&(Vl(P)||P[Ql]))break t;if((T||x)&&(x=O.window===O?O:(x=O.ownerDocument)?x.defaultView||x.parentWindow:window,T?(P=l.relatedTarget||l.toElement,T=E,P=P?Vl(P):null,P!==null&&(yt=y(P),$=P.tag,P!==yt||$!==5&&$!==27&&$!==6)&&(P=null)):(T=null,P=E),T!==P)){if($=os,_="onMouseLeave",p="onMouseEnter",b="mouse",(t==="pointerout"||t==="pointerover")&&($=hs,_="onPointerLeave",p="onPointerEnter",b="pointer"),yt=T==null?x:La(T),S=P==null?x:La(P),x=new $(_,b+"leave",T,l,O),x.target=yt,x.relatedTarget=S,_=null,Vl(O)===E&&($=new $(p,b+"enter",P,l,O),$.target=S,$.relatedTarget=yt,_=$),yt=_,T&&P)e:{for($=T,p=P,b=0,S=$;S;S=Aa(S))b++;for(S=0,_=p;_;_=Aa(_))S++;for(;0<b-S;)$=Aa($),b--;for(;0<S-b;)p=Aa(p),S--;for(;b--;){if($===p||p!==null&&$===p.alternate)break e;$=Aa($),p=Aa(p)}$=null}else $=null;T!==null&&ad(U,x,T,$,!1),P!==null&&yt!==null&&ad(U,yt,P,$,!0)}}t:{if(x=E?La(E):window,T=x.nodeName&&x.nodeName.toLowerCase(),T==="select"||T==="input"&&x.type==="file")var V=Es;else if(ps(x))if(xs)V=vh;else{V=mh;var at=hh}else T=x.nodeName,!T||T.toLowerCase()!=="input"||x.type!=="checkbox"&&x.type!=="radio"?E&&gi(E.elementType)&&(V=Es):V=yh;if(V&&(V=V(t,E))){Ss(U,V,l,O);break t}at&&at(t,x,E),t==="focusout"&&E&&x.type==="number"&&E.memoizedProps.value!=null&&bi(x,"number",x.value)}switch(at=E?La(E):window,t){case"focusin":(ps(at)||at.contentEditable==="true")&&(ta=at,Ni=E,Va=null);break;case"focusout":Va=Ni=ta=null;break;case"mousedown":Hi=!0;break;case"contextmenu":case"mouseup":case"dragend":Hi=!1,_s(U,l,O);break;case"selectionchange":if(gh)break;case"keydown":case"keyup":_s(U,l,O)}var K;if(Oi)t:{switch(t){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else Il?bs(t,l)&&(k="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(k="onCompositionStart");k&&(ms&&l.locale!=="ko"&&(Il||k!=="onCompositionStart"?k==="onCompositionEnd"&&Il&&(K=ss()):(Ie=O,Ti="value"in Ie?Ie.value:Ie.textContent,Il=!0)),at=jn(E,k),0<at.length&&(k=new ds(k,t,null,l,O),U.push({event:k,listeners:at}),K?k.data=K:(K=gs(l),K!==null&&(k.data=K)))),(K=ch?sh(t,l):rh(t,l))&&(k=jn(E,"onBeforeInput"),0<k.length&&(at=new ds("onBeforeInput","beforeinput",null,l,O),U.push({event:at,listeners:k}),at.data=K)),t1(U,t,E,l,O)}ed(U,e)})}function gu(t,e,l){return{instance:t,listener:e,currentTarget:l}}function jn(t,e){for(var l=e+"Capture",a=[];t!==null;){var u=t,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=ja(t,l),u!=null&&a.unshift(gu(t,u,n)),u=ja(t,e),u!=null&&a.push(gu(t,u,n))),t.tag===3)return a;t=t.return}return[]}function Aa(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ad(t,e,l,a,u){for(var n=e._reactName,f=[];l!==null&&l!==a;){var s=l,h=s.alternate,E=s.stateNode;if(s=s.tag,h!==null&&h===a)break;s!==5&&s!==26&&s!==27||E===null||(h=E,u?(E=ja(l,n),E!=null&&f.unshift(gu(l,E,h))):u||(E=ja(l,n),E!=null&&f.push(gu(l,E,h)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var u1=/\r\n?/g,n1=/\u0000|\uFFFD/g;function ud(t){return(typeof t=="string"?t:""+t).replace(u1,`
`).replace(n1,"")}function nd(t,e){return e=ud(e),ud(t)===e}function Bn(){}function mt(t,e,l,a,u,n){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Fl(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Fl(t,""+a);break;case"className":Gu(t,"class",a);break;case"tabIndex":Gu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Gu(t,l,a);break;case"style":is(t,a,n);break;case"data":if(e!=="object"){Gu(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Vu(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"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"&&(l==="formAction"?(e!=="input"&&mt(t,e,"name",u.name,u,null),mt(t,e,"formEncType",u.formEncType,u,null),mt(t,e,"formMethod",u.formMethod,u,null),mt(t,e,"formTarget",u.formTarget,u,null)):(mt(t,e,"encType",u.encType,u,null),mt(t,e,"method",u.method,u,null),mt(t,e,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Vu(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Bn);break;case"onScroll":a!=null&&nt("scroll",t);break;case"onScrollEnd":a!=null&&nt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Vu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":nt("beforetoggle",t),nt("toggle",t),wu(t,"popover",a);break;case"xlinkActuate":He(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":He(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":He(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":He(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":He(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":He(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":He(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":He(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":He(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":wu(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=L0.get(l)||l,wu(t,l,a))}}function ac(t,e,l,a,u,n){switch(l){case"style":is(t,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Fl(t,a):(typeof a=="number"||typeof a=="bigint")&&Fl(t,""+a);break;case"onScroll":a!=null&&nt("scroll",t);break;case"onScrollEnd":a!=null&&nt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Bn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!kc.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(u=l.endsWith("Capture"),e=l.slice(2,u?l.length-7:void 0),n=t[kt]||null,n=n!=null?n[l]:null,typeof n=="function"&&t.removeEventListener(e,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,u);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):wu(t,l,a)}}}function Gt(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":nt("error",t),nt("load",t);var a=!1,u=!1,n;for(n in l)if(l.hasOwnProperty(n)){var f=l[n];if(f!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:mt(t,e,n,f,l,null)}}u&&mt(t,e,"srcSet",l.srcSet,l,null),a&&mt(t,e,"src",l.src,l,null);return;case"input":nt("invalid",t);var s=n=f=u=null,h=null,E=null;for(a in l)if(l.hasOwnProperty(a)){var O=l[a];if(O!=null)switch(a){case"name":u=O;break;case"type":f=O;break;case"checked":h=O;break;case"defaultChecked":E=O;break;case"value":n=O;break;case"defaultValue":s=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(c(137,e));break;default:mt(t,e,a,O,l,null)}}ls(t,n,s,h,E,f,u,!1),Xu(t);return;case"select":nt("invalid",t),a=f=n=null;for(u in l)if(l.hasOwnProperty(u)&&(s=l[u],s!=null))switch(u){case"value":n=s;break;case"defaultValue":f=s;break;case"multiple":a=s;default:mt(t,e,u,s,l,null)}e=n,l=f,t.multiple=!!a,e!=null?kl(t,!!a,e,!1):l!=null&&kl(t,!!a,l,!0);return;case"textarea":nt("invalid",t),n=u=a=null;for(f in l)if(l.hasOwnProperty(f)&&(s=l[f],s!=null))switch(f){case"value":a=s;break;case"defaultValue":u=s;break;case"children":n=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(c(91));break;default:mt(t,e,f,s,l,null)}us(t,a,u,n),Xu(t);return;case"option":for(h in l)if(l.hasOwnProperty(h)&&(a=l[h],a!=null))switch(h){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:mt(t,e,h,a,l,null)}return;case"dialog":nt("beforetoggle",t),nt("toggle",t),nt("cancel",t),nt("close",t);break;case"iframe":case"object":nt("load",t);break;case"video":case"audio":for(a=0;a<bu.length;a++)nt(bu[a],t);break;case"image":nt("error",t),nt("load",t);break;case"details":nt("toggle",t);break;case"embed":case"source":case"link":nt("error",t),nt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(E in l)if(l.hasOwnProperty(E)&&(a=l[E],a!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:mt(t,e,E,a,l,null)}return;default:if(gi(e)){for(O in l)l.hasOwnProperty(O)&&(a=l[O],a!==void 0&&ac(t,e,O,a,l,void 0));return}}for(s in l)l.hasOwnProperty(s)&&(a=l[s],a!=null&&mt(t,e,s,a,l,null))}function i1(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,f=null,s=null,h=null,E=null,O=null;for(T in l){var U=l[T];if(l.hasOwnProperty(T)&&U!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":h=U;default:a.hasOwnProperty(T)||mt(t,e,T,null,a,U)}}for(var x in a){var T=a[x];if(U=l[x],a.hasOwnProperty(x)&&(T!=null||U!=null))switch(x){case"type":n=T;break;case"name":u=T;break;case"checked":E=T;break;case"defaultChecked":O=T;break;case"value":f=T;break;case"defaultValue":s=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(c(137,e));break;default:T!==U&&mt(t,e,x,T,a,U)}}vi(t,f,s,h,E,O,n,u);return;case"select":T=f=s=x=null;for(n in l)if(h=l[n],l.hasOwnProperty(n)&&h!=null)switch(n){case"value":break;case"multiple":T=h;default:a.hasOwnProperty(n)||mt(t,e,n,null,a,h)}for(u in a)if(n=a[u],h=l[u],a.hasOwnProperty(u)&&(n!=null||h!=null))switch(u){case"value":x=n;break;case"defaultValue":s=n;break;case"multiple":f=n;default:n!==h&&mt(t,e,u,n,a,h)}e=s,l=f,a=T,x!=null?kl(t,!!l,x,!1):!!a!=!!l&&(e!=null?kl(t,!!l,e,!0):kl(t,!!l,l?[]:"",!1));return;case"textarea":T=x=null;for(s in l)if(u=l[s],l.hasOwnProperty(s)&&u!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:mt(t,e,s,null,a,u)}for(f in a)if(u=a[f],n=l[f],a.hasOwnProperty(f)&&(u!=null||n!=null))switch(f){case"value":x=u;break;case"defaultValue":T=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==n&&mt(t,e,f,u,a,n)}as(t,x,T);return;case"option":for(var P in l)if(x=l[P],l.hasOwnProperty(P)&&x!=null&&!a.hasOwnProperty(P))switch(P){case"selected":t.selected=!1;break;default:mt(t,e,P,null,a,x)}for(h in a)if(x=a[h],T=l[h],a.hasOwnProperty(h)&&x!==T&&(x!=null||T!=null))switch(h){case"selected":t.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:mt(t,e,h,x,a,T)}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 $ in l)x=l[$],l.hasOwnProperty($)&&x!=null&&!a.hasOwnProperty($)&&mt(t,e,$,null,a,x);for(E in a)if(x=a[E],T=l[E],a.hasOwnProperty(E)&&x!==T&&(x!=null||T!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(c(137,e));break;default:mt(t,e,E,x,a,T)}return;default:if(gi(e)){for(var yt in l)x=l[yt],l.hasOwnProperty(yt)&&x!==void 0&&!a.hasOwnProperty(yt)&&ac(t,e,yt,void 0,a,x);for(O in a)x=a[O],T=l[O],!a.hasOwnProperty(O)||x===T||x===void 0&&T===void 0||ac(t,e,O,x,a,T);return}}for(var p in l)x=l[p],l.hasOwnProperty(p)&&x!=null&&!a.hasOwnProperty(p)&&mt(t,e,p,null,a,x);for(U in a)x=a[U],T=l[U],!a.hasOwnProperty(U)||x===T||x==null&&T==null||mt(t,e,U,x,a,T)}var uc=null,nc=null;function qn(t){return t.nodeType===9?t:t.ownerDocument}function id(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function fd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function ic(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var fc=null;function f1(){var t=window.event;return t&&t.type==="popstate"?t===fc?!1:(fc=t,!0):(fc=null,!1)}var cd=typeof setTimeout=="function"?setTimeout:void 0,c1=typeof clearTimeout=="function"?clearTimeout:void 0,sd=typeof Promise=="function"?Promise:void 0,s1=typeof queueMicrotask=="function"?queueMicrotask:typeof sd<"u"?function(t){return sd.resolve(null).then(t).catch(r1)}:cd;function r1(t){setTimeout(function(){throw t})}function yl(t){return t==="head"}function rd(t,e){var l=e,a=0,u=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(0<a&&8>a){l=a;var f=t.ownerDocument;if(l&1&&pu(f.documentElement),l&2&&pu(f.body),l&4)for(l=f.head,pu(l),f=l.firstChild;f;){var s=f.nextSibling,h=f.nodeName;f[Ca]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=s}}if(u===0){t.removeChild(n),Mu(e);return}u--}else l==="$"||l==="$?"||l==="$!"?u++:a=l.charCodeAt(0)-48;else a=0;l=n}while(l);Mu(e)}function cc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":cc(l),di(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function o1(t,e,l,a){for(;t.nodeType===1;){var u=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ca])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Ae(t.nextSibling),t===null)break}return null}function d1(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ae(t.nextSibling),t===null))return null;return t}function sc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function h1(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ae(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var rc=null;function od(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function dd(t,e,l){switch(e=qn(l),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function pu(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);di(t)}var pe=new Map,hd=new Set;function Yn(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Je=w.d;w.d={f:m1,r:y1,D:v1,C:b1,L:g1,m:p1,X:E1,S:S1,M:x1};function m1(){var t=Je.f(),e=_n();return t||e}function y1(t){var e=Zl(t);e!==null&&e.tag===5&&e.type==="form"?Nr(e):Je.r(t)}var Ra=typeof document>"u"?null:document;function md(t,e,l){var a=Ra;if(a&&typeof e=="string"&&e){var u=de(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),hd.has(u)||(hd.add(u),t={rel:t,crossOrigin:l,href:e},a.querySelector(u)===null&&(e=a.createElement("link"),Gt(e,"link",t),Lt(e),a.head.appendChild(e)))}}function v1(t){Je.D(t),md("dns-prefetch",t,null)}function b1(t,e){Je.C(t,e),md("preconnect",t,e)}function g1(t,e,l){Je.L(t,e,l);var a=Ra;if(a&&t&&e){var u='link[rel="preload"][as="'+de(e)+'"]';e==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+de(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+de(l.imageSizes)+'"]')):u+='[href="'+de(t)+'"]';var n=u;switch(e){case"style":n=za(t);break;case"script":n=Ma(t)}pe.has(n)||(t=R({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),pe.set(n,t),a.querySelector(u)!==null||e==="style"&&a.querySelector(Su(n))||e==="script"&&a.querySelector(Eu(n))||(e=a.createElement("link"),Gt(e,"link",t),Lt(e),a.head.appendChild(e)))}}function p1(t,e){Je.m(t,e);var l=Ra;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+de(a)+'"][href="'+de(t)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Ma(t)}if(!pe.has(n)&&(t=R({rel:"modulepreload",href:t},e),pe.set(n,t),l.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Eu(n)))return}a=l.createElement("link"),Gt(a,"link",t),Lt(a),l.head.appendChild(a)}}}function S1(t,e,l){Je.S(t,e,l);var a=Ra;if(a&&t){var u=Kl(a).hoistableStyles,n=za(t);e=e||"default";var f=u.get(n);if(!f){var s={loading:0,preload:null};if(f=a.querySelector(Su(n)))s.loading=5;else{t=R({rel:"stylesheet",href:t,"data-precedence":e},l),(l=pe.get(n))&&oc(t,l);var h=f=a.createElement("link");Lt(h),Gt(h,"link",t),h._p=new Promise(function(E,O){h.onload=E,h.onerror=O}),h.addEventListener("load",function(){s.loading|=1}),h.addEventListener("error",function(){s.loading|=2}),s.loading|=4,wn(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:s},u.set(n,f)}}}function E1(t,e){Je.X(t,e);var l=Ra;if(l&&t){var a=Kl(l).hoistableScripts,u=Ma(t),n=a.get(u);n||(n=l.querySelector(Eu(u)),n||(t=R({src:t,async:!0},e),(e=pe.get(u))&&dc(t,e),n=l.createElement("script"),Lt(n),Gt(n,"link",t),l.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function x1(t,e){Je.M(t,e);var l=Ra;if(l&&t){var a=Kl(l).hoistableScripts,u=Ma(t),n=a.get(u);n||(n=l.querySelector(Eu(u)),n||(t=R({src:t,async:!0,type:"module"},e),(e=pe.get(u))&&dc(t,e),n=l.createElement("script"),Lt(n),Gt(n,"link",t),l.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function yd(t,e,l,a){var u=(u=tt.current)?Yn(u):null;if(!u)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=za(l.href),l=Kl(u).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=za(l.href);var n=Kl(u).hoistableStyles,f=n.get(t);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,f),(n=u.querySelector(Su(t)))&&!n._p&&(f.instance=n,f.state.loading=5),pe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},pe.set(t,l),n||T1(u,t,l,f.state))),e&&a===null)throw Error(c(528,""));return f}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ma(l),l=Kl(u).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function za(t){return'href="'+de(t)+'"'}function Su(t){return'link[rel="stylesheet"]['+t+"]"}function vd(t){return R({},t,{"data-precedence":t.precedence,precedence:null})}function T1(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Gt(e,"link",l),Lt(e),t.head.appendChild(e))}function Ma(t){return'[src="'+de(t)+'"]'}function Eu(t){return"script[async]"+t}function bd(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+de(l.href)+'"]');if(a)return e.instance=a,Lt(a),a;var u=R({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Lt(a),Gt(a,"style",u),wn(a,l.precedence,t),e.instance=a;case"stylesheet":u=za(l.href);var n=t.querySelector(Su(u));if(n)return e.state.loading|=4,e.instance=n,Lt(n),n;a=vd(l),(u=pe.get(u))&&oc(a,u),n=(t.ownerDocument||t).createElement("link"),Lt(n);var f=n;return f._p=new Promise(function(s,h){f.onload=s,f.onerror=h}),Gt(n,"link",a),e.state.loading|=4,wn(n,l.precedence,t),e.instance=n;case"script":return n=Ma(l.src),(u=t.querySelector(Eu(n)))?(e.instance=u,Lt(u),u):(a=l,(u=pe.get(n))&&(a=R({},l),dc(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Lt(u),Gt(u,"link",a),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,wn(a,l.precedence,t));return e.instance}function wn(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,f=0;f<a.length;f++){var s=a[f];if(s.dataset.precedence===e)n=s;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function oc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function dc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Gn=null;function gd(t,e,l){if(Gn===null){var a=new Map,u=Gn=new Map;u.set(l,a)}else u=Gn,a=u.get(l),a||(a=new Map,u.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),u=0;u<l.length;u++){var n=l[u];if(!(n[Ca]||n[Vt]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var f=n.getAttribute(e)||"";f=t+f;var s=a.get(f);s?s.push(n):a.set(f,[n])}}return a}function pd(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function A1(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Sd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var xu=null;function R1(){}function z1(t,e,l){if(xu===null)throw Error(c(475));var a=xu;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var u=za(l.href),n=t.querySelector(Su(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=Xn.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=n,Lt(n);return}n=t.ownerDocument||t,l=vd(l),(u=pe.get(u))&&oc(l,u),n=n.createElement("link"),Lt(n);var f=n;f._p=new Promise(function(s,h){f.onload=s,f.onerror=h}),Gt(n,"link",l),e.instance=n}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=Xn.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function M1(){if(xu===null)throw Error(c(475));var t=xu;return t.stylesheets&&t.count===0&&hc(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&hc(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function Xn(){if(this.count--,this.count===0){if(this.stylesheets)hc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qn=null;function hc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qn=new Map,e.forEach(O1,t),Qn=null,Xn.call(t))}function O1(t,e){if(!(e.state.loading&4)){var l=Qn.get(t);if(l)var a=l.get(null);else{l=new Map,Qn.set(t,l);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var f=u[n];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}u=e.instance,f=u.getAttribute("data-precedence"),n=l.get(f)||a,n===a&&l.set(null,u),l.set(f,u),this.count++,a=Xn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var Tu={$$typeof:X,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function D1(t,e,l,a,u,n,f,s){this.tag=1,this.containerInfo=t,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=ci(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ci(0),this.hiddenUpdates=ci(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Ed(t,e,l,a,u,n,f,s,h,E,O,U){return t=new D1(t,e,l,f,s,h,E,U),e=1,n===!0&&(e|=24),n=ue(3,null,null,e),t.current=n,n.stateNode=t,e=Ji(),e.refCount++,t.pooledCache=e,e.refCount++,n.memoizedState={element:a,isDehydrated:l,cache:e},Wi(n),t}function xd(t){return t?(t=ua,t):ua}function Td(t,e,l,a,u,n){u=xd(u),a.context===null?a.context=u:a.pendingContext=u,a=ll(e),a.payload={element:l},n=n===void 0?null:n,n!==null&&(a.callback=n),l=al(t,a,e),l!==null&&(se(l,t,e),Ia(l,t,e))}function Ad(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function mc(t,e){Ad(t,e),(t=t.alternate)&&Ad(t,e)}function Rd(t){if(t.tag===13){var e=aa(t,67108864);e!==null&&se(e,t,67108864),mc(t,67108864)}}var Vn=!0;function _1(t,e,l,a){var u=D.T;D.T=null;var n=w.p;try{w.p=2,yc(t,e,l,a)}finally{w.p=n,D.T=u}}function U1(t,e,l,a){var u=D.T;D.T=null;var n=w.p;try{w.p=8,yc(t,e,l,a)}finally{w.p=n,D.T=u}}function yc(t,e,l,a){if(Vn){var u=vc(a);if(u===null)lc(t,e,a,Zn,l),Md(t,a);else if(H1(u,t,e,l,a))a.stopPropagation();else if(Md(t,a),e&4&&-1<N1.indexOf(t)){for(;u!==null;){var n=Zl(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var f=Al(n.pendingLanes);if(f!==0){var s=n;for(s.pendingLanes|=2,s.entangledLanes|=2;f;){var h=1<<31-le(f);s.entanglements[1]|=h,f&=~h}Ne(n),(ot&6)===0&&(On=Me()+500,vu(0))}}break;case 13:s=aa(n,2),s!==null&&se(s,n,2),_n(),mc(n,2)}if(n=vc(a),n===null&&lc(t,e,a,Zn,l),n===u)break;u=n}u!==null&&a.stopPropagation()}else lc(t,e,a,null,l)}}function vc(t){return t=Si(t),bc(t)}var Zn=null;function bc(t){if(Zn=null,t=Vl(t),t!==null){var e=y(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=A(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Zn=t,null}function zd(t){switch(t){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(b0()){case Yc:return 2;case wc:return 8;case ju:case g0:return 32;case Gc:return 268435456;default:return 32}default:return 32}}var gc=!1,vl=null,bl=null,gl=null,Au=new Map,Ru=new Map,pl=[],N1="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 Md(t,e){switch(t){case"focusin":case"focusout":vl=null;break;case"dragenter":case"dragleave":bl=null;break;case"mouseover":case"mouseout":gl=null;break;case"pointerover":case"pointerout":Au.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ru.delete(e.pointerId)}}function zu(t,e,l,a,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},e!==null&&(e=Zl(e),e!==null&&Rd(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function H1(t,e,l,a,u){switch(e){case"focusin":return vl=zu(vl,t,e,l,a,u),!0;case"dragenter":return bl=zu(bl,t,e,l,a,u),!0;case"mouseover":return gl=zu(gl,t,e,l,a,u),!0;case"pointerover":var n=u.pointerId;return Au.set(n,zu(Au.get(n)||null,t,e,l,a,u)),!0;case"gotpointercapture":return n=u.pointerId,Ru.set(n,zu(Ru.get(n)||null,t,e,l,a,u)),!0}return!1}function Od(t){var e=Vl(t.target);if(e!==null){var l=y(e);if(l!==null){if(e=l.tag,e===13){if(e=A(l),e!==null){t.blockedOn=e,z0(t.priority,function(){if(l.tag===13){var a=ce();a=si(a);var u=aa(l,a);u!==null&&se(u,l,a),mc(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Kn(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=vc(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);pi=a,l.target.dispatchEvent(a),pi=null}else return e=Zl(l),e!==null&&Rd(e),t.blockedOn=l,!1;e.shift()}return!0}function Dd(t,e,l){Kn(t)&&l.delete(e)}function C1(){gc=!1,vl!==null&&Kn(vl)&&(vl=null),bl!==null&&Kn(bl)&&(bl=null),gl!==null&&Kn(gl)&&(gl=null),Au.forEach(Dd),Ru.forEach(Dd)}function Jn(t,e){t.blockedOn===e&&(t.blockedOn=null,gc||(gc=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,C1)))}var $n=null;function _d(t){$n!==t&&($n=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){$n===t&&($n=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],u=t[e+2];if(typeof a!="function"){if(bc(a||l)===null)continue;break}var n=Zl(l);n!==null&&(t.splice(e,3),e-=3,bf(n,{pending:!0,data:u,method:l.method,action:a},a,u))}}))}function Mu(t){function e(h){return Jn(h,t)}vl!==null&&Jn(vl,t),bl!==null&&Jn(bl,t),gl!==null&&Jn(gl,t),Au.forEach(e),Ru.forEach(e);for(var l=0;l<pl.length;l++){var a=pl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<pl.length&&(l=pl[0],l.blockedOn===null);)Od(l),l.blockedOn===null&&pl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var u=l[a],n=l[a+1],f=u[kt]||null;if(typeof n=="function")f||_d(l);else if(f){var s=null;if(n&&n.hasAttribute("formAction")){if(u=n,f=n[kt]||null)s=f.formAction;else if(bc(u)!==null)continue}else s=f.action;typeof s=="function"?l[a+1]=s:(l.splice(a,3),a-=3),_d(l)}}}function pc(t){this._internalRoot=t}kn.prototype.render=pc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var l=e.current,a=ce();Td(l,a,t,e,null,null)},kn.prototype.unmount=pc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Td(t.current,2,null,t,null,null),_n(),e[Ql]=null}};function kn(t){this._internalRoot=t}kn.prototype.unstable_scheduleHydration=function(t){if(t){var e=Kc();t={blockedOn:null,target:t,priority:e};for(var l=0;l<pl.length&&e!==0&&e<pl[l].priority;l++);pl.splice(l,0,t),l===0&&Od(t)}};var Ud=r.version;if(Ud!=="19.1.0")throw Error(c(527,Ud,"19.1.0"));w.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=g(e),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var L1={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fn.isDisabled&&Fn.supportsFiber)try{Ua=Fn.inject(L1),ee=Fn}catch{}}return Du.createRoot=function(t,e){if(!d(t))throw Error(c(299));var l=!1,a="",u=Kr,n=Jr,f=$r,s=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(n=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(s=e.unstable_transitionCallbacks)),e=Ed(t,1,!1,null,null,l,a,u,n,f,s,null),t[Ql]=e.current,ec(t),new pc(e)},Du.hydrateRoot=function(t,e,l){if(!d(t))throw Error(c(299));var a=!1,u="",n=Kr,f=Jr,s=$r,h=null,E=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(u=l.identifierPrefix),l.onUncaughtError!==void 0&&(n=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(s=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(h=l.unstable_transitionCallbacks),l.formState!==void 0&&(E=l.formState)),e=Ed(t,1,!0,e,l??null,a,u,n,f,s,h,E),e.context=xd(null),l=e.current,a=ce(),a=si(a),u=ll(a),u.callback=null,al(l,u,a),l=a,e.current.lanes=l,Ha(e,l),Ne(e),t[Ql]=e.current,ec(t),new kn(e)},Du.version="19.1.0",Du}var Gd;function K1(){if(Gd)return xc.exports;Gd=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),xc.exports=Z1(),xc.exports}var J1=K1(),_u={},Xd;function $1(){if(Xd)return _u;Xd=1,Object.defineProperty(_u,"__esModule",{value:!0}),_u.parse=A,_u.serialize=m;const i=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,d=Object.prototype.toString,y=(()=>{const H=function(){};return H.prototype=Object.create(null),H})();function A(H,q){const C=new y,Z=H.length;if(Z<2)return C;const G=(q==null?void 0:q.decode)||R;let B=0;do{const F=H.indexOf("=",B);if(F===-1)break;const X=H.indexOf(";",B),ft=X===-1?Z:X;if(F>ft){B=H.lastIndexOf(";",F-1)+1;continue}const I=z(H,B,F),_t=g(H,F,I),At=H.slice(I,_t);if(C[At]===void 0){let Mt=z(H,F+1,ft),pt=g(H,ft,Mt);const Jt=G(H.slice(Mt,pt));C[At]=Jt}B=ft+1}while(B<Z);return C}function z(H,q,C){do{const Z=H.charCodeAt(q);if(Z!==32&&Z!==9)return q}while(++q<C);return C}function g(H,q,C){for(;q>C;){const Z=H.charCodeAt(--q);if(Z!==32&&Z!==9)return q+1}return C}function m(H,q,C){const Z=(C==null?void 0:C.encode)||encodeURIComponent;if(!i.test(H))throw new TypeError(`argument name is invalid: ${H}`);const G=Z(q);if(!r.test(G))throw new TypeError(`argument val is invalid: ${q}`);let B=H+"="+G;if(!C)return B;if(C.maxAge!==void 0){if(!Number.isInteger(C.maxAge))throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);B+="; Max-Age="+C.maxAge}if(C.domain){if(!o.test(C.domain))throw new TypeError(`option domain is invalid: ${C.domain}`);B+="; Domain="+C.domain}if(C.path){if(!c.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);B+="; Path="+C.path}if(C.expires){if(!L(C.expires)||!Number.isFinite(C.expires.valueOf()))throw new TypeError(`option expires is invalid: ${C.expires}`);B+="; Expires="+C.expires.toUTCString()}if(C.httpOnly&&(B+="; HttpOnly"),C.secure&&(B+="; Secure"),C.partitioned&&(B+="; Partitioned"),C.priority)switch(typeof C.priority=="string"?C.priority.toLowerCase():void 0){case"low":B+="; Priority=Low";break;case"medium":B+="; Priority=Medium";break;case"high":B+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${C.priority}`)}if(C.sameSite)switch(typeof C.sameSite=="string"?C.sameSite.toLowerCase():C.sameSite){case!0:case"strict":B+="; SameSite=Strict";break;case"lax":B+="; SameSite=Lax";break;case"none":B+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${C.sameSite}`)}return B}function R(H){if(H.indexOf("%")===-1)return H;try{return decodeURIComponent(H)}catch{return H}}function L(H){return d.call(H)==="[object Date]"}return _u}$1();/**
 * react-router v7.5.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Qd="popstate";function k1(i={}){function r(c,d){let{pathname:y,search:A,hash:z}=c.location;return Dc("",{pathname:y,search:A,hash:z},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(c,d){return typeof d=="string"?d:Nu(d)}return W1(r,o,null,i)}function xt(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Re(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function F1(){return Math.random().toString(36).substring(2,10)}function Vd(i,r){return{usr:i.state,key:i.key,idx:r}}function Dc(i,r,o=null,c){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?Oa(r):r,state:o,key:r&&r.key||c||F1()}}function Nu({pathname:i="/",search:r="",hash:o=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function Oa(i){let r={};if(i){let o=i.indexOf("#");o>=0&&(r.hash=i.substring(o),i=i.substring(0,o));let c=i.indexOf("?");c>=0&&(r.search=i.substring(c),i=i.substring(0,c)),i&&(r.pathname=i)}return r}function W1(i,r,o,c={}){let{window:d=document.defaultView,v5Compat:y=!1}=c,A=d.history,z="POP",g=null,m=R();m==null&&(m=0,A.replaceState({...A.state,idx:m},""));function R(){return(A.state||{idx:null}).idx}function L(){z="POP";let G=R(),B=G==null?null:G-m;m=G,g&&g({action:z,location:Z.location,delta:B})}function H(G,B){z="PUSH";let F=Dc(Z.location,G,B);m=R()+1;let X=Vd(F,m),ft=Z.createHref(F);try{A.pushState(X,"",ft)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;d.location.assign(ft)}y&&g&&g({action:z,location:Z.location,delta:1})}function q(G,B){z="REPLACE";let F=Dc(Z.location,G,B);m=R();let X=Vd(F,m),ft=Z.createHref(F);A.replaceState(X,"",ft),y&&g&&g({action:z,location:Z.location,delta:0})}function C(G){let B=d.location.origin!=="null"?d.location.origin:d.location.href,F=typeof G=="string"?G:Nu(G);return F=F.replace(/ $/,"%20"),xt(B,`No window.location.(origin|href) available to create URL for href: ${F}`),new URL(F,B)}let Z={get action(){return z},get location(){return i(d,A)},listen(G){if(g)throw new Error("A history only accepts one active listener");return d.addEventListener(Qd,L),g=G,()=>{d.removeEventListener(Qd,L),g=null}},createHref(G){return r(d,G)},createURL:C,encodeLocation(G){let B=C(G);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:H,replace:q,go(G){return A.go(G)}};return Z}function Id(i,r,o="/"){return P1(i,r,o,!1)}function P1(i,r,o,c){let d=typeof r=="string"?Oa(r):r,y=ke(d.pathname||"/",o);if(y==null)return null;let A=t0(i);I1(A);let z=null;for(let g=0;z==null&&g<A.length;++g){let m=rm(y);z=cm(A[g],m,c)}return z}function t0(i,r=[],o=[],c=""){let d=(y,A,z)=>{let g={relativePath:z===void 0?y.path||"":z,caseSensitive:y.caseSensitive===!0,childrenIndex:A,route:y};g.relativePath.startsWith("/")&&(xt(g.relativePath.startsWith(c),`Absolute route path "${g.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(c.length));let m=$e([c,g.relativePath]),R=o.concat(g);y.children&&y.children.length>0&&(xt(y.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),t0(y.children,r,R,m)),!(y.path==null&&!y.index)&&r.push({path:m,score:im(m,y.index),routesMeta:R})};return i.forEach((y,A)=>{var z;if(y.path===""||!((z=y.path)!=null&&z.includes("?")))d(y,A);else for(let g of e0(y.path))d(y,A,g)}),r}function e0(i){let r=i.split("/");if(r.length===0)return[];let[o,...c]=r,d=o.endsWith("?"),y=o.replace(/\?$/,"");if(c.length===0)return d?[y,""]:[y];let A=e0(c.join("/")),z=[];return z.push(...A.map(g=>g===""?y:[y,g].join("/"))),d&&z.push(...A),z.map(g=>i.startsWith("/")&&g===""?"/":g)}function I1(i){i.sort((r,o)=>r.score!==o.score?o.score-r.score:fm(r.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var tm=/^:[\w-]+$/,em=3,lm=2,am=1,um=10,nm=-2,Zd=i=>i==="*";function im(i,r){let o=i.split("/"),c=o.length;return o.some(Zd)&&(c+=nm),r&&(c+=lm),o.filter(d=>!Zd(d)).reduce((d,y)=>d+(tm.test(y)?em:y===""?am:um),c)}function fm(i,r){return i.length===r.length&&i.slice(0,-1).every((c,d)=>c===r[d])?i[i.length-1]-r[r.length-1]:0}function cm(i,r,o=!1){let{routesMeta:c}=i,d={},y="/",A=[];for(let z=0;z<c.length;++z){let g=c[z],m=z===c.length-1,R=y==="/"?r:r.slice(y.length)||"/",L=ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:m},R),H=g.route;if(!L&&m&&o&&!c[c.length-1].route.index&&(L=ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},R)),!L)return null;Object.assign(d,L.params),A.push({params:d,pathname:$e([y,L.pathname]),pathnameBase:mm($e([y,L.pathnameBase])),route:H}),L.pathnameBase!=="/"&&(y=$e([y,L.pathnameBase]))}return A}function ei(i,r){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[o,c]=sm(i.path,i.caseSensitive,i.end),d=r.match(o);if(!d)return null;let y=d[0],A=y.replace(/(.)\/+$/,"$1"),z=d.slice(1);return{params:c.reduce((m,{paramName:R,isOptional:L},H)=>{if(R==="*"){let C=z[H]||"";A=y.slice(0,y.length-C.length).replace(/(.)\/+$/,"$1")}const q=z[H];return L&&!q?m[R]=void 0:m[R]=(q||"").replace(/%2F/g,"/"),m},{}),pathname:y,pathnameBase:A,pattern:i}}function sm(i,r=!1,o=!0){Re(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],d="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(A,z,g)=>(c.push({paramName:z,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(c.push({paramName:"*"}),d+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?d+="\\/*$":i!==""&&i!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,r?void 0:"i"),c]}function rm(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Re(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),i}}function ke(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,c=i.charAt(o);return c&&c!=="/"?null:i.slice(o)||"/"}function om(i,r="/"){let{pathname:o,search:c="",hash:d=""}=typeof i=="string"?Oa(i):i;return{pathname:o?o.startsWith("/")?o:dm(o,r):r,search:ym(c),hash:vm(d)}}function dm(i,r){let o=r.replace(/\/+$/,"").split("/");return i.split("/").forEach(d=>{d===".."?o.length>1&&o.pop():d!=="."&&o.push(d)}),o.length>1?o.join("/"):"/"}function zc(i,r,o,c){return`Cannot include a '${i}' character in a manually specified \`to.${r}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function hm(i){return i.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function Nc(i){let r=hm(i);return r.map((o,c)=>c===r.length-1?o.pathname:o.pathnameBase)}function Hc(i,r,o,c=!1){let d;typeof i=="string"?d=Oa(i):(d={...i},xt(!d.pathname||!d.pathname.includes("?"),zc("?","pathname","search",d)),xt(!d.pathname||!d.pathname.includes("#"),zc("#","pathname","hash",d)),xt(!d.search||!d.search.includes("#"),zc("#","search","hash",d)));let y=i===""||d.pathname==="",A=y?"/":d.pathname,z;if(A==null)z=o;else{let L=r.length-1;if(!c&&A.startsWith("..")){let H=A.split("/");for(;H[0]==="..";)H.shift(),L-=1;d.pathname=H.join("/")}z=L>=0?r[L]:"/"}let g=om(d,z),m=A&&A!=="/"&&A.endsWith("/"),R=(y||A===".")&&o.endsWith("/");return!g.pathname.endsWith("/")&&(m||R)&&(g.pathname+="/"),g}var $e=i=>i.join("/").replace(/\/\/+/g,"/"),mm=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),ym=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,vm=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function bm(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var l0=["POST","PUT","PATCH","DELETE"];new Set(l0);var gm=["GET",...l0];new Set(gm);var Da=M.createContext(null);Da.displayName="DataRouter";var li=M.createContext(null);li.displayName="DataRouterState";var a0=M.createContext({isTransitioning:!1});a0.displayName="ViewTransition";var pm=M.createContext(new Map);pm.displayName="Fetchers";var Sm=M.createContext(null);Sm.displayName="Await";var ze=M.createContext(null);ze.displayName="Navigation";var Hu=M.createContext(null);Hu.displayName="Location";var Ee=M.createContext({outlet:null,matches:[],isDataRoute:!1});Ee.displayName="Route";var Cc=M.createContext(null);Cc.displayName="RouteError";function Em(i,{relative:r}={}){xt(_a(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=M.useContext(ze),{hash:d,pathname:y,search:A}=Cu(i,{relative:r}),z=y;return o!=="/"&&(z=y==="/"?o:$e([o,y])),c.createHref({pathname:z,search:A,hash:d})}function _a(){return M.useContext(Hu)!=null}function El(){return xt(_a(),"useLocation() may be used only in the context of a <Router> component."),M.useContext(Hu).location}var u0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function n0(i){M.useContext(ze).static||M.useLayoutEffect(i)}function i0(){let{isDataRoute:i}=M.useContext(Ee);return i?jm():xm()}function xm(){xt(_a(),"useNavigate() may be used only in the context of a <Router> component.");let i=M.useContext(Da),{basename:r,navigator:o}=M.useContext(ze),{matches:c}=M.useContext(Ee),{pathname:d}=El(),y=JSON.stringify(Nc(c)),A=M.useRef(!1);return n0(()=>{A.current=!0}),M.useCallback((g,m={})=>{if(Re(A.current,u0),!A.current)return;if(typeof g=="number"){o.go(g);return}let R=Hc(g,JSON.parse(y),d,m.relative==="path");i==null&&r!=="/"&&(R.pathname=R.pathname==="/"?r:$e([r,R.pathname])),(m.replace?o.replace:o.push)(R,m.state,m)},[r,o,y,d,i])}var Tm=M.createContext(null);function Am(i){let r=M.useContext(Ee).outlet;return r&&M.createElement(Tm.Provider,{value:i},r)}function f0(){let{matches:i}=M.useContext(Ee),r=i[i.length-1];return r?r.params:{}}function Cu(i,{relative:r}={}){let{matches:o}=M.useContext(Ee),{pathname:c}=El(),d=JSON.stringify(Nc(o));return M.useMemo(()=>Hc(i,JSON.parse(d),c,r==="path"),[i,d,c,r])}function Rm(i,r){return c0(i,r)}function c0(i,r,o,c){var F;xt(_a(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d,static:y}=M.useContext(ze),{matches:A}=M.useContext(Ee),z=A[A.length-1],g=z?z.params:{},m=z?z.pathname:"/",R=z?z.pathnameBase:"/",L=z&&z.route;{let X=L&&L.path||"";s0(m,!L||X.endsWith("*")||X.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${X}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${X}"> to <Route path="${X==="/"?"*":`${X}/*`}">.`)}let H=El(),q;if(r){let X=typeof r=="string"?Oa(r):r;xt(R==="/"||((F=X.pathname)==null?void 0:F.startsWith(R)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${R}" but pathname "${X.pathname}" was given in the \`location\` prop.`),q=X}else q=H;let C=q.pathname||"/",Z=C;if(R!=="/"){let X=R.replace(/^\//,"").split("/");Z="/"+C.replace(/^\//,"").split("/").slice(X.length).join("/")}let G=!y&&o&&o.matches&&o.matches.length>0?o.matches:Id(i,{pathname:Z});Re(L||G!=null,`No routes matched location "${q.pathname}${q.search}${q.hash}" `),Re(G==null||G[G.length-1].route.element!==void 0||G[G.length-1].route.Component!==void 0||G[G.length-1].route.lazy!==void 0,`Matched leaf route at location "${q.pathname}${q.search}${q.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let B=_m(G&&G.map(X=>Object.assign({},X,{params:Object.assign({},g,X.params),pathname:$e([R,d.encodeLocation?d.encodeLocation(X.pathname).pathname:X.pathname]),pathnameBase:X.pathnameBase==="/"?R:$e([R,d.encodeLocation?d.encodeLocation(X.pathnameBase).pathname:X.pathnameBase])})),A,o,c);return r&&B?M.createElement(Hu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...q},navigationType:"POP"}},B):B}function zm(){let i=Lm(),r=bm(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:c},y={padding:"2px 4px",backgroundColor:c},A=null;return console.error("Error handled by React Router default ErrorBoundary:",i),A=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:y},"ErrorBoundary")," or"," ",M.createElement("code",{style:y},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},r),o?M.createElement("pre",{style:d},o):null,A)}var Mm=M.createElement(zm,null),Om=class extends M.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,r){return r.location!==i.location||r.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:r.error,location:r.location,revalidation:i.revalidation||r.revalidation}}componentDidCatch(i,r){console.error("React Router caught the following error during render",i,r)}render(){return this.state.error!==void 0?M.createElement(Ee.Provider,{value:this.props.routeContext},M.createElement(Cc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Dm({routeContext:i,match:r,children:o}){let c=M.useContext(Da);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),M.createElement(Ee.Provider,{value:i},o)}function _m(i,r=[],o=null,c=null){if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let d=i,y=o==null?void 0:o.errors;if(y!=null){let g=d.findIndex(m=>m.route.id&&(y==null?void 0:y[m.route.id])!==void 0);xt(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(y).join(",")}`),d=d.slice(0,Math.min(d.length,g+1))}let A=!1,z=-1;if(o)for(let g=0;g<d.length;g++){let m=d[g];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(z=g),m.route.id){let{loaderData:R,errors:L}=o,H=m.route.loader&&!R.hasOwnProperty(m.route.id)&&(!L||L[m.route.id]===void 0);if(m.route.lazy||H){A=!0,z>=0?d=d.slice(0,z+1):d=[d[0]];break}}}return d.reduceRight((g,m,R)=>{let L,H=!1,q=null,C=null;o&&(L=y&&m.route.id?y[m.route.id]:void 0,q=m.route.errorElement||Mm,A&&(z<0&&R===0?(s0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,C=null):z===R&&(H=!0,C=m.route.hydrateFallbackElement||null)));let Z=r.concat(d.slice(0,R+1)),G=()=>{let B;return L?B=q:H?B=C:m.route.Component?B=M.createElement(m.route.Component,null):m.route.element?B=m.route.element:B=g,M.createElement(Dm,{match:m,routeContext:{outlet:g,matches:Z,isDataRoute:o!=null},children:B})};return o&&(m.route.ErrorBoundary||m.route.errorElement||R===0)?M.createElement(Om,{location:o.location,revalidation:o.revalidation,component:q,error:L,children:G(),routeContext:{outlet:null,matches:Z,isDataRoute:!0}}):G()},null)}function Lc(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Um(i){let r=M.useContext(Da);return xt(r,Lc(i)),r}function Nm(i){let r=M.useContext(li);return xt(r,Lc(i)),r}function Hm(i){let r=M.useContext(Ee);return xt(r,Lc(i)),r}function jc(i){let r=Hm(i),o=r.matches[r.matches.length-1];return xt(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function Cm(){return jc("useRouteId")}function Lm(){var c;let i=M.useContext(Cc),r=Nm("useRouteError"),o=jc("useRouteError");return i!==void 0?i:(c=r.errors)==null?void 0:c[o]}function jm(){let{router:i}=Um("useNavigate"),r=jc("useNavigate"),o=M.useRef(!1);return n0(()=>{o.current=!0}),M.useCallback(async(d,y={})=>{Re(o.current,u0),o.current&&(typeof d=="number"?i.navigate(d):await i.navigate(d,{fromRouteId:r,...y}))},[i,r])}var Kd={};function s0(i,r,o){!r&&!Kd[i]&&(Kd[i]=!0,Re(!1,o))}M.memo(Bm);function Bm({routes:i,future:r,state:o}){return c0(i,void 0,o,r)}function qm({to:i,replace:r,state:o,relative:c}){xt(_a(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=M.useContext(ze);Re(!d,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:y}=M.useContext(Ee),{pathname:A}=El(),z=i0(),g=Hc(i,Nc(y),A,c==="path"),m=JSON.stringify(g);return M.useEffect(()=>{z(JSON.parse(m),{replace:r,state:o,relative:c})},[z,m,c,r,o]),null}function Ym(i){return Am(i.context)}function Pn(i){xt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function wm({basename:i="/",children:r=null,location:o,navigationType:c="POP",navigator:d,static:y=!1}){xt(!_a(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let A=i.replace(/^\/*/,"/"),z=M.useMemo(()=>({basename:A,navigator:d,static:y,future:{}}),[A,d,y]);typeof o=="string"&&(o=Oa(o));let{pathname:g="/",search:m="",hash:R="",state:L=null,key:H="default"}=o,q=M.useMemo(()=>{let C=ke(g,A);return C==null?null:{location:{pathname:C,search:m,hash:R,state:L,key:H},navigationType:c}},[A,g,m,R,L,H,c]);return Re(q!=null,`<Router basename="${A}"> is not able to match the URL "${g}${m}${R}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:M.createElement(ze.Provider,{value:z},M.createElement(Hu.Provider,{children:r,value:q}))}function Gm({children:i,location:r}){return Rm(_c(i),r)}function _c(i,r=[]){let o=[];return M.Children.forEach(i,(c,d)=>{if(!M.isValidElement(c))return;let y=[...r,d];if(c.type===M.Fragment){o.push.apply(o,_c(c.props.children,y));return}xt(c.type===Pn,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),xt(!c.props.index||!c.props.children,"An index route cannot have child routes.");let A={id:c.props.id||y.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(A.children=_c(c.props.children,y)),o.push(A)}),o}var In="get",ti="application/x-www-form-urlencoded";function ai(i){return i!=null&&typeof i.tagName=="string"}function Xm(i){return ai(i)&&i.tagName.toLowerCase()==="button"}function Qm(i){return ai(i)&&i.tagName.toLowerCase()==="form"}function Vm(i){return ai(i)&&i.tagName.toLowerCase()==="input"}function Zm(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function Km(i,r){return i.button===0&&(!r||r==="_self")&&!Zm(i)}var Wn=null;function Jm(){if(Wn===null)try{new FormData(document.createElement("form"),0),Wn=!1}catch{Wn=!0}return Wn}var $m=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Mc(i){return i!=null&&!$m.has(i)?(Re(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ti}"`),null):i}function km(i,r){let o,c,d,y,A;if(Qm(i)){let z=i.getAttribute("action");c=z?ke(z,r):null,o=i.getAttribute("method")||In,d=Mc(i.getAttribute("enctype"))||ti,y=new FormData(i)}else if(Xm(i)||Vm(i)&&(i.type==="submit"||i.type==="image")){let z=i.form;if(z==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=i.getAttribute("formaction")||z.getAttribute("action");if(c=g?ke(g,r):null,o=i.getAttribute("formmethod")||z.getAttribute("method")||In,d=Mc(i.getAttribute("formenctype"))||Mc(z.getAttribute("enctype"))||ti,y=new FormData(z,i),!Jm()){let{name:m,type:R,value:L}=i;if(R==="image"){let H=m?`${m}.`:"";y.append(`${H}x`,"0"),y.append(`${H}y`,"0")}else m&&y.append(m,L)}}else{if(ai(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=In,c=null,d=ti,A=i}return y&&d==="text/plain"&&(A=y,y=void 0),{action:c,method:o.toLowerCase(),encType:d,formData:y,body:A}}function Bc(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}async function Fm(i,r){if(i.id in r)return r[i.id];try{let o=await import(i.module);return r[i.id]=o,o}catch(o){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Wm(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function Pm(i,r,o){let c=await Promise.all(i.map(async d=>{let y=r.routes[d.route.id];if(y){let A=await Fm(y,o);return A.links?A.links():[]}return[]}));return l2(c.flat(1).filter(Wm).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Jd(i,r,o,c,d,y){let A=(g,m)=>o[m]?g.route.id!==o[m].route.id:!0,z=(g,m)=>{var R;return o[m].pathname!==g.pathname||((R=o[m].route.path)==null?void 0:R.endsWith("*"))&&o[m].params["*"]!==g.params["*"]};return y==="assets"?r.filter((g,m)=>A(g,m)||z(g,m)):y==="data"?r.filter((g,m)=>{var L;let R=c.routes[g.route.id];if(!R||!R.hasLoader)return!1;if(A(g,m)||z(g,m))return!0;if(g.route.shouldRevalidate){let H=g.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((L=o[0])==null?void 0:L.params)||{},nextUrl:new URL(i,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof H=="boolean")return H}return!0}):[]}function Im(i,r,{includeHydrateFallback:o}={}){return t2(i.map(c=>{let d=r.routes[c.route.id];if(!d)return[];let y=[d.module];return d.clientActionModule&&(y=y.concat(d.clientActionModule)),d.clientLoaderModule&&(y=y.concat(d.clientLoaderModule)),o&&d.hydrateFallbackModule&&(y=y.concat(d.hydrateFallbackModule)),d.imports&&(y=y.concat(d.imports)),y}).flat(1))}function t2(i){return[...new Set(i)]}function e2(i){let r={},o=Object.keys(i).sort();for(let c of o)r[c]=i[c];return r}function l2(i,r){let o=new Set;return new Set(r),i.reduce((c,d)=>{let y=JSON.stringify(e2(d));return o.has(y)||(o.add(y),c.push({key:y,link:d})),c},[])}function a2(i,r){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return o.pathname==="/"?o.pathname="_root.data":r&&ke(o.pathname,r)==="/"?o.pathname=`${r.replace(/\/$/,"")}/_root.data`:o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function r0(){let i=M.useContext(Da);return Bc(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function u2(){let i=M.useContext(li);return Bc(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var qc=M.createContext(void 0);qc.displayName="FrameworkContext";function o0(){let i=M.useContext(qc);return Bc(i,"You must render this element inside a <HydratedRouter> element"),i}function n2(i,r){let o=M.useContext(qc),[c,d]=M.useState(!1),[y,A]=M.useState(!1),{onFocus:z,onBlur:g,onMouseEnter:m,onMouseLeave:R,onTouchStart:L}=r,H=M.useRef(null);M.useEffect(()=>{if(i==="render"&&A(!0),i==="viewport"){let Z=B=>{B.forEach(F=>{A(F.isIntersecting)})},G=new IntersectionObserver(Z,{threshold:.5});return H.current&&G.observe(H.current),()=>{G.disconnect()}}},[i]),M.useEffect(()=>{if(c){let Z=setTimeout(()=>{A(!0)},100);return()=>{clearTimeout(Z)}}},[c]);let q=()=>{d(!0)},C=()=>{d(!1),A(!1)};return o?i!=="intent"?[y,H,{}]:[y,H,{onFocus:Uu(z,q),onBlur:Uu(g,C),onMouseEnter:Uu(m,q),onMouseLeave:Uu(R,C),onTouchStart:Uu(L,q)}]:[!1,H,{}]}function Uu(i,r){return o=>{i&&i(o),o.defaultPrevented||r(o)}}function i2({page:i,...r}){let{router:o}=r0(),c=M.useMemo(()=>Id(o.routes,i,o.basename),[o.routes,i,o.basename]);return c?M.createElement(c2,{page:i,matches:c,...r}):null}function f2(i){let{manifest:r,routeModules:o}=o0(),[c,d]=M.useState([]);return M.useEffect(()=>{let y=!1;return Pm(i,r,o).then(A=>{y||d(A)}),()=>{y=!0}},[i,r,o]),c}function c2({page:i,matches:r,...o}){let c=El(),{manifest:d,routeModules:y}=o0(),{basename:A}=r0(),{loaderData:z,matches:g}=u2(),m=M.useMemo(()=>Jd(i,r,g,d,c,"data"),[i,r,g,d,c]),R=M.useMemo(()=>Jd(i,r,g,d,c,"assets"),[i,r,g,d,c]),L=M.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let C=new Set,Z=!1;if(r.forEach(B=>{var X;let F=d.routes[B.route.id];!F||!F.hasLoader||(!m.some(ft=>ft.route.id===B.route.id)&&B.route.id in z&&((X=y[B.route.id])!=null&&X.shouldRevalidate)||F.hasClientLoader?Z=!0:C.add(B.route.id))}),C.size===0)return[];let G=a2(i,A);return Z&&C.size>0&&G.searchParams.set("_routes",r.filter(B=>C.has(B.route.id)).map(B=>B.route.id).join(",")),[G.pathname+G.search]},[A,z,c,d,m,r,i,y]),H=M.useMemo(()=>Im(R,d),[R,d]),q=f2(R);return M.createElement(M.Fragment,null,L.map(C=>M.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...o})),H.map(C=>M.createElement("link",{key:C,rel:"modulepreload",href:C,...o})),q.map(({key:C,link:Z})=>M.createElement("link",{key:C,...Z})))}function s2(...i){return r=>{i.forEach(o=>{typeof o=="function"?o(r):o!=null&&(o.current=r)})}}var d0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{d0&&(window.__reactRouterVersion="7.5.0")}catch{}function r2({basename:i,children:r,window:o}){let c=M.useRef();c.current==null&&(c.current=k1({window:o,v5Compat:!0}));let d=c.current,[y,A]=M.useState({action:d.action,location:d.location}),z=M.useCallback(g=>{M.startTransition(()=>A(g))},[A]);return M.useLayoutEffect(()=>d.listen(z),[d,z]),M.createElement(wm,{basename:i,children:r,location:y.location,navigationType:y.action,navigator:d})}var h0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xl=M.forwardRef(function({onClick:r,discover:o="render",prefetch:c="none",relative:d,reloadDocument:y,replace:A,state:z,target:g,to:m,preventScrollReset:R,viewTransition:L,...H},q){let{basename:C}=M.useContext(ze),Z=typeof m=="string"&&h0.test(m),G,B=!1;if(typeof m=="string"&&Z&&(G=m,d0))try{let pt=new URL(window.location.href),Jt=m.startsWith("//")?new URL(pt.protocol+m):new URL(m),re=ke(Jt.pathname,C);Jt.origin===pt.origin&&re!=null?m=re+Jt.search+Jt.hash:B=!0}catch{Re(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let F=Em(m,{relative:d}),[X,ft,I]=n2(c,H),_t=m2(m,{replace:A,state:z,target:g,preventScrollReset:R,relative:d,viewTransition:L});function At(pt){r&&r(pt),pt.defaultPrevented||_t(pt)}let Mt=M.createElement("a",{...H,...I,href:G||F,onClick:B||y?r:At,ref:s2(q,ft),target:g,"data-discover":!Z&&o==="render"?"true":void 0});return X&&!Z?M.createElement(M.Fragment,null,Mt,M.createElement(i2,{page:F})):Mt});Xl.displayName="Link";var o2=M.forwardRef(function({"aria-current":r="page",caseSensitive:o=!1,className:c="",end:d=!1,style:y,to:A,viewTransition:z,children:g,...m},R){let L=Cu(A,{relative:m.relative}),H=El(),q=M.useContext(li),{navigator:C,basename:Z}=M.useContext(ze),G=q!=null&&p2(L)&&z===!0,B=C.encodeLocation?C.encodeLocation(L).pathname:L.pathname,F=H.pathname,X=q&&q.navigation&&q.navigation.location?q.navigation.location.pathname:null;o||(F=F.toLowerCase(),X=X?X.toLowerCase():null,B=B.toLowerCase()),X&&Z&&(X=ke(X,Z)||X);const ft=B!=="/"&&B.endsWith("/")?B.length-1:B.length;let I=F===B||!d&&F.startsWith(B)&&F.charAt(ft)==="/",_t=X!=null&&(X===B||!d&&X.startsWith(B)&&X.charAt(B.length)==="/"),At={isActive:I,isPending:_t,isTransitioning:G},Mt=I?r:void 0,pt;typeof c=="function"?pt=c(At):pt=[c,I?"active":null,_t?"pending":null,G?"transitioning":null].filter(Boolean).join(" ");let Jt=typeof y=="function"?y(At):y;return M.createElement(Xl,{...m,"aria-current":Mt,className:pt,ref:R,style:Jt,to:A,viewTransition:z},typeof g=="function"?g(At):g)});o2.displayName="NavLink";var d2=M.forwardRef(({discover:i="render",fetcherKey:r,navigate:o,reloadDocument:c,replace:d,state:y,method:A=In,action:z,onSubmit:g,relative:m,preventScrollReset:R,viewTransition:L,...H},q)=>{let C=b2(),Z=g2(z,{relative:m}),G=A.toLowerCase()==="get"?"get":"post",B=typeof z=="string"&&h0.test(z),F=X=>{if(g&&g(X),X.defaultPrevented)return;X.preventDefault();let ft=X.nativeEvent.submitter,I=(ft==null?void 0:ft.getAttribute("formmethod"))||A;C(ft||X.currentTarget,{fetcherKey:r,method:I,navigate:o,replace:d,state:y,relative:m,preventScrollReset:R,viewTransition:L})};return M.createElement("form",{ref:q,method:G,action:Z,onSubmit:c?g:F,...H,"data-discover":!B&&i==="render"?"true":void 0})});d2.displayName="Form";function h2(i){return`${i} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function m0(i){let r=M.useContext(Da);return xt(r,h2(i)),r}function m2(i,{target:r,replace:o,state:c,preventScrollReset:d,relative:y,viewTransition:A}={}){let z=i0(),g=El(),m=Cu(i,{relative:y});return M.useCallback(R=>{if(Km(R,r)){R.preventDefault();let L=o!==void 0?o:Nu(g)===Nu(m);z(i,{replace:L,state:c,preventScrollReset:d,relative:y,viewTransition:A})}},[g,z,m,o,c,r,i,d,y,A])}var y2=0,v2=()=>`__${String(++y2)}__`;function b2(){let{router:i}=m0("useSubmit"),{basename:r}=M.useContext(ze),o=Cm();return M.useCallback(async(c,d={})=>{let{action:y,method:A,encType:z,formData:g,body:m}=km(c,r);if(d.navigate===!1){let R=d.fetcherKey||v2();await i.fetch(R,o,d.action||y,{preventScrollReset:d.preventScrollReset,formData:g,body:m,formMethod:d.method||A,formEncType:d.encType||z,flushSync:d.flushSync})}else await i.navigate(d.action||y,{preventScrollReset:d.preventScrollReset,formData:g,body:m,formMethod:d.method||A,formEncType:d.encType||z,replace:d.replace,state:d.state,fromRouteId:o,flushSync:d.flushSync,viewTransition:d.viewTransition})},[i,r,o])}function g2(i,{relative:r}={}){let{basename:o}=M.useContext(ze),c=M.useContext(Ee);xt(c,"useFormAction must be used inside a RouteContext");let[d]=c.matches.slice(-1),y={...Cu(i||".",{relative:r})},A=El();if(i==null){y.search=A.search;let z=new URLSearchParams(y.search),g=z.getAll("index");if(g.some(R=>R==="")){z.delete("index"),g.filter(L=>L).forEach(L=>z.append("index",L));let R=z.toString();y.search=R?`?${R}`:""}}return(!i||i===".")&&d.route.index&&(y.search=y.search?y.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(y.pathname=y.pathname==="/"?o:$e([o,y.pathname])),Nu(y)}function p2(i,r={}){let o=M.useContext(a0);xt(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=m0("useViewTransitionState"),d=Cu(i,{relative:r.relative});if(!o.isTransitioning)return!1;let y=ke(o.currentLocation.pathname,c)||o.currentLocation.pathname,A=ke(o.nextLocation.pathname,c)||o.nextLocation.pathname;return ei(d.pathname,A)!=null||ei(d.pathname,y)!=null}new TextEncoder;const $d=i=>Symbol.iterator in i,kd=i=>"entries"in i,Fd=(i,r)=>{const o=i instanceof Map?i:new Map(i.entries()),c=r instanceof Map?r:new Map(r.entries());if(o.size!==c.size)return!1;for(const[d,y]of o)if(!Object.is(y,c.get(d)))return!1;return!0},S2=(i,r)=>{const o=i[Symbol.iterator](),c=r[Symbol.iterator]();let d=o.next(),y=c.next();for(;!d.done&&!y.done;){if(!Object.is(d.value,y.value))return!1;d=o.next(),y=c.next()}return!!d.done&&!!y.done};function E2(i,r){return Object.is(i,r)?!0:typeof i!="object"||i===null||typeof r!="object"||r===null?!1:!$d(i)||!$d(r)?Fd({entries:()=>Object.entries(i)},{entries:()=>Object.entries(r)}):kd(i)&&kd(r)?Fd(i,r):S2(i,r)}function x2(i){const r=Oc.useRef(void 0);return o=>{const c=i(o);return E2(r.current,c)?r.current:r.current=c}}const Wd=i=>{let r;const o=new Set,c=(m,R)=>{const L=typeof m=="function"?m(r):m;if(!Object.is(L,r)){const H=r;r=R??(typeof L!="object"||L===null)?L:Object.assign({},r,L),o.forEach(q=>q(r,H))}},d=()=>r,z={setState:c,getState:d,getInitialState:()=>g,subscribe:m=>(o.add(m),()=>o.delete(m))},g=r=i(c,d,z);return z},T2=i=>i?Wd(i):Wd,A2=i=>i;function R2(i,r=A2){const o=Oc.useSyncExternalStore(i.subscribe,()=>r(i.getState()),()=>r(i.getInitialState()));return Oc.useDebugValue(o),o}const Pd=i=>{const r=T2(i),o=c=>R2(r,c);return Object.assign(o,r),o},z2=i=>i?Pd(i):Pd,M2=JSON.parse('{"a4d9fa36-8ed7-4d80-a108-eac209ca01a8":{"id":"a4d9fa36-8ed7-4d80-a108-eac209ca01a8","title":"Предмет и задачи на вътрешната медицина. Раздели на вътрешните болести","files":["f001.html"],"index":0,"isFirst":true,"isLast":false},"f7fed0c0-15d9-439c-a3ef-24cec673dd44":{"id":"f7fed0c0-15d9-439c-a3ef-24cec673dd44","title":"Тумори на белия дроб","files":["f002.html"],"index":1,"isFirst":false,"isLast":false},"b20a76c0-59a1-4f0a-bb33-39c4bf437eac":{"id":"b20a76c0-59a1-4f0a-bb33-39c4bf437eac","title":"Белодробен тромбоемболизъм","files":["f003.html","f096.html"],"index":2,"isFirst":false,"isLast":false},"a2a3a830-9f1d-4dd0-ab52-c42ae66c17b3":{"id":"a2a3a830-9f1d-4dd0-ab52-c42ae66c17b3","title":"Плеврити","files":["f004.html","f097.html"],"index":3,"isFirst":false,"isLast":false},"38899f8f-2291-4923-ae59-928181c88bbd":{"id":"38899f8f-2291-4923-ae59-928181c88bbd","title":"Белодробна туберколоза-етиология, патогенеза, и клинична картина. Първична и вторична ТБК. Лечение и профилактика на туберкулоза","files":["f005.html","f098.html"],"index":4,"isFirst":false,"isLast":false},"b0460271-a4e2-4e82-a7ea-0f98689fcbb6":{"id":"b0460271-a4e2-4e82-a7ea-0f98689fcbb6","title":"Дихателна недостатъчност","files":["f006.html"],"index":5,"isFirst":false,"isLast":false},"9db34720-4756-4469-bbf0-1666d4b6c65f":{"id":"9db34720-4756-4469-bbf0-1666d4b6c65f","title":"Основни симптоми и синдроми при заболявания на ССС Физикални и специални методи на изследване на ССС","files":["f007.html","f031.html"],"index":6,"isFirst":false,"isLast":false},"c12799f8-63d2-4d76-88b9-e0fa68def5a4":{"id":"c12799f8-63d2-4d76-88b9-e0fa68def5a4","title":"Болест и здраве. Етилогия и патогенеза на болестите. Периоди на болестта","files":["f008.html"],"index":7,"isFirst":false,"isLast":false},"c200281a-d2cd-4ca6-b6d3-114db5753fc5":{"id":"c200281a-d2cd-4ca6-b6d3-114db5753fc5","title":"Болести на надбъбречните жлези: Хиперкортицизъм. Хипокортицизъм","files":["f009.html","f047.html"],"index":8,"isFirst":false,"isLast":false},"f191d184-a26f-41aa-b213-ead39c22f4c1":{"id":"f191d184-a26f-41aa-b213-ead39c22f4c1","title":"Агония. Клинична смърт. Биологична смърт","files":["f010.html"],"index":9,"isFirst":false,"isLast":false},"6b01e219-49d9-4ced-ae83-0e21a6cba53c":{"id":"6b01e219-49d9-4ced-ae83-0e21a6cba53c","title":"Физикални методи на изследване на стомашно-чревния тракт","files":["f011.html"],"index":10,"isFirst":false,"isLast":false},"bc201e49-52a3-42da-b47a-ed786576b377":{"id":"bc201e49-52a3-42da-b47a-ed786576b377","title":"Основни симптоми и синдроми при заболявания на отделителната система. Функционално изследване на ОС","files":["f012.html"],"index":11,"isFirst":false,"isLast":false},"1d71aeff-1637-493f-93ae-c7126367528c":{"id":"1d71aeff-1637-493f-93ae-c7126367528c","title":"Основни класически методи на изследване във вътрешната медицина-анамнеза. Физикални методи на изследване на болните –оглед, палпация, перкусия, аускултация. Специални методи на изследване на пациентите","files":["f013.html"],"index":12,"isFirst":false,"isLast":false},"7fcb4e5c-ef95-4fb0-a6a9-174318fb7aef":{"id":"7fcb4e5c-ef95-4fb0-a6a9-174318fb7aef","title":"Деформираща артроза ОСТЕОАРТРОЗА","files":["f014.html"],"index":13,"isFirst":false,"isLast":false},"5617f428-8057-42a4-8445-39085b5d5561":{"id":"5617f428-8057-42a4-8445-39085b5d5561","title":"Сегашно състояние-обективен статус на болния. Клинична диагноза и прогноза. Проследяване на болния-декурзус","files":["f015.html"],"index":14,"isFirst":false,"isLast":false},"501db50d-1cdf-425d-ac2e-e994b5abeba0":{"id":"501db50d-1cdf-425d-ac2e-e994b5abeba0","title":"Изследване на ДС. Основни симптоми и синдроми на заболявания на ДС. Физиклани и спциални методи на изследване","files":["f016.html"],"index":15,"isFirst":false,"isLast":false},"db96af60-ee77-4bdb-b4e3-edf93b274593":{"id":"db96af60-ee77-4bdb-b4e3-edf93b274593","title":"Остър и хроничен бронхит. Белодробен емфизем. ХОББ","files":["f017.html","f057.html"],"index":16,"isFirst":false,"isLast":false},"7fa4d0eb-0243-4cf7-8667-7cf130d92f2c":{"id":"7fa4d0eb-0243-4cf7-8667-7cf130d92f2c","title":"Пневмонии: класификация, клиника, лечение","files":["f018.html","f075.html"],"index":17,"isFirst":false,"isLast":false},"2cc4aa8c-978f-4d61-aa3c-9199a955682a":{"id":"2cc4aa8c-978f-4d61-aa3c-9199a955682a","title":"Бронхиектазии. Белодробен абцес","files":["f019.html"],"index":18,"isFirst":false,"isLast":false},"20b8b133-cb95-4855-a19b-50a0d2c64f21":{"id":"20b8b133-cb95-4855-a19b-50a0d2c64f21","title":"Хипертонична болест- рискови фактори; патогенеза; клиника, лечение","files":["f020.html","f035.html"],"index":19,"isFirst":false,"isLast":false},"ae779ecf-2f35-445e-91b1-a418ac7cf9cb":{"id":"ae779ecf-2f35-445e-91b1-a418ac7cf9cb","title":"Изследване на стомашно-чревния тракт. Анемнеза. Основни симптоми и синдроми при заболявания на стомашно-чревния тракт","files":["f021.html","f054.html"],"index":20,"isFirst":false,"isLast":false},"e4d7fb75-96f3-421d-9c1d-cd05bccc729b":{"id":"e4d7fb75-96f3-421d-9c1d-cd05bccc729b","title":"Пиелонефрити","files":["f022.html","f074.html"],"index":21,"isFirst":false,"isLast":false},"969617b2-ee8b-4d95-a24a-911adf4a7d9f":{"id":"969617b2-ee8b-4d95-a24a-911adf4a7d9f","title":"Хемолитични анемии вследствие на вътре и извънеритроцитни фактори, вродени и придобити","files":["f023.html","f084.html"],"index":22,"isFirst":false,"isLast":false},"61f037df-1000-402f-a0f5-ffcbde8bb5c7":{"id":"61f037df-1000-402f-a0f5-ffcbde8bb5c7","title":"Хеморагични диатези – хемофилия, есенциална тромбоцитопения, капиляротоксикоза","files":["f024.html","f091.html"],"index":23,"isFirst":false,"isLast":false},"c5053c28-67fc-45a3-8d0a-c8a90c27867d":{"id":"c5053c28-67fc-45a3-8d0a-c8a90c27867d","title":"Бластна левкоза. Хронична миелолевкоза","files":["f025.html","f087.html"],"index":24,"isFirst":false,"isLast":false},"a5fb0e0c-ad77-4a1f-ab08-2978179243e3":{"id":"a5fb0e0c-ad77-4a1f-ab08-2978179243e3","title":"Нехочкинови и хочкинови лимфоми","files":["f026.html","f089.html"],"index":25,"isFirst":false,"isLast":false},"c9bc30ff-a149-43db-b442-a7848b49d4bc":{"id":"c9bc30ff-a149-43db-b442-a7848b49d4bc","title":"Остри екзогенни интоксикации. Общи принципи и правила в лечението на острите екзогенни отравяния. Поведение на медицинската сестра и грижи за болния с остро отравяне","files":["f027.html","f093.html"],"index":26,"isFirst":false,"isLast":false},"b58d8623-cdcf-4428-85fb-7bfe819341b0":{"id":"b58d8623-cdcf-4428-85fb-7bfe819341b0","title":"Алергия. Алергични заболявания. Анафилактичен шок. Поведение на медицинската сестра при спешни алергични състояния","files":["f028.html","f094.html"],"index":27,"isFirst":false,"isLast":false},"6e12b33e-dead-4584-be58-cd11f3f6f787":{"id":"6e12b33e-dead-4584-be58-cd11f3f6f787","title":"Основни класически методи на изследване във вътрешната медицина-анамнеза. Физикални методи за изледване на болните-оглед, палпация, перкусия, аускултация. Сегашно състояние-обективен статус на болния. Клинична диагноза и прогноза. Проследяване на болния-Декурзус","files":["f029.html"],"index":28,"isFirst":false,"isLast":false},"b1264871-a4f9-4fe5-9ea2-b64cb586025b":{"id":"b1264871-a4f9-4fe5-9ea2-b64cb586025b","title":"Дихателна недостатъчност- остра и хронична. Етиология, степени, клиника","files":["f030.html"],"index":29,"isFirst":false,"isLast":false},"bae8e355-9716-42cc-88db-59e3bb85cc30":{"id":"bae8e355-9716-42cc-88db-59e3bb85cc30","title":"Ревматизъм","files":["f032.html","f034.html"],"index":30,"isFirst":false,"isLast":false},"2ef0265d-2b6a-4683-9ae7-72e2c22e23c6":{"id":"2ef0265d-2b6a-4683-9ae7-72e2c22e23c6","title":"Ендокардити, перикардити","files":["f033.html","f039.html"],"index":31,"isFirst":false,"isLast":false},"faa3cf05-8c89-4407-bfd2-00145aed9ecd":{"id":"faa3cf05-8c89-4407-bfd2-00145aed9ecd","title":"Остра периферна сърдечно-съдова недостатъчност. Кардиологичен шок","files":["f036.html"],"index":32,"isFirst":false,"isLast":false},"f04a41b6-e204-4964-8ccd-736d6cdd783a":{"id":"f04a41b6-e204-4964-8ccd-736d6cdd783a","title":"Лечение на СН и поведение на м. с","files":["f037.html"],"index":33,"isFirst":false,"isLast":false},"9c799e65-1b44-4665-8ec8-f3c21c1e9af0":{"id":"9c799e65-1b44-4665-8ec8-f3c21c1e9af0","title":"Ритъмни нарушения на сърдечната дейност. Проводни нарушения на сърдечната дейност","files":["f038.html","f044.html"],"index":34,"isFirst":false,"isLast":false},"82a3b90c-5f00-43aa-9331-2a2d98570189":{"id":"82a3b90c-5f00-43aa-9331-2a2d98570189","title":"ИБС: етиология, рискови фактори, патофизиология. Стенокардия","files":["f040.html","f045.html"],"index":35,"isFirst":false,"isLast":false},"30acab20-39b9-4c0e-a4fc-e70c09777f2c":{"id":"30acab20-39b9-4c0e-a4fc-e70c09777f2c","title":"Изследване на ДС. Основни симптоми и синдроми при заболявания на ДС. Физикални и специаални методи на изследване на ДС","files":["f041.html"],"index":36,"isFirst":false,"isLast":false},"16f88ceb-5718-4e64-badf-57125972ea03":{"id":"16f88ceb-5718-4e64-badf-57125972ea03","title":"ИБС: етиология, рискови фактори, патофизиология. Инфаркт на миокарда","files":["f042.html","f046.html"],"index":37,"isFirst":false,"isLast":false},"7f1b60f2-6eef-4974-aa3c-5e9fd9b965c7":{"id":"7f1b60f2-6eef-4974-aa3c-5e9fd9b965c7","title":"Болести на хипофизата- Акромегалия; Безвкусен диабет","files":["f043.html","f048.html"],"index":38,"isFirst":false,"isLast":false},"af8e5f62-f7ed-4b8d-9c82-adf5d050d401":{"id":"af8e5f62-f7ed-4b8d-9c82-adf5d050d401","title":"Захарен диабет-етиология, патогенеза, класификация, клиника. Диабетна кетоацидоза и хипокликемична кома. Поведение на МС при диабетно болен в кома","files":["f049.html"],"index":39,"isFirst":false,"isLast":false},"690b6497-c240-47d1-ba48-1a608f7e9d50":{"id":"690b6497-c240-47d1-ba48-1a608f7e9d50","title":"Болести на щитовидната жлеза: Тиреотоксикоза. Микседем. Ендемична гуша","files":["f050.html"],"index":40,"isFirst":false,"isLast":false},"9b6d0e9c-05cb-41ea-9d15-35f1b394817c":{"id":"9b6d0e9c-05cb-41ea-9d15-35f1b394817c","title":"Захарен диабет – късни усложнения. Захарен диабет- диета и медикаментозно лечение","files":["f051.html","f056.html"],"index":41,"isFirst":false,"isLast":false},"b9f5b23e-a110-4dc5-8b5c-e2b8bf2b3b59":{"id":"b9f5b23e-a110-4dc5-8b5c-e2b8bf2b3b59","title":"Затлъстяване. Подагра","files":["f052.html","f053.html"],"index":42,"isFirst":false,"isLast":false},"6a015a8a-725f-404e-a622-0c1ebba568e7":{"id":"6a015a8a-725f-404e-a622-0c1ebba568e7","title":"Физикални и специални методи на изследване на стомашно-чревния тракт","files":["f055.html"],"index":43,"isFirst":false,"isLast":false},"0fc6a512-3b04-4b79-bef7-c658d5bd01cb":{"id":"0fc6a512-3b04-4b79-bef7-c658d5bd01cb","title":"Гастрити. ГЕРБ","files":["f058.html","f061.html"],"index":44,"isFirst":false,"isLast":false},"f331d024-1846-44ae-860e-9dfc8522fafc":{"id":"f331d024-1846-44ae-860e-9dfc8522fafc","title":"Язвена болест. Рак на стомаха","files":["f059.html","f063.html"],"index":45,"isFirst":false,"isLast":false},"85f1a01e-3a5d-44da-9021-7460152cd5d1":{"id":"85f1a01e-3a5d-44da-9021-7460152cd5d1","title":"Ентерити и колити. Рак на дебелото черво","files":["f060.html","f065.html"],"index":46,"isFirst":false,"isLast":false},"c6524b3f-9cd6-4d2e-96ea-63120f2d8f7b":{"id":"c6524b3f-9cd6-4d2e-96ea-63120f2d8f7b","title":"Основни симптоми и синдроми при заболяване на черния дроб и жлъчните пътища. Жълтеница, портална хипертония, асцит. Анамнеза, физикални и специални методи за изследване на черния дроб и жлъчните пътища","files":["f062.html"],"index":47,"isFirst":false,"isLast":false},"fafe1f1a-71fc-4756-8aa7-38eeadb156a7":{"id":"fafe1f1a-71fc-4756-8aa7-38eeadb156a7","title":"Хронични хепатити. Чернодробна цироза","files":["f064.html","f071.html"],"index":48,"isFirst":false,"isLast":false},"be416a10-e96b-4a98-b413-47dce446c9ac":{"id":"be416a10-e96b-4a98-b413-47dce446c9ac","title":"Холелитиаза. Холецистити","files":["f066.html","f073.html"],"index":49,"isFirst":false,"isLast":false},"4788afb8-c112-42d3-9bae-40362556fa2b":{"id":"4788afb8-c112-42d3-9bae-40362556fa2b","title":"Основни симптоми и синдроми при заболяване на черния дроб и жлъчните пътища. Анамнеза, физикални и специални методи за изледване на черния дроб и жлъчните пътища","files":["f067.html","f068.html"],"index":50,"isFirst":false,"isLast":false},"8995a8df-963f-4459-bb8e-21912a9d0023":{"id":"8995a8df-963f-4459-bb8e-21912a9d0023","title":"Остър и хроничен гломерулонефрит","files":["f069.html","f070.html"],"index":51,"isFirst":false,"isLast":false},"9678afb6-4173-40f2-bcea-026a7b8307b9":{"id":"9678afb6-4173-40f2-bcea-026a7b8307b9","title":"Нефролитиаза","files":["f072.html","f077.html"],"index":52,"isFirst":false,"isLast":false},"c3c7ce4c-c9a0-449f-9ad2-5ce92ce203dd":{"id":"c3c7ce4c-c9a0-449f-9ad2-5ce92ce203dd","title":"Остра бъбречна и хронична бъбречна недостатъчност","files":["f076.html"],"index":53,"isFirst":false,"isLast":false},"281dc9d6-8971-42ff-a6b9-8901cc19e845":{"id":"281dc9d6-8971-42ff-a6b9-8901cc19e845","title":"Балканска ендемична нефропатия. Бъбречна поликистозна болест. Бъбречна туберкулоза","files":["f078.html","f082.html"],"index":54,"isFirst":false,"isLast":false},"d5183ba3-7de8-4676-ac25-81ec2f3915da":{"id":"d5183ba3-7de8-4676-ac25-81ec2f3915da","title":"Ревмтоиден артрит","files":["f079.html","f085.html"],"index":55,"isFirst":false,"isLast":false},"356b7311-aae7-4303-91d2-e0817bc462dd":{"id":"356b7311-aae7-4303-91d2-e0817bc462dd","title":"Деформираща артроза","files":["f080.html","f081.html"],"index":56,"isFirst":false,"isLast":false},"fb12f399-7a8d-47ba-8460-8b9291a16e53":{"id":"fb12f399-7a8d-47ba-8460-8b9291a16e53","title":"Желязодефицитни анемии","files":["f083.html","f088.html"],"index":57,"isFirst":false,"isLast":false},"5a493bc7-e45e-46f8-9fb8-722ea9636750":{"id":"5a493bc7-e45e-46f8-9fb8-722ea9636750","title":"Витамин В 12 – дефицитни анемии","files":["f086.html","f090.html"],"index":58,"isFirst":false,"isLast":false},"bc84aab9-dd28-4166-939e-b288cd84cf3d":{"id":"bc84aab9-dd28-4166-939e-b288cd84cf3d","title":"Бронхоектазии. Белодробен абцес","files":["f092.html"],"index":59,"isFirst":false,"isLast":false},"6d88be6a-0f4f-43ec-82cb-71b57fdfa785":{"id":"6d88be6a-0f4f-43ec-82cb-71b57fdfa785","title":"Tумори на белия дроб","files":["f095.html"],"index":60,"isFirst":false,"isLast":true}}'),O2=["a4d9fa36-8ed7-4d80-a108-eac209ca01a8","f7fed0c0-15d9-439c-a3ef-24cec673dd44","b20a76c0-59a1-4f0a-bb33-39c4bf437eac","a2a3a830-9f1d-4dd0-ab52-c42ae66c17b3","38899f8f-2291-4923-ae59-928181c88bbd","b0460271-a4e2-4e82-a7ea-0f98689fcbb6","9db34720-4756-4469-bbf0-1666d4b6c65f","c12799f8-63d2-4d76-88b9-e0fa68def5a4","c200281a-d2cd-4ca6-b6d3-114db5753fc5","f191d184-a26f-41aa-b213-ead39c22f4c1","6b01e219-49d9-4ced-ae83-0e21a6cba53c","bc201e49-52a3-42da-b47a-ed786576b377","1d71aeff-1637-493f-93ae-c7126367528c","7fcb4e5c-ef95-4fb0-a6a9-174318fb7aef","5617f428-8057-42a4-8445-39085b5d5561","501db50d-1cdf-425d-ac2e-e994b5abeba0","db96af60-ee77-4bdb-b4e3-edf93b274593","7fa4d0eb-0243-4cf7-8667-7cf130d92f2c","2cc4aa8c-978f-4d61-aa3c-9199a955682a","20b8b133-cb95-4855-a19b-50a0d2c64f21","ae779ecf-2f35-445e-91b1-a418ac7cf9cb","e4d7fb75-96f3-421d-9c1d-cd05bccc729b","969617b2-ee8b-4d95-a24a-911adf4a7d9f","61f037df-1000-402f-a0f5-ffcbde8bb5c7","c5053c28-67fc-45a3-8d0a-c8a90c27867d","a5fb0e0c-ad77-4a1f-ab08-2978179243e3","c9bc30ff-a149-43db-b442-a7848b49d4bc","b58d8623-cdcf-4428-85fb-7bfe819341b0","6e12b33e-dead-4584-be58-cd11f3f6f787","b1264871-a4f9-4fe5-9ea2-b64cb586025b","bae8e355-9716-42cc-88db-59e3bb85cc30","2ef0265d-2b6a-4683-9ae7-72e2c22e23c6","faa3cf05-8c89-4407-bfd2-00145aed9ecd","f04a41b6-e204-4964-8ccd-736d6cdd783a","9c799e65-1b44-4665-8ec8-f3c21c1e9af0","82a3b90c-5f00-43aa-9331-2a2d98570189","30acab20-39b9-4c0e-a4fc-e70c09777f2c","16f88ceb-5718-4e64-badf-57125972ea03","7f1b60f2-6eef-4974-aa3c-5e9fd9b965c7","af8e5f62-f7ed-4b8d-9c82-adf5d050d401","690b6497-c240-47d1-ba48-1a608f7e9d50","9b6d0e9c-05cb-41ea-9d15-35f1b394817c","b9f5b23e-a110-4dc5-8b5c-e2b8bf2b3b59","6a015a8a-725f-404e-a622-0c1ebba568e7","0fc6a512-3b04-4b79-bef7-c658d5bd01cb","f331d024-1846-44ae-860e-9dfc8522fafc","85f1a01e-3a5d-44da-9021-7460152cd5d1","c6524b3f-9cd6-4d2e-96ea-63120f2d8f7b","fafe1f1a-71fc-4756-8aa7-38eeadb156a7","be416a10-e96b-4a98-b413-47dce446c9ac","4788afb8-c112-42d3-9bae-40362556fa2b","8995a8df-963f-4459-bb8e-21912a9d0023","9678afb6-4173-40f2-bcea-026a7b8307b9","c3c7ce4c-c9a0-449f-9ad2-5ce92ce203dd","281dc9d6-8971-42ff-a6b9-8901cc19e845","d5183ba3-7de8-4676-ac25-81ec2f3915da","356b7311-aae7-4303-91d2-e0817bc462dd","fb12f399-7a8d-47ba-8460-8b9291a16e53","5a493bc7-e45e-46f8-9fb8-722ea9636750","bc84aab9-dd28-4166-939e-b288cd84cf3d","6d88be6a-0f4f-43ec-82cb-71b57fdfa785"],D2={byId:M2,allIds:O2},Se=z2((i,r)=>({topics:D2,topicVersions:{},getTopicAtIndex:o=>{const c=r().topics.allIds[o];return c?r().topics.byId[c]:null},selectTopicVersion:(o,c)=>i({topicVersions:{...r().topicVersions,[o]:c}}),selectedTopic:null,selectTopic:o=>{const c=r().topics.byId[o];c&&i({selectedTopic:c})},config:{displayTitle:!0,narrowMode:!0},changeConfig:o=>i({config:{...r().config,...o}})}));function _2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("path",{d:"M0 0h24v24H0V0z",fill:"none"}),j.jsx("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"})]})}function U2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("path",{d:"M0 0h24v24H0V0z",fill:"none"}),j.jsx("path",{d:"M5 4v3h5.5v12h3V7H19V4H5z"})]})}function N2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("g",{children:j.jsx("rect",{fill:"none",height:"24",width:"24"})}),j.jsx("g",{children:j.jsx("path",{d:"M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M4,18V6h2v12H4z M8,18V6h8v12H8z M20,18h-2V6h2V18z"})})]})}function H2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("g",{children:j.jsx("rect",{fill:"none",height:"24",width:"24"})}),j.jsxs("g",{children:[j.jsx("g",{}),j.jsxs("g",{children:[j.jsx("path",{d:"M21,5c-1.11-0.35-2.33-0.5-3.5-0.5c-1.95,0-4.05,0.4-5.5,1.5c-1.45-1.1-3.55-1.5-5.5-1.5S2.45,4.9,1,6v14.65 c0,0.25,0.25,0.5,0.5,0.5c0.1,0,0.15-0.05,0.25-0.05C3.1,20.45,5.05,20,6.5,20c1.95,0,4.05,0.4,5.5,1.5c1.35-0.85,3.8-1.5,5.5-1.5 c1.65,0,3.35,0.3,4.75,1.05c0.1,0.05,0.15,0.05,0.25,0.05c0.25,0,0.5-0.25,0.5-0.5V6C22.4,5.55,21.75,5.25,21,5z M21,18.5 c-1.1-0.35-2.3-0.5-3.5-0.5c-1.7,0-4.15,0.65-5.5,1.5V8c1.35-0.85,3.8-1.5,5.5-1.5c1.2,0,2.4,0.15,3.5,0.5V18.5z"}),j.jsxs("g",{children:[j.jsx("path",{d:"M17.5,10.5c0.88,0,1.73,0.09,2.5,0.26V9.24C19.21,9.09,18.36,9,17.5,9c-1.7,0-3.24,0.29-4.5,0.83v1.66 C14.13,10.85,15.7,10.5,17.5,10.5z"}),j.jsx("path",{d:"M13,12.49v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26V11.9c-0.79-0.15-1.64-0.24-2.5-0.24 C15.8,11.66,14.26,11.96,13,12.49z"}),j.jsx("path",{d:"M17.5,14.33c-1.7,0-3.24,0.29-4.5,0.83v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26v-1.52 C19.21,14.41,18.36,14.33,17.5,14.33z"})]})]})]})]})}function C2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("path",{d:"M0 0h24v24H0V0z",fill:"none"}),j.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"})]})}function L2({className:i}){return j.jsxs("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"inherit",children:[j.jsx("path",{d:"M0 0h24v24H0V0z",fill:"none"}),j.jsx("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"})]})}J1.createRoot(document.getElementById("root")).render(j.jsx(M.StrictMode,{children:j.jsx(r2,{children:j.jsx(Gm,{children:j.jsxs(Pn,{path:"/",element:j.jsx(j2,{}),children:[j.jsx(Pn,{index:!0,element:j.jsx(B2,{})}),j.jsx(Pn,{path:":topicId",element:j.jsx(q2,{})})]})})})}));function j2(){const i=f0(),r=Se(c=>i.topicId&&c.topics.byId[i.topicId]),o=Se(c=>c.config);return j.jsxs("div",{className:"max-w-7xl mx-auto h-full relative flex flex-col",children:[o.displayTitle&&j.jsx("div",{className:"w-full px-4 py-2 font-medium text-large text-white bg-blue-600",children:j.jsx("span",{children:r?`${r.index+1}: ${r.title}`:"Конспект за Държавен Изпит"})}),j.jsx(Ym,{})]})}function B2(){const i=M.useRef({}),r=Se(x2(d=>d.topics.allIds.map(y=>d.topics.byId[y]))),o=Se(d=>d.selectedTopic),c=Se(d=>d.selectTopic);return M.useLayoutEffect(()=>{var d;o&&o.id!==null&&((d=i.current)==null||d[Math.max(o.index-3,0)].scrollIntoView())},[o]),j.jsx(j.Fragment,{children:j.jsxs("div",{className:"flex-1 overflow-y-scroll",children:[r.map((d,y)=>j.jsxs(Xl,{ref:A=>{i.current[y]=A},to:`/${d.id}`,onClick:()=>c(d.id),className:`flex px-2 py-1 rounded-md cursor-pointer border-l-4 ${d.id===(o==null?void 0:o.id)?"bg-blue-100 border-blue-500":"border-transparent hover:bg-gray-100"}`,children:[j.jsx("div",{className:`w-6 flex-shrink-0 flex font-medium justify-end ${d.id===(o==null?void 0:o.id)?"text-blue-600":"text-blue-800"}`,children:y+1}),j.jsx("span",{className:"ml-2",children:j.jsx("span",{className:`leading-5 ${d.id===(o==null?void 0:o.id)?"font-medium":"font-normal"}`,children:d.title})})]},d.id)),o!==null&&j.jsx("div",{className:"sticky bottom-0 p-4 w-full flex flex-col",children:j.jsxs("div",{className:"w-full flex justify-between items-center gap-2",children:[j.jsxs(Xl,{to:`/${o.id}`,className:"w-full p-2 bg-blue-600 hover:bg-blue-700 cursor-pointer truncate rounded-md text-sm text-white text-center shadow-md transition-colors",children:[j.jsx("span",{children:"Продължи четенето:"}),j.jsx("br",{}),j.jsx("span",{className:"font-medium",children:o.title})]}),j.jsx("button",{className:"px-3 py-3 bg-teal-500 hover:bg-teal-300 cursor-pointer rounded-full flex items-center justify-center shadow-md transition-colors",onClick:()=>{var d;(d=i.current)==null||d[Math.max(o.index-3,0)].scrollIntoView({behavior:"smooth"})},children:j.jsx(_2,{className:"h-5 w-5"})})]})})]})})}function q2(){const i=f0(),r=Se(d=>d.topics.byId),o=Se(d=>d.selectTopic),c=r[i.topicId];return c?(o(c.id),j.jsx(Y2,{topic:c})):j.jsx(qm,{to:"/",replace:!0})}function Y2({topic:i}){console.log("render!");const r=Se(g=>g.config),o=Se(g=>g.changeConfig),c=Se(g=>g.topicVersions[i.id]??0),d=Se(g=>g.selectTopicVersion),y=Se(g=>g.getTopicAtIndex),A=y(i.index-1),z=y(i.index+1);return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:"flex-1",children:[j.jsx(w2,{file:i.files[c],compact:r.narrowMode}),j.jsxs("div",{className:"absolute bottom-10 flex justify-between px-4 py-2 w-full z-999",children:[j.jsxs("div",{className:"flex space-x-2",children:[j.jsx(Xl,{to:"/",className:"cursor-pointer p-2 rounded-full bg-blue-600 text-white",children:j.jsx(H2,{className:"fill-gray-100"})}),j.jsx("button",{className:`cursor-pointer p-2 rounded-full text-white border ${r.displayTitle?"bg-blue-100 border-blue-400":"bg-gray-100 border-gray-400"}`,onClick:()=>o({displayTitle:!r.displayTitle}),children:j.jsx(U2,{className:"fill-gray-600"})}),window.innerWidth>576&&j.jsx("button",{className:`cursor-pointer p-2 rounded-full text-white border ${r.narrowMode?"bg-blue-100 border-blue-400":"bg-gray-100 border-gray-400"}`,onClick:()=>o({narrowMode:!r.narrowMode}),children:j.jsx(N2,{className:"fill-gray-600"})})]}),i.files.length>1&&j.jsx("div",{className:"flex space-x-1",children:i.files.map((g,m)=>j.jsxs("button",{className:`flex-1 cursor-pointer px-2 py-1 rounded-md text-xs whitespace-nowrap ${c===m?"bg-blue-100 text-blue-800 font-medium":"bg-gray-100 hover:bg-gray-200"}`,onClick:()=>d(i.id,m),children:["Версия ",m+1]},g))})]})]}),j.jsx("div",{className:"w-full flex flex-col space-y-2",children:j.jsxs("div",{className:"flex bg-gray-100 border-t border-blue-200 text-center",children:[i.isFirst?j.jsx("div",{className:"flex-1 border-r border-blue-200"}):j.jsxs(Xl,{to:`/${A.id}`,className:"border-r border-blue-200 w-1/2 flex-1 px-4 py-2 hover:bg-blue-200 cursor-pointer flex align-center justify-start",children:[j.jsx(C2,{}),j.jsxs("span",{className:"ml-2 truncate w-full ",children:[A.index+1,": ",A.title]})]}),i.isLast?j.jsx("div",{className:"flex-1"}):j.jsxs(Xl,{to:`/${z.id}`,className:"flex-1 px-4 py-2 hover:bg-blue-200 w-1/2 cursor-pointer flex align-center justify-end",children:[j.jsxs("span",{className:"mr-2 w-full truncate",children:[z.index+1,": ",z.title]}),j.jsx(L2,{})]})]})})]})}function w2({file:i,compact:r}){const[o,c]=M.useState(null),[d,y]=M.useState(!0),[A,z]=M.useState(null);return M.useEffect(()=>{(async()=>{try{y(!0);const m=await fetch(`/files_html/${i}`);if(!m.ok)throw new Error(`Failed to load file: ${m.status}`);let R=await m.text();R=`
            <!DOCTYPE html>
            <html>
            <head>
              <meta charset="UTF-8">
              <meta name="viewport" content="width=device-width, initial-scale=1.0">
              <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap">
              <style>
                body {
                  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                  line-height: 1.5;
                  color: #333;
                  -webkit-font-smoothing: antialiased;
                  -moz-osx-font-smoothing: grayscale;
                  padding-bottom: 40px;
                }
                pre, code {
                  font-family: 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
                }
              </style>
            </head>
            <body>
              ${R}
            </body>
            </html>
          `,c(R),z(null)}catch(m){console.error("Error loading file:",m),z(m.message)}finally{y(!1)}})()},[i]),A?j.jsxs("div",{className:"text-red-500 p-4 border border-red-300 rounded",children:["Error: ",A]}):d?j.jsx(G2,{}):j.jsx("div",{className:`w-full h-full overflow-hidden ${r?"max-w-xl mx-auto":""}`,children:j.jsx("iframe",{srcDoc:o,title:`File: ${i}`,className:"w-full h-full border-0",allow:"fullscreen"},i)})}const G2=({delayMs:i=2e3,className:r="p-4 flex justify-center items-center h-40",text:o="Loading..."})=>{const[c,d]=M.useState(!1);return M.useEffect(()=>{const y=setTimeout(()=>{d(!0)},i);return()=>clearTimeout(y)},[]),c?j.jsx("div",{className:r,children:j.jsx("div",{className:"animate-pulse",children:o})}):null};
