function _v(i,c){for(var r=0;r<c.length;r++){const s=c[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in i)){const d=Object.getOwnPropertyDescriptor(s,o);d&&Object.defineProperty(i,o,d.get?d:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&s(m)}).observe(document,{childList:!0,subtree:!0});function r(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function s(o){if(o.ep)return;o.ep=!0;const d=r(o);fetch(o.href,d)}})();function zv(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var er={exports:{}},Qa={};/**
 * @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 Uh;function Cv(){if(Uh)return Qa;Uh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function r(s,o,d){var m=null;if(d!==void 0&&(m=""+d),o.key!==void 0&&(m=""+o.key),"key"in o){d={};for(var v in o)v!=="key"&&(d[v]=o[v])}else d=o;return o=d.ref,{$$typeof:i,type:s,key:m,ref:o!==void 0?o:null,props:d}}return Qa.Fragment=c,Qa.jsx=r,Qa.jsxs=r,Qa}var Mh;function jv(){return Mh||(Mh=1,er.exports=Cv()),er.exports}var T=jv(),lr={exports:{}},lt={};/**
 * @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 Dh;function Uv(){if(Dh)return lt;Dh=1;var i=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),Y=Symbol.iterator;function X(S){return S===null||typeof S!="object"?null:(S=Y&&S[Y]||S["@@iterator"],typeof S=="function"?S:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,U={};function Z(S,H,Q){this.props=S,this.context=H,this.refs=U,this.updater=Q||x}Z.prototype.isReactComponent={},Z.prototype.setState=function(S,H){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,H,"setState")},Z.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function F(){}F.prototype=Z.prototype;function w(S,H,Q){this.props=S,this.context=H,this.refs=U,this.updater=Q||x}var J=w.prototype=new F;J.constructor=w,D(J,Z.prototype),J.isPureReactComponent=!0;var st=Array.isArray;function Ot(){}var P={H:null,A:null,T:null,S:null},_t=Object.prototype.hasOwnProperty;function Vt(S,H,Q){var V=Q.ref;return{$$typeof:i,type:S,key:H,ref:V!==void 0?V:null,props:Q}}function de(S,H){return Vt(S.type,H,S.props)}function It(S){return typeof S=="object"&&S!==null&&S.$$typeof===i}function Yt(S){var H={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(Q){return H[Q]})}var he=/\/+/g;function Zt(S,H){return typeof S=="object"&&S!==null&&S.key!=null?Yt(""+S.key):H.toString(36)}function le(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(Ot,Ot):(S.status="pending",S.then(function(H){S.status==="pending"&&(S.status="fulfilled",S.value=H)},function(H){S.status==="pending"&&(S.status="rejected",S.reason=H)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function j(S,H,Q,V,et){var ut=typeof S;(ut==="undefined"||ut==="boolean")&&(S=null);var vt=!1;if(S===null)vt=!0;else switch(ut){case"bigint":case"string":case"number":vt=!0;break;case"object":switch(S.$$typeof){case i:case c:vt=!0;break;case E:return vt=S._init,j(vt(S._payload),H,Q,V,et)}}if(vt)return et=et(S),vt=V===""?"."+Zt(S,0):V,st(et)?(Q="",vt!=null&&(Q=vt.replace(he,"$&/")+"/"),j(et,H,Q,"",function(Fn){return Fn})):et!=null&&(It(et)&&(et=de(et,Q+(et.key==null||S&&S.key===et.key?"":(""+et.key).replace(he,"$&/")+"/")+vt)),H.push(et)),1;vt=0;var te=V===""?".":V+":";if(st(S))for(var Ut=0;Ut<S.length;Ut++)V=S[Ut],ut=te+Zt(V,Ut),vt+=j(V,H,Q,ut,et);else if(Ut=X(S),typeof Ut=="function")for(S=Ut.call(S),Ut=0;!(V=S.next()).done;)V=V.value,ut=te+Zt(V,Ut++),vt+=j(V,H,Q,ut,et);else if(ut==="object"){if(typeof S.then=="function")return j(le(S),H,Q,V,et);throw H=String(S),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return vt}function G(S,H,Q){if(S==null)return S;var V=[],et=0;return j(S,V,"","",function(ut){return H.call(Q,ut,et++)}),V}function W(S){if(S._status===-1){var H=S._result;H=H(),H.then(function(Q){(S._status===0||S._status===-1)&&(S._status=1,S._result=Q)},function(Q){(S._status===0||S._status===-1)&&(S._status=2,S._result=Q)}),S._status===-1&&(S._status=0,S._result=H)}if(S._status===1)return S._result.default;throw S._result}var mt=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},pt={map:G,forEach:function(S,H,Q){G(S,function(){H.apply(this,arguments)},Q)},count:function(S){var H=0;return G(S,function(){H++}),H},toArray:function(S){return G(S,function(H){return H})||[]},only:function(S){if(!It(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return lt.Activity=A,lt.Children=pt,lt.Component=Z,lt.Fragment=r,lt.Profiler=o,lt.PureComponent=w,lt.StrictMode=s,lt.Suspense=p,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,lt.__COMPILER_RUNTIME={__proto__:null,c:function(S){return P.H.useMemoCache(S)}},lt.cache=function(S){return function(){return S.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(S,H,Q){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var V=D({},S.props),et=S.key;if(H!=null)for(ut in H.key!==void 0&&(et=""+H.key),H)!_t.call(H,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&H.ref===void 0||(V[ut]=H[ut]);var ut=arguments.length-2;if(ut===1)V.children=Q;else if(1<ut){for(var vt=Array(ut),te=0;te<ut;te++)vt[te]=arguments[te+2];V.children=vt}return Vt(S.type,et,V)},lt.createContext=function(S){return S={$$typeof:m,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:d,_context:S},S},lt.createElement=function(S,H,Q){var V,et={},ut=null;if(H!=null)for(V in H.key!==void 0&&(ut=""+H.key),H)_t.call(H,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(et[V]=H[V]);var vt=arguments.length-2;if(vt===1)et.children=Q;else if(1<vt){for(var te=Array(vt),Ut=0;Ut<vt;Ut++)te[Ut]=arguments[Ut+2];et.children=te}if(S&&S.defaultProps)for(V in vt=S.defaultProps,vt)et[V]===void 0&&(et[V]=vt[V]);return Vt(S,ut,et)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(S){return{$$typeof:v,render:S}},lt.isValidElement=It,lt.lazy=function(S){return{$$typeof:E,_payload:{_status:-1,_result:S},_init:W}},lt.memo=function(S,H){return{$$typeof:y,type:S,compare:H===void 0?null:H}},lt.startTransition=function(S){var H=P.T,Q={};P.T=Q;try{var V=S(),et=P.S;et!==null&&et(Q,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(Ot,mt)}catch(ut){mt(ut)}finally{H!==null&&Q.types!==null&&(H.types=Q.types),P.T=H}},lt.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},lt.use=function(S){return P.H.use(S)},lt.useActionState=function(S,H,Q){return P.H.useActionState(S,H,Q)},lt.useCallback=function(S,H){return P.H.useCallback(S,H)},lt.useContext=function(S){return P.H.useContext(S)},lt.useDebugValue=function(){},lt.useDeferredValue=function(S,H){return P.H.useDeferredValue(S,H)},lt.useEffect=function(S,H){return P.H.useEffect(S,H)},lt.useEffectEvent=function(S){return P.H.useEffectEvent(S)},lt.useId=function(){return P.H.useId()},lt.useImperativeHandle=function(S,H,Q){return P.H.useImperativeHandle(S,H,Q)},lt.useInsertionEffect=function(S,H){return P.H.useInsertionEffect(S,H)},lt.useLayoutEffect=function(S,H){return P.H.useLayoutEffect(S,H)},lt.useMemo=function(S,H){return P.H.useMemo(S,H)},lt.useOptimistic=function(S,H){return P.H.useOptimistic(S,H)},lt.useReducer=function(S,H,Q){return P.H.useReducer(S,H,Q)},lt.useRef=function(S){return P.H.useRef(S)},lt.useState=function(S){return P.H.useState(S)},lt.useSyncExternalStore=function(S,H,Q){return P.H.useSyncExternalStore(S,H,Q)},lt.useTransition=function(){return P.H.useTransition()},lt.version="19.2.4",lt}var Bh;function Er(){return Bh||(Bh=1,lr.exports=Uv()),lr.exports}var B=Er();const Mv=zv(B),Dv=_v({__proto__:null,default:Mv},[B]);var nr={exports:{}},Xa={},ar={exports:{}},ur={};/**
 * @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 qh;function Bv(){return qh||(qh=1,(function(i){function c(j,G){var W=j.length;j.push(G);t:for(;0<W;){var mt=W-1>>>1,pt=j[mt];if(0<o(pt,G))j[mt]=G,j[W]=pt,W=mt;else break t}}function r(j){return j.length===0?null:j[0]}function s(j){if(j.length===0)return null;var G=j[0],W=j.pop();if(W!==G){j[0]=W;t:for(var mt=0,pt=j.length,S=pt>>>1;mt<S;){var H=2*(mt+1)-1,Q=j[H],V=H+1,et=j[V];if(0>o(Q,W))V<pt&&0>o(et,Q)?(j[mt]=et,j[V]=W,mt=V):(j[mt]=Q,j[H]=W,mt=H);else if(V<pt&&0>o(et,W))j[mt]=et,j[V]=W,mt=V;else break t}}return G}function o(j,G){var W=j.sortIndex-G.sortIndex;return W!==0?W:j.id-G.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var m=Date,v=m.now();i.unstable_now=function(){return m.now()-v}}var p=[],y=[],E=1,A=null,Y=3,X=!1,x=!1,D=!1,U=!1,Z=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function J(j){for(var G=r(y);G!==null;){if(G.callback===null)s(y);else if(G.startTime<=j)s(y),G.sortIndex=G.expirationTime,c(p,G);else break;G=r(y)}}function st(j){if(D=!1,J(j),!x)if(r(p)!==null)x=!0,Ot||(Ot=!0,Yt());else{var G=r(y);G!==null&&le(st,G.startTime-j)}}var Ot=!1,P=-1,_t=5,Vt=-1;function de(){return U?!0:!(i.unstable_now()-Vt<_t)}function It(){if(U=!1,Ot){var j=i.unstable_now();Vt=j;var G=!0;try{t:{x=!1,D&&(D=!1,F(P),P=-1),X=!0;var W=Y;try{e:{for(J(j),A=r(p);A!==null&&!(A.expirationTime>j&&de());){var mt=A.callback;if(typeof mt=="function"){A.callback=null,Y=A.priorityLevel;var pt=mt(A.expirationTime<=j);if(j=i.unstable_now(),typeof pt=="function"){A.callback=pt,J(j),G=!0;break e}A===r(p)&&s(p),J(j)}else s(p);A=r(p)}if(A!==null)G=!0;else{var S=r(y);S!==null&&le(st,S.startTime-j),G=!1}}break t}finally{A=null,Y=W,X=!1}G=void 0}}finally{G?Yt():Ot=!1}}}var Yt;if(typeof w=="function")Yt=function(){w(It)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Zt=he.port2;he.port1.onmessage=It,Yt=function(){Zt.postMessage(null)}}else Yt=function(){Z(It,0)};function le(j,G){P=Z(function(){j(i.unstable_now())},G)}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(j){j.callback=null},i.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_t=0<j?Math.floor(1e3/j):5},i.unstable_getCurrentPriorityLevel=function(){return Y},i.unstable_next=function(j){switch(Y){case 1:case 2:case 3:var G=3;break;default:G=Y}var W=Y;Y=G;try{return j()}finally{Y=W}},i.unstable_requestPaint=function(){U=!0},i.unstable_runWithPriority=function(j,G){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var W=Y;Y=j;try{return G()}finally{Y=W}},i.unstable_scheduleCallback=function(j,G,W){var mt=i.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?mt+W:mt):W=mt,j){case 1:var pt=-1;break;case 2:pt=250;break;case 5:pt=1073741823;break;case 4:pt=1e4;break;default:pt=5e3}return pt=W+pt,j={id:E++,callback:G,priorityLevel:j,startTime:W,expirationTime:pt,sortIndex:-1},W>mt?(j.sortIndex=W,c(y,j),r(p)===null&&j===r(y)&&(D?(F(P),P=-1):D=!0,le(st,W-mt))):(j.sortIndex=pt,c(p,j),x||X||(x=!0,Ot||(Ot=!0,Yt()))),j},i.unstable_shouldYield=de,i.unstable_wrapCallback=function(j){var G=Y;return function(){var W=Y;Y=G;try{return j.apply(this,arguments)}finally{Y=W}}}})(ur)),ur}var Hh;function qv(){return Hh||(Hh=1,ar.exports=Bv()),ar.exports}var ir={exports:{}},$t={};/**
 * @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 Lh;function Hv(){if(Lh)return $t;Lh=1;var i=Er();function c(p){var y="https://react.dev/errors/"+p;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+p+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var s={d:{f:r,r:function(){throw Error(c(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(p,y,E){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:A==null?null:""+A,children:p,containerInfo:y,implementation:E}}var m=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(p,y){if(p==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,$t.createPortal=function(p,y){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return d(p,y,null,E)},$t.flushSync=function(p){var y=m.T,E=s.p;try{if(m.T=null,s.p=2,p)return p()}finally{m.T=y,s.p=E,s.d.f()}},$t.preconnect=function(p,y){typeof p=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(p,y))},$t.prefetchDNS=function(p){typeof p=="string"&&s.d.D(p)},$t.preinit=function(p,y){if(typeof p=="string"&&y&&typeof y.as=="string"){var E=y.as,A=v(E,y.crossOrigin),Y=typeof y.integrity=="string"?y.integrity:void 0,X=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;E==="style"?s.d.S(p,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:A,integrity:Y,fetchPriority:X}):E==="script"&&s.d.X(p,{crossOrigin:A,integrity:Y,fetchPriority:X,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},$t.preinitModule=function(p,y){if(typeof p=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var E=v(y.as,y.crossOrigin);s.d.M(p,{crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(p)},$t.preload=function(p,y){if(typeof p=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var E=y.as,A=v(E,y.crossOrigin);s.d.L(p,E,{crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},$t.preloadModule=function(p,y){if(typeof p=="string")if(y){var E=v(y.as,y.crossOrigin);s.d.m(p,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(p)},$t.requestFormReset=function(p){s.d.r(p)},$t.unstable_batchedUpdates=function(p,y){return p(y)},$t.useFormState=function(p,y,E){return m.H.useFormState(p,y,E)},$t.useFormStatus=function(){return m.H.useHostTransitionStatus()},$t.version="19.2.4",$t}var wh;function ym(){if(wh)return ir.exports;wh=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(c){console.error(c)}}return i(),ir.exports=Hv(),ir.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 Yh;function Lv(){if(Yh)return Xa;Yh=1;var i=qv(),c=Er(),r=ym();function s(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 o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(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 m(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 v(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(d(t)!==t)throw Error(s(188))}function y(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return p(a),t;if(u===n)return p(a),e;u=u.sibling}throw Error(s(188))}if(l.return!==n.return)l=a,n=u;else{for(var f=!1,h=a.child;h;){if(h===l){f=!0,l=a,n=u;break}if(h===n){f=!0,n=a,l=u;break}h=h.sibling}if(!f){for(h=u.child;h;){if(h===l){f=!0,l=u,n=a;break}if(h===n){f=!0,n=u,l=a;break}h=h.sibling}if(!f)throw Error(s(189))}}if(l.alternate!==n)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function E(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=E(t),e!==null)return e;t=t.sibling}return null}var A=Object.assign,Y=Symbol.for("react.element"),X=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),w=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),st=Symbol.for("react.suspense"),Ot=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),_t=Symbol.for("react.lazy"),Vt=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),It=Symbol.iterator;function Yt(t){return t===null||typeof t!="object"?null:(t=It&&t[It]||t["@@iterator"],typeof t=="function"?t:null)}var he=Symbol.for("react.client.reference");function Zt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===he?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case D:return"Fragment";case Z:return"Profiler";case U:return"StrictMode";case st:return"Suspense";case Ot:return"SuspenseList";case Vt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case x:return"Portal";case w:return t.displayName||"Context";case F:return(t._context.displayName||"Context")+".Consumer";case J:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case P:return e=t.displayName||null,e!==null?e:Zt(t.type)||"Memo";case _t:e=t._payload,t=t._init;try{return Zt(t(e))}catch{}}return null}var le=Array.isArray,j=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},mt=[],pt=-1;function S(t){return{current:t}}function H(t){0>pt||(t.current=mt[pt],mt[pt]=null,pt--)}function Q(t,e){pt++,mt[pt]=t.current,t.current=e}var V=S(null),et=S(null),ut=S(null),vt=S(null);function te(t,e){switch(Q(ut,e),Q(et,t),Q(V,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?eh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=eh(e),t=lh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}H(V),Q(V,t)}function Ut(){H(V),H(et),H(ut)}function Fn(t){t.memoizedState!==null&&Q(vt,t);var e=V.current,l=lh(e,t.type);e!==l&&(Q(et,t),Q(V,l))}function eu(t){et.current===t&&(H(V),H(et)),vt.current===t&&(H(vt),La._currentValue=W)}var Hi,zr;function ql(t){if(Hi===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Hi=e&&e[1]||"",zr=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Hi+t+zr}var Li=!1;function wi(t,e){if(!t||Li)return"";Li=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(C){var _=C}Reflect.construct(t,[],L)}else{try{L.call()}catch(C){_=C}t.call(L.prototype)}}else{try{throw Error()}catch(C){_=C}(L=t())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(C){if(C&&_&&typeof C.stack=="string")return[C.stack,_.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),f=u[0],h=u[1];if(f&&h){var g=f.split(`
`),N=h.split(`
`);for(a=n=0;n<g.length&&!g[n].includes("DetermineComponentFrameRoot");)n++;for(;a<N.length&&!N[a].includes("DetermineComponentFrameRoot");)a++;if(n===g.length||a===N.length)for(n=g.length-1,a=N.length-1;1<=n&&0<=a&&g[n]!==N[a];)a--;for(;1<=n&&0<=a;n--,a--)if(g[n]!==N[a]){if(n!==1||a!==1)do if(n--,a--,0>a||g[n]!==N[a]){var M=`
`+g[n].replace(" at new "," at ");return t.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",t.displayName)),M}while(1<=n&&0<=a);break}}}finally{Li=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?ql(l):""}function uy(t,e){switch(t.tag){case 26:case 27:case 5:return ql(t.type);case 16:return ql("Lazy");case 13:return t.child!==e&&e!==null?ql("Suspense Fallback"):ql("Suspense");case 19:return ql("SuspenseList");case 0:case 15:return wi(t.type,!1);case 11:return wi(t.type.render,!1);case 1:return wi(t.type,!0);case 31:return ql("Activity");default:return""}}function Cr(t){try{var e="",l=null;do e+=uy(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var Yi=Object.prototype.hasOwnProperty,Gi=i.unstable_scheduleCallback,Qi=i.unstable_cancelCallback,iy=i.unstable_shouldYield,cy=i.unstable_requestPaint,me=i.unstable_now,sy=i.unstable_getCurrentPriorityLevel,jr=i.unstable_ImmediatePriority,Ur=i.unstable_UserBlockingPriority,lu=i.unstable_NormalPriority,ry=i.unstable_LowPriority,Mr=i.unstable_IdlePriority,fy=i.log,oy=i.unstable_setDisableYieldValue,Wn=null,ye=null;function sl(t){if(typeof fy=="function"&&oy(t),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(Wn,t)}catch{}}var ve=Math.clz32?Math.clz32:my,dy=Math.log,hy=Math.LN2;function my(t){return t>>>=0,t===0?32:31-(dy(t)/hy|0)|0}var nu=256,au=262144,uu=4194304;function Hl(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:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;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 iu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,u=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var h=n&134217727;return h!==0?(n=h&~u,n!==0?a=Hl(n):(f&=h,f!==0?a=Hl(f):l||(l=h&~t,l!==0&&(a=Hl(l))))):(h=n&~u,h!==0?a=Hl(h):f!==0?a=Hl(f):l||(l=n&~t,l!==0&&(a=Hl(l)))),a===0?0:e!==0&&e!==a&&(e&u)===0&&(u=a&-a,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:a}function $n(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function yy(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 Dr(){var t=uu;return uu<<=1,(uu&62914560)===0&&(uu=4194304),t}function Xi(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Pn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function vy(t,e,l,n,a,u){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 h=t.entanglements,g=t.expirationTimes,N=t.hiddenUpdates;for(l=f&~l;0<l;){var M=31-ve(l),L=1<<M;h[M]=0,g[M]=-1;var _=N[M];if(_!==null)for(N[M]=null,M=0;M<_.length;M++){var C=_[M];C!==null&&(C.lane&=-536870913)}l&=~L}n!==0&&Br(t,n,0),u!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~e))}function Br(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-ve(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function qr(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-ve(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function Hr(t,e){var l=e&-e;return l=(l&42)!==0?1:Vi(l),(l&(t.suspendedLanes|e))!==0?0:l}function Vi(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 Zi(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Lr(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:xh(t.type))}function wr(t,e){var l=G.p;try{return G.p=t,e()}finally{G.p=l}}var rl=Math.random().toString(36).slice(2),Kt="__reactFiber$"+rl,ne="__reactProps$"+rl,un="__reactContainer$"+rl,Ki="__reactEvents$"+rl,py="__reactListeners$"+rl,gy="__reactHandles$"+rl,Yr="__reactResources$"+rl,In="__reactMarker$"+rl;function Ji(t){delete t[Kt],delete t[ne],delete t[Ki],delete t[py],delete t[gy]}function cn(t){var e=t[Kt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[un]||l[Kt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=rh(t);t!==null;){if(l=t[Kt])return l;t=rh(t)}return e}t=l,l=t.parentNode}return null}function sn(t){if(t=t[Kt]||t[un]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ta(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function rn(t){var e=t[Yr];return e||(e=t[Yr]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Qt(t){t[In]=!0}var Gr=new Set,Qr={};function Ll(t,e){fn(t,e),fn(t+"Capture",e)}function fn(t,e){for(Qr[t]=e,t=0;t<e.length;t++)Gr.add(e[t])}var Sy=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]*$"),Xr={},Vr={};function by(t){return Yi.call(Vr,t)?!0:Yi.call(Xr,t)?!1:Sy.test(t)?Vr[t]=!0:(Xr[t]=!0,!1)}function cu(t,e,l){if(by(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function su(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 Xe(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}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 Zr(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ey(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,u=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(f){l=""+f,u.call(this,f)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ki(t){if(!t._valueTracker){var e=Zr(t)?"checked":"value";t._valueTracker=Ey(t,e,""+t[e])}}function Kr(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=Zr(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function ru(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 Ty=/[\n"\\]/g;function xe(t){return t.replace(Ty,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Fi(t,e,l,n,a,u,f,h){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?Wi(t,f,Oe(e)):l!=null?Wi(t,f,Oe(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+Oe(h):t.removeAttribute("name")}function Jr(t,e,l,n,a,u,f,h){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){ki(t);return}l=l!=null?""+Oe(l):"",e=e!=null?""+Oe(e):l,h||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=h?t.checked:!!n,t.defaultChecked=!!n,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),ki(t)}function Wi(t,e,l){e==="number"&&ru(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function on(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Oe(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function kr(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 Fr(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(s(92));if(le(n)){if(1<n.length)throw Error(s(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Oe(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),ki(t)}function dn(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Ay=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 Wr(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Ay.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function $r(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&Wr(t,a,n)}else for(var u in e)e.hasOwnProperty(u)&&Wr(t,u,e[u])}function $i(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 Oy=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"]]),xy=/^[\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 fu(t){return xy.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ve(){}var Pi=null;function Ii(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var hn=null,mn=null;function Pr(t){var e=sn(t);if(e&&(t=e.stateNode)){var l=t[ne]||null;t:switch(t=e.stateNode,e.type){case"input":if(Fi(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="'+xe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[ne]||null;if(!a)throw Error(s(90));Fi(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&Kr(n)}break t;case"textarea":kr(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&on(t,!!l.multiple,e,!1)}}}var tc=!1;function Ir(t,e,l){if(tc)return t(e,l);tc=!0;try{var n=t(e);return n}finally{if(tc=!1,(hn!==null||mn!==null)&&($u(),hn&&(e=hn,t=mn,mn=hn=null,Pr(e),t)))for(e=0;e<t.length;e++)Pr(t[e])}}function ea(t,e){var l=t.stateNode;if(l===null)return null;var n=l[ne]||null;if(n===null)return null;l=n[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":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var Ze=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ec=!1;if(Ze)try{var la={};Object.defineProperty(la,"passive",{get:function(){ec=!0}}),window.addEventListener("test",la,la),window.removeEventListener("test",la,la)}catch{ec=!1}var fl=null,lc=null,ou=null;function tf(){if(ou)return ou;var t,e=lc,l=e.length,n,a="value"in fl?fl.value:fl.textContent,u=a.length;for(t=0;t<l&&e[t]===a[t];t++);var f=l-t;for(n=1;n<=f&&e[l-n]===a[u-n];n++);return ou=a.slice(t,1<n?1-n:void 0)}function du(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 hu(){return!0}function ef(){return!1}function ae(t){function e(l,n,a,u,f){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var h in t)t.hasOwnProperty(h)&&(l=t[h],this[h]=l?l(u):u[h]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?hu:ef,this.isPropagationStopped=ef,this}return A(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=hu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=hu)},persist:function(){},isPersistent:hu}),e}var wl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mu=ae(wl),na=A({},wl,{view:0,detail:0}),Ry=ae(na),nc,ac,aa,yu=A({},na,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ic,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!==aa&&(aa&&t.type==="mousemove"?(nc=t.screenX-aa.screenX,ac=t.screenY-aa.screenY):ac=nc=0,aa=t),nc)},movementY:function(t){return"movementY"in t?t.movementY:ac}}),lf=ae(yu),Ny=A({},yu,{dataTransfer:0}),_y=ae(Ny),zy=A({},na,{relatedTarget:0}),uc=ae(zy),Cy=A({},wl,{animationName:0,elapsedTime:0,pseudoElement:0}),jy=ae(Cy),Uy=A({},wl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),My=ae(Uy),Dy=A({},wl,{data:0}),nf=ae(Dy),By={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qy={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"},Hy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ly(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Hy[t])?!!e[t]:!1}function ic(){return Ly}var wy=A({},na,{key:function(t){if(t.key){var e=By[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=du(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?qy[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ic,charCode:function(t){return t.type==="keypress"?du(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?du(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Yy=ae(wy),Gy=A({},yu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),af=ae(Gy),Qy=A({},na,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ic}),Xy=ae(Qy),Vy=A({},wl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zy=ae(Vy),Ky=A({},yu,{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}),Jy=ae(Ky),ky=A({},wl,{newState:0,oldState:0}),Fy=ae(ky),Wy=[9,13,27,32],cc=Ze&&"CompositionEvent"in window,ua=null;Ze&&"documentMode"in document&&(ua=document.documentMode);var $y=Ze&&"TextEvent"in window&&!ua,uf=Ze&&(!cc||ua&&8<ua&&11>=ua),cf=" ",sf=!1;function rf(t,e){switch(t){case"keyup":return Wy.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ff(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var yn=!1;function Py(t,e){switch(t){case"compositionend":return ff(e);case"keypress":return e.which!==32?null:(sf=!0,cf);case"textInput":return t=e.data,t===cf&&sf?null:t;default:return null}}function Iy(t,e){if(yn)return t==="compositionend"||!cc&&rf(t,e)?(t=tf(),ou=lc=fl=null,yn=!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 uf&&e.locale!=="ko"?null:e.data;default:return null}}var t0={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 of(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!t0[t.type]:e==="textarea"}function df(t,e,l,n){hn?mn?mn.push(n):mn=[n]:hn=n,e=ai(e,"onChange"),0<e.length&&(l=new mu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var ia=null,ca=null;function e0(t){Fd(t,0)}function vu(t){var e=ta(t);if(Kr(e))return t}function hf(t,e){if(t==="change")return e}var mf=!1;if(Ze){var sc;if(Ze){var rc="oninput"in document;if(!rc){var yf=document.createElement("div");yf.setAttribute("oninput","return;"),rc=typeof yf.oninput=="function"}sc=rc}else sc=!1;mf=sc&&(!document.documentMode||9<document.documentMode)}function vf(){ia&&(ia.detachEvent("onpropertychange",pf),ca=ia=null)}function pf(t){if(t.propertyName==="value"&&vu(ca)){var e=[];df(e,ca,t,Ii(t)),Ir(e0,e)}}function l0(t,e,l){t==="focusin"?(vf(),ia=e,ca=l,ia.attachEvent("onpropertychange",pf)):t==="focusout"&&vf()}function n0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return vu(ca)}function a0(t,e){if(t==="click")return vu(e)}function u0(t,e){if(t==="input"||t==="change")return vu(e)}function i0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:i0;function sa(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!Yi.call(e,a)||!pe(t[a],e[a]))return!1}return!0}function gf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Sf(t,e){var l=gf(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=gf(l)}}function bf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?bf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ef(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ru(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=ru(t.document)}return e}function fc(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 c0=Ze&&"documentMode"in document&&11>=document.documentMode,vn=null,oc=null,ra=null,dc=!1;function Tf(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;dc||vn==null||vn!==ru(n)||(n=vn,"selectionStart"in n&&fc(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ra&&sa(ra,n)||(ra=n,n=ai(oc,"onSelect"),0<n.length&&(e=new mu("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=vn)))}function Yl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var pn={animationend:Yl("Animation","AnimationEnd"),animationiteration:Yl("Animation","AnimationIteration"),animationstart:Yl("Animation","AnimationStart"),transitionrun:Yl("Transition","TransitionRun"),transitionstart:Yl("Transition","TransitionStart"),transitioncancel:Yl("Transition","TransitionCancel"),transitionend:Yl("Transition","TransitionEnd")},hc={},Af={};Ze&&(Af=document.createElement("div").style,"AnimationEvent"in window||(delete pn.animationend.animation,delete pn.animationiteration.animation,delete pn.animationstart.animation),"TransitionEvent"in window||delete pn.transitionend.transition);function Gl(t){if(hc[t])return hc[t];if(!pn[t])return t;var e=pn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Af)return hc[t]=e[l];return t}var Of=Gl("animationend"),xf=Gl("animationiteration"),Rf=Gl("animationstart"),s0=Gl("transitionrun"),r0=Gl("transitionstart"),f0=Gl("transitioncancel"),Nf=Gl("transitionend"),_f=new Map,mc="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(" ");mc.push("scrollEnd");function Be(t,e){_f.set(t,e),Ll(e,[t])}var pu=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)},Re=[],gn=0,yc=0;function gu(){for(var t=gn,e=yc=gn=0;e<t;){var l=Re[e];Re[e++]=null;var n=Re[e];Re[e++]=null;var a=Re[e];Re[e++]=null;var u=Re[e];if(Re[e++]=null,n!==null&&a!==null){var f=n.pending;f===null?a.next=a:(a.next=f.next,f.next=a),n.pending=a}u!==0&&zf(l,a,u)}}function Su(t,e,l,n){Re[gn++]=t,Re[gn++]=e,Re[gn++]=l,Re[gn++]=n,yc|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function vc(t,e,l,n){return Su(t,e,l,n),bu(t)}function Ql(t,e){return Su(t,null,null,e),bu(t)}function zf(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,u=t.return;u!==null;)u.childLanes|=l,n=u.alternate,n!==null&&(n.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(a=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,a&&e!==null&&(a=31-ve(l),t=u.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),u):null}function bu(t){if(50<ja)throw ja=0,xs=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Sn={};function o0(t,e,l,n){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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ge(t,e,l,n){return new o0(t,e,l,n)}function pc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ke(t,e){var l=t.alternate;return l===null?(l=ge(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 Cf(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 Eu(t,e,l,n,a,u){var f=0;if(n=t,typeof t=="function")pc(t)&&(f=1);else if(typeof t=="string")f=vv(t,l,V.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Vt:return t=ge(31,l,e,a),t.elementType=Vt,t.lanes=u,t;case D:return Xl(l.children,a,u,e);case U:f=8,a|=24;break;case Z:return t=ge(12,l,e,a|2),t.elementType=Z,t.lanes=u,t;case st:return t=ge(13,l,e,a),t.elementType=st,t.lanes=u,t;case Ot:return t=ge(19,l,e,a),t.elementType=Ot,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case w:f=10;break t;case F:f=9;break t;case J:f=11;break t;case P:f=14;break t;case _t:f=16,n=null;break t}f=29,l=Error(s(130,t===null?"null":typeof t,"")),n=null}return e=ge(f,l,e,a),e.elementType=t,e.type=n,e.lanes=u,e}function Xl(t,e,l,n){return t=ge(7,t,n,e),t.lanes=l,t}function gc(t,e,l){return t=ge(6,t,null,e),t.lanes=l,t}function jf(t){var e=ge(18,null,null,0);return e.stateNode=t,e}function Sc(t,e,l){return e=ge(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Uf=new WeakMap;function Ne(t,e){if(typeof t=="object"&&t!==null){var l=Uf.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Cr(e)},Uf.set(t,e),e)}return{value:t,source:e,stack:Cr(e)}}var bn=[],En=0,Tu=null,fa=0,_e=[],ze=0,ol=null,we=1,Ye="";function Je(t,e){bn[En++]=fa,bn[En++]=Tu,Tu=t,fa=e}function Mf(t,e,l){_e[ze++]=we,_e[ze++]=Ye,_e[ze++]=ol,ol=t;var n=we;t=Ye;var a=32-ve(n)-1;n&=~(1<<a),l+=1;var u=32-ve(e)+a;if(30<u){var f=a-a%5;u=(n&(1<<f)-1).toString(32),n>>=f,a-=f,we=1<<32-ve(e)+a|l<<a|n,Ye=u+t}else we=1<<u|l<<a|n,Ye=t}function bc(t){t.return!==null&&(Je(t,1),Mf(t,1,0))}function Ec(t){for(;t===Tu;)Tu=bn[--En],bn[En]=null,fa=bn[--En],bn[En]=null;for(;t===ol;)ol=_e[--ze],_e[ze]=null,Ye=_e[--ze],_e[ze]=null,we=_e[--ze],_e[ze]=null}function Df(t,e){_e[ze++]=we,_e[ze++]=Ye,_e[ze++]=ol,we=e.id,Ye=e.overflow,ol=t}var Jt=null,xt=null,ot=!1,dl=null,Ce=!1,Tc=Error(s(519));function hl(t){var e=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw oa(Ne(e,t)),Tc}function Bf(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[Kt]=t,e[ne]=n,l){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(l=0;l<Ma.length;l++)ct(Ma[l],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":ct("invalid",e),Jr(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),Fr(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||Id(e.textContent,l)?(n.popover!=null&&(ct("beforetoggle",e),ct("toggle",e)),n.onScroll!=null&&ct("scroll",e),n.onScrollEnd!=null&&ct("scrollend",e),n.onClick!=null&&(e.onclick=Ve),e=!0):e=!1,e||hl(t,!0)}function qf(t){for(Jt=t.return;Jt;)switch(Jt.tag){case 5:case 31:case 13:Ce=!1;return;case 27:case 3:Ce=!0;return;default:Jt=Jt.return}}function Tn(t){if(t!==Jt)return!1;if(!ot)return qf(t),ot=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Ys(t.type,t.memoizedProps)),l=!l),l&&xt&&hl(t),qf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));xt=sh(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));xt=sh(t)}else e===27?(e=xt,Nl(t.type)?(t=Zs,Zs=null,xt=t):xt=e):xt=Jt?Ue(t.stateNode.nextSibling):null;return!0}function Vl(){xt=Jt=null,ot=!1}function Ac(){var t=dl;return t!==null&&(se===null?se=t:se.push.apply(se,t),dl=null),t}function oa(t){dl===null?dl=[t]:dl.push(t)}var Oc=S(null),Zl=null,ke=null;function ml(t,e,l){Q(Oc,e._currentValue),e._currentValue=l}function Fe(t){t._currentValue=Oc.current,H(Oc)}function xc(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function Rc(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){var f=a.child;u=u.firstContext;t:for(;u!==null;){var h=u;u=a;for(var g=0;g<e.length;g++)if(h.context===e[g]){u.lanes|=l,h=u.alternate,h!==null&&(h.lanes|=l),xc(u.return,l,t),n||(f=null);break t}u=h.next}}else if(a.tag===18){if(f=a.return,f===null)throw Error(s(341));f.lanes|=l,u=f.alternate,u!==null&&(u.lanes|=l),xc(f,l,t),f=null}else f=a.child;if(f!==null)f.return=a;else for(f=a;f!==null;){if(f===t){f=null;break}if(a=f.sibling,a!==null){a.return=f.return,f=a;break}f=f.return}a=f}}function An(t,e,l,n){t=null;for(var a=e,u=!1;a!==null;){if(!u){if((a.flags&524288)!==0)u=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var f=a.alternate;if(f===null)throw Error(s(387));if(f=f.memoizedProps,f!==null){var h=a.type;pe(a.pendingProps.value,f.value)||(t!==null?t.push(h):t=[h])}}else if(a===vt.current){if(f=a.alternate,f===null)throw Error(s(387));f.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(La):t=[La])}a=a.return}t!==null&&Rc(e,t,l,n),e.flags|=262144}function Au(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Kl(t){Zl=t,ke=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function kt(t){return Hf(Zl,t)}function Ou(t,e){return Zl===null&&Kl(t),Hf(t,e)}function Hf(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},ke===null){if(t===null)throw Error(s(308));ke=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else ke=ke.next=e;return l}var d0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},h0=i.unstable_scheduleCallback,m0=i.unstable_NormalPriority,qt={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nc(){return{controller:new d0,data:new Map,refCount:0}}function da(t){t.refCount--,t.refCount===0&&h0(m0,function(){t.controller.abort()})}var ha=null,_c=0,On=0,xn=null;function y0(t,e){if(ha===null){var l=ha=[];_c=0,On=js(),xn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return _c++,e.then(Lf,Lf),e}function Lf(){if(--_c===0&&ha!==null){xn!==null&&(xn.status="fulfilled");var t=ha;ha=null,On=0,xn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function v0(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var wf=j.S;j.S=function(t,e){Ad=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&y0(t,e),wf!==null&&wf(t,e)};var Jl=S(null);function zc(){var t=Jl.current;return t!==null?t:At.pooledCache}function xu(t,e){e===null?Q(Jl,Jl.current):Q(Jl,e.pool)}function Yf(){var t=zc();return t===null?null:{parent:qt._currentValue,pool:t}}var Rn=Error(s(460)),Cc=Error(s(474)),Ru=Error(s(542)),Nu={then:function(){}};function Gf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Qf(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Ve,Ve),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Vf(t),t;default:if(typeof e.status=="string")e.then(Ve,Ve);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Vf(t),t}throw Fl=e,Rn}}function kl(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Fl=l,Rn):l}}var Fl=null;function Xf(){if(Fl===null)throw Error(s(459));var t=Fl;return Fl=null,t}function Vf(t){if(t===Rn||t===Ru)throw Error(s(483))}var Nn=null,ma=0;function _u(t){var e=ma;return ma+=1,Nn===null&&(Nn=[]),Qf(Nn,t,e)}function ya(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function zu(t,e){throw e.$$typeof===Y?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Zf(t){function e(O,b){if(t){var R=O.deletions;R===null?(O.deletions=[b],O.flags|=16):R.push(b)}}function l(O,b){if(!t)return null;for(;b!==null;)e(O,b),b=b.sibling;return null}function n(O){for(var b=new Map;O!==null;)O.key!==null?b.set(O.key,O):b.set(O.index,O),O=O.sibling;return b}function a(O,b){return O=Ke(O,b),O.index=0,O.sibling=null,O}function u(O,b,R){return O.index=R,t?(R=O.alternate,R!==null?(R=R.index,R<b?(O.flags|=67108866,b):R):(O.flags|=67108866,b)):(O.flags|=1048576,b)}function f(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function h(O,b,R,q){return b===null||b.tag!==6?(b=gc(R,O.mode,q),b.return=O,b):(b=a(b,R),b.return=O,b)}function g(O,b,R,q){var $=R.type;return $===D?M(O,b,R.props.children,q,R.key):b!==null&&(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===_t&&kl($)===b.type)?(b=a(b,R.props),ya(b,R),b.return=O,b):(b=Eu(R.type,R.key,R.props,null,O.mode,q),ya(b,R),b.return=O,b)}function N(O,b,R,q){return b===null||b.tag!==4||b.stateNode.containerInfo!==R.containerInfo||b.stateNode.implementation!==R.implementation?(b=Sc(R,O.mode,q),b.return=O,b):(b=a(b,R.children||[]),b.return=O,b)}function M(O,b,R,q,$){return b===null||b.tag!==7?(b=Xl(R,O.mode,q,$),b.return=O,b):(b=a(b,R),b.return=O,b)}function L(O,b,R){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=gc(""+b,O.mode,R),b.return=O,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case X:return R=Eu(b.type,b.key,b.props,null,O.mode,R),ya(R,b),R.return=O,R;case x:return b=Sc(b,O.mode,R),b.return=O,b;case _t:return b=kl(b),L(O,b,R)}if(le(b)||Yt(b))return b=Xl(b,O.mode,R,null),b.return=O,b;if(typeof b.then=="function")return L(O,_u(b),R);if(b.$$typeof===w)return L(O,Ou(O,b),R);zu(O,b)}return null}function _(O,b,R,q){var $=b!==null?b.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return $!==null?null:h(O,b,""+R,q);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case X:return R.key===$?g(O,b,R,q):null;case x:return R.key===$?N(O,b,R,q):null;case _t:return R=kl(R),_(O,b,R,q)}if(le(R)||Yt(R))return $!==null?null:M(O,b,R,q,null);if(typeof R.then=="function")return _(O,b,_u(R),q);if(R.$$typeof===w)return _(O,b,Ou(O,R),q);zu(O,R)}return null}function C(O,b,R,q,$){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return O=O.get(R)||null,h(b,O,""+q,$);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case X:return O=O.get(q.key===null?R:q.key)||null,g(b,O,q,$);case x:return O=O.get(q.key===null?R:q.key)||null,N(b,O,q,$);case _t:return q=kl(q),C(O,b,R,q,$)}if(le(q)||Yt(q))return O=O.get(R)||null,M(b,O,q,$,null);if(typeof q.then=="function")return C(O,b,R,_u(q),$);if(q.$$typeof===w)return C(O,b,R,Ou(b,q),$);zu(b,q)}return null}function K(O,b,R,q){for(var $=null,dt=null,k=b,at=b=0,ft=null;k!==null&&at<R.length;at++){k.index>at?(ft=k,k=null):ft=k.sibling;var ht=_(O,k,R[at],q);if(ht===null){k===null&&(k=ft);break}t&&k&&ht.alternate===null&&e(O,k),b=u(ht,b,at),dt===null?$=ht:dt.sibling=ht,dt=ht,k=ft}if(at===R.length)return l(O,k),ot&&Je(O,at),$;if(k===null){for(;at<R.length;at++)k=L(O,R[at],q),k!==null&&(b=u(k,b,at),dt===null?$=k:dt.sibling=k,dt=k);return ot&&Je(O,at),$}for(k=n(k);at<R.length;at++)ft=C(k,O,at,R[at],q),ft!==null&&(t&&ft.alternate!==null&&k.delete(ft.key===null?at:ft.key),b=u(ft,b,at),dt===null?$=ft:dt.sibling=ft,dt=ft);return t&&k.forEach(function(Ul){return e(O,Ul)}),ot&&Je(O,at),$}function I(O,b,R,q){if(R==null)throw Error(s(151));for(var $=null,dt=null,k=b,at=b=0,ft=null,ht=R.next();k!==null&&!ht.done;at++,ht=R.next()){k.index>at?(ft=k,k=null):ft=k.sibling;var Ul=_(O,k,ht.value,q);if(Ul===null){k===null&&(k=ft);break}t&&k&&Ul.alternate===null&&e(O,k),b=u(Ul,b,at),dt===null?$=Ul:dt.sibling=Ul,dt=Ul,k=ft}if(ht.done)return l(O,k),ot&&Je(O,at),$;if(k===null){for(;!ht.done;at++,ht=R.next())ht=L(O,ht.value,q),ht!==null&&(b=u(ht,b,at),dt===null?$=ht:dt.sibling=ht,dt=ht);return ot&&Je(O,at),$}for(k=n(k);!ht.done;at++,ht=R.next())ht=C(k,O,at,ht.value,q),ht!==null&&(t&&ht.alternate!==null&&k.delete(ht.key===null?at:ht.key),b=u(ht,b,at),dt===null?$=ht:dt.sibling=ht,dt=ht);return t&&k.forEach(function(Nv){return e(O,Nv)}),ot&&Je(O,at),$}function Tt(O,b,R,q){if(typeof R=="object"&&R!==null&&R.type===D&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case X:t:{for(var $=R.key;b!==null;){if(b.key===$){if($=R.type,$===D){if(b.tag===7){l(O,b.sibling),q=a(b,R.props.children),q.return=O,O=q;break t}}else if(b.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===_t&&kl($)===b.type){l(O,b.sibling),q=a(b,R.props),ya(q,R),q.return=O,O=q;break t}l(O,b);break}else e(O,b);b=b.sibling}R.type===D?(q=Xl(R.props.children,O.mode,q,R.key),q.return=O,O=q):(q=Eu(R.type,R.key,R.props,null,O.mode,q),ya(q,R),q.return=O,O=q)}return f(O);case x:t:{for($=R.key;b!==null;){if(b.key===$)if(b.tag===4&&b.stateNode.containerInfo===R.containerInfo&&b.stateNode.implementation===R.implementation){l(O,b.sibling),q=a(b,R.children||[]),q.return=O,O=q;break t}else{l(O,b);break}else e(O,b);b=b.sibling}q=Sc(R,O.mode,q),q.return=O,O=q}return f(O);case _t:return R=kl(R),Tt(O,b,R,q)}if(le(R))return K(O,b,R,q);if(Yt(R)){if($=Yt(R),typeof $!="function")throw Error(s(150));return R=$.call(R),I(O,b,R,q)}if(typeof R.then=="function")return Tt(O,b,_u(R),q);if(R.$$typeof===w)return Tt(O,b,Ou(O,R),q);zu(O,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,b!==null&&b.tag===6?(l(O,b.sibling),q=a(b,R),q.return=O,O=q):(l(O,b),q=gc(R,O.mode,q),q.return=O,O=q),f(O)):l(O,b)}return function(O,b,R,q){try{ma=0;var $=Tt(O,b,R,q);return Nn=null,$}catch(k){if(k===Rn||k===Ru)throw k;var dt=ge(29,k,null,O.mode);return dt.lanes=q,dt.return=O,dt}finally{}}}var Wl=Zf(!0),Kf=Zf(!1),yl=!1;function jc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uc(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 vl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function pl(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(yt&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=bu(t),zf(t,null,l),e}return Su(t,n,e,l),bu(t)}function va(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,qr(t,l)}}function Mc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?a=u=f:u=u.next=f,l=l.next}while(l!==null);u===null?a=u=e:u=u.next=e}else a=u=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Dc=!1;function pa(){if(Dc){var t=xn;if(t!==null)throw t}}function ga(t,e,l,n){Dc=!1;var a=t.updateQueue;yl=!1;var u=a.firstBaseUpdate,f=a.lastBaseUpdate,h=a.shared.pending;if(h!==null){a.shared.pending=null;var g=h,N=g.next;g.next=null,f===null?u=N:f.next=N,f=g;var M=t.alternate;M!==null&&(M=M.updateQueue,h=M.lastBaseUpdate,h!==f&&(h===null?M.firstBaseUpdate=N:h.next=N,M.lastBaseUpdate=g))}if(u!==null){var L=a.baseState;f=0,M=N=g=null,h=u;do{var _=h.lane&-536870913,C=_!==h.lane;if(C?(rt&_)===_:(n&_)===_){_!==0&&_===On&&(Dc=!0),M!==null&&(M=M.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var K=t,I=h;_=e;var Tt=l;switch(I.tag){case 1:if(K=I.payload,typeof K=="function"){L=K.call(Tt,L,_);break t}L=K;break t;case 3:K.flags=K.flags&-65537|128;case 0:if(K=I.payload,_=typeof K=="function"?K.call(Tt,L,_):K,_==null)break t;L=A({},L,_);break t;case 2:yl=!0}}_=h.callback,_!==null&&(t.flags|=64,C&&(t.flags|=8192),C=a.callbacks,C===null?a.callbacks=[_]:C.push(_))}else C={lane:_,tag:h.tag,payload:h.payload,callback:h.callback,next:null},M===null?(N=M=C,g=L):M=M.next=C,f|=_;if(h=h.next,h===null){if(h=a.shared.pending,h===null)break;C=h,h=C.next,C.next=null,a.lastBaseUpdate=C,a.shared.pending=null}}while(!0);M===null&&(g=L),a.baseState=g,a.firstBaseUpdate=N,a.lastBaseUpdate=M,u===null&&(a.shared.lanes=0),Tl|=f,t.lanes=f,t.memoizedState=L}}function Jf(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function kf(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Jf(l[t],e)}var _n=S(null),Cu=S(0);function Ff(t,e){t=al,Q(Cu,t),Q(_n,e),al=t|e.baseLanes}function Bc(){Q(Cu,al),Q(_n,_n.current)}function qc(){al=Cu.current,H(_n),H(Cu)}var Se=S(null),je=null;function gl(t){var e=t.alternate;Q(Mt,Mt.current&1),Q(Se,t),je===null&&(e===null||_n.current!==null||e.memoizedState!==null)&&(je=t)}function Hc(t){Q(Mt,Mt.current),Q(Se,t),je===null&&(je=t)}function Wf(t){t.tag===22?(Q(Mt,Mt.current),Q(Se,t),je===null&&(je=t)):Sl()}function Sl(){Q(Mt,Mt.current),Q(Se,Se.current)}function be(t){H(Se),je===t&&(je=null),H(Mt)}var Mt=S(0);function ju(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Xs(l)||Vs(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){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}var We=0,nt=null,bt=null,Ht=null,Uu=!1,zn=!1,$l=!1,Mu=0,Sa=0,Cn=null,p0=0;function zt(){throw Error(s(321))}function Lc(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!pe(t[l],e[l]))return!1;return!0}function wc(t,e,l,n,a,u){return We=u,nt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,j.H=t===null||t.memoizedState===null?Do:ts,$l=!1,u=l(n,a),$l=!1,zn&&(u=Pf(e,l,n,a)),$f(t),u}function $f(t){j.H=Ta;var e=bt!==null&&bt.next!==null;if(We=0,Ht=bt=nt=null,Uu=!1,Sa=0,Cn=null,e)throw Error(s(300));t===null||Lt||(t=t.dependencies,t!==null&&Au(t)&&(Lt=!0))}function Pf(t,e,l,n){nt=t;var a=0;do{if(zn&&(Cn=null),Sa=0,zn=!1,25<=a)throw Error(s(301));if(a+=1,Ht=bt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}j.H=Bo,u=e(l,n)}while(zn);return u}function g0(){var t=j.H,e=t.useState()[0];return e=typeof e.then=="function"?ba(e):e,t=t.useState()[0],(bt!==null?bt.memoizedState:null)!==t&&(nt.flags|=1024),e}function Yc(){var t=Mu!==0;return Mu=0,t}function Gc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Qc(t){if(Uu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Uu=!1}We=0,Ht=bt=nt=null,zn=!1,Sa=Mu=0,Cn=null}function ee(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?nt.memoizedState=Ht=t:Ht=Ht.next=t,Ht}function Dt(){if(bt===null){var t=nt.alternate;t=t!==null?t.memoizedState:null}else t=bt.next;var e=Ht===null?nt.memoizedState:Ht.next;if(e!==null)Ht=e,bt=t;else{if(t===null)throw nt.alternate===null?Error(s(467)):Error(s(310));bt=t,t={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},Ht===null?nt.memoizedState=Ht=t:Ht=Ht.next=t}return Ht}function Du(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ba(t){var e=Sa;return Sa+=1,Cn===null&&(Cn=[]),t=Qf(Cn,t,e),e=nt,(Ht===null?e.memoizedState:Ht.next)===null&&(e=e.alternate,j.H=e===null||e.memoizedState===null?Do:ts),t}function Bu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ba(t);if(t.$$typeof===w)return kt(t)}throw Error(s(438,String(t)))}function Xc(t){var e=null,l=nt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=nt.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Du(),nt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=de;return e.index++,l}function $e(t,e){return typeof e=="function"?e(t):e}function qu(t){var e=Dt();return Vc(e,bt,t)}function Vc(t,e,l){var n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=l;var a=t.baseQueue,u=n.pending;if(u!==null){if(a!==null){var f=a.next;a.next=u.next,u.next=f}e.baseQueue=a=u,n.pending=null}if(u=t.baseState,a===null)t.memoizedState=u;else{e=a.next;var h=f=null,g=null,N=e,M=!1;do{var L=N.lane&-536870913;if(L!==N.lane?(rt&L)===L:(We&L)===L){var _=N.revertLane;if(_===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),L===On&&(M=!0);else if((We&_)===_){N=N.next,_===On&&(M=!0);continue}else L={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},g===null?(h=g=L,f=u):g=g.next=L,nt.lanes|=_,Tl|=_;L=N.action,$l&&l(u,L),u=N.hasEagerState?N.eagerState:l(u,L)}else _={lane:L,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},g===null?(h=g=_,f=u):g=g.next=_,nt.lanes|=L,Tl|=L;N=N.next}while(N!==null&&N!==e);if(g===null?f=u:g.next=h,!pe(u,t.memoizedState)&&(Lt=!0,M&&(l=xn,l!==null)))throw l;t.memoizedState=u,t.baseState=f,t.baseQueue=g,n.lastRenderedState=u}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function Zc(t){var e=Dt(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,u=e.memoizedState;if(a!==null){l.pending=null;var f=a=a.next;do u=t(u,f.action),f=f.next;while(f!==a);pe(u,e.memoizedState)||(Lt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,n]}function If(t,e,l){var n=nt,a=Dt(),u=ot;if(u){if(l===void 0)throw Error(s(407));l=l()}else l=e();var f=!pe((bt||a).memoizedState,l);if(f&&(a.memoizedState=l,Lt=!0),a=a.queue,kc(lo.bind(null,n,a,t),[t]),a.getSnapshot!==e||f||Ht!==null&&Ht.memoizedState.tag&1){if(n.flags|=2048,jn(9,{destroy:void 0},eo.bind(null,n,a,l,e),null),At===null)throw Error(s(349));u||(We&127)!==0||to(n,e,l)}return l}function to(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=nt.updateQueue,e===null?(e=Du(),nt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function eo(t,e,l,n){e.value=l,e.getSnapshot=n,no(e)&&ao(t)}function lo(t,e,l){return l(function(){no(e)&&ao(t)})}function no(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!pe(t,l)}catch{return!0}}function ao(t){var e=Ql(t,2);e!==null&&re(e,t,2)}function Kc(t){var e=ee();if(typeof t=="function"){var l=t;if(t=l(),$l){sl(!0);try{l()}finally{sl(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$e,lastRenderedState:t},e}function uo(t,e,l,n){return t.baseState=l,Vc(t,bt,typeof n=="function"?n:$e)}function S0(t,e,l,n,a){if(wu(t))throw Error(s(485));if(t=e.action,t!==null){var u={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};j.T!==null?l(!0):u.isTransition=!1,n(u),l=e.pending,l===null?(u.next=e.pending=u,io(e,u)):(u.next=l.next,e.pending=l.next=u)}}function io(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var u=j.T,f={};j.T=f;try{var h=l(a,n),g=j.S;g!==null&&g(f,h),co(t,e,h)}catch(N){Jc(t,e,N)}finally{u!==null&&f.types!==null&&(u.types=f.types),j.T=u}}else try{u=l(a,n),co(t,e,u)}catch(N){Jc(t,e,N)}}function co(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){so(t,e,n)},function(n){return Jc(t,e,n)}):so(t,e,l)}function so(t,e,l){e.status="fulfilled",e.value=l,ro(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,io(t,l)))}function Jc(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,ro(e),e=e.next;while(e!==n)}t.action=null}function ro(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function fo(t,e){return e}function oo(t,e){if(ot){var l=At.formState;if(l!==null){t:{var n=nt;if(ot){if(xt){e:{for(var a=xt,u=Ce;a.nodeType!==8;){if(!u){a=null;break e}if(a=Ue(a.nextSibling),a===null){a=null;break e}}u=a.data,a=u==="F!"||u==="F"?a:null}if(a){xt=Ue(a.nextSibling),n=a.data==="F!";break t}}hl(n)}n=!1}n&&(e=l[0])}}return l=ee(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fo,lastRenderedState:e},l.queue=n,l=jo.bind(null,nt,n),n.dispatch=l,n=Kc(!1),u=Ic.bind(null,nt,!1,n.queue),n=ee(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=S0.bind(null,nt,a,u,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function ho(t){var e=Dt();return mo(e,bt,t)}function mo(t,e,l){if(e=Vc(t,e,fo)[0],t=qu($e)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=ba(e)}catch(f){throw f===Rn?Ru:f}else n=e;e=Dt();var a=e.queue,u=a.dispatch;return l!==e.memoizedState&&(nt.flags|=2048,jn(9,{destroy:void 0},b0.bind(null,a,l),null)),[n,u,t]}function b0(t,e){t.action=e}function yo(t){var e=Dt(),l=bt;if(l!==null)return mo(e,l,t);Dt(),e=e.memoizedState,l=Dt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function jn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=nt.updateQueue,e===null&&(e=Du(),nt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function vo(){return Dt().memoizedState}function Hu(t,e,l,n){var a=ee();nt.flags|=t,a.memoizedState=jn(1|e,{destroy:void 0},l,n===void 0?null:n)}function Lu(t,e,l,n){var a=Dt();n=n===void 0?null:n;var u=a.memoizedState.inst;bt!==null&&n!==null&&Lc(n,bt.memoizedState.deps)?a.memoizedState=jn(e,u,l,n):(nt.flags|=t,a.memoizedState=jn(1|e,u,l,n))}function po(t,e){Hu(8390656,8,t,e)}function kc(t,e){Lu(2048,8,t,e)}function E0(t){nt.flags|=4;var e=nt.updateQueue;if(e===null)e=Du(),nt.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function go(t){var e=Dt().memoizedState;return E0({ref:e,nextImpl:t}),function(){if((yt&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}function So(t,e){return Lu(4,2,t,e)}function bo(t,e){return Lu(4,4,t,e)}function Eo(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 To(t,e,l){l=l!=null?l.concat([t]):null,Lu(4,4,Eo.bind(null,e,t),l)}function Fc(){}function Ao(t,e){var l=Dt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&Lc(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function Oo(t,e){var l=Dt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&Lc(e,n[1]))return n[0];if(n=t(),$l){sl(!0);try{t()}finally{sl(!1)}}return l.memoizedState=[n,e],n}function Wc(t,e,l){return l===void 0||(We&1073741824)!==0&&(rt&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=xd(),nt.lanes|=t,Tl|=t,l)}function xo(t,e,l,n){return pe(l,e)?l:_n.current!==null?(t=Wc(t,l,n),pe(t,e)||(Lt=!0),t):(We&42)===0||(We&1073741824)!==0&&(rt&261930)===0?(Lt=!0,t.memoizedState=l):(t=xd(),nt.lanes|=t,Tl|=t,e)}function Ro(t,e,l,n,a){var u=G.p;G.p=u!==0&&8>u?u:8;var f=j.T,h={};j.T=h,Ic(t,!1,e,l);try{var g=a(),N=j.S;if(N!==null&&N(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var M=v0(g,n);Ea(t,e,M,Ae(t))}else Ea(t,e,n,Ae(t))}catch(L){Ea(t,e,{then:function(){},status:"rejected",reason:L},Ae())}finally{G.p=u,f!==null&&h.types!==null&&(f.types=h.types),j.T=f}}function T0(){}function $c(t,e,l,n){if(t.tag!==5)throw Error(s(476));var a=No(t).queue;Ro(t,a,e,W,l===null?T0:function(){return _o(t),l(n)})}function No(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:$e,lastRenderedState:W},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$e,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function _o(t){var e=No(t);e.next===null&&(e=t.alternate.memoizedState),Ea(t,e.next.queue,{},Ae())}function Pc(){return kt(La)}function zo(){return Dt().memoizedState}function Co(){return Dt().memoizedState}function A0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ae();t=vl(l);var n=pl(e,t,l);n!==null&&(re(n,e,l),va(n,e,l)),e={cache:Nc()},t.payload=e;return}e=e.return}}function O0(t,e,l){var n=Ae();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},wu(t)?Uo(e,l):(l=vc(t,e,l,n),l!==null&&(re(l,t,n),Mo(l,e,n)))}function jo(t,e,l){var n=Ae();Ea(t,e,l,n)}function Ea(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(wu(t))Uo(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var f=e.lastRenderedState,h=u(f,l);if(a.hasEagerState=!0,a.eagerState=h,pe(h,f))return Su(t,e,a,0),At===null&&gu(),!1}catch{}finally{}if(l=vc(t,e,a,n),l!==null)return re(l,t,n),Mo(l,e,n),!0}return!1}function Ic(t,e,l,n){if(n={lane:2,revertLane:js(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},wu(t)){if(e)throw Error(s(479))}else e=vc(t,l,n,2),e!==null&&re(e,t,2)}function wu(t){var e=t.alternate;return t===nt||e!==null&&e===nt}function Uo(t,e){zn=Uu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Mo(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,qr(t,l)}}var Ta={readContext:kt,use:Bu,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt};Ta.useEffectEvent=zt;var Do={readContext:kt,use:Bu,useCallback:function(t,e){return ee().memoizedState=[t,e===void 0?null:e],t},useContext:kt,useEffect:po,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Hu(4194308,4,Eo.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Hu(4194308,4,t,e)},useInsertionEffect:function(t,e){Hu(4,2,t,e)},useMemo:function(t,e){var l=ee();e=e===void 0?null:e;var n=t();if($l){sl(!0);try{t()}finally{sl(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=ee();if(l!==void 0){var a=l(e);if($l){sl(!0);try{l(e)}finally{sl(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=O0.bind(null,nt,t),[n.memoizedState,t]},useRef:function(t){var e=ee();return t={current:t},e.memoizedState=t},useState:function(t){t=Kc(t);var e=t.queue,l=jo.bind(null,nt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Fc,useDeferredValue:function(t,e){var l=ee();return Wc(l,t,e)},useTransition:function(){var t=Kc(!1);return t=Ro.bind(null,nt,t.queue,!0,!1),ee().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=nt,a=ee();if(ot){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),At===null)throw Error(s(349));(rt&127)!==0||to(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,po(lo.bind(null,n,u,t),[t]),n.flags|=2048,jn(9,{destroy:void 0},eo.bind(null,n,u,l,e),null),l},useId:function(){var t=ee(),e=At.identifierPrefix;if(ot){var l=Ye,n=we;l=(n&~(1<<32-ve(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Mu++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=p0++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Pc,useFormState:oo,useActionState:oo,useOptimistic:function(t){var e=ee();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Ic.bind(null,nt,!0,l),l.dispatch=e,[t,e]},useMemoCache:Xc,useCacheRefresh:function(){return ee().memoizedState=A0.bind(null,nt)},useEffectEvent:function(t){var e=ee(),l={impl:t};return e.memoizedState=l,function(){if((yt&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}},ts={readContext:kt,use:Bu,useCallback:Ao,useContext:kt,useEffect:kc,useImperativeHandle:To,useInsertionEffect:So,useLayoutEffect:bo,useMemo:Oo,useReducer:qu,useRef:vo,useState:function(){return qu($e)},useDebugValue:Fc,useDeferredValue:function(t,e){var l=Dt();return xo(l,bt.memoizedState,t,e)},useTransition:function(){var t=qu($e)[0],e=Dt().memoizedState;return[typeof t=="boolean"?t:ba(t),e]},useSyncExternalStore:If,useId:zo,useHostTransitionStatus:Pc,useFormState:ho,useActionState:ho,useOptimistic:function(t,e){var l=Dt();return uo(l,bt,t,e)},useMemoCache:Xc,useCacheRefresh:Co};ts.useEffectEvent=go;var Bo={readContext:kt,use:Bu,useCallback:Ao,useContext:kt,useEffect:kc,useImperativeHandle:To,useInsertionEffect:So,useLayoutEffect:bo,useMemo:Oo,useReducer:Zc,useRef:vo,useState:function(){return Zc($e)},useDebugValue:Fc,useDeferredValue:function(t,e){var l=Dt();return bt===null?Wc(l,t,e):xo(l,bt.memoizedState,t,e)},useTransition:function(){var t=Zc($e)[0],e=Dt().memoizedState;return[typeof t=="boolean"?t:ba(t),e]},useSyncExternalStore:If,useId:zo,useHostTransitionStatus:Pc,useFormState:yo,useActionState:yo,useOptimistic:function(t,e){var l=Dt();return bt!==null?uo(l,bt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Xc,useCacheRefresh:Co};Bo.useEffectEvent=go;function es(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:A({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var ls={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=Ae(),a=vl(n);a.payload=e,l!=null&&(a.callback=l),e=pl(t,a,n),e!==null&&(re(e,t,n),va(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=Ae(),a=vl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=pl(t,a,n),e!==null&&(re(e,t,n),va(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Ae(),n=vl(l);n.tag=2,e!=null&&(n.callback=e),e=pl(t,n,l),e!==null&&(re(e,t,l),va(e,t,l))}};function qo(t,e,l,n,a,u,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,u,f):e.prototype&&e.prototype.isPureReactComponent?!sa(l,n)||!sa(a,u):!0}function Ho(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&ls.enqueueReplaceState(e,e.state,null)}function Pl(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=A({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function Lo(t){pu(t)}function wo(t){console.error(t)}function Yo(t){pu(t)}function Yu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function Go(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function ns(t,e,l){return l=vl(l),l.tag=3,l.payload={element:null},l.callback=function(){Yu(t,e)},l}function Qo(t){return t=vl(t),t.tag=3,t}function Xo(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;t.payload=function(){return a(u)},t.callback=function(){Go(e,l,n)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){Go(e,l,n),typeof a!="function"&&(Al===null?Al=new Set([this]):Al.add(this));var h=n.stack;this.componentDidCatch(n.value,{componentStack:h!==null?h:""})})}function x0(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&An(e,l,a,!0),l=Se.current,l!==null){switch(l.tag){case 31:case 13:return je===null?Pu():l.alternate===null&&Ct===0&&(Ct=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Nu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),_s(t,n,a)),!1;case 22:return l.flags|=65536,n===Nu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),_s(t,n,a)),!1}throw Error(s(435,l.tag))}return _s(t,n,a),Pu(),!1}if(ot)return e=Se.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==Tc&&(t=Error(s(422),{cause:n}),oa(Ne(t,l)))):(n!==Tc&&(e=Error(s(423),{cause:n}),oa(Ne(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=Ne(n,l),a=ns(t.stateNode,n,a),Mc(t,a),Ct!==4&&(Ct=2)),!1;var u=Error(s(520),{cause:n});if(u=Ne(u,l),Ca===null?Ca=[u]:Ca.push(u),Ct!==4&&(Ct=2),e===null)return!0;n=Ne(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=ns(l.stateNode,n,t),Mc(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Al===null||!Al.has(u))))return l.flags|=65536,a&=-a,l.lanes|=a,a=Qo(a),Xo(a,t,l,n),Mc(l,a),!1}l=l.return}while(l!==null);return!1}var as=Error(s(461)),Lt=!1;function Ft(t,e,l,n){e.child=t===null?Kf(e,null,l,n):Wl(e,t.child,l,n)}function Vo(t,e,l,n,a){l=l.render;var u=e.ref;if("ref"in n){var f={};for(var h in n)h!=="ref"&&(f[h]=n[h])}else f=n;return Kl(e),n=wc(t,e,l,f,u,a),h=Yc(),t!==null&&!Lt?(Gc(t,e,a),Pe(t,e,a)):(ot&&h&&bc(e),e.flags|=1,Ft(t,e,n,a),e.child)}function Zo(t,e,l,n,a){if(t===null){var u=l.type;return typeof u=="function"&&!pc(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,Ko(t,e,u,n,a)):(t=Eu(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!ds(t,a)){var f=u.memoizedProps;if(l=l.compare,l=l!==null?l:sa,l(f,n)&&t.ref===e.ref)return Pe(t,e,a)}return e.flags|=1,t=Ke(u,n),t.ref=e.ref,t.return=e,e.child=t}function Ko(t,e,l,n,a){if(t!==null){var u=t.memoizedProps;if(sa(u,n)&&t.ref===e.ref)if(Lt=!1,e.pendingProps=n=u,ds(t,a))(t.flags&131072)!==0&&(Lt=!0);else return e.lanes=t.lanes,Pe(t,e,a)}return us(t,e,l,n,a)}function Jo(t,e,l,n){var a=n.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~u}else n=0,e.child=null;return ko(t,e,u,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&xu(e,u!==null?u.cachePool:null),u!==null?Ff(e,u):Bc(),Wf(e);else return n=e.lanes=536870912,ko(t,e,u!==null?u.baseLanes|l:l,l,n)}else u!==null?(xu(e,u.cachePool),Ff(e,u),Sl(),e.memoizedState=null):(t!==null&&xu(e,null),Bc(),Sl());return Ft(t,e,a,l),e.child}function Aa(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function ko(t,e,l,n,a){var u=zc();return u=u===null?null:{parent:qt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&xu(e,null),Bc(),Wf(e),t!==null&&An(t,e,n,!0),e.childLanes=a,null}function Gu(t,e){return e=Xu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Fo(t,e,l){return Wl(e,t.child,null,l),t=Gu(e,e.pendingProps),t.flags|=2,be(e),e.memoizedState=null,t}function R0(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(ot){if(n.mode==="hidden")return t=Gu(e,n),e.lanes=536870912,Aa(null,t);if(Hc(e),(t=xt)?(t=ch(t,Ce),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:ol!==null?{id:we,overflow:Ye}:null,retryLane:536870912,hydrationErrors:null},l=jf(t),l.return=e,e.child=l,Jt=e,xt=null)):t=null,t===null)throw hl(e);return e.lanes=536870912,null}return Gu(e,n)}var u=t.memoizedState;if(u!==null){var f=u.dehydrated;if(Hc(e),a)if(e.flags&256)e.flags&=-257,e=Fo(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(s(558));else if(Lt||An(t,e,l,!1),a=(l&t.childLanes)!==0,Lt||a){if(n=At,n!==null&&(f=Hr(n,l),f!==0&&f!==u.retryLane))throw u.retryLane=f,Ql(t,f),re(n,t,f),as;Pu(),e=Fo(t,e,l)}else t=u.treeContext,xt=Ue(f.nextSibling),Jt=e,ot=!0,dl=null,Ce=!1,t!==null&&Df(e,t),e=Gu(e,n),e.flags|=4096;return e}return t=Ke(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Qu(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(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function us(t,e,l,n,a){return Kl(e),l=wc(t,e,l,n,void 0,a),n=Yc(),t!==null&&!Lt?(Gc(t,e,a),Pe(t,e,a)):(ot&&n&&bc(e),e.flags|=1,Ft(t,e,l,a),e.child)}function Wo(t,e,l,n,a,u){return Kl(e),e.updateQueue=null,l=Pf(e,n,l,a),$f(t),n=Yc(),t!==null&&!Lt?(Gc(t,e,u),Pe(t,e,u)):(ot&&n&&bc(e),e.flags|=1,Ft(t,e,l,u),e.child)}function $o(t,e,l,n,a){if(Kl(e),e.stateNode===null){var u=Sn,f=l.contextType;typeof f=="object"&&f!==null&&(u=kt(f)),u=new l(n,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=ls,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=n,u.state=e.memoizedState,u.refs={},jc(e),f=l.contextType,u.context=typeof f=="object"&&f!==null?kt(f):Sn,u.state=e.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(es(e,l,f,n),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&ls.enqueueReplaceState(u,u.state,null),ga(e,n,u,a),pa(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){u=e.stateNode;var h=e.memoizedProps,g=Pl(l,h);u.props=g;var N=u.context,M=l.contextType;f=Sn,typeof M=="object"&&M!==null&&(f=kt(M));var L=l.getDerivedStateFromProps;M=typeof L=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=e.pendingProps!==h,M||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||N!==f)&&Ho(e,u,n,f),yl=!1;var _=e.memoizedState;u.state=_,ga(e,n,u,a),pa(),N=e.memoizedState,h||_!==N||yl?(typeof L=="function"&&(es(e,l,L,n),N=e.memoizedState),(g=yl||qo(e,l,g,n,_,N,f))?(M||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=N),u.props=n,u.state=N,u.context=f,n=g):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{u=e.stateNode,Uc(t,e),f=e.memoizedProps,M=Pl(l,f),u.props=M,L=e.pendingProps,_=u.context,N=l.contextType,g=Sn,typeof N=="object"&&N!==null&&(g=kt(N)),h=l.getDerivedStateFromProps,(N=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==L||_!==g)&&Ho(e,u,n,g),yl=!1,_=e.memoizedState,u.state=_,ga(e,n,u,a),pa();var C=e.memoizedState;f!==L||_!==C||yl||t!==null&&t.dependencies!==null&&Au(t.dependencies)?(typeof h=="function"&&(es(e,l,h,n),C=e.memoizedState),(M=yl||qo(e,l,M,n,_,C,g)||t!==null&&t.dependencies!==null&&Au(t.dependencies))?(N||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,C,g),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,C,g)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&_===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&_===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=C),u.props=n,u.state=C,u.context=g,n=M):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&_===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&_===t.memoizedState||(e.flags|=1024),n=!1)}return u=n,Qu(t,e),n=(e.flags&128)!==0,u||n?(u=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&n?(e.child=Wl(e,t.child,null,a),e.child=Wl(e,null,l,a)):Ft(t,e,l,a),e.memoizedState=u.state,t=e.child):t=Pe(t,e,a),t}function Po(t,e,l,n){return Vl(),e.flags|=256,Ft(t,e,l,n),e.child}var is={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function cs(t){return{baseLanes:t,cachePool:Yf()}}function ss(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Te),t}function Io(t,e,l){var n=e.pendingProps,a=!1,u=(e.flags&128)!==0,f;if((f=u)||(f=t!==null&&t.memoizedState===null?!1:(Mt.current&2)!==0),f&&(a=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(ot){if(a?gl(e):Sl(),(t=xt)?(t=ch(t,Ce),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:ol!==null?{id:we,overflow:Ye}:null,retryLane:536870912,hydrationErrors:null},l=jf(t),l.return=e,e.child=l,Jt=e,xt=null)):t=null,t===null)throw hl(e);return Vs(t)?e.lanes=32:e.lanes=536870912,null}var h=n.children;return n=n.fallback,a?(Sl(),a=e.mode,h=Xu({mode:"hidden",children:h},a),n=Xl(n,a,l,null),h.return=e,n.return=e,h.sibling=n,e.child=h,n=e.child,n.memoizedState=cs(l),n.childLanes=ss(t,f,l),e.memoizedState=is,Aa(null,n)):(gl(e),rs(e,h))}var g=t.memoizedState;if(g!==null&&(h=g.dehydrated,h!==null)){if(u)e.flags&256?(gl(e),e.flags&=-257,e=fs(t,e,l)):e.memoizedState!==null?(Sl(),e.child=t.child,e.flags|=128,e=null):(Sl(),h=n.fallback,a=e.mode,n=Xu({mode:"visible",children:n.children},a),h=Xl(h,a,l,null),h.flags|=2,n.return=e,h.return=e,n.sibling=h,e.child=n,Wl(e,t.child,null,l),n=e.child,n.memoizedState=cs(l),n.childLanes=ss(t,f,l),e.memoizedState=is,e=Aa(null,n));else if(gl(e),Vs(h)){if(f=h.nextSibling&&h.nextSibling.dataset,f)var N=f.dgst;f=N,n=Error(s(419)),n.stack="",n.digest=f,oa({value:n,source:null,stack:null}),e=fs(t,e,l)}else if(Lt||An(t,e,l,!1),f=(l&t.childLanes)!==0,Lt||f){if(f=At,f!==null&&(n=Hr(f,l),n!==0&&n!==g.retryLane))throw g.retryLane=n,Ql(t,n),re(f,t,n),as;Xs(h)||Pu(),e=fs(t,e,l)}else Xs(h)?(e.flags|=192,e.child=t.child,e=null):(t=g.treeContext,xt=Ue(h.nextSibling),Jt=e,ot=!0,dl=null,Ce=!1,t!==null&&Df(e,t),e=rs(e,n.children),e.flags|=4096);return e}return a?(Sl(),h=n.fallback,a=e.mode,g=t.child,N=g.sibling,n=Ke(g,{mode:"hidden",children:n.children}),n.subtreeFlags=g.subtreeFlags&65011712,N!==null?h=Ke(N,h):(h=Xl(h,a,l,null),h.flags|=2),h.return=e,n.return=e,n.sibling=h,e.child=n,Aa(null,n),n=e.child,h=t.child.memoizedState,h===null?h=cs(l):(a=h.cachePool,a!==null?(g=qt._currentValue,a=a.parent!==g?{parent:g,pool:g}:a):a=Yf(),h={baseLanes:h.baseLanes|l,cachePool:a}),n.memoizedState=h,n.childLanes=ss(t,f,l),e.memoizedState=is,Aa(t.child,n)):(gl(e),l=t.child,t=l.sibling,l=Ke(l,{mode:"visible",children:n.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 rs(t,e){return e=Xu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Xu(t,e){return t=ge(22,t,null,e),t.lanes=0,t}function fs(t,e,l){return Wl(e,t.child,null,l),t=rs(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function td(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),xc(t.return,e,l)}function os(t,e,l,n,a,u){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:u}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=n,f.tail=l,f.tailMode=a,f.treeForkCount=u)}function ed(t,e,l){var n=e.pendingProps,a=n.revealOrder,u=n.tail;n=n.children;var f=Mt.current,h=(f&2)!==0;if(h?(f=f&1|2,e.flags|=128):f&=1,Q(Mt,f),Ft(t,e,n,l),n=ot?fa:0,!h&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&td(t,l,e);else if(t.tag===19)td(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}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&ju(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),os(e,!1,a,l,u,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&ju(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}os(e,!0,l,null,u,n);break;case"together":os(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function Pe(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Tl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(An(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=Ke(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Ke(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function ds(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Au(t)))}function N0(t,e,l){switch(e.tag){case 3:te(e,e.stateNode.containerInfo),ml(e,qt,t.memoizedState.cache),Vl();break;case 27:case 5:Fn(e);break;case 4:te(e,e.stateNode.containerInfo);break;case 10:ml(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Hc(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(gl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?Io(t,e,l):(gl(e),t=Pe(t,e,l),t!==null?t.sibling:null);gl(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(An(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return ed(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Q(Mt,Mt.current),n)break;return null;case 22:return e.lanes=0,Jo(t,e,l,e.pendingProps);case 24:ml(e,qt,t.memoizedState.cache)}return Pe(t,e,l)}function ld(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Lt=!0;else{if(!ds(t,l)&&(e.flags&128)===0)return Lt=!1,N0(t,e,l);Lt=(t.flags&131072)!==0}else Lt=!1,ot&&(e.flags&1048576)!==0&&Mf(e,fa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=kl(e.elementType),e.type=t,typeof t=="function")pc(t)?(n=Pl(t,n),e.tag=1,e=$o(null,e,t,n,l)):(e.tag=0,e=us(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===J){e.tag=11,e=Vo(null,e,t,n,l);break t}else if(a===P){e.tag=14,e=Zo(null,e,t,n,l);break t}}throw e=Zt(t)||t,Error(s(306,e,""))}}return e;case 0:return us(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Pl(n,e.pendingProps),$o(t,e,n,a,l);case 3:t:{if(te(e,e.stateNode.containerInfo),t===null)throw Error(s(387));n=e.pendingProps;var u=e.memoizedState;a=u.element,Uc(t,e),ga(e,n,null,l);var f=e.memoizedState;if(n=f.cache,ml(e,qt,n),n!==u.cache&&Rc(e,[qt],l,!0),pa(),n=f.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Po(t,e,n,l);break t}else if(n!==a){a=Ne(Error(s(424)),e),oa(a),e=Po(t,e,n,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(xt=Ue(t.firstChild),Jt=e,ot=!0,dl=null,Ce=!0,l=Kf(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Vl(),n===a){e=Pe(t,e,l);break t}Ft(t,e,n,l)}e=e.child}return e;case 26:return Qu(t,e),t===null?(l=hh(e.type,null,e.pendingProps,null))?e.memoizedState=l:ot||(l=e.type,t=e.pendingProps,n=ui(ut.current).createElement(l),n[Kt]=e,n[ne]=t,Wt(n,l,t),Qt(n),e.stateNode=n):e.memoizedState=hh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Fn(e),t===null&&ot&&(n=e.stateNode=fh(e.type,e.pendingProps,ut.current),Jt=e,Ce=!0,a=xt,Nl(e.type)?(Zs=a,xt=Ue(n.firstChild)):xt=a),Ft(t,e,e.pendingProps.children,l),Qu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ot&&((a=n=xt)&&(n=nv(n,e.type,e.pendingProps,Ce),n!==null?(e.stateNode=n,Jt=e,xt=Ue(n.firstChild),Ce=!1,a=!0):a=!1),a||hl(e)),Fn(e),a=e.type,u=e.pendingProps,f=t!==null?t.memoizedProps:null,n=u.children,Ys(a,u)?n=null:f!==null&&Ys(a,f)&&(e.flags|=32),e.memoizedState!==null&&(a=wc(t,e,g0,null,null,l),La._currentValue=a),Qu(t,e),Ft(t,e,n,l),e.child;case 6:return t===null&&ot&&((t=l=xt)&&(l=av(l,e.pendingProps,Ce),l!==null?(e.stateNode=l,Jt=e,xt=null,t=!0):t=!1),t||hl(e)),null;case 13:return Io(t,e,l);case 4:return te(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Wl(e,null,n,l):Ft(t,e,n,l),e.child;case 11:return Vo(t,e,e.type,e.pendingProps,l);case 7:return Ft(t,e,e.pendingProps,l),e.child;case 8:return Ft(t,e,e.pendingProps.children,l),e.child;case 12:return Ft(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,ml(e,e.type,n.value),Ft(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,Kl(e),a=kt(a),n=n(a),e.flags|=1,Ft(t,e,n,l),e.child;case 14:return Zo(t,e,e.type,e.pendingProps,l);case 15:return Ko(t,e,e.type,e.pendingProps,l);case 19:return ed(t,e,l);case 31:return R0(t,e,l);case 22:return Jo(t,e,l,e.pendingProps);case 24:return Kl(e),n=kt(qt),t===null?(a=zc(),a===null&&(a=At,u=Nc(),a.pooledCache=u,u.refCount++,u!==null&&(a.pooledCacheLanes|=l),a=u),e.memoizedState={parent:n,cache:a},jc(e),ml(e,qt,a)):((t.lanes&l)!==0&&(Uc(t,e),ga(e,null,null,l),pa()),a=t.memoizedState,u=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),ml(e,qt,n)):(n=u.cache,ml(e,qt,n),n!==a.cache&&Rc(e,[qt],l,!0))),Ft(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function Ie(t){t.flags|=4}function hs(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(zd())t.flags|=8192;else throw Fl=Nu,Cc}else t.flags&=-16777217}function nd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!gh(e))if(zd())t.flags|=8192;else throw Fl=Nu,Cc}function Vu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Dr():536870912,t.lanes|=e,Bn|=e)}function Oa(t,e){if(!ot)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 n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Rt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function _0(t,e,l){var n=e.pendingProps;switch(Ec(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(e),null;case 1:return Rt(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Fe(qt),Ut(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Tn(e)?Ie(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ac())),Rt(e),null;case 26:var a=e.type,u=e.memoizedState;return t===null?(Ie(e),u!==null?(Rt(e),nd(e,u)):(Rt(e),hs(e,a,null,n,l))):u?u!==t.memoizedState?(Ie(e),Rt(e),nd(e,u)):(Rt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&Ie(e),Rt(e),hs(e,a,t,n,l)),null;case 27:if(eu(e),l=ut.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ie(e);else{if(!n){if(e.stateNode===null)throw Error(s(166));return Rt(e),null}t=V.current,Tn(e)?Bf(e):(t=fh(a,n,l),e.stateNode=t,Ie(e))}return Rt(e),null;case 5:if(eu(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&Ie(e);else{if(!n){if(e.stateNode===null)throw Error(s(166));return Rt(e),null}if(u=V.current,Tn(e))Bf(e);else{var f=ui(ut.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":u=f.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?f.createElement("select",{is:n.is}):f.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?f.createElement(a,{is:n.is}):f.createElement(a)}}u[Kt]=e,u[ne]=n;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)u.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=u;t:switch(Wt(u,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&Ie(e)}}return Rt(e),hs(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Ie(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(s(166));if(t=ut.current,Tn(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=Jt,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[Kt]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||Id(t.nodeValue,l)),t||hl(e,!0)}else t=ui(t).createTextNode(n),t[Kt]=e,e.stateNode=t}return Rt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=Tn(e),l!==null){if(t===null){if(!n)throw Error(s(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[Kt]=e}else Vl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Rt(e),t=!1}else l=Ac(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(be(e),e):(be(e),null);if((e.flags&128)!==0)throw Error(s(558))}return Rt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=Tn(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(s(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[Kt]=e}else Vl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Rt(e),a=!1}else a=Ac(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(be(e),e):(be(e),null)}return be(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Vu(e,e.updateQueue),Rt(e),null);case 4:return Ut(),t===null&&Bs(e.stateNode.containerInfo),Rt(e),null;case 10:return Fe(e.type),Rt(e),null;case 19:if(H(Mt),n=e.memoizedState,n===null)return Rt(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)Oa(n,!1);else{if(Ct!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=ju(t),u!==null){for(e.flags|=128,Oa(n,!1),t=u.updateQueue,e.updateQueue=t,Vu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Cf(l,t),l=l.sibling;return Q(Mt,Mt.current&1|2),ot&&Je(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&me()>Fu&&(e.flags|=128,a=!0,Oa(n,!1),e.lanes=4194304)}else{if(!a)if(t=ju(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Vu(e,t),Oa(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!ot)return Rt(e),null}else 2*me()-n.renderingStartTime>Fu&&l!==536870912&&(e.flags|=128,a=!0,Oa(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=me(),t.sibling=null,l=Mt.current,Q(Mt,a?l&1|2:l&1),ot&&Je(e,n.treeForkCount),t):(Rt(e),null);case 22:case 23:return be(e),qc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),l=e.updateQueue,l!==null&&Vu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&H(Jl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Fe(qt),Rt(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function z0(t,e){switch(Ec(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Fe(qt),Ut(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return eu(e),null;case 31:if(e.memoizedState!==null){if(be(e),e.alternate===null)throw Error(s(340));Vl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(be(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));Vl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return H(Mt),null;case 4:return Ut(),null;case 10:return Fe(e.type),null;case 22:case 23:return be(e),qc(),t!==null&&H(Jl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Fe(qt),null;case 25:return null;default:return null}}function ad(t,e){switch(Ec(e),e.tag){case 3:Fe(qt),Ut();break;case 26:case 27:case 5:eu(e);break;case 4:Ut();break;case 31:e.memoizedState!==null&&be(e);break;case 13:be(e);break;case 19:H(Mt);break;case 10:Fe(e.type);break;case 22:case 23:be(e),qc(),t!==null&&H(Jl);break;case 24:Fe(qt)}}function xa(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var u=l.create,f=l.inst;n=u(),f.destroy=n}l=l.next}while(l!==a)}}catch(h){St(e,e.return,h)}}function bl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){var f=n.inst,h=f.destroy;if(h!==void 0){f.destroy=void 0,a=e;var g=l,N=h;try{N()}catch(M){St(a,g,M)}}}n=n.next}while(n!==u)}}catch(M){St(e,e.return,M)}}function ud(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{kf(e,l)}catch(n){St(t,t.return,n)}}}function id(t,e,l){l.props=Pl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){St(t,e,n)}}function Ra(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){St(t,e,a)}}function Ge(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){St(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){St(t,e,a)}else l.current=null}function cd(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){St(t,t.return,a)}}function ms(t,e,l){try{var n=t.stateNode;$0(n,t.type,l,e),n[ne]=e}catch(a){St(t,t.return,a)}}function sd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Nl(t.type)||t.tag===4}function ys(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||sd(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&&Nl(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 vs(t,e,l){var n=t.tag;if(n===5||n===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=Ve));else if(n!==4&&(n===27&&Nl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(vs(t,e,l),t=t.sibling;t!==null;)vs(t,e,l),t=t.sibling}function Zu(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&Nl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Zu(t,e,l),t=t.sibling;t!==null;)Zu(t,e,l),t=t.sibling}function rd(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Wt(e,n,l),e[Kt]=t,e[ne]=l}catch(u){St(t,t.return,u)}}var tl=!1,wt=!1,ps=!1,fd=typeof WeakSet=="function"?WeakSet:Set,Xt=null;function C0(t,e){if(t=t.containerInfo,Ls=di,t=Ef(t),fc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,u=n.focusNode;n=n.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var f=0,h=-1,g=-1,N=0,M=0,L=t,_=null;e:for(;;){for(var C;L!==l||a!==0&&L.nodeType!==3||(h=f+a),L!==u||n!==0&&L.nodeType!==3||(g=f+n),L.nodeType===3&&(f+=L.nodeValue.length),(C=L.firstChild)!==null;)_=L,L=C;for(;;){if(L===t)break e;if(_===l&&++N===a&&(h=f),_===u&&++M===n&&(g=f),(C=L.nextSibling)!==null)break;L=_,_=L.parentNode}L=C}l=h===-1||g===-1?null:{start:h,end:g}}else l=null}l=l||{start:0,end:0}}else l=null;for(ws={focusedElem:t,selectionRange:l},di=!1,Xt=e;Xt!==null;)if(e=Xt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Xt=t;else for(;Xt!==null;){switch(e=Xt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,a=u.memoizedProps,u=u.memoizedState,n=l.stateNode;try{var K=Pl(l.type,a);t=n.getSnapshotBeforeUpdate(K,u),n.__reactInternalSnapshotBeforeUpdate=t}catch(I){St(l,l.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Qs(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Qs(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(s(163))}if(t=e.sibling,t!==null){t.return=e.return,Xt=t;break}Xt=e.return}}function od(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:ll(t,l),n&4&&xa(5,l);break;case 1:if(ll(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(f){St(l,l.return,f)}else{var a=Pl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){St(l,l.return,f)}}n&64&&ud(l),n&512&&Ra(l,l.return);break;case 3:if(ll(t,l),n&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{kf(t,e)}catch(f){St(l,l.return,f)}}break;case 27:e===null&&n&4&&rd(l);case 26:case 5:ll(t,l),e===null&&n&4&&cd(l),n&512&&Ra(l,l.return);break;case 12:ll(t,l);break;case 31:ll(t,l),n&4&&md(t,l);break;case 13:ll(t,l),n&4&&yd(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=w0.bind(null,l),uv(t,l))));break;case 22:if(n=l.memoizedState!==null||tl,!n){e=e!==null&&e.memoizedState!==null||wt,a=tl;var u=wt;tl=n,(wt=e)&&!u?nl(t,l,(l.subtreeFlags&8772)!==0):ll(t,l),tl=a,wt=u}break;case 30:break;default:ll(t,l)}}function dd(t){var e=t.alternate;e!==null&&(t.alternate=null,dd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Ji(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 Nt=null,ue=!1;function el(t,e,l){for(l=l.child;l!==null;)hd(t,e,l),l=l.sibling}function hd(t,e,l){if(ye&&typeof ye.onCommitFiberUnmount=="function")try{ye.onCommitFiberUnmount(Wn,l)}catch{}switch(l.tag){case 26:wt||Ge(l,e),el(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:wt||Ge(l,e);var n=Nt,a=ue;Nl(l.type)&&(Nt=l.stateNode,ue=!1),el(t,e,l),Ba(l.stateNode),Nt=n,ue=a;break;case 5:wt||Ge(l,e);case 6:if(n=Nt,a=ue,Nt=null,el(t,e,l),Nt=n,ue=a,Nt!==null)if(ue)try{(Nt.nodeType===9?Nt.body:Nt.nodeName==="HTML"?Nt.ownerDocument.body:Nt).removeChild(l.stateNode)}catch(u){St(l,e,u)}else try{Nt.removeChild(l.stateNode)}catch(u){St(l,e,u)}break;case 18:Nt!==null&&(ue?(t=Nt,uh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Xn(t)):uh(Nt,l.stateNode));break;case 4:n=Nt,a=ue,Nt=l.stateNode.containerInfo,ue=!0,el(t,e,l),Nt=n,ue=a;break;case 0:case 11:case 14:case 15:bl(2,l,e),wt||bl(4,l,e),el(t,e,l);break;case 1:wt||(Ge(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&id(l,e,n)),el(t,e,l);break;case 21:el(t,e,l);break;case 22:wt=(n=wt)||l.memoizedState!==null,el(t,e,l),wt=n;break;default:el(t,e,l)}}function md(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Xn(t)}catch(l){St(e,e.return,l)}}}function yd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Xn(t)}catch(l){St(e,e.return,l)}}function j0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new fd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new fd),e;default:throw Error(s(435,t.tag))}}function Ku(t,e){var l=j0(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=Y0.bind(null,t,n);n.then(a,a)}})}function ie(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],u=t,f=e,h=f;t:for(;h!==null;){switch(h.tag){case 27:if(Nl(h.type)){Nt=h.stateNode,ue=!1;break t}break;case 5:Nt=h.stateNode,ue=!1;break t;case 3:case 4:Nt=h.stateNode.containerInfo,ue=!0;break t}h=h.return}if(Nt===null)throw Error(s(160));hd(u,f,a),Nt=null,ue=!1,u=a.alternate,u!==null&&(u.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)vd(e,t),e=e.sibling}var qe=null;function vd(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ie(e,t),ce(t),n&4&&(bl(3,t,t.return),xa(3,t),bl(5,t,t.return));break;case 1:ie(e,t),ce(t),n&512&&(wt||l===null||Ge(l,l.return)),n&64&&tl&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=qe;if(ie(e,t),ce(t),n&512&&(wt||l===null||Ge(l,l.return)),n&4){var u=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":u=a.getElementsByTagName("title")[0],(!u||u[In]||u[Kt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=a.createElement(n),a.head.insertBefore(u,a.querySelector("head > title"))),Wt(u,n,l),u[Kt]=t,Qt(u),n=u;break t;case"link":var f=vh("link","href",a).get(n+(l.href||""));if(f){for(var h=0;h<f.length;h++)if(u=f[h],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(h,1);break e}}u=a.createElement(n),Wt(u,n,l),a.head.appendChild(u);break;case"meta":if(f=vh("meta","content",a).get(n+(l.content||""))){for(h=0;h<f.length;h++)if(u=f[h],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(h,1);break e}}u=a.createElement(n),Wt(u,n,l),a.head.appendChild(u);break;default:throw Error(s(468,n))}u[Kt]=t,Qt(u),n=u}t.stateNode=n}else ph(a,t.type,t.stateNode);else t.stateNode=yh(a,n,t.memoizedProps);else u!==n?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,n===null?ph(a,t.type,t.stateNode):yh(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&ms(t,t.memoizedProps,l.memoizedProps)}break;case 27:ie(e,t),ce(t),n&512&&(wt||l===null||Ge(l,l.return)),l!==null&&n&4&&ms(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ie(e,t),ce(t),n&512&&(wt||l===null||Ge(l,l.return)),t.flags&32){a=t.stateNode;try{dn(a,"")}catch(K){St(t,t.return,K)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,ms(t,a,l!==null?l.memoizedProps:a)),n&1024&&(ps=!0);break;case 6:if(ie(e,t),ce(t),n&4){if(t.stateNode===null)throw Error(s(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(K){St(t,t.return,K)}}break;case 3:if(si=null,a=qe,qe=ii(e.containerInfo),ie(e,t),qe=a,ce(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Xn(e.containerInfo)}catch(K){St(t,t.return,K)}ps&&(ps=!1,pd(t));break;case 4:n=qe,qe=ii(t.stateNode.containerInfo),ie(e,t),ce(t),qe=n;break;case 12:ie(e,t),ce(t);break;case 31:ie(e,t),ce(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Ku(t,n)));break;case 13:ie(e,t),ce(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ku=me()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Ku(t,n)));break;case 22:a=t.memoizedState!==null;var g=l!==null&&l.memoizedState!==null,N=tl,M=wt;if(tl=N||a,wt=M||g,ie(e,t),wt=M,tl=N,ce(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||g||tl||wt||Il(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){g=l=e;try{if(u=g.stateNode,a)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{h=g.stateNode;var L=g.memoizedProps.style,_=L!=null&&L.hasOwnProperty("display")?L.display:null;h.style.display=_==null||typeof _=="boolean"?"":(""+_).trim()}}catch(K){St(g,g.return,K)}}}else if(e.tag===6){if(l===null){g=e;try{g.stateNode.nodeValue=a?"":g.memoizedProps}catch(K){St(g,g.return,K)}}}else if(e.tag===18){if(l===null){g=e;try{var C=g.stateNode;a?ih(C,!0):ih(g.stateNode,!1)}catch(K){St(g,g.return,K)}}}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}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,Ku(t,l))));break;case 19:ie(e,t),ce(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Ku(t,n)));break;case 30:break;case 21:break;default:ie(e,t),ce(t)}}function ce(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(sd(n)){l=n;break}n=n.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var a=l.stateNode,u=ys(t);Zu(t,u,a);break;case 5:var f=l.stateNode;l.flags&32&&(dn(f,""),l.flags&=-33);var h=ys(t);Zu(t,h,f);break;case 3:case 4:var g=l.stateNode.containerInfo,N=ys(t);vs(t,N,g);break;default:throw Error(s(161))}}catch(M){St(t,t.return,M)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function pd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;pd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function ll(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)od(t,e.alternate,e),e=e.sibling}function Il(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:bl(4,e,e.return),Il(e);break;case 1:Ge(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&id(e,e.return,l),Il(e);break;case 27:Ba(e.stateNode);case 26:case 5:Ge(e,e.return),Il(e);break;case 22:e.memoizedState===null&&Il(e);break;case 30:Il(e);break;default:Il(e)}t=t.sibling}}function nl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,u=e,f=u.flags;switch(u.tag){case 0:case 11:case 15:nl(a,u,l),xa(4,u);break;case 1:if(nl(a,u,l),n=u,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(N){St(n,n.return,N)}if(n=u,a=n.updateQueue,a!==null){var h=n.stateNode;try{var g=a.shared.hiddenCallbacks;if(g!==null)for(a.shared.hiddenCallbacks=null,a=0;a<g.length;a++)Jf(g[a],h)}catch(N){St(n,n.return,N)}}l&&f&64&&ud(u),Ra(u,u.return);break;case 27:rd(u);case 26:case 5:nl(a,u,l),l&&n===null&&f&4&&cd(u),Ra(u,u.return);break;case 12:nl(a,u,l);break;case 31:nl(a,u,l),l&&f&4&&md(a,u);break;case 13:nl(a,u,l),l&&f&4&&yd(a,u);break;case 22:u.memoizedState===null&&nl(a,u,l),Ra(u,u.return);break;case 30:break;default:nl(a,u,l)}e=e.sibling}}function gs(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&&da(l))}function Ss(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&da(t))}function He(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)gd(t,e,l,n),e=e.sibling}function gd(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:He(t,e,l,n),a&2048&&xa(9,e);break;case 1:He(t,e,l,n);break;case 3:He(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&da(t)));break;case 12:if(a&2048){He(t,e,l,n),t=e.stateNode;try{var u=e.memoizedProps,f=u.id,h=u.onPostCommit;typeof h=="function"&&h(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(g){St(e,e.return,g)}}else He(t,e,l,n);break;case 31:He(t,e,l,n);break;case 13:He(t,e,l,n);break;case 23:break;case 22:u=e.stateNode,f=e.alternate,e.memoizedState!==null?u._visibility&2?He(t,e,l,n):Na(t,e):u._visibility&2?He(t,e,l,n):(u._visibility|=2,Un(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&gs(f,e);break;case 24:He(t,e,l,n),a&2048&&Ss(e.alternate,e);break;default:He(t,e,l,n)}}function Un(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,f=e,h=l,g=n,N=f.flags;switch(f.tag){case 0:case 11:case 15:Un(u,f,h,g,a),xa(8,f);break;case 23:break;case 22:var M=f.stateNode;f.memoizedState!==null?M._visibility&2?Un(u,f,h,g,a):Na(u,f):(M._visibility|=2,Un(u,f,h,g,a)),a&&N&2048&&gs(f.alternate,f);break;case 24:Un(u,f,h,g,a),a&&N&2048&&Ss(f.alternate,f);break;default:Un(u,f,h,g,a)}e=e.sibling}}function Na(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:Na(l,n),a&2048&&gs(n.alternate,n);break;case 24:Na(l,n),a&2048&&Ss(n.alternate,n);break;default:Na(l,n)}e=e.sibling}}var _a=8192;function Mn(t,e,l){if(t.subtreeFlags&_a)for(t=t.child;t!==null;)Sd(t,e,l),t=t.sibling}function Sd(t,e,l){switch(t.tag){case 26:Mn(t,e,l),t.flags&_a&&t.memoizedState!==null&&pv(l,qe,t.memoizedState,t.memoizedProps);break;case 5:Mn(t,e,l);break;case 3:case 4:var n=qe;qe=ii(t.stateNode.containerInfo),Mn(t,e,l),qe=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=_a,_a=16777216,Mn(t,e,l),_a=n):Mn(t,e,l));break;default:Mn(t,e,l)}}function bd(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 za(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Xt=n,Td(n,t)}bd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ed(t),t=t.sibling}function Ed(t){switch(t.tag){case 0:case 11:case 15:za(t),t.flags&2048&&bl(9,t,t.return);break;case 3:za(t);break;case 12:za(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Ju(t)):za(t);break;default:za(t)}}function Ju(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Xt=n,Td(n,t)}bd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:bl(8,e,e.return),Ju(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Ju(e));break;default:Ju(e)}t=t.sibling}}function Td(t,e){for(;Xt!==null;){var l=Xt;switch(l.tag){case 0:case 11:case 15:bl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:da(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,Xt=n;else t:for(l=t;Xt!==null;){n=Xt;var a=n.sibling,u=n.return;if(dd(n),n===l){Xt=null;break t}if(a!==null){a.return=u,Xt=a;break t}Xt=u}}}var U0={getCacheForType:function(t){var e=kt(qt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return kt(qt).controller.signal}},M0=typeof WeakMap=="function"?WeakMap:Map,yt=0,At=null,it=null,rt=0,gt=0,Ee=null,El=!1,Dn=!1,bs=!1,al=0,Ct=0,Tl=0,tn=0,Es=0,Te=0,Bn=0,Ca=null,se=null,Ts=!1,ku=0,Ad=0,Fu=1/0,Wu=null,Al=null,Gt=0,Ol=null,qn=null,ul=0,As=0,Os=null,Od=null,ja=0,xs=null;function Ae(){return(yt&2)!==0&&rt!==0?rt&-rt:j.T!==null?js():Lr()}function xd(){if(Te===0)if((rt&536870912)===0||ot){var t=au;au<<=1,(au&3932160)===0&&(au=262144),Te=t}else Te=536870912;return t=Se.current,t!==null&&(t.flags|=32),Te}function re(t,e,l){(t===At&&(gt===2||gt===9)||t.cancelPendingCommit!==null)&&(Hn(t,0),xl(t,rt,Te,!1)),Pn(t,l),((yt&2)===0||t!==At)&&(t===At&&((yt&2)===0&&(tn|=l),Ct===4&&xl(t,rt,Te,!1)),Qe(t))}function Rd(t,e,l){if((yt&6)!==0)throw Error(s(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||$n(t,e),a=n?q0(t,e):Ns(t,e,!0),u=n;do{if(a===0){Dn&&!n&&xl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!D0(l)){a=Ns(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var h=t;a=Ca;var g=h.current.memoizedState.isDehydrated;if(g&&(Hn(h,f).flags|=256),f=Ns(h,f,!1),f!==2){if(bs&&!g){h.errorRecoveryDisabledLanes|=u,tn|=u,a=4;break t}u=se,se=a,u!==null&&(se===null?se=u:se.push.apply(se,u))}a=f}if(u=!1,a!==2)continue}}if(a===1){Hn(t,0),xl(t,e,0,!0);break}t:{switch(n=t,u=a,u){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:xl(n,e,Te,!El);break t;case 2:se=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(a=ku+300-me(),10<a)){if(xl(n,e,Te,!El),iu(n,0,!0)!==0)break t;ul=e,n.timeoutHandle=nh(Nd.bind(null,n,l,se,Wu,Ts,e,Te,tn,Bn,El,u,"Throttled",-0,0),a);break t}Nd(n,l,se,Wu,Ts,e,Te,tn,Bn,El,u,null,-0,0)}}break}while(!0);Qe(t)}function Nd(t,e,l,n,a,u,f,h,g,N,M,L,_,C){if(t.timeoutHandle=-1,L=e.subtreeFlags,L&8192||(L&16785408)===16785408){L={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ve},Sd(e,u,L);var K=(u&62914560)===u?ku-me():(u&4194048)===u?Ad-me():0;if(K=gv(L,K),K!==null){ul=u,t.cancelPendingCommit=K(Bd.bind(null,t,e,u,l,n,a,f,h,g,M,L,null,_,C)),xl(t,u,f,!N);return}}Bd(t,e,u,l,n,a,f,h,g)}function D0(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 n=0;n<l.length;n++){var a=l[n],u=a.getSnapshot;a=a.value;try{if(!pe(u(),a))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 xl(t,e,l,n){e&=~Es,e&=~tn,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var u=31-ve(a),f=1<<u;n[u]=-1,a&=~f}l!==0&&Br(t,l,e)}function $u(){return(yt&6)===0?(Ua(0),!1):!0}function Rs(){if(it!==null){if(gt===0)var t=it.return;else t=it,ke=Zl=null,Qc(t),Nn=null,ma=0,t=it;for(;t!==null;)ad(t.alternate,t),t=t.return;it=null}}function Hn(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,tv(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),ul=0,Rs(),At=t,it=l=Ke(t.current,null),rt=e,gt=0,Ee=null,El=!1,Dn=$n(t,e),bs=!1,Bn=Te=Es=tn=Tl=Ct=0,se=Ca=null,Ts=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-ve(n),u=1<<a;e|=t[a],n&=~u}return al=e,gu(),l}function _d(t,e){nt=null,j.H=Ta,e===Rn||e===Ru?(e=Xf(),gt=3):e===Cc?(e=Xf(),gt=4):gt=e===as?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ee=e,it===null&&(Ct=1,Yu(t,Ne(e,t.current)))}function zd(){var t=Se.current;return t===null?!0:(rt&4194048)===rt?je===null:(rt&62914560)===rt||(rt&536870912)!==0?t===je:!1}function Cd(){var t=j.H;return j.H=Ta,t===null?Ta:t}function jd(){var t=j.A;return j.A=U0,t}function Pu(){Ct=4,El||(rt&4194048)!==rt&&Se.current!==null||(Dn=!0),(Tl&134217727)===0&&(tn&134217727)===0||At===null||xl(At,rt,Te,!1)}function Ns(t,e,l){var n=yt;yt|=2;var a=Cd(),u=jd();(At!==t||rt!==e)&&(Wu=null,Hn(t,e)),e=!1;var f=Ct;t:do try{if(gt!==0&&it!==null){var h=it,g=Ee;switch(gt){case 8:Rs(),f=6;break t;case 3:case 2:case 9:case 6:Se.current===null&&(e=!0);var N=gt;if(gt=0,Ee=null,Ln(t,h,g,N),l&&Dn){f=0;break t}break;default:N=gt,gt=0,Ee=null,Ln(t,h,g,N)}}B0(),f=Ct;break}catch(M){_d(t,M)}while(!0);return e&&t.shellSuspendCounter++,ke=Zl=null,yt=n,j.H=a,j.A=u,it===null&&(At=null,rt=0,gu()),f}function B0(){for(;it!==null;)Ud(it)}function q0(t,e){var l=yt;yt|=2;var n=Cd(),a=jd();At!==t||rt!==e?(Wu=null,Fu=me()+500,Hn(t,e)):Dn=$n(t,e);t:do try{if(gt!==0&&it!==null){e=it;var u=Ee;e:switch(gt){case 1:gt=0,Ee=null,Ln(t,e,u,1);break;case 2:case 9:if(Gf(u)){gt=0,Ee=null,Md(e);break}e=function(){gt!==2&&gt!==9||At!==t||(gt=7),Qe(t)},u.then(e,e);break t;case 3:gt=7;break t;case 4:gt=5;break t;case 7:Gf(u)?(gt=0,Ee=null,Md(e)):(gt=0,Ee=null,Ln(t,e,u,7));break;case 5:var f=null;switch(it.tag){case 26:f=it.memoizedState;case 5:case 27:var h=it;if(f?gh(f):h.stateNode.complete){gt=0,Ee=null;var g=h.sibling;if(g!==null)it=g;else{var N=h.return;N!==null?(it=N,Iu(N)):it=null}break e}}gt=0,Ee=null,Ln(t,e,u,5);break;case 6:gt=0,Ee=null,Ln(t,e,u,6);break;case 8:Rs(),Ct=6;break t;default:throw Error(s(462))}}H0();break}catch(M){_d(t,M)}while(!0);return ke=Zl=null,j.H=n,j.A=a,yt=l,it!==null?0:(At=null,rt=0,gu(),Ct)}function H0(){for(;it!==null&&!iy();)Ud(it)}function Ud(t){var e=ld(t.alternate,t,al);t.memoizedProps=t.pendingProps,e===null?Iu(t):it=e}function Md(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Wo(l,e,e.pendingProps,e.type,void 0,rt);break;case 11:e=Wo(l,e,e.pendingProps,e.type.render,e.ref,rt);break;case 5:Qc(e);default:ad(l,e),e=it=Cf(e,al),e=ld(l,e,al)}t.memoizedProps=t.pendingProps,e===null?Iu(t):it=e}function Ln(t,e,l,n){ke=Zl=null,Qc(e),Nn=null,ma=0;var a=e.return;try{if(x0(t,a,e,l,rt)){Ct=1,Yu(t,Ne(l,t.current)),it=null;return}}catch(u){if(a!==null)throw it=a,u;Ct=1,Yu(t,Ne(l,t.current)),it=null;return}e.flags&32768?(ot||n===1?t=!0:Dn||(rt&536870912)!==0?t=!1:(El=t=!0,(n===2||n===9||n===3||n===6)&&(n=Se.current,n!==null&&n.tag===13&&(n.flags|=16384))),Dd(e,t)):Iu(e)}function Iu(t){var e=t;do{if((e.flags&32768)!==0){Dd(e,El);return}t=e.return;var l=_0(e.alternate,e,al);if(l!==null){it=l;return}if(e=e.sibling,e!==null){it=e;return}it=e=t}while(e!==null);Ct===0&&(Ct=5)}function Dd(t,e){do{var l=z0(t.alternate,t);if(l!==null){l.flags&=32767,it=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){it=t;return}it=t=l}while(t!==null);Ct=6,it=null}function Bd(t,e,l,n,a,u,f,h,g){t.cancelPendingCommit=null;do ti();while(Gt!==0);if((yt&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(u=e.lanes|e.childLanes,u|=yc,vy(t,l,u,f,h,g),t===At&&(it=At=null,rt=0),qn=e,Ol=t,ul=l,As=u,Os=a,Od=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,G0(lu,function(){return Yd(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=j.T,j.T=null,a=G.p,G.p=2,f=yt,yt|=4;try{C0(t,e,l)}finally{yt=f,G.p=a,j.T=n}}Gt=1,qd(),Hd(),Ld()}}function qd(){if(Gt===1){Gt=0;var t=Ol,e=qn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=j.T,j.T=null;var n=G.p;G.p=2;var a=yt;yt|=4;try{vd(e,t);var u=ws,f=Ef(t.containerInfo),h=u.focusedElem,g=u.selectionRange;if(f!==h&&h&&h.ownerDocument&&bf(h.ownerDocument.documentElement,h)){if(g!==null&&fc(h)){var N=g.start,M=g.end;if(M===void 0&&(M=N),"selectionStart"in h)h.selectionStart=N,h.selectionEnd=Math.min(M,h.value.length);else{var L=h.ownerDocument||document,_=L&&L.defaultView||window;if(_.getSelection){var C=_.getSelection(),K=h.textContent.length,I=Math.min(g.start,K),Tt=g.end===void 0?I:Math.min(g.end,K);!C.extend&&I>Tt&&(f=Tt,Tt=I,I=f);var O=Sf(h,I),b=Sf(h,Tt);if(O&&b&&(C.rangeCount!==1||C.anchorNode!==O.node||C.anchorOffset!==O.offset||C.focusNode!==b.node||C.focusOffset!==b.offset)){var R=L.createRange();R.setStart(O.node,O.offset),C.removeAllRanges(),I>Tt?(C.addRange(R),C.extend(b.node,b.offset)):(R.setEnd(b.node,b.offset),C.addRange(R))}}}}for(L=[],C=h;C=C.parentNode;)C.nodeType===1&&L.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<L.length;h++){var q=L[h];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}di=!!Ls,ws=Ls=null}finally{yt=a,G.p=n,j.T=l}}t.current=e,Gt=2}}function Hd(){if(Gt===2){Gt=0;var t=Ol,e=qn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=j.T,j.T=null;var n=G.p;G.p=2;var a=yt;yt|=4;try{od(t,e.alternate,e)}finally{yt=a,G.p=n,j.T=l}}Gt=3}}function Ld(){if(Gt===4||Gt===3){Gt=0,cy();var t=Ol,e=qn,l=ul,n=Od;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Gt=5:(Gt=0,qn=Ol=null,wd(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(Al=null),Zi(l),e=e.stateNode,ye&&typeof ye.onCommitFiberRoot=="function")try{ye.onCommitFiberRoot(Wn,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=j.T,a=G.p,G.p=2,j.T=null;try{for(var u=t.onRecoverableError,f=0;f<n.length;f++){var h=n[f];u(h.value,{componentStack:h.stack})}}finally{j.T=e,G.p=a}}(ul&3)!==0&&ti(),Qe(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===xs?ja++:(ja=0,xs=t):ja=0,Ua(0)}}function wd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,da(e)))}function ti(){return qd(),Hd(),Ld(),Yd()}function Yd(){if(Gt!==5)return!1;var t=Ol,e=As;As=0;var l=Zi(ul),n=j.T,a=G.p;try{G.p=32>l?32:l,j.T=null,l=Os,Os=null;var u=Ol,f=ul;if(Gt=0,qn=Ol=null,ul=0,(yt&6)!==0)throw Error(s(331));var h=yt;if(yt|=4,Ed(u.current),gd(u,u.current,f,l),yt=h,Ua(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(Wn,u)}catch{}return!0}finally{G.p=a,j.T=n,wd(t,e)}}function Gd(t,e,l){e=Ne(l,e),e=ns(t.stateNode,e,2),t=pl(t,e,2),t!==null&&(Pn(t,2),Qe(t))}function St(t,e,l){if(t.tag===3)Gd(t,t,l);else for(;e!==null;){if(e.tag===3){Gd(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Al===null||!Al.has(n))){t=Ne(l,t),l=Qo(2),n=pl(e,l,2),n!==null&&(Xo(l,n,e,t),Pn(n,2),Qe(n));break}}e=e.return}}function _s(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new M0;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(bs=!0,a.add(l),t=L0.bind(null,t,e,l),e.then(t,t))}function L0(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,At===t&&(rt&l)===l&&(Ct===4||Ct===3&&(rt&62914560)===rt&&300>me()-ku?(yt&2)===0&&Hn(t,0):Es|=l,Bn===rt&&(Bn=0)),Qe(t)}function Qd(t,e){e===0&&(e=Dr()),t=Ql(t,e),t!==null&&(Pn(t,e),Qe(t))}function w0(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Qd(t,l)}function Y0(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(s(314))}n!==null&&n.delete(e),Qd(t,l)}function G0(t,e){return Gi(t,e)}var ei=null,wn=null,zs=!1,li=!1,Cs=!1,Rl=0;function Qe(t){t!==wn&&t.next===null&&(wn===null?ei=wn=t:wn=wn.next=t),li=!0,zs||(zs=!0,X0())}function Ua(t,e){if(!Cs&&li){Cs=!0;do for(var l=!1,n=ei;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var f=n.suspendedLanes,h=n.pingedLanes;u=(1<<31-ve(42|t)+1)-1,u&=a&~(f&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Kd(n,u))}else u=rt,u=iu(n,n===At?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||$n(n,u)||(l=!0,Kd(n,u));n=n.next}while(l);Cs=!1}}function Q0(){Xd()}function Xd(){li=zs=!1;var t=0;Rl!==0&&I0()&&(t=Rl);for(var e=me(),l=null,n=ei;n!==null;){var a=n.next,u=Vd(n,e);u===0?(n.next=null,l===null?ei=a:l.next=a,a===null&&(wn=l)):(l=n,(t!==0||(u&3)!==0)&&(li=!0)),n=a}Gt!==0&&Gt!==5||Ua(t),Rl!==0&&(Rl=0)}function Vd(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var f=31-ve(u),h=1<<f,g=a[f];g===-1?((h&l)===0||(h&n)!==0)&&(a[f]=yy(h,e)):g<=e&&(t.expiredLanes|=h),u&=~h}if(e=At,l=rt,l=iu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(gt===2||gt===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&Qi(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||$n(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&Qi(n),Zi(l)){case 2:case 8:l=Ur;break;case 32:l=lu;break;case 268435456:l=Mr;break;default:l=lu}return n=Zd.bind(null,t),l=Gi(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&Qi(n),t.callbackPriority=2,t.callbackNode=null,2}function Zd(t,e){if(Gt!==0&&Gt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(ti()&&t.callbackNode!==l)return null;var n=rt;return n=iu(t,t===At?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(Rd(t,n,e),Vd(t,me()),t.callbackNode!=null&&t.callbackNode===l?Zd.bind(null,t):null)}function Kd(t,e){if(ti())return null;Rd(t,e,!0)}function X0(){ev(function(){(yt&6)!==0?Gi(jr,Q0):Xd()})}function js(){if(Rl===0){var t=On;t===0&&(t=nu,nu<<=1,(nu&261888)===0&&(nu=256)),Rl=t}return Rl}function Jd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:fu(""+t)}function kd(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 V0(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var u=Jd((a[ne]||null).action),f=n.submitter;f&&(e=(e=f[ne]||null)?Jd(e.formAction):f.getAttribute("formAction"),e!==null&&(u=e,f=null));var h=new mu("action","action",null,n,a);t.push({event:h,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Rl!==0){var g=f?kd(a,f):new FormData(a);$c(l,{pending:!0,data:g,method:a.method,action:u},null,g)}}else typeof u=="function"&&(h.preventDefault(),g=f?kd(a,f):new FormData(a),$c(l,{pending:!0,data:g,method:a.method,action:u},u,g))},currentTarget:a}]})}}for(var Us=0;Us<mc.length;Us++){var Ms=mc[Us],Z0=Ms.toLowerCase(),K0=Ms[0].toUpperCase()+Ms.slice(1);Be(Z0,"on"+K0)}Be(Of,"onAnimationEnd"),Be(xf,"onAnimationIteration"),Be(Rf,"onAnimationStart"),Be("dblclick","onDoubleClick"),Be("focusin","onFocus"),Be("focusout","onBlur"),Be(s0,"onTransitionRun"),Be(r0,"onTransitionStart"),Be(f0,"onTransitionCancel"),Be(Nf,"onTransitionEnd"),fn("onMouseEnter",["mouseout","mouseover"]),fn("onMouseLeave",["mouseout","mouseover"]),fn("onPointerEnter",["pointerout","pointerover"]),fn("onPointerLeave",["pointerout","pointerover"]),Ll("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ll("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ll("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ll("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ll("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ll("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ma="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(" "),J0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ma));function Fd(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var u=void 0;if(e)for(var f=n.length-1;0<=f;f--){var h=n[f],g=h.instance,N=h.currentTarget;if(h=h.listener,g!==u&&a.isPropagationStopped())break t;u=h,a.currentTarget=N;try{u(a)}catch(M){pu(M)}a.currentTarget=null,u=g}else for(f=0;f<n.length;f++){if(h=n[f],g=h.instance,N=h.currentTarget,h=h.listener,g!==u&&a.isPropagationStopped())break t;u=h,a.currentTarget=N;try{u(a)}catch(M){pu(M)}a.currentTarget=null,u=g}}}}function ct(t,e){var l=e[Ki];l===void 0&&(l=e[Ki]=new Set);var n=t+"__bubble";l.has(n)||(Wd(e,t,2,!1),l.add(n))}function Ds(t,e,l){var n=0;e&&(n|=4),Wd(l,t,n,e)}var ni="_reactListening"+Math.random().toString(36).slice(2);function Bs(t){if(!t[ni]){t[ni]=!0,Gr.forEach(function(l){l!=="selectionchange"&&(J0.has(l)||Ds(l,!1,t),Ds(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ni]||(e[ni]=!0,Ds("selectionchange",!1,e))}}function Wd(t,e,l,n){switch(xh(e)){case 2:var a=Ev;break;case 8:a=Tv;break;default:a=Ws}l=a.bind(null,e,l,t),a=void 0,!ec||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function qs(t,e,l,n,a){var u=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var f=n.tag;if(f===3||f===4){var h=n.stateNode.containerInfo;if(h===a)break;if(f===4)for(f=n.return;f!==null;){var g=f.tag;if((g===3||g===4)&&f.stateNode.containerInfo===a)return;f=f.return}for(;h!==null;){if(f=cn(h),f===null)return;if(g=f.tag,g===5||g===6||g===26||g===27){n=u=f;continue t}h=h.parentNode}}n=n.return}Ir(function(){var N=u,M=Ii(l),L=[];t:{var _=_f.get(t);if(_!==void 0){var C=mu,K=t;switch(t){case"keypress":if(du(l)===0)break t;case"keydown":case"keyup":C=Yy;break;case"focusin":K="focus",C=uc;break;case"focusout":K="blur",C=uc;break;case"beforeblur":case"afterblur":C=uc;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":C=lf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=_y;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Xy;break;case Of:case xf:case Rf:C=jy;break;case Nf:C=Zy;break;case"scroll":case"scrollend":C=Ry;break;case"wheel":C=Jy;break;case"copy":case"cut":case"paste":C=My;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=af;break;case"toggle":case"beforetoggle":C=Fy}var I=(e&4)!==0,Tt=!I&&(t==="scroll"||t==="scrollend"),O=I?_!==null?_+"Capture":null:_;I=[];for(var b=N,R;b!==null;){var q=b;if(R=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||R===null||O===null||(q=ea(b,O),q!=null&&I.push(Da(b,q,R))),Tt)break;b=b.return}0<I.length&&(_=new C(_,K,null,l,M),L.push({event:_,listeners:I}))}}if((e&7)===0){t:{if(_=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout",_&&l!==Pi&&(K=l.relatedTarget||l.fromElement)&&(cn(K)||K[un]))break t;if((C||_)&&(_=M.window===M?M:(_=M.ownerDocument)?_.defaultView||_.parentWindow:window,C?(K=l.relatedTarget||l.toElement,C=N,K=K?cn(K):null,K!==null&&(Tt=d(K),I=K.tag,K!==Tt||I!==5&&I!==27&&I!==6)&&(K=null)):(C=null,K=N),C!==K)){if(I=lf,q="onMouseLeave",O="onMouseEnter",b="mouse",(t==="pointerout"||t==="pointerover")&&(I=af,q="onPointerLeave",O="onPointerEnter",b="pointer"),Tt=C==null?_:ta(C),R=K==null?_:ta(K),_=new I(q,b+"leave",C,l,M),_.target=Tt,_.relatedTarget=R,q=null,cn(M)===N&&(I=new I(O,b+"enter",K,l,M),I.target=R,I.relatedTarget=Tt,q=I),Tt=q,C&&K)e:{for(I=k0,O=C,b=K,R=0,q=O;q;q=I(q))R++;q=0;for(var $=b;$;$=I($))q++;for(;0<R-q;)O=I(O),R--;for(;0<q-R;)b=I(b),q--;for(;R--;){if(O===b||b!==null&&O===b.alternate){I=O;break e}O=I(O),b=I(b)}I=null}else I=null;C!==null&&$d(L,_,C,I,!1),K!==null&&Tt!==null&&$d(L,Tt,K,I,!0)}}t:{if(_=N?ta(N):window,C=_.nodeName&&_.nodeName.toLowerCase(),C==="select"||C==="input"&&_.type==="file")var dt=hf;else if(of(_))if(mf)dt=u0;else{dt=n0;var k=l0}else C=_.nodeName,!C||C.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?N&&$i(N.elementType)&&(dt=hf):dt=a0;if(dt&&(dt=dt(t,N))){df(L,dt,l,M);break t}k&&k(t,_,N),t==="focusout"&&N&&_.type==="number"&&N.memoizedProps.value!=null&&Wi(_,"number",_.value)}switch(k=N?ta(N):window,t){case"focusin":(of(k)||k.contentEditable==="true")&&(vn=k,oc=N,ra=null);break;case"focusout":ra=oc=vn=null;break;case"mousedown":dc=!0;break;case"contextmenu":case"mouseup":case"dragend":dc=!1,Tf(L,l,M);break;case"selectionchange":if(c0)break;case"keydown":case"keyup":Tf(L,l,M)}var at;if(cc)t:{switch(t){case"compositionstart":var ft="onCompositionStart";break t;case"compositionend":ft="onCompositionEnd";break t;case"compositionupdate":ft="onCompositionUpdate";break t}ft=void 0}else yn?rf(t,l)&&(ft="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(ft="onCompositionStart");ft&&(uf&&l.locale!=="ko"&&(yn||ft!=="onCompositionStart"?ft==="onCompositionEnd"&&yn&&(at=tf()):(fl=M,lc="value"in fl?fl.value:fl.textContent,yn=!0)),k=ai(N,ft),0<k.length&&(ft=new nf(ft,t,null,l,M),L.push({event:ft,listeners:k}),at?ft.data=at:(at=ff(l),at!==null&&(ft.data=at)))),(at=$y?Py(t,l):Iy(t,l))&&(ft=ai(N,"onBeforeInput"),0<ft.length&&(k=new nf("onBeforeInput","beforeinput",null,l,M),L.push({event:k,listeners:ft}),k.data=at)),V0(L,t,N,l,M)}Fd(L,e)})}function Da(t,e,l){return{instance:t,listener:e,currentTarget:l}}function ai(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,u=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||u===null||(a=ea(t,l),a!=null&&n.unshift(Da(t,a,u)),a=ea(t,e),a!=null&&n.push(Da(t,a,u))),t.tag===3)return n;t=t.return}return[]}function k0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function $d(t,e,l,n,a){for(var u=e._reactName,f=[];l!==null&&l!==n;){var h=l,g=h.alternate,N=h.stateNode;if(h=h.tag,g!==null&&g===n)break;h!==5&&h!==26&&h!==27||N===null||(g=N,a?(N=ea(l,u),N!=null&&f.unshift(Da(l,N,g))):a||(N=ea(l,u),N!=null&&f.push(Da(l,N,g)))),l=l.return}f.length!==0&&t.push({event:e,listeners:f})}var F0=/\r\n?/g,W0=/\u0000|\uFFFD/g;function Pd(t){return(typeof t=="string"?t:""+t).replace(F0,`
`).replace(W0,"")}function Id(t,e){return e=Pd(e),Pd(t)===e}function Et(t,e,l,n,a,u){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||dn(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&dn(t,""+n);break;case"className":su(t,"class",n);break;case"tabIndex":su(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":su(t,l,n);break;case"style":$r(t,n,u);break;case"data":if(e!=="object"){su(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=fu(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="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 u=="function"&&(l==="formAction"?(e!=="input"&&Et(t,e,"name",a.name,a,null),Et(t,e,"formEncType",a.formEncType,a,null),Et(t,e,"formMethod",a.formMethod,a,null),Et(t,e,"formTarget",a.formTarget,a,null)):(Et(t,e,"encType",a.encType,a,null),Et(t,e,"method",a.method,a,null),Et(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=fu(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=Ve);break;case"onScroll":n!=null&&ct("scroll",t);break;case"onScrollEnd":n!=null&&ct("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(s(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=fu(""+n),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":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):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":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":ct("beforetoggle",t),ct("toggle",t),cu(t,"popover",n);break;case"xlinkActuate":Xe(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Xe(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Xe(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Xe(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Xe(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Xe(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Xe(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Xe(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Xe(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":cu(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Oy.get(l)||l,cu(t,l,n))}}function Hs(t,e,l,n,a,u){switch(l){case"style":$r(t,n,u);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(s(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof n=="string"?dn(t,n):(typeof n=="number"||typeof n=="bigint")&&dn(t,""+n);break;case"onScroll":n!=null&&ct("scroll",t);break;case"onScrollEnd":n!=null&&ct("scrollend",t);break;case"onClick":n!=null&&(t.onclick=Ve);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qr.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),u=t[ne]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,a),typeof n=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):cu(t,l,n)}}}function Wt(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ct("error",t),ct("load",t);var n=!1,a=!1,u;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];if(f!=null)switch(u){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Et(t,e,u,f,l,null)}}a&&Et(t,e,"srcSet",l.srcSet,l,null),n&&Et(t,e,"src",l.src,l,null);return;case"input":ct("invalid",t);var h=u=f=a=null,g=null,N=null;for(n in l)if(l.hasOwnProperty(n)){var M=l[n];if(M!=null)switch(n){case"name":a=M;break;case"type":f=M;break;case"checked":g=M;break;case"defaultChecked":N=M;break;case"value":u=M;break;case"defaultValue":h=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(137,e));break;default:Et(t,e,n,M,l,null)}}Jr(t,u,h,g,N,f,a,!1);return;case"select":ct("invalid",t),n=f=u=null;for(a in l)if(l.hasOwnProperty(a)&&(h=l[a],h!=null))switch(a){case"value":u=h;break;case"defaultValue":f=h;break;case"multiple":n=h;default:Et(t,e,a,h,l,null)}e=u,l=f,t.multiple=!!n,e!=null?on(t,!!n,e,!1):l!=null&&on(t,!!n,l,!0);return;case"textarea":ct("invalid",t),u=a=n=null;for(f in l)if(l.hasOwnProperty(f)&&(h=l[f],h!=null))switch(f){case"value":n=h;break;case"defaultValue":a=h;break;case"children":u=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(s(91));break;default:Et(t,e,f,h,l,null)}Fr(t,n,a,u);return;case"option":for(g in l)if(l.hasOwnProperty(g)&&(n=l[g],n!=null))switch(g){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:Et(t,e,g,n,l,null)}return;case"dialog":ct("beforetoggle",t),ct("toggle",t),ct("cancel",t),ct("close",t);break;case"iframe":case"object":ct("load",t);break;case"video":case"audio":for(n=0;n<Ma.length;n++)ct(Ma[n],t);break;case"image":ct("error",t),ct("load",t);break;case"details":ct("toggle",t);break;case"embed":case"source":case"link":ct("error",t),ct("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(N in l)if(l.hasOwnProperty(N)&&(n=l[N],n!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Et(t,e,N,n,l,null)}return;default:if($i(e)){for(M in l)l.hasOwnProperty(M)&&(n=l[M],n!==void 0&&Hs(t,e,M,n,l,void 0));return}}for(h in l)l.hasOwnProperty(h)&&(n=l[h],n!=null&&Et(t,e,h,n,l,null))}function $0(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,u=null,f=null,h=null,g=null,N=null,M=null;for(C in l){var L=l[C];if(l.hasOwnProperty(C)&&L!=null)switch(C){case"checked":break;case"value":break;case"defaultValue":g=L;default:n.hasOwnProperty(C)||Et(t,e,C,null,n,L)}}for(var _ in n){var C=n[_];if(L=l[_],n.hasOwnProperty(_)&&(C!=null||L!=null))switch(_){case"type":u=C;break;case"name":a=C;break;case"checked":N=C;break;case"defaultChecked":M=C;break;case"value":f=C;break;case"defaultValue":h=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(s(137,e));break;default:C!==L&&Et(t,e,_,C,n,L)}}Fi(t,f,h,g,N,M,u,a);return;case"select":C=f=h=_=null;for(u in l)if(g=l[u],l.hasOwnProperty(u)&&g!=null)switch(u){case"value":break;case"multiple":C=g;default:n.hasOwnProperty(u)||Et(t,e,u,null,n,g)}for(a in n)if(u=n[a],g=l[a],n.hasOwnProperty(a)&&(u!=null||g!=null))switch(a){case"value":_=u;break;case"defaultValue":h=u;break;case"multiple":f=u;default:u!==g&&Et(t,e,a,u,n,g)}e=h,l=f,n=C,_!=null?on(t,!!l,_,!1):!!n!=!!l&&(e!=null?on(t,!!l,e,!0):on(t,!!l,l?[]:"",!1));return;case"textarea":C=_=null;for(h in l)if(a=l[h],l.hasOwnProperty(h)&&a!=null&&!n.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Et(t,e,h,null,n,a)}for(f in n)if(a=n[f],u=l[f],n.hasOwnProperty(f)&&(a!=null||u!=null))switch(f){case"value":_=a;break;case"defaultValue":C=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(s(91));break;default:a!==u&&Et(t,e,f,a,n,u)}kr(t,_,C);return;case"option":for(var K in l)if(_=l[K],l.hasOwnProperty(K)&&_!=null&&!n.hasOwnProperty(K))switch(K){case"selected":t.selected=!1;break;default:Et(t,e,K,null,n,_)}for(g in n)if(_=n[g],C=l[g],n.hasOwnProperty(g)&&_!==C&&(_!=null||C!=null))switch(g){case"selected":t.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:Et(t,e,g,_,n,C)}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 I in l)_=l[I],l.hasOwnProperty(I)&&_!=null&&!n.hasOwnProperty(I)&&Et(t,e,I,null,n,_);for(N in n)if(_=n[N],C=l[N],n.hasOwnProperty(N)&&_!==C&&(_!=null||C!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(s(137,e));break;default:Et(t,e,N,_,n,C)}return;default:if($i(e)){for(var Tt in l)_=l[Tt],l.hasOwnProperty(Tt)&&_!==void 0&&!n.hasOwnProperty(Tt)&&Hs(t,e,Tt,void 0,n,_);for(M in n)_=n[M],C=l[M],!n.hasOwnProperty(M)||_===C||_===void 0&&C===void 0||Hs(t,e,M,_,n,C);return}}for(var O in l)_=l[O],l.hasOwnProperty(O)&&_!=null&&!n.hasOwnProperty(O)&&Et(t,e,O,null,n,_);for(L in n)_=n[L],C=l[L],!n.hasOwnProperty(L)||_===C||_==null&&C==null||Et(t,e,L,_,n,C)}function th(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function P0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],u=a.transferSize,f=a.initiatorType,h=a.duration;if(u&&h&&th(f)){for(f=0,h=a.responseEnd,n+=1;n<l.length;n++){var g=l[n],N=g.startTime;if(N>h)break;var M=g.transferSize,L=g.initiatorType;M&&th(L)&&(g=g.responseEnd,f+=M*(g<h?1:(h-N)/(g-N)))}if(--n,e+=8*(u+f)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Ls=null,ws=null;function ui(t){return t.nodeType===9?t:t.ownerDocument}function eh(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 lh(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 Ys(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 Gs=null;function I0(){var t=window.event;return t&&t.type==="popstate"?t===Gs?!1:(Gs=t,!0):(Gs=null,!1)}var nh=typeof setTimeout=="function"?setTimeout:void 0,tv=typeof clearTimeout=="function"?clearTimeout:void 0,ah=typeof Promise=="function"?Promise:void 0,ev=typeof queueMicrotask=="function"?queueMicrotask:typeof ah<"u"?function(t){return ah.resolve(null).then(t).catch(lv)}:nh;function lv(t){setTimeout(function(){throw t})}function Nl(t){return t==="head"}function uh(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),Xn(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ba(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Ba(l);for(var u=l.firstChild;u;){var f=u.nextSibling,h=u.nodeName;u[In]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=f}}else l==="body"&&Ba(t.ownerDocument.body);l=a}while(l);Xn(e)}function ih(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Qs(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":Qs(l),Ji(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function nv(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[In])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Ue(t.nextSibling),t===null)break}return null}function av(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ue(t.nextSibling),t===null))return null;return t}function ch(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ue(t.nextSibling),t===null))return null;return t}function Xs(t){return t.data==="$?"||t.data==="$~"}function Vs(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function uv(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function Ue(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==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Zs=null;function sh(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Ue(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function rh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function fh(t,e,l){switch(e=ui(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Ba(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Ji(t)}var Me=new Map,oh=new Set;function ii(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var il=G.d;G.d={f:iv,r:cv,D:sv,C:rv,L:fv,m:ov,X:hv,S:dv,M:mv};function iv(){var t=il.f(),e=$u();return t||e}function cv(t){var e=sn(t);e!==null&&e.tag===5&&e.type==="form"?_o(e):il.r(t)}var Yn=typeof document>"u"?null:document;function dh(t,e,l){var n=Yn;if(n&&typeof e=="string"&&e){var a=xe(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),oh.has(a)||(oh.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),Wt(e,"link",t),Qt(e),n.head.appendChild(e)))}}function sv(t){il.D(t),dh("dns-prefetch",t,null)}function rv(t,e){il.C(t,e),dh("preconnect",t,e)}function fv(t,e,l){il.L(t,e,l);var n=Yn;if(n&&t&&e){var a='link[rel="preload"][as="'+xe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+xe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+xe(l.imageSizes)+'"]')):a+='[href="'+xe(t)+'"]';var u=a;switch(e){case"style":u=Gn(t);break;case"script":u=Qn(t)}Me.has(u)||(t=A({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Me.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(qa(u))||e==="script"&&n.querySelector(Ha(u))||(e=n.createElement("link"),Wt(e,"link",t),Qt(e),n.head.appendChild(e)))}}function ov(t,e){il.m(t,e);var l=Yn;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+xe(n)+'"][href="'+xe(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Qn(t)}if(!Me.has(u)&&(t=A({rel:"modulepreload",href:t},e),Me.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ha(u)))return}n=l.createElement("link"),Wt(n,"link",t),Qt(n),l.head.appendChild(n)}}}function dv(t,e,l){il.S(t,e,l);var n=Yn;if(n&&t){var a=rn(n).hoistableStyles,u=Gn(t);e=e||"default";var f=a.get(u);if(!f){var h={loading:0,preload:null};if(f=n.querySelector(qa(u)))h.loading=5;else{t=A({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Me.get(u))&&Ks(t,l);var g=f=n.createElement("link");Qt(g),Wt(g,"link",t),g._p=new Promise(function(N,M){g.onload=N,g.onerror=M}),g.addEventListener("load",function(){h.loading|=1}),g.addEventListener("error",function(){h.loading|=2}),h.loading|=4,ci(f,e,n)}f={type:"stylesheet",instance:f,count:1,state:h},a.set(u,f)}}}function hv(t,e){il.X(t,e);var l=Yn;if(l&&t){var n=rn(l).hoistableScripts,a=Qn(t),u=n.get(a);u||(u=l.querySelector(Ha(a)),u||(t=A({src:t,async:!0},e),(e=Me.get(a))&&Js(t,e),u=l.createElement("script"),Qt(u),Wt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function mv(t,e){il.M(t,e);var l=Yn;if(l&&t){var n=rn(l).hoistableScripts,a=Qn(t),u=n.get(a);u||(u=l.querySelector(Ha(a)),u||(t=A({src:t,async:!0,type:"module"},e),(e=Me.get(a))&&Js(t,e),u=l.createElement("script"),Qt(u),Wt(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function hh(t,e,l,n){var a=(a=ut.current)?ii(a):null;if(!a)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Gn(l.href),l=rn(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Gn(l.href);var u=rn(a).hoistableStyles,f=u.get(t);if(f||(a=a.ownerDocument||a,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,f),(u=a.querySelector(qa(t)))&&!u._p&&(f.instance=u,f.state.loading=5),Me.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},Me.set(t,l),u||yv(a,t,l,f.state))),e&&n===null)throw Error(s(528,""));return f}if(e&&n!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qn(l),l=rn(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Gn(t){return'href="'+xe(t)+'"'}function qa(t){return'link[rel="stylesheet"]['+t+"]"}function mh(t){return A({},t,{"data-precedence":t.precedence,precedence:null})}function yv(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),Wt(e,"link",l),Qt(e),t.head.appendChild(e))}function Qn(t){return'[src="'+xe(t)+'"]'}function Ha(t){return"script[async]"+t}function yh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+xe(l.href)+'"]');if(n)return e.instance=n,Qt(n),n;var a=A({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),Qt(n),Wt(n,"style",a),ci(n,l.precedence,t),e.instance=n;case"stylesheet":a=Gn(l.href);var u=t.querySelector(qa(a));if(u)return e.state.loading|=4,e.instance=u,Qt(u),u;n=mh(l),(a=Me.get(a))&&Ks(n,a),u=(t.ownerDocument||t).createElement("link"),Qt(u);var f=u;return f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),Wt(u,"link",n),e.state.loading|=4,ci(u,l.precedence,t),e.instance=u;case"script":return u=Qn(l.src),(a=t.querySelector(Ha(u)))?(e.instance=a,Qt(a),a):(n=l,(a=Me.get(u))&&(n=A({},l),Js(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),Qt(a),Wt(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,ci(n,l.precedence,t));return e.instance}function ci(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,f=0;f<n.length;f++){var h=n[f];if(h.dataset.precedence===e)u=h;else if(u!==a)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Ks(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Js(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var si=null;function vh(t,e,l){if(si===null){var n=new Map,a=si=new Map;a.set(l,n)}else a=si,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var u=l[a];if(!(u[In]||u[Kt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(e)||"";f=t+f;var h=n.get(f);h?h.push(u):n.set(f,[u])}}return n}function ph(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function vv(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 gh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function pv(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Gn(n.href),u=e.querySelector(qa(a));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ri.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Qt(u);return}u=e.ownerDocument||e,n=mh(n),(a=Me.get(a))&&Ks(n,a),u=u.createElement("link"),Qt(u);var f=u;f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),Wt(u,"link",n),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=ri.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var ks=0;function gv(t,e){return t.stylesheets&&t.count===0&&oi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&oi(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&ks===0&&(ks=62500*P0());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&oi(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>ks?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function ri(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var fi=null;function oi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,fi=new Map,e.forEach(Sv,t),fi=null,ri.call(t))}function Sv(t,e){if(!(e.state.loading&4)){var l=fi.get(t);if(l)var n=l.get(null);else{l=new Map,fi.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<a.length;u++){var f=a[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),n=f)}n&&l.set(null,n)}a=e.instance,f=a.getAttribute("data-precedence"),u=l.get(f)||n,u===n&&l.set(null,a),l.set(f,a),this.count++,n=ri.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),u?u.parentNode.insertBefore(a,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var La={$$typeof:w,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function bv(t,e,l,n,a,u,f,h,g){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=Xi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xi(0),this.hiddenUpdates=Xi(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function Sh(t,e,l,n,a,u,f,h,g,N,M,L){return t=new bv(t,e,l,f,g,N,M,L,h),e=1,u===!0&&(e|=24),u=ge(3,null,null,e),t.current=u,u.stateNode=t,e=Nc(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:n,isDehydrated:l,cache:e},jc(u),t}function bh(t){return t?(t=Sn,t):Sn}function Eh(t,e,l,n,a,u){a=bh(a),n.context===null?n.context=a:n.pendingContext=a,n=vl(e),n.payload={element:l},u=u===void 0?null:u,u!==null&&(n.callback=u),l=pl(t,n,e),l!==null&&(re(l,t,e),va(l,t,e))}function Th(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Fs(t,e){Th(t,e),(t=t.alternate)&&Th(t,e)}function Ah(t){if(t.tag===13||t.tag===31){var e=Ql(t,67108864);e!==null&&re(e,t,67108864),Fs(t,67108864)}}function Oh(t){if(t.tag===13||t.tag===31){var e=Ae();e=Vi(e);var l=Ql(t,e);l!==null&&re(l,t,e),Fs(t,e)}}var di=!0;function Ev(t,e,l,n){var a=j.T;j.T=null;var u=G.p;try{G.p=2,Ws(t,e,l,n)}finally{G.p=u,j.T=a}}function Tv(t,e,l,n){var a=j.T;j.T=null;var u=G.p;try{G.p=8,Ws(t,e,l,n)}finally{G.p=u,j.T=a}}function Ws(t,e,l,n){if(di){var a=$s(n);if(a===null)qs(t,e,n,hi,l),Rh(t,n);else if(Ov(a,t,e,l,n))n.stopPropagation();else if(Rh(t,n),e&4&&-1<Av.indexOf(t)){for(;a!==null;){var u=sn(a);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Hl(u.pendingLanes);if(f!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;f;){var g=1<<31-ve(f);h.entanglements[1]|=g,f&=~g}Qe(u),(yt&6)===0&&(Fu=me()+500,Ua(0))}}break;case 31:case 13:h=Ql(u,2),h!==null&&re(h,u,2),$u(),Fs(u,2)}if(u=$s(n),u===null&&qs(t,e,n,hi,l),u===a)break;a=u}a!==null&&n.stopPropagation()}else qs(t,e,n,null,l)}}function $s(t){return t=Ii(t),Ps(t)}var hi=null;function Ps(t){if(hi=null,t=cn(t),t!==null){var e=d(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=m(e),t!==null)return t;t=null}else if(l===31){if(t=v(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 hi=t,null}function xh(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(sy()){case jr:return 2;case Ur:return 8;case lu:case ry:return 32;case Mr:return 268435456;default:return 32}default:return 32}}var Is=!1,_l=null,zl=null,Cl=null,wa=new Map,Ya=new Map,jl=[],Av="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 Rh(t,e){switch(t){case"focusin":case"focusout":_l=null;break;case"dragenter":case"dragleave":zl=null;break;case"mouseover":case"mouseout":Cl=null;break;case"pointerover":case"pointerout":wa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ya.delete(e.pointerId)}}function Ga(t,e,l,n,a,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:u,targetContainers:[a]},e!==null&&(e=sn(e),e!==null&&Ah(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Ov(t,e,l,n,a){switch(e){case"focusin":return _l=Ga(_l,t,e,l,n,a),!0;case"dragenter":return zl=Ga(zl,t,e,l,n,a),!0;case"mouseover":return Cl=Ga(Cl,t,e,l,n,a),!0;case"pointerover":var u=a.pointerId;return wa.set(u,Ga(wa.get(u)||null,t,e,l,n,a)),!0;case"gotpointercapture":return u=a.pointerId,Ya.set(u,Ga(Ya.get(u)||null,t,e,l,n,a)),!0}return!1}function Nh(t){var e=cn(t.target);if(e!==null){var l=d(e);if(l!==null){if(e=l.tag,e===13){if(e=m(l),e!==null){t.blockedOn=e,wr(t.priority,function(){Oh(l)});return}}else if(e===31){if(e=v(l),e!==null){t.blockedOn=e,wr(t.priority,function(){Oh(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function mi(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=$s(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);Pi=n,l.target.dispatchEvent(n),Pi=null}else return e=sn(l),e!==null&&Ah(e),t.blockedOn=l,!1;e.shift()}return!0}function _h(t,e,l){mi(t)&&l.delete(e)}function xv(){Is=!1,_l!==null&&mi(_l)&&(_l=null),zl!==null&&mi(zl)&&(zl=null),Cl!==null&&mi(Cl)&&(Cl=null),wa.forEach(_h),Ya.forEach(_h)}function yi(t,e){t.blockedOn===e&&(t.blockedOn=null,Is||(Is=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,xv)))}var vi=null;function zh(t){vi!==t&&(vi=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){vi===t&&(vi=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(Ps(n||l)===null)continue;break}var u=sn(l);u!==null&&(t.splice(e,3),e-=3,$c(u,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Xn(t){function e(g){return yi(g,t)}_l!==null&&yi(_l,t),zl!==null&&yi(zl,t),Cl!==null&&yi(Cl,t),wa.forEach(e),Ya.forEach(e);for(var l=0;l<jl.length;l++){var n=jl[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<jl.length&&(l=jl[0],l.blockedOn===null);)Nh(l),l.blockedOn===null&&jl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],u=l[n+1],f=a[ne]||null;if(typeof u=="function")f||zh(l);else if(f){var h=null;if(u&&u.hasAttribute("formAction")){if(a=u,f=u[ne]||null)h=f.formAction;else if(Ps(a)!==null)continue}else h=f.action;typeof h=="function"?l[n+1]=h:(l.splice(n,3),n-=3),zh(l)}}}function Ch(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return a=f})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function tr(t){this._internalRoot=t}pi.prototype.render=tr.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,n=Ae();Eh(l,n,t,e,null,null)},pi.prototype.unmount=tr.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Eh(t.current,2,null,t,null,null),$u(),e[un]=null}};function pi(t){this._internalRoot=t}pi.prototype.unstable_scheduleHydration=function(t){if(t){var e=Lr();t={blockedOn:null,target:t,priority:e};for(var l=0;l<jl.length&&e!==0&&e<jl[l].priority;l++);jl.splice(l,0,t),l===0&&Nh(t)}};var jh=c.version;if(jh!=="19.2.4")throw Error(s(527,jh,"19.2.4"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=y(e),t=t!==null?E(t):null,t=t===null?null:t.stateNode,t};var Rv={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gi.isDisabled&&gi.supportsFiber)try{Wn=gi.inject(Rv),ye=gi}catch{}}return Xa.createRoot=function(t,e){if(!o(t))throw Error(s(299));var l=!1,n="",a=Lo,u=wo,f=Yo;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=Sh(t,1,!1,null,null,l,n,null,a,u,f,Ch),t[un]=e.current,Bs(t),new tr(e)},Xa.hydrateRoot=function(t,e,l){if(!o(t))throw Error(s(299));var n=!1,a="",u=Lo,f=wo,h=Yo,g=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(h=l.onRecoverableError),l.formState!==void 0&&(g=l.formState)),e=Sh(t,1,!0,e,l??null,n,a,g,u,f,h,Ch),e.context=bh(null),l=e.current,n=Ae(),n=Vi(n),a=vl(n),a.callback=null,pl(l,a,n),l=n,e.current.lanes=l,Pn(e,l),Qe(e),t[un]=e.current,Bs(t),new pi(e)},Xa.version="19.2.4",Xa}var Gh;function wv(){if(Gh)return nr.exports;Gh=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(c){console.error(c)}}return i(),nr.exports=Lv(),nr.exports}var Yv=wv();ym();/**
 * @remix-run/router v1.23.2
 *
 * 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
 */function Ka(){return Ka=Object.assign?Object.assign.bind():function(i){for(var c=1;c<arguments.length;c++){var r=arguments[c];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},Ka.apply(this,arguments)}var Ml;(function(i){i.Pop="POP",i.Push="PUSH",i.Replace="REPLACE"})(Ml||(Ml={}));const Qh="popstate";function Gv(i){i===void 0&&(i={});function c(s,o){let{pathname:d,search:m,hash:v}=s.location;return hr("",{pathname:d,search:m,hash:v},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(s,o){return typeof o=="string"?o:Oi(o)}return Xv(c,r,null,i)}function jt(i,c){if(i===!1||i===null||typeof i>"u")throw new Error(c)}function Tr(i,c){if(!i){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function Qv(){return Math.random().toString(36).substr(2,8)}function Xh(i,c){return{usr:i.state,key:i.key,idx:c}}function hr(i,c,r,s){return r===void 0&&(r=null),Ka({pathname:typeof i=="string"?i:i.pathname,search:"",hash:""},typeof c=="string"?Jn(c):c,{state:r,key:c&&c.key||s||Qv()})}function Oi(i){let{pathname:c="/",search:r="",hash:s=""}=i;return r&&r!=="?"&&(c+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(c+=s.charAt(0)==="#"?s:"#"+s),c}function Jn(i){let c={};if(i){let r=i.indexOf("#");r>=0&&(c.hash=i.substr(r),i=i.substr(0,r));let s=i.indexOf("?");s>=0&&(c.search=i.substr(s),i=i.substr(0,s)),i&&(c.pathname=i)}return c}function Xv(i,c,r,s){s===void 0&&(s={});let{window:o=document.defaultView,v5Compat:d=!1}=s,m=o.history,v=Ml.Pop,p=null,y=E();y==null&&(y=0,m.replaceState(Ka({},m.state,{idx:y}),""));function E(){return(m.state||{idx:null}).idx}function A(){v=Ml.Pop;let U=E(),Z=U==null?null:U-y;y=U,p&&p({action:v,location:D.location,delta:Z})}function Y(U,Z){v=Ml.Push;let F=hr(D.location,U,Z);y=E()+1;let w=Xh(F,y),J=D.createHref(F);try{m.pushState(w,"",J)}catch(st){if(st instanceof DOMException&&st.name==="DataCloneError")throw st;o.location.assign(J)}d&&p&&p({action:v,location:D.location,delta:1})}function X(U,Z){v=Ml.Replace;let F=hr(D.location,U,Z);y=E();let w=Xh(F,y),J=D.createHref(F);m.replaceState(w,"",J),d&&p&&p({action:v,location:D.location,delta:0})}function x(U){let Z=o.location.origin!=="null"?o.location.origin:o.location.href,F=typeof U=="string"?U:Oi(U);return F=F.replace(/ $/,"%20"),jt(Z,"No window.location.(origin|href) available to create URL for href: "+F),new URL(F,Z)}let D={get action(){return v},get location(){return i(o,m)},listen(U){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(Qh,A),p=U,()=>{o.removeEventListener(Qh,A),p=null}},createHref(U){return c(o,U)},createURL:x,encodeLocation(U){let Z=x(U);return{pathname:Z.pathname,search:Z.search,hash:Z.hash}},push:Y,replace:X,go(U){return m.go(U)}};return D}var Vh;(function(i){i.data="data",i.deferred="deferred",i.redirect="redirect",i.error="error"})(Vh||(Vh={}));function Vv(i,c,r){return r===void 0&&(r="/"),Zv(i,c,r)}function Zv(i,c,r,s){let o=typeof c=="string"?Jn(c):c,d=Zn(o.pathname||"/",r);if(d==null)return null;let m=vm(i);Kv(m);let v=null;for(let p=0;v==null&&p<m.length;++p){let y=np(d);v=ep(m[p],y)}return v}function vm(i,c,r,s){c===void 0&&(c=[]),r===void 0&&(r=[]),s===void 0&&(s="");let o=(d,m,v)=>{let p={relativePath:v===void 0?d.path||"":v,caseSensitive:d.caseSensitive===!0,childrenIndex:m,route:d};p.relativePath.startsWith("/")&&(jt(p.relativePath.startsWith(s),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+s+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(s.length));let y=Dl([s,p.relativePath]),E=r.concat(p);d.children&&d.children.length>0&&(jt(d.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+y+'".')),vm(d.children,c,E,y)),!(d.path==null&&!d.index)&&c.push({path:y,score:Iv(y,d.index),routesMeta:E})};return i.forEach((d,m)=>{var v;if(d.path===""||!((v=d.path)!=null&&v.includes("?")))o(d,m);else for(let p of pm(d.path))o(d,m,p)}),c}function pm(i){let c=i.split("/");if(c.length===0)return[];let[r,...s]=c,o=r.endsWith("?"),d=r.replace(/\?$/,"");if(s.length===0)return o?[d,""]:[d];let m=pm(s.join("/")),v=[];return v.push(...m.map(p=>p===""?d:[d,p].join("/"))),o&&v.push(...m),v.map(p=>i.startsWith("/")&&p===""?"/":p)}function Kv(i){i.sort((c,r)=>c.score!==r.score?r.score-c.score:tp(c.routesMeta.map(s=>s.childrenIndex),r.routesMeta.map(s=>s.childrenIndex)))}const Jv=/^:[\w-]+$/,kv=3,Fv=2,Wv=1,$v=10,Pv=-2,Zh=i=>i==="*";function Iv(i,c){let r=i.split("/"),s=r.length;return r.some(Zh)&&(s+=Pv),c&&(s+=Fv),r.filter(o=>!Zh(o)).reduce((o,d)=>o+(Jv.test(d)?kv:d===""?Wv:$v),s)}function tp(i,c){return i.length===c.length&&i.slice(0,-1).every((s,o)=>s===c[o])?i[i.length-1]-c[c.length-1]:0}function ep(i,c,r){let{routesMeta:s}=i,o={},d="/",m=[];for(let v=0;v<s.length;++v){let p=s[v],y=v===s.length-1,E=d==="/"?c:c.slice(d.length)||"/",A=mr({path:p.relativePath,caseSensitive:p.caseSensitive,end:y},E),Y=p.route;if(!A)return null;Object.assign(o,A.params),m.push({params:o,pathname:Dl([d,A.pathname]),pathnameBase:sp(Dl([d,A.pathnameBase])),route:Y}),A.pathnameBase!=="/"&&(d=Dl([d,A.pathnameBase]))}return m}function mr(i,c){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[r,s]=lp(i.path,i.caseSensitive,i.end),o=c.match(r);if(!o)return null;let d=o[0],m=d.replace(/(.)\/+$/,"$1"),v=o.slice(1);return{params:s.reduce((y,E,A)=>{let{paramName:Y,isOptional:X}=E;if(Y==="*"){let D=v[A]||"";m=d.slice(0,d.length-D.length).replace(/(.)\/+$/,"$1")}const x=v[A];return X&&!x?y[Y]=void 0:y[Y]=(x||"").replace(/%2F/g,"/"),y},{}),pathname:d,pathnameBase:m,pattern:i}}function lp(i,c,r){c===void 0&&(c=!1),r===void 0&&(r=!0),Tr(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 s=[],o="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,v,p)=>(s.push({paramName:v,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(s.push({paramName:"*"}),o+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":i!==""&&i!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,c?void 0:"i"),s]}function np(i){try{return i.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Tr(!1,'The URL path "'+i+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+c+").")),i}}function Zn(i,c){if(c==="/")return i;if(!i.toLowerCase().startsWith(c.toLowerCase()))return null;let r=c.endsWith("/")?c.length-1:c.length,s=i.charAt(r);return s&&s!=="/"?null:i.slice(r)||"/"}const ap=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,up=i=>ap.test(i);function ip(i,c){c===void 0&&(c="/");let{pathname:r,search:s="",hash:o=""}=typeof i=="string"?Jn(i):i,d;if(r)if(up(r))d=r;else{if(r.includes("//")){let m=r;r=r.replace(/\/\/+/g,"/"),Tr(!1,"Pathnames cannot have embedded double slashes - normalizing "+(m+" -> "+r))}r.startsWith("/")?d=Kh(r.substring(1),"/"):d=Kh(r,c)}else d=c;return{pathname:d,search:rp(s),hash:fp(o)}}function Kh(i,c){let r=c.replace(/\/+$/,"").split("/");return i.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function cr(i,c,r,s){return"Cannot include a '"+i+"' character in a manually specified "+("`to."+c+"` field ["+JSON.stringify(s)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function cp(i){return i.filter((c,r)=>r===0||c.route.path&&c.route.path.length>0)}function gm(i,c){let r=cp(i);return c?r.map((s,o)=>o===r.length-1?s.pathname:s.pathnameBase):r.map(s=>s.pathnameBase)}function Sm(i,c,r,s){s===void 0&&(s=!1);let o;typeof i=="string"?o=Jn(i):(o=Ka({},i),jt(!o.pathname||!o.pathname.includes("?"),cr("?","pathname","search",o)),jt(!o.pathname||!o.pathname.includes("#"),cr("#","pathname","hash",o)),jt(!o.search||!o.search.includes("#"),cr("#","search","hash",o)));let d=i===""||o.pathname==="",m=d?"/":o.pathname,v;if(m==null)v=r;else{let A=c.length-1;if(!s&&m.startsWith("..")){let Y=m.split("/");for(;Y[0]==="..";)Y.shift(),A-=1;o.pathname=Y.join("/")}v=A>=0?c[A]:"/"}let p=ip(o,v),y=m&&m!=="/"&&m.endsWith("/"),E=(d||m===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(y||E)&&(p.pathname+="/"),p}const Dl=i=>i.join("/").replace(/\/\/+/g,"/"),sp=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),rp=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,fp=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function op(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}const bm=["post","put","patch","delete"];new Set(bm);const dp=["get",...bm];new Set(dp);/**
 * React Router v6.30.3
 *
 * 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
 */function Ja(){return Ja=Object.assign?Object.assign.bind():function(i){for(var c=1;c<arguments.length;c++){var r=arguments[c];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},Ja.apply(this,arguments)}const _i=B.createContext(null),Em=B.createContext(null),Bl=B.createContext(null),zi=B.createContext(null),cl=B.createContext({outlet:null,matches:[],isDataRoute:!1}),Tm=B.createContext(null);function hp(i,c){let{relative:r}=c===void 0?{}:c;ka()||jt(!1);let{basename:s,navigator:o}=B.useContext(Bl),{hash:d,pathname:m,search:v}=Ci(i,{relative:r}),p=m;return s!=="/"&&(p=m==="/"?s:Dl([s,m])),o.createHref({pathname:p,search:v,hash:d})}function ka(){return B.useContext(zi)!=null}function Fa(){return ka()||jt(!1),B.useContext(zi).location}function Am(i){B.useContext(Bl).static||B.useLayoutEffect(i)}function Om(){let{isDataRoute:i}=B.useContext(cl);return i?zp():mp()}function mp(){ka()||jt(!1);let i=B.useContext(_i),{basename:c,future:r,navigator:s}=B.useContext(Bl),{matches:o}=B.useContext(cl),{pathname:d}=Fa(),m=JSON.stringify(gm(o,r.v7_relativeSplatPath)),v=B.useRef(!1);return Am(()=>{v.current=!0}),B.useCallback(function(y,E){if(E===void 0&&(E={}),!v.current)return;if(typeof y=="number"){s.go(y);return}let A=Sm(y,JSON.parse(m),d,E.relative==="path");i==null&&c!=="/"&&(A.pathname=A.pathname==="/"?c:Dl([c,A.pathname])),(E.replace?s.replace:s.push)(A,E.state,E)},[c,s,m,d,i])}const yp=B.createContext(null);function vp(i){let c=B.useContext(cl).outlet;return c&&B.createElement(yp.Provider,{value:i},c)}function pp(){let{matches:i}=B.useContext(cl),c=i[i.length-1];return c?c.params:{}}function Ci(i,c){let{relative:r}=c===void 0?{}:c,{future:s}=B.useContext(Bl),{matches:o}=B.useContext(cl),{pathname:d}=Fa(),m=JSON.stringify(gm(o,s.v7_relativeSplatPath));return B.useMemo(()=>Sm(i,JSON.parse(m),d,r==="path"),[i,m,d,r])}function gp(i,c){return Sp(i,c)}function Sp(i,c,r,s){ka()||jt(!1);let{navigator:o}=B.useContext(Bl),{matches:d}=B.useContext(cl),m=d[d.length-1],v=m?m.params:{};m&&m.pathname;let p=m?m.pathnameBase:"/";m&&m.route;let y=Fa(),E;if(c){var A;let U=typeof c=="string"?Jn(c):c;p==="/"||(A=U.pathname)!=null&&A.startsWith(p)||jt(!1),E=U}else E=y;let Y=E.pathname||"/",X=Y;if(p!=="/"){let U=p.replace(/^\//,"").split("/");X="/"+Y.replace(/^\//,"").split("/").slice(U.length).join("/")}let x=Vv(i,{pathname:X}),D=Op(x&&x.map(U=>Object.assign({},U,{params:Object.assign({},v,U.params),pathname:Dl([p,o.encodeLocation?o.encodeLocation(U.pathname).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?p:Dl([p,o.encodeLocation?o.encodeLocation(U.pathnameBase).pathname:U.pathnameBase])})),d,r,s);return c&&D?B.createElement(zi.Provider,{value:{location:Ja({pathname:"/",search:"",hash:"",state:null,key:"default"},E),navigationType:Ml.Pop}},D):D}function bp(){let i=_p(),c=op(i)?i.status+" "+i.statusText:i instanceof Error?i.message:JSON.stringify(i),r=i instanceof Error?i.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return B.createElement(B.Fragment,null,B.createElement("h2",null,"Unexpected Application Error!"),B.createElement("h3",{style:{fontStyle:"italic"}},c),r?B.createElement("pre",{style:o},r):null,null)}const Ep=B.createElement(bp,null);class Tp extends B.Component{constructor(c){super(c),this.state={location:c.location,revalidation:c.revalidation,error:c.error}}static getDerivedStateFromError(c){return{error:c}}static getDerivedStateFromProps(c,r){return r.location!==c.location||r.revalidation!=="idle"&&c.revalidation==="idle"?{error:c.error,location:c.location,revalidation:c.revalidation}:{error:c.error!==void 0?c.error:r.error,location:r.location,revalidation:c.revalidation||r.revalidation}}componentDidCatch(c,r){console.error("React Router caught the following error during render",c,r)}render(){return this.state.error!==void 0?B.createElement(cl.Provider,{value:this.props.routeContext},B.createElement(Tm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ap(i){let{routeContext:c,match:r,children:s}=i,o=B.useContext(_i);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),B.createElement(cl.Provider,{value:c},s)}function Op(i,c,r,s){var o;if(c===void 0&&(c=[]),r===void 0&&(r=null),s===void 0&&(s=null),i==null){var d;if(!r)return null;if(r.errors)i=r.matches;else if((d=s)!=null&&d.v7_partialHydration&&c.length===0&&!r.initialized&&r.matches.length>0)i=r.matches;else return null}let m=i,v=(o=r)==null?void 0:o.errors;if(v!=null){let E=m.findIndex(A=>A.route.id&&(v==null?void 0:v[A.route.id])!==void 0);E>=0||jt(!1),m=m.slice(0,Math.min(m.length,E+1))}let p=!1,y=-1;if(r&&s&&s.v7_partialHydration)for(let E=0;E<m.length;E++){let A=m[E];if((A.route.HydrateFallback||A.route.hydrateFallbackElement)&&(y=E),A.route.id){let{loaderData:Y,errors:X}=r,x=A.route.loader&&Y[A.route.id]===void 0&&(!X||X[A.route.id]===void 0);if(A.route.lazy||x){p=!0,y>=0?m=m.slice(0,y+1):m=[m[0]];break}}}return m.reduceRight((E,A,Y)=>{let X,x=!1,D=null,U=null;r&&(X=v&&A.route.id?v[A.route.id]:void 0,D=A.route.errorElement||Ep,p&&(y<0&&Y===0?(Cp("route-fallback"),x=!0,U=null):y===Y&&(x=!0,U=A.route.hydrateFallbackElement||null)));let Z=c.concat(m.slice(0,Y+1)),F=()=>{let w;return X?w=D:x?w=U:A.route.Component?w=B.createElement(A.route.Component,null):A.route.element?w=A.route.element:w=E,B.createElement(Ap,{match:A,routeContext:{outlet:E,matches:Z,isDataRoute:r!=null},children:w})};return r&&(A.route.ErrorBoundary||A.route.errorElement||Y===0)?B.createElement(Tp,{location:r.location,revalidation:r.revalidation,component:D,error:X,children:F(),routeContext:{outlet:null,matches:Z,isDataRoute:!0}}):F()},null)}var xm=(function(i){return i.UseBlocker="useBlocker",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i})(xm||{}),Rm=(function(i){return i.UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i})(Rm||{});function xp(i){let c=B.useContext(_i);return c||jt(!1),c}function Rp(i){let c=B.useContext(Em);return c||jt(!1),c}function Np(i){let c=B.useContext(cl);return c||jt(!1),c}function Nm(i){let c=Np(),r=c.matches[c.matches.length-1];return r.route.id||jt(!1),r.route.id}function _p(){var i;let c=B.useContext(Tm),r=Rp(),s=Nm();return c!==void 0?c:(i=r.errors)==null?void 0:i[s]}function zp(){let{router:i}=xp(xm.UseNavigateStable),c=Nm(Rm.UseNavigateStable),r=B.useRef(!1);return Am(()=>{r.current=!0}),B.useCallback(function(o,d){d===void 0&&(d={}),r.current&&(typeof o=="number"?i.navigate(o):i.navigate(o,Ja({fromRouteId:c},d)))},[i,c])}const Jh={};function Cp(i,c,r){Jh[i]||(Jh[i]=!0)}function jp(i,c){i==null||i.v7_startTransition,i==null||i.v7_relativeSplatPath}function Up(i){return vp(i.context)}function en(i){jt(!1)}function Mp(i){let{basename:c="/",children:r=null,location:s,navigationType:o=Ml.Pop,navigator:d,static:m=!1,future:v}=i;ka()&&jt(!1);let p=c.replace(/^\/*/,"/"),y=B.useMemo(()=>({basename:p,navigator:d,static:m,future:Ja({v7_relativeSplatPath:!1},v)}),[p,v,d,m]);typeof s=="string"&&(s=Jn(s));let{pathname:E="/",search:A="",hash:Y="",state:X=null,key:x="default"}=s,D=B.useMemo(()=>{let U=Zn(E,p);return U==null?null:{location:{pathname:U,search:A,hash:Y,state:X,key:x},navigationType:o}},[p,E,A,Y,X,x,o]);return D==null?null:B.createElement(Bl.Provider,{value:y},B.createElement(zi.Provider,{children:r,value:D}))}function Dp(i){let{children:c,location:r}=i;return gp(yr(c),r)}new Promise(()=>{});function yr(i,c){c===void 0&&(c=[]);let r=[];return B.Children.forEach(i,(s,o)=>{if(!B.isValidElement(s))return;let d=[...c,o];if(s.type===B.Fragment){r.push.apply(r,yr(s.props.children,d));return}s.type!==en&&jt(!1),!s.props.index||!s.props.children||jt(!1);let m={id:s.props.id||d.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,loader:s.props.loader,action:s.props.action,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(m.children=yr(s.props.children,d)),r.push(m)}),r}/**
 * React Router DOM v6.30.3
 *
 * 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
 */function xi(){return xi=Object.assign?Object.assign.bind():function(i){for(var c=1;c<arguments.length;c++){var r=arguments[c];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},xi.apply(this,arguments)}function _m(i,c){if(i==null)return{};var r={},s=Object.keys(i),o,d;for(d=0;d<s.length;d++)o=s[d],!(c.indexOf(o)>=0)&&(r[o]=i[o]);return r}function Bp(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function qp(i,c){return i.button===0&&(!c||c==="_self")&&!Bp(i)}const Hp=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Lp=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],wp="6";try{window.__reactRouterVersion=wp}catch{}const Yp=B.createContext({isTransitioning:!1}),Gp="startTransition",kh=Dv[Gp];function Qp(i){let{basename:c,children:r,future:s,window:o}=i,d=B.useRef();d.current==null&&(d.current=Gv({window:o,v5Compat:!0}));let m=d.current,[v,p]=B.useState({action:m.action,location:m.location}),{v7_startTransition:y}=s||{},E=B.useCallback(A=>{y&&kh?kh(()=>p(A)):p(A)},[p,y]);return B.useLayoutEffect(()=>m.listen(E),[m,E]),B.useEffect(()=>jp(s),[s]),B.createElement(Mp,{basename:c,children:r,location:v.location,navigationType:v.action,navigator:m,future:s})}const Xp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Vp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ri=B.forwardRef(function(c,r){let{onClick:s,relative:o,reloadDocument:d,replace:m,state:v,target:p,to:y,preventScrollReset:E,viewTransition:A}=c,Y=_m(c,Hp),{basename:X}=B.useContext(Bl),x,D=!1;if(typeof y=="string"&&Vp.test(y)&&(x=y,Xp))try{let w=new URL(window.location.href),J=y.startsWith("//")?new URL(w.protocol+y):new URL(y),st=Zn(J.pathname,X);J.origin===w.origin&&st!=null?y=st+J.search+J.hash:D=!0}catch{}let U=hp(y,{relative:o}),Z=Kp(y,{replace:m,state:v,target:p,preventScrollReset:E,relative:o,viewTransition:A});function F(w){s&&s(w),w.defaultPrevented||Z(w)}return B.createElement("a",xi({},Y,{href:x||U,onClick:D||d?s:F,ref:r,target:p}))}),Si=B.forwardRef(function(c,r){let{"aria-current":s="page",caseSensitive:o=!1,className:d="",end:m=!1,style:v,to:p,viewTransition:y,children:E}=c,A=_m(c,Lp),Y=Ci(p,{relative:A.relative}),X=Fa(),x=B.useContext(Em),{navigator:D,basename:U}=B.useContext(Bl),Z=x!=null&&Jp(Y)&&y===!0,F=D.encodeLocation?D.encodeLocation(Y).pathname:Y.pathname,w=X.pathname,J=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;o||(w=w.toLowerCase(),J=J?J.toLowerCase():null,F=F.toLowerCase()),J&&U&&(J=Zn(J,U)||J);const st=F!=="/"&&F.endsWith("/")?F.length-1:F.length;let Ot=w===F||!m&&w.startsWith(F)&&w.charAt(st)==="/",P=J!=null&&(J===F||!m&&J.startsWith(F)&&J.charAt(F.length)==="/"),_t={isActive:Ot,isPending:P,isTransitioning:Z},Vt=Ot?s:void 0,de;typeof d=="function"?de=d(_t):de=[d,Ot?"active":null,P?"pending":null,Z?"transitioning":null].filter(Boolean).join(" ");let It=typeof v=="function"?v(_t):v;return B.createElement(Ri,xi({},A,{"aria-current":Vt,className:de,ref:r,style:It,to:p,viewTransition:y}),typeof E=="function"?E(_t):E)});var vr;(function(i){i.UseScrollRestoration="useScrollRestoration",i.UseSubmit="useSubmit",i.UseSubmitFetcher="useSubmitFetcher",i.UseFetcher="useFetcher",i.useViewTransitionState="useViewTransitionState"})(vr||(vr={}));var Fh;(function(i){i.UseFetcher="useFetcher",i.UseFetchers="useFetchers",i.UseScrollRestoration="useScrollRestoration"})(Fh||(Fh={}));function Zp(i){let c=B.useContext(_i);return c||jt(!1),c}function Kp(i,c){let{target:r,replace:s,state:o,preventScrollReset:d,relative:m,viewTransition:v}=c===void 0?{}:c,p=Om(),y=Fa(),E=Ci(i,{relative:m});return B.useCallback(A=>{if(qp(A,r)){A.preventDefault();let Y=s!==void 0?s:Oi(y)===Oi(E);p(i,{replace:Y,state:o,preventScrollReset:d,relative:m,viewTransition:v})}},[y,p,E,s,o,r,i,d,m,v])}function Jp(i,c){c===void 0&&(c={});let r=B.useContext(Yp);r==null&&jt(!1);let{basename:s}=Zp(vr.useViewTransitionState),o=Ci(i,{relative:c.relative});if(!r.isTransitioning)return!1;let d=Zn(r.currentLocation.pathname,s)||r.currentLocation.pathname,m=Zn(r.nextLocation.pathname,s)||r.nextLocation.pathname;return mr(o.pathname,m)!=null||mr(o.pathname,d)!=null}const zm="librairie-books",sr=[{id:"1",title:"Le Petit Prince",author:"Antoine de Saint-Exupéry",year:1943,genre:"Conte",price:8.5,read:!0},{id:"2",title:"1984",author:"George Orwell",year:1949,genre:"Science-fiction",price:9.9,read:!1}];function Cm(i){const c=Number(i==null?void 0:i.price);return{...i,price:Number.isFinite(c)?c:10}}function kp(){try{const i=localStorage.getItem(zm);if(i===null)return sr;const c=JSON.parse(i);return Array.isArray(c)?c.map(Cm):sr}catch{return sr}}function Fp(i){localStorage.setItem(zm,JSON.stringify(i))}const jm=B.createContext(null);function Wp({children:i}){const[c,r]=B.useState(kp);B.useEffect(()=>{Fp(c)},[c]);const s=B.useCallback(v=>{const p=crypto.randomUUID();r(y=>[...y,Cm({...v,id:p})])},[]),o=B.useCallback(v=>{r(p=>p.filter(y=>y.id!==v))},[]),d=B.useCallback(v=>{r(p=>p.map(y=>y.id===v?{...y,read:!y.read}:y))},[]),m={books:c,postBook:s,removeBook:o,toggleRead:d};return T.jsx(jm.Provider,{value:m,children:i})}function ji(){const i=B.useContext(jm);if(!i)throw new Error("useBooks doit être utilisé dans un BooksProvider");return i}const Um="librairie-orders";function $p(){try{const i=localStorage.getItem(Um);if(i===null)return[];const c=JSON.parse(i);return Array.isArray(c)?c:[]}catch{return[]}}function Pp(i){localStorage.setItem(Um,JSON.stringify(i))}function Ar(i){return Math.round((Number(i)+Number.EPSILON)*100)/100}function Ip(i){return Ar(i.reduce((c,r)=>c+Number(r.unitPrice)*Number(r.qty),0))}function tg({subtotal:i,promotion:c}){if(!c)return 0;if(c.type==="percent"){const r=Number(c.value);return!Number.isFinite(r)||r<=0?0:Ar(i*r/100)}return 0}const Mm=B.createContext(null);function eg({children:i}){const[c,r]=B.useState($p);B.useEffect(()=>{Pp(c)},[c]);const s=B.useCallback(d=>{const v=(Array.isArray(d==null?void 0:d.items)?d.items:[]).map(X=>({bookId:String(X.bookId),title:String(X.title||""),unitPrice:Number(X.unitPrice),qty:Math.max(0,Math.trunc(Number(X.qty)||0))})).filter(X=>X.bookId&&X.qty>0&&Number.isFinite(X.unitPrice));if(v.length===0)throw new Error("Aucun article dans la commande");const p=Ip(v),y=d!=null&&d.promotion?{code:String(d.promotion.code||""),type:String(d.promotion.type||"percent"),value:Number(d.promotion.value)}:null,E=tg({subtotal:p,promotion:y}),A=Ar(Math.max(0,p-E)),Y={id:crypto.randomUUID(),createdAt:new Date().toISOString(),items:v,promotion:y&&y.code?y:null,subtotal:p,discount:E,total:A};return r(X=>[Y,...X]),Y},[]),o=B.useMemo(()=>({orders:c,createOrder:s}),[c,s]);return T.jsx(Mm.Provider,{value:o,children:i})}function lg(){const i=B.useContext(Mm);if(!i)throw new Error("useOrders doit être utilisé dans un OrdersProvider");return i}const Dm="librairie-promotions";function ng(){try{const i=localStorage.getItem(Dm);if(i===null)return[];const c=JSON.parse(i);return Array.isArray(c)?c:[]}catch{return[]}}function ag(i){localStorage.setItem(Dm,JSON.stringify(i))}function Va(i){return String(i||"").trim().toUpperCase().replace(/\s+/g,"")}const Bm=B.createContext(null);function ug({children:i}){const[c,r]=B.useState(ng);B.useEffect(()=>{ag(c)},[c]);const s=B.useCallback(p=>{const y=Va(p.code),E=Number(p.value);if(!y)throw new Error("Code promo invalide");if(!Number.isFinite(E)||E<=0)throw new Error("Valeur de promo invalide");r(A=>{if(A.some(X=>X.code===y))throw new Error("Ce code promo existe déjà");return[...A,{id:crypto.randomUUID(),code:y,type:"percent",value:E,active:!0,createdAt:new Date().toISOString()}]})},[]),o=B.useCallback((p,y)=>{const E=Va(p);r(A=>A.map(Y=>Y.code===E?{...Y,active:y}:Y))},[]),d=B.useCallback(p=>{const y=Va(p);r(E=>E.filter(A=>A.code!==y))},[]),m=B.useCallback(p=>{const y=Va(p);return c.find(E=>E.code===y&&E.active)||null},[c]),v=B.useMemo(()=>({promotions:c,createPromotion:s,removePromotion:d,setPromotionActive:o,getActivePromotionByCode:m,normalizeCode:Va}),[c,s,d,o,m]);return T.jsx(Bm.Provider,{value:v,children:i})}function qm(){const i=B.useContext(Bm);if(!i)throw new Error("usePromotions doit être utilisé dans un PromotionsProvider");return i}function ig(){return T.jsxs("div",{className:"app",children:[T.jsx("header",{className:"app-header",children:T.jsxs("div",{className:"header-row",children:[T.jsxs("div",{className:"brand",children:[T.jsx("span",{className:"logo","aria-hidden":!0,children:"📚"}),T.jsx("div",{children:T.jsx("h1",{children:"Ma librairie"})})]}),T.jsxs("nav",{className:"main-nav","aria-label":"Navigation principale",children:[T.jsx(Si,{to:"/",end:!0,className:({isActive:i})=>i?"nav-link active":"nav-link",children:"Mes livres"}),T.jsx(Si,{to:"/recherche",className:({isActive:i})=>i?"nav-link active":"nav-link",children:"Recherche (Axios)"}),T.jsx(Si,{to:"/commande",className:({isActive:i})=>i?"nav-link active":"nav-link",children:"Commande"}),T.jsx(Si,{to:"/promotions",className:({isActive:i})=>i?"nav-link active":"nav-link",children:"Promotions"})]})]})}),T.jsx("div",{className:"route-outlet",children:T.jsx(Up,{})}),T.jsx("footer",{className:"app-footer",children:T.jsxs("p",{children:["React + Vite · React Router (",T.jsx("code",{children:"Outlet"}),") ·"," ",T.jsx("code",{children:"useContext"})," · Axios (Open Library)"]})})]})}function cg(){const{id:i}=pp(),c=Om(),{books:r,toggleRead:s,removeBook:o}=ji(),d=r.find(v=>v.id===i);if(!d)return T.jsxs("div",{className:"book-detail",children:[T.jsx("p",{className:"book-detail-missing",children:"Livre introuvable."}),T.jsx(Ri,{to:"/",className:"nav-link",children:"← Retour à mes livres"})]});function m(){o(d.id),c("/")}return T.jsxs("article",{className:"book-detail",children:[T.jsx(Ri,{to:"/",className:"nav-link book-detail-back",children:"← Catalogue"}),T.jsx("span",{className:`badge ${d.read?"read":"unread"}`,children:d.read?"Lu":"À lire"}),T.jsx("h2",{className:"book-detail-title",children:d.title}),T.jsx("p",{className:"book-detail-author",children:d.author}),T.jsxs("dl",{className:"book-detail-meta",children:[T.jsxs("div",{children:[T.jsx("dt",{children:"Année"}),T.jsx("dd",{children:d.year})]}),T.jsxs("div",{children:[T.jsx("dt",{children:"Prix"}),T.jsxs("dd",{children:[Number(d.price??10).toFixed(2)," €"]})]}),d.genre?T.jsxs("div",{children:[T.jsx("dt",{children:"Genre"}),T.jsx("dd",{children:d.genre})]}):null,T.jsxs("div",{children:[T.jsx("dt",{children:"Identifiant"}),T.jsx("dd",{children:T.jsx("code",{children:d.id})})]})]}),T.jsxs("div",{className:"book-detail-actions",children:[T.jsx("button",{type:"button",className:"btn",onClick:()=>s(d.id),children:d.read?"Marquer non lu":"Marquer lu"}),T.jsx("button",{type:"button",className:"btn danger",onClick:m,children:"Supprimer de mes livres"})]})]})}function Vn(i){const c=Number(i)||0;return new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR",maximumFractionDigits:2}).format(c)}function sg(i){const c=new Map;for(const r of i)c.set(r.bookId,r.qty);return c}function rg(){const{books:i}=ji(),{createOrder:c}=lg(),{getActivePromotionByCode:r,normalizeCode:s}=qm(),[o,d]=B.useState(()=>({})),[m,v]=B.useState(""),[p,y]=B.useState(null),[E,A]=B.useState(null),Y=B.useMemo(()=>i.map(w=>{const J=Math.max(0,Math.trunc(Number(o[w.id])||0)),st=Number(w.price);return{bookId:w.id,title:w.title,unitPrice:Number.isFinite(st)?st:10,qty:J}}).filter(w=>w.qty>0),[i,o]),X=B.useMemo(()=>Y.reduce((w,J)=>w+J.unitPrice*J.qty,0),[Y]),x=B.useMemo(()=>{const w=s(m);return w?r(w):null},[m,r,s]),D=B.useMemo(()=>x?X*x.value/100:0,[x,X]),U=B.useMemo(()=>Math.max(0,X-D),[X,D]);function Z(w,J){d(st=>({...st,[w]:J}))}function F(){A(null),y(null);try{const w=c({items:Y,promotion:x?{code:x.code,type:x.type,value:x.value}:null});d({}),v("");const J=sg(w.items);y(`Commande ${w.id.slice(0,8)} créée (${J.size} livre${J.size>1?"s":""}). Total: ${Vn(w.total)}.`)}catch(w){A((w==null?void 0:w.message)||"Impossible de créer la commande.")}}return T.jsxs("div",{className:"commande-page",children:[T.jsx("h2",{className:"page-title",children:"Passer une commande"}),T.jsxs("p",{className:"page-lead",children:["Équivalent local de ",T.jsx("code",{children:"POST /api/orders"})," (aucun backend)."]}),E?T.jsx("p",{className:"form-error",role:"alert",children:E}):null,p?T.jsx("p",{className:"form-notice",children:p}):null,i.length===0?T.jsx("p",{className:"empty-state",children:"Aucun livre dans le catalogue. Ajoute un livre dans “Mes livres” d’abord."}):T.jsxs("div",{className:"order-grid",children:[T.jsxs("section",{className:"order-panel",children:[T.jsx("h3",{className:"panel-title",children:"Catalogue"}),T.jsx("ul",{className:"order-catalog",children:i.map(w=>T.jsx("li",{className:"order-catalog-item",children:T.jsxs("div",{className:"order-catalog-main",children:[T.jsxs("div",{children:[T.jsx("p",{className:"order-book-title",children:w.title}),T.jsxs("p",{className:"order-book-meta",children:[w.author," · ",Vn(w.price??10)]})]}),T.jsxs("label",{className:"qty",children:[T.jsx("span",{className:"qty-label",children:"Qté"}),T.jsx("input",{type:"number",min:0,step:1,value:o[w.id]??0,onChange:J=>Z(w.id,J.target.value),"aria-label":`Quantité pour ${w.title}`})]})]})},w.id))})]}),T.jsxs("aside",{className:"order-panel",children:[T.jsx("h3",{className:"panel-title",children:"Récapitulatif"}),Y.length===0?T.jsx("p",{className:"empty-state",children:"Sélectionne au moins un livre (quantité > 0)."}):T.jsx("ul",{className:"order-summary",children:Y.map(w=>T.jsxs("li",{className:"order-summary-item",children:[T.jsxs("span",{children:[w.title," × ",w.qty]}),T.jsx("span",{children:Vn(w.unitPrice*w.qty)})]},w.bookId))}),T.jsxs("div",{className:"promo-box",children:[T.jsxs("label",{className:"promo-label",children:["Code promo",T.jsx("input",{className:"promo-input",placeholder:"Ex. BUT10",value:m,onChange:w=>v(w.target.value)})]}),T.jsxs("p",{className:"promo-hint",children:["Équivalent local de ",T.jsx("code",{children:"POST /api/promotions"})," (créées dans “Promotions”)."]}),m.trim()&&!x?T.jsx("p",{className:"promo-warn",children:"Code invalide ou inactif."}):null,x?T.jsxs("p",{className:"promo-ok",children:["Promo appliquée : ",T.jsx("strong",{children:x.code})," (−",x.value,"%)"]}):null]}),T.jsxs("div",{className:"totals",children:[T.jsxs("div",{className:"totals-row",children:[T.jsx("span",{children:"Sous-total"}),T.jsx("span",{children:Vn(X)})]}),T.jsxs("div",{className:"totals-row",children:[T.jsx("span",{children:"Remise"}),T.jsxs("span",{children:["−",Vn(D)]})]}),T.jsxs("div",{className:"totals-row total",children:[T.jsx("span",{children:"Total"}),T.jsx("span",{children:Vn(U)})]})]}),T.jsx("button",{type:"button",className:"btn primary",onClick:F,children:"Passer commande (POST)"})]})]})]})}const Wh=()=>({title:"",author:"",year:new Date().getFullYear(),genre:"",price:10,read:!1});function fg({onSubmit:i}){const[c,r]=B.useState(()=>Wh());function s(o){o.preventDefault(),!(!c.title.trim()||!c.author.trim())&&(i(c),r(Wh()))}return T.jsxs("form",{className:"book-form",onSubmit:s,children:[T.jsx("h2",{children:"Enregistrer un nouveau livre"}),T.jsx("p",{className:"book-form-story",children:"Je veux enregistrer un nouveau livre"}),T.jsxs("p",{className:"book-form-api",children:[T.jsx("code",{children:"POST /api/books"}),T.jsxs("span",{className:"book-form-api-note",children:[" ","(dans cette appli : enregistrement local, pas de serveur)"]})]}),T.jsxs("div",{className:"form-grid",children:[T.jsxs("label",{children:["Titre",T.jsx("input",{required:!0,value:c.title,onChange:o=>r(d=>({...d,title:o.target.value})),placeholder:"Ex. Les Misérables"})]}),T.jsxs("label",{children:["Auteur·ice",T.jsx("input",{required:!0,value:c.author,onChange:o=>r(d=>({...d,author:o.target.value})),placeholder:"Ex. Victor Hugo"})]}),T.jsxs("label",{children:["Année",T.jsx("input",{type:"number",min:1e3,max:2100,value:c.year,onChange:o=>r(d=>({...d,year:Number(o.target.value)||d.year}))})]}),T.jsxs("label",{children:["Genre",T.jsx("input",{value:c.genre,onChange:o=>r(d=>({...d,genre:o.target.value})),placeholder:"Roman, essai…"})]}),T.jsxs("label",{children:["Prix (€)",T.jsx("input",{type:"number",min:0,step:"0.5",value:c.price,onChange:o=>r(d=>({...d,price:Number(o.target.value)})),placeholder:"Ex. 12.5"})]})]}),T.jsxs("label",{className:"checkbox-row",children:[T.jsx("input",{type:"checkbox",checked:c.read,onChange:o=>r(d=>({...d,read:o.target.checked}))}),"Déjà lu"]}),T.jsx("div",{className:"form-actions",children:T.jsx("button",{type:"submit",className:"btn primary",children:"Enregistrer (POST)"})})]})}const og=[["all","Tous"],["read","Lus"],["unread","À lire"]];function dg({books:i,filter:c,query:r,onFilterChange:s,onQueryChange:o,onToggleRead:d,onRemove:m}){const v=r.trim().toLowerCase(),p=i.filter(y=>c==="read"&&!y.read||c==="unread"&&y.read?!1:v?y.title.toLowerCase().includes(v)||y.author.toLowerCase().includes(v)||y.genre&&y.genre.toLowerCase().includes(v):!0);return T.jsxs("section",{className:"book-list-section",children:[T.jsxs("div",{className:"toolbar",children:[T.jsx("input",{type:"search",className:"search",placeholder:"Rechercher par titre, auteur ou genre…",value:r,onChange:y=>o(y.target.value),"aria-label":"Recherche"}),T.jsx("div",{className:"filter-tabs",role:"tablist",children:og.map(([y,E])=>T.jsx("button",{type:"button",role:"tab","aria-selected":c===y,className:c===y?"tab active":"tab",onClick:()=>s(y),children:E},y))})]}),p.length===0?T.jsx("p",{className:"empty-state",children:i.length===0?"Aucun livre enregistré. Utilisez le formulaire à gauche : Je veux enregistrer un nouveau livre (POST /api/books).":"Aucun résultat pour ces critères."}):T.jsx("ul",{className:"book-grid",children:p.map(y=>T.jsxs("li",{className:"book-card",children:[T.jsxs("div",{className:"book-card-top",children:[T.jsx("span",{className:`badge ${y.read?"read":"unread"}`,children:y.read?"Lu":"À lire"}),y.genre?T.jsx("span",{className:"genre",children:y.genre}):null]}),T.jsx("h3",{children:T.jsx(Ri,{className:"book-title-link",to:`/${y.id}`,children:y.title})}),T.jsx("p",{className:"author",children:y.author}),T.jsxs("p",{className:"year",children:[y.year," · ",Number(y.price??10).toFixed(2)," €"]}),T.jsxs("div",{className:"card-actions",children:[T.jsx("button",{type:"button",className:"btn small",onClick:()=>d(y.id),children:y.read?"Marquer non lu":"Marquer lu"}),T.jsx("button",{type:"button",className:"btn small danger",onClick:()=>m(y.id),children:"Supprimer"})]})]},y.id))})]})}function hg(){const{books:i,postBook:c,removeBook:r,toggleRead:s}=ji(),[o,d]=B.useState("all"),[m,v]=B.useState(""),p=B.useMemo(()=>{const y=i.filter(E=>E.read).length;return{total:i.length,read:y,unread:i.length-y}},[i]);return T.jsxs("div",{className:"mes-livres-page",children:[T.jsx("div",{className:"mes-livres-intro",children:T.jsxs("p",{className:"tagline mes-livres-tagline",children:[p.total," livre",p.total!==1?"s":""," enregistré",p.total!==1?"s":""," — ",p.read," lu",p.read!==1?"s":""]})}),T.jsxs("div",{className:"app-main",children:[T.jsx("aside",{className:"sidebar",children:T.jsx(fg,{onSubmit:c})}),T.jsx(dg,{books:i,filter:o,query:m,onFilterChange:d,onQueryChange:v,onToggleRead:s,onRemove:r})]})]})}function mg(){const{promotions:i,createPromotion:c,removePromotion:r,setPromotionActive:s}=qm(),[o,d]=B.useState(""),[m,v]=B.useState(10),[p,y]=B.useState(null),[E,A]=B.useState(null),Y=B.useMemo(()=>[...i].sort((x,D)=>x.active!==D.active?x.active?-1:1:String(x.code).localeCompare(String(D.code))),[i]);function X(x){x.preventDefault(),A(null),y(null);try{c({code:o,value:m}),y("Promotion créée."),d(""),v(10)}catch(D){A((D==null?void 0:D.message)||"Impossible de créer la promotion.")}}return T.jsxs("div",{className:"promotions-page",children:[T.jsx("h2",{className:"page-title",children:"Promotions"}),T.jsxs("p",{className:"page-lead",children:["Équivalent local de ",T.jsx("code",{children:"POST /api/promotions"})," (aucun backend)."]}),E?T.jsx("p",{className:"form-error",role:"alert",children:E}):null,p?T.jsx("p",{className:"form-notice",children:p}):null,T.jsxs("div",{className:"promo-grid",children:[T.jsxs("section",{className:"order-panel",children:[T.jsx("h3",{className:"panel-title",children:"Créer une promotion"}),T.jsxs("form",{className:"promo-form",onSubmit:X,children:[T.jsxs("label",{children:["Code",T.jsx("input",{value:o,onChange:x=>d(x.target.value),placeholder:"Ex. BUT10"})]}),T.jsxs("label",{children:["Remise (%)",T.jsx("input",{type:"number",min:1,max:90,value:m,onChange:x=>v(Number(x.target.value)||0)})]}),T.jsx("button",{type:"submit",className:"btn primary",children:"Créer (POST)"})]}),T.jsx("p",{className:"promo-hint",children:"Astuce : le code est normalisé (majuscules, sans espaces)."})]}),T.jsxs("section",{className:"order-panel",children:[T.jsx("h3",{className:"panel-title",children:"Promotions existantes"}),Y.length===0?T.jsx("p",{className:"empty-state",children:"Aucune promotion créée."}):T.jsx("ul",{className:"promo-list",children:Y.map(x=>T.jsx("li",{className:"promo-item",children:T.jsxs("div",{className:"promo-item-main",children:[T.jsxs("div",{children:[T.jsx("p",{className:"promo-code",children:x.code}),T.jsxs("p",{className:"promo-meta",children:["−",x.value,"%"]})]}),T.jsxs("div",{className:"promo-actions",children:[T.jsx("button",{type:"button",className:"btn small",onClick:()=>s(x.code,!x.active),children:x.active?"Désactiver":"Activer"}),T.jsx("button",{type:"button",className:"btn small danger",onClick:()=>r(x.code),children:"Supprimer"})]})]})},x.id))})]})]})]})}function Hm(i,c){return function(){return i.apply(c,arguments)}}const{toString:yg}=Object.prototype,{getPrototypeOf:Or}=Object,{iterator:Ui,toStringTag:Lm}=Symbol,Mi=(i=>c=>{const r=yg.call(c);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Le=i=>(i=i.toLowerCase(),c=>Mi(c)===i),Di=i=>c=>typeof c===i,{isArray:kn}=Array,Kn=Di("undefined");function Wa(i){return i!==null&&!Kn(i)&&i.constructor!==null&&!Kn(i.constructor)&&fe(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const wm=Le("ArrayBuffer");function vg(i){let c;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?c=ArrayBuffer.isView(i):c=i&&i.buffer&&wm(i.buffer),c}const pg=Di("string"),fe=Di("function"),Ym=Di("number"),$a=i=>i!==null&&typeof i=="object",gg=i=>i===!0||i===!1,Ei=i=>{if(Mi(i)!=="object")return!1;const c=Or(i);return(c===null||c===Object.prototype||Object.getPrototypeOf(c)===null)&&!(Lm in i)&&!(Ui in i)},Sg=i=>{if(!$a(i)||Wa(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch{return!1}},bg=Le("Date"),Eg=Le("File"),Tg=i=>!!(i&&typeof i.uri<"u"),Ag=i=>i&&typeof i.getParts<"u",Og=Le("Blob"),xg=Le("FileList"),Rg=i=>$a(i)&&fe(i.pipe);function Ng(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const $h=Ng(),Ph=typeof $h.FormData<"u"?$h.FormData:void 0,_g=i=>{let c;return i&&(Ph&&i instanceof Ph||fe(i.append)&&((c=Mi(i))==="formdata"||c==="object"&&fe(i.toString)&&i.toString()==="[object FormData]"))},zg=Le("URLSearchParams"),[Cg,jg,Ug,Mg]=["ReadableStream","Request","Response","Headers"].map(Le),Dg=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Pa(i,c,{allOwnKeys:r=!1}={}){if(i===null||typeof i>"u")return;let s,o;if(typeof i!="object"&&(i=[i]),kn(i))for(s=0,o=i.length;s<o;s++)c.call(null,i[s],s,i);else{if(Wa(i))return;const d=r?Object.getOwnPropertyNames(i):Object.keys(i),m=d.length;let v;for(s=0;s<m;s++)v=d[s],c.call(null,i[v],v,i)}}function Gm(i,c){if(Wa(i))return null;c=c.toLowerCase();const r=Object.keys(i);let s=r.length,o;for(;s-- >0;)if(o=r[s],c===o.toLowerCase())return o;return null}const ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Qm=i=>!Kn(i)&&i!==ln;function pr(){const{caseless:i,skipUndefined:c}=Qm(this)&&this||{},r={},s=(o,d)=>{if(d==="__proto__"||d==="constructor"||d==="prototype")return;const m=i&&Gm(r,d)||d;Ei(r[m])&&Ei(o)?r[m]=pr(r[m],o):Ei(o)?r[m]=pr({},o):kn(o)?r[m]=o.slice():(!c||!Kn(o))&&(r[m]=o)};for(let o=0,d=arguments.length;o<d;o++)arguments[o]&&Pa(arguments[o],s);return r}const Bg=(i,c,r,{allOwnKeys:s}={})=>(Pa(c,(o,d)=>{r&&fe(o)?Object.defineProperty(i,d,{value:Hm(o,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(i,d,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),i),qg=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),Hg=(i,c,r,s)=>{i.prototype=Object.create(c.prototype,s),Object.defineProperty(i.prototype,"constructor",{value:i,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(i,"super",{value:c.prototype}),r&&Object.assign(i.prototype,r)},Lg=(i,c,r,s)=>{let o,d,m;const v={};if(c=c||{},i==null)return c;do{for(o=Object.getOwnPropertyNames(i),d=o.length;d-- >0;)m=o[d],(!s||s(m,i,c))&&!v[m]&&(c[m]=i[m],v[m]=!0);i=r!==!1&&Or(i)}while(i&&(!r||r(i,c))&&i!==Object.prototype);return c},wg=(i,c,r)=>{i=String(i),(r===void 0||r>i.length)&&(r=i.length),r-=c.length;const s=i.indexOf(c,r);return s!==-1&&s===r},Yg=i=>{if(!i)return null;if(kn(i))return i;let c=i.length;if(!Ym(c))return null;const r=new Array(c);for(;c-- >0;)r[c]=i[c];return r},Gg=(i=>c=>i&&c instanceof i)(typeof Uint8Array<"u"&&Or(Uint8Array)),Qg=(i,c)=>{const s=(i&&i[Ui]).call(i);let o;for(;(o=s.next())&&!o.done;){const d=o.value;c.call(i,d[0],d[1])}},Xg=(i,c)=>{let r;const s=[];for(;(r=i.exec(c))!==null;)s.push(r);return s},Vg=Le("HTMLFormElement"),Zg=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,s,o){return s.toUpperCase()+o}),Ih=(({hasOwnProperty:i})=>(c,r)=>i.call(c,r))(Object.prototype),Kg=Le("RegExp"),Xm=(i,c)=>{const r=Object.getOwnPropertyDescriptors(i),s={};Pa(r,(o,d)=>{let m;(m=c(o,d,i))!==!1&&(s[d]=m||o)}),Object.defineProperties(i,s)},Jg=i=>{Xm(i,(c,r)=>{if(fe(i)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const s=i[r];if(fe(s)){if(c.enumerable=!1,"writable"in c){c.writable=!1;return}c.set||(c.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kg=(i,c)=>{const r={},s=o=>{o.forEach(d=>{r[d]=!0})};return kn(i)?s(i):s(String(i).split(c)),r},Fg=()=>{},Wg=(i,c)=>i!=null&&Number.isFinite(i=+i)?i:c;function $g(i){return!!(i&&fe(i.append)&&i[Lm]==="FormData"&&i[Ui])}const Pg=i=>{const c=new Array(10),r=(s,o)=>{if($a(s)){if(c.indexOf(s)>=0)return;if(Wa(s))return s;if(!("toJSON"in s)){c[o]=s;const d=kn(s)?[]:{};return Pa(s,(m,v)=>{const p=r(m,o+1);!Kn(p)&&(d[v]=p)}),c[o]=void 0,d}}return s};return r(i,0)},Ig=Le("AsyncFunction"),t1=i=>i&&($a(i)||fe(i))&&fe(i.then)&&fe(i.catch),Vm=((i,c)=>i?setImmediate:c?((r,s)=>(ln.addEventListener("message",({source:o,data:d})=>{o===ln&&d===r&&s.length&&s.shift()()},!1),o=>{s.push(o),ln.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",fe(ln.postMessage)),e1=typeof queueMicrotask<"u"?queueMicrotask.bind(ln):typeof process<"u"&&process.nextTick||Vm,l1=i=>i!=null&&fe(i[Ui]),z={isArray:kn,isArrayBuffer:wm,isBuffer:Wa,isFormData:_g,isArrayBufferView:vg,isString:pg,isNumber:Ym,isBoolean:gg,isObject:$a,isPlainObject:Ei,isEmptyObject:Sg,isReadableStream:Cg,isRequest:jg,isResponse:Ug,isHeaders:Mg,isUndefined:Kn,isDate:bg,isFile:Eg,isReactNativeBlob:Tg,isReactNative:Ag,isBlob:Og,isRegExp:Kg,isFunction:fe,isStream:Rg,isURLSearchParams:zg,isTypedArray:Gg,isFileList:xg,forEach:Pa,merge:pr,extend:Bg,trim:Dg,stripBOM:qg,inherits:Hg,toFlatObject:Lg,kindOf:Mi,kindOfTest:Le,endsWith:wg,toArray:Yg,forEachEntry:Qg,matchAll:Xg,isHTMLForm:Vg,hasOwnProperty:Ih,hasOwnProp:Ih,reduceDescriptors:Xm,freezeMethods:Jg,toObjectSet:kg,toCamelCase:Zg,noop:Fg,toFiniteNumber:Wg,findKey:Gm,global:ln,isContextDefined:Qm,isSpecCompliantForm:$g,toJSONObject:Pg,isAsyncFn:Ig,isThenable:t1,setImmediate:Vm,asap:e1,isIterable:l1};let tt=class Zm extends Error{static from(c,r,s,o,d,m){const v=new Zm(c.message,r||c.code,s,o,d);return v.cause=c,v.name=c.name,c.status!=null&&v.status==null&&(v.status=c.status),m&&Object.assign(v,m),v}constructor(c,r,s,o,d){super(c),Object.defineProperty(this,"message",{value:c,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),s&&(this.config=s),o&&(this.request=o),d&&(this.response=d,this.status=d.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}};tt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";tt.ERR_BAD_OPTION="ERR_BAD_OPTION";tt.ECONNABORTED="ECONNABORTED";tt.ETIMEDOUT="ETIMEDOUT";tt.ERR_NETWORK="ERR_NETWORK";tt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";tt.ERR_DEPRECATED="ERR_DEPRECATED";tt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";tt.ERR_BAD_REQUEST="ERR_BAD_REQUEST";tt.ERR_CANCELED="ERR_CANCELED";tt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";tt.ERR_INVALID_URL="ERR_INVALID_URL";const n1=null;function gr(i){return z.isPlainObject(i)||z.isArray(i)}function Km(i){return z.endsWith(i,"[]")?i.slice(0,-2):i}function rr(i,c,r){return i?i.concat(c).map(function(o,d){return o=Km(o),!r&&d?"["+o+"]":o}).join(r?".":""):c}function a1(i){return z.isArray(i)&&!i.some(gr)}const u1=z.toFlatObject(z,{},null,function(c){return/^is[A-Z]/.test(c)});function Bi(i,c,r){if(!z.isObject(i))throw new TypeError("target must be an object");c=c||new FormData,r=z.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(D,U){return!z.isUndefined(U[D])});const s=r.metaTokens,o=r.visitor||E,d=r.dots,m=r.indexes,p=(r.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(c);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function y(x){if(x===null)return"";if(z.isDate(x))return x.toISOString();if(z.isBoolean(x))return x.toString();if(!p&&z.isBlob(x))throw new tt("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(x)||z.isTypedArray(x)?p&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function E(x,D,U){let Z=x;if(z.isReactNative(c)&&z.isReactNativeBlob(x))return c.append(rr(U,D,d),y(x)),!1;if(x&&!U&&typeof x=="object"){if(z.endsWith(D,"{}"))D=s?D:D.slice(0,-2),x=JSON.stringify(x);else if(z.isArray(x)&&a1(x)||(z.isFileList(x)||z.endsWith(D,"[]"))&&(Z=z.toArray(x)))return D=Km(D),Z.forEach(function(w,J){!(z.isUndefined(w)||w===null)&&c.append(m===!0?rr([D],J,d):m===null?D:D+"[]",y(w))}),!1}return gr(x)?!0:(c.append(rr(U,D,d),y(x)),!1)}const A=[],Y=Object.assign(u1,{defaultVisitor:E,convertValue:y,isVisitable:gr});function X(x,D){if(!z.isUndefined(x)){if(A.indexOf(x)!==-1)throw Error("Circular reference detected in "+D.join("."));A.push(x),z.forEach(x,function(Z,F){(!(z.isUndefined(Z)||Z===null)&&o.call(c,Z,z.isString(F)?F.trim():F,D,Y))===!0&&X(Z,D?D.concat(F):[F])}),A.pop()}}if(!z.isObject(i))throw new TypeError("data must be an object");return X(i),c}function tm(i){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(s){return c[s]})}function xr(i,c){this._pairs=[],i&&Bi(i,this,c)}const Jm=xr.prototype;Jm.append=function(c,r){this._pairs.push([c,r])};Jm.toString=function(c){const r=c?function(s){return c.call(this,s,tm)}:tm;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function i1(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function km(i,c,r){if(!c)return i;const s=r&&r.encode||i1,o=z.isFunction(r)?{serialize:r}:r,d=o&&o.serialize;let m;if(d?m=d(c,o):m=z.isURLSearchParams(c)?c.toString():new xr(c,o).toString(s),m){const v=i.indexOf("#");v!==-1&&(i=i.slice(0,v)),i+=(i.indexOf("?")===-1?"?":"&")+m}return i}class em{constructor(){this.handlers=[]}use(c,r,s){return this.handlers.push({fulfilled:c,rejected:r,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(c){this.handlers[c]&&(this.handlers[c]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(c){z.forEach(this.handlers,function(s){s!==null&&c(s)})}}const Rr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},c1=typeof URLSearchParams<"u"?URLSearchParams:xr,s1=typeof FormData<"u"?FormData:null,r1=typeof Blob<"u"?Blob:null,f1={isBrowser:!0,classes:{URLSearchParams:c1,FormData:s1,Blob:r1},protocols:["http","https","file","blob","url","data"]},Nr=typeof window<"u"&&typeof document<"u",Sr=typeof navigator=="object"&&navigator||void 0,o1=Nr&&(!Sr||["ReactNative","NativeScript","NS"].indexOf(Sr.product)<0),d1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",h1=Nr&&window.location.href||"http://localhost",m1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Nr,hasStandardBrowserEnv:o1,hasStandardBrowserWebWorkerEnv:d1,navigator:Sr,origin:h1},Symbol.toStringTag,{value:"Module"})),Pt={...m1,...f1};function y1(i,c){return Bi(i,new Pt.classes.URLSearchParams,{visitor:function(r,s,o,d){return Pt.isNode&&z.isBuffer(r)?(this.append(s,r.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...c})}function v1(i){return z.matchAll(/\w+|\[(\w*)]/g,i).map(c=>c[0]==="[]"?"":c[1]||c[0])}function p1(i){const c={},r=Object.keys(i);let s;const o=r.length;let d;for(s=0;s<o;s++)d=r[s],c[d]=i[d];return c}function Fm(i){function c(r,s,o,d){let m=r[d++];if(m==="__proto__")return!0;const v=Number.isFinite(+m),p=d>=r.length;return m=!m&&z.isArray(o)?o.length:m,p?(z.hasOwnProp(o,m)?o[m]=[o[m],s]:o[m]=s,!v):((!o[m]||!z.isObject(o[m]))&&(o[m]=[]),c(r,s,o[m],d)&&z.isArray(o[m])&&(o[m]=p1(o[m])),!v)}if(z.isFormData(i)&&z.isFunction(i.entries)){const r={};return z.forEachEntry(i,(s,o)=>{c(v1(s),o,r,0)}),r}return null}function g1(i,c,r){if(z.isString(i))try{return(c||JSON.parse)(i),z.trim(i)}catch(s){if(s.name!=="SyntaxError")throw s}return(r||JSON.stringify)(i)}const Ia={transitional:Rr,adapter:["xhr","http","fetch"],transformRequest:[function(c,r){const s=r.getContentType()||"",o=s.indexOf("application/json")>-1,d=z.isObject(c);if(d&&z.isHTMLForm(c)&&(c=new FormData(c)),z.isFormData(c))return o?JSON.stringify(Fm(c)):c;if(z.isArrayBuffer(c)||z.isBuffer(c)||z.isStream(c)||z.isFile(c)||z.isBlob(c)||z.isReadableStream(c))return c;if(z.isArrayBufferView(c))return c.buffer;if(z.isURLSearchParams(c))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),c.toString();let v;if(d){if(s.indexOf("application/x-www-form-urlencoded")>-1)return y1(c,this.formSerializer).toString();if((v=z.isFileList(c))||s.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return Bi(v?{"files[]":c}:c,p&&new p,this.formSerializer)}}return d||o?(r.setContentType("application/json",!1),g1(c)):c}],transformResponse:[function(c){const r=this.transitional||Ia.transitional,s=r&&r.forcedJSONParsing,o=this.responseType==="json";if(z.isResponse(c)||z.isReadableStream(c))return c;if(c&&z.isString(c)&&(s&&!this.responseType||o)){const m=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(c,this.parseReviver)}catch(v){if(m)throw v.name==="SyntaxError"?tt.from(v,tt.ERR_BAD_RESPONSE,this,null,this.response):v}}return c}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Pt.classes.FormData,Blob:Pt.classes.Blob},validateStatus:function(c){return c>=200&&c<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],i=>{Ia.headers[i]={}});const S1=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),b1=i=>{const c={};let r,s,o;return i&&i.split(`
`).forEach(function(m){o=m.indexOf(":"),r=m.substring(0,o).trim().toLowerCase(),s=m.substring(o+1).trim(),!(!r||c[r]&&S1[r])&&(r==="set-cookie"?c[r]?c[r].push(s):c[r]=[s]:c[r]=c[r]?c[r]+", "+s:s)}),c},lm=Symbol("internals");function Za(i){return i&&String(i).trim().toLowerCase()}function Ti(i){return i===!1||i==null?i:z.isArray(i)?i.map(Ti):String(i)}function E1(i){const c=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=r.exec(i);)c[s[1]]=s[2];return c}const T1=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function fr(i,c,r,s,o){if(z.isFunction(s))return s.call(this,c,r);if(o&&(c=r),!!z.isString(c)){if(z.isString(s))return c.indexOf(s)!==-1;if(z.isRegExp(s))return s.test(c)}}function A1(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(c,r,s)=>r.toUpperCase()+s)}function O1(i,c){const r=z.toCamelCase(" "+c);["get","set","has"].forEach(s=>{Object.defineProperty(i,s+r,{value:function(o,d,m){return this[s].call(this,c,o,d,m)},configurable:!0})})}let oe=class{constructor(c){c&&this.set(c)}set(c,r,s){const o=this;function d(v,p,y){const E=Za(p);if(!E)throw new Error("header name must be a non-empty string");const A=z.findKey(o,E);(!A||o[A]===void 0||y===!0||y===void 0&&o[A]!==!1)&&(o[A||p]=Ti(v))}const m=(v,p)=>z.forEach(v,(y,E)=>d(y,E,p));if(z.isPlainObject(c)||c instanceof this.constructor)m(c,r);else if(z.isString(c)&&(c=c.trim())&&!T1(c))m(b1(c),r);else if(z.isObject(c)&&z.isIterable(c)){let v={},p,y;for(const E of c){if(!z.isArray(E))throw TypeError("Object iterator must return a key-value pair");v[y=E[0]]=(p=v[y])?z.isArray(p)?[...p,E[1]]:[p,E[1]]:E[1]}m(v,r)}else c!=null&&d(r,c,s);return this}get(c,r){if(c=Za(c),c){const s=z.findKey(this,c);if(s){const o=this[s];if(!r)return o;if(r===!0)return E1(o);if(z.isFunction(r))return r.call(this,o,s);if(z.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(c,r){if(c=Za(c),c){const s=z.findKey(this,c);return!!(s&&this[s]!==void 0&&(!r||fr(this,this[s],s,r)))}return!1}delete(c,r){const s=this;let o=!1;function d(m){if(m=Za(m),m){const v=z.findKey(s,m);v&&(!r||fr(s,s[v],v,r))&&(delete s[v],o=!0)}}return z.isArray(c)?c.forEach(d):d(c),o}clear(c){const r=Object.keys(this);let s=r.length,o=!1;for(;s--;){const d=r[s];(!c||fr(this,this[d],d,c,!0))&&(delete this[d],o=!0)}return o}normalize(c){const r=this,s={};return z.forEach(this,(o,d)=>{const m=z.findKey(s,d);if(m){r[m]=Ti(o),delete r[d];return}const v=c?A1(d):String(d).trim();v!==d&&delete r[d],r[v]=Ti(o),s[v]=!0}),this}concat(...c){return this.constructor.concat(this,...c)}toJSON(c){const r=Object.create(null);return z.forEach(this,(s,o)=>{s!=null&&s!==!1&&(r[o]=c&&z.isArray(s)?s.join(", "):s)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([c,r])=>c+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(c){return c instanceof this?c:new this(c)}static concat(c,...r){const s=new this(c);return r.forEach(o=>s.set(o)),s}static accessor(c){const s=(this[lm]=this[lm]={accessors:{}}).accessors,o=this.prototype;function d(m){const v=Za(m);s[v]||(O1(o,m),s[v]=!0)}return z.isArray(c)?c.forEach(d):d(c),this}};oe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(oe.prototype,({value:i},c)=>{let r=c[0].toUpperCase()+c.slice(1);return{get:()=>i,set(s){this[r]=s}}});z.freezeMethods(oe);function or(i,c){const r=this||Ia,s=c||r,o=oe.from(s.headers);let d=s.data;return z.forEach(i,function(v){d=v.call(r,d,o.normalize(),c?c.status:void 0)}),o.normalize(),d}function Wm(i){return!!(i&&i.__CANCEL__)}let tu=class extends tt{constructor(c,r,s){super(c??"canceled",tt.ERR_CANCELED,r,s),this.name="CanceledError",this.__CANCEL__=!0}};function $m(i,c,r){const s=r.config.validateStatus;!r.status||!s||s(r.status)?i(r):c(new tt("Request failed with status code "+r.status,[tt.ERR_BAD_REQUEST,tt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function x1(i){const c=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return c&&c[1]||""}function R1(i,c){i=i||10;const r=new Array(i),s=new Array(i);let o=0,d=0,m;return c=c!==void 0?c:1e3,function(p){const y=Date.now(),E=s[d];m||(m=y),r[o]=p,s[o]=y;let A=d,Y=0;for(;A!==o;)Y+=r[A++],A=A%i;if(o=(o+1)%i,o===d&&(d=(d+1)%i),y-m<c)return;const X=E&&y-E;return X?Math.round(Y*1e3/X):void 0}}function N1(i,c){let r=0,s=1e3/c,o,d;const m=(y,E=Date.now())=>{r=E,o=null,d&&(clearTimeout(d),d=null),i(...y)};return[(...y)=>{const E=Date.now(),A=E-r;A>=s?m(y,E):(o=y,d||(d=setTimeout(()=>{d=null,m(o)},s-A)))},()=>o&&m(o)]}const Ni=(i,c,r=3)=>{let s=0;const o=R1(50,250);return N1(d=>{const m=d.loaded,v=d.lengthComputable?d.total:void 0,p=m-s,y=o(p),E=m<=v;s=m;const A={loaded:m,total:v,progress:v?m/v:void 0,bytes:p,rate:y||void 0,estimated:y&&v&&E?(v-m)/y:void 0,event:d,lengthComputable:v!=null,[c?"download":"upload"]:!0};i(A)},r)},nm=(i,c)=>{const r=i!=null;return[s=>c[0]({lengthComputable:r,total:i,loaded:s}),c[1]]},am=i=>(...c)=>z.asap(()=>i(...c)),_1=Pt.hasStandardBrowserEnv?((i,c)=>r=>(r=new URL(r,Pt.origin),i.protocol===r.protocol&&i.host===r.host&&(c||i.port===r.port)))(new URL(Pt.origin),Pt.navigator&&/(msie|trident)/i.test(Pt.navigator.userAgent)):()=>!0,z1=Pt.hasStandardBrowserEnv?{write(i,c,r,s,o,d,m){if(typeof document>"u")return;const v=[`${i}=${encodeURIComponent(c)}`];z.isNumber(r)&&v.push(`expires=${new Date(r).toUTCString()}`),z.isString(s)&&v.push(`path=${s}`),z.isString(o)&&v.push(`domain=${o}`),d===!0&&v.push("secure"),z.isString(m)&&v.push(`SameSite=${m}`),document.cookie=v.join("; ")},read(i){if(typeof document>"u")return null;const c=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return c?decodeURIComponent(c[1]):null},remove(i){this.write(i,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function C1(i){return typeof i!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function j1(i,c){return c?i.replace(/\/?\/$/,"")+"/"+c.replace(/^\/+/,""):i}function Pm(i,c,r){let s=!C1(c);return i&&(s||r==!1)?j1(i,c):c}const um=i=>i instanceof oe?{...i}:i;function an(i,c){c=c||{};const r={};function s(y,E,A,Y){return z.isPlainObject(y)&&z.isPlainObject(E)?z.merge.call({caseless:Y},y,E):z.isPlainObject(E)?z.merge({},E):z.isArray(E)?E.slice():E}function o(y,E,A,Y){if(z.isUndefined(E)){if(!z.isUndefined(y))return s(void 0,y,A,Y)}else return s(y,E,A,Y)}function d(y,E){if(!z.isUndefined(E))return s(void 0,E)}function m(y,E){if(z.isUndefined(E)){if(!z.isUndefined(y))return s(void 0,y)}else return s(void 0,E)}function v(y,E,A){if(A in c)return s(y,E);if(A in i)return s(void 0,y)}const p={url:d,method:d,data:d,baseURL:m,transformRequest:m,transformResponse:m,paramsSerializer:m,timeout:m,timeoutMessage:m,withCredentials:m,withXSRFToken:m,adapter:m,responseType:m,xsrfCookieName:m,xsrfHeaderName:m,onUploadProgress:m,onDownloadProgress:m,decompress:m,maxContentLength:m,maxBodyLength:m,beforeRedirect:m,transport:m,httpAgent:m,httpsAgent:m,cancelToken:m,socketPath:m,responseEncoding:m,validateStatus:v,headers:(y,E,A)=>o(um(y),um(E),A,!0)};return z.forEach(Object.keys({...i,...c}),function(E){if(E==="__proto__"||E==="constructor"||E==="prototype")return;const A=z.hasOwnProp(p,E)?p[E]:o,Y=A(i[E],c[E],E);z.isUndefined(Y)&&A!==v||(r[E]=Y)}),r}const Im=i=>{const c=an({},i);let{data:r,withXSRFToken:s,xsrfHeaderName:o,xsrfCookieName:d,headers:m,auth:v}=c;if(c.headers=m=oe.from(m),c.url=km(Pm(c.baseURL,c.url,c.allowAbsoluteUrls),i.params,i.paramsSerializer),v&&m.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):""))),z.isFormData(r)){if(Pt.hasStandardBrowserEnv||Pt.hasStandardBrowserWebWorkerEnv)m.setContentType(void 0);else if(z.isFunction(r.getHeaders)){const p=r.getHeaders(),y=["content-type","content-length"];Object.entries(p).forEach(([E,A])=>{y.includes(E.toLowerCase())&&m.set(E,A)})}}if(Pt.hasStandardBrowserEnv&&(s&&z.isFunction(s)&&(s=s(c)),s||s!==!1&&_1(c.url))){const p=o&&d&&z1.read(d);p&&m.set(o,p)}return c},U1=typeof XMLHttpRequest<"u",M1=U1&&function(i){return new Promise(function(r,s){const o=Im(i);let d=o.data;const m=oe.from(o.headers).normalize();let{responseType:v,onUploadProgress:p,onDownloadProgress:y}=o,E,A,Y,X,x;function D(){X&&X(),x&&x(),o.cancelToken&&o.cancelToken.unsubscribe(E),o.signal&&o.signal.removeEventListener("abort",E)}let U=new XMLHttpRequest;U.open(o.method.toUpperCase(),o.url,!0),U.timeout=o.timeout;function Z(){if(!U)return;const w=oe.from("getAllResponseHeaders"in U&&U.getAllResponseHeaders()),st={data:!v||v==="text"||v==="json"?U.responseText:U.response,status:U.status,statusText:U.statusText,headers:w,config:i,request:U};$m(function(P){r(P),D()},function(P){s(P),D()},st),U=null}"onloadend"in U?U.onloadend=Z:U.onreadystatechange=function(){!U||U.readyState!==4||U.status===0&&!(U.responseURL&&U.responseURL.indexOf("file:")===0)||setTimeout(Z)},U.onabort=function(){U&&(s(new tt("Request aborted",tt.ECONNABORTED,i,U)),U=null)},U.onerror=function(J){const st=J&&J.message?J.message:"Network Error",Ot=new tt(st,tt.ERR_NETWORK,i,U);Ot.event=J||null,s(Ot),U=null},U.ontimeout=function(){let J=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const st=o.transitional||Rr;o.timeoutErrorMessage&&(J=o.timeoutErrorMessage),s(new tt(J,st.clarifyTimeoutError?tt.ETIMEDOUT:tt.ECONNABORTED,i,U)),U=null},d===void 0&&m.setContentType(null),"setRequestHeader"in U&&z.forEach(m.toJSON(),function(J,st){U.setRequestHeader(st,J)}),z.isUndefined(o.withCredentials)||(U.withCredentials=!!o.withCredentials),v&&v!=="json"&&(U.responseType=o.responseType),y&&([Y,x]=Ni(y,!0),U.addEventListener("progress",Y)),p&&U.upload&&([A,X]=Ni(p),U.upload.addEventListener("progress",A),U.upload.addEventListener("loadend",X)),(o.cancelToken||o.signal)&&(E=w=>{U&&(s(!w||w.type?new tu(null,i,U):w),U.abort(),U=null)},o.cancelToken&&o.cancelToken.subscribe(E),o.signal&&(o.signal.aborted?E():o.signal.addEventListener("abort",E)));const F=x1(o.url);if(F&&Pt.protocols.indexOf(F)===-1){s(new tt("Unsupported protocol "+F+":",tt.ERR_BAD_REQUEST,i));return}U.send(d||null)})},D1=(i,c)=>{const{length:r}=i=i?i.filter(Boolean):[];if(c||r){let s=new AbortController,o;const d=function(y){if(!o){o=!0,v();const E=y instanceof Error?y:this.reason;s.abort(E instanceof tt?E:new tu(E instanceof Error?E.message:E))}};let m=c&&setTimeout(()=>{m=null,d(new tt(`timeout of ${c}ms exceeded`,tt.ETIMEDOUT))},c);const v=()=>{i&&(m&&clearTimeout(m),m=null,i.forEach(y=>{y.unsubscribe?y.unsubscribe(d):y.removeEventListener("abort",d)}),i=null)};i.forEach(y=>y.addEventListener("abort",d));const{signal:p}=s;return p.unsubscribe=()=>z.asap(v),p}},B1=function*(i,c){let r=i.byteLength;if(r<c){yield i;return}let s=0,o;for(;s<r;)o=s+c,yield i.slice(s,o),s=o},q1=async function*(i,c){for await(const r of H1(i))yield*B1(r,c)},H1=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}const c=i.getReader();try{for(;;){const{done:r,value:s}=await c.read();if(r)break;yield s}}finally{await c.cancel()}},im=(i,c,r,s)=>{const o=q1(i,c);let d=0,m,v=p=>{m||(m=!0,s&&s(p))};return new ReadableStream({async pull(p){try{const{done:y,value:E}=await o.next();if(y){v(),p.close();return}let A=E.byteLength;if(r){let Y=d+=A;r(Y)}p.enqueue(new Uint8Array(E))}catch(y){throw v(y),y}},cancel(p){return v(p),o.return()}},{highWaterMark:2})},cm=64*1024,{isFunction:bi}=z,L1=(({Request:i,Response:c})=>({Request:i,Response:c}))(z.global),{ReadableStream:sm,TextEncoder:rm}=z.global,fm=(i,...c)=>{try{return!!i(...c)}catch{return!1}},w1=i=>{i=z.merge.call({skipUndefined:!0},L1,i);const{fetch:c,Request:r,Response:s}=i,o=c?bi(c):typeof fetch=="function",d=bi(r),m=bi(s);if(!o)return!1;const v=o&&bi(sm),p=o&&(typeof rm=="function"?(x=>D=>x.encode(D))(new rm):async x=>new Uint8Array(await new r(x).arrayBuffer())),y=d&&v&&fm(()=>{let x=!1;const D=new r(Pt.origin,{body:new sm,method:"POST",get duplex(){return x=!0,"half"}}).headers.has("Content-Type");return x&&!D}),E=m&&v&&fm(()=>z.isReadableStream(new s("").body)),A={stream:E&&(x=>x.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(x=>{!A[x]&&(A[x]=(D,U)=>{let Z=D&&D[x];if(Z)return Z.call(D);throw new tt(`Response type '${x}' is not supported`,tt.ERR_NOT_SUPPORT,U)})});const Y=async x=>{if(x==null)return 0;if(z.isBlob(x))return x.size;if(z.isSpecCompliantForm(x))return(await new r(Pt.origin,{method:"POST",body:x}).arrayBuffer()).byteLength;if(z.isArrayBufferView(x)||z.isArrayBuffer(x))return x.byteLength;if(z.isURLSearchParams(x)&&(x=x+""),z.isString(x))return(await p(x)).byteLength},X=async(x,D)=>{const U=z.toFiniteNumber(x.getContentLength());return U??Y(D)};return async x=>{let{url:D,method:U,data:Z,signal:F,cancelToken:w,timeout:J,onDownloadProgress:st,onUploadProgress:Ot,responseType:P,headers:_t,withCredentials:Vt="same-origin",fetchOptions:de}=Im(x),It=c||fetch;P=P?(P+"").toLowerCase():"text";let Yt=D1([F,w&&w.toAbortSignal()],J),he=null;const Zt=Yt&&Yt.unsubscribe&&(()=>{Yt.unsubscribe()});let le;try{if(Ot&&y&&U!=="get"&&U!=="head"&&(le=await X(_t,Z))!==0){let S=new r(D,{method:"POST",body:Z,duplex:"half"}),H;if(z.isFormData(Z)&&(H=S.headers.get("content-type"))&&_t.setContentType(H),S.body){const[Q,V]=nm(le,Ni(am(Ot)));Z=im(S.body,cm,Q,V)}}z.isString(Vt)||(Vt=Vt?"include":"omit");const j=d&&"credentials"in r.prototype,G={...de,signal:Yt,method:U.toUpperCase(),headers:_t.normalize().toJSON(),body:Z,duplex:"half",credentials:j?Vt:void 0};he=d&&new r(D,G);let W=await(d?It(he,de):It(D,G));const mt=E&&(P==="stream"||P==="response");if(E&&(st||mt&&Zt)){const S={};["status","statusText","headers"].forEach(et=>{S[et]=W[et]});const H=z.toFiniteNumber(W.headers.get("content-length")),[Q,V]=st&&nm(H,Ni(am(st),!0))||[];W=new s(im(W.body,cm,Q,()=>{V&&V(),Zt&&Zt()}),S)}P=P||"text";let pt=await A[z.findKey(A,P)||"text"](W,x);return!mt&&Zt&&Zt(),await new Promise((S,H)=>{$m(S,H,{data:pt,headers:oe.from(W.headers),status:W.status,statusText:W.statusText,config:x,request:he})})}catch(j){throw Zt&&Zt(),j&&j.name==="TypeError"&&/Load failed|fetch/i.test(j.message)?Object.assign(new tt("Network Error",tt.ERR_NETWORK,x,he,j&&j.response),{cause:j.cause||j}):tt.from(j,j&&j.code,x,he,j&&j.response)}}},Y1=new Map,ty=i=>{let c=i&&i.env||{};const{fetch:r,Request:s,Response:o}=c,d=[s,o,r];let m=d.length,v=m,p,y,E=Y1;for(;v--;)p=d[v],y=E.get(p),y===void 0&&E.set(p,y=v?new Map:w1(c)),E=y;return y};ty();const _r={http:n1,xhr:M1,fetch:{get:ty}};z.forEach(_r,(i,c)=>{if(i){try{Object.defineProperty(i,"name",{value:c})}catch{}Object.defineProperty(i,"adapterName",{value:c})}});const om=i=>`- ${i}`,G1=i=>z.isFunction(i)||i===null||i===!1;function Q1(i,c){i=z.isArray(i)?i:[i];const{length:r}=i;let s,o;const d={};for(let m=0;m<r;m++){s=i[m];let v;if(o=s,!G1(s)&&(o=_r[(v=String(s)).toLowerCase()],o===void 0))throw new tt(`Unknown adapter '${v}'`);if(o&&(z.isFunction(o)||(o=o.get(c))))break;d[v||"#"+m]=o}if(!o){const m=Object.entries(d).map(([p,y])=>`adapter ${p} `+(y===!1?"is not supported by the environment":"is not available in the build"));let v=r?m.length>1?`since :
`+m.map(om).join(`
`):" "+om(m[0]):"as no adapter specified";throw new tt("There is no suitable adapter to dispatch the request "+v,"ERR_NOT_SUPPORT")}return o}const ey={getAdapter:Q1,adapters:_r};function dr(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new tu(null,i)}function dm(i){return dr(i),i.headers=oe.from(i.headers),i.data=or.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),ey.getAdapter(i.adapter||Ia.adapter,i)(i).then(function(s){return dr(i),s.data=or.call(i,i.transformResponse,s),s.headers=oe.from(s.headers),s},function(s){return Wm(s)||(dr(i),s&&s.response&&(s.response.data=or.call(i,i.transformResponse,s.response),s.response.headers=oe.from(s.response.headers))),Promise.reject(s)})}const ly="1.13.6",qi={};["object","boolean","number","function","string","symbol"].forEach((i,c)=>{qi[i]=function(s){return typeof s===i||"a"+(c<1?"n ":" ")+i}});const hm={};qi.transitional=function(c,r,s){function o(d,m){return"[Axios v"+ly+"] Transitional option '"+d+"'"+m+(s?". "+s:"")}return(d,m,v)=>{if(c===!1)throw new tt(o(m," has been removed"+(r?" in "+r:"")),tt.ERR_DEPRECATED);return r&&!hm[m]&&(hm[m]=!0,console.warn(o(m," has been deprecated since v"+r+" and will be removed in the near future"))),c?c(d,m,v):!0}};qi.spelling=function(c){return(r,s)=>(console.warn(`${s} is likely a misspelling of ${c}`),!0)};function X1(i,c,r){if(typeof i!="object")throw new tt("options must be an object",tt.ERR_BAD_OPTION_VALUE);const s=Object.keys(i);let o=s.length;for(;o-- >0;){const d=s[o],m=c[d];if(m){const v=i[d],p=v===void 0||m(v,d,i);if(p!==!0)throw new tt("option "+d+" must be "+p,tt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new tt("Unknown option "+d,tt.ERR_BAD_OPTION)}}const Ai={assertOptions:X1,validators:qi},De=Ai.validators;let nn=class{constructor(c){this.defaults=c||{},this.interceptors={request:new em,response:new em}}async request(c,r){try{return await this._request(c,r)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{s.stack?d&&!String(s.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(s.stack+=`
`+d):s.stack=d}catch{}}throw s}}_request(c,r){typeof c=="string"?(r=r||{},r.url=c):r=c||{},r=an(this.defaults,r);const{transitional:s,paramsSerializer:o,headers:d}=r;s!==void 0&&Ai.assertOptions(s,{silentJSONParsing:De.transitional(De.boolean),forcedJSONParsing:De.transitional(De.boolean),clarifyTimeoutError:De.transitional(De.boolean),legacyInterceptorReqResOrdering:De.transitional(De.boolean)},!1),o!=null&&(z.isFunction(o)?r.paramsSerializer={serialize:o}:Ai.assertOptions(o,{encode:De.function,serialize:De.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ai.assertOptions(r,{baseUrl:De.spelling("baseURL"),withXsrfToken:De.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let m=d&&z.merge(d.common,d[r.method]);d&&z.forEach(["delete","get","head","post","put","patch","common"],x=>{delete d[x]}),r.headers=oe.concat(m,d);const v=[];let p=!0;this.interceptors.request.forEach(function(D){if(typeof D.runWhen=="function"&&D.runWhen(r)===!1)return;p=p&&D.synchronous;const U=r.transitional||Rr;U&&U.legacyInterceptorReqResOrdering?v.unshift(D.fulfilled,D.rejected):v.push(D.fulfilled,D.rejected)});const y=[];this.interceptors.response.forEach(function(D){y.push(D.fulfilled,D.rejected)});let E,A=0,Y;if(!p){const x=[dm.bind(this),void 0];for(x.unshift(...v),x.push(...y),Y=x.length,E=Promise.resolve(r);A<Y;)E=E.then(x[A++],x[A++]);return E}Y=v.length;let X=r;for(;A<Y;){const x=v[A++],D=v[A++];try{X=x(X)}catch(U){D.call(this,U);break}}try{E=dm.call(this,X)}catch(x){return Promise.reject(x)}for(A=0,Y=y.length;A<Y;)E=E.then(y[A++],y[A++]);return E}getUri(c){c=an(this.defaults,c);const r=Pm(c.baseURL,c.url,c.allowAbsoluteUrls);return km(r,c.params,c.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(c){nn.prototype[c]=function(r,s){return this.request(an(s||{},{method:c,url:r,data:(s||{}).data}))}});z.forEach(["post","put","patch"],function(c){function r(s){return function(d,m,v){return this.request(an(v||{},{method:c,headers:s?{"Content-Type":"multipart/form-data"}:{},url:d,data:m}))}}nn.prototype[c]=r(),nn.prototype[c+"Form"]=r(!0)});let V1=class ny{constructor(c){if(typeof c!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(d){r=d});const s=this;this.promise.then(o=>{if(!s._listeners)return;let d=s._listeners.length;for(;d-- >0;)s._listeners[d](o);s._listeners=null}),this.promise.then=o=>{let d;const m=new Promise(v=>{s.subscribe(v),d=v}).then(o);return m.cancel=function(){s.unsubscribe(d)},m},c(function(d,m,v){s.reason||(s.reason=new tu(d,m,v),r(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(c){if(this.reason){c(this.reason);return}this._listeners?this._listeners.push(c):this._listeners=[c]}unsubscribe(c){if(!this._listeners)return;const r=this._listeners.indexOf(c);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const c=new AbortController,r=s=>{c.abort(s)};return this.subscribe(r),c.signal.unsubscribe=()=>this.unsubscribe(r),c.signal}static source(){let c;return{token:new ny(function(o){c=o}),cancel:c}}};function Z1(i){return function(r){return i.apply(null,r)}}function K1(i){return z.isObject(i)&&i.isAxiosError===!0}const br={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(br).forEach(([i,c])=>{br[c]=i});function ay(i){const c=new nn(i),r=Hm(nn.prototype.request,c);return z.extend(r,nn.prototype,c,{allOwnKeys:!0}),z.extend(r,c,null,{allOwnKeys:!0}),r.create=function(o){return ay(an(i,o))},r}const Bt=ay(Ia);Bt.Axios=nn;Bt.CanceledError=tu;Bt.CancelToken=V1;Bt.isCancel=Wm;Bt.VERSION=ly;Bt.toFormData=Bi;Bt.AxiosError=tt;Bt.Cancel=Bt.CanceledError;Bt.all=function(c){return Promise.all(c)};Bt.spread=Z1;Bt.isAxiosError=K1;Bt.mergeConfig=an;Bt.AxiosHeaders=oe;Bt.formToJSON=i=>Fm(z.isHTMLForm(i)?new FormData(i):i);Bt.getAdapter=ey.getAdapter;Bt.HttpStatusCode=br;Bt.default=Bt;const{Axios:tS,AxiosError:eS,CanceledError:lS,isCancel:nS,CancelToken:aS,VERSION:uS,all:iS,Cancel:cS,isAxiosError:sS,spread:rS,toFormData:fS,AxiosHeaders:oS,HttpStatusCode:dS,formToJSON:hS,getAdapter:mS,mergeConfig:yS}=Bt,J1="https://openlibrary.org/search.json";function k1(i){return{title:i.title||"Sans titre",author:Array.isArray(i.author_name)?i.author_name[0]:"Auteur inconnu",year:typeof i.first_publish_year=="number"?i.first_publish_year:new Date().getFullYear(),genre:Array.isArray(i.subject)?i.subject[0]:"",price:10,read:!1}}function mm(i,c){return i.key||i.cover_edition_key||`${i.title||"work"}-${c}`}function F1(){const{postBook:i}=ji(),[c,r]=B.useState(""),[s,o]=B.useState(!1),[d,m]=B.useState(null),[v,p]=B.useState([]),[y,E]=B.useState(()=>new Set),[A,Y]=B.useState("");async function X(D){var Z,F;D.preventDefault();const U=c.trim();if(U){o(!0),m(null),p([]),E(()=>new Set),Y(U);try{const{data:w}=await Bt.get(J1,{params:{q:U,limit:15},timeout:15e3});p(Array.isArray(w.docs)?w.docs:[])}catch(w){m(((F=(Z=w.response)==null?void 0:Z.data)==null?void 0:F.error)||w.message||"Impossible de contacter Open Library.")}finally{o(!1)}}}function x(D,U){i(k1(D));const Z=mm(D,U);E(F=>new Set(F).add(Z))}return T.jsxs("div",{className:"search-page",children:[T.jsx("h2",{className:"search-page-title",children:"Recherche Open Library"}),T.jsx("p",{className:"search-page-lead",children:"Interroge l’API publique Open Library avec Axios, puis ajoute un ouvrage à ton catalogue local."}),T.jsxs("form",{className:"search-form",onSubmit:X,children:[T.jsx("input",{type:"search",className:"search search-wide",placeholder:"Titre, auteur, sujet…",value:c,onChange:D=>r(D.target.value),"aria-label":"Requête Open Library"}),T.jsx("button",{type:"submit",className:"btn primary",disabled:s,children:s?"Recherche…":"Rechercher"})]}),d?T.jsx("p",{className:"search-error",role:"alert",children:d}):null,!s&&v.length===0&&!d&&!A?T.jsx("p",{className:"search-hint",children:"Saisis un mot-clé et lance la recherche."}):null,!s&&v.length===0&&!d&&A?T.jsxs("p",{className:"search-hint",children:["Aucun résultat pour « ",A," »."]}):null,v.length>0?T.jsx("ul",{className:"ol-results",children:v.map((D,U)=>{const Z=mm(D,U),F=typeof D.first_publish_year=="number"?D.first_publish_year:"—",w=Array.isArray(D.author_name)?D.author_name.slice(0,2).join(", "):"—",J=y.has(Z);return T.jsxs("li",{className:"ol-result-card",children:[T.jsx("h3",{className:"ol-result-title",children:D.title||"Sans titre"}),T.jsxs("p",{className:"ol-result-meta",children:[w," · ",F]}),T.jsx("button",{type:"button",className:"btn small primary",onClick:()=>x(D,U),disabled:J,children:J?"Enregistré":"Enregistrer (POST /api/books)"})]},Z)})}):null]})}function W1(){return T.jsx(Dp,{children:T.jsxs(en,{path:"/",element:T.jsx(ig,{}),children:[T.jsx(en,{index:!0,element:T.jsx(hg,{})}),T.jsx(en,{path:"recherche",element:T.jsx(F1,{})}),T.jsx(en,{path:"commande",element:T.jsx(rg,{})}),T.jsx(en,{path:"promotions",element:T.jsx(mg,{})}),T.jsx(en,{path:":id",element:T.jsx(cg,{})})]})})}Yv.createRoot(document.getElementById("root")).render(T.jsx(B.StrictMode,{children:T.jsx(Qp,{children:T.jsx(ug,{children:T.jsx(eg,{children:T.jsx(Wp,{children:T.jsx(W1,{})})})})})}));
